@micacms/editor-ui 0.2.0 → 0.2.2

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 (49) hide show
  1. package/dist/assets/ChangesView-aU_TiQsk.js +7 -0
  2. package/dist/assets/ChangesView-aU_TiQsk.js.map +1 -0
  3. package/dist/assets/{CollectionView-CIccDFfw.js → CollectionView-BL9-uTTb.js} +2 -2
  4. package/dist/assets/{CollectionView-CIccDFfw.js.map → CollectionView-BL9-uTTb.js.map} +1 -1
  5. package/dist/assets/{ConfirmDialog.vue_vue_type_script_setup_true_lang-Fml6E0E6.js → ConfirmDialog.vue_vue_type_script_setup_true_lang-A3xi1Pww.js} +2 -2
  6. package/dist/assets/{ConfirmDialog.vue_vue_type_script_setup_true_lang-Fml6E0E6.js.map → ConfirmDialog.vue_vue_type_script_setup_true_lang-A3xi1Pww.js.map} +1 -1
  7. package/dist/assets/DashboardView-Dn6J5mjy.js +2 -0
  8. package/dist/assets/DashboardView-Dn6J5mjy.js.map +1 -0
  9. package/dist/assets/{EntryView-CQi6YXUu.js → EntryView-EdKf-RGT.js} +2 -2
  10. package/dist/assets/{EntryView-CQi6YXUu.js.map → EntryView-EdKf-RGT.js.map} +1 -1
  11. package/dist/assets/{LoginView-Dv13IpFY.js → LoginView-CNEoMKDH.js} +2 -2
  12. package/dist/assets/{LoginView-Dv13IpFY.js.map → LoginView-CNEoMKDH.js.map} +1 -1
  13. package/dist/assets/{MediaView-Dt4yoGnD.js → MediaView-DZ8c7Ftz.js} +2 -2
  14. package/dist/assets/{MediaView-Dt4yoGnD.js.map → MediaView-DZ8c7Ftz.js.map} +1 -1
  15. package/dist/assets/{NotFoundView-Cc_VGwBY.js → NotFoundView-DAJd7RdP.js} +2 -2
  16. package/dist/assets/{NotFoundView-Cc_VGwBY.js.map → NotFoundView-DAJd7RdP.js.map} +1 -1
  17. package/dist/assets/{ObjectField-Da0UtKTb.js → ObjectField-BWAzmqNb.js} +2 -2
  18. package/dist/assets/{ObjectField-Da0UtKTb.js.map → ObjectField-BWAzmqNb.js.map} +1 -1
  19. package/dist/assets/{PageHeader.vue_vue_type_script_setup_true_lang-COWZEHDz.js → PageHeader.vue_vue_type_script_setup_true_lang-BHQH-Q7U.js} +2 -2
  20. package/dist/assets/{PageHeader.vue_vue_type_script_setup_true_lang-COWZEHDz.js.map → PageHeader.vue_vue_type_script_setup_true_lang-BHQH-Q7U.js.map} +1 -1
  21. package/dist/assets/{RepeaterField-DJDdoQm6.js → RepeaterField-Dk1Wne4m.js} +2 -2
  22. package/dist/assets/{RepeaterField-DJDdoQm6.js.map → RepeaterField-Dk1Wne4m.js.map} +1 -1
  23. package/dist/assets/{SingletonView-Co8aaJIy.js → SingletonView-Cq9s9GNX.js} +2 -2
  24. package/dist/assets/{SingletonView-Co8aaJIy.js.map → SingletonView-Cq9s9GNX.js.map} +1 -1
  25. package/dist/assets/{SystemView-CUIAxj3j.js → SystemView-D6jgVaUD.js} +2 -2
  26. package/dist/assets/{SystemView-CUIAxj3j.js.map → SystemView-D6jgVaUD.js.map} +1 -1
  27. package/dist/assets/{arrow-right-DwawkdlZ.js → arrow-right-DY4A7pBS.js} +2 -2
  28. package/dist/assets/{arrow-right-DwawkdlZ.js.map → arrow-right-DY4A7pBS.js.map} +1 -1
  29. package/dist/assets/{arrow-up-C8oJjG99.js → arrow-up-jX6XH6AV.js} +2 -2
  30. package/dist/assets/{arrow-up-C8oJjG99.js.map → arrow-up-jX6XH6AV.js.map} +1 -1
  31. package/dist/assets/{chevron-down-BaA7Bc4y.js → chevron-down-DOqSqKRs.js} +2 -2
  32. package/dist/assets/{chevron-down-BaA7Bc4y.js.map → chevron-down-DOqSqKRs.js.map} +1 -1
  33. package/dist/assets/{index-CDFABwhE.js → index-BsCcwhm6.js} +25 -25
  34. package/dist/assets/index-BsCcwhm6.js.map +1 -0
  35. package/dist/assets/{index-j6Jxa-0x.css → index-D9ZqpwC5.css} +1 -1
  36. package/dist/assets/{plus-BSdnG3GG.js → plus-CFEffUqP.js} +2 -2
  37. package/dist/assets/{plus-BSdnG3GG.js.map → plus-CFEffUqP.js.map} +1 -1
  38. package/dist/assets/{useField-BEdDcExS.js → useField-Czeyhihg.js} +2 -2
  39. package/dist/assets/{useField-BEdDcExS.js.map → useField-Czeyhihg.js.map} +1 -1
  40. package/dist/assets/{useUnsavedChanges-F3fdXjIL.js → useUnsavedChanges-CCE0XMQT.js} +33 -33
  41. package/dist/assets/useUnsavedChanges-CCE0XMQT.js.map +1 -0
  42. package/dist/index.html +2 -2
  43. package/package.json +2 -2
  44. package/dist/assets/ChangesView-CyQiOMWc.js +0 -7
  45. package/dist/assets/ChangesView-CyQiOMWc.js.map +0 -1
  46. package/dist/assets/DashboardView-4pZUadIz.js +0 -2
  47. package/dist/assets/DashboardView-4pZUadIz.js.map +0 -1
  48. package/dist/assets/index-CDFABwhE.js.map +0 -1
  49. package/dist/assets/useUnsavedChanges-F3fdXjIL.js.map +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ObjectField-Da0UtKTb.js","assets/index-CDFABwhE.js","assets/index-j6Jxa-0x.css","assets/useField-BEdDcExS.js","assets/chevron-down-BaA7Bc4y.js","assets/arrow-right-DwawkdlZ.js","assets/plus-BSdnG3GG.js","assets/RepeaterField-DJDdoQm6.js","assets/arrow-up-C8oJjG99.js"])))=>i.map(i=>d[i]);
2
- import{D as gh,d as Pe,h as q,c as W,a as j,l as N,t as Q,b as ge,g as ee,e as _o,E as yh,C as Ae,x as rt,w as gt,F as Ye,k as ut,G as bh,q as si,H as Ou,I as Yi,T as kh,s as vh,v as xh,j as Rt,X as Nu,z as $n,i as gr,r as je,A as ql,n as Ch,o as To,y as Ah,J as wh,K as Eh,L as Sh,M as Dh,N as _h,O as Th,P as Vl,Q as jl,R as Mh,S as Oh,U as Nh,V as Ih,W as Bh}from"./index-CDFABwhE.js";import{u as ft,w as Hl}from"./useField-BEdDcExS.js";import{A as Fh}from"./arrow-right-DwawkdlZ.js";import{P as Rh}from"./plus-BSdnG3GG.js";/**
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ObjectField-BWAzmqNb.js","assets/index-BsCcwhm6.js","assets/index-D9ZqpwC5.css","assets/useField-Czeyhihg.js","assets/chevron-down-DOqSqKRs.js","assets/arrow-right-DY4A7pBS.js","assets/plus-CFEffUqP.js","assets/RepeaterField-Dk1Wne4m.js","assets/arrow-up-jX6XH6AV.js"])))=>i.map(i=>d[i]);
2
+ import{D as gh,d as Pe,h as q,c as W,a as j,l as N,t as Q,b as ge,g as ee,e as _o,E as yh,C as Ae,x as rt,w as gt,F as Ye,k as ut,G as bh,q as si,H as Ou,I as Yi,T as kh,s as vh,v as xh,j as Rt,X as Nu,z as $n,i as gr,r as je,A as ql,n as Ch,o as To,y as Ah,J as wh,K as Eh,L as Sh,M as Dh,N as _h,O as Th,P as Vl,Q as jl,R as Mh,S as Oh,U as Nh,V as Ih,W as Bh}from"./index-BsCcwhm6.js";import{u as ft,w as Hl}from"./useField-Czeyhihg.js";import{A as Fh}from"./arrow-right-DY4A7pBS.js";import{P as Rh}from"./plus-CFEffUqP.js";/**
3
3
  * @license @lucide/vue v1.37.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
@@ -92,18 +92,10 @@ img.ProseMirror-separator {
92
92
  opacity: 0
93
93
  }`;function fy(r,e,t){const n=document.querySelector("style[data-tiptap-style]");if(n!==null)return n;const i=document.createElement("style");return e&&i.setAttribute("nonce",e),i.setAttribute("data-tiptap-style",""),i.innerHTML=r,document.getElementsByTagName("head")[0].appendChild(i),i}let hy=class extends v2{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:t})=>{throw t},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:t,slice:n,moved:i})=>this.options.onDrop(t,n,i)),this.on("paste",({event:t,slice:n})=>this.options.onPaste(t,n)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=fy(dy,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const n=hd(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],i=this.state.reconfigure({plugins:n});return this.view.updateState(i),i}unregisterPlugin(e){if(this.isDestroyed)return;const t=this.state.plugins;let n=t;if([].concat(e).forEach(s=>{const o=typeof s=="string"?`${s}$`:s.key;n=n.filter(l=>!l.key.startsWith(o))}),t.length===n.length)return;const i=this.state.reconfigure({plugins:n});return this.view.updateState(i),i}createExtensionManager(){var e,t;const i=[...this.options.enableCoreExtensions?[sy,F2.configure({blockSeparator:(t=(e=this.options.coreExtensionOptions)===null||e===void 0?void 0:e.clipboardTextSerializer)===null||t===void 0?void 0:t.blockSeparator}),ny,ly,ay,cy,iy,uy].filter(s=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[s.name]!==!1:!0):[],...this.options.extensions].filter(s=>["extension","node","mark"].includes(s==null?void 0:s.type));this.extensionManager=new Fr(i,this)}createCommandManager(){this.commandManager=new ss({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let t;try{t=co(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(o){if(!(o instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(o.message))throw o;this.emit("contentError",{editor:this,error:o,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(l=>l.name!=="collaboration"),this.createExtensionManager()}}),t=co(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const n=bd(t,this.options.autofocus);this.view=new Qc(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...(e=this.options.editorProps)===null||e===void 0?void 0:e.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:Br.create({doc:t,selection:n||void 0})});const i=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(i),this.createNodeViews(),this.prependClass();const s=this.view.dom;s.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(o=>{var l;return(l=this.capturedTransaction)===null||l===void 0?void 0:l.step(o)});return}const t=this.state.apply(e),n=!this.state.selection.eq(t.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}),this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&&this.emit("selectionUpdate",{editor:this,transaction:e});const i=e.getMeta("focus"),s=e.getMeta("blur");i&&this.emit("focus",{editor:this,event:i.event,transaction:e}),s&&this.emit("blur",{editor:this,event:s.event,transaction:e}),!(!e.docChanged||e.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return Cd(this.state,e)}isActive(e,t){const n=typeof e=="string"?e:null,i=typeof e=="string"?t:e;return F1(this.state,n,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return Jo(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t=`
94
94
 
95
- `,textSerializers:n={}}=e||{};return M1(this.state.doc,{blockSeparator:t,textSerializers:{...md(this.schema),...n}})}get isEmpty(){return Xo(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(!((e=this.view)===null||e===void 0)&&e.docView)}$node(e,t){var n;return((n=this.$doc)===null||n===void 0?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return((n=this.$doc)===null||n===void 0?void 0:n.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new cr(t,this)}get $doc(){return this.$pos(0)}};function jr(r){return new as({find:r.find,handler:({state:e,range:t,match:n})=>{const i=ie(r.getAttributes,void 0,n);if(i===!1||i===null)return null;const{tr:s}=e,o=n[n.length-1],l=n[0];if(o){const a=l.search(/\S/),u=t.from+l.indexOf(o),c=u+o.length;if(Qo(t.from,t.to,e.doc).filter(h=>h.mark.type.excluded.find(p=>p===r.type&&p!==h.mark.type)).filter(h=>h.to>u).length)return null;c<t.to&&s.delete(c,t.to),u>t.from&&s.delete(t.from+a,u);const f=t.from+a+o.length;s.addMark(t.from+a,f,r.type.create(i||{})),s.removeStoredMark(r.type)}}})}function py(r){return new as({find:r.find,handler:({state:e,range:t,match:n})=>{const i=ie(r.getAttributes,void 0,n)||{},{tr:s}=e,o=t.from;let l=t.to;const a=r.type.create(i);if(n[1]){const u=n[0].lastIndexOf(n[1]);let c=o+u;c>l?c=l:l=c+n[1].length;const d=n[0][n[0].length-1];s.insertText(d,o+n[0].length-1),s.replaceWith(c,l,a)}else if(n[0]){const u=r.type.isInline?o:o-1;s.insert(u,r.type.create(i)).delete(s.mapping.map(o),s.mapping.map(l))}s.scrollIntoView()}})}function ho(r){return new as({find:r.find,handler:({state:e,range:t,match:n})=>{const i=e.doc.resolve(t.from),s=ie(r.getAttributes,void 0,n)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),r.type))return null;e.tr.delete(t.from,t.to).setBlockType(t.from,t.from,r.type,s)}})}function Cn(r){return new as({find:r.find,handler:({state:e,range:t,match:n,chain:i})=>{const s=ie(r.getAttributes,void 0,n)||{},o=e.tr.delete(t.from,t.to),a=o.doc.resolve(t.from).blockRange(),u=a&&No(a,r.type,s);if(!u)return null;if(o.wrap(a,u),r.keepMarks&&r.editor){const{selection:d,storedMarks:f}=e,{splittableMarks:h}=r.editor.extensionManager,m=f||d.$to.parentOffset&&d.$from.marks();if(m){const p=m.filter(g=>h.includes(g.type.name));o.ensureMarks(p)}}if(r.keepAttributes){const d=r.type.name==="bulletList"||r.type.name==="orderedList"?"listItem":"taskList";i().updateAttributes(d,s).run()}const c=o.doc.resolve(t.from-1).nodeBefore;c&&c.type===r.type&&ir(o.doc,t.from-1)&&(!r.joinPredicate||r.joinPredicate(n,c))&&o.join(t.from-1)}})}let bt=class po{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=ie(J(this,"addOptions",{name:this.name}))),this.storage=ie(J(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new po(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>us(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new po(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=ie(J(t,"addOptions",{name:t.name})),t.storage=ie(J(t,"addStorage",{name:t.name,options:t.options})),t}};function Sr(r){return new T2({find:r.find,handler:({state:e,range:t,match:n,pasteEvent:i})=>{const s=ie(r.getAttributes,void 0,n,i);if(s===!1||s===null)return null;const{tr:o}=e,l=n[n.length-1],a=n[0];let u=t.to;if(l){const c=a.search(/\S/),d=t.from+a.indexOf(l),f=d+l.length;if(Qo(t.from,t.to,e.doc).filter(m=>m.mark.type.excluded.find(g=>g===r.type&&g!==m.mark.type)).filter(m=>m.to>d).length)return null;f<t.to&&o.delete(f,t.to),d>t.from&&o.delete(t.from+c,d),u=t.from+c+l.length,o.addMark(t.from+c,u,r.type.create(s||{})),o.removeStoredMark(r.type)}}})}function my(r,e){const{selection:t}=r,{$from:n}=t;if(t instanceof G){const s=n.index();return n.parent.canReplaceWith(s,s+1,e)}let i=n.depth;for(;i>=0;){const s=n.index(i);if(n.node(i).contentMatchAt(s).matchType(e))return!0;i-=1}return!1}const gy="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",yy="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",mo="numeric",go="ascii",yo="alpha",on="asciinumeric",Qr="alphanumeric",bo="domain",Ad="emoji",by="scheme",ky="slashscheme",Is="whitespace";function vy(r,e){return r in e||(e[r]=[]),e[r]}function pr(r,e,t){e[mo]&&(e[on]=!0,e[Qr]=!0),e[go]&&(e[on]=!0,e[yo]=!0),e[on]&&(e[Qr]=!0),e[yo]&&(e[Qr]=!0),e[Qr]&&(e[bo]=!0),e[Ad]&&(e[bo]=!0);for(const n in e){const i=vy(n,t);i.indexOf(r)<0&&i.push(r)}}function xy(r,e){const t={};for(const n in e)e[n].indexOf(r)>=0&&(t[n]=!0);return t}function Ze(r=null){this.j={},this.jr=[],this.jd=null,this.t=r}Ze.groups={};Ze.prototype={accepts(){return!!this.t},go(r){const e=this,t=e.j[r];if(t)return t;for(let n=0;n<e.jr.length;n++){const i=e.jr[n][0],s=e.jr[n][1];if(s&&i.test(r))return s}return e.jd},has(r,e=!1){return e?r in this.j:!!this.go(r)},ta(r,e,t,n){for(let i=0;i<r.length;i++)this.tt(r[i],e,t,n)},tr(r,e,t,n){n=n||Ze.groups;let i;return e&&e.j?i=e:(i=new Ze(e),t&&n&&pr(e,t,n)),this.jr.push([r,i]),i},ts(r,e,t,n){let i=this;const s=r.length;if(!s)return i;for(let o=0;o<s-1;o++)i=i.tt(r[o]);return i.tt(r[s-1],e,t,n)},tt(r,e,t,n){n=n||Ze.groups;const i=this;if(e&&e.j)return i.j[r]=e,e;const s=e;let o,l=i.go(r);if(l?(o=new Ze,Object.assign(o.j,l.j),o.jr.push.apply(o.jr,l.jr),o.jd=l.jd,o.t=l.t):o=new Ze,s){if(n)if(o.t&&typeof o.t=="string"){const a=Object.assign(xy(o.t,n),t);pr(s,a,n)}else t&&pr(s,t,n);o.t=s}return i.j[r]=o,o}};const ne=(r,e,t,n,i)=>r.ta(e,t,n,i),ke=(r,e,t,n,i)=>r.tr(e,t,n,i),Za=(r,e,t,n,i)=>r.ts(e,t,n,i),L=(r,e,t,n,i)=>r.tt(e,t,n,i),It="WORD",ko="UWORD",wd="ASCIINUMERICAL",Ed="ALPHANUMERICAL",An="LOCALHOST",vo="TLD",xo="UTLD",ti="SCHEME",Ir="SLASH_SCHEME",el="NUM",Co="WS",tl="NL",ln="OPENBRACE",an="CLOSEBRACE",bi="OPENBRACKET",ki="CLOSEBRACKET",vi="OPENPAREN",xi="CLOSEPAREN",Ci="OPENANGLEBRACKET",Ai="CLOSEANGLEBRACKET",wi="FULLWIDTHLEFTPAREN",Ei="FULLWIDTHRIGHTPAREN",Si="LEFTCORNERBRACKET",Di="RIGHTCORNERBRACKET",_i="LEFTWHITECORNERBRACKET",Ti="RIGHTWHITECORNERBRACKET",Mi="FULLWIDTHLESSTHAN",Oi="FULLWIDTHGREATERTHAN",Ni="AMPERSAND",Ii="APOSTROPHE",Bi="ASTERISK",Wt="AT",Fi="BACKSLASH",Ri="BACKTICK",$i="CARET",mr="COLON",rl="COMMA",Pi="DOLLAR",xt="DOT",Li="EQUALS",nl="EXCLAMATION",st="HYPHEN",un="PERCENT",zi="PIPE",qi="PLUS",Vi="POUND",cn="QUERY",il="QUOTE",Sd="FULLWIDTHMIDDLEDOT",sl="SEMI",Ct="SLASH",dn="TILDE",ji="UNDERSCORE",Dd="EMOJI",Hi="SYM";var _d=Object.freeze({__proto__:null,ALPHANUMERICAL:Ed,AMPERSAND:Ni,APOSTROPHE:Ii,ASCIINUMERICAL:wd,ASTERISK:Bi,AT:Wt,BACKSLASH:Fi,BACKTICK:Ri,CARET:$i,CLOSEANGLEBRACKET:Ai,CLOSEBRACE:an,CLOSEBRACKET:ki,CLOSEPAREN:xi,COLON:mr,COMMA:rl,DOLLAR:Pi,DOT:xt,EMOJI:Dd,EQUALS:Li,EXCLAMATION:nl,FULLWIDTHGREATERTHAN:Oi,FULLWIDTHLEFTPAREN:wi,FULLWIDTHLESSTHAN:Mi,FULLWIDTHMIDDLEDOT:Sd,FULLWIDTHRIGHTPAREN:Ei,HYPHEN:st,LEFTCORNERBRACKET:Si,LEFTWHITECORNERBRACKET:_i,LOCALHOST:An,NL:tl,NUM:el,OPENANGLEBRACKET:Ci,OPENBRACE:ln,OPENBRACKET:bi,OPENPAREN:vi,PERCENT:un,PIPE:zi,PLUS:qi,POUND:Vi,QUERY:cn,QUOTE:il,RIGHTCORNERBRACKET:Di,RIGHTWHITECORNERBRACKET:Ti,SCHEME:ti,SEMI:sl,SLASH:Ct,SLASH_SCHEME:Ir,SYM:Hi,TILDE:dn,TLD:vo,UNDERSCORE:ji,UTLD:xo,UWORD:ko,WORD:It,WS:Co});const Ot=/[a-z]/,Kr=new RegExp("\\p{L}","u"),Bs=new RegExp("\\p{Emoji}","u"),Nt=/\d/,Fs=/\s/,Ya="\r",Rs=`
96
- `,Cy="️",Ay="‍",$s="";let Wn=null,Kn=null;function wy(r=[]){const e={};Ze.groups=e;const t=new Ze;Wn==null&&(Wn=Qa(gy)),Kn==null&&(Kn=Qa(yy)),L(t,"'",Ii),L(t,"{",ln),L(t,"}",an),L(t,"[",bi),L(t,"]",ki),L(t,"(",vi),L(t,")",xi),L(t,"<",Ci),L(t,">",Ai),L(t,"(",wi),L(t,")",Ei),L(t,"「",Si),L(t,"」",Di),L(t,"『",_i),L(t,"』",Ti),L(t,"<",Mi),L(t,">",Oi),L(t,"&",Ni),L(t,"*",Bi),L(t,"@",Wt),L(t,"`",Ri),L(t,"^",$i),L(t,":",mr),L(t,",",rl),L(t,"$",Pi),L(t,".",xt),L(t,"=",Li),L(t,"!",nl),L(t,"-",st),L(t,"%",un),L(t,"|",zi),L(t,"+",qi),L(t,"#",Vi),L(t,"?",cn),L(t,'"',il),L(t,"/",Ct),L(t,";",sl),L(t,"~",dn),L(t,"_",ji),L(t,"\\",Fi),L(t,"・",Sd);const n=ke(t,Nt,el,{[mo]:!0});ke(n,Nt,n);const i=ke(n,Ot,wd,{[on]:!0}),s=ke(n,Kr,Ed,{[Qr]:!0}),o=ke(t,Ot,It,{[go]:!0});ke(o,Nt,i),ke(o,Ot,o),ke(i,Nt,i),ke(i,Ot,i);const l=ke(t,Kr,ko,{[yo]:!0});ke(l,Ot),ke(l,Nt,s),ke(l,Kr,l),ke(s,Nt,s),ke(s,Ot),ke(s,Kr,s);const a=L(t,Rs,tl,{[Is]:!0}),u=L(t,Ya,Co,{[Is]:!0}),c=ke(t,Fs,Co,{[Is]:!0});L(t,$s,c),L(u,Rs,a),L(u,$s,c),ke(u,Fs,c),L(c,Ya),L(c,Rs),ke(c,Fs,c),L(c,$s,c);const d=ke(t,Bs,Dd,{[Ad]:!0});L(d,"#"),ke(d,Bs,d),L(d,Cy,d);const f=L(d,Ay);L(f,"#"),ke(f,Bs,d);const h=[[Ot,o],[Nt,i]],m=[[Ot,null],[Kr,l],[Nt,s]];for(let p=0;p<Wn.length;p++)jt(t,Wn[p],vo,It,h);for(let p=0;p<Kn.length;p++)jt(t,Kn[p],xo,ko,m);pr(vo,{tld:!0,ascii:!0},e),pr(xo,{utld:!0,alpha:!0},e),jt(t,"file",ti,It,h),jt(t,"mailto",ti,It,h),jt(t,"http",Ir,It,h),jt(t,"https",Ir,It,h),jt(t,"ftp",Ir,It,h),jt(t,"ftps",Ir,It,h),pr(ti,{scheme:!0,ascii:!0},e),pr(Ir,{slashscheme:!0,ascii:!0},e),r=r.sort((p,g)=>p[0]>g[0]?1:-1);for(let p=0;p<r.length;p++){const g=r[p][0],x=r[p][1]?{[by]:!0}:{[ky]:!0};g.indexOf("-")>=0?x[bo]=!0:Ot.test(g)?Nt.test(g)?x[on]=!0:x[go]=!0:x[mo]=!0,Za(t,g,g,x)}return Za(t,"localhost",An,{ascii:!0}),t.jd=new Ze(Hi),{start:t,tokens:Object.assign({groups:e},_d)}}function Td(r,e){const t=Ey(e.replace(/[A-Z]/g,l=>l.toLowerCase())),n=t.length,i=[];let s=0,o=0;for(;o<n;){let l=r,a=null,u=0,c=null,d=-1,f=-1;for(;o<n&&(a=l.go(t[o]));)l=a,l.accepts()?(d=0,f=0,c=l):d>=0&&(d+=t[o].length,f++),u+=t[o].length,s+=t[o].length,o++;s-=d,o-=f,u-=d,i.push({t:c.t,v:e.slice(s-u,s),s:s-u,e:s})}return i}function Ey(r){const e=[],t=r.length;let n=0;for(;n<t;){let i=r.charCodeAt(n),s,o=i<55296||i>56319||n+1===t||(s=r.charCodeAt(n+1))<56320||s>57343?r[n]:r.slice(n,n+2);e.push(o),n+=o.length}return e}function jt(r,e,t,n,i){let s;const o=e.length;for(let l=0;l<o-1;l++){const a=e[l];r.j[a]?s=r.j[a]:(s=new Ze(n),s.jr=i.slice(),r.j[a]=s),r=s}return s=new Ze(t),s.jr=i.slice(),r.j[e[o-1]]=s,s}function Qa(r){const e=[],t=[];let n=0,i="0123456789";for(;n<r.length;){let s=0;for(;i.indexOf(r[n+s])>=0;)s++;if(s>0){e.push(t.join(""));for(let o=parseInt(r.substring(n,n+s),10);o>0;o--)t.pop();n+=s}else t.push(r[n]),n++}return e}const wn={defaultProtocol:"http",events:null,format:Xa,formatHref:Xa,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ol(r,e=null){let t=Object.assign({},wn);r&&(t=Object.assign(t,r instanceof ol?r.o:r));const n=t.ignoreTags,i=[];for(let s=0;s<n.length;s++)i.push(n[s].toUpperCase());this.o=t,e&&(this.defaultRender=e),this.ignoreTags=i}ol.prototype={o:wn,ignoreTags:[],defaultRender(r){return r},check(r){return this.get("validate",r.toString(),r)},get(r,e,t){const n=e!=null;let i=this.o[r];return i&&(typeof i=="object"?(i=t.t in i?i[t.t]:wn[r],typeof i=="function"&&n&&(i=i(e,t))):typeof i=="function"&&n&&(i=i(e,t.t,t)),i)},getObj(r,e,t){let n=this.o[r];return typeof n=="function"&&e!=null&&(n=n(e,t.t,t)),n},render(r){const e=r.render(this);return(this.get("render",null,r)||this.defaultRender)(e,r.t,r)}};function Xa(r){return r}function Md(r,e){this.t="token",this.v=r,this.tk=e}Md.prototype={isLink:!1,toString(){return this.v},toHref(r){return this.toString()},toFormattedString(r){const e=this.toString(),t=r.get("truncate",e,this),n=r.get("format",e,this);return t&&n.length>t?n.substring(0,t)+"…":n},toFormattedHref(r){return r.get("formatHref",this.toHref(r.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(r=wn.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(r),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(r){return{type:this.t,value:this.toFormattedString(r),isLink:this.isLink,href:this.toFormattedHref(r),start:this.startIndex(),end:this.endIndex()}},validate(r){return r.get("validate",this.toString(),this)},render(r){const e=this,t=this.toHref(r.get("defaultProtocol")),n=r.get("formatHref",t,this),i=r.get("tagName",t,e),s=this.toFormattedString(r),o={},l=r.get("className",t,e),a=r.get("target",t,e),u=r.get("rel",t,e),c=r.getObj("attributes",t,e),d=r.getObj("events",t,e);return o.href=n,l&&(o.class=l),a&&(o.target=a),u&&(o.rel=u),c&&Object.assign(o,c),{tagName:i,attributes:o,content:s,eventListeners:d}}};function ds(r,e){class t extends Md{constructor(i,s){super(i,s),this.t=r}}for(const n in e)t.prototype[n]=e[n];return t.t=r,t}const Sy=ds("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),eu=ds("text"),Dy=ds("nl"),Jn=ds("url",{isLink:!0,toHref(r=wn.defaultProtocol){return this.hasProtocol()?this.v:`${r}://${this.v}`},hasProtocol(){const r=this.tk;return r.length>=2&&r[0].t!==An&&r[1].t===mr}}),it=r=>new Ze(r);function _y({groups:r}){const e=r.domain.concat([Ni,Bi,Wt,Fi,Ri,$i,Pi,Li,st,el,un,zi,qi,Vi,Ct,Hi,dn,ji]),t=[Ii,mr,rl,xt,nl,un,cn,il,sl,Ci,Ai,ln,an,ki,bi,vi,xi,wi,Ei,Si,Di,_i,Ti,Mi,Oi],n=[Ni,Ii,Bi,Fi,Ri,$i,Pi,Li,st,ln,an,un,zi,qi,Vi,cn,Ct,Hi,dn,ji],i=it(),s=L(i,dn);ne(s,n,s),ne(s,r.domain,s);const o=it(),l=it(),a=it();ne(i,r.domain,o),ne(i,r.scheme,l),ne(i,r.slashscheme,a),ne(o,n,s),ne(o,r.domain,o);const u=L(o,Wt);L(s,Wt,u),L(l,Wt,u),L(a,Wt,u);const c=L(s,xt);ne(c,n,s),ne(c,r.domain,s);const d=it();ne(u,r.domain,d),ne(d,r.domain,d);const f=L(d,xt);ne(f,r.domain,d);const h=it(Sy);ne(f,r.tld,h),ne(f,r.utld,h),L(u,An,h);const m=L(d,st);L(m,st,m),ne(m,r.domain,d),ne(h,r.domain,d),L(h,xt,f),L(h,st,m);const p=L(o,st),g=L(o,xt);L(p,st,p),ne(p,r.domain,o),ne(g,n,s),ne(g,r.domain,o);const y=it(Jn);ne(g,r.tld,y),ne(g,r.utld,y),ne(y,r.domain,o),ne(y,n,s),L(y,xt,g),L(y,st,p),L(y,Wt,u);const x=L(y,mr),k=it(Jn);ne(x,r.numeric,k);const A=it(Jn),v=it();ne(A,e,A),ne(A,t,v),ne(v,e,A),ne(v,t,v),L(y,Ct,A),L(k,Ct,A);const S=L(l,mr),D=L(a,mr),_=L(D,Ct),$=L(_,Ct);ne(l,r.domain,o),L(l,xt,g),L(l,st,p),ne(a,r.domain,o),L(a,xt,g),L(a,st,p),ne(S,r.domain,A),L(S,Ct,A),L(S,cn,A),ne($,r.domain,A),ne($,e,A),L($,Ct,A);const T=[[ln,an],[bi,ki],[vi,xi],[Ci,Ai],[wi,Ei],[Si,Di],[_i,Ti],[Mi,Oi]];for(let I=0;I<T.length;I++){const[O,z]=T[I],B=L(A,O);L(v,O,B);const F=it(Jn);ne(B,e,F);const V=it();ne(B,t,V),L(B,z,A),ne(F,e,F),ne(F,t,V),ne(V,e,F),ne(V,t,V),L(F,z,A),L(V,z,A)}return L(i,An,y),L(i,tl,Dy),{start:i,tokens:_d}}function Ty(r,e,t){let n=t.length,i=0,s=[],o=[];for(;i<n;){let l=r,a=null,u=null,c=0,d=null,f=-1;for(;i<n&&!(a=l.go(t[i].t));)o.push(t[i++]);for(;i<n&&(u=a||l.go(t[i].t));)a=null,l=u,l.accepts()?(f=0,d=l):f>=0&&f++,i++,c++;if(f<0)i-=c,i<n&&(o.push(t[i]),i++);else{o.length>0&&(s.push(Ps(eu,e,o)),o=[]),i-=f,c-=f;const h=d.t,m=t.slice(i-c,i);s.push(Ps(h,e,m))}}return o.length>0&&s.push(Ps(eu,e,o)),s}function Ps(r,e,t){const n=t[0].s,i=t[t.length-1].e,s=e.slice(n,i);return new r(s,t)}const My=typeof console<"u"&&console&&console.warn||(()=>{}),Oy="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",he={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Ny(){return Ze.groups={},he.scanner=null,he.parser=null,he.tokenQueue=[],he.pluginQueue=[],he.customSchemes=[],he.initialized=!1,he}function tu(r,e=!1){if(he.initialized&&My(`linkifyjs: already initialized - will not register custom scheme "${r}" ${Oy}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(r))throw new Error(`linkifyjs: incorrect scheme format.
97
- 1. Must only contain digits, lowercase ASCII letters or "-"
98
- 2. Cannot start or end with "-"
99
- 3. "-" cannot repeat`);he.customSchemes.push([r,e])}function Iy(){he.scanner=wy(he.customSchemes);for(let r=0;r<he.tokenQueue.length;r++)he.tokenQueue[r][1]({scanner:he.scanner});he.parser=_y(he.scanner.tokens);for(let r=0;r<he.pluginQueue.length;r++)he.pluginQueue[r][1]({scanner:he.scanner,parser:he.parser});return he.initialized=!0,he}function ll(r){return he.initialized||Iy(),Ty(he.parser.start,r,Td(he.scanner.start,r))}ll.scan=Td;function Od(r,e=null,t=null){if(e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const n=new ol(t),i=ll(r),s=[];for(let o=0;o<i.length;o++){const l=i[o];l.isLink&&(!e||l.t===e)&&n.check(l)&&s.push(l.toFormattedObject(n))}return s}const al="[\0-   ᠎ -\u2029  ]",By=new RegExp(al),Fy=new RegExp(`${al}$`),Ry=new RegExp(al,"g");function $y(r){return r.length===1?r[0].isLink:r.length===3&&r[1].isLink?["()","[]"].includes(r[0].value+r[2].value):!1}function Py(r){return new Le({key:new nt("autolink"),appendTransaction:(e,t,n)=>{const i=e.some(u=>u.docChanged)&&!t.doc.eq(n.doc),s=e.some(u=>u.getMeta("preventAutolink"));if(!i||s)return;const{tr:o}=n,l=S1(t.doc,[...e]);if(B1(l).forEach(({newRange:u})=>{const c=_1(n.doc,u,h=>h.isTextblock);let d,f;if(c.length>1)d=c[0],f=n.doc.textBetween(d.pos,d.pos+d.node.nodeSize,void 0," ");else if(c.length){const h=n.doc.textBetween(u.from,u.to," "," ");if(!Fy.test(h))return;d=c[0],f=n.doc.textBetween(d.pos,u.to,void 0," ")}if(d&&f){const h=f.split(By).filter(Boolean);if(h.length<=0)return!1;const m=h[h.length-1],p=d.pos+f.lastIndexOf(m);if(!m)return!1;const g=ll(m).map(y=>y.toObject(r.defaultProtocol));if(!$y(g))return!1;g.filter(y=>y.isLink).map(y=>({...y,from:p+y.start+1,to:p+y.end+1})).filter(y=>n.schema.marks.code?!n.doc.rangeHasMark(y.from,y.to,n.schema.marks.code):!0).filter(y=>r.validate(y.value)).filter(y=>r.shouldAutoLink(y.value)).forEach(y=>{Qo(y.from,y.to,n.doc).some(x=>x.mark.type===r.type)||o.addMark(y.from,y.to,r.type.create({href:y.href}))})}}),!!o.steps.length)return o}})}function Ly(r){return new Le({key:new nt("handleClickLink"),props:{handleClick:(e,t,n)=>{var i,s;if(n.button!==0||!e.editable)return!1;let o=n.target;const l=[];for(;o.nodeName!=="DIV";)l.push(o),o=o.parentNode;if(!l.find(f=>f.nodeName==="A"))return!1;const a=Cd(e.state,r.type.name),u=n.target,c=(i=u==null?void 0:u.href)!==null&&i!==void 0?i:a.href,d=(s=u==null?void 0:u.target)!==null&&s!==void 0?s:a.target;return u&&c?(window.open(c,d),!0):!1}}})}function zy(r){return new Le({key:new nt("handlePasteLink"),props:{handlePaste:(e,t,n)=>{const{state:i}=e,{selection:s}=i,{empty:o}=s;if(o)return!1;let l="";n.content.forEach(u=>{l+=u.textContent});const a=Od(l,{defaultProtocol:r.defaultProtocol}).find(u=>u.isLink&&u.value===l);return!l||!a?!1:r.editor.commands.setMark(r.type,{href:a.href})}}})}function ar(r,e){const t=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(n=>{const i=typeof n=="string"?n:n.scheme;i&&t.push(i)}),!r||r.replace(Ry,"").match(new RegExp(`^(?:(?:${t.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const qy=qt.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(r=>{if(typeof r=="string"){tu(r);return}tu(r.scheme,r.optionalSlashes)})},onDestroy(){Ny()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(r,e)=>!!ar(r,e.protocols),validate:r=>!!r,shouldAutoLink:r=>!!r}},addAttributes(){return{href:{default:null,parseHTML(r){return r.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:r=>{const e=r.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!ar(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:r}){return this.options.isAllowedUri(r.href,{defaultValidate:e=>!!ar(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",$e(this.options.HTMLAttributes,r),0]:["a",$e(this.options.HTMLAttributes,{...r,href:""}),0]},addCommands(){return{setLink:r=>({chain:e})=>{const{href:t}=r;return this.options.isAllowedUri(t,{defaultValidate:n=>!!ar(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,r).setMeta("preventAutolink",!0).run():!1},toggleLink:r=>({chain:e})=>{const{href:t}=r;return this.options.isAllowedUri(t,{defaultValidate:n=>!!ar(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().toggleMark(this.name,r,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run():!1},unsetLink:()=>({chain:r})=>r().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Sr({find:r=>{const e=[];if(r){const{protocols:t,defaultProtocol:n}=this.options,i=Od(r).filter(s=>s.isLink&&this.options.isAllowedUri(s.value,{defaultValidate:o=>!!ar(o,t),protocols:t,defaultProtocol:n}));i.length&&i.forEach(s=>e.push({text:s.value,data:{href:s.href},index:s.start}))}return e},type:this.type,getAttributes:r=>{var e;return{href:(e=r.data)===null||e===void 0?void 0:e.href}}})]},addProseMirrorPlugins(){const r=[],{protocols:e,defaultProtocol:t}=this.options;return this.options.autolink&&r.push(Py({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:n=>this.options.isAllowedUri(n,{defaultValidate:i=>!!ar(i,e),protocols:e,defaultProtocol:t}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&r.push(Ly({type:this.type})),this.options.linkOnPaste&&r.push(zy({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),r}}),Vy=/^\s*>\s$/,jy=bt.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:r}){return["blockquote",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setBlockquote:()=>({commands:r})=>r.wrapIn(this.name),toggleBlockquote:()=>({commands:r})=>r.toggleWrap(this.name),unsetBlockquote:()=>({commands:r})=>r.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[Cn({find:Vy,type:this.type})]}}),Hy=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,Uy=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,Wy=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,Ky=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,Jy=qt.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:r=>r.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:r=>r.type.name===this.name},{style:"font-weight",getAttrs:r=>/^(bold(er)?|[5-9]\d{2,})$/.test(r)&&null}]},renderHTML({HTMLAttributes:r}){return["strong",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setBold:()=>({commands:r})=>r.setMark(this.name),toggleBold:()=>({commands:r})=>r.toggleMark(this.name),unsetBold:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[jr({find:Hy,type:this.type}),jr({find:Wy,type:this.type})]},addPasteRules(){return[Sr({find:Uy,type:this.type}),Sr({find:Ky,type:this.type})]}}),Gy="listItem",ru="textStyle",nu=/^\s*([-+*])\s$/,Zy=bt.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:r}){return["ul",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{toggleBulletList:()=>({commands:r,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Gy,this.editor.getAttributes(ru)).run():r.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let r=Cn({find:nu,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(r=Cn({find:nu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(ru),editor:this.editor})),[r]}}),Yy=/(^|[^`])`([^`]+)`(?!`)/,Qy=/(^|[^`])`([^`]+)`(?!`)/g,Xy=qt.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:r}){return["code",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setCode:()=>({commands:r})=>r.setMark(this.name),toggleCode:()=>({commands:r})=>r.toggleMark(this.name),unsetCode:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[jr({find:Yy,type:this.type})]},addPasteRules(){return[Sr({find:Qy,type:this.type})]}}),eb=/^```([a-z]+)?[\s\n]$/,tb=/^~~~([a-z]+)?[\s\n]$/,rb=bt.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:r=>{var e;const{languageClassPrefix:t}=this.options,s=[...((e=r.firstElementChild)===null||e===void 0?void 0:e.classList)||[]].filter(o=>o.startsWith(t)).map(o=>o.replace(t,""))[0];return s||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:r,HTMLAttributes:e}){return["pre",$e(this.options.HTMLAttributes,e),["code",{class:r.attrs.language?this.options.languageClassPrefix+r.attrs.language:null},0]]},addCommands(){return{setCodeBlock:r=>({commands:e})=>e.setNode(this.name,r),toggleCodeBlock:r=>({commands:e})=>e.toggleNode(this.name,"paragraph",r)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:r,$anchor:e}=this.editor.state.selection,t=e.pos===1;return!r||e.parent.type.name!==this.name?!1:t||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:r})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=r,{selection:t}=e,{$from:n,empty:i}=t;if(!i||n.parent.type!==this.type)return!1;const s=n.parentOffset===n.parent.nodeSize-2,o=n.parent.textContent.endsWith(`
100
-
101
- `);return!s||!o?!1:r.chain().command(({tr:l})=>(l.delete(n.pos-2,n.pos),!0)).exitCode().run()},ArrowDown:({editor:r})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=r,{selection:t,doc:n}=e,{$from:i,empty:s}=t;if(!s||i.parent.type!==this.type||!(i.parentOffset===i.parent.nodeSize-2))return!1;const l=i.after();return l===void 0?!1:n.nodeAt(l)?r.commands.command(({tr:u})=>(u.setSelection(te.near(n.resolve(l))),!0)):r.commands.exitCode()}}},addInputRules(){return[ho({find:eb,type:this.type,getAttributes:r=>({language:r[1]})}),ho({find:tb,type:this.type,getAttributes:r=>({language:r[1]})})]},addProseMirrorPlugins(){return[new Le({key:new nt("codeBlockVSCodeHandler"),props:{handlePaste:(r,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const t=e.clipboardData.getData("text/plain"),n=e.clipboardData.getData("vscode-editor-data"),i=n?JSON.parse(n):void 0,s=i==null?void 0:i.mode;if(!t||!s)return!1;const{tr:o,schema:l}=r.state,a=l.text(t.replace(/\r\n?/g,`
102
- `));return o.replaceSelectionWith(this.type.create({language:s},a)),o.selection.$from.parent.type!==this.type&&o.setSelection(Y.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),r.dispatch(o),!0}}})]}}),nb=bt.create({name:"doc",topNode:!0,content:"block+"});function ib(r={}){return new Le({view(e){return new sb(e,r)}})}class sb{constructor(e,t){var n;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.lastDragEvent=null,this.width=(n=t.width)!==null&&n!==void 0?n:1,this.color=t.color===!1?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let s=o=>{this[i](o)};return e.dom.addEventListener(i,s),{name:i,handler:s}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){if(this.cursorPos!=null&&t.doc!=e.state.doc)if(this.lastDragEvent){let n=this.computeTarget(this.lastDragEvent);n==this.cursorPos?this.updateOverlay():this.setCursor(n)}else this.updateOverlay()}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,n,i=this.editorView.dom,s=i.getBoundingClientRect(),o=s.width/i.offsetWidth,l=s.height/i.offsetHeight;if(t){let d=e.nodeBefore,f=e.nodeAfter;if(d||f){let h=this.editorView.nodeDOM(this.cursorPos-(d?d.nodeSize:0));if(h){let m=h.getBoundingClientRect(),p=d?m.bottom:m.top;d&&f&&(p=(p+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let g=this.width/2*l;n={left:m.left,right:m.right,top:p-g,bottom:p+g}}}}if(!n){let d=this.editorView.coordsAtPos(this.cursorPos),f=this.width/2*o;n={left:d.left-f,right:d.left+f,top:d.top,bottom:d.bottom}}let a=this.editorView.dom.offsetParent;this.element||(this.element=a.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",t),this.element.classList.toggle("prosemirror-dropcursor-inline",!t);let u,c;if(!a||a==document.body&&getComputedStyle(a).position=="static")u=-pageXOffset,c=-pageYOffset;else{let d=a.getBoundingClientRect(),f=d.width/a.offsetWidth,h=d.height/a.offsetHeight;u=d.left-a.scrollLeft*f,c=d.top-a.scrollTop*h}this.element.style.left=(n.left-u)/o+"px",this.element.style.top=(n.top-c)/l+"px",this.element.style.width=(n.right-n.left)/o+"px",this.element.style.height=(n.bottom-n.top)/l+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}computeTarget(e){let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),i=n&&n.type.spec.disableDropCursor,s=typeof i=="function"?i(this.editorView,t,e):i;if(!t||s)return null;let o=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let l=ac(this.editorView.state.doc,o,this.editorView.dragging.slice);l!=null&&(o=l)}return o}dragover(e){if(!this.editorView.editable)return;this.lastDragEvent=e;let t=this.computeTarget(e);t!=null&&(this.setCursor(t),this.scheduleRemoval(5e3))}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}const ob=We.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[ib(this.options)]}});class ve extends te{constructor(e){super(e,e)}map(e,t){let n=e.resolve(t.map(this.head));return ve.valid(n)?new ve(n):te.near(n)}content(){return H.empty}eq(e){return e instanceof ve&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new ve(e.resolve(t.pos))}getBookmark(){return new ul(this.anchor)}static valid(e){let t=e.parent;if(t.inlineContent||!lb(e)||!ab(e))return!1;let n=t.type.spec.allowGapCursor;if(n!=null)return n;let i=t.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,t,n=!1){e:for(;;){if(!n&&ve.valid(e))return e;let i=e.pos,s=null;for(let o=e.depth;;o--){let l=e.node(o);if(t>0?e.indexAfter(o)<l.childCount:e.index(o)>0){s=l.child(t>0?e.indexAfter(o):e.index(o)-1);break}else if(o==0)return null;i+=t;let a=e.doc.resolve(i);if(ve.valid(a))return a}for(;;){let o=t>0?s.firstChild:s.lastChild;if(!o){if(s.isAtom&&!s.isText&&!G.isSelectable(s)){e=e.doc.resolve(i+s.nodeSize*t),n=!1;continue e}break}s=o,i+=t;let l=e.doc.resolve(i);if(ve.valid(l))return l}return null}}}ve.prototype.visible=!1;ve.findFrom=ve.findGapCursorFrom;te.jsonID("gapcursor",ve);class ul{constructor(e){this.pos=e}map(e){return new ul(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return ve.valid(t)?new ve(t):te.near(t)}}function Nd(r){return r.isAtom||r.spec.isolating||r.spec.createGapCursor}function lb(r){for(let e=r.depth;e>=0;e--){let t=r.index(e),n=r.node(e);if(t==0){if(n.type.spec.isolating)return!0;continue}for(let i=n.child(t-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||Nd(i.type))return!0;if(i.inlineContent)return!1}}return!0}function ab(r){for(let e=r.depth;e>=0;e--){let t=r.indexAfter(e),n=r.node(e);if(t==n.childCount){if(n.type.spec.isolating)return!0;continue}for(let i=n.child(t);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||Nd(i.type))return!0;if(i.inlineContent)return!1}}return!0}function ub(){return new Le({props:{decorations:hb,createSelectionBetween(r,e,t){return e.pos==t.pos&&ve.valid(t)?new ve(t):null},handleClick:db,handleKeyDown:cb,handleDOMEvents:{beforeinput:fb}}})}const cb=Xc({ArrowLeft:Gn("horiz",-1),ArrowRight:Gn("horiz",1),ArrowUp:Gn("vert",-1),ArrowDown:Gn("vert",1)});function Gn(r,e){const t=r=="vert"?e>0?"down":"up":e>0?"right":"left";return function(n,i,s){let o=n.selection,l=e>0?o.$to:o.$from,a=o.empty;if(o instanceof Y){if(!s.endOfTextblock(t)||l.depth==0)return!1;a=!1,l=n.doc.resolve(e>0?l.after():l.before())}let u=ve.findGapCursorFrom(l,e,a);return u?(i&&i(n.tr.setSelection(new ve(u))),!0):!1}}function db(r,e,t){if(!r||!r.editable)return!1;let n=r.state.doc.resolve(e);if(!ve.valid(n))return!1;let i=r.posAtCoords({left:t.clientX,top:t.clientY});return i&&i.inside>-1&&G.isSelectable(r.state.doc.nodeAt(i.inside))?!1:(r.dispatch(r.state.tr.setSelection(new ve(n))),!0)}function fb(r,e){if(e.inputType!="insertCompositionText"||!(r.state.selection instanceof ve))return!1;let{$from:t}=r.state.selection,n=t.parent.contentMatchAt(t.index()).findWrapping(r.state.schema.nodes.text);if(!n)return!1;let i=R.empty;for(let o=n.length-1;o>=0;o--)i=R.from(n[o].createAndFill(null,i));let s=r.state.tr.replace(t.pos,t.pos,new H(i,0,0));return s.setSelection(Y.near(s.doc.resolve(t.pos+1))),r.dispatch(s),!1}function hb(r){if(!(r.selection instanceof ve))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Ee.create(r.doc,[at.widget(r.selection.head,e,{key:"gapcursor"})])}const pb=We.create({name:"gapCursor",addProseMirrorPlugins(){return[ub()]},extendNodeSchema(r){var e;const t={name:r.name,options:r.options,storage:r.storage};return{allowGapCursor:(e=ie(J(r,"allowGapCursor",t)))!==null&&e!==void 0?e:null}}}),mb=bt.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:r}){return["br",$e(this.options.HTMLAttributes,r)]},renderText(){return`
103
- `},addCommands(){return{setHardBreak:()=>({commands:r,chain:e,state:t,editor:n})=>r.first([()=>r.exitCode(),()=>r.command(()=>{const{selection:i,storedMarks:s}=t;if(i.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:l}=n.extensionManager,a=s||i.$to.parentOffset&&i.$from.marks();return e().insertContent({type:this.name}).command(({tr:u,dispatch:c})=>{if(c&&a&&o){const d=a.filter(f=>l.includes(f.type.name));u.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),gb=bt.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(r=>({tag:`h${r}`,attrs:{level:r}}))},renderHTML({node:r,HTMLAttributes:e}){return[`h${this.options.levels.includes(r.attrs.level)?r.attrs.level:this.options.levels[0]}`,$e(this.options.HTMLAttributes,e),0]},addCommands(){return{setHeading:r=>({commands:e})=>this.options.levels.includes(r.level)?e.setNode(this.name,r):!1,toggleHeading:r=>({commands:e})=>this.options.levels.includes(r.level)?e.toggleNode(this.name,"paragraph",r):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((r,e)=>({...r,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(r=>ho({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${r}})\\s$`),type:this.type,getAttributes:{level:r}}))}});var Ui=200,_e=function(){};_e.prototype.append=function(e){return e.length?(e=_e.from(e),!this.length&&e||e.length<Ui&&this.leafAppend(e)||this.length<Ui&&e.leafPrepend(this)||this.appendInner(e)):this};_e.prototype.prepend=function(e){return e.length?_e.from(e).append(this):this};_e.prototype.appendInner=function(e){return new yb(this,e)};_e.prototype.slice=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=this.length),e>=t?_e.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))};_e.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};_e.prototype.forEach=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)};_e.prototype.map=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length);var i=[];return this.forEach(function(s,o){return i.push(e(s,o))},t,n),i};_e.from=function(e){return e instanceof _e?e:e&&e.length?new Id(e):_e.empty};var Id=(function(r){function e(n){r.call(this),this.values=n}r&&(e.__proto__=r),e.prototype=Object.create(r&&r.prototype),e.prototype.constructor=e;var t={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,s){return i==0&&s==this.length?this:new e(this.values.slice(i,s))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,s,o,l){for(var a=s;a<o;a++)if(i(this.values[a],l+a)===!1)return!1},e.prototype.forEachInvertedInner=function(i,s,o,l){for(var a=s-1;a>=o;a--)if(i(this.values[a],l+a)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=Ui)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=Ui)return new e(i.flatten().concat(this.values))},t.length.get=function(){return this.values.length},t.depth.get=function(){return 0},Object.defineProperties(e.prototype,t),e})(_e);_e.empty=new Id([]);var yb=(function(r){function e(t,n){r.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return r&&(e.__proto__=r),e.prototype=Object.create(r&&r.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(n){return n<this.left.length?this.left.get(n):this.right.get(n-this.left.length)},e.prototype.forEachInner=function(n,i,s,o){var l=this.left.length;if(i<l&&this.left.forEachInner(n,i,Math.min(s,l),o)===!1||s>l&&this.right.forEachInner(n,Math.max(i-l,0),Math.min(this.length,s)-l,o+l)===!1)return!1},e.prototype.forEachInvertedInner=function(n,i,s,o){var l=this.left.length;if(i>l&&this.right.forEachInvertedInner(n,i-l,Math.max(s,l)-l,o+l)===!1||s<l&&this.left.forEachInvertedInner(n,Math.min(i,l),s,o)===!1)return!1},e.prototype.sliceInner=function(n,i){if(n==0&&i==this.length)return this;var s=this.left.length;return i<=s?this.left.slice(n,i):n>=s?this.right.slice(n-s,i-s):this.left.slice(n,s).append(this.right.slice(0,i-s))},e.prototype.leafAppend=function(n){var i=this.right.leafAppend(n);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(n){var i=this.left.leafPrepend(n);if(i)return new e(i,this.right)},e.prototype.appendInner=function(n){return this.left.depth>=Math.max(this.right.depth,n.depth)+1?new e(this.left,new e(this.right,n)):new e(this,n)},e})(_e);const bb=500;class pt{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(this.eventCount==0)return null;let n=this.items.length;for(;;n--)if(this.items.get(n-1).selection){--n;break}let i,s;t&&(i=this.remapping(n,this.items.length),s=i.maps.length);let o=e.tr,l,a,u=[],c=[];return this.items.forEach((d,f)=>{if(!d.step){i||(i=this.remapping(n,f+1),s=i.maps.length),s--,c.push(d);return}if(i){c.push(new At(d.map));let h=d.step.map(i.slice(s)),m;h&&o.maybeStep(h).doc&&(m=o.mapping.maps[o.mapping.maps.length-1],u.push(new At(m,void 0,void 0,u.length+c.length))),s--,m&&i.appendMap(m,s)}else o.maybeStep(d.step);if(d.selection)return l=i?d.selection.map(i.slice(s)):d.selection,a=new pt(this.items.slice(0,n).append(c.reverse().concat(u)),this.eventCount-1),!1},this.items.length,0),{remaining:a,transform:o,selection:l}}addTransform(e,t,n,i){let s=[],o=this.eventCount,l=this.items,a=!i&&l.length?l.get(l.length-1):null;for(let c=0;c<e.steps.length;c++){let d=e.steps[c].invert(e.docs[c]),f=new At(e.mapping.maps[c],d,t),h;(h=a&&a.merge(f))&&(f=h,c?s.pop():l=l.slice(0,l.length-1)),s.push(f),t&&(o++,t=void 0),i||(a=f)}let u=o-n.depth;return u>vb&&(l=kb(l,u),o-=u),new pt(l.append(s),o)}remapping(e,t){let n=new mn;return this.items.forEach((i,s)=>{let o=i.mirrorOffset!=null&&s-i.mirrorOffset>=e?n.maps.length-i.mirrorOffset:void 0;n.appendMap(i.map,o)},e,t),n}addMaps(e){return this.eventCount==0?this:new pt(this.items.append(e.map(t=>new At(t))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],i=Math.max(0,this.items.length-t),s=e.mapping,o=e.steps.length,l=this.eventCount;this.items.forEach(f=>{f.selection&&l--},i);let a=t;this.items.forEach(f=>{let h=s.getMirror(--a);if(h==null)return;o=Math.min(o,h);let m=s.maps[h];if(f.step){let p=e.steps[h].invert(e.docs[h]),g=f.selection&&f.selection.map(s.slice(a+1,h));g&&l++,n.push(new At(m,p,g))}else n.push(new At(m))},i);let u=[];for(let f=t;f<o;f++)u.push(new At(s.maps[f]));let c=this.items.slice(0,i).append(u).append(n),d=new pt(c,l);return d.emptyItemCount()>bb&&(d=d.compress(this.items.length-n.length)),d}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,i=[],s=0;return this.items.forEach((o,l)=>{if(l>=e)i.push(o),o.selection&&s++;else if(o.step){let a=o.step.map(t.slice(n)),u=a&&a.getMap();if(n--,u&&t.appendMap(u,n),a){let c=o.selection&&o.selection.map(t.slice(n));c&&s++;let d=new At(u.invert(),a,c),f,h=i.length-1;(f=i.length&&i[h].merge(d))?i[h]=f:i.push(d)}}else o.map&&n--},this.items.length,0),new pt(_e.from(i.reverse()),s)}}pt.empty=new pt(_e.empty,0);function kb(r,e){let t;return r.forEach((n,i)=>{if(n.selection&&e--==0)return t=i,!1}),r.slice(t)}class At{constructor(e,t,n,i){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new At(t.getMap().invert(),t,this.selection)}}}class Kt{constructor(e,t,n,i,s){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=i,this.prevComposition=s}}const vb=20;function xb(r,e,t,n){let i=t.getMeta(xr),s;if(i)return i.historyState;t.getMeta(wb)&&(r=new Kt(r.done,r.undone,null,0,-1));let o=t.getMeta("appendedTransaction");if(t.steps.length==0)return r;if(o&&o.getMeta(xr))return o.getMeta(xr).redo?new Kt(r.done.addTransform(t,void 0,n,ri(e)),r.undone,iu(t.mapping.maps),r.prevTime,r.prevComposition):new Kt(r.done,r.undone.addTransform(t,void 0,n,ri(e)),null,r.prevTime,r.prevComposition);if(t.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let l=t.getMeta("composition"),a=r.prevTime==0||!o&&r.prevComposition!=l&&(r.prevTime<(t.time||0)-n.newGroupDelay||!Cb(t,r.prevRanges)),u=o?Ls(r.prevRanges,t.mapping):iu(t.mapping.maps);return new Kt(r.done.addTransform(t,a?e.selection.getBookmark():void 0,n,ri(e)),pt.empty,u,t.time,l??r.prevComposition)}else return(s=t.getMeta("rebased"))?new Kt(r.done.rebased(t,s),r.undone.rebased(t,s),Ls(r.prevRanges,t.mapping),r.prevTime,r.prevComposition):new Kt(r.done.addMaps(t.mapping.maps),r.undone.addMaps(t.mapping.maps),Ls(r.prevRanges,t.mapping),r.prevTime,r.prevComposition)}function Cb(r,e){if(!e)return!1;if(!r.docChanged)return!0;let t=!1;return r.mapping.maps[0].forEach((n,i)=>{for(let s=0;s<e.length;s+=2)n<=e[s+1]&&i>=e[s]&&(t=!0)}),t}function iu(r){let e=[];for(let t=r.length-1;t>=0&&e.length==0;t--)r[t].forEach((n,i,s,o)=>e.push(s,o));return e}function Ls(r,e){if(!r)return null;let t=[];for(let n=0;n<r.length;n+=2){let i=e.map(r[n],1),s=e.map(r[n+1],-1);i<=s&&t.push(i,s)}return t}function Ab(r,e,t){let n=ri(e),i=xr.get(e).spec.config,s=(t?r.undone:r.done).popEvent(e,n);if(!s)return null;let o=s.selection.resolve(s.transform.doc),l=(t?r.done:r.undone).addTransform(s.transform,e.selection.getBookmark(),i,n),a=new Kt(t?l:s.remaining,t?s.remaining:l,null,0,-1);return s.transform.setSelection(o).setMeta(xr,{redo:t,historyState:a})}let zs=!1,su=null;function ri(r){let e=r.plugins;if(su!=e){zs=!1,su=e;for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){zs=!0;break}}return zs}const xr=new nt("history"),wb=new nt("closeHistory");function Eb(r={}){return r={depth:r.depth||100,newGroupDelay:r.newGroupDelay||500},new Le({key:xr,state:{init(){return new Kt(pt.empty,pt.empty,null,0,-1)},apply(e,t,n){return xb(t,n,e,r)}},config:r,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,i=n=="historyUndo"?Fd:n=="historyRedo"?Rd:null;return!i||!e.editable?!1:(t.preventDefault(),i(e.state,e.dispatch))}}}})}function Bd(r,e){return(t,n)=>{let i=xr.getState(t);if(!i||(r?i.undone:i.done).eventCount==0)return!1;if(n){let s=Ab(i,t,r);s&&n(e?s.scrollIntoView():s)}return!0}}const Fd=Bd(!1,!0),Rd=Bd(!0,!0),Sb=We.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:r,dispatch:e})=>Fd(r,e),redo:()=>({state:r,dispatch:e})=>Rd(r,e)}},addProseMirrorPlugins(){return[Eb(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),Db=bt.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:r}){return["hr",$e(this.options.HTMLAttributes,r)]},addCommands(){return{setHorizontalRule:()=>({chain:r,state:e})=>{if(!my(e,e.schema.nodes[this.name]))return!1;const{selection:t}=e,{$from:n,$to:i}=t,s=r();return n.parentOffset===0?s.insertContentAt({from:Math.max(n.pos-1,0),to:i.pos},{type:this.name}):R1(t)?s.insertContentAt(i.pos,{type:this.name}):s.insertContent({type:this.name}),s.command(({tr:o,dispatch:l})=>{var a;if(l){const{$to:u}=o.selection,c=u.end();if(u.nodeAfter)u.nodeAfter.isTextblock?o.setSelection(Y.create(o.doc,u.pos+1)):u.nodeAfter.isBlock?o.setSelection(G.create(o.doc,u.pos)):o.setSelection(Y.create(o.doc,u.pos));else{const d=(a=u.parent.type.contentMatch.defaultType)===null||a===void 0?void 0:a.create();d&&(o.insert(c,d),o.setSelection(Y.create(o.doc,c+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[py({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),_b=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,Tb=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,Mb=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,Ob=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,Nb=qt.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:r=>r.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:r=>r.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:r}){return["em",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setItalic:()=>({commands:r})=>r.setMark(this.name),toggleItalic:()=>({commands:r})=>r.toggleMark(this.name),unsetItalic:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[jr({find:_b,type:this.type}),jr({find:Mb,type:this.type})]},addPasteRules(){return[Sr({find:Tb,type:this.type}),Sr({find:Ob,type:this.type})]}}),Ib=bt.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:r}){return["li",$e(this.options.HTMLAttributes,r),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Bb="listItem",ou="textStyle",lu=/^(\d+)\.\s$/,Fb=bt.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:r=>r.hasAttribute("start")?parseInt(r.getAttribute("start")||"",10):1},type:{default:null,parseHTML:r=>r.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:r}){const{start:e,...t}=r;return e===1?["ol",$e(this.options.HTMLAttributes,t),0]:["ol",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{toggleOrderedList:()=>({commands:r,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Bb,this.editor.getAttributes(ou)).run():r.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let r=Cn({find:lu,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(r=Cn({find:lu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(ou)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[r]}}),Rb=bt.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:r}){return["p",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setParagraph:()=>({commands:r})=>r.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),$b=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,Pb=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,Lb=qt.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:r=>r.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:r}){return["s",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setStrike:()=>({commands:r})=>r.setMark(this.name),toggleStrike:()=>({commands:r})=>r.toggleMark(this.name),unsetStrike:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[jr({find:$b,type:this.type})]},addPasteRules(){return[Sr({find:Pb,type:this.type})]}}),zb=bt.create({name:"text",group:"inline"}),qb=We.create({name:"starterKit",addExtensions(){const r=[];return this.options.bold!==!1&&r.push(Jy.configure(this.options.bold)),this.options.blockquote!==!1&&r.push(jy.configure(this.options.blockquote)),this.options.bulletList!==!1&&r.push(Zy.configure(this.options.bulletList)),this.options.code!==!1&&r.push(Xy.configure(this.options.code)),this.options.codeBlock!==!1&&r.push(rb.configure(this.options.codeBlock)),this.options.document!==!1&&r.push(nb.configure(this.options.document)),this.options.dropcursor!==!1&&r.push(ob.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&r.push(pb.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&r.push(mb.configure(this.options.hardBreak)),this.options.heading!==!1&&r.push(gb.configure(this.options.heading)),this.options.history!==!1&&r.push(Sb.configure(this.options.history)),this.options.horizontalRule!==!1&&r.push(Db.configure(this.options.horizontalRule)),this.options.italic!==!1&&r.push(Nb.configure(this.options.italic)),this.options.listItem!==!1&&r.push(Ib.configure(this.options.listItem)),this.options.orderedList!==!1&&r.push(Fb.configure(this.options.orderedList)),this.options.paragraph!==!1&&r.push(Rb.configure(this.options.paragraph)),this.options.strike!==!1&&r.push(Lb.configure(this.options.strike)),this.options.text!==!1&&r.push(zb.configure(this.options.text)),r}});function au(r){return _h((e,t)=>({get(){return e(),r},set(n){r=n,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class Vb extends hy{constructor(e={}){return super(e),this.contentComponent=null,this.appContext=null,this.reactiveState=au(this.view.state),this.reactiveExtensionStorage=au(this.extensionStorage),this.on("beforeTransaction",({nextState:t})=>{this.reactiveState.value=t,this.reactiveExtensionStorage.value=this.extensionStorage}),Sh(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,t){const n=super.registerPlugin(e,t);return this.reactiveState&&(this.reactiveState.value=n),n}unregisterPlugin(e){const t=super.unregisterPlugin(e);return this.reactiveState&&t&&(this.reactiveState.value=t),t}}const jb=Pe({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(r){const e=je(),t=Th();return Eh(()=>{const n=r.editor;n&&n.options.element&&e.value&&Ou(()=>{if(!e.value||!n.options.element.firstChild)return;const i=N(e.value);e.value.append(...n.options.element.childNodes),n.contentComponent=t.ctx._,t&&(n.appContext={...t.appContext,provides:t.provides}),n.setOptions({element:i}),n.createNodeViews()})}),Yi(()=>{const n=r.editor;n&&(n.contentComponent=null,n.appContext=null)}),{rootEl:e}},render(){return wh("div",{ref:r=>{this.rootEl=r}})}}),Hb=(r={})=>{const e=Dh();return To(()=>{e.value=new Vb(r)}),Yi(()=>{var t,n,i;const s=(t=e.value)===null||t===void 0?void 0:t.options.element,o=s==null?void 0:s.cloneNode(!0);(n=s==null?void 0:s.parentNode)===null||n===void 0||n.replaceChild(o,s),(i=e.value)===null||i===void 0||i.destroy()}),e};var Ub=Object.create,cl=Object.defineProperty,Wb=Object.getOwnPropertyDescriptor,$d=Object.getOwnPropertyNames,Kb=Object.getPrototypeOf,Jb=Object.prototype.hasOwnProperty,U=(r,e)=>function(){return e||(0,r[$d(r)[0]])((e={exports:{}}).exports,e),e.exports},Pd=(r,e)=>{for(var t in e)cl(r,t,{get:e[t],enumerable:!0})},Gb=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $d(e))!Jb.call(r,i)&&i!==t&&cl(r,i,{get:()=>e[i],enumerable:!(n=Wb(e,i))||n.enumerable});return r},fs=(r,e,t)=>(t=r!=null?Ub(Kb(r)):{},Gb(!r||!r.__esModule?cl(t,"default",{value:r,enumerable:!0}):t,r)),Ld=U({"src/grammar/tag.js"(r,e){function t(s,o){function l(){this.constructor=s}l.prototype=o.prototype,s.prototype=new l}function n(s,o,l,a){this.message=s,this.expected=o,this.found=l,this.location=a,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n)}t(n,Error),n.buildMessage=function(s,o,l){var a={literal:function(p){return'"'+c(p.text)+'"'},class:function(p){var g=p.parts.map(function(y){return Array.isArray(y)?d(y[0])+"-"+d(y[1]):d(y)});return"["+(p.inverted?"^":"")+g+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description},not:function(p){return"not "+f(p.expected)}};function u(p){return p.charCodeAt(0).toString(16).toUpperCase()}function c(p){return p.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(g){return"\\x0"+u(g)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(g){return"\\x"+u(g)})}function d(p){return p.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(g){return"\\x0"+u(g)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(g){return"\\x"+u(g)})}function f(p){return a[p.type](p)}function h(p){var g=p.map(f),y,x;if(g.sort(),g.length>0){for(y=1,x=1;y<g.length;y++)g[y-1]!==g[y]&&(g[x]=g[y],x++);g.length=x}switch(g.length){case 1:return g[0];case 2:return g[0]+" or "+g[1];default:return g.slice(0,-1).join(", ")+", or "+g[g.length-1]}}function m(p){return p?'"'+c(p)+'"':"end of input"}return"Expected "+h(s)+" but "+m(o)+" found."};function i(s,o){o=o!==void 0?o:{};var l={},a={Top:El},u=El,c="/",d=".",f="#",h="=",m="(",p=")",g=",",y="[",x="]",k="null",A="true",v="false",S="{",D="}",_=":",$='"',T="\\",I="n",O="r",z="t",B=/^[$@]/,F=/^[0-9]/,V=/^[^\0-\x1F"\\]/,Z=/^[a-zA-Z0-9_\-]/,re=/^[ \n\t]/,ce=kt("/",!1),ye=vt("tag name"),Se=vt("class"),ae=vt("id"),be=kt("=",!1),Me=kt("(",!1),Oe=kt(")",!1),Ke=kt(",",!1),ht=vt("variable"),_t=vt("null"),lr=vt("boolean"),In=kt("[",!1),df=kt("]",!1),ff=kt("{",!1),hf=kt("}",!1),pf=kt(":",!1),mf=vt("number"),gf=vt("string"),yf=vt("identifier"),bf=vt("whitespace"),kf=function(b){return{type:"variable",meta:{variable:b}}},vf=function(b){return{type:"annotation",meta:{attributes:b}}},xf=function(b,C){return C},Cf=function(b,C,E,M){C&&(E=E||[],E.unshift({type:"attribute",name:"primary",value:C}));const[P,K]=M?["tag",0]:["tag_open",1];return{type:P,nesting:K,meta:{tag:b,attributes:E}}},Af=function(b){return{type:"tag_close",nesting:-1,meta:{tag:b}}},wf=function(b,C){return b?[b,...C]:[]},xl=function(b){return b},Ef=function(b){return b},Sf=function(b){return b},Df=function(b){return b},_f=function(b){return{type:"class",name:b,value:!0}},Tf=function(b){return{type:"attribute",name:"id",value:b}},Mf=function(b,C){return{type:"attribute",name:b,value:C}},Of=function(b,C,E){return C?[C,...E]:[]},Nf=function(b,C){let E={};for(let[M,{name:P,value:K}]of C.entries())E[P||M]=K;return new ph(b,E)},Cl=function(b){return b},If=function(b,C){return{name:b,value:C}},ms=function(b){return b},Bf=function(b,C,E){return b==="@"?[C,...E]:new hh([C,...E])},Ff=function(){return null},Rf=function(){return!0},$f=function(){return!1},Pf=function(b,C){return[b,...C]},Lf=function(b){return b||[]},zf=function(b,C){return Object.assign(b,...C)},qf=function(b){return b||{}},Vf=function(b,C){return b==="$$mdtype"?{}:{[b]:C}},jf=function(){return parseFloat(Gf())},Hf=function(b){return b.join("")},Uf=function(){return`
104
- `},Wf=function(){return"\r"},Kf=function(){return" "},Jf=function(b){return b},w=0,se=0,Bn=[{line:1,column:1}],Fn=[],X=0,Rn;if("startRule"in o){if(!(o.startRule in a))throw new Error(`Can't start parsing from rule "`+o.startRule+'".');u=a[o.startRule]}function Gf(){return s.substring(se,w)}function kt(b,C){return{type:"literal",text:b,ignoreCase:C}}function Zf(){return{type:"end"}}function vt(b){return{type:"other",description:b}}function Al(b){var C=Bn[b],E;if(C)return C;for(E=b-1;!Bn[E];)E--;for(C=Bn[E],C={line:C.line,column:C.column};E<b;)s.charCodeAt(E)===10?(C.line++,C.column=1):C.column++,E++;return Bn[b]=C,C}var Yf=typeof o.filename=="string"&&o.filename.length>0;function wl(b,C){var E={};Yf&&(E.filename=o.filename);var M=Al(b);E.start={offset:b,line:M.line,column:M.column};var P=Al(C);return E.end={offset:C,line:P.line,column:P.column},E}function Qf(){Fn.push({pos:w,variants:[]})}function pe(b){var C=Fn[Fn.length-1];w<C.pos||(w>C.pos&&(C.pos=w,C.variants=[]),C.variants.push(b))}function Xf(b,C,E){return new n(n.buildMessage(b,C,E),b,C,E)}function eh(){var b=Fn[0],C=b.pos;return Xf(b.variants,C<s.length?s.charAt(C):null,C<s.length?wl(C,C+1):wl(C,C))}function El(){var b;return b=th(),b===l&&(b=rh(),b===l&&(b=nh(),b===l&&(b=ih()))),b}function th(){var b,C;return b=w,C=Bl(),C===l&&(C=Ml()),C!==l&&(se=b,C=kf(C)),b=C,b}function rh(){var b,C,E,M;if(b=w,C=Dl(),C!==l){for(E=[],M=le();M!==l;)E.push(M),M=le();se=b,b=vf(C)}else w=b,b=l;return b}function nh(){var b,C,E,M,P,K,oe,Je=function(Vt){X===0&&pe(Vt)};if(b=w,C=Sl(),C!==l){for(E=[],M=le();M!==l;)E.push(M),M=le();for(M=w,P=_r(),P!==l?(K=le(),K===l&&(K=null),se=M,M=xf(C,P)):(w=M,M=l),M===l&&(M=null),P=Dl(),P===l&&(P=null),K=[],oe=le();oe!==l;)K.push(oe),oe=le();Je(ce),s.charCodeAt(w)===47?(oe=c,w++):oe=l,oe===l&&(oe=null),se=b,b=Cf(C,M,P,oe)}else w=b,b=l;return b}function ih(){var b,C,E,M=function(P){X===0&&pe(P)};return b=w,M(ce),s.charCodeAt(w)===47?(C=c,w++):C=l,C!==l?(E=Sl(),E!==l?(se=b,b=Af(E)):(w=b,b=l)):(w=b,b=l),b}function Sl(){var b,C=function(E){X===0&&pe(E)};return C(ye),X++,b=Tt(),X--,b}function Dl(){var b,C,E,M;if(b=w,C=Tl(),C!==l){for(E=[],M=_l();M!==l;)E.push(M),M=_l();se=b,b=wf(C,E)}else w=b,b=l;return b}function _l(){var b,C,E;if(b=w,C=[],E=le(),E!==l)for(;E!==l;)C.push(E),E=le();else C=l;return C!==l?(E=Tl(),E!==l?(se=b,b=xl(E)):(w=b,b=l)):(w=b,b=l),b}function Tl(){var b,C;return b=w,C=oh(),C!==l&&(se=b,C=Ef(C)),b=C,b===l&&(b=w,C=sh(),C!==l&&(se=b,C=Sf(C)),b=C,b===l&&(b=w,C=lh(),C!==l&&(se=b,C=Df(C)),b=C)),b}function sh(){var b,C,E,M=function(P){X===0&&pe(P)};return M(Se),X++,b=w,s.charCodeAt(w)===46?(C=d,w++):C=l,C!==l?(E=Tt(),E!==l?(se=b,b=_f(E)):(w=b,b=l)):(w=b,b=l),X--,b}function oh(){var b,C,E,M=function(P){X===0&&pe(P)};return M(ae),X++,b=w,s.charCodeAt(w)===35?(C=f,w++):C=l,C!==l?(E=Tt(),E!==l?(se=b,b=Tf(E)):(w=b,b=l)):(w=b,b=l),X--,b}function lh(){var b,C,E,M,P=function(K){X===0&&pe(K)};return b=w,C=Tt(),C!==l?(P(be),s.charCodeAt(w)===61?(E=h,w++):E=l,E!==l?(M=_r(),M!==l?(se=b,b=Mf(C,M)):(w=b,b=l)):(w=b,b=l)):(w=b,b=l),b}function Ml(){var b,C,E,M,P,K,oe,Je,Vt=function(mh){X===0&&pe(mh)};if(b=w,C=Tt(),C!==l)if(Vt(Me),s.charCodeAt(w)===40?(E=m,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();for(P=w,K=Ol(),K===l&&(K=null),oe=[],Je=Nl();Je!==l;)oe.push(Je),Je=Nl();se=P,P=Of(C,K,oe),Vt(Oe),s.charCodeAt(w)===41?(K=p,w++):K=l,K!==l?(se=b,b=Nf(C,P)):(w=b,b=l)}else w=b,b=l;else w=b,b=l;return b}function Ol(){var b,C,E,M,P=function(K){X===0&&pe(K)};return b=w,C=w,E=Tt(),E!==l?(P(be),s.charCodeAt(w)===61?(M=h,w++):M=l,M!==l?(se=C,C=Cl(E)):(w=C,C=l)):(w=C,C=l),C===l&&(C=null),E=_r(),E!==l?(se=b,b=If(C,E)):(w=b,b=l),b}function Nl(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};for(b=w,C=[],E=le();E!==l;)C.push(E),E=le();if(K(Ke),s.charCodeAt(w)===44?(E=g,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();P=Ol(),P!==l?(se=b,b=ms(P)):(w=b,b=l)}else w=b,b=l;return b}function Il(){var b,C,E,M=function(P){X===0&&pe(P)};for(b=w,C=[],E=le();E!==l;)C.push(E),E=le();return M(Ke),s.charCodeAt(w)===44?(E=g,w++):E=l,E!==l?(C=[C,E],b=C):(w=b,b=l),b===l&&(b=null),b}function Bl(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};if(K(ht),X++,b=w,B.test(s.charAt(w))?(C=s.charAt(w),w++):C=l,C!==l)if(E=Tt(),E!==l){for(M=[],P=Fl();P!==l;)M.push(P),P=Fl();se=b,b=Bf(C,E,M)}else w=b,b=l;else w=b,b=l;return X--,b}function Fl(){var b,C,E,M;return b=w,s.charCodeAt(w)===46?(C=d,w++):C=l,C!==l?(E=Tt(),E!==l?(se=b,b=Cl(E)):(w=b,b=l)):(w=b,b=l),b===l&&(b=w,s.charCodeAt(w)===91?(C=y,w++):C=l,C!==l?(E=Ll(),E===l&&(E=gs()),E!==l?(s.charCodeAt(w)===93?(M=x,w++):M=l,M!==l?(se=b,b=ms(E)):(w=b,b=l)):(w=b,b=l)):(w=b,b=l)),b}function _r(){var b;return b=ah(),b===l&&(b=uh(),b===l&&(b=gs(),b===l&&(b=Ll(),b===l&&(b=ch(),b===l&&(b=dh(),b===l&&(b=Ml(),b===l&&(b=Bl()))))))),b}function ah(){var b,C,E=function(M){X===0&&pe(M)};return E(_t),X++,b=w,s.substr(w,4)===k?(C=k,w+=4):C=l,C!==l&&(se=b,C=Ff()),b=C,X--,b}function uh(){var b,C,E=function(M){X===0&&pe(M)};return E(lr),X++,b=w,s.substr(w,4)===A?(C=A,w+=4):C=l,C!==l&&(se=b,C=Rf()),b=C,b===l&&(b=w,s.substr(w,5)===v?(C=v,w+=5):C=l,C!==l&&(se=b,C=$f()),b=C),X--,b}function ch(){var b,C,E,M,P,K,oe,Je=function(Vt){X===0&&pe(Vt)};if(b=w,Je(In),s.charCodeAt(w)===91?(C=y,w++):C=l,C!==l){for(E=[],M=le();M!==l;)E.push(M),M=le();if(M=w,P=_r(),P!==l){for(K=[],oe=Rl();oe!==l;)K.push(oe),oe=Rl();oe=Il(),se=M,M=Pf(P,K)}else w=M,M=l;for(M===l&&(M=null),P=[],K=le();K!==l;)P.push(K),K=le();Je(df),s.charCodeAt(w)===93?(K=x,w++):K=l,K!==l?(se=b,b=Lf(M)):(w=b,b=l)}else w=b,b=l;return b}function Rl(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};for(b=w,C=[],E=le();E!==l;)C.push(E),E=le();if(K(Ke),s.charCodeAt(w)===44?(E=g,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();P=_r(),P!==l?(se=b,b=ms(P)):(w=b,b=l)}else w=b,b=l;return b}function dh(){var b,C,E,M,P,K,oe,Je=function(Vt){X===0&&pe(Vt)};if(b=w,Je(ff),s.charCodeAt(w)===123?(C=S,w++):C=l,C!==l){for(E=[],M=le();M!==l;)E.push(M),M=le();if(M=w,P=Pl(),P!==l){for(K=[],oe=$l();oe!==l;)K.push(oe),oe=$l();oe=Il(),se=M,M=zf(P,K)}else w=M,M=l;for(M===l&&(M=null),P=[],K=le();K!==l;)P.push(K),K=le();Je(hf),s.charCodeAt(w)===125?(K=D,w++):K=l,K!==l?(se=b,b=qf(M)):(w=b,b=l)}else w=b,b=l;return b}function $l(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};for(b=w,C=[],E=le();E!==l;)C.push(E),E=le();if(K(Ke),s.charCodeAt(w)===44?(E=g,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();P=Pl(),P!==l?(se=b,b=xl(P)):(w=b,b=l)}else w=b,b=l;return b}function Pl(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};if(b=w,C=Tt(),C===l&&(C=gs()),C!==l)if(K(pf),s.charCodeAt(w)===58?(E=_,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();P=_r(),P!==l?(se=b,b=Vf(C,P)):(w=b,b=l)}else w=b,b=l;else w=b,b=l;return b}function Ll(){var b,C,E,M,P,K,oe=function(Je){X===0&&pe(Je)};if(oe(mf),X++,b=w,s.charCodeAt(w)===45&&w++,C=[],F.test(s.charAt(w))?(E=s.charAt(w),w++):E=l,E!==l)for(;E!==l;)C.push(E),F.test(s.charAt(w))?(E=s.charAt(w),w++):E=l;else C=l;if(C!==l){if(E=w,s.charCodeAt(w)===46?(M=d,w++):M=l,M!==l){if(P=[],F.test(s.charAt(w))?(K=s.charAt(w),w++):K=l,K!==l)for(;K!==l;)P.push(K),F.test(s.charAt(w))?(K=s.charAt(w),w++):K=l;else P=l;P!==l?(M=[M,P],E=M):(w=E,E=l)}else w=E,E=l;E===l&&(E=null),se=b,b=jf()}else w=b,b=l;return X--,b}function gs(){var b,C,E,M,P=function(K){X===0&&pe(K)};if(P(gf),X++,b=w,s.charCodeAt(w)===34?(C=$,w++):C=l,C!==l){for(E=[],M=zl();M!==l;)E.push(M),M=zl();s.charCodeAt(w)===34?(M=$,w++):M=l,M!==l?(se=b,b=Hf(E)):(w=b,b=l)}else w=b,b=l;return X--,b}function zl(){var b;return V.test(s.charAt(w))?(b=s.charAt(w),w++):b=l,b===l&&(b=fh()),b}function fh(){var b,C,E,M;return b=w,s.charCodeAt(w)===92?(C=T,w++):C=l,C!==l?(s.charCodeAt(w)===34?(E=$,w++):E=l,E===l&&(s.charCodeAt(w)===92?(E=T,w++):E=l,E===l&&(E=w,s.charCodeAt(w)===110?(M=I,w++):M=l,M!==l&&(se=E,M=Uf()),E=M,E===l&&(E=w,s.charCodeAt(w)===114?(M=O,w++):M=l,M!==l&&(se=E,M=Wf()),E=M,E===l&&(E=w,s.charCodeAt(w)===116?(M=z,w++):M=l,M!==l&&(se=E,M=Kf()),E=M)))),E!==l?(se=b,b=Jf(E)):(w=b,b=l)):(w=b,b=l),b}function Tt(){var b,C,E,M=function(P){X===0&&pe(P)};if(M(yf),X++,b=w,C=[],Z.test(s.charAt(w))?(E=s.charAt(w),w++):E=l,E!==l)for(;E!==l;)C.push(E),Z.test(s.charAt(w))?(E=s.charAt(w),w++):E=l;else C=l;return C!==l?b=s.substring(b,w):b=C,X--,b}function le(){var b,C=function(E){X===0&&pe(E)};return C(bf),X++,re.test(s.charAt(w))?(b=s.charAt(w),w++):b=l,X--,b}const{Variable:hh,Function:ph}=o;if(Qf(),Rn=u(),Rn!==l&&w===s.length)return Rn;throw Rn!==l&&w<s.length&&pe(Zf()),eh()}e.exports={SyntaxError:n,parse:i}}}),Zb=U({"node_modules/entities/lib/maps/entities.json"(r,e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
105
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}}),zd=U({"node_modules/markdown-it/lib/common/entities.js"(r,e){e.exports=Zb()}}),dl=U({"node_modules/uc.micro/categories/P/regex.js"(r,e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/}}),Yb=U({"node_modules/mdurl/encode.js"(r,e){var t={};function n(s){var o,l,a=t[s];if(a)return a;for(a=t[s]=[],o=0;o<128;o++)l=String.fromCharCode(o),/^[0-9a-z]$/i.test(l)?a.push(l):a.push("%"+("0"+o.toString(16).toUpperCase()).slice(-2));for(o=0;o<s.length;o++)a[s.charCodeAt(o)]=s[o];return a}function i(s,o,l){var a,u,c,d,f,h="";for(typeof o!="string"&&(l=o,o=i.defaultChars),typeof l>"u"&&(l=!0),f=n(o),a=0,u=s.length;a<u;a++){if(c=s.charCodeAt(a),l&&c===37&&a+2<u&&/^[0-9a-f]{2}$/i.test(s.slice(a+1,a+3))){h+=s.slice(a,a+3),a+=2;continue}if(c<128){h+=f[c];continue}if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&a+1<u&&(d=s.charCodeAt(a+1),d>=56320&&d<=57343)){h+=encodeURIComponent(s[a]+s[a+1]),a++;continue}h+="%EF%BF%BD";continue}h+=encodeURIComponent(s[a])}return h}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i}}),Qb=U({"node_modules/mdurl/decode.js"(r,e){var t={};function n(s){var o,l,a=t[s];if(a)return a;for(a=t[s]=[],o=0;o<128;o++)l=String.fromCharCode(o),a.push(l);for(o=0;o<s.length;o++)l=s.charCodeAt(o),a[l]="%"+("0"+l.toString(16).toUpperCase()).slice(-2);return a}function i(s,o){var l;return typeof o!="string"&&(o=i.defaultChars),l=n(o),s.replace(/(%[a-f0-9]{2})+/gi,function(a){var u,c,d,f,h,m,p,g="";for(u=0,c=a.length;u<c;u+=3){if(d=parseInt(a.slice(u+1,u+3),16),d<128){g+=l[d];continue}if((d&224)===192&&u+3<c&&(f=parseInt(a.slice(u+4,u+6),16),(f&192)===128)){p=d<<6&1984|f&63,p<128?g+="��":g+=String.fromCharCode(p),u+=3;continue}if((d&240)===224&&u+6<c&&(f=parseInt(a.slice(u+4,u+6),16),h=parseInt(a.slice(u+7,u+9),16),(f&192)===128&&(h&192)===128)){p=d<<12&61440|f<<6&4032|h&63,p<2048||p>=55296&&p<=57343?g+="���":g+=String.fromCharCode(p),u+=6;continue}if((d&248)===240&&u+9<c&&(f=parseInt(a.slice(u+4,u+6),16),h=parseInt(a.slice(u+7,u+9),16),m=parseInt(a.slice(u+10,u+12),16),(f&192)===128&&(h&192)===128&&(m&192)===128)){p=d<<18&1835008|f<<12&258048|h<<6&4032|m&63,p<65536||p>1114111?g+="����":(p-=65536,g+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),u+=9;continue}g+="�"}return g})}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i}}),Xb=U({"node_modules/mdurl/format.js"(r,e){e.exports=function(n){var i="";return i+=n.protocol||"",i+=n.slashes?"//":"",i+=n.auth?n.auth+"@":"",n.hostname&&n.hostname.indexOf(":")!==-1?i+="["+n.hostname+"]":i+=n.hostname||"",i+=n.port?":"+n.port:"",i+=n.pathname||"",i+=n.search||"",i+=n.hash||"",i}}}),ek=U({"node_modules/mdurl/parse.js"(r,e){function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["<",">",'"',"`"," ","\r",`
106
- `," "],l=["{","}","|","\\","^","`"].concat(o),a=["'"].concat(l),u=["%","/","?",";","#"].concat(a),c=["/","?","#"],d=255,f=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function g(y,x){if(y&&y instanceof t)return y;var k=new t;return k.parse(y,x),k}t.prototype.parse=function(y,x){var k,A,v,S,D,_=y;if(_=_.trim(),!x&&y.split("#").length===1){var $=s.exec(_);if($)return this.pathname=$[1],$[2]&&(this.search=$[2]),this}var T=n.exec(_);if(T&&(T=T[0],v=T.toLowerCase(),this.protocol=T,_=_.substr(T.length)),(x||T||_.match(/^\/\/[^@\/]+@[^@\/]+/))&&(D=_.substr(0,2)==="//",D&&!(T&&m[T])&&(_=_.substr(2),this.slashes=!0)),!m[T]&&(D||T&&!p[T])){var I=-1;for(k=0;k<c.length;k++)S=_.indexOf(c[k]),S!==-1&&(I===-1||S<I)&&(I=S);var O,z;for(I===-1?z=_.lastIndexOf("@"):z=_.lastIndexOf("@",I),z!==-1&&(O=_.slice(0,z),_=_.slice(z+1),this.auth=O),I=-1,k=0;k<u.length;k++)S=_.indexOf(u[k]),S!==-1&&(I===-1||S<I)&&(I=S);I===-1&&(I=_.length),_[I-1]===":"&&I--;var B=_.slice(0,I);_=_.slice(I),this.parseHost(B),this.hostname=this.hostname||"";var F=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!F){var V=this.hostname.split(/\./);for(k=0,A=V.length;k<A;k++){var Z=V[k];if(Z&&!Z.match(f)){for(var re="",ce=0,ye=Z.length;ce<ye;ce++)Z.charCodeAt(ce)>127?re+="x":re+=Z[ce];if(!re.match(f)){var Se=V.slice(0,k),ae=V.slice(k+1),be=Z.match(h);be&&(Se.push(be[1]),ae.unshift(be[2])),ae.length&&(_=ae.join(".")+_),this.hostname=Se.join(".");break}}}}this.hostname.length>d&&(this.hostname=""),F&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Me=_.indexOf("#");Me!==-1&&(this.hash=_.substr(Me),_=_.slice(0,Me));var Oe=_.indexOf("?");return Oe!==-1&&(this.search=_.substr(Oe),_=_.slice(0,Oe)),_&&(this.pathname=_),p[v]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(y){var x=i.exec(y);x&&(x=x[0],x!==":"&&(this.port=x.substr(1)),y=y.substr(0,y.length-x.length)),y&&(this.hostname=y)},e.exports=g}}),qd=U({"node_modules/mdurl/index.js"(r,e){e.exports.encode=Yb(),e.exports.decode=Qb(),e.exports.format=Xb(),e.exports.parse=ek()}}),Vd=U({"node_modules/uc.micro/properties/Any/regex.js"(r,e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/}}),jd=U({"node_modules/uc.micro/categories/Cc/regex.js"(r,e){e.exports=/[\0-\x1F\x7F-\x9F]/}}),tk=U({"node_modules/uc.micro/categories/Cf/regex.js"(r,e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/}}),Hd=U({"node_modules/uc.micro/categories/Z/regex.js"(r,e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/}}),rk=U({"node_modules/uc.micro/index.js"(r){r.Any=Vd(),r.Cc=jd(),r.Cf=tk(),r.P=dl(),r.Z=Hd()}}),de=U({"node_modules/markdown-it/lib/common/utils.js"(r){function e(B){return Object.prototype.toString.call(B)}function t(B){return e(B)==="[object String]"}var n=Object.prototype.hasOwnProperty;function i(B,F){return n.call(B,F)}function s(B){var F=Array.prototype.slice.call(arguments,1);return F.forEach(function(V){if(V){if(typeof V!="object")throw new TypeError(V+"must be object");Object.keys(V).forEach(function(Z){B[Z]=V[Z]})}}),B}function o(B,F,V){return[].concat(B.slice(0,F),V,B.slice(F+1))}function l(B){return!(B>=55296&&B<=57343||B>=64976&&B<=65007||(B&65535)===65535||(B&65535)===65534||B>=0&&B<=8||B===11||B>=14&&B<=31||B>=127&&B<=159||B>1114111)}function a(B){if(B>65535){B-=65536;var F=55296+(B>>10),V=56320+(B&1023);return String.fromCharCode(F,V)}return String.fromCharCode(B)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(u.source+"|"+c.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=zd();function m(B,F){var V=0;return i(h,F)?h[F]:F.charCodeAt(0)===35&&f.test(F)&&(V=F[1].toLowerCase()==="x"?parseInt(F.slice(2),16):parseInt(F.slice(1),10),l(V))?a(V):B}function p(B){return B.indexOf("\\")<0?B:B.replace(u,"$1")}function g(B){return B.indexOf("\\")<0&&B.indexOf("&")<0?B:B.replace(d,function(F,V,Z){return V||m(F,Z)})}var y=/[&<>"]/,x=/[&<>"]/g,k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function A(B){return k[B]}function v(B){return y.test(B)?B.replace(x,A):B}var S=/[.?*+^$[\]\\(){}|-]/g;function D(B){return B.replace(S,"\\$&")}function _(B){switch(B){case 9:case 32:return!0}return!1}function $(B){if(B>=8192&&B<=8202)return!0;switch(B){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=dl();function I(B){return T.test(B)}function O(B){switch(B){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function z(B){return B=B.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(B=B.replace(/ẞ/g,"ß")),B.toLowerCase().toUpperCase()}r.lib={},r.lib.mdurl=qd(),r.lib.ucmicro=rk(),r.assign=s,r.isString=t,r.has=i,r.unescapeMd=p,r.unescapeAll=g,r.isValidEntityCode=l,r.fromCodePoint=a,r.escapeHtml=v,r.arrayReplaceAt=o,r.isSpace=_,r.isWhiteSpace=$,r.isMdAsciiPunct=O,r.isPunctChar=I,r.escapeRE=D,r.normalizeReference=z}}),nk=U({"node_modules/markdown-it/lib/helpers/parse_link_label.js"(r,e){e.exports=function(n,i,s){var o,l,a,u,c=-1,d=n.posMax,f=n.pos;for(n.pos=i+1,o=1;n.pos<d;){if(a=n.src.charCodeAt(n.pos),a===93&&(o--,o===0)){l=!0;break}if(u=n.pos,n.md.inline.skipToken(n),a===91){if(u===n.pos-1)o++;else if(s)return n.pos=f,-1}}return l&&(c=n.pos),n.pos=f,c}}}),ik=U({"node_modules/markdown-it/lib/helpers/parse_link_destination.js"(r,e){var t=de().unescapeAll;e.exports=function(i,s,o){var l,a,u=0,c=s,d={ok:!1,pos:0,lines:0,str:""};if(i.charCodeAt(s)===60){for(s++;s<o;){if(l=i.charCodeAt(s),l===10||l===60)return d;if(l===62)return d.pos=s+1,d.str=t(i.slice(c+1,s)),d.ok=!0,d;if(l===92&&s+1<o){s+=2;continue}s++}return d}for(a=0;s<o&&(l=i.charCodeAt(s),!(l===32||l<32||l===127));){if(l===92&&s+1<o){if(i.charCodeAt(s+1)===32)break;s+=2;continue}if(l===40&&(a++,a>32))return d;if(l===41){if(a===0)break;a--}s++}return c===s||a!==0||(d.str=t(i.slice(c,s)),d.lines=u,d.pos=s,d.ok=!0),d}}}),sk=U({"node_modules/markdown-it/lib/helpers/parse_link_title.js"(r,e){var t=de().unescapeAll;e.exports=function(i,s,o){var l,a,u=0,c=s,d={ok:!1,pos:0,lines:0,str:""};if(s>=o||(a=i.charCodeAt(s),a!==34&&a!==39&&a!==40))return d;for(s++,a===40&&(a=41);s<o;){if(l=i.charCodeAt(s),l===a)return d.pos=s+1,d.lines=u,d.str=t(i.slice(c+1,s)),d.ok=!0,d;if(l===40&&a===41)return d;l===10?u++:l===92&&s+1<o&&(s++,i.charCodeAt(s)===10&&u++),s++}return d}}}),ok=U({"node_modules/markdown-it/lib/helpers/index.js"(r){r.parseLinkLabel=nk(),r.parseLinkDestination=ik(),r.parseLinkTitle=sk()}}),lk=U({"node_modules/markdown-it/lib/renderer.js"(r,e){var t=de().assign,n=de().unescapeAll,i=de().escapeHtml,s={};s.code_inline=function(l,a,u,c,d){var f=l[a];return"<code"+d.renderAttrs(f)+">"+i(l[a].content)+"</code>"},s.code_block=function(l,a,u,c,d){var f=l[a];return"<pre"+d.renderAttrs(f)+"><code>"+i(l[a].content)+`</code></pre>
95
+ `,textSerializers:n={}}=e||{};return M1(this.state.doc,{blockSeparator:t,textSerializers:{...md(this.schema),...n}})}get isEmpty(){return Xo(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(!((e=this.view)===null||e===void 0)&&e.docView)}$node(e,t){var n;return((n=this.$doc)===null||n===void 0?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return((n=this.$doc)===null||n===void 0?void 0:n.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new cr(t,this)}get $doc(){return this.$pos(0)}};function jr(r){return new as({find:r.find,handler:({state:e,range:t,match:n})=>{const i=ie(r.getAttributes,void 0,n);if(i===!1||i===null)return null;const{tr:s}=e,o=n[n.length-1],l=n[0];if(o){const a=l.search(/\S/),u=t.from+l.indexOf(o),c=u+o.length;if(Qo(t.from,t.to,e.doc).filter(h=>h.mark.type.excluded.find(p=>p===r.type&&p!==h.mark.type)).filter(h=>h.to>u).length)return null;c<t.to&&s.delete(c,t.to),u>t.from&&s.delete(t.from+a,u);const f=t.from+a+o.length;s.addMark(t.from+a,f,r.type.create(i||{})),s.removeStoredMark(r.type)}}})}function py(r){return new as({find:r.find,handler:({state:e,range:t,match:n})=>{const i=ie(r.getAttributes,void 0,n)||{},{tr:s}=e,o=t.from;let l=t.to;const a=r.type.create(i);if(n[1]){const u=n[0].lastIndexOf(n[1]);let c=o+u;c>l?c=l:l=c+n[1].length;const d=n[0][n[0].length-1];s.insertText(d,o+n[0].length-1),s.replaceWith(c,l,a)}else if(n[0]){const u=r.type.isInline?o:o-1;s.insert(u,r.type.create(i)).delete(s.mapping.map(o),s.mapping.map(l))}s.scrollIntoView()}})}function ho(r){return new as({find:r.find,handler:({state:e,range:t,match:n})=>{const i=e.doc.resolve(t.from),s=ie(r.getAttributes,void 0,n)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),r.type))return null;e.tr.delete(t.from,t.to).setBlockType(t.from,t.from,r.type,s)}})}function Cn(r){return new as({find:r.find,handler:({state:e,range:t,match:n,chain:i})=>{const s=ie(r.getAttributes,void 0,n)||{},o=e.tr.delete(t.from,t.to),a=o.doc.resolve(t.from).blockRange(),u=a&&No(a,r.type,s);if(!u)return null;if(o.wrap(a,u),r.keepMarks&&r.editor){const{selection:d,storedMarks:f}=e,{splittableMarks:h}=r.editor.extensionManager,m=f||d.$to.parentOffset&&d.$from.marks();if(m){const p=m.filter(g=>h.includes(g.type.name));o.ensureMarks(p)}}if(r.keepAttributes){const d=r.type.name==="bulletList"||r.type.name==="orderedList"?"listItem":"taskList";i().updateAttributes(d,s).run()}const c=o.doc.resolve(t.from-1).nodeBefore;c&&c.type===r.type&&ir(o.doc,t.from-1)&&(!r.joinPredicate||r.joinPredicate(n,c))&&o.join(t.from-1)}})}let bt=class po{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=ie(J(this,"addOptions",{name:this.name}))),this.storage=ie(J(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new po(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>us(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new po(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=ie(J(t,"addOptions",{name:t.name})),t.storage=ie(J(t,"addStorage",{name:t.name,options:t.options})),t}};function Sr(r){return new T2({find:r.find,handler:({state:e,range:t,match:n,pasteEvent:i})=>{const s=ie(r.getAttributes,void 0,n,i);if(s===!1||s===null)return null;const{tr:o}=e,l=n[n.length-1],a=n[0];let u=t.to;if(l){const c=a.search(/\S/),d=t.from+a.indexOf(l),f=d+l.length;if(Qo(t.from,t.to,e.doc).filter(m=>m.mark.type.excluded.find(g=>g===r.type&&g!==m.mark.type)).filter(m=>m.to>d).length)return null;f<t.to&&o.delete(f,t.to),d>t.from&&o.delete(t.from+c,d),u=t.from+c+l.length,o.addMark(t.from+c,u,r.type.create(s||{})),o.removeStoredMark(r.type)}}})}function my(r,e){const{selection:t}=r,{$from:n}=t;if(t instanceof G){const s=n.index();return n.parent.canReplaceWith(s,s+1,e)}let i=n.depth;for(;i>=0;){const s=n.index(i);if(n.node(i).contentMatchAt(s).matchType(e))return!0;i-=1}return!1}function Za(r){return _h((e,t)=>({get(){return e(),r},set(n){r=n,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class gy extends hy{constructor(e={}){return super(e),this.contentComponent=null,this.appContext=null,this.reactiveState=Za(this.view.state),this.reactiveExtensionStorage=Za(this.extensionStorage),this.on("beforeTransaction",({nextState:t})=>{this.reactiveState.value=t,this.reactiveExtensionStorage.value=this.extensionStorage}),Sh(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,t){const n=super.registerPlugin(e,t);return this.reactiveState&&(this.reactiveState.value=n),n}unregisterPlugin(e){const t=super.unregisterPlugin(e);return this.reactiveState&&t&&(this.reactiveState.value=t),t}}const yy=Pe({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(r){const e=je(),t=Th();return Eh(()=>{const n=r.editor;n&&n.options.element&&e.value&&Ou(()=>{if(!e.value||!n.options.element.firstChild)return;const i=N(e.value);e.value.append(...n.options.element.childNodes),n.contentComponent=t.ctx._,t&&(n.appContext={...t.appContext,provides:t.provides}),n.setOptions({element:i}),n.createNodeViews()})}),Yi(()=>{const n=r.editor;n&&(n.contentComponent=null,n.appContext=null)}),{rootEl:e}},render(){return wh("div",{ref:r=>{this.rootEl=r}})}}),by=(r={})=>{const e=Dh();return To(()=>{e.value=new gy(r)}),Yi(()=>{var t,n,i;const s=(t=e.value)===null||t===void 0?void 0:t.options.element,o=s==null?void 0:s.cloneNode(!0);(n=s==null?void 0:s.parentNode)===null||n===void 0||n.replaceChild(o,s),(i=e.value)===null||i===void 0||i.destroy()}),e};var ky=Object.create,el=Object.defineProperty,vy=Object.getOwnPropertyDescriptor,Ad=Object.getOwnPropertyNames,xy=Object.getPrototypeOf,Cy=Object.prototype.hasOwnProperty,U=(r,e)=>function(){return e||(0,r[Ad(r)[0]])((e={exports:{}}).exports,e),e.exports},wd=(r,e)=>{for(var t in e)el(r,t,{get:e[t],enumerable:!0})},Ay=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ad(e))!Cy.call(r,i)&&i!==t&&el(r,i,{get:()=>e[i],enumerable:!(n=vy(e,i))||n.enumerable});return r},ds=(r,e,t)=>(t=r!=null?ky(xy(r)):{},Ay(!r||!r.__esModule?el(t,"default",{value:r,enumerable:!0}):t,r)),Ed=U({"src/grammar/tag.js"(r,e){function t(s,o){function l(){this.constructor=s}l.prototype=o.prototype,s.prototype=new l}function n(s,o,l,a){this.message=s,this.expected=o,this.found=l,this.location=a,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n)}t(n,Error),n.buildMessage=function(s,o,l){var a={literal:function(p){return'"'+c(p.text)+'"'},class:function(p){var g=p.parts.map(function(y){return Array.isArray(y)?d(y[0])+"-"+d(y[1]):d(y)});return"["+(p.inverted?"^":"")+g+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description},not:function(p){return"not "+f(p.expected)}};function u(p){return p.charCodeAt(0).toString(16).toUpperCase()}function c(p){return p.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(g){return"\\x0"+u(g)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(g){return"\\x"+u(g)})}function d(p){return p.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(g){return"\\x0"+u(g)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(g){return"\\x"+u(g)})}function f(p){return a[p.type](p)}function h(p){var g=p.map(f),y,x;if(g.sort(),g.length>0){for(y=1,x=1;y<g.length;y++)g[y-1]!==g[y]&&(g[x]=g[y],x++);g.length=x}switch(g.length){case 1:return g[0];case 2:return g[0]+" or "+g[1];default:return g.slice(0,-1).join(", ")+", or "+g[g.length-1]}}function m(p){return p?'"'+c(p)+'"':"end of input"}return"Expected "+h(s)+" but "+m(o)+" found."};function i(s,o){o=o!==void 0?o:{};var l={},a={Top:El},u=El,c="/",d=".",f="#",h="=",m="(",p=")",g=",",y="[",x="]",k="null",A="true",v="false",S="{",D="}",_=":",$='"',T="\\",I="n",O="r",z="t",B=/^[$@]/,F=/^[0-9]/,V=/^[^\0-\x1F"\\]/,Z=/^[a-zA-Z0-9_\-]/,re=/^[ \n\t]/,ce=kt("/",!1),ye=vt("tag name"),Se=vt("class"),ae=vt("id"),be=kt("=",!1),Me=kt("(",!1),Oe=kt(")",!1),Ke=kt(",",!1),ht=vt("variable"),_t=vt("null"),lr=vt("boolean"),In=kt("[",!1),df=kt("]",!1),ff=kt("{",!1),hf=kt("}",!1),pf=kt(":",!1),mf=vt("number"),gf=vt("string"),yf=vt("identifier"),bf=vt("whitespace"),kf=function(b){return{type:"variable",meta:{variable:b}}},vf=function(b){return{type:"annotation",meta:{attributes:b}}},xf=function(b,C){return C},Cf=function(b,C,E,M){C&&(E=E||[],E.unshift({type:"attribute",name:"primary",value:C}));const[P,K]=M?["tag",0]:["tag_open",1];return{type:P,nesting:K,meta:{tag:b,attributes:E}}},Af=function(b){return{type:"tag_close",nesting:-1,meta:{tag:b}}},wf=function(b,C){return b?[b,...C]:[]},xl=function(b){return b},Ef=function(b){return b},Sf=function(b){return b},Df=function(b){return b},_f=function(b){return{type:"class",name:b,value:!0}},Tf=function(b){return{type:"attribute",name:"id",value:b}},Mf=function(b,C){return{type:"attribute",name:b,value:C}},Of=function(b,C,E){return C?[C,...E]:[]},Nf=function(b,C){let E={};for(let[M,{name:P,value:K}]of C.entries())E[P||M]=K;return new ph(b,E)},Cl=function(b){return b},If=function(b,C){return{name:b,value:C}},ms=function(b){return b},Bf=function(b,C,E){return b==="@"?[C,...E]:new hh([C,...E])},Ff=function(){return null},Rf=function(){return!0},$f=function(){return!1},Pf=function(b,C){return[b,...C]},Lf=function(b){return b||[]},zf=function(b,C){return Object.assign(b,...C)},qf=function(b){return b||{}},Vf=function(b,C){return b==="$$mdtype"?{}:{[b]:C}},jf=function(){return parseFloat(Gf())},Hf=function(b){return b.join("")},Uf=function(){return`
96
+ `},Wf=function(){return"\r"},Kf=function(){return" "},Jf=function(b){return b},w=0,se=0,Bn=[{line:1,column:1}],Fn=[],X=0,Rn;if("startRule"in o){if(!(o.startRule in a))throw new Error(`Can't start parsing from rule "`+o.startRule+'".');u=a[o.startRule]}function Gf(){return s.substring(se,w)}function kt(b,C){return{type:"literal",text:b,ignoreCase:C}}function Zf(){return{type:"end"}}function vt(b){return{type:"other",description:b}}function Al(b){var C=Bn[b],E;if(C)return C;for(E=b-1;!Bn[E];)E--;for(C=Bn[E],C={line:C.line,column:C.column};E<b;)s.charCodeAt(E)===10?(C.line++,C.column=1):C.column++,E++;return Bn[b]=C,C}var Yf=typeof o.filename=="string"&&o.filename.length>0;function wl(b,C){var E={};Yf&&(E.filename=o.filename);var M=Al(b);E.start={offset:b,line:M.line,column:M.column};var P=Al(C);return E.end={offset:C,line:P.line,column:P.column},E}function Qf(){Fn.push({pos:w,variants:[]})}function pe(b){var C=Fn[Fn.length-1];w<C.pos||(w>C.pos&&(C.pos=w,C.variants=[]),C.variants.push(b))}function Xf(b,C,E){return new n(n.buildMessage(b,C,E),b,C,E)}function eh(){var b=Fn[0],C=b.pos;return Xf(b.variants,C<s.length?s.charAt(C):null,C<s.length?wl(C,C+1):wl(C,C))}function El(){var b;return b=th(),b===l&&(b=rh(),b===l&&(b=nh(),b===l&&(b=ih()))),b}function th(){var b,C;return b=w,C=Bl(),C===l&&(C=Ml()),C!==l&&(se=b,C=kf(C)),b=C,b}function rh(){var b,C,E,M;if(b=w,C=Dl(),C!==l){for(E=[],M=le();M!==l;)E.push(M),M=le();se=b,b=vf(C)}else w=b,b=l;return b}function nh(){var b,C,E,M,P,K,oe,Je=function(Vt){X===0&&pe(Vt)};if(b=w,C=Sl(),C!==l){for(E=[],M=le();M!==l;)E.push(M),M=le();for(M=w,P=_r(),P!==l?(K=le(),K===l&&(K=null),se=M,M=xf(C,P)):(w=M,M=l),M===l&&(M=null),P=Dl(),P===l&&(P=null),K=[],oe=le();oe!==l;)K.push(oe),oe=le();Je(ce),s.charCodeAt(w)===47?(oe=c,w++):oe=l,oe===l&&(oe=null),se=b,b=Cf(C,M,P,oe)}else w=b,b=l;return b}function ih(){var b,C,E,M=function(P){X===0&&pe(P)};return b=w,M(ce),s.charCodeAt(w)===47?(C=c,w++):C=l,C!==l?(E=Sl(),E!==l?(se=b,b=Af(E)):(w=b,b=l)):(w=b,b=l),b}function Sl(){var b,C=function(E){X===0&&pe(E)};return C(ye),X++,b=Tt(),X--,b}function Dl(){var b,C,E,M;if(b=w,C=Tl(),C!==l){for(E=[],M=_l();M!==l;)E.push(M),M=_l();se=b,b=wf(C,E)}else w=b,b=l;return b}function _l(){var b,C,E;if(b=w,C=[],E=le(),E!==l)for(;E!==l;)C.push(E),E=le();else C=l;return C!==l?(E=Tl(),E!==l?(se=b,b=xl(E)):(w=b,b=l)):(w=b,b=l),b}function Tl(){var b,C;return b=w,C=oh(),C!==l&&(se=b,C=Ef(C)),b=C,b===l&&(b=w,C=sh(),C!==l&&(se=b,C=Sf(C)),b=C,b===l&&(b=w,C=lh(),C!==l&&(se=b,C=Df(C)),b=C)),b}function sh(){var b,C,E,M=function(P){X===0&&pe(P)};return M(Se),X++,b=w,s.charCodeAt(w)===46?(C=d,w++):C=l,C!==l?(E=Tt(),E!==l?(se=b,b=_f(E)):(w=b,b=l)):(w=b,b=l),X--,b}function oh(){var b,C,E,M=function(P){X===0&&pe(P)};return M(ae),X++,b=w,s.charCodeAt(w)===35?(C=f,w++):C=l,C!==l?(E=Tt(),E!==l?(se=b,b=Tf(E)):(w=b,b=l)):(w=b,b=l),X--,b}function lh(){var b,C,E,M,P=function(K){X===0&&pe(K)};return b=w,C=Tt(),C!==l?(P(be),s.charCodeAt(w)===61?(E=h,w++):E=l,E!==l?(M=_r(),M!==l?(se=b,b=Mf(C,M)):(w=b,b=l)):(w=b,b=l)):(w=b,b=l),b}function Ml(){var b,C,E,M,P,K,oe,Je,Vt=function(mh){X===0&&pe(mh)};if(b=w,C=Tt(),C!==l)if(Vt(Me),s.charCodeAt(w)===40?(E=m,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();for(P=w,K=Ol(),K===l&&(K=null),oe=[],Je=Nl();Je!==l;)oe.push(Je),Je=Nl();se=P,P=Of(C,K,oe),Vt(Oe),s.charCodeAt(w)===41?(K=p,w++):K=l,K!==l?(se=b,b=Nf(C,P)):(w=b,b=l)}else w=b,b=l;else w=b,b=l;return b}function Ol(){var b,C,E,M,P=function(K){X===0&&pe(K)};return b=w,C=w,E=Tt(),E!==l?(P(be),s.charCodeAt(w)===61?(M=h,w++):M=l,M!==l?(se=C,C=Cl(E)):(w=C,C=l)):(w=C,C=l),C===l&&(C=null),E=_r(),E!==l?(se=b,b=If(C,E)):(w=b,b=l),b}function Nl(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};for(b=w,C=[],E=le();E!==l;)C.push(E),E=le();if(K(Ke),s.charCodeAt(w)===44?(E=g,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();P=Ol(),P!==l?(se=b,b=ms(P)):(w=b,b=l)}else w=b,b=l;return b}function Il(){var b,C,E,M=function(P){X===0&&pe(P)};for(b=w,C=[],E=le();E!==l;)C.push(E),E=le();return M(Ke),s.charCodeAt(w)===44?(E=g,w++):E=l,E!==l?(C=[C,E],b=C):(w=b,b=l),b===l&&(b=null),b}function Bl(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};if(K(ht),X++,b=w,B.test(s.charAt(w))?(C=s.charAt(w),w++):C=l,C!==l)if(E=Tt(),E!==l){for(M=[],P=Fl();P!==l;)M.push(P),P=Fl();se=b,b=Bf(C,E,M)}else w=b,b=l;else w=b,b=l;return X--,b}function Fl(){var b,C,E,M;return b=w,s.charCodeAt(w)===46?(C=d,w++):C=l,C!==l?(E=Tt(),E!==l?(se=b,b=Cl(E)):(w=b,b=l)):(w=b,b=l),b===l&&(b=w,s.charCodeAt(w)===91?(C=y,w++):C=l,C!==l?(E=Ll(),E===l&&(E=gs()),E!==l?(s.charCodeAt(w)===93?(M=x,w++):M=l,M!==l?(se=b,b=ms(E)):(w=b,b=l)):(w=b,b=l)):(w=b,b=l)),b}function _r(){var b;return b=ah(),b===l&&(b=uh(),b===l&&(b=gs(),b===l&&(b=Ll(),b===l&&(b=ch(),b===l&&(b=dh(),b===l&&(b=Ml(),b===l&&(b=Bl()))))))),b}function ah(){var b,C,E=function(M){X===0&&pe(M)};return E(_t),X++,b=w,s.substr(w,4)===k?(C=k,w+=4):C=l,C!==l&&(se=b,C=Ff()),b=C,X--,b}function uh(){var b,C,E=function(M){X===0&&pe(M)};return E(lr),X++,b=w,s.substr(w,4)===A?(C=A,w+=4):C=l,C!==l&&(se=b,C=Rf()),b=C,b===l&&(b=w,s.substr(w,5)===v?(C=v,w+=5):C=l,C!==l&&(se=b,C=$f()),b=C),X--,b}function ch(){var b,C,E,M,P,K,oe,Je=function(Vt){X===0&&pe(Vt)};if(b=w,Je(In),s.charCodeAt(w)===91?(C=y,w++):C=l,C!==l){for(E=[],M=le();M!==l;)E.push(M),M=le();if(M=w,P=_r(),P!==l){for(K=[],oe=Rl();oe!==l;)K.push(oe),oe=Rl();oe=Il(),se=M,M=Pf(P,K)}else w=M,M=l;for(M===l&&(M=null),P=[],K=le();K!==l;)P.push(K),K=le();Je(df),s.charCodeAt(w)===93?(K=x,w++):K=l,K!==l?(se=b,b=Lf(M)):(w=b,b=l)}else w=b,b=l;return b}function Rl(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};for(b=w,C=[],E=le();E!==l;)C.push(E),E=le();if(K(Ke),s.charCodeAt(w)===44?(E=g,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();P=_r(),P!==l?(se=b,b=ms(P)):(w=b,b=l)}else w=b,b=l;return b}function dh(){var b,C,E,M,P,K,oe,Je=function(Vt){X===0&&pe(Vt)};if(b=w,Je(ff),s.charCodeAt(w)===123?(C=S,w++):C=l,C!==l){for(E=[],M=le();M!==l;)E.push(M),M=le();if(M=w,P=Pl(),P!==l){for(K=[],oe=$l();oe!==l;)K.push(oe),oe=$l();oe=Il(),se=M,M=zf(P,K)}else w=M,M=l;for(M===l&&(M=null),P=[],K=le();K!==l;)P.push(K),K=le();Je(hf),s.charCodeAt(w)===125?(K=D,w++):K=l,K!==l?(se=b,b=qf(M)):(w=b,b=l)}else w=b,b=l;return b}function $l(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};for(b=w,C=[],E=le();E!==l;)C.push(E),E=le();if(K(Ke),s.charCodeAt(w)===44?(E=g,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();P=Pl(),P!==l?(se=b,b=xl(P)):(w=b,b=l)}else w=b,b=l;return b}function Pl(){var b,C,E,M,P,K=function(oe){X===0&&pe(oe)};if(b=w,C=Tt(),C===l&&(C=gs()),C!==l)if(K(pf),s.charCodeAt(w)===58?(E=_,w++):E=l,E!==l){for(M=[],P=le();P!==l;)M.push(P),P=le();P=_r(),P!==l?(se=b,b=Vf(C,P)):(w=b,b=l)}else w=b,b=l;else w=b,b=l;return b}function Ll(){var b,C,E,M,P,K,oe=function(Je){X===0&&pe(Je)};if(oe(mf),X++,b=w,s.charCodeAt(w)===45&&w++,C=[],F.test(s.charAt(w))?(E=s.charAt(w),w++):E=l,E!==l)for(;E!==l;)C.push(E),F.test(s.charAt(w))?(E=s.charAt(w),w++):E=l;else C=l;if(C!==l){if(E=w,s.charCodeAt(w)===46?(M=d,w++):M=l,M!==l){if(P=[],F.test(s.charAt(w))?(K=s.charAt(w),w++):K=l,K!==l)for(;K!==l;)P.push(K),F.test(s.charAt(w))?(K=s.charAt(w),w++):K=l;else P=l;P!==l?(M=[M,P],E=M):(w=E,E=l)}else w=E,E=l;E===l&&(E=null),se=b,b=jf()}else w=b,b=l;return X--,b}function gs(){var b,C,E,M,P=function(K){X===0&&pe(K)};if(P(gf),X++,b=w,s.charCodeAt(w)===34?(C=$,w++):C=l,C!==l){for(E=[],M=zl();M!==l;)E.push(M),M=zl();s.charCodeAt(w)===34?(M=$,w++):M=l,M!==l?(se=b,b=Hf(E)):(w=b,b=l)}else w=b,b=l;return X--,b}function zl(){var b;return V.test(s.charAt(w))?(b=s.charAt(w),w++):b=l,b===l&&(b=fh()),b}function fh(){var b,C,E,M;return b=w,s.charCodeAt(w)===92?(C=T,w++):C=l,C!==l?(s.charCodeAt(w)===34?(E=$,w++):E=l,E===l&&(s.charCodeAt(w)===92?(E=T,w++):E=l,E===l&&(E=w,s.charCodeAt(w)===110?(M=I,w++):M=l,M!==l&&(se=E,M=Uf()),E=M,E===l&&(E=w,s.charCodeAt(w)===114?(M=O,w++):M=l,M!==l&&(se=E,M=Wf()),E=M,E===l&&(E=w,s.charCodeAt(w)===116?(M=z,w++):M=l,M!==l&&(se=E,M=Kf()),E=M)))),E!==l?(se=b,b=Jf(E)):(w=b,b=l)):(w=b,b=l),b}function Tt(){var b,C,E,M=function(P){X===0&&pe(P)};if(M(yf),X++,b=w,C=[],Z.test(s.charAt(w))?(E=s.charAt(w),w++):E=l,E!==l)for(;E!==l;)C.push(E),Z.test(s.charAt(w))?(E=s.charAt(w),w++):E=l;else C=l;return C!==l?b=s.substring(b,w):b=C,X--,b}function le(){var b,C=function(E){X===0&&pe(E)};return C(bf),X++,re.test(s.charAt(w))?(b=s.charAt(w),w++):b=l,X--,b}const{Variable:hh,Function:ph}=o;if(Qf(),Rn=u(),Rn!==l&&w===s.length)return Rn;throw Rn!==l&&w<s.length&&pe(Zf()),eh()}e.exports={SyntaxError:n,parse:i}}}),wy=U({"node_modules/entities/lib/maps/entities.json"(r,e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
97
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}}),Sd=U({"node_modules/markdown-it/lib/common/entities.js"(r,e){e.exports=wy()}}),tl=U({"node_modules/uc.micro/categories/P/regex.js"(r,e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/}}),Ey=U({"node_modules/mdurl/encode.js"(r,e){var t={};function n(s){var o,l,a=t[s];if(a)return a;for(a=t[s]=[],o=0;o<128;o++)l=String.fromCharCode(o),/^[0-9a-z]$/i.test(l)?a.push(l):a.push("%"+("0"+o.toString(16).toUpperCase()).slice(-2));for(o=0;o<s.length;o++)a[s.charCodeAt(o)]=s[o];return a}function i(s,o,l){var a,u,c,d,f,h="";for(typeof o!="string"&&(l=o,o=i.defaultChars),typeof l>"u"&&(l=!0),f=n(o),a=0,u=s.length;a<u;a++){if(c=s.charCodeAt(a),l&&c===37&&a+2<u&&/^[0-9a-f]{2}$/i.test(s.slice(a+1,a+3))){h+=s.slice(a,a+3),a+=2;continue}if(c<128){h+=f[c];continue}if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&a+1<u&&(d=s.charCodeAt(a+1),d>=56320&&d<=57343)){h+=encodeURIComponent(s[a]+s[a+1]),a++;continue}h+="%EF%BF%BD";continue}h+=encodeURIComponent(s[a])}return h}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i}}),Sy=U({"node_modules/mdurl/decode.js"(r,e){var t={};function n(s){var o,l,a=t[s];if(a)return a;for(a=t[s]=[],o=0;o<128;o++)l=String.fromCharCode(o),a.push(l);for(o=0;o<s.length;o++)l=s.charCodeAt(o),a[l]="%"+("0"+l.toString(16).toUpperCase()).slice(-2);return a}function i(s,o){var l;return typeof o!="string"&&(o=i.defaultChars),l=n(o),s.replace(/(%[a-f0-9]{2})+/gi,function(a){var u,c,d,f,h,m,p,g="";for(u=0,c=a.length;u<c;u+=3){if(d=parseInt(a.slice(u+1,u+3),16),d<128){g+=l[d];continue}if((d&224)===192&&u+3<c&&(f=parseInt(a.slice(u+4,u+6),16),(f&192)===128)){p=d<<6&1984|f&63,p<128?g+="��":g+=String.fromCharCode(p),u+=3;continue}if((d&240)===224&&u+6<c&&(f=parseInt(a.slice(u+4,u+6),16),h=parseInt(a.slice(u+7,u+9),16),(f&192)===128&&(h&192)===128)){p=d<<12&61440|f<<6&4032|h&63,p<2048||p>=55296&&p<=57343?g+="���":g+=String.fromCharCode(p),u+=6;continue}if((d&248)===240&&u+9<c&&(f=parseInt(a.slice(u+4,u+6),16),h=parseInt(a.slice(u+7,u+9),16),m=parseInt(a.slice(u+10,u+12),16),(f&192)===128&&(h&192)===128&&(m&192)===128)){p=d<<18&1835008|f<<12&258048|h<<6&4032|m&63,p<65536||p>1114111?g+="����":(p-=65536,g+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),u+=9;continue}g+="�"}return g})}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i}}),Dy=U({"node_modules/mdurl/format.js"(r,e){e.exports=function(n){var i="";return i+=n.protocol||"",i+=n.slashes?"//":"",i+=n.auth?n.auth+"@":"",n.hostname&&n.hostname.indexOf(":")!==-1?i+="["+n.hostname+"]":i+=n.hostname||"",i+=n.port?":"+n.port:"",i+=n.pathname||"",i+=n.search||"",i+=n.hash||"",i}}}),_y=U({"node_modules/mdurl/parse.js"(r,e){function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["<",">",'"',"`"," ","\r",`
98
+ `," "],l=["{","}","|","\\","^","`"].concat(o),a=["'"].concat(l),u=["%","/","?",";","#"].concat(a),c=["/","?","#"],d=255,f=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function g(y,x){if(y&&y instanceof t)return y;var k=new t;return k.parse(y,x),k}t.prototype.parse=function(y,x){var k,A,v,S,D,_=y;if(_=_.trim(),!x&&y.split("#").length===1){var $=s.exec(_);if($)return this.pathname=$[1],$[2]&&(this.search=$[2]),this}var T=n.exec(_);if(T&&(T=T[0],v=T.toLowerCase(),this.protocol=T,_=_.substr(T.length)),(x||T||_.match(/^\/\/[^@\/]+@[^@\/]+/))&&(D=_.substr(0,2)==="//",D&&!(T&&m[T])&&(_=_.substr(2),this.slashes=!0)),!m[T]&&(D||T&&!p[T])){var I=-1;for(k=0;k<c.length;k++)S=_.indexOf(c[k]),S!==-1&&(I===-1||S<I)&&(I=S);var O,z;for(I===-1?z=_.lastIndexOf("@"):z=_.lastIndexOf("@",I),z!==-1&&(O=_.slice(0,z),_=_.slice(z+1),this.auth=O),I=-1,k=0;k<u.length;k++)S=_.indexOf(u[k]),S!==-1&&(I===-1||S<I)&&(I=S);I===-1&&(I=_.length),_[I-1]===":"&&I--;var B=_.slice(0,I);_=_.slice(I),this.parseHost(B),this.hostname=this.hostname||"";var F=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!F){var V=this.hostname.split(/\./);for(k=0,A=V.length;k<A;k++){var Z=V[k];if(Z&&!Z.match(f)){for(var re="",ce=0,ye=Z.length;ce<ye;ce++)Z.charCodeAt(ce)>127?re+="x":re+=Z[ce];if(!re.match(f)){var Se=V.slice(0,k),ae=V.slice(k+1),be=Z.match(h);be&&(Se.push(be[1]),ae.unshift(be[2])),ae.length&&(_=ae.join(".")+_),this.hostname=Se.join(".");break}}}}this.hostname.length>d&&(this.hostname=""),F&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Me=_.indexOf("#");Me!==-1&&(this.hash=_.substr(Me),_=_.slice(0,Me));var Oe=_.indexOf("?");return Oe!==-1&&(this.search=_.substr(Oe),_=_.slice(0,Oe)),_&&(this.pathname=_),p[v]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(y){var x=i.exec(y);x&&(x=x[0],x!==":"&&(this.port=x.substr(1)),y=y.substr(0,y.length-x.length)),y&&(this.hostname=y)},e.exports=g}}),Dd=U({"node_modules/mdurl/index.js"(r,e){e.exports.encode=Ey(),e.exports.decode=Sy(),e.exports.format=Dy(),e.exports.parse=_y()}}),_d=U({"node_modules/uc.micro/properties/Any/regex.js"(r,e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/}}),Td=U({"node_modules/uc.micro/categories/Cc/regex.js"(r,e){e.exports=/[\0-\x1F\x7F-\x9F]/}}),Ty=U({"node_modules/uc.micro/categories/Cf/regex.js"(r,e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/}}),Md=U({"node_modules/uc.micro/categories/Z/regex.js"(r,e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/}}),My=U({"node_modules/uc.micro/index.js"(r){r.Any=_d(),r.Cc=Td(),r.Cf=Ty(),r.P=tl(),r.Z=Md()}}),de=U({"node_modules/markdown-it/lib/common/utils.js"(r){function e(B){return Object.prototype.toString.call(B)}function t(B){return e(B)==="[object String]"}var n=Object.prototype.hasOwnProperty;function i(B,F){return n.call(B,F)}function s(B){var F=Array.prototype.slice.call(arguments,1);return F.forEach(function(V){if(V){if(typeof V!="object")throw new TypeError(V+"must be object");Object.keys(V).forEach(function(Z){B[Z]=V[Z]})}}),B}function o(B,F,V){return[].concat(B.slice(0,F),V,B.slice(F+1))}function l(B){return!(B>=55296&&B<=57343||B>=64976&&B<=65007||(B&65535)===65535||(B&65535)===65534||B>=0&&B<=8||B===11||B>=14&&B<=31||B>=127&&B<=159||B>1114111)}function a(B){if(B>65535){B-=65536;var F=55296+(B>>10),V=56320+(B&1023);return String.fromCharCode(F,V)}return String.fromCharCode(B)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(u.source+"|"+c.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=Sd();function m(B,F){var V=0;return i(h,F)?h[F]:F.charCodeAt(0)===35&&f.test(F)&&(V=F[1].toLowerCase()==="x"?parseInt(F.slice(2),16):parseInt(F.slice(1),10),l(V))?a(V):B}function p(B){return B.indexOf("\\")<0?B:B.replace(u,"$1")}function g(B){return B.indexOf("\\")<0&&B.indexOf("&")<0?B:B.replace(d,function(F,V,Z){return V||m(F,Z)})}var y=/[&<>"]/,x=/[&<>"]/g,k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function A(B){return k[B]}function v(B){return y.test(B)?B.replace(x,A):B}var S=/[.?*+^$[\]\\(){}|-]/g;function D(B){return B.replace(S,"\\$&")}function _(B){switch(B){case 9:case 32:return!0}return!1}function $(B){if(B>=8192&&B<=8202)return!0;switch(B){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=tl();function I(B){return T.test(B)}function O(B){switch(B){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function z(B){return B=B.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(B=B.replace(/ẞ/g,"ß")),B.toLowerCase().toUpperCase()}r.lib={},r.lib.mdurl=Dd(),r.lib.ucmicro=My(),r.assign=s,r.isString=t,r.has=i,r.unescapeMd=p,r.unescapeAll=g,r.isValidEntityCode=l,r.fromCodePoint=a,r.escapeHtml=v,r.arrayReplaceAt=o,r.isSpace=_,r.isWhiteSpace=$,r.isMdAsciiPunct=O,r.isPunctChar=I,r.escapeRE=D,r.normalizeReference=z}}),Oy=U({"node_modules/markdown-it/lib/helpers/parse_link_label.js"(r,e){e.exports=function(n,i,s){var o,l,a,u,c=-1,d=n.posMax,f=n.pos;for(n.pos=i+1,o=1;n.pos<d;){if(a=n.src.charCodeAt(n.pos),a===93&&(o--,o===0)){l=!0;break}if(u=n.pos,n.md.inline.skipToken(n),a===91){if(u===n.pos-1)o++;else if(s)return n.pos=f,-1}}return l&&(c=n.pos),n.pos=f,c}}}),Ny=U({"node_modules/markdown-it/lib/helpers/parse_link_destination.js"(r,e){var t=de().unescapeAll;e.exports=function(i,s,o){var l,a,u=0,c=s,d={ok:!1,pos:0,lines:0,str:""};if(i.charCodeAt(s)===60){for(s++;s<o;){if(l=i.charCodeAt(s),l===10||l===60)return d;if(l===62)return d.pos=s+1,d.str=t(i.slice(c+1,s)),d.ok=!0,d;if(l===92&&s+1<o){s+=2;continue}s++}return d}for(a=0;s<o&&(l=i.charCodeAt(s),!(l===32||l<32||l===127));){if(l===92&&s+1<o){if(i.charCodeAt(s+1)===32)break;s+=2;continue}if(l===40&&(a++,a>32))return d;if(l===41){if(a===0)break;a--}s++}return c===s||a!==0||(d.str=t(i.slice(c,s)),d.lines=u,d.pos=s,d.ok=!0),d}}}),Iy=U({"node_modules/markdown-it/lib/helpers/parse_link_title.js"(r,e){var t=de().unescapeAll;e.exports=function(i,s,o){var l,a,u=0,c=s,d={ok:!1,pos:0,lines:0,str:""};if(s>=o||(a=i.charCodeAt(s),a!==34&&a!==39&&a!==40))return d;for(s++,a===40&&(a=41);s<o;){if(l=i.charCodeAt(s),l===a)return d.pos=s+1,d.lines=u,d.str=t(i.slice(c+1,s)),d.ok=!0,d;if(l===40&&a===41)return d;l===10?u++:l===92&&s+1<o&&(s++,i.charCodeAt(s)===10&&u++),s++}return d}}}),By=U({"node_modules/markdown-it/lib/helpers/index.js"(r){r.parseLinkLabel=Oy(),r.parseLinkDestination=Ny(),r.parseLinkTitle=Iy()}}),Fy=U({"node_modules/markdown-it/lib/renderer.js"(r,e){var t=de().assign,n=de().unescapeAll,i=de().escapeHtml,s={};s.code_inline=function(l,a,u,c,d){var f=l[a];return"<code"+d.renderAttrs(f)+">"+i(l[a].content)+"</code>"},s.code_block=function(l,a,u,c,d){var f=l[a];return"<pre"+d.renderAttrs(f)+"><code>"+i(l[a].content)+`</code></pre>
107
99
  `},s.fence=function(l,a,u,c,d){var f=l[a],h=f.info?n(f.info).trim():"",m="",p="",g,y,x,k,A;return h&&(x=h.split(/(\s+)/g),m=x[0],p=x.slice(2).join("")),u.highlight?g=u.highlight(f.content,m,p)||i(f.content):g=i(f.content),g.indexOf("<pre")===0?g+`
108
100
  `:h?(y=f.attrIndex("class"),k=f.attrs?f.attrs.slice():[],y<0?k.push(["class",u.langPrefix+m]):(k[y]=k[y].slice(),k[y][1]+=" "+u.langPrefix+m),A={attrs:k},"<pre><code"+d.renderAttrs(A)+">"+g+`</code></pre>
109
101
  `):"<pre><code"+d.renderAttrs(f)+">"+g+`</code></pre>
@@ -115,31 +107,39 @@ img.ProseMirror-separator {
115
107
  `},s.text=function(l,a){return i(l[a].content)},s.html_block=function(l,a){return l[a].content},s.html_inline=function(l,a){return l[a].content};function o(){this.rules=t({},s)}o.prototype.renderAttrs=function(a){var u,c,d;if(!a.attrs)return"";for(d="",u=0,c=a.attrs.length;u<c;u++)d+=" "+i(a.attrs[u][0])+'="'+i(a.attrs[u][1])+'"';return d},o.prototype.renderToken=function(a,u,c){var d,f="",h=!1,m=a[u];return m.hidden?"":(m.block&&m.nesting!==-1&&u&&a[u-1].hidden&&(f+=`
116
108
  `),f+=(m.nesting===-1?"</":"<")+m.tag,f+=this.renderAttrs(m),m.nesting===0&&c.xhtmlOut&&(f+=" /"),m.block&&(h=!0,m.nesting===1&&u+1<a.length&&(d=a[u+1],(d.type==="inline"||d.hidden||d.nesting===-1&&d.tag===m.tag)&&(h=!1))),f+=h?`>
117
109
  `:">",f)},o.prototype.renderInline=function(l,a,u){for(var c,d="",f=this.rules,h=0,m=l.length;h<m;h++)c=l[h].type,typeof f[c]<"u"?d+=f[c](l,h,a,u,this):d+=this.renderToken(l,h,a);return d},o.prototype.renderInlineAsText=function(l,a,u){for(var c="",d=0,f=l.length;d<f;d++)l[d].type==="text"?c+=l[d].content:l[d].type==="image"?c+=this.renderInlineAsText(l[d].children,a,u):l[d].type==="softbreak"&&(c+=`
118
- `);return c},o.prototype.render=function(l,a,u){var c,d,f,h="",m=this.rules;for(c=0,d=l.length;c<d;c++)f=l[c].type,f==="inline"?h+=this.renderInline(l[c].children,a,u):typeof m[f]<"u"?h+=m[l[c].type](l,c,a,u,this):h+=this.renderToken(l,c,a,u);return h},e.exports=o}}),fl=U({"node_modules/markdown-it/lib/ruler.js"(r,e){function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(n){for(var i=0;i<this.__rules__.length;i++)if(this.__rules__[i].name===n)return i;return-1},t.prototype.__compile__=function(){var n=this,i=[""];n.__rules__.forEach(function(s){s.enabled&&s.alt.forEach(function(o){i.indexOf(o)<0&&i.push(o)})}),n.__cache__={},i.forEach(function(s){n.__cache__[s]=[],n.__rules__.forEach(function(o){o.enabled&&(s&&o.alt.indexOf(s)<0||n.__cache__[s].push(o.fn))})})},t.prototype.at=function(n,i,s){var o=this.__find__(n),l=s||{};if(o===-1)throw new Error("Parser rule not found: "+n);this.__rules__[o].fn=i,this.__rules__[o].alt=l.alt||[],this.__cache__=null},t.prototype.before=function(n,i,s,o){var l=this.__find__(n),a=o||{};if(l===-1)throw new Error("Parser rule not found: "+n);this.__rules__.splice(l,0,{name:i,enabled:!0,fn:s,alt:a.alt||[]}),this.__cache__=null},t.prototype.after=function(n,i,s,o){var l=this.__find__(n),a=o||{};if(l===-1)throw new Error("Parser rule not found: "+n);this.__rules__.splice(l+1,0,{name:i,enabled:!0,fn:s,alt:a.alt||[]}),this.__cache__=null},t.prototype.push=function(n,i,s){var o=s||{};this.__rules__.push({name:n,enabled:!0,fn:i,alt:o.alt||[]}),this.__cache__=null},t.prototype.enable=function(n,i){Array.isArray(n)||(n=[n]);var s=[];return n.forEach(function(o){var l=this.__find__(o);if(l<0){if(i)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[l].enabled=!0,s.push(o)},this),this.__cache__=null,s},t.prototype.enableOnly=function(n,i){Array.isArray(n)||(n=[n]),this.__rules__.forEach(function(s){s.enabled=!1}),this.enable(n,i)},t.prototype.disable=function(n,i){Array.isArray(n)||(n=[n]);var s=[];return n.forEach(function(o){var l=this.__find__(o);if(l<0){if(i)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[l].enabled=!1,s.push(o)},this),this.__cache__=null,s},t.prototype.getRules=function(n){return this.__cache__===null&&this.__compile__(),this.__cache__[n]||[]},e.exports=t}}),ak=U({"node_modules/markdown-it/lib/rules_core/normalize.js"(r,e){var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(s){var o;o=s.src.replace(t,`
119
- `),o=o.replace(n,"�"),s.src=o}}}),uk=U({"node_modules/markdown-it/lib/rules_core/block.js"(r,e){e.exports=function(n){var i;n.inlineMode?(i=new n.Token("inline","",0),i.content=n.src,i.map=[0,1],i.children=[],n.tokens.push(i)):n.md.block.parse(n.src,n.md,n.env,n.tokens)}}}),ck=U({"node_modules/markdown-it/lib/rules_core/inline.js"(r,e){e.exports=function(n){var i=n.tokens,s,o,l;for(o=0,l=i.length;o<l;o++)s=i[o],s.type==="inline"&&n.md.inline.parse(s.content,n.md,n.env,s.children)}}}),dk=U({"node_modules/markdown-it/lib/rules_core/linkify.js"(r,e){var t=de().arrayReplaceAt;function n(s){return/^<a[>\s]/i.test(s)}function i(s){return/^<\/a\s*>/i.test(s)}e.exports=function(o){var l,a,u,c,d,f,h,m,p,g,y,x,k,A,v,S,D=o.tokens,_;if(o.md.options.linkify){for(a=0,u=D.length;a<u;a++)if(!(D[a].type!=="inline"||!o.md.linkify.pretest(D[a].content)))for(c=D[a].children,k=0,l=c.length-1;l>=0;l--){if(f=c[l],f.type==="link_close"){for(l--;c[l].level!==f.level&&c[l].type!=="link_open";)l--;continue}if(f.type==="html_inline"&&(n(f.content)&&k>0&&k--,i(f.content)&&k++),!(k>0)&&f.type==="text"&&o.md.linkify.test(f.content)){for(p=f.content,_=o.md.linkify.match(p),h=[],x=f.level,y=0,m=0;m<_.length;m++)A=_[m].url,v=o.md.normalizeLink(A),o.md.validateLink(v)&&(S=_[m].text,_[m].schema?_[m].schema==="mailto:"&&!/^mailto:/i.test(S)?S=o.md.normalizeLinkText("mailto:"+S).replace(/^mailto:/,""):S=o.md.normalizeLinkText(S):S=o.md.normalizeLinkText("http://"+S).replace(/^http:\/\//,""),g=_[m].index,g>y&&(d=new o.Token("text","",0),d.content=p.slice(y,g),d.level=x,h.push(d)),d=new o.Token("link_open","a",1),d.attrs=[["href",v]],d.level=x++,d.markup="linkify",d.info="auto",h.push(d),d=new o.Token("text","",0),d.content=S,d.level=x,h.push(d),d=new o.Token("link_close","a",-1),d.level=--x,d.markup="linkify",d.info="auto",h.push(d),y=_[m].lastIndex);y<p.length&&(d=new o.Token("text","",0),d.content=p.slice(y),d.level=x,h.push(d)),D[a].children=c=t(c,l,h)}}}}}}),fk=U({"node_modules/markdown-it/lib/rules_core/replacements.js"(r,e){var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/ig,s={c:"©",r:"®",p:"§",tm:"™"};function o(u,c){return s[c.toLowerCase()]}function l(u){var c,d,f=0;for(c=u.length-1;c>=0;c--)d=u[c],d.type==="text"&&!f&&(d.content=d.content.replace(i,o)),d.type==="link_open"&&d.info==="auto"&&f--,d.type==="link_close"&&d.info==="auto"&&f++}function a(u){var c,d,f=0;for(c=u.length-1;c>=0;c--)d=u[c],d.type==="text"&&!f&&t.test(d.content)&&(d.content=d.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),d.type==="link_open"&&d.info==="auto"&&f--,d.type==="link_close"&&d.info==="auto"&&f++}e.exports=function(c){var d;if(c.md.options.typographer)for(d=c.tokens.length-1;d>=0;d--)c.tokens[d].type==="inline"&&(n.test(c.tokens[d].content)&&l(c.tokens[d].children),t.test(c.tokens[d].content)&&a(c.tokens[d].children))}}}),hk=U({"node_modules/markdown-it/lib/rules_core/smartquotes.js"(r,e){var t=de().isWhiteSpace,n=de().isPunctChar,i=de().isMdAsciiPunct,s=/['"]/,o=/['"]/g,l="’";function a(c,d,f){return c.substr(0,d)+f+c.substr(d+1)}function u(c,d){var f,h,m,p,g,y,x,k,A,v,S,D,_,$,T,I,O,z,B,F,V;for(B=[],f=0;f<c.length;f++){for(h=c[f],x=c[f].level,O=B.length-1;O>=0&&!(B[O].level<=x);O--);if(B.length=O+1,h.type==="text"){m=h.content,g=0,y=m.length;e:for(;g<y&&(o.lastIndex=g,p=o.exec(m),!!p);){if(T=I=!0,g=p.index+1,z=p[0]==="'",A=32,p.index-1>=0)A=m.charCodeAt(p.index-1);else for(O=f-1;O>=0&&!(c[O].type==="softbreak"||c[O].type==="hardbreak");O--)if(c[O].content){A=c[O].content.charCodeAt(c[O].content.length-1);break}if(v=32,g<y)v=m.charCodeAt(g);else for(O=f+1;O<c.length&&!(c[O].type==="softbreak"||c[O].type==="hardbreak");O++)if(c[O].content){v=c[O].content.charCodeAt(0);break}if(S=i(A)||n(String.fromCharCode(A)),D=i(v)||n(String.fromCharCode(v)),_=t(A),$=t(v),$?T=!1:D&&(_||S||(T=!1)),_?I=!1:S&&($||D||(I=!1)),v===34&&p[0]==='"'&&A>=48&&A<=57&&(I=T=!1),T&&I&&(T=S,I=D),!T&&!I){z&&(h.content=a(h.content,p.index,l));continue}if(I){for(O=B.length-1;O>=0&&(k=B[O],!(B[O].level<x));O--)if(k.single===z&&B[O].level===x){k=B[O],z?(F=d.md.options.quotes[2],V=d.md.options.quotes[3]):(F=d.md.options.quotes[0],V=d.md.options.quotes[1]),h.content=a(h.content,p.index,V),c[k.token].content=a(c[k.token].content,k.pos,F),g+=V.length-1,k.token===f&&(g+=F.length-1),m=h.content,y=m.length,B.length=O;continue e}}T?B.push({token:f,pos:p.index,single:z,level:x}):I&&z&&(h.content=a(h.content,p.index,l))}}}}e.exports=function(d){var f;if(d.md.options.typographer)for(f=d.tokens.length-1;f>=0;f--)d.tokens[f].type!=="inline"||!s.test(d.tokens[f].content)||u(d.tokens[f].children,d)}}}),hl=U({"node_modules/markdown-it/lib/token.js"(r,e){function t(n,i,s){this.type=n,this.tag=i,this.attrs=null,this.map=null,this.nesting=s,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(i){var s,o,l;if(!this.attrs)return-1;for(s=this.attrs,o=0,l=s.length;o<l;o++)if(s[o][0]===i)return o;return-1},t.prototype.attrPush=function(i){this.attrs?this.attrs.push(i):this.attrs=[i]},t.prototype.attrSet=function(i,s){var o=this.attrIndex(i),l=[i,s];o<0?this.attrPush(l):this.attrs[o]=l},t.prototype.attrGet=function(i){var s=this.attrIndex(i),o=null;return s>=0&&(o=this.attrs[s][1]),o},t.prototype.attrJoin=function(i,s){var o=this.attrIndex(i);o<0?this.attrPush([i,s]):this.attrs[o][1]=this.attrs[o][1]+" "+s},e.exports=t}}),pk=U({"node_modules/markdown-it/lib/rules_core/state_core.js"(r,e){var t=hl();function n(i,s,o){this.src=i,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=s}n.prototype.Token=t,e.exports=n}}),mk=U({"node_modules/markdown-it/lib/parser_core.js"(r,e){var t=fl(),n=[["normalize",ak()],["block",uk()],["inline",ck()],["linkify",dk()],["replacements",fk()],["smartquotes",hk()]];function i(){this.ruler=new t;for(var s=0;s<n.length;s++)this.ruler.push(n[s][0],n[s][1])}i.prototype.process=function(s){var o,l,a;for(a=this.ruler.getRules(""),o=0,l=a.length;o<l;o++)a[o](s)},i.prototype.State=pk(),e.exports=i}}),gk=U({"node_modules/markdown-it/lib/rules_block/table.js"(r,e){var t=de().isSpace;function n(s,o){var l=s.bMarks[o]+s.tShift[o],a=s.eMarks[o];return s.src.substr(l,a-l)}function i(s){var o=[],l=0,a=s.length,u,c=!1,d=0,f="";for(u=s.charCodeAt(l);l<a;)u===124&&(c?(f+=s.substring(d,l-1),d=l):(o.push(f+s.substring(d,l)),f="",d=l+1)),c=u===92,l++,u=s.charCodeAt(l);return o.push(f+s.substring(d)),o}e.exports=function(o,l,a,u){var c,d,f,h,m,p,g,y,x,k,A,v,S,D,_,$,T,I;if(l+2>a||(p=l+1,o.sCount[p]<o.blkIndent)||!o.md.options.allowIndentation&&o.sCount[p]-o.blkIndent>=4||(f=o.bMarks[p]+o.tShift[p],f>=o.eMarks[p])||(T=o.src.charCodeAt(f++),T!==124&&T!==45&&T!==58)||f>=o.eMarks[p]||(I=o.src.charCodeAt(f++),I!==124&&I!==45&&I!==58&&!t(I))||T===45&&t(I))return!1;for(;f<o.eMarks[p];){if(c=o.src.charCodeAt(f),c!==124&&c!==45&&c!==58&&!t(c))return!1;f++}for(d=n(o,l+1),g=d.split("|"),k=[],h=0;h<g.length;h++){if(A=g[h].trim(),!A){if(h===0||h===g.length-1)continue;return!1}if(!/^:?-+:?$/.test(A))return!1;A.charCodeAt(A.length-1)===58?k.push(A.charCodeAt(0)===58?"center":"right"):A.charCodeAt(0)===58?k.push("left"):k.push("")}if(d=n(o,l).trim(),d.indexOf("|")===-1||!o.md.options.allowIndentation&&o.sCount[l]-o.blkIndent>=4||(g=i(d),g.length&&g[0]===""&&g.shift(),g.length&&g[g.length-1]===""&&g.pop(),y=g.length,y===0||y!==k.length))return!1;if(u)return!0;for(D=o.parentType,o.parentType="table",$=o.md.block.ruler.getRules("blockquote"),x=o.push("table_open","table",1),x.map=v=[l,0],x=o.push("thead_open","thead",1),x.map=[l,l+1],x=o.push("tr_open","tr",1),x.map=[l,l+1],h=0;h<g.length;h++)x=o.push("th_open","th",1),k[h]&&(x.attrs=[["style","text-align:"+k[h]]]),x=o.push("inline","",0),x.content=g[h].trim(),x.children=[],x=o.push("th_close","th",-1);for(x=o.push("tr_close","tr",-1),x=o.push("thead_close","thead",-1),p=l+2;p<a&&!(o.sCount[p]<o.blkIndent);p++){for(_=!1,h=0,m=$.length;h<m;h++)if($[h](o,p,a,!0)){_=!0;break}if(_||(d=n(o,p).trim(),!d)||!o.md.options.allowIndentation&&o.sCount[p]-o.blkIndent>=4)break;for(g=i(d),g.length&&g[0]===""&&g.shift(),g.length&&g[g.length-1]===""&&g.pop(),p===l+2&&(x=o.push("tbody_open","tbody",1),x.map=S=[l+2,0]),x=o.push("tr_open","tr",1),x.map=[p,p+1],h=0;h<y;h++)x=o.push("td_open","td",1),k[h]&&(x.attrs=[["style","text-align:"+k[h]]]),x=o.push("inline","",0),x.content=g[h]?g[h].trim():"",x.children=[],x=o.push("td_close","td",-1);x=o.push("tr_close","tr",-1)}return S&&(x=o.push("tbody_close","tbody",-1),S[1]=p),x=o.push("table_close","table",-1),v[1]=p,o.parentType=D,o.line=p,!0}}}),yk=U({"node_modules/markdown-it/lib/rules_block/code.js"(r,e){e.exports=function(n,i,s){if(n.md.options.allowIndentation)return!1;var o,l,a;if(n.sCount[i]-n.blkIndent<4)return!1;for(l=o=i+1;o<s;){if(n.isEmpty(o)){o++;continue}if(n.sCount[o]-n.blkIndent>=4){o++,l=o;continue}break}return n.line=l,a=n.push("code_block","code",0),a.content=n.getLines(i,l,4+n.blkIndent,!1)+`
120
- `,a.map=[i,n.line],!0}}}),bk=U({"node_modules/markdown-it/lib/rules_block/fence.js"(r,e){e.exports=function(n,i,s,o){var l,a,u,c,d,f,h,m=!1,p=n.bMarks[i]+n.tShift[i],g=n.eMarks[i];if(!n.md.options.allowIndentation&&n.sCount[i]-n.blkIndent>=4||p+3>g||(l=n.src.charCodeAt(p),l!==126&&l!==96)||(d=p,p=n.skipChars(p,l),a=p-d,a<3)||(h=n.src.slice(d,p),u=n.src.slice(p,g),l===96&&u.indexOf(String.fromCharCode(l))>=0))return!1;if(o)return!0;for(c=i;c++,!(c>=s||(p=d=n.bMarks[c]+n.tShift[c],g=n.eMarks[c],p<g&&n.sCount[c]<n.blkIndent));)if(n.src.charCodeAt(p)===l&&!(!n.md.options.allowIndentation&&n.sCount[c]-n.blkIndent>=4)&&(p=n.skipChars(p,l),!(p-d<a)&&(p=n.skipSpaces(p),!(p<g)))){m=!0;break}return a=n.sCount[i],n.line=c+(m?1:0),f=n.push("fence","code",0),f.info=u,f.content=n.getLines(i+1,c,a,!0),f.markup=h,f.map=[i,n.line],!0}}}),kk=U({"node_modules/markdown-it/lib/rules_block/blockquote.js"(r,e){var t=de().isSpace;e.exports=function(i,s,o,l){var a,u,c,d,f,h,m,p,g,y,x,k,A,v,S,D,_,$,T,I,O=i.lineMax,z=i.bMarks[s]+i.tShift[s],B=i.eMarks[s];if(!i.md.options.allowIndentation&&i.sCount[s]-i.blkIndent>=4||i.src.charCodeAt(z++)!==62)return!1;if(l)return!0;for(d=g=i.sCount[s]+1,i.src.charCodeAt(z)===32?(z++,d++,g++,a=!1,D=!0):i.src.charCodeAt(z)===9?(D=!0,(i.bsCount[s]+g)%4===3?(z++,d++,g++,a=!1):a=!0):D=!1,y=[i.bMarks[s]],i.bMarks[s]=z;z<B&&(u=i.src.charCodeAt(z),t(u));){u===9?g+=4-(g+i.bsCount[s]+(a?1:0))%4:g++;z++}for(x=[i.bsCount[s]],i.bsCount[s]=i.sCount[s]+1+(D?1:0),h=z>=B,v=[i.sCount[s]],i.sCount[s]=g-d,S=[i.tShift[s]],i.tShift[s]=z-i.bMarks[s],$=i.md.block.ruler.getRules("blockquote"),A=i.parentType,i.parentType="blockquote",p=s+1;p<o&&(I=i.sCount[p]<i.blkIndent,z=i.bMarks[p]+i.tShift[p],B=i.eMarks[p],!(z>=B));p++){if(i.src.charCodeAt(z++)===62&&!I){for(d=g=i.sCount[p]+1,i.src.charCodeAt(z)===32?(z++,d++,g++,a=!1,D=!0):i.src.charCodeAt(z)===9?(D=!0,(i.bsCount[p]+g)%4===3?(z++,d++,g++,a=!1):a=!0):D=!1,y.push(i.bMarks[p]),i.bMarks[p]=z;z<B&&(u=i.src.charCodeAt(z),t(u));){u===9?g+=4-(g+i.bsCount[p]+(a?1:0))%4:g++;z++}h=z>=B,x.push(i.bsCount[p]),i.bsCount[p]=i.sCount[p]+1+(D?1:0),v.push(i.sCount[p]),i.sCount[p]=g-d,S.push(i.tShift[p]),i.tShift[p]=z-i.bMarks[p];continue}if(h)break;for(_=!1,c=0,f=$.length;c<f;c++)if($[c](i,p,o,!0)){_=!0;break}if(_){i.lineMax=p,i.blkIndent!==0&&(y.push(i.bMarks[p]),x.push(i.bsCount[p]),S.push(i.tShift[p]),v.push(i.sCount[p]),i.sCount[p]-=i.blkIndent);break}y.push(i.bMarks[p]),x.push(i.bsCount[p]),S.push(i.tShift[p]),v.push(i.sCount[p]),i.sCount[p]=-1}for(k=i.blkIndent,i.blkIndent=0,T=i.push("blockquote_open","blockquote",1),T.markup=">",T.map=m=[s,0],i.md.block.tokenize(i,s,p),T=i.push("blockquote_close","blockquote",-1),T.markup=">",i.lineMax=O,i.parentType=A,m[1]=i.line,c=0;c<S.length;c++)i.bMarks[c+s]=y[c],i.tShift[c+s]=S[c],i.sCount[c+s]=v[c],i.bsCount[c+s]=x[c];return i.blkIndent=k,!0}}}),vk=U({"node_modules/markdown-it/lib/rules_block/hr.js"(r,e){var t=de().isSpace;e.exports=function(i,s,o,l){var a,u,c,d,f=i.bMarks[s]+i.tShift[s],h=i.eMarks[s];if(!i.md.options.allowIndentation&&i.sCount[s]-i.blkIndent>=4||(a=i.src.charCodeAt(f++),a!==42&&a!==45&&a!==95))return!1;for(u=1;f<h;){if(c=i.src.charCodeAt(f++),c!==a&&!t(c))return!1;c===a&&u++}return u<3?!1:(l||(i.line=s+1,d=i.push("hr","hr",0),d.map=[s,i.line],d.markup=Array(u+1).join(String.fromCharCode(a))),!0)}}}),xk=U({"node_modules/markdown-it/lib/rules_block/list.js"(r,e){var t=de().isSpace;function n(o,l){var a,u,c,d;return u=o.bMarks[l]+o.tShift[l],c=o.eMarks[l],a=o.src.charCodeAt(u++),a!==42&&a!==45&&a!==43||u<c&&(d=o.src.charCodeAt(u),!t(d))?-1:u}function i(o,l){var a,u=o.bMarks[l]+o.tShift[l],c=u,d=o.eMarks[l];if(c+1>=d||(a=o.src.charCodeAt(c++),a<48||a>57))return-1;for(;;){if(c>=d)return-1;if(a=o.src.charCodeAt(c++),a>=48&&a<=57){if(c-u>=10)return-1;continue}if(a===41||a===46)break;return-1}return c<d&&(a=o.src.charCodeAt(c),!t(a))?-1:c}function s(o,l){var a,u,c=o.level+2;for(a=l+2,u=o.tokens.length-2;a<u;a++)o.tokens[a].level===c&&o.tokens[a].type==="paragraph_open"&&(o.tokens[a+2].hidden=!0,o.tokens[a].hidden=!0,a+=2)}e.exports=function(l,a,u,c){var d,f,h,m,p,g,y,x,k,A,v,S,D,_,$,T,I,O,z,B,F,V,Z,re,ce,ye,Se,ae,be=!1,Me=!0;if(!l.md.options.allowIndentation&&l.sCount[a]-l.blkIndent>=4||!l.md.options.allowIndentation&&l.listIndent>=0&&l.sCount[a]-l.listIndent>=4&&l.sCount[a]<l.blkIndent)return!1;if(c&&l.parentType==="paragraph"&&l.sCount[a]>=l.blkIndent&&(be=!0),(Z=i(l,a))>=0){if(y=!0,ce=l.bMarks[a]+l.tShift[a],D=Number(l.src.slice(ce,Z-1)),be&&D!==1)return!1}else if((Z=n(l,a))>=0)y=!1;else return!1;if(be&&l.skipSpaces(Z)>=l.eMarks[a])return!1;if(S=l.src.charCodeAt(Z-1),c)return!0;for(v=l.tokens.length,y?(ae=l.push("ordered_list_open","ol",1),D!==1&&(ae.attrs=[["start",D]])):ae=l.push("bullet_list_open","ul",1),ae.map=A=[a,0],ae.markup=String.fromCharCode(S),$=a,re=!1,Se=l.md.block.ruler.getRules("list"),O=l.parentType,l.parentType="list";$<u;){for(V=Z,_=l.eMarks[$],g=T=l.sCount[$]+Z-(l.bMarks[a]+l.tShift[a]);V<_;){if(d=l.src.charCodeAt(V),d===9)T+=4-(T+l.bsCount[$])%4;else if(d===32)T++;else break;V++}if(f=V,f>=_?p=1:p=T-g,!l.md.options.allowIndentation&&p>4&&(p=1),m=g+p,ae=l.push("list_item_open","li",1),ae.markup=String.fromCharCode(S),ae.map=x=[a,0],y&&(ae.info=l.src.slice(ce,Z-1)),F=l.tight,B=l.tShift[a],z=l.sCount[a],I=l.listIndent,l.listIndent=l.blkIndent,l.blkIndent=m,l.tight=!0,l.tShift[a]=f-l.bMarks[a],l.sCount[a]=T,f>=_&&l.isEmpty(a+1)?l.line=Math.min(l.line+2,u):l.md.block.tokenize(l,a,u,!0),(!l.tight||re)&&(Me=!1),re=l.line-a>1&&l.isEmpty(l.line-1),l.blkIndent=l.listIndent,l.listIndent=I,l.tShift[a]=B,l.sCount[a]=z,l.tight=F,ae=l.push("list_item_close","li",-1),ae.markup=String.fromCharCode(S),$=a=l.line,x[1]=$,f=l.bMarks[a],$>=u||l.sCount[$]<l.blkIndent||!l.md.options.allowIndentation&&l.sCount[a]-l.blkIndent>=4)break;for(ye=!1,h=0,k=Se.length;h<k;h++)if(Se[h](l,$,u,!0)){ye=!0;break}if(ye)break;if(y){if(Z=i(l,$),Z<0)break;ce=l.bMarks[$]+l.tShift[$]}else if(Z=n(l,$),Z<0)break;if(S!==l.src.charCodeAt(Z-1))break}return y?ae=l.push("ordered_list_close","ol",-1):ae=l.push("bullet_list_close","ul",-1),ae.markup=String.fromCharCode(S),A[1]=$,l.line=$,l.parentType=O,Me&&s(l,v),!0}}}),Ck=U({"node_modules/markdown-it/lib/rules_block/reference.js"(r,e){var t=de().normalizeReference,n=de().isSpace;e.exports=function(s,o,l,a){var u,c,d,f,h,m,p,g,y,x,k,A,v,S,D,_,$=0,T=s.bMarks[o]+s.tShift[o],I=s.eMarks[o],O=o+1;if(!s.md.options.allowIndentation&&s.sCount[o]-s.blkIndent>=4||s.src.charCodeAt(T)!==91)return!1;for(;++T<I;)if(s.src.charCodeAt(T)===93&&s.src.charCodeAt(T-1)!==92){if(T+1===I||s.src.charCodeAt(T+1)!==58)return!1;break}for(f=s.lineMax,D=s.md.block.ruler.getRules("reference"),x=s.parentType,s.parentType="reference";O<f&&!s.isEmpty(O);O++)if(!(!s.md.options.allowIndentation&&s.sCount[O]-s.blkIndent>3)&&!(s.sCount[O]<0)){for(S=!1,m=0,p=D.length;m<p;m++)if(D[m](s,O,f,!0)){S=!0;break}if(S)break}for(v=s.getLines(o,O,s.blkIndent,!1).trim(),I=v.length,T=1;T<I;T++){if(u=v.charCodeAt(T),u===91)return!1;if(u===93){y=T;break}else u===10?$++:u===92&&(T++,T<I&&v.charCodeAt(T)===10&&$++)}if(y<0||v.charCodeAt(y+1)!==58)return!1;for(T=y+2;T<I;T++)if(u=v.charCodeAt(T),u===10)$++;else if(!n(u))break;if(k=s.md.helpers.parseLinkDestination(v,T,I),!k.ok||(h=s.md.normalizeLink(k.str),!s.md.validateLink(h)))return!1;for(T=k.pos,$+=k.lines,c=T,d=$,A=T;T<I;T++)if(u=v.charCodeAt(T),u===10)$++;else if(!n(u))break;for(k=s.md.helpers.parseLinkTitle(v,T,I),T<I&&A!==T&&k.ok?(_=k.str,T=k.pos,$+=k.lines):(_="",T=c,$=d);T<I&&(u=v.charCodeAt(T),!!n(u));)T++;if(T<I&&v.charCodeAt(T)!==10&&_)for(_="",T=c,$=d;T<I&&(u=v.charCodeAt(T),!!n(u));)T++;return T<I&&v.charCodeAt(T)!==10||(g=t(v.slice(1,y)),!g)?!1:(a||(typeof s.env.references>"u"&&(s.env.references={}),typeof s.env.references[g]>"u"&&(s.env.references[g]={title:_,href:h}),s.parentType=x,s.line=o+$+1),!0)}}}),Ak=U({"node_modules/markdown-it/lib/common/html_blocks.js"(r,e){e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]}}),Ud=U({"node_modules/markdown-it/lib/common/html_re.js"(r,e){var t="[a-zA-Z_:][a-zA-Z0-9:._-]*",n="[^\"'=<>`\\x00-\\x20]+",i="'[^']*'",s='"[^"]*"',o="(?:"+n+"|"+i+"|"+s+")",l="(?:\\s+"+t+"(?:\\s*=\\s*"+o+")?)",a="<[A-Za-z][A-Za-z0-9\\-]*"+l+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",c="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",d="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",h="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",m=new RegExp("^(?:"+a+"|"+u+"|"+c+"|"+d+"|"+f+"|"+h+")"),p=new RegExp("^(?:"+a+"|"+u+")");e.exports.HTML_TAG_RE=m,e.exports.HTML_OPEN_CLOSE_TAG_RE=p}}),wk=U({"node_modules/markdown-it/lib/rules_block/html_block.js"(r,e){var t=Ak(),n=Ud().HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+t.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(n.source+"\\s*$"),/^$/,!1]];e.exports=function(o,l,a,u){var c,d,f,h,m=o.bMarks[l]+o.tShift[l],p=o.eMarks[l];if(!o.md.options.allowIndentation&&o.sCount[l]-o.blkIndent>=4||!o.md.options.html||o.src.charCodeAt(m)!==60)return!1;for(h=o.src.slice(m,p),c=0;c<i.length&&!i[c][0].test(h);c++);if(c===i.length)return!1;if(u)return i[c][2];if(d=l+1,!i[c][1].test(h)){for(;d<a&&!(o.sCount[d]<o.blkIndent);d++)if(m=o.bMarks[d]+o.tShift[d],p=o.eMarks[d],h=o.src.slice(m,p),i[c][1].test(h)){h.length!==0&&d++;break}}return o.line=d,f=o.push("html_block","",0),f.map=[l,d],f.content=o.getLines(l,d,o.blkIndent,!0),!0}}}),Ek=U({"node_modules/markdown-it/lib/rules_block/heading.js"(r,e){var t=de().isSpace;e.exports=function(i,s,o,l){var a,u,c,d,f=i.bMarks[s]+i.tShift[s],h=i.eMarks[s];if(!i.md.options.allowIndentation&&i.sCount[s]-i.blkIndent>=4||(a=i.src.charCodeAt(f),a!==35||f>=h))return!1;for(u=1,a=i.src.charCodeAt(++f);a===35&&f<h&&u<=6;)u++,a=i.src.charCodeAt(++f);return u>6||f<h&&!t(a)?!1:(l||(h=i.skipSpacesBack(h,f),c=i.skipCharsBack(h,35,f),c>f&&t(i.src.charCodeAt(c-1))&&(h=c),i.line=s+1,d=i.push("heading_open","h"+String(u),1),d.markup="########".slice(0,u),d.map=[s,i.line],d=i.push("inline","",0),d.content=i.src.slice(f,h).trim(),d.map=[s,i.line],d.children=[],d=i.push("heading_close","h"+String(u),-1),d.markup="########".slice(0,u)),!0)}}}),Sk=U({"node_modules/markdown-it/lib/rules_block/lheading.js"(r,e){e.exports=function(n,i,s){var o,l,a,u,c,d,f,h,m,p=i+1,g,y=n.md.block.ruler.getRules("paragraph");if(!n.md.options.allowIndentation&&n.sCount[i]-n.blkIndent>=4)return!1;for(g=n.parentType,n.parentType="paragraph";p<s&&!n.isEmpty(p);p++)if(!(!n.md.options.allowIndentation&&n.sCount[p]-n.blkIndent>3)){if(n.sCount[p]>=n.blkIndent&&(d=n.bMarks[p]+n.tShift[p],f=n.eMarks[p],d<f&&(m=n.src.charCodeAt(d),(m===45||m===61)&&(d=n.skipChars(d,m),d=n.skipSpaces(d),d>=f)))){h=m===61?1:2;break}if(!(n.sCount[p]<0)){for(l=!1,a=0,u=y.length;a<u;a++)if(y[a](n,p,s,!0)){l=!0;break}if(l)break}}return h?(o=n.getLines(i,p,n.blkIndent,!1).trim(),n.line=p+1,c=n.push("heading_open","h"+String(h),1),c.markup=String.fromCharCode(m),c.map=[i,n.line],c=n.push("inline","",0),c.content=o,c.map=[i,n.line-1],c.children=[],c=n.push("heading_close","h"+String(h),-1),c.markup=String.fromCharCode(m),n.parentType=g,!0):!1}}}),Dk=U({"node_modules/markdown-it/lib/rules_block/paragraph.js"(r,e){e.exports=function(n,i){var s,o,l,a,u,c,d=i+1,f=n.md.block.ruler.getRules("paragraph"),h=n.lineMax;for(c=n.parentType,n.parentType="paragraph";d<h&&!n.isEmpty(d);d++)if(!(!n.md.options.allowIndentation&&n.sCount[d]-n.blkIndent>3)&&!(n.sCount[d]<0)){for(o=!1,l=0,a=f.length;l<a;l++)if(f[l](n,d,h,!0)){o=!0;break}if(o)break}return s=n.getLines(i,d,n.blkIndent,!1).trim(),n.line=d,u=n.push("paragraph_open","p",1),u.map=[i,n.line],u=n.push("inline","",0),u.content=s,u.map=[i,n.line],u.children=[],u=n.push("paragraph_close","p",-1),n.parentType=c,!0}}}),_k=U({"node_modules/markdown-it/lib/rules_block/state_block.js"(r,e){var t=hl(),n=de().isSpace;function i(s,o,l,a){var u,c,d,f,h,m,p,g;for(this.src=s,this.md=o,this.env=l,this.tokens=a,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",c=this.src,g=!1,d=f=m=p=0,h=c.length;f<h;f++){if(u=c.charCodeAt(f),!g)if(n(u)){m++,u===9?p+=4-p%4:p++;continue}else g=!0;(u===10||f===h-1)&&(u!==10&&f++,this.bMarks.push(d),this.eMarks.push(f),this.tShift.push(m),this.sCount.push(p),this.bsCount.push(0),g=!1,m=0,p=0,d=f+1)}this.bMarks.push(c.length),this.eMarks.push(c.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(s,o,l){var a=new t(s,o,l);return a.block=!0,l<0&&this.level--,a.level=this.level,l>0&&this.level++,this.tokens.push(a),a},i.prototype.isEmpty=function(o){return this.bMarks[o]+this.tShift[o]>=this.eMarks[o]},i.prototype.skipEmptyLines=function(o){for(var l=this.lineMax;o<l&&!(this.bMarks[o]+this.tShift[o]<this.eMarks[o]);o++);return o},i.prototype.skipSpaces=function(o){for(var l,a=this.src.length;o<a&&(l=this.src.charCodeAt(o),!!n(l));o++);return o},i.prototype.skipSpacesBack=function(o,l){if(o<=l)return o;for(;o>l;)if(!n(this.src.charCodeAt(--o)))return o+1;return o},i.prototype.skipChars=function(o,l){for(var a=this.src.length;o<a&&this.src.charCodeAt(o)===l;o++);return o},i.prototype.skipCharsBack=function(o,l,a){if(o<=a)return o;for(;o>a;)if(l!==this.src.charCodeAt(--o))return o+1;return o},i.prototype.getLines=function(o,l,a,u){var c,d,f,h,m,p,g,y=o;if(o>=l)return"";for(p=new Array(l-o),c=0;y<l;y++,c++){for(d=0,g=h=this.bMarks[y],y+1<l||u?m=this.eMarks[y]+1:m=this.eMarks[y];h<m&&d<a;){if(f=this.src.charCodeAt(h),n(f))f===9?d+=4-(d+this.bsCount[y])%4:d++;else if(h-g<this.tShift[y])d++;else break;h++}d>a?p[c]=new Array(d-a+1).join(" ")+this.src.slice(h,m):p[c]=this.src.slice(h,m)}return p.join("")},i.prototype.Token=t,e.exports=i}}),Tk=U({"node_modules/markdown-it/lib/parser_block.js"(r,e){var t=fl(),n=[["table",gk(),["paragraph","reference"]],["code",yk()],["fence",bk(),["paragraph","reference","blockquote","list"]],["blockquote",kk(),["paragraph","reference","blockquote","list"]],["hr",vk(),["paragraph","reference","blockquote","list"]],["list",xk(),["paragraph","reference","blockquote"]],["reference",Ck()],["html_block",wk(),["paragraph","reference","blockquote"]],["heading",Ek(),["paragraph","reference","blockquote"]],["lheading",Sk()],["paragraph",Dk()]];function i(){this.ruler=new t;for(var s=0;s<n.length;s++)this.ruler.push(n[s][0],n[s][1],{alt:(n[s][2]||[]).slice()})}i.prototype.tokenize=function(s,o,l){for(var a,u,c=this.ruler.getRules(""),d=c.length,f=o,h=!1,m=s.md.options.maxNesting;f<l&&(s.line=f=s.skipEmptyLines(f),!(f>=l||s.sCount[f]<s.blkIndent));){if(s.level>=m){s.line=l;break}for(u=0;u<d&&(a=c[u](s,f,l,!1),!a);u++);s.tight=!h,s.isEmpty(s.line-1)&&(h=!0),f=s.line,f<l&&s.isEmpty(f)&&(h=!0,f++,s.line=f)}},i.prototype.parse=function(s,o,l,a){var u;s&&(u=new this.State(s,o,l,a),this.tokenize(u,u.line,u.lineMax))},i.prototype.State=_k(),e.exports=i}}),Mk=U({"node_modules/markdown-it/lib/rules_inline/text.js"(r,e){function t(n){switch(n){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(i,s){for(var o=i.pos;o<i.posMax&&!t(i.src.charCodeAt(o));)o++;return o===i.pos?!1:(s||(i.pending+=i.src.slice(i.pos,o)),i.pos=o,!0)}}}),Ok=U({"node_modules/markdown-it/lib/rules_inline/newline.js"(r,e){var t=de().isSpace;e.exports=function(i,s){var o,l,a,u=i.pos;if(i.src.charCodeAt(u)!==10)return!1;if(o=i.pending.length-1,l=i.posMax,!s)if(o>=0&&i.pending.charCodeAt(o)===32)if(o>=1&&i.pending.charCodeAt(o-1)===32){for(a=o-1;a>=1&&i.pending.charCodeAt(a-1)===32;)a--;i.pending=i.pending.slice(0,a),i.push("hardbreak","br",0)}else i.pending=i.pending.slice(0,-1),i.push("softbreak","br",0);else i.push("softbreak","br",0);for(u++;u<l&&t(i.src.charCodeAt(u));)u++;return i.pos=u,!0}}}),Nk=U({"node_modules/markdown-it/lib/rules_inline/escape.js"(r,e){var t=de().isSpace,n=[];for(i=0;i<256;i++)n.push(0);var i;"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(s){n[s.charCodeAt(0)]=1}),e.exports=function(o,l){var a,u=o.pos,c=o.posMax;if(o.src.charCodeAt(u)!==92)return!1;if(u++,u<c){if(a=o.src.charCodeAt(u),a<256&&n[a]!==0)return l||(o.pending+=o.src[u]),o.pos+=2,!0;if(a===10){for(l||o.push("hardbreak","br",0),u++;u<c&&(a=o.src.charCodeAt(u),!!t(a));)u++;return o.pos=u,!0}}return l||(o.pending+="\\"),o.pos++,!0}}}),Ik=U({"node_modules/markdown-it/lib/rules_inline/backticks.js"(r,e){e.exports=function(n,i){var s,o,l,a,u,c,d,f,h=n.pos,m=n.src.charCodeAt(h);if(m!==96)return!1;for(s=h,h++,o=n.posMax;h<o&&n.src.charCodeAt(h)===96;)h++;if(l=n.src.slice(s,h),d=l.length,n.backticksScanned&&(n.backticks[d]||0)<=s)return i||(n.pending+=l),n.pos+=d,!0;for(u=c=h;(u=n.src.indexOf("`",c))!==-1;){for(c=u+1;c<o&&n.src.charCodeAt(c)===96;)c++;if(f=c-u,f===d)return i||(a=n.push("code_inline","code",0),a.markup=l,a.content=n.src.slice(h,u).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),n.pos=c,!0;n.backticks[f]=u}return n.backticksScanned=!0,i||(n.pending+=l),n.pos+=d,!0}}}),uu=U({"node_modules/markdown-it/lib/rules_inline/strikethrough.js"(r,e){e.exports.tokenize=function(i,s){var o,l,a,u,c,d=i.pos,f=i.src.charCodeAt(d);if(s||f!==126||(l=i.scanDelims(i.pos,!0),u=l.length,c=String.fromCharCode(f),u<2))return!1;for(u%2&&(a=i.push("text","",0),a.content=c,u--),o=0;o<u;o+=2)a=i.push("text","",0),a.content=c+c,i.delimiters.push({marker:f,length:0,token:i.tokens.length-1,end:-1,open:l.can_open,close:l.can_close});return i.pos+=l.length,!0};function t(n,i){var s,o,l,a,u,c=[],d=i.length;for(s=0;s<d;s++)l=i[s],l.marker===126&&l.end!==-1&&(a=i[l.end],u=n.tokens[l.token],u.type="s_open",u.tag="s",u.nesting=1,u.markup="~~",u.content="",u=n.tokens[a.token],u.type="s_close",u.tag="s",u.nesting=-1,u.markup="~~",u.content="",n.tokens[a.token-1].type==="text"&&n.tokens[a.token-1].content==="~"&&c.push(a.token-1));for(;c.length;){for(s=c.pop(),o=s+1;o<n.tokens.length&&n.tokens[o].type==="s_close";)o++;o--,s!==o&&(u=n.tokens[o],n.tokens[o]=n.tokens[s],n.tokens[s]=u)}}e.exports.postProcess=function(i){var s,o=i.tokens_meta,l=i.tokens_meta.length;for(t(i,i.delimiters),s=0;s<l;s++)o[s]&&o[s].delimiters&&t(i,o[s].delimiters)}}}),cu=U({"node_modules/markdown-it/lib/rules_inline/emphasis.js"(r,e){e.exports.tokenize=function(i,s){var o,l,a,u=i.pos,c=i.src.charCodeAt(u);if(s||c!==95&&c!==42)return!1;for(l=i.scanDelims(i.pos,c===42),o=0;o<l.length;o++)a=i.push("text","",0),a.content=String.fromCharCode(c),i.delimiters.push({marker:c,length:l.length,token:i.tokens.length-1,end:-1,open:l.can_open,close:l.can_close});return i.pos+=l.length,!0};function t(n,i){var s,o,l,a,u,c,d=i.length;for(s=d-1;s>=0;s--)o=i[s],!(o.marker!==95&&o.marker!==42)&&o.end!==-1&&(l=i[o.end],c=s>0&&i[s-1].end===o.end+1&&i[s-1].marker===o.marker&&i[s-1].token===o.token-1&&i[o.end+1].token===l.token+1,u=String.fromCharCode(o.marker),a=n.tokens[o.token],a.type=c?"strong_open":"em_open",a.tag=c?"strong":"em",a.nesting=1,a.markup=c?u+u:u,a.content="",a=n.tokens[l.token],a.type=c?"strong_close":"em_close",a.tag=c?"strong":"em",a.nesting=-1,a.markup=c?u+u:u,a.content="",c&&(n.tokens[i[s-1].token].content="",n.tokens[i[o.end+1].token].content="",s--))}e.exports.postProcess=function(i){var s,o=i.tokens_meta,l=i.tokens_meta.length;for(t(i,i.delimiters),s=0;s<l;s++)o[s]&&o[s].delimiters&&t(i,o[s].delimiters)}}}),Bk=U({"node_modules/markdown-it/lib/rules_inline/link.js"(r,e){var t=de().normalizeReference,n=de().isSpace;e.exports=function(s,o){var l,a,u,c,d,f,h,m,p,g="",y="",x=s.pos,k=s.posMax,A=s.pos,v=!0;if(s.src.charCodeAt(s.pos)!==91||(d=s.pos+1,c=s.md.helpers.parseLinkLabel(s,s.pos,!0),c<0))return!1;if(f=c+1,f<k&&s.src.charCodeAt(f)===40){for(v=!1,f++;f<k&&(a=s.src.charCodeAt(f),!(!n(a)&&a!==10));f++);if(f>=k)return!1;if(A=f,h=s.md.helpers.parseLinkDestination(s.src,f,s.posMax),h.ok){for(g=s.md.normalizeLink(h.str),s.md.validateLink(g)?f=h.pos:g="",A=f;f<k&&(a=s.src.charCodeAt(f),!(!n(a)&&a!==10));f++);if(h=s.md.helpers.parseLinkTitle(s.src,f,s.posMax),f<k&&A!==f&&h.ok)for(y=h.str,f=h.pos;f<k&&(a=s.src.charCodeAt(f),!(!n(a)&&a!==10));f++);}(f>=k||s.src.charCodeAt(f)!==41)&&(v=!0),f++}if(v){if(typeof s.env.references>"u")return!1;if(f<k&&s.src.charCodeAt(f)===91?(A=f+1,f=s.md.helpers.parseLinkLabel(s,f),f>=0?u=s.src.slice(A,f++):f=c+1):f=c+1,u||(u=s.src.slice(d,c)),m=s.env.references[t(u)],!m)return s.pos=x,!1;g=m.href,y=m.title}return o||(s.pos=d,s.posMax=c,p=s.push("link_open","a",1),p.attrs=l=[["href",g]],y&&l.push(["title",y]),s.md.inline.tokenize(s),p=s.push("link_close","a",-1)),s.pos=f,s.posMax=k,!0}}}),Fk=U({"node_modules/markdown-it/lib/rules_inline/image.js"(r,e){var t=de().normalizeReference,n=de().isSpace;e.exports=function(s,o){var l,a,u,c,d,f,h,m,p,g,y,x,k,A="",v=s.pos,S=s.posMax;if(s.src.charCodeAt(s.pos)!==33||s.src.charCodeAt(s.pos+1)!==91||(f=s.pos+2,d=s.md.helpers.parseLinkLabel(s,s.pos+1,!1),d<0))return!1;if(h=d+1,h<S&&s.src.charCodeAt(h)===40){for(h++;h<S&&(a=s.src.charCodeAt(h),!(!n(a)&&a!==10));h++);if(h>=S)return!1;for(k=h,p=s.md.helpers.parseLinkDestination(s.src,h,s.posMax),p.ok&&(A=s.md.normalizeLink(p.str),s.md.validateLink(A)?h=p.pos:A=""),k=h;h<S&&(a=s.src.charCodeAt(h),!(!n(a)&&a!==10));h++);if(p=s.md.helpers.parseLinkTitle(s.src,h,s.posMax),h<S&&k!==h&&p.ok)for(g=p.str,h=p.pos;h<S&&(a=s.src.charCodeAt(h),!(!n(a)&&a!==10));h++);else g="";if(h>=S||s.src.charCodeAt(h)!==41)return s.pos=v,!1;h++}else{if(typeof s.env.references>"u")return!1;if(h<S&&s.src.charCodeAt(h)===91?(k=h+1,h=s.md.helpers.parseLinkLabel(s,h),h>=0?c=s.src.slice(k,h++):h=d+1):h=d+1,c||(c=s.src.slice(f,d)),m=s.env.references[t(c)],!m)return s.pos=v,!1;A=m.href,g=m.title}return o||(u=s.src.slice(f,d),s.md.inline.parse(u,s.md,s.env,x=[]),y=s.push("image","img",0),y.attrs=l=[["src",A],["alt",""]],y.children=x,y.content=u,g&&l.push(["title",g])),s.pos=h,s.posMax=S,!0}}}),Rk=U({"node_modules/markdown-it/lib/rules_inline/autolink.js"(r,e){var t=/^([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])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(s,o){var l,a,u,c,d,f,h=s.pos;if(s.src.charCodeAt(h)!==60)return!1;for(d=s.pos,f=s.posMax;;){if(++h>=f||(c=s.src.charCodeAt(h),c===60))return!1;if(c===62)break}return l=s.src.slice(d+1,h),n.test(l)?(a=s.md.normalizeLink(l),s.md.validateLink(a)?(o||(u=s.push("link_open","a",1),u.attrs=[["href",a]],u.markup="autolink",u.info="auto",u=s.push("text","",0),u.content=s.md.normalizeLinkText(l),u=s.push("link_close","a",-1),u.markup="autolink",u.info="auto"),s.pos+=l.length+2,!0):!1):t.test(l)?(a=s.md.normalizeLink("mailto:"+l),s.md.validateLink(a)?(o||(u=s.push("link_open","a",1),u.attrs=[["href",a]],u.markup="autolink",u.info="auto",u=s.push("text","",0),u.content=s.md.normalizeLinkText(l),u=s.push("link_close","a",-1),u.markup="autolink",u.info="auto"),s.pos+=l.length+2,!0):!1):!1}}}),$k=U({"node_modules/markdown-it/lib/rules_inline/html_inline.js"(r,e){var t=Ud().HTML_TAG_RE;function n(i){var s=i|32;return s>=97&&s<=122}e.exports=function(s,o){var l,a,u,c,d=s.pos;return!s.md.options.html||(u=s.posMax,s.src.charCodeAt(d)!==60||d+2>=u)||(l=s.src.charCodeAt(d+1),l!==33&&l!==63&&l!==47&&!n(l))||(a=s.src.slice(d).match(t),!a)?!1:(o||(c=s.push("html_inline","",0),c.content=s.src.slice(d,d+a[0].length)),s.pos+=a[0].length,!0)}}}),Pk=U({"node_modules/markdown-it/lib/rules_inline/entity.js"(r,e){var t=zd(),n=de().has,i=de().isValidEntityCode,s=de().fromCodePoint,o=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(u,c){var d,f,h,m=u.pos,p=u.posMax;if(u.src.charCodeAt(m)!==38)return!1;if(m+1<p){if(d=u.src.charCodeAt(m+1),d===35){if(h=u.src.slice(m).match(o),h)return c||(f=h[1][0].toLowerCase()==="x"?parseInt(h[1].slice(1),16):parseInt(h[1],10),u.pending+=i(f)?s(f):s(65533)),u.pos+=h[0].length,!0}else if(h=u.src.slice(m).match(l),h&&n(t,h[1]))return c||(u.pending+=t[h[1]]),u.pos+=h[0].length,!0}return c||(u.pending+="&"),u.pos++,!0}}}),Lk=U({"node_modules/markdown-it/lib/rules_inline/balance_pairs.js"(r,e){function t(n,i){var s,o,l,a,u,c,d,f,h={},m=i.length;if(m){var p=0,g=-2,y=[];for(s=0;s<m;s++)if(l=i[s],y.push(0),(i[p].marker!==l.marker||g!==l.token-1)&&(p=s),g=l.token,l.length=l.length||0,!!l.close){for(h.hasOwnProperty(l.marker)||(h[l.marker]=[-1,-1,-1,-1,-1,-1]),u=h[l.marker][(l.open?3:0)+l.length%3],o=p-y[p]-1,c=o;o>u;o-=y[o]+1)if(a=i[o],a.marker===l.marker&&a.open&&a.end<0&&(d=!1,(a.close||l.open)&&(a.length+l.length)%3===0&&(a.length%3!==0||l.length%3!==0)&&(d=!0),!d)){f=o>0&&!i[o-1].open?y[o-1]+1:0,y[s]=s-o+f,y[o]=f,l.open=!1,a.end=s,a.close=!1,c=-1,g=-2;break}c!==-1&&(h[l.marker][(l.open?3:0)+(l.length||0)%3]=c)}}}e.exports=function(i){var s,o=i.tokens_meta,l=i.tokens_meta.length;for(t(i,i.delimiters),s=0;s<l;s++)o[s]&&o[s].delimiters&&t(i,o[s].delimiters)}}}),zk=U({"node_modules/markdown-it/lib/rules_inline/text_collapse.js"(r,e){e.exports=function(n){var i,s,o=0,l=n.tokens,a=n.tokens.length;for(i=s=0;i<a;i++)l[i].nesting<0&&o--,l[i].level=o,l[i].nesting>0&&o++,l[i].type==="text"&&i+1<a&&l[i+1].type==="text"?l[i+1].content=l[i].content+l[i+1].content:(i!==s&&(l[s]=l[i]),s++);i!==s&&(l.length=s)}}}),qk=U({"node_modules/markdown-it/lib/rules_inline/state_inline.js"(r,e){var t=hl(),n=de().isWhiteSpace,i=de().isPunctChar,s=de().isMdAsciiPunct;function o(l,a,u,c){this.src=l,this.env=u,this.md=a,this.tokens=c,this.tokens_meta=Array(c.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}o.prototype.pushPending=function(){var l=new t("text","",0);return l.content=this.pending,l.level=this.pendingLevel,this.tokens.push(l),this.pending="",l},o.prototype.push=function(l,a,u){this.pending&&this.pushPending();var c=new t(l,a,u),d=null;return u<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),c.level=this.level,u>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],d={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(c),this.tokens_meta.push(d),c},o.prototype.scanDelims=function(l,a){var u=l,c,d,f,h,m,p,g,y,x,k=!0,A=!0,v=this.posMax,S=this.src.charCodeAt(l);for(c=l>0?this.src.charCodeAt(l-1):32;u<v&&this.src.charCodeAt(u)===S;)u++;return f=u-l,d=u<v?this.src.charCodeAt(u):32,g=s(c)||i(String.fromCharCode(c)),x=s(d)||i(String.fromCharCode(d)),p=n(c),y=n(d),y?k=!1:x&&(p||g||(k=!1)),p?A=!1:g&&(y||x||(A=!1)),a?(h=k,m=A):(h=k&&(!A||g),m=A&&(!k||x)),{can_open:h,can_close:m,length:f}},o.prototype.Token=t,e.exports=o}}),Vk=U({"node_modules/markdown-it/lib/parser_inline.js"(r,e){var t=fl(),n=[["text",Mk()],["newline",Ok()],["escape",Nk()],["backticks",Ik()],["strikethrough",uu().tokenize],["emphasis",cu().tokenize],["link",Bk()],["image",Fk()],["autolink",Rk()],["html_inline",$k()],["entity",Pk()]],i=[["balance_pairs",Lk()],["strikethrough",uu().postProcess],["emphasis",cu().postProcess],["text_collapse",zk()]];function s(){var o;for(this.ruler=new t,o=0;o<n.length;o++)this.ruler.push(n[o][0],n[o][1]);for(this.ruler2=new t,o=0;o<i.length;o++)this.ruler2.push(i[o][0],i[o][1])}s.prototype.skipToken=function(o){var l,a,u=o.pos,c=this.ruler.getRules(""),d=c.length,f=o.md.options.maxNesting,h=o.cache;if(typeof h[u]<"u"){o.pos=h[u];return}if(o.level<f)for(a=0;a<d&&(o.level++,l=c[a](o,!0),o.level--,!l);a++);else o.pos=o.posMax;l||o.pos++,h[u]=o.pos},s.prototype.tokenize=function(o){for(var l,a,u=this.ruler.getRules(""),c=u.length,d=o.posMax,f=o.md.options.maxNesting;o.pos<d;){if(o.level<f)for(a=0;a<c&&(l=u[a](o,!1),!l);a++);if(l){if(o.pos>=d)break;continue}o.pending+=o.src[o.pos++]}o.pending&&o.pushPending()},s.prototype.parse=function(o,l,a,u){var c,d,f,h=new this.State(o,l,a,u);for(this.tokenize(h),d=this.ruler2.getRules(""),f=d.length,c=0;c<f;c++)d[c](h)},s.prototype.State=qk(),e.exports=s}}),jk=U({"node_modules/linkify-it/lib/re.js"(r,e){e.exports=function(t){var n={};n.src_Any=Vd().source,n.src_Cc=jd().source,n.src_Z=Hd().source,n.src_P=dl().source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");var i="[><|]";return n.src_pseudo_letter="(?:(?!"+i+"|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|"+i+"|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|"+i+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+n.src_ZCc+").|;(?!"+n.src_ZCc+").|\\!+(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}}}),Hk=U({"node_modules/linkify-it/index.js"(r,e){function t(v){var S=Array.prototype.slice.call(arguments,1);return S.forEach(function(D){D&&Object.keys(D).forEach(function(_){v[_]=D[_]})}),v}function n(v){return Object.prototype.toString.call(v)}function i(v){return n(v)==="[object String]"}function s(v){return n(v)==="[object Object]"}function o(v){return n(v)==="[object RegExp]"}function l(v){return n(v)==="[object Function]"}function a(v){return v.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var u={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function c(v){return Object.keys(v||{}).reduce(function(S,D){return S||u.hasOwnProperty(D)},!1)}var d={"http:":{validate:function(v,S,D){var _=v.slice(S);return D.re.http||(D.re.http=new RegExp("^\\/\\/"+D.re.src_auth+D.re.src_host_port_strict+D.re.src_path,"i")),D.re.http.test(_)?_.match(D.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(v,S,D){var _=v.slice(S);return D.re.no_http||(D.re.no_http=new RegExp("^"+D.re.src_auth+"(?:localhost|(?:(?:"+D.re.src_domain+")\\.)+"+D.re.src_domain_root+")"+D.re.src_port+D.re.src_host_terminator+D.re.src_path,"i")),D.re.no_http.test(_)?S>=3&&v[S-3]===":"||S>=3&&v[S-3]==="/"?0:_.match(D.re.no_http)[0].length:0}},"mailto:":{validate:function(v,S,D){var _=v.slice(S);return D.re.mailto||(D.re.mailto=new RegExp("^"+D.re.src_email_name+"@"+D.re.src_host_strict,"i")),D.re.mailto.test(_)?_.match(D.re.mailto)[0].length:0}}},f="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",h="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function m(v){v.__index__=-1,v.__text_cache__=""}function p(v){return function(S,D){var _=S.slice(D);return v.test(_)?_.match(v)[0].length:0}}function g(){return function(v,S){S.normalize(v)}}function y(v){var S=v.re=jk()(v.__opts__),D=v.__tlds__.slice();v.onCompile(),v.__tlds_replaced__||D.push(f),D.push(S.src_xn),S.src_tlds=D.join("|");function _(O){return O.replace("%TLDS%",S.src_tlds)}S.email_fuzzy=RegExp(_(S.tpl_email_fuzzy),"i"),S.link_fuzzy=RegExp(_(S.tpl_link_fuzzy),"i"),S.link_no_ip_fuzzy=RegExp(_(S.tpl_link_no_ip_fuzzy),"i"),S.host_fuzzy_test=RegExp(_(S.tpl_host_fuzzy_test),"i");var $=[];v.__compiled__={};function T(O,z){throw new Error('(LinkifyIt) Invalid schema "'+O+'": '+z)}Object.keys(v.__schemas__).forEach(function(O){var z=v.__schemas__[O];if(z!==null){var B={validate:null,link:null};if(v.__compiled__[O]=B,s(z)){o(z.validate)?B.validate=p(z.validate):l(z.validate)?B.validate=z.validate:T(O,z),l(z.normalize)?B.normalize=z.normalize:z.normalize?T(O,z):B.normalize=g();return}if(i(z)){$.push(O);return}T(O,z)}}),$.forEach(function(O){v.__compiled__[v.__schemas__[O]]&&(v.__compiled__[O].validate=v.__compiled__[v.__schemas__[O]].validate,v.__compiled__[O].normalize=v.__compiled__[v.__schemas__[O]].normalize)}),v.__compiled__[""]={validate:null,normalize:g()};var I=Object.keys(v.__compiled__).filter(function(O){return O.length>0&&v.__compiled__[O]}).map(a).join("|");v.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+I+")","i"),v.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+I+")","ig"),v.re.pretest=RegExp("("+v.re.schema_test.source+")|("+v.re.host_fuzzy_test.source+")|@","i"),m(v)}function x(v,S){var D=v.__index__,_=v.__last_index__,$=v.__text_cache__.slice(D,_);this.schema=v.__schema__.toLowerCase(),this.index=D+S,this.lastIndex=_+S,this.raw=$,this.text=$,this.url=$}function k(v,S){var D=new x(v,S);return v.__compiled__[D.schema].normalize(D,v),D}function A(v,S){if(!(this instanceof A))return new A(v,S);S||c(v)&&(S=v,v={}),this.__opts__=t({},u,S),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=t({},d,v),this.__compiled__={},this.__tlds__=h,this.__tlds_replaced__=!1,this.re={},y(this)}A.prototype.add=function(S,D){return this.__schemas__[S]=D,y(this),this},A.prototype.set=function(S){return this.__opts__=t(this.__opts__,S),this},A.prototype.test=function(S){if(this.__text_cache__=S,this.__index__=-1,!S.length)return!1;var D,_,$,T,I,O,z,B,F;if(this.re.schema_test.test(S)){for(z=this.re.schema_search,z.lastIndex=0;(D=z.exec(S))!==null;)if(T=this.testSchemaAt(S,D[2],z.lastIndex),T){this.__schema__=D[2],this.__index__=D.index+D[1].length,this.__last_index__=D.index+D[0].length+T;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(B=S.search(this.re.host_fuzzy_test),B>=0&&(this.__index__<0||B<this.__index__)&&(_=S.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(I=_.index+_[1].length,(this.__index__<0||I<this.__index__)&&(this.__schema__="",this.__index__=I,this.__last_index__=_.index+_[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(F=S.indexOf("@"),F>=0&&($=S.match(this.re.email_fuzzy))!==null&&(I=$.index+$[1].length,O=$.index+$[0].length,(this.__index__<0||I<this.__index__||I===this.__index__&&O>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=I,this.__last_index__=O))),this.__index__>=0},A.prototype.pretest=function(S){return this.re.pretest.test(S)},A.prototype.testSchemaAt=function(S,D,_){return this.__compiled__[D.toLowerCase()]?this.__compiled__[D.toLowerCase()].validate(S,_,this):0},A.prototype.match=function(S){var D=0,_=[];this.__index__>=0&&this.__text_cache__===S&&(_.push(k(this,D)),D=this.__last_index__);for(var $=D?S.slice(D):S;this.test($);)_.push(k(this,D)),$=$.slice(this.__last_index__),D+=this.__last_index__;return _.length?_:null},A.prototype.tlds=function(S,D){return S=Array.isArray(S)?S:[S],D?(this.__tlds__=this.__tlds__.concat(S).sort().filter(function(_,$,T){return _!==T[$-1]}).reverse(),y(this),this):(this.__tlds__=S.slice(),this.__tlds_replaced__=!0,y(this),this)},A.prototype.normalize=function(S){S.schema||(S.url="http://"+S.url),S.schema==="mailto:"&&!/^mailto:/i.test(S.url)&&(S.url="mailto:"+S.url)},A.prototype.onCompile=function(){},e.exports=A}}),Uk=U({"node_modules/punycode/punycode.js"(r,e){var t=2147483647,n=36,i=1,s=26,o=38,l=700,a=72,u=128,c="-",d=/^xn--/,f=/[^\0-\x7F]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=n-i,g=Math.floor,y=String.fromCharCode;function x(F){throw new RangeError(m[F])}function k(F,V){const Z=[];let re=F.length;for(;re--;)Z[re]=V(F[re]);return Z}function A(F,V){const Z=F.split("@");let re="";Z.length>1&&(re=Z[0]+"@",F=Z[1]),F=F.replace(h,".");const ce=F.split("."),ye=k(ce,V).join(".");return re+ye}function v(F){const V=[];let Z=0;const re=F.length;for(;Z<re;){const ce=F.charCodeAt(Z++);if(ce>=55296&&ce<=56319&&Z<re){const ye=F.charCodeAt(Z++);(ye&64512)==56320?V.push(((ce&1023)<<10)+(ye&1023)+65536):(V.push(ce),Z--)}else V.push(ce)}return V}var S=F=>String.fromCodePoint(...F),D=function(F){return F>=48&&F<58?26+(F-48):F>=65&&F<91?F-65:F>=97&&F<123?F-97:n},_=function(F,V){return F+22+75*(F<26)-((V!=0)<<5)},$=function(F,V,Z){let re=0;for(F=Z?g(F/l):F>>1,F+=g(F/V);F>p*s>>1;re+=n)F=g(F/p);return g(re+(p+1)*F/(F+o))},T=function(F){const V=[],Z=F.length;let re=0,ce=u,ye=a,Se=F.lastIndexOf(c);Se<0&&(Se=0);for(let ae=0;ae<Se;++ae)F.charCodeAt(ae)>=128&&x("not-basic"),V.push(F.charCodeAt(ae));for(let ae=Se>0?Se+1:0;ae<Z;){const be=re;for(let Oe=1,Ke=n;;Ke+=n){ae>=Z&&x("invalid-input");const ht=D(F.charCodeAt(ae++));ht>=n&&x("invalid-input"),ht>g((t-re)/Oe)&&x("overflow"),re+=ht*Oe;const _t=Ke<=ye?i:Ke>=ye+s?s:Ke-ye;if(ht<_t)break;const lr=n-_t;Oe>g(t/lr)&&x("overflow"),Oe*=lr}const Me=V.length+1;ye=$(re-be,Me,be==0),g(re/Me)>t-ce&&x("overflow"),ce+=g(re/Me),re%=Me,V.splice(re++,0,ce)}return String.fromCodePoint(...V)},I=function(F){const V=[];F=v(F);const Z=F.length;let re=u,ce=0,ye=a;for(const be of F)be<128&&V.push(y(be));const Se=V.length;let ae=Se;for(Se&&V.push(c);ae<Z;){let be=t;for(const Oe of F)Oe>=re&&Oe<be&&(be=Oe);const Me=ae+1;be-re>g((t-ce)/Me)&&x("overflow"),ce+=(be-re)*Me,re=be;for(const Oe of F)if(Oe<re&&++ce>t&&x("overflow"),Oe===re){let Ke=ce;for(let ht=n;;ht+=n){const _t=ht<=ye?i:ht>=ye+s?s:ht-ye;if(Ke<_t)break;const lr=Ke-_t,In=n-_t;V.push(y(_(_t+lr%In,0))),Ke=g(lr/In)}V.push(y(_(Ke,0))),ye=$(ce,Me,ae===Se),ce=0,++ae}++ce,++re}return V.join("")},O=function(F){return A(F,function(V){return d.test(V)?T(V.slice(4).toLowerCase()):V})},z=function(F){return A(F,function(V){return f.test(V)?"xn--"+I(V):V})},B={version:"2.3.1",ucs2:{decode:v,encode:S},decode:T,encode:I,toASCII:z,toUnicode:O};e.exports=B}}),Wk=U({"node_modules/markdown-it/lib/presets/default.js"(r,e){e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}}}),Kk=U({"node_modules/markdown-it/lib/presets/zero.js"(r,e){e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}}}),Jk=U({"node_modules/markdown-it/lib/presets/commonmark.js"(r,e){e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}}}),Wd=U({"node_modules/markdown-it/lib/index.js"(r,e){var t=de(),n=ok(),i=lk(),s=mk(),o=Tk(),l=Vk(),a=Hk(),u=qd(),c=Uk(),d={default:Wk(),zero:Kk(),commonmark:Jk()},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(k){var A=k.trim().toLowerCase();return f.test(A)?!!h.test(A):!0}var p=["http:","https:","mailto:"];function g(k){var A=u.parse(k,!0);if(A.hostname&&(!A.protocol||p.indexOf(A.protocol)>=0))try{A.hostname=c.toASCII(A.hostname)}catch{}return u.encode(u.format(A))}function y(k){var A=u.parse(k,!0);if(A.hostname&&(!A.protocol||p.indexOf(A.protocol)>=0))try{A.hostname=c.toUnicode(A.hostname)}catch{}return u.decode(u.format(A),u.decode.defaultChars+"%")}function x(k,A){if(!(this instanceof x))return new x(k,A);A||t.isString(k)||(A=k||{},k="default"),this.inline=new l,this.block=new o,this.core=new s,this.renderer=new i,this.linkify=new a,this.validateLink=m,this.normalizeLink=g,this.normalizeLinkText=y,this.utils=t,this.helpers=t.assign({},n),this.options={},this.configure(k),A&&this.set(A)}x.prototype.set=function(k){return t.assign(this.options,k),this},x.prototype.configure=function(k){var A=this,v;if(t.isString(k)&&(v=k,k=d[v],!k))throw new Error('Wrong `markdown-it` preset "'+v+'", check name');if(!k)throw new Error("Wrong `markdown-it` preset, can't be empty");return k.options&&A.set(k.options),k.components&&Object.keys(k.components).forEach(function(S){k.components[S].rules&&A[S].ruler.enableOnly(k.components[S].rules),k.components[S].rules2&&A[S].ruler2.enableOnly(k.components[S].rules2)}),this},x.prototype.enable=function(k,A){var v=[];Array.isArray(k)||(k=[k]),["core","block","inline"].forEach(function(D){v=v.concat(this[D].ruler.enable(k,!0))},this),v=v.concat(this.inline.ruler2.enable(k,!0));var S=k.filter(function(D){return v.indexOf(D)<0});if(S.length&&!A)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+S);return this},x.prototype.disable=function(k,A){var v=[];Array.isArray(k)||(k=[k]),["core","block","inline"].forEach(function(D){v=v.concat(this[D].ruler.disable(k,!0))},this),v=v.concat(this.inline.ruler2.disable(k,!0));var S=k.filter(function(D){return v.indexOf(D)<0});if(S.length&&!A)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+S);return this},x.prototype.use=function(k){var A=[this].concat(Array.prototype.slice.call(arguments,1));return k.apply(k,A),this},x.prototype.parse=function(k,A){if(typeof k!="string")throw new Error("Input data should be a String");var v=new this.core.State(k,this,A);return this.core.process(v),v.tokens},x.prototype.render=function(k,A){return A=A||{},this.renderer.render(this.parse(k,A),this.options,A)},x.prototype.parseInline=function(k,A){var v=new this.core.State(k,this,A);return v.inlineMode=!0,this.core.process(v),v.tokens},x.prototype.renderInline=function(k,A){return A=A||{},this.renderer.render(this.parseInline(k,A),this.options,A)},e.exports=x}}),Gk=U({"node_modules/markdown-it/index.js"(r,e){e.exports=Wd()}}),Kd={};Pd(Kd,{getAstValues:()=>Ao,isAst:()=>pl,isFunction:()=>Zk,isVariable:()=>Yk,resolve:()=>En});function pl(r){return!!(r!=null&&r.$$mdtype)}function Zk(r){return(r==null?void 0:r.$$mdtype)==="Function"}function Yk(r){return(r==null?void 0:r.$$mdtype)==="Variable"}function*Ao(r){if(!(r==null||typeof r!="object")){if(Array.isArray(r))for(const e of r)yield*Ao(e);if(pl(r)&&(yield r),Object.getPrototypeOf(r)===Object.prototype)for(const e of Object.values(r))yield*Ao(e)}}function En(r,e={}){if(r==null||typeof r!="object")return r;if(Array.isArray(r))return r.map(n=>En(n,e));if(pl(r)&&(r==null?void 0:r.resolve)instanceof Function)return r.resolve(e);if(Object.getPrototypeOf(r)!==Object.prototype)return r;const t={};for(const[n,i]of Object.entries(r))t[n]=En(i,e);return t}var Pr,Dt=(Pr=class{constructor(e="div",t={},n=[]){this.$$mdtype="Tag",this.name=e,this.attributes=t,this.children=n}},Pr.isTag=e=>(e==null?void 0:e.$$mdtype)==="Tag",Pr),Qk=class{validate(r,e,t){return typeof r=="string"||typeof r=="object"?[]:[{id:"attribute-type-invalid",level:"error",message:`Attribute '${t}' must be type 'string | object'`}]}transform(r){if(!r||typeof r=="string")return r;const e=[];for(const[t,n]of Object.entries(r??{}))n&&e.push(t);return e.join(" ")}},Xk=class{validate(r){return typeof r=="string"&&r.match(/^[a-zA-Z]/)?[]:[{id:"attribute-value-invalid",level:"error",message:"The 'id' attribute must start with a letter"}]}},du=fs(Ld()),hs=class{constructor(r=[]){this.$$mdtype="Variable",this.path=r}resolve({variables:r}={}){return r instanceof Function?r(this.path):this.path.reduce((e={},t)=>e[t],r)}},ps=class{constructor(r,e){this.$$mdtype="Function",this.name=r,this.parameters=e}resolve(r={}){var n,i;const e=(n=r==null?void 0:r.functions)==null?void 0:n[this.name];if(!e)return null;const t=En(this.parameters,r);return(i=e.transform)==null?void 0:i.call(e,t,r)}},Re="{%",Et="%}",ev=/^[a-zA-Z0-9_-]+$/;function Wi(r){return typeof r=="string"&&ev.test(r)}function Cr(r){return r&&typeof r=="object"&&typeof r.then=="function"}function On(r,e=0){let t=0;for(let n=e;n<r.length;n++){const i=r[n];switch(t){case 1:switch(i){case'"':t=0;break;case"\\":t=2;break}break;case 2:t=1;break;case 0:if(i==='"')t=1;else if(r.startsWith(Et,n))return n}}return null}function tv(r,e){for(let t=0;t<r.length;t++){if(!r.startsWith(Re,t))continue;if(On(r,t)===null){t+=Re.length-1;continue}let i=t;for(;i>0&&!/\s/.test(r[i-1]);)i--;for(const s of e)if(r.slice(i,t).includes(`${s}://`))return!0;return!1}return!1}function rv(r,e,t){try{return(0,du.parse)(r,{Variable:hs,Function:ps})}catch(n){if(!(n instanceof du.SyntaxError))throw n;const{message:i,location:{start:s,end:o}}=n,l={start:{line:e,character:s.offset+t},end:{line:e+1,character:o.offset+t}};return{type:"error",meta:{error:{message:i,location:l}}}}}function Jd(r,e=0){let t=e+1;const n=[];let i=0;for(let s=0;s<r.length;s++){if(r[s]===`
110
+ `);return c},o.prototype.render=function(l,a,u){var c,d,f,h="",m=this.rules;for(c=0,d=l.length;c<d;c++)f=l[c].type,f==="inline"?h+=this.renderInline(l[c].children,a,u):typeof m[f]<"u"?h+=m[l[c].type](l,c,a,u,this):h+=this.renderToken(l,c,a,u);return h},e.exports=o}}),rl=U({"node_modules/markdown-it/lib/ruler.js"(r,e){function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(n){for(var i=0;i<this.__rules__.length;i++)if(this.__rules__[i].name===n)return i;return-1},t.prototype.__compile__=function(){var n=this,i=[""];n.__rules__.forEach(function(s){s.enabled&&s.alt.forEach(function(o){i.indexOf(o)<0&&i.push(o)})}),n.__cache__={},i.forEach(function(s){n.__cache__[s]=[],n.__rules__.forEach(function(o){o.enabled&&(s&&o.alt.indexOf(s)<0||n.__cache__[s].push(o.fn))})})},t.prototype.at=function(n,i,s){var o=this.__find__(n),l=s||{};if(o===-1)throw new Error("Parser rule not found: "+n);this.__rules__[o].fn=i,this.__rules__[o].alt=l.alt||[],this.__cache__=null},t.prototype.before=function(n,i,s,o){var l=this.__find__(n),a=o||{};if(l===-1)throw new Error("Parser rule not found: "+n);this.__rules__.splice(l,0,{name:i,enabled:!0,fn:s,alt:a.alt||[]}),this.__cache__=null},t.prototype.after=function(n,i,s,o){var l=this.__find__(n),a=o||{};if(l===-1)throw new Error("Parser rule not found: "+n);this.__rules__.splice(l+1,0,{name:i,enabled:!0,fn:s,alt:a.alt||[]}),this.__cache__=null},t.prototype.push=function(n,i,s){var o=s||{};this.__rules__.push({name:n,enabled:!0,fn:i,alt:o.alt||[]}),this.__cache__=null},t.prototype.enable=function(n,i){Array.isArray(n)||(n=[n]);var s=[];return n.forEach(function(o){var l=this.__find__(o);if(l<0){if(i)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[l].enabled=!0,s.push(o)},this),this.__cache__=null,s},t.prototype.enableOnly=function(n,i){Array.isArray(n)||(n=[n]),this.__rules__.forEach(function(s){s.enabled=!1}),this.enable(n,i)},t.prototype.disable=function(n,i){Array.isArray(n)||(n=[n]);var s=[];return n.forEach(function(o){var l=this.__find__(o);if(l<0){if(i)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[l].enabled=!1,s.push(o)},this),this.__cache__=null,s},t.prototype.getRules=function(n){return this.__cache__===null&&this.__compile__(),this.__cache__[n]||[]},e.exports=t}}),Ry=U({"node_modules/markdown-it/lib/rules_core/normalize.js"(r,e){var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(s){var o;o=s.src.replace(t,`
111
+ `),o=o.replace(n,"�"),s.src=o}}}),$y=U({"node_modules/markdown-it/lib/rules_core/block.js"(r,e){e.exports=function(n){var i;n.inlineMode?(i=new n.Token("inline","",0),i.content=n.src,i.map=[0,1],i.children=[],n.tokens.push(i)):n.md.block.parse(n.src,n.md,n.env,n.tokens)}}}),Py=U({"node_modules/markdown-it/lib/rules_core/inline.js"(r,e){e.exports=function(n){var i=n.tokens,s,o,l;for(o=0,l=i.length;o<l;o++)s=i[o],s.type==="inline"&&n.md.inline.parse(s.content,n.md,n.env,s.children)}}}),Ly=U({"node_modules/markdown-it/lib/rules_core/linkify.js"(r,e){var t=de().arrayReplaceAt;function n(s){return/^<a[>\s]/i.test(s)}function i(s){return/^<\/a\s*>/i.test(s)}e.exports=function(o){var l,a,u,c,d,f,h,m,p,g,y,x,k,A,v,S,D=o.tokens,_;if(o.md.options.linkify){for(a=0,u=D.length;a<u;a++)if(!(D[a].type!=="inline"||!o.md.linkify.pretest(D[a].content)))for(c=D[a].children,k=0,l=c.length-1;l>=0;l--){if(f=c[l],f.type==="link_close"){for(l--;c[l].level!==f.level&&c[l].type!=="link_open";)l--;continue}if(f.type==="html_inline"&&(n(f.content)&&k>0&&k--,i(f.content)&&k++),!(k>0)&&f.type==="text"&&o.md.linkify.test(f.content)){for(p=f.content,_=o.md.linkify.match(p),h=[],x=f.level,y=0,m=0;m<_.length;m++)A=_[m].url,v=o.md.normalizeLink(A),o.md.validateLink(v)&&(S=_[m].text,_[m].schema?_[m].schema==="mailto:"&&!/^mailto:/i.test(S)?S=o.md.normalizeLinkText("mailto:"+S).replace(/^mailto:/,""):S=o.md.normalizeLinkText(S):S=o.md.normalizeLinkText("http://"+S).replace(/^http:\/\//,""),g=_[m].index,g>y&&(d=new o.Token("text","",0),d.content=p.slice(y,g),d.level=x,h.push(d)),d=new o.Token("link_open","a",1),d.attrs=[["href",v]],d.level=x++,d.markup="linkify",d.info="auto",h.push(d),d=new o.Token("text","",0),d.content=S,d.level=x,h.push(d),d=new o.Token("link_close","a",-1),d.level=--x,d.markup="linkify",d.info="auto",h.push(d),y=_[m].lastIndex);y<p.length&&(d=new o.Token("text","",0),d.content=p.slice(y),d.level=x,h.push(d)),D[a].children=c=t(c,l,h)}}}}}}),zy=U({"node_modules/markdown-it/lib/rules_core/replacements.js"(r,e){var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/ig,s={c:"©",r:"®",p:"§",tm:"™"};function o(u,c){return s[c.toLowerCase()]}function l(u){var c,d,f=0;for(c=u.length-1;c>=0;c--)d=u[c],d.type==="text"&&!f&&(d.content=d.content.replace(i,o)),d.type==="link_open"&&d.info==="auto"&&f--,d.type==="link_close"&&d.info==="auto"&&f++}function a(u){var c,d,f=0;for(c=u.length-1;c>=0;c--)d=u[c],d.type==="text"&&!f&&t.test(d.content)&&(d.content=d.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),d.type==="link_open"&&d.info==="auto"&&f--,d.type==="link_close"&&d.info==="auto"&&f++}e.exports=function(c){var d;if(c.md.options.typographer)for(d=c.tokens.length-1;d>=0;d--)c.tokens[d].type==="inline"&&(n.test(c.tokens[d].content)&&l(c.tokens[d].children),t.test(c.tokens[d].content)&&a(c.tokens[d].children))}}}),qy=U({"node_modules/markdown-it/lib/rules_core/smartquotes.js"(r,e){var t=de().isWhiteSpace,n=de().isPunctChar,i=de().isMdAsciiPunct,s=/['"]/,o=/['"]/g,l="’";function a(c,d,f){return c.substr(0,d)+f+c.substr(d+1)}function u(c,d){var f,h,m,p,g,y,x,k,A,v,S,D,_,$,T,I,O,z,B,F,V;for(B=[],f=0;f<c.length;f++){for(h=c[f],x=c[f].level,O=B.length-1;O>=0&&!(B[O].level<=x);O--);if(B.length=O+1,h.type==="text"){m=h.content,g=0,y=m.length;e:for(;g<y&&(o.lastIndex=g,p=o.exec(m),!!p);){if(T=I=!0,g=p.index+1,z=p[0]==="'",A=32,p.index-1>=0)A=m.charCodeAt(p.index-1);else for(O=f-1;O>=0&&!(c[O].type==="softbreak"||c[O].type==="hardbreak");O--)if(c[O].content){A=c[O].content.charCodeAt(c[O].content.length-1);break}if(v=32,g<y)v=m.charCodeAt(g);else for(O=f+1;O<c.length&&!(c[O].type==="softbreak"||c[O].type==="hardbreak");O++)if(c[O].content){v=c[O].content.charCodeAt(0);break}if(S=i(A)||n(String.fromCharCode(A)),D=i(v)||n(String.fromCharCode(v)),_=t(A),$=t(v),$?T=!1:D&&(_||S||(T=!1)),_?I=!1:S&&($||D||(I=!1)),v===34&&p[0]==='"'&&A>=48&&A<=57&&(I=T=!1),T&&I&&(T=S,I=D),!T&&!I){z&&(h.content=a(h.content,p.index,l));continue}if(I){for(O=B.length-1;O>=0&&(k=B[O],!(B[O].level<x));O--)if(k.single===z&&B[O].level===x){k=B[O],z?(F=d.md.options.quotes[2],V=d.md.options.quotes[3]):(F=d.md.options.quotes[0],V=d.md.options.quotes[1]),h.content=a(h.content,p.index,V),c[k.token].content=a(c[k.token].content,k.pos,F),g+=V.length-1,k.token===f&&(g+=F.length-1),m=h.content,y=m.length,B.length=O;continue e}}T?B.push({token:f,pos:p.index,single:z,level:x}):I&&z&&(h.content=a(h.content,p.index,l))}}}}e.exports=function(d){var f;if(d.md.options.typographer)for(f=d.tokens.length-1;f>=0;f--)d.tokens[f].type!=="inline"||!s.test(d.tokens[f].content)||u(d.tokens[f].children,d)}}}),nl=U({"node_modules/markdown-it/lib/token.js"(r,e){function t(n,i,s){this.type=n,this.tag=i,this.attrs=null,this.map=null,this.nesting=s,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(i){var s,o,l;if(!this.attrs)return-1;for(s=this.attrs,o=0,l=s.length;o<l;o++)if(s[o][0]===i)return o;return-1},t.prototype.attrPush=function(i){this.attrs?this.attrs.push(i):this.attrs=[i]},t.prototype.attrSet=function(i,s){var o=this.attrIndex(i),l=[i,s];o<0?this.attrPush(l):this.attrs[o]=l},t.prototype.attrGet=function(i){var s=this.attrIndex(i),o=null;return s>=0&&(o=this.attrs[s][1]),o},t.prototype.attrJoin=function(i,s){var o=this.attrIndex(i);o<0?this.attrPush([i,s]):this.attrs[o][1]=this.attrs[o][1]+" "+s},e.exports=t}}),Vy=U({"node_modules/markdown-it/lib/rules_core/state_core.js"(r,e){var t=nl();function n(i,s,o){this.src=i,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=s}n.prototype.Token=t,e.exports=n}}),jy=U({"node_modules/markdown-it/lib/parser_core.js"(r,e){var t=rl(),n=[["normalize",Ry()],["block",$y()],["inline",Py()],["linkify",Ly()],["replacements",zy()],["smartquotes",qy()]];function i(){this.ruler=new t;for(var s=0;s<n.length;s++)this.ruler.push(n[s][0],n[s][1])}i.prototype.process=function(s){var o,l,a;for(a=this.ruler.getRules(""),o=0,l=a.length;o<l;o++)a[o](s)},i.prototype.State=Vy(),e.exports=i}}),Hy=U({"node_modules/markdown-it/lib/rules_block/table.js"(r,e){var t=de().isSpace;function n(s,o){var l=s.bMarks[o]+s.tShift[o],a=s.eMarks[o];return s.src.substr(l,a-l)}function i(s){var o=[],l=0,a=s.length,u,c=!1,d=0,f="";for(u=s.charCodeAt(l);l<a;)u===124&&(c?(f+=s.substring(d,l-1),d=l):(o.push(f+s.substring(d,l)),f="",d=l+1)),c=u===92,l++,u=s.charCodeAt(l);return o.push(f+s.substring(d)),o}e.exports=function(o,l,a,u){var c,d,f,h,m,p,g,y,x,k,A,v,S,D,_,$,T,I;if(l+2>a||(p=l+1,o.sCount[p]<o.blkIndent)||!o.md.options.allowIndentation&&o.sCount[p]-o.blkIndent>=4||(f=o.bMarks[p]+o.tShift[p],f>=o.eMarks[p])||(T=o.src.charCodeAt(f++),T!==124&&T!==45&&T!==58)||f>=o.eMarks[p]||(I=o.src.charCodeAt(f++),I!==124&&I!==45&&I!==58&&!t(I))||T===45&&t(I))return!1;for(;f<o.eMarks[p];){if(c=o.src.charCodeAt(f),c!==124&&c!==45&&c!==58&&!t(c))return!1;f++}for(d=n(o,l+1),g=d.split("|"),k=[],h=0;h<g.length;h++){if(A=g[h].trim(),!A){if(h===0||h===g.length-1)continue;return!1}if(!/^:?-+:?$/.test(A))return!1;A.charCodeAt(A.length-1)===58?k.push(A.charCodeAt(0)===58?"center":"right"):A.charCodeAt(0)===58?k.push("left"):k.push("")}if(d=n(o,l).trim(),d.indexOf("|")===-1||!o.md.options.allowIndentation&&o.sCount[l]-o.blkIndent>=4||(g=i(d),g.length&&g[0]===""&&g.shift(),g.length&&g[g.length-1]===""&&g.pop(),y=g.length,y===0||y!==k.length))return!1;if(u)return!0;for(D=o.parentType,o.parentType="table",$=o.md.block.ruler.getRules("blockquote"),x=o.push("table_open","table",1),x.map=v=[l,0],x=o.push("thead_open","thead",1),x.map=[l,l+1],x=o.push("tr_open","tr",1),x.map=[l,l+1],h=0;h<g.length;h++)x=o.push("th_open","th",1),k[h]&&(x.attrs=[["style","text-align:"+k[h]]]),x=o.push("inline","",0),x.content=g[h].trim(),x.children=[],x=o.push("th_close","th",-1);for(x=o.push("tr_close","tr",-1),x=o.push("thead_close","thead",-1),p=l+2;p<a&&!(o.sCount[p]<o.blkIndent);p++){for(_=!1,h=0,m=$.length;h<m;h++)if($[h](o,p,a,!0)){_=!0;break}if(_||(d=n(o,p).trim(),!d)||!o.md.options.allowIndentation&&o.sCount[p]-o.blkIndent>=4)break;for(g=i(d),g.length&&g[0]===""&&g.shift(),g.length&&g[g.length-1]===""&&g.pop(),p===l+2&&(x=o.push("tbody_open","tbody",1),x.map=S=[l+2,0]),x=o.push("tr_open","tr",1),x.map=[p,p+1],h=0;h<y;h++)x=o.push("td_open","td",1),k[h]&&(x.attrs=[["style","text-align:"+k[h]]]),x=o.push("inline","",0),x.content=g[h]?g[h].trim():"",x.children=[],x=o.push("td_close","td",-1);x=o.push("tr_close","tr",-1)}return S&&(x=o.push("tbody_close","tbody",-1),S[1]=p),x=o.push("table_close","table",-1),v[1]=p,o.parentType=D,o.line=p,!0}}}),Uy=U({"node_modules/markdown-it/lib/rules_block/code.js"(r,e){e.exports=function(n,i,s){if(n.md.options.allowIndentation)return!1;var o,l,a;if(n.sCount[i]-n.blkIndent<4)return!1;for(l=o=i+1;o<s;){if(n.isEmpty(o)){o++;continue}if(n.sCount[o]-n.blkIndent>=4){o++,l=o;continue}break}return n.line=l,a=n.push("code_block","code",0),a.content=n.getLines(i,l,4+n.blkIndent,!1)+`
112
+ `,a.map=[i,n.line],!0}}}),Wy=U({"node_modules/markdown-it/lib/rules_block/fence.js"(r,e){e.exports=function(n,i,s,o){var l,a,u,c,d,f,h,m=!1,p=n.bMarks[i]+n.tShift[i],g=n.eMarks[i];if(!n.md.options.allowIndentation&&n.sCount[i]-n.blkIndent>=4||p+3>g||(l=n.src.charCodeAt(p),l!==126&&l!==96)||(d=p,p=n.skipChars(p,l),a=p-d,a<3)||(h=n.src.slice(d,p),u=n.src.slice(p,g),l===96&&u.indexOf(String.fromCharCode(l))>=0))return!1;if(o)return!0;for(c=i;c++,!(c>=s||(p=d=n.bMarks[c]+n.tShift[c],g=n.eMarks[c],p<g&&n.sCount[c]<n.blkIndent));)if(n.src.charCodeAt(p)===l&&!(!n.md.options.allowIndentation&&n.sCount[c]-n.blkIndent>=4)&&(p=n.skipChars(p,l),!(p-d<a)&&(p=n.skipSpaces(p),!(p<g)))){m=!0;break}return a=n.sCount[i],n.line=c+(m?1:0),f=n.push("fence","code",0),f.info=u,f.content=n.getLines(i+1,c,a,!0),f.markup=h,f.map=[i,n.line],!0}}}),Ky=U({"node_modules/markdown-it/lib/rules_block/blockquote.js"(r,e){var t=de().isSpace;e.exports=function(i,s,o,l){var a,u,c,d,f,h,m,p,g,y,x,k,A,v,S,D,_,$,T,I,O=i.lineMax,z=i.bMarks[s]+i.tShift[s],B=i.eMarks[s];if(!i.md.options.allowIndentation&&i.sCount[s]-i.blkIndent>=4||i.src.charCodeAt(z++)!==62)return!1;if(l)return!0;for(d=g=i.sCount[s]+1,i.src.charCodeAt(z)===32?(z++,d++,g++,a=!1,D=!0):i.src.charCodeAt(z)===9?(D=!0,(i.bsCount[s]+g)%4===3?(z++,d++,g++,a=!1):a=!0):D=!1,y=[i.bMarks[s]],i.bMarks[s]=z;z<B&&(u=i.src.charCodeAt(z),t(u));){u===9?g+=4-(g+i.bsCount[s]+(a?1:0))%4:g++;z++}for(x=[i.bsCount[s]],i.bsCount[s]=i.sCount[s]+1+(D?1:0),h=z>=B,v=[i.sCount[s]],i.sCount[s]=g-d,S=[i.tShift[s]],i.tShift[s]=z-i.bMarks[s],$=i.md.block.ruler.getRules("blockquote"),A=i.parentType,i.parentType="blockquote",p=s+1;p<o&&(I=i.sCount[p]<i.blkIndent,z=i.bMarks[p]+i.tShift[p],B=i.eMarks[p],!(z>=B));p++){if(i.src.charCodeAt(z++)===62&&!I){for(d=g=i.sCount[p]+1,i.src.charCodeAt(z)===32?(z++,d++,g++,a=!1,D=!0):i.src.charCodeAt(z)===9?(D=!0,(i.bsCount[p]+g)%4===3?(z++,d++,g++,a=!1):a=!0):D=!1,y.push(i.bMarks[p]),i.bMarks[p]=z;z<B&&(u=i.src.charCodeAt(z),t(u));){u===9?g+=4-(g+i.bsCount[p]+(a?1:0))%4:g++;z++}h=z>=B,x.push(i.bsCount[p]),i.bsCount[p]=i.sCount[p]+1+(D?1:0),v.push(i.sCount[p]),i.sCount[p]=g-d,S.push(i.tShift[p]),i.tShift[p]=z-i.bMarks[p];continue}if(h)break;for(_=!1,c=0,f=$.length;c<f;c++)if($[c](i,p,o,!0)){_=!0;break}if(_){i.lineMax=p,i.blkIndent!==0&&(y.push(i.bMarks[p]),x.push(i.bsCount[p]),S.push(i.tShift[p]),v.push(i.sCount[p]),i.sCount[p]-=i.blkIndent);break}y.push(i.bMarks[p]),x.push(i.bsCount[p]),S.push(i.tShift[p]),v.push(i.sCount[p]),i.sCount[p]=-1}for(k=i.blkIndent,i.blkIndent=0,T=i.push("blockquote_open","blockquote",1),T.markup=">",T.map=m=[s,0],i.md.block.tokenize(i,s,p),T=i.push("blockquote_close","blockquote",-1),T.markup=">",i.lineMax=O,i.parentType=A,m[1]=i.line,c=0;c<S.length;c++)i.bMarks[c+s]=y[c],i.tShift[c+s]=S[c],i.sCount[c+s]=v[c],i.bsCount[c+s]=x[c];return i.blkIndent=k,!0}}}),Jy=U({"node_modules/markdown-it/lib/rules_block/hr.js"(r,e){var t=de().isSpace;e.exports=function(i,s,o,l){var a,u,c,d,f=i.bMarks[s]+i.tShift[s],h=i.eMarks[s];if(!i.md.options.allowIndentation&&i.sCount[s]-i.blkIndent>=4||(a=i.src.charCodeAt(f++),a!==42&&a!==45&&a!==95))return!1;for(u=1;f<h;){if(c=i.src.charCodeAt(f++),c!==a&&!t(c))return!1;c===a&&u++}return u<3?!1:(l||(i.line=s+1,d=i.push("hr","hr",0),d.map=[s,i.line],d.markup=Array(u+1).join(String.fromCharCode(a))),!0)}}}),Gy=U({"node_modules/markdown-it/lib/rules_block/list.js"(r,e){var t=de().isSpace;function n(o,l){var a,u,c,d;return u=o.bMarks[l]+o.tShift[l],c=o.eMarks[l],a=o.src.charCodeAt(u++),a!==42&&a!==45&&a!==43||u<c&&(d=o.src.charCodeAt(u),!t(d))?-1:u}function i(o,l){var a,u=o.bMarks[l]+o.tShift[l],c=u,d=o.eMarks[l];if(c+1>=d||(a=o.src.charCodeAt(c++),a<48||a>57))return-1;for(;;){if(c>=d)return-1;if(a=o.src.charCodeAt(c++),a>=48&&a<=57){if(c-u>=10)return-1;continue}if(a===41||a===46)break;return-1}return c<d&&(a=o.src.charCodeAt(c),!t(a))?-1:c}function s(o,l){var a,u,c=o.level+2;for(a=l+2,u=o.tokens.length-2;a<u;a++)o.tokens[a].level===c&&o.tokens[a].type==="paragraph_open"&&(o.tokens[a+2].hidden=!0,o.tokens[a].hidden=!0,a+=2)}e.exports=function(l,a,u,c){var d,f,h,m,p,g,y,x,k,A,v,S,D,_,$,T,I,O,z,B,F,V,Z,re,ce,ye,Se,ae,be=!1,Me=!0;if(!l.md.options.allowIndentation&&l.sCount[a]-l.blkIndent>=4||!l.md.options.allowIndentation&&l.listIndent>=0&&l.sCount[a]-l.listIndent>=4&&l.sCount[a]<l.blkIndent)return!1;if(c&&l.parentType==="paragraph"&&l.sCount[a]>=l.blkIndent&&(be=!0),(Z=i(l,a))>=0){if(y=!0,ce=l.bMarks[a]+l.tShift[a],D=Number(l.src.slice(ce,Z-1)),be&&D!==1)return!1}else if((Z=n(l,a))>=0)y=!1;else return!1;if(be&&l.skipSpaces(Z)>=l.eMarks[a])return!1;if(S=l.src.charCodeAt(Z-1),c)return!0;for(v=l.tokens.length,y?(ae=l.push("ordered_list_open","ol",1),D!==1&&(ae.attrs=[["start",D]])):ae=l.push("bullet_list_open","ul",1),ae.map=A=[a,0],ae.markup=String.fromCharCode(S),$=a,re=!1,Se=l.md.block.ruler.getRules("list"),O=l.parentType,l.parentType="list";$<u;){for(V=Z,_=l.eMarks[$],g=T=l.sCount[$]+Z-(l.bMarks[a]+l.tShift[a]);V<_;){if(d=l.src.charCodeAt(V),d===9)T+=4-(T+l.bsCount[$])%4;else if(d===32)T++;else break;V++}if(f=V,f>=_?p=1:p=T-g,!l.md.options.allowIndentation&&p>4&&(p=1),m=g+p,ae=l.push("list_item_open","li",1),ae.markup=String.fromCharCode(S),ae.map=x=[a,0],y&&(ae.info=l.src.slice(ce,Z-1)),F=l.tight,B=l.tShift[a],z=l.sCount[a],I=l.listIndent,l.listIndent=l.blkIndent,l.blkIndent=m,l.tight=!0,l.tShift[a]=f-l.bMarks[a],l.sCount[a]=T,f>=_&&l.isEmpty(a+1)?l.line=Math.min(l.line+2,u):l.md.block.tokenize(l,a,u,!0),(!l.tight||re)&&(Me=!1),re=l.line-a>1&&l.isEmpty(l.line-1),l.blkIndent=l.listIndent,l.listIndent=I,l.tShift[a]=B,l.sCount[a]=z,l.tight=F,ae=l.push("list_item_close","li",-1),ae.markup=String.fromCharCode(S),$=a=l.line,x[1]=$,f=l.bMarks[a],$>=u||l.sCount[$]<l.blkIndent||!l.md.options.allowIndentation&&l.sCount[a]-l.blkIndent>=4)break;for(ye=!1,h=0,k=Se.length;h<k;h++)if(Se[h](l,$,u,!0)){ye=!0;break}if(ye)break;if(y){if(Z=i(l,$),Z<0)break;ce=l.bMarks[$]+l.tShift[$]}else if(Z=n(l,$),Z<0)break;if(S!==l.src.charCodeAt(Z-1))break}return y?ae=l.push("ordered_list_close","ol",-1):ae=l.push("bullet_list_close","ul",-1),ae.markup=String.fromCharCode(S),A[1]=$,l.line=$,l.parentType=O,Me&&s(l,v),!0}}}),Zy=U({"node_modules/markdown-it/lib/rules_block/reference.js"(r,e){var t=de().normalizeReference,n=de().isSpace;e.exports=function(s,o,l,a){var u,c,d,f,h,m,p,g,y,x,k,A,v,S,D,_,$=0,T=s.bMarks[o]+s.tShift[o],I=s.eMarks[o],O=o+1;if(!s.md.options.allowIndentation&&s.sCount[o]-s.blkIndent>=4||s.src.charCodeAt(T)!==91)return!1;for(;++T<I;)if(s.src.charCodeAt(T)===93&&s.src.charCodeAt(T-1)!==92){if(T+1===I||s.src.charCodeAt(T+1)!==58)return!1;break}for(f=s.lineMax,D=s.md.block.ruler.getRules("reference"),x=s.parentType,s.parentType="reference";O<f&&!s.isEmpty(O);O++)if(!(!s.md.options.allowIndentation&&s.sCount[O]-s.blkIndent>3)&&!(s.sCount[O]<0)){for(S=!1,m=0,p=D.length;m<p;m++)if(D[m](s,O,f,!0)){S=!0;break}if(S)break}for(v=s.getLines(o,O,s.blkIndent,!1).trim(),I=v.length,T=1;T<I;T++){if(u=v.charCodeAt(T),u===91)return!1;if(u===93){y=T;break}else u===10?$++:u===92&&(T++,T<I&&v.charCodeAt(T)===10&&$++)}if(y<0||v.charCodeAt(y+1)!==58)return!1;for(T=y+2;T<I;T++)if(u=v.charCodeAt(T),u===10)$++;else if(!n(u))break;if(k=s.md.helpers.parseLinkDestination(v,T,I),!k.ok||(h=s.md.normalizeLink(k.str),!s.md.validateLink(h)))return!1;for(T=k.pos,$+=k.lines,c=T,d=$,A=T;T<I;T++)if(u=v.charCodeAt(T),u===10)$++;else if(!n(u))break;for(k=s.md.helpers.parseLinkTitle(v,T,I),T<I&&A!==T&&k.ok?(_=k.str,T=k.pos,$+=k.lines):(_="",T=c,$=d);T<I&&(u=v.charCodeAt(T),!!n(u));)T++;if(T<I&&v.charCodeAt(T)!==10&&_)for(_="",T=c,$=d;T<I&&(u=v.charCodeAt(T),!!n(u));)T++;return T<I&&v.charCodeAt(T)!==10||(g=t(v.slice(1,y)),!g)?!1:(a||(typeof s.env.references>"u"&&(s.env.references={}),typeof s.env.references[g]>"u"&&(s.env.references[g]={title:_,href:h}),s.parentType=x,s.line=o+$+1),!0)}}}),Yy=U({"node_modules/markdown-it/lib/common/html_blocks.js"(r,e){e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]}}),Od=U({"node_modules/markdown-it/lib/common/html_re.js"(r,e){var t="[a-zA-Z_:][a-zA-Z0-9:._-]*",n="[^\"'=<>`\\x00-\\x20]+",i="'[^']*'",s='"[^"]*"',o="(?:"+n+"|"+i+"|"+s+")",l="(?:\\s+"+t+"(?:\\s*=\\s*"+o+")?)",a="<[A-Za-z][A-Za-z0-9\\-]*"+l+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",c="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",d="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",h="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",m=new RegExp("^(?:"+a+"|"+u+"|"+c+"|"+d+"|"+f+"|"+h+")"),p=new RegExp("^(?:"+a+"|"+u+")");e.exports.HTML_TAG_RE=m,e.exports.HTML_OPEN_CLOSE_TAG_RE=p}}),Qy=U({"node_modules/markdown-it/lib/rules_block/html_block.js"(r,e){var t=Yy(),n=Od().HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+t.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(n.source+"\\s*$"),/^$/,!1]];e.exports=function(o,l,a,u){var c,d,f,h,m=o.bMarks[l]+o.tShift[l],p=o.eMarks[l];if(!o.md.options.allowIndentation&&o.sCount[l]-o.blkIndent>=4||!o.md.options.html||o.src.charCodeAt(m)!==60)return!1;for(h=o.src.slice(m,p),c=0;c<i.length&&!i[c][0].test(h);c++);if(c===i.length)return!1;if(u)return i[c][2];if(d=l+1,!i[c][1].test(h)){for(;d<a&&!(o.sCount[d]<o.blkIndent);d++)if(m=o.bMarks[d]+o.tShift[d],p=o.eMarks[d],h=o.src.slice(m,p),i[c][1].test(h)){h.length!==0&&d++;break}}return o.line=d,f=o.push("html_block","",0),f.map=[l,d],f.content=o.getLines(l,d,o.blkIndent,!0),!0}}}),Xy=U({"node_modules/markdown-it/lib/rules_block/heading.js"(r,e){var t=de().isSpace;e.exports=function(i,s,o,l){var a,u,c,d,f=i.bMarks[s]+i.tShift[s],h=i.eMarks[s];if(!i.md.options.allowIndentation&&i.sCount[s]-i.blkIndent>=4||(a=i.src.charCodeAt(f),a!==35||f>=h))return!1;for(u=1,a=i.src.charCodeAt(++f);a===35&&f<h&&u<=6;)u++,a=i.src.charCodeAt(++f);return u>6||f<h&&!t(a)?!1:(l||(h=i.skipSpacesBack(h,f),c=i.skipCharsBack(h,35,f),c>f&&t(i.src.charCodeAt(c-1))&&(h=c),i.line=s+1,d=i.push("heading_open","h"+String(u),1),d.markup="########".slice(0,u),d.map=[s,i.line],d=i.push("inline","",0),d.content=i.src.slice(f,h).trim(),d.map=[s,i.line],d.children=[],d=i.push("heading_close","h"+String(u),-1),d.markup="########".slice(0,u)),!0)}}}),eb=U({"node_modules/markdown-it/lib/rules_block/lheading.js"(r,e){e.exports=function(n,i,s){var o,l,a,u,c,d,f,h,m,p=i+1,g,y=n.md.block.ruler.getRules("paragraph");if(!n.md.options.allowIndentation&&n.sCount[i]-n.blkIndent>=4)return!1;for(g=n.parentType,n.parentType="paragraph";p<s&&!n.isEmpty(p);p++)if(!(!n.md.options.allowIndentation&&n.sCount[p]-n.blkIndent>3)){if(n.sCount[p]>=n.blkIndent&&(d=n.bMarks[p]+n.tShift[p],f=n.eMarks[p],d<f&&(m=n.src.charCodeAt(d),(m===45||m===61)&&(d=n.skipChars(d,m),d=n.skipSpaces(d),d>=f)))){h=m===61?1:2;break}if(!(n.sCount[p]<0)){for(l=!1,a=0,u=y.length;a<u;a++)if(y[a](n,p,s,!0)){l=!0;break}if(l)break}}return h?(o=n.getLines(i,p,n.blkIndent,!1).trim(),n.line=p+1,c=n.push("heading_open","h"+String(h),1),c.markup=String.fromCharCode(m),c.map=[i,n.line],c=n.push("inline","",0),c.content=o,c.map=[i,n.line-1],c.children=[],c=n.push("heading_close","h"+String(h),-1),c.markup=String.fromCharCode(m),n.parentType=g,!0):!1}}}),tb=U({"node_modules/markdown-it/lib/rules_block/paragraph.js"(r,e){e.exports=function(n,i){var s,o,l,a,u,c,d=i+1,f=n.md.block.ruler.getRules("paragraph"),h=n.lineMax;for(c=n.parentType,n.parentType="paragraph";d<h&&!n.isEmpty(d);d++)if(!(!n.md.options.allowIndentation&&n.sCount[d]-n.blkIndent>3)&&!(n.sCount[d]<0)){for(o=!1,l=0,a=f.length;l<a;l++)if(f[l](n,d,h,!0)){o=!0;break}if(o)break}return s=n.getLines(i,d,n.blkIndent,!1).trim(),n.line=d,u=n.push("paragraph_open","p",1),u.map=[i,n.line],u=n.push("inline","",0),u.content=s,u.map=[i,n.line],u.children=[],u=n.push("paragraph_close","p",-1),n.parentType=c,!0}}}),rb=U({"node_modules/markdown-it/lib/rules_block/state_block.js"(r,e){var t=nl(),n=de().isSpace;function i(s,o,l,a){var u,c,d,f,h,m,p,g;for(this.src=s,this.md=o,this.env=l,this.tokens=a,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",c=this.src,g=!1,d=f=m=p=0,h=c.length;f<h;f++){if(u=c.charCodeAt(f),!g)if(n(u)){m++,u===9?p+=4-p%4:p++;continue}else g=!0;(u===10||f===h-1)&&(u!==10&&f++,this.bMarks.push(d),this.eMarks.push(f),this.tShift.push(m),this.sCount.push(p),this.bsCount.push(0),g=!1,m=0,p=0,d=f+1)}this.bMarks.push(c.length),this.eMarks.push(c.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(s,o,l){var a=new t(s,o,l);return a.block=!0,l<0&&this.level--,a.level=this.level,l>0&&this.level++,this.tokens.push(a),a},i.prototype.isEmpty=function(o){return this.bMarks[o]+this.tShift[o]>=this.eMarks[o]},i.prototype.skipEmptyLines=function(o){for(var l=this.lineMax;o<l&&!(this.bMarks[o]+this.tShift[o]<this.eMarks[o]);o++);return o},i.prototype.skipSpaces=function(o){for(var l,a=this.src.length;o<a&&(l=this.src.charCodeAt(o),!!n(l));o++);return o},i.prototype.skipSpacesBack=function(o,l){if(o<=l)return o;for(;o>l;)if(!n(this.src.charCodeAt(--o)))return o+1;return o},i.prototype.skipChars=function(o,l){for(var a=this.src.length;o<a&&this.src.charCodeAt(o)===l;o++);return o},i.prototype.skipCharsBack=function(o,l,a){if(o<=a)return o;for(;o>a;)if(l!==this.src.charCodeAt(--o))return o+1;return o},i.prototype.getLines=function(o,l,a,u){var c,d,f,h,m,p,g,y=o;if(o>=l)return"";for(p=new Array(l-o),c=0;y<l;y++,c++){for(d=0,g=h=this.bMarks[y],y+1<l||u?m=this.eMarks[y]+1:m=this.eMarks[y];h<m&&d<a;){if(f=this.src.charCodeAt(h),n(f))f===9?d+=4-(d+this.bsCount[y])%4:d++;else if(h-g<this.tShift[y])d++;else break;h++}d>a?p[c]=new Array(d-a+1).join(" ")+this.src.slice(h,m):p[c]=this.src.slice(h,m)}return p.join("")},i.prototype.Token=t,e.exports=i}}),nb=U({"node_modules/markdown-it/lib/parser_block.js"(r,e){var t=rl(),n=[["table",Hy(),["paragraph","reference"]],["code",Uy()],["fence",Wy(),["paragraph","reference","blockquote","list"]],["blockquote",Ky(),["paragraph","reference","blockquote","list"]],["hr",Jy(),["paragraph","reference","blockquote","list"]],["list",Gy(),["paragraph","reference","blockquote"]],["reference",Zy()],["html_block",Qy(),["paragraph","reference","blockquote"]],["heading",Xy(),["paragraph","reference","blockquote"]],["lheading",eb()],["paragraph",tb()]];function i(){this.ruler=new t;for(var s=0;s<n.length;s++)this.ruler.push(n[s][0],n[s][1],{alt:(n[s][2]||[]).slice()})}i.prototype.tokenize=function(s,o,l){for(var a,u,c=this.ruler.getRules(""),d=c.length,f=o,h=!1,m=s.md.options.maxNesting;f<l&&(s.line=f=s.skipEmptyLines(f),!(f>=l||s.sCount[f]<s.blkIndent));){if(s.level>=m){s.line=l;break}for(u=0;u<d&&(a=c[u](s,f,l,!1),!a);u++);s.tight=!h,s.isEmpty(s.line-1)&&(h=!0),f=s.line,f<l&&s.isEmpty(f)&&(h=!0,f++,s.line=f)}},i.prototype.parse=function(s,o,l,a){var u;s&&(u=new this.State(s,o,l,a),this.tokenize(u,u.line,u.lineMax))},i.prototype.State=rb(),e.exports=i}}),ib=U({"node_modules/markdown-it/lib/rules_inline/text.js"(r,e){function t(n){switch(n){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(i,s){for(var o=i.pos;o<i.posMax&&!t(i.src.charCodeAt(o));)o++;return o===i.pos?!1:(s||(i.pending+=i.src.slice(i.pos,o)),i.pos=o,!0)}}}),sb=U({"node_modules/markdown-it/lib/rules_inline/newline.js"(r,e){var t=de().isSpace;e.exports=function(i,s){var o,l,a,u=i.pos;if(i.src.charCodeAt(u)!==10)return!1;if(o=i.pending.length-1,l=i.posMax,!s)if(o>=0&&i.pending.charCodeAt(o)===32)if(o>=1&&i.pending.charCodeAt(o-1)===32){for(a=o-1;a>=1&&i.pending.charCodeAt(a-1)===32;)a--;i.pending=i.pending.slice(0,a),i.push("hardbreak","br",0)}else i.pending=i.pending.slice(0,-1),i.push("softbreak","br",0);else i.push("softbreak","br",0);for(u++;u<l&&t(i.src.charCodeAt(u));)u++;return i.pos=u,!0}}}),ob=U({"node_modules/markdown-it/lib/rules_inline/escape.js"(r,e){var t=de().isSpace,n=[];for(i=0;i<256;i++)n.push(0);var i;"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(s){n[s.charCodeAt(0)]=1}),e.exports=function(o,l){var a,u=o.pos,c=o.posMax;if(o.src.charCodeAt(u)!==92)return!1;if(u++,u<c){if(a=o.src.charCodeAt(u),a<256&&n[a]!==0)return l||(o.pending+=o.src[u]),o.pos+=2,!0;if(a===10){for(l||o.push("hardbreak","br",0),u++;u<c&&(a=o.src.charCodeAt(u),!!t(a));)u++;return o.pos=u,!0}}return l||(o.pending+="\\"),o.pos++,!0}}}),lb=U({"node_modules/markdown-it/lib/rules_inline/backticks.js"(r,e){e.exports=function(n,i){var s,o,l,a,u,c,d,f,h=n.pos,m=n.src.charCodeAt(h);if(m!==96)return!1;for(s=h,h++,o=n.posMax;h<o&&n.src.charCodeAt(h)===96;)h++;if(l=n.src.slice(s,h),d=l.length,n.backticksScanned&&(n.backticks[d]||0)<=s)return i||(n.pending+=l),n.pos+=d,!0;for(u=c=h;(u=n.src.indexOf("`",c))!==-1;){for(c=u+1;c<o&&n.src.charCodeAt(c)===96;)c++;if(f=c-u,f===d)return i||(a=n.push("code_inline","code",0),a.markup=l,a.content=n.src.slice(h,u).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),n.pos=c,!0;n.backticks[f]=u}return n.backticksScanned=!0,i||(n.pending+=l),n.pos+=d,!0}}}),Ya=U({"node_modules/markdown-it/lib/rules_inline/strikethrough.js"(r,e){e.exports.tokenize=function(i,s){var o,l,a,u,c,d=i.pos,f=i.src.charCodeAt(d);if(s||f!==126||(l=i.scanDelims(i.pos,!0),u=l.length,c=String.fromCharCode(f),u<2))return!1;for(u%2&&(a=i.push("text","",0),a.content=c,u--),o=0;o<u;o+=2)a=i.push("text","",0),a.content=c+c,i.delimiters.push({marker:f,length:0,token:i.tokens.length-1,end:-1,open:l.can_open,close:l.can_close});return i.pos+=l.length,!0};function t(n,i){var s,o,l,a,u,c=[],d=i.length;for(s=0;s<d;s++)l=i[s],l.marker===126&&l.end!==-1&&(a=i[l.end],u=n.tokens[l.token],u.type="s_open",u.tag="s",u.nesting=1,u.markup="~~",u.content="",u=n.tokens[a.token],u.type="s_close",u.tag="s",u.nesting=-1,u.markup="~~",u.content="",n.tokens[a.token-1].type==="text"&&n.tokens[a.token-1].content==="~"&&c.push(a.token-1));for(;c.length;){for(s=c.pop(),o=s+1;o<n.tokens.length&&n.tokens[o].type==="s_close";)o++;o--,s!==o&&(u=n.tokens[o],n.tokens[o]=n.tokens[s],n.tokens[s]=u)}}e.exports.postProcess=function(i){var s,o=i.tokens_meta,l=i.tokens_meta.length;for(t(i,i.delimiters),s=0;s<l;s++)o[s]&&o[s].delimiters&&t(i,o[s].delimiters)}}}),Qa=U({"node_modules/markdown-it/lib/rules_inline/emphasis.js"(r,e){e.exports.tokenize=function(i,s){var o,l,a,u=i.pos,c=i.src.charCodeAt(u);if(s||c!==95&&c!==42)return!1;for(l=i.scanDelims(i.pos,c===42),o=0;o<l.length;o++)a=i.push("text","",0),a.content=String.fromCharCode(c),i.delimiters.push({marker:c,length:l.length,token:i.tokens.length-1,end:-1,open:l.can_open,close:l.can_close});return i.pos+=l.length,!0};function t(n,i){var s,o,l,a,u,c,d=i.length;for(s=d-1;s>=0;s--)o=i[s],!(o.marker!==95&&o.marker!==42)&&o.end!==-1&&(l=i[o.end],c=s>0&&i[s-1].end===o.end+1&&i[s-1].marker===o.marker&&i[s-1].token===o.token-1&&i[o.end+1].token===l.token+1,u=String.fromCharCode(o.marker),a=n.tokens[o.token],a.type=c?"strong_open":"em_open",a.tag=c?"strong":"em",a.nesting=1,a.markup=c?u+u:u,a.content="",a=n.tokens[l.token],a.type=c?"strong_close":"em_close",a.tag=c?"strong":"em",a.nesting=-1,a.markup=c?u+u:u,a.content="",c&&(n.tokens[i[s-1].token].content="",n.tokens[i[o.end+1].token].content="",s--))}e.exports.postProcess=function(i){var s,o=i.tokens_meta,l=i.tokens_meta.length;for(t(i,i.delimiters),s=0;s<l;s++)o[s]&&o[s].delimiters&&t(i,o[s].delimiters)}}}),ab=U({"node_modules/markdown-it/lib/rules_inline/link.js"(r,e){var t=de().normalizeReference,n=de().isSpace;e.exports=function(s,o){var l,a,u,c,d,f,h,m,p,g="",y="",x=s.pos,k=s.posMax,A=s.pos,v=!0;if(s.src.charCodeAt(s.pos)!==91||(d=s.pos+1,c=s.md.helpers.parseLinkLabel(s,s.pos,!0),c<0))return!1;if(f=c+1,f<k&&s.src.charCodeAt(f)===40){for(v=!1,f++;f<k&&(a=s.src.charCodeAt(f),!(!n(a)&&a!==10));f++);if(f>=k)return!1;if(A=f,h=s.md.helpers.parseLinkDestination(s.src,f,s.posMax),h.ok){for(g=s.md.normalizeLink(h.str),s.md.validateLink(g)?f=h.pos:g="",A=f;f<k&&(a=s.src.charCodeAt(f),!(!n(a)&&a!==10));f++);if(h=s.md.helpers.parseLinkTitle(s.src,f,s.posMax),f<k&&A!==f&&h.ok)for(y=h.str,f=h.pos;f<k&&(a=s.src.charCodeAt(f),!(!n(a)&&a!==10));f++);}(f>=k||s.src.charCodeAt(f)!==41)&&(v=!0),f++}if(v){if(typeof s.env.references>"u")return!1;if(f<k&&s.src.charCodeAt(f)===91?(A=f+1,f=s.md.helpers.parseLinkLabel(s,f),f>=0?u=s.src.slice(A,f++):f=c+1):f=c+1,u||(u=s.src.slice(d,c)),m=s.env.references[t(u)],!m)return s.pos=x,!1;g=m.href,y=m.title}return o||(s.pos=d,s.posMax=c,p=s.push("link_open","a",1),p.attrs=l=[["href",g]],y&&l.push(["title",y]),s.md.inline.tokenize(s),p=s.push("link_close","a",-1)),s.pos=f,s.posMax=k,!0}}}),ub=U({"node_modules/markdown-it/lib/rules_inline/image.js"(r,e){var t=de().normalizeReference,n=de().isSpace;e.exports=function(s,o){var l,a,u,c,d,f,h,m,p,g,y,x,k,A="",v=s.pos,S=s.posMax;if(s.src.charCodeAt(s.pos)!==33||s.src.charCodeAt(s.pos+1)!==91||(f=s.pos+2,d=s.md.helpers.parseLinkLabel(s,s.pos+1,!1),d<0))return!1;if(h=d+1,h<S&&s.src.charCodeAt(h)===40){for(h++;h<S&&(a=s.src.charCodeAt(h),!(!n(a)&&a!==10));h++);if(h>=S)return!1;for(k=h,p=s.md.helpers.parseLinkDestination(s.src,h,s.posMax),p.ok&&(A=s.md.normalizeLink(p.str),s.md.validateLink(A)?h=p.pos:A=""),k=h;h<S&&(a=s.src.charCodeAt(h),!(!n(a)&&a!==10));h++);if(p=s.md.helpers.parseLinkTitle(s.src,h,s.posMax),h<S&&k!==h&&p.ok)for(g=p.str,h=p.pos;h<S&&(a=s.src.charCodeAt(h),!(!n(a)&&a!==10));h++);else g="";if(h>=S||s.src.charCodeAt(h)!==41)return s.pos=v,!1;h++}else{if(typeof s.env.references>"u")return!1;if(h<S&&s.src.charCodeAt(h)===91?(k=h+1,h=s.md.helpers.parseLinkLabel(s,h),h>=0?c=s.src.slice(k,h++):h=d+1):h=d+1,c||(c=s.src.slice(f,d)),m=s.env.references[t(c)],!m)return s.pos=v,!1;A=m.href,g=m.title}return o||(u=s.src.slice(f,d),s.md.inline.parse(u,s.md,s.env,x=[]),y=s.push("image","img",0),y.attrs=l=[["src",A],["alt",""]],y.children=x,y.content=u,g&&l.push(["title",g])),s.pos=h,s.posMax=S,!0}}}),cb=U({"node_modules/markdown-it/lib/rules_inline/autolink.js"(r,e){var t=/^([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])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(s,o){var l,a,u,c,d,f,h=s.pos;if(s.src.charCodeAt(h)!==60)return!1;for(d=s.pos,f=s.posMax;;){if(++h>=f||(c=s.src.charCodeAt(h),c===60))return!1;if(c===62)break}return l=s.src.slice(d+1,h),n.test(l)?(a=s.md.normalizeLink(l),s.md.validateLink(a)?(o||(u=s.push("link_open","a",1),u.attrs=[["href",a]],u.markup="autolink",u.info="auto",u=s.push("text","",0),u.content=s.md.normalizeLinkText(l),u=s.push("link_close","a",-1),u.markup="autolink",u.info="auto"),s.pos+=l.length+2,!0):!1):t.test(l)?(a=s.md.normalizeLink("mailto:"+l),s.md.validateLink(a)?(o||(u=s.push("link_open","a",1),u.attrs=[["href",a]],u.markup="autolink",u.info="auto",u=s.push("text","",0),u.content=s.md.normalizeLinkText(l),u=s.push("link_close","a",-1),u.markup="autolink",u.info="auto"),s.pos+=l.length+2,!0):!1):!1}}}),db=U({"node_modules/markdown-it/lib/rules_inline/html_inline.js"(r,e){var t=Od().HTML_TAG_RE;function n(i){var s=i|32;return s>=97&&s<=122}e.exports=function(s,o){var l,a,u,c,d=s.pos;return!s.md.options.html||(u=s.posMax,s.src.charCodeAt(d)!==60||d+2>=u)||(l=s.src.charCodeAt(d+1),l!==33&&l!==63&&l!==47&&!n(l))||(a=s.src.slice(d).match(t),!a)?!1:(o||(c=s.push("html_inline","",0),c.content=s.src.slice(d,d+a[0].length)),s.pos+=a[0].length,!0)}}}),fb=U({"node_modules/markdown-it/lib/rules_inline/entity.js"(r,e){var t=Sd(),n=de().has,i=de().isValidEntityCode,s=de().fromCodePoint,o=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(u,c){var d,f,h,m=u.pos,p=u.posMax;if(u.src.charCodeAt(m)!==38)return!1;if(m+1<p){if(d=u.src.charCodeAt(m+1),d===35){if(h=u.src.slice(m).match(o),h)return c||(f=h[1][0].toLowerCase()==="x"?parseInt(h[1].slice(1),16):parseInt(h[1],10),u.pending+=i(f)?s(f):s(65533)),u.pos+=h[0].length,!0}else if(h=u.src.slice(m).match(l),h&&n(t,h[1]))return c||(u.pending+=t[h[1]]),u.pos+=h[0].length,!0}return c||(u.pending+="&"),u.pos++,!0}}}),hb=U({"node_modules/markdown-it/lib/rules_inline/balance_pairs.js"(r,e){function t(n,i){var s,o,l,a,u,c,d,f,h={},m=i.length;if(m){var p=0,g=-2,y=[];for(s=0;s<m;s++)if(l=i[s],y.push(0),(i[p].marker!==l.marker||g!==l.token-1)&&(p=s),g=l.token,l.length=l.length||0,!!l.close){for(h.hasOwnProperty(l.marker)||(h[l.marker]=[-1,-1,-1,-1,-1,-1]),u=h[l.marker][(l.open?3:0)+l.length%3],o=p-y[p]-1,c=o;o>u;o-=y[o]+1)if(a=i[o],a.marker===l.marker&&a.open&&a.end<0&&(d=!1,(a.close||l.open)&&(a.length+l.length)%3===0&&(a.length%3!==0||l.length%3!==0)&&(d=!0),!d)){f=o>0&&!i[o-1].open?y[o-1]+1:0,y[s]=s-o+f,y[o]=f,l.open=!1,a.end=s,a.close=!1,c=-1,g=-2;break}c!==-1&&(h[l.marker][(l.open?3:0)+(l.length||0)%3]=c)}}}e.exports=function(i){var s,o=i.tokens_meta,l=i.tokens_meta.length;for(t(i,i.delimiters),s=0;s<l;s++)o[s]&&o[s].delimiters&&t(i,o[s].delimiters)}}}),pb=U({"node_modules/markdown-it/lib/rules_inline/text_collapse.js"(r,e){e.exports=function(n){var i,s,o=0,l=n.tokens,a=n.tokens.length;for(i=s=0;i<a;i++)l[i].nesting<0&&o--,l[i].level=o,l[i].nesting>0&&o++,l[i].type==="text"&&i+1<a&&l[i+1].type==="text"?l[i+1].content=l[i].content+l[i+1].content:(i!==s&&(l[s]=l[i]),s++);i!==s&&(l.length=s)}}}),mb=U({"node_modules/markdown-it/lib/rules_inline/state_inline.js"(r,e){var t=nl(),n=de().isWhiteSpace,i=de().isPunctChar,s=de().isMdAsciiPunct;function o(l,a,u,c){this.src=l,this.env=u,this.md=a,this.tokens=c,this.tokens_meta=Array(c.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}o.prototype.pushPending=function(){var l=new t("text","",0);return l.content=this.pending,l.level=this.pendingLevel,this.tokens.push(l),this.pending="",l},o.prototype.push=function(l,a,u){this.pending&&this.pushPending();var c=new t(l,a,u),d=null;return u<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),c.level=this.level,u>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],d={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(c),this.tokens_meta.push(d),c},o.prototype.scanDelims=function(l,a){var u=l,c,d,f,h,m,p,g,y,x,k=!0,A=!0,v=this.posMax,S=this.src.charCodeAt(l);for(c=l>0?this.src.charCodeAt(l-1):32;u<v&&this.src.charCodeAt(u)===S;)u++;return f=u-l,d=u<v?this.src.charCodeAt(u):32,g=s(c)||i(String.fromCharCode(c)),x=s(d)||i(String.fromCharCode(d)),p=n(c),y=n(d),y?k=!1:x&&(p||g||(k=!1)),p?A=!1:g&&(y||x||(A=!1)),a?(h=k,m=A):(h=k&&(!A||g),m=A&&(!k||x)),{can_open:h,can_close:m,length:f}},o.prototype.Token=t,e.exports=o}}),gb=U({"node_modules/markdown-it/lib/parser_inline.js"(r,e){var t=rl(),n=[["text",ib()],["newline",sb()],["escape",ob()],["backticks",lb()],["strikethrough",Ya().tokenize],["emphasis",Qa().tokenize],["link",ab()],["image",ub()],["autolink",cb()],["html_inline",db()],["entity",fb()]],i=[["balance_pairs",hb()],["strikethrough",Ya().postProcess],["emphasis",Qa().postProcess],["text_collapse",pb()]];function s(){var o;for(this.ruler=new t,o=0;o<n.length;o++)this.ruler.push(n[o][0],n[o][1]);for(this.ruler2=new t,o=0;o<i.length;o++)this.ruler2.push(i[o][0],i[o][1])}s.prototype.skipToken=function(o){var l,a,u=o.pos,c=this.ruler.getRules(""),d=c.length,f=o.md.options.maxNesting,h=o.cache;if(typeof h[u]<"u"){o.pos=h[u];return}if(o.level<f)for(a=0;a<d&&(o.level++,l=c[a](o,!0),o.level--,!l);a++);else o.pos=o.posMax;l||o.pos++,h[u]=o.pos},s.prototype.tokenize=function(o){for(var l,a,u=this.ruler.getRules(""),c=u.length,d=o.posMax,f=o.md.options.maxNesting;o.pos<d;){if(o.level<f)for(a=0;a<c&&(l=u[a](o,!1),!l);a++);if(l){if(o.pos>=d)break;continue}o.pending+=o.src[o.pos++]}o.pending&&o.pushPending()},s.prototype.parse=function(o,l,a,u){var c,d,f,h=new this.State(o,l,a,u);for(this.tokenize(h),d=this.ruler2.getRules(""),f=d.length,c=0;c<f;c++)d[c](h)},s.prototype.State=mb(),e.exports=s}}),yb=U({"node_modules/linkify-it/lib/re.js"(r,e){e.exports=function(t){var n={};n.src_Any=_d().source,n.src_Cc=Td().source,n.src_Z=Md().source,n.src_P=tl().source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");var i="[><|]";return n.src_pseudo_letter="(?:(?!"+i+"|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|"+i+"|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|"+i+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+n.src_ZCc+").|;(?!"+n.src_ZCc+").|\\!+(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}}}),bb=U({"node_modules/linkify-it/index.js"(r,e){function t(v){var S=Array.prototype.slice.call(arguments,1);return S.forEach(function(D){D&&Object.keys(D).forEach(function(_){v[_]=D[_]})}),v}function n(v){return Object.prototype.toString.call(v)}function i(v){return n(v)==="[object String]"}function s(v){return n(v)==="[object Object]"}function o(v){return n(v)==="[object RegExp]"}function l(v){return n(v)==="[object Function]"}function a(v){return v.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var u={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function c(v){return Object.keys(v||{}).reduce(function(S,D){return S||u.hasOwnProperty(D)},!1)}var d={"http:":{validate:function(v,S,D){var _=v.slice(S);return D.re.http||(D.re.http=new RegExp("^\\/\\/"+D.re.src_auth+D.re.src_host_port_strict+D.re.src_path,"i")),D.re.http.test(_)?_.match(D.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(v,S,D){var _=v.slice(S);return D.re.no_http||(D.re.no_http=new RegExp("^"+D.re.src_auth+"(?:localhost|(?:(?:"+D.re.src_domain+")\\.)+"+D.re.src_domain_root+")"+D.re.src_port+D.re.src_host_terminator+D.re.src_path,"i")),D.re.no_http.test(_)?S>=3&&v[S-3]===":"||S>=3&&v[S-3]==="/"?0:_.match(D.re.no_http)[0].length:0}},"mailto:":{validate:function(v,S,D){var _=v.slice(S);return D.re.mailto||(D.re.mailto=new RegExp("^"+D.re.src_email_name+"@"+D.re.src_host_strict,"i")),D.re.mailto.test(_)?_.match(D.re.mailto)[0].length:0}}},f="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",h="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function m(v){v.__index__=-1,v.__text_cache__=""}function p(v){return function(S,D){var _=S.slice(D);return v.test(_)?_.match(v)[0].length:0}}function g(){return function(v,S){S.normalize(v)}}function y(v){var S=v.re=yb()(v.__opts__),D=v.__tlds__.slice();v.onCompile(),v.__tlds_replaced__||D.push(f),D.push(S.src_xn),S.src_tlds=D.join("|");function _(O){return O.replace("%TLDS%",S.src_tlds)}S.email_fuzzy=RegExp(_(S.tpl_email_fuzzy),"i"),S.link_fuzzy=RegExp(_(S.tpl_link_fuzzy),"i"),S.link_no_ip_fuzzy=RegExp(_(S.tpl_link_no_ip_fuzzy),"i"),S.host_fuzzy_test=RegExp(_(S.tpl_host_fuzzy_test),"i");var $=[];v.__compiled__={};function T(O,z){throw new Error('(LinkifyIt) Invalid schema "'+O+'": '+z)}Object.keys(v.__schemas__).forEach(function(O){var z=v.__schemas__[O];if(z!==null){var B={validate:null,link:null};if(v.__compiled__[O]=B,s(z)){o(z.validate)?B.validate=p(z.validate):l(z.validate)?B.validate=z.validate:T(O,z),l(z.normalize)?B.normalize=z.normalize:z.normalize?T(O,z):B.normalize=g();return}if(i(z)){$.push(O);return}T(O,z)}}),$.forEach(function(O){v.__compiled__[v.__schemas__[O]]&&(v.__compiled__[O].validate=v.__compiled__[v.__schemas__[O]].validate,v.__compiled__[O].normalize=v.__compiled__[v.__schemas__[O]].normalize)}),v.__compiled__[""]={validate:null,normalize:g()};var I=Object.keys(v.__compiled__).filter(function(O){return O.length>0&&v.__compiled__[O]}).map(a).join("|");v.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+I+")","i"),v.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+I+")","ig"),v.re.pretest=RegExp("("+v.re.schema_test.source+")|("+v.re.host_fuzzy_test.source+")|@","i"),m(v)}function x(v,S){var D=v.__index__,_=v.__last_index__,$=v.__text_cache__.slice(D,_);this.schema=v.__schema__.toLowerCase(),this.index=D+S,this.lastIndex=_+S,this.raw=$,this.text=$,this.url=$}function k(v,S){var D=new x(v,S);return v.__compiled__[D.schema].normalize(D,v),D}function A(v,S){if(!(this instanceof A))return new A(v,S);S||c(v)&&(S=v,v={}),this.__opts__=t({},u,S),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=t({},d,v),this.__compiled__={},this.__tlds__=h,this.__tlds_replaced__=!1,this.re={},y(this)}A.prototype.add=function(S,D){return this.__schemas__[S]=D,y(this),this},A.prototype.set=function(S){return this.__opts__=t(this.__opts__,S),this},A.prototype.test=function(S){if(this.__text_cache__=S,this.__index__=-1,!S.length)return!1;var D,_,$,T,I,O,z,B,F;if(this.re.schema_test.test(S)){for(z=this.re.schema_search,z.lastIndex=0;(D=z.exec(S))!==null;)if(T=this.testSchemaAt(S,D[2],z.lastIndex),T){this.__schema__=D[2],this.__index__=D.index+D[1].length,this.__last_index__=D.index+D[0].length+T;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(B=S.search(this.re.host_fuzzy_test),B>=0&&(this.__index__<0||B<this.__index__)&&(_=S.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(I=_.index+_[1].length,(this.__index__<0||I<this.__index__)&&(this.__schema__="",this.__index__=I,this.__last_index__=_.index+_[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(F=S.indexOf("@"),F>=0&&($=S.match(this.re.email_fuzzy))!==null&&(I=$.index+$[1].length,O=$.index+$[0].length,(this.__index__<0||I<this.__index__||I===this.__index__&&O>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=I,this.__last_index__=O))),this.__index__>=0},A.prototype.pretest=function(S){return this.re.pretest.test(S)},A.prototype.testSchemaAt=function(S,D,_){return this.__compiled__[D.toLowerCase()]?this.__compiled__[D.toLowerCase()].validate(S,_,this):0},A.prototype.match=function(S){var D=0,_=[];this.__index__>=0&&this.__text_cache__===S&&(_.push(k(this,D)),D=this.__last_index__);for(var $=D?S.slice(D):S;this.test($);)_.push(k(this,D)),$=$.slice(this.__last_index__),D+=this.__last_index__;return _.length?_:null},A.prototype.tlds=function(S,D){return S=Array.isArray(S)?S:[S],D?(this.__tlds__=this.__tlds__.concat(S).sort().filter(function(_,$,T){return _!==T[$-1]}).reverse(),y(this),this):(this.__tlds__=S.slice(),this.__tlds_replaced__=!0,y(this),this)},A.prototype.normalize=function(S){S.schema||(S.url="http://"+S.url),S.schema==="mailto:"&&!/^mailto:/i.test(S.url)&&(S.url="mailto:"+S.url)},A.prototype.onCompile=function(){},e.exports=A}}),kb=U({"node_modules/punycode/punycode.js"(r,e){var t=2147483647,n=36,i=1,s=26,o=38,l=700,a=72,u=128,c="-",d=/^xn--/,f=/[^\0-\x7F]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=n-i,g=Math.floor,y=String.fromCharCode;function x(F){throw new RangeError(m[F])}function k(F,V){const Z=[];let re=F.length;for(;re--;)Z[re]=V(F[re]);return Z}function A(F,V){const Z=F.split("@");let re="";Z.length>1&&(re=Z[0]+"@",F=Z[1]),F=F.replace(h,".");const ce=F.split("."),ye=k(ce,V).join(".");return re+ye}function v(F){const V=[];let Z=0;const re=F.length;for(;Z<re;){const ce=F.charCodeAt(Z++);if(ce>=55296&&ce<=56319&&Z<re){const ye=F.charCodeAt(Z++);(ye&64512)==56320?V.push(((ce&1023)<<10)+(ye&1023)+65536):(V.push(ce),Z--)}else V.push(ce)}return V}var S=F=>String.fromCodePoint(...F),D=function(F){return F>=48&&F<58?26+(F-48):F>=65&&F<91?F-65:F>=97&&F<123?F-97:n},_=function(F,V){return F+22+75*(F<26)-((V!=0)<<5)},$=function(F,V,Z){let re=0;for(F=Z?g(F/l):F>>1,F+=g(F/V);F>p*s>>1;re+=n)F=g(F/p);return g(re+(p+1)*F/(F+o))},T=function(F){const V=[],Z=F.length;let re=0,ce=u,ye=a,Se=F.lastIndexOf(c);Se<0&&(Se=0);for(let ae=0;ae<Se;++ae)F.charCodeAt(ae)>=128&&x("not-basic"),V.push(F.charCodeAt(ae));for(let ae=Se>0?Se+1:0;ae<Z;){const be=re;for(let Oe=1,Ke=n;;Ke+=n){ae>=Z&&x("invalid-input");const ht=D(F.charCodeAt(ae++));ht>=n&&x("invalid-input"),ht>g((t-re)/Oe)&&x("overflow"),re+=ht*Oe;const _t=Ke<=ye?i:Ke>=ye+s?s:Ke-ye;if(ht<_t)break;const lr=n-_t;Oe>g(t/lr)&&x("overflow"),Oe*=lr}const Me=V.length+1;ye=$(re-be,Me,be==0),g(re/Me)>t-ce&&x("overflow"),ce+=g(re/Me),re%=Me,V.splice(re++,0,ce)}return String.fromCodePoint(...V)},I=function(F){const V=[];F=v(F);const Z=F.length;let re=u,ce=0,ye=a;for(const be of F)be<128&&V.push(y(be));const Se=V.length;let ae=Se;for(Se&&V.push(c);ae<Z;){let be=t;for(const Oe of F)Oe>=re&&Oe<be&&(be=Oe);const Me=ae+1;be-re>g((t-ce)/Me)&&x("overflow"),ce+=(be-re)*Me,re=be;for(const Oe of F)if(Oe<re&&++ce>t&&x("overflow"),Oe===re){let Ke=ce;for(let ht=n;;ht+=n){const _t=ht<=ye?i:ht>=ye+s?s:ht-ye;if(Ke<_t)break;const lr=Ke-_t,In=n-_t;V.push(y(_(_t+lr%In,0))),Ke=g(lr/In)}V.push(y(_(Ke,0))),ye=$(ce,Me,ae===Se),ce=0,++ae}++ce,++re}return V.join("")},O=function(F){return A(F,function(V){return d.test(V)?T(V.slice(4).toLowerCase()):V})},z=function(F){return A(F,function(V){return f.test(V)?"xn--"+I(V):V})},B={version:"2.3.1",ucs2:{decode:v,encode:S},decode:T,encode:I,toASCII:z,toUnicode:O};e.exports=B}}),vb=U({"node_modules/markdown-it/lib/presets/default.js"(r,e){e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}}}),xb=U({"node_modules/markdown-it/lib/presets/zero.js"(r,e){e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}}}),Cb=U({"node_modules/markdown-it/lib/presets/commonmark.js"(r,e){e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}}}),Nd=U({"node_modules/markdown-it/lib/index.js"(r,e){var t=de(),n=By(),i=Fy(),s=jy(),o=nb(),l=gb(),a=bb(),u=Dd(),c=kb(),d={default:vb(),zero:xb(),commonmark:Cb()},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(k){var A=k.trim().toLowerCase();return f.test(A)?!!h.test(A):!0}var p=["http:","https:","mailto:"];function g(k){var A=u.parse(k,!0);if(A.hostname&&(!A.protocol||p.indexOf(A.protocol)>=0))try{A.hostname=c.toASCII(A.hostname)}catch{}return u.encode(u.format(A))}function y(k){var A=u.parse(k,!0);if(A.hostname&&(!A.protocol||p.indexOf(A.protocol)>=0))try{A.hostname=c.toUnicode(A.hostname)}catch{}return u.decode(u.format(A),u.decode.defaultChars+"%")}function x(k,A){if(!(this instanceof x))return new x(k,A);A||t.isString(k)||(A=k||{},k="default"),this.inline=new l,this.block=new o,this.core=new s,this.renderer=new i,this.linkify=new a,this.validateLink=m,this.normalizeLink=g,this.normalizeLinkText=y,this.utils=t,this.helpers=t.assign({},n),this.options={},this.configure(k),A&&this.set(A)}x.prototype.set=function(k){return t.assign(this.options,k),this},x.prototype.configure=function(k){var A=this,v;if(t.isString(k)&&(v=k,k=d[v],!k))throw new Error('Wrong `markdown-it` preset "'+v+'", check name');if(!k)throw new Error("Wrong `markdown-it` preset, can't be empty");return k.options&&A.set(k.options),k.components&&Object.keys(k.components).forEach(function(S){k.components[S].rules&&A[S].ruler.enableOnly(k.components[S].rules),k.components[S].rules2&&A[S].ruler2.enableOnly(k.components[S].rules2)}),this},x.prototype.enable=function(k,A){var v=[];Array.isArray(k)||(k=[k]),["core","block","inline"].forEach(function(D){v=v.concat(this[D].ruler.enable(k,!0))},this),v=v.concat(this.inline.ruler2.enable(k,!0));var S=k.filter(function(D){return v.indexOf(D)<0});if(S.length&&!A)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+S);return this},x.prototype.disable=function(k,A){var v=[];Array.isArray(k)||(k=[k]),["core","block","inline"].forEach(function(D){v=v.concat(this[D].ruler.disable(k,!0))},this),v=v.concat(this.inline.ruler2.disable(k,!0));var S=k.filter(function(D){return v.indexOf(D)<0});if(S.length&&!A)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+S);return this},x.prototype.use=function(k){var A=[this].concat(Array.prototype.slice.call(arguments,1));return k.apply(k,A),this},x.prototype.parse=function(k,A){if(typeof k!="string")throw new Error("Input data should be a String");var v=new this.core.State(k,this,A);return this.core.process(v),v.tokens},x.prototype.render=function(k,A){return A=A||{},this.renderer.render(this.parse(k,A),this.options,A)},x.prototype.parseInline=function(k,A){var v=new this.core.State(k,this,A);return v.inlineMode=!0,this.core.process(v),v.tokens},x.prototype.renderInline=function(k,A){return A=A||{},this.renderer.render(this.parseInline(k,A),this.options,A)},e.exports=x}}),Ab=U({"node_modules/markdown-it/index.js"(r,e){e.exports=Nd()}}),Id={};wd(Id,{getAstValues:()=>mo,isAst:()=>il,isFunction:()=>wb,isVariable:()=>Eb,resolve:()=>An});function il(r){return!!(r!=null&&r.$$mdtype)}function wb(r){return(r==null?void 0:r.$$mdtype)==="Function"}function Eb(r){return(r==null?void 0:r.$$mdtype)==="Variable"}function*mo(r){if(!(r==null||typeof r!="object")){if(Array.isArray(r))for(const e of r)yield*mo(e);if(il(r)&&(yield r),Object.getPrototypeOf(r)===Object.prototype)for(const e of Object.values(r))yield*mo(e)}}function An(r,e={}){if(r==null||typeof r!="object")return r;if(Array.isArray(r))return r.map(n=>An(n,e));if(il(r)&&(r==null?void 0:r.resolve)instanceof Function)return r.resolve(e);if(Object.getPrototypeOf(r)!==Object.prototype)return r;const t={};for(const[n,i]of Object.entries(r))t[n]=An(i,e);return t}var Pr,Dt=(Pr=class{constructor(e="div",t={},n=[]){this.$$mdtype="Tag",this.name=e,this.attributes=t,this.children=n}},Pr.isTag=e=>(e==null?void 0:e.$$mdtype)==="Tag",Pr),Sb=class{validate(r,e,t){return typeof r=="string"||typeof r=="object"?[]:[{id:"attribute-type-invalid",level:"error",message:`Attribute '${t}' must be type 'string | object'`}]}transform(r){if(!r||typeof r=="string")return r;const e=[];for(const[t,n]of Object.entries(r??{}))n&&e.push(t);return e.join(" ")}},Db=class{validate(r){return typeof r=="string"&&r.match(/^[a-zA-Z]/)?[]:[{id:"attribute-value-invalid",level:"error",message:"The 'id' attribute must start with a letter"}]}},Xa=ds(Ed()),fs=class{constructor(r=[]){this.$$mdtype="Variable",this.path=r}resolve({variables:r}={}){return r instanceof Function?r(this.path):this.path.reduce((e={},t)=>e[t],r)}},hs=class{constructor(r,e){this.$$mdtype="Function",this.name=r,this.parameters=e}resolve(r={}){var n,i;const e=(n=r==null?void 0:r.functions)==null?void 0:n[this.name];if(!e)return null;const t=An(this.parameters,r);return(i=e.transform)==null?void 0:i.call(e,t,r)}},Re="{%",Et="%}",_b=/^[a-zA-Z0-9_-]+$/;function bi(r){return typeof r=="string"&&_b.test(r)}function xr(r){return r&&typeof r=="object"&&typeof r.then=="function"}function On(r,e=0){let t=0;for(let n=e;n<r.length;n++){const i=r[n];switch(t){case 1:switch(i){case'"':t=0;break;case"\\":t=2;break}break;case 2:t=1;break;case 0:if(i==='"')t=1;else if(r.startsWith(Et,n))return n}}return null}function Tb(r,e){for(let t=0;t<r.length;t++){if(!r.startsWith(Re,t))continue;if(On(r,t)===null){t+=Re.length-1;continue}let i=t;for(;i>0&&!/\s/.test(r[i-1]);)i--;for(const s of e)if(r.slice(i,t).includes(`${s}://`))return!0;return!1}return!1}function Mb(r,e,t){try{return(0,Xa.parse)(r,{Variable:fs,Function:hs})}catch(n){if(!(n instanceof Xa.SyntaxError))throw n;const{message:i,location:{start:s,end:o}}=n,l={start:{line:e,character:s.offset+t},end:{line:e+1,character:o.offset+t}};return{type:"error",meta:{error:{message:i,location:l}}}}}function Bd(r,e=0){let t=e+1;const n=[];let i=0;for(let s=0;s<r.length;s++){if(r[s]===`
121
113
  `){t++;continue}if(!r.startsWith(Re,s))continue;const o=On(r,s);if(o==null){s=s+Re.length;continue}const l=r.slice(s,o+Et.length),a=r.slice(s+Re.length,o),u=r.lastIndexOf(`
122
114
  `,s),c=r.indexOf(`
123
- `,o),d=r.slice(u,c),f=rv(a.trim(),t,s-u),h=d.trim()===l?u:s,m=r.slice(i,h);n.push({type:"text",start:i,end:s-1,content:m}),n.push({map:[t,t+1],position:{start:s-u,end:s-u+l.length},start:s,end:s+l.length-1,info:l,...f}),i=o+Et.length,s=i-1}return n.push({type:"text",start:i,end:r.length-1,content:r.slice(i)}),n}var ml={class:{type:Qk,render:!0},id:{type:Xk,render:!0}},Xr={findSchema(r,{nodes:e={},tags:t={}}={}){return r.tag?t[r.tag]:e[r.type]},attributes(r,e={}){const t=this.findSchema(r,e)??{},n={},i={...ml,...t.attributes};for(const[s,o]of Object.entries(i)){if(o.render==!1)continue;const l=typeof o.render=="string"?o.render:s;let a=r.attributes[s];if(typeof o.type=="function"){const u=new o.type;u.transform&&(a=u.transform(a,e))}a=a===void 0?o.default:a,a!==void 0&&(n[l]=a)}if(t.slots)for(const[s,o]of Object.entries(t.slots)){if(o.render===!1)continue;const l=typeof o.render=="string"?o.render:s;r.slots[s]&&(n[l]=this.node(r.slots[s],e))}return n},children(r,e={}){const t=r.children.flatMap(n=>this.node(n,e));return t.some(Cr)?Promise.all(t):t},node(r,e={}){const t=this.findSchema(r,e)??{};if(t&&t.transform instanceof Function)return t.transform(r,e);const n=this.children(r,e);if(!t||!t.render)return n;const i=this.attributes(r,e);return Cr(i)||Cr(n)?Promise.all([i,n]).then(s=>new Dt(t.render,...s)):new Dt(t.render,i,n)}},gl=class Gd{constructor(e="node",t={},n=[],i){this.$$mdtype="Node",this.errors=[],this.lines=[],this.inline=!1,this.attributes=t,this.children=n,this.type=e,this.tag=i,this.annotations=[],this.slots={}}*walk(){for(const e of[...Object.values(this.slots),...this.children])yield e,yield*e.walk()}push(e){this.children.push(e)}resolve(e={}){return Object.assign(new Gd,this,{children:this.children.map(t=>t.resolve(e)),attributes:En(this.attributes,e),slots:Object.fromEntries(Object.entries(this.slots).map(([t,n])=>[t,n.resolve(e)]))})}findSchema(e={}){return Xr.findSchema(this,e)}transformAttributes(e={}){return Xr.attributes(this,e)}transformChildren(e){return Xr.children(this,e)}transform(e){return Xr.node(this,e)}},Zd={Function:ps,Node:gl,Variable:hs};function nv(r,e){if(!e)return e;const t=Zd[e.$$mdtype];return t?Object.assign(new t,e):e}function iv(r){return JSON.parse(r,nv)}var Xe={...Zd,...Kd,fromJSON:iv},we=" ",wo=", ",ue=`
124
- `,sv=".",fu="-",ov=80,lv=["strong","em","s"],av=(r,e)=>Math.max(r,e),qs=(r,e=2)=>({...r,indent:(r.indent||0)+e});function*Ge(r,e){for(const t of r.children)yield*Ft(t,e)}function*Zn(r){yield[...r].join("").trim()}function*Vs(r){yield`| ${r.join(" | ")} |`}function Ki(r){if(r!==void 0)return Xe.isAst(r)?Ji(r):r===null?"null":Array.isArray(r)?"["+r.map(Ki).join(wo)+"]":typeof r=="object"?"{"+Object.entries(r).map(([e,t])=>`${Wi(e)?e:`"${e}"`}: ${Ki(t)}`).join(wo)+"}":JSON.stringify(r)}function Eo(r){const e=Ki(r.value);if(e!==void 0)return r.name==="primary"?e:r.name==="id"&&typeof r.value=="string"&&Wi(r.value)?"#"+r.value:r.type==="class"&&Wi(r.name)?"."+r.name:`${r.name}=${e}`}function*uv(r){for(const[e,t]of Object.entries(r.attributes))if(e==="class"&&typeof t=="object"&&!Xe.isAst(t))for(const n of Object.keys(t))yield Eo({type:"class",name:n,value:t});else yield Eo({type:"attribute",name:e,value:t})}function*Jr(r){r.annotations.length&&(yield Re+we,yield r.annotations.map(Eo).join(we),yield we+Et)}function*cv(r){yield"$",yield r.path.map((e,t)=>t===0?e:Wi(e)?"."+e:typeof e=="number"?`[${e}]`:`["${e}"]`).join("")}function*dv(r){yield r.name,yield"(",yield Object.values(r.parameters).map(Ki).join(wo),yield")"}function*hu(r){let e;do{const{value:t,done:n}=r.next();if(n)return;e=t.trimStart()}while(!e.length);yield e,yield*r}function*Yn(r,e){yield r.replace(e,"\\$&").replace(new RegExp(" ","g"),"&nbsp;")}function*fv(r,e={}){const t={...e,parent:r},n=we.repeat(t.indent||0);switch(r.type){case"document":{r.attributes.frontmatter&&r.attributes.frontmatter.length&&(yield"---"+ue+r.attributes.frontmatter+ue+"---"+ue+ue),yield*hu(Ge(r,t));break}case"heading":{yield ue,yield n,yield"#".repeat(r.attributes.level||1),yield we,yield*hu(Ge(r,t)),yield*Jr(r),yield ue;break}case"paragraph":{yield ue,yield*Ge(r,t),yield*Jr(r),yield ue;break}case"inline":{yield n,yield*Ge(r,t);break}case"image":{yield"!",yield"[",yield*Ft(r.attributes.alt,t),yield"]",yield"(",yield*typeof r.attributes.src=="string"?Yn(r.attributes.src,/[()]/g):Ft(r.attributes.src,t),r.attributes.title&&(yield we+`"${r.attributes.title}"`),yield")";break}case"link":{const i=[...Ge(r,t)].join("");if(i===r.attributes.href&&!r.attributes.title){yield`<${r.attributes.href}>`;break}yield"[",yield i,yield"]",yield"(",yield*typeof r.attributes.href=="string"?Yn(r.attributes.href,/[()]/g):Ft(r.attributes.href,t),r.attributes.title&&(yield we+`"${r.attributes.title}"`),yield")";break}case"text":{const{content:i}=r.attributes;Xe.isAst(i)?(yield Re+we,yield*Ft(i,t),yield we+Et):e.parent&&lv.includes(e.parent.type)?yield*Yn(i,/[*_~]/g):yield*Yn(i,/^\*|#+\s|^>/);break}case"blockquote":{const i=">"+we;yield r.children.map(s=>Ji(s,t).trimStart()).map(s=>ue+n+i+s).join(n+i);break}case"hr":{yield ue,yield n,yield"---",yield ue;break}case"fence":{yield ue,yield n;const s=(r.attributes.content.match(/`{3,}/g)||[]).map(a=>a.length).reduce(av,0),o="`".repeat(s?s+1:3),l=!r.attributes.content.endsWith(ue);yield o,r.attributes.language&&(yield r.attributes.language),r.annotations.length&&(yield we),yield*Jr(r),yield ue,yield n,yield r.attributes.content.split(ue).join(ue+n),l&&(yield ue),yield o,yield ue;break}case"tag":{r.inline||(yield ue,yield n);const i=Re+we,s=[...uv(r)].filter(u=>u!==void 0),o=[i+r.tag,...s],l=o.join(we),a=l.length+i.length*2>(e.maxTagOpeningWidth||ov);yield(!r.inline&&a?o.join(ue+we.repeat(i.length)+n):l)+we+(r.children.length?"":"/")+Et,r.children.length&&(yield*Ge(r,t.allowIndentation?qs(t):t),r.inline||(yield n),yield Re+we+"/"+r.tag+we+Et),r.inline||(yield ue);break}case"list":{const i=r.children.some(s=>s.children.some(o=>o.type==="paragraph"));for(let s=0;s<r.children.length;s++){const o=(()=>{if(!r.attributes.ordered)return r.attributes.marker??fu;let a="1";const u=r.attributes.start??1;return s===0&&(a=u.toString()),e.orderedListMode==="increment"&&(a=(parseInt(u)+s).toString()),`${a}${r.attributes.marker??sv}`})();let l=Ji(r.children[s],qs(t,o.length+1));(!i||s===r.children.length-1)&&(l=l.trim()),yield ue+n+o+" "+l}yield ue;break}case"item":{for(let i=0;i<r.children.length;i++)yield*Ft(r.children[i],t),i===0&&(yield*Jr(r));break}case"strong":{yield r.attributes.marker??"**",yield*Zn(Ge(r,t)),yield r.attributes.marker??"**";break}case"em":{yield r.attributes.marker??"*",yield*Zn(Ge(r,t)),yield r.attributes.marker??"*";break}case"code":{yield"`",yield*Zn(Ft(r.attributes.content,t)),yield"`";break}case"s":{yield"~~",yield*Zn(Ge(r,t)),yield"~~";break}case"hardbreak":{yield"\\"+ue,yield n;break}case"softbreak":{yield ue,yield n;break}case"table":{const i=[...Ge(r,qs(t))];if(e.parent&&e.parent.type==="tag"&&e.parent.tag==="table"){for(let s=0;s<i.length;s++){const o=i[s];if(typeof o=="string")o.trim().length&&(yield ue,yield o);else{s!==0&&(yield ue,yield n+"---");for(const l of o)yield ue+n+fu+" "+l}}yield ue}else{const s=[];for(const a of i)for(let u=0;u<a.length;u++)s[u]=s[u]?Math.max(s[u],a[u].length):a[u].length;const[o,...l]=i;yield ue,yield*Vs(o.map((a,u)=>a+we.repeat(s[u]-a.length))),yield ue,yield*Vs(o.map((a,u)=>"-".repeat(s[u]))),yield ue;for(const a of l)yield*Vs(a.map((u,c)=>u+we.repeat(s[c]-u.length))),yield ue}break}case"thead":{const[i]=[...Ge(r,t)];yield i||[];break}case"tr":{yield[...Ge(r,t)];break}case"td":case"th":{yield[...Ge(r,t),...Jr(r)].join("").trim();break}case"tbody":{yield*Ge(r,t);break}case"comment":{yield"<!-- "+r.attributes.content+` -->
125
- `;break}}}function*Ft(r,e={}){switch(typeof r){case"undefined":break;case"boolean":case"number":case"string":{yield r.toString();break}case"object":{if(r===null)break;if(Array.isArray(r)){for(const t of r)yield*Ft(t,e);break}switch(r.$$mdtype){case"Function":{yield*dv(r);break}case"Node":yield*fv(r,e);break;case"Variable":{yield*cv(r);break}default:throw new Error(`Unimplemented: "${r.$$mdtype}"`)}break}}}function Ji(r,e){let t="";for(const n of Ft(r,e))t+=n;return t.trimStart()}var Yd=class{validate(r,e,t){return typeof r=="boolean"||r===null||r===void 0||typeof r=="object"?[]:[{id:"attribute-type-invalid",level:"error",message:`Attribute '${t}' must be type 'boolean | object' (null or undefined are also allowed)`}]}};function Nn(r){return r!==!1&&r!==void 0&&r!==null}function hv(r){const e=[{condition:r.attributes.primary,children:[]}];for(const t of r.children)t.type==="tag"&&t.tag==="else"?e.push({condition:"primary"in t.attributes?t.attributes.primary:!0,children:[]}):e[e.length-1].children.push(t);return e}var pv={attributes:{primary:{type:Yd,render:!1}},transform(r,e){const t=hv(r);for(const{condition:n,children:i}of t)if(Nn(n)){const s=i.flatMap(o=>o.transform(e));return s.some(Cr)?Promise.all(s).then(o=>o.flat()):s}return[]}},mv={selfClosing:!0,attributes:{primary:{type:Yd,render:!1}}},gv={transform(r){return Object.values(r).every(e=>Nn(e))}},yv={transform(r){return Object.values(r).find(e=>Nn(e))!==void 0}},bv={parameters:{0:{required:!0}},transform(r){return!Nn(r[0])}},kv={transform(r){const e=Object.values(r);return e.every(t=>t===e[0])}},vv={transform(r){return JSON.stringify(r[0],null,2)}},xv={transform(r){return r[0]===void 0?r[1]:r[0]}},Qd={and:gv,or:yv,not:bv,equals:kv,default:xv,debug:vv};function js(r,e="td"){r.type="tr",r.attributes={};for(const t of r.children)t.type=e;return r}function pu(r,e){return r.type==="tag"&&!!r.tag&&e.includes(r.tag)}function mu(r){return r.type==="comment"||r.type==="tag"&&r.tag==="comment"}function gu(r){return{id:"table-syntax",level:"critical",message:`Found ${r.type}${r.tag?` ${r.tag}`:""} where a list was expected. Make sure all content inside table cells is indented.`,location:r.location}}function Cv(r,e=["if"]){for(const t of r.walk()){if(t.type!=="tag"||t.tag!=="table")continue;const[n,...i]=t.children;if(!n||n.type==="table")continue;const s=new Xe.Node("table",t.attributes,[new Xe.Node("thead"),new Xe.Node("tbody")]),[o,l]=s.children;n.type==="list"&&o.push(js(n,"th"));for(const a of i){if(a.type==="list")js(a);else if(pu(a,e)){const u=[];for(const c of a.children)if(c.type!=="hr"){if(c.type==="list")js(c);else if(!(mu(c)||c.tag==="else"||pu(c,e))){a.errors.push(gu(c));continue}u.push(c)}a.children=u}else if(a.type!=="hr"&&!mu(a)){t.errors.push(gu(a));continue}else continue;l.push(a)}t.children=[s]}}var Xd=[Cv],yu={ordered_list:"list",bullet_list:"list",code_inline:"code",list_item:"item",variable:"text"};function bu(r,e){for(const t of e){r.annotations.push(t);const{name:n,value:i,type:s}=t;s==="attribute"?(r.attributes[n]!==void 0&&r.errors.push({id:"duplicate-attribute",level:"warning",message:`Attribute '${n}' already set`}),r.attributes[n]=i):s==="class"&&(r.attributes.class?r.attributes.class[n]=i:r.attributes.class={[n]:i})}}function Av(r,e){switch(e){case"heading":return{level:Number(r.tag.replace("h",""))};case"list":{const t=r.attrs?Object.fromEntries(r.attrs):void 0,n=r.type.startsWith("ordered");return n&&(t!=null&&t.start)?{ordered:!0,start:t.start,marker:r.markup}:{ordered:n,marker:r.markup}}case"link":{const t=Object.fromEntries(r.attrs);return t.title?{href:t.href,title:t.title}:{href:t.href}}case"image":{const t=Object.fromEntries(r.attrs);return t.title?{alt:r.content,src:t.src,title:t.title}:{alt:r.content,src:t.src}}case"em":case"strong":return{marker:r.markup};case"text":case"code":case"comment":return{content:(r.meta||{}).variable||r.content};case"fence":{const[t]=r.info.split(" ",1);return t===""||t===Re?{content:r.content}:{content:r.content,language:t}}case"td":case"th":{if(r.attrs){const t=Object.fromEntries(r.attrs);let n;if(t.style&&(t.style.includes("left")?n="left":t.style.includes("center")?n="center":t.style.includes("right")&&(n="right")),n)return{align:n}}return{}}default:return{}}}function ef(r,e,t,n,i,s){if(r.type==="frontmatter"){e[0].attributes.frontmatter=r.content;return}if(r.hidden||r.type==="text"&&r.content==="")return;const o=r.errors||[],l=e[e.length-1],{tag:a,attributes:u,error:c}=r.meta||{};if(r.type==="annotation")return s?bu(s,u):l.errors.push({id:"no-inline-annotations",level:"error",message:`Can't apply inline annotations to '${l.type}'`});let d=r.type.replace(/_(open|close)$/,"");if(yu[d]&&(d=yu[d]),d==="error"){const{message:g,location:y}=c;o.push({id:"parse-error",level:"critical",message:g,location:y})}if(r.nesting<0){if(l.type===d&&l.tag===a)return l.lines&&r.map&&l.lines.push(...r.map),e.pop();o.push({id:"missing-opening",level:"critical",message:`Node '${d}' is missing opening`})}const f=Av(r,d),h=new gl(d,f,void 0,a||void 0),{position:m={}}=r;if(h.errors=o,i!==!1&&(h.lines=r.map||l.lines||[],h.location={file:t,start:{line:h.lines[0],character:m.start},end:{line:h.lines[1],character:m.end}}),s&&(h.inline=!0),u&&["tag","fence","image"].includes(d)&&bu(h,u),n&&a==="slot"&&typeof h.attributes.primary=="string"?l.slots[h.attributes.primary]=h:l.push(h),r.nesting>0&&e.push(h),!Array.isArray(r.children))return;if(h.type==="inline"&&(s=l),e.push(h),!(d==="image"))for(const g of r.children)ef(g,e,t,n,i,s);e.pop()}function wv(r,e){const t=new gl("document"),n=[t];typeof e=="string"&&(e={file:e});for(const i of r)ef(i,n,e==null?void 0:e.file,e==null?void 0:e.slots,e==null?void 0:e.location);if(n.length>1)for(const i of n.slice(1))i.errors.push({id:"missing-closing",level:"critical",message:`Node '${i.tag||i.type}' is missing closing`});for(const i of Xd)i(t,e==null?void 0:e.conditionalTags);return t}var yl={};Pd(yl,{blockquote:()=>Mv,code:()=>Uv,comment:()=>Gv,document:()=>Ev,em:()=>qv,error:()=>Zv,fence:()=>Tv,hardbreak:()=>Kv,heading:()=>Sv,hr:()=>Iv,image:()=>_v,inline:()=>jv,item:()=>Ov,link:()=>Hv,list:()=>Nv,node:()=>Yv,paragraph:()=>Dv,s:()=>Vv,softbreak:()=>Jv,strong:()=>zv,table:()=>Bv,tbody:()=>Pv,td:()=>Fv,text:()=>Wv,th:()=>Rv,thead:()=>Lv,tr:()=>$v});var Ev={render:"article",children:["heading","paragraph","image","table","tag","fence","blockquote","comment","list","hr"],attributes:{frontmatter:{render:!1}}},Sv={children:["inline"],attributes:{level:{type:Number,render:!1,required:!0}},transform(r,e){return new Dt(`h${r.attributes.level}`,r.transformAttributes(e),r.transformChildren(e))}},Dv={render:"p",children:["inline"]},_v={render:"img",attributes:{src:{type:String,required:!0},alt:{type:String},title:{type:String}}},Tv={render:"pre",attributes:{content:{type:String,render:!1,required:!0},language:{type:String,render:"data-language"},process:{type:Boolean,render:!1,default:!0}},transform(r,e){const t=r.transformAttributes(e),n=r.children.length?r.transformChildren(e):[r.attributes.content];return new Dt("pre",t,n)}},Mv={render:"blockquote",children:["heading","paragraph","image","table","tag","fence","blockquote","list","hr"]},Ov={render:"li",children:["inline","heading","paragraph","image","table","tag","fence","blockquote","list","hr"]},Nv={children:["item"],attributes:{ordered:{type:Boolean,render:!1,required:!0},start:{type:Number},marker:{type:String,render:!1}},transform(r,e){return new Dt(r.attributes.ordered?"ol":"ul",r.transformAttributes(e),r.transformChildren(e))}},Iv={render:"hr"},Bv={render:"table"},Fv={render:"td",children:["inline","heading","paragraph","image","table","tag","fence","blockquote","list","hr"],attributes:{align:{type:String},colspan:{type:Number,render:"colSpan"},rowspan:{type:Number,render:"rowSpan"}}},Rv={render:"th",attributes:{width:{type:String},align:{type:String},colspan:{type:Number,render:"colSpan"},rowspan:{type:Number,render:"rowSpan"}}},$v={render:"tr",children:["th","td"]},Pv={render:"tbody",children:["tr","tag"]},Lv={render:"thead",children:["tr"]},zv={render:"strong",children:["em","s","link","code","text","tag"],attributes:{marker:{type:String,render:!1}}},qv={render:"em",children:["strong","s","link","code","text","tag"],attributes:{marker:{type:String,render:!1}}},Vv={render:"s",children:["strong","em","link","code","text","tag"]},jv={children:["strong","em","s","code","text","tag","link","image","hardbreak","softbreak","comment"]},Hv={render:"a",children:["strong","em","s","code","text","tag"],attributes:{href:{type:String,required:!0},title:{type:String}}},Uv={render:"code",attributes:{content:{type:String,render:!1,required:!0}},transform(r,e){const t=r.transformAttributes(e);return new Dt("code",t,[r.attributes.content])}},Wv={attributes:{content:{type:String,required:!0}},transform(r){return r.attributes.content}},Kv={render:"br"},Jv={transform(){return" "}},Gv={attributes:{content:{type:String,required:!0}}},Zv={},Yv={},Qv=fs(Gk()),{escapeHtml:ku}=(0,Qv.default)().utils,Xv=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function ni(r){if(typeof r=="string"||typeof r=="number")return ku(String(r));if(Array.isArray(r))return r.map(ni).join("");if(r===null||typeof r!="object"||!Dt.isTag(r))return"";const{name:e,attributes:t,children:n=[]}=r;if(!e)return ni(n);let i=`<${e}`;for(const[s,o]of Object.entries(t??{}))i+=` ${s.toLowerCase()}="${ku(String(o))}"`;return i+=">",Xv.has(e)||(n.length&&(i+=ni(n)),i+=`</${e}>`),i}function ex(r,e){return typeof r!="string"||r[0]!==r[0].toUpperCase()?r:e instanceof Function?e(r):e[r]}function tx(r,e,{components:t={},resolveTagName:n=ex}={}){function i(o){if(o==null||typeof o!="object")return o;if(Array.isArray(o))return o.map(a=>i(a));if(o.$$mdtype==="Tag")return s(o);if(typeof o!="object")return o;const l={};for(const[a,u]of Object.entries(o))l[a]=i(u);return l}function s(o){if(Array.isArray(o))return e.createElement(e.Fragment,null,...o.map(s));if(o===null||typeof o!="object"||!Dt.isTag(o))return o;const{name:l,attributes:{class:a,...u}={},children:c=[]}=o;return a&&(u.className=a),e.createElement(n(l,t),Object.keys(u).length==0?null:i(u),...c.map(s))}return s(r)}function rx(r,e){return typeof r!="string"?"Fragment":r[0]!==r[0].toUpperCase()?r:e instanceof Function?e(r):e[r]}function vu(r){return r.map(bl).join(", ")}function So(r){return r==null||typeof r!="object"?JSON.stringify(r):Array.isArray(r)?`[${r.map(t=>So(t)).join(", ")}]`:r.$$mdtype==="Tag"?bl(r):typeof r!="object"?JSON.stringify(r):`{${Object.entries(r).map(([t,n])=>[JSON.stringify(t),So(n)].join(": ")).join(", ")}}`}function bl(r){if(Array.isArray(r))return`React.createElement(React.Fragment, null, ${vu(r)})`;if(r===null||typeof r!="object"||!Dt.isTag(r))return JSON.stringify(r);const{name:e,attributes:{class:t,...n}={},children:i=[]}=r;return t&&(n.className=t),`React.createElement(
115
+ `,o),d=r.slice(u,c),f=Mb(a.trim(),t,s-u),h=d.trim()===l?u:s,m=r.slice(i,h);n.push({type:"text",start:i,end:s-1,content:m}),n.push({map:[t,t+1],position:{start:s-u,end:s-u+l.length},start:s,end:s+l.length-1,info:l,...f}),i=o+Et.length,s=i-1}return n.push({type:"text",start:i,end:r.length-1,content:r.slice(i)}),n}var sl={class:{type:Sb,render:!0},id:{type:Db,render:!0}},Qr={findSchema(r,{nodes:e={},tags:t={}}={}){return r.tag?t[r.tag]:e[r.type]},attributes(r,e={}){const t=this.findSchema(r,e)??{},n={},i={...sl,...t.attributes};for(const[s,o]of Object.entries(i)){if(o.render==!1)continue;const l=typeof o.render=="string"?o.render:s;let a=r.attributes[s];if(typeof o.type=="function"){const u=new o.type;u.transform&&(a=u.transform(a,e))}a=a===void 0?o.default:a,a!==void 0&&(n[l]=a)}if(t.slots)for(const[s,o]of Object.entries(t.slots)){if(o.render===!1)continue;const l=typeof o.render=="string"?o.render:s;r.slots[s]&&(n[l]=this.node(r.slots[s],e))}return n},children(r,e={}){const t=r.children.flatMap(n=>this.node(n,e));return t.some(xr)?Promise.all(t):t},node(r,e={}){const t=this.findSchema(r,e)??{};if(t&&t.transform instanceof Function)return t.transform(r,e);const n=this.children(r,e);if(!t||!t.render)return n;const i=this.attributes(r,e);return xr(i)||xr(n)?Promise.all([i,n]).then(s=>new Dt(t.render,...s)):new Dt(t.render,i,n)}},ol=class Fd{constructor(e="node",t={},n=[],i){this.$$mdtype="Node",this.errors=[],this.lines=[],this.inline=!1,this.attributes=t,this.children=n,this.type=e,this.tag=i,this.annotations=[],this.slots={}}*walk(){for(const e of[...Object.values(this.slots),...this.children])yield e,yield*e.walk()}push(e){this.children.push(e)}resolve(e={}){return Object.assign(new Fd,this,{children:this.children.map(t=>t.resolve(e)),attributes:An(this.attributes,e),slots:Object.fromEntries(Object.entries(this.slots).map(([t,n])=>[t,n.resolve(e)]))})}findSchema(e={}){return Qr.findSchema(this,e)}transformAttributes(e={}){return Qr.attributes(this,e)}transformChildren(e){return Qr.children(this,e)}transform(e){return Qr.node(this,e)}},Rd={Function:hs,Node:ol,Variable:fs};function Ob(r,e){if(!e)return e;const t=Rd[e.$$mdtype];return t?Object.assign(new t,e):e}function Nb(r){return JSON.parse(r,Ob)}var Xe={...Rd,...Id,fromJSON:Nb},we=" ",go=", ",ue=`
116
+ `,Ib=".",eu="-",Bb=80,Fb=["strong","em","s"],Rb=(r,e)=>Math.max(r,e),Is=(r,e=2)=>({...r,indent:(r.indent||0)+e});function*Ge(r,e){for(const t of r.children)yield*Ft(t,e)}function*Wn(r){yield[...r].join("").trim()}function*Bs(r){yield`| ${r.join(" | ")} |`}function ki(r){if(r!==void 0)return Xe.isAst(r)?vi(r):r===null?"null":Array.isArray(r)?"["+r.map(ki).join(go)+"]":typeof r=="object"?"{"+Object.entries(r).map(([e,t])=>`${bi(e)?e:`"${e}"`}: ${ki(t)}`).join(go)+"}":JSON.stringify(r)}function yo(r){const e=ki(r.value);if(e!==void 0)return r.name==="primary"?e:r.name==="id"&&typeof r.value=="string"&&bi(r.value)?"#"+r.value:r.type==="class"&&bi(r.name)?"."+r.name:`${r.name}=${e}`}function*$b(r){for(const[e,t]of Object.entries(r.attributes))if(e==="class"&&typeof t=="object"&&!Xe.isAst(t))for(const n of Object.keys(t))yield yo({type:"class",name:n,value:t});else yield yo({type:"attribute",name:e,value:t})}function*Kr(r){r.annotations.length&&(yield Re+we,yield r.annotations.map(yo).join(we),yield we+Et)}function*Pb(r){yield"$",yield r.path.map((e,t)=>t===0?e:bi(e)?"."+e:typeof e=="number"?`[${e}]`:`["${e}"]`).join("")}function*Lb(r){yield r.name,yield"(",yield Object.values(r.parameters).map(ki).join(go),yield")"}function*tu(r){let e;do{const{value:t,done:n}=r.next();if(n)return;e=t.trimStart()}while(!e.length);yield e,yield*r}function*Kn(r,e){yield r.replace(e,"\\$&").replace(new RegExp(" ","g"),"&nbsp;")}function*zb(r,e={}){const t={...e,parent:r},n=we.repeat(t.indent||0);switch(r.type){case"document":{r.attributes.frontmatter&&r.attributes.frontmatter.length&&(yield"---"+ue+r.attributes.frontmatter+ue+"---"+ue+ue),yield*tu(Ge(r,t));break}case"heading":{yield ue,yield n,yield"#".repeat(r.attributes.level||1),yield we,yield*tu(Ge(r,t)),yield*Kr(r),yield ue;break}case"paragraph":{yield ue,yield*Ge(r,t),yield*Kr(r),yield ue;break}case"inline":{yield n,yield*Ge(r,t);break}case"image":{yield"!",yield"[",yield*Ft(r.attributes.alt,t),yield"]",yield"(",yield*typeof r.attributes.src=="string"?Kn(r.attributes.src,/[()]/g):Ft(r.attributes.src,t),r.attributes.title&&(yield we+`"${r.attributes.title}"`),yield")";break}case"link":{const i=[...Ge(r,t)].join("");if(i===r.attributes.href&&!r.attributes.title){yield`<${r.attributes.href}>`;break}yield"[",yield i,yield"]",yield"(",yield*typeof r.attributes.href=="string"?Kn(r.attributes.href,/[()]/g):Ft(r.attributes.href,t),r.attributes.title&&(yield we+`"${r.attributes.title}"`),yield")";break}case"text":{const{content:i}=r.attributes;Xe.isAst(i)?(yield Re+we,yield*Ft(i,t),yield we+Et):e.parent&&Fb.includes(e.parent.type)?yield*Kn(i,/[*_~]/g):yield*Kn(i,/^\*|#+\s|^>/);break}case"blockquote":{const i=">"+we;yield r.children.map(s=>vi(s,t).trimStart()).map(s=>ue+n+i+s).join(n+i);break}case"hr":{yield ue,yield n,yield"---",yield ue;break}case"fence":{yield ue,yield n;const s=(r.attributes.content.match(/`{3,}/g)||[]).map(a=>a.length).reduce(Rb,0),o="`".repeat(s?s+1:3),l=!r.attributes.content.endsWith(ue);yield o,r.attributes.language&&(yield r.attributes.language),r.annotations.length&&(yield we),yield*Kr(r),yield ue,yield n,yield r.attributes.content.split(ue).join(ue+n),l&&(yield ue),yield o,yield ue;break}case"tag":{r.inline||(yield ue,yield n);const i=Re+we,s=[...$b(r)].filter(u=>u!==void 0),o=[i+r.tag,...s],l=o.join(we),a=l.length+i.length*2>(e.maxTagOpeningWidth||Bb);yield(!r.inline&&a?o.join(ue+we.repeat(i.length)+n):l)+we+(r.children.length?"":"/")+Et,r.children.length&&(yield*Ge(r,t.allowIndentation?Is(t):t),r.inline||(yield n),yield Re+we+"/"+r.tag+we+Et),r.inline||(yield ue);break}case"list":{const i=r.children.some(s=>s.children.some(o=>o.type==="paragraph"));for(let s=0;s<r.children.length;s++){const o=(()=>{if(!r.attributes.ordered)return r.attributes.marker??eu;let a="1";const u=r.attributes.start??1;return s===0&&(a=u.toString()),e.orderedListMode==="increment"&&(a=(parseInt(u)+s).toString()),`${a}${r.attributes.marker??Ib}`})();let l=vi(r.children[s],Is(t,o.length+1));(!i||s===r.children.length-1)&&(l=l.trim()),yield ue+n+o+" "+l}yield ue;break}case"item":{for(let i=0;i<r.children.length;i++)yield*Ft(r.children[i],t),i===0&&(yield*Kr(r));break}case"strong":{yield r.attributes.marker??"**",yield*Wn(Ge(r,t)),yield r.attributes.marker??"**";break}case"em":{yield r.attributes.marker??"*",yield*Wn(Ge(r,t)),yield r.attributes.marker??"*";break}case"code":{yield"`",yield*Wn(Ft(r.attributes.content,t)),yield"`";break}case"s":{yield"~~",yield*Wn(Ge(r,t)),yield"~~";break}case"hardbreak":{yield"\\"+ue,yield n;break}case"softbreak":{yield ue,yield n;break}case"table":{const i=[...Ge(r,Is(t))];if(e.parent&&e.parent.type==="tag"&&e.parent.tag==="table"){for(let s=0;s<i.length;s++){const o=i[s];if(typeof o=="string")o.trim().length&&(yield ue,yield o);else{s!==0&&(yield ue,yield n+"---");for(const l of o)yield ue+n+eu+" "+l}}yield ue}else{const s=[];for(const a of i)for(let u=0;u<a.length;u++)s[u]=s[u]?Math.max(s[u],a[u].length):a[u].length;const[o,...l]=i;yield ue,yield*Bs(o.map((a,u)=>a+we.repeat(s[u]-a.length))),yield ue,yield*Bs(o.map((a,u)=>"-".repeat(s[u]))),yield ue;for(const a of l)yield*Bs(a.map((u,c)=>u+we.repeat(s[c]-u.length))),yield ue}break}case"thead":{const[i]=[...Ge(r,t)];yield i||[];break}case"tr":{yield[...Ge(r,t)];break}case"td":case"th":{yield[...Ge(r,t),...Kr(r)].join("").trim();break}case"tbody":{yield*Ge(r,t);break}case"comment":{yield"<!-- "+r.attributes.content+` -->
117
+ `;break}}}function*Ft(r,e={}){switch(typeof r){case"undefined":break;case"boolean":case"number":case"string":{yield r.toString();break}case"object":{if(r===null)break;if(Array.isArray(r)){for(const t of r)yield*Ft(t,e);break}switch(r.$$mdtype){case"Function":{yield*Lb(r);break}case"Node":yield*zb(r,e);break;case"Variable":{yield*Pb(r);break}default:throw new Error(`Unimplemented: "${r.$$mdtype}"`)}break}}}function vi(r,e){let t="";for(const n of Ft(r,e))t+=n;return t.trimStart()}var $d=class{validate(r,e,t){return typeof r=="boolean"||r===null||r===void 0||typeof r=="object"?[]:[{id:"attribute-type-invalid",level:"error",message:`Attribute '${t}' must be type 'boolean | object' (null or undefined are also allowed)`}]}};function Nn(r){return r!==!1&&r!==void 0&&r!==null}function qb(r){const e=[{condition:r.attributes.primary,children:[]}];for(const t of r.children)t.type==="tag"&&t.tag==="else"?e.push({condition:"primary"in t.attributes?t.attributes.primary:!0,children:[]}):e[e.length-1].children.push(t);return e}var Vb={attributes:{primary:{type:$d,render:!1}},transform(r,e){const t=qb(r);for(const{condition:n,children:i}of t)if(Nn(n)){const s=i.flatMap(o=>o.transform(e));return s.some(xr)?Promise.all(s).then(o=>o.flat()):s}return[]}},jb={selfClosing:!0,attributes:{primary:{type:$d,render:!1}}},Hb={transform(r){return Object.values(r).every(e=>Nn(e))}},Ub={transform(r){return Object.values(r).find(e=>Nn(e))!==void 0}},Wb={parameters:{0:{required:!0}},transform(r){return!Nn(r[0])}},Kb={transform(r){const e=Object.values(r);return e.every(t=>t===e[0])}},Jb={transform(r){return JSON.stringify(r[0],null,2)}},Gb={transform(r){return r[0]===void 0?r[1]:r[0]}},Pd={and:Hb,or:Ub,not:Wb,equals:Kb,default:Gb,debug:Jb};function Fs(r,e="td"){r.type="tr",r.attributes={};for(const t of r.children)t.type=e;return r}function ru(r,e){return r.type==="tag"&&!!r.tag&&e.includes(r.tag)}function nu(r){return r.type==="comment"||r.type==="tag"&&r.tag==="comment"}function iu(r){return{id:"table-syntax",level:"critical",message:`Found ${r.type}${r.tag?` ${r.tag}`:""} where a list was expected. Make sure all content inside table cells is indented.`,location:r.location}}function Zb(r,e=["if"]){for(const t of r.walk()){if(t.type!=="tag"||t.tag!=="table")continue;const[n,...i]=t.children;if(!n||n.type==="table")continue;const s=new Xe.Node("table",t.attributes,[new Xe.Node("thead"),new Xe.Node("tbody")]),[o,l]=s.children;n.type==="list"&&o.push(Fs(n,"th"));for(const a of i){if(a.type==="list")Fs(a);else if(ru(a,e)){const u=[];for(const c of a.children)if(c.type!=="hr"){if(c.type==="list")Fs(c);else if(!(nu(c)||c.tag==="else"||ru(c,e))){a.errors.push(iu(c));continue}u.push(c)}a.children=u}else if(a.type!=="hr"&&!nu(a)){t.errors.push(iu(a));continue}else continue;l.push(a)}t.children=[s]}}var Ld=[Zb],su={ordered_list:"list",bullet_list:"list",code_inline:"code",list_item:"item",variable:"text"};function ou(r,e){for(const t of e){r.annotations.push(t);const{name:n,value:i,type:s}=t;s==="attribute"?(r.attributes[n]!==void 0&&r.errors.push({id:"duplicate-attribute",level:"warning",message:`Attribute '${n}' already set`}),r.attributes[n]=i):s==="class"&&(r.attributes.class?r.attributes.class[n]=i:r.attributes.class={[n]:i})}}function Yb(r,e){switch(e){case"heading":return{level:Number(r.tag.replace("h",""))};case"list":{const t=r.attrs?Object.fromEntries(r.attrs):void 0,n=r.type.startsWith("ordered");return n&&(t!=null&&t.start)?{ordered:!0,start:t.start,marker:r.markup}:{ordered:n,marker:r.markup}}case"link":{const t=Object.fromEntries(r.attrs);return t.title?{href:t.href,title:t.title}:{href:t.href}}case"image":{const t=Object.fromEntries(r.attrs);return t.title?{alt:r.content,src:t.src,title:t.title}:{alt:r.content,src:t.src}}case"em":case"strong":return{marker:r.markup};case"text":case"code":case"comment":return{content:(r.meta||{}).variable||r.content};case"fence":{const[t]=r.info.split(" ",1);return t===""||t===Re?{content:r.content}:{content:r.content,language:t}}case"td":case"th":{if(r.attrs){const t=Object.fromEntries(r.attrs);let n;if(t.style&&(t.style.includes("left")?n="left":t.style.includes("center")?n="center":t.style.includes("right")&&(n="right")),n)return{align:n}}return{}}default:return{}}}function zd(r,e,t,n,i,s){if(r.type==="frontmatter"){e[0].attributes.frontmatter=r.content;return}if(r.hidden||r.type==="text"&&r.content==="")return;const o=r.errors||[],l=e[e.length-1],{tag:a,attributes:u,error:c}=r.meta||{};if(r.type==="annotation")return s?ou(s,u):l.errors.push({id:"no-inline-annotations",level:"error",message:`Can't apply inline annotations to '${l.type}'`});let d=r.type.replace(/_(open|close)$/,"");if(su[d]&&(d=su[d]),d==="error"){const{message:g,location:y}=c;o.push({id:"parse-error",level:"critical",message:g,location:y})}if(r.nesting<0){if(l.type===d&&l.tag===a)return l.lines&&r.map&&l.lines.push(...r.map),e.pop();o.push({id:"missing-opening",level:"critical",message:`Node '${d}' is missing opening`})}const f=Yb(r,d),h=new ol(d,f,void 0,a||void 0),{position:m={}}=r;if(h.errors=o,i!==!1&&(h.lines=r.map||l.lines||[],h.location={file:t,start:{line:h.lines[0],character:m.start},end:{line:h.lines[1],character:m.end}}),s&&(h.inline=!0),u&&["tag","fence","image"].includes(d)&&ou(h,u),n&&a==="slot"&&typeof h.attributes.primary=="string"?l.slots[h.attributes.primary]=h:l.push(h),r.nesting>0&&e.push(h),!Array.isArray(r.children))return;if(h.type==="inline"&&(s=l),e.push(h),!(d==="image"))for(const g of r.children)zd(g,e,t,n,i,s);e.pop()}function Qb(r,e){const t=new ol("document"),n=[t];typeof e=="string"&&(e={file:e});for(const i of r)zd(i,n,e==null?void 0:e.file,e==null?void 0:e.slots,e==null?void 0:e.location);if(n.length>1)for(const i of n.slice(1))i.errors.push({id:"missing-closing",level:"critical",message:`Node '${i.tag||i.type}' is missing closing`});for(const i of Ld)i(t,e==null?void 0:e.conditionalTags);return t}var ll={};wd(ll,{blockquote:()=>ik,code:()=>kk,comment:()=>Ak,document:()=>Xb,em:()=>mk,error:()=>wk,fence:()=>nk,hardbreak:()=>xk,heading:()=>ek,hr:()=>lk,image:()=>rk,inline:()=>yk,item:()=>sk,link:()=>bk,list:()=>ok,node:()=>Ek,paragraph:()=>tk,s:()=>gk,softbreak:()=>Ck,strong:()=>pk,table:()=>ak,tbody:()=>fk,td:()=>uk,text:()=>vk,th:()=>ck,thead:()=>hk,tr:()=>dk});var Xb={render:"article",children:["heading","paragraph","image","table","tag","fence","blockquote","comment","list","hr"],attributes:{frontmatter:{render:!1}}},ek={children:["inline"],attributes:{level:{type:Number,render:!1,required:!0}},transform(r,e){return new Dt(`h${r.attributes.level}`,r.transformAttributes(e),r.transformChildren(e))}},tk={render:"p",children:["inline"]},rk={render:"img",attributes:{src:{type:String,required:!0},alt:{type:String},title:{type:String}}},nk={render:"pre",attributes:{content:{type:String,render:!1,required:!0},language:{type:String,render:"data-language"},process:{type:Boolean,render:!1,default:!0}},transform(r,e){const t=r.transformAttributes(e),n=r.children.length?r.transformChildren(e):[r.attributes.content];return new Dt("pre",t,n)}},ik={render:"blockquote",children:["heading","paragraph","image","table","tag","fence","blockquote","list","hr"]},sk={render:"li",children:["inline","heading","paragraph","image","table","tag","fence","blockquote","list","hr"]},ok={children:["item"],attributes:{ordered:{type:Boolean,render:!1,required:!0},start:{type:Number},marker:{type:String,render:!1}},transform(r,e){return new Dt(r.attributes.ordered?"ol":"ul",r.transformAttributes(e),r.transformChildren(e))}},lk={render:"hr"},ak={render:"table"},uk={render:"td",children:["inline","heading","paragraph","image","table","tag","fence","blockquote","list","hr"],attributes:{align:{type:String},colspan:{type:Number,render:"colSpan"},rowspan:{type:Number,render:"rowSpan"}}},ck={render:"th",attributes:{width:{type:String},align:{type:String},colspan:{type:Number,render:"colSpan"},rowspan:{type:Number,render:"rowSpan"}}},dk={render:"tr",children:["th","td"]},fk={render:"tbody",children:["tr","tag"]},hk={render:"thead",children:["tr"]},pk={render:"strong",children:["em","s","link","code","text","tag"],attributes:{marker:{type:String,render:!1}}},mk={render:"em",children:["strong","s","link","code","text","tag"],attributes:{marker:{type:String,render:!1}}},gk={render:"s",children:["strong","em","link","code","text","tag"]},yk={children:["strong","em","s","code","text","tag","link","image","hardbreak","softbreak","comment"]},bk={render:"a",children:["strong","em","s","code","text","tag"],attributes:{href:{type:String,required:!0},title:{type:String}}},kk={render:"code",attributes:{content:{type:String,render:!1,required:!0}},transform(r,e){const t=r.transformAttributes(e);return new Dt("code",t,[r.attributes.content])}},vk={attributes:{content:{type:String,required:!0}},transform(r){return r.attributes.content}},xk={render:"br"},Ck={transform(){return" "}},Ak={attributes:{content:{type:String,required:!0}}},wk={},Ek={},Sk=ds(Ab()),{escapeHtml:lu}=(0,Sk.default)().utils,Dk=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function ti(r){if(typeof r=="string"||typeof r=="number")return lu(String(r));if(Array.isArray(r))return r.map(ti).join("");if(r===null||typeof r!="object"||!Dt.isTag(r))return"";const{name:e,attributes:t,children:n=[]}=r;if(!e)return ti(n);let i=`<${e}`;for(const[s,o]of Object.entries(t??{}))i+=` ${s.toLowerCase()}="${lu(String(o))}"`;return i+=">",Dk.has(e)||(n.length&&(i+=ti(n)),i+=`</${e}>`),i}function _k(r,e){return typeof r!="string"||r[0]!==r[0].toUpperCase()?r:e instanceof Function?e(r):e[r]}function Tk(r,e,{components:t={},resolveTagName:n=_k}={}){function i(o){if(o==null||typeof o!="object")return o;if(Array.isArray(o))return o.map(a=>i(a));if(o.$$mdtype==="Tag")return s(o);if(typeof o!="object")return o;const l={};for(const[a,u]of Object.entries(o))l[a]=i(u);return l}function s(o){if(Array.isArray(o))return e.createElement(e.Fragment,null,...o.map(s));if(o===null||typeof o!="object"||!Dt.isTag(o))return o;const{name:l,attributes:{class:a,...u}={},children:c=[]}=o;return a&&(u.className=a),e.createElement(n(l,t),Object.keys(u).length==0?null:i(u),...c.map(s))}return s(r)}function Mk(r,e){return typeof r!="string"?"Fragment":r[0]!==r[0].toUpperCase()?r:e instanceof Function?e(r):e[r]}function au(r){return r.map(al).join(", ")}function bo(r){return r==null||typeof r!="object"?JSON.stringify(r):Array.isArray(r)?`[${r.map(t=>bo(t)).join(", ")}]`:r.$$mdtype==="Tag"?al(r):typeof r!="object"?JSON.stringify(r):`{${Object.entries(r).map(([t,n])=>[JSON.stringify(t),bo(n)].join(": ")).join(", ")}}`}function al(r){if(Array.isArray(r))return`React.createElement(React.Fragment, null, ${au(r)})`;if(r===null||typeof r!="object"||!Dt.isTag(r))return JSON.stringify(r);const{name:e,attributes:{class:t,...n}={},children:i=[]}=r;return t&&(n.className=t),`React.createElement(
126
118
  tagName(${JSON.stringify(e)}, components),
127
- ${Object.keys(n).length==0?"null":So(n)},
128
- ${vu(i)})`}function nx(r,{resolveTagName:e=rx}={}){if(e.name!=="tagName")throw new Error("resolveTagName must be named tagName");return`
119
+ ${Object.keys(n).length==0?"null":bo(n)},
120
+ ${au(i)})`}function Ok(r,{resolveTagName:e=Mk}={}){if(e.name!=="tagName")throw new Error("resolveTagName must be named tagName");return`
129
121
  (({components = {}} = {}) => {
130
122
  ${e}
131
- return ${bl(r)};
123
+ return ${al(r)};
132
124
  })
133
- `}var ix={html:ni,react:tx,reactStatic:nx},sx=class{validate(r,e){const{partials:t={}}=e;return t[r]?[]:[{id:"attribute-value-invalid",level:"error",message:`Partial \`${r}\` not found. The 'file' attribute must be set in \`config.partials\``}]}},ox={inline:!1,selfClosing:!0,attributes:{file:{type:sx,render:!1,required:!0},variables:{type:Object,render:!1}},transform(r,e){const{partials:t={}}=e,{file:n,variables:i}=r.attributes,s=t[n];if(!s)return null;const o={...e,variables:{...e.variables,...i,"$$partial:filename":n}},l=a=>a.resolve(o).transformChildren(o);return Array.isArray(s)?s.flatMap(l):l(s)}},lx={children:["table"],inline:!1},ax={attributes:{primary:{type:String,required:!0}}},tf={else:mv,if:pv,partial:ox,slot:ax,table:lx},ux=fs(Wd()),Gi=fs(Ld());function rf(r,e,t){try{const{type:n,meta:i,nesting:s=0}=(0,Gi.parse)(e,{Variable:hs,Function:ps}),o=r.push(n,"",s);return o.info=e,o.meta=i,r.delimiters||(r.delimiters=[]),o}catch(n){if(!(n instanceof Gi.SyntaxError))throw n;const{message:i,location:{start:s,end:o}}=n,l=t?{start:{offset:s.offset+t},end:{offset:o.offset+t}}:null,a=r.push("error","",0);return a.meta={error:{message:i,location:l}},a}}function cx(r,e,t,n){const i=r.bMarks[e]+r.tShift[e],s=r.eMarks[e];if(!r.src.startsWith(Re,i))return!1;const o=On(r.src,i),l=r.src.slice(0,s).trim().length;if(!o||o<l-Et.length)return!1;const a=i+Re.length,u=r.src.slice(a,o).trim(),c=r.src.slice(i,o+Et.length).split(`
134
- `).length;if(u[0]==="$")return!1;if(n)return!0;const d=rf(r,u,a);return d.map=[e,e+c],r.line+=c,!0}function dx(r,e){if(!r.src.startsWith(Re,r.pos))return!1;const t=On(r.src,r.pos);if(!t)return!1;const n=r.src.slice(r.pos+Re.length,t);return e||rf(r,n.trim()),r.pos=t+Et.length,!0}function fx(r){var t,n;let e;for(e of r.tokens)if(e.type==="fence"){if(e.info.includes(Re)){const i=e.info.indexOf(Re),s=On(e.info,i),o=e.info.slice(i+Re.length,s);try{const{meta:l}=(0,Gi.parse)(o.trim(),{Variable:hs,Function:ps});e.meta=l}catch(l){if(!(l instanceof Gi.SyntaxError))throw l;e.errors||(e.errors=[]),e.errors.push({id:"fence-tag-error",level:"error",message:`Syntax error in fence tag: ${l.message}`})}}(n=(t=e==null?void 0:e.meta)==null?void 0:t.attributes)!=null&&n.find(i=>i.name==="process"&&!i.value)||(e.children=Jd(e.content,e.map[0]))}}function hx(r){r.block.ruler.before("paragraph","annotations",cx,{alt:["paragraph","blockquote"]}),r.inline.ruler.push("containers",dx),r.core.ruler.push("annotations",fx)}var nf="---";function sf(r,e){return r.src.slice(r.bMarks[e],r.eMarks[e]).trim()}function px(r,e){for(let t=1;t<e;t++)if(sf(r,t)===nf)return t}function mx(r,e,t,n){if(e!=0||sf(r,0)!=nf)return!1;const i=px(r,t);if(!i)return!1;if(n)return!0;const s=r.push("frontmatter","",0);return s.content=r.src.slice(r.eMarks[0],r.bMarks[i]).trim(),s.map=[0,i],s.hidden=!0,r.line=i+1,!0}function gx(r){r.block.ruler.before("hr","frontmatter",mx)}var Zi="<!--",Do="-->";function yx(r,e,t,n){const i=r.bMarks[e]+r.tShift[e];if(!r.src.startsWith(Zi,i))return!1;const s=r.src.indexOf(Do,i);if(s===-1)return!1;if(n)return!0;const o=r.src.slice(i+Zi.length,s),l=o.split(`
135
- `).length,a=r.push("comment","",0);return a.content=o.trim(),a.map=[e,e+l],r.line+=l,!0}function bx(r,e){if(!r.src.startsWith(Zi,r.pos))return!1;const t=r.src.indexOf(Do,r.pos);if(t===-1)return!1;if(e)return!0;const n=r.src.slice(r.pos+Zi.length,t),i=r.push("comment","",0);return i.content=n.trim(),r.pos=t+Do.length,!0}function kx(r){r.block.ruler.before("table","comment",yx,{alt:["paragraph"]}),r.inline.ruler.push("comment",bx)}var vx="The 'href' format cannot contain Markdoc tag or variable. URLs must be static strings.";function xx(r){const e=r;e.errors||(e.errors=[]),e.errors.push({id:"href-format-invalid",level:"error",message:vx})}function Cx(r,e){let t;for(t of r.tokens)t.type!=="inline"||typeof t.content!="string"||tv(t.content,e.validatedProtocols)&&xx(t)}function Ax(r,e){r.core.ruler.push("link_url_validation",t=>Cx(t,e))}var of=class{constructor(r={}){this.parser=new ux.default(r),this.parser.use(hx,"annotations",{}),this.parser.use(gx,"frontmatter",{}),this.parser.disable(["lheading","code"]),r.allowComments&&this.parser.use(kx,"comments",{}),r.allowLinkValidation&&this.parser.use(Ax,r.linkValidationOptions??{validatedProtocols:["http","https"]})}tokenize(r){return this.parser.parse(r.toString(),{})}},wx={String,Number,Array,Object,Boolean};function kl(r,e,t,n){var i,s;if(!r)return!0;if(Xe.isFunction(e)&&((i=t.validation)!=null&&i.validateFunctions)){const o=(s=t.functions)==null?void 0:s[e.name];return o!=null&&o.returns?Array.isArray(o.returns)?o.returns.find(l=>l===r)!==void 0:o.returns===r:!0}if(Xe.isAst(e))return!0;if(Array.isArray(r))return r.some(o=>kl(o,e,t,n));if(typeof r=="string"&&(r=wx[r]),typeof r=="function"){const o=new r;if(o.validate)return o.validate(e,t,n)}return e!=null&&e.constructor===r}function vl(r){return typeof r=="string"?r:Array.isArray(r)?r.map(vl).join(" | "):r.name}function Ex(r,e){var i,s;const t=(i=e.functions)==null?void 0:i[r.name],n=[];if(!t)return[{id:"function-undefined",level:"critical",message:`Undefined function: '${r.name}'`}];if(t.validate&&n.push(...t.validate(r,e)),t.parameters)for(const[o,l]of Object.entries(r.parameters)){const a=(s=t.parameters)==null?void 0:s[o];if(!a){n.push({id:"parameter-undefined",level:"error",message:`Invalid parameter: '${o}'`});continue}if(!(Xe.isAst(l)&&!Xe.isFunction(l))&&a.type){const u=kl(a.type,l,e,o);u===!1?n.push({id:"parameter-type-invalid",level:"error",message:`Parameter '${o}' of '${r.name}' must be type of '${vl(a.type)}'`}):Array.isArray(u)&&n.push(...u)}}for(const[o,{required:l}]of Object.entries(t.parameters??{}))l&&r.parameters[o]===void 0&&n.push({id:"parameter-missing-required",level:"error",message:`Missing required parameter: '${o}'`});return n}function Sx(r,e){return r.length<=e?JSON.stringify(r):`[${r.slice(0,e).map(n=>JSON.stringify(n)).join(",")}, ... ${r.length-e} more]`}function lf(r,e){var s,o;const t=r.findSchema(e),n=[...r.errors||[]];if(!t)return n.push({id:r.tag?"tag-undefined":"node-undefined",level:"critical",message:r.tag?`Undefined tag: '${r.tag}'`:`Undefined node: '${r.type}'`}),n;t.inline!=null&&r.inline!==t.inline&&n.push({id:"tag-placement-invalid",level:"critical",message:`'${r.tag}' tag should be ${t.inline?"inline":"block"}`}),t.selfClosing&&r.children.length>0&&n.push({id:"tag-selfclosing-has-children",level:"critical",message:`'${r.tag}' tag should be self-closing`});const i={...ml,...t.attributes};for(const l of Object.keys(r.slots))((s=t.slots)==null?void 0:s[l])||n.push({id:"slot-undefined",level:"error",message:`Invalid slot: '${l}'`});for(let[l,a]of Object.entries(r.attributes)){const u=i[l];if(!u){n.push({id:"attribute-undefined",level:"error",message:`Invalid attribute: '${l}'`});continue}let{type:c,matches:d,errorLevel:f}=u;if(Xe.isAst(a))if(Xe.isFunction(a)&&((o=e.validation)!=null&&o.validateFunctions))n.push(...Ex(a,e));else if(Xe.isVariable(a)&&e.variables){let h=!1,m=e.variables;for(const p of a.path){if(!Object.prototype.hasOwnProperty.call(m,p)){h=!0;break}m=m[p]}h&&n.push({id:"variable-undefined",level:"error",message:`Undefined variable: '${a.path.join(".")}'`})}else continue;if(a=a,c){const h=kl(c,a,e,l);h===!1&&n.push({id:"attribute-type-invalid",level:f||"error",message:`Attribute '${l}' must be type of '${vl(c)}'`}),Array.isArray(h)&&n.push(...h)}if(typeof d=="function"&&(d=d(e)),Array.isArray(d)&&!d.includes(a)&&n.push({id:"attribute-value-invalid",level:f||"error",message:`Attribute '${l}' must match one of ${Sx(d,8)}. Got '${a}' instead.`}),d instanceof RegExp&&!d.test(a)&&n.push({id:"attribute-value-invalid",level:f||"error",message:`Attribute '${l}' must match ${d}. Got '${a}' instead.`}),typeof u.validate=="function"){const h=u.validate(a,e,l);Array.isArray(h)&&n.push(...h)}}for(const[l,{required:a}]of Object.entries(i))a&&r.attributes[l]===void 0&&n.push({id:"attribute-missing-required",level:"error",message:`Missing required attribute: '${l}'`});if(t.slots)for(const[l,{required:a}]of Object.entries(t.slots))a&&r.slots[l]===void 0&&n.push({id:"slot-missing-required",level:"error",message:`Missing required slot: '${l}'`});for(const{type:l}of r.children)t.children&&l!=="error"&&!t.children.includes(l)&&n.push({id:"child-invalid",level:"warning",message:`Can't nest '${l}' in '${r.tag||r.type}'`});if(t.validate){const l=t.validate(r,e);if(Cr(l))return l.then(a=>n.concat(a));n.push(...l)}return n}function*af(r,e=[]){yield[r,e];for(const t of[...Object.values(r.slots),...r.children])yield*af(t,[...e,r])}function Dx(r){var t,n;const e=r.location;return e!=null&&typeof((t=e.start)==null?void 0:t.line)=="number"&&typeof((n=e.end)==null?void 0:n.line)=="number"&&(e.file===void 0||typeof e.file=="string")}function xu(r,e){var t;return Dx(e)?{type:r.type,lines:[e.location.start.line,e.location.end.line],location:{file:(t=r.location)==null?void 0:t.file,...e.location},error:e}:{type:r.type,lines:r.lines,location:r.location,error:e}}function _x(r,e){const t=[...af(r)].map(([n,i])=>{const s={...e,validation:{...e.validation,parents:i}},o=lf(n,s);return Cr(o)?o.then(l=>l.map(a=>xu(n,a))):o.map(l=>xu(n,l))});return t.some(Cr)?Promise.all(t).then(n=>n.flat()):t.flat()}var Tx=new of;function uf(r={}){return{...r,tags:{...tf,...r.tags},nodes:{...yl,...r.nodes},functions:{...Qd,...r.functions}}}function Cu(r,e){return typeof r=="string"&&(r=Tx.tokenize(r)),wv(r,e)}function cf(r,e){return Array.isArray(r)?r.flatMap(t=>t.resolve(e)):r.resolve(e)}function Au(r,e){const t=uf(e),n=cf(r,t);return Array.isArray(n)?n.flatMap(i=>i.transform(t)):n.transform(t)}function wu(r,e){const t=uf(e);return _x(r,t)}function Mx(r,e={},...t){return{name:r,attributes:e,children:t}}var me,Ox=(me=class{constructor(e){this.parse=Cu,this.resolve=t=>cf(t,this.config),this.transform=t=>Au(t,this.config),this.validate=t=>wu(t,this.config),this.config=e}},me.nodes=yl,me.tags=tf,me.functions=Qd,me.globalAttributes=ml,me.renderers=ix,me.transforms=Xd,me.Ast=Xe,me.Tag=Dt,me.Tokenizer=of,me.parseTags=Jd,me.transformer=Xr,me.validator=lf,me.parse=Cu,me.transform=Au,me.validate=wu,me.createElement=Mx,me.truthy=Nn,me.format=Ji,me);function Nx(r){return r.replace(/([\\`*_[\]<])/g,"\\$1").replace(/^(\s*)([#>-])/gm,"$1\\$2").replace(/^(\s*\d+)\./gm,"$1\\.")}function Ix(r,e=[]){var i;let t=r;e.some(s=>s.type==="code")&&(t=`\`${t}\``),e.some(s=>s.type==="bold")&&(t=`**${t}**`),e.some(s=>s.type==="italic")&&(t=`_${t}_`),e.some(s=>s.type==="strike")&&(t=`~~${t}~~`);const n=e.find(s=>s.type==="link");if(n){const s=String(((i=n.attrs)==null?void 0:i.href)??"");t=`[${t}](${s})`}return t}function Eu(r=[]){return r.map(e=>{var n;if(e.type==="hardBreak")return`\\
136
- `;if(e.type!=="text")return"";const t=((n=e.marks)==null?void 0:n.some(i=>i.type==="code"))??!1;return Ix(t?e.text??"":Nx(e.text??""),e.marks)}).join("")}function Su(r,e,t){return r.split(`
125
+ `}var Nk={html:ti,react:Tk,reactStatic:Ok},Ik=class{validate(r,e){const{partials:t={}}=e;return t[r]?[]:[{id:"attribute-value-invalid",level:"error",message:`Partial \`${r}\` not found. The 'file' attribute must be set in \`config.partials\``}]}},Bk={inline:!1,selfClosing:!0,attributes:{file:{type:Ik,render:!1,required:!0},variables:{type:Object,render:!1}},transform(r,e){const{partials:t={}}=e,{file:n,variables:i}=r.attributes,s=t[n];if(!s)return null;const o={...e,variables:{...e.variables,...i,"$$partial:filename":n}},l=a=>a.resolve(o).transformChildren(o);return Array.isArray(s)?s.flatMap(l):l(s)}},Fk={children:["table"],inline:!1},Rk={attributes:{primary:{type:String,required:!0}}},qd={else:jb,if:Vb,partial:Bk,slot:Rk,table:Fk},$k=ds(Nd()),xi=ds(Ed());function Vd(r,e,t){try{const{type:n,meta:i,nesting:s=0}=(0,xi.parse)(e,{Variable:fs,Function:hs}),o=r.push(n,"",s);return o.info=e,o.meta=i,r.delimiters||(r.delimiters=[]),o}catch(n){if(!(n instanceof xi.SyntaxError))throw n;const{message:i,location:{start:s,end:o}}=n,l=t?{start:{offset:s.offset+t},end:{offset:o.offset+t}}:null,a=r.push("error","",0);return a.meta={error:{message:i,location:l}},a}}function Pk(r,e,t,n){const i=r.bMarks[e]+r.tShift[e],s=r.eMarks[e];if(!r.src.startsWith(Re,i))return!1;const o=On(r.src,i),l=r.src.slice(0,s).trim().length;if(!o||o<l-Et.length)return!1;const a=i+Re.length,u=r.src.slice(a,o).trim(),c=r.src.slice(i,o+Et.length).split(`
126
+ `).length;if(u[0]==="$")return!1;if(n)return!0;const d=Vd(r,u,a);return d.map=[e,e+c],r.line+=c,!0}function Lk(r,e){if(!r.src.startsWith(Re,r.pos))return!1;const t=On(r.src,r.pos);if(!t)return!1;const n=r.src.slice(r.pos+Re.length,t);return e||Vd(r,n.trim()),r.pos=t+Et.length,!0}function zk(r){var t,n;let e;for(e of r.tokens)if(e.type==="fence"){if(e.info.includes(Re)){const i=e.info.indexOf(Re),s=On(e.info,i),o=e.info.slice(i+Re.length,s);try{const{meta:l}=(0,xi.parse)(o.trim(),{Variable:fs,Function:hs});e.meta=l}catch(l){if(!(l instanceof xi.SyntaxError))throw l;e.errors||(e.errors=[]),e.errors.push({id:"fence-tag-error",level:"error",message:`Syntax error in fence tag: ${l.message}`})}}(n=(t=e==null?void 0:e.meta)==null?void 0:t.attributes)!=null&&n.find(i=>i.name==="process"&&!i.value)||(e.children=Bd(e.content,e.map[0]))}}function qk(r){r.block.ruler.before("paragraph","annotations",Pk,{alt:["paragraph","blockquote"]}),r.inline.ruler.push("containers",Lk),r.core.ruler.push("annotations",zk)}var jd="---";function Hd(r,e){return r.src.slice(r.bMarks[e],r.eMarks[e]).trim()}function Vk(r,e){for(let t=1;t<e;t++)if(Hd(r,t)===jd)return t}function jk(r,e,t,n){if(e!=0||Hd(r,0)!=jd)return!1;const i=Vk(r,t);if(!i)return!1;if(n)return!0;const s=r.push("frontmatter","",0);return s.content=r.src.slice(r.eMarks[0],r.bMarks[i]).trim(),s.map=[0,i],s.hidden=!0,r.line=i+1,!0}function Hk(r){r.block.ruler.before("hr","frontmatter",jk)}var Ci="<!--",ko="-->";function Uk(r,e,t,n){const i=r.bMarks[e]+r.tShift[e];if(!r.src.startsWith(Ci,i))return!1;const s=r.src.indexOf(ko,i);if(s===-1)return!1;if(n)return!0;const o=r.src.slice(i+Ci.length,s),l=o.split(`
127
+ `).length,a=r.push("comment","",0);return a.content=o.trim(),a.map=[e,e+l],r.line+=l,!0}function Wk(r,e){if(!r.src.startsWith(Ci,r.pos))return!1;const t=r.src.indexOf(ko,r.pos);if(t===-1)return!1;if(e)return!0;const n=r.src.slice(r.pos+Ci.length,t),i=r.push("comment","",0);return i.content=n.trim(),r.pos=t+ko.length,!0}function Kk(r){r.block.ruler.before("table","comment",Uk,{alt:["paragraph"]}),r.inline.ruler.push("comment",Wk)}var Jk="The 'href' format cannot contain Markdoc tag or variable. URLs must be static strings.";function Gk(r){const e=r;e.errors||(e.errors=[]),e.errors.push({id:"href-format-invalid",level:"error",message:Jk})}function Zk(r,e){let t;for(t of r.tokens)t.type!=="inline"||typeof t.content!="string"||Tb(t.content,e.validatedProtocols)&&Gk(t)}function Yk(r,e){r.core.ruler.push("link_url_validation",t=>Zk(t,e))}var Ud=class{constructor(r={}){this.parser=new $k.default(r),this.parser.use(qk,"annotations",{}),this.parser.use(Hk,"frontmatter",{}),this.parser.disable(["lheading","code"]),r.allowComments&&this.parser.use(Kk,"comments",{}),r.allowLinkValidation&&this.parser.use(Yk,r.linkValidationOptions??{validatedProtocols:["http","https"]})}tokenize(r){return this.parser.parse(r.toString(),{})}},Qk={String,Number,Array,Object,Boolean};function ul(r,e,t,n){var i,s;if(!r)return!0;if(Xe.isFunction(e)&&((i=t.validation)!=null&&i.validateFunctions)){const o=(s=t.functions)==null?void 0:s[e.name];return o!=null&&o.returns?Array.isArray(o.returns)?o.returns.find(l=>l===r)!==void 0:o.returns===r:!0}if(Xe.isAst(e))return!0;if(Array.isArray(r))return r.some(o=>ul(o,e,t,n));if(typeof r=="string"&&(r=Qk[r]),typeof r=="function"){const o=new r;if(o.validate)return o.validate(e,t,n)}return e!=null&&e.constructor===r}function cl(r){return typeof r=="string"?r:Array.isArray(r)?r.map(cl).join(" | "):r.name}function Xk(r,e){var i,s;const t=(i=e.functions)==null?void 0:i[r.name],n=[];if(!t)return[{id:"function-undefined",level:"critical",message:`Undefined function: '${r.name}'`}];if(t.validate&&n.push(...t.validate(r,e)),t.parameters)for(const[o,l]of Object.entries(r.parameters)){const a=(s=t.parameters)==null?void 0:s[o];if(!a){n.push({id:"parameter-undefined",level:"error",message:`Invalid parameter: '${o}'`});continue}if(!(Xe.isAst(l)&&!Xe.isFunction(l))&&a.type){const u=ul(a.type,l,e,o);u===!1?n.push({id:"parameter-type-invalid",level:"error",message:`Parameter '${o}' of '${r.name}' must be type of '${cl(a.type)}'`}):Array.isArray(u)&&n.push(...u)}}for(const[o,{required:l}]of Object.entries(t.parameters??{}))l&&r.parameters[o]===void 0&&n.push({id:"parameter-missing-required",level:"error",message:`Missing required parameter: '${o}'`});return n}function ev(r,e){return r.length<=e?JSON.stringify(r):`[${r.slice(0,e).map(n=>JSON.stringify(n)).join(",")}, ... ${r.length-e} more]`}function Wd(r,e){var s,o;const t=r.findSchema(e),n=[...r.errors||[]];if(!t)return n.push({id:r.tag?"tag-undefined":"node-undefined",level:"critical",message:r.tag?`Undefined tag: '${r.tag}'`:`Undefined node: '${r.type}'`}),n;t.inline!=null&&r.inline!==t.inline&&n.push({id:"tag-placement-invalid",level:"critical",message:`'${r.tag}' tag should be ${t.inline?"inline":"block"}`}),t.selfClosing&&r.children.length>0&&n.push({id:"tag-selfclosing-has-children",level:"critical",message:`'${r.tag}' tag should be self-closing`});const i={...sl,...t.attributes};for(const l of Object.keys(r.slots))((s=t.slots)==null?void 0:s[l])||n.push({id:"slot-undefined",level:"error",message:`Invalid slot: '${l}'`});for(let[l,a]of Object.entries(r.attributes)){const u=i[l];if(!u){n.push({id:"attribute-undefined",level:"error",message:`Invalid attribute: '${l}'`});continue}let{type:c,matches:d,errorLevel:f}=u;if(Xe.isAst(a))if(Xe.isFunction(a)&&((o=e.validation)!=null&&o.validateFunctions))n.push(...Xk(a,e));else if(Xe.isVariable(a)&&e.variables){let h=!1,m=e.variables;for(const p of a.path){if(!Object.prototype.hasOwnProperty.call(m,p)){h=!0;break}m=m[p]}h&&n.push({id:"variable-undefined",level:"error",message:`Undefined variable: '${a.path.join(".")}'`})}else continue;if(a=a,c){const h=ul(c,a,e,l);h===!1&&n.push({id:"attribute-type-invalid",level:f||"error",message:`Attribute '${l}' must be type of '${cl(c)}'`}),Array.isArray(h)&&n.push(...h)}if(typeof d=="function"&&(d=d(e)),Array.isArray(d)&&!d.includes(a)&&n.push({id:"attribute-value-invalid",level:f||"error",message:`Attribute '${l}' must match one of ${ev(d,8)}. Got '${a}' instead.`}),d instanceof RegExp&&!d.test(a)&&n.push({id:"attribute-value-invalid",level:f||"error",message:`Attribute '${l}' must match ${d}. Got '${a}' instead.`}),typeof u.validate=="function"){const h=u.validate(a,e,l);Array.isArray(h)&&n.push(...h)}}for(const[l,{required:a}]of Object.entries(i))a&&r.attributes[l]===void 0&&n.push({id:"attribute-missing-required",level:"error",message:`Missing required attribute: '${l}'`});if(t.slots)for(const[l,{required:a}]of Object.entries(t.slots))a&&r.slots[l]===void 0&&n.push({id:"slot-missing-required",level:"error",message:`Missing required slot: '${l}'`});for(const{type:l}of r.children)t.children&&l!=="error"&&!t.children.includes(l)&&n.push({id:"child-invalid",level:"warning",message:`Can't nest '${l}' in '${r.tag||r.type}'`});if(t.validate){const l=t.validate(r,e);if(xr(l))return l.then(a=>n.concat(a));n.push(...l)}return n}function*Kd(r,e=[]){yield[r,e];for(const t of[...Object.values(r.slots),...r.children])yield*Kd(t,[...e,r])}function tv(r){var t,n;const e=r.location;return e!=null&&typeof((t=e.start)==null?void 0:t.line)=="number"&&typeof((n=e.end)==null?void 0:n.line)=="number"&&(e.file===void 0||typeof e.file=="string")}function uu(r,e){var t;return tv(e)?{type:r.type,lines:[e.location.start.line,e.location.end.line],location:{file:(t=r.location)==null?void 0:t.file,...e.location},error:e}:{type:r.type,lines:r.lines,location:r.location,error:e}}function rv(r,e){const t=[...Kd(r)].map(([n,i])=>{const s={...e,validation:{...e.validation,parents:i}},o=Wd(n,s);return xr(o)?o.then(l=>l.map(a=>uu(n,a))):o.map(l=>uu(n,l))});return t.some(xr)?Promise.all(t).then(n=>n.flat()):t.flat()}var nv=new Ud;function Jd(r={}){return{...r,tags:{...qd,...r.tags},nodes:{...ll,...r.nodes},functions:{...Pd,...r.functions}}}function cu(r,e){return typeof r=="string"&&(r=nv.tokenize(r)),Qb(r,e)}function Gd(r,e){return Array.isArray(r)?r.flatMap(t=>t.resolve(e)):r.resolve(e)}function du(r,e){const t=Jd(e),n=Gd(r,t);return Array.isArray(n)?n.flatMap(i=>i.transform(t)):n.transform(t)}function fu(r,e){const t=Jd(e);return rv(r,t)}function iv(r,e={},...t){return{name:r,attributes:e,children:t}}var me,sv=(me=class{constructor(e){this.parse=cu,this.resolve=t=>Gd(t,this.config),this.transform=t=>du(t,this.config),this.validate=t=>fu(t,this.config),this.config=e}},me.nodes=ll,me.tags=qd,me.functions=Pd,me.globalAttributes=sl,me.renderers=Nk,me.transforms=Ld,me.Ast=Xe,me.Tag=Dt,me.Tokenizer=Ud,me.parseTags=Bd,me.transformer=Qr,me.validator=Wd,me.parse=cu,me.transform=du,me.validate=fu,me.createElement=iv,me.truthy=Nn,me.format=vi,me);function ov(r){return r.replace(/([\\`*_[\]<])/g,"\\$1").replace(/^(\s*)([#>-])/gm,"$1\\$2").replace(/^(\s*\d+)\./gm,"$1\\.")}function lv(r,e=[]){var i;let t=r;e.some(s=>s.type==="code")&&(t=`\`${t}\``),e.some(s=>s.type==="bold")&&(t=`**${t}**`),e.some(s=>s.type==="italic")&&(t=`_${t}_`),e.some(s=>s.type==="strike")&&(t=`~~${t}~~`);const n=e.find(s=>s.type==="link");if(n){const s=String(((i=n.attrs)==null?void 0:i.href)??"");t=`[${t}](${s})`}return t}function hu(r=[]){return r.map(e=>{var n;if(e.type==="hardBreak")return`\\
128
+ `;if(e.type!=="text")return"";const t=((n=e.marks)==null?void 0:n.some(i=>i.type==="code"))??!1;return lv(t?e.text??"":ov(e.text??""),e.marks)}).join("")}function pu(r,e,t){return r.split(`
137
129
  `).map((n,i)=>(i===0?e:t)+n).join(`
138
- `).replace(/[ \t]+$/gm,"")}function ii(r=[]){return r.map(e=>Bx(e)).filter(e=>e!=="").join(`
130
+ `).replace(/[ \t]+$/gm,"")}function ri(r=[]){return r.map(e=>av(e)).filter(e=>e!=="").join(`
139
131
 
140
- `)}function Bx(r){var e,t,n,i;switch(r.type){case"paragraph":return Eu(r.content);case"heading":{const s=Number(((e=r.attrs)==null?void 0:e.level)??2);return`${"#".repeat(Math.min(Math.max(s,1),6))} ${Eu(r.content)}`}case"blockquote":return Su(ii(r.content),"> ","> ");case"horizontalRule":return"---";case"codeBlock":{const s=String(((t=r.attrs)==null?void 0:t.language)??""),o=((n=r.content)==null?void 0:n.map(l=>l.text??"").join(""))??"";return`\`\`\`${s}
132
+ `)}function av(r){var e,t,n,i;switch(r.type){case"paragraph":return hu(r.content);case"heading":{const s=Number(((e=r.attrs)==null?void 0:e.level)??2);return`${"#".repeat(Math.min(Math.max(s,1),6))} ${hu(r.content)}`}case"blockquote":return pu(ri(r.content),"> ","> ");case"horizontalRule":return"---";case"codeBlock":{const s=String(((t=r.attrs)==null?void 0:t.language)??""),o=((n=r.content)==null?void 0:n.map(l=>l.text??"").join(""))??"";return`\`\`\`${s}
141
133
  ${o}
142
- \`\`\``}case"bulletList":case"orderedList":{const s=r.type==="orderedList",o=Number(((i=r.attrs)==null?void 0:i.start)??1);return(r.content??[]).map((l,a)=>{const u=s?`${o+a}. `:"- ";return Su(ii(l.content),u," ".repeat(u.length))}).join(`
143
- `)}default:return r.content?ii(r.content):""}}function Du(r){var t;if(!((t=r==null?void 0:r.content)!=null&&t.length))return"";const e=ii(r.content).trim();return e===""?"":`${e}
144
- `}function _u(r,e){return(r??"").trim()===(e??"").trim()}const Fx={strong:"bold",em:"italic",s:"strike"};function $r(r,e){const t=[];for(const n of r){if(n.type==="text"){const s=String(n.attributes.content??"");s!==""&&t.push({type:"text",text:s,...e.length?{marks:e}:{}});continue}if(n.type==="softbreak"){t.push({type:"text",text:" ",...e.length?{marks:e}:{}});continue}if(n.type==="hardbreak"){t.push({type:"hardBreak"});continue}if(n.type==="code"){const s=String(n.attributes.content??"");s!==""&&t.push({type:"text",text:s,marks:[...e,{type:"code"}]});continue}if(n.type==="link"){t.push(...$r(n.children,[...e,{type:"link",attrs:{href:String(n.attributes.href??"")}}]));continue}const i=Fx[n.type];if(i){t.push(...$r(n.children,[...e,{type:i}]));continue}t.push(...$r(n.children,e))}return t}function en(r){const e=[];for(const t of r)switch(t.type){case"inline":e.push({type:"paragraph",content:$r(t.children,[])});break;case"paragraph":{const n=$r(t.children.flatMap(i=>i.type==="inline"?i.children:[i]),[]);e.push({type:"paragraph",...n.length?{content:n}:{}});break}case"heading":{const n=$r(t.children.flatMap(i=>i.type==="inline"?i.children:[i]),[]);e.push({type:"heading",attrs:{level:Number(t.attributes.level??2)},...n.length?{content:n}:{}});break}case"blockquote":e.push({type:"blockquote",content:en(t.children)});break;case"hr":e.push({type:"horizontalRule"});break;case"fence":e.push({type:"codeBlock",attrs:{language:String(t.attributes.language??"")||null},content:[{type:"text",text:String(t.attributes.content??"").trimEnd()}]});break;case"list":{const n=t.attributes.ordered===!0;e.push({type:n?"orderedList":"bulletList",content:t.children.filter(i=>i.type==="item").map(i=>({type:"listItem",content:en(i.children)}))});break}case"item":e.push({type:"listItem",content:en(t.children)});break;default:e.push(...en(t.children))}return e}function Tu(r){if(!(r!=null&&r.trim()))return{type:"doc",content:[{type:"paragraph"}]};const e=en(Ox.parse(r).children);return{type:"doc",content:e.length?e:[{type:"paragraph"}]}}const Rx=["aria-label"],$x=["title","aria-label","aria-pressed","disabled","onClick"],Px=Pe({__name:"RichTextField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=["bold","italic","heading","bulletList","orderedList","link"],f=ee(()=>i.value.toolbar??d),h=y=>f.value.includes(y),m=Hb({content:Tu(typeof t.modelValue=="string"?t.modelValue:""),editable:!(t.disabled||i.value.readonly),extensions:[qb.configure({heading:h("heading")?{levels:[2,3]}:!1,bulletList:h("bulletList")?{}:!1,orderedList:h("orderedList")?{}:!1,blockquote:h("blockquote")?{}:!1,horizontalRule:h("horizontalRule")?{}:!1,strike:h("strike")?{}:!1,code:!1,codeBlock:!1}),...h("link")?[qy.configure({openOnClick:!1,autolink:!0,protocols:["http","https","mailto","tel"],HTMLAttributes:{rel:"noopener noreferrer",target:"_blank"}})]:[]],editorProps:{attributes:{id:s,role:"textbox","aria-multiline":"true","aria-label":o.value}},onUpdate({editor:y}){const x=y.isEmpty?null:Du(y.getJSON()),k=typeof t.modelValue=="string"?t.modelValue:null;_u(x,k)||n("update:modelValue",x)}});si(()=>t.modelValue,y=>{const x=m.value;if(!x||x.isFocused)return;const k=typeof y=="string"?y:"",A=x.isEmpty?"":Du(x.getJSON());_u(k,A)||x.commands.setContent(Tu(k),!1)}),si(()=>t.disabled,y=>{var x;return(x=m.value)==null?void 0:x.setEditable(!(y||i.value.readonly))}),Yi(()=>{var y;return(y=m.value)==null?void 0:y.destroy()});function p(){const y=m.value;if(!y)return;const x=y.getAttributes("link").href,k=window.prompt("Link address",x??"https://");if(k!==null){if(k===""){y.chain().focus().extendMarkRange("link").unsetLink().run();return}if(!/^(https?:|mailto:|tel:|\/)/i.test(k)){window.alert("Links must start with http://, https://, mailto:, tel: or /");return}y.chain().focus().extendMarkRange("link").setLink({href:k}).run()}}const g=ee(()=>{const y=m.value;return y?[{feature:"bold",label:"Bold",glyph:"B",isActive:()=>y.isActive("bold"),run:()=>y.chain().focus().toggleBold().run()},{feature:"italic",label:"Italic",glyph:"I",isActive:()=>y.isActive("italic"),run:()=>y.chain().focus().toggleItalic().run()},{feature:"strike",label:"Strikethrough",glyph:"S",isActive:()=>y.isActive("strike"),run:()=>y.chain().focus().toggleStrike().run()},{feature:"heading",label:"Heading",glyph:"H2",isActive:()=>y.isActive("heading",{level:2}),run:()=>y.chain().focus().toggleHeading({level:2}).run()},{feature:"heading",label:"Subheading",glyph:"H3",isActive:()=>y.isActive("heading",{level:3}),run:()=>y.chain().focus().toggleHeading({level:3}).run()},{feature:"bulletList",label:"Bulleted list",glyph:"•",isActive:()=>y.isActive("bulletList"),run:()=>y.chain().focus().toggleBulletList().run()},{feature:"orderedList",label:"Numbered list",glyph:"1.",isActive:()=>y.isActive("orderedList"),run:()=>y.chain().focus().toggleOrderedList().run()},{feature:"blockquote",label:"Quote",glyph:"❝",isActive:()=>y.isActive("blockquote"),run:()=>y.chain().focus().toggleBlockquote().run()},{feature:"link",label:"Link",glyph:"🔗",isActive:()=>y.isActive("link"),run:p},{feature:"horizontalRule",label:"Divider",glyph:"—",isActive:()=>!1,run:()=>y.chain().focus().setHorizontalRule().run()}].filter(k=>h(k.feature)):[]});return(y,x)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[j("div",{class:Ae(["rich-text overflow-hidden rounded-sm border bg-raised focus-within:ring-2 focus-within:ring-ink/10",N(l)?"border-danger":"border-line focus-within:border-ink"])},[j("div",{class:"flex flex-wrap items-center gap-0.5 border-b border-line bg-canvas/60 px-1.5 py-1",role:"toolbar","aria-label":`${N(o)} formatting`},[(q(!0),W(Ye,null,ut(g.value,k=>(q(),W("button",{key:k.label,type:"button",title:k.label,"aria-label":k.label,"aria-pressed":k.isActive(),disabled:r.disabled||i.value.readonly,class:Ae(["h-7 min-w-7 rounded px-1.5 text-xs font-semibold transition",k.isActive()?"bg-ink text-surface":"text-muted hover:bg-raised hover:text-ink"]),onClick:A=>k.run()},Q(k.glyph),11,$x))),128))],8,Rx),Rt(N(jb),{editor:N(m),"aria-describedby":N(a)},null,8,["editor","aria-describedby"])],2)]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),Lx=["aria-describedby"],zx={class:"sr-only"},qx=["checked","disabled","onChange"],Vx=["id","value","required","disabled","aria-invalid","aria-describedby"],jx={value:""},Hx=["value"],Ux=Pe({__name:"SelectField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=ee(()=>Array.isArray(t.modelValue)?t.modelValue:typeof t.modelValue=="string"?[t.modelValue]:[]);function f(h){const m=d.value.includes(h)?d.value.filter(p=>p!==h):[...d.value,h];n("update:modelValue",m)}return(h,m)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[i.value.multiple?(q(),W("fieldset",{key:0,class:"space-y-1.5","aria-describedby":N(a)},[j("legend",zx,Q(N(o)),1),(q(!0),W(Ye,null,ut(i.value.options,p=>(q(),W("label",{key:p.value,class:"flex cursor-pointer items-center gap-2.5 rounded-sm border border-line bg-raised px-3 py-2 text-sm hover:bg-canvas"},[j("input",{type:"checkbox",checked:d.value.includes(p.value),disabled:r.disabled||i.value.readonly,class:"h-4 w-4 rounded-sm border-line text-brand focus:ring-ink/20",onChange:g=>f(p.value)},null,40,qx),_o(" "+Q(p.label),1)]))),128))],8,Lx)):(q(),W("select",{key:1,id:N(s),value:d.value[0]??"",required:i.value.required,disabled:r.disabled||i.value.readonly,"aria-invalid":N(l)?"true":void 0,"aria-describedby":N(a),class:Ae(["input",N(l)&&"input-invalid"]),onChange:m[0]||(m[0]=p=>n("update:modelValue",p.target.value||null))},[j("option",jx,Q(i.value.required?"Choose…":"Not set"),1),(q(!0),W(Ye,null,ut(i.value.options,p=>(q(),W("option",{key:p.value,value:p.value},Q(p.label),9,Hx))),128))],42,Vx))]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),Wx={class:"flex items-stretch"},Kx=["id","value","maxlength","disabled","aria-invalid","aria-describedby"],Jx=["disabled"],Gx={key:0,class:"field-hint"},Zx=Pe({__name:"SlugField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{},source:{},collection:{},exceptSlug:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=ee(()=>typeof t.modelValue=="string"?t.modelValue:""),f=je(d.value!=="");let h;si(()=>t.source,g=>{if(!(f.value||!i.value.from||!t.collection)){if(!(g!=null&&g.trim())){n("update:modelValue",null);return}clearTimeout(h),h=setTimeout(async()=>{try{const{slug:y}=await gr.entries.suggestSlug(t.collection,g,t.exceptSlug);f.value||n("update:modelValue",y||null)}catch{}},300)}});function m(g){f.value=!0;const y=g.target.value;n("update:modelValue",y===""?null:y)}function p(){var g;f.value=!1,n("update:modelValue",null),(g=t.source)!=null&&g.trim()&&t.collection&&gr.entries.suggestSlug(t.collection,t.source,t.exceptSlug).then(({slug:y})=>n("update:modelValue",y||null))}return(g,y)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[j("div",Wx,[y[0]||(y[0]=j("span",{class:"inline-flex select-none items-center rounded-l-sm border border-r-0 border-line bg-canvas px-3 font-mono text-sm text-muted","aria-hidden":"true"}," / ",-1)),j("input",{id:N(s),type:"text",value:d.value,maxlength:i.value.maxLength??96,disabled:r.disabled||i.value.readonly,"aria-invalid":N(l)?"true":void 0,"aria-describedby":N(a),class:Ae(["input rounded-l-none font-mono text-[13px]",N(l)&&"input-invalid"]),spellcheck:"false",autocomplete:"off",onInput:m},null,42,Kx),f.value&&i.value.from?(q(),W("button",{key:0,type:"button",class:"btn-ghost ml-2 shrink-0 whitespace-nowrap",disabled:r.disabled,onClick:p}," Reset ",8,Jx)):ge("",!0)]),!f.value&&i.value.from?(q(),W("p",Gx," Generated from the "+Q(i.value.from)+". Edit it to set your own. ",1)):ge("",!0)]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),Yx=["id","type","value","placeholder","maxlength","required","disabled","aria-invalid","aria-describedby"],Qx={key:0,class:"mt-1 text-right text-xs text-muted"},Hs=Pe({__name:"TextField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=ee(()=>i.value.kind==="email"?"email":i.value.kind==="url"?"url":"text"),f=ee(()=>typeof t.modelValue=="string"?t.modelValue:""),h=ee(()=>"maxLength"in i.value?i.value.maxLength??null:null),m=ee(()=>h.value!==null&&f.value.length>h.value*.7);function p(g){const y=g.target.value;n("update:modelValue",y===""?null:y)}return(g,y)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[j("input",{id:N(s),type:d.value,value:f.value,placeholder:"placeholder"in i.value?i.value.placeholder:void 0,maxlength:h.value??void 0,required:i.value.required,disabled:r.disabled||i.value.readonly,"aria-invalid":N(l)?"true":void 0,"aria-describedby":N(a),class:Ae(["input",N(l)&&"input-invalid"]),autocomplete:"off",onInput:p},null,42,Yx),m.value?(q(),W("p",Qx,Q(f.value.length)+" / "+Q(h.value),1)):ge("",!0)]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),Xx=["id","value","rows","placeholder","maxlength","required","disabled","aria-invalid","aria-describedby"],eC={key:0,class:"mt-1 text-right text-xs text-muted"},tC=Pe({__name:"TextareaField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=ee(()=>typeof t.modelValue=="string"?t.modelValue:""),f=ee(()=>i.value.maxLength!==void 0&&d.value.length>i.value.maxLength*.7);function h(m){const p=m.target.value;n("update:modelValue",p===""?null:p)}return(m,p)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[j("textarea",{id:N(s),value:d.value,rows:i.value.rows??4,placeholder:i.value.placeholder,maxlength:i.value.maxLength,required:i.value.required,disabled:r.disabled||i.value.readonly,"aria-invalid":N(l)?"true":void 0,"aria-describedby":N(a),class:Ae(["input resize-y",N(l)&&"input-invalid"]),onInput:h},null,42,Xx),f.value?(q(),W("p",eC,Q(d.value.length)+" / "+Q(i.value.maxLength),1)):ge("",!0)]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),rC={text:Hs,textarea:tC,richText:Px,number:im,boolean:Wh,date:yp,email:Hs,url:Hs,slug:Zx,select:Ux,object:Vl(()=>jl(()=>import("./ObjectField-Da0UtKTb.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),repeater:Vl(()=>jl(()=>import("./RepeaterField-DJDdoQm6.js"),__vite__mapDeps([7,1,2,3,4,8,6,5]))),relation:pm,media:em,color:ip,coordinates:hp},Mu=Pe({__name:"FieldRenderer",props:{field:{},path:{},modelValue:{},issues:{},disabled:{type:Boolean},collection:{},entrySlug:{},source:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>rC[t.field.kind]),s=ee(()=>t.field.kind==="slug"?{source:t.source,collection:t.collection,exceptSlug:t.entrySlug}:{});return(o,l)=>r.field.hidden?ge("",!0):(q(),rt(Oh(i.value),Mh({key:0,field:r.field,path:r.path,issues:r.issues,disabled:r.disabled,"model-value":r.modelValue},s.value,{"onUpdate:modelValue":l[0]||(l[0]=a=>n("update:modelValue",a))}),null,16,["field","path","issues","disabled","model-value"]))}}),nC={class:"space-y-6"},iC={key:0,class:"card p-4 sm:p-5"},sC={class:"px-1 font-mono text-[11px] font-medium uppercase tracking-[.08em] text-muted"},oC={class:"mt-3 grid grid-cols-12 gap-x-4 gap-y-5"},lC={key:1,class:"grid grid-cols-12 gap-x-4 gap-y-5"},pC=Pe({__name:"FieldList",props:{fields:{},modelValue:{},path:{},issues:{},disabled:{type:Boolean},collection:{},entrySlug:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>{const a=[];for(const[u,c]of Object.entries(t.fields)){if(c.hidden)continue;const d=c.group??null,f=a.at(-1);f&&f.name===d?f.entries.push({key:u,field:c}):a.push({name:d,entries:[{key:u,field:c}]})}return a}),s=a=>t.path?`${t.path}.${a}`:a;function o(a,u){n("update:modelValue",{...t.modelValue,[a]:u})}function l(a){if(a.kind!=="slug"||!a.from)return null;const u=t.modelValue[a.from];return typeof u=="string"?u:null}return(a,u)=>(q(),W("div",nC,[(q(!0),W(Ye,null,ut(i.value,(c,d)=>(q(),W(Ye,{key:`${c.name??"ungrouped"}-${d}`},[c.name?(q(),W("fieldset",iC,[j("legend",sC,Q(c.name),1),j("div",oC,[(q(!0),W(Ye,null,ut(c.entries,f=>(q(),W("div",{key:f.key,class:Ae(N(Hl)(f.field))},[Rt(Mu,{field:f.field,path:s(f.key),"model-value":r.modelValue[f.key],issues:r.issues,disabled:r.disabled,collection:r.collection,"entry-slug":r.entrySlug,source:l(f.field),"onUpdate:modelValue":h=>o(f.key,h)},null,8,["field","path","model-value","issues","disabled","collection","entry-slug","source","onUpdate:modelValue"])],2))),128))])])):(q(),W("div",lC,[(q(!0),W(Ye,null,ut(c.entries,f=>(q(),W("div",{key:f.key,class:Ae(N(Hl)(f.field))},[Rt(Mu,{field:f.field,path:s(f.key),"model-value":r.modelValue[f.key],issues:r.issues,disabled:r.disabled,collection:r.collection,"entry-slug":r.entrySlug,source:l(f.field),"onUpdate:modelValue":h=>o(f.key,h)},null,8,["field","path","model-value","issues","disabled","collection","entry-slug","source","onUpdate:modelValue"])],2))),128))]))],64))),128))]))}}),aC="You have unsaved changes. Leave without saving?";function mC(r){const e=je(Us(r.value)),t=je(!0),n=ee(()=>t.value&&Us(r.value)!==e.value);function i(){e.value=Us(r.value)}function s(){t.value=!1}function o(a){n.value&&a.preventDefault()}To(()=>window.addEventListener("beforeunload",o)),Nh(()=>window.removeEventListener("beforeunload",o));const l=()=>!n.value||window.confirm(aC);return Ih(l),Bh(l),{dirty:n,markClean:i,release:s}}function Us(r){return JSON.stringify(r,(e,t)=>{if(t===null||typeof t!="object"||Array.isArray(t))return t;const n=t,i={};for(const s of Object.keys(n).sort())i[s]=n[s];return i})}export{pC as _,Lh as d,mC as u,Ul as w};
145
- //# sourceMappingURL=useUnsavedChanges-F3fdXjIL.js.map
134
+ \`\`\``}case"bulletList":case"orderedList":{const s=r.type==="orderedList",o=Number(((i=r.attrs)==null?void 0:i.start)??1);return(r.content??[]).map((l,a)=>{const u=s?`${o+a}. `:"- ";return pu(ri(l.content),u," ".repeat(u.length))}).join(`
135
+ `)}default:return r.content?ri(r.content):""}}function mu(r){var t;if(!((t=r==null?void 0:r.content)!=null&&t.length))return"";const e=ri(r.content).trim();return e===""?"":`${e}
136
+ `}function gu(r,e){return(r??"").trim()===(e??"").trim()}const uv={strong:"bold",em:"italic",s:"strike"};function $r(r,e){const t=[];for(const n of r){if(n.type==="text"){const s=String(n.attributes.content??"");s!==""&&t.push({type:"text",text:s,...e.length?{marks:e}:{}});continue}if(n.type==="softbreak"){t.push({type:"text",text:" ",...e.length?{marks:e}:{}});continue}if(n.type==="hardbreak"){t.push({type:"hardBreak"});continue}if(n.type==="code"){const s=String(n.attributes.content??"");s!==""&&t.push({type:"text",text:s,marks:[...e,{type:"code"}]});continue}if(n.type==="link"){t.push(...$r(n.children,[...e,{type:"link",attrs:{href:String(n.attributes.href??"")}}]));continue}const i=uv[n.type];if(i){t.push(...$r(n.children,[...e,{type:i}]));continue}t.push(...$r(n.children,e))}return t}function Xr(r){const e=[];for(const t of r)switch(t.type){case"inline":e.push({type:"paragraph",content:$r(t.children,[])});break;case"paragraph":{const n=$r(t.children.flatMap(i=>i.type==="inline"?i.children:[i]),[]);e.push({type:"paragraph",...n.length?{content:n}:{}});break}case"heading":{const n=$r(t.children.flatMap(i=>i.type==="inline"?i.children:[i]),[]);e.push({type:"heading",attrs:{level:Number(t.attributes.level??2)},...n.length?{content:n}:{}});break}case"blockquote":e.push({type:"blockquote",content:Xr(t.children)});break;case"hr":e.push({type:"horizontalRule"});break;case"fence":e.push({type:"codeBlock",attrs:{language:String(t.attributes.language??"")||null},content:[{type:"text",text:String(t.attributes.content??"").trimEnd()}]});break;case"list":{const n=t.attributes.ordered===!0;e.push({type:n?"orderedList":"bulletList",content:t.children.filter(i=>i.type==="item").map(i=>({type:"listItem",content:Xr(i.children)}))});break}case"item":e.push({type:"listItem",content:Xr(t.children)});break;default:e.push(...Xr(t.children))}return e}function yu(r){if(!(r!=null&&r.trim()))return{type:"doc",content:[{type:"paragraph"}]};const e=Xr(sv.parse(r).children);return{type:"doc",content:e.length?e:[{type:"paragraph"}]}}const cv="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",dv="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",vo="numeric",xo="ascii",Co="alpha",on="asciinumeric",en="alphanumeric",Ao="domain",Zd="emoji",fv="scheme",hv="slashscheme",Rs="whitespace";function pv(r,e){return r in e||(e[r]=[]),e[r]}function pr(r,e,t){e[vo]&&(e[on]=!0,e[en]=!0),e[xo]&&(e[on]=!0,e[Co]=!0),e[on]&&(e[en]=!0),e[Co]&&(e[en]=!0),e[en]&&(e[Ao]=!0),e[Zd]&&(e[Ao]=!0);for(const n in e){const i=pv(n,t);i.indexOf(r)<0&&i.push(r)}}function mv(r,e){const t={};for(const n in e)e[n].indexOf(r)>=0&&(t[n]=!0);return t}function Ze(r=null){this.j={},this.jr=[],this.jd=null,this.t=r}Ze.groups={};Ze.prototype={accepts(){return!!this.t},go(r){const e=this,t=e.j[r];if(t)return t;for(let n=0;n<e.jr.length;n++){const i=e.jr[n][0],s=e.jr[n][1];if(s&&i.test(r))return s}return e.jd},has(r,e=!1){return e?r in this.j:!!this.go(r)},ta(r,e,t,n){for(let i=0;i<r.length;i++)this.tt(r[i],e,t,n)},tr(r,e,t,n){n=n||Ze.groups;let i;return e&&e.j?i=e:(i=new Ze(e),t&&n&&pr(e,t,n)),this.jr.push([r,i]),i},ts(r,e,t,n){let i=this;const s=r.length;if(!s)return i;for(let o=0;o<s-1;o++)i=i.tt(r[o]);return i.tt(r[s-1],e,t,n)},tt(r,e,t,n){n=n||Ze.groups;const i=this;if(e&&e.j)return i.j[r]=e,e;const s=e;let o,l=i.go(r);if(l?(o=new Ze,Object.assign(o.j,l.j),o.jr.push.apply(o.jr,l.jr),o.jd=l.jd,o.t=l.t):o=new Ze,s){if(n)if(o.t&&typeof o.t=="string"){const a=Object.assign(mv(o.t,n),t);pr(s,a,n)}else t&&pr(s,t,n);o.t=s}return i.j[r]=o,o}};const ne=(r,e,t,n,i)=>r.ta(e,t,n,i),ke=(r,e,t,n,i)=>r.tr(e,t,n,i),bu=(r,e,t,n,i)=>r.ts(e,t,n,i),L=(r,e,t,n,i)=>r.tt(e,t,n,i),It="WORD",wo="UWORD",Yd="ASCIINUMERICAL",Qd="ALPHANUMERICAL",wn="LOCALHOST",Eo="TLD",So="UTLD",ni="SCHEME",Ir="SLASH_SCHEME",dl="NUM",Do="WS",fl="NL",ln="OPENBRACE",an="CLOSEBRACE",Ai="OPENBRACKET",wi="CLOSEBRACKET",Ei="OPENPAREN",Si="CLOSEPAREN",Di="OPENANGLEBRACKET",_i="CLOSEANGLEBRACKET",Ti="FULLWIDTHLEFTPAREN",Mi="FULLWIDTHRIGHTPAREN",Oi="LEFTCORNERBRACKET",Ni="RIGHTCORNERBRACKET",Ii="LEFTWHITECORNERBRACKET",Bi="RIGHTWHITECORNERBRACKET",Fi="FULLWIDTHLESSTHAN",Ri="FULLWIDTHGREATERTHAN",$i="AMPERSAND",Pi="APOSTROPHE",Li="ASTERISK",Wt="AT",zi="BACKSLASH",qi="BACKTICK",Vi="CARET",mr="COLON",hl="COMMA",ji="DOLLAR",xt="DOT",Hi="EQUALS",pl="EXCLAMATION",st="HYPHEN",un="PERCENT",Ui="PIPE",Wi="PLUS",Ki="POUND",cn="QUERY",ml="QUOTE",Xd="FULLWIDTHMIDDLEDOT",gl="SEMI",Ct="SLASH",dn="TILDE",Ji="UNDERSCORE",ef="EMOJI",Gi="SYM";var tf=Object.freeze({__proto__:null,ALPHANUMERICAL:Qd,AMPERSAND:$i,APOSTROPHE:Pi,ASCIINUMERICAL:Yd,ASTERISK:Li,AT:Wt,BACKSLASH:zi,BACKTICK:qi,CARET:Vi,CLOSEANGLEBRACKET:_i,CLOSEBRACE:an,CLOSEBRACKET:wi,CLOSEPAREN:Si,COLON:mr,COMMA:hl,DOLLAR:ji,DOT:xt,EMOJI:ef,EQUALS:Hi,EXCLAMATION:pl,FULLWIDTHGREATERTHAN:Ri,FULLWIDTHLEFTPAREN:Ti,FULLWIDTHLESSTHAN:Fi,FULLWIDTHMIDDLEDOT:Xd,FULLWIDTHRIGHTPAREN:Mi,HYPHEN:st,LEFTCORNERBRACKET:Oi,LEFTWHITECORNERBRACKET:Ii,LOCALHOST:wn,NL:fl,NUM:dl,OPENANGLEBRACKET:Di,OPENBRACE:ln,OPENBRACKET:Ai,OPENPAREN:Ei,PERCENT:un,PIPE:Ui,PLUS:Wi,POUND:Ki,QUERY:cn,QUOTE:ml,RIGHTCORNERBRACKET:Ni,RIGHTWHITECORNERBRACKET:Bi,SCHEME:ni,SEMI:gl,SLASH:Ct,SLASH_SCHEME:Ir,SYM:Gi,TILDE:dn,TLD:Eo,UNDERSCORE:Ji,UTLD:So,UWORD:wo,WORD:It,WS:Do});const Ot=/[a-z]/,Jr=new RegExp("\\p{L}","u"),$s=new RegExp("\\p{Emoji}","u"),Nt=/\d/,Ps=/\s/,ku="\r",Ls=`
137
+ `,gv="️",yv="‍",zs="";let Jn=null,Gn=null;function bv(r=[]){const e={};Ze.groups=e;const t=new Ze;Jn==null&&(Jn=vu(cv)),Gn==null&&(Gn=vu(dv)),L(t,"'",Pi),L(t,"{",ln),L(t,"}",an),L(t,"[",Ai),L(t,"]",wi),L(t,"(",Ei),L(t,")",Si),L(t,"<",Di),L(t,">",_i),L(t,"(",Ti),L(t,")",Mi),L(t,"「",Oi),L(t,"」",Ni),L(t,"『",Ii),L(t,"』",Bi),L(t,"<",Fi),L(t,">",Ri),L(t,"&",$i),L(t,"*",Li),L(t,"@",Wt),L(t,"`",qi),L(t,"^",Vi),L(t,":",mr),L(t,",",hl),L(t,"$",ji),L(t,".",xt),L(t,"=",Hi),L(t,"!",pl),L(t,"-",st),L(t,"%",un),L(t,"|",Ui),L(t,"+",Wi),L(t,"#",Ki),L(t,"?",cn),L(t,'"',ml),L(t,"/",Ct),L(t,";",gl),L(t,"~",dn),L(t,"_",Ji),L(t,"\\",zi),L(t,"・",Xd);const n=ke(t,Nt,dl,{[vo]:!0});ke(n,Nt,n);const i=ke(n,Ot,Yd,{[on]:!0}),s=ke(n,Jr,Qd,{[en]:!0}),o=ke(t,Ot,It,{[xo]:!0});ke(o,Nt,i),ke(o,Ot,o),ke(i,Nt,i),ke(i,Ot,i);const l=ke(t,Jr,wo,{[Co]:!0});ke(l,Ot),ke(l,Nt,s),ke(l,Jr,l),ke(s,Nt,s),ke(s,Ot),ke(s,Jr,s);const a=L(t,Ls,fl,{[Rs]:!0}),u=L(t,ku,Do,{[Rs]:!0}),c=ke(t,Ps,Do,{[Rs]:!0});L(t,zs,c),L(u,Ls,a),L(u,zs,c),ke(u,Ps,c),L(c,ku),L(c,Ls),ke(c,Ps,c),L(c,zs,c);const d=ke(t,$s,ef,{[Zd]:!0});L(d,"#"),ke(d,$s,d),L(d,gv,d);const f=L(d,yv);L(f,"#"),ke(f,$s,d);const h=[[Ot,o],[Nt,i]],m=[[Ot,null],[Jr,l],[Nt,s]];for(let p=0;p<Jn.length;p++)jt(t,Jn[p],Eo,It,h);for(let p=0;p<Gn.length;p++)jt(t,Gn[p],So,wo,m);pr(Eo,{tld:!0,ascii:!0},e),pr(So,{utld:!0,alpha:!0},e),jt(t,"file",ni,It,h),jt(t,"mailto",ni,It,h),jt(t,"http",Ir,It,h),jt(t,"https",Ir,It,h),jt(t,"ftp",Ir,It,h),jt(t,"ftps",Ir,It,h),pr(ni,{scheme:!0,ascii:!0},e),pr(Ir,{slashscheme:!0,ascii:!0},e),r=r.sort((p,g)=>p[0]>g[0]?1:-1);for(let p=0;p<r.length;p++){const g=r[p][0],x=r[p][1]?{[fv]:!0}:{[hv]:!0};g.indexOf("-")>=0?x[Ao]=!0:Ot.test(g)?Nt.test(g)?x[on]=!0:x[xo]=!0:x[vo]=!0,bu(t,g,g,x)}return bu(t,"localhost",wn,{ascii:!0}),t.jd=new Ze(Gi),{start:t,tokens:Object.assign({groups:e},tf)}}function rf(r,e){const t=kv(e.replace(/[A-Z]/g,l=>l.toLowerCase())),n=t.length,i=[];let s=0,o=0;for(;o<n;){let l=r,a=null,u=0,c=null,d=-1,f=-1;for(;o<n&&(a=l.go(t[o]));)l=a,l.accepts()?(d=0,f=0,c=l):d>=0&&(d+=t[o].length,f++),u+=t[o].length,s+=t[o].length,o++;s-=d,o-=f,u-=d,i.push({t:c.t,v:e.slice(s-u,s),s:s-u,e:s})}return i}function kv(r){const e=[],t=r.length;let n=0;for(;n<t;){let i=r.charCodeAt(n),s,o=i<55296||i>56319||n+1===t||(s=r.charCodeAt(n+1))<56320||s>57343?r[n]:r.slice(n,n+2);e.push(o),n+=o.length}return e}function jt(r,e,t,n,i){let s;const o=e.length;for(let l=0;l<o-1;l++){const a=e[l];r.j[a]?s=r.j[a]:(s=new Ze(n),s.jr=i.slice(),r.j[a]=s),r=s}return s=new Ze(t),s.jr=i.slice(),r.j[e[o-1]]=s,s}function vu(r){const e=[],t=[];let n=0,i="0123456789";for(;n<r.length;){let s=0;for(;i.indexOf(r[n+s])>=0;)s++;if(s>0){e.push(t.join(""));for(let o=parseInt(r.substring(n,n+s),10);o>0;o--)t.pop();n+=s}else t.push(r[n]),n++}return e}const En={defaultProtocol:"http",events:null,format:xu,formatHref:xu,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function yl(r,e=null){let t=Object.assign({},En);r&&(t=Object.assign(t,r instanceof yl?r.o:r));const n=t.ignoreTags,i=[];for(let s=0;s<n.length;s++)i.push(n[s].toUpperCase());this.o=t,e&&(this.defaultRender=e),this.ignoreTags=i}yl.prototype={o:En,ignoreTags:[],defaultRender(r){return r},check(r){return this.get("validate",r.toString(),r)},get(r,e,t){const n=e!=null;let i=this.o[r];return i&&(typeof i=="object"?(i=t.t in i?i[t.t]:En[r],typeof i=="function"&&n&&(i=i(e,t))):typeof i=="function"&&n&&(i=i(e,t.t,t)),i)},getObj(r,e,t){let n=this.o[r];return typeof n=="function"&&e!=null&&(n=n(e,t.t,t)),n},render(r){const e=r.render(this);return(this.get("render",null,r)||this.defaultRender)(e,r.t,r)}};function xu(r){return r}function nf(r,e){this.t="token",this.v=r,this.tk=e}nf.prototype={isLink:!1,toString(){return this.v},toHref(r){return this.toString()},toFormattedString(r){const e=this.toString(),t=r.get("truncate",e,this),n=r.get("format",e,this);return t&&n.length>t?n.substring(0,t)+"…":n},toFormattedHref(r){return r.get("formatHref",this.toHref(r.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(r=En.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(r),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(r){return{type:this.t,value:this.toFormattedString(r),isLink:this.isLink,href:this.toFormattedHref(r),start:this.startIndex(),end:this.endIndex()}},validate(r){return r.get("validate",this.toString(),this)},render(r){const e=this,t=this.toHref(r.get("defaultProtocol")),n=r.get("formatHref",t,this),i=r.get("tagName",t,e),s=this.toFormattedString(r),o={},l=r.get("className",t,e),a=r.get("target",t,e),u=r.get("rel",t,e),c=r.getObj("attributes",t,e),d=r.getObj("events",t,e);return o.href=n,l&&(o.class=l),a&&(o.target=a),u&&(o.rel=u),c&&Object.assign(o,c),{tagName:i,attributes:o,content:s,eventListeners:d}}};function ps(r,e){class t extends nf{constructor(i,s){super(i,s),this.t=r}}for(const n in e)t.prototype[n]=e[n];return t.t=r,t}const vv=ps("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Cu=ps("text"),xv=ps("nl"),Zn=ps("url",{isLink:!0,toHref(r=En.defaultProtocol){return this.hasProtocol()?this.v:`${r}://${this.v}`},hasProtocol(){const r=this.tk;return r.length>=2&&r[0].t!==wn&&r[1].t===mr}}),it=r=>new Ze(r);function Cv({groups:r}){const e=r.domain.concat([$i,Li,Wt,zi,qi,Vi,ji,Hi,st,dl,un,Ui,Wi,Ki,Ct,Gi,dn,Ji]),t=[Pi,mr,hl,xt,pl,un,cn,ml,gl,Di,_i,ln,an,wi,Ai,Ei,Si,Ti,Mi,Oi,Ni,Ii,Bi,Fi,Ri],n=[$i,Pi,Li,zi,qi,Vi,ji,Hi,st,ln,an,un,Ui,Wi,Ki,cn,Ct,Gi,dn,Ji],i=it(),s=L(i,dn);ne(s,n,s),ne(s,r.domain,s);const o=it(),l=it(),a=it();ne(i,r.domain,o),ne(i,r.scheme,l),ne(i,r.slashscheme,a),ne(o,n,s),ne(o,r.domain,o);const u=L(o,Wt);L(s,Wt,u),L(l,Wt,u),L(a,Wt,u);const c=L(s,xt);ne(c,n,s),ne(c,r.domain,s);const d=it();ne(u,r.domain,d),ne(d,r.domain,d);const f=L(d,xt);ne(f,r.domain,d);const h=it(vv);ne(f,r.tld,h),ne(f,r.utld,h),L(u,wn,h);const m=L(d,st);L(m,st,m),ne(m,r.domain,d),ne(h,r.domain,d),L(h,xt,f),L(h,st,m);const p=L(o,st),g=L(o,xt);L(p,st,p),ne(p,r.domain,o),ne(g,n,s),ne(g,r.domain,o);const y=it(Zn);ne(g,r.tld,y),ne(g,r.utld,y),ne(y,r.domain,o),ne(y,n,s),L(y,xt,g),L(y,st,p),L(y,Wt,u);const x=L(y,mr),k=it(Zn);ne(x,r.numeric,k);const A=it(Zn),v=it();ne(A,e,A),ne(A,t,v),ne(v,e,A),ne(v,t,v),L(y,Ct,A),L(k,Ct,A);const S=L(l,mr),D=L(a,mr),_=L(D,Ct),$=L(_,Ct);ne(l,r.domain,o),L(l,xt,g),L(l,st,p),ne(a,r.domain,o),L(a,xt,g),L(a,st,p),ne(S,r.domain,A),L(S,Ct,A),L(S,cn,A),ne($,r.domain,A),ne($,e,A),L($,Ct,A);const T=[[ln,an],[Ai,wi],[Ei,Si],[Di,_i],[Ti,Mi],[Oi,Ni],[Ii,Bi],[Fi,Ri]];for(let I=0;I<T.length;I++){const[O,z]=T[I],B=L(A,O);L(v,O,B);const F=it(Zn);ne(B,e,F);const V=it();ne(B,t,V),L(B,z,A),ne(F,e,F),ne(F,t,V),ne(V,e,F),ne(V,t,V),L(F,z,A),L(V,z,A)}return L(i,wn,y),L(i,fl,xv),{start:i,tokens:tf}}function Av(r,e,t){let n=t.length,i=0,s=[],o=[];for(;i<n;){let l=r,a=null,u=null,c=0,d=null,f=-1;for(;i<n&&!(a=l.go(t[i].t));)o.push(t[i++]);for(;i<n&&(u=a||l.go(t[i].t));)a=null,l=u,l.accepts()?(f=0,d=l):f>=0&&f++,i++,c++;if(f<0)i-=c,i<n&&(o.push(t[i]),i++);else{o.length>0&&(s.push(qs(Cu,e,o)),o=[]),i-=f,c-=f;const h=d.t,m=t.slice(i-c,i);s.push(qs(h,e,m))}}return o.length>0&&s.push(qs(Cu,e,o)),s}function qs(r,e,t){const n=t[0].s,i=t[t.length-1].e,s=e.slice(n,i);return new r(s,t)}const wv=typeof console<"u"&&console&&console.warn||(()=>{}),Ev="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",he={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Sv(){return Ze.groups={},he.scanner=null,he.parser=null,he.tokenQueue=[],he.pluginQueue=[],he.customSchemes=[],he.initialized=!1,he}function Au(r,e=!1){if(he.initialized&&wv(`linkifyjs: already initialized - will not register custom scheme "${r}" ${Ev}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(r))throw new Error(`linkifyjs: incorrect scheme format.
138
+ 1. Must only contain digits, lowercase ASCII letters or "-"
139
+ 2. Cannot start or end with "-"
140
+ 3. "-" cannot repeat`);he.customSchemes.push([r,e])}function Dv(){he.scanner=bv(he.customSchemes);for(let r=0;r<he.tokenQueue.length;r++)he.tokenQueue[r][1]({scanner:he.scanner});he.parser=Cv(he.scanner.tokens);for(let r=0;r<he.pluginQueue.length;r++)he.pluginQueue[r][1]({scanner:he.scanner,parser:he.parser});return he.initialized=!0,he}function bl(r){return he.initialized||Dv(),Av(he.parser.start,r,rf(he.scanner.start,r))}bl.scan=rf;function sf(r,e=null,t=null){if(e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const n=new yl(t),i=bl(r),s=[];for(let o=0;o<i.length;o++){const l=i[o];l.isLink&&(!e||l.t===e)&&n.check(l)&&s.push(l.toFormattedObject(n))}return s}const kl="[\0-   ᠎ -\u2029  ]",_v=new RegExp(kl),Tv=new RegExp(`${kl}$`),Mv=new RegExp(kl,"g");function Ov(r){return r.length===1?r[0].isLink:r.length===3&&r[1].isLink?["()","[]"].includes(r[0].value+r[2].value):!1}function Nv(r){return new Le({key:new nt("autolink"),appendTransaction:(e,t,n)=>{const i=e.some(u=>u.docChanged)&&!t.doc.eq(n.doc),s=e.some(u=>u.getMeta("preventAutolink"));if(!i||s)return;const{tr:o}=n,l=S1(t.doc,[...e]);if(B1(l).forEach(({newRange:u})=>{const c=_1(n.doc,u,h=>h.isTextblock);let d,f;if(c.length>1)d=c[0],f=n.doc.textBetween(d.pos,d.pos+d.node.nodeSize,void 0," ");else if(c.length){const h=n.doc.textBetween(u.from,u.to," "," ");if(!Tv.test(h))return;d=c[0],f=n.doc.textBetween(d.pos,u.to,void 0," ")}if(d&&f){const h=f.split(_v).filter(Boolean);if(h.length<=0)return!1;const m=h[h.length-1],p=d.pos+f.lastIndexOf(m);if(!m)return!1;const g=bl(m).map(y=>y.toObject(r.defaultProtocol));if(!Ov(g))return!1;g.filter(y=>y.isLink).map(y=>({...y,from:p+y.start+1,to:p+y.end+1})).filter(y=>n.schema.marks.code?!n.doc.rangeHasMark(y.from,y.to,n.schema.marks.code):!0).filter(y=>r.validate(y.value)).filter(y=>r.shouldAutoLink(y.value)).forEach(y=>{Qo(y.from,y.to,n.doc).some(x=>x.mark.type===r.type)||o.addMark(y.from,y.to,r.type.create({href:y.href}))})}}),!!o.steps.length)return o}})}function Iv(r){return new Le({key:new nt("handleClickLink"),props:{handleClick:(e,t,n)=>{var i,s;if(n.button!==0||!e.editable)return!1;let o=n.target;const l=[];for(;o.nodeName!=="DIV";)l.push(o),o=o.parentNode;if(!l.find(f=>f.nodeName==="A"))return!1;const a=Cd(e.state,r.type.name),u=n.target,c=(i=u==null?void 0:u.href)!==null&&i!==void 0?i:a.href,d=(s=u==null?void 0:u.target)!==null&&s!==void 0?s:a.target;return u&&c?(window.open(c,d),!0):!1}}})}function Bv(r){return new Le({key:new nt("handlePasteLink"),props:{handlePaste:(e,t,n)=>{const{state:i}=e,{selection:s}=i,{empty:o}=s;if(o)return!1;let l="";n.content.forEach(u=>{l+=u.textContent});const a=sf(l,{defaultProtocol:r.defaultProtocol}).find(u=>u.isLink&&u.value===l);return!l||!a?!1:r.editor.commands.setMark(r.type,{href:a.href})}}})}function ar(r,e){const t=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(n=>{const i=typeof n=="string"?n:n.scheme;i&&t.push(i)}),!r||r.replace(Mv,"").match(new RegExp(`^(?:(?:${t.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const Fv=qt.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(r=>{if(typeof r=="string"){Au(r);return}Au(r.scheme,r.optionalSlashes)})},onDestroy(){Sv()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(r,e)=>!!ar(r,e.protocols),validate:r=>!!r,shouldAutoLink:r=>!!r}},addAttributes(){return{href:{default:null,parseHTML(r){return r.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:r=>{const e=r.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!ar(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:r}){return this.options.isAllowedUri(r.href,{defaultValidate:e=>!!ar(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",$e(this.options.HTMLAttributes,r),0]:["a",$e(this.options.HTMLAttributes,{...r,href:""}),0]},addCommands(){return{setLink:r=>({chain:e})=>{const{href:t}=r;return this.options.isAllowedUri(t,{defaultValidate:n=>!!ar(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,r).setMeta("preventAutolink",!0).run():!1},toggleLink:r=>({chain:e})=>{const{href:t}=r;return this.options.isAllowedUri(t,{defaultValidate:n=>!!ar(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().toggleMark(this.name,r,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run():!1},unsetLink:()=>({chain:r})=>r().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Sr({find:r=>{const e=[];if(r){const{protocols:t,defaultProtocol:n}=this.options,i=sf(r).filter(s=>s.isLink&&this.options.isAllowedUri(s.value,{defaultValidate:o=>!!ar(o,t),protocols:t,defaultProtocol:n}));i.length&&i.forEach(s=>e.push({text:s.value,data:{href:s.href},index:s.start}))}return e},type:this.type,getAttributes:r=>{var e;return{href:(e=r.data)===null||e===void 0?void 0:e.href}}})]},addProseMirrorPlugins(){const r=[],{protocols:e,defaultProtocol:t}=this.options;return this.options.autolink&&r.push(Nv({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:n=>this.options.isAllowedUri(n,{defaultValidate:i=>!!ar(i,e),protocols:e,defaultProtocol:t}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&r.push(Iv({type:this.type})),this.options.linkOnPaste&&r.push(Bv({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),r}}),Rv=/^\s*>\s$/,$v=bt.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:r}){return["blockquote",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setBlockquote:()=>({commands:r})=>r.wrapIn(this.name),toggleBlockquote:()=>({commands:r})=>r.toggleWrap(this.name),unsetBlockquote:()=>({commands:r})=>r.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[Cn({find:Rv,type:this.type})]}}),Pv=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,Lv=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,zv=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,qv=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,Vv=qt.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:r=>r.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:r=>r.type.name===this.name},{style:"font-weight",getAttrs:r=>/^(bold(er)?|[5-9]\d{2,})$/.test(r)&&null}]},renderHTML({HTMLAttributes:r}){return["strong",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setBold:()=>({commands:r})=>r.setMark(this.name),toggleBold:()=>({commands:r})=>r.toggleMark(this.name),unsetBold:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[jr({find:Pv,type:this.type}),jr({find:zv,type:this.type})]},addPasteRules(){return[Sr({find:Lv,type:this.type}),Sr({find:qv,type:this.type})]}}),jv="listItem",wu="textStyle",Eu=/^\s*([-+*])\s$/,Hv=bt.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:r}){return["ul",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{toggleBulletList:()=>({commands:r,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(jv,this.editor.getAttributes(wu)).run():r.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let r=Cn({find:Eu,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(r=Cn({find:Eu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(wu),editor:this.editor})),[r]}}),Uv=/(^|[^`])`([^`]+)`(?!`)/,Wv=/(^|[^`])`([^`]+)`(?!`)/g,Kv=qt.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:r}){return["code",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setCode:()=>({commands:r})=>r.setMark(this.name),toggleCode:()=>({commands:r})=>r.toggleMark(this.name),unsetCode:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[jr({find:Uv,type:this.type})]},addPasteRules(){return[Sr({find:Wv,type:this.type})]}}),Jv=/^```([a-z]+)?[\s\n]$/,Gv=/^~~~([a-z]+)?[\s\n]$/,Zv=bt.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:r=>{var e;const{languageClassPrefix:t}=this.options,s=[...((e=r.firstElementChild)===null||e===void 0?void 0:e.classList)||[]].filter(o=>o.startsWith(t)).map(o=>o.replace(t,""))[0];return s||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:r,HTMLAttributes:e}){return["pre",$e(this.options.HTMLAttributes,e),["code",{class:r.attrs.language?this.options.languageClassPrefix+r.attrs.language:null},0]]},addCommands(){return{setCodeBlock:r=>({commands:e})=>e.setNode(this.name,r),toggleCodeBlock:r=>({commands:e})=>e.toggleNode(this.name,"paragraph",r)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:r,$anchor:e}=this.editor.state.selection,t=e.pos===1;return!r||e.parent.type.name!==this.name?!1:t||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:r})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=r,{selection:t}=e,{$from:n,empty:i}=t;if(!i||n.parent.type!==this.type)return!1;const s=n.parentOffset===n.parent.nodeSize-2,o=n.parent.textContent.endsWith(`
141
+
142
+ `);return!s||!o?!1:r.chain().command(({tr:l})=>(l.delete(n.pos-2,n.pos),!0)).exitCode().run()},ArrowDown:({editor:r})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=r,{selection:t,doc:n}=e,{$from:i,empty:s}=t;if(!s||i.parent.type!==this.type||!(i.parentOffset===i.parent.nodeSize-2))return!1;const l=i.after();return l===void 0?!1:n.nodeAt(l)?r.commands.command(({tr:u})=>(u.setSelection(te.near(n.resolve(l))),!0)):r.commands.exitCode()}}},addInputRules(){return[ho({find:Jv,type:this.type,getAttributes:r=>({language:r[1]})}),ho({find:Gv,type:this.type,getAttributes:r=>({language:r[1]})})]},addProseMirrorPlugins(){return[new Le({key:new nt("codeBlockVSCodeHandler"),props:{handlePaste:(r,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const t=e.clipboardData.getData("text/plain"),n=e.clipboardData.getData("vscode-editor-data"),i=n?JSON.parse(n):void 0,s=i==null?void 0:i.mode;if(!t||!s)return!1;const{tr:o,schema:l}=r.state,a=l.text(t.replace(/\r\n?/g,`
143
+ `));return o.replaceSelectionWith(this.type.create({language:s},a)),o.selection.$from.parent.type!==this.type&&o.setSelection(Y.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),r.dispatch(o),!0}}})]}}),Yv=bt.create({name:"doc",topNode:!0,content:"block+"});function Qv(r={}){return new Le({view(e){return new Xv(e,r)}})}class Xv{constructor(e,t){var n;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.lastDragEvent=null,this.width=(n=t.width)!==null&&n!==void 0?n:1,this.color=t.color===!1?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let s=o=>{this[i](o)};return e.dom.addEventListener(i,s),{name:i,handler:s}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){if(this.cursorPos!=null&&t.doc!=e.state.doc)if(this.lastDragEvent){let n=this.computeTarget(this.lastDragEvent);n==this.cursorPos?this.updateOverlay():this.setCursor(n)}else this.updateOverlay()}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,n,i=this.editorView.dom,s=i.getBoundingClientRect(),o=s.width/i.offsetWidth,l=s.height/i.offsetHeight;if(t){let d=e.nodeBefore,f=e.nodeAfter;if(d||f){let h=this.editorView.nodeDOM(this.cursorPos-(d?d.nodeSize:0));if(h){let m=h.getBoundingClientRect(),p=d?m.bottom:m.top;d&&f&&(p=(p+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let g=this.width/2*l;n={left:m.left,right:m.right,top:p-g,bottom:p+g}}}}if(!n){let d=this.editorView.coordsAtPos(this.cursorPos),f=this.width/2*o;n={left:d.left-f,right:d.left+f,top:d.top,bottom:d.bottom}}let a=this.editorView.dom.offsetParent;this.element||(this.element=a.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",t),this.element.classList.toggle("prosemirror-dropcursor-inline",!t);let u,c;if(!a||a==document.body&&getComputedStyle(a).position=="static")u=-pageXOffset,c=-pageYOffset;else{let d=a.getBoundingClientRect(),f=d.width/a.offsetWidth,h=d.height/a.offsetHeight;u=d.left-a.scrollLeft*f,c=d.top-a.scrollTop*h}this.element.style.left=(n.left-u)/o+"px",this.element.style.top=(n.top-c)/l+"px",this.element.style.width=(n.right-n.left)/o+"px",this.element.style.height=(n.bottom-n.top)/l+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}computeTarget(e){let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),i=n&&n.type.spec.disableDropCursor,s=typeof i=="function"?i(this.editorView,t,e):i;if(!t||s)return null;let o=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let l=ac(this.editorView.state.doc,o,this.editorView.dragging.slice);l!=null&&(o=l)}return o}dragover(e){if(!this.editorView.editable)return;this.lastDragEvent=e;let t=this.computeTarget(e);t!=null&&(this.setCursor(t),this.scheduleRemoval(5e3))}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}const ex=We.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[Qv(this.options)]}});class ve extends te{constructor(e){super(e,e)}map(e,t){let n=e.resolve(t.map(this.head));return ve.valid(n)?new ve(n):te.near(n)}content(){return H.empty}eq(e){return e instanceof ve&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new ve(e.resolve(t.pos))}getBookmark(){return new vl(this.anchor)}static valid(e){let t=e.parent;if(t.inlineContent||!tx(e)||!rx(e))return!1;let n=t.type.spec.allowGapCursor;if(n!=null)return n;let i=t.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,t,n=!1){e:for(;;){if(!n&&ve.valid(e))return e;let i=e.pos,s=null;for(let o=e.depth;;o--){let l=e.node(o);if(t>0?e.indexAfter(o)<l.childCount:e.index(o)>0){s=l.child(t>0?e.indexAfter(o):e.index(o)-1);break}else if(o==0)return null;i+=t;let a=e.doc.resolve(i);if(ve.valid(a))return a}for(;;){let o=t>0?s.firstChild:s.lastChild;if(!o){if(s.isAtom&&!s.isText&&!G.isSelectable(s)){e=e.doc.resolve(i+s.nodeSize*t),n=!1;continue e}break}s=o,i+=t;let l=e.doc.resolve(i);if(ve.valid(l))return l}return null}}}ve.prototype.visible=!1;ve.findFrom=ve.findGapCursorFrom;te.jsonID("gapcursor",ve);class vl{constructor(e){this.pos=e}map(e){return new vl(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return ve.valid(t)?new ve(t):te.near(t)}}function of(r){return r.isAtom||r.spec.isolating||r.spec.createGapCursor}function tx(r){for(let e=r.depth;e>=0;e--){let t=r.index(e),n=r.node(e);if(t==0){if(n.type.spec.isolating)return!0;continue}for(let i=n.child(t-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||of(i.type))return!0;if(i.inlineContent)return!1}}return!0}function rx(r){for(let e=r.depth;e>=0;e--){let t=r.indexAfter(e),n=r.node(e);if(t==n.childCount){if(n.type.spec.isolating)return!0;continue}for(let i=n.child(t);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||of(i.type))return!0;if(i.inlineContent)return!1}}return!0}function nx(){return new Le({props:{decorations:lx,createSelectionBetween(r,e,t){return e.pos==t.pos&&ve.valid(t)?new ve(t):null},handleClick:sx,handleKeyDown:ix,handleDOMEvents:{beforeinput:ox}}})}const ix=Xc({ArrowLeft:Yn("horiz",-1),ArrowRight:Yn("horiz",1),ArrowUp:Yn("vert",-1),ArrowDown:Yn("vert",1)});function Yn(r,e){const t=r=="vert"?e>0?"down":"up":e>0?"right":"left";return function(n,i,s){let o=n.selection,l=e>0?o.$to:o.$from,a=o.empty;if(o instanceof Y){if(!s.endOfTextblock(t)||l.depth==0)return!1;a=!1,l=n.doc.resolve(e>0?l.after():l.before())}let u=ve.findGapCursorFrom(l,e,a);return u?(i&&i(n.tr.setSelection(new ve(u))),!0):!1}}function sx(r,e,t){if(!r||!r.editable)return!1;let n=r.state.doc.resolve(e);if(!ve.valid(n))return!1;let i=r.posAtCoords({left:t.clientX,top:t.clientY});return i&&i.inside>-1&&G.isSelectable(r.state.doc.nodeAt(i.inside))?!1:(r.dispatch(r.state.tr.setSelection(new ve(n))),!0)}function ox(r,e){if(e.inputType!="insertCompositionText"||!(r.state.selection instanceof ve))return!1;let{$from:t}=r.state.selection,n=t.parent.contentMatchAt(t.index()).findWrapping(r.state.schema.nodes.text);if(!n)return!1;let i=R.empty;for(let o=n.length-1;o>=0;o--)i=R.from(n[o].createAndFill(null,i));let s=r.state.tr.replace(t.pos,t.pos,new H(i,0,0));return s.setSelection(Y.near(s.doc.resolve(t.pos+1))),r.dispatch(s),!1}function lx(r){if(!(r.selection instanceof ve))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Ee.create(r.doc,[at.widget(r.selection.head,e,{key:"gapcursor"})])}const ax=We.create({name:"gapCursor",addProseMirrorPlugins(){return[nx()]},extendNodeSchema(r){var e;const t={name:r.name,options:r.options,storage:r.storage};return{allowGapCursor:(e=ie(J(r,"allowGapCursor",t)))!==null&&e!==void 0?e:null}}}),ux=bt.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:r}){return["br",$e(this.options.HTMLAttributes,r)]},renderText(){return`
144
+ `},addCommands(){return{setHardBreak:()=>({commands:r,chain:e,state:t,editor:n})=>r.first([()=>r.exitCode(),()=>r.command(()=>{const{selection:i,storedMarks:s}=t;if(i.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:l}=n.extensionManager,a=s||i.$to.parentOffset&&i.$from.marks();return e().insertContent({type:this.name}).command(({tr:u,dispatch:c})=>{if(c&&a&&o){const d=a.filter(f=>l.includes(f.type.name));u.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),cx=bt.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(r=>({tag:`h${r}`,attrs:{level:r}}))},renderHTML({node:r,HTMLAttributes:e}){return[`h${this.options.levels.includes(r.attrs.level)?r.attrs.level:this.options.levels[0]}`,$e(this.options.HTMLAttributes,e),0]},addCommands(){return{setHeading:r=>({commands:e})=>this.options.levels.includes(r.level)?e.setNode(this.name,r):!1,toggleHeading:r=>({commands:e})=>this.options.levels.includes(r.level)?e.toggleNode(this.name,"paragraph",r):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((r,e)=>({...r,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(r=>ho({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${r}})\\s$`),type:this.type,getAttributes:{level:r}}))}});var Zi=200,_e=function(){};_e.prototype.append=function(e){return e.length?(e=_e.from(e),!this.length&&e||e.length<Zi&&this.leafAppend(e)||this.length<Zi&&e.leafPrepend(this)||this.appendInner(e)):this};_e.prototype.prepend=function(e){return e.length?_e.from(e).append(this):this};_e.prototype.appendInner=function(e){return new dx(this,e)};_e.prototype.slice=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=this.length),e>=t?_e.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))};_e.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};_e.prototype.forEach=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)};_e.prototype.map=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length);var i=[];return this.forEach(function(s,o){return i.push(e(s,o))},t,n),i};_e.from=function(e){return e instanceof _e?e:e&&e.length?new lf(e):_e.empty};var lf=(function(r){function e(n){r.call(this),this.values=n}r&&(e.__proto__=r),e.prototype=Object.create(r&&r.prototype),e.prototype.constructor=e;var t={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,s){return i==0&&s==this.length?this:new e(this.values.slice(i,s))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,s,o,l){for(var a=s;a<o;a++)if(i(this.values[a],l+a)===!1)return!1},e.prototype.forEachInvertedInner=function(i,s,o,l){for(var a=s-1;a>=o;a--)if(i(this.values[a],l+a)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=Zi)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=Zi)return new e(i.flatten().concat(this.values))},t.length.get=function(){return this.values.length},t.depth.get=function(){return 0},Object.defineProperties(e.prototype,t),e})(_e);_e.empty=new lf([]);var dx=(function(r){function e(t,n){r.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return r&&(e.__proto__=r),e.prototype=Object.create(r&&r.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(n){return n<this.left.length?this.left.get(n):this.right.get(n-this.left.length)},e.prototype.forEachInner=function(n,i,s,o){var l=this.left.length;if(i<l&&this.left.forEachInner(n,i,Math.min(s,l),o)===!1||s>l&&this.right.forEachInner(n,Math.max(i-l,0),Math.min(this.length,s)-l,o+l)===!1)return!1},e.prototype.forEachInvertedInner=function(n,i,s,o){var l=this.left.length;if(i>l&&this.right.forEachInvertedInner(n,i-l,Math.max(s,l)-l,o+l)===!1||s<l&&this.left.forEachInvertedInner(n,Math.min(i,l),s,o)===!1)return!1},e.prototype.sliceInner=function(n,i){if(n==0&&i==this.length)return this;var s=this.left.length;return i<=s?this.left.slice(n,i):n>=s?this.right.slice(n-s,i-s):this.left.slice(n,s).append(this.right.slice(0,i-s))},e.prototype.leafAppend=function(n){var i=this.right.leafAppend(n);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(n){var i=this.left.leafPrepend(n);if(i)return new e(i,this.right)},e.prototype.appendInner=function(n){return this.left.depth>=Math.max(this.right.depth,n.depth)+1?new e(this.left,new e(this.right,n)):new e(this,n)},e})(_e);const fx=500;class pt{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(this.eventCount==0)return null;let n=this.items.length;for(;;n--)if(this.items.get(n-1).selection){--n;break}let i,s;t&&(i=this.remapping(n,this.items.length),s=i.maps.length);let o=e.tr,l,a,u=[],c=[];return this.items.forEach((d,f)=>{if(!d.step){i||(i=this.remapping(n,f+1),s=i.maps.length),s--,c.push(d);return}if(i){c.push(new At(d.map));let h=d.step.map(i.slice(s)),m;h&&o.maybeStep(h).doc&&(m=o.mapping.maps[o.mapping.maps.length-1],u.push(new At(m,void 0,void 0,u.length+c.length))),s--,m&&i.appendMap(m,s)}else o.maybeStep(d.step);if(d.selection)return l=i?d.selection.map(i.slice(s)):d.selection,a=new pt(this.items.slice(0,n).append(c.reverse().concat(u)),this.eventCount-1),!1},this.items.length,0),{remaining:a,transform:o,selection:l}}addTransform(e,t,n,i){let s=[],o=this.eventCount,l=this.items,a=!i&&l.length?l.get(l.length-1):null;for(let c=0;c<e.steps.length;c++){let d=e.steps[c].invert(e.docs[c]),f=new At(e.mapping.maps[c],d,t),h;(h=a&&a.merge(f))&&(f=h,c?s.pop():l=l.slice(0,l.length-1)),s.push(f),t&&(o++,t=void 0),i||(a=f)}let u=o-n.depth;return u>px&&(l=hx(l,u),o-=u),new pt(l.append(s),o)}remapping(e,t){let n=new mn;return this.items.forEach((i,s)=>{let o=i.mirrorOffset!=null&&s-i.mirrorOffset>=e?n.maps.length-i.mirrorOffset:void 0;n.appendMap(i.map,o)},e,t),n}addMaps(e){return this.eventCount==0?this:new pt(this.items.append(e.map(t=>new At(t))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],i=Math.max(0,this.items.length-t),s=e.mapping,o=e.steps.length,l=this.eventCount;this.items.forEach(f=>{f.selection&&l--},i);let a=t;this.items.forEach(f=>{let h=s.getMirror(--a);if(h==null)return;o=Math.min(o,h);let m=s.maps[h];if(f.step){let p=e.steps[h].invert(e.docs[h]),g=f.selection&&f.selection.map(s.slice(a+1,h));g&&l++,n.push(new At(m,p,g))}else n.push(new At(m))},i);let u=[];for(let f=t;f<o;f++)u.push(new At(s.maps[f]));let c=this.items.slice(0,i).append(u).append(n),d=new pt(c,l);return d.emptyItemCount()>fx&&(d=d.compress(this.items.length-n.length)),d}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,i=[],s=0;return this.items.forEach((o,l)=>{if(l>=e)i.push(o),o.selection&&s++;else if(o.step){let a=o.step.map(t.slice(n)),u=a&&a.getMap();if(n--,u&&t.appendMap(u,n),a){let c=o.selection&&o.selection.map(t.slice(n));c&&s++;let d=new At(u.invert(),a,c),f,h=i.length-1;(f=i.length&&i[h].merge(d))?i[h]=f:i.push(d)}}else o.map&&n--},this.items.length,0),new pt(_e.from(i.reverse()),s)}}pt.empty=new pt(_e.empty,0);function hx(r,e){let t;return r.forEach((n,i)=>{if(n.selection&&e--==0)return t=i,!1}),r.slice(t)}class At{constructor(e,t,n,i){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new At(t.getMap().invert(),t,this.selection)}}}class Kt{constructor(e,t,n,i,s){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=i,this.prevComposition=s}}const px=20;function mx(r,e,t,n){let i=t.getMeta(Cr),s;if(i)return i.historyState;t.getMeta(bx)&&(r=new Kt(r.done,r.undone,null,0,-1));let o=t.getMeta("appendedTransaction");if(t.steps.length==0)return r;if(o&&o.getMeta(Cr))return o.getMeta(Cr).redo?new Kt(r.done.addTransform(t,void 0,n,ii(e)),r.undone,Su(t.mapping.maps),r.prevTime,r.prevComposition):new Kt(r.done,r.undone.addTransform(t,void 0,n,ii(e)),null,r.prevTime,r.prevComposition);if(t.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let l=t.getMeta("composition"),a=r.prevTime==0||!o&&r.prevComposition!=l&&(r.prevTime<(t.time||0)-n.newGroupDelay||!gx(t,r.prevRanges)),u=o?Vs(r.prevRanges,t.mapping):Su(t.mapping.maps);return new Kt(r.done.addTransform(t,a?e.selection.getBookmark():void 0,n,ii(e)),pt.empty,u,t.time,l??r.prevComposition)}else return(s=t.getMeta("rebased"))?new Kt(r.done.rebased(t,s),r.undone.rebased(t,s),Vs(r.prevRanges,t.mapping),r.prevTime,r.prevComposition):new Kt(r.done.addMaps(t.mapping.maps),r.undone.addMaps(t.mapping.maps),Vs(r.prevRanges,t.mapping),r.prevTime,r.prevComposition)}function gx(r,e){if(!e)return!1;if(!r.docChanged)return!0;let t=!1;return r.mapping.maps[0].forEach((n,i)=>{for(let s=0;s<e.length;s+=2)n<=e[s+1]&&i>=e[s]&&(t=!0)}),t}function Su(r){let e=[];for(let t=r.length-1;t>=0&&e.length==0;t--)r[t].forEach((n,i,s,o)=>e.push(s,o));return e}function Vs(r,e){if(!r)return null;let t=[];for(let n=0;n<r.length;n+=2){let i=e.map(r[n],1),s=e.map(r[n+1],-1);i<=s&&t.push(i,s)}return t}function yx(r,e,t){let n=ii(e),i=Cr.get(e).spec.config,s=(t?r.undone:r.done).popEvent(e,n);if(!s)return null;let o=s.selection.resolve(s.transform.doc),l=(t?r.done:r.undone).addTransform(s.transform,e.selection.getBookmark(),i,n),a=new Kt(t?l:s.remaining,t?s.remaining:l,null,0,-1);return s.transform.setSelection(o).setMeta(Cr,{redo:t,historyState:a})}let js=!1,Du=null;function ii(r){let e=r.plugins;if(Du!=e){js=!1,Du=e;for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){js=!0;break}}return js}const Cr=new nt("history"),bx=new nt("closeHistory");function kx(r={}){return r={depth:r.depth||100,newGroupDelay:r.newGroupDelay||500},new Le({key:Cr,state:{init(){return new Kt(pt.empty,pt.empty,null,0,-1)},apply(e,t,n){return mx(t,n,e,r)}},config:r,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,i=n=="historyUndo"?uf:n=="historyRedo"?cf:null;return!i||!e.editable?!1:(t.preventDefault(),i(e.state,e.dispatch))}}}})}function af(r,e){return(t,n)=>{let i=Cr.getState(t);if(!i||(r?i.undone:i.done).eventCount==0)return!1;if(n){let s=yx(i,t,r);s&&n(e?s.scrollIntoView():s)}return!0}}const uf=af(!1,!0),cf=af(!0,!0),vx=We.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:r,dispatch:e})=>uf(r,e),redo:()=>({state:r,dispatch:e})=>cf(r,e)}},addProseMirrorPlugins(){return[kx(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),xx=bt.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:r}){return["hr",$e(this.options.HTMLAttributes,r)]},addCommands(){return{setHorizontalRule:()=>({chain:r,state:e})=>{if(!my(e,e.schema.nodes[this.name]))return!1;const{selection:t}=e,{$from:n,$to:i}=t,s=r();return n.parentOffset===0?s.insertContentAt({from:Math.max(n.pos-1,0),to:i.pos},{type:this.name}):R1(t)?s.insertContentAt(i.pos,{type:this.name}):s.insertContent({type:this.name}),s.command(({tr:o,dispatch:l})=>{var a;if(l){const{$to:u}=o.selection,c=u.end();if(u.nodeAfter)u.nodeAfter.isTextblock?o.setSelection(Y.create(o.doc,u.pos+1)):u.nodeAfter.isBlock?o.setSelection(G.create(o.doc,u.pos)):o.setSelection(Y.create(o.doc,u.pos));else{const d=(a=u.parent.type.contentMatch.defaultType)===null||a===void 0?void 0:a.create();d&&(o.insert(c,d),o.setSelection(Y.create(o.doc,c+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[py({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),Cx=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,Ax=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,wx=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,Ex=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,Sx=qt.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:r=>r.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:r=>r.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:r}){return["em",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setItalic:()=>({commands:r})=>r.setMark(this.name),toggleItalic:()=>({commands:r})=>r.toggleMark(this.name),unsetItalic:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[jr({find:Cx,type:this.type}),jr({find:wx,type:this.type})]},addPasteRules(){return[Sr({find:Ax,type:this.type}),Sr({find:Ex,type:this.type})]}}),Dx=bt.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:r}){return["li",$e(this.options.HTMLAttributes,r),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),_x="listItem",_u="textStyle",Tu=/^(\d+)\.\s$/,Tx=bt.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:r=>r.hasAttribute("start")?parseInt(r.getAttribute("start")||"",10):1},type:{default:null,parseHTML:r=>r.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:r}){const{start:e,...t}=r;return e===1?["ol",$e(this.options.HTMLAttributes,t),0]:["ol",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{toggleOrderedList:()=>({commands:r,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(_x,this.editor.getAttributes(_u)).run():r.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let r=Cn({find:Tu,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(r=Cn({find:Tu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(_u)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[r]}}),Mx=bt.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:r}){return["p",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setParagraph:()=>({commands:r})=>r.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),Ox=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,Nx=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,Ix=qt.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:r=>r.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:r}){return["s",$e(this.options.HTMLAttributes,r),0]},addCommands(){return{setStrike:()=>({commands:r})=>r.setMark(this.name),toggleStrike:()=>({commands:r})=>r.toggleMark(this.name),unsetStrike:()=>({commands:r})=>r.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[jr({find:Ox,type:this.type})]},addPasteRules(){return[Sr({find:Nx,type:this.type})]}}),Bx=bt.create({name:"text",group:"inline"}),Fx=We.create({name:"starterKit",addExtensions(){const r=[];return this.options.bold!==!1&&r.push(Vv.configure(this.options.bold)),this.options.blockquote!==!1&&r.push($v.configure(this.options.blockquote)),this.options.bulletList!==!1&&r.push(Hv.configure(this.options.bulletList)),this.options.code!==!1&&r.push(Kv.configure(this.options.code)),this.options.codeBlock!==!1&&r.push(Zv.configure(this.options.codeBlock)),this.options.document!==!1&&r.push(Yv.configure(this.options.document)),this.options.dropcursor!==!1&&r.push(ex.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&r.push(ax.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&r.push(ux.configure(this.options.hardBreak)),this.options.heading!==!1&&r.push(cx.configure(this.options.heading)),this.options.history!==!1&&r.push(vx.configure(this.options.history)),this.options.horizontalRule!==!1&&r.push(xx.configure(this.options.horizontalRule)),this.options.italic!==!1&&r.push(Sx.configure(this.options.italic)),this.options.listItem!==!1&&r.push(Dx.configure(this.options.listItem)),this.options.orderedList!==!1&&r.push(Tx.configure(this.options.orderedList)),this.options.paragraph!==!1&&r.push(Mx.configure(this.options.paragraph)),this.options.strike!==!1&&r.push(Ix.configure(this.options.strike)),this.options.text!==!1&&r.push(Bx.configure(this.options.text)),r}});function Rx(r){const e=t=>r.includes(t);return[Fx.configure({heading:e("heading")?{levels:[2,3]}:!1,bulletList:e("bulletList")?{}:!1,orderedList:e("orderedList")?{}:!1,blockquote:e("blockquote")?{}:!1,horizontalRule:e("horizontalRule")?{}:!1,strike:e("strike")?{}:!1}),...e("link")?[Fv.configure({openOnClick:!1,autolink:!0,protocols:["http","https","mailto","tel"],HTMLAttributes:{rel:"noopener noreferrer",target:"_blank"}})]:[]]}const $x=["aria-label"],Px=["title","aria-label","aria-pressed","disabled","onClick"],Lx=Pe({__name:"RichTextField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=["bold","italic","heading","bulletList","orderedList","link"],f=ee(()=>i.value.toolbar??d),h=y=>f.value.includes(y),m=by({content:yu(typeof t.modelValue=="string"?t.modelValue:""),editable:!(t.disabled||i.value.readonly),extensions:Rx(f.value),editorProps:{attributes:{id:s,role:"textbox","aria-multiline":"true","aria-label":o.value}},onUpdate({editor:y}){const x=y.isEmpty?null:mu(y.getJSON()),k=typeof t.modelValue=="string"?t.modelValue:null;gu(x,k)||n("update:modelValue",x)}});si(()=>t.modelValue,y=>{const x=m.value;if(!x||x.isFocused)return;const k=typeof y=="string"?y:"",A=x.isEmpty?"":mu(x.getJSON());gu(k,A)||x.commands.setContent(yu(k),!1)}),si(()=>t.disabled,y=>{var x;return(x=m.value)==null?void 0:x.setEditable(!(y||i.value.readonly))}),Yi(()=>{var y;return(y=m.value)==null?void 0:y.destroy()});function p(){const y=m.value;if(!y)return;const x=y.getAttributes("link").href,k=window.prompt("Link address",x??"https://");if(k!==null){if(k===""){y.chain().focus().extendMarkRange("link").unsetLink().run();return}if(!/^(https?:|mailto:|tel:|\/)/i.test(k)){window.alert("Links must start with http://, https://, mailto:, tel: or /");return}y.chain().focus().extendMarkRange("link").setLink({href:k}).run()}}const g=ee(()=>{const y=m.value;return y?[{feature:"bold",label:"Bold",glyph:"B",isActive:()=>y.isActive("bold"),run:()=>y.chain().focus().toggleBold().run()},{feature:"italic",label:"Italic",glyph:"I",isActive:()=>y.isActive("italic"),run:()=>y.chain().focus().toggleItalic().run()},{feature:"strike",label:"Strikethrough",glyph:"S",isActive:()=>y.isActive("strike"),run:()=>y.chain().focus().toggleStrike().run()},{feature:"heading",label:"Heading",glyph:"H2",isActive:()=>y.isActive("heading",{level:2}),run:()=>y.chain().focus().toggleHeading({level:2}).run()},{feature:"heading",label:"Subheading",glyph:"H3",isActive:()=>y.isActive("heading",{level:3}),run:()=>y.chain().focus().toggleHeading({level:3}).run()},{feature:"bulletList",label:"Bulleted list",glyph:"•",isActive:()=>y.isActive("bulletList"),run:()=>y.chain().focus().toggleBulletList().run()},{feature:"orderedList",label:"Numbered list",glyph:"1.",isActive:()=>y.isActive("orderedList"),run:()=>y.chain().focus().toggleOrderedList().run()},{feature:"blockquote",label:"Quote",glyph:"❝",isActive:()=>y.isActive("blockquote"),run:()=>y.chain().focus().toggleBlockquote().run()},{feature:"link",label:"Link",glyph:"🔗",isActive:()=>y.isActive("link"),run:p},{feature:"horizontalRule",label:"Divider",glyph:"—",isActive:()=>!1,run:()=>y.chain().focus().setHorizontalRule().run()}].filter(k=>h(k.feature)):[]});return(y,x)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[j("div",{class:Ae(["rich-text overflow-hidden rounded-sm border bg-raised focus-within:ring-2 focus-within:ring-ink/10",N(l)?"border-danger":"border-line focus-within:border-ink"])},[j("div",{class:"flex flex-wrap items-center gap-0.5 border-b border-line bg-canvas/60 px-1.5 py-1",role:"toolbar","aria-label":`${N(o)} formatting`},[(q(!0),W(Ye,null,ut(g.value,k=>(q(),W("button",{key:k.label,type:"button",title:k.label,"aria-label":k.label,"aria-pressed":k.isActive(),disabled:r.disabled||i.value.readonly,class:Ae(["h-7 min-w-7 rounded px-1.5 text-xs font-semibold transition",k.isActive()?"bg-ink text-surface":"text-muted hover:bg-raised hover:text-ink"]),onClick:A=>k.run()},Q(k.glyph),11,Px))),128))],8,$x),Rt(N(yy),{editor:N(m),"aria-describedby":N(a)},null,8,["editor","aria-describedby"])],2)]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),zx=["aria-describedby"],qx={class:"sr-only"},Vx=["checked","disabled","onChange"],jx=["id","value","required","disabled","aria-invalid","aria-describedby"],Hx={value:""},Ux=["value"],Wx=Pe({__name:"SelectField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=ee(()=>Array.isArray(t.modelValue)?t.modelValue:typeof t.modelValue=="string"?[t.modelValue]:[]);function f(h){const m=d.value.includes(h)?d.value.filter(p=>p!==h):[...d.value,h];n("update:modelValue",m)}return(h,m)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[i.value.multiple?(q(),W("fieldset",{key:0,class:"space-y-1.5","aria-describedby":N(a)},[j("legend",qx,Q(N(o)),1),(q(!0),W(Ye,null,ut(i.value.options,p=>(q(),W("label",{key:p.value,class:"flex cursor-pointer items-center gap-2.5 rounded-sm border border-line bg-raised px-3 py-2 text-sm hover:bg-canvas"},[j("input",{type:"checkbox",checked:d.value.includes(p.value),disabled:r.disabled||i.value.readonly,class:"h-4 w-4 rounded-sm border-line text-brand focus:ring-ink/20",onChange:g=>f(p.value)},null,40,Vx),_o(" "+Q(p.label),1)]))),128))],8,zx)):(q(),W("select",{key:1,id:N(s),value:d.value[0]??"",required:i.value.required,disabled:r.disabled||i.value.readonly,"aria-invalid":N(l)?"true":void 0,"aria-describedby":N(a),class:Ae(["input",N(l)&&"input-invalid"]),onChange:m[0]||(m[0]=p=>n("update:modelValue",p.target.value||null))},[j("option",Hx,Q(i.value.required?"Choose…":"Not set"),1),(q(!0),W(Ye,null,ut(i.value.options,p=>(q(),W("option",{key:p.value,value:p.value},Q(p.label),9,Ux))),128))],42,jx))]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),Kx={class:"flex items-stretch"},Jx=["id","value","maxlength","disabled","aria-invalid","aria-describedby"],Gx=["disabled"],Zx={key:0,class:"field-hint"},Yx=Pe({__name:"SlugField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{},source:{},collection:{},exceptSlug:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=ee(()=>typeof t.modelValue=="string"?t.modelValue:""),f=je(d.value!=="");let h;si(()=>t.source,g=>{if(!(f.value||!i.value.from||!t.collection)){if(!(g!=null&&g.trim())){n("update:modelValue",null);return}clearTimeout(h),h=setTimeout(async()=>{try{const{slug:y}=await gr.entries.suggestSlug(t.collection,g,t.exceptSlug);f.value||n("update:modelValue",y||null)}catch{}},300)}});function m(g){f.value=!0;const y=g.target.value;n("update:modelValue",y===""?null:y)}function p(){var g;f.value=!1,n("update:modelValue",null),(g=t.source)!=null&&g.trim()&&t.collection&&gr.entries.suggestSlug(t.collection,t.source,t.exceptSlug).then(({slug:y})=>n("update:modelValue",y||null))}return(g,y)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[j("div",Kx,[y[0]||(y[0]=j("span",{class:"inline-flex select-none items-center rounded-l-sm border border-r-0 border-line bg-canvas px-3 font-mono text-sm text-muted","aria-hidden":"true"}," / ",-1)),j("input",{id:N(s),type:"text",value:d.value,maxlength:i.value.maxLength??96,disabled:r.disabled||i.value.readonly,"aria-invalid":N(l)?"true":void 0,"aria-describedby":N(a),class:Ae(["input rounded-l-none font-mono text-[13px]",N(l)&&"input-invalid"]),spellcheck:"false",autocomplete:"off",onInput:m},null,42,Jx),f.value&&i.value.from?(q(),W("button",{key:0,type:"button",class:"btn-ghost ml-2 shrink-0 whitespace-nowrap",disabled:r.disabled,onClick:p}," Reset ",8,Gx)):ge("",!0)]),!f.value&&i.value.from?(q(),W("p",Zx," Generated from the "+Q(i.value.from)+". Edit it to set your own. ",1)):ge("",!0)]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),Qx=["id","type","value","placeholder","maxlength","required","disabled","aria-invalid","aria-describedby"],Xx={key:0,class:"mt-1 text-right text-xs text-muted"},Hs=Pe({__name:"TextField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=ee(()=>i.value.kind==="email"?"email":i.value.kind==="url"?"url":"text"),f=ee(()=>typeof t.modelValue=="string"?t.modelValue:""),h=ee(()=>"maxLength"in i.value?i.value.maxLength??null:null),m=ee(()=>h.value!==null&&f.value.length>h.value*.7);function p(g){const y=g.target.value;n("update:modelValue",y===""?null:y)}return(g,y)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[j("input",{id:N(s),type:d.value,value:f.value,placeholder:"placeholder"in i.value?i.value.placeholder:void 0,maxlength:h.value??void 0,required:i.value.required,disabled:r.disabled||i.value.readonly,"aria-invalid":N(l)?"true":void 0,"aria-describedby":N(a),class:Ae(["input",N(l)&&"input-invalid"]),autocomplete:"off",onInput:p},null,42,Qx),m.value?(q(),W("p",Xx,Q(f.value.length)+" / "+Q(h.value),1)):ge("",!0)]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),eC=["id","value","rows","placeholder","maxlength","required","disabled","aria-invalid","aria-describedby"],tC={key:0,class:"mt-1 text-right text-xs text-muted"},rC=Pe({__name:"TextareaField",props:{field:{},path:{},issues:{},disabled:{type:Boolean},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>t.field),{inputId:s,label:o,error:l,describedBy:a,hintId:u,errorId:c}=ft(t),d=ee(()=>typeof t.modelValue=="string"?t.modelValue:""),f=ee(()=>i.value.maxLength!==void 0&&d.value.length>i.value.maxLength*.7);function h(m){const p=m.target.value;n("update:modelValue",p===""?null:p)}return(m,p)=>(q(),rt(yt,{"input-id":N(s),label:N(o),description:i.value.description,required:i.value.required,error:N(l),"hint-id":N(u),"error-id":N(c)},{default:gt(()=>[j("textarea",{id:N(s),value:d.value,rows:i.value.rows??4,placeholder:i.value.placeholder,maxlength:i.value.maxLength,required:i.value.required,disabled:r.disabled||i.value.readonly,"aria-invalid":N(l)?"true":void 0,"aria-describedby":N(a),class:Ae(["input resize-y",N(l)&&"input-invalid"]),onInput:h},null,42,eC),f.value?(q(),W("p",tC,Q(d.value.length)+" / "+Q(i.value.maxLength),1)):ge("",!0)]),_:1},8,["input-id","label","description","required","error","hint-id","error-id"]))}}),nC={text:Hs,textarea:rC,richText:Lx,number:im,boolean:Wh,date:yp,email:Hs,url:Hs,slug:Yx,select:Wx,object:Vl(()=>jl(()=>import("./ObjectField-BWAzmqNb.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),repeater:Vl(()=>jl(()=>import("./RepeaterField-Dk1Wne4m.js"),__vite__mapDeps([7,1,2,3,4,8,6,5]))),relation:pm,media:em,color:ip,coordinates:hp},Mu=Pe({__name:"FieldRenderer",props:{field:{},path:{},modelValue:{},issues:{},disabled:{type:Boolean},collection:{},entrySlug:{},source:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>nC[t.field.kind]),s=ee(()=>t.field.kind==="slug"?{source:t.source,collection:t.collection,exceptSlug:t.entrySlug}:{});return(o,l)=>r.field.hidden?ge("",!0):(q(),rt(Oh(i.value),Mh({key:0,field:r.field,path:r.path,issues:r.issues,disabled:r.disabled,"model-value":r.modelValue},s.value,{"onUpdate:modelValue":l[0]||(l[0]=a=>n("update:modelValue",a))}),null,16,["field","path","issues","disabled","model-value"]))}}),iC={class:"space-y-6"},sC={key:0,class:"card p-4 sm:p-5"},oC={class:"px-1 font-mono text-[11px] font-medium uppercase tracking-[.08em] text-muted"},lC={class:"mt-3 grid grid-cols-12 gap-x-4 gap-y-5"},aC={key:1,class:"grid grid-cols-12 gap-x-4 gap-y-5"},mC=Pe({__name:"FieldList",props:{fields:{},modelValue:{},path:{},issues:{},disabled:{type:Boolean},collection:{},entrySlug:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=ee(()=>{const a=[];for(const[u,c]of Object.entries(t.fields)){if(c.hidden)continue;const d=c.group??null,f=a.at(-1);f&&f.name===d?f.entries.push({key:u,field:c}):a.push({name:d,entries:[{key:u,field:c}]})}return a}),s=a=>t.path?`${t.path}.${a}`:a;function o(a,u){n("update:modelValue",{...t.modelValue,[a]:u})}function l(a){if(a.kind!=="slug"||!a.from)return null;const u=t.modelValue[a.from];return typeof u=="string"?u:null}return(a,u)=>(q(),W("div",iC,[(q(!0),W(Ye,null,ut(i.value,(c,d)=>(q(),W(Ye,{key:`${c.name??"ungrouped"}-${d}`},[c.name?(q(),W("fieldset",sC,[j("legend",oC,Q(c.name),1),j("div",lC,[(q(!0),W(Ye,null,ut(c.entries,f=>(q(),W("div",{key:f.key,class:Ae(N(Hl)(f.field))},[Rt(Mu,{field:f.field,path:s(f.key),"model-value":r.modelValue[f.key],issues:r.issues,disabled:r.disabled,collection:r.collection,"entry-slug":r.entrySlug,source:l(f.field),"onUpdate:modelValue":h=>o(f.key,h)},null,8,["field","path","model-value","issues","disabled","collection","entry-slug","source","onUpdate:modelValue"])],2))),128))])])):(q(),W("div",aC,[(q(!0),W(Ye,null,ut(c.entries,f=>(q(),W("div",{key:f.key,class:Ae(N(Hl)(f.field))},[Rt(Mu,{field:f.field,path:s(f.key),"model-value":r.modelValue[f.key],issues:r.issues,disabled:r.disabled,collection:r.collection,"entry-slug":r.entrySlug,source:l(f.field),"onUpdate:modelValue":h=>o(f.key,h)},null,8,["field","path","model-value","issues","disabled","collection","entry-slug","source","onUpdate:modelValue"])],2))),128))]))],64))),128))]))}}),uC="You have unsaved changes. Leave without saving?";function gC(r){const e=je(Us(r.value)),t=je(!0),n=ee(()=>t.value&&Us(r.value)!==e.value);function i(){e.value=Us(r.value)}function s(){t.value=!1}function o(a){n.value&&a.preventDefault()}To(()=>window.addEventListener("beforeunload",o)),Nh(()=>window.removeEventListener("beforeunload",o));const l=()=>!n.value||window.confirm(uC);return Ih(l),Bh(l),{dirty:n,markClean:i,release:s}}function Us(r){return JSON.stringify(r,(e,t)=>{if(t===null||typeof t!="object"||Array.isArray(t))return t;const n=t,i={};for(const s of Object.keys(n).sort())i[s]=n[s];return i})}export{mC as _,Lh as d,gC as u,Ul as w};
145
+ //# sourceMappingURL=useUnsavedChanges-CCE0XMQT.js.map