diff --git a/_app/immutable/chunks/UrlLoader.5020d7c7.js b/_app/immutable/chunks/Spinner.a9554a1c.js
similarity index 67%
rename from _app/immutable/chunks/UrlLoader.5020d7c7.js
rename to _app/immutable/chunks/Spinner.a9554a1c.js
index 1dc63fc..06fd90b 100644
--- a/_app/immutable/chunks/UrlLoader.5020d7c7.js
+++ b/_app/immutable/chunks/Spinner.a9554a1c.js
@@ -1,7 +1,7 @@
-var pi=Object.defineProperty;var di=(i,e,t)=>e in i?pi(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var P=(i,e,t)=>(di(i,typeof e!="symbol"?e+"":e,t),t),mi=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var At=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)};var Ke=(i,e,t)=>(mi(i,e,"access private method"),t);import{s as Ge,n as J,e as Cn,c as gi,u as _i,g as ki,d as bi,r as Ti,o as Ei}from"./scheduler.cc1c0861.js";import{S as Ve,i as We,e as se,a as U,f as E,g as I,h as L,j as C,k as b,x as ot,z as pe,s as fe,c as he,A as wt,y,d as tt,p as Ai,t as Lt,b as wi,m as de,n as me,o as ge,C as Ri,H as Si,D as xi,E as on}from"./index.7a644faf.js";import{a as O}from"./store.399ec32c.js";import{h as yi}from"./singletons.c2be2578.js";import{p as Ii}from"./stores.225eb8c9.js";function an(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function Li(i){let e;return{c(){e=I("i"),this.h()},l(t){e=L(t,"I",{class:!0}),C(e).forEach(E),this.h()},h(){b(e,"class","bx bx-loader-alt spinner")},m(t,n){U(t,e,n)},p:J,d(t){t&&E(e)}}}function Ni(i){let e,t=i[0]&&cn();return{c(){t&&t.c(),e=se()},l(n){t&&t.l(n),e=se()},m(n,s){t&&t.m(n,s),U(n,e,s)},p(n,s){n[0]?t||(t=cn(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&E(e),t&&t.d(n)}}}function cn(i){let e,t='';return{c(){e=I("div"),e.innerHTML=t,this.h()},l(n){e=L(n,"DIV",{class:!0,"data-svelte-h":!0}),ot(e)!=="svelte-q0jrdn"&&(e.innerHTML=t),this.h()},h(){b(e,"class","loading-container")},m(n,s){U(n,e,s)},d(n){n&&E(e)}}}function vi(i){let e;function t(r,l){if(r[1])return Ni;if(r[0])return Li}let n=t(i),s=n&&n(i);return{c(){s&&s.c(),e=se()},l(r){s&&s.l(r),e=se()},m(r,l){s&&s.m(r,l),U(r,e,l)},p(r,[l]){n===(n=t(r))&&s?s.p(r,l):(s&&s.d(1),s=n&&n(r),s&&(s.c(),s.m(e.parentNode,e)))},i:J,o:J,d(r){r&&E(e),s&&s.d(r)}}}function Ci(i,e,t){let{active:n=!1}=e,{modal:s=!1}=e;return i.$$set=r=>{"active"in r&&t(0,n=r.active),"modal"in r&&t(1,s=r.modal)},[n,s]}class Js extends Ve{constructor(e){super(),We(this,e,Ci,vi,Ge,{active:0,modal:1})}}const x={ACKNOWLEDGEMENTS:"acknowledgements",AGGREGATE_SEVERITY:"aggregate_severity",ALIASES:"aliases",CATEGORY:"category",CONTACT_DETAILS:"contact_details",CSAFVERSION:"csaf_version",CURRENTRELEASEDATE:"current_release_date",DISTRIBUTION:"distribution",DOCUMENT:"document",GENERATOR:"generator",ID:"id",INITIALRELEASEDATE:"initial_release_date",ISSUING_AUTHORITY:"issuing_authority",LABEL:"label",LANG:"lang",NOTES:"notes",PRODUCTTREE:"product_tree",PUBLISHER_CATEGORY:"category",PUBLISHER_NAME:"name",PUBLISHER_NAMESPACE:"namespace",PUBLISHER:"publisher",REFERENCES:"references",REVISIONHISTORY:"revision_history",STATUS:"status",SOURCELANG:"sourcelang",TITLE:"title",TLP:"tlp",TRACKING:"tracking",TRACKINGVERSION:"version",VULNERABILITIES:"vulnerabilities"},ae={AMBER:"AMBER",GREEN:"GREEN",RED:"RED",WHITE:"WHITE",ERROR:"Invalid TLP"},z="",Ae={draft:"draft",final:"final",interim:"interim",ERROR:"Invalid Status"},Me={FIXED:"F",UNDER_INVESTIGATION:"U",KNOWN_AFFECTED:"K",NOT_AFFECTED:"N",RECOMMENDED:"R"},Oi=(i,e,t)=>{const{vulnerabilities:n,relevantProducts:s}=Fi(i);return e=e.filter(l=>s[l.product_id]),n.sort((l,a)=>l.cvea.cve?1:0),Pi(e,n,t)},Pi=(i,e,t)=>{let n=[],s=["Product","Total result"];const r=e.map(a=>a.cve);s=s.concat(r),n.push(s);const l=i.map(a=>{let o=[`${a.product_id}`];return o=o.concat(Mi(a,e)),o});return l.sort((a,o)=>t[a[0]]t[o[0]]?1:0),n=[...n,...l],n},Mi=(i,e)=>{const t="N.A",n=[t];e.forEach(r=>{var a,o,u,f,p;let l="";(a=r.fixed)!=null&&a[i.product_id]&&(l+=Me.FIXED),(o=r.under_investigation)!=null&&o[i.product_id]&&(l+=Me.UNDER_INVESTIGATION),(u=r.known_affected)!=null&&u[i.product_id]&&(l+=Me.KNOWN_AFFECTED),(f=r.known_not_affected)!=null&&f[i.product_id]&&(l+=Me.NOT_AFFECTED),(p=r.recommended)!=null&&p[i.product_id]&&(l+=Me.RECOMMENDED),n.push(l)});const s=r=>{let l=t;switch(!0){case r.includes("K"):l="K";break;case r.includes("U"):l="U";break;case r.includes("F"):l="F";break;case r.includes("NR"):case r.includes("N"):l="N";break}return l};return n[0]=s(n),n},Di=i=>{if(!i.product_tree)return[];let e=[];if(i.product_tree.branches){const n=i.product_tree.branches.reduce(On,[]);e=e.concat(n)}i.product_tree.full_product_names&&(e=e.concat(i.product_tree.full_product_names));const t=Ui(i);return e.concat(t)},Ui=i=>i.product_tree.relationships?i.product_tree.relationships.map(e=>({product_id:e.full_product_name.product_id,name:e.full_product_name.name})):[],On=(i,e)=>(e.branches?e.branches.forEach(t=>{i.concat(On(i,t))}):zi(e)&&i.push({product_id:e.product.product_id,name:e.product.name}),i),zi=i=>i.product&&i.product.product_id&&i.product.name,De=(i,e)=>{var t;return(t=i[e])==null?void 0:t.reduce((n,s)=>(n[s]=s,n),{})},Fi=i=>{const e={vulnerabilities:[],relevantProducts:{}};if(!i.vulnerabilities)return e;const t=i.vulnerabilities.reduce((n,s)=>{if(!s.cve)return n;const r={cve:s.cve};return s.product_status&&(s.product_status.known_affected&&(r.known_affected=De(s.product_status,"known_affected"),Object.assign(e.relevantProducts,r.known_affected)),s.product_status.fixed&&(r.fixed=De(s.product_status,"fixed"),Object.assign(e.relevantProducts,r.fixed)),s.product_status.under_investigation&&(r.under_investigation=De(s.product_status,"under_investigation"),Object.assign(e.relevantProducts,r.under_investigation)),s.product_status.known_not_affected&&(r.known_not_affected=De(s.product_status,"known_not_affected"),Object.assign(e.relevantProducts,r.known_not_affected)),s.product_status.recommended&&(r.recommended=De(s.product_status,"recommended"),Object.assign(e.relevantProducts,r.recommended))),n.push(r),n},[]);return e.vulnerabilities=t,e},X=i=>i[x.DOCUMENT],ce=i=>X(i)&&i.document[x.TRACKING],Pn=i=>X(i)&&i.document[x.DISTRIBUTION],Mn=i=>Pn(i)&&i.document.distribution[x.TLP]&&i.document.distribution[x.TLP][x.LABEL],Dn=i=>X(i)&&i.document[x.PUBLISHER],Un=i=>i[x.VULNERABILITIES],zn=i=>i[x.PRODUCTTREE],Fn=i=>ce(i)&&i.document.tracking[x.REVISIONHISTORY],Hi=i=>X(i)&&i.document[x.TITLE]||z,Bi=i=>X(i)&&i.document[x.LANG]||z,Gi=i=>X(i)&&i.document[x.CSAFVERSION]||z,Vi=i=>ce(i)&&i.document.tracking[x.ID]||z,Wi=i=>{if(!Mn(i))return{label:""};let e="TLP.ERROR;";switch(i.document.distribution.tlp[x.LABEL]){case ae.AMBER:e=ae.AMBER;break;case ae.GREEN:e=ae.AMBER;break;case ae.WHITE:e=ae.WHITE;break;case ae.RED:e=ae.RED;break;default:e=ae.ERROR;break}return{label:e,url:i.document.distribution.tlp.url}},Yi=i=>{if(!ce(i))return z;switch(i.document.tracking[x.STATUS]){case Ae.draft:return Ae.draft;case Ae.final:return Ae.final;case Ae.interim:return Ae.interim;default:return Ae.ERROR}},qi=i=>ce(i)&&i.document.tracking[x.INITIALRELEASEDATE]||z,$i=i=>ce(i)&&i.document.tracking[x.CURRENTRELEASEDATE]||z,Zi=i=>X(i)&&i.document[x.CATEGORY]||z,ji=i=>{if(!Dn(i))return{category:"",name:"",namespace:""};const e=i.document[x.PUBLISHER];return{category:e[x.PUBLISHER_CATEGORY],name:e[x.PUBLISHER_NAME],namespace:e[x.PUBLISHER_NAMESPACE],contact_details:e[x.CONTACT_DETAILS],issuing_authority:e[x.ISSUING_AUTHORITY]}},Ki=i=>ce(i)&&i.document.tracking[x.TRACKINGVERSION]||z,Xi=i=>Un(i)?i.vulnerabilities:[],Qi=i=>{if(!Fn(i))return[];const e=i.document.tracking[x.REVISIONHISTORY];return e.sort((t,n)=>t.daten.date?-1:0),e},Ji=i=>zn(i)?i[x.PRODUCTTREE]:[],es=i=>X(i)?i.document[x.NOTES]:[],ts=i=>X(i)?i.document[x.ACKNOWLEDGEMENTS]:[],ns=i=>X(i)&&i.document[x.SOURCELANG]||z,is=i=>X(i)?i.document[x.REFERENCES]||[]:[],ss=i=>X(i)&&i.document[x.AGGREGATE_SEVERITY]||null,rs=i=>ce(i)&&i.document.tracking[x.GENERATOR]||null,ls=i=>ce(i)&&i.document.tracking[x.ALIASES]||null,os=i=>{const e={aggregateSeverity:ss(i),acknowledgements:ts(i),aliases:ls(i),category:Zi(i),csafVersion:Gi(i),generator:rs(i),id:Vi(i),isDistributionPresent:Pn(i),isDocPresent:X(i),isProductTreePresent:zn(i),isPublisherPresent:Dn(i),isRevisionHistoryPresent:Fn(i),isTLPPresent:Mn(i),isTrackingPresent:ce(i),isVulnerabilitiesPresent:Un(i),lang:Bi(i),lastUpdate:$i(i),notes:es(i),productsByID:{},productTree:Ji(i),productVulnerabilities:[],published:qi(i),publisher:ji(i),references:is(i),revisionHistory:Qi(i),status:Yi(i),sourceLang:ns(i),title:Hi(i),tlp:Wi(i),trackingVersion:Ki(i),vulnerabilities:Xi(i)},t=Di(i),n=t.reduce((s,r)=>(s[r.product_id]=r.name,s),{});return e.productsByID=n,e.productVulnerabilities=Oi(i,t,n),e},Hn="";async function er(i){i=`${Hn}${i}`,O.setSingleErrorMsg("");try{O.setLoading(!0);const e=await fetch(`${i}`);if(e.ok){const t=await e.json();O.clearUploadedFile();const n=os(t);O.setDocument(n),O.setLoading(!1)}else{const t=e.statusText?`An Error occured: HTTP ${e.status} - ${e.statusText}`:`An Error occured: HTTP ${e.status}`;O.setSingleErrorMsg(t),O.setLoading(!1),O.setDocument(null)}}catch{O.setSingleErrorMsg("Failed to load from URL. The server may be unreachable or the resource cannot be accessed due to CORS restrictions."),O.setLoading(!1),O.setDocument(null)}}const as=i=>{const e=i.statusText?`An Error occured: HTTP ${i.status} - ${i.statusText}`:`An Error occured: HTTP ${i.status}`;O.setFeedErrorMsg(e),O.setProviderMetadata(null),O.setCurrentFeed(null),O.setLoading(!1)};async function tr(i){i=`${Hn}${i}`;try{O.setLoading(!0);const e=await fetch(`${i}`);if(e.ok){O.setCurrentFeed(null),O.setProviderMetadata(null);const t=await e.json();t.canonical_url&&t.last_updated&&t.list_on_CSAF_aggregators&&t.mirror_on_CSAF_aggregators&&t.metadata_version&&t.publisher&&t.role?O.setProviderMetadata(t):(O.setCurrentFeed(t),O.setFeedSectionOpen()),O.setLoading(!1)}else as(e)}catch{O.setFeedErrorMsg("Failed to load from URL. The server may be unreachable or the resource cannot be accessed due to CORS restrictions."),O.setProviderMetadata(null),O.setCurrentFeed(null),O.setLoading(!1)}}function un(i){let e,t='Last pos. ',n,s;return{c(){e=I("a"),e.innerHTML=t,this.h()},l(r){e=L(r,"A",{class:!0,href:!0,"data-svelte-h":!0}),ot(e)!=="svelte-1w4plph"&&(e.innerHTML=t),this.h()},h(){b(e,"class","backbutton"),b(e,"href","#top")},m(r,l){U(r,e,l),n||(s=pe(e,"click",i[1]),n=!0)},p:J,d(r){r&&E(e),n=!1,s()}}}function cs(i){let e,t=i[0].ui.history.length>0&&un(i);return{c(){t&&t.c(),e=se()},l(n){t&&t.l(n),e=se()},m(n,s){t&&t.m(n,s),U(n,e,s)},p(n,[s]){n[0].ui.history.length>0?t?t.p(n,s):(t=un(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:J,o:J,d(n){n&&E(e),t&&t.d(n)}}}async function us(i){setTimeout(()=>{const t=document.getElementById(`${i}`).getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:t,behavior:"smooth"})},200)}function fs(i,e,t){let n;return Cn(i,O,r=>t(0,n=r)),[n,r=>{const l=n.ui.history[0];O.shiftHistory(),us(l),r.preventDefault()}]}class nr extends Ve{constructor(e){super(),We(this,e,fs,cs,Ge,{})}}function fn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h2"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=C(e);t=L(u,"H2",{});var f=C(t);n=L(f,"I",{class:!0}),C(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function hn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h3"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=C(e);t=L(u,"H3",{});var f=C(t);n=L(f,"I",{class:!0}),C(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function pn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h4"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=C(e);t=L(u,"H4",{});var f=C(t);n=L(f,"I",{class:!0}),C(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function dn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h5"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=C(e);t=L(u,"H5",{});var f=C(t);n=L(f,"I",{class:!0}),C(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function mn(i){let e,t;const n=i[12].default,s=gi(n,i,i[11],null);return{c(){e=I("div"),s&&s.c(),this.h()},l(r){e=L(r,"DIV",{id:!0,class:!0});var l=C(e);s&&s.l(l),l.forEach(E),this.h()},h(){b(e,"id",i[6]),b(e,"class","collapsible-body")},m(r,l){U(r,e,l),s&&s.m(e,null),t=!0},p(r,l){s&&s.p&&(!t||l&2048)&&_i(s,n,r,r[11],t?bi(n,r[11],l,null):ki(r[11]),null)},i(r){t||(tt(s,r),t=!0)},o(r){Lt(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function hs(i){let e,t,n,s,r,l,a=i[1]=="2"&&fn(i),o=i[1]=="3"&&hn(i),u=i[1]=="4"&&pn(i),f=i[1]=="5"&&dn(i),p=i[4]==="block"&&mn(i);return{c(){e=I("div"),a&&a.c(),t=fe(),o&&o.c(),n=fe(),u&&u.c(),s=fe(),f&&f.c(),r=fe(),p&&p.c(),this.h()},l(m){e=L(m,"DIV",{});var h=C(e);a&&a.l(h),t=he(h),o&&o.l(h),n=he(h),u&&u.l(h),s=he(h),f&&f.l(h),r=he(h),p&&p.l(h),h.forEach(E),this.h()},h(){wt(e,"collapsible",!0),wt(e,"highlight-section",i[3])},m(m,h){U(m,e,h),a&&a.m(e,null),y(e,t),o&&o.m(e,null),y(e,n),u&&u.m(e,null),y(e,s),f&&f.m(e,null),y(e,r),p&&p.m(e,null),l=!0},p(m,[h]){m[1]=="2"?a?a.p(m,h):(a=fn(m),a.c(),a.m(e,t)):a&&(a.d(1),a=null),m[1]=="3"?o?o.p(m,h):(o=hn(m),o.c(),o.m(e,n)):o&&(o.d(1),o=null),m[1]=="4"?u?u.p(m,h):(u=pn(m),u.c(),u.m(e,s)):u&&(u.d(1),u=null),m[1]=="5"?f?f.p(m,h):(f=dn(m),f.c(),f.m(e,r)):f&&(f.d(1),f=null),m[4]==="block"?p?(p.p(m,h),h&16&&tt(p,1)):(p=mn(m),p.c(),tt(p,1),p.m(e,null)):p&&(Ai(),Lt(p,1,1,()=>{p=null}),wi()),(!l||h&8)&&wt(e,"highlight-section",m[3])},i(m){l||(tt(p),l=!0)},o(m){Lt(p),l=!1},d(m){m&&E(e),a&&a.d(),o&&o.d(),u&&u.d(),f&&f.d(),p&&p.d()}}}function ps(i,e,t){let{$$slots:n={},$$scope:s}=e,{header:r}=e,{open:l=!1}=e,{level:a="2"}=e,{class_:o=""}=e,{highlight:u=!1}=e;const f=crypto.randomUUID();let{onOpen:p=()=>{}}=e,{onClose:m=()=>{}}=e,h="none",S="bx-chevron-down";const R=()=>{h==="block"?(m(),t(4,h="none")):(p(),setTimeout(()=>{const q=document.getElementById(`${f}`).getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:q,behavior:"smooth"})},200),t(4,h="block"))};return i.$$set=A=>{"header"in A&&t(0,r=A.header),"open"in A&&t(8,l=A.open),"level"in A&&t(1,a=A.level),"class_"in A&&t(2,o=A.class_),"highlight"in A&&t(3,u=A.highlight),"onOpen"in A&&t(9,p=A.onOpen),"onClose"in A&&t(10,m=A.onClose),"$$scope"in A&&t(11,s=A.$$scope)},i.$$.update=()=>{i.$$.dirty&256&&(l?t(4,h="block"):t(4,h="none")),i.$$.dirty&16&&(h==="block"?t(5,S="bx-chevron-down"):t(5,S="bx-chevron-right"))},[r,a,o,u,h,S,f,R,l,p,m,s,n]}class ir extends Ve{constructor(e){super(),We(this,e,ps,hs,Ge,{header:0,open:8,level:1,class_:2,highlight:3,onOpen:9,onClose:10})}}function Ot(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Re=Ot();function Bn(i){Re=i}const Gn=/[&<>"']/,ds=new RegExp(Gn.source,"g"),Vn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ms=new RegExp(Vn.source,"g"),gs={"&":"&","<":"<",">":">",'"':""","'":"'"},gn=i=>gs[i];function K(i,e){if(e){if(Gn.test(i))return i.replace(ds,gn)}else if(Vn.test(i))return i.replace(ms,gn);return i}const _s=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ks(i){return i.replace(_s,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const bs=/(^|[^\[])\^/g;function v(i,e){i=typeof i=="string"?i:i.source,e=e||"";const t={replace:(n,s)=>(s=typeof s=="object"&&"source"in s?s.source:s,s=s.replace(bs,"$1"),i=i.replace(n,s),t),getRegex:()=>new RegExp(i,e)};return t}function _n(i){try{i=encodeURI(i).replace(/%25/g,"%")}catch{return null}return i}const it={exec:()=>null};function kn(i,e){const t=i.replace(/\|/g,(r,l,a)=>{let o=!1,u=l;for(;--u>=0&&a[u]==="\\";)o=!o;return o?"|":" |"}),n=t.split(/ \|/);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.lengthe in i?pi(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var M=(i,e,t)=>(di(i,typeof e!="symbol"?e+"":e,t),t),mi=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var At=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)};var Ke=(i,e,t)=>(mi(i,e,"access private method"),t);import{a as C}from"./store.b3c2dff0.js";import{s as Ge,n as J,e as Cn,c as gi,u as _i,g as ki,d as bi,r as Ti,o as Ei}from"./scheduler.cc1c0861.js";import{S as Ve,i as We,e as se,a as U,f as E,g as I,h as L,x as ot,k as b,z as pe,s as fe,j as O,c as he,A as wt,y,d as tt,p as Ai,t as Lt,b as wi,m as de,n as me,o as ge,C as Ri,H as Si,D as xi,E as on}from"./index.7a644faf.js";import{h as yi}from"./singletons.66738fd1.js";import{p as Ii}from"./stores.eb2874b7.js";function an(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}const x={ACKNOWLEDGEMENTS:"acknowledgements",AGGREGATE_SEVERITY:"aggregate_severity",ALIASES:"aliases",CATEGORY:"category",CONTACT_DETAILS:"contact_details",CSAFVERSION:"csaf_version",CURRENTRELEASEDATE:"current_release_date",DISTRIBUTION:"distribution",DOCUMENT:"document",GENERATOR:"generator",ID:"id",INITIALRELEASEDATE:"initial_release_date",ISSUING_AUTHORITY:"issuing_authority",LABEL:"label",LANG:"lang",NOTES:"notes",PRODUCTTREE:"product_tree",PUBLISHER_CATEGORY:"category",PUBLISHER_NAME:"name",PUBLISHER_NAMESPACE:"namespace",PUBLISHER:"publisher",REFERENCES:"references",REVISIONHISTORY:"revision_history",STATUS:"status",SOURCELANG:"sourcelang",TITLE:"title",TLP:"tlp",TRACKING:"tracking",TRACKINGVERSION:"version",VULNERABILITIES:"vulnerabilities"},ae={AMBER:"AMBER",GREEN:"GREEN",RED:"RED",WHITE:"WHITE",ERROR:"Invalid TLP"},z="",Ae={draft:"draft",final:"final",interim:"interim",ERROR:"Invalid Status"},Pe={FIXED:"F",UNDER_INVESTIGATION:"U",KNOWN_AFFECTED:"K",NOT_AFFECTED:"N",RECOMMENDED:"R"},Li=(i,e,t)=>{const{vulnerabilities:n,relevantProducts:s}=Pi(i);return e=e.filter(l=>s[l.product_id]),n.sort((l,a)=>l.cvea.cve?1:0),Ni(e,n,t)},Ni=(i,e,t)=>{let n=[],s=["Product","Total result"];const r=e.map(a=>a.cve);s=s.concat(r),n.push(s);const l=i.map(a=>{let o=[`${a.product_id}`];return o=o.concat(vi(a,e)),o});return l.sort((a,o)=>t[a[0]]t[o[0]]?1:0),n=[...n,...l],n},vi=(i,e)=>{const t="N.A",n=[t];e.forEach(r=>{var a,o,u,f,p;let l="";(a=r.fixed)!=null&&a[i.product_id]&&(l+=Pe.FIXED),(o=r.under_investigation)!=null&&o[i.product_id]&&(l+=Pe.UNDER_INVESTIGATION),(u=r.known_affected)!=null&&u[i.product_id]&&(l+=Pe.KNOWN_AFFECTED),(f=r.known_not_affected)!=null&&f[i.product_id]&&(l+=Pe.NOT_AFFECTED),(p=r.recommended)!=null&&p[i.product_id]&&(l+=Pe.RECOMMENDED),n.push(l)});const s=r=>{let l=t;switch(!0){case r.includes("K"):l="K";break;case r.includes("U"):l="U";break;case r.includes("F"):l="F";break;case r.includes("NR"):case r.includes("N"):l="N";break}return l};return n[0]=s(n),n},Ci=i=>{if(!i.product_tree)return[];let e=[];if(i.product_tree.branches){const n=i.product_tree.branches.reduce(On,[]);e=e.concat(n)}i.product_tree.full_product_names&&(e=e.concat(i.product_tree.full_product_names));const t=Oi(i);return e.concat(t)},Oi=i=>i.product_tree.relationships?i.product_tree.relationships.map(e=>({product_id:e.full_product_name.product_id,name:e.full_product_name.name})):[],On=(i,e)=>(e.branches?e.branches.forEach(t=>{i.concat(On(i,t))}):Mi(e)&&i.push({product_id:e.product.product_id,name:e.product.name}),i),Mi=i=>i.product&&i.product.product_id&&i.product.name,De=(i,e)=>{var t;return(t=i[e])==null?void 0:t.reduce((n,s)=>(n[s]=s,n),{})},Pi=i=>{const e={vulnerabilities:[],relevantProducts:{}};if(!i.vulnerabilities)return e;const t=i.vulnerabilities.reduce((n,s)=>{if(!s.cve)return n;const r={cve:s.cve};return s.product_status&&(s.product_status.known_affected&&(r.known_affected=De(s.product_status,"known_affected"),Object.assign(e.relevantProducts,r.known_affected)),s.product_status.fixed&&(r.fixed=De(s.product_status,"fixed"),Object.assign(e.relevantProducts,r.fixed)),s.product_status.under_investigation&&(r.under_investigation=De(s.product_status,"under_investigation"),Object.assign(e.relevantProducts,r.under_investigation)),s.product_status.known_not_affected&&(r.known_not_affected=De(s.product_status,"known_not_affected"),Object.assign(e.relevantProducts,r.known_not_affected)),s.product_status.recommended&&(r.recommended=De(s.product_status,"recommended"),Object.assign(e.relevantProducts,r.recommended))),n.push(r),n},[]);return e.vulnerabilities=t,e},X=i=>i[x.DOCUMENT],ce=i=>X(i)&&i.document[x.TRACKING],Mn=i=>X(i)&&i.document[x.DISTRIBUTION],Pn=i=>Mn(i)&&i.document.distribution[x.TLP]&&i.document.distribution[x.TLP][x.LABEL],Dn=i=>X(i)&&i.document[x.PUBLISHER],Un=i=>i[x.VULNERABILITIES],zn=i=>i[x.PRODUCTTREE],Fn=i=>ce(i)&&i.document.tracking[x.REVISIONHISTORY],Di=i=>X(i)&&i.document[x.TITLE]||z,Ui=i=>X(i)&&i.document[x.LANG]||z,zi=i=>X(i)&&i.document[x.CSAFVERSION]||z,Fi=i=>ce(i)&&i.document.tracking[x.ID]||z,Hi=i=>{if(!Pn(i))return{label:""};let e="TLP.ERROR;";switch(i.document.distribution.tlp[x.LABEL]){case ae.AMBER:e=ae.AMBER;break;case ae.GREEN:e=ae.AMBER;break;case ae.WHITE:e=ae.WHITE;break;case ae.RED:e=ae.RED;break;default:e=ae.ERROR;break}return{label:e,url:i.document.distribution.tlp.url}},Bi=i=>{if(!ce(i))return z;switch(i.document.tracking[x.STATUS]){case Ae.draft:return Ae.draft;case Ae.final:return Ae.final;case Ae.interim:return Ae.interim;default:return Ae.ERROR}},Gi=i=>ce(i)&&i.document.tracking[x.INITIALRELEASEDATE]||z,Vi=i=>ce(i)&&i.document.tracking[x.CURRENTRELEASEDATE]||z,Wi=i=>X(i)&&i.document[x.CATEGORY]||z,Yi=i=>{if(!Dn(i))return{category:"",name:"",namespace:""};const e=i.document[x.PUBLISHER];return{category:e[x.PUBLISHER_CATEGORY],name:e[x.PUBLISHER_NAME],namespace:e[x.PUBLISHER_NAMESPACE],contact_details:e[x.CONTACT_DETAILS],issuing_authority:e[x.ISSUING_AUTHORITY]}},qi=i=>ce(i)&&i.document.tracking[x.TRACKINGVERSION]||z,$i=i=>Un(i)?i.vulnerabilities:[],Zi=i=>{if(!Fn(i))return[];const e=i.document.tracking[x.REVISIONHISTORY];return e.sort((t,n)=>t.daten.date?-1:0),e},ji=i=>zn(i)?i[x.PRODUCTTREE]:[],Ki=i=>X(i)?i.document[x.NOTES]:[],Xi=i=>X(i)?i.document[x.ACKNOWLEDGEMENTS]:[],Qi=i=>X(i)&&i.document[x.SOURCELANG]||z,Ji=i=>X(i)?i.document[x.REFERENCES]||[]:[],es=i=>X(i)&&i.document[x.AGGREGATE_SEVERITY]||null,ts=i=>ce(i)&&i.document.tracking[x.GENERATOR]||null,ns=i=>ce(i)&&i.document.tracking[x.ALIASES]||null,is=i=>{const e={aggregateSeverity:es(i),acknowledgements:Xi(i),aliases:ns(i),category:Wi(i),csafVersion:zi(i),generator:ts(i),id:Fi(i),isDistributionPresent:Mn(i),isDocPresent:X(i),isProductTreePresent:zn(i),isPublisherPresent:Dn(i),isRevisionHistoryPresent:Fn(i),isTLPPresent:Pn(i),isTrackingPresent:ce(i),isVulnerabilitiesPresent:Un(i),lang:Ui(i),lastUpdate:Vi(i),notes:Ki(i),productsByID:{},productTree:ji(i),productVulnerabilities:[],published:Gi(i),publisher:Yi(i),references:Ji(i),revisionHistory:Zi(i),status:Bi(i),sourceLang:Qi(i),title:Di(i),tlp:Hi(i),trackingVersion:qi(i),vulnerabilities:$i(i)},t=Ci(i),n=t.reduce((s,r)=>(s[r.product_id]=r.name,s),{});return e.productsByID=n,e.productVulnerabilities=Li(i,t,n),e},Hn="";async function Js(i){i=`${Hn}${i}`,C.setSingleErrorMsg("");try{C.setLoading(!0);const e=await fetch(`${i}`);if(e.ok){const t=await e.json();C.clearUploadedFile();const n=is(t);C.setDocument(n),C.setLoading(!1)}else{const t=e.statusText?`An Error occured: HTTP ${e.status} - ${e.statusText}`:`An Error occured: HTTP ${e.status}`;C.setSingleErrorMsg(t),C.setLoading(!1),C.setDocument(null)}}catch{C.setSingleErrorMsg("Failed to load from URL. The server may be unreachable or the resource cannot be accessed due to CORS restrictions."),C.setLoading(!1),C.setDocument(null)}}const ss=i=>{const e=i.statusText?`An Error occured: HTTP ${i.status} - ${i.statusText}`:`An Error occured: HTTP ${i.status}`;C.setFeedErrorMsg(e),C.setProviderMetadata(null),C.setCurrentFeed(null),C.setLoading(!1)};async function er(i){i=`${Hn}${i}`,C.setFeedErrorMsg("");try{C.setLoading(!0);const e=await fetch(`${i}`);if(e.ok){C.setCurrentFeed(null),C.setProviderMetadata(null);const t=await e.json();t.canonical_url&&t.last_updated&&t.list_on_CSAF_aggregators&&t.mirror_on_CSAF_aggregators&&t.metadata_version&&t.publisher&&t.role?C.setProviderMetadata(t):(C.setCurrentFeed(t),C.setFeedSectionOpen()),C.setLoading(!1)}else ss(e)}catch{C.setFeedErrorMsg("Failed to load from URL. The server may be unreachable or the resource cannot be accessed due to CORS restrictions."),C.setProviderMetadata(null),C.setCurrentFeed(null),C.setLoading(!1)}}function cn(i){let e,t='Last pos. ',n,s;return{c(){e=I("a"),e.innerHTML=t,this.h()},l(r){e=L(r,"A",{class:!0,href:!0,"data-svelte-h":!0}),ot(e)!=="svelte-1w4plph"&&(e.innerHTML=t),this.h()},h(){b(e,"class","backbutton"),b(e,"href","#top")},m(r,l){U(r,e,l),n||(s=pe(e,"click",i[1]),n=!0)},p:J,d(r){r&&E(e),n=!1,s()}}}function rs(i){let e,t=i[0].ui.history.length>0&&cn(i);return{c(){t&&t.c(),e=se()},l(n){t&&t.l(n),e=se()},m(n,s){t&&t.m(n,s),U(n,e,s)},p(n,[s]){n[0].ui.history.length>0?t?t.p(n,s):(t=cn(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:J,o:J,d(n){n&&E(e),t&&t.d(n)}}}async function ls(i){setTimeout(()=>{const t=document.getElementById(`${i}`).getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:t,behavior:"smooth"})},200)}function os(i,e,t){let n;return Cn(i,C,r=>t(0,n=r)),[n,r=>{const l=n.ui.history[0];C.shiftHistory(),ls(l),r.preventDefault()}]}class tr extends Ve{constructor(e){super(),We(this,e,os,rs,Ge,{})}}function un(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h2"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H2",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function fn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h3"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H3",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function hn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h4"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H4",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function pn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h5"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H5",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function dn(i){let e,t;const n=i[12].default,s=gi(n,i,i[11],null);return{c(){e=I("div"),s&&s.c(),this.h()},l(r){e=L(r,"DIV",{id:!0,class:!0});var l=O(e);s&&s.l(l),l.forEach(E),this.h()},h(){b(e,"id",i[6]),b(e,"class","collapsible-body")},m(r,l){U(r,e,l),s&&s.m(e,null),t=!0},p(r,l){s&&s.p&&(!t||l&2048)&&_i(s,n,r,r[11],t?bi(n,r[11],l,null):ki(r[11]),null)},i(r){t||(tt(s,r),t=!0)},o(r){Lt(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function as(i){let e,t,n,s,r,l,a=i[1]=="2"&&un(i),o=i[1]=="3"&&fn(i),u=i[1]=="4"&&hn(i),f=i[1]=="5"&&pn(i),p=i[4]==="block"&&dn(i);return{c(){e=I("div"),a&&a.c(),t=fe(),o&&o.c(),n=fe(),u&&u.c(),s=fe(),f&&f.c(),r=fe(),p&&p.c(),this.h()},l(m){e=L(m,"DIV",{});var h=O(e);a&&a.l(h),t=he(h),o&&o.l(h),n=he(h),u&&u.l(h),s=he(h),f&&f.l(h),r=he(h),p&&p.l(h),h.forEach(E),this.h()},h(){wt(e,"collapsible",!0),wt(e,"highlight-section",i[3])},m(m,h){U(m,e,h),a&&a.m(e,null),y(e,t),o&&o.m(e,null),y(e,n),u&&u.m(e,null),y(e,s),f&&f.m(e,null),y(e,r),p&&p.m(e,null),l=!0},p(m,[h]){m[1]=="2"?a?a.p(m,h):(a=un(m),a.c(),a.m(e,t)):a&&(a.d(1),a=null),m[1]=="3"?o?o.p(m,h):(o=fn(m),o.c(),o.m(e,n)):o&&(o.d(1),o=null),m[1]=="4"?u?u.p(m,h):(u=hn(m),u.c(),u.m(e,s)):u&&(u.d(1),u=null),m[1]=="5"?f?f.p(m,h):(f=pn(m),f.c(),f.m(e,r)):f&&(f.d(1),f=null),m[4]==="block"?p?(p.p(m,h),h&16&&tt(p,1)):(p=dn(m),p.c(),tt(p,1),p.m(e,null)):p&&(Ai(),Lt(p,1,1,()=>{p=null}),wi()),(!l||h&8)&&wt(e,"highlight-section",m[3])},i(m){l||(tt(p),l=!0)},o(m){Lt(p),l=!1},d(m){m&&E(e),a&&a.d(),o&&o.d(),u&&u.d(),f&&f.d(),p&&p.d()}}}function cs(i,e,t){let{$$slots:n={},$$scope:s}=e,{header:r}=e,{open:l=!1}=e,{level:a="2"}=e,{class_:o=""}=e,{highlight:u=!1}=e;const f=crypto.randomUUID();let{onOpen:p=()=>{}}=e,{onClose:m=()=>{}}=e,h="none",S="bx-chevron-down";const R=()=>{h==="block"?(m(),t(4,h="none")):(p(),setTimeout(()=>{const q=document.getElementById(`${f}`).getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:q,behavior:"smooth"})},200),t(4,h="block"))};return i.$$set=A=>{"header"in A&&t(0,r=A.header),"open"in A&&t(8,l=A.open),"level"in A&&t(1,a=A.level),"class_"in A&&t(2,o=A.class_),"highlight"in A&&t(3,u=A.highlight),"onOpen"in A&&t(9,p=A.onOpen),"onClose"in A&&t(10,m=A.onClose),"$$scope"in A&&t(11,s=A.$$scope)},i.$$.update=()=>{i.$$.dirty&256&&(l?t(4,h="block"):t(4,h="none")),i.$$.dirty&16&&(h==="block"?t(5,S="bx-chevron-down"):t(5,S="bx-chevron-right"))},[r,a,o,u,h,S,f,R,l,p,m,s,n]}class nr extends Ve{constructor(e){super(),We(this,e,cs,as,Ge,{header:0,open:8,level:1,class_:2,highlight:3,onOpen:9,onClose:10})}}function Ot(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Re=Ot();function Bn(i){Re=i}const Gn=/[&<>"']/,us=new RegExp(Gn.source,"g"),Vn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,fs=new RegExp(Vn.source,"g"),hs={"&":"&","<":"<",">":">",'"':""","'":"'"},mn=i=>hs[i];function K(i,e){if(e){if(Gn.test(i))return i.replace(us,mn)}else if(Vn.test(i))return i.replace(fs,mn);return i}const ps=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ds(i){return i.replace(ps,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const ms=/(^|[^\[])\^/g;function v(i,e){i=typeof i=="string"?i:i.source,e=e||"";const t={replace:(n,s)=>(s=typeof s=="object"&&"source"in s?s.source:s,s=s.replace(ms,"$1"),i=i.replace(n,s),t),getRegex:()=>new RegExp(i,e)};return t}function gn(i){try{i=encodeURI(i).replace(/%25/g,"%")}catch{return null}return i}const it={exec:()=>null};function _n(i,e){const t=i.replace(/\|/g,(r,l,a)=>{let o=!1,u=l;for(;--u>=0&&a[u]==="\\";)o=!o;return o?"|":" |"}),n=t.split(/ \|/);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length{const r=s.match(/^\s+/);if(r===null)return s;const[l]=r;return l.length>=n.length?s.slice(n.length):s}).join(`
-`)}class st{constructor(e){P(this,"options");P(this,"rules");P(this,"lexer");this.options=e||Re}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Xe(n,`
-`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],s=Es(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const s=Xe(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const n=Xe(t[0].replace(/^ *>[ \t]?/gm,""),`
+`)}class st{constructor(e){M(this,"options");M(this,"rules");M(this,"lexer");this.options=e||Re}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Xe(n,`
+`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],s=_s(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const s=Xe(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const n=Xe(t[0].replace(/^ *>[ \t]?/gm,""),`
`),s=this.lexer.state.top;this.lexer.state.top=!0;const r=this.lexer.blockTokens(n);return this.lexer.state.top=s,{type:"blockquote",raw:t[0],tokens:r,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const s=n.length>1,r={type:"list",raw:"",ordered:s,start:s?+n.slice(0,-1):"",loose:!1,items:[]};n=s?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=s?n:"[*+-]");const l=new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`);let a="",o="",u=!1;for(;e;){let f=!1;if(!(t=l.exec(e))||this.rules.block.hr.test(e))break;a=t[0],e=e.substring(a.length);let p=t[2].split(`
`,1)[0].replace(/^\t+/,q=>" ".repeat(3*q.length)),m=e.split(`
`,1)[0],h=0;this.options.pedantic?(h=2,o=p.trimStart()):(h=t[2].search(/[^ ]/),h=h>4?1:h,o=p.slice(h),h+=t[1].length);let S=!1;if(!p&&/^ *$/.test(m)&&(a+=m+`
@@ -9,10 +9,10 @@ var pi=Object.defineProperty;var di=(i,e,t)=>e in i?pi(i,e,{enumerable:!0,config
`,1)[0];if(m=_e,this.options.pedantic&&(m=m.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),F.test(m)||ue.test(m)||q.test(m)||re.test(e))break;if(m.search(/[^ ]/)>=h||!m.trim())o+=`
`+m.slice(h);else{if(S||p.search(/[^ ]/)>=4||F.test(p)||ue.test(p)||re.test(p))break;o+=`
`+m}!S&&!m.trim()&&(S=!0),a+=_e+`
-`,e=e.substring(_e.length+1),p=m.slice(h)}}r.loose||(u?r.loose=!0:/\n *\n *$/.test(a)&&(u=!0));let R=null,A;this.options.gfm&&(R=/^\[[ xX]\] /.exec(o),R&&(A=R[0]!=="[ ] ",o=o.replace(/^\[[ xX]\] +/,""))),r.items.push({type:"list_item",raw:a,task:!!R,checked:A,loose:!1,text:o,tokens:[]}),r.raw+=a}r.items[r.items.length-1].raw=a.trimEnd(),r.items[r.items.length-1].text=o.trimEnd(),r.raw=r.raw.trimEnd();for(let f=0;fh.type==="space"),m=p.length>0&&p.some(h=>/\n.*\n/.test(h.raw));r.loose=m}if(r.loose)for(let f=0;f$/,"$1").replace(this.rules.inline._escapes,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:s,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(t){if(!/[:|]/.test(t[2]))return;const n={type:"table",raw:t[0],header:kn(t[1]).map(s=>({text:s,tokens:[]})),align:t[2].replace(/^\||\| *$/g,"").split("|"),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(`
-`):[]};if(n.header.length===n.align.length){let s=n.align.length,r,l,a,o;for(r=0;r({text:u,tokens:[]}));for(s=n.header.length,l=0;l/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const l=Xe(n.slice(0,-1),"\\");if((n.length-l.length)%2===0)return}else{const l=Ts(t[2],"()");if(l>-1){const o=(t[0].indexOf("!")===0?5:4)+t[1].length+l;t[2]=t[2].substring(0,l),t[0]=t[0].substring(0,o).trim(),t[3]=""}}let s=t[2],r="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);l&&(s=l[1],r=l[3])}else r=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s=s.slice(1):s=s.slice(1,-1)),bn(t,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:r&&r.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let s=(n[2]||n[1]).replace(/\s+/g," ");if(s=t[s.toLowerCase()],!s){const r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return bn(n,s,n[0],this.lexer)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!s||s[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(s[1]||s[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const l=[...s[0]].length-1;let a,o,u=l,f=0;const p=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(p.lastIndex=0,t=t.slice(-1*e.length+l);(s=p.exec(t))!=null;){if(a=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!a)continue;if(o=[...a].length,s[3]||s[4]){u+=o;continue}else if((s[5]||s[6])&&l%3&&!((l+o)%3)){f+=o;continue}if(u-=o,u>0)continue;o=Math.min(o,o+u+f);const m=[...s[0]][0].length,h=e.slice(0,l+s.index+m+o);if(Math.min(l,o)%2){const R=h.slice(1,-1);return{type:"em",raw:h,text:R,tokens:this.lexer.inlineTokens(R)}}const S=h.slice(2,-2);return{type:"strong",raw:h,text:S,tokens:this.lexer.inlineTokens(S)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const s=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return s&&r&&(n=n.substring(1,n.length-1)),n=K(n,!0),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let n,s;return t[2]==="@"?(n=K(t[1]),s="mailto:"+n):(n=K(t[1]),s=n),{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,s;if(t[2]==="@")n=K(t[0]),s="mailto:"+n;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0];while(r!==t[0]);n=K(t[0]),t[1]==="www."?s="http://"+t[0]:s=t[0]}return{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let n;return this.lexer.state.inRawBlock?n=t[0]:n=K(t[0]),{type:"text",raw:t[0],text:n}}}}const T={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:it,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};T._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;T._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;T.def=v(T.def).replace("label",T._label).replace("title",T._title).getRegex();T.bullet=/(?:[*+-]|\d{1,9}[.)])/;T.listItemStart=v(/^( *)(bull) */).replace("bull",T.bullet).getRegex();T.list=v(T.list).replace(/bull/g,T.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+T.def.source+")").getRegex();T._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";T._comment=/|$)/;T.html=v(T.html,"i").replace("comment",T._comment).replace("tag",T._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();T.lheading=v(T.lheading).replace(/bull/g,T.bullet).getRegex();T.paragraph=v(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").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|textarea|!--)").replace("tag",T._tag).getRegex();T.blockquote=v(T.blockquote).replace("paragraph",T.paragraph).getRegex();T.normal={...T};T.gfm={...T.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};T.gfm.table=v(T.gfm.table).replace("hr",T.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").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|textarea|!--)").replace("tag",T._tag).getRegex();T.gfm.paragraph=v(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",T.gfm.table).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|textarea|!--)").replace("tag",T._tag).getRegex();T.pedantic={...T.normal,html:v(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",T._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+|$)/,fences:it,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v(T.normal._paragraph).replace("hr",T.hr).replace("heading",` *#{1,6} *[^
-]`).replace("lheading",T.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const g={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:it,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:it,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~";g.punctuation=v(g.punctuation,"u").replace(/punctuation/g,g._punctuation).getRegex();g.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;g.anyPunctuation=/\\[punct]/g;g._escapes=/\\([punct])/g;g._comment=v(T._comment).replace("(?:-->|$)","-->").getRegex();g.emStrong.lDelim=v(g.emStrong.lDelim,"u").replace(/punct/g,g._punctuation).getRegex();g.emStrong.rDelimAst=v(g.emStrong.rDelimAst,"gu").replace(/punct/g,g._punctuation).getRegex();g.emStrong.rDelimUnd=v(g.emStrong.rDelimUnd,"gu").replace(/punct/g,g._punctuation).getRegex();g.anyPunctuation=v(g.anyPunctuation,"gu").replace(/punct/g,g._punctuation).getRegex();g._escapes=v(g._escapes,"gu").replace(/punct/g,g._punctuation).getRegex();g._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;g._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])?)+(?![-_])/;g.autolink=v(g.autolink).replace("scheme",g._scheme).replace("email",g._email).getRegex();g._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;g.tag=v(g.tag).replace("comment",g._comment).replace("attribute",g._attribute).getRegex();g._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;g._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;g._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;g.link=v(g.link).replace("label",g._label).replace("href",g._href).replace("title",g._title).getRegex();g.reflink=v(g.reflink).replace("label",g._label).replace("ref",T._label).getRegex();g.nolink=v(g.nolink).replace("ref",T._label).getRegex();g.reflinkSearch=v(g.reflinkSearch,"g").replace("reflink",g.reflink).replace("nolink",g.nolink).getRegex();g.normal={...g};g.pedantic={...g.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:v(/^!?\[(label)\]\((.*?)\)/).replace("label",g._label).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",g._label).getRegex()};g.gfm={...g.normal,escape:v(g.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)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\h.type==="space"),m=p.length>0&&p.some(h=>/\n.*\n/.test(h.raw));r.loose=m}if(r.loose)for(let f=0;f$/,"$1").replace(this.rules.inline._escapes,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:s,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(t){if(!/[:|]/.test(t[2]))return;const n={type:"table",raw:t[0],header:_n(t[1]).map(s=>({text:s,tokens:[]})),align:t[2].replace(/^\||\| *$/g,"").split("|"),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(`
+`):[]};if(n.header.length===n.align.length){let s=n.align.length,r,l,a,o;for(r=0;r({text:u,tokens:[]}));for(s=n.header.length,l=0;l/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const l=Xe(n.slice(0,-1),"\\");if((n.length-l.length)%2===0)return}else{const l=gs(t[2],"()");if(l>-1){const o=(t[0].indexOf("!")===0?5:4)+t[1].length+l;t[2]=t[2].substring(0,l),t[0]=t[0].substring(0,o).trim(),t[3]=""}}let s=t[2],r="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);l&&(s=l[1],r=l[3])}else r=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s=s.slice(1):s=s.slice(1,-1)),kn(t,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:r&&r.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let s=(n[2]||n[1]).replace(/\s+/g," ");if(s=t[s.toLowerCase()],!s){const r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return kn(n,s,n[0],this.lexer)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!s||s[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(s[1]||s[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const l=[...s[0]].length-1;let a,o,u=l,f=0;const p=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(p.lastIndex=0,t=t.slice(-1*e.length+l);(s=p.exec(t))!=null;){if(a=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!a)continue;if(o=[...a].length,s[3]||s[4]){u+=o;continue}else if((s[5]||s[6])&&l%3&&!((l+o)%3)){f+=o;continue}if(u-=o,u>0)continue;o=Math.min(o,o+u+f);const m=[...s[0]][0].length,h=e.slice(0,l+s.index+m+o);if(Math.min(l,o)%2){const R=h.slice(1,-1);return{type:"em",raw:h,text:R,tokens:this.lexer.inlineTokens(R)}}const S=h.slice(2,-2);return{type:"strong",raw:h,text:S,tokens:this.lexer.inlineTokens(S)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const s=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return s&&r&&(n=n.substring(1,n.length-1)),n=K(n,!0),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let n,s;return t[2]==="@"?(n=K(t[1]),s="mailto:"+n):(n=K(t[1]),s=n),{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,s;if(t[2]==="@")n=K(t[0]),s="mailto:"+n;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0];while(r!==t[0]);n=K(t[0]),t[1]==="www."?s="http://"+t[0]:s=t[0]}return{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let n;return this.lexer.state.inRawBlock?n=t[0]:n=K(t[0]),{type:"text",raw:t[0],text:n}}}}const T={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:it,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};T._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;T._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;T.def=v(T.def).replace("label",T._label).replace("title",T._title).getRegex();T.bullet=/(?:[*+-]|\d{1,9}[.)])/;T.listItemStart=v(/^( *)(bull) */).replace("bull",T.bullet).getRegex();T.list=v(T.list).replace(/bull/g,T.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+T.def.source+")").getRegex();T._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";T._comment=/|$)/;T.html=v(T.html,"i").replace("comment",T._comment).replace("tag",T._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();T.lheading=v(T.lheading).replace(/bull/g,T.bullet).getRegex();T.paragraph=v(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").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|textarea|!--)").replace("tag",T._tag).getRegex();T.blockquote=v(T.blockquote).replace("paragraph",T.paragraph).getRegex();T.normal={...T};T.gfm={...T.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};T.gfm.table=v(T.gfm.table).replace("hr",T.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").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|textarea|!--)").replace("tag",T._tag).getRegex();T.gfm.paragraph=v(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",T.gfm.table).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|textarea|!--)").replace("tag",T._tag).getRegex();T.pedantic={...T.normal,html:v(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",T._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+|$)/,fences:it,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v(T.normal._paragraph).replace("hr",T.hr).replace("heading",` *#{1,6} *[^
+]`).replace("lheading",T.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const g={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:it,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:it,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~";g.punctuation=v(g.punctuation,"u").replace(/punctuation/g,g._punctuation).getRegex();g.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;g.anyPunctuation=/\\[punct]/g;g._escapes=/\\([punct])/g;g._comment=v(T._comment).replace("(?:-->|$)","-->").getRegex();g.emStrong.lDelim=v(g.emStrong.lDelim,"u").replace(/punct/g,g._punctuation).getRegex();g.emStrong.rDelimAst=v(g.emStrong.rDelimAst,"gu").replace(/punct/g,g._punctuation).getRegex();g.emStrong.rDelimUnd=v(g.emStrong.rDelimUnd,"gu").replace(/punct/g,g._punctuation).getRegex();g.anyPunctuation=v(g.anyPunctuation,"gu").replace(/punct/g,g._punctuation).getRegex();g._escapes=v(g._escapes,"gu").replace(/punct/g,g._punctuation).getRegex();g._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;g._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])?)+(?![-_])/;g.autolink=v(g.autolink).replace("scheme",g._scheme).replace("email",g._email).getRegex();g._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;g.tag=v(g.tag).replace("comment",g._comment).replace("attribute",g._attribute).getRegex();g._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;g._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;g._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;g.link=v(g.link).replace("label",g._label).replace("href",g._href).replace("title",g._title).getRegex();g.reflink=v(g.reflink).replace("label",g._label).replace("ref",T._label).getRegex();g.nolink=v(g.nolink).replace("ref",T._label).getRegex();g.reflinkSearch=v(g.reflinkSearch,"g").replace("reflink",g.reflink).replace("nolink",g.nolink).getRegex();g.normal={...g};g.pedantic={...g.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:v(/^!?\[(label)\]\((.*?)\)/).replace("label",g._label).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",g._label).getRegex()};g.gfm={...g.normal,escape:v(g.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)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\o+" ".repeat(u.length));let n,s,r,l;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(n=a.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),n.raw.length===1&&t.length>0?t[t.length-1].raw+=`
`:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
`+n.raw,s.text+=`
@@ -22,7 +22,7 @@ var pi=Object.defineProperty;var di=(i,e,t)=>e in i?pi(i,e,{enumerable:!0,config
`+n.raw,s.text+=`
`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(n),l=r.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&s.type==="text"?(s.raw+=`
`+n.raw,s.text+=`
-`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(n);continue}if(e){const a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,s,r,l=e,a,o,u;if(this.tokens.links){const f=Object.keys(this.tokens.links);if(f.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(l))!=null;)f.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(l))!=null;)l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(l))!=null;)l=l.slice(0,a.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(u=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(f=>(n=f.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,l,u)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}if(r=e,this.options.extensions&&this.options.extensions.startInline){let f=1/0;const p=e.slice(1);let m;this.options.extensions.startInline.forEach(h=>{m=h.call({lexer:this},p),typeof m=="number"&&m>=0&&(f=Math.min(f,m))}),f<1/0&&f>=0&&(r=e.substring(0,f+1))}if(n=this.tokenizer.inlineText(r)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(u=n.raw.slice(-1)),o=!0,s=t[t.length-1],s&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(e){const f="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return t}}class rt{constructor(e){P(this,"options");this.options=e||Re}code(e,t,n){var r;const s=(r=(t||"").match(/^\S*/))==null?void 0:r[0];return e=e.replace(/\n$/,"")+`
+`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(n);continue}if(e){const a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,s,r,l=e,a,o,u;if(this.tokens.links){const f=Object.keys(this.tokens.links);if(f.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(l))!=null;)f.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(l))!=null;)l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(l))!=null;)l=l.slice(0,a.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(u=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(f=>(n=f.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,l,u)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}if(r=e,this.options.extensions&&this.options.extensions.startInline){let f=1/0;const p=e.slice(1);let m;this.options.extensions.startInline.forEach(h=>{m=h.call({lexer:this},p),typeof m=="number"&&m>=0&&(f=Math.min(f,m))}),f<1/0&&f>=0&&(r=e.substring(0,f+1))}if(n=this.tokenizer.inlineText(r)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(u=n.raw.slice(-1)),o=!0,s=t[t.length-1],s&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(e){const f="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return t}}class rt{constructor(e){M(this,"options");this.options=e||Re}code(e,t,n){var r;const s=(r=(t||"").match(/^\S*/))==null?void 0:r[0];return e=e.replace(/\n$/,"")+`
`,s?'
'+(n?e:K(e,!0))+`
`:"
"+(n?e:K(e,!0))+`
`}blockquote(e){return`
@@ -40,7 +40,7 @@ ${e}
`}tablerow(e){return`
${e}
`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`${n}>
-`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return" "}del(e){return`${e}`}link(e,t,n){const s=_n(e);if(s===null)return n;e=s;let r='"+n+"",r}image(e,t,n){const s=_n(e);if(s===null)return n;e=s;let r=`",r}text(e){return e}}class Pt{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class ie{constructor(e){P(this,"options");P(this,"renderer");P(this,"textRenderer");this.options=e||Re,this.options.renderer=this.options.renderer||new rt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Pt}static parse(e,t){return new ie(t).parse(e)}static parseInline(e,t){return new ie(t).parseInline(e)}parse(e,t=!0){let n="";for(let s=0;s0&&m.tokens[0].type==="paragraph"?(m.tokens[0].text=A+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&m.tokens[0].tokens[0].type==="text"&&(m.tokens[0].tokens[0].text=A+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:A+" "}):R+=A+" "}R+=this.parse(m.tokens,u),f+=this.renderer.listitem(R,S,!!h)}n+=this.renderer.list(f,a,o);continue}case"html":{const l=r;n+=this.renderer.html(l.text,l.block);continue}case"paragraph":{const l=r;n+=this.renderer.paragraph(this.parseInline(l.tokens));continue}case"text":{let l=r,a=l.tokens?this.parseInline(l.tokens):l.text;for(;s+1{n=n.concat(this.walkTokens(a[o],t))}):a.tokens&&(n=n.concat(this.walkTokens(a.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{const s={...n};if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){const l=t.renderers[r.name];l?t.renderers[r.name]=function(...a){let o=r.renderer.apply(this,a);return o===!1&&(o=l.apply(this,a)),o}:t.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const l=t[r.level];l?l.unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&(r.level==="block"?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:r.level==="inline"&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(t.childTokens[r.name]=r.childTokens)}),s.extensions=t),n.renderer){const r=this.defaults.renderer||new rt(this.defaults);for(const l in n.renderer){const a=n.renderer[l],o=l,u=r[o];r[o]=(...f)=>{let p=a.apply(r,f);return p===!1&&(p=u.apply(r,f)),p||""}}s.renderer=r}if(n.tokenizer){const r=this.defaults.tokenizer||new st(this.defaults);for(const l in n.tokenizer){const a=n.tokenizer[l],o=l,u=r[o];r[o]=(...f)=>{let p=a.apply(r,f);return p===!1&&(p=u.apply(r,f)),p}}s.tokenizer=r}if(n.hooks){const r=this.defaults.hooks||new He;for(const l in n.hooks){const a=n.hooks[l],o=l,u=r[o];He.passThroughHooks.has(l)?r[o]=f=>{if(this.defaults.async)return Promise.resolve(a.call(r,f)).then(m=>u.call(r,m));const p=a.call(r,f);return u.call(r,p)}:r[o]=(...f)=>{let p=a.apply(r,f);return p===!1&&(p=u.apply(r,f)),p}}s.hooks=r}if(n.walkTokens){const r=this.defaults.walkTokens,l=n.walkTokens;s.walkTokens=function(a){let o=[];return o.push(l.call(this,a)),r&&(o=o.concat(r.call(this,a))),o}}this.defaults={...this.defaults,...s}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}}Be=new WeakSet,Nt=function(e,t){return(n,s)=>{const r={...s},l={...this.defaults,...r};this.defaults.async===!0&&r.async===!1&&(l.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),l.async=!0);const a=Ke(this,lt,Wn).call(this,!!l.silent,!!l.async);if(typeof n>"u"||n===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(l.hooks&&(l.hooks.options=l),l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(n):n).then(o=>e(o,l)).then(o=>l.walkTokens?Promise.all(this.walkTokens(o,l.walkTokens)).then(()=>o):o).then(o=>t(o,l)).then(o=>l.hooks?l.hooks.postprocess(o):o).catch(a);try{l.hooks&&(n=l.hooks.preprocess(n));const o=e(n,l);l.walkTokens&&this.walkTokens(o,l.walkTokens);let u=t(o,l);return l.hooks&&(u=l.hooks.postprocess(u)),u}catch(o){return a(o)}}},lt=new WeakSet,Wn=function(e,t){return n=>{if(n.message+=`
-Please report this to https://github.com/markedjs/marked.`,e){const s="
An error occurred:
"+K(n.message+"",!0)+"
";return t?Promise.resolve(s):s}if(t)return Promise.reject(n);throw n}};const we=new As;function N(i,e){return we.parse(i,e)}N.options=N.setOptions=function(i){return we.setOptions(i),N.defaults=we.defaults,Bn(N.defaults),N};N.getDefaults=Ot;N.defaults=Re;N.use=function(...i){return we.use(...i),N.defaults=we.defaults,Bn(N.defaults),N};N.walkTokens=function(i,e){return we.walkTokens(i,e)};N.parseInline=we.parseInline;N.Parser=ie;N.parser=ie.parse;N.Renderer=rt;N.TextRenderer=Pt;N.Lexer=ne;N.lexer=ne.lex;N.Tokenizer=st;N.Hooks=He;N.parse=N;N.options;N.setOptions;N.use;N.walkTokens;N.parseInline;ie.parse;ne.lex;/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */const{entries:Yn,setPrototypeOf:Tn,isFrozen:ws,getPrototypeOf:Rs,getOwnPropertyDescriptor:qn}=Object;let{freeze:Y,seal:ee,create:$n}=Object,{apply:vt,construct:Ct}=typeof Reflect<"u"&&Reflect;Y||(Y=function(e){return e});ee||(ee=function(e){return e});vt||(vt=function(e,t,n){return e.apply(t,n)});Ct||(Ct=function(e,t){return new e(...t)});const Qe=Q(Array.prototype.forEach),En=Q(Array.prototype.pop),Ue=Q(Array.prototype.push),nt=Q(String.prototype.toLowerCase),Rt=Q(String.prototype.toString),Ss=Q(String.prototype.match),ze=Q(String.prototype.replace),xs=Q(String.prototype.indexOf),ys=Q(String.prototype.trim),j=Q(RegExp.prototype.test),Fe=Is(TypeError);function Q(i){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s2&&arguments[2]!==void 0?arguments[2]:nt;Tn&&Tn(i,null);let n=e.length;for(;n--;){let s=e[n];if(typeof s=="string"){const r=t(s);r!==s&&(ws(e)||(e[n]=r),s=r)}i[s]=!0}return i}function ve(i){const e=$n(null);for(const[t,n]of Yn(i))qn(i,t)!==void 0&&(e[t]=n);return e}function Je(i,e){for(;i!==null;){const n=qn(i,e);if(n){if(n.get)return Q(n.get);if(typeof n.value=="function")return Q(n.value)}i=Rs(i)}function t(n){return console.warn("fallback value for",n),null}return t}const An=Y(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),St=Y(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),xt=Y(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ls=Y(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),yt=Y(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ns=Y(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),wn=Y(["#text"]),Rn=Y(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),It=Y(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Sn=Y(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),et=Y(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),vs=ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Cs=ee(/<%[\w\W]*|[\w\W]*%>/gm),Os=ee(/\${[\w\W]*}/gm),Ps=ee(/^data-[\-\w.\u00B7-\uFFFF]/),Ms=ee(/^aria-[\-\w]+$/),Zn=ee(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ds=ee(/^(?:\w+script|data):/i),Us=ee(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),jn=ee(/^html$/i);var xn=Object.freeze({__proto__:null,MUSTACHE_EXPR:vs,ERB_EXPR:Cs,TMPLIT_EXPR:Os,DATA_ATTR:Ps,ARIA_ATTR:Ms,IS_ALLOWED_URI:Zn,IS_SCRIPT_OR_DATA:Ds,ATTR_WHITESPACE:Us,DOCTYPE_NAME:jn});const zs=function(){return typeof window>"u"?null:window},Fs=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const s="data-tt-policy-suffix";t&&t.hasAttribute(s)&&(n=t.getAttribute(s));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function Kn(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zs();const e=k=>Kn(k);if(e.version="3.0.6",e.removed=[],!i||!i.document||i.document.nodeType!==9)return e.isSupported=!1,e;let{document:t}=i;const n=t,s=n.currentScript,{DocumentFragment:r,HTMLTemplateElement:l,Node:a,Element:o,NodeFilter:u,NamedNodeMap:f=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:p,DOMParser:m,trustedTypes:h}=i,S=o.prototype,R=Je(S,"cloneNode"),A=Je(S,"nextSibling"),q=Je(S,"childNodes"),re=Je(S,"parentNode");if(typeof l=="function"){const k=t.createElement("template");k.content&&k.content.ownerDocument&&(t=k.content.ownerDocument)}let F,ue="";const{implementation:_e,createNodeIterator:Xn,createDocumentFragment:Qn,getElementsByTagName:Jn}=t,{importNode:ei}=n;let te={};e.isSupported=typeof Yn=="function"&&typeof re=="function"&&_e&&_e.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:at,ERB_EXPR:ct,TMPLIT_EXPR:ut,DATA_ATTR:ti,ARIA_ATTR:ni,IS_SCRIPT_OR_DATA:ii,ATTR_WHITESPACE:Mt}=xn;let{IS_ALLOWED_URI:Dt}=xn,H=null;const Ut=w({},[...An,...St,...xt,...yt,...wn]);let B=null;const zt=w({},[...Rn,...It,...Sn,...et]);let D=Object.seal($n(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,ft=null,Ft=!0,ht=!0,Ht=!1,Bt=!0,Se=!1,ke=!1,pt=!1,dt=!1,xe=!1,Ye=!1,qe=!1,Gt=!0,Vt=!1;const si="user-content-";let mt=!0,Oe=!1,ye={},Ie=null;const Wt=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Yt=null;const qt=w({},["audio","video","img","source","image","track"]);let gt=null;const $t=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$e="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",le="http://www.w3.org/1999/xhtml";let Le=le,_t=!1,kt=null;const ri=w({},[$e,Ze,le],Rt);let be=null;const li=["application/xhtml+xml","text/html"],oi="text/html";let G=null,Ne=null;const ai=t.createElement("form"),Zt=function(c){return c instanceof RegExp||c instanceof Function},bt=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ne&&Ne===c)){if((!c||typeof c!="object")&&(c={}),c=ve(c),be=li.indexOf(c.PARSER_MEDIA_TYPE)===-1?be=oi:be=c.PARSER_MEDIA_TYPE,G=be==="application/xhtml+xml"?Rt:nt,H="ALLOWED_TAGS"in c?w({},c.ALLOWED_TAGS,G):Ut,B="ALLOWED_ATTR"in c?w({},c.ALLOWED_ATTR,G):zt,kt="ALLOWED_NAMESPACES"in c?w({},c.ALLOWED_NAMESPACES,Rt):ri,gt="ADD_URI_SAFE_ATTR"in c?w(ve($t),c.ADD_URI_SAFE_ATTR,G):$t,Yt="ADD_DATA_URI_TAGS"in c?w(ve(qt),c.ADD_DATA_URI_TAGS,G):qt,Ie="FORBID_CONTENTS"in c?w({},c.FORBID_CONTENTS,G):Wt,Ce="FORBID_TAGS"in c?w({},c.FORBID_TAGS,G):{},ft="FORBID_ATTR"in c?w({},c.FORBID_ATTR,G):{},ye="USE_PROFILES"in c?c.USE_PROFILES:!1,Ft=c.ALLOW_ARIA_ATTR!==!1,ht=c.ALLOW_DATA_ATTR!==!1,Ht=c.ALLOW_UNKNOWN_PROTOCOLS||!1,Bt=c.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Se=c.SAFE_FOR_TEMPLATES||!1,ke=c.WHOLE_DOCUMENT||!1,xe=c.RETURN_DOM||!1,Ye=c.RETURN_DOM_FRAGMENT||!1,qe=c.RETURN_TRUSTED_TYPE||!1,dt=c.FORCE_BODY||!1,Gt=c.SANITIZE_DOM!==!1,Vt=c.SANITIZE_NAMED_PROPS||!1,mt=c.KEEP_CONTENT!==!1,Oe=c.IN_PLACE||!1,Dt=c.ALLOWED_URI_REGEXP||Zn,Le=c.NAMESPACE||le,D=c.CUSTOM_ELEMENT_HANDLING||{},c.CUSTOM_ELEMENT_HANDLING&&Zt(c.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(D.tagNameCheck=c.CUSTOM_ELEMENT_HANDLING.tagNameCheck),c.CUSTOM_ELEMENT_HANDLING&&Zt(c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(D.attributeNameCheck=c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),c.CUSTOM_ELEMENT_HANDLING&&typeof c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(D.allowCustomizedBuiltInElements=c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Se&&(ht=!1),Ye&&(xe=!0),ye&&(H=w({},[...wn]),B=[],ye.html===!0&&(w(H,An),w(B,Rn)),ye.svg===!0&&(w(H,St),w(B,It),w(B,et)),ye.svgFilters===!0&&(w(H,xt),w(B,It),w(B,et)),ye.mathMl===!0&&(w(H,yt),w(B,Sn),w(B,et))),c.ADD_TAGS&&(H===Ut&&(H=ve(H)),w(H,c.ADD_TAGS,G)),c.ADD_ATTR&&(B===zt&&(B=ve(B)),w(B,c.ADD_ATTR,G)),c.ADD_URI_SAFE_ATTR&&w(gt,c.ADD_URI_SAFE_ATTR,G),c.FORBID_CONTENTS&&(Ie===Wt&&(Ie=ve(Ie)),w(Ie,c.FORBID_CONTENTS,G)),mt&&(H["#text"]=!0),ke&&w(H,["html","head","body"]),H.table&&(w(H,["tbody"]),delete Ce.tbody),c.TRUSTED_TYPES_POLICY){if(typeof c.TRUSTED_TYPES_POLICY.createHTML!="function")throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof c.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');F=c.TRUSTED_TYPES_POLICY,ue=F.createHTML("")}else F===void 0&&(F=Fs(h,s)),F!==null&&typeof ue=="string"&&(ue=F.createHTML(""));Y&&Y(c),Ne=c}},jt=w({},["mi","mo","mn","ms","mtext"]),Kt=w({},["foreignobject","desc","title","annotation-xml"]),ci=w({},["title","style","font","a","script"]),je=w({},St);w(je,xt),w(je,Ls);const Tt=w({},yt);w(Tt,Ns);const ui=function(c){let d=re(c);(!d||!d.tagName)&&(d={namespaceURI:Le,tagName:"template"});const _=nt(c.tagName),M=nt(d.tagName);return kt[c.namespaceURI]?c.namespaceURI===Ze?d.namespaceURI===le?_==="svg":d.namespaceURI===$e?_==="svg"&&(M==="annotation-xml"||jt[M]):!!je[_]:c.namespaceURI===$e?d.namespaceURI===le?_==="math":d.namespaceURI===Ze?_==="math"&&Kt[M]:!!Tt[_]:c.namespaceURI===le?d.namespaceURI===Ze&&!Kt[M]||d.namespaceURI===$e&&!jt[M]?!1:!Tt[_]&&(ci[_]||!je[_]):!!(be==="application/xhtml+xml"&&kt[c.namespaceURI]):!1},Te=function(c){Ue(e.removed,{element:c});try{c.parentNode.removeChild(c)}catch{c.remove()}},Et=function(c,d){try{Ue(e.removed,{attribute:d.getAttributeNode(c),from:d})}catch{Ue(e.removed,{attribute:null,from:d})}if(d.removeAttribute(c),c==="is"&&!B[c])if(xe||Ye)try{Te(d)}catch{}else try{d.setAttribute(c,"")}catch{}},Xt=function(c){let d=null,_=null;if(dt)c=""+c;else{const W=Ss(c,/^[\r\n\t ]+/);_=W&&W[0]}be==="application/xhtml+xml"&&Le===le&&(c=''+c+"");const M=F?F.createHTML(c):c;if(Le===le)try{d=new m().parseFromString(M,be)}catch{}if(!d||!d.documentElement){d=_e.createDocument(Le,"template",null);try{d.documentElement.innerHTML=_t?ue:M}catch{}}const V=d.body||d.documentElement;return c&&_&&V.insertBefore(t.createTextNode(_),V.childNodes[0]||null),Le===le?Jn.call(d,ke?"html":"body")[0]:ke?d.documentElement:V},Qt=function(c){return Xn.call(c.ownerDocument||c,c,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null)},fi=function(c){return c instanceof p&&(typeof c.nodeName!="string"||typeof c.textContent!="string"||typeof c.removeChild!="function"||!(c.attributes instanceof f)||typeof c.removeAttribute!="function"||typeof c.setAttribute!="function"||typeof c.namespaceURI!="string"||typeof c.insertBefore!="function"||typeof c.hasChildNodes!="function")},Jt=function(c){return typeof a=="function"&&c instanceof a},oe=function(c,d,_){te[c]&&Qe(te[c],M=>{M.call(e,d,_,Ne)})},en=function(c){let d=null;if(oe("beforeSanitizeElements",c,null),fi(c))return Te(c),!0;const _=G(c.nodeName);if(oe("uponSanitizeElement",c,{tagName:_,allowedTags:H}),c.hasChildNodes()&&!Jt(c.firstElementChild)&&j(/<[/\w]/g,c.innerHTML)&&j(/<[/\w]/g,c.textContent))return Te(c),!0;if(!H[_]||Ce[_]){if(!Ce[_]&&nn(_)&&(D.tagNameCheck instanceof RegExp&&j(D.tagNameCheck,_)||D.tagNameCheck instanceof Function&&D.tagNameCheck(_)))return!1;if(mt&&!Ie[_]){const M=re(c)||c.parentNode,V=q(c)||c.childNodes;if(V&&M){const W=V.length;for(let $=W-1;$>=0;--$)M.insertBefore(R(V[$],!0),A(c))}}return Te(c),!0}return c instanceof o&&!ui(c)||(_==="noscript"||_==="noembed"||_==="noframes")&&j(/<\/no(script|embed|frames)/i,c.innerHTML)?(Te(c),!0):(Se&&c.nodeType===3&&(d=c.textContent,Qe([at,ct,ut],M=>{d=ze(d,M," ")}),c.textContent!==d&&(Ue(e.removed,{element:c.cloneNode()}),c.textContent=d)),oe("afterSanitizeElements",c,null),!1)},tn=function(c,d,_){if(Gt&&(d==="id"||d==="name")&&(_ in t||_ in ai))return!1;if(!(ht&&!ft[d]&&j(ti,d))){if(!(Ft&&j(ni,d))){if(!B[d]||ft[d]){if(!(nn(c)&&(D.tagNameCheck instanceof RegExp&&j(D.tagNameCheck,c)||D.tagNameCheck instanceof Function&&D.tagNameCheck(c))&&(D.attributeNameCheck instanceof RegExp&&j(D.attributeNameCheck,d)||D.attributeNameCheck instanceof Function&&D.attributeNameCheck(d))||d==="is"&&D.allowCustomizedBuiltInElements&&(D.tagNameCheck instanceof RegExp&&j(D.tagNameCheck,_)||D.tagNameCheck instanceof Function&&D.tagNameCheck(_))))return!1}else if(!gt[d]){if(!j(Dt,ze(_,Mt,""))){if(!((d==="src"||d==="xlink:href"||d==="href")&&c!=="script"&&xs(_,"data:")===0&&Yt[c])){if(!(Ht&&!j(ii,ze(_,Mt,"")))){if(_)return!1}}}}}}return!0},nn=function(c){return c.indexOf("-")>0},sn=function(c){oe("beforeSanitizeAttributes",c,null);const{attributes:d}=c;if(!d)return;const _={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B};let M=d.length;for(;M--;){const V=d[M],{name:W,namespaceURI:$,value:Ee}=V,Pe=G(W);let Z=W==="value"?Ee:ys(Ee);if(_.attrName=Pe,_.attrValue=Z,_.keepAttr=!0,_.forceKeepAttr=void 0,oe("uponSanitizeAttribute",c,_),Z=_.attrValue,_.forceKeepAttr||(Et(W,c),!_.keepAttr))continue;if(!Bt&&j(/\/>/i,Z)){Et(W,c);continue}Se&&Qe([at,ct,ut],ln=>{Z=ze(Z,ln," ")});const rn=G(c.nodeName);if(tn(rn,Pe,Z)){if(Vt&&(Pe==="id"||Pe==="name")&&(Et(W,c),Z=si+Z),F&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!$)switch(h.getAttributeType(rn,Pe)){case"TrustedHTML":{Z=F.createHTML(Z);break}case"TrustedScriptURL":{Z=F.createScriptURL(Z);break}}try{$?c.setAttributeNS($,W,Z):c.setAttribute(W,Z),En(e.removed)}catch{}}}oe("afterSanitizeAttributes",c,null)},hi=function k(c){let d=null;const _=Qt(c);for(oe("beforeSanitizeShadowDOM",c,null);d=_.nextNode();)oe("uponSanitizeShadowNode",d,null),!en(d)&&(d.content instanceof r&&k(d.content),sn(d));oe("afterSanitizeShadowDOM",c,null)};return e.sanitize=function(k){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=null,_=null,M=null,V=null;if(_t=!k,_t&&(k=""),typeof k!="string"&&!Jt(k))if(typeof k.toString=="function"){if(k=k.toString(),typeof k!="string")throw Fe("dirty is not a string, aborting")}else throw Fe("toString is not a function");if(!e.isSupported)return k;if(pt||bt(c),e.removed=[],typeof k=="string"&&(Oe=!1),Oe){if(k.nodeName){const Ee=G(k.nodeName);if(!H[Ee]||Ce[Ee])throw Fe("root node is forbidden and cannot be sanitized in-place")}}else if(k instanceof a)d=Xt(""),_=d.ownerDocument.importNode(k,!0),_.nodeType===1&&_.nodeName==="BODY"||_.nodeName==="HTML"?d=_:d.appendChild(_);else{if(!xe&&!Se&&!ke&&k.indexOf("<")===-1)return F&&qe?F.createHTML(k):k;if(d=Xt(k),!d)return xe?null:qe?ue:""}d&&dt&&Te(d.firstChild);const W=Qt(Oe?k:d);for(;M=W.nextNode();)en(M)||(M.content instanceof r&&hi(M.content),sn(M));if(Oe)return k;if(xe){if(Ye)for(V=Qn.call(d.ownerDocument);d.firstChild;)V.appendChild(d.firstChild);else V=d;return(B.shadowroot||B.shadowrootmode)&&(V=ei.call(n,V,!0)),V}let $=ke?d.outerHTML:d.innerHTML;return ke&&H["!doctype"]&&d.ownerDocument&&d.ownerDocument.doctype&&d.ownerDocument.doctype.name&&j(jn,d.ownerDocument.doctype.name)&&($="
-`+$),Se&&Qe([at,ct,ut],Ee=>{$=ze($,Ee," ")}),F&&qe?F.createHTML($):$},e.setConfig=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};bt(k),pt=!0},e.clearConfig=function(){Ne=null,pt=!1},e.isValidAttribute=function(k,c,d){Ne||bt({});const _=G(k),M=G(c);return tn(_,M,d)},e.addHook=function(k,c){typeof c=="function"&&(te[k]=te[k]||[],Ue(te[k],c))},e.removeHook=function(k){if(te[k])return En(te[k])},e.removeHooks=function(k){te[k]&&(te[k]=[])},e.removeAllHooks=function(){te={}},e}var yn=Kn();function In(i,e,t){const n=i.slice();return n[2]=e[t],n[4]=t,n}function Hs(i){let e,t,n=i[2]+"",s,r,l=i[1][i[4]]+"",a;return{c(){e=I("tr"),t=I("td"),s=de(n),r=I("td"),a=de(l),this.h()},l(o){e=L(o,"TR",{});var u=C(e);t=L(u,"TD",{class:!0});var f=C(t);s=me(f,n),f.forEach(E),r=L(u,"TD",{class:!0});var p=C(r);a=me(p,l),p.forEach(E),u.forEach(E),this.h()},h(){b(t,"class","key"),b(r,"class","value")},m(o,u){U(o,e,u),y(e,t),y(t,s),y(e,r),y(r,a)},p(o,u){u&1&&n!==(n=o[2]+"")&&ge(s,n),u&2&&l!==(l=o[1][o[4]]+"")&&ge(a,l)},d(o){o&&E(e)}}}function Bs(i){let e,t,n=i[2]+"",s,r,l,a,o=yn.sanitize(N.parse(i[1][i[4]].replace(/^[\u200B\u200C\u200D\u200E\u200F\uFEFF]/,"")))+"",u;return{c(){e=I("tr"),t=I("td"),s=de(n),r=I("td"),l=I("div"),a=new Si(!1),u=fe(),this.h()},l(f){e=L(f,"TR",{});var p=C(e);t=L(p,"TD",{class:!0});var m=C(t);s=me(m,n),m.forEach(E),r=L(p,"TD",{class:!0});var h=C(r);l=L(h,"DIV",{class:!0});var S=C(l);a=xi(S,!1),S.forEach(E),h.forEach(E),u=he(p),p.forEach(E),this.h()},h(){b(t,"class","key"),a.a=null,b(l,"class","display-markdown"),b(r,"class","value")},m(f,p){U(f,e,p),y(e,t),y(t,s),y(e,r),y(r,l),a.m(o,l),y(e,u)},p(f,p){p&1&&n!==(n=f[2]+"")&&ge(s,n),p&2&&o!==(o=yn.sanitize(N.parse(f[1][f[4]].replace(/^[\u200B\u200C\u200D\u200E\u200F\uFEFF]/,"")))+"")&&a.p(o)},d(f){f&&E(e)}}}function Ln(i){let e;function t(r,l){return r[2]=="text"||r[2]=="Text"?Bs:Hs}let n=t(i),s=n(i);return{c(){s.c(),e=se()},l(r){s.l(r),e=se()},m(r,l){s.m(r,l),U(r,e,l)},p(r,l){n===(n=t(r))&&s?s.p(r,l):(s.d(1),s=n(r),s&&(s.c(),s.m(e.parentNode,e)))},d(r){r&&E(e),s.d(r)}}}function Gs(i){let e,t,n=an(i[0]),s=[];for(let r=0;r{"keys"in r&&t(0,n=r.keys),"values"in r&&t(1,s=r.values)},[n,s]}class sr extends Ve{constructor(e){super(),We(this,e,Vs,Gs,Ge,{keys:0,values:1})}}const Ws=yi("goto");function Nn(i){let e,t,n='',s,r;return{c(){e=I("div"),t=I("button"),t.innerHTML=n,this.h()},l(l){e=L(l,"DIV",{class:!0,title:!0});var a=C(e);t=L(a,"BUTTON",{"data-svelte-h":!0}),ot(t)!=="svelte-1jqs7rr"&&(t.innerHTML=n),a.forEach(E),this.h()},h(){b(e,"class","postpend"),b(e,"title","Discard search")},m(l,a){U(l,e,a),y(e,t),s||(r=pe(t,"click",i[7]),s=!0)},p:J,d(l){l&&E(e),s=!1,r()}}}function vn(i){let e,t;return{c(){e=I("div"),t=de(i[0]),this.h()},l(n){e=L(n,"DIV",{class:!0});var s=C(e);t=me(s,i[0]),s.forEach(E),this.h()},h(){b(e,"class","error-message")},m(n,s){U(n,e,s),y(e,t)},p(n,s){s&1&&ge(t,n[0])},d(n){n&&E(e)}}}function Ys(i){let e,t,n,s=' URL',r,l,a,o,u,f,p,m,h=i[3]&&Nn(i),S=i[0]&&vn(i);return{c(){e=I("div"),t=I("div"),n=I("div"),n.innerHTML=s,r=fe(),l=I("div"),a=I("input"),o=fe(),h&&h.c(),u=fe(),S&&S.c(),f=se(),this.h()},l(R){e=L(R,"DIV",{class:!0});var A=C(e);t=L(A,"DIV",{class:!0,title:!0});var q=C(t);n=L(q,"DIV",{class:!0,"data-svelte-h":!0}),ot(n)!=="svelte-quf1er"&&(n.innerHTML=s),r=he(q),l=L(q,"DIV",{class:!0});var re=C(l);a=L(re,"INPUT",{placeholder:!0,type:!0}),re.forEach(E),o=he(q),h&&h.l(q),q.forEach(E),A.forEach(E),u=he(R),S&&S.l(R),f=se(),this.h()},h(){b(n,"class","prepend"),b(a,"placeholder",i[2]),b(a,"type","text"),b(l,"class","url-input"),b(t,"class","url-container"),b(t,"title",i[1]),b(e,"class","url-outline")},m(R,A){U(R,e,A),y(e,t),y(t,n),y(t,r),y(t,l),y(l,a),on(a,i[3]),y(t,o),h&&h.m(t,null),U(R,u,A),S&&S.m(R,A),U(R,f,A),p||(m=[pe(a,"input",i[6]),pe(a,"keydown",i[4])],p=!0)},p(R,[A]){A&4&&b(a,"placeholder",R[2]),A&8&&a.value!==R[3]&&on(a,R[3]),R[3]?h?h.p(R,A):(h=Nn(R),h.c(),h.m(t,null)):h&&(h.d(1),h=null),A&2&&b(t,"title",R[1]),R[0]?S?S.p(R,A):(S=vn(R),S.c(),S.m(f.parentNode,f)):S&&(S.d(1),S=null)},i:J,o:J,d(R){R&&(E(e),E(u),E(f)),h&&h.d(),S&&S.d(R),p=!1,Ti(m)}}}function qs(i,e,t){let n;Cn(i,Ii,h=>t(8,n=h));let{baseroute:s}=e,{tooltiptext:r}=e,{errormessage:l}=e,{placeholder:a}=e,o="";Ei(()=>{/^\?q=/.test(n.url.search)&&t(3,o=n.url.searchParams.get("q")||"")});const u=()=>{Ws(s+o)},f=h=>{h.key==="Enter"&&u()};function p(){o=this.value,t(3,o)}const m=()=>{t(3,o="")};return i.$$set=h=>{"baseroute"in h&&t(5,s=h.baseroute),"tooltiptext"in h&&t(1,r=h.tooltiptext),"errormessage"in h&&t(0,l=h.errormessage),"placeholder"in h&&t(2,a=h.placeholder)},i.$$.update=()=>{i.$$.dirty&8&&o===""&&t(0,l="")},[l,r,a,o,f,s,p,m]}class rr extends Ve{constructor(e){super(),We(this,e,qs,Ys,Ge,{baseroute:5,tooltiptext:1,errormessage:0,placeholder:2})}}export{nr as B,ir as C,sr as K,Me as P,Ae as S,ae as T,rr as U,Js as a,tr as b,os as c,an as e,Ws as g,er as l,N as m,yn as p};
+`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return" "}del(e){return`${e}`}link(e,t,n){const s=gn(e);if(s===null)return n;e=s;let r='"+n+"",r}image(e,t,n){const s=gn(e);if(s===null)return n;e=s;let r=`",r}text(e){return e}}class Mt{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class ie{constructor(e){M(this,"options");M(this,"renderer");M(this,"textRenderer");this.options=e||Re,this.options.renderer=this.options.renderer||new rt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Mt}static parse(e,t){return new ie(t).parse(e)}static parseInline(e,t){return new ie(t).parseInline(e)}parse(e,t=!0){let n="";for(let s=0;s0&&m.tokens[0].type==="paragraph"?(m.tokens[0].text=A+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&m.tokens[0].tokens[0].type==="text"&&(m.tokens[0].tokens[0].text=A+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:A+" "}):R+=A+" "}R+=this.parse(m.tokens,u),f+=this.renderer.listitem(R,S,!!h)}n+=this.renderer.list(f,a,o);continue}case"html":{const l=r;n+=this.renderer.html(l.text,l.block);continue}case"paragraph":{const l=r;n+=this.renderer.paragraph(this.parseInline(l.tokens));continue}case"text":{let l=r,a=l.tokens?this.parseInline(l.tokens):l.text;for(;s+1{n=n.concat(this.walkTokens(a[o],t))}):a.tokens&&(n=n.concat(this.walkTokens(a.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{const s={...n};if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){const l=t.renderers[r.name];l?t.renderers[r.name]=function(...a){let o=r.renderer.apply(this,a);return o===!1&&(o=l.apply(this,a)),o}:t.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const l=t[r.level];l?l.unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&(r.level==="block"?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:r.level==="inline"&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(t.childTokens[r.name]=r.childTokens)}),s.extensions=t),n.renderer){const r=this.defaults.renderer||new rt(this.defaults);for(const l in n.renderer){const a=n.renderer[l],o=l,u=r[o];r[o]=(...f)=>{let p=a.apply(r,f);return p===!1&&(p=u.apply(r,f)),p||""}}s.renderer=r}if(n.tokenizer){const r=this.defaults.tokenizer||new st(this.defaults);for(const l in n.tokenizer){const a=n.tokenizer[l],o=l,u=r[o];r[o]=(...f)=>{let p=a.apply(r,f);return p===!1&&(p=u.apply(r,f)),p}}s.tokenizer=r}if(n.hooks){const r=this.defaults.hooks||new He;for(const l in n.hooks){const a=n.hooks[l],o=l,u=r[o];He.passThroughHooks.has(l)?r[o]=f=>{if(this.defaults.async)return Promise.resolve(a.call(r,f)).then(m=>u.call(r,m));const p=a.call(r,f);return u.call(r,p)}:r[o]=(...f)=>{let p=a.apply(r,f);return p===!1&&(p=u.apply(r,f)),p}}s.hooks=r}if(n.walkTokens){const r=this.defaults.walkTokens,l=n.walkTokens;s.walkTokens=function(a){let o=[];return o.push(l.call(this,a)),r&&(o=o.concat(r.call(this,a))),o}}this.defaults={...this.defaults,...s}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}}Be=new WeakSet,Nt=function(e,t){return(n,s)=>{const r={...s},l={...this.defaults,...r};this.defaults.async===!0&&r.async===!1&&(l.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),l.async=!0);const a=Ke(this,lt,Wn).call(this,!!l.silent,!!l.async);if(typeof n>"u"||n===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(l.hooks&&(l.hooks.options=l),l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(n):n).then(o=>e(o,l)).then(o=>l.walkTokens?Promise.all(this.walkTokens(o,l.walkTokens)).then(()=>o):o).then(o=>t(o,l)).then(o=>l.hooks?l.hooks.postprocess(o):o).catch(a);try{l.hooks&&(n=l.hooks.preprocess(n));const o=e(n,l);l.walkTokens&&this.walkTokens(o,l.walkTokens);let u=t(o,l);return l.hooks&&(u=l.hooks.postprocess(u)),u}catch(o){return a(o)}}},lt=new WeakSet,Wn=function(e,t){return n=>{if(n.message+=`
+Please report this to https://github.com/markedjs/marked.`,e){const s="
An error occurred:
"+K(n.message+"",!0)+"
";return t?Promise.resolve(s):s}if(t)return Promise.reject(n);throw n}};const we=new ks;function N(i,e){return we.parse(i,e)}N.options=N.setOptions=function(i){return we.setOptions(i),N.defaults=we.defaults,Bn(N.defaults),N};N.getDefaults=Ot;N.defaults=Re;N.use=function(...i){return we.use(...i),N.defaults=we.defaults,Bn(N.defaults),N};N.walkTokens=function(i,e){return we.walkTokens(i,e)};N.parseInline=we.parseInline;N.Parser=ie;N.parser=ie.parse;N.Renderer=rt;N.TextRenderer=Mt;N.Lexer=ne;N.lexer=ne.lex;N.Tokenizer=st;N.Hooks=He;N.parse=N;N.options;N.setOptions;N.use;N.walkTokens;N.parseInline;ie.parse;ne.lex;/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */const{entries:Yn,setPrototypeOf:bn,isFrozen:bs,getPrototypeOf:Ts,getOwnPropertyDescriptor:qn}=Object;let{freeze:Y,seal:ee,create:$n}=Object,{apply:vt,construct:Ct}=typeof Reflect<"u"&&Reflect;Y||(Y=function(e){return e});ee||(ee=function(e){return e});vt||(vt=function(e,t,n){return e.apply(t,n)});Ct||(Ct=function(e,t){return new e(...t)});const Qe=Q(Array.prototype.forEach),Tn=Q(Array.prototype.pop),Ue=Q(Array.prototype.push),nt=Q(String.prototype.toLowerCase),Rt=Q(String.prototype.toString),Es=Q(String.prototype.match),ze=Q(String.prototype.replace),As=Q(String.prototype.indexOf),ws=Q(String.prototype.trim),j=Q(RegExp.prototype.test),Fe=Rs(TypeError);function Q(i){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s2&&arguments[2]!==void 0?arguments[2]:nt;bn&&bn(i,null);let n=e.length;for(;n--;){let s=e[n];if(typeof s=="string"){const r=t(s);r!==s&&(bs(e)||(e[n]=r),s=r)}i[s]=!0}return i}function ve(i){const e=$n(null);for(const[t,n]of Yn(i))qn(i,t)!==void 0&&(e[t]=n);return e}function Je(i,e){for(;i!==null;){const n=qn(i,e);if(n){if(n.get)return Q(n.get);if(typeof n.value=="function")return Q(n.value)}i=Ts(i)}function t(n){return console.warn("fallback value for",n),null}return t}const En=Y(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),St=Y(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),xt=Y(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ss=Y(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),yt=Y(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),xs=Y(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),An=Y(["#text"]),wn=Y(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),It=Y(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Rn=Y(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),et=Y(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ys=ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Is=ee(/<%[\w\W]*|[\w\W]*%>/gm),Ls=ee(/\${[\w\W]*}/gm),Ns=ee(/^data-[\-\w.\u00B7-\uFFFF]/),vs=ee(/^aria-[\-\w]+$/),Zn=ee(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Cs=ee(/^(?:\w+script|data):/i),Os=ee(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),jn=ee(/^html$/i);var Sn=Object.freeze({__proto__:null,MUSTACHE_EXPR:ys,ERB_EXPR:Is,TMPLIT_EXPR:Ls,DATA_ATTR:Ns,ARIA_ATTR:vs,IS_ALLOWED_URI:Zn,IS_SCRIPT_OR_DATA:Cs,ATTR_WHITESPACE:Os,DOCTYPE_NAME:jn});const Ms=function(){return typeof window>"u"?null:window},Ps=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const s="data-tt-policy-suffix";t&&t.hasAttribute(s)&&(n=t.getAttribute(s));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function Kn(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ms();const e=k=>Kn(k);if(e.version="3.0.6",e.removed=[],!i||!i.document||i.document.nodeType!==9)return e.isSupported=!1,e;let{document:t}=i;const n=t,s=n.currentScript,{DocumentFragment:r,HTMLTemplateElement:l,Node:a,Element:o,NodeFilter:u,NamedNodeMap:f=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:p,DOMParser:m,trustedTypes:h}=i,S=o.prototype,R=Je(S,"cloneNode"),A=Je(S,"nextSibling"),q=Je(S,"childNodes"),re=Je(S,"parentNode");if(typeof l=="function"){const k=t.createElement("template");k.content&&k.content.ownerDocument&&(t=k.content.ownerDocument)}let F,ue="";const{implementation:_e,createNodeIterator:Xn,createDocumentFragment:Qn,getElementsByTagName:Jn}=t,{importNode:ei}=n;let te={};e.isSupported=typeof Yn=="function"&&typeof re=="function"&&_e&&_e.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:at,ERB_EXPR:ct,TMPLIT_EXPR:ut,DATA_ATTR:ti,ARIA_ATTR:ni,IS_SCRIPT_OR_DATA:ii,ATTR_WHITESPACE:Pt}=Sn;let{IS_ALLOWED_URI:Dt}=Sn,H=null;const Ut=w({},[...En,...St,...xt,...yt,...An]);let B=null;const zt=w({},[...wn,...It,...Rn,...et]);let D=Object.seal($n(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,ft=null,Ft=!0,ht=!0,Ht=!1,Bt=!0,Se=!1,ke=!1,pt=!1,dt=!1,xe=!1,Ye=!1,qe=!1,Gt=!0,Vt=!1;const si="user-content-";let mt=!0,Oe=!1,ye={},Ie=null;const Wt=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Yt=null;const qt=w({},["audio","video","img","source","image","track"]);let gt=null;const $t=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$e="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",le="http://www.w3.org/1999/xhtml";let Le=le,_t=!1,kt=null;const ri=w({},[$e,Ze,le],Rt);let be=null;const li=["application/xhtml+xml","text/html"],oi="text/html";let G=null,Ne=null;const ai=t.createElement("form"),Zt=function(c){return c instanceof RegExp||c instanceof Function},bt=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ne&&Ne===c)){if((!c||typeof c!="object")&&(c={}),c=ve(c),be=li.indexOf(c.PARSER_MEDIA_TYPE)===-1?be=oi:be=c.PARSER_MEDIA_TYPE,G=be==="application/xhtml+xml"?Rt:nt,H="ALLOWED_TAGS"in c?w({},c.ALLOWED_TAGS,G):Ut,B="ALLOWED_ATTR"in c?w({},c.ALLOWED_ATTR,G):zt,kt="ALLOWED_NAMESPACES"in c?w({},c.ALLOWED_NAMESPACES,Rt):ri,gt="ADD_URI_SAFE_ATTR"in c?w(ve($t),c.ADD_URI_SAFE_ATTR,G):$t,Yt="ADD_DATA_URI_TAGS"in c?w(ve(qt),c.ADD_DATA_URI_TAGS,G):qt,Ie="FORBID_CONTENTS"in c?w({},c.FORBID_CONTENTS,G):Wt,Ce="FORBID_TAGS"in c?w({},c.FORBID_TAGS,G):{},ft="FORBID_ATTR"in c?w({},c.FORBID_ATTR,G):{},ye="USE_PROFILES"in c?c.USE_PROFILES:!1,Ft=c.ALLOW_ARIA_ATTR!==!1,ht=c.ALLOW_DATA_ATTR!==!1,Ht=c.ALLOW_UNKNOWN_PROTOCOLS||!1,Bt=c.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Se=c.SAFE_FOR_TEMPLATES||!1,ke=c.WHOLE_DOCUMENT||!1,xe=c.RETURN_DOM||!1,Ye=c.RETURN_DOM_FRAGMENT||!1,qe=c.RETURN_TRUSTED_TYPE||!1,dt=c.FORCE_BODY||!1,Gt=c.SANITIZE_DOM!==!1,Vt=c.SANITIZE_NAMED_PROPS||!1,mt=c.KEEP_CONTENT!==!1,Oe=c.IN_PLACE||!1,Dt=c.ALLOWED_URI_REGEXP||Zn,Le=c.NAMESPACE||le,D=c.CUSTOM_ELEMENT_HANDLING||{},c.CUSTOM_ELEMENT_HANDLING&&Zt(c.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(D.tagNameCheck=c.CUSTOM_ELEMENT_HANDLING.tagNameCheck),c.CUSTOM_ELEMENT_HANDLING&&Zt(c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(D.attributeNameCheck=c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),c.CUSTOM_ELEMENT_HANDLING&&typeof c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(D.allowCustomizedBuiltInElements=c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Se&&(ht=!1),Ye&&(xe=!0),ye&&(H=w({},[...An]),B=[],ye.html===!0&&(w(H,En),w(B,wn)),ye.svg===!0&&(w(H,St),w(B,It),w(B,et)),ye.svgFilters===!0&&(w(H,xt),w(B,It),w(B,et)),ye.mathMl===!0&&(w(H,yt),w(B,Rn),w(B,et))),c.ADD_TAGS&&(H===Ut&&(H=ve(H)),w(H,c.ADD_TAGS,G)),c.ADD_ATTR&&(B===zt&&(B=ve(B)),w(B,c.ADD_ATTR,G)),c.ADD_URI_SAFE_ATTR&&w(gt,c.ADD_URI_SAFE_ATTR,G),c.FORBID_CONTENTS&&(Ie===Wt&&(Ie=ve(Ie)),w(Ie,c.FORBID_CONTENTS,G)),mt&&(H["#text"]=!0),ke&&w(H,["html","head","body"]),H.table&&(w(H,["tbody"]),delete Ce.tbody),c.TRUSTED_TYPES_POLICY){if(typeof c.TRUSTED_TYPES_POLICY.createHTML!="function")throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof c.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');F=c.TRUSTED_TYPES_POLICY,ue=F.createHTML("")}else F===void 0&&(F=Ps(h,s)),F!==null&&typeof ue=="string"&&(ue=F.createHTML(""));Y&&Y(c),Ne=c}},jt=w({},["mi","mo","mn","ms","mtext"]),Kt=w({},["foreignobject","desc","title","annotation-xml"]),ci=w({},["title","style","font","a","script"]),je=w({},St);w(je,xt),w(je,Ss);const Tt=w({},yt);w(Tt,xs);const ui=function(c){let d=re(c);(!d||!d.tagName)&&(d={namespaceURI:Le,tagName:"template"});const _=nt(c.tagName),P=nt(d.tagName);return kt[c.namespaceURI]?c.namespaceURI===Ze?d.namespaceURI===le?_==="svg":d.namespaceURI===$e?_==="svg"&&(P==="annotation-xml"||jt[P]):!!je[_]:c.namespaceURI===$e?d.namespaceURI===le?_==="math":d.namespaceURI===Ze?_==="math"&&Kt[P]:!!Tt[_]:c.namespaceURI===le?d.namespaceURI===Ze&&!Kt[P]||d.namespaceURI===$e&&!jt[P]?!1:!Tt[_]&&(ci[_]||!je[_]):!!(be==="application/xhtml+xml"&&kt[c.namespaceURI]):!1},Te=function(c){Ue(e.removed,{element:c});try{c.parentNode.removeChild(c)}catch{c.remove()}},Et=function(c,d){try{Ue(e.removed,{attribute:d.getAttributeNode(c),from:d})}catch{Ue(e.removed,{attribute:null,from:d})}if(d.removeAttribute(c),c==="is"&&!B[c])if(xe||Ye)try{Te(d)}catch{}else try{d.setAttribute(c,"")}catch{}},Xt=function(c){let d=null,_=null;if(dt)c=""+c;else{const W=Es(c,/^[\r\n\t ]+/);_=W&&W[0]}be==="application/xhtml+xml"&&Le===le&&(c=''+c+"");const P=F?F.createHTML(c):c;if(Le===le)try{d=new m().parseFromString(P,be)}catch{}if(!d||!d.documentElement){d=_e.createDocument(Le,"template",null);try{d.documentElement.innerHTML=_t?ue:P}catch{}}const V=d.body||d.documentElement;return c&&_&&V.insertBefore(t.createTextNode(_),V.childNodes[0]||null),Le===le?Jn.call(d,ke?"html":"body")[0]:ke?d.documentElement:V},Qt=function(c){return Xn.call(c.ownerDocument||c,c,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null)},fi=function(c){return c instanceof p&&(typeof c.nodeName!="string"||typeof c.textContent!="string"||typeof c.removeChild!="function"||!(c.attributes instanceof f)||typeof c.removeAttribute!="function"||typeof c.setAttribute!="function"||typeof c.namespaceURI!="string"||typeof c.insertBefore!="function"||typeof c.hasChildNodes!="function")},Jt=function(c){return typeof a=="function"&&c instanceof a},oe=function(c,d,_){te[c]&&Qe(te[c],P=>{P.call(e,d,_,Ne)})},en=function(c){let d=null;if(oe("beforeSanitizeElements",c,null),fi(c))return Te(c),!0;const _=G(c.nodeName);if(oe("uponSanitizeElement",c,{tagName:_,allowedTags:H}),c.hasChildNodes()&&!Jt(c.firstElementChild)&&j(/<[/\w]/g,c.innerHTML)&&j(/<[/\w]/g,c.textContent))return Te(c),!0;if(!H[_]||Ce[_]){if(!Ce[_]&&nn(_)&&(D.tagNameCheck instanceof RegExp&&j(D.tagNameCheck,_)||D.tagNameCheck instanceof Function&&D.tagNameCheck(_)))return!1;if(mt&&!Ie[_]){const P=re(c)||c.parentNode,V=q(c)||c.childNodes;if(V&&P){const W=V.length;for(let $=W-1;$>=0;--$)P.insertBefore(R(V[$],!0),A(c))}}return Te(c),!0}return c instanceof o&&!ui(c)||(_==="noscript"||_==="noembed"||_==="noframes")&&j(/<\/no(script|embed|frames)/i,c.innerHTML)?(Te(c),!0):(Se&&c.nodeType===3&&(d=c.textContent,Qe([at,ct,ut],P=>{d=ze(d,P," ")}),c.textContent!==d&&(Ue(e.removed,{element:c.cloneNode()}),c.textContent=d)),oe("afterSanitizeElements",c,null),!1)},tn=function(c,d,_){if(Gt&&(d==="id"||d==="name")&&(_ in t||_ in ai))return!1;if(!(ht&&!ft[d]&&j(ti,d))){if(!(Ft&&j(ni,d))){if(!B[d]||ft[d]){if(!(nn(c)&&(D.tagNameCheck instanceof RegExp&&j(D.tagNameCheck,c)||D.tagNameCheck instanceof Function&&D.tagNameCheck(c))&&(D.attributeNameCheck instanceof RegExp&&j(D.attributeNameCheck,d)||D.attributeNameCheck instanceof Function&&D.attributeNameCheck(d))||d==="is"&&D.allowCustomizedBuiltInElements&&(D.tagNameCheck instanceof RegExp&&j(D.tagNameCheck,_)||D.tagNameCheck instanceof Function&&D.tagNameCheck(_))))return!1}else if(!gt[d]){if(!j(Dt,ze(_,Pt,""))){if(!((d==="src"||d==="xlink:href"||d==="href")&&c!=="script"&&As(_,"data:")===0&&Yt[c])){if(!(Ht&&!j(ii,ze(_,Pt,"")))){if(_)return!1}}}}}}return!0},nn=function(c){return c.indexOf("-")>0},sn=function(c){oe("beforeSanitizeAttributes",c,null);const{attributes:d}=c;if(!d)return;const _={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B};let P=d.length;for(;P--;){const V=d[P],{name:W,namespaceURI:$,value:Ee}=V,Me=G(W);let Z=W==="value"?Ee:ws(Ee);if(_.attrName=Me,_.attrValue=Z,_.keepAttr=!0,_.forceKeepAttr=void 0,oe("uponSanitizeAttribute",c,_),Z=_.attrValue,_.forceKeepAttr||(Et(W,c),!_.keepAttr))continue;if(!Bt&&j(/\/>/i,Z)){Et(W,c);continue}Se&&Qe([at,ct,ut],ln=>{Z=ze(Z,ln," ")});const rn=G(c.nodeName);if(tn(rn,Me,Z)){if(Vt&&(Me==="id"||Me==="name")&&(Et(W,c),Z=si+Z),F&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!$)switch(h.getAttributeType(rn,Me)){case"TrustedHTML":{Z=F.createHTML(Z);break}case"TrustedScriptURL":{Z=F.createScriptURL(Z);break}}try{$?c.setAttributeNS($,W,Z):c.setAttribute(W,Z),Tn(e.removed)}catch{}}}oe("afterSanitizeAttributes",c,null)},hi=function k(c){let d=null;const _=Qt(c);for(oe("beforeSanitizeShadowDOM",c,null);d=_.nextNode();)oe("uponSanitizeShadowNode",d,null),!en(d)&&(d.content instanceof r&&k(d.content),sn(d));oe("afterSanitizeShadowDOM",c,null)};return e.sanitize=function(k){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=null,_=null,P=null,V=null;if(_t=!k,_t&&(k=""),typeof k!="string"&&!Jt(k))if(typeof k.toString=="function"){if(k=k.toString(),typeof k!="string")throw Fe("dirty is not a string, aborting")}else throw Fe("toString is not a function");if(!e.isSupported)return k;if(pt||bt(c),e.removed=[],typeof k=="string"&&(Oe=!1),Oe){if(k.nodeName){const Ee=G(k.nodeName);if(!H[Ee]||Ce[Ee])throw Fe("root node is forbidden and cannot be sanitized in-place")}}else if(k instanceof a)d=Xt(""),_=d.ownerDocument.importNode(k,!0),_.nodeType===1&&_.nodeName==="BODY"||_.nodeName==="HTML"?d=_:d.appendChild(_);else{if(!xe&&!Se&&!ke&&k.indexOf("<")===-1)return F&&qe?F.createHTML(k):k;if(d=Xt(k),!d)return xe?null:qe?ue:""}d&&dt&&Te(d.firstChild);const W=Qt(Oe?k:d);for(;P=W.nextNode();)en(P)||(P.content instanceof r&&hi(P.content),sn(P));if(Oe)return k;if(xe){if(Ye)for(V=Qn.call(d.ownerDocument);d.firstChild;)V.appendChild(d.firstChild);else V=d;return(B.shadowroot||B.shadowrootmode)&&(V=ei.call(n,V,!0)),V}let $=ke?d.outerHTML:d.innerHTML;return ke&&H["!doctype"]&&d.ownerDocument&&d.ownerDocument.doctype&&d.ownerDocument.doctype.name&&j(jn,d.ownerDocument.doctype.name)&&($="
+`+$),Se&&Qe([at,ct,ut],Ee=>{$=ze($,Ee," ")}),F&&qe?F.createHTML($):$},e.setConfig=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};bt(k),pt=!0},e.clearConfig=function(){Ne=null,pt=!1},e.isValidAttribute=function(k,c,d){Ne||bt({});const _=G(k),P=G(c);return tn(_,P,d)},e.addHook=function(k,c){typeof c=="function"&&(te[k]=te[k]||[],Ue(te[k],c))},e.removeHook=function(k){if(te[k])return Tn(te[k])},e.removeHooks=function(k){te[k]&&(te[k]=[])},e.removeAllHooks=function(){te={}},e}var xn=Kn();function yn(i,e,t){const n=i.slice();return n[2]=e[t],n[4]=t,n}function Ds(i){let e,t,n=i[2]+"",s,r,l=i[1][i[4]]+"",a;return{c(){e=I("tr"),t=I("td"),s=de(n),r=I("td"),a=de(l),this.h()},l(o){e=L(o,"TR",{});var u=O(e);t=L(u,"TD",{class:!0});var f=O(t);s=me(f,n),f.forEach(E),r=L(u,"TD",{class:!0});var p=O(r);a=me(p,l),p.forEach(E),u.forEach(E),this.h()},h(){b(t,"class","key"),b(r,"class","value")},m(o,u){U(o,e,u),y(e,t),y(t,s),y(e,r),y(r,a)},p(o,u){u&1&&n!==(n=o[2]+"")&&ge(s,n),u&2&&l!==(l=o[1][o[4]]+"")&&ge(a,l)},d(o){o&&E(e)}}}function Us(i){let e,t,n=i[2]+"",s,r,l,a,o=xn.sanitize(N.parse(i[1][i[4]].replace(/^[\u200B\u200C\u200D\u200E\u200F\uFEFF]/,"")))+"",u;return{c(){e=I("tr"),t=I("td"),s=de(n),r=I("td"),l=I("div"),a=new Si(!1),u=fe(),this.h()},l(f){e=L(f,"TR",{});var p=O(e);t=L(p,"TD",{class:!0});var m=O(t);s=me(m,n),m.forEach(E),r=L(p,"TD",{class:!0});var h=O(r);l=L(h,"DIV",{class:!0});var S=O(l);a=xi(S,!1),S.forEach(E),h.forEach(E),u=he(p),p.forEach(E),this.h()},h(){b(t,"class","key"),a.a=null,b(l,"class","display-markdown"),b(r,"class","value")},m(f,p){U(f,e,p),y(e,t),y(t,s),y(e,r),y(r,l),a.m(o,l),y(e,u)},p(f,p){p&1&&n!==(n=f[2]+"")&&ge(s,n),p&2&&o!==(o=xn.sanitize(N.parse(f[1][f[4]].replace(/^[\u200B\u200C\u200D\u200E\u200F\uFEFF]/,"")))+"")&&a.p(o)},d(f){f&&E(e)}}}function In(i){let e;function t(r,l){return r[2]=="text"||r[2]=="Text"?Us:Ds}let n=t(i),s=n(i);return{c(){s.c(),e=se()},l(r){s.l(r),e=se()},m(r,l){s.m(r,l),U(r,e,l)},p(r,l){n===(n=t(r))&&s?s.p(r,l):(s.d(1),s=n(r),s&&(s.c(),s.m(e.parentNode,e)))},d(r){r&&E(e),s.d(r)}}}function zs(i){let e,t,n=an(i[0]),s=[];for(let r=0;r{"keys"in r&&t(0,n=r.keys),"values"in r&&t(1,s=r.values)},[n,s]}class ir extends Ve{constructor(e){super(),We(this,e,Fs,zs,Ge,{keys:0,values:1})}}const Hs=yi("goto");function Ln(i){let e,t,n='',s,r;return{c(){e=I("div"),t=I("button"),t.innerHTML=n,this.h()},l(l){e=L(l,"DIV",{class:!0,title:!0});var a=O(e);t=L(a,"BUTTON",{"data-svelte-h":!0}),ot(t)!=="svelte-1jqs7rr"&&(t.innerHTML=n),a.forEach(E),this.h()},h(){b(e,"class","postpend"),b(e,"title","Discard search")},m(l,a){U(l,e,a),y(e,t),s||(r=pe(t,"click",i[7]),s=!0)},p:J,d(l){l&&E(e),s=!1,r()}}}function Nn(i){let e,t;return{c(){e=I("div"),t=de(i[0]),this.h()},l(n){e=L(n,"DIV",{class:!0});var s=O(e);t=me(s,i[0]),s.forEach(E),this.h()},h(){b(e,"class","error-message")},m(n,s){U(n,e,s),y(e,t)},p(n,s){s&1&&ge(t,n[0])},d(n){n&&E(e)}}}function Bs(i){let e,t,n,s=' URL',r,l,a,o,u,f,p,m,h=i[3]&&Ln(i),S=i[0]&&Nn(i);return{c(){e=I("div"),t=I("div"),n=I("div"),n.innerHTML=s,r=fe(),l=I("div"),a=I("input"),o=fe(),h&&h.c(),u=fe(),S&&S.c(),f=se(),this.h()},l(R){e=L(R,"DIV",{class:!0});var A=O(e);t=L(A,"DIV",{class:!0,title:!0});var q=O(t);n=L(q,"DIV",{class:!0,"data-svelte-h":!0}),ot(n)!=="svelte-quf1er"&&(n.innerHTML=s),r=he(q),l=L(q,"DIV",{class:!0});var re=O(l);a=L(re,"INPUT",{placeholder:!0,type:!0}),re.forEach(E),o=he(q),h&&h.l(q),q.forEach(E),A.forEach(E),u=he(R),S&&S.l(R),f=se(),this.h()},h(){b(n,"class","prepend"),b(a,"placeholder",i[2]),b(a,"type","text"),b(l,"class","url-input"),b(t,"class","url-container"),b(t,"title",i[1]),b(e,"class","url-outline")},m(R,A){U(R,e,A),y(e,t),y(t,n),y(t,r),y(t,l),y(l,a),on(a,i[3]),y(t,o),h&&h.m(t,null),U(R,u,A),S&&S.m(R,A),U(R,f,A),p||(m=[pe(a,"input",i[6]),pe(a,"keydown",i[4])],p=!0)},p(R,[A]){A&4&&b(a,"placeholder",R[2]),A&8&&a.value!==R[3]&&on(a,R[3]),R[3]?h?h.p(R,A):(h=Ln(R),h.c(),h.m(t,null)):h&&(h.d(1),h=null),A&2&&b(t,"title",R[1]),R[0]?S?S.p(R,A):(S=Nn(R),S.c(),S.m(f.parentNode,f)):S&&(S.d(1),S=null)},i:J,o:J,d(R){R&&(E(e),E(u),E(f)),h&&h.d(),S&&S.d(R),p=!1,Ti(m)}}}function Gs(i,e,t){let n;Cn(i,Ii,h=>t(8,n=h));let{baseroute:s}=e,{tooltiptext:r}=e,{errormessage:l}=e,{placeholder:a}=e,o="";Ei(()=>{/^\?q=/.test(n.url.search)&&t(3,o=n.url.searchParams.get("q")||"")});const u=()=>{Hs(s+o)},f=h=>{h.key==="Enter"&&u()};function p(){o=this.value,t(3,o)}const m=()=>{t(3,o="")};return i.$$set=h=>{"baseroute"in h&&t(5,s=h.baseroute),"tooltiptext"in h&&t(1,r=h.tooltiptext),"errormessage"in h&&t(0,l=h.errormessage),"placeholder"in h&&t(2,a=h.placeholder)},i.$$.update=()=>{i.$$.dirty&8&&o===""&&t(0,l="")},[l,r,a,o,f,s,p,m]}class sr extends Ve{constructor(e){super(),We(this,e,Gs,Bs,Ge,{baseroute:5,tooltiptext:1,errormessage:0,placeholder:2})}}function Vs(i){let e;return{c(){e=I("i"),this.h()},l(t){e=L(t,"I",{class:!0}),O(e).forEach(E),this.h()},h(){b(e,"class","bx bx-loader-alt spinner")},m(t,n){U(t,e,n)},p:J,d(t){t&&E(e)}}}function Ws(i){let e,t=i[0]&&vn();return{c(){t&&t.c(),e=se()},l(n){t&&t.l(n),e=se()},m(n,s){t&&t.m(n,s),U(n,e,s)},p(n,s){n[0]?t||(t=vn(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&E(e),t&&t.d(n)}}}function vn(i){let e,t='';return{c(){e=I("div"),e.innerHTML=t,this.h()},l(n){e=L(n,"DIV",{class:!0,"data-svelte-h":!0}),ot(e)!=="svelte-q0jrdn"&&(e.innerHTML=t),this.h()},h(){b(e,"class","loading-container")},m(n,s){U(n,e,s)},d(n){n&&E(e)}}}function Ys(i){let e;function t(r,l){if(r[1])return Ws;if(r[0])return Vs}let n=t(i),s=n&&n(i);return{c(){s&&s.c(),e=se()},l(r){s&&s.l(r),e=se()},m(r,l){s&&s.m(r,l),U(r,e,l)},p(r,[l]){n===(n=t(r))&&s?s.p(r,l):(s&&s.d(1),s=n&&n(r),s&&(s.c(),s.m(e.parentNode,e)))},i:J,o:J,d(r){r&&E(e),s&&s.d(r)}}}function qs(i,e,t){let{active:n=!1}=e,{modal:s=!1}=e;return i.$$set=r=>{"active"in r&&t(0,n=r.active),"modal"in r&&t(1,s=r.modal)},[n,s]}class rr extends Ve{constructor(e){super(),We(this,e,qs,Ys,Ge,{active:0,modal:1})}}export{tr as B,nr as C,ir as K,Pe as P,Ae as S,ae as T,sr as U,rr as a,er as b,is as c,an as e,Hs as g,Js as l,N as m,xn as p};
diff --git a/_app/immutable/chunks/paths.9104f388.js b/_app/immutable/chunks/paths.9104f388.js
new file mode 100644
index 0000000..8849d64
--- /dev/null
+++ b/_app/immutable/chunks/paths.9104f388.js
@@ -0,0 +1 @@
+import{n as c,s as h}from"./scheduler.cc1c0861.js";const t=[];function d(i,l=c){let n;const o=new Set;function r(e){if(h(i,e)&&(i=e,n)){const b=!t.length;for(const s of o)s[1](),t.push(s,i);if(b){for(let s=0;s{o.delete(s),o.size===0&&n&&(n(),n=null)}}return{set:r,update:f,subscribe:_}}var u;const p=((u=globalThis.__sveltekit_ph3264)==null?void 0:u.base)??"/csaf_webview";var a;const w=((a=globalThis.__sveltekit_ph3264)==null?void 0:a.assets)??p;export{w as a,p as b,d as w};
diff --git a/_app/immutable/chunks/paths.db0c0fe4.js b/_app/immutable/chunks/paths.db0c0fe4.js
deleted file mode 100644
index f54c7fd..0000000
--- a/_app/immutable/chunks/paths.db0c0fe4.js
+++ /dev/null
@@ -1 +0,0 @@
-import{n as c,s as h}from"./scheduler.cc1c0861.js";const t=[];function g(o,l=c){let i;const n=new Set;function r(e){if(h(o,e)&&(o=e,i)){const b=!t.length;for(const s of n)s[1](),t.push(s,o);if(b){for(let s=0;s{n.delete(s),n.size===0&&i&&(i(),i=null)}}return{set:r,update:f,subscribe:_}}var u;const p=((u=globalThis.__sveltekit_oz1zoy)==null?void 0:u.base)??"/csaf_webview";var a;const d=((a=globalThis.__sveltekit_oz1zoy)==null?void 0:a.assets)??p;export{d as a,p as b,g as w};
diff --git a/_app/immutable/chunks/singletons.c2be2578.js b/_app/immutable/chunks/singletons.66738fd1.js
similarity index 94%
rename from _app/immutable/chunks/singletons.c2be2578.js
rename to _app/immutable/chunks/singletons.66738fd1.js
index bbf47d2..67f812e 100644
--- a/_app/immutable/chunks/singletons.c2be2578.js
+++ b/_app/immutable/chunks/singletons.66738fd1.js
@@ -1 +1 @@
-import{w as u,a as b}from"./paths.db0c0fe4.js";const v="1701247759956",E="sveltekit:snapshot",A="sveltekit:scroll",R="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function y(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function I(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function _(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function S(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=_(e)}}function T(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!s||m(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:s,download:l}}function x(e){let t=null,n=null,s=null,r=null,l=null,o=null,a=e;for(;a&&a!==document.documentElement;)s===null&&(s=c(a,"preload-code")),r===null&&(r=c(a,"preload-data")),t===null&&(t=c(a,"keepfocus")),n===null&&(n=c(a,"noscroll")),l===null&&(l=c(a,"reload")),o===null&&(o=c(a,"replacestate")),a=_(a);function i(g){switch(g){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[s??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(o)}}function p(e){const t=u(e);let n=!0;function s(){n=!0,t.update(o=>o)}function r(o){n=!1,t.set(o)}function l(o){let a;return t.subscribe(i=>{(a===void 0||n&&i!==a)&&o(a=i)})}return{notify:s,set:r,subscribe:l}}function k(){const{set:e,subscribe:t}=u(!1);let n;async function s(){clearTimeout(n);try{const r=await fetch(`${b}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==v;return o&&(e(!0),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:s}}function m(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let h;function O(e){h=e.client}function U(e){return(...t)=>h[e](...t)}const L={url:p({}),page:p({}),navigating:u(null),updated:k()};export{R as I,f as P,A as S,E as a,T as b,x as c,L as d,O as e,S as f,y as g,U as h,m as i,I as s};
+import{w as u,a as b}from"./paths.9104f388.js";const v="1701966077142",E="sveltekit:snapshot",A="sveltekit:scroll",R="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function y(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function I(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function _(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function S(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=_(e)}}function T(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!s||m(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:s,download:l}}function x(e){let t=null,n=null,s=null,r=null,l=null,o=null,a=e;for(;a&&a!==document.documentElement;)s===null&&(s=c(a,"preload-code")),r===null&&(r=c(a,"preload-data")),t===null&&(t=c(a,"keepfocus")),n===null&&(n=c(a,"noscroll")),l===null&&(l=c(a,"reload")),o===null&&(o=c(a,"replacestate")),a=_(a);function i(g){switch(g){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[s??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(o)}}function p(e){const t=u(e);let n=!0;function s(){n=!0,t.update(o=>o)}function r(o){n=!1,t.set(o)}function l(o){let a;return t.subscribe(i=>{(a===void 0||n&&i!==a)&&o(a=i)})}return{notify:s,set:r,subscribe:l}}function k(){const{set:e,subscribe:t}=u(!1);let n;async function s(){clearTimeout(n);try{const r=await fetch(`${b}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==v;return o&&(e(!0),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:s}}function m(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let h;function O(e){h=e.client}function U(e){return(...t)=>h[e](...t)}const L={url:p({}),page:p({}),navigating:u(null),updated:k()};export{R as I,f as P,A as S,E as a,T as b,x as c,L as d,O as e,S as f,y as g,U as h,m as i,I as s};
diff --git a/_app/immutable/chunks/store.399ec32c.js b/_app/immutable/chunks/store.b3c2dff0.js
similarity index 97%
rename from _app/immutable/chunks/store.399ec32c.js
rename to _app/immutable/chunks/store.b3c2dff0.js
index 1e6cbfc..c0fda87 100644
--- a/_app/immutable/chunks/store.399ec32c.js
+++ b/_app/immutable/chunks/store.b3c2dff0.js
@@ -1 +1 @@
-import{w as n}from"./paths.db0c0fe4.js";const u={SINGLE:"Switch to ROLIE-feed",FEED:"Switch to single view"},t=()=>({doc:null,providerMetadata:null,currentFeed:null,ui:{appMode:u.SINGLE,docToggleExpandAll:!1,feedErrorMsg:"",loading:!1,singleErrorMsg:"",isFeedDistributionOpen:!0,isFeedGeneralSectionOpen:!0,isFeedPublicPGPSectionOpen:!1,isGeneralSectionVisible:!0,isRevisionHistoryVisible:!1,isVulnerabilitiesOverviewVisible:!0,isVulnerabilitiesSectionVisible:!1,isProductTreeOpen:!1,isProductTreeVisible:!1,isFeedSectionOpen:!1,lastFeed:"",lastDoc:"",selectedCVE:"",selectedProduct:"",uploadedFile:!1,history:[]}});function d(){const{subscribe:l,set:o,update:r}=n(t());return{subscribe:l,toggleDocExpandAll:()=>{r(e=>(e.ui.docToggleExpandAll?e.ui.docToggleExpandAll=!1:e.ui.docToggleExpandAll=!0,e))},setSingleMode:()=>{r(e=>(e.ui.appMode=u.SINGLE,e))},setFeedMode:()=>{r(e=>(e.ui.appMode=u.FEED,e))},setFeedSectionOpen:()=>{r(e=>(e.ui.isFeedSectionOpen=!0,e))},setFeedSectionClosed:()=>{r(e=>(e.ui.isFeedSectionOpen=!1,e))},setLoading:e=>{r(i=>(i.ui.loading=e,i))},setCurrentFeed:e=>{r(i=>(i.currentFeed=e,i))},setSingleErrorMsg:e=>{r(i=>(i.ui.singleErrorMsg=e,i))},setLastFeed:e=>{r(i=>(i.ui.lastFeed=e,i))},setLastDoc:e=>{r(i=>(i.ui.lastDoc=e,i))},setFeedErrorMsg:e=>{r(i=>(i.ui.feedErrorMsg=e,i))},setDocument:e=>r(i=>(i.doc=e,i)),setSelectedCVE:e=>{r(i=>(i.ui.selectedCVE=e,i))},resetSelectedCVE:()=>{r(e=>(e.ui.selectedCVE="",e))},setSelectedProduct:e=>{r(i=>(i.ui.selectedProduct=e,i))},resetSelectedProduct:()=>{r(e=>(e.ui.selectedProduct="",e))},setFeedDistributionOpen:()=>{r(e=>(e.ui.isFeedDistributionOpen=!0,e))},setFeedDistributionClosed:()=>{r(e=>(e.ui.isFeedDistributionOpen=!1,e))},setFeedGeneralSectionOpen:()=>{r(e=>(e.ui.isFeedGeneralSectionOpen=!0,e))},setFeedGeneralSectionClosed:()=>{r(e=>(e.ui.isFeedGeneralSectionOpen=!1,e))},setFeedPublicPGPSectionOpen:()=>{r(e=>(e.ui.isFeedPublicPGPSectionOpen=!0,e))},setFeedPublicPGPSectionClosed:()=>{r(e=>(e.ui.isFeedPublicPGPSectionOpen=!1,e))},setGeneralSectionVisible:()=>{r(e=>(e.ui.isGeneralSectionVisible=!0,e))},setGeneralSectionInvisible:()=>{r(e=>(e.ui.isGeneralSectionVisible=!1,e))},setVulnerabilitiesSectionVisible:()=>{r(e=>(e.ui.isVulnerabilitiesSectionVisible=!0,e))},setVulnerabilitiesSectionInvisible:()=>{r(e=>(e.ui.isVulnerabilitiesSectionVisible=!1,e))},setVulnerabilitiesOverviewVisible:()=>{r(e=>(e.ui.isVulnerabilitiesOverviewVisible=!0,e))},setVulnerabilitiesOverviewInvisible:()=>{r(e=>(e.ui.isVulnerabilitiesOverviewVisible=!1,e))},setProductTreeOpen:()=>{r(e=>(e.ui.isProductTreeOpen=!0,e))},setProductTreeClosed:()=>{r(e=>(e.ui.isProductTreeOpen=!1,e))},setProductTreeSectionVisible:()=>{r(e=>(e.ui.isProductTreeVisible=!0,e))},setProductTreeSectionInVisible:()=>{r(e=>(e.ui.isProductTreeVisible=!1,e))},setUploadedFile:()=>{r(e=>(e.ui.uploadedFile=!0,e))},clearUploadedFile:()=>{r(e=>(e.ui.uploadedFile=!1,e))},clearHistory:()=>{r(e=>(e.ui.history=[],e))},unshiftHistory:e=>{r(i=>(i.ui.history.unshift(e),i))},shiftHistory:()=>{r(e=>(e.ui.history.length>0&&e.ui.history.shift(),e))},setProviderMetadata:e=>{r(i=>(i.providerMetadata=e,i))},reset:()=>o(t())}}const a=d();export{a};
+import{w as n}from"./paths.9104f388.js";const u={SINGLE:"Switch to ROLIE-feed",FEED:"Switch to single view"},t=()=>({doc:null,providerMetadata:null,currentFeed:null,ui:{appMode:u.SINGLE,docToggleExpandAll:!1,feedErrorMsg:"",loading:!1,singleErrorMsg:"",isFeedDistributionOpen:!0,isFeedGeneralSectionOpen:!0,isFeedPublicPGPSectionOpen:!1,isGeneralSectionVisible:!0,isRevisionHistoryVisible:!1,isVulnerabilitiesOverviewVisible:!0,isVulnerabilitiesSectionVisible:!1,isProductTreeOpen:!1,isProductTreeVisible:!1,isFeedSectionOpen:!1,lastFeed:"",lastDoc:"",selectedCVE:"",selectedProduct:"",uploadedFile:!1,history:[]}});function d(){const{subscribe:l,set:o,update:r}=n(t());return{subscribe:l,toggleDocExpandAll:()=>{r(e=>(e.ui.docToggleExpandAll?e.ui.docToggleExpandAll=!1:e.ui.docToggleExpandAll=!0,e))},setSingleMode:()=>{r(e=>(e.ui.appMode=u.SINGLE,e))},setFeedMode:()=>{r(e=>(e.ui.appMode=u.FEED,e))},setFeedSectionOpen:()=>{r(e=>(e.ui.isFeedSectionOpen=!0,e))},setFeedSectionClosed:()=>{r(e=>(e.ui.isFeedSectionOpen=!1,e))},setLoading:e=>{r(i=>(i.ui.loading=e,i))},setCurrentFeed:e=>{r(i=>(i.currentFeed=e,i))},setSingleErrorMsg:e=>{r(i=>(i.ui.singleErrorMsg=e,i))},setLastFeed:e=>{r(i=>(i.ui.lastFeed=e,i))},setLastDoc:e=>{r(i=>(i.ui.lastDoc=e,i))},setFeedErrorMsg:e=>{r(i=>(i.ui.feedErrorMsg=e,i))},setDocument:e=>r(i=>(i.doc=e,i)),setSelectedCVE:e=>{r(i=>(i.ui.selectedCVE=e,i))},resetSelectedCVE:()=>{r(e=>(e.ui.selectedCVE="",e))},setSelectedProduct:e=>{r(i=>(i.ui.selectedProduct=e,i))},resetSelectedProduct:()=>{r(e=>(e.ui.selectedProduct="",e))},setFeedDistributionOpen:()=>{r(e=>(e.ui.isFeedDistributionOpen=!0,e))},setFeedDistributionClosed:()=>{r(e=>(e.ui.isFeedDistributionOpen=!1,e))},setFeedGeneralSectionOpen:()=>{r(e=>(e.ui.isFeedGeneralSectionOpen=!0,e))},setFeedGeneralSectionClosed:()=>{r(e=>(e.ui.isFeedGeneralSectionOpen=!1,e))},setFeedPublicPGPSectionOpen:()=>{r(e=>(e.ui.isFeedPublicPGPSectionOpen=!0,e))},setFeedPublicPGPSectionClosed:()=>{r(e=>(e.ui.isFeedPublicPGPSectionOpen=!1,e))},setGeneralSectionVisible:()=>{r(e=>(e.ui.isGeneralSectionVisible=!0,e))},setGeneralSectionInvisible:()=>{r(e=>(e.ui.isGeneralSectionVisible=!1,e))},setVulnerabilitiesSectionVisible:()=>{r(e=>(e.ui.isVulnerabilitiesSectionVisible=!0,e))},setVulnerabilitiesSectionInvisible:()=>{r(e=>(e.ui.isVulnerabilitiesSectionVisible=!1,e))},setVulnerabilitiesOverviewVisible:()=>{r(e=>(e.ui.isVulnerabilitiesOverviewVisible=!0,e))},setVulnerabilitiesOverviewInvisible:()=>{r(e=>(e.ui.isVulnerabilitiesOverviewVisible=!1,e))},setProductTreeOpen:()=>{r(e=>(e.ui.isProductTreeOpen=!0,e))},setProductTreeClosed:()=>{r(e=>(e.ui.isProductTreeOpen=!1,e))},setProductTreeSectionVisible:()=>{r(e=>(e.ui.isProductTreeVisible=!0,e))},setProductTreeSectionInVisible:()=>{r(e=>(e.ui.isProductTreeVisible=!1,e))},setUploadedFile:()=>{r(e=>(e.ui.uploadedFile=!0,e))},clearUploadedFile:()=>{r(e=>(e.ui.uploadedFile=!1,e))},clearHistory:()=>{r(e=>(e.ui.history=[],e))},unshiftHistory:e=>{r(i=>(i.ui.history.unshift(e),i))},shiftHistory:()=>{r(e=>(e.ui.history.length>0&&e.ui.history.shift(),e))},setProviderMetadata:e=>{r(i=>(i.providerMetadata=e,i))},reset:()=>o(t())}}const a=d();export{a};
diff --git a/_app/immutable/chunks/stores.225eb8c9.js b/_app/immutable/chunks/stores.eb2874b7.js
similarity index 73%
rename from _app/immutable/chunks/stores.225eb8c9.js
rename to _app/immutable/chunks/stores.eb2874b7.js
index 3283402..2bf7b44 100644
--- a/_app/immutable/chunks/stores.225eb8c9.js
+++ b/_app/immutable/chunks/stores.eb2874b7.js
@@ -1 +1 @@
-import{d as e}from"./singletons.c2be2578.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p};
+import{d as e}from"./singletons.66738fd1.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p};
diff --git a/_app/immutable/entry/app.fab44061.js b/_app/immutable/entry/app.b72e7527.js
similarity index 81%
rename from _app/immutable/entry/app.fab44061.js
rename to _app/immutable/entry/app.b72e7527.js
index 4fffee5..304f75d 100644
--- a/_app/immutable/entry/app.fab44061.js
+++ b/_app/immutable/entry/app.b72e7527.js
@@ -1 +1 @@
-import{s as q,a as B,o as U,t as j,b as N}from"../chunks/scheduler.cc1c0861.js";import{S as W,i as z,s as F,e as h,c as G,a as g,t as d,b as L,d as p,f as w,g as H,h as J,j as K,k as S,l as m,m as M,n as Q,o as X,p as P,q as k,r as v,u as D,v as E,w as y}from"../chunks/index.7a644faf.js";const Y="modulepreload",Z=function(o,e){return new URL(o,e).href},I={},R=function(e,n,i){if(!n||n.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=Z(f,i),f in I)return;I[f]=!0;const t=f.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!i)for(let a=s.length-1;a>=0;a--){const _=s[a];if(_.href===f&&(!t||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${r}`))return;const c=document.createElement("link");if(c.rel=t?"stylesheet":Y,t||(c.as="script",c.crossOrigin=""),c.href=f,document.head.appendChild(c),t)return new Promise((a,_)=>{c.addEventListener("load",a),c.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e()).catch(f=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=f,window.dispatchEvent(t),!t.defaultPrevented)throw f})},re={};function $(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,f(o)),o[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[12](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[12](null),e&&y(e,t)}}}function x(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=k(s,f(o)),o[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[11](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&8215&&(l.$$scope={dirty:r,ctx:t}),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[11](null),e&&y(e,t)}}}function ee(o){let e,n,i;var s=o[1][1];function f(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,f(o)),o[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[10](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&16&&(l.data=t[4]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[10](null),e&&y(e,t)}}}function O(o){let e,n=o[6]&&T(o);return{c(){e=H("div"),n&&n.c(),this.h()},l(i){e=J(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=K(e);n&&n.l(s),s.forEach(w),this.h()},h(){S(e,"id","svelte-announcer"),S(e,"aria-live","assertive"),S(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){g(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=T(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&w(e),n&&n.d()}}}function T(o){let e;return{c(){e=M(o[7])},l(n){e=Q(n,o[7])},m(n,i){g(n,e,i)},p(n,i){i&128&&X(e,n[7])},d(n){n&&w(e)}}}function te(o){let e,n,i,s,f;const t=[x,$],r=[];function l(a,_){return a[1][1]?0:1}e=l(o),n=r[e]=t[e](o);let c=o[5]&&O(o);return{c(){n.c(),i=F(),c&&c.c(),s=h()},l(a){n.l(a),i=G(a),c&&c.l(a),s=h()},m(a,_){r[e].m(a,_),g(a,i,_),c&&c.m(a,_),g(a,s,_),f=!0},p(a,[_]){let b=e;e=l(a),e===b?r[e].p(a,_):(P(),d(r[b],1,1,()=>{r[b]=null}),L(),n=r[e],n?n.p(a,_):(n=r[e]=t[e](a),n.c()),p(n,1),n.m(i.parentNode,i)),a[5]?c?c.p(a,_):(c=O(a),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(a){f||(p(n),f=!0)},o(a){d(n),f=!1},d(a){a&&(w(i),w(s)),r[e].d(a),c&&c.d(a)}}}function ne(o,e,n){let{stores:i}=e,{page:s}=e,{constructors:f}=e,{components:t=[]}=e,{form:r}=e,{data_0:l=null}=e,{data_1:c=null}=e;B(i.page.notify);let a=!1,_=!1,b=null;U(()=>{const u=i.page.subscribe(()=>{a&&(n(6,_=!0),j().then(()=>{n(7,b=document.title||"untitled page")}))});return n(5,a=!0),u});function V(u){N[u?"unshift":"push"](()=>{t[1]=u,n(0,t)})}function A(u){N[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}function C(u){N[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}return o.$$set=u=>{"stores"in u&&n(8,i=u.stores),"page"in u&&n(9,s=u.page),"constructors"in u&&n(1,f=u.constructors),"components"in u&&n(0,t=u.components),"form"in u&&n(2,r=u.form),"data_0"in u&&n(3,l=u.data_0),"data_1"in u&&n(4,c=u.data_1)},o.$$.update=()=>{o.$$.dirty&768&&i.page.set(s)},[t,f,r,l,c,a,_,b,i,s,V,A,C]}class oe extends W{constructor(e){super(),z(this,e,ne,te,q,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>R(()=>import("../nodes/0.621a777d.js"),["../nodes/0.621a777d.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.399ec32c.js","../chunks/paths.db0c0fe4.js","../assets/0.e2346106.css"],import.meta.url),()=>R(()=>import("../nodes/1.33afad70.js"),["../nodes/1.33afad70.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/stores.225eb8c9.js","../chunks/singletons.c2be2578.js","../chunks/paths.db0c0fe4.js"],import.meta.url),()=>R(()=>import("../nodes/2.6cf8fc4d.js"),["../nodes/2.6cf8fc4d.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.399ec32c.js","../chunks/paths.db0c0fe4.js","../chunks/UrlLoader.5020d7c7.js","../chunks/singletons.c2be2578.js","../chunks/stores.225eb8c9.js","../assets/2.bc584aa0.css"],import.meta.url),()=>R(()=>import("../nodes/3.9a1db54b.js"),["../nodes/3.9a1db54b.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.399ec32c.js","../chunks/paths.db0c0fe4.js","../chunks/UrlLoader.5020d7c7.js","../chunks/singletons.c2be2578.js","../chunks/stores.225eb8c9.js"],import.meta.url)],le=[],fe={"/":[2],"/feed":[3]},ce={handleError:({error:o})=>{console.error(o)}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads};
+import{s as q,a as B,o as U,t as j,b as N}from"../chunks/scheduler.cc1c0861.js";import{S as W,i as z,s as F,e as h,c as G,a as g,t as d,b as L,d as p,f as w,g as H,h as J,j as K,k as S,l as m,m as M,n as Q,o as X,p as P,q as k,r as v,u as D,v as E,w as y}from"../chunks/index.7a644faf.js";const Y="modulepreload",Z=function(o,e){return new URL(o,e).href},I={},R=function(e,n,i){if(!n||n.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=Z(f,i),f in I)return;I[f]=!0;const t=f.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!i)for(let a=s.length-1;a>=0;a--){const _=s[a];if(_.href===f&&(!t||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${r}`))return;const c=document.createElement("link");if(c.rel=t?"stylesheet":Y,t||(c.as="script",c.crossOrigin=""),c.href=f,document.head.appendChild(c),t)return new Promise((a,_)=>{c.addEventListener("load",a),c.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e()).catch(f=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=f,window.dispatchEvent(t),!t.defaultPrevented)throw f})},re={};function $(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,f(o)),o[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[12](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[12](null),e&&y(e,t)}}}function x(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=k(s,f(o)),o[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[11](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&8215&&(l.$$scope={dirty:r,ctx:t}),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[11](null),e&&y(e,t)}}}function ee(o){let e,n,i;var s=o[1][1];function f(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,f(o)),o[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[10](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&16&&(l.data=t[4]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[10](null),e&&y(e,t)}}}function O(o){let e,n=o[6]&&T(o);return{c(){e=H("div"),n&&n.c(),this.h()},l(i){e=J(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=K(e);n&&n.l(s),s.forEach(w),this.h()},h(){S(e,"id","svelte-announcer"),S(e,"aria-live","assertive"),S(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){g(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=T(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&w(e),n&&n.d()}}}function T(o){let e;return{c(){e=M(o[7])},l(n){e=Q(n,o[7])},m(n,i){g(n,e,i)},p(n,i){i&128&&X(e,n[7])},d(n){n&&w(e)}}}function te(o){let e,n,i,s,f;const t=[x,$],r=[];function l(a,_){return a[1][1]?0:1}e=l(o),n=r[e]=t[e](o);let c=o[5]&&O(o);return{c(){n.c(),i=F(),c&&c.c(),s=h()},l(a){n.l(a),i=G(a),c&&c.l(a),s=h()},m(a,_){r[e].m(a,_),g(a,i,_),c&&c.m(a,_),g(a,s,_),f=!0},p(a,[_]){let b=e;e=l(a),e===b?r[e].p(a,_):(P(),d(r[b],1,1,()=>{r[b]=null}),L(),n=r[e],n?n.p(a,_):(n=r[e]=t[e](a),n.c()),p(n,1),n.m(i.parentNode,i)),a[5]?c?c.p(a,_):(c=O(a),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(a){f||(p(n),f=!0)},o(a){d(n),f=!1},d(a){a&&(w(i),w(s)),r[e].d(a),c&&c.d(a)}}}function ne(o,e,n){let{stores:i}=e,{page:s}=e,{constructors:f}=e,{components:t=[]}=e,{form:r}=e,{data_0:l=null}=e,{data_1:c=null}=e;B(i.page.notify);let a=!1,_=!1,b=null;U(()=>{const u=i.page.subscribe(()=>{a&&(n(6,_=!0),j().then(()=>{n(7,b=document.title||"untitled page")}))});return n(5,a=!0),u});function V(u){N[u?"unshift":"push"](()=>{t[1]=u,n(0,t)})}function A(u){N[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}function C(u){N[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}return o.$$set=u=>{"stores"in u&&n(8,i=u.stores),"page"in u&&n(9,s=u.page),"constructors"in u&&n(1,f=u.constructors),"components"in u&&n(0,t=u.components),"form"in u&&n(2,r=u.form),"data_0"in u&&n(3,l=u.data_0),"data_1"in u&&n(4,c=u.data_1)},o.$$.update=()=>{o.$$.dirty&768&&i.page.set(s)},[t,f,r,l,c,a,_,b,i,s,V,A,C]}class oe extends W{constructor(e){super(),z(this,e,ne,te,q,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>R(()=>import("../nodes/0.05aaf94e.js"),["../nodes/0.05aaf94e.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.b3c2dff0.js","../chunks/paths.9104f388.js","../assets/0.e2346106.css"],import.meta.url),()=>R(()=>import("../nodes/1.bd498a55.js"),["../nodes/1.bd498a55.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/stores.eb2874b7.js","../chunks/singletons.66738fd1.js","../chunks/paths.9104f388.js"],import.meta.url),()=>R(()=>import("../nodes/2.e43d1b03.js"),["../nodes/2.e43d1b03.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.b3c2dff0.js","../chunks/paths.9104f388.js","../chunks/Spinner.a9554a1c.js","../chunks/singletons.66738fd1.js","../chunks/stores.eb2874b7.js","../assets/2.bc584aa0.css"],import.meta.url),()=>R(()=>import("../nodes/3.93cdfd32.js"),["../nodes/3.93cdfd32.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.b3c2dff0.js","../chunks/paths.9104f388.js","../chunks/Spinner.a9554a1c.js","../chunks/singletons.66738fd1.js","../chunks/stores.eb2874b7.js"],import.meta.url)],le=[],fe={"/":[2],"/feed":[3]},ce={handleError:({error:o})=>{console.error(o)}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads};
diff --git a/_app/immutable/entry/start.ff816f74.js b/_app/immutable/entry/start.bd0e746b.js
similarity index 99%
rename from _app/immutable/entry/start.ff816f74.js
rename to _app/immutable/entry/start.bd0e746b.js
index 49f0680..5fb511c 100644
--- a/_app/immutable/entry/start.ff816f74.js
+++ b/_app/immutable/entry/start.bd0e746b.js
@@ -1,3 +1,3 @@
-import{o as me,t as we}from"../chunks/scheduler.cc1c0861.js";import{S as Be,a as Ge,I as M,g as De,f as Ce,b as _e,c as le,s as te,i as ye,d as F,P as Me,e as Xe}from"../chunks/singletons.c2be2578.js";import{b as J}from"../chunks/paths.db0c0fe4.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const Je=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(Se(t)),Je(t,r));const ae=new Map;function st(t,r){const f=Se(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return window.fetch(t,r)}function ct(t,r,f){if(ae.size>0){const s=Se(t,f),d=ae.get(s);if(d){if(performance.now(){const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return ve(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return ve(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return ve(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;lh).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function ve(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Ve(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,wt=-3,_t=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===wt)return NaN;if(u===_t)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;kr!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class qe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Be)??{},ee=Ke(Ge)??{};function be(t){K[t]=te()}function It(t,r){var Ne;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=(Ne=history.state)==null?void 0:Ne[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const fe=K[D];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,Y;async function ke(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await pe(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},1,n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Re(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ae(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Ie(){be(D),Ve(Be,K),Re(D),Ve(Ge,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_count:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return g={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Pe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ae(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const _ of n)(_==null?void 0:_.slash)!==void 0&&(v=_.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(_=>_.node.component)}};p!==void 0&&(b.props.form=p);let y={},L=!q,A=0;for(let _=0;_(v.route=!0,w[O])}),params:new Proxy(o,{get:(w,O)=>(v.params.add(O),w[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(w,O){let $;w instanceof Request?($=w.url,O={body:w.method==="GET"||w.method==="HEAD"?void 0:await w.blob(),cache:w.cache,credentials:w.credentials,headers:w.headers,integrity:w.integrity,keepalive:w.keepalive,method:w.method,mode:w.mode,redirect:w.redirect,referrer:w.referrer,referrerPolicy:w.referrerPolicy,signal:w.signal,...O}):$=w;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,_)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Oe(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const L=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const _=b.map((S,I)=>{var G;const R=h.branch[I],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Oe(P,A,L,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(_.some(Boolean)){try{y=await Fe(n,_)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const w=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,I)=>{var he;if(!S)return;const R=h.branch[I],T=w==null?void 0:w[I];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Oe(O,A,L,(he=R.universal)==null?void 0:he.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return ue({loader:S[1],url:n,params:o,route:a,parent:async()=>{var Te;const $e={};for(let ge=0;ge{});const C=[];for(let S=0;SPromise.resolve({}),server_data_node:de(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ye(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function xe({url:e,type:i,intent:n,delta:o}){let a=!1;const c=He(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_count:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const L=Z(e,!1),A=xe({url:e,type:c,delta:p,intent:L});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let _=L&&await pe(L);if(!_){if(ye(e,J))return await W(e);_=await je(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(_.type==="redirect")if(o>=20)_=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},o+1,v),!1;else(($=_.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,be(P),Re(P),(C=_.props.page)!=null&&C.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(S=_.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=D+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=_.state,_.props.page&&(_.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(I.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!I.includes(T))};I.push(R),m.after_navigate.push(...I)}V.$set(_.props)}else Pe(_);const{activeElement:w}=document;if(await we(),k){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==w&&document.activeElement!==document.body;!n&&!O&&Ee(),k=!0,_.props.page&&(q=_.props.page),U=!1,c==="popstate"&&Ae(D),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),F.navigating.set(null),N=!1}async function je(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Ce(c,u);if(!v)return;const{url:b,external:y,download:L}=_e(v,J);if(y||L)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Le(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=_e(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Me.viewport&&n.observe(c),y.preload_code===Me.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return ke()},invalidate_all:()=>(B=!0,ke()),preload_data:async e=>{const i=new URL(e,De(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Le(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await Ue(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Ie(),!U){const a=He(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ie()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Ce(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=_e(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){xe({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,be(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ye(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:L,replace_state:A}=le(v);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),_=a==null?void 0:a.getAttribute("name");_&&P.append(_,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_count:0,details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,_)=>{const w=c[_];return w!=null&&w.uses&&(w.uses=We(w.uses)),ue({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$<_;$+=1)Object.assign(O,(await y[$]).data);return O},server_data_node:de(w)})}),L=await Promise.all(y),A=f.find(({id:P})=>P===a.id);if(A){const P=A.layouts;for(let _=0;_d?"1":"0").join(""));const s=await Je(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?`
+import{o as me,t as we}from"../chunks/scheduler.cc1c0861.js";import{S as Be,a as Ge,I as M,g as De,f as Ce,b as _e,c as le,s as te,i as ye,d as F,P as Me,e as Xe}from"../chunks/singletons.66738fd1.js";import{b as J}from"../chunks/paths.9104f388.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const Je=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(Se(t)),Je(t,r));const ae=new Map;function st(t,r){const f=Se(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return window.fetch(t,r)}function ct(t,r,f){if(ae.size>0){const s=Se(t,f),d=ae.get(s);if(d){if(performance.now(){const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return ve(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return ve(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return ve(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;lh).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function ve(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Ve(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,wt=-3,_t=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===wt)return NaN;if(u===_t)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;kr!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class qe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Be)??{},ee=Ke(Ge)??{};function be(t){K[t]=te()}function It(t,r){var Ne;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=(Ne=history.state)==null?void 0:Ne[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const fe=K[D];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,Y;async function ke(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await pe(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},1,n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Re(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ae(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Ie(){be(D),Ve(Be,K),Re(D),Ve(Ge,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_count:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return g={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Pe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ae(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const _ of n)(_==null?void 0:_.slash)!==void 0&&(v=_.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(_=>_.node.component)}};p!==void 0&&(b.props.form=p);let y={},L=!q,A=0;for(let _=0;_(v.route=!0,w[O])}),params:new Proxy(o,{get:(w,O)=>(v.params.add(O),w[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(w,O){let $;w instanceof Request?($=w.url,O={body:w.method==="GET"||w.method==="HEAD"?void 0:await w.blob(),cache:w.cache,credentials:w.credentials,headers:w.headers,integrity:w.integrity,keepalive:w.keepalive,method:w.method,mode:w.mode,redirect:w.redirect,referrer:w.referrer,referrerPolicy:w.referrerPolicy,signal:w.signal,...O}):$=w;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,_)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Oe(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const L=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const _=b.map((S,I)=>{var G;const R=h.branch[I],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Oe(P,A,L,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(_.some(Boolean)){try{y=await Fe(n,_)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const w=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,I)=>{var he;if(!S)return;const R=h.branch[I],T=w==null?void 0:w[I];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Oe(O,A,L,(he=R.universal)==null?void 0:he.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return ue({loader:S[1],url:n,params:o,route:a,parent:async()=>{var Te;const $e={};for(let ge=0;ge{});const C=[];for(let S=0;SPromise.resolve({}),server_data_node:de(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ye(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function xe({url:e,type:i,intent:n,delta:o}){let a=!1;const c=He(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_count:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const L=Z(e,!1),A=xe({url:e,type:c,delta:p,intent:L});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let _=L&&await pe(L);if(!_){if(ye(e,J))return await W(e);_=await je(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(_.type==="redirect")if(o>=20)_=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},o+1,v),!1;else(($=_.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,be(P),Re(P),(C=_.props.page)!=null&&C.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(S=_.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=D+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=_.state,_.props.page&&(_.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(I.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!I.includes(T))};I.push(R),m.after_navigate.push(...I)}V.$set(_.props)}else Pe(_);const{activeElement:w}=document;if(await we(),k){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==w&&document.activeElement!==document.body;!n&&!O&&Ee(),k=!0,_.props.page&&(q=_.props.page),U=!1,c==="popstate"&&Ae(D),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),F.navigating.set(null),N=!1}async function je(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Ce(c,u);if(!v)return;const{url:b,external:y,download:L}=_e(v,J);if(y||L)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Le(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=_e(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Me.viewport&&n.observe(c),y.preload_code===Me.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return ke()},invalidate_all:()=>(B=!0,ke()),preload_data:async e=>{const i=new URL(e,De(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Le(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await Ue(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Ie(),!U){const a=He(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ie()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Ce(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=_e(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){xe({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,be(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ye(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:L,replace_state:A}=le(v);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),_=a==null?void 0:a.getAttribute("name");_&&P.append(_,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_count:0,details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,_)=>{const w=c[_];return w!=null&&w.uses&&(w.uses=We(w.uses)),ue({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$<_;$+=1)Object.assign(O,(await y[$]).data);return O},server_data_node:de(w)})}),L=await Promise.all(y),A=f.find(({id:P})=>P===a.id);if(A){const P=A.layouts;for(let _=0;_d?"1":"0").join(""));const s=await Je(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?`
`:l.decode(j);;){const k=m.indexOf(`
`);if(k===-1)break;const N=JSON.parse(m.slice(0,k));if(m=m.slice(k+1),N.type==="redirect")return d(N);if(N.type==="data")(h=N.nodes)==null||h.forEach(U=>{(U==null?void 0:U.type)==="data"&&(U.uses=We(U.uses),U.data=g(U.data))}),d(N);else if(N.type==="chunk"){const{id:U,data:H,error:B}=N,V=u.get(U);u.delete(U),B?V.reject(g(B)):V.fulfil(g(H))}}}})}function We(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Ee(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const r=document.body,f=r.getAttribute("tabindex");r.tabIndex=-1,r.focus({preventScroll:!0,focusVisible:!1}),f!==null?r.setAttribute("tabindex",f):r.removeAttribute("tabindex");const s=getSelection();if(s&&s.type!=="None"){const d=[];for(let u=0;u{if(s.rangeCount===d.length){for(let u=0;u{d=h,u=x});return E.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((g=t.route)==null?void 0:g.id)??null},url:t.url},to:f&&{params:(r==null?void 0:r.params)??null,route:{id:((m=r==null?void 0:r.route)==null?void 0:m.id)??null},url:f},willUnload:!r,type:s,complete:E},fulfil:d,reject:u}}async function Ut(t,r,f){const s=It(t,r);Xe({client:s}),f?await s._hydrate(f):s.goto(location.href,{replaceState:!0}),s._start_router()}export{Ut as start};
diff --git a/_app/immutable/nodes/0.05aaf94e.js b/_app/immutable/nodes/0.05aaf94e.js
new file mode 100644
index 0000000..078fede
--- /dev/null
+++ b/_app/immutable/nodes/0.05aaf94e.js
@@ -0,0 +1 @@
+import{s as X,c as Y,u as Z,g as $,d as x,r as ee,e as te}from"../chunks/scheduler.cc1c0861.js";import{S as se,i as oe,g as p,s as N,m as T,h as m,j as E,x as le,c as C,n as j,f as S,k as v,a as ae,y as l,z as P,o as U,d as ie,t as re}from"../chunks/index.7a644faf.js";import{a as O}from"../chunks/store.b3c2dff0.js";import{b as g}from"../chunks/paths.9104f388.js";const de=!0,he=Object.freeze(Object.defineProperty({__proto__:null,prerender:de},Symbol.toStringTag,{value:"Module"}));function ne(s){let a,t,i,e,A='
CSAF Webview
',I,D,c,r,_,F,w,L,u,b,f,M=s[0]!==s[4].SINGLE?"Switch to Advisory":"Switch to Overview",V,q,R,h,k,W;const z=s[9].default,d=Y(z,s,s[8],null);return{c(){a=p("div"),t=p("div"),i=p("div"),e=p("div"),e.innerHTML=A,I=N(),D=p("div"),c=p("small"),r=T("v"),_=T(s[3]),F=N(),w=p("div"),L=T(s[2]),u=N(),b=p("div"),f=p("a"),V=T(M),R=N(),d&&d.c(),this.h()},l(o){a=m(o,"DIV",{class:!0});var n=E(a);t=m(n,"DIV",{class:!0});var y=E(t);i=m(y,"DIV",{class:!0});var G=E(i);e=m(G,"DIV",{"data-svelte-h":!0}),le(e)!=="svelte-1uq6gq2"&&(e.innerHTML=A),I=C(G),D=m(G,"DIV",{});var B=E(D);c=m(B,"SMALL",{class:!0});var H=E(c);r=j(H,"v"),_=j(H,s[3]),H.forEach(S),B.forEach(S),G.forEach(S),F=C(y),w=m(y,"DIV",{class:!0});var J=E(w);L=j(J,s[2]),J.forEach(S),u=C(y),b=m(y,"DIV",{class:!0});var K=E(b);f=m(K,"A",{title:!0,href:!0,class:!0});var Q=E(f);V=j(Q,M),Q.forEach(S),K.forEach(S),y.forEach(S),R=C(n),d&&d.l(n),n.forEach(S),this.h()},h(){v(c,"class","versionstring"),v(i,"class","programname"),v(w,"class","title"),v(f,"title",q=s[0]!==s[4].SINGLE?"Switch to Advisory":"Switch to Overview"),v(f,"href",s[1]),v(f,"class","btn"),v(b,"class","switchbtn"),v(t,"class","header"),v(a,"class","content")},m(o,n){ae(o,a,n),l(a,t),l(t,i),l(i,e),l(i,I),l(i,D),l(D,c),l(c,r),l(c,_),l(t,F),l(t,w),l(w,L),l(t,u),l(t,b),l(b,f),l(f,V),l(a,R),d&&d.m(a,null),h=!0,k||(W=[P(window,"dragover",s[5]),P(window,"drop",s[5]),P(window,"popstate",s[10]),P(f,"click",s[6])],k=!0)},p(o,[n]){(!h||n&4)&&U(L,o[2]),(!h||n&1)&&M!==(M=o[0]!==o[4].SINGLE?"Switch to Advisory":"Switch to Overview")&&U(V,M),(!h||n&1&&q!==(q=o[0]!==o[4].SINGLE?"Switch to Advisory":"Switch to Overview"))&&v(f,"title",q),(!h||n&2)&&v(f,"href",o[1]),d&&d.p&&(!h||n&256)&&Z(d,z,o,o[8],h?x(z,o[8],n,null):$(o[8]),null)},i(o){h||(ie(d,o),h=!0)},o(o){re(d,o),h=!1},d(o){o&&S(a),d&&d.d(o),k=!1,ee(W)}}}function ce(s,a,t){let i,e;te(s,O,u=>t(7,e=u));let{$$slots:A={},$$scope:I}=a;const D="1.0.0",c={SINGLE:"Switch to ROLIE-feed",FEED:"Switch to single view"};let r="",_="Advisory";const F=u=>{u.preventDefault()},w=u=>{O.setSelectedCVE(""),O.setSelectedProduct("")},L=()=>{O.setFeedErrorMsg(""),O.setSingleErrorMsg("")};return s.$$set=u=>{"$$scope"in u&&t(8,I=u.$$scope)},s.$$.update=()=>{s.$$.dirty&128&&t(0,i=e.ui.appMode),s.$$.dirty&129&&(i===c.SINGLE?e.doc&&e.doc.title?t(2,_=`${e.doc.id}: ${e.doc.title}`):t(2,_="Advisory"):e.currentFeed?t(2,_="ROLIE-Feed"):e.providerMetadata?t(2,_="Provider Metadata"):t(2,_="Overview")),s.$$.dirty&129&&(i===c.SINGLE?e.ui.lastFeed?e.ui.lastDoc?t(1,r=`${g}/feed?q=${e.ui.lastFeed}&doc=${e.ui.lastDoc}`):t(1,r=`${g}/feed?q=${e.ui.lastFeed}`):e.ui.lastDoc?t(1,r=`${g}/feed?doc=${e.ui.lastDoc}`):t(1,r=`${g}/feed`):e.ui.lastDoc?e.ui.lastFeed?t(1,r=`${g}/?q=${e.ui.lastDoc}&feed=${e.ui.lastFeed}`):t(1,r=`${g}/?q=${e.ui.lastDoc}`):e.ui.lastFeed?t(1,r=`${g}/?feed=${e.ui.lastFeed}`):t(1,r=`${g}/`))},[i,r,_,D,c,F,w,e,I,A,L]}class pe extends se{constructor(a){super(),oe(this,a,ce,ne,X,{})}}export{pe as component,he as universal};
diff --git a/_app/immutable/nodes/0.621a777d.js b/_app/immutable/nodes/0.621a777d.js
deleted file mode 100644
index e08e7ce..0000000
--- a/_app/immutable/nodes/0.621a777d.js
+++ /dev/null
@@ -1 +0,0 @@
-import{s as X,c as Y,u as Z,g as $,d as x,r as ee,e as te}from"../chunks/scheduler.cc1c0861.js";import{S as se,i as oe,g as p,s as G,m as N,h as m,j as E,x as ae,c as V,n as T,f as S,k as f,a as le,y as a,z as P,o as U,d as re,t as ie}from"../chunks/index.7a644faf.js";import{a as k}from"../chunks/store.399ec32c.js";import{b as g}from"../chunks/paths.db0c0fe4.js";const de=!0,he=Object.freeze(Object.defineProperty({__proto__:null,prerender:de},Symbol.toStringTag,{value:"Module"}));function ne(s){let l,t,r,e,M='
CSAF Webview
',I,D,c,i,v,y,w,u,j,L,_,F=s[0]!==s[4].SINGLE?"Switch to Advisory":"Switch to Overview",O,A,C,h,R,W;const z=s[8].default,d=Y(z,s,s[7],null);return{c(){l=p("div"),t=p("div"),r=p("div"),e=p("div"),e.innerHTML=M,I=G(),D=p("div"),c=p("small"),i=N("v"),v=N(s[3]),y=G(),w=p("div"),u=N(s[2]),j=G(),L=p("div"),_=p("a"),O=N(F),C=G(),d&&d.c(),this.h()},l(o){l=m(o,"DIV",{class:!0});var n=E(l);t=m(n,"DIV",{class:!0});var b=E(t);r=m(b,"DIV",{class:!0});var q=E(r);e=m(q,"DIV",{"data-svelte-h":!0}),ae(e)!=="svelte-1uq6gq2"&&(e.innerHTML=M),I=V(q),D=m(q,"DIV",{});var B=E(D);c=m(B,"SMALL",{class:!0});var H=E(c);i=T(H,"v"),v=T(H,s[3]),H.forEach(S),B.forEach(S),q.forEach(S),y=V(b),w=m(b,"DIV",{class:!0});var J=E(w);u=T(J,s[2]),J.forEach(S),j=V(b),L=m(b,"DIV",{class:!0});var K=E(L);_=m(K,"A",{title:!0,href:!0,class:!0});var Q=E(_);O=T(Q,F),Q.forEach(S),K.forEach(S),b.forEach(S),C=V(n),d&&d.l(n),n.forEach(S),this.h()},h(){f(c,"class","versionstring"),f(r,"class","programname"),f(w,"class","title"),f(_,"title",A=s[0]!==s[4].SINGLE?"Switch to Advisory":"Switch to Overview"),f(_,"href",s[1]),f(_,"class","btn"),f(L,"class","switchbtn"),f(t,"class","header"),f(l,"class","content")},m(o,n){le(o,l,n),a(l,t),a(t,r),a(r,e),a(r,I),a(r,D),a(D,c),a(c,i),a(c,v),a(t,y),a(t,w),a(w,u),a(t,j),a(t,L),a(L,_),a(_,O),a(l,C),d&&d.m(l,null),h=!0,R||(W=[P(window,"dragover",s[5]),P(window,"drop",s[5]),P(window,"popstate",s[9])],R=!0)},p(o,[n]){(!h||n&4)&&U(u,o[2]),(!h||n&1)&&F!==(F=o[0]!==o[4].SINGLE?"Switch to Advisory":"Switch to Overview")&&U(O,F),(!h||n&1&&A!==(A=o[0]!==o[4].SINGLE?"Switch to Advisory":"Switch to Overview"))&&f(_,"title",A),(!h||n&2)&&f(_,"href",o[1]),d&&d.p&&(!h||n&128)&&Z(d,z,o,o[7],h?x(z,o[7],n,null):$(o[7]),null)},i(o){h||(re(d,o),h=!0)},o(o){ie(d,o),h=!1},d(o){o&&S(l),d&&d.d(o),R=!1,ee(W)}}}function ce(s,l,t){let r,e;te(s,k,u=>t(6,e=u));let{$$slots:M={},$$scope:I}=l;const D="1.0.0-rc1",c={SINGLE:"Switch to ROLIE-feed",FEED:"Switch to single view"};let i="",v="Advisory";const y=u=>{u.preventDefault()},w=()=>{k.setFeedErrorMsg(""),k.setSingleErrorMsg("")};return s.$$set=u=>{"$$scope"in u&&t(7,I=u.$$scope)},s.$$.update=()=>{s.$$.dirty&64&&t(0,r=e.ui.appMode),s.$$.dirty&65&&(r===c.SINGLE?e.doc&&e.doc.title?t(2,v=`${e.doc.id}: ${e.doc.title}`):t(2,v="Advisory"):e.currentFeed?t(2,v="ROLIE-Feed"):e.providerMetadata?t(2,v="Provider Metadata"):t(2,v="Overview")),s.$$.dirty&65&&(r===c.SINGLE?e.ui.lastFeed?e.ui.lastDoc?t(1,i=`${g}/feed?q=${e.ui.lastFeed}&doc=${e.ui.lastDoc}`):t(1,i=`${g}/feed?q=${e.ui.lastFeed}`):e.ui.lastDoc?t(1,i=`${g}/feed?doc=${e.ui.lastDoc}`):t(1,i=`${g}/feed`):e.ui.lastDoc?e.ui.lastFeed?t(1,i=`${g}/?q=${e.ui.lastDoc}&feed=${e.ui.lastFeed}`):t(1,i=`${g}/?q=${e.ui.lastDoc}`):e.ui.lastFeed?t(1,i=`${g}/?feed=${e.ui.lastFeed}`):t(1,i=`${g}/`))},[r,i,v,D,c,y,e,I,M,w]}class pe extends se{constructor(l){super(),oe(this,l,ce,ne,X,{})}}export{pe as component,he as universal};
diff --git a/_app/immutable/nodes/1.33afad70.js b/_app/immutable/nodes/1.bd498a55.js
similarity index 92%
rename from _app/immutable/nodes/1.33afad70.js
rename to _app/immutable/nodes/1.bd498a55.js
index c406f95..8d847ed 100644
--- a/_app/immutable/nodes/1.33afad70.js
+++ b/_app/immutable/nodes/1.bd498a55.js
@@ -1 +1 @@
-import{s as x,n as u,e as y}from"../chunks/scheduler.cc1c0861.js";import{S,i as j,g as h,m as d,s as q,h as v,j as g,n as E,f as m,c as C,a as _,y as $,o as b}from"../chunks/index.7a644faf.js";import{p as H}from"../chunks/stores.225eb8c9.js";function P(p){var f;let a,t=p[0].status+"",r,o,n,i=((f=p[0].error)==null?void 0:f.message)+"",c;return{c(){a=h("h1"),r=d(t),o=q(),n=h("p"),c=d(i)},l(e){a=v(e,"H1",{});var s=g(a);r=E(s,t),s.forEach(m),o=C(e),n=v(e,"P",{});var l=g(n);c=E(l,i),l.forEach(m)},m(e,s){_(e,a,s),$(a,r),_(e,o,s),_(e,n,s),$(n,c)},p(e,[s]){var l;s&1&&t!==(t=e[0].status+"")&&b(r,t),s&1&&i!==(i=((l=e[0].error)==null?void 0:l.message)+"")&&b(c,i)},i:u,o:u,d(e){e&&(m(a),m(o),m(n))}}}function k(p,a,t){let r;return y(p,H,o=>t(0,r=o)),[r]}class B extends S{constructor(a){super(),j(this,a,k,P,x,{})}}export{B as component};
+import{s as x,n as u,e as y}from"../chunks/scheduler.cc1c0861.js";import{S,i as j,g as h,m as d,s as q,h as v,j as g,n as E,f as m,c as C,a as _,y as $,o as b}from"../chunks/index.7a644faf.js";import{p as H}from"../chunks/stores.eb2874b7.js";function P(p){var f;let a,t=p[0].status+"",r,o,n,i=((f=p[0].error)==null?void 0:f.message)+"",c;return{c(){a=h("h1"),r=d(t),o=q(),n=h("p"),c=d(i)},l(e){a=v(e,"H1",{});var s=g(a);r=E(s,t),s.forEach(m),o=C(e),n=v(e,"P",{});var l=g(n);c=E(l,i),l.forEach(m)},m(e,s){_(e,a,s),$(a,r),_(e,o,s),_(e,n,s),$(n,c)},p(e,[s]){var l;s&1&&t!==(t=e[0].status+"")&&b(r,t),s&1&&i!==(i=((l=e[0].error)==null?void 0:l.message)+"")&&b(c,i)},i:u,o:u,d(e){e&&(m(a),m(o),m(n))}}}function k(p,a,t){let r;return y(p,H,o=>t(0,r=o)),[r]}class B extends S{constructor(a){super(),j(this,a,k,P,x,{})}}export{B as component};
diff --git a/_app/immutable/nodes/2.6cf8fc4d.js b/_app/immutable/nodes/2.6cf8fc4d.js
deleted file mode 100644
index ab67790..0000000
--- a/_app/immutable/nodes/2.6cf8fc4d.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import{s as x,n as oe,r as Qn,e as Ne,t as Ot,b as ri,o as ni}from"../chunks/scheduler.cc1c0861.js";import{S as ee,i as te,g as k,m as K,h as T,j as C,n as W,f as _,k as N,A as ge,a as w,y as h,z as We,B as vl,o as Q,s as D,c as y,C as ae,r as P,e as H,u as S,v as I,d as c,p as B,t as p,b as U,w as V,H as ii,x as ne,D as si,l as fi}from"../chunks/index.7a644faf.js";import{a as X}from"../chunks/store.399ec32c.js";import{c as ai,e as Y,K as Ie,p as bl,m as Qt,C as ie,S as kl,T as Gt,P as Fe,U as oi,B as ui,a as ci,l as Tl}from"../chunks/UrlLoader.5020d7c7.js";import{p as di}from"../chunks/stores.225eb8c9.js";import{b as pi}from"../chunks/paths.db0c0fe4.js";const Zn=s=>{const t=new FileReader;let r={};t.onload=e=>{if(e.target){try{r=JSON.parse(e.target.result)}catch{}const l=ai(r);X.setDocument(l)}},t.readAsText(s)};function wl(s){let t;return{c(){t=k("i"),this.h()},l(r){t=T(r,"I",{class:!0}),C(t).forEach(_),this.h()},h(){N(t,"class","bx bx-error")},m(r,e){w(r,t,e)},d(r){r&&_(t)}}}function _i(s){let t,r,e,l,n=s[3]&&wl();return{c(){t=k("div"),n&&n.c(),r=K(s[2]),this.h()},l(i){t=T(i,"DIV",{title:!0,class:!0});var f=C(t);n&&n.l(f),r=W(f,s[2]),f.forEach(_),this.h()},h(){N(t,"title","Drop a CSAF file here"),N(t,"class","droparea svelte-1m3u4ca"),ge(t,"hover",s[1]),ge(t,"droparea-error",s[0]==!1),ge(t,"droparea-okay",s[0]==!0)},m(i,f){w(i,t,f),n&&n.m(t,null),h(t,r),e||(l=[We(t,"dragover",vl(s[6])),We(t,"dragleave",s[7]),We(t,"drop",vl(s[4]))],e=!0)},p(i,[f]){i[3]?n||(n=wl(),n.c(),n.m(t,r)):n&&(n.d(1),n=null),f&4&&Q(r,i[2]),f&2&&ge(t,"hover",i[1]),f&1&&ge(t,"droparea-error",i[0]==!1),f&1&&ge(t,"droparea-okay",i[0]==!0)},i:oe,o:oe,d(i){i&&_(t),n&&n.d(),e=!1,Qn(l)}}}function $i(s,t,r){let e,l;Ne(s,X,d=>r(5,l=d));let n=!1,i=null,f="Drop your CSAF-file here";const a=d=>{if(d.dataTransfer){X.reset(),X.clearUploadedFile();const m=d.dataTransfer.files[0];m.type=="application/json"?(r(0,i=!0),r(2,f=`Displaying file "${m.name}".`),Zn(m)):(r(2,f=`File "${m.name}" has an invalid format.`),r(0,i=!1),X.reset())}},o=()=>{r(1,n=!0)},u=()=>{r(1,n=!1)};return s.$$.update=()=>{s.$$.dirty&32&&l.ui.uploadedFile&&(r(2,f="Drop your CSAF-file here"),r(1,n=!1),r(0,i=null)),s.$$.dirty&1&&r(3,e=i===!1)},[i,n,f,e,a,l,o,u]}class mi extends ee{constructor(t){super(),te(this,t,$i,_i,x,{})}}function El(s,t,r){const e=s.slice();return e[2]=t[r],e}function Dl(s){let t,r=s[2]+"",e;return{c(){t=k("li"),e=K(r)},l(l){t=T(l,"LI",{});var n=C(t);e=W(n,r),n.forEach(_)},m(l,n){w(l,t,n),h(t,e)},p(l,n){n&1&&r!==(r=l[2]+"")&&Q(e,r)},d(l){l&&_(t)}}}function hi(s){let t,r,e,l,n=Y(s[0]),i=[];for(let f=0;f{"values"in n&&r(0,e=n.values),"label"in n&&r(1,l=n.label)},[e,l]}class Le extends ee{constructor(t){super(),te(this,t,gi,hi,x,{values:0,label:1})}}function yl(s){let t,r;return t=new Le({props:{label:"URLs",values:s[0].urls}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].urls),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function vi(s){let t,r,e,l;t=new Ie({props:{keys:s[1],values:s[2]}});let n=s[0].urls&&yl(s);return{c(){P(t.$$.fragment),r=D(),n&&n.c(),e=H()},l(i){S(t.$$.fragment,i),r=y(i),n&&n.l(i),e=H()},m(i,f){I(t,i,f),w(i,r,f),n&&n.m(i,f),w(i,e,f),l=!0},p(i,[f]){i[0].urls?n?(n.p(i,f),f&1&&c(n,1)):(n=yl(i),n.c(),c(n,1),n.m(e.parentNode,e)):n&&(B(),p(n,1,1,()=>{n=null}),U())},i(i){l||(c(t.$$.fragment,i),c(n),l=!0)},o(i){p(t.$$.fragment,i),p(n),l=!1},d(i){i&&(_(r),_(e)),V(t,i),n&&n.d(i)}}}function bi(s,t,r){let{ack:e}=t;const l=[],n=[];return e.names&&(l.push("Names"),n.push(e.names.join(", "))),e.organization&&(l.push("Organization"),n.push(e.organization)),e.summary&&(l.push("Summary"),n.push(e.summary)),s.$$set=i=>{"ack"in i&&r(0,e=i.ack)},[e,l,n]}class ki extends ee{constructor(t){super(),te(this,t,bi,vi,x,{ack:0})}}function Cl(s,t,r){const e=s.slice();return e[1]=t[r],e}function Pl(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function wi(s,t,r){let{acknowledegments:e}=t;return s.$$set=l=>{"acknowledegments"in l&&r(0,e=l.acknowledegments)},[e]}class xn extends ee{constructor(t){super(),te(this,t,wi,Ti,x,{acknowledegments:0})}}function Ei(s){let t,r,e,l="