PageSourceSearch

https://gclimb.io/assets/vendor-misc-DXRBUnIG.js

js gclimb.io collected 2026-09-24 15:03:35 UTC 177,143 bytes, 15 lines download raw bytes

1var Zi=Object.defineProperty;var ea=(e,t,n)=>t in e?Zi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Me=(e,t,n)=>ea(e,typeof t!="symbol"?t+"":t,n);import{d as kt,a as E,r as O,c as ta,e as jt}from"./vendor-recharts-BJMZlXlQ.js";import{u as tt,P as Ue,b as wt,R as na,d as ra,O as ia,C as aa,j as Jt}from"./vendor-ui-COZs5eRx.js";var la=typeof Element<"u",oa=typeof Map=="function",sa=typeof Set=="function",ua=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Nt(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Nt(e[r],t[r]))return!1;return!0}var a;if(oa&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!Nt(r.value[1],t.get(r.value[0])))return!1;return!0}if(sa&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(ua&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(la&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Nt(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var ca=function(t,n){try{return Nt(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const fa=kt(ca);var pa=function(e,t,n,r,i,a,l,o){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,l,o],f=0;c=new Error(t.replace(/%s/g,function(){return u[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},da=pa;const tr=kt(da);var ha=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var l=Object.keys(t),o=Object.keys(n);if(l.length!==o.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<l.length;u++){var f=l[u];if(!c(f))return!1;var p=t[f],m=n[f];if(a=r?r.call(i,p,m,f):void 0,a===!1||a===void 0&&p!==m)return!1}return!0};const ma=kt(ha);var ti=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(ti||{}),Zt={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},nr=Object.values(ti),Nn={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ga=Object.entries(Nn).reduce((e,[t,n])=>(e[n]=t,e),{}),Ae="data-rh",nt={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},rt=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},ya=e=>{let t=rt(e,"title");const n=rt(e,nt.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=rt(e,nt.DEFAULT_TITLE);return t||r||void 0},xa=e=>rt(e,nt.ON_CHANGE_CLIENT_STATE)||(()=>{}),en=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),ba=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let a=0;a<i.length;a+=1){const o=i[a].toLowerCase();if(e.indexOf(o)!==-1&&r[o])return n.concat(r)}}return n},[]),wa=e=>console&&typeof console.warn=="function"&&console.warn(e),pt=(e,t,n
1)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&wa(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,a)=>{const l={};a.filter(c=>{let u;const f=Object.keys(c);for(let m=0;m<f.length;m+=1){const s=f[m],b=s.toLowerCase();t.indexOf(b)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(b==="rel"&&c[b].toLowerCase()==="stylesheet")&&(u=b),t.indexOf(s)!==-1&&(s==="innerHTML"||s==="cssText"||s==="itemprop")&&(u=s)}if(!u||!c[u])return!1;const p=c[u].toLowerCase();return r[u]||(r[u]={}),l[u]||(l[u]={}),r[u][p]?!1:(l[u][p]=!0,!0)}).reverse().forEach(c=>i.push(c));const o=Object.keys(l);for(let c=0;c<o.length;c+=1){const u=o[c],f={...r[u],...l[u]};r[u]=f}return i},[]).reverse()},va=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},ka=e=>({baseTag:ba(["href"],e),bodyAttributes:en("bodyAttributes",e),defer:rt(e,nt.DEFER),encode:rt(e,nt.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:en("htmlAttributes",e),linkTags:pt("link",["rel","href"],e),metaTags:pt("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:pt("noscript",["innerHTML"],e),onChangeClientState:xa(e),scriptTags:pt("script",["src","innerHTML"],e),styleTags:pt("style",["cssText"],e),title:ya(e),titleAttributes:en("titleAttributes",e),prioritizeSeoTags:va(e,nt.PRIORITIZE_SEO_TAGS)}),ni=e=>Array.isArray(e)?e.join(""):e,Sa=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},tn=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(Sa(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},rr=(e,t)=>({...e,[t]:void 0}),Ea=["noscript","script","style"],xn=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),ri=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),Ca=(e,t,n,r)=>{const i=ri(n),a=ni(t);return i?`<${e} ${Ae}="true" ${i}>${xn(a,r)}</${e}>`:`<${e} ${Ae}="true">${xn(a,r)}</${e}>`},Ta=(e,t,n=!0)=>t.reduce((r,i)=>{const a=i,l=Object.keys(a).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,f)=>{const p=typeof a[f]>"u"?f:`${f}="${xn(a[f],n)}"`;return u?`${u} ${p}`:p},""),o=a.innerHTML||a.cssText||"",c=Ea.indexOf(e)===-1;return`${r}<${e} ${Ae}="true" ${l}${c?"/>":`>${o}</${e}>`}`},""),ii=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=Nn[r];return n[i||r]=e[r],n},t),Ia=(e,t,n)=>{const r={key:t,[Ae]:!0},i=ii(n,r);return[E.createElement("title",i,t)]},Ft=(e,t)=>t.map((n,r)=>{const i={key:r,[Ae]:!0};return Object.keys(n).forEach(a=>{const o=Nn[a]||a;if(o==="innerHTML"||o==="cssText"){const c=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:c}}else i[o]=n[a]}),E.createElement(e,i)}),ve=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>Ia(e,t.title,t.titleAttributes),toString:()=>Ca(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>ii(t),toString:()=>ri(t)};default:return{toComponent:()=>Ft(e,t),toString:()=>Ta(e,t,n)}}},Aa=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=tn(e,Zt.meta),a=tn(t,Zt.link),l=tn(n,Zt.script);return{priorityMethods:{toComponent:()=>[...Ft("meta",i.priority),...Ft("link",a.priority),...Ft("script",l.priority)],toString:()=>`${ve("meta",i.priority,r)} ${ve("link",a.priority,r)} ${ve("script",l.priority,r)}`},metaTags:i.default,linkTags:a.default,scriptTags:l.default}},Pa=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:a,styleTags:l,title:o="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:f,metaTags:p,scriptTags:m}=e,s={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:s,linkTags:f,metaTags:p,scriptTags:m}=Aa(e)),{priority:s,base:ve("base",t,r),bodyAttributes:ve("bodyAttributes",n,r),htmlAttributes:ve("htmlAttributes",i,r),link:ve("link",f,r),meta:ve("meta",p,r),noscript:ve("noscript",a,r),script:ve("script",m,r),style:ve("style",l,r),title:ve("title",{title:o,titleAttributes:c},r)}},bn=Pa,Rt=[],ai=!!(typeof window<"u"&&window.document&&window.document.createElement),wn=class{constructor(e,t){Me(this,"instances",[]);Me(this,"canUseDOM",ai);Me(this,"context");Me(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Rt:this.instances,add:e=>{(this.canUseDOM?Rt:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Rt:this.instances).indexOf(e);(this.canUseDOM?Rt:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=bn({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},Oa={},li=E.createContext(Oa),We,Ra=(We=class extends O.Component{constructor(n){super(n);Me(this,"helmetData");this.helmetData=new wn(this.props.context||{},We.canUseDOM)}render(){return E.createElement(li.Provider,{value:this.helmetData.value},this.props.children)}},Me(We,"canUseDOM",ai),We),Ge=(e,t)=>
1{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Ae}]`),i=[].slice.call(r),a=[];let l;return t&&t.length&&t.forEach(o=>{const c=document.createElement(e);for(const u in o)if(Object.prototype.hasOwnProperty.call(o,u))if(u==="innerHTML")c.innerHTML=o.innerHTML;else if(u==="cssText")c.styleSheet?c.styleSheet.cssText=o.cssText:c.appendChild(document.createTextNode(o.cssText));else{const f=u,p=typeof o[f]>"u"?"":o[f];c.setAttribute(u,p)}c.setAttribute(Ae,"true"),i.some((u,f)=>(l=f,c.isEqualNode(u)))?i.splice(l,1):a.push(c)}),i.forEach(o=>{var c;return(c=o.parentNode)==null?void 0:c.removeChild(o)}),a.forEach(o=>n.appendChild(o)),{oldTags:i,newTags:a}},vn=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Ae),i=r?r.split(","):[],a=[...i],l=Object.keys(t);for(const o of l){const c=t[o]||"";n.getAttribute(o)!==c&&n.setAttribute(o,c),i.indexOf(o)===-1&&i.push(o);const u=a.indexOf(o);u!==-1&&a.splice(u,1)}for(let o=a.length-1;o>=0;o-=1)n.removeAttribute(a[o]);i.length===a.length?n.removeAttribute(Ae):n.getAttribute(Ae)!==l.join(",")&&n.setAttribute(Ae,l.join(","))},za=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=ni(e)),vn("title",t)},ir=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:a,metaTags:l,noscriptTags:o,onChangeClientState:c,scriptTags:u,styleTags:f,title:p,titleAttributes:m}=e;vn("body",r),vn("html",i),za(p,m);const s={baseTag:Ge("base",n),linkTags:Ge("link",a),metaTags:Ge("meta",l),noscriptTags:Ge("noscript",o),scriptTags:Ge("script",u),styleTags:Ge("style",f)},b={},w={};Object.keys(s).forEach(T=>{const{newTags:v,oldTags:M}=s[T];v.length&&(b[T]=v),M.length&&(w[T]=s[T].oldTags)}),t&&t(),c(e,b,w)},dt=null,La=e=>{dt&&cancelAnimationFrame(dt),e.defer?dt=requestAnimationFrame(()=>{ir(e,()=>{dt=null})}):(ir(e),dt=null)},Da=La,ar=class extends O.Component{constructor(){super(...arguments);Me(this,"rendered",!1)}shouldComponentUpdate(t){return!ma(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=ka(t.get().map(a=>{const l={...a.props};return delete l.context,l}));Ra.canUseDOM?Da(i):bn&&(r=bn(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},yn,kf=(yn=class extends O.Component{shouldComponentUpdate(e){return!fa(rr(this.props,"helmetData"),rr(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return tr(nr.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${nr.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),tr(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return E.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...a}=r.props,l=Object.keys(a).reduce((c,u)=>(c[ga[u]||u]=a[u],c),{});let{type:o}=r;
1switch(typeof o=="symbol"?o=o.toString():this.warnOnInvalidChildren(r,i),o){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,l,i);break;default:t=this.mapObjectTypeChildren(r,t,l,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof wn)){const i=r;r=new wn(i.context,!0),delete n.helmetData}return r?E.createElement(ar,{...n,context:r.value}):E.createElement(li.Consumer,null,i=>E.createElement(ar,{...n,context:i}))}},Me(yn,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),yn),Ma=e=>{switch(e){case"success":return _a;case"info":return ja;case"warning":return Ba;case"error":return Ha;default:return null}},Na=Array(12).fill(0),Fa=({visible:e,className:t})=>E.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},E.createElement("div",{className:"sonner-spinner"},Na.map((n,r)=>E.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),_a=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Ba=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),ja=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Ha=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),$a=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},E.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),E.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Ua=()=>{let[e,t]=E.useState(document.hidden);return E.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},kn=1,Va=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:kn++,a=this.toasts.find(o=>o.id===i),l=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),a?this.toasts=this.toasts.map(o=>o.id===i?(this.publish({...o,...e,id:i,title:n}),{...o,...e,id:i,dismissible:l,title:n}):o):this.addToast({title:n,...r,dismissible:l,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>
1this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,a,l=r.then(async c=>{if(a=["resolve",c],E.isValidElement(c))i=!1,this.create({id:n,type:"default",message:c});else if(Ya(c)&&!c.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:f})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(c):t.success,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:f})}}).catch(async c=>{if(a=["reject",c],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(c):t.error,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:f})}}).finally(()=>{var c;i&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),o=()=>new Promise((c,u)=>l.then(()=>a[0]==="reject"?u(a[1]):c(a[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:o}:Object.assign(n,{unwrap:o})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||kn++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},de=new Va,qa=(e,t)=>{let n=(t==null?void 0:t.id)||kn++;return de.addToast({title:e,...t,id:n}),n},Ya=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Ka=qa,Wa=()=>de.toasts,Xa=()=>de.getActiveToasts(),Sf=Object.assign(Ka,{success:de.success,info:de.info,warning:de.warning,error:de.error,custom:de.custom,message:de.message,promise:de.promise,dismiss:de.dismiss,loading:de.loading},{getHistory:Wa,getToasts:Xa});function Qa(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}Qa(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
1left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
1:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
1--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
2`);function zt(e){return e.label!==void 0}var Ga=3,Ja="32px",Za="16px",lr=4e3,el=356,tl=14,nl=20,rl=200;function Ie(...e){return e.filter(Boolean).join(" ")}function il(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var al=e=>{var t,n,r,i,a,l,o,c,u,f,p;let{invert:m,toast:s,unstyled:b,interacting:w,setHeights:T,visibleToasts:v,heights:M,index:A,toasts:K,expanded:$,removeToast:y,defaultRichColors:D,closeButton:J,style:V,cancelButtonStyle:Y,actionButtonStyle:R,className:P="",descriptionClassName:W="",duration:q,position:B,gap:Z,loadingIcon:Q,expandByDefault:se,classNames:N,icons:h,closeButtonAriaLabel:ue="Close toast",pauseWhenPageIsHidden:x}=e,[d,I]=E.useState(null),[C,z]=E.useState(null),[L,ne]=E.useState(!1),[ee,ce]=E.useState(!1),[Pe,st]=E.useState(!1),[Tt,Wt]=E.useState(!1),[It,ut]=E.useState(!1),[At,ct]=E.useState(0),[Pt,ft]=E.useState(0),qe=E.useRef(s.duration||q||lr),Ot=E.useRef(null),De=E.useRef(null),Xt=A===0,Qt=A+1<=v,g=s.type,S=s.dismissible!==!1,_=s.className||"",U=s.descriptionClassName||"",X=E.useMemo(()=>M.findIndex(j=>j.toastId===s.id)||0,[M,s.id]),ge=E.useMemo(()=>{var j;return(j=s.closeButton)!=null?j:J},[s.closeButton,J]),Oe=E.useMemo(()=>s.duration||q||lr,[s.duration,q]),ye=E.useRef(0),we=E.useRef(0),Ne=E.useRef(0),le=E.useRef(null),[Fe,Se]=B.split("-"),Zn=E.useMemo(()=>M.reduce((j,te,ae)=>ae>=X?j:j+te.height,0),[M,X]),er=Ua(),Gi=s.invert||m,Gt=g==="loading";we.current=E.useMemo(()=>X*Z+Zn,[X,Zn]),E.useEffect(()=>{qe.current=Oe},[Oe]),E.useEffect(()=>{ne(!0)},[]),E.useEffect(()=>{let j=De.current;if(j){let te=j.getBoundingClientRect().height;return ft(te),T(ae=>[{toastId:s.id,height:te,position:s.position},...ae]),()=>T(ae=>ae.filter(Ee=>
2Ee.toastId!==s.id))}},[T,s.id]),E.useLayoutEffect(()=>{if(!L)return;let j=De.current,te=j.style.height;j.style.height="auto";let ae=j.getBoundingClientRect().height;j.style.height=te,ft(ae),T(Ee=>Ee.find(Ce=>Ce.toastId===s.id)?Ee.map(Ce=>Ce.toastId===s.id?{...Ce,height:ae}:Ce):[{toastId:s.id,height:ae,position:s.position},...Ee])},[L,s.title,s.description,T,s.id]);let _e=E.useCallback(()=>{ce(!0),ct(we.current),T(j=>j.filter(te=>te.toastId!==s.id)),setTimeout(()=>{y(s)},rl)},[s,y,T,we]);E.useEffect(()=>{if(s.promise&&g==="loading"||s.duration===1/0||s.type==="loading")return;let j;return $||w||x&&er?(()=>{if(Ne.current<ye.current){let te=new Date().getTime()-ye.current;qe.current=qe.current-te}Ne.current=new Date().getTime()})():qe.current!==1/0&&(ye.current=new Date().getTime(),j=setTimeout(()=>{var te;(te=s.onAutoClose)==null||te.call(s,s),_e()},qe.current)),()=>clearTimeout(j)},[$,w,s,g,x,er,_e]),E.useEffect(()=>{s.delete&&_e()},[_e,s.delete]);function Ji(){var j,te,ae;return h!=null&&h.loading?E.createElement("div",{className:Ie(N==null?void 0:N.loader,(j=s==null?void 0:s.classNames)==null?void 0:j.loader,"sonner-loader"),"data-visible":g==="loading"},h.loading):Q?E.createElement("div",{className:Ie(N==null?void 0:N.loader,(te=s==null?void 0:s.classNames)==null?void 0:te.loader,"sonner-loader"),"data-visible":g==="loading"},Q):E.createElement(Fa,{className:Ie(N==null?void 0:N.loader,(ae=s==null?void 0:s.classNames)==null?void 0:ae.loader),visible:g==="loading"})}return E.createElement("li",{tabIndex:0,ref:De,className:Ie(P,_,N==null?void 0:N.toast,(t=s==null?void 0:s.classNames)==null?void 0:t.toast,N==null?void 0:N.default,N==null?void 0:N[g],(n=s==null?void 0:s.classNames)==null?void 0:n[g]),"data-sonner-toast":"","data-rich-colors":(r=s.richColors)!=null?r:D,"data-styled":!(s.jsx||s.unstyled||b),"data-mounted":L,"data-promise":!!s.promise,"data-swiped":It,"data-removed":ee,"data-visible":Qt,"data-y-position":Fe,"data-x-position":Se,"data-index":A,"data-front":Xt,"data-swiping":Pe,"data-dismissible":S,"data-type":g,"data-invert":Gi,"data-swipe-out":Tt,"data-swipe-direction":C,"data-expanded":!!($||se&&L),style:{"--index":A,"--toasts-before":A,"--z-index":K.length-A,"--offset":`${ee?At:we.current}px`,"--initial-height":se?"auto":`${Pt}px`,...V,...s.style},onDragEnd:()=>{st(!1),I(null),le.current=null},onPointerDown:j=>{Gt||!S||(Ot.current=new Date,ct(we.current),j.target.setPointerCapture(j.pointerId),j.target.tagName!=="BUTTON"&&(st(!0),le.current={x:j.clientX,y:j.clientY}))},onPointerUp:()=>{var j,te,ae,Ee;if(Tt||!S)return;le.current=null;let Ce=Number(((j=De.current)==null?void 0:j.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Be=Number(((te=De.current)==null?void 0:te.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ye=new Date().getTime()-((ae=Ot.current)==null?void 0:ae.getTime()),Te=d==="x"?Ce:Be,je=Math.abs(Te)/Ye;if(Math.abs(Te)>=nl||je>
2.11){ct(we.current),(Ee=s.onDismiss)==null||Ee.call(s,s),z(d==="x"?Ce>0?"right":"left":Be>0?"down":"up"),_e(),Wt(!0),ut(!1);return}st(!1),I(null)},onPointerMove:j=>{var te,ae,Ee,Ce;if(!le.current||!S||((te=window.getSelection())==null?void 0:te.toString().length)>0)return;let Be=j.clientY-le.current.y,Ye=j.clientX-le.current.x,Te=(ae=e.swipeDirections)!=null?ae:il(B);!d&&(Math.abs(Ye)>1||Math.abs(Be)>1)&&I(Math.abs(Ye)>Math.abs(Be)?"x":"y");let je={x:0,y:0};d==="y"?(Te.includes("top")||Te.includes("bottom"))&&(Te.includes("top")&&Be<0||Te.includes("bottom")&&Be>0)&&(je.y=Be):d==="x"&&(Te.includes("left")||Te.includes("right"))&&(Te.includes("left")&&Ye<0||Te.includes("right")&&Ye>0)&&(je.x=Ye),(Math.abs(je.x)>0||Math.abs(je.y)>0)&&ut(!0),(Ee=De.current)==null||Ee.style.setProperty("--swipe-amount-x",`${je.x}px`),(Ce=De.current)==null||Ce.style.setProperty("--swipe-amount-y",`${je.y}px`)}},ge&&!s.jsx?E.createElement("button",{"aria-label":ue,"data-disabled":Gt,"data-close-button":!0,onClick:Gt||!S?()=>{}:()=>{var j;_e(),(j=s.onDismiss)==null||j.call(s,s)},className:Ie(N==null?void 0:N.closeButton,(i=s==null?void 0:s.classNames)==null?void 0:i.closeButton)},(a=h==null?void 0:h.close)!=null?a:$a):null,s.jsx||O.isValidElement(s.title)?s.jsx?s.jsx:typeof s.title=="function"?s.title():s.title:E.createElement(E.Fragment,null,g||s.icon||s.promise?E.createElement("div",{"data-icon":"",className:Ie(N==null?void 0:N.icon,(l=s==null?void 0:s.classNames)==null?void 0:l.icon)},s.promise||s.type==="loading"&&!s.icon?s.icon||Ji():null,s.type!=="loading"?s.icon||(h==null?void 0:h[g])||Ma(g):null):null,E.createElement("div",{"data-content":"",className:Ie(N==null?void 0:N.content,(o=s==null?void 0:s.classNames)==null?void 0:o.content)},E.createElement("div",{"data-title":"",className:Ie(N==null?void 0:N.title,(c=s==null?void 0:s.classNames)==null?void 0:c.title)},typeof s.title=="function"?s.title():s.title),s.description?E.createElement("div",{"data-description":"",className:Ie(W,U,N==null?void 0:N.description,(u=s==null?void 0:s.classNames)==null?void 0:u.description)},typeof s.description=="function"?s.description():s.description):null),O.isValidElement(s.cancel)?s.cancel:s.cancel&&zt(s.cancel)?E.createElement("button",{"data-button":!0,"data-cancel":!0,style:s.cancelButtonStyle||Y,onClick:j=>{var te,ae;zt(s.cancel)&&S&&((ae=(te=s.cancel).onClick)==null||ae.call(te,j),_e())},className:Ie(N==null?void 0:N.cancelButton,(f=s==null?void 0:s.classNames)==null?void 0:f.cancelButton)},s.cancel.label):null,O.isValidElement(s.action)?s.action:s.action&&zt(s.action)?E.createElement("button",{"data-button":!0,"data-action":!0,style:s.actionButtonStyle||R,onClick:j=>{var te,ae;zt(s.action)&&((ae=(te=s.action).onClick)==null||ae.call(te,j),!j.defaultPrevented&&_e())},className:Ie(N==null?void 0:N.actionButton,(p=s==null?void 0:s.classNames)==null?void 0:p.actionButton)},s.action.label):null))};function or(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function ll(e,t){let n={};return[e,t].forEach((r,i)=>{let a=i===1,l=a?"--mobile-offset":"--offset",o=a?Za:Ja;function c(u){["top","right","bottom","left"].forEach(f=>{n[`${l}-${f}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${l}-${u}`]=o:n[`${l}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(o)}),n}var Ef=O.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:a,closeButton:l,className:o,offset:c,mobileOffset:u,theme:f="light",richColors:p,duration:m,style:s,visibleToasts:b=Ga,toastOptions:w,dir:T=or(),gap:v=tl,loadingIcon:M,icons:A,containerAriaLabel:K="Notifications",pauseWhenPageIsHidden:$}=e,[y,D]=E.useState([]),J=E.useMemo(()=>Array.from(new Set([r].concat(y.filter(x=>x.position).map(x=>x.position)))),[y,r]),[V,Y]=E.useState([]),[R,P]=E.useState(!1),[W,q]=E.useState(!1),[B,Z]=E.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
2k":"light"),Q=E.useRef(null),se=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=E.useRef(null),h=E.useRef(!1),ue=E.useCallback(x=>{D(d=>{var I;return(I=d.find(C=>C.id===x.id))!=null&&I.delete||de.dismiss(x.id),d.filter(({id:C})=>C!==x.id)})},[]);return E.useEffect(()=>de.subscribe(x=>{if(x.dismiss){D(d=>d.map(I=>I.id===x.id?{...I,delete:!0}:I));return}setTimeout(()=>{ta.flushSync(()=>{D(d=>{let I=d.findIndex(C=>C.id===x.id);return I!==-1?[...d.slice(0,I),{...d[I],...x},...d.slice(I+1)]:[x,...d]})})})}),[]),E.useEffect(()=>{if(f!=="system"){Z(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Z("dark"):Z("light")),typeof window>"u")return;let x=window.matchMedia("(prefers-color-scheme: dark)");try{x.addEventListener("change",({matches:d})=>{Z(d?"dark":"light")})}catch{x.addListener(({matches:I})=>{try{Z(I?"dark":"light")}catch(C){console.error(C)}})}},[f]),E.useEffect(()=>{y.length<=1&&P(!1)},[y]),E.useEffect(()=>{let x=d=>{var I,C;i.every(z=>d[z]||d.code===z)&&(P(!0),(I=Q.current)==null||I.focus()),d.code==="Escape"&&(document.activeElement===Q.current||(C=Q.current)!=null&&C.contains(document.activeElement))&&P(!1)};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[i]),E.useEffect(()=>{if(Q.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,h.current=!1)}},[Q.current]),E.createElement("section",{ref:t,"aria-label":`${K} ${se}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},J.map((x,d)=>{var I;let[C,z]=x.split("-");return y.length?E.createElement("ol",{key:x,dir:T==="auto"?or():T,tabIndex:-1,ref:Q,className:o,"data-sonner-toaster":!0,"data-theme":B,"data-y-position":C,"data-lifted":R&&y.length>1&&!a,"data-x-position":z,style:{"--front-toast-height":`${((I=V[0])==null?void 0:I.height)||0}px`,"--width":`${el}px`,"--gap":`${v}px`,...s,...ll(c,u)},onBlur:L=>{h.current&&!L.currentTarget.contains(L.relatedTarget)&&(h.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:L=>{L.target instanceof HTMLElement&&L.target.dataset.dismissible==="false"||h.current||(h.current=!0,N.current=L.relatedTarget)},onMouseEnter:()=>P(!0),onMouseMove:()=>P(!0),onMouseLeave:()=>{W||P(!1)},onDragEnd:()=>P(!1),onPointerDown:L=>{L.target instanceof HTMLElement&&L.target.dataset.dismissible==="false"||q(!0)},onPointerUp:()=>q(!1)},y.filter(L=>!L.position&&d===0||L.position===x).map((L,ne)=>{var ee,ce;return E.createElement(al,{key:L.id,icons:A,index:ne,toast:L,defaultRichColors:p,duration:(ee=w==null?void 0:w.duration)!=null?ee:m,className:w==null?void 0:w.className,descriptionClassName:w==null?void 0:w.descriptionClassName,invert:n,visibleToasts:b,closeButton:(ce=w==null?void 0:w.closeButton)!=null?ce:l,interacting:W,position:x,style:w==null?void 0:w.style,unstyled:w==null?void 0:w.unstyled,classNames:w==null?void 0:w.classNames,cancelButtonStyle:w==null?void 0:w.cancelButtonStyle,actionButtonStyle:w==null?void 0:w.actionButtonStyle,removeToast:ue,toasts:y.filter(Pe=>Pe.position==L.position),heights:V.filter(Pe=>Pe.position==L.position),setHeights:Y,expandByDefault:a,gap:v,loadingIcon:M,expanded:R,pauseWhenPageIsHidden:$,swipeDirections:e.swipeDirections})})):null}))}),sr=1,ol=.9,sl=.8,ul=.17,nn=.1,rn=.999,cl=.9999,fl=.99,pl=/[\\\/_+.#"@\[\(\{&]/,dl=/[\\\/_+.#"@\[\(\{&]/g,hl=/[\s-]/,oi=/[\s-]/g;function Sn(e,t,n,r,i,a,l){if(a===t.length)return i===e.length?sr:fl;var o=`${i},${a}`;if(l[o]!==void 0)return l[o];for(var c=r.charAt(a),u=n.indexOf(c,i),f=0,p,m,s,b;u>=0;)p=Sn(e,t,n,r,u+1,a+1,l),p>f&&(u===i?p*=sr:pl.test(e.charAt(u-1))?(p*=sl,s=e.slice(i,u-1).match(dl),s&&i>0&&(p*=Math.pow(rn,s.length))):hl.test(e.charAt(u-1))?(p*=ol,b=e.slice(i,u-1).match(oi),b&&i>0&&(p*=Math.pow(rn,b.length))):(p*=ul,i>0&&(p*=Math.pow(rn,u-i))),e.charAt(u)!==t.charAt(a)&&(p*=cl)),(p<nn&&n.charAt(u-1)===r.charAt(a+1)||r.charAt(a+1)===r.charAt(a)&&n.charAt(u-1)!==r.charAt(a))&&(m=Sn(e,t,n,r,u+1,a+2,l),m*nn>p&&(p=m*nn)),p>f&&(f=p),u=n.indexOf(c,u+1);return l[o]=f,f}function ur(e){return e.toLowerCase().replace(oi," ")}function ml(e,t,n){return e=n&&n.length>0?`${e+" "+n.join(" ")}
2`:e,Sn(e,t,ur(e),ur(t),0,0,{})}var ht='[cmdk-group=""]',an='[cmdk-group-items=""]',gl='[cmdk-group-heading=""]',si='[cmdk-item=""]',cr=`${si}:not([aria-disabled="true"])`,En="cmdk-item-select",Ze="data-value",yl=(e,t,n)=>ml(e,t,n),ui=O.createContext(void 0),St=()=>O.useContext(ui),ci=O.createContext(void 0),Fn=()=>O.useContext(ci),fi=O.createContext(void 0),pi=O.forwardRef((e,t)=>{let n=et(()=>{var x,d;return{search:"",value:(d=(x=e.value)!=null?x:e.defaultValue)!=null?d:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=et(()=>new Set),i=et(()=>new Map),a=et(()=>new Map),l=et(()=>new Set),o=di(e),{label:c,children:u,value:f,onValueChange:p,filter:m,shouldFilter:s,loop:b,disablePointerSelection:w=!1,vimBindings:T=!0,...v}=e,M=tt(),A=tt(),K=tt(),$=O.useRef(null),y=Al();Xe(()=>{if(f!==void 0){let x=f.trim();n.current.value=x,D.emit()}},[f]),Xe(()=>{y(6,W)},[]);let D=O.useMemo(()=>({subscribe:x=>(l.current.add(x),()=>l.current.delete(x)),snapshot:()=>n.current,setState:(x,d,I)=>{var C,z,L,ne;if(!Object.is(n.current[x],d)){if(n.current[x]=d,x==="search")P(),Y(),y(1,R);else if(x==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let ee=document.getElementById(K);ee?ee.focus():(C=document.getElementById(M))==null||C.focus()}if(y(7,()=>{var ee;n.current.selectedItemId=(ee=q())==null?void 0:ee.id,D.emit()}),I||y(5,W),((z=o.current)==null?void 0:z.value)!==void 0){let ee=d??"";(ne=(L=o.current).onValueChange)==null||ne.call(L,ee);return}}D.emit()}},emit:()=>{l.current.forEach(x=>x())}}),[]),J=O.useMemo(()=>({value:(x,d,I)=>{var C;d!==((C=a.current.get(x))==null?void 0:C.value)&&(a.current.set(x,{value:d,keywords:I}),n.current.filtered.items.set(x,V(d,I)),y(2,()=>{Y(),D.emit()}))},item:(x,d)=>(r.current.add(x),d&&(i.current.has(d)?i.current.get(d).add(x):i.current.set(d,new Set([x]))),y(3,()=>{P(),Y(),n.current.value||R(),D.emit()}),()=>{a.current.delete(x),r.current.delete(x),n.current.filtered.items.delete(x);let I=q();y(4,()=>{P(),(I==null?void 0:I.getAttribute("id"))===x&&R(),D.emit()})}),group:x=>(i.current.has(x)||i.current.set(x,new Set),()=>{a.current.delete(x),i.current.delete(x)}),filter:()=>o.current.shouldFilter,label:c||e["aria-label"],getDisablePointerSelection:()=>o.current.disablePointerSelection,listId:M,inputId:K,labelId:A,listInnerRef:$}),[]);function V(x,d){var I,C;let z=(C=(I=o.current)==null?void 0:I.filter)!=null?C:yl;return x?z(x,n.current.search,d):0}function Y(){if(!n.current.search||o.current.shouldFilter===!1)return;let x=n.current.filtered.items,d=[];n.current.filtered.groups.forEach(C=>{let z=i.current.get(C),L=0;z.forEach(ne=>{let ee=x.get(ne);L=Math.max(ee,L)}),d.push([C,L])});let I=$.current;B().sort((C,z)=>{var L,ne;let ee=C.getAttribute("id"),ce=z.getAttribute("id");return((L=x.get(ce))!=null?L:0)-((ne=x.get(ee))!=null?ne:0)}).forEach(C=>{let z=C.closest(an);z?z.appendChild(C.parentElement===z?C:C.closest(`${an} > *`)):I.appendChild(C.parentElement===I?C:C.closest(`${an} > *`))}),d.sort((C,z)=>z[1]-C[1]).forEach(C=>{var z;let L=(z=$.current)==null?void 0:z.querySelector(`${ht}[${Ze}="${encodeURIComponent(C[0])}"]`);L==null||L.parentElement.appendChild(L)})}function R(){let x=B().find(I=>I.getAttribute("aria-disabled")!=="true"),d=x==null?void 0:x.getAttribute(Ze);D.setState("value",d||void 0)}function P(){var x,d,I,C;if(!n.current.search||o.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let z=0;for(let L of r.current){let ne=(d=(x=a.current.get(L))==null?void 0:x.value)!=null?d:"",ee=(C=(I=a.current.get(L))==null?void 0:I.keywords)!=null?C:[],ce=V(ne,ee);n.current.filtered.items.set(L,ce),ce>0&&z++}for(let[L,ne]of i.current)for(let ee of ne)if(n.current.filtered.items.get(ee)>0){n.current.filtered.groups.add(L);break}n.current.filtered.count=z}function W(){var x,d,I;let C=q();C&&(((x=C.parentElement)==null?void 0:x.firstChild)===C&&((I=(d=C.closest(ht))==null?void 0:d.querySelector(gl))==null||I.scrollIntoView({block:"nearest"})),C.scrollIntoView({block:"nearest"}))}function q(){var x;return(x=$.current)==null?void 0:x.querySelector(`${si}[aria-selected="true"]`)}function B(){var x;return Array.from(((x=$.current)==null?void 0:x.querySelectorAll(cr))||[])}function Z(x){let d=B()[x];d&&D.setState("value",d.getAttribute(Ze))}function Q(x){var d;let I=q(),C=B(),z=C.findIndex(ne=>ne===I),L=C[z+x];(d=o.current)!=null&&d.loop&&(L=z+x<0?C[C.length-1]:z+x===C.length?C[0]:C[z+x]),L&&D.setState("value",L.getAttribute(Ze))}function se(x){let d=q(),I=d==null?void 0:d.closest(ht),C;for(;I&&!C;)I=x>0?Tl(I,ht):Il(I,ht),C=I==null?void 0:I.querySelector(cr);C?D.setState("value",C.getAttribute(Ze)):Q(x)}let N=()=>Z(B().length-1),h=x=>{x.preventDefault(),x.metaKey?N():x.altKey?se(1):Q(1)},ue=x=>{x.preventDefault(),x.metaKey?Z(0):x.altKey?se(-1):Q(-1)};return O.createElement(Ue.div,{ref:t,tabIndex:-1,...v,"cmdk-root":"",onKeyDown:x=>{var d;(d=v.onKeyDown)==null||d.call(v,x);let I=x.nativeEvent.isComposing||x.keyCode===229;if(!(x.defaultPrevented||I))switch(x.key){case"n":case"j":{T&&x.ctrlKey&&h(x);break}case"ArrowDown":{h(x);break}case"p":case"k":{T&&x.ctrlKey&&ue(x);break}case"ArrowUp":{ue(x);break}case"Home":{x.preventDefault(),Z(0);break}case"End":{x.preventDefault(),N();break}case"Enter":{x.preventDefault();let C=q();if(C){let z=new Event(En);C.dispatchEvent(z)}}}}},O.createElement("label",{"cmdk-label":"",htmlFor:J.inputId,id:J.labelId,style:Ol},c),Ut(e,x=>O.createElement(ci.Provider,{value:D},O.createElement(ui.Provider,{value:J},x))))}),xl=O.forwardRef((e,t)=>
vendor: 4,824 bytes, line 2
2{var n,r;let i=tt(),a=O.useRef(null),l=O.useContext(fi),o=St(),c=di(e),u=(r=(n=c.current)==null?void 0:n.forceMount)!=null?r:l==null?void 0:l.forceMount;Xe(()=>{if(!u)return o.item(i,l==null?void 0:l.id)},[u]);let f=hi(i,a,[e.value,e.children,a],e.keywords),p=Fn(),m=$e(y=>y.value&&y.value===f.current),s=$e(y=>u||o.filter()===!1?!0:y.search?y.filtered.items.get(i)>0:!0);O.useEffect(()=>{let y=a.current;if(!(!y||e.disabled))return y.addEventListener(En,b),()=>y.removeEventListener(En,b)},[s,e.onSelect,e.disabled]);function b(){var y,D;w(),(D=(y=c.current).onSelect)==null||D.call(y,f.current)}function w(){p.setState("value",f.current,!0)}if(!s)return null;let{disabled:T,value:v,onSelect:M,forceMount:A,keywords:K,...$}=e;return O.createElement(Ue.div,{ref:wt(a,t),...$,id:i,"cmdk-item":"",role:"option","aria-disabled":!!T,"aria-selected":!!m,"data-disabled":!!T,"data-selected":!!m,onPointerMove:T||o.getDisablePointerSelection()?void 0:w,onClick:T?void 0:b},e.children)}),bl=O.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:i,...a}=e,l=tt(),o=O.useRef(null),c=O.useRef(null),u=tt(),f=St(),p=$e(s=>i||f.filter()===!1?!0:s.search?s.filtered.groups.has(l):!0);Xe(()=>f.group(l),[]),hi(l,o,[e.value,e.heading,c]);let m=O.useMemo(()=>({id:l,forceMount:i}),[i]);return O.createElement(Ue.div,{ref:wt(o,t),...a,"cmdk-group":"",role:"presentation",hidden:p?void 0:!0},n&&O.createElement("div",{ref:c,"cmdk-group-heading":"","aria-hidden":!0,id:u},n),Ut(e,s=>O.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?u:void 0},O.createElement(fi.Provider,{value:m},s))))}),wl=O.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,i=O.useRef(null),a=$e(l=>!l.search);return!n&&!a?null:O.createElement(Ue.div,{ref:wt(i,t),...r,"cmdk-separator":"",role:"separator"})}),vl=O.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,i=e.value!=null,a=Fn(),l=$e(u=>u.search),o=$e(u=>u.selectedItemId),c=St();return O.useEffect(()=>{e.value!=null&&a.setState("search",e.value)},[e.value]),O.createElement(Ue.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":o,id:c.inputId,type:"text",value:i?e.value:l,onChange:u=>{i||a.setState("search",u.target.value),n==null||n(u.target.value)}})}),kl=O.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...i}=e,a=O.useRef(null),l=O.useRef(null),o=$e(u=>u.selectedItemId),c=St();return O.useEffect(()=>{if(l.current&&a.current){let u=l.current,f=a.current,p,m=new ResizeObserver(()=>{p=requestAnimationFrame(()=>{let s=u.offsetHeight;f.style.setProperty("--cmdk-list-height",s.toFixed(1)+"px")})});return m.observe(u),()=>{cancelAnimationFrame(p),m.unobserve(u)}}},[]),O.createElement(Ue.div,{ref:wt(a,t),...i,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":o,"aria-label":r,id:c.listId},Ut(e,u=>O.createElement("div",{ref:wt(l,c.listInnerRef),"cmdk-list-sizer":""},u)))}),Sl=O.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:i,contentClassName:a,container:l,...o}=e;return O.createElement(na,{open:n,onOpenChange:r},O.createElement(ra,{container:l},O.createElement(ia,{"cmdk-overlay":"",className:i}),O.createElement(aa,{"aria-label":e.label,"cmdk-dialog":"",className:a},O.createElement(pi,{ref:t,...o}))))}),El=O.forwardRef((e,t)=>$e(n=>n.filtered.count===0)?O.createElement(Ue.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Cl=O.forwardRef((e,t)=>{let{progress:n,children:r,label:i="Loading...",...a}=e;return O.createElement(Ue.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},Ut(e,l=>O.createElement("div",{"aria-hidden":!0},l)))}),Cf=Object.assign(pi,{List:kl,Item:xl,Input:vl,Group:bl,Separator:wl,Dialog:Sl,Empty:El,Loading:Cl});function Tl(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function Il(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function di(e){let t=O.useRef(e);return Xe(()=>{t.current=e}),t}var Xe=typeof window>"u"?O.useEffect:O.useLayoutEffect;function et(e){let t=O.useRef();return t.current===void 0&&(t.current=e()),t}function $e(e){let t=Fn(),n=()=>e(t.snapshot());return O.useSyncExternalStore(t.subscribe,n,n)}function hi(e,t,n,r=[]){let i=O.useRef(),a=St();return Xe(()=>{var l;let o=(()=>{var u;for(let f of n){if(typeof f=="string")return f.trim();if(typeof f=="object"&&"current"in f)return f.current?(u=f.current.textContent)==null?void 0:u.trim():i.current}})(),c=r.map(u=>u.trim());a.value(e,o,c),(l=t.current)==null||l.setAttribute(Ze,o),i.current=o}),i}var Al=()=>{let[e,t]=O.useState(),n=et(()=>new Map);return Xe(()=>{n.current.forEach(r=>
2r()),n.current=new Map},[e]),(r,i)=>{n.current.set(r,i),t({})}};function Pl(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function Ut({asChild:e,children:t},n){return e&&O.isValidElement(t)?O.cloneElement(Pl(t),{ref:t.ref},n(t.props.children)):n(t)}var Ol={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function Tf(){}function Rl(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const zl=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ll=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Dl={};function fr(e,t){return(Dl.jsx?Ll:zl).test(e)}const Ml=/[ \t\n\f\r]/g;function Nl(e){return typeof e=="object"?e.type==="text"?pr(e.value):!1:pr(e)}function pr(e){return e.replace(Ml,"")===""}class Et{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Et.prototype.normal={};Et.prototype.property={};Et.prototype.space=void 0;function mi(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Et(n,r,t)}function Cn(e){return e.toLowerCase()}class me{constructor(t,n){this.attribute=n,this.property=t}}me.prototype.attribute="";me.prototype.booleanish=!1;me.prototype.boolean=!1;me.prototype.commaOrSpaceSeparated=!1;me.prototype.commaSeparated=!1;me.prototype.defined=!1;me.prototype.mustUseProperty=!1;me.prototype.number=!1;me.prototype.overloadedBoolean=!1;me.prototype.property="";me.prototype.spaceSeparated=!1;me.prototype.space=void 0;let Fl=0;const H=Qe(),oe=Qe(),Tn=Qe(),k=Qe(),re=Qe(),it=Qe(),xe=Qe();function Qe(){return 2**++Fl}const In=Object.freeze(Object.defineProperty({__proto__:null,boolean:H,booleanish:oe,commaOrSpaceSeparated:xe,commaSeparated:it,number:k,overloadedBoolean:Tn,spaceSeparated:re},Symbol.toStringTag,{value:"Module"})),ln=Object.keys(In);class _n extends me{constructor(t,n,r,i){let a=-1;if(super(t,n),dr(this,"space",i),typeof r=="number")for(;++a<ln.length;){const l=ln[a];dr(this,ln[a],(r&In[l])===In[l])}}}_n.prototype.defined=!0;function dr(e,t,n){n&&(e[t]=n)}function lt(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new _n(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Cn(r)]=r,n[Cn(a.attribute)]=r}return new Et(t,n,e.space)}const gi=lt({properties:{ariaActiveDescendant:null,ariaAtomic:oe,ariaAutoComplete:null,ariaBusy:oe,ariaChecked:oe,ariaColCount:k,ariaColIndex:k,ariaColSpan:k,ariaControls:re,ariaCurrent:null,ariaDescribedBy:re,ariaDetails:null,ariaDisabled:oe,ariaDropEffect:re,ariaErrorMessage:null,ariaExpanded:oe,ariaFlowTo:re,ariaGrabbed:oe,ariaHasPopup:null,ariaHidden:oe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:re,ariaLevel:k,ariaLive:null,ariaModal:oe,ariaMultiLine:oe,ariaMultiSelectable:oe,ariaOrientation:null,ariaOwns:re,ariaPlaceholder:null,ariaPosInSet:k,ariaPressed:oe,ariaReadOnly:oe,ariaRelevant:null,ariaRequired:oe,ariaRoleDescription:re,ariaRowCount:k,ariaRowIndex:k,ariaRowSpan:k,ariaSelected:oe,ariaSetSize:k,ariaSort:null,ariaValueMax:k,ariaValueMin:k,ariaValueNow:k,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function yi(e,t){return t in e?e[t]:t}function xi(e,t){return yi(e,t.toLowerCase())}const _l=lt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:it,acceptCharset:re,accessKey:re,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:re,autoFocus:H,autoPlay:H,blocking:re,capture:null,charSet:null,checked:H,cite:null,className:re,cols:k,colSpan:null,content:null,contentEditable:oe,controls:H,controlsList:re,coords:k|it,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:Tn,draggable:oe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:re,height:k,hidden:Tn,high:k,href:null,hrefLang:null,htmlFor:re,httpEquiv:re,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:re,itemRef:re,itemScope:H,itemType:re,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:k,manifest:null,max:null,maxLength:k,media:null,method:null,min:null,minLength:k,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,onAbort:null,onAfterPrint:null,onAuxCl
2ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:H,optimum:k,pattern:null,ping:re,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:re,required:H,reversed:H,rows:k,rowSpan:k,sandbox:re,scope:null,scoped:H,seamless:H,selected:H,shadowRootClonable:H,shadowRootDelegatesFocus:H,shadowRootMode:null,shape:null,size:k,sizes:null,slot:null,span:k,spellCheck:oe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:k,step:null,style:null,tabIndex:k,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:oe,width:k,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:re,axis:null,background:null,bgColor:null,border:k,borderColor:null,bottomMargin:k,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:k,leftMargin:k,link:null,longDesc:null,lowSrc:null,marginHeight:k,marginWidth:k,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:k,rules:null,scheme:null,scrolling:oe,standby:null,summary:null,text:null,topMargin:k,valueType:null,version:null,vAlign:null,vLink:null,vSpace:k,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:k,security:null,unselectable:null},space:"html",transform:xi}),Bl=lt({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav
2-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:xe,accentHeight:k,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:k,amplitude:k,arabicForm:null,ascent:k,attributeName:null,attributeType:null,azimuth:k,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:k,by:null,calcMode:null,capHeight:k,className:re,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:k,diffuseConstant:k,direction:null,display:null,dur:null,divisor:k,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:k,enableBackground:null,end:null,event:null,exponent:k,externalResourcesRequired:null,fill:null,fillOpacity:k,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:it,g2:it,glyphName:it,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:k,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:k,horizOriginX:k,horizOriginY:k,id:null,ideographic:k,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:k,k,k1:k,k2:k,k3:k,k4:k,kernelMatrix:xe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:k,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:k,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 4,907 bytes, lines 2-3
2Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:k,overlineThickness:k,paintOrder:null,panose1:null,path:null,pathLength:k,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:re,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:k,pointsAtY:k,pointsAtZ:k,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xe,rev:xe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xe,requiredFeatures:xe,requiredFonts:xe,requiredFormats:xe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:k,specularExponent:k,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:k,strikethroughThickness:k,string:null,stroke:null,strokeDashArray:xe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:k,strokeOpacity:k,strokeWidth:null,style:null,surfaceScale:k,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xe,tabIndex:k,tableValues:null,target:null,targetX:k,targetY:k,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:k,underlineThickness:k,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:k,values:null,vAlphabetic:k,vMathematical:k,vectorEffect:null,vHanging:k,vIdeographic:k,version:null,vertAdvY:k,vertOriginX:k,vertOriginY:k,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:k,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:yi}),bi=lt({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),wi=lt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:xi}),vi=lt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),jl={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Hl=/[A-Z]/g,hr=/-[a-z]/g,$l=/^data[-\w.:]+$/i;function Ul(e,t){const n=Cn(t);let r=t,i=me;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&$l.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(hr,ql);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!hr.test(a)){let l=a.replace(Hl,Vl);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=_n}return new i(r,t)}function Vl(e){return"-"+e.toLowerCase()}function ql(e){return e.charAt(1).toUpperCase()}const Yl=mi([gi,_l,bi,wi,vi],"html"),Bn=mi([gi,Bl,bi,wi,vi],"svg");function Kl(e){return e.join(" ").trim()}var jn={},mr=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Wl=/\n/g,Xl=/^\s*/,Ql=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Gl=/^:\s*/,Jl=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Zl=/^[;\s]*/,eo=/^\s+|\s+$/g,to=`
3`,gr="/",yr="*",Ke="",no="comment",ro="declaration";function io(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(b){var w=b.match(Wl);w&&(n+=w.length);var T=b.lastIndexOf(to);r=~T?b.length-T:r+b.length}function a(){var b={line:n,column:r};return function(w){return w.position=new l(b),u(),w}}function l(b){this.start=b,this.end={line:n,column:r},this.source=t.source}l.prototype.content=e;function o(b){var w=new Error(t.source+":"+n+":"+r+": "+b);if(w.reason=b,w.filename=t.source,w.line=n,w.column=r,w.source=e,!t.silent)throw w}function c(b){var w=b.exec(e);if(w){var T=w[0];return i(T),e=e.slice(T.length),w}}function u(){c(Xl)}function f(b){var w;for(b=b||[];w=p();)w!==!1&&b.push(w);return b}function p(){var b=a();if(!(gr!=e.charAt(0)||yr!=e.charAt(1))){for(var w=2;Ke!=e.charAt(w)&&(yr!=e.charAt(w)||gr!=e.charAt(w+1));)++w;if(w+=2,Ke===e.charAt(w-1))return o("End of comment missing");var T=e.slice(2,w-2);return r+=2,i(T),e=e.slice(w),r+=2,b({type:no,comment:T})}}function m(){var b=a(),w=c(Ql);
3if(w){if(p(),!c(Gl))return o("property missing ':'");var T=c(Jl),v=b({type:ro,property:xr(w[0].replace(mr,Ke)),value:T?xr(T[0].replace(mr,Ke)):Ke});return c(Zl),v}}function s(){var b=[];f(b);for(var w;w=m();)w!==!1&&(b.push(w),f(b));return b}return u(),s()}function xr(e){return e?e.replace(eo,Ke):Ke}var ao=io,lo=jt&&jt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jn,"__esModule",{value:!0});jn.default=so;const oo=lo(ao);function so(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,oo.default)(e),i=typeof t=="function";return r.forEach(a=>{if(a.type!=="declaration")return;const{property:l,value:o}=a;i?t(l,o,a):o&&(n=n||{},n[l]=o)}),n}var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.camelCase=void 0;var uo=/^--[a-zA-Z0-9_-]+$/,co=/-([a-z])/g,fo=/^[^-]+$/,po=/^-(webkit|moz|ms|o|khtml)-/,ho=/^-(ms)-/,mo=function(e){return!e||fo.test(e)||uo.test(e)},go=function(e,t){return t.toUpperCase()},br=function(e,t){return"".concat(t,"-")},yo=function(e,t){return t===void 0&&(t={}),mo(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(ho,br):e=e.replace(po,br),e.replace(co,go))};Vt.camelCase=yo;var xo=jt&&jt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},bo=xo(jn),wo=Vt;function An(e,t){var n={};return!e||typeof e!="string"||(0,bo.default)(e,function(r,i){r&&i&&(n[(0,wo.camelCase)(r,t)]=i)}),n}An.default=An;var vo=An;const ko=kt(vo),ki=Si("end"),Hn=Si("start");function Si(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function So(e){const t=Hn(e),n=ki(e);if(t&&n)return{start:t,end:n}}function yt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?wr(e.position):"start"in e||"end"in e?wr(e):"line"in e||"column"in e?Pn(e):""}function Pn(e){return vr(e&&e.line)+":"+vr(e&&e.column)}function wr(e){return Pn(e&&e.start)+"-"+Pn(e&&e.end)}function vr(e){return e&&typeof e=="number"?e:1}class fe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},l=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(l=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?a.ruleId=r:(a.source=r.slice(0,c),a.ruleId=r.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=yt(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=l&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}fe.prototype.file="";fe.prototype.name="";fe.prototype.reason="";fe.prototype.message="";fe.prototype.stack="";fe.prototype.column=void 0;fe.prototype.line=void 0;fe.prototype.ancestors=void 0;fe.prototype.cause=void 0;fe.prototype.fatal=void 0;fe.prototype.place=void 0;fe.prototype.ruleId=void 0;fe.prototype.source=void 0;const $n={}.hasOwnProperty,Eo=new Map,Co=/[A-Z]/g,To=new Set(["table","tbody","thead","tfoot","tr"]),Io=new Set(["td","th"]),Ei="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Ao(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=No(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 93,602 bytes, lines 3-15
3if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Mo(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Bn:Yl,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=Ci(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function Ci(e,t,n){if(t.type==="element")return Po(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Oo(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return zo(e,t,n);if(t.type==="mdxjsEsm")return Ro(e,t);if(t.type==="root")return Lo(e,t,n);if(t.type==="text")return Do(e,t)}function Po(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Bn,e.schema=i),e.ancestors.push(t);const a=Ii(e,t.tagName,!1),l=Fo(e,t);let o=Vn(e,t);return To.has(t.tagName)&&(o=o.filter(function(c){return typeof c=="string"?!Nl(c):!0})),Ti(e,l,a,t),Un(l,o),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}function Oo(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}vt(e,t.position)}function Ro(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);vt(e,t.position)}function zo(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Bn,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:Ii(e,t.name,!0),l=_o(e,t),o=Vn(e,t);return Ti(e,l,a,t),Un(l,o),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}function Lo(e,t,n){const r={};return Un(r,Vn(e,t)),e.create(t,e.Fragment,r,n)}function Do(e,t){return t.value}function Ti(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Un(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Mo(e,t,n){return r;function r(i,a,l,o){const u=Array.isArray(l.children)?n:t;return o?u(a,l,o):u(a,l)}}function No(e,t){return n;function n(r,i,a,l){const o=Array.isArray(a.children),c=Hn(r);return t(i,a,l,o,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function Fo(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&$n.call(t.properties,i)){const a=Bo(e,i,t.properties[i]);if(a){const[l,o]=a;e.tableCellAlignToStyle&&l==="align"&&typeof o=="string"&&Io.has(t.tagName)?r=o:n[l]=o}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function _o(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const l=a.expression;l.type;const o=l.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else vt(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,a=e.evaluater.evaluateExpression(o.expression)}else vt(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Vn(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Eo;for(;++r<t.children.length;){const a=t.children[r];let l;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const u=i.get(c)||0;l=c+"-"+u,i.set(c,u+1)}}const o=Ci(e,a,l);o!==void 0&&n.push(o)}return n}function Bo(e,t,n){const r=Ul(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Rl(n):Kl(n)),r.property==="style"){let i=typeof n=="object"?n:jo(e,String(n));return e.stylePropertyNameCase==="css"&&(i=Ho(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?jl[r.property]||r.property:r.attribute,n]}}function jo(e,t){try{return ko(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new fe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Ei+"#cannot-parse-style-attribute",i}}function Ii(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,l;for(;++a<i.length;){const o=fr(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};l=l?{type:"MemberExpression",object:l,property:o,computed:!!(a&&o.type==="Literal"),optional:!1}:o}r=l}else r=fr(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return $n.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);vt(e)}function vt(e,t){const n=new fe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Ei+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Ho(e){const t={};let n;for(n in e)$n.call(e,n)&&(t[$o(n)]=e[n]);return t}function $o(e){let t=e.replace(Co,Uo);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Uo(e){return"-"+e.toLowerCase()}const on={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Vo={};function qo(e,t){const n=Vo,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ai(e,r,i)}function Ai(e,t,n){if(Yo(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return kr(e.children,t,n)}return Array.isArray(e)?kr(e,t,n):""}function kr(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Ai(e[i],t,n);return r.join("")}function Yo(e){return!!(e&&typeof e=="object")}const Sr=document.createElement("i");function qn(e){const t="&"+e+";";Sr.innerHTML=t;const n=Sr.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Le(e,t,n,r){const i=e.length;let a=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);a<r.length;)l=r.slice(a,a+1e4),l.unshift(t,0),e.splice(...l),a+=1e4,t+=1e4}function ke(e,t){return e.length>0?(Le(e,e.length,0,t),e):t}const Er={}.hasOwnProperty;function Ko(e){const t={};let n=-1;for(;++n<e.length;)Wo(t,e[n]);return t}function Wo(e,t){let n;for(n in t){const i=(Er.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let l;if(a)for(l in a){Er.call(i,l)||(i[l]=[]);const o=a[l];Xo(i[l],Array.isArray(o)?o:o?[o]:[])}}}function Xo(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Le(e,0,0,r)}function Pi(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function at(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ze=Ve(/[A-Za-z]/),be=Ve(/[\dA-Za-z]/),Qo=Ve(/[#-'*+\--9=?A-Z^-~]/);function On(e){return e!==null&&(e<32||e===127)}const Rn=Ve(/\d/),Go=Ve(/[\dA-Fa-f]/),Jo=Ve(/[!-/:-@[-`{-~]/);function F(e){return e!==null&&e<-2}function he(e){return e!==null&&(e<0||e===32)}function G(e){return e===-2||e===-1||e===32}const Zo=Ve(new RegExp("\\p{P}|\\p{S}","u")),es=Ve(/\s/);function Ve(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function ot(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let l="";if(a===37&&be(e.charCodeAt(n+1))&&be(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(l=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(n+1);a<56320&&o>56319&&o<57344?(l=String.fromCharCode(a,o),i=1):l="�"}else l=String.fromCharCode(a);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function ie(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return l;function l(c){return G(c)?(e.enter(n),o(c)):t(c)}function o(c){return G(c)&&a++<i?(e.consume(c),o):(e.exit(n),t(c))}}const ts={tokenize:ns};function ns(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ie(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,l(o)}function l(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return F(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),l)}}const rs={tokenize:is},Cr={tokenize:as};function is(e){const t=this,n=[];let r=0,i,a,l;return o;function o(A){if(r<n.length){const K=n[r];return t.containerState=K[1],e.attempt(K[0].continuation,c,u)(A)}return u(A)}function c(A){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&M();const K=t.events.length;let $=K,y;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){y=t.events[$][1].end;break}v(r);let D=K;for(;D<t.events.length;)t.events[D][1].end={...y},D++;return Le(t.events,$+1,0,t.events.slice(K)),t.events.length=D,u(A)}return o(A)}function u(A){if(r===n.length){if(!i)return m(A);if(i.currentConstruct&&i.currentConstruct.concrete)return b(A);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Cr,f,p)(A)}function f(A){return i&&M(),v(r),m(A)}function p(A){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,b(A)}function m(A){return t.containerState={},e.attempt(Cr,s,b)(A)}function s(A){return r++,n.push([t.currentConstruct,t.containerState]),m(A)}function b(A){if(A===null){i&&M(),v(0),e.consume(A);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),w(A)}function w(A){if(A===null){T(e.exit("chunkFlow"),!0),v(0),e.consume(A);return}return F(A)?(e.consume(A),T(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(A),w)}function T(A,K){const $=t.sliceStream(A);if(K&&$.push(null),A.previous=a,a&&(a.next=A),a=A,i.defineSkip(A.start),i.write($),t.parser.lazy[A.start.line]){let y=i.events.length;for(;y--;)if(i.events[y][1].start.offset<l&&(!i.events[y][1].end||i.events[y][1].end.offset>l))return;const D=t.events.length;let J=D,V,Y;for(;J--;)if(t.events[J][0]==="exit"&&t.events[J][1].type==="chunkFlow"){if(V){Y=t.events[J][1].end;break}V=!0}for(v(r),y=D;y<t.events.length;)t.events[y][1].end={...Y},y++;Le(t.events,J+1,0,t.events.slice(D)),t.events.length=y}}function v(A){let K=n.length;for(;K-- >A;){const $=n[K];t.containerState=$[1],$[0].exit.call(t,e)}n.length=A}function M(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function as(e,t,n){return ie(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Tr(e){if(e===null||he(e)||es(e))return 1;if(Zo(e))return 2}function Yn(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const zn={name:"attention",resolveAll:ls,tokenize:os};function ls(e,t){let n=-1,r,i,a,l,o,c,u,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[r][1].end},m={...e[n][1].start};Ir(p,-c),Ir(m,c),l={type:c>1?"strongSequence":"emphasisSequence",start:p,end:{...e[r][1].end}},o={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},a={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},e[r][1].end={...l.start},e[n][1].start={...o.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=ke(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=ke(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",a,t]]),u=ke(u,Yn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=ke(u,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,u=ke(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Le(e,r-1,n-r+3,u),n=r+u.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function os(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Tr(r);let a;return l;function l(c){return a=c,e.enter("attentionSequence"),o(c)}function o(c){if(c===a)return e.consume(c),o;const u=e.exit("attentionSequence"),f=Tr(c),p=!f||f===2&&i||n.includes(c),m=!i||i===2&&f||n.includes(r);return u._open=!!(a===42?p:p&&(i||!m)),u._close=!!(a===42?m:m&&(f||!p)),t(c)}}function Ir(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ss={name:"autolink",tokenize:us};function us(e,t,n){let r=0;return i;function i(s){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(s),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(s){return ze(s)?(e.consume(s),l):s===64?n(s):u(s)}function l(s){return s===43||s===45||s===46||be(s)?(r=1,o(s)):u(s)}function o(s){return s===58?(e.consume(s),r=0,c):(s===43||s===45||s===46||be(s))&&r++<32?(e.consume(s),o):(r=0,u(s))}function c(s){return s===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(s),e.exit("autolinkMarker"),e.exit("autolink"),t):s===null||s===32||s===60||On(s)?n(s):(e.consume(s),c)}function u(s){return s===64?(e.consume(s),f):Qo(s)?(e.consume(s),u):n(s)}function f(s){return be(s)?p(s):n(s)}function p(s){return s===46?(e.consume(s),r=0,f):s===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(s),e.exit("autolinkMarker"),e.exit("autolink"),t):m(s)}function m(s){if((s===45||be(s))&&r++<63){const b=s===45?m:p;return e.consume(s),b}return n(s)}}const qt={partial:!0,tokenize:cs};function cs(e,t,n){return r;function r(a){return G(a)?ie(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||F(a)?t(a):n(a)}}const Oi={continuation:{tokenize:ps},exit:ds,name:"blockQuote",tokenize:fs};function fs(e,t,n){const r=this;return i;function i(l){if(l===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),a}return n(l)}function a(l){return G(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function ps(e,t,n){const r=this;return i;function i(l){return G(l)?ie(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):a(l)}function a(l){return e.attempt(Oi,t,n)(l)}}function ds(e){e.exit("blockQuote")}const Ri={name:"characterEscape",tokenize:hs};function hs(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return Jo(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const zi={name:"characterReference",tokenize:ms};function ms(e,t,n){const r=this;let i=0,a,l;return o;function o(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),c}function c(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,l=be,f(p))}function u(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,l=Go,f):(e.enter("characterReferenceValue"),a=7,l=Rn,f(p))}function f(p){if(p===59&&i){const m=e.exit("characterReferenceValue");return l===be&&!qn(r.sliceSerialize(m))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(p)&&i++<a?(e.consume(p),f):n(p)}}const Ar={partial:!0,tokenize:ys},Pr={concrete:!0,name:"codeFenced",tokenize:gs};function gs(e,t,n){const r=this,i={partial:!0,tokenize:$};let a=0,l=0,o;return c;function c(y){return u(y)}function u(y){const D=r.events[r.events.length-1];return a=D&&D[1].type==="linePrefix"?D[2].sliceSerialize(D[1],!0).length:0,o=y,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(y)}function f(y){return y===o?(l++,e.consume(y),f):l<3?n(y):(e.exit("codeFencedFenceSequence"),G(y)?ie(e,p,"whitespace")(y):p(y))}function p(y){return y===null||F(y)?(e.exit("codeFencedFence"),r.interrupt?t(y):e.check(Ar,w,K)(y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||F(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(y)):G(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ie(e,s,"whitespace")(y)):y===96&&y===o?n(y):(e.consume(y),m)}function s(y){return y===null||F(y)?p(y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(y))}function b(y){return y===null||F(y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(y)):y===96&&y===o?n(y):(e.consume(y),b)}function w(y){return e.attempt(i,K,T)(y)}function T(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),v}function v(y){return a>0&&G(y)?ie(e,M,"linePrefix",a+1)(y):M(y)}function M(y){return y===null||F(y)?e.check(Ar,w,K)(y):(e.enter("codeFlowValue"),A(y))}function A(y){return y===null||F(y)?(e.exit("codeFlowValue"),M(y)):(e.consume(y),A)}function K(y){return e.exit("codeFenced"),t(y)}function $(y,D,J){let V=0;return Y;function Y(B){return y.enter("lineEnding"),y.consume(B),y.exit("lineEnding"),R}function R(B){return y.enter("codeFencedFence"),G(B)?ie(y,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):P(B)}function P(B){return B===o?(y.enter("codeFencedFenceSequence"),W(B)):J(B)}function W(B){return B===o?(V++,y.consume(B),W):V>=l?(y.exit("codeFencedFenceSequence"),G(B)?ie(y,q,"whitespace")(B):q(B)):J(B)}function q(B){return B===null||F(B)?(y.exit("codeFencedFence"),D(B)):J(B)}}}function ys(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a)}function a(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const sn={name:"codeIndented",tokenize:bs},xs={partial:!0,tokenize:ws};function bs(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),ie(e,a,"linePrefix",5)(u)}function a(u){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(u):n(u)}function l(u){return u===null?c(u):F(u)?e.attempt(xs,l,c)(u):(e.enter("codeFlowValue"),o(u))}function o(u){return u===null||F(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),o)}function c(u){return e.exit("codeIndented"),t(u)}}function ws(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):F(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):ie(e,a,"linePrefix",5)(l)}function a(l){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):F(l)?i(l):n(l)}}const vs={name:"codeText",previous:Ss,resolve:ks,tokenize:Es};function ks(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Ss(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Es(e,t,n){let r=0,i,a;return l;function l(p){return e.enter("codeText"),e.enter("codeTextSequence"),o(p)}function o(p){return p===96?(e.consume(p),r++,o):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(a=e.enter("codeTextSequence"),i=0,f(p)):F(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(p))}function u(p){return p===null||p===32||p===96||F(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),u)}function f(p){return p===96?(e.consume(p),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(a.type="codeTextData",u(p))}}class Cs{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&mt(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),mt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),mt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);mt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);mt(this.left,n.reverse())}}}function mt(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Li(e){const t={};let n=-1,r,i,a,l,o,c,u;const f=new Cs(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Ts(f,n)),n=t[n],u=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(l=f.get(a),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=a);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},o=f.slice(i,n),o.unshift(r),f.splice(i,n-i+1,o))}}return Le(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!u}function Ts(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const o=l.events,c=[],u={};let f,p,m=-1,s=n,b=0,w=0;const T=[w];for(;s;){for(;e.get(++i)[1]!==s;);a.push(i),s._tokenizer||(f=r.sliceStream(s),s.next||f.push(null),p&&l.defineSkip(s.start),s._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),s._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),p=s,s=s.next}for(s=n;++m<o.length;)o[m][0]==="exit"&&o[m-1][0]==="enter"&&o[m][1].type===o[m-1][1].type&&o[m][1].start.line!==o[m][1].end.line&&(w=m+1,T.push(w),s._tokenizer=void 0,s.previous=void 0,s=s.next);for(l.events=[],s?(s._tokenizer=void 0,s.previous=void 0):T.pop(),m=T.length;m--;){const v=o.slice(T[m],T[m+1]),M=a.pop();c.push([M,M+v.length-1]),e.splice(M,2,v)}for(c.reverse(),m=-1;++m<c.length;)u[b+c[m][0]]=b+c[m][1],b+=c[m][1]-c[m][0]-1;return u}const Is={resolve:Ps,tokenize:Os},As={partial:!0,tokenize:Rs};function Ps(e){return Li(e),e}function Os(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):F(o)?e.check(As,l,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function l(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Rs(e,t,n){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ie(e,a,"linePrefix")}function a(l){if(l===null||F(l))return n(l);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function Di(e,t,n,r,i,a,l,o,c){const u=c||Number.POSITIVE_INFINITY;let f=0;return p;function p(v){return v===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(v),e.exit(a),m):v===null||v===32||v===41||On(v)?n(v):(e.enter(r),e.enter(l),e.enter(o),e.enter("chunkString",{contentType:"string"}),w(v))}function m(v){return v===62?(e.enter(a),e.consume(v),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),s(v))}function s(v){return v===62?(e.exit("chunkString"),e.exit(o),m(v)):v===null||v===60||F(v)?n(v):(e.consume(v),v===92?b:s)}function b(v){return v===60||v===62||v===92?(e.consume(v),s):s(v)}function w(v){return!f&&(v===null||v===41||he(v))?(e.exit("chunkString"),e.exit(o),e.exit(l),e.exit(r),t(v)):f<u&&v===40?(e.consume(v),f++,w):v===41?(e.consume(v),f--,w):v===null||v===32||v===40||On(v)?n(v):(e.consume(v),v===92?T:w)}function T(v){return v===40||v===41||v===92?(e.consume(v),w):w(v)}}function Mi(e,t,n,r,i,a){const l=this;let o=0,c;return u;function u(s){return e.enter(r),e.enter(i),e.consume(s),e.exit(i),e.enter(a),f}function f(s){return o>999||s===null||s===91||s===93&&!c||s===94&&!o&&"_hiddenFootnoteSupport"in l.parser.constructs?n(s):s===93?(e.exit(a),e.enter(i),e.consume(s),e.exit(i),e.exit(r),t):F(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),p(s))}function p(s){return s===null||s===91||s===93||F(s)||o++>999?(e.exit("chunkString"),f(s)):(e.consume(s),c||(c=!G(s)),s===92?m:p)}function m(s){return s===91||s===92||s===93?(e.consume(s),o++,p):p(s)}}function Ni(e,t,n,r,i,a){let l;return o;function o(m){return m===34||m===39||m===40?(e.enter(r),e.enter(i),e.consume(m),e.exit(i),l=m===40?41:m,c):n(m)}function c(m){return m===l?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):(e.enter(a),u(m))}function u(m){return m===l?(e.exit(a),c(l)):m===null?n(m):F(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),ie(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===l||m===null||F(m)?(e.exit("chunkString"),u(m)):(e.consume(m),m===92?p:f)}function p(m){return m===l||m===92?(e.consume(m),f):f(m)}}function xt(e,t){let n;return r;function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):G(i)?ie(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const zs={name:"definition",tokenize:Ds},Ls={partial:!0,tokenize:Ms};function Ds(e,t,n){const r=this;let i;return a;function a(s){return e.enter("definition"),l(s)}function l(s){return Mi.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(s)}function o(s){return i=at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),s===58?(e.enter("definitionMarker"),e.consume(s),e.exit("definitionMarker"),c):n(s)}function c(s){return he(s)?xt(e,u)(s):u(s)}function u(s){return Di(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(s)}function f(s){return e.attempt(Ls,p,p)(s)}function p(s){return G(s)?ie(e,m,"whitespace")(s):m(s)}function m(s){return s===null||F(s)?(e.exit("definition"),r.parser.defined.push(i),t(s)):n(s)}}function Ms(e,t,n){return r;function r(o){return he(o)?xt(e,i)(o):n(o)}function i(o){return Ni(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return G(o)?ie(e,l,"whitespace")(o):l(o)}function l(o){return o===null||F(o)?t(o):n(o)}}const Ns={name:"hardBreakEscape",tokenize:Fs};function Fs(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return F(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const _s={name:"headingAtx",resolve:Bs,tokenize:js};function Bs(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Le(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function js(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),a(f)}function a(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&r++<6?(e.consume(f),l):f===null||he(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),c(f)):f===null||F(f)?(e.exit("atxHeading"),t(f)):G(f)?ie(e,o,"whitespace")(f):(e.enter("atxHeadingText"),u(f))}function c(f){return f===35?(e.consume(f),c):(e.exit("atxHeadingSequence"),o(f))}function u(f){return f===null||f===35||he(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),u)}}const Hs=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Or=["pre","script","style","textarea"],$s={concrete:!0,name:"htmlFlow",resolveTo:qs,tokenize:Ys},Us={partial:!0,tokenize:Ws},Vs={partial:!0,tokenize:Ks};function qs(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Ys(e,t,n){const r=this;let i,a,l,o,c;return u;function u(d){return f(d)}function f(d){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(d),p}function p(d){return d===33?(e.consume(d),m):d===47?(e.consume(d),a=!0,w):d===63?(e.consume(d),i=3,r.interrupt?t:h):ze(d)?(e.consume(d),l=String.fromCharCode(d),T):n(d)}function m(d){return d===45?(e.consume(d),i=2,s):d===91?(e.consume(d),i=5,o=0,b):ze(d)?(e.consume(d),i=4,r.interrupt?t:h):n(d)}function s(d){return d===45?(e.consume(d),r.interrupt?t:h):n(d)}function b(d){const I="CDATA[";return d===I.charCodeAt(o++)?(e.consume(d),o===I.length?r.interrupt?t:P:b):n(d)}function w(d){return ze(d)?(e.consume(d),l=String.fromCharCode(d),T):n(d)}function T(d){if(d===null||d===47||d===62||he(d)){const I=d===47,C=l.toLowerCase();return!I&&!a&&Or.includes(C)?(i=1,r.interrupt?t(d):P(d)):Hs.includes(l.toLowerCase())?(i=6,I?(e.consume(d),v):r.interrupt?t(d):P(d)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(d):a?M(d):A(d))}return d===45||be(d)?(e.consume(d),l+=String.fromCharCode(d),T):n(d)}function v(d){return d===62?(e.consume(d),r.interrupt?t:P):n(d)}function M(d){return G(d)?(e.consume(d),M):Y(d)}function A(d){return d===47?(e.consume(d),Y):d===58||d===95||ze(d)?(e.consume(d),K):G(d)?(e.consume(d),A):Y(d)}function K(d){return d===45||d===46||d===58||d===95||be(d)?(e.consume(d),K):$(d)}function $(d){return d===61?(e.consume(d),y):G(d)?(e.consume(d),$):A(d)}function y(d){return d===null||d===60||d===61||d===62||d===96?n(d):d===34||d===39?(e.consume(d),c=d,D):G(d)?(e.consume(d),y):J(d)}function D(d){return d===c?(e.consume(d),c=null,V):d===null||F(d)?n(d):(e.consume(d),D)}function J(d){return d===null||d===34||d===39||d===47||d===60||d===61||d===62||d===96||he(d)?$(d):(e.consume(d),J)}function V(d){return d===47||d===62||G(d)?A(d):n(d)}function Y(d){return d===62?(e.consume(d),R):n(d)}function R(d){return d===null||F(d)?P(d):G(d)?(e.consume(d),R):n(d)}function P(d){return d===45&&i===2?(e.consume(d),Z):d===60&&i===1?(e.consume(d),Q):d===62&&i===4?(e.consume(d),ue):d===63&&i===3?(e.consume(d),h):d===93&&i===5?(e.consume(d),N):F(d)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Us,x,W)(d)):d===null||F(d)?(e.exit("htmlFlowData"),W(d)):(e.consume(d),P)}function W(d){return e.check(Vs,q,x)(d)}function q(d){return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),B}function B(d){return d===null||F(d)?W(d):(e.enter("htmlFlowData"),P(d))}function Z(d){return d===45?(e.consume(d),h):P(d)}function Q(d){return d===47?(e.consume(d),l="",se):P(d)}function se(d){if(d===62){const I=l.toLowerCase();return Or.includes(I)?(e.consume(d),ue):P(d)}return ze(d)&&l.length<8?(e.consume(d),l+=String.fromCharCode(d),se):P(d)}function N(d){return d===93?(e.consume(d),h):P(d)}function h(d){return d===62?(e.consume(d),ue):d===45&&i===2?(e.consume(d),h):P(d)}function ue(d){return d===null||F(d)?(e.exit("htmlFlowData"),x(d)):(e.consume(d),ue)}function x(d){return e.exit("htmlFlow"),t(d)}}function Ks(e,t,n){const r=this;return i;function i(l){return F(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):n(l)}function a(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function Ws(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(qt,t,n)}}const Xs={name:"htmlText",tokenize:Qs};function Qs(e,t,n){const r=this;let i,a,l;return o;function o(h){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(h),c}function c(h){return h===33?(e.consume(h),u):h===47?(e.consume(h),$):h===63?(e.consume(h),A):ze(h)?(e.consume(h),J):n(h)}function u(h){return h===45?(e.consume(h),f):h===91?(e.consume(h),a=0,b):ze(h)?(e.consume(h),M):n(h)}function f(h){return h===45?(e.consume(h),s):n(h)}function p(h){return h===null?n(h):h===45?(e.consume(h),m):F(h)?(l=p,Q(h)):(e.consume(h),p)}function m(h){return h===45?(e.consume(h),s):p(h)}function s(h){return h===62?Z(h):h===45?m(h):p(h)}function b(h){const ue="CDATA[";return h===ue.charCodeAt(a++)?(e.consume(h),a===ue.length?w:b):n(h)}function w(h){return h===null?n(h):h===93?(e.consume(h),T):F(h)?(l=w,Q(h)):(e.consume(h),w)}function T(h){return h===93?(e.consume(h),v):w(h)}function v(h){return h===62?Z(h):h===93?(e.consume(h),v):w(h)}function M(h){return h===null||h===62?Z(h):F(h)?(l=M,Q(h)):(e.consume(h),M)}function A(h){return h===null?n(h):h===63?(e.consume(h),K):F(h)?(l=A,Q(h)):(e.consume(h),A)}function K(h){return h===62?Z(h):A(h)}function $(h){return ze(h)?(e.consume(h),y):n(h)}function y(h){return h===45||be(h)?(e.consume(h),y):D(h)}function D(h){return F(h)?(l=D,Q(h)):G(h)?(e.consume(h),D):Z(h)}function J(h){return h===45||be(h)?(e.consume(h),J):h===47||h===62||he(h)?V(h):n(h)}function V(h){return h===47?(e.consume(h),Z):h===58||h===95||ze(h)?(e.consume(h),Y):F(h)?(l=V,Q(h)):G(h)?(e.consume(h),V):Z(h)}function Y(h){return h===45||h===46||h===58||h===95||be(h)?(e.consume(h),Y):R(h)}function R(h){return h===61?(e.consume(h),P):F(h)?(l=R,Q(h)):G(h)?(e.consume(h),R):V(h)}function P(h){return h===null||h===60||h===61||h===62||h===96?n(h):h===34||h===39?(e.consume(h),i=h,W):F(h)?(l=P,Q(h)):G(h)?(e.consume(h),P):(e.consume(h),q)}function W(h){return h===i?(e.consume(h),i=void 0,B):h===null?n(h):F(h)?(l=W,Q(h)):(e.consume(h),W)}function q(h){return h===null||h===34||h===39||h===60||h===61||h===96?n(h):h===47||h===62||he(h)?V(h):(e.consume(h),q)}function B(h){return h===47||h===62||he(h)?V(h):n(h)}function Z(h){return h===62?(e.consume(h),e.exit("htmlTextData"),e.exit("htmlText"),t):n(h)}function Q(h){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),se}function se(h){return G(h)?ie(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):N(h)}function N(h){return e.enter("htmlTextData"),l(h)}}const Kn={name:"labelEnd",resolveAll:eu,resolveTo:tu,tokenize:nu},Gs={tokenize:ru},Js={tokenize:iu},Zs={tokenize:au};function eu(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Le(e,0,e.length,n),e}function tu(e,t){let n=e.length,r=0,i,a,l,o;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[l][1].end}},f={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[l-2][1].start}};return o=[["enter",c,t],["enter",u,t]],o=ke(o,e.slice(a+1,a+r+3)),o=ke(o,[["enter",f,t]]),o=ke(o,Yn(t.parser.constructs.insideSpan.null,e.slice(a+r+4,l-3),t)),o=ke(o,[["exit",f,t],e[l-2],e[l-1],["exit",u,t]]),o=ke(o,e.slice(l+1)),o=ke(o,[["exit",c,t]]),Le(e,a,e.length,o),e}function nu(e,t,n){const r=this;let i=r.events.length,a,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return o;function o(m){return a?a._inactive?p(m):(l=r.parser.defined.includes(at(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),c):n(m)}function c(m){return m===40?e.attempt(Gs,f,l?f:p)(m):m===91?e.attempt(Js,f,l?u:p)(m):l?f(m):p(m)}function u(m){return e.attempt(Zs,f,p)(m)}function f(m){return t(m)}function p(m){return a._balanced=!0,n(m)}}function ru(e,t,n){return r;function r(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),i}function i(p){return he(p)?xt(e,a)(p):a(p)}function a(p){return p===41?f(p):Di(e,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function l(p){return he(p)?xt(e,c)(p):f(p)}function o(p){return n(p)}function c(p){return p===34||p===39||p===40?Ni(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):f(p)}function u(p){return he(p)?xt(e,f)(p):f(p)}function f(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function iu(e,t,n){const r=this;return i;function i(o){return Mi.call(r,e,a,l,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function l(o){return n(o)}}function au(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const lu={name:"labelStartImage",resolveAll:Kn.resolveAll,tokenize:ou};function ou(e,t,n){const r=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),l):n(o)}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const su={name:"labelStartLink",resolveAll:Kn.resolveAll,tokenize:uu};function uu(e,t,n){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const un={name:"lineEnding",tokenize:cu};function cu(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ie(e,t,"linePrefix")}}const _t={name:"thematicBreak",tokenize:fu};function fu(e,t,n){let r=0,i;return a;function a(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,o(u)}function o(u){return u===i?(e.enter("thematicBreakSequence"),c(u)):r>=3&&(u===null||F(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===i?(e.consume(u),r++,c):(e.exit("thematicBreakSequence"),G(u)?ie(e,o,"whitespace")(u):o(u))}}const pe={continuation:{tokenize:mu},exit:yu,name:"list",tokenize:hu},pu={partial:!0,tokenize:xu},du={partial:!0,tokenize:gu};function hu(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return o;function o(s){const b=r.containerState.type||(s===42||s===43||s===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||s===r.containerState.marker:Rn(s)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),s===42||s===45?e.check(_t,n,u)(s):u(s);if(!r.interrupt||s===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(s)}return n(s)}function c(s){return Rn(s)&&++l<10?(e.consume(s),c):(!r.interrupt||l<2)&&(r.containerState.marker?s===r.containerState.marker:s===41||s===46)?(e.exit("listItemValue"),u(s)):n(s)}function u(s){return e.enter("listItemMarker"),e.consume(s),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||s,e.check(qt,r.interrupt?n:f,e.attempt(pu,m,p))}function f(s){return r.containerState.initialBlankLine=!0,a++,m(s)}function p(s){return G(s)?(e.enter("listItemPrefixWhitespace"),e.consume(s),e.exit("listItemPrefixWhitespace"),m):n(s)}function m(s){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(s)}}function mu(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(qt,i,a);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ie(e,t,"listItemIndent",r.containerState.size+1)(o)}function a(o){return r.containerState.furtherBlankLines||!G(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(du,t,l)(o))}function l(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ie(e,e.attempt(pe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function gu(e,t,n){const r=this;return ie(e,i,"listItemIndent",r.containerState.size+1);function i(a){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(a):n(a)}}function yu(e){e.exit(this.containerState.type)}function xu(e,t,n){const r=this;return ie(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const l=r.events[r.events.length-1];return!G(a)&&l&&l[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Rr={name:"setextUnderline",resolveTo:bu,tokenize:wu};function bu(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",l,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function wu(e,t,n){const r=this;let i;return a;function a(u){let f=r.events.length,p;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){p=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter("setextHeadingLine"),i=u,l(u)):n(u)}function l(u){return e.enter("setextHeadingLineSequence"),o(u)}function o(u){return u===i?(e.consume(u),o):(e.exit("setextHeadingLineSequence"),G(u)?ie(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||F(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const vu={tokenize:ku};function ku(e){const t=this,n=e.attempt(qt,r,e.attempt(this.parser.constructs.flowInitial,i,ie(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Is,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Su={resolveAll:_i()},Eu=Fi("string"),Cu=Fi("text");function Fi(e){return{resolveAll:_i(e==="text"?Tu:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,l,o);return l;function l(f){return u(f)?a(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),c}function c(f){return u(f)?(n.exit("data"),a(f)):(n.consume(f),c)}function u(f){if(f===null)return!0;const p=i[f];let m=-1;if(p)for(;++m<p.length;){const s=p[m];if(!s.previous||s.previous.call(r,r.previous))return!0}return!1}}}function _i(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function Tu(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,l=-1,o=0,c;for(;a--;){const u=i[a];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)o++,l--;if(l)break;l=-1}else if(u===-2)c=!0,o++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const u={type:n===e.length||c||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:r.start._bufferIndex+l,_index:r.start._index+a,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const Iu={42:pe,43:pe,45:pe,48:pe,49:pe,50:pe,51:pe,52:pe,53:pe,54:pe,55:pe,56:pe,57:pe,62:Oi},Au={91:zs},Pu={[-2]:sn,[-1]:sn,32:sn},Ou={35:_s,42:_t,45:[Rr,_t],60:$s,61:Rr,95:_t,96:Pr,126:Pr},Ru={38:zi,92:Ri},zu={[-5]:un,[-4]:un,[-3]:un,33:lu,38:zi,42:zn,60:[ss,Xs],91:su,92:[Ns,Ri],93:Kn,95:zn,96:vs},Lu={null:[zn,Su]},Du={null:[42,95]},Mu={null:[]},Nu=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Du,contentInitial:Au,disable:Mu,document:Iu,flow:Ou,flowInitial:Pu,insideSpan:Lu,string:Ru,text:zu},Symbol.toStringTag,{value:"Module"}));function Fu(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let l=[],o=[];const c={attempt:D($),check:D(y),consume:M,enter:A,exit:K,interrupt:D(y,{interrupt:!0})},u={code:null,containerState:{},defineSkip:w,events:[],now:b,parser:e,previous:null,sliceSerialize:m,sliceStream:s,write:p};let f=t.tokenize.call(u,c);return t.resolveAll&&a.push(t),u;function p(R){return l=ke(l,R),T(),l[l.length-1]!==null?[]:(J(t,0),u.events=Yn(a,u.events,u),u.events)}function m(R,P){return Bu(s(R),P)}function s(R){return _u(l,R)}function b(){const{_bufferIndex:R,_index:P,line:W,column:q,offset:B}=r;return{_bufferIndex:R,_index:P,line:W,column:q,offset:B}}function w(R){i[R.line]=R.column,Y()}function T(){let R;for(;r._index<l.length;){const P=l[r._index];if(typeof P=="string")for(R=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===R&&r._bufferIndex<P.length;)v(P.charCodeAt(r._bufferIndex));else v(P)}}function v(R){f=f(R)}function M(R){F(R)?(r.line++,r.column=1,r.offset+=R===-3?2:1,Y()):R!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=R}function A(R,P){const W=P||{};return W.type=R,W.start=b(),u.events.push(["enter",W,u]),o.push(W),W}function K(R){const P=o.pop();return P.end=b(),u.events.push(["exit",P,u]),P}function $(R,P){J(R,P.from)}function y(R,P){P.restore()}function D(R,P){return W;function W(q,B,Z){let Q,se,N,h;return Array.isArray(q)?x(q):"tokenize"in q?x([q]):ue(q);function ue(z){return L;function L(ne){const ee=ne!==null&&z[ne],ce=ne!==null&&z.null,Pe=[...Array.isArray(ee)?ee:ee?[ee]:[],...Array.isArray(ce)?ce:ce?[ce]:[]];return x(Pe)(ne)}}function x(z){return Q=z,se=0,z.length===0?Z:d(z[se])}function d(z){return L;function L(ne){return h=V(),N=z,z.partial||(u.currentConstruct=z),z.name&&u.parser.constructs.disable.null.includes(z.name)?C():z.tokenize.call(P?Object.assign(Object.create(u),P):u,c,I,C)(ne)}}function I(z){return R(N,h),B}function C(z){return h.restore(),++se<Q.length?d(Q[se]):Z}}}function J(R,P){R.resolveAll&&!a.includes(R)&&a.push(R),R.resolve&&Le(u.events,P,u.events.length-P,R.resolve(u.events.slice(P),u)),R.resolveTo&&(u.events=R.resolveTo(u.events,u))}function V(){const R=b(),P=u.previous,W=u.currentConstruct,q=u.events.length,B=Array.from(o);return{from:q,restore:Z};function Z(){r=R,u.previous=P,u.currentConstruct=W,u.events.length=q,o=B,Y()}}function Y(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function _u(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,a)];else{if(l=e.slice(n,i),r>-1){const o=l[0];typeof o=="string"?l[0]=o.slice(r):l.shift()}a>0&&l.push(e[i].slice(0,a))}return l}function Bu(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
4`;break}case-3:{l=`\r
5`;break}case-2:{l=t?" ":"	";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(a)}i=a===-2,r.push(l)}return r.join("")}function ju(e){const r={constructs:Ko([Nu,...(e||{}).extensions||[]]),content:i(ts),defined:[],document:i(rs),flow:i(vu),lazy:{},string:i(Eu),text:i(Cu)};return r;function i(a){return l;function l(o){return Fu(r,a,o)}}}function Hu(e){for(;!Li(e););return e}const zr=/[\0\t\n\r]/g;function $u(){let e=1,t="",n=!0,r;return i;function i(a,l,o){const c=[];let u,f,p,m,s;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(l||void 0).decode(a)),p=0,t="",n&&(a.charCodeAt(0)===65279&&p++,n=void 0);p<a.length;){if(zr.lastIndex=p,u=zr.exec(a),m=u&&u.index!==void 0?u.index:a.length,s=a.charCodeAt(m),!u){t=a.slice(p);break}if(s===10&&p===m&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),p<m&&(c.push(a.slice(p,m)),e+=m-p),s){case 0:{c.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,c.push(-2);e++<f;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}p=m+1}return o&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const Uu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Vu(e){return e.replace(Uu,qu)}function qu(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Pi(n.slice(a?2:1),a?16:10)}return qn(n)||e}const Bi={}.hasOwnProperty;function Yu(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Ku(n)(Hu(ju(n).document().write($u()(e,t,!0))))}function Ku(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Pt),autolinkProtocol:V,autolinkEmail:V,atxHeading:a(It),blockQuote:a(ce),characterEscape:V,characterReference:V,codeFenced:a(Pe),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(Pe,l),codeText:a(st,l),codeTextData:V,data:V,codeFlowValue:V,definition:a(Tt),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(Wt),hardBreakEscape:a(ut),hardBreakTrailing:a(ut),htmlFlow:a(At,l),htmlFlowData:V,htmlText:a(At,l),htmlTextData:V,image:a(ct),label:l,link:a(Pt),listItem:a(qe),listItemValue:m,listOrdered:a(ft,p),listUnordered:a(ft),paragraph:a(Ot),reference:d,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(It),strong:a(De),thematicBreak:a(Qt)},exit:{atxHeading:c(),atxHeadingSequence:$,autolink:c(),autolinkEmail:ee,autolinkProtocol:ne,blockQuote:c(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:C,characterReferenceMarkerNumeric:C,characterReferenceValue:z,characterReference:L,codeFenced:c(T),codeFencedFence:w,codeFencedFenceInfo:s,codeFencedFenceMeta:b,codeFlowValue:Y,codeIndented:c(v),codeText:c(B),codeTextData:Y,data:Y,definition:c(),definitionDestinationString:K,definitionLabelString:M,definitionTitleString:A,emphasis:c(),hardBreakEscape:c(P),hardBreakTrailing:c(P),htmlFlow:c(W),htmlFlowData:Y,htmlText:c(q),htmlTextData:Y,image:c(Q),label:N,labelText:se,lineEnding:R,link:c(Z),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:I,resourceDestinationString:h,resourceTitleString:ue,resource:x,setextHeading:c(J),setextHeadingLineSequence:D,setextHeadingText:y,strong:c(),thematicBreak:c()}};ji(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(g){let S={type:"root",children:[]};const _={stack:[S],tokenStack:[],config:t,enter:o,exit:u,buffer:l,resume:f,data:n},U=[];let X=-1;for(;++X<g.length;)if(g[X][1].type==="listOrdered"||g[X][1].type==="listUnordered")if(g[X][0]==="enter")U.push(X);else{const ge=U.pop();X=i(g,ge,X)}for(X=-1;++X<g.length;){const ge=t[g[X][0]];Bi.call(ge,g[X][1].type)&&ge[g[X][1].type].call(Object.assign({sliceSerialize:g[X][2].sliceSerialize},_),g[X][1])}if(_.tokenStack.length>0){const ge=_.tokenStack[_.tokenStack.length-1];(ge[1]||Lr).call(_,void 0,ge[0])}for(S.position={start:He(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:He(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X<t.transforms.length;)S=t.transforms[X](S)||S;return S}function i(g,S,_){let U=S-1,X=-1,ge=!1,Oe,ye,we,Ne;for(;++U<=_;){const le=g[U];switch(le[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{le[0]==="enter"?X++:X--,Ne=void 0;break}case"lineEndingBlank":{le[0]==="enter"&&(Oe&&!Ne&&!X&&!we&&(we=U),Ne=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ne=void 0}if(!X&&le[0]==="enter"&&le[1].type==="listItemPrefix"||X===-1&&le[0]==="exit"&&(le[1].type==="listUnordered"||le[1].type==="listOrdered")){if(Oe){let Fe=U;for(ye=void 0;Fe--;){const Se=g[Fe];if(Se[1].type==="lineEnding"||Se[1].type==="lineEndingBlank"){if(Se[0]==="exit")continue;ye&&(g[ye][1].type="lineEndingBlank",ge=!0),Se[1].type="lineEnding",ye=Fe}else if(!(Se[1].type==="linePrefix"||Se[1].type==="blockQuotePrefix"||Se[1].type==="blockQuotePrefixWhitespace"||Se[1].type==="blockQuoteMarker"||Se[1].type==="listItemIndent"))break}we&&(!ye||we<ye)&&(Oe._spread=!0),Oe.end=Object.assign({},ye?g[ye][1].start:le[1].end),g.splice(ye||U,0,["exit",Oe,le[2]]),U++,_++}if(le[1].type==="listItemPrefix"){const Fe={type:"listItem",_spread:!1,start:Object.assign({},le[1].start),end:void 0};Oe=Fe,g.splice(U,0,["enter",Fe,le[2]]),U++,_++,we=void 0,Ne=!0}}}return g[S][1]._spread=ge,_}function a(g,S){return _;function _(U){o.call(this,g(U),U),S&&S.call(this,U)}}function l(){this.stack.push({type:"fragment",children:[]})}function o(g,S,_){this.stack[this.stack.length-1].children.push(g),this.stack.push(g),this.tokenStack.push([S,_||void 0]),g.position={start:He(S.start),end:void 0}}function c(g){return S;function S(_){g&&g.call(this,_),u.call(this,_)}}function u(g,S){const _=this.stack.pop(),U=this.tokenStack.pop();if(U)U[0].type!==g.type&&(S?S.call(this,g,U[0]):(U[1]||Lr).call(this,g,U[0]));else throw new Error("Cannot close `"+g.type+"` ("+yt({start:g.start,end:g.end})+"): it’s not open");_.position.end=He(g.end)}function f(){return qo(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function m(g){if(this.data.expectingFirstListItemValue){const S=this.stack[this.stack.length-2];S.start=Number.parseInt(this.sliceSerialize(g),10),this.data.expectingFirstListItemValue=void 0}}function s(){const g=this.resume(),S=this.stack[this.stack.length-1];S.lang=g}function b(){const g=this.resume(),S=this.stack[this.stack.length-1];S.meta=g}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/(\r?\n|\r)$/g,"")}function M(g){const S=this.resume(),_=this.stack[this.stack.length-1];_.label=S,_.identifier=at(this.sliceSerialize(g)).toLowerCase()}function A(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function K(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function $(g){const S=this.stack[this.stack.length-1];if(!S.depth){const _=this.sliceSerialize(g).length;S.depth=_}}function y(){this.data.setextHeadingSlurpLineEnding=!0}function D(g){const S=this.stack[this.stack.length-1];S.depth=this.sliceSerialize(g).codePointAt(0)===61?1:2}function J(){this.data.setextHeadingSlurpLineEnding=void 0}function V(g){const _=this.stack[this.stack.length-1].children;let U=_[_.length-1];(!U||U.type!=="text")&&(U=Xt(),U.position={start:He(g.start),end:void 0},_.push(U)),this.stack.push(U)}function Y(g){const S=this.stack.pop();S.value+=this.sliceSerialize(g),S.position.end=He(g.end)}function R(g){const S=this.stack[this.stack.length-1];if(this.data.atHardBreak){const _=S.children[S.children.length-1];_.position.end=He(g.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(S.type)&&(V.call(this,g),Y.call(this,g))}function P(){this.data.atHardBreak=!0}function W(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function q(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function B(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function Z(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function Q(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function se(g){const S=this.sliceSerialize(g),_=this.stack[this.stack.length-2];_.label=Vu(S),_.identifier=at(S).toLowerCase()}function N(){const g=this.stack[this.stack.length-1],S=this.resume(),_=this.stack[this.stack.length-1];if(this.data.inReference=!0,_.type==="link"){const U=g.children;_.children=U}else _.alt=S}function h(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function ue(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function x(){this.data.inReference=void 0}function d(){this.data.referenceType="collapsed"}function I(g){const S=this.resume(),_=this.stack[this.stack.length-1];_.label=S,_.identifier=at(this.sliceSerialize(g)).toLowerCase(),this.data.referenceType="full"}function C(g){this.data.characterReferenceType=g.type}function z(g){const S=this.sliceSerialize(g),_=this.data.characterReferenceType;let U;_?(U=Pi(S,_==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):U=qn(S);const X=this.stack[this.stack.length-1];X.value+=U}function L(g){const S=this.stack.pop();S.position.end=He(g.end)}function ne(g){Y.call(this,g);const S=this.stack[this.stack.length-1];S.url=this.sliceSerialize(g)}function ee(g){Y.call(this,g);const S=this.stack[this.stack.length-1];S.url="mailto:"+this.sliceSerialize(g)}function ce(){return{type:"blockquote",children:[]}}function Pe(){return{type:"code",lang:null,meta:null,value:""}}function st(){return{type:"inlineCode",value:""}}function Tt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Wt(){return{type:"emphasis",children:[]}}function It(){return{type:"heading",depth:0,children:[]}}function ut(){return{type:"break"}}function At(){return{type:"html",value:""}}function ct(){return{type:"image",title:null,url:"",alt:null}}function Pt(){return{type:"link",title:null,url:"",children:[]}}function ft(g){return{type:"list",ordered:g.type==="listOrdered",start:null,spread:g._spread,children:[]}}function qe(g){return{type:"listItem",spread:g._spread,checked:null,children:[]}}function Ot(){return{type:"paragraph",children:[]}}function De(){return{type:"strong",children:[]}}function Xt(){return{type:"text",value:""}}function Qt(){return{type:"thematicBreak"}}}function He(e){return{line:e.line,column:e.column,offset:e.offset}}function ji(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?ji(e,r):Wu(e,r)}}function Wu(e,t){let n;for(n in t)if(Bi.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Lr(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+yt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+yt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+yt({start:t.start,end:t.end})+") is still open")}function Xu(e){const t=this;t.parser=n;function n(r){return Yu(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Qu(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Gu(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
6`}]}function Ju(e,t){const n=t.value?t.value+`
7`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function Zu(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ec(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function tc(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=ot(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let l,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=a+1,o+=1,e.footnoteCounts.set(r,o);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,c);const u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,u),e.applyData(t,u)}function nc(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function rc(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Hi(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function ic(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hi(e,t);const i={src:ot(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function ac(e,t){const n={src:ot(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function lc(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function oc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hi(e,t);const i={href:ot(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function sc(e,t){const n={href:ot(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function uc(e,t,n){const r=e.all(t),i=n?cc(n):$i(t),a={},l=[];if(typeof t.checked=="boolean"){const f=r[0];let p;f&&f.type==="element"&&f.tagName==="p"?p=f:(p={type:"element",tagName:"p",properties:{},children:[]},r.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const f=r[o];(i||o!==0||f.type!=="element"||f.tagName!=="p")&&l.push({type:"text",value:`
8`}),f.type==="element"&&f.tagName==="p"&&!i?l.push(...f.children):l.push(f)}const c=r[r.length-1];c&&(i||c.type!=="element"||c.tagName!=="p")&&l.push({type:"text",value:`
9`});const u={type:"element",tagName:"li",properties:a,children:l};return e.patch(t,u),e.applyData(t,u)}function cc(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=$i(n[r])}return t}function $i(e){const t=e.spread;return t??e.children.length>1}function fc(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const l=r[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function pc(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function dc(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function hc(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function mc(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Hn(t.children[1]),c=ki(t.children[t.children.length-1]);o&&c&&(l.position={start:o,end:c}),i.push(l)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function gc(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,o=l?l.length:t.children.length;let c=-1;const u=[];for(;++c<o;){const p=t.children[c],m={},s=l?l[c]:void 0;s&&(m.align=s);let b={type:"element",tagName:a,properties:m,children:[]};p&&(b.children=e.all(p),e.patch(p,b),b=e.applyData(p,b)),u.push(b)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,f),e.applyData(t,f)}function yc(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Dr=9,Mr=32;function xc(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push(Nr(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(Nr(t.slice(i),i>0,!1)),a.join("")}function Nr(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===Dr||a===Mr;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===Dr||a===Mr;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function bc(e,t){const n={type:"text",value:xc(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function wc(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const vc={blockquote:Qu,break:Gu,code:Ju,delete:Zu,emphasis:ec,footnoteReference:tc,heading:nc,html:rc,imageReference:ic,image:ac,inlineCode:lc,linkReference:oc,link:sc,listItem:uc,list:fc,paragraph:pc,root:dc,strong:hc,table:mc,tableCell:yc,tableRow:gc,text:bc,thematicBreak:wc,toml:Lt,yaml:Lt,definition:Lt,footnoteDefinition:Lt};function Lt(){}const Ui=-1,Yt=0,bt=1,Ht=2,Wn=3,Xn=4,Qn=5,Gn=6,Vi=7,qi=8,Fr=typeof self=="object"?self:globalThis,kc=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,l]=t[i];switch(a){case Yt:case Ui:return n(l,i);case bt:{const o=n([],i);for(const c of l)o.push(r(c));return o}case Ht:{const o=n({},i);for(const[c,u]of l)o[r(c)]=r(u);return o}case Wn:return n(new Date(l),i);case Xn:{const{source:o,flags:c}=l;return n(new RegExp(o,c),i)}case Qn:{const o=n(new Map,i);for(const[c,u]of l)o.set(r(c),r(u));return o}case Gn:{const o=n(new Set,i);for(const c of l)o.add(r(c));return o}case Vi:{const{name:o,message:c}=l;return n(new Fr[o](c),i)}case qi:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:o}=new Uint8Array(l);return n(new DataView(o),l)}}return n(new Fr[a](l),i)};return r},_r=e=>kc(new Map,e)(0),Je="",{toString:Sc}={},{keys:Ec}=Object,gt=e=>{const t=typeof e;if(t!=="object"||!e)return[Yt,t];const n=Sc.call(e).slice(8,-1);switch(n){case"Array":return[bt,Je];case"Object":return[Ht,Je];case"Date":return[Wn,Je];case"RegExp":return[Xn,Je];case"Map":return[Qn,Je];case"Set":return[Gn,Je];case"DataView":return[bt,n]}return n.includes("Array")?[bt,n]:n.includes("Error")?[Vi,n]:[Ht,n]},Dt=([e,t])=>e===Yt&&(t==="function"||t==="symbol"),Cc=(e,t,n,r)=>{const i=(l,o)=>{const c=r.push(l)-1;return n.set(o,c),c},a=l=>{if(n.has(l))return n.get(l);let[o,c]=gt(l);switch(o){case Yt:{let f=l;switch(c){case"bigint":o=qi,f=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);f=null;break;case"undefined":return i([Ui],l)}return i([o,f],l)}case bt:{if(c){let m=l;return c==="DataView"?m=new Uint8Array(l.buffer):c==="ArrayBuffer"&&(m=new Uint8Array(l)),i([c,[...m]],l)}const f=[],p=i([o,f],l);for(const m of l)f.push(a(m));return p}case Ht:{if(c)switch(c){case"BigInt":return i([c,l.toString()],l);case"Boolean":case"Number":case"String":return i([c,l.valueOf()],l)}if(t&&"toJSON"in l)return a(l.toJSON());const f=[],p=i([o,f],l);for(const m of Ec(l))(e||!Dt(gt(l[m])))&&f.push([a(m),a(l[m])]);return p}case Wn:return i([o,l.toISOString()],l);case Xn:{const{source:f,flags:p}=l;return i([o,{source:f,flags:p}],l)}case Qn:{const f=[],p=i([o,f],l);for(const[m,s]of l)(e||!(Dt(gt(m))||Dt(gt(s))))&&f.push([a(m),a(s)]);return p}case Gn:{const f=[],p=i([o,f],l);for(const m of l)(e||!Dt(gt(m)))&&f.push(a(m));return p}}const{message:u}=l;return i([o,{name:c,message:u}],l)};return a},Br=(e,{json:t,lossy:n}={})=>{const r=[];return Cc(!(t||n),!!t,new Map,r)(e),r},$t=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?_r(Br(e,t)):structuredClone(e):(e,t)=>_r(Br(e,t));function Tc(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Ic(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Ac(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Tc,r=e.options.footnoteBackLabel||Ic,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let c=-1;for(;++c<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[c]);if(!u)continue;const f=e.all(u),p=String(u.identifier).toUpperCase(),m=ot(p.toLowerCase());let s=0;const b=[],w=e.footnoteCounts.get(p);for(;w!==void 0&&++s<=w;){b.length>0&&b.push({type:"text",value:" "});let M=typeof n=="string"?n:n(c,s);typeof M=="string"&&(M={type:"text",value:M}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(s>1?"-"+s:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,s),className:["data-footnote-backref"]},children:Array.isArray(M)?M:[M]})}const T=f[f.length-1];if(T&&T.type==="element"&&T.tagName==="p"){const M=T.children[T.children.length-1];M&&M.type==="text"?M.value+=" ":T.children.push({type:"text",value:" "}),T.children.push(...b)}else f.push(...b);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(f,!0)};e.patch(u,v),o.push(v)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...$t(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
10`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
11`}]}}const Yi=function(e){if(e==null)return zc;if(typeof e=="function")return Kt(e);if(typeof e=="object")return Array.isArray(e)?Pc(e):Oc(e);if(typeof e=="string")return Rc(e);throw new Error("Expected function, string, or object as test")};function Pc(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Yi(e[n]);return Kt(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function Oc(e){const t=e;return Kt(n);function n(r){const i=r;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function Rc(e){return Kt(t);function t(n){return n&&n.type===e}}function Kt(e){return t;function t(n,r,i){return!!(Lc(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function zc(){return!0}function Lc(e){return e!==null&&typeof e=="object"&&"type"in e}const Ki=[],Dc=!0,jr=!1,Mc="skip";function Nc(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const a=Yi(i),l=r?-1:1;o(e,void 0,[])();function o(c,u,f){const p=c&&typeof c=="object"?c:{};if(typeof p.type=="string"){const s=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(c.type+(s?"<"+s+">":""))+")"})}return m;function m(){let s=Ki,b,w,T;if((!t||a(c,u,f[f.length-1]||void 0))&&(s=Fc(n(c,f)),s[0]===jr))return s;if("children"in c&&c.children){const v=c;if(v.children&&s[0]!==Mc)for(w=(r?v.children.length:-1)+l,T=f.concat(v);w>-1&&w<v.children.length;){const M=v.children[w];if(b=o(M,w,T)(),b[0]===jr)return b;w=typeof b[1]=="number"?b[1]:w+l}}return s}}}function Fc(e){return Array.isArray(e)?e:typeof e=="number"?[Dc,e]:e==null?Ki:[e]}function Wi(e,t,n,r){let i,a,l;typeof t=="function"&&typeof n!="function"?(a=void 0,l=t,i=n):(a=t,l=n,i=r),Nc(e,a,o,i);function o(c,u){const f=u[u.length-1],p=f?f.children.indexOf(c):void 0;return l(c,p,f)}}const Ln={}.hasOwnProperty,_c={};function Bc(e,t){const n=t||_c,r=new Map,i=new Map,a=new Map,l={...vc,...n.handlers},o={all:u,applyData:Hc,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:l,one:c,options:n,patch:jc,wrap:Uc};return Wi(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const p=f.type==="definition"?r:i,m=String(f.identifier).toUpperCase();p.has(m)||p.set(m,f)}}),o;function c(f,p){const m=f.type,s=o.handlers[m];if(Ln.call(o.handlers,m)&&s)return s(o,f,p);if(o.options.passThrough&&o.options.passThrough.includes(m)){if("children"in f){const{children:w,...T}=f,v=$t(T);return v.children=o.all(f),v}return $t(f)}return(o.options.unknownHandler||$c)(o,f,p)}function u(f){const p=[];if("children"in f){const m=f.children;let s=-1;for(;++s<m.length;){const b=o.one(m[s],f);if(b){if(s&&m[s-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=Hr(b.value)),!Array.isArray(b)&&b.type==="element")){const w=b.children[0];w&&w.type==="text"&&(w.value=Hr(w.value))}Array.isArray(b)?p.push(...b):p.push(b)}}}return p}}function jc(e,t){e.position&&(t.position=So(e))}function Hc(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&a&&Object.assign(n.properties,$t(a)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function $c(e,t){const n=t.data||{},r="value"in t&&!(Ln.call(n,"hProperties")||Ln.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Uc(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
12`});++r<e.length;)r&&n.push({type:"text",value:`
13`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
14`}),n}function Hr(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function $r(e,t){const n=Bc(e,t),r=n.one(e,void 0),i=Ac(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
15`},i),a}function Vc(e,t){return e&&"run"in e?async function(n,r){const i=$r(n,{file:r,...t});await e.run(i,r)}:function(n,r){return $r(n,{file:r,...e||t})}}function Ur(e){if(e)throw e}var Bt=Object.prototype.hasOwnProperty,Xi=Object.prototype.toString,Vr=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,Yr=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Xi.call(t)==="[object Array]"},Kr=function(t){if(!t||Xi.call(t)!=="[object Object]")return!1;var n=Bt.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Bt.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||Bt.call(t,i)},Wr=function(t,n){Vr&&n.name==="__proto__"?Vr(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Xr=function(t,n){if(n==="__proto__")if(Bt.call(t,n)){if(qr)return qr(t,n).value}else return;return t[n]},qc=function e(){var t,n,r,i,a,l,o=arguments[0],c=1,u=arguments.length,f=!1;for(typeof o=="boolean"&&(f=o,o=arguments[1]||{},c=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});c<u;++c)if(t=arguments[c],t!=null)for(n in t)r=Xr(o,n),i=Xr(t,n),o!==i&&(f&&i&&(Kr(i)||(a=Yr(i)))?(a?(a=!1,l=r&&Yr(r)?r:[]):l=r&&Kr(r)?r:{},Wr(o,{name:n,newValue:e(f,l,i)})):typeof i<"u"&&Wr(o,{name:n,newValue:i}));return o};const cn=kt(qc);function Dn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Yc(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);o(null,...i);function o(c,...u){const f=e[++a];let p=-1;if(c){l(c);return}for(;++p<i.length;)(u[p]===null||u[p]===void 0)&&(u[p]=i[p]);i=u,f?Kc(f,o)(...u):l(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Kc(e,t){let n;return r;function r(...l){const o=e.length>l.length;let c;o&&l.push(i);try{c=e.apply(this,l)}catch(u){const f=u;if(o&&n)throw f;return i(f)}o||(c&&c.then&&typeof c.then=="function"?c.then(a,i):c instanceof Error?i(c):a(c))}function i(l,...o){n||(n=!0,t(l,...o))}function a(l){i(null,l)}}const Re={basename:Wc,dirname:Xc,extname:Qc,join:Gc,sep:"/"};function Wc(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ct(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,o=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else l<0&&(a=!0,l=i+1),o>-1&&(e.codePointAt(i)===t.codePointAt(o--)?o<0&&(r=i):(o=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function Xc(e){if(Ct(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Qc(e){Ct(e);let t=e.length,n=-1,r=0,i=-1,a=0,l;for(;t--;){const o=e.codePointAt(t);if(o===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),o===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Gc(...e){let t=-1,n;for(;++t<e.length;)Ct(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Jc(n)}function Jc(e){Ct(e);const t=e.codePointAt(0)===47;let n=Zc(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Zc(e,t){let n="",r=0,i=-1,a=0,l=-1,o,c;for(;++l<=e.length;){if(l<e.length)o=e.codePointAt(l);else{if(o===47)break;o=47}if(o===47){if(!(i===l-1||a===1))if(i!==l-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),i=l,a=0;continue}}else if(n.length>0){n="",r=0,i=l,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,a=0}else o===46&&a>-1?a++:a=-1}return n}function Ct(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const ef={cwd:tf};function tf(){return"/"}function Mn(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function nf(e){if(typeof e=="string")e=new URL(e);else if(!Mn(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return rf(e)}function rf(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const fn=["history","path","basename","stem","extname","dirname"];class Qi{constructor(t){let n;t?Mn(t)?n={path:t}:typeof t=="string"||af(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":ef.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<fn.length;){const a=fn[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)fn.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Re.basename(this.path):void 0}set basename(t){dn(t,"basename"),pn(t,"basename"),this.path=Re.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Re.dirname(this.path):void 0}set dirname(t){Qr(this.basename,"dirname"),this.path=Re.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Re.extname(this.path):void 0}set extname(t){if(pn(t,"extname"),Qr(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Re.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Mn(t)&&(t=nf(t)),dn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Re.basename(this.path,this.extname):void 0}set stem(t){dn(t,"stem"),pn(t,"stem"),this.path=Re.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new fe(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function pn(e,t){if(e&&e.includes(Re.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Re.sep+"`")}function dn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Qr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function af(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const lf=function(e){const r=this.constructor.prototype,i=r[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,r),a},of={}.hasOwnProperty;class Jn extends lf{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Yc()}copy(){const t=new Jn;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(cn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(gn("data",this.frozen),this.namespace[t]=n,this):of.call(this.namespace,t)&&this.namespace[t]||void 0:t?(gn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Mt(t),r=this.parser||this.Parser;return hn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),hn("process",this.parser||this.Parser),mn("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,l){const o=Mt(t),c=r.parse(o);r.run(c,o,function(f,p,m){if(f||!p||!m)return u(f);const s=p,b=r.stringify(s,m);cf(b)?m.value=b:m.result=b,u(f,m)});function u(f,p){f||!p?l(f):a?a(p):n(void 0,p)}}}processSync(t){let n=!1,r;return this.freeze(),hn("processSync",this.parser||this.Parser),mn("processSync",this.compiler||this.Compiler),this.process(t,i),Jr("processSync","process",n),r;function i(a,l){n=!0,Ur(a),r=l}}run(t,n,r){Gr(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(l,o){const c=Mt(n);i.run(t,c,u);function u(f,p,m){const s=p||t;f?o(f):l?l(s):r(void 0,s,m)}}}runSync(t,n){let r=!1,i;return this.run(t,n,a),Jr("runSync","run",r),i;function a(l,o){Ur(l),i=o,r=!0}}stringify(t,n){this.freeze();const r=Mt(n),i=this.compiler||this.Compiler;return mn("stringify",i),Gr(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(gn("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(u){if(typeof u=="function")c(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[f,...p]=u;c(f,p)}else l(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function l(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(u.plugins),u.settings&&(i.settings=cn(!0,i.settings,u.settings))}function o(u){let f=-1;if(u!=null)if(Array.isArray(u))for(;++f<u.length;){const p=u[f];a(p)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function c(u,f){let p=-1,m=-1;for(;++p<r.length;)if(r[p][0]===u){m=p;break}if(m===-1)r.push([u,...f]);else if(f.length>0){let[s,...b]=f;const w=r[m][1];Dn(w)&&Dn(s)&&(s=cn(!0,w,s)),r[m]=[u,s,...b]}}}}const sf=new Jn().freeze();function hn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function mn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function gn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Gr(e){if(!Dn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Jr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Mt(e){return uf(e)?e:new Qi(e)}function uf(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function cf(e){return typeof e=="string"||ff(e)}function ff(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const pf="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Zr=[],ei={allowDangerousHtml:!0},df=/^(https?|ircs?|mailto|xmpp)$/i,hf=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function If(e){const t=mf(e),n=gf(e);return yf(t.runSync(t.parse(n),n),e)}function mf(e){const t=e.rehypePlugins||Zr,n=e.remarkPlugins||Zr,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ei}:ei;return sf().use(Xu).use(n).use(Vc,r).use(t)}function gf(e){const t=e.children||"",n=new Qi;return typeof t=="string"&&(n.value=t),n}function yf(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,l=t.skipHtml,o=t.unwrapDisallowed,c=t.urlTransform||xf;for(const f of hf)Object.hasOwn(t,f.from)&&(""+f.from+(f.to?"use `"+f.to+"` instead":"remove it")+pf+f.id,void 0);return Wi(e,u),Ao(e,{Fragment:Jt.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Jt.jsx,jsxs:Jt.jsxs,passKeys:!0,passNode:!0});function u(f,p,m){if(f.type==="raw"&&m&&typeof p=="number")return l?m.children.splice(p,1):m.children[p]={type:"text",value:f.value},p;if(f.type==="element"){let s;for(s in on)if(Object.hasOwn(on,s)&&Object.hasOwn(f.properties,s)){const b=f.properties[s],w=on[s];(w===null||w.includes(f.tagName))&&(f.properties[s]=c(String(b||""),s,f))}}if(f.type==="element"){let s=n?!n.includes(f.tagName):a?a.includes(f.tagName):!1;if(!s&&r&&typeof p=="number"&&(s=!r(f,p,m)),s&&m&&typeof p=="number")return o&&f.children?m.children.splice(p,1,...f.children):m.children.splice(p,1),p}}}function xf(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||df.test(e.slice(0,t))?e:""}export{Ef as $,jr as E,kf as H,If as M,Cf as _,Ra as a,es as b,Yi as c,Zo as d,Tr as e,Wi as f,be as g,ze as h,On as i,ie as j,qt as k,F as l,he as m,at as n,Tf as o,G as p,Ko as q,Yn as r,Le as s,qo as t,Sf as u,Nc as v};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.