comp-hub 0.0.82 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/website/dist/assets/atom-one-dark-kj61wl5w.js +10 -0
  2. package/dist/website/dist/assets/index-0g8rH4IY.css +1 -0
  3. package/dist/website/dist/assets/index-4O4orwyB.js +1 -0
  4. package/dist/website/dist/assets/index-B-yp7bAQ.js +1 -0
  5. package/dist/website/dist/assets/index-Bm_y5s4f.css +1 -0
  6. package/dist/website/dist/assets/index-BoHH9eAN.css +17 -0
  7. package/dist/website/dist/assets/index-Bwwn_fbr.js +10 -0
  8. package/dist/website/dist/assets/index-C6tTA42z.css +1 -0
  9. package/dist/website/dist/assets/index-CaWFW245.js +1 -0
  10. package/dist/website/dist/assets/index-D7zKF2xo.css +1 -0
  11. package/dist/website/dist/assets/index-DFJG9yta.js +1 -0
  12. package/dist/website/dist/assets/index-DIdqEIV3.css +1 -0
  13. package/dist/website/dist/assets/index-DM-j7KRn.js +1 -0
  14. package/dist/website/dist/assets/index-DPlK2qrr.js +1 -0
  15. package/dist/website/dist/assets/index-DVYn-n3F.js +2 -0
  16. package/dist/website/dist/assets/index-DsSo-Yk2.js +135 -0
  17. package/dist/website/dist/assets/index-EKpiNdWa.js +1 -0
  18. package/dist/website/dist/assets/index-NnJNEBoo.js +1 -0
  19. package/dist/website/dist/assets/index-TNf8rRey.css +1 -0
  20. package/dist/website/dist/assets/index-VErFD024.js +1 -0
  21. package/dist/website/dist/assets/index-luszypNV.js +1 -0
  22. package/dist/website/dist/assets/index-qpbWx82I.css +1 -0
  23. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-BhlsbZwk.js +1 -0
  24. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-Cob5rq3E.js +394 -0
  25. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-CrDgN2j0.js +15 -0
  26. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-Di5RqmF5.js +1 -0
  27. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-t_MP8Ces.js +1 -0
  28. package/dist/website/dist/assets/index.vue_vue_type_style_index_0_lang-DOWkefBd.js +61 -0
  29. package/dist/website/dist/assets/v1Email-D86MWVnF.js +6 -0
  30. package/dist/website/dist/index.html +2 -2
  31. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ import{d as w,n as v,c as x,b as u,k as s,m as f,U as se,_ as U,r as C,M as S,J as Z,F as A,V as z,W as F,Q as E,t as L,v as I,j as M,X as le,e as g,Y as ce,Z as O,H as re,$ as ie,x as ue,i as T,O as pe,P as de,a0 as N,a1 as H,E as D,a2 as _e,G as P,a3 as fe,a4 as me,a5 as ve,a6 as ge,a7 as ye,h as q,w as R,a8 as Ce,a9 as xe,aa as he,ab as Ee,ac as Se,ad as we,ae as ke,af as be,ag as Te,s as Le}from"./index-DsSo-Yk2.js";import{_ as Ie}from"./index.vue_vue_type_script_setup_true_lang-Cob5rq3E.js";import{_ as Oe}from"./index.vue_vue_type_script_setup_true_lang-t_MP8Ces.js";import{_ as Pe,a as $e,G as Ne}from"./index-luszypNV.js";import{_ as De,C as Ae,u as ze,T as Me,B as Be}from"./index-EKpiNdWa.js";const Ue={class:"collect"},Fe=w({__name:"index",props:{isCollect:{type:Boolean,default:!1}},emits:["collect"],setup(c,{emit:e}){const t=c,a=e;function i(){a("collect",!t.isCollect)}return(n,p)=>{const o=v("StarFilled"),d=v("el-icon");return u(),x("div",Ue,[s(d,{class:se(["collect-icon",{"is-collect":c.isCollect}]),onClick:i},{default:f(()=>[s(o)]),_:1},8,["class"])])}}}),Re=U(Fe,[["__scopeId","data-v-25eb2692"]]),Ve=w({__name:"index",setup(c,{expose:e}){const t=C(!1),a=C(null),i=o=>{t.value=!0,a.value=o},n=()=>{t.value=!1,a.value=null},p=o=>{a.value&&a.value(o)};return e({open:i,close:n}),(o,d)=>(u(),S(Oe,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=m=>t.value=m),title:"项目文件夹",width:"50%","show-close":""},{default:f(()=>[s(Pe,{onSelect:p})]),_:1},8,["modelValue"]))}}),W=w({__name:"index",props:{title:{type:String,default:""},column:{type:Number,default:3},items:{type:Array,default:()=>[]}},setup(c){const e=Z();return(t,a)=>{const i=v("el-descriptions-item"),n=v("el-descriptions");return u(),S(n,F({column:c.column,title:c.title},E(e)),{default:f(()=>[(u(!0),x(A,null,z(c.items,(p,o)=>(u(),S(i,{key:o,label:p.label},{default:f(()=>[L(I(p.value),1)]),_:2},1032,["label"]))),128))]),_:1},16,["column","title"])}}}),je={class:"comp-desc-container"},Ge=w({__name:"index",props:{desc:{type:String,default:""}},setup(c){const e=C(null),t=C(!1),a=c;return M(async()=>{if(a.desc){await le();const i=e.value;if(!i)return;t.value=i.scrollHeight>i.clientHeight}}),(i,n)=>{const p=v("el-popover");return u(),x("div",je,[s(p,{disabled:!t.value,content:c.desc,placement:"bottom",width:"300"},{reference:f(()=>[g("p",{ref_key:"paraRef",ref:e},I(c.desc),513)]),_:1},8,["disabled","content"])])}}}),He=U(Ge,[["__scopeId","data-v-f59630ca"]]),We={class:"flex justify-center items-center gap-[5px]"},Ze={class:"text-[12px] text-[#857e7e]"},qe=w({__name:"index",props:{nickname:{type:String,default:""},avatar:{type:String,default:""}},setup(c){const e=c,t=C("");return M(async()=>{if(!e.avatar)return;const a=await ce({objectId:e.avatar});t.value=a.data.signUrl}),(a,i)=>{const n=v("el-avatar");return u(),x("div",We,[g("span",Ze,I(c.nickname),1),s(n,{size:15,src:t.value},null,8,["src"])])}}}),Ke={class:"bg-[#fff] flex items-center justify-center flex-col size-full overflow-hidden"},Qe={class:"h-[270px] overflow-hidden w-full"},Ye={class:"flex flex-1 justify-start gap-[5px]"},Je={class:"text-left flex-1 flex flex-col w-full overflow-hidden p-[5px] gap-[5px]"},Xe={class:"flex justify-between"},et={class:"font-medium"},tt={class:"desc-content flex-1"},nt={class:"h-[30px] p-[5px] overflow-hidden w-full bg-[#ccc] flex items-center justify-between"},ot={class:"flex gap-[5px]"},at={class:"flex"},st=w({__name:"index",setup(c){const e=Z(),t=O("compListStore"),a=O("callbacks"),i=re(),n=ie(),p=ue(),o=C(),d=C([{key:"delete",text:"删除",handler:J,type:"danger"},{key:"update",text:"更新",handler:X,type:"primary"},{key:"preview",text:"预览",handler:ee,type:"primary"},{key:"download",text:"下载",handler:te,type:"primary"},{key:"collect",text:"收藏",handler:j}]),m=C(""),b=C([]),h={SUCCESS:{DOWNLOAD:"下载成功",DELETE:"删除成功",COLLECT:"收藏成功",UNCOLLECT:"取消收藏"},CONFIRM:{DOWNLOAD:l=>`是否下载组件到【${l}】路径下`,COVER:l=>`组件【${l}】已经下载或者有同名组件,是否覆盖?`,DELETE:l=>`是否删除组件【${l}】,删除组件后会释放占用的组件名称,是否继续?`}},k=T(()=>t.operate.length?t.operate.map(l=>d.value.find(_=>_.key===l)):[]),Q=T(()=>e.previewConfigs.map(l=>{const _=l.path[l.path.length-1].replace(/[/\\]/g,"/"),y=b.value.find(r=>r.path===_);return{entryUrl:y==null?void 0:y.signedUrl}})),V=T(()=>[{label:"下载:",value:e.downloadCount},{label:"收藏:",value:e.collectCount}]),Y=T(()=>Object.keys(e.dep).map(_=>{var y,r;return{name:_,version:(r=(y=e.dep)==null?void 0:y[_])==null?void 0:r.version}}));async function J(){!e.name||await N.confirm(h.CONFIRM.DELETE(e.name),"提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"})!=="confirm"||me({compId:e.id}).then(()=>D.success(h.SUCCESS.DELETE)).finally(()=>a.get(P.AFTER_COMP_DEL)(e.id))}function X(){e.id&&ve({compId:e.id}).then(l=>{if(!l.data){D.error("组件不在本地,请先下载后更新");return}i.setSelectedFolder(l.data),a.get(P.BEFORE_COMP_GO_UPDATE)(e.id)})}function ee(){console.log("预览"),n.addPayLoad(`/preview/${e.id}`,{...e}),p.push({path:`/preview/${e.id}`})}async function te(l){var y;!await l()||(console.log("下载"),await N.confirm("当前选择的版本为:"+m.value+",确认下载吗?","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"})!=="confirm")||(y=o.value)==null||y.open(G)}async function j(l){await l()&&(console.log("收藏"),fe({compId:e.id,isCollect:!e.isCollect}).then(()=>{D.success(e.isCollect?h.SUCCESS.UNCOLLECT:h.SUCCESS.COLLECT);const _={...e,isCollect:!e.isCollect};t.updateCompListItemById(e.id,_),e.isCollect?(t.updateCompListItemById(e.id,{..._,collectCount:e.collectCount-1}),a.get(P.AFTER_COMP_CANCEL_COLLECT)(e.id)):t.updateCompListItemById(e.id,{..._,collectCount:e.collectCount+1})}))}async function G(l){var $;if(await N.confirm(h.CONFIRM.DOWNLOAD(l.path),"提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"})!=="confirm")return;const y=await H({compId:e.id,savePath:l.path,compName:e.name,version:m.value}),{isRepeat:r=!1}=y.data;if(r){if(await N.confirm(h.CONFIRM.COVER(e.name),"提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"})!=="confirm")return;await H({compId:e.id,savePath:l.path,compName:e.name,isCover:!0,version:m.value})}D.success(h.SUCCESS.DOWNLOAD),t.updateCompListItemById(e.id,{...e,downloadCount:e.downloadCount+1}),($=o.value)==null||$.close()}function ne(){const l={objectId:e.objectId,compName:e.name,version:e.version,files:e.files.map(_=>_.path)};_e(l).then(_=>{b.value=_.data.signedUrls})}function oe(){a.get(P.OPEN_COMP_TERMINAL)(e.id)}return ne(),(l,_)=>{const y=v("el-button");return u(),x("div",Ke,[g("div",Qe,[s(Ie,{previews:Q.value,dep:E(e).dep,bgColor:E(e).bgColor,signedUrls:b.value,autoplay:!0,onePageEntryNameToFile:E(t).onePageEntryNameToFile},{compToolBar:f(()=>[g("div",Ye,[s(y,{color:"#414141",onClick:oe},{default:f(()=>[..._[1]||(_[1]=[L("终端",-1)])]),_:1}),s(De,F({modelValue:m.value,"onUpdate:modelValue":_[0]||(_[0]=r=>m.value=r)},E(e)),null,16,["modelValue"])])]),_:1},8,["previews","dep","bgColor","signedUrls","onePageEntryNameToFile"])]),g("div",Je,[g("div",Xe,[g("h4",et,I(E(e).name),1),g("div",null,[s(qe,pe(de(E(e).authorId)),null,16)])]),g("div",tt,[s(He,{desc:E(e).desc},null,8,["desc"])]),s(Ae,{compDeps:Y.value},null,8,["compDeps"])]),g("div",nt,[g("div",ot,[s(W,{column:1,items:[V.value[0]]},null,8,["items"]),s(W,{column:1,items:[V.value[1]]},null,8,["items"])]),g("div",at,[(u(!0),x(A,null,z(k.value,(r,$)=>(u(),S($e,{key:$},{default:f(({isLogin:B})=>[(r==null?void 0:r.key)!=="collect"?(u(),S(y,{key:0,title:r==null?void 0:r.text,type:r==null?void 0:r.type,link:"",onClick:ae=>r==null?void 0:r.handler(B)},{default:f(()=>[L(I(r==null?void 0:r.text),1)]),_:2},1032,["title","type","onClick"])):(u(),S(Re,{key:1,class:"pl-[5px]",isCollect:E(e).isCollect,onCollect:ae=>j(B)},null,8,["isCollect","onCollect"]))]),_:2},1024))),128))])]),s(Ve,{ref_key:"DialogVueFinderRef",ref:o,onDownload:G},null,512)])}}});function K(){const c=C(!0);return ge(()=>{c.value=!0}),ye(()=>{c.value=!1}),c}const lt=w({__name:"index",setup(c){const e=q({keyword:""}),t=O("compListStore"),a=K(),i=()=>{t.setQuery({...t.query,keyword:e.keyword})},n=()=>{e.keyword="",t.setQuery({...t.query,keyword:""})};return R(()=>t.query.keyword,(p,o)=>{p!==o&&a.value&&t.getCompList()}),(p,o)=>{const d=v("el-input"),m=v("el-form-item"),b=v("el-button"),h=v("el-form");return u(),S(h,{inline:!0,model:e,"label-width":"auto",onSubmit:o[1]||(o[1]=Ce(()=>{},["prevent"]))},{default:f(()=>[s(m,{label:"关键词:"},{default:f(()=>[s(d,{modelValue:e.keyword,"onUpdate:modelValue":o[0]||(o[0]=k=>e.keyword=k),modelModifiers:{trim:!0},placeholder:"组件名/组件描述",onKeyup:xe(i,["enter"])},null,8,["modelValue"])]),_:1}),s(m,null,{default:f(()=>[s(b,{type:"primary",onClick:i},{default:f(()=>[...o[2]||(o[2]=[L("查询",-1)])]),_:1}),s(b,{type:"primary",onClick:n},{default:f(()=>[...o[3]||(o[3]=[L("重置",-1)])]),_:1})]),_:1})]),_:1},8,["model"])}}}),ct={class:"empty-status-container"},rt=w({__name:"index",props:{isEmpty:{type:Boolean,default:!1}},setup(c){return(e,t)=>{const a=v("el-empty");return u(),x("div",ct,[c.isEmpty?(u(),S(a,{key:1,class:"centered-empty"})):he(e.$slots,"default",{key:0},void 0,!0)])}}}),it=U(rt,[["__scopeId","data-v-ec3e688b"]]),ut={class:"flex justify-start mb-[5px]"},pt=w({__name:"index",setup(c){const e=O("compListStore"),t=K();function a(n){return n.value===e.selectTag}const i=n=>{e.setSelectTag(n.value)};return R(()=>e.selectTag,(n,p)=>{!n||n===p||t.value&&e.getCompList()}),M(()=>{e.selectTag&&Ee(e.selectTag)}),(n,p)=>{const o=v("el-button");return u(),x("div",ut,[(u(!0),x(A,null,z(E(e).tagGroup,d=>(u(),S(o,{type:a(d)?"primary":"default",text:"",key:d.label,value:d.value,onClick:m=>i(d)},{default:f(()=>[L(I(d.label),1)]),_:2},1032,["type","value","onClick"]))),128))])}}}),dt={class:"h-full flex flex-col overflow-hidden gap-[10px]"},_t={class:"bg-[#fff] rounded-sm p-[10px]"},ft={class:"flex justify-center p-[5px]"},mt=w({__name:"index",setup(c){const e=C(null);ze(e);const t=O("compListStore"),a=T(()=>t.list),i=T(()=>t.loading),n=q({total:t.pagination.total,background:!0,layout:"total, sizes, prev, pager, next, jumper",pageSizes:[10,20,30],page:t.pagination.page,pageSize:t.pagination.pageSize});function p(d){ke(d.toString()),t.setPagination({...t.pagination,pageSize:d})}function o(d){t.setPagination({...t.pagination,page:d})}return R([()=>t.pagination.pageSize,()=>t.pagination.page],async()=>{await t.getComps()}),(d,m)=>{const b=v("el-pagination"),h=we("loading");return Se((u(),x("div",dt,[g("div",_t,[s(lt),s(pt)]),g("div",{class:"flex-1 overflow-auto",ref_key:"compListEl",ref:e},[s(it,{isEmpty:a.value.length===0&&!i.value},{default:f(()=>[s(Ne,{itemMinWidth:310},{default:f(()=>[(u(!0),x(A,null,z(a.value,k=>(u(),x("div",{key:k.id,class:"h-[400px] overflow-hidden rounded-md"},[s(st,F({ref_for:!0},k),null,16)]))),128))]),_:1})]),_:1},8,["isEmpty"])],512),g("div",ft,[s(b,{"current-page":n.page,"onUpdate:currentPage":m[0]||(m[0]=k=>n.page=k),"page-size":n.pageSize,"onUpdate:pageSize":m[1]||(m[1]=k=>n.pageSize=k),"page-sizes":n.pageSizes,background:n.background,layout:n.layout,total:E(t).pagination.total,onSizeChange:p,onCurrentChange:o},null,8,["current-page","page-size","page-sizes","background","layout","total"])])])),[[h,i.value]])}}}),ht=w({__name:"index",setup(c){const e=O("callbacks"),t=C(0),a=C("");function i(){t.value=0}return M(()=>{const n=t.value;n&&Te(n.toString())}),e.set(P.OPEN_COMP_TERMINAL,n=>{const p=Number(be());t.value=Math.max(p,500),a.value=n}),(n,p)=>{const o=v("el-splitter-panel"),d=v("el-splitter");return u(),S(d,null,{default:f(()=>[s(o,{min:400,class:"h-full min-w-[400px]"},{default:f(()=>[s(mt)]),_:1}),t.value?(u(),S(o,{key:0,size:t.value,"onUpdate:size":p[0]||(p[0]=m=>t.value=m),collapsible:""},{default:f(()=>[s(Be,{title:"依赖安装",onClose:i},{default:f(()=>[s(Me,{compId:a.value},null,8,["compId"])]),_:1})]),_:1},8,["size"])):Le("",!0)]),_:1})}}});export{ht as _};
@@ -0,0 +1 @@
1
+ import{d as r,aZ as c,i as p,M as u,b as m,aI as d,aR as f,Q as l,a_ as _,aT as i}from"./index-DsSo-Yk2.js";const v=r({__name:"index",setup(x){const s=i(),t=c(),a={modal:!0,appendToBody:!0},o=p(()=>({...a,...t}));function n(e){s&&(s.exposed=e||{},s.exposeProxy=e||{})}return(e,g)=>(m(),u(d(f(l(_),{...o.value,ref:n},e.$slots))))}});export{v as _};
@@ -0,0 +1,61 @@
1
+ var ht=Object.defineProperty;var pt=(t,e,n)=>e in t?ht(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var C=(t,e,n)=>pt(t,typeof e!="symbol"?e+"":e,n);import{H as V}from"./atom-one-dark-kj61wl5w.js";import{d as qe,a as gt,c as Dt,b as Ue,e as me,aa as ft,r as Re,j as mt,X as Ft,M as bt,m as kt,U as Et}from"./index-DsSo-Yk2.js";function Ce(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Q=Ce();function Ze(t){Q=t}var te={exec:()=>null};function b(t,e=""){let n=typeof t=="string"?t:t.source,s={replace:(r,l)=>{let c=typeof l=="string"?l:l.source;return c=c.replace(y.caret,"$1"),n=n.replace(r,c),s},getRegex:()=>new RegExp(n,e)};return s}var y={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Ct=/^(?:[ \t]*(?:\n|$))+/,At=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,xt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,re=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,wt=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ae=/(?:[*+-]|\d{1,9}[.)])/,Ge=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,je=b(Ge).replace(/bull/g,Ae).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),yt=b(Ge).replace(/bull/g,Ae).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),xe=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Bt=/^[^\n]+/,we=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,St=b(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",we).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Tt=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ae).getRegex(),de="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ye=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,vt=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ye).replace("tag",de).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Qe=b(xe).replace("hr",re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",de).getRegex(),_t=b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Qe).getRegex(),Be={blockquote:_t,code:At,def:St,fences:xt,heading:wt,hr:re,html:vt,lheading:je,list:Tt,newline:Ct,paragraph:Qe,table:te,text:Bt},Ne=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",de).getRegex(),Rt={...Be,lheading:yt,table:Ne,paragraph:b(xe).replace("hr",re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Ne).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",de).getRegex()},Nt={...Be,html:b(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ye).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:te,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(xe).replace("hr",re).replace("heading",` *#{1,6} *[^
2
+ ]`).replace("lheading",je).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},$t=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Lt=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Xe=/^( {2,}|\\)\n(?!\s*$)/,It=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,he=/[\p{P}\p{S}]/u,Se=/[\s\p{P}\p{S}]/u,We=/[^\s\p{P}\p{S}]/u,Ot=b(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Se).getRegex(),Ke=/(?!~)[\p{P}\p{S}]/u,zt=/(?!~)[\s\p{P}\p{S}]/u,Mt=/(?:[^\s\p{P}\p{S}]|~)/u,Pt=/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,Ye=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Ht=b(Ye,"u").replace(/punct/g,he).getRegex(),qt=b(Ye,"u").replace(/punct/g,Ke).getRegex(),Ve="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Ut=b(Ve,"gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Se).replace(/punct/g,he).getRegex(),Zt=b(Ve,"gu").replace(/notPunctSpace/g,Mt).replace(/punctSpace/g,zt).replace(/punct/g,Ke).getRegex(),Gt=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Se).replace(/punct/g,he).getRegex(),jt=b(/\\(punct)/,"gu").replace(/punct/g,he).getRegex(),Qt=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Xt=b(ye).replace("(?:-->|$)","-->").getRegex(),Wt=b("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Xt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),oe=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,Kt=b(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",oe).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Je=b(/^!?\[(label)\]\[(ref)\]/).replace("label",oe).replace("ref",we).getRegex(),et=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",we).getRegex(),Yt=b("reflink|nolink(?!\\()","g").replace("reflink",Je).replace("nolink",et).getRegex(),Te={_backpedal:te,anyPunctuation:jt,autolink:Qt,blockSkip:Pt,br:Xe,code:Lt,del:te,emStrongLDelim:Ht,emStrongRDelimAst:Ut,emStrongRDelimUnd:Gt,escape:$t,link:Kt,nolink:et,punctuation:Ot,reflink:Je,reflinkSearch:Yt,tag:Wt,text:It,url:te},Vt={...Te,link:b(/^!?\[(label)\]\((.*?)\)/).replace("label",oe).getRegex(),reflink:b(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",oe).getRegex()},Fe={...Te,emStrongRDelimAst:Zt,emStrongLDelim:qt,url:b(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Jt={...Fe,br:b(Xe).replace("{2,}","*").getRegex(),text:b(Fe.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},le={normal:Be,gfm:Rt,pedantic:Nt},J={normal:Te,gfm:Fe,breaks:Jt,pedantic:Vt},en={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},$e=t=>en[t];function N(t,e){if(e){if(y.escapeTest.test(t))return t.replace(y.escapeReplace,$e)}else if(y.escapeTestNoEncode.test(t))return t.replace(y.escapeReplaceNoEncode,$e);return t}function Le(t){try{t=encodeURI(t).replace(y.percentDecode,"%")}catch{return null}return t}function Ie(t,e){var l;let n=t.replace(y.findPipe,(c,a,o)=>{let i=!1,u=a;for(;--u>=0&&o[u]==="\\";)i=!i;return i?"|":" |"}),s=n.split(y.splitPipe),r=0;if(s[0].trim()||s.shift(),s.length>0&&!((l=s.at(-1))!=null&&l.trim())&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace(y.slashPipe,"|");return s}function ee(t,e,n){let s=t.length;if(s===0)return"";let r=0;for(;r<s&&t.charAt(s-r-1)===e;)r++;return t.slice(0,s-r)}function tn(t,e){if(t.indexOf(e[1])===-1)return-1;let n=0;for(let s=0;s<t.length;s++)if(t[s]==="\\")s++;else if(t[s]===e[0])n++;else if(t[s]===e[1]&&(n--,n<0))return s;return n>0?-2:-1}function Oe(t,e,n,s,r){let l=e.href,c=e.title||null,a=t[1].replace(r.other.outputLinkReplace,"$1");s.state.inLink=!0;let o={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:l,title:c,text:a,tokens:s.inlineTokens(a)};return s.state.inLink=!1,o}function nn(t,e,n){let s=t.match(n.other.indentCodeCompensation);if(s===null)return e;let r=s[1];return e.split(`
3
+ `).map(l=>{let c=l.match(n.other.beginningSpace);if(c===null)return l;let[a]=c;return a.length>=r.length?l.slice(r.length):l}).join(`
4
+ `)}var ue=class{constructor(t){C(this,"options");C(this,"rules");C(this,"lexer");this.options=t||Q}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:ee(n,`
5
+ `)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let n=e[0],s=nn(n,e[3]||"",this.rules);return{type:"code",raw:n,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:s}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let n=e[2].trim();if(this.rules.other.endingHash.test(n)){let s=ee(n,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(n=s.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:ee(e[0],`
6
+ `)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let n=ee(e[0],`
7
+ `).split(`
8
+ `),s="",r="",l=[];for(;n.length>0;){let c=!1,a=[],o;for(o=0;o<n.length;o++)if(this.rules.other.blockquoteStart.test(n[o]))a.push(n[o]),c=!0;else if(!c)a.push(n[o]);else break;n=n.slice(o);let i=a.join(`
9
+ `),u=i.replace(this.rules.other.blockquoteSetextReplace,`
10
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");s=s?`${s}
11
+ ${i}`:i,r=r?`${r}
12
+ ${u}`:u;let p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(u,l,!0),this.lexer.state.top=p,n.length===0)break;let d=l.at(-1);if((d==null?void 0:d.type)==="code")break;if((d==null?void 0:d.type)==="blockquote"){let D=d,g=D.raw+`
13
+ `+n.join(`
14
+ `),A=this.blockquote(g);l[l.length-1]=A,s=s.substring(0,s.length-D.raw.length)+A.raw,r=r.substring(0,r.length-D.text.length)+A.text;break}else if((d==null?void 0:d.type)==="list"){let D=d,g=D.raw+`
15
+ `+n.join(`
16
+ `),A=this.list(g);l[l.length-1]=A,s=s.substring(0,s.length-d.raw.length)+A.raw,r=r.substring(0,r.length-D.raw.length)+A.raw,n=g.substring(l.at(-1).raw.length).split(`
17
+ `);continue}}return{type:"blockquote",raw:s,tokens:l,text:r}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim(),s=n.length>1,r={type:"list",raw:"",ordered:s,start:s?+n.slice(0,-1):"",loose:!1,items:[]};n=s?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=s?n:"[*+-]");let l=this.rules.other.listItemRegex(n),c=!1;for(;t;){let o=!1,i="",u="";if(!(e=l.exec(t))||this.rules.block.hr.test(t))break;i=e[0],t=t.substring(i.length);let p=e[2].split(`
18
+ `,1)[0].replace(this.rules.other.listReplaceTabs,X=>" ".repeat(3*X.length)),d=t.split(`
19
+ `,1)[0],D=!p.trim(),g=0;if(this.options.pedantic?(g=2,u=p.trimStart()):D?g=e[1].length+1:(g=e[2].search(this.rules.other.nonSpaceChar),g=g>4?1:g,u=p.slice(g),g+=e[1].length),D&&this.rules.other.blankLine.test(d)&&(i+=d+`
20
+ `,t=t.substring(d.length+1),o=!0),!o){let X=this.rules.other.nextBulletRegex(g),O=this.rules.other.hrRegex(g),U=this.rules.other.fencesBeginRegex(g),z=this.rules.other.headingBeginRegex(g),M=this.rules.other.htmlBeginRegex(g);for(;t;){let T=t.split(`
21
+ `,1)[0],v;if(d=T,this.options.pedantic?(d=d.replace(this.rules.other.listReplaceNesting," "),v=d):v=d.replace(this.rules.other.tabCharGlobal," "),U.test(d)||z.test(d)||M.test(d)||X.test(d)||O.test(d))break;if(v.search(this.rules.other.nonSpaceChar)>=g||!d.trim())u+=`
22
+ `+v.slice(g);else{if(D||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||U.test(p)||z.test(p)||O.test(p))break;u+=`
23
+ `+d}!D&&!d.trim()&&(D=!0),i+=T+`
24
+ `,t=t.substring(T.length+1),p=v.slice(g)}}r.loose||(c?r.loose=!0:this.rules.other.doubleBlankLine.test(i)&&(c=!0));let A=null,S;this.options.gfm&&(A=this.rules.other.listIsTask.exec(u),A&&(S=A[0]!=="[ ] ",u=u.replace(this.rules.other.listReplaceTask,""))),r.items.push({type:"list_item",raw:i,task:!!A,checked:S,loose:!1,text:u,tokens:[]}),r.raw+=i}let a=r.items.at(-1);if(a)a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd();else return;r.raw=r.raw.trimEnd();for(let o=0;o<r.items.length;o++)if(this.lexer.state.top=!1,r.items[o].tokens=this.lexer.blockTokens(r.items[o].text,[]),!r.loose){let i=r.items[o].tokens.filter(p=>p.type==="space"),u=i.length>0&&i.some(p=>this.rules.other.anyLine.test(p.raw));r.loose=u}if(r.loose)for(let o=0;o<r.items.length;o++)r.items[o].loose=!0;return r}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let n=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),s=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:n,raw:e[0],href:s,title:r}}}table(t){var c;let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let n=Ie(e[1]),s=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=(c=e[3])!=null&&c.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
25
+ `):[],l={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===s.length){for(let a of s)this.rules.other.tableAlignRight.test(a)?l.align.push("right"):this.rules.other.tableAlignCenter.test(a)?l.align.push("center"):this.rules.other.tableAlignLeft.test(a)?l.align.push("left"):l.align.push(null);for(let a=0;a<n.length;a++)l.header.push({text:n[a],tokens:this.lexer.inline(n[a]),header:!0,align:l.align[a]});for(let a of r)l.rows.push(Ie(a,l.header.length).map((o,i)=>({text:o,tokens:this.lexer.inline(o),header:!1,align:l.align[i]})));return l}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let n=e[1].charAt(e[1].length-1)===`
26
+ `?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:n,tokens:this.lexer.inline(n)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let n=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let l=ee(n.slice(0,-1),"\\");if((n.length-l.length)%2===0)return}else{let l=tn(e[2],"()");if(l===-2)return;if(l>-1){let c=(e[0].indexOf("!")===0?5:4)+e[1].length+l;e[2]=e[2].substring(0,l),e[0]=e[0].substring(0,c).trim(),e[3]=""}}let s=e[2],r="";if(this.options.pedantic){let l=this.rules.other.pedanticHrefTitle.exec(s);l&&(s=l[1],r=l[3])}else r=e[3]?e[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?s=s.slice(1):s=s.slice(1,-1)),Oe(e,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let s=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),r=e[s.toLowerCase()];if(!r){let l=n[0].charAt(0);return{type:"text",raw:l,text:l}}return Oe(n,r,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let s=this.rules.inline.emStrongLDelim.exec(t);if(!(!s||s[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(s[1]||s[2])||!n||this.rules.inline.punctuation.exec(n))){let r=[...s[0]].length-1,l,c,a=r,o=0,i=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(i.lastIndex=0,e=e.slice(-1*t.length+r);(s=i.exec(e))!=null;){if(l=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!l)continue;if(c=[...l].length,s[3]||s[4]){a+=c;continue}else if((s[5]||s[6])&&r%3&&!((r+c)%3)){o+=c;continue}if(a-=c,a>0)continue;c=Math.min(c,c+a+o);let u=[...s[0]][0].length,p=t.slice(0,r+s.index+u+c);if(Math.min(r,c)%2){let D=p.slice(1,-1);return{type:"em",raw:p,text:D,tokens:this.lexer.inlineTokens(D)}}let d=p.slice(2,-2);return{type:"strong",raw:p,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let n=e[2].replace(this.rules.other.newLineCharGlobal," "),s=this.rules.other.nonSpaceChar.test(n),r=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return s&&r&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:e[0],text:n}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let n,s;return e[2]==="@"?(n=e[1],s="mailto:"+n):(n=e[1],s=n),{type:"link",raw:e[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let e;if(e=this.rules.inline.url.exec(t)){let s,r;if(e[2]==="@")s=e[0],r="mailto:"+s;else{let l;do l=e[0],e[0]=((n=this.rules.inline._backpedal.exec(e[0]))==null?void 0:n[0])??"";while(l!==e[0]);s=e[0],e[1]==="www."?r="http://"+e[0]:r=e[0]}return{type:"link",raw:e[0],text:s,href:r,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let n=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:n}}}},L=class be{constructor(e){C(this,"tokens");C(this,"options");C(this,"state");C(this,"tokenizer");C(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Q,this.options.tokenizer=this.options.tokenizer||new ue,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:y,block:le.normal,inline:J.normal};this.options.pedantic?(n.block=le.pedantic,n.inline=J.pedantic):this.options.gfm&&(n.block=le.gfm,this.options.breaks?n.inline=J.breaks:n.inline=J.gfm),this.tokenizer.rules=n}static get rules(){return{block:le,inline:J}}static lex(e,n){return new be(n).lex(e)}static lexInline(e,n){return new be(n).inlineTokens(e)}lex(e){e=e.replace(y.carriageReturn,`
27
+ `),this.blockTokens(e,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){let s=this.inlineQueue[n];this.inlineTokens(s.src,s.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,n=[],s=!1){var r,l,c;for(this.options.pedantic&&(e=e.replace(y.tabCharGlobal," ").replace(y.spaceLine,""));e;){let a;if((l=(r=this.options.extensions)==null?void 0:r.block)!=null&&l.some(i=>(a=i.call({lexer:this},e,n))?(e=e.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);let i=n.at(-1);a.raw.length===1&&i!==void 0?i.raw+=`
28
+ `:n.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);let i=n.at(-1);(i==null?void 0:i.type)==="paragraph"||(i==null?void 0:i.type)==="text"?(i.raw+=(i.raw.endsWith(`
29
+ `)?"":`
30
+ `)+a.raw,i.text+=`
31
+ `+a.text,this.inlineQueue.at(-1).src=i.text):n.push(a);continue}if(a=this.tokenizer.fences(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.heading(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.hr(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.blockquote(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.list(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.html(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);let i=n.at(-1);(i==null?void 0:i.type)==="paragraph"||(i==null?void 0:i.type)==="text"?(i.raw+=(i.raw.endsWith(`
32
+ `)?"":`
33
+ `)+a.raw,i.text+=`
34
+ `+a.raw,this.inlineQueue.at(-1).src=i.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},n.push(a));continue}if(a=this.tokenizer.table(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.lheading(e)){e=e.substring(a.raw.length),n.push(a);continue}let o=e;if((c=this.options.extensions)!=null&&c.startBlock){let i=1/0,u=e.slice(1),p;this.options.extensions.startBlock.forEach(d=>{p=d.call({lexer:this},u),typeof p=="number"&&p>=0&&(i=Math.min(i,p))}),i<1/0&&i>=0&&(o=e.substring(0,i+1))}if(this.state.top&&(a=this.tokenizer.paragraph(o))){let i=n.at(-1);s&&(i==null?void 0:i.type)==="paragraph"?(i.raw+=(i.raw.endsWith(`
35
+ `)?"":`
36
+ `)+a.raw,i.text+=`
37
+ `+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):n.push(a),s=o.length!==e.length,e=e.substring(a.raw.length);continue}if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);let i=n.at(-1);(i==null?void 0:i.type)==="text"?(i.raw+=(i.raw.endsWith(`
38
+ `)?"":`
39
+ `)+a.raw,i.text+=`
40
+ `+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):n.push(a);continue}if(e){let i="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(i);break}else throw new Error(i)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){var a,o,i;let s=e,r=null;if(this.tokens.links){let u=Object.keys(this.tokens.links);if(u.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)u.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,r.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(r=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let l=!1,c="";for(;e;){l||(c=""),l=!1;let u;if((o=(a=this.options.extensions)==null?void 0:a.inline)!=null&&o.some(d=>(u=d.call({lexer:this},e,n))?(e=e.substring(u.raw.length),n.push(u),!0):!1))continue;if(u=this.tokenizer.escape(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.tag(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.link(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(u.raw.length);let d=n.at(-1);u.type==="text"&&(d==null?void 0:d.type)==="text"?(d.raw+=u.raw,d.text+=u.text):n.push(u);continue}if(u=this.tokenizer.emStrong(e,s,c)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.codespan(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.br(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.del(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.autolink(e)){e=e.substring(u.raw.length),n.push(u);continue}if(!this.state.inLink&&(u=this.tokenizer.url(e))){e=e.substring(u.raw.length),n.push(u);continue}let p=e;if((i=this.options.extensions)!=null&&i.startInline){let d=1/0,D=e.slice(1),g;this.options.extensions.startInline.forEach(A=>{g=A.call({lexer:this},D),typeof g=="number"&&g>=0&&(d=Math.min(d,g))}),d<1/0&&d>=0&&(p=e.substring(0,d+1))}if(u=this.tokenizer.inlineText(p)){e=e.substring(u.raw.length),u.raw.slice(-1)!=="_"&&(c=u.raw.slice(-1)),l=!0;let d=n.at(-1);(d==null?void 0:d.type)==="text"?(d.raw+=u.raw,d.text+=u.text):n.push(u);continue}if(e){let d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return n}},ce=class{constructor(t){C(this,"options");C(this,"parser");this.options=t||Q}space(t){return""}code({text:t,lang:e,escaped:n}){var l;let s=(l=(e||"").match(y.notSpaceStart))==null?void 0:l[0],r=t.replace(y.endingNewline,"")+`
41
+ `;return s?'<pre><code class="language-'+N(s)+'">'+(n?r:N(r,!0))+`</code></pre>
42
+ `:"<pre><code>"+(n?r:N(r,!0))+`</code></pre>
43
+ `}blockquote({tokens:t}){return`<blockquote>
44
+ ${this.parser.parse(t)}</blockquote>
45
+ `}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>
46
+ `}hr(t){return`<hr>
47
+ `}list(t){let e=t.ordered,n=t.start,s="";for(let c=0;c<t.items.length;c++){let a=t.items[c];s+=this.listitem(a)}let r=e?"ol":"ul",l=e&&n!==1?' start="'+n+'"':"";return"<"+r+l+`>
48
+ `+s+"</"+r+`>
49
+ `}listitem(t){var n;let e="";if(t.task){let s=this.checkbox({checked:!!t.checked});t.loose?((n=t.tokens[0])==null?void 0:n.type)==="paragraph"?(t.tokens[0].text=s+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=s+" "+N(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:s+" ",text:s+" ",escaped:!0}):e+=s+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`<li>${e}</li>
50
+ `}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
51
+ `}table(t){let e="",n="";for(let r=0;r<t.header.length;r++)n+=this.tablecell(t.header[r]);e+=this.tablerow({text:n});let s="";for(let r=0;r<t.rows.length;r++){let l=t.rows[r];n="";for(let c=0;c<l.length;c++)n+=this.tablecell(l[c]);s+=this.tablerow({text:n})}return s&&(s=`<tbody>${s}</tbody>`),`<table>
52
+ <thead>
53
+ `+e+`</thead>
54
+ `+s+`</table>
55
+ `}tablerow({text:t}){return`<tr>
56
+ ${t}</tr>
57
+ `}tablecell(t){let e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>
58
+ `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${N(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:n}){let s=this.parser.parseInline(n),r=Le(t);if(r===null)return s;t=r;let l='<a href="'+t+'"';return e&&(l+=' title="'+N(e)+'"'),l+=">"+s+"</a>",l}image({href:t,title:e,text:n,tokens:s}){s&&(n=this.parser.parseInline(s,this.parser.textRenderer));let r=Le(t);if(r===null)return N(n);t=r;let l=`<img src="${t}" alt="${n}"`;return e&&(l+=` title="${N(e)}"`),l+=">",l}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:N(t.text)}},ve=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}},I=class ke{constructor(e){C(this,"options");C(this,"renderer");C(this,"textRenderer");this.options=e||Q,this.options.renderer=this.options.renderer||new ce,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ve}static parse(e,n){return new ke(n).parse(e)}static parseInline(e,n){return new ke(n).parseInline(e)}parse(e,n=!0){var r,l;let s="";for(let c=0;c<e.length;c++){let a=e[c];if((l=(r=this.options.extensions)==null?void 0:r.renderers)!=null&&l[a.type]){let i=a,u=this.options.extensions.renderers[i.type].call({parser:this},i);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(i.type)){s+=u||"";continue}}let o=a;switch(o.type){case"space":{s+=this.renderer.space(o);continue}case"hr":{s+=this.renderer.hr(o);continue}case"heading":{s+=this.renderer.heading(o);continue}case"code":{s+=this.renderer.code(o);continue}case"table":{s+=this.renderer.table(o);continue}case"blockquote":{s+=this.renderer.blockquote(o);continue}case"list":{s+=this.renderer.list(o);continue}case"html":{s+=this.renderer.html(o);continue}case"def":{s+=this.renderer.def(o);continue}case"paragraph":{s+=this.renderer.paragraph(o);continue}case"text":{let i=o,u=this.renderer.text(i);for(;c+1<e.length&&e[c+1].type==="text";)i=e[++c],u+=`
59
+ `+this.renderer.text(i);n?s+=this.renderer.paragraph({type:"paragraph",raw:u,text:u,tokens:[{type:"text",raw:u,text:u,escaped:!0}]}):s+=u;continue}default:{let i='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return s}parseInline(e,n=this.renderer){var r,l;let s="";for(let c=0;c<e.length;c++){let a=e[c];if((l=(r=this.options.extensions)==null?void 0:r.renderers)!=null&&l[a.type]){let i=this.options.extensions.renderers[a.type].call({parser:this},a);if(i!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){s+=i||"";continue}}let o=a;switch(o.type){case"escape":{s+=n.text(o);break}case"html":{s+=n.html(o);break}case"link":{s+=n.link(o);break}case"image":{s+=n.image(o);break}case"strong":{s+=n.strong(o);break}case"em":{s+=n.em(o);break}case"codespan":{s+=n.codespan(o);break}case"br":{s+=n.br(o);break}case"del":{s+=n.del(o);break}case"text":{s+=n.text(o);break}default:{let i='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return s}},fe,ae=(fe=class{constructor(t){C(this,"options");C(this,"block");this.options=t||Q}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?L.lex:L.lexInline}provideParser(){return this.block?I.parse:I.parseInline}},C(fe,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),fe),rn=class{constructor(...t){C(this,"defaults",Ce());C(this,"options",this.setOptions);C(this,"parse",this.parseMarkdown(!0));C(this,"parseInline",this.parseMarkdown(!1));C(this,"Parser",I);C(this,"Renderer",ce);C(this,"TextRenderer",ve);C(this,"Lexer",L);C(this,"Tokenizer",ue);C(this,"Hooks",ae);this.use(...t)}walkTokens(t,e){var s,r;let n=[];for(let l of t)switch(n=n.concat(e.call(this,l)),l.type){case"table":{let c=l;for(let a of c.header)n=n.concat(this.walkTokens(a.tokens,e));for(let a of c.rows)for(let o of a)n=n.concat(this.walkTokens(o.tokens,e));break}case"list":{let c=l;n=n.concat(this.walkTokens(c.items,e));break}default:{let c=l;(r=(s=this.defaults.extensions)==null?void 0:s.childTokens)!=null&&r[c.type]?this.defaults.extensions.childTokens[c.type].forEach(a=>{let o=c[a].flat(1/0);n=n.concat(this.walkTokens(o,e))}):c.tokens&&(n=n.concat(this.walkTokens(c.tokens,e)))}}return n}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{let s={...n};if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){let l=e.renderers[r.name];l?e.renderers[r.name]=function(...c){let a=r.renderer.apply(this,c);return a===!1&&(a=l.apply(this,c)),a}:e.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let l=e[r.level];l?l.unshift(r.tokenizer):e[r.level]=[r.tokenizer],r.start&&(r.level==="block"?e.startBlock?e.startBlock.push(r.start):e.startBlock=[r.start]:r.level==="inline"&&(e.startInline?e.startInline.push(r.start):e.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(e.childTokens[r.name]=r.childTokens)}),s.extensions=e),n.renderer){let r=this.defaults.renderer||new ce(this.defaults);for(let l in n.renderer){if(!(l in r))throw new Error(`renderer '${l}' does not exist`);if(["options","parser"].includes(l))continue;let c=l,a=n.renderer[c],o=r[c];r[c]=(...i)=>{let u=a.apply(r,i);return u===!1&&(u=o.apply(r,i)),u||""}}s.renderer=r}if(n.tokenizer){let r=this.defaults.tokenizer||new ue(this.defaults);for(let l in n.tokenizer){if(!(l in r))throw new Error(`tokenizer '${l}' does not exist`);if(["options","rules","lexer"].includes(l))continue;let c=l,a=n.tokenizer[c],o=r[c];r[c]=(...i)=>{let u=a.apply(r,i);return u===!1&&(u=o.apply(r,i)),u}}s.tokenizer=r}if(n.hooks){let r=this.defaults.hooks||new ae;for(let l in n.hooks){if(!(l in r))throw new Error(`hook '${l}' does not exist`);if(["options","block"].includes(l))continue;let c=l,a=n.hooks[c],o=r[c];ae.passThroughHooks.has(l)?r[c]=i=>{if(this.defaults.async)return Promise.resolve(a.call(r,i)).then(p=>o.call(r,p));let u=a.call(r,i);return o.call(r,u)}:r[c]=(...i)=>{let u=a.apply(r,i);return u===!1&&(u=o.apply(r,i)),u}}s.hooks=r}if(n.walkTokens){let r=this.defaults.walkTokens,l=n.walkTokens;s.walkTokens=function(c){let a=[];return a.push(l.call(this,c)),r&&(a=a.concat(r.call(this,c))),a}}this.defaults={...this.defaults,...s}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return L.lex(t,e??this.defaults)}parser(t,e){return I.parse(t,e??this.defaults)}parseMarkdown(t){return(e,n)=>{let s={...n},r={...this.defaults,...s},l=this.onError(!!r.silent,!!r.async);if(this.defaults.async===!0&&s.async===!1)return l(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));r.hooks&&(r.hooks.options=r,r.hooks.block=t);let c=r.hooks?r.hooks.provideLexer():t?L.lex:L.lexInline,a=r.hooks?r.hooks.provideParser():t?I.parse:I.parseInline;if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(e):e).then(o=>c(o,r)).then(o=>r.hooks?r.hooks.processAllTokens(o):o).then(o=>r.walkTokens?Promise.all(this.walkTokens(o,r.walkTokens)).then(()=>o):o).then(o=>a(o,r)).then(o=>r.hooks?r.hooks.postprocess(o):o).catch(l);try{r.hooks&&(e=r.hooks.preprocess(e));let o=c(e,r);r.hooks&&(o=r.hooks.processAllTokens(o)),r.walkTokens&&this.walkTokens(o,r.walkTokens);let i=a(o,r);return r.hooks&&(i=r.hooks.postprocess(i)),i}catch(o){return l(o)}}}onError(t,e){return n=>{if(n.message+=`
60
+ Please report this to https://github.com/markedjs/marked.`,t){let s="<p>An error occurred:</p><pre>"+N(n.message+"",!0)+"</pre>";return e?Promise.resolve(s):s}if(e)return Promise.reject(n);throw n}}},j=new rn;function F(t,e){return j.parse(t,e)}F.options=F.setOptions=function(t){return j.setOptions(t),F.defaults=j.defaults,Ze(F.defaults),F};F.getDefaults=Ce;F.defaults=Q;F.use=function(...t){return j.use(...t),F.defaults=j.defaults,Ze(F.defaults),F};F.walkTokens=function(t,e){return j.walkTokens(t,e)};F.parseInline=j.parseInline;F.Parser=I;F.parser=I.parse;F.Renderer=ce;F.TextRenderer=ve;F.Lexer=L;F.lexer=L.lex;F.Tokenizer=ue;F.Hooks=ae;F.parse=F;F.options;F.setOptions;F.use;F.walkTokens;F.parseInline;I.parse;L.lex;function ze(t){const e=t.regex,n=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),s=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},l={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=t.inherit(l,{begin:/\(/,end:/\)/}),a=t.inherit(t.APOS_STRING_MODE,{className:"string"}),o=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),i={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:s,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[l,o,a,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[l,c,o,a]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[o]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[i],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[i],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(n,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:i}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const Me="[A-Za-z$_][0-9A-Za-z$_]*",sn=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],ln=["true","false","null","undefined","NaN","Infinity"],tt=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],nt=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],rt=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],an=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],on=[].concat(rt,tt,nt);function un(t){const e=t.regex,n=(B,{after:P})=>{const $="</"+B[0].slice(1);return B.input.indexOf($,P)!==-1},s=Me,r={begin:"<>",end:"</>"},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(B,P)=>{const $=B[0].length+B.index,H=B.input[$];if(H==="<"||H===","){P.ignoreMatch();return}H===">"&&(n(B,{after:$})||P.ignoreMatch());let Z;const ie=B.input.substring($);if(Z=ie.match(/^\s*=/)){P.ignoreMatch();return}if((Z=ie.match(/^\s+extends\s+/))&&Z.index===0){P.ignoreMatch();return}}},a={$pattern:Me,keyword:sn,literal:ln,built_in:on,"variable.language":an},o="[0-9](_?[0-9])*",i=`\\.(${o})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:`(\\b(${u})((${i})|\\.)?|(${i}))[eE][+-]?(${o})\\b`},{begin:`\\b(${u})\\b((${i})\\b|\\.)?|(${i})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},D={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},g={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"css"}},A={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},S={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,d]},O={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:s+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},U=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,D,g,A,S,{match:/\$\d+/},p];d.contains=U.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(U)});const z=[].concat(O,d.contains),M=z.concat([{begin:/(\s*)\(/,end:/\)/,keywords:a,contains:["self"].concat(z)}]),T={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:M},v={variants:[{match:[/class/,/\s+/,s,/\s+/,/extends/,/\s+/,e.concat(s,"(",e.concat(/\./,s),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,s],scope:{1:"keyword",3:"title.class"}}]},W={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...tt,...nt]}},pe={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},h={variants:[{match:[/function/,/\s+/,s,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},f={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function k(B){return e.concat("(?!",B.join("|"),")")}const E={match:e.concat(/\b/,k([...rt,"super","import"].map(B=>`${B}\\s*\\(`)),s,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},x={begin:e.concat(/\./,e.lookahead(e.concat(s,/(?![0-9A-Za-z$_(])/))),end:s,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},K={match:[/get|set/,/\s+/,s,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},Y="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",se={match:[/const|var|let/,/\s+/,s,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(Y)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:M,CLASS_REFERENCE:W},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),pe,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,D,g,A,S,O,{match:/\$\d+/},p,W,{scope:"attr",match:s+e.lookahead(":"),relevance:0},se,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[O,t.REGEXP_MODE,{className:"function",begin:Y,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:M}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:l},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},h,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,t.inherit(t.TITLE_MODE,{begin:s,className:"title.function"})]},{match:/\.\.\./,relevance:0},x,{match:"\\$"+s,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},E,f,v,K,{match:/\$[(.]/}]}}const cn=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),dn=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],hn=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],pn=[...dn,...hn],gn=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Dn=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),fn=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),mn=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Fn(t){const e=t.regex,n=cn(t),s={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},r="and or not only",l=/@-?\w[\w]*(-\w+)*/,c="[a-zA-Z-][a-zA-Z0-9_-]*",a=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,s,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+c,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Dn.join("|")+")"},{begin:":(:)?("+fn.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+mn.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:l},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:r,attribute:gn.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...a,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+pn.join("|")+")\\b"}]}}const bn=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,kn=Object.hasOwnProperty;class st{constructor(){this.occurrences,this.reset()}slug(e,n){const s=this;let r=En(e,n===!0);const l=r;for(;kn.call(s.occurrences,r);)s.occurrences[l]++,r=l+"-"+s.occurrences[l];return s.occurrences[r]=0,r}reset(){this.occurrences=Object.create(null)}}function En(t,e){return typeof t!="string"?"":(e||(t=t.toLowerCase()),t.replace(bn,"").replace(/ /g,"-"))}let it=new st,lt=[];const Cn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function An(t){return t.replace(Cn,(e,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}function xn({prefix:t="",globalSlugs:e=!1}={}){return{headerIds:!1,hooks:{preprocess(n){return e||wn(),n}},useNewRenderer:!0,renderer:{heading({tokens:n,depth:s}){const r=this.parser.parseInline(n),l=An(r).trim().replace(/<[!\/a-z].*?>/gi,""),c=s,a=`${t}${it.slug(l.toLowerCase())}`,o={level:c,text:r,id:a,raw:l};return lt.push(o),`<h${c} id="${a}">${r}</h${c}>
61
+ `}}}}function wn(){lt=[],it=new st}function yn(t){const e=[].forEach,n=[].some,s=typeof window<"u"&&document.body,r=" ";let l,c=!0,a=0;function o(h,f){const k=f.appendChild(u(h));if(h.children.length){const E=p(h.isCollapsed);h.children.forEach(x=>{o(x,E)}),k.appendChild(E)}}function i(h,f){const E=p(!1);if(f.forEach(x=>{o(x,E)}),l=h||l,l!==null)return l.firstChild&&l.removeChild(l.firstChild),f.length===0?l:l.appendChild(E)}function u(h){const f=document.createElement("li"),k=document.createElement("a");return t.listItemClass&&f.setAttribute("class",t.listItemClass),t.onClick&&(k.onclick=t.onClick),t.includeTitleTags&&k.setAttribute("title",h.textContent),t.includeHtml&&h.childNodes.length?e.call(h.childNodes,E=>{k.appendChild(E.cloneNode(!0))}):k.textContent=h.textContent,k.setAttribute("href",`${t.basePath}#${h.id}`),k.setAttribute("class",`${t.linkClass+r}node-name--${h.nodeName}${r}${t.extraLinkClasses}`),f.appendChild(k),f}function p(h){const f=t.orderedList?"ol":"ul",k=document.createElement(f);let E=t.listClass+r+t.extraListClasses;return h&&(E=E+r+t.collapsibleClass,E=E+r+t.isCollapsedClass),k.setAttribute("class",E),k}function d(){const h=v(),f=document.querySelector(t.positionFixedSelector);t.fixedSidebarOffset==="auto"&&(t.fixedSidebarOffset=l.offsetTop),h>t.fixedSidebarOffset?f.className.indexOf(t.positionFixedClass)===-1&&(f.className+=r+t.positionFixedClass):f.className=f.className.replace(r+t.positionFixedClass,"")}function D(h){let f=0;return h!==null&&(f=h.offsetTop,t.hasInnerContainers&&(f+=D(h.offsetParent))),f}function g(h,f){return h&&h.className!==f&&(h.className=f),h}function A(h,f){var Y,se;t.positionFixedSelector&&d();const k=h,E=(Y=f==null?void 0:f.target)!=null&&Y.getAttribute?(se=f==null?void 0:f.target)==null?void 0:se.getAttribute("href"):null,x=E&&E.charAt(0)==="#"?z(E.replace("#","")):!1,K=c||x;if(f&&a<5&&a++,K&&l&&k.length>0){const B=W(k),P=l.querySelector(`.${t.activeLinkClass}`),$=B.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1"),H=window.location.hash.replace("#","");let Z=$;const ie=M();E&&x?Z=E.replace("#",""):H&&H!==$&&ie&&(z($)||a<=2)&&(Z=H);const w=l.querySelector(`.${t.linkClass}[href="${t.basePath}#${Z}"]`);if(P===w)return;const ut=l.querySelectorAll(`.${t.linkClass}`);e.call(ut,q=>{g(q,q.className.replace(r+t.activeLinkClass,""))});const ct=l.querySelectorAll(`.${t.listItemClass}`);e.call(ct,q=>{g(q,q.className.replace(r+t.activeListItemClass,""))}),w&&w.className.indexOf(t.activeLinkClass)===-1&&(w.className+=r+t.activeLinkClass);const ge=w==null?void 0:w.parentNode;ge&&ge.className.indexOf(t.activeListItemClass)===-1&&(ge.className+=r+t.activeListItemClass);const dt=l.querySelectorAll(`.${t.listClass}.${t.collapsibleClass}`);e.call(dt,q=>{q.className.indexOf(t.isCollapsedClass)===-1&&(q.className+=r+t.isCollapsedClass)}),w!=null&&w.nextSibling&&w.nextSibling.className.indexOf(t.isCollapsedClass)!==-1&&g(w.nextSibling,w.nextSibling.className.replace(r+t.isCollapsedClass,"")),S(w==null?void 0:w.parentNode.parentNode)}}function S(h){return h&&h.className.indexOf(t.collapsibleClass)!==-1&&h.className.indexOf(t.isCollapsedClass)!==-1?(g(h,h.className.replace(r+t.isCollapsedClass,"")),S(h.parentNode.parentNode)):h}function X(h){const f=h.target||h.srcElement;typeof f.className!="string"||f.className.indexOf(t.linkClass)===-1||(c=!1)}function O(){c=!0}function U(){return c}function z(h){const f=T();return(document==null?void 0:document.getElementById(h)).offsetTop>f.offsetHeight-f.clientHeight*1.4-t.bottomModeThreshold}function M(){const h=T(),f=h.scrollHeight>h.clientHeight,k=v()+h.clientHeight>h.offsetHeight-t.bottomModeThreshold;return f&&k}function T(){let h;return t.scrollContainer&&document.querySelector(t.scrollContainer)?h=document.querySelector(t.scrollContainer):h=document.documentElement||s,h}function v(){const h=T();return(h==null?void 0:h.scrollTop)||0}function W(h,f=v()){let k;return n.call(h,(E,x)=>{if(D(E)>f+t.headingsOffset+10){const K=x===0?x:x-1;return k=h[K],!0}if(x===h.length-1)return k=h[h.length-1],!0}),k}function pe(h){const f=v(),k=W(h,f),E=M();if((!k||f<5)&&!E)window.location.hash==="#"||window.location.hash===""||window.history.pushState(null,null,"#");else if(k&&!E){const x=`#${k.id}`;window.location.hash!==x&&window.history.pushState(null,null,x)}}return{enableTocAnimation:O,disableTocAnimation:X,render:i,updateToc:A,getCurrentlyHighlighting:U,getTopHeader:W,getScrollTop:v,updateUrlHashForHeader:pe}}const Bn={tocSelector:".js-toc",tocElement:null,contentSelector:".js-toc-content",contentElement:null,headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(t){},headingsOffset:1,enableUrlHashUpdateOnScroll:!1,scrollHandlerType:"auto",scrollHandlerTimeout:50,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(t){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollingWrapper:null,tocScrollOffset:30,bottomModeThreshold:30};function Sn(t){const e=[].reduce;function n(i){return i[i.length-1]}function s(i){return+i.nodeName.toUpperCase().replace("H","")}function r(i){try{return i instanceof window.HTMLElement||i instanceof window.parent.HTMLElement}catch{return i instanceof window.HTMLElement}}function l(i){if(!r(i))return i;if(t.ignoreHiddenElements&&(!i.offsetHeight||!i.offsetParent))return null;const u=i.getAttribute("data-heading-label")||(t.headingLabelCallback?String(t.headingLabelCallback(i.innerText)):(i.innerText||i.textContent).trim()),p={id:i.id,children:[],nodeName:i.nodeName,headingLevel:s(i),textContent:u};return t.includeHtml&&(p.childNodes=i.childNodes),t.headingObjectCallback?t.headingObjectCallback(p,i):p}function c(i,u){const p=l(i),d=p.headingLevel;let D=u,g=n(D);const A=g?g.headingLevel:0;let S=d-A;for(;S>0&&(g=n(D),!(g&&d===g.headingLevel));)g&&g.children!==void 0&&(D=g.children),S--;return d>=t.collapseDepth&&(p.isCollapsed=!0),D.push(p),D}function a(i,u){let p=u;t.ignoreSelector&&(p=u.split(",").map(function(D){return`${D.trim()}:not(${t.ignoreSelector})`}));try{return i.querySelectorAll(p)}catch{return console.warn(`Headers not found with selector: ${p}`),null}}function o(i){return e.call(i,function(p,d){const D=l(d);return D&&c(D,p.nest),p},{nest:[]})}return{nestHeadingsArray:o,selectHeadings:a}}function Tn(t){var e=t.duration,n=t.offset;if(typeof window>"u"||typeof location>"u")return;var s=location.hash?c(location.href):location.href;r();function r(){document.body.addEventListener("click",o,!1);function o(i){!l(i.target)||i.target.className.indexOf("no-smooth-scroll")>-1||i.target.href.charAt(i.target.href.length-2)==="#"&&i.target.href.charAt(i.target.href.length-1)==="!"||i.target.className.indexOf(t.linkClass)===-1||vn(i.target.hash,{duration:e,offset:n,callback:function(){a(i.target.hash)}})}}function l(o){return o.tagName.toLowerCase()==="a"&&(o.hash.length>0||o.href.charAt(o.href.length-1)==="#")&&(c(o.href)===s||c(o.href)+"#"===s)}function c(o){return o.slice(0,o.lastIndexOf("#"))}function a(o){var i=document.getElementById(o.substring(1));i&&(/^(?:a|select|input|button|textarea)$/i.test(i.tagName)||(i.tabIndex=-1),i.focus())}}function vn(t,e){var n=window.pageYOffset,s={duration:e.duration,offset:e.offset||0,callback:e.callback,easing:e.easing||p},r=document.querySelector('[id="'+decodeURI(t).split("#").join("")+'"]')||document.querySelector('[id="'+t.split("#").join("")+'"]'),l=typeof t=="string"?s.offset+(t?r&&r.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):t,c=typeof s.duration=="function"?s.duration(l):s.duration,a,o;requestAnimationFrame(function(d){a=d,i(d)});function i(d){o=d-a,window.scrollTo(0,s.easing(o,n,l,c)),o<c?requestAnimationFrame(i):u()}function u(){window.scrollTo(0,n+l),typeof s.callback=="function"&&s.callback()}function p(d,D,g,A){return d/=A/2,d<1?g/2*d*d+D:(d--,-g/2*(d*(d-2)-1)+D)}}function _n(t){const e=t.tocScrollingWrapper||t.tocElement||document.querySelector(t.tocSelector);if(e&&e.scrollHeight>e.clientHeight){const n=e.querySelector(`.${t.activeListItemClass}`);if(n){const r=n.offsetTop-t.tocScrollOffset;e.scrollTop=r>0?r:0}}}let m={},_,De,G,R,ne;function at(t){let e=!1;m=$n(Bn,t||{}),m.scrollSmooth&&(m.duration=m.scrollSmoothDuration,m.offset=m.scrollSmoothOffset,Tn(m)),_=yn(m),De=Sn(m),_e();const n=In(m);if(n===null)return;const s=ot(m);if(s===null||(G=De.selectHeadings(n,m.headingSelector),G===null))return;const l=De.nestHeadingsArray(G).nest;if(!m.skipRendering)_.render(s,l);else return this;let c=!1;const a=m.scrollHandlerTimeout||m.throttleTimeout;R=((u,p)=>Ln(u,p,m.scrollHandlerType))(u=>{var d,D,g;_.updateToc(G,u),!m.disableTocScrollSync&&!c&&_n(m),m.enableUrlHashUpdateOnScroll&&e&&_.getCurrentlyHighlighting()&&_.updateUrlHashForHeader(G);const p=((D=(d=u==null?void 0:u.target)==null?void 0:d.scrollingElement)==null?void 0:D.scrollTop)===0;(u&&(u.eventPhase===0||u.currentTarget===null)||p)&&(_.updateToc(G),(g=m.scrollEndCallback)==null||g.call(m,u))},a),e||(R(),e=!0),window.onhashchange=window.onscrollend=u=>{R(u)},m.scrollContainer&&document.querySelector(m.scrollContainer)?(document.querySelector(m.scrollContainer).addEventListener("scroll",R,!1),document.querySelector(m.scrollContainer).addEventListener("resize",R,!1)):(document.addEventListener("scroll",R,!1),document.addEventListener("resize",R,!1));let i=null;ne=Ee(u=>{c=!0,m.scrollSmooth&&_.disableTocAnimation(u),_.updateToc(G,u),i&&clearTimeout(i),i=setTimeout(()=>{_.enableTocAnimation()},m.scrollSmoothDuration),setTimeout(()=>{c=!1},m.scrollSmoothDuration+100)},m.throttleTimeout),m.scrollContainer&&document.querySelector(m.scrollContainer)?document.querySelector(m.scrollContainer).addEventListener("click",ne,!1):document.addEventListener("click",ne,!1)}function _e(){const t=ot(m);t!==null&&(m.skipRendering||t&&(t.innerHTML=""),m.scrollContainer&&document.querySelector(m.scrollContainer)?(document.querySelector(m.scrollContainer).removeEventListener("scroll",R,!1),document.querySelector(m.scrollContainer).removeEventListener("resize",R,!1),_&&document.querySelector(m.scrollContainer).removeEventListener("click",ne,!1)):(document.removeEventListener("scroll",R,!1),document.removeEventListener("resize",R,!1),_&&document.removeEventListener("click",ne,!1)))}function Rn(t){_e(),at(t||m)}const Nn=Object.prototype.hasOwnProperty;function $n(...t){const e={};for(let n=0;n<t.length;n++){const s=t[n];for(const r in s)Nn.call(s,r)&&(e[r]=s[r])}return e}function Ee(t,e,n){e||(e=250);let s,r;return function(...l){const c=this,a=+new Date;s&&a<s+e?(clearTimeout(r),r=setTimeout(()=>{s=a,t.apply(c,l)},e)):(s=a,t.apply(c,l))}}function Pe(t,e){let n;return(...s)=>{clearTimeout(n),n=setTimeout(()=>t.apply(this,s),e)}}function Ln(t,e,n="auto"){switch(n){case"debounce":return Pe(t,e);case"throttle":return Ee(t,e);default:return e<334?Pe(t,e):Ee(t,e)}}function In(t){try{return t.contentElement||document.querySelector(t.contentSelector)}catch{return console.warn(`Contents element not found: ${t.contentSelector}`),null}}function ot(t){try{return t.tocElement||document.querySelector(t.tocSelector)}catch{return console.warn(`TOC element not found: ${t.tocSelector}`),null}}const He={destroy:_e,init:at,refresh:Rn},On=qe({__name:"index",props:{contentSelector:{},headingSelector:{default:"h1,h2,h3,h4,h5,h6"},scrollContainer:{}},setup(t,{expose:e}){const n=t,s=async()=>{He.destroy(),He.init({tocSelector:"#toc",contentSelector:n.contentSelector,headingSelector:n.headingSelector,collapseDepth:6}),l()},r=()=>{const a=n.headingSelector.split(",").map(i=>`${n.contentSelector} ${i.trim()}`).join(",");return document.querySelectorAll(a)},l=()=>{const a=document.querySelector(n.contentSelector),o=document.querySelector(n.scrollContainer);if(!o||!a)return;const i=r();if(!i.length)return;let u="";const p=new IntersectionObserver(d=>{const D=[];if(d.forEach(g=>{g.isIntersecting&&D.push(g.target)}),D.length>0){D.sort((A,S)=>A.getBoundingClientRect().top-S.getBoundingClientRect().top);const g=D[0].id;g!==u&&(u=g,window.history.pushState(null,"",`#${u}`),c(u))}},{root:o,rootMargin:"0px 0px -80% 0px",threshold:0});return i.forEach(d=>{p.observe(d)}),()=>{p.disconnect()}},c=a=>{document.querySelectorAll("#toc a.toc-link").forEach(i=>{const u=i.closest("li.toc-list-item"),p=i.getAttribute("href")==="#"+a;i.classList.toggle("is-active-link",p),u&&u.classList.toggle("is-active-li",p)})};return gt(()=>l()),e({initToc:s}),(a,o)=>(Ue(),Dt("div",null,[o[0]||(o[0]=me("nav",{id:"toc",class:"sticky top-2"},null,-1)),ft(a.$slots,"default")]))}}),zn={class:"flex-1 p-[10px]"},Mn=["innerHTML"],Un=qe({__name:"index",props:{src:{},showToc:{type:Boolean,default:!1},scrollContainer:{}},setup(t){V.registerLanguage("xml",ze),V.registerLanguage("js",un),V.registerLanguage("css",Fn),V.registerLanguage("vue",ze),F.use(xn({prefix:""}));const e=t,n=Re(""),s=Re();return mt(async()=>{var r;try{if(!e.src){n.value="作者没有配置README.md文件";return}const c=await(await fetch(e.src)).text();n.value=await F.parse(c),await Ft(),V.highlightAll(),e.showToc&&((r=s.value)==null||r.initToc())}catch(l){n.value="加载失败:"+l}}),(r,l)=>(Ue(),bt(On,{contentSelector:".prose",scrollContainer:r.scrollContainer||".prose",class:"flex items-start p-[5px]",ref_key:"tocbotContainerRef",ref:s},{default:kt(()=>[me("div",zn,[me("div",{class:Et(["prose lg:prose-base",{empty:!r.src}]),innerHTML:n.value},null,10,Mn)])]),_:1},8,["scrollContainer"]))}});export{Un as _};
@@ -0,0 +1,6 @@
1
+ import{aY as E,aU as H}from"./index-DsSo-Yk2.js";var g={exports:{}},x={exports:{}},_;function U(){return _||(_=1,(function(){var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l={rotl:function(f,i){return f<<i|f>>>32-i},rotr:function(f,i){return f<<32-i|f>>>i},endian:function(f){if(f.constructor==Number)return l.rotl(f,8)&16711935|l.rotl(f,24)&4278255360;for(var i=0;i<f.length;i++)f[i]=l.endian(f[i]);return f},randomBytes:function(f){for(var i=[];f>0;f--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(f){for(var i=[],c=0,a=0;c<f.length;c++,a+=8)i[a>>>5]|=f[c]<<24-a%32;return i},wordsToBytes:function(f){for(var i=[],c=0;c<f.length*32;c+=8)i.push(f[c>>>5]>>>24-c%32&255);return i},bytesToHex:function(f){for(var i=[],c=0;c<f.length;c++)i.push((f[c]>>>4).toString(16)),i.push((f[c]&15).toString(16));return i.join("")},hexToBytes:function(f){for(var i=[],c=0;c<f.length;c+=2)i.push(parseInt(f.substr(c,2),16));return i},bytesToBase64:function(f){for(var i=[],c=0;c<f.length;c+=3)for(var a=f[c]<<16|f[c+1]<<8|f[c+2],h=0;h<4;h++)c*8+h*6<=f.length*8?i.push(p.charAt(a>>>6*(3-h)&63)):i.push("=");return i.join("")},base64ToBytes:function(f){f=f.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],c=0,a=0;c<f.length;a=++c%4)a!=0&&i.push((p.indexOf(f.charAt(c-1))&Math.pow(2,-2*a+8)-1)<<a*2|p.indexOf(f.charAt(c))>>>6-a*2);return i}};x.exports=l})()),x.exports}var B,S;function C(){if(S)return B;S=1;var p={utf8:{stringToBytes:function(l){return p.bin.stringToBytes(unescape(encodeURIComponent(l)))},bytesToString:function(l){return decodeURIComponent(escape(p.bin.bytesToString(l)))}},bin:{stringToBytes:function(l){for(var f=[],i=0;i<l.length;i++)f.push(l.charCodeAt(i)&255);return f},bytesToString:function(l){for(var f=[],i=0;i<l.length;i++)f.push(String.fromCharCode(l[i]));return f.join("")}}};return B=p,B}/*!
2
+ * Determine if an object is a Buffer
3
+ *
4
+ * @author Feross Aboukhadijeh <https://feross.org>
5
+ * @license MIT
6
+ */var T,A;function O(){if(A)return T;A=1,T=function(f){return f!=null&&(p(f)||l(f)||!!f._isBuffer)};function p(f){return!!f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f)}function l(f){return typeof f.readFloatLE=="function"&&typeof f.slice=="function"&&p(f.slice(0,0))}return T}var q;function z(){return q||(q=1,(function(){var p=U(),l=C().utf8,f=O(),i=C().bin,c=function(a,h){a.constructor==String?h&&h.encoding==="binary"?a=i.stringToBytes(a):a=l.stringToBytes(a):f(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var o=p.bytesToWords(a),y=a.length*8,t=1732584193,r=-271733879,e=-1732584194,n=271733878,u=0;u<o.length;u++)o[u]=(o[u]<<8|o[u]>>>24)&16711935|(o[u]<<24|o[u]>>>8)&4278255360;o[y>>>5]|=128<<y%32,o[(y+64>>>9<<4)+14]=y;for(var s=c._ff,v=c._gg,d=c._hh,F=c._ii,u=0;u<o.length;u+=16){var I=t,R=r,M=e,w=n;t=s(t,r,e,n,o[u+0],7,-680876936),n=s(n,t,r,e,o[u+1],12,-389564586),e=s(e,n,t,r,o[u+2],17,606105819),r=s(r,e,n,t,o[u+3],22,-1044525330),t=s(t,r,e,n,o[u+4],7,-176418897),n=s(n,t,r,e,o[u+5],12,1200080426),e=s(e,n,t,r,o[u+6],17,-1473231341),r=s(r,e,n,t,o[u+7],22,-45705983),t=s(t,r,e,n,o[u+8],7,1770035416),n=s(n,t,r,e,o[u+9],12,-1958414417),e=s(e,n,t,r,o[u+10],17,-42063),r=s(r,e,n,t,o[u+11],22,-1990404162),t=s(t,r,e,n,o[u+12],7,1804603682),n=s(n,t,r,e,o[u+13],12,-40341101),e=s(e,n,t,r,o[u+14],17,-1502002290),r=s(r,e,n,t,o[u+15],22,1236535329),t=v(t,r,e,n,o[u+1],5,-165796510),n=v(n,t,r,e,o[u+6],9,-1069501632),e=v(e,n,t,r,o[u+11],14,643717713),r=v(r,e,n,t,o[u+0],20,-373897302),t=v(t,r,e,n,o[u+5],5,-701558691),n=v(n,t,r,e,o[u+10],9,38016083),e=v(e,n,t,r,o[u+15],14,-660478335),r=v(r,e,n,t,o[u+4],20,-405537848),t=v(t,r,e,n,o[u+9],5,568446438),n=v(n,t,r,e,o[u+14],9,-1019803690),e=v(e,n,t,r,o[u+3],14,-187363961),r=v(r,e,n,t,o[u+8],20,1163531501),t=v(t,r,e,n,o[u+13],5,-1444681467),n=v(n,t,r,e,o[u+2],9,-51403784),e=v(e,n,t,r,o[u+7],14,1735328473),r=v(r,e,n,t,o[u+12],20,-1926607734),t=d(t,r,e,n,o[u+5],4,-378558),n=d(n,t,r,e,o[u+8],11,-2022574463),e=d(e,n,t,r,o[u+11],16,1839030562),r=d(r,e,n,t,o[u+14],23,-35309556),t=d(t,r,e,n,o[u+1],4,-1530992060),n=d(n,t,r,e,o[u+4],11,1272893353),e=d(e,n,t,r,o[u+7],16,-155497632),r=d(r,e,n,t,o[u+10],23,-1094730640),t=d(t,r,e,n,o[u+13],4,681279174),n=d(n,t,r,e,o[u+0],11,-358537222),e=d(e,n,t,r,o[u+3],16,-722521979),r=d(r,e,n,t,o[u+6],23,76029189),t=d(t,r,e,n,o[u+9],4,-640364487),n=d(n,t,r,e,o[u+12],11,-421815835),e=d(e,n,t,r,o[u+15],16,530742520),r=d(r,e,n,t,o[u+2],23,-995338651),t=F(t,r,e,n,o[u+0],6,-198630844),n=F(n,t,r,e,o[u+7],10,1126891415),e=F(e,n,t,r,o[u+14],15,-1416354905),r=F(r,e,n,t,o[u+5],21,-57434055),t=F(t,r,e,n,o[u+12],6,1700485571),n=F(n,t,r,e,o[u+3],10,-1894986606),e=F(e,n,t,r,o[u+10],15,-1051523),r=F(r,e,n,t,o[u+1],21,-2054922799),t=F(t,r,e,n,o[u+8],6,1873313359),n=F(n,t,r,e,o[u+15],10,-30611744),e=F(e,n,t,r,o[u+6],15,-1560198380),r=F(r,e,n,t,o[u+13],21,1309151649),t=F(t,r,e,n,o[u+4],6,-145523070),n=F(n,t,r,e,o[u+11],10,-1120210379),e=F(e,n,t,r,o[u+2],15,718787259),r=F(r,e,n,t,o[u+9],21,-343485551),t=t+I>>>0,r=r+R>>>0,e=e+M>>>0,n=n+w>>>0}return p.endian([t,r,e,n])};c._ff=function(a,h,o,y,t,r,e){var n=a+(h&o|~h&y)+(t>>>0)+e;return(n<<r|n>>>32-r)+h},c._gg=function(a,h,o,y,t,r,e){var n=a+(h&y|o&~y)+(t>>>0)+e;return(n<<r|n>>>32-r)+h},c._hh=function(a,h,o,y,t,r,e){var n=a+(h^o^y)+(t>>>0)+e;return(n<<r|n>>>32-r)+h},c._ii=function(a,h,o,y,t,r,e){var n=a+(o^(h|~y))+(t>>>0)+e;return(n<<r|n>>>32-r)+h},c._blocksize=16,c._digestsize=16,g.exports=function(a,h){if(a==null)throw new Error("Illegal argument "+a);var o=p.wordsToBytes(c(a,h));return h&&h.asBytes?o:h&&h.asString?i.bytesToString(o):p.bytesToHex(o)}})()),g.exports}var G=z();const $=E(G);async function k(p,l){return H("/__remote__/api/v1/email/sendCode",{method:"POST",headers:{"Content-Type":"application/json"},data:p})}export{k as e,$ as m};
@@ -9,8 +9,8 @@
9
9
  <script src="/dist/js/vue3-sfc-loader.js"></script>
10
10
  <script src="/dist/font/iconfont.js"></script>
11
11
 
12
- <script type="module" crossorigin src="/dist/assets/index-C2IFtYba.js"></script>
13
- <link rel="stylesheet" crossorigin href="/dist/assets/index-Dds6f8cK.css">
12
+ <script type="module" crossorigin src="/dist/assets/index-DsSo-Yk2.js"></script>
13
+ <link rel="stylesheet" crossorigin href="/dist/assets/index-BoHH9eAN.css">
14
14
  </head>
15
15
 
16
16
  <body>
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "comp-hub",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
- "comp-hub": "bin/cli.js"
6
+ "comphub": "bin/cli.js"
7
7
  },
8
8
  "files": [
9
9
  "dist",