@xcan-cloud/markdown 1.0.2 → 1.0.3

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 (42) hide show
  1. package/dist/{index-CMu-GgRi.cjs → index--J1mZOv6.cjs} +1 -1
  2. package/dist/{index-BNINkA9u.js → index-B2puE7Hw.js} +1 -1
  3. package/dist/{index-BSyP9C5J.cjs → index-BGS8XpK3.cjs} +1 -1
  4. package/dist/{index-C2dB3c1F.js → index-BXru8-QI.js} +1 -1
  5. package/dist/{index-CF6qUzB2.js → index-BhuhaXHm.js} +1 -1
  6. package/dist/{index-Tc1xamQI.js → index-BsJRUjqg.js} +1 -1
  7. package/dist/{index-CGGdi2b5.js → index-Bx04875h.js} +1 -1
  8. package/dist/{index-c5-9YHPM.js → index-C5Ri_0AX.js} +1 -1
  9. package/dist/index-CDtkCBJ_.cjs +37189 -0
  10. package/dist/{index-CZe2aMge.cjs → index-CLMlwLsZ.cjs} +1 -1
  11. package/dist/{index-DYEaXxo3.js → index-CLTQC4Ws.js} +1 -1
  12. package/dist/{index-DAePSMGd.js → index-CNVYJm2K.js} +1 -1
  13. package/dist/{index-CKGcOC9a.js → index-CZ7QBSCF.js} +1 -1
  14. package/dist/{index-hIIsAw_8.js → index-CZsHchmF.js} +1 -1
  15. package/dist/{index-BrzfUboA.js → index-Cp1Js3UB.js} +1 -1
  16. package/dist/{index-BY_p44_O.js → index-D-LiE0Sn.js} +1 -1
  17. package/dist/{index-m5Rgiejs.cjs → index-D2ibyWM8.cjs} +1 -1
  18. package/dist/{index-MNX0zvdN.cjs → index-D5DbXPVV.cjs} +1 -1
  19. package/dist/{index-D9SGJu9o.js → index-D9gMp3vS.js} +1 -1
  20. package/dist/{index-Cdf8O-85.cjs → index-DElVYCAV.cjs} +1 -1
  21. package/dist/{index-DDqtxCkX.js → index-DeUR7cIb.js} +1 -1
  22. package/dist/{index-ogrt0s2v.cjs → index-DgJzUFhO.cjs} +1 -1
  23. package/dist/{index-v4ODDYpi.js → index-DhciuuM3.js} +1 -1
  24. package/dist/{index-DwL_4_jw.cjs → index-Ds5dLOfO.cjs} +1 -1
  25. package/dist/{index-BsVZkhaG.cjs → index-DxrodrNz.cjs} +1 -1
  26. package/dist/{index-BJxh5h-1.js → index-KDcnmY_P.js} +1 -1
  27. package/dist/{index-D2x0nUqW.cjs → index-NcIp2AXa.cjs} +1 -1
  28. package/dist/{index-0ra47zre.cjs → index-Njgs-TRM.cjs} +1 -1
  29. package/dist/{index-C3SIPnvn.cjs → index-Skqlu5FA.cjs} +1 -1
  30. package/dist/{index-vt6Oxu4r.js → index-U0iS5-g_.js} +1 -1
  31. package/dist/{index-B3AEtE1Q.cjs → index-WjQV1yjo.cjs} +1 -1
  32. package/dist/index-d0Fk7AGW.js +78862 -0
  33. package/dist/{index-CVYerY8z.cjs → index-gomLj7Pa.cjs} +1 -1
  34. package/dist/{index-BSmF8flX.cjs → index-svt2B0mU.cjs} +1 -1
  35. package/dist/{index-D1NtOvj3.cjs → index-wwsiyOCC.cjs} +1 -1
  36. package/dist/{index-BER4fDfp.cjs → index-yuc3MS9r.cjs} +1 -1
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.mjs +1 -1
  39. package/package.json +1 -1
  40. package/dist/assets/worker-renderer-BR06vH7b.js +0 -37095
  41. package/dist/index-BzuBLwww.js +0 -41752
  42. package/dist/index-DHniRj_i.cjs +0 -94
@@ -1,94 +0,0 @@
1
- "use strict";var Bb=Object.create;var Fh=Object.defineProperty;var qb=Object.getOwnPropertyDescriptor;var Xb=Object.getOwnPropertyNames;var jb=Object.getPrototypeOf,Zb=Object.prototype.hasOwnProperty;var Ub=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Xb(e))!Zb.call(t,a)&&a!==r&&Fh(t,a,{get:()=>e[a],enumerable:!(n=qb(e,a))||n.enumerable});return t};var Yb=(t,e,r)=>(r=t!=null?Bb(jb(t)):{},Ub(e||!t||!t.__esModule?Fh(r,"default",{value:t,enumerable:!0}):r,t));const Hb=require("shiki"),Bh=require("katex"),te=require("react/jsx-runtime"),ne=require("react");var Co=typeof document<"u"?document.currentScript:null;function qh(t){if(t)throw t}function Hs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Po,Xh;function Vb(){if(Xh)return Po;Xh=1;var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(c){return typeof Array.isArray=="function"?Array.isArray(c):e.call(c)==="[object Array]"},i=function(c){if(!c||e.call(c)!=="[object Object]")return!1;var u=t.call(c,"constructor"),h=c.constructor&&c.constructor.prototype&&t.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!u&&!h)return!1;var f;for(f in c);return typeof f>"u"||t.call(c,f)},s=function(c,u){r&&u.name==="__proto__"?r(c,u.name,{enumerable:!0,configurable:!0,value:u.newValue,writable:!0}):c[u.name]=u.newValue},o=function(c,u){if(u==="__proto__")if(t.call(c,u)){if(n)return n(c,u).value}else return;return c[u]};return Po=function l(){var c,u,h,f,d,g,O=arguments[0],k=1,y=arguments.length,w=!1;for(typeof O=="boolean"&&(w=O,O=arguments[1]||{},k=2),(O==null||typeof O!="object"&&typeof O!="function")&&(O={});k<y;++k)if(c=arguments[k],c!=null)for(u in c)h=o(O,u),f=o(c,u),O!==f&&(w&&f&&(i(f)||(d=a(f)))?(d?(d=!1,g=h&&a(h)?h:[]):g=h&&i(h)?h:{},s(O,{name:u,newValue:l(w,g,f)})):typeof f<"u"&&s(O,{name:u,newValue:f}));return O},Po}var Wb=Vb();const vo=Hs(Wb);function Xl(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Gb(){const t=[],e={run:r,use:n};return e;function r(...a){let i=-1;const s=a.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...a);function o(l,...c){const u=t[++i];let h=-1;if(l){s(l);return}for(;++h<a.length;)(c[h]===null||c[h]===void 0)&&(c[h]=a[h]);a=c,u?Kb(u,o)(...c):s(null,...c)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return t.push(a),e}}function Kb(t,e){let r;return n;function n(...s){const o=t.length>s.length;let l;o&&s.push(a);try{l=t.apply(this,s)}catch(c){const u=c;if(o&&r)throw u;return a(u)}o||(l&&l.then&&typeof l.then=="function"?l.then(i,a):l instanceof Error?a(l):i(l))}function a(s,...o){r||(r=!0,e(s,...o))}function i(s){a(null,s)}}function Ea(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?jh(t.position):"start"in t||"end"in t?jh(t):"line"in t||"column"in t?jl(t):""}function jl(t){return Zh(t&&t.line)+":"+Zh(t&&t.column)}function jh(t){return jl(t&&t.start)+"-"+jl(t&&t.end)}function Zh(t){return t&&typeof t=="number"?t:1}class ft extends Error{constructor(e,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},s=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i={...r}),typeof e=="string"?a=e:!i.cause&&e&&(s=!0,a=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?i.ruleId=n:(i.source=n.slice(0,l),i.ruleId=n.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=o?o.line:void 0,this.name=Ea(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ft.prototype.file="";ft.prototype.name="";ft.prototype.reason="";ft.prototype.message="";ft.prototype.stack="";ft.prototype.column=void 0;ft.prototype.line=void 0;ft.prototype.ancestors=void 0;ft.prototype.cause=void 0;ft.prototype.fatal=void 0;ft.prototype.place=void 0;ft.prototype.ruleId=void 0;ft.prototype.source=void 0;const Vt={basename:Jb,dirname:e_,extname:t_,join:r_,sep:"/"};function Jb(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');hi(t);let r=0,n=-1,a=t.length,i;if(e===void 0||e.length===0||e.length>t.length){for(;a--;)if(t.codePointAt(a)===47){if(i){r=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":t.slice(r,n)}if(e===t)return"";let s=-1,o=e.length-1;for(;a--;)if(t.codePointAt(a)===47){if(i){r=a+1;break}}else s<0&&(i=!0,s=a+1),o>-1&&(t.codePointAt(a)===e.codePointAt(o--)?o<0&&(n=a):(o=-1,n=s));return r===n?n=s:n<0&&(n=t.length),t.slice(r,n)}function e_(t){if(hi(t),t.length===0)return".";let e=-1,r=t.length,n;for(;--r;)if(t.codePointAt(r)===47){if(n){e=r;break}}else n||(n=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function t_(t){hi(t);let e=t.length,r=-1,n=0,a=-1,i=0,s;for(;e--;){const o=t.codePointAt(e);if(o===47){if(s){n=e+1;break}continue}r<0&&(s=!0,r=e+1),o===46?a<0?a=e:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||r<0||i===0||i===1&&a===r-1&&a===n+1?"":t.slice(a,r)}function r_(...t){let e=-1,r;for(;++e<t.length;)hi(t[e]),t[e]&&(r=r===void 0?t[e]:r+"/"+t[e]);return r===void 0?".":n_(r)}function n_(t){hi(t);const e=t.codePointAt(0)===47;let r=a_(t,!e);return r.length===0&&!e&&(r="."),r.length>0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function a_(t,e){let r="",n=0,a=-1,i=0,s=-1,o,l;for(;++s<=t.length;){if(s<t.length)o=t.codePointAt(s);else{if(o===47)break;o=47}if(o===47){if(!(a===s-1||i===1))if(a!==s-1&&i===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),a=s,i=0;continue}}else if(r.length>0){r="",n=0,a=s,i=0;continue}}e&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+t.slice(a+1,s):r=t.slice(a+1,s),n=s-a-1;a=s,i=0}else o===46&&i>-1?i++:i=-1}return r}function hi(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const i_={cwd:s_};function s_(){return"/"}function Zl(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function o_(t){if(typeof t=="string")t=new URL(t);else if(!Zl(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return l_(t)}function l_(t){if(t.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const e=t.pathname;let r=-1;for(;++r<e.length;)if(e.codePointAt(r)===37&&e.codePointAt(r+1)===50){const n=e.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(e)}const Do=["history","path","basename","stem","extname","dirname"];class c_{constructor(e){let r;e?Zl(e)?r={path:e}:typeof e=="string"||u_(e)?r={value:e}:r=e:r={},this.cwd="cwd"in r?"":i_.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Do.length;){const i=Do[n];i in r&&r[i]!==void 0&&r[i]!==null&&(this[i]=i==="history"?[...r[i]]:r[i])}let a;for(a in r)Do.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?Vt.basename(this.path):void 0}set basename(e){zo(e,"basename"),Qo(e,"basename"),this.path=Vt.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Vt.dirname(this.path):void 0}set dirname(e){Uh(this.basename,"dirname"),this.path=Vt.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Vt.extname(this.path):void 0}set extname(e){if(Qo(e,"extname"),Uh(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Vt.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Zl(e)&&(e=o_(e)),zo(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Vt.basename(this.path,this.extname):void 0}set stem(e){zo(e,"stem"),Qo(e,"stem"),this.path=Vt.join(this.dirname||"",e+(this.extname||""))}fail(e,r,n){const a=this.message(e,r,n);throw a.fatal=!0,a}info(e,r,n){const a=this.message(e,r,n);return a.fatal=void 0,a}message(e,r,n){const a=new ft(e,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}}function Qo(t,e){if(t&&t.includes(Vt.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Vt.sep+"`")}function zo(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function Uh(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function u_(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const h_=(function(t){const n=this.constructor.prototype,a=n[t],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i}),f_={}.hasOwnProperty;class au extends h_{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Gb()}copy(){const e=new au;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];e.use(...n)}return e.data(vo(!0,{},this.namespace)),e}data(e,r){return typeof e=="string"?arguments.length===2?(Ro("data",this.frozen),this.namespace[e]=r,this):f_.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ro("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(e,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const r=vi(e),n=this.parser||this.Parser;return Io("parse",n),n(String(r),r)}process(e,r){const n=this;return this.freeze(),Io("process",this.parser||this.Parser),Lo("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,s){const o=vi(e),l=n.parse(o);n.run(l,o,function(u,h,f){if(u||!h||!f)return c(u);const d=h,g=n.stringify(d,f);p_(g)?f.value=g:f.result=g,c(u,f)});function c(u,h){u||!h?s(u):i?i(h):r(void 0,h)}}}processSync(e){let r=!1,n;return this.freeze(),Io("processSync",this.parser||this.Parser),Lo("processSync",this.compiler||this.Compiler),this.process(e,a),Hh("processSync","process",r),n;function a(i,s){r=!0,qh(i),n=s}}run(e,r,n){Yh(e),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?i(void 0,n):new Promise(i);function i(s,o){const l=vi(r);a.run(e,l,c);function c(u,h,f){const d=h||e;u?o(u):s?s(d):n(void 0,d,f)}}}runSync(e,r){let n=!1,a;return this.run(e,r,i),Hh("runSync","run",n),a;function i(s,o){qh(s),a=o,n=!0}}stringify(e,r){this.freeze();const n=vi(r),a=this.compiler||this.Compiler;return Lo("stringify",a),Yh(e),a(e,n)}use(e,...r){const n=this.attachers,a=this.namespace;if(Ro("use",this.frozen),e!=null)if(typeof e=="function")l(e,r);else if(typeof e=="object")Array.isArray(e)?o(e):s(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[u,...h]=c;l(u,h)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(a.settings=vo(!0,a.settings,c.settings))}function o(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){const h=c[u];i(h)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let h=-1,f=-1;for(;++h<n.length;)if(n[h][0]===c){f=h;break}if(f===-1)n.push([c,...u]);else if(u.length>0){let[d,...g]=u;const O=n[f][1];Xl(O)&&Xl(d)&&(d=vo(!0,O,d)),n[f]=[c,d,...g]}}}}const xm=new au().freeze();function Io(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function Lo(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Ro(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Yh(t){if(!Xl(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Hh(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function vi(t){return d_(t)?t:new c_(t)}function d_(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function p_(t){return typeof t=="string"||m_(t)}function m_(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const g_={};function fi(t,e){const r=g_,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Tm(t,n,a)}function Tm(t,e,r){if(O_(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return Vh(t.children,e,r)}return Array.isArray(t)?Vh(t,e,r):""}function Vh(t,e,r){const n=[];let a=-1;for(;++a<t.length;)n[a]=Tm(t[a],e,r);return n.join("")}function O_(t){return!!(t&&typeof t=="object")}const Wh=document.createElement("i");function Xa(t){const e="&"+t+";";Wh.innerHTML=e;const r=Wh.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===e?!1:r}function St(t,e,r,n){const a=t.length;let i=0,s;if(e<0?e=-e>a?0:a+e:e=e>a?a:e,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);i<n.length;)s=n.slice(i,i+1e4),s.unshift(e,0),t.splice(...s),i+=1e4,e+=1e4}function Et(t,e){return t.length>0?(St(t,t.length,0,e),t):e}const Gh={}.hasOwnProperty;function Em(t){const e={};let r=-1;for(;++r<t.length;)y_(e,t[r]);return e}function y_(t,e){let r;for(r in e){const a=(Gh.call(t,r)?t[r]:void 0)||(t[r]={}),i=e[r];let s;if(i)for(s in i){Gh.call(a,s)||(a[s]=[]);const o=i[s];k_(a[s],Array.isArray(o)?o:o?[o]:[])}}}function k_(t,e){let r=-1;const n=[];for(;++r<e.length;)(e[r].add==="after"?t:n).push(e[r]);St(t,0,0,n)}function Am(t,e){const r=Number.parseInt(t,e);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function $t(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const He=Fr(/[A-Za-z]/),Ze=Fr(/[\dA-Za-z]/),b_=Fr(/[#-'*+\--9=?A-Z^-~]/);function ks(t){return t!==null&&(t<32||t===127)}const Ul=Fr(/\d/),__=Fr(/[\dA-Fa-f]/),w_=Fr(/[!-/:-@[-`{-~]/);function K(t){return t!==null&&t<-2}function be(t){return t!==null&&(t<0||t===32)}function ce(t){return t===-2||t===-1||t===32}const Vs=Fr(new RegExp("\\p{P}|\\p{S}","u")),rn=Fr(/\s/);function Fr(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Yn(t){const e=[];let r=-1,n=0,a=0;for(;++r<t.length;){const i=t.charCodeAt(r);let s="";if(i===37&&Ze(t.charCodeAt(r+1))&&Ze(t.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const o=t.charCodeAt(r+1);i<56320&&o>56319&&o<57344?(s=String.fromCharCode(i,o),a=1):s="�"}else s=String.fromCharCode(i);s&&(e.push(t.slice(n,r),encodeURIComponent(s)),n=r+a+1,s=""),a&&(r+=a,a=0)}return e.join("")+t.slice(n)}function le(t,e,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(l){return ce(l)?(t.enter(r),o(l)):e(l)}function o(l){return ce(l)&&i++<a?(t.consume(l),o):(t.exit(r),e(l))}}const S_={tokenize:x_};function x_(t){const e=t.attempt(this.parser.constructs.contentInitial,n,a);let r;return e;function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),le(t,e,"linePrefix")}function a(o){return t.enter("paragraph"),i(o)}function i(o){const l=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,s(o)}function s(o){if(o===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(o);return}return K(o)?(t.consume(o),t.exit("chunkText"),i):(t.consume(o),s)}}const T_={tokenize:E_},Kh={tokenize:A_};function E_(t){const e=this,r=[];let n=0,a,i,s;return o;function o(P){if(n<r.length){const N=r[n];return e.containerState=N[1],t.attempt(N[0].continuation,l,c)(P)}return c(P)}function l(P){if(n++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,a&&w();const N=e.events.length;let T=N,m;for(;T--;)if(e.events[T][0]==="exit"&&e.events[T][1].type==="chunkFlow"){m=e.events[T][1].end;break}y(n);let S=N;for(;S<e.events.length;)e.events[S][1].end={...m},S++;return St(e.events,T+1,0,e.events.slice(N)),e.events.length=S,c(P)}return o(P)}function c(P){if(n===r.length){if(!a)return f(P);if(a.currentConstruct&&a.currentConstruct.concrete)return g(P);e.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(Kh,u,h)(P)}function u(P){return a&&w(),y(n),f(P)}function h(P){return e.parser.lazy[e.now().line]=n!==r.length,s=e.now().offset,g(P)}function f(P){return e.containerState={},t.attempt(Kh,d,g)(P)}function d(P){return n++,r.push([e.currentConstruct,e.containerState]),f(P)}function g(P){if(P===null){a&&w(),y(0),t.consume(P);return}return a=a||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),O(P)}function O(P){if(P===null){k(t.exit("chunkFlow"),!0),y(0),t.consume(P);return}return K(P)?(t.consume(P),k(t.exit("chunkFlow")),n=0,e.interrupt=void 0,o):(t.consume(P),O)}function k(P,N){const T=e.sliceStream(P);if(N&&T.push(null),P.previous=i,i&&(i.next=P),i=P,a.defineSkip(P.start),a.write(T),e.parser.lazy[P.start.line]){let m=a.events.length;for(;m--;)if(a.events[m][1].start.offset<s&&(!a.events[m][1].end||a.events[m][1].end.offset>s))return;const S=e.events.length;let $=S,Q,D;for(;$--;)if(e.events[$][0]==="exit"&&e.events[$][1].type==="chunkFlow"){if(Q){D=e.events[$][1].end;break}Q=!0}for(y(n),m=S;m<e.events.length;)e.events[m][1].end={...D},m++;St(e.events,$+1,0,e.events.slice(S)),e.events.length=m}}function y(P){let N=r.length;for(;N-- >P;){const T=r[N];e.containerState=T[1],T[0].exit.call(e,t)}r.length=P}function w(){a.write([null]),i=void 0,a=void 0,e.containerState._closeFlow=void 0}}function A_(t,e,r){return le(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function zn(t){if(t===null||be(t)||rn(t))return 1;if(Vs(t))return 2}function Ws(t,e,r){const n=[];let a=-1;for(;++a<t.length;){const i=t[a].resolveAll;i&&!n.includes(i)&&(e=i(e,r),n.push(i))}return e}const Yl={name:"attention",resolveAll:C_,tokenize:P_};function C_(t,e){let r=-1,n,a,i,s,o,l,c,u;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(n=r;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[n][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;l=t[n][1].end.offset-t[n][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;const h={...t[n][1].end},f={...t[r][1].start};Jh(h,-l),Jh(f,l),s={type:l>1?"strongSequence":"emphasisSequence",start:h,end:{...t[n][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...t[r][1].start},end:f},i={type:l>1?"strongText":"emphasisText",start:{...t[n][1].end},end:{...t[r][1].start}},a={type:l>1?"strong":"emphasis",start:{...s.start},end:{...o.end}},t[n][1].end={...s.start},t[r][1].start={...o.end},c=[],t[n][1].end.offset-t[n][1].start.offset&&(c=Et(c,[["enter",t[n][1],e],["exit",t[n][1],e]])),c=Et(c,[["enter",a,e],["enter",s,e],["exit",s,e],["enter",i,e]]),c=Et(c,Ws(e.parser.constructs.insideSpan.null,t.slice(n+1,r),e)),c=Et(c,[["exit",i,e],["enter",o,e],["exit",o,e],["exit",a,e]]),t[r][1].end.offset-t[r][1].start.offset?(u=2,c=Et(c,[["enter",t[r][1],e],["exit",t[r][1],e]])):u=0,St(t,n-1,r-n+3,c),r=n+c.length-u-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function P_(t,e){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=zn(n);let i;return s;function s(l){return i=l,t.enter("attentionSequence"),o(l)}function o(l){if(l===i)return t.consume(l),o;const c=t.exit("attentionSequence"),u=zn(l),h=!u||u===2&&a||r.includes(l),f=!a||a===2&&u||r.includes(n);return c._open=!!(i===42?h:h&&(a||!f)),c._close=!!(i===42?f:f&&(u||!h)),e(l)}}function Jh(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const v_={name:"autolink",tokenize:D_};function D_(t,e,r){let n=0;return a;function a(d){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(d),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),i}function i(d){return He(d)?(t.consume(d),s):d===64?r(d):c(d)}function s(d){return d===43||d===45||d===46||Ze(d)?(n=1,o(d)):c(d)}function o(d){return d===58?(t.consume(d),n=0,l):(d===43||d===45||d===46||Ze(d))&&n++<32?(t.consume(d),o):(n=0,c(d))}function l(d){return d===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(d),t.exit("autolinkMarker"),t.exit("autolink"),e):d===null||d===32||d===60||ks(d)?r(d):(t.consume(d),l)}function c(d){return d===64?(t.consume(d),u):b_(d)?(t.consume(d),c):r(d)}function u(d){return Ze(d)?h(d):r(d)}function h(d){return d===46?(t.consume(d),n=0,u):d===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(d),t.exit("autolinkMarker"),t.exit("autolink"),e):f(d)}function f(d){if((d===45||Ze(d))&&n++<63){const g=d===45?f:h;return t.consume(d),g}return r(d)}}const di={partial:!0,tokenize:Q_};function Q_(t,e,r){return n;function n(i){return ce(i)?le(t,a,"linePrefix")(i):a(i)}function a(i){return i===null||K(i)?e(i):r(i)}}const Cm={continuation:{tokenize:I_},exit:L_,name:"blockQuote",tokenize:z_};function z_(t,e,r){const n=this;return a;function a(s){if(s===62){const o=n.containerState;return o.open||(t.enter("blockQuote",{_container:!0}),o.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(s),t.exit("blockQuoteMarker"),i}return r(s)}function i(s){return ce(s)?(t.enter("blockQuotePrefixWhitespace"),t.consume(s),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(s))}}function I_(t,e,r){const n=this;return a;function a(s){return ce(s)?le(t,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return t.attempt(Cm,e,r)(s)}}function L_(t){t.exit("blockQuote")}const Pm={name:"characterEscape",tokenize:R_};function R_(t,e,r){return n;function n(i){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(i),t.exit("escapeMarker"),a}function a(i){return w_(i)?(t.enter("characterEscapeValue"),t.consume(i),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):r(i)}}const vm={name:"characterReference",tokenize:N_};function N_(t,e,r){const n=this;let a=0,i,s;return o;function o(h){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(h),t.exit("characterReferenceMarker"),l}function l(h){return h===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(h),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),i=31,s=Ze,u(h))}function c(h){return h===88||h===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(h),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),i=6,s=__,u):(t.enter("characterReferenceValue"),i=7,s=Ul,u(h))}function u(h){if(h===59&&a){const f=t.exit("characterReferenceValue");return s===Ze&&!Xa(n.sliceSerialize(f))?r(h):(t.enter("characterReferenceMarker"),t.consume(h),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return s(h)&&a++<i?(t.consume(h),u):r(h)}}const ef={partial:!0,tokenize:M_},tf={concrete:!0,name:"codeFenced",tokenize:$_};function $_(t,e,r){const n=this,a={partial:!0,tokenize:T};let i=0,s=0,o;return l;function l(m){return c(m)}function c(m){const S=n.events[n.events.length-1];return i=S&&S[1].type==="linePrefix"?S[2].sliceSerialize(S[1],!0).length:0,o=m,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(m)}function u(m){return m===o?(s++,t.consume(m),u):s<3?r(m):(t.exit("codeFencedFenceSequence"),ce(m)?le(t,h,"whitespace")(m):h(m))}function h(m){return m===null||K(m)?(t.exit("codeFencedFence"),n.interrupt?e(m):t.check(ef,O,N)(m)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||K(m)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),h(m)):ce(m)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),le(t,d,"whitespace")(m)):m===96&&m===o?r(m):(t.consume(m),f)}function d(m){return m===null||K(m)?h(m):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),g(m))}function g(m){return m===null||K(m)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),h(m)):m===96&&m===o?r(m):(t.consume(m),g)}function O(m){return t.attempt(a,N,k)(m)}function k(m){return t.enter("lineEnding"),t.consume(m),t.exit("lineEnding"),y}function y(m){return i>0&&ce(m)?le(t,w,"linePrefix",i+1)(m):w(m)}function w(m){return m===null||K(m)?t.check(ef,O,N)(m):(t.enter("codeFlowValue"),P(m))}function P(m){return m===null||K(m)?(t.exit("codeFlowValue"),w(m)):(t.consume(m),P)}function N(m){return t.exit("codeFenced"),e(m)}function T(m,S,$){let Q=0;return D;function D(v){return m.enter("lineEnding"),m.consume(v),m.exit("lineEnding"),F}function F(v){return m.enter("codeFencedFence"),ce(v)?le(m,R,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):R(v)}function R(v){return v===o?(m.enter("codeFencedFenceSequence"),Z(v)):$(v)}function Z(v){return v===o?(Q++,m.consume(v),Z):Q>=s?(m.exit("codeFencedFenceSequence"),ce(v)?le(m,W,"whitespace")(v):W(v)):$(v)}function W(v){return v===null||K(v)?(m.exit("codeFencedFence"),S(v)):$(v)}}}function M_(t,e,r){const n=this;return a;function a(s){return s===null?r(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):e(s)}}const No={name:"codeIndented",tokenize:B_},F_={partial:!0,tokenize:q_};function B_(t,e,r){const n=this;return a;function a(c){return t.enter("codeIndented"),le(t,i,"linePrefix",5)(c)}function i(c){const u=n.events[n.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):r(c)}function s(c){return c===null?l(c):K(c)?t.attempt(F_,s,l)(c):(t.enter("codeFlowValue"),o(c))}function o(c){return c===null||K(c)?(t.exit("codeFlowValue"),s(c)):(t.consume(c),o)}function l(c){return t.exit("codeIndented"),e(c)}}function q_(t,e,r){const n=this;return a;function a(s){return n.parser.lazy[n.now().line]?r(s):K(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),a):le(t,i,"linePrefix",5)(s)}function i(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(s):K(s)?a(s):r(s)}}const X_={name:"codeText",previous:Z_,resolve:j_,tokenize:U_};function j_(t){let e=t.length-4,r=3,n,a;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=r;++n<e;)if(t[n][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[e][1].type="codeTextPadding",r+=2,e-=2;break}}for(n=r-1,e++;++n<=e;)a===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(a=n):(n===e||t[n][1].type==="lineEnding")&&(t[a][1].type="codeTextData",n!==a+2&&(t[a][1].end=t[n-1][1].end,t.splice(a+2,n-a-2),e-=n-a-2,n=a+2),a=void 0);return t}function Z_(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function U_(t,e,r){let n=0,a,i;return s;function s(h){return t.enter("codeText"),t.enter("codeTextSequence"),o(h)}function o(h){return h===96?(t.consume(h),n++,o):(t.exit("codeTextSequence"),l(h))}function l(h){return h===null?r(h):h===32?(t.enter("space"),t.consume(h),t.exit("space"),l):h===96?(i=t.enter("codeTextSequence"),a=0,u(h)):K(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),l):(t.enter("codeTextData"),c(h))}function c(h){return h===null||h===32||h===96||K(h)?(t.exit("codeTextData"),l(h)):(t.consume(h),c)}function u(h){return h===96?(t.consume(h),a++,u):a===n?(t.exit("codeTextSequence"),t.exit("codeText"),e(h)):(i.type="codeTextData",c(h))}}class Y_{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,r,n){const a=r||0;this.setCursor(Math.trunc(e));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&oa(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),oa(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),oa(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const r=this.left.splice(e,Number.POSITIVE_INFINITY);oa(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);oa(this.left,r.reverse())}}}function oa(t,e){let r=0;if(e.length<1e4)t.push(...e);else for(;r<e.length;)t.push(...e.slice(r,r+1e4)),r+=1e4}function Dm(t){const e={};let r=-1,n,a,i,s,o,l,c;const u=new Y_(t);for(;++r<u.length;){for(;r in e;)r=e[r];if(n=u.get(r),r&&n[1].type==="chunkFlow"&&u.get(r-1)[1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(e,H_(u,r)),r=e[r],c=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(s=u.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(a&&(u.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=i);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;a&&(n[1].end={...u.get(a)[1].start},o=u.slice(a,r),o.unshift(n),u.splice(a,r-a+1,o))}}return St(t,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function H_(t,e){const r=t.get(e)[1],n=t.get(e)[2];let a=e-1;const i=[];let s=r._tokenizer;s||(s=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const o=s.events,l=[],c={};let u,h,f=-1,d=r,g=0,O=0;const k=[O];for(;d;){for(;t.get(++a)[1]!==d;);i.push(a),d._tokenizer||(u=n.sliceStream(d),d.next||u.push(null),h&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=d,d=d.next}for(d=r;++f<o.length;)o[f][0]==="exit"&&o[f-1][0]==="enter"&&o[f][1].type===o[f-1][1].type&&o[f][1].start.line!==o[f][1].end.line&&(O=f+1,k.push(O),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):k.pop(),f=k.length;f--;){const y=o.slice(k[f],k[f+1]),w=i.pop();l.push([w,w+y.length-1]),t.splice(w,2,y)}for(l.reverse(),f=-1;++f<l.length;)c[g+l[f][0]]=g+l[f][1],g+=l[f][1]-l[f][0]-1;return c}const V_={resolve:G_,tokenize:K_},W_={partial:!0,tokenize:J_};function G_(t){return Dm(t),t}function K_(t,e){let r;return n;function n(o){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),a(o)}function a(o){return o===null?i(o):K(o)?t.check(W_,s,i)(o):(t.consume(o),a)}function i(o){return t.exit("chunkContent"),t.exit("content"),e(o)}function s(o){return t.consume(o),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function J_(t,e,r){const n=this;return a;function a(s){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),le(t,i,"linePrefix")}function i(s){if(s===null||K(s))return r(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(s):t.interrupt(n.parser.constructs.flow,r,e)(s)}}function Qm(t,e,r,n,a,i,s,o,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return h;function h(y){return y===60?(t.enter(n),t.enter(a),t.enter(i),t.consume(y),t.exit(i),f):y===null||y===32||y===41||ks(y)?r(y):(t.enter(n),t.enter(s),t.enter(o),t.enter("chunkString",{contentType:"string"}),O(y))}function f(y){return y===62?(t.enter(i),t.consume(y),t.exit(i),t.exit(a),t.exit(n),e):(t.enter(o),t.enter("chunkString",{contentType:"string"}),d(y))}function d(y){return y===62?(t.exit("chunkString"),t.exit(o),f(y)):y===null||y===60||K(y)?r(y):(t.consume(y),y===92?g:d)}function g(y){return y===60||y===62||y===92?(t.consume(y),d):d(y)}function O(y){return!u&&(y===null||y===41||be(y))?(t.exit("chunkString"),t.exit(o),t.exit(s),t.exit(n),e(y)):u<c&&y===40?(t.consume(y),u++,O):y===41?(t.consume(y),u--,O):y===null||y===32||y===40||ks(y)?r(y):(t.consume(y),y===92?k:O)}function k(y){return y===40||y===41||y===92?(t.consume(y),O):O(y)}}function zm(t,e,r,n,a,i){const s=this;let o=0,l;return c;function c(d){return t.enter(n),t.enter(a),t.consume(d),t.exit(a),t.enter(i),u}function u(d){return o>999||d===null||d===91||d===93&&!l||d===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(d):d===93?(t.exit(i),t.enter(a),t.consume(d),t.exit(a),t.exit(n),e):K(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),h(d))}function h(d){return d===null||d===91||d===93||K(d)||o++>999?(t.exit("chunkString"),u(d)):(t.consume(d),l||(l=!ce(d)),d===92?f:h)}function f(d){return d===91||d===92||d===93?(t.consume(d),o++,h):h(d)}}function Im(t,e,r,n,a,i){let s;return o;function o(f){return f===34||f===39||f===40?(t.enter(n),t.enter(a),t.consume(f),t.exit(a),s=f===40?41:f,l):r(f)}function l(f){return f===s?(t.enter(a),t.consume(f),t.exit(a),t.exit(n),e):(t.enter(i),c(f))}function c(f){return f===s?(t.exit(i),l(s)):f===null?r(f):K(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),le(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===s||f===null||K(f)?(t.exit("chunkString"),c(f)):(t.consume(f),f===92?h:u)}function h(f){return f===s||f===92?(t.consume(f),u):u(f)}}function dr(t,e){let r;return n;function n(a){return K(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),r=!0,n):ce(a)?le(t,n,r?"linePrefix":"lineSuffix")(a):e(a)}}const e1={name:"definition",tokenize:r1},t1={partial:!0,tokenize:n1};function r1(t,e,r){const n=this;let a;return i;function i(d){return t.enter("definition"),s(d)}function s(d){return zm.call(n,t,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function o(d){return a=$t(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),d===58?(t.enter("definitionMarker"),t.consume(d),t.exit("definitionMarker"),l):r(d)}function l(d){return be(d)?dr(t,c)(d):c(d)}function c(d){return Qm(t,u,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function u(d){return t.attempt(t1,h,h)(d)}function h(d){return ce(d)?le(t,f,"whitespace")(d):f(d)}function f(d){return d===null||K(d)?(t.exit("definition"),n.parser.defined.push(a),e(d)):r(d)}}function n1(t,e,r){return n;function n(o){return be(o)?dr(t,a)(o):r(o)}function a(o){return Im(t,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return ce(o)?le(t,s,"whitespace")(o):s(o)}function s(o){return o===null||K(o)?e(o):r(o)}}const a1={name:"hardBreakEscape",tokenize:i1};function i1(t,e,r){return n;function n(i){return t.enter("hardBreakEscape"),t.consume(i),a}function a(i){return K(i)?(t.exit("hardBreakEscape"),e(i)):r(i)}}const s1={name:"headingAtx",resolve:o1,tokenize:l1};function o1(t,e){let r=t.length-2,n=3,a,i;return t[n][1].type==="whitespace"&&(n+=2),r-2>n&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&t[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(a={type:"atxHeadingText",start:t[n][1].start,end:t[r][1].end},i={type:"chunkText",start:t[n][1].start,end:t[r][1].end,contentType:"text"},St(t,n,r-n+1,[["enter",a,e],["enter",i,e],["exit",i,e],["exit",a,e]])),t}function l1(t,e,r){let n=0;return a;function a(u){return t.enter("atxHeading"),i(u)}function i(u){return t.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&n++<6?(t.consume(u),s):u===null||be(u)?(t.exit("atxHeadingSequence"),o(u)):r(u)}function o(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||K(u)?(t.exit("atxHeading"),e(u)):ce(u)?le(t,o,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),o(u))}function c(u){return u===null||u===35||be(u)?(t.exit("atxHeadingText"),o(u)):(t.consume(u),c)}}const c1=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],rf=["pre","script","style","textarea"],u1={concrete:!0,name:"htmlFlow",resolveTo:d1,tokenize:p1},h1={partial:!0,tokenize:g1},f1={partial:!0,tokenize:m1};function d1(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function p1(t,e,r){const n=this;let a,i,s,o,l;return c;function c(A){return u(A)}function u(A){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(A),h}function h(A){return A===33?(t.consume(A),f):A===47?(t.consume(A),i=!0,O):A===63?(t.consume(A),a=3,n.interrupt?e:E):He(A)?(t.consume(A),s=String.fromCharCode(A),k):r(A)}function f(A){return A===45?(t.consume(A),a=2,d):A===91?(t.consume(A),a=5,o=0,g):He(A)?(t.consume(A),a=4,n.interrupt?e:E):r(A)}function d(A){return A===45?(t.consume(A),n.interrupt?e:E):r(A)}function g(A){const Se="CDATA[";return A===Se.charCodeAt(o++)?(t.consume(A),o===Se.length?n.interrupt?e:R:g):r(A)}function O(A){return He(A)?(t.consume(A),s=String.fromCharCode(A),k):r(A)}function k(A){if(A===null||A===47||A===62||be(A)){const Se=A===47,xe=s.toLowerCase();return!Se&&!i&&rf.includes(xe)?(a=1,n.interrupt?e(A):R(A)):c1.includes(s.toLowerCase())?(a=6,Se?(t.consume(A),y):n.interrupt?e(A):R(A)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(A):i?w(A):P(A))}return A===45||Ze(A)?(t.consume(A),s+=String.fromCharCode(A),k):r(A)}function y(A){return A===62?(t.consume(A),n.interrupt?e:R):r(A)}function w(A){return ce(A)?(t.consume(A),w):D(A)}function P(A){return A===47?(t.consume(A),D):A===58||A===95||He(A)?(t.consume(A),N):ce(A)?(t.consume(A),P):D(A)}function N(A){return A===45||A===46||A===58||A===95||Ze(A)?(t.consume(A),N):T(A)}function T(A){return A===61?(t.consume(A),m):ce(A)?(t.consume(A),T):P(A)}function m(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(t.consume(A),l=A,S):ce(A)?(t.consume(A),m):$(A)}function S(A){return A===l?(t.consume(A),l=null,Q):A===null||K(A)?r(A):(t.consume(A),S)}function $(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||be(A)?T(A):(t.consume(A),$)}function Q(A){return A===47||A===62||ce(A)?P(A):r(A)}function D(A){return A===62?(t.consume(A),F):r(A)}function F(A){return A===null||K(A)?R(A):ce(A)?(t.consume(A),F):r(A)}function R(A){return A===45&&a===2?(t.consume(A),G):A===60&&a===1?(t.consume(A),ie):A===62&&a===4?(t.consume(A),J):A===63&&a===3?(t.consume(A),E):A===93&&a===5?(t.consume(A),pe):K(A)&&(a===6||a===7)?(t.exit("htmlFlowData"),t.check(h1,he,Z)(A)):A===null||K(A)?(t.exit("htmlFlowData"),Z(A)):(t.consume(A),R)}function Z(A){return t.check(f1,W,he)(A)}function W(A){return t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),v}function v(A){return A===null||K(A)?Z(A):(t.enter("htmlFlowData"),R(A))}function G(A){return A===45?(t.consume(A),E):R(A)}function ie(A){return A===47?(t.consume(A),s="",de):R(A)}function de(A){if(A===62){const Se=s.toLowerCase();return rf.includes(Se)?(t.consume(A),J):R(A)}return He(A)&&s.length<8?(t.consume(A),s+=String.fromCharCode(A),de):R(A)}function pe(A){return A===93?(t.consume(A),E):R(A)}function E(A){return A===62?(t.consume(A),J):A===45&&a===2?(t.consume(A),E):R(A)}function J(A){return A===null||K(A)?(t.exit("htmlFlowData"),he(A)):(t.consume(A),J)}function he(A){return t.exit("htmlFlow"),e(A)}}function m1(t,e,r){const n=this;return a;function a(s){return K(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),i):r(s)}function i(s){return n.parser.lazy[n.now().line]?r(s):e(s)}}function g1(t,e,r){return n;function n(a){return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),t.attempt(di,e,r)}}const O1={name:"htmlText",tokenize:y1};function y1(t,e,r){const n=this;let a,i,s;return o;function o(E){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(E),l}function l(E){return E===33?(t.consume(E),c):E===47?(t.consume(E),T):E===63?(t.consume(E),P):He(E)?(t.consume(E),$):r(E)}function c(E){return E===45?(t.consume(E),u):E===91?(t.consume(E),i=0,g):He(E)?(t.consume(E),w):r(E)}function u(E){return E===45?(t.consume(E),d):r(E)}function h(E){return E===null?r(E):E===45?(t.consume(E),f):K(E)?(s=h,ie(E)):(t.consume(E),h)}function f(E){return E===45?(t.consume(E),d):h(E)}function d(E){return E===62?G(E):E===45?f(E):h(E)}function g(E){const J="CDATA[";return E===J.charCodeAt(i++)?(t.consume(E),i===J.length?O:g):r(E)}function O(E){return E===null?r(E):E===93?(t.consume(E),k):K(E)?(s=O,ie(E)):(t.consume(E),O)}function k(E){return E===93?(t.consume(E),y):O(E)}function y(E){return E===62?G(E):E===93?(t.consume(E),y):O(E)}function w(E){return E===null||E===62?G(E):K(E)?(s=w,ie(E)):(t.consume(E),w)}function P(E){return E===null?r(E):E===63?(t.consume(E),N):K(E)?(s=P,ie(E)):(t.consume(E),P)}function N(E){return E===62?G(E):P(E)}function T(E){return He(E)?(t.consume(E),m):r(E)}function m(E){return E===45||Ze(E)?(t.consume(E),m):S(E)}function S(E){return K(E)?(s=S,ie(E)):ce(E)?(t.consume(E),S):G(E)}function $(E){return E===45||Ze(E)?(t.consume(E),$):E===47||E===62||be(E)?Q(E):r(E)}function Q(E){return E===47?(t.consume(E),G):E===58||E===95||He(E)?(t.consume(E),D):K(E)?(s=Q,ie(E)):ce(E)?(t.consume(E),Q):G(E)}function D(E){return E===45||E===46||E===58||E===95||Ze(E)?(t.consume(E),D):F(E)}function F(E){return E===61?(t.consume(E),R):K(E)?(s=F,ie(E)):ce(E)?(t.consume(E),F):Q(E)}function R(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(t.consume(E),a=E,Z):K(E)?(s=R,ie(E)):ce(E)?(t.consume(E),R):(t.consume(E),W)}function Z(E){return E===a?(t.consume(E),a=void 0,v):E===null?r(E):K(E)?(s=Z,ie(E)):(t.consume(E),Z)}function W(E){return E===null||E===34||E===39||E===60||E===61||E===96?r(E):E===47||E===62||be(E)?Q(E):(t.consume(E),W)}function v(E){return E===47||E===62||be(E)?Q(E):r(E)}function G(E){return E===62?(t.consume(E),t.exit("htmlTextData"),t.exit("htmlText"),e):r(E)}function ie(E){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),de}function de(E){return ce(E)?le(t,pe,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):pe(E)}function pe(E){return t.enter("htmlTextData"),s(E)}}const iu={name:"labelEnd",resolveAll:w1,resolveTo:S1,tokenize:x1},k1={tokenize:T1},b1={tokenize:E1},_1={tokenize:A1};function w1(t){let e=-1;const r=[];for(;++e<t.length;){const n=t[e][1];if(r.push(t[e]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",e+=a}}return t.length!==r.length&&St(t,0,t.length,r),t}function S1(t,e){let r=t.length,n=0,a,i,s,o;for(;r--;)if(a=t[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;t[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(t[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(s=r);const l={type:t[i][1].type==="labelLink"?"link":"image",start:{...t[i][1].start},end:{...t[t.length-1][1].end}},c={type:"label",start:{...t[i][1].start},end:{...t[s][1].end}},u={type:"labelText",start:{...t[i+n+2][1].end},end:{...t[s-2][1].start}};return o=[["enter",l,e],["enter",c,e]],o=Et(o,t.slice(i+1,i+n+3)),o=Et(o,[["enter",u,e]]),o=Et(o,Ws(e.parser.constructs.insideSpan.null,t.slice(i+n+4,s-3),e)),o=Et(o,[["exit",u,e],t[s-2],t[s-1],["exit",c,e]]),o=Et(o,t.slice(s+1)),o=Et(o,[["exit",l,e]]),St(t,i,t.length,o),t}function x1(t,e,r){const n=this;let a=n.events.length,i,s;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){i=n.events[a][1];break}return o;function o(f){return i?i._inactive?h(f):(s=n.parser.defined.includes($t(n.sliceSerialize({start:i.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(f),t.exit("labelMarker"),t.exit("labelEnd"),l):r(f)}function l(f){return f===40?t.attempt(k1,u,s?u:h)(f):f===91?t.attempt(b1,u,s?c:h)(f):s?u(f):h(f)}function c(f){return t.attempt(_1,u,h)(f)}function u(f){return e(f)}function h(f){return i._balanced=!0,r(f)}}function T1(t,e,r){return n;function n(h){return t.enter("resource"),t.enter("resourceMarker"),t.consume(h),t.exit("resourceMarker"),a}function a(h){return be(h)?dr(t,i)(h):i(h)}function i(h){return h===41?u(h):Qm(t,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function s(h){return be(h)?dr(t,l)(h):u(h)}function o(h){return r(h)}function l(h){return h===34||h===39||h===40?Im(t,c,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):u(h)}function c(h){return be(h)?dr(t,u)(h):u(h)}function u(h){return h===41?(t.enter("resourceMarker"),t.consume(h),t.exit("resourceMarker"),t.exit("resource"),e):r(h)}}function E1(t,e,r){const n=this;return a;function a(o){return zm.call(n,t,i,s,"reference","referenceMarker","referenceString")(o)}function i(o){return n.parser.defined.includes($t(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?e(o):r(o)}function s(o){return r(o)}}function A1(t,e,r){return n;function n(i){return t.enter("reference"),t.enter("referenceMarker"),t.consume(i),t.exit("referenceMarker"),a}function a(i){return i===93?(t.enter("referenceMarker"),t.consume(i),t.exit("referenceMarker"),t.exit("reference"),e):r(i)}}const C1={name:"labelStartImage",resolveAll:iu.resolveAll,tokenize:P1};function P1(t,e,r){const n=this;return a;function a(o){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(o),t.exit("labelImageMarker"),i}function i(o){return o===91?(t.enter("labelMarker"),t.consume(o),t.exit("labelMarker"),t.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):e(o)}}const v1={name:"labelStartLink",resolveAll:iu.resolveAll,tokenize:D1};function D1(t,e,r){const n=this;return a;function a(s){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(s),t.exit("labelMarker"),t.exit("labelLink"),i}function i(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):e(s)}}const $o={name:"lineEnding",tokenize:Q1};function Q1(t,e){return r;function r(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),le(t,e,"linePrefix")}}const ls={name:"thematicBreak",tokenize:z1};function z1(t,e,r){let n=0,a;return i;function i(c){return t.enter("thematicBreak"),s(c)}function s(c){return a=c,o(c)}function o(c){return c===a?(t.enter("thematicBreakSequence"),l(c)):n>=3&&(c===null||K(c))?(t.exit("thematicBreak"),e(c)):r(c)}function l(c){return c===a?(t.consume(c),n++,l):(t.exit("thematicBreakSequence"),ce(c)?le(t,o,"whitespace")(c):o(c))}}const lt={continuation:{tokenize:N1},exit:M1,name:"list",tokenize:R1},I1={partial:!0,tokenize:F1},L1={partial:!0,tokenize:$1};function R1(t,e,r){const n=this,a=n.events[n.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,s=0;return o;function o(d){const g=n.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!n.containerState.marker||d===n.containerState.marker:Ul(d)){if(n.containerState.type||(n.containerState.type=g,t.enter(g,{_container:!0})),g==="listUnordered")return t.enter("listItemPrefix"),d===42||d===45?t.check(ls,r,c)(d):c(d);if(!n.interrupt||d===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(d)}return r(d)}function l(d){return Ul(d)&&++s<10?(t.consume(d),l):(!n.interrupt||s<2)&&(n.containerState.marker?d===n.containerState.marker:d===41||d===46)?(t.exit("listItemValue"),c(d)):r(d)}function c(d){return t.enter("listItemMarker"),t.consume(d),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||d,t.check(di,n.interrupt?r:u,t.attempt(I1,f,h))}function u(d){return n.containerState.initialBlankLine=!0,i++,f(d)}function h(d){return ce(d)?(t.enter("listItemPrefixWhitespace"),t.consume(d),t.exit("listItemPrefixWhitespace"),f):r(d)}function f(d){return n.containerState.size=i+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(d)}}function N1(t,e,r){const n=this;return n.containerState._closeFlow=void 0,t.check(di,a,i);function a(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,le(t,e,"listItemIndent",n.containerState.size+1)(o)}function i(o){return n.containerState.furtherBlankLines||!ce(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(L1,e,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,le(t,t.attempt(lt,e,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function $1(t,e,r){const n=this;return le(t,a,"listItemIndent",n.containerState.size+1);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?e(i):r(i)}}function M1(t){t.exit(this.containerState.type)}function F1(t,e,r){const n=this;return le(t,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const s=n.events[n.events.length-1];return!ce(i)&&s&&s[1].type==="listItemPrefixWhitespace"?e(i):r(i)}}const nf={name:"setextUnderline",resolveTo:B1,tokenize:q1};function B1(t,e){let r=t.length,n,a,i;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){n=r;break}t[r][1].type==="paragraph"&&(a=r)}else t[r][1].type==="content"&&t.splice(r,1),!i&&t[r][1].type==="definition"&&(i=r);const s={type:"setextHeading",start:{...t[n][1].start},end:{...t[t.length-1][1].end}};return t[a][1].type="setextHeadingText",i?(t.splice(a,0,["enter",s,e]),t.splice(i+1,0,["exit",t[n][1],e]),t[n][1].end={...t[i][1].end}):t[n][1]=s,t.push(["exit",s,e]),t}function q1(t,e,r){const n=this;let a;return i;function i(c){let u=n.events.length,h;for(;u--;)if(n.events[u][1].type!=="lineEnding"&&n.events[u][1].type!=="linePrefix"&&n.events[u][1].type!=="content"){h=n.events[u][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||h)?(t.enter("setextHeadingLine"),a=c,s(c)):r(c)}function s(c){return t.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===a?(t.consume(c),o):(t.exit("setextHeadingLineSequence"),ce(c)?le(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||K(c)?(t.exit("setextHeadingLine"),e(c)):r(c)}}const X1={tokenize:j1};function j1(t){const e=this,r=t.attempt(di,n,t.attempt(this.parser.constructs.flowInitial,a,le(t,t.attempt(this.parser.constructs.flow,a,t.attempt(V_,a)),"linePrefix")));return r;function n(i){if(i===null){t.consume(i);return}return t.enter("lineEndingBlank"),t.consume(i),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function a(i){if(i===null){t.consume(i);return}return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),e.currentConstruct=void 0,r}}const Z1={resolveAll:Rm()},U1=Lm("string"),Y1=Lm("text");function Lm(t){return{resolveAll:Rm(t==="text"?H1:void 0),tokenize:e};function e(r){const n=this,a=this.parser.constructs[t],i=r.attempt(a,s,o);return s;function s(u){return c(u)?i(u):o(u)}function o(u){if(u===null){r.consume(u);return}return r.enter("data"),r.consume(u),l}function l(u){return c(u)?(r.exit("data"),i(u)):(r.consume(u),l)}function c(u){if(u===null)return!0;const h=a[u];let f=-1;if(h)for(;++f<h.length;){const d=h[f];if(!d.previous||d.previous.call(n,n.previous))return!0}return!1}}}function Rm(t){return e;function e(r,n){let a=-1,i;for(;++a<=r.length;)i===void 0?r[a]&&r[a][1].type==="data"&&(i=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==i+2&&(r[i][1].end=r[a-1][1].end,r.splice(i+2,a-i-2),a=i+2),i=void 0);return t?t(r,n):r}}function H1(t,e){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){const n=t[r-1][1],a=e.sliceStream(n);let i=a.length,s=-1,o=0,l;for(;i--;){const c=a[i];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(c===-2)l=!0,o++;else if(c!==-1){i++;break}}if(e._contentTypeTextTrailing&&r===t.length&&(o=0),o){const c={type:r===t.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:n.start._bufferIndex+s,_index:n.start._index+i,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:{...n.end}};n.end={...c.start},n.start.offset===n.end.offset?Object.assign(n,c):(t.splice(r,0,["enter",c,e],["exit",c,e]),r+=2)}r++}return t}const V1={42:lt,43:lt,45:lt,48:lt,49:lt,50:lt,51:lt,52:lt,53:lt,54:lt,55:lt,56:lt,57:lt,62:Cm},W1={91:e1},G1={[-2]:No,[-1]:No,32:No},K1={35:s1,42:ls,45:[nf,ls],60:u1,61:nf,95:ls,96:tf,126:tf},J1={38:vm,92:Pm},ew={[-5]:$o,[-4]:$o,[-3]:$o,33:C1,38:vm,42:Yl,60:[v_,O1],91:v1,92:[a1,Pm],93:iu,95:Yl,96:X_},tw={null:[Yl,Z1]},rw={null:[42,95]},nw={null:[]},aw=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:rw,contentInitial:W1,disable:nw,document:V1,flow:K1,flowInitial:G1,insideSpan:tw,string:J1,text:ew},Symbol.toStringTag,{value:"Module"}));function iw(t,e,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let s=[],o=[];const l={attempt:S(T),check:S(m),consume:w,enter:P,exit:N,interrupt:S(m,{interrupt:!0})},c={code:null,containerState:{},defineSkip:O,events:[],now:g,parser:t,previous:null,sliceSerialize:f,sliceStream:d,write:h};let u=e.tokenize.call(c,l);return e.resolveAll&&i.push(e),c;function h(F){return s=Et(s,F),k(),s[s.length-1]!==null?[]:($(e,0),c.events=Ws(i,c.events,c),c.events)}function f(F,R){return ow(d(F),R)}function d(F){return sw(s,F)}function g(){const{_bufferIndex:F,_index:R,line:Z,column:W,offset:v}=n;return{_bufferIndex:F,_index:R,line:Z,column:W,offset:v}}function O(F){a[F.line]=F.column,D()}function k(){let F;for(;n._index<s.length;){const R=s[n._index];if(typeof R=="string")for(F=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===F&&n._bufferIndex<R.length;)y(R.charCodeAt(n._bufferIndex));else y(R)}}function y(F){u=u(F)}function w(F){K(F)?(n.line++,n.column=1,n.offset+=F===-3?2:1,D()):F!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),c.previous=F}function P(F,R){const Z=R||{};return Z.type=F,Z.start=g(),c.events.push(["enter",Z,c]),o.push(Z),Z}function N(F){const R=o.pop();return R.end=g(),c.events.push(["exit",R,c]),R}function T(F,R){$(F,R.from)}function m(F,R){R.restore()}function S(F,R){return Z;function Z(W,v,G){let ie,de,pe,E;return Array.isArray(W)?he(W):"tokenize"in W?he([W]):J(W);function J(Oe){return Ve;function Ve(st){const Tt=st!==null&&Oe[st],It=st!==null&&Oe.null,jt=[...Array.isArray(Tt)?Tt:Tt?[Tt]:[],...Array.isArray(It)?It:It?[It]:[]];return he(jt)(st)}}function he(Oe){return ie=Oe,de=0,Oe.length===0?G:A(Oe[de])}function A(Oe){return Ve;function Ve(st){return E=Q(),pe=Oe,Oe.partial||(c.currentConstruct=Oe),Oe.name&&c.parser.constructs.disable.null.includes(Oe.name)?xe():Oe.tokenize.call(R?Object.assign(Object.create(c),R):c,l,Se,xe)(st)}}function Se(Oe){return F(pe,E),v}function xe(Oe){return E.restore(),++de<ie.length?A(ie[de]):G}}}function $(F,R){F.resolveAll&&!i.includes(F)&&i.push(F),F.resolve&&St(c.events,R,c.events.length-R,F.resolve(c.events.slice(R),c)),F.resolveTo&&(c.events=F.resolveTo(c.events,c))}function Q(){const F=g(),R=c.previous,Z=c.currentConstruct,W=c.events.length,v=Array.from(o);return{from:W,restore:G};function G(){n=F,c.previous=R,c.currentConstruct=Z,c.events.length=W,o=v,D()}}function D(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function sw(t,e){const r=e.start._index,n=e.start._bufferIndex,a=e.end._index,i=e.end._bufferIndex;let s;if(r===a)s=[t[r].slice(n,i)];else{if(s=t.slice(r,a),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}i>0&&s.push(t[a].slice(0,i))}return s}function ow(t,e){let r=-1;const n=[];let a;for(;++r<t.length;){const i=t[r];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
2
- `;break}case-3:{s=`\r
3
- `;break}case-2:{s=e?" ":" ";break}case-1:{if(!e&&a)continue;s=" ";break}default:s=String.fromCharCode(i)}a=i===-2,n.push(s)}return n.join("")}function lw(t){const n={constructs:Em([aw,...(t||{}).extensions||[]]),content:a(S_),defined:[],document:a(T_),flow:a(X1),lazy:{},string:a(U1),text:a(Y1)};return n;function a(i){return s;function s(o){return iw(n,i,o)}}}function cw(t){for(;!Dm(t););return t}const af=/[\0\t\n\r]/g;function uw(){let t=1,e="",r=!0,n;return a;function a(i,s,o){const l=[];let c,u,h,f,d;for(i=e+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),h=0,e="",r&&(i.charCodeAt(0)===65279&&h++,r=void 0);h<i.length;){if(af.lastIndex=h,c=af.exec(i),f=c&&c.index!==void 0?c.index:i.length,d=i.charCodeAt(f),!c){e=i.slice(h);break}if(d===10&&h===f&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),h<f&&(l.push(i.slice(h,f)),t+=f-h),d){case 0:{l.push(65533),t++;break}case 9:{for(u=Math.ceil(t/4)*4,l.push(-2);t++<u;)l.push(-1);break}case 10:{l.push(-4),t=1;break}default:n=!0,t=1}h=f+1}return o&&(n&&l.push(-5),e&&l.push(e),l.push(null)),l}}const hw=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function fw(t){return t.replace(hw,dw)}function dw(t,e,r){if(e)return e;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return Am(r.slice(i?2:1),i?16:10)}return Xa(r)||t}const Nm={}.hasOwnProperty;function pw(t,e,r){return e&&typeof e=="object"&&(r=e,e=void 0),mw(r)(cw(lw(r).document().write(uw()(t,e,!0))))}function mw(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i($h),autolinkProtocol:Q,autolinkEmail:Q,atxHeading:i(Ao),blockQuote:i(It),characterEscape:Q,characterReference:Q,codeFenced:i(jt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(jt,s),codeText:i(aa,s),codeTextData:Q,data:Q,codeFlowValue:Q,definition:i(To),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(Eo),hardBreakEscape:i(On),hardBreakTrailing:i(On),htmlFlow:i(Nh,s),htmlFlowData:Q,htmlText:i(Nh,s),htmlTextData:Q,image:i(Lb),label:s,link:i($h),listItem:i(Rb),listItemValue:f,listOrdered:i(Mh,h),listUnordered:i(Mh),paragraph:i(Nb),reference:A,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(Ao),strong:i($b),thematicBreak:i(Fb)},exit:{atxHeading:l(),atxHeadingSequence:T,autolink:l(),autolinkEmail:Tt,autolinkProtocol:st,blockQuote:l(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:xe,characterReferenceMarkerNumeric:xe,characterReferenceValue:Oe,characterReference:Ve,codeFenced:l(k),codeFencedFence:O,codeFencedFenceInfo:d,codeFencedFenceMeta:g,codeFlowValue:D,codeIndented:l(y),codeText:l(v),codeTextData:D,data:D,definition:l(),definitionDestinationString:N,definitionLabelString:w,definitionTitleString:P,emphasis:l(),hardBreakEscape:l(R),hardBreakTrailing:l(R),htmlFlow:l(Z),htmlFlowData:D,htmlText:l(W),htmlTextData:D,image:l(ie),label:pe,labelText:de,lineEnding:F,link:l(G),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Se,resourceDestinationString:E,resourceTitleString:J,resource:he,setextHeading:l($),setextHeadingLineSequence:S,setextHeadingText:m,strong:l(),thematicBreak:l()}};$m(e,(t||{}).mdastExtensions||[]);const r={};return n;function n(M){let H={type:"root",children:[]};const ue={stack:[H],tokenStack:[],config:e,enter:o,exit:c,buffer:s,resume:u,data:r},ye=[];let Ee=-1;for(;++Ee<M.length;)if(M[Ee][1].type==="listOrdered"||M[Ee][1].type==="listUnordered")if(M[Ee][0]==="enter")ye.push(Ee);else{const Lt=ye.pop();Ee=a(M,Lt,Ee)}for(Ee=-1;++Ee<M.length;){const Lt=e[M[Ee][0]];Nm.call(Lt,M[Ee][1].type)&&Lt[M[Ee][1].type].call(Object.assign({sliceSerialize:M[Ee][2].sliceSerialize},ue),M[Ee][1])}if(ue.tokenStack.length>0){const Lt=ue.tokenStack[ue.tokenStack.length-1];(Lt[1]||sf).call(ue,void 0,Lt[0])}for(H.position={start:wr(M.length>0?M[0][1].start:{line:1,column:1,offset:0}),end:wr(M.length>0?M[M.length-2][1].end:{line:1,column:1,offset:0})},Ee=-1;++Ee<e.transforms.length;)H=e.transforms[Ee](H)||H;return H}function a(M,H,ue){let ye=H-1,Ee=-1,Lt=!1,Xr,or,ia,sa;for(;++ye<=ue;){const mt=M[ye];switch(mt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{mt[0]==="enter"?Ee++:Ee--,sa=void 0;break}case"lineEndingBlank":{mt[0]==="enter"&&(Xr&&!sa&&!Ee&&!ia&&(ia=ye),sa=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:sa=void 0}if(!Ee&&mt[0]==="enter"&&mt[1].type==="listItemPrefix"||Ee===-1&&mt[0]==="exit"&&(mt[1].type==="listUnordered"||mt[1].type==="listOrdered")){if(Xr){let yn=ye;for(or=void 0;yn--;){const lr=M[yn];if(lr[1].type==="lineEnding"||lr[1].type==="lineEndingBlank"){if(lr[0]==="exit")continue;or&&(M[or][1].type="lineEndingBlank",Lt=!0),lr[1].type="lineEnding",or=yn}else if(!(lr[1].type==="linePrefix"||lr[1].type==="blockQuotePrefix"||lr[1].type==="blockQuotePrefixWhitespace"||lr[1].type==="blockQuoteMarker"||lr[1].type==="listItemIndent"))break}ia&&(!or||ia<or)&&(Xr._spread=!0),Xr.end=Object.assign({},or?M[or][1].start:mt[1].end),M.splice(or||ye,0,["exit",Xr,mt[2]]),ye++,ue++}if(mt[1].type==="listItemPrefix"){const yn={type:"listItem",_spread:!1,start:Object.assign({},mt[1].start),end:void 0};Xr=yn,M.splice(ye,0,["enter",yn,mt[2]]),ye++,ue++,ia=void 0,sa=!0}}}return M[H][1]._spread=Lt,ue}function i(M,H){return ue;function ue(ye){o.call(this,M(ye),ye),H&&H.call(this,ye)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(M,H,ue){this.stack[this.stack.length-1].children.push(M),this.stack.push(M),this.tokenStack.push([H,ue||void 0]),M.position={start:wr(H.start),end:void 0}}function l(M){return H;function H(ue){M&&M.call(this,ue),c.call(this,ue)}}function c(M,H){const ue=this.stack.pop(),ye=this.tokenStack.pop();if(ye)ye[0].type!==M.type&&(H?H.call(this,M,ye[0]):(ye[1]||sf).call(this,M,ye[0]));else throw new Error("Cannot close `"+M.type+"` ("+Ea({start:M.start,end:M.end})+"): it’s not open");ue.position.end=wr(M.end)}function u(){return fi(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function f(M){if(this.data.expectingFirstListItemValue){const H=this.stack[this.stack.length-2];H.start=Number.parseInt(this.sliceSerialize(M),10),this.data.expectingFirstListItemValue=void 0}}function d(){const M=this.resume(),H=this.stack[this.stack.length-1];H.lang=M}function g(){const M=this.resume(),H=this.stack[this.stack.length-1];H.meta=M}function O(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){const M=this.resume(),H=this.stack[this.stack.length-1];H.value=M.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const M=this.resume(),H=this.stack[this.stack.length-1];H.value=M.replace(/(\r?\n|\r)$/g,"")}function w(M){const H=this.resume(),ue=this.stack[this.stack.length-1];ue.label=H,ue.identifier=$t(this.sliceSerialize(M)).toLowerCase()}function P(){const M=this.resume(),H=this.stack[this.stack.length-1];H.title=M}function N(){const M=this.resume(),H=this.stack[this.stack.length-1];H.url=M}function T(M){const H=this.stack[this.stack.length-1];if(!H.depth){const ue=this.sliceSerialize(M).length;H.depth=ue}}function m(){this.data.setextHeadingSlurpLineEnding=!0}function S(M){const H=this.stack[this.stack.length-1];H.depth=this.sliceSerialize(M).codePointAt(0)===61?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function Q(M){const ue=this.stack[this.stack.length-1].children;let ye=ue[ue.length-1];(!ye||ye.type!=="text")&&(ye=Mb(),ye.position={start:wr(M.start),end:void 0},ue.push(ye)),this.stack.push(ye)}function D(M){const H=this.stack.pop();H.value+=this.sliceSerialize(M),H.position.end=wr(M.end)}function F(M){const H=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ue=H.children[H.children.length-1];ue.position.end=wr(M.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(H.type)&&(Q.call(this,M),D.call(this,M))}function R(){this.data.atHardBreak=!0}function Z(){const M=this.resume(),H=this.stack[this.stack.length-1];H.value=M}function W(){const M=this.resume(),H=this.stack[this.stack.length-1];H.value=M}function v(){const M=this.resume(),H=this.stack[this.stack.length-1];H.value=M}function G(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const H=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=H,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function ie(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const H=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=H,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function de(M){const H=this.sliceSerialize(M),ue=this.stack[this.stack.length-2];ue.label=fw(H),ue.identifier=$t(H).toLowerCase()}function pe(){const M=this.stack[this.stack.length-1],H=this.resume(),ue=this.stack[this.stack.length-1];if(this.data.inReference=!0,ue.type==="link"){const ye=M.children;ue.children=ye}else ue.alt=H}function E(){const M=this.resume(),H=this.stack[this.stack.length-1];H.url=M}function J(){const M=this.resume(),H=this.stack[this.stack.length-1];H.title=M}function he(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function Se(M){const H=this.resume(),ue=this.stack[this.stack.length-1];ue.label=H,ue.identifier=$t(this.sliceSerialize(M)).toLowerCase(),this.data.referenceType="full"}function xe(M){this.data.characterReferenceType=M.type}function Oe(M){const H=this.sliceSerialize(M),ue=this.data.characterReferenceType;let ye;ue?(ye=Am(H,ue==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ye=Xa(H);const Ee=this.stack[this.stack.length-1];Ee.value+=ye}function Ve(M){const H=this.stack.pop();H.position.end=wr(M.end)}function st(M){D.call(this,M);const H=this.stack[this.stack.length-1];H.url=this.sliceSerialize(M)}function Tt(M){D.call(this,M);const H=this.stack[this.stack.length-1];H.url="mailto:"+this.sliceSerialize(M)}function It(){return{type:"blockquote",children:[]}}function jt(){return{type:"code",lang:null,meta:null,value:""}}function aa(){return{type:"inlineCode",value:""}}function To(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Eo(){return{type:"emphasis",children:[]}}function Ao(){return{type:"heading",depth:0,children:[]}}function On(){return{type:"break"}}function Nh(){return{type:"html",value:""}}function Lb(){return{type:"image",title:null,url:"",alt:null}}function $h(){return{type:"link",title:null,url:"",children:[]}}function Mh(M){return{type:"list",ordered:M.type==="listOrdered",start:null,spread:M._spread,children:[]}}function Rb(M){return{type:"listItem",spread:M._spread,checked:null,children:[]}}function Nb(){return{type:"paragraph",children:[]}}function $b(){return{type:"strong",children:[]}}function Mb(){return{type:"text",value:""}}function Fb(){return{type:"thematicBreak"}}}function wr(t){return{line:t.line,column:t.column,offset:t.offset}}function $m(t,e){let r=-1;for(;++r<e.length;){const n=e[r];Array.isArray(n)?$m(t,n):gw(t,n)}}function gw(t,e){let r;for(r in e)if(Nm.call(e,r))switch(r){case"canContainEols":{const n=e[r];n&&t[r].push(...n);break}case"transforms":{const n=e[r];n&&t[r].push(...n);break}case"enter":case"exit":{const n=e[r];n&&Object.assign(t[r],n);break}}}function sf(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Ea({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Ea({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Ea({start:e.start,end:e.end})+") is still open")}function Mm(t){const e=this;e.parser=r;function r(n){return pw(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function In(t,e){const r=String(t);if(typeof e!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(e);for(;a!==-1;)n++,a=r.indexOf(e,a+e.length);return n}function Fm(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const pi=(function(t){if(t==null)return bw;if(typeof t=="function")return Gs(t);if(typeof t=="object")return Array.isArray(t)?Ow(t):yw(t);if(typeof t=="string")return kw(t);throw new Error("Expected function, string, or object as test")});function Ow(t){const e=[];let r=-1;for(;++r<t.length;)e[r]=pi(t[r]);return Gs(n);function n(...a){let i=-1;for(;++i<e.length;)if(e[i].apply(this,a))return!0;return!1}}function yw(t){const e=t;return Gs(r);function r(n){const a=n;let i;for(i in t)if(a[i]!==e[i])return!1;return!0}}function kw(t){return Gs(e);function e(r){return r&&r.type===t}}function Gs(t){return e;function e(r,n,a){return!!(_w(r)&&t.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function bw(){return!0}function _w(t){return t!==null&&typeof t=="object"&&"type"in t}const Bm=[],ww=!0,Hl=!1,Aa="skip";function Ks(t,e,r,n){let a;typeof e=="function"&&typeof r!="function"?(n=r,r=e):a=e;const i=pi(a),s=n?-1:1;o(t,void 0,[])();function o(l,c,u){const h=l&&typeof l=="object"?l:{};if(typeof h.type=="string"){const d=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(d?"<"+d+">":""))+")"})}return f;function f(){let d=Bm,g,O,k;if((!e||i(l,c,u[u.length-1]||void 0))&&(d=Sw(r(l,u)),d[0]===Hl))return d;if("children"in l&&l.children){const y=l;if(y.children&&d[0]!==Aa)for(O=(n?y.children.length:-1)+s,k=u.concat(y);O>-1&&O<y.children.length;){const w=y.children[O];if(g=o(w,O,k)(),g[0]===Hl)return g;O=typeof g[1]=="number"?g[1]:O+s}}return d}}}function Sw(t){return Array.isArray(t)?t:typeof t=="number"?[ww,t]:t==null?Bm:[t]}function qm(t,e,r){const a=pi((r||{}).ignore||[]),i=xw(e);let s=-1;for(;++s<i.length;)Ks(t,"text",o);function o(c,u){let h=-1,f;for(;++h<u.length;){const d=u[h],g=f?f.children:void 0;if(a(d,g?g.indexOf(d):void 0,f))return;f=d}if(f)return l(c,u)}function l(c,u){const h=u[u.length-1],f=i[s][0],d=i[s][1];let g=0;const k=h.children.indexOf(c);let y=!1,w=[];f.lastIndex=0;let P=f.exec(c.value);for(;P;){const N=P.index,T={index:P.index,input:P.input,stack:[...u,c]};let m=d(...P,T);if(typeof m=="string"&&(m=m.length>0?{type:"text",value:m}:void 0),m===!1?f.lastIndex=N+1:(g!==N&&w.push({type:"text",value:c.value.slice(g,N)}),Array.isArray(m)?w.push(...m):m&&w.push(m),g=N+P[0].length,y=!0),!f.global)break;P=f.exec(c.value)}return y?(g<c.value.length&&w.push({type:"text",value:c.value.slice(g)}),h.children.splice(k,1,...w)):w=[c],k+w.length}}function xw(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!t[0]||Array.isArray(t[0])?t:[t];let n=-1;for(;++n<r.length;){const a=r[n];e.push([Tw(a[0]),Ew(a[1])])}return e}function Tw(t){return typeof t=="string"?new RegExp(Fm(t),"g"):t}function Ew(t){return typeof t=="function"?t:function(){return t}}const Mo="phrasing",Fo=["autolink","link","image","label"];function Aw(){return{transforms:[Iw],enter:{literalAutolink:Pw,literalAutolinkEmail:Bo,literalAutolinkHttp:Bo,literalAutolinkWww:Bo},exit:{literalAutolink:zw,literalAutolinkEmail:Qw,literalAutolinkHttp:vw,literalAutolinkWww:Dw}}}function Cw(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Mo,notInConstruct:Fo},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Mo,notInConstruct:Fo},{character:":",before:"[ps]",after:"\\/",inConstruct:Mo,notInConstruct:Fo}]}}function Pw(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function Bo(t){this.config.enter.autolinkProtocol.call(this,t)}function vw(t){this.config.exit.autolinkProtocol.call(this,t)}function Dw(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function Qw(t){this.config.exit.autolinkEmail.call(this,t)}function zw(t){this.exit(t)}function Iw(t){qm(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Lw],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Rw]],{ignore:["link","linkReference"]})}function Lw(t,e,r,n,a){let i="";if(!Xm(a)||(/^w/i.test(e)&&(r=e+r,e="",i="http://"),!Nw(r)))return!1;const s=$w(r+n);if(!s[0])return!1;const o={type:"link",title:null,url:i+e+s[0],children:[{type:"text",value:e+s[0]}]};return s[1]?[o,{type:"text",value:s[1]}]:o}function Rw(t,e,r,n){return!Xm(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+r,children:[{type:"text",value:e+"@"+r}]}}function Nw(t){const e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function $w(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],n=r.indexOf(")");const a=In(t,"(");let i=In(t,")");for(;n!==-1&&a>i;)t+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[t,r]}function Xm(t,e){const r=t.input.charCodeAt(t.index-1);return(t.index===0||rn(r)||Vs(r))&&(!e||r!==47)}jm.peek=Yw;function Mw(){this.buffer()}function Fw(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function Bw(){this.buffer()}function qw(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function Xw(t){const e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=$t(this.sliceSerialize(t)).toLowerCase(),r.label=e}function jw(t){this.exit(t)}function Zw(t){const e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=$t(this.sliceSerialize(t)).toLowerCase(),r.label=e}function Uw(t){this.exit(t)}function Yw(){return"["}function jm(t,e,r,n){const a=r.createTracker(n);let i=a.move("[^");const s=r.enter("footnoteReference"),o=r.enter("reference");return i+=a.move(r.safe(r.associationId(t),{after:"]",before:i})),o(),s(),i+=a.move("]"),i}function Hw(){return{enter:{gfmFootnoteCallString:Mw,gfmFootnoteCall:Fw,gfmFootnoteDefinitionLabelString:Bw,gfmFootnoteDefinition:qw},exit:{gfmFootnoteCallString:Xw,gfmFootnoteCall:jw,gfmFootnoteDefinitionLabelString:Zw,gfmFootnoteDefinition:Uw}}}function Vw(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:r,footnoteReference:jm},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,s){const o=i.createTracker(s);let l=o.move("[^");const c=i.enter("footnoteDefinition"),u=i.enter("label");return l+=o.move(i.safe(i.associationId(n),{before:l,after:"]"})),u(),l+=o.move("]:"),n.children&&n.children.length>0&&(o.shift(4),l+=o.move((e?`
4
- `:" ")+i.indentLines(i.containerFlow(n,o.current()),e?Zm:Ww))),c(),l}}function Ww(t,e,r){return e===0?t:Zm(t,e,r)}function Zm(t,e,r){return(r?"":" ")+t}const Gw=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Um.peek=rS;function Kw(){return{canContainEols:["delete"],enter:{strikethrough:eS},exit:{strikethrough:tS}}}function Jw(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Gw}],handlers:{delete:Um}}}function eS(t){this.enter({type:"delete",children:[]},t)}function tS(t){this.exit(t)}function Um(t,e,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(t,{...a.current(),before:s,after:"~"}),s+=a.move("~~"),i(),s}function rS(){return"~"}function nS(t){return t.length}function aS(t,e){const r=e||{},n=(r.align||[]).concat(),a=r.stringLength||nS,i=[],s=[],o=[],l=[];let c=0,u=-1;for(;++u<t.length;){const O=[],k=[];let y=-1;for(t[u].length>c&&(c=t[u].length);++y<t[u].length;){const w=iS(t[u][y]);if(r.alignDelimiters!==!1){const P=a(w);k[y]=P,(l[y]===void 0||P>l[y])&&(l[y]=P)}O.push(w)}s[u]=O,o[u]=k}let h=-1;if(typeof n=="object"&&"length"in n)for(;++h<c;)i[h]=of(n[h]);else{const O=of(n);for(;++h<c;)i[h]=O}h=-1;const f=[],d=[];for(;++h<c;){const O=i[h];let k="",y="";O===99?(k=":",y=":"):O===108?k=":":O===114&&(y=":");let w=r.alignDelimiters===!1?1:Math.max(1,l[h]-k.length-y.length);const P=k+"-".repeat(w)+y;r.alignDelimiters!==!1&&(w=k.length+w+y.length,w>l[h]&&(l[h]=w),d[h]=w),f[h]=P}s.splice(1,0,f),o.splice(1,0,d),u=-1;const g=[];for(;++u<s.length;){const O=s[u],k=o[u];h=-1;const y=[];for(;++h<c;){const w=O[h]||"";let P="",N="";if(r.alignDelimiters!==!1){const T=l[h]-(k[h]||0),m=i[h];m===114?P=" ".repeat(T):m===99?T%2?(P=" ".repeat(T/2+.5),N=" ".repeat(T/2-.5)):(P=" ".repeat(T/2),N=P):N=" ".repeat(T)}r.delimiterStart!==!1&&!h&&y.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&w==="")&&(r.delimiterStart!==!1||h)&&y.push(" "),r.alignDelimiters!==!1&&y.push(P),y.push(w),r.alignDelimiters!==!1&&y.push(N),r.padding!==!1&&y.push(" "),(r.delimiterEnd!==!1||h!==c-1)&&y.push("|")}g.push(r.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return g.join(`
5
- `)}function iS(t){return t==null?"":String(t)}function of(t){const e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}const lf={}.hasOwnProperty;function su(t,e){const r=e||{};function n(a,...i){let s=n.invalid;const o=n.handlers;if(a&&lf.call(a,t)){const l=String(a[t]);s=lf.call(o,l)?o[l]:n.unknown}if(s)return s.call(this,a,...i)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}function sS(t,e,r,n){const a=r.enter("blockquote"),i=r.createTracker(n);i.move("> "),i.shift(2);const s=r.indentLines(r.containerFlow(t,i.current()),oS);return a(),s}function oS(t,e,r){return">"+(r?"":" ")+t}function lS(t,e){return cf(t,e.inConstruct,!0)&&!cf(t,e.notInConstruct,!1)}function cf(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let n=-1;for(;++n<e.length;)if(t.includes(e[n]))return!0;return!1}function uf(t,e,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
6
- `&&lS(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
7
- `}function Ym(t,e){const r=String(t);let n=r.indexOf(e),a=n,i=0,s=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++i>s&&(s=i):i=1,a=n+e.length,n=r.indexOf(e,a);return s}function cS(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function uS(t){const e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function hS(t,e,r,n){const a=uS(r),i=t.value||"",s=a==="`"?"GraveAccent":"Tilde";if(cS(t,r)){const h=r.enter("codeIndented"),f=r.indentLines(i,fS);return h(),f}const o=r.createTracker(n),l=a.repeat(Math.max(Ym(i,a)+1,3)),c=r.enter("codeFenced");let u=o.move(l);if(t.lang){const h=r.enter(`codeFencedLang${s}`);u+=o.move(r.safe(t.lang,{before:u,after:" ",encode:["`"],...o.current()})),h()}if(t.lang&&t.meta){const h=r.enter(`codeFencedMeta${s}`);u+=o.move(" "),u+=o.move(r.safe(t.meta,{before:u,after:`
8
- `,encode:["`"],...o.current()})),h()}return u+=o.move(`
9
- `),i&&(u+=o.move(i+`
10
- `)),u+=o.move(l),c(),u}function fS(t,e,r){return(r?"":" ")+t}function ou(t){const e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function dS(t,e,r,n){const a=ou(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("definition");let o=r.enter("label");const l=r.createTracker(n);let c=l.move("[");return c+=l.move(r.safe(r.associationId(t),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!t.url||/[\0- \u007F]/.test(t.url)?(o=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,{before:c,after:t.title?" ":`
11
- `,...l.current()}))),o(),t.title&&(o=r.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(r.safe(t.title,{before:c,after:a,...l.current()})),c+=l.move(a),o()),s(),c}function pS(t){const e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}function ja(t){return"&#x"+t.toString(16).toUpperCase()+";"}function bs(t,e,r){const n=zn(t),a=zn(e);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Hm.peek=mS;function Hm(t,e,r,n){const a=pS(r),i=r.enter("emphasis"),s=r.createTracker(n),o=s.move(a);let l=s.move(r.containerPhrasing(t,{after:a,before:o,...s.current()}));const c=l.charCodeAt(0),u=bs(n.before.charCodeAt(n.before.length-1),c,a);u.inside&&(l=ja(c)+l.slice(1));const h=l.charCodeAt(l.length-1),f=bs(n.after.charCodeAt(0),h,a);f.inside&&(l=l.slice(0,-1)+ja(h));const d=s.move(a);return i(),r.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},o+l+d}function mS(t,e,r){return r.options.emphasis||"*"}function Ft(t,e,r,n){let a,i,s;typeof e=="function"&&typeof r!="function"?(i=void 0,s=e,a=r):(i=e,s=r,a=n),Ks(t,i,o,a);function o(l,c){const u=c[c.length-1],h=u?u.children.indexOf(l):void 0;return s(l,h,u)}}function gS(t,e){let r=!1;return Ft(t,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Hl}),!!((!t.depth||t.depth<3)&&fi(t)&&(e.options.setext||r))}function OS(t,e,r,n){const a=Math.max(Math.min(6,t.depth||1),1),i=r.createTracker(n);if(gS(t,r)){const u=r.enter("headingSetext"),h=r.enter("phrasing"),f=r.containerPhrasing(t,{...i.current(),before:`
12
- `,after:`
13
- `});return h(),u(),f+`
14
- `+(a===1?"=":"-").repeat(f.length-(Math.max(f.lastIndexOf("\r"),f.lastIndexOf(`
15
- `))+1))}const s="#".repeat(a),o=r.enter("headingAtx"),l=r.enter("phrasing");i.move(s+" ");let c=r.containerPhrasing(t,{before:"# ",after:`
16
- `,...i.current()});return/^[\t ]/.test(c)&&(c=ja(c.charCodeAt(0))+c.slice(1)),c=c?s+" "+c:s,r.options.closeAtx&&(c+=" "+s),l(),o(),c}Vm.peek=yS;function Vm(t){return t.value||""}function yS(){return"<"}Wm.peek=kS;function Wm(t,e,r,n){const a=ou(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("image");let o=r.enter("label");const l=r.createTracker(n);let c=l.move("![");return c+=l.move(r.safe(t.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(o=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,{before:c,after:t.title?" ":")",...l.current()}))),o(),t.title&&(o=r.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(r.safe(t.title,{before:c,after:a,...l.current()})),c+=l.move(a),o()),c+=l.move(")"),s(),c}function kS(){return"!"}Gm.peek=bS;function Gm(t,e,r,n){const a=t.referenceType,i=r.enter("imageReference");let s=r.enter("label");const o=r.createTracker(n);let l=o.move("![");const c=r.safe(t.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),s();const u=r.stack;r.stack=[],s=r.enter("reference");const h=r.safe(r.associationId(t),{before:l,after:"]",...o.current()});return s(),r.stack=u,i(),a==="full"||!c||c!==h?l+=o.move(h+"]"):a==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function bS(){return"!"}Km.peek=_S;function Km(t,e,r){let n=t.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const s=r.unsafe[i],o=r.compilePattern(s);let l;if(s.atBreak)for(;l=o.exec(n);){let c=l.index;n.charCodeAt(c)===10&&n.charCodeAt(c-1)===13&&c--,n=n.slice(0,c)+" "+n.slice(l.index+1)}}return a+n+a}function _S(){return"`"}function Jm(t,e){const r=fi(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(r===t.url||"mailto:"+r===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}eg.peek=wS;function eg(t,e,r,n){const a=ou(r),i=a==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let o,l;if(Jm(t,r)){const u=r.stack;r.stack=[],o=r.enter("autolink");let h=s.move("<");return h+=s.move(r.containerPhrasing(t,{before:h,after:">",...s.current()})),h+=s.move(">"),o(),r.stack=u,h}o=r.enter("link"),l=r.enter("label");let c=s.move("[");return c+=s.move(r.containerPhrasing(t,{before:c,after:"](",...s.current()})),c+=s.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=r.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(r.safe(t.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=r.enter("destinationRaw"),c+=s.move(r.safe(t.url,{before:c,after:t.title?" ":")",...s.current()}))),l(),t.title&&(l=r.enter(`title${i}`),c+=s.move(" "+a),c+=s.move(r.safe(t.title,{before:c,after:a,...s.current()})),c+=s.move(a),l()),c+=s.move(")"),o(),c}function wS(t,e,r){return Jm(t,r)?"<":"["}tg.peek=SS;function tg(t,e,r,n){const a=t.referenceType,i=r.enter("linkReference");let s=r.enter("label");const o=r.createTracker(n);let l=o.move("[");const c=r.containerPhrasing(t,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),s();const u=r.stack;r.stack=[],s=r.enter("reference");const h=r.safe(r.associationId(t),{before:l,after:"]",...o.current()});return s(),r.stack=u,i(),a==="full"||!c||c!==h?l+=o.move(h+"]"):a==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function SS(){return"["}function lu(t){const e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function xS(t){const e=lu(t),r=t.options.bulletOther;if(!r)return e==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+r+"`) to be different");return r}function TS(t){const e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function rg(t){const e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function ES(t,e,r,n){const a=r.enter("list"),i=r.bulletCurrent;let s=t.ordered?TS(r):lu(r);const o=t.ordered?s==="."?")":".":xS(r);let l=e&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!t.ordered){const u=t.children?t.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),rg(r)===s&&u){let h=-1;for(;++h<t.children.length;){const f=t.children[h];if(f&&f.type==="listItem"&&f.children&&f.children[0]&&f.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=o),r.bulletCurrent=s;const c=r.containerFlow(t,n);return r.bulletLastUsed=s,r.bulletCurrent=i,a(),c}function AS(t){const e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function CS(t,e,r,n){const a=AS(r);let i=r.bulletCurrent||lu(r);e&&e.type==="list"&&e.ordered&&(i=(typeof e.start=="number"&&e.start>-1?e.start:1)+(r.options.incrementListMarker===!1?0:e.children.indexOf(t))+i);let s=i.length+1;(a==="tab"||a==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(s=Math.ceil(s/4)*4);const o=r.createTracker(n);o.move(i+" ".repeat(s-i.length)),o.shift(s);const l=r.enter("listItem"),c=r.indentLines(r.containerFlow(t,o.current()),u);return l(),c;function u(h,f,d){return f?(d?"":" ".repeat(s))+h:(d?i:i+" ".repeat(s-i.length))+h}}function PS(t,e,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),s=r.containerPhrasing(t,n);return i(),a(),s}const vS=pi(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function DS(t,e,r,n){return(t.children.some(function(s){return vS(s)})?r.containerPhrasing:r.containerFlow).call(r,t,n)}function QS(t){const e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}ng.peek=zS;function ng(t,e,r,n){const a=QS(r),i=r.enter("strong"),s=r.createTracker(n),o=s.move(a+a);let l=s.move(r.containerPhrasing(t,{after:a,before:o,...s.current()}));const c=l.charCodeAt(0),u=bs(n.before.charCodeAt(n.before.length-1),c,a);u.inside&&(l=ja(c)+l.slice(1));const h=l.charCodeAt(l.length-1),f=bs(n.after.charCodeAt(0),h,a);f.inside&&(l=l.slice(0,-1)+ja(h));const d=s.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},o+l+d}function zS(t,e,r){return r.options.strong||"*"}function IS(t,e,r,n){return r.safe(t.value,n)}function LS(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function RS(t,e,r){const n=(rg(r)+(r.options.ruleSpaces?" ":"")).repeat(LS(r));return r.options.ruleSpaces?n.slice(0,-1):n}const ag={blockquote:sS,break:uf,code:hS,definition:dS,emphasis:Hm,hardBreak:uf,heading:OS,html:Vm,image:Wm,imageReference:Gm,inlineCode:Km,link:eg,linkReference:tg,list:ES,listItem:CS,paragraph:PS,root:DS,strong:ng,text:IS,thematicBreak:RS};function NS(){return{enter:{table:$S,tableData:hf,tableHeader:hf,tableRow:FS},exit:{codeText:BS,table:MS,tableData:qo,tableHeader:qo,tableRow:qo}}}function $S(t){const e=t._align;this.enter({type:"table",align:e.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function MS(t){this.exit(t),this.data.inTable=void 0}function FS(t){this.enter({type:"tableRow",children:[]},t)}function qo(t){this.exit(t)}function hf(t){this.enter({type:"tableCell",children:[]},t)}function BS(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,qS));const r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function qS(t,e){return e==="|"?e:t}function XS(t){const e=t||{},r=e.tableCellPadding,n=e.tablePipeAlign,a=e.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
17
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:s,tableCell:l,tableRow:o}};function s(d,g,O,k){return c(u(d,O,k),d.align)}function o(d,g,O,k){const y=h(d,O,k),w=c([y]);return w.slice(0,w.indexOf(`
18
- `))}function l(d,g,O,k){const y=O.enter("tableCell"),w=O.enter("phrasing"),P=O.containerPhrasing(d,{...k,before:i,after:i});return w(),y(),P}function c(d,g){return aS(d,{align:g,alignDelimiters:n,padding:r,stringLength:a})}function u(d,g,O){const k=d.children;let y=-1;const w=[],P=g.enter("table");for(;++y<k.length;)w[y]=h(k[y],g,O);return P(),w}function h(d,g,O){const k=d.children;let y=-1;const w=[],P=g.enter("tableRow");for(;++y<k.length;)w[y]=l(k[y],d,g,O);return P(),w}function f(d,g,O){let k=ag.inlineCode(d,g,O);return O.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function jS(){return{exit:{taskListCheckValueChecked:ff,taskListCheckValueUnchecked:ff,paragraph:US}}}function ZS(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:YS}}}function ff(t){const e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function US(t){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=e.children;let i=-1,s;for(;++i<a.length;){const o=a[i];if(o.type==="paragraph"){s=o;break}}s===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(t)}function YS(t,e,r,n){const a=t.children[0],i=typeof t.checked=="boolean"&&a&&a.type==="paragraph",s="["+(t.checked?"x":" ")+"] ",o=r.createTracker(n);i&&o.move(s);let l=ag.listItem(t,e,r,{...n,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+s}}function HS(){return[Aw(),Hw(),Kw(),NS(),jS()]}function VS(t){return{extensions:[Cw(),Vw(t),Jw(),XS(t),ZS()]}}const WS={tokenize:rx,partial:!0},ig={tokenize:nx,partial:!0},sg={tokenize:ax,partial:!0},og={tokenize:ix,partial:!0},GS={tokenize:sx,partial:!0},lg={name:"wwwAutolink",tokenize:ex,previous:ug},cg={name:"protocolAutolink",tokenize:tx,previous:hg},kr={name:"emailAutolink",tokenize:JS,previous:fg},ir={};function KS(){return{text:ir}}let jr=48;for(;jr<123;)ir[jr]=kr,jr++,jr===58?jr=65:jr===91&&(jr=97);ir[43]=kr;ir[45]=kr;ir[46]=kr;ir[95]=kr;ir[72]=[kr,cg];ir[104]=[kr,cg];ir[87]=[kr,lg];ir[119]=[kr,lg];function JS(t,e,r){const n=this;let a,i;return s;function s(h){return!Vl(h)||!fg.call(n,n.previous)||cu(n.events)?r(h):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),o(h))}function o(h){return Vl(h)?(t.consume(h),o):h===64?(t.consume(h),l):r(h)}function l(h){return h===46?t.check(GS,u,c)(h):h===45||h===95||Ze(h)?(i=!0,t.consume(h),l):u(h)}function c(h){return t.consume(h),a=!0,l}function u(h){return i&&a&&He(n.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(h)):r(h)}}function ex(t,e,r){const n=this;return a;function a(s){return s!==87&&s!==119||!ug.call(n,n.previous)||cu(n.events)?r(s):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(WS,t.attempt(ig,t.attempt(sg,i),r),r)(s))}function i(s){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(s)}}function tx(t,e,r){const n=this;let a="",i=!1;return s;function s(h){return(h===72||h===104)&&hg.call(n,n.previous)&&!cu(n.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),a+=String.fromCodePoint(h),t.consume(h),o):r(h)}function o(h){if(He(h)&&a.length<5)return a+=String.fromCodePoint(h),t.consume(h),o;if(h===58){const f=a.toLowerCase();if(f==="http"||f==="https")return t.consume(h),l}return r(h)}function l(h){return h===47?(t.consume(h),i?c:(i=!0,l)):r(h)}function c(h){return h===null||ks(h)||be(h)||rn(h)||Vs(h)?r(h):t.attempt(ig,t.attempt(sg,u),r)(h)}function u(h){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(h)}}function rx(t,e,r){let n=0;return a;function a(s){return(s===87||s===119)&&n<3?(n++,t.consume(s),a):s===46&&n===3?(t.consume(s),i):r(s)}function i(s){return s===null?r(s):e(s)}}function nx(t,e,r){let n,a,i;return s;function s(c){return c===46||c===95?t.check(og,l,o)(c):c===null||be(c)||rn(c)||c!==45&&Vs(c)?l(c):(i=!0,t.consume(c),s)}function o(c){return c===95?n=!0:(a=n,n=void 0),t.consume(c),s}function l(c){return a||n||!i?r(c):e(c)}}function ax(t,e){let r=0,n=0;return a;function a(s){return s===40?(r++,t.consume(s),a):s===41&&n<r?i(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?t.check(og,e,i)(s):s===null||be(s)||rn(s)?e(s):(t.consume(s),a)}function i(s){return s===41&&n++,t.consume(s),a}}function ix(t,e,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(t.consume(o),n):o===38?(t.consume(o),i):o===93?(t.consume(o),a):o===60||o===null||be(o)||rn(o)?e(o):r(o)}function a(o){return o===null||o===40||o===91||be(o)||rn(o)?e(o):n(o)}function i(o){return He(o)?s(o):r(o)}function s(o){return o===59?(t.consume(o),n):He(o)?(t.consume(o),s):r(o)}}function sx(t,e,r){return n;function n(i){return t.consume(i),a}function a(i){return Ze(i)?r(i):e(i)}}function ug(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||be(t)}function hg(t){return!He(t)}function fg(t){return!(t===47||Vl(t))}function Vl(t){return t===43||t===45||t===46||t===95||Ze(t)}function cu(t){let e=t.length,r=!1;for(;e--;){const n=t[e][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return t.length>0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const ox={tokenize:mx,partial:!0};function lx(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:fx,continuation:{tokenize:dx},exit:px}},text:{91:{name:"gfmFootnoteCall",tokenize:hx},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:cx,resolveTo:ux}}}}function cx(t,e,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;a--;){const l=n.events[a][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!s||!s._balanced)return r(l);const c=$t(n.sliceSerialize({start:s.end,end:n.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?r(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),e(l))}}function ux(t,e){let r=t.length;for(;r--;)if(t[r][1].type==="labelImage"&&t[r][0]==="enter"){t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},t[t.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[t[r+1],t[r+2],["enter",n,e],t[r+3],t[r+4],["enter",a,e],["exit",a,e],["enter",i,e],["enter",s,e],["exit",s,e],["exit",i,e],t[t.length-2],t[t.length-1],["exit",n,e]];return t.splice(r,t.length-r+1,...o),t}function hx(t,e,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,s;return o;function o(h){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(h),t.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?r(h):(t.enter("gfmFootnoteCallMarker"),t.consume(h),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(h){if(i>999||h===93&&!s||h===null||h===91||be(h))return r(h);if(h===93){t.exit("chunkString");const f=t.exit("gfmFootnoteCallString");return a.includes($t(n.sliceSerialize(f)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(h),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(h)}return be(h)||(s=!0),i++,t.consume(h),h===92?u:c}function u(h){return h===91||h===92||h===93?(t.consume(h),i++,c):c(h)}}function fx(t,e,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,s=0,o;return l;function l(g){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",u):r(g)}function u(g){if(s>999||g===93&&!o||g===null||g===91||be(g))return r(g);if(g===93){t.exit("chunkString");const O=t.exit("gfmFootnoteDefinitionLabelString");return i=$t(n.sliceSerialize(O)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),f}return be(g)||(o=!0),s++,t.consume(g),g===92?h:u}function h(g){return g===91||g===92||g===93?(t.consume(g),s++,u):u(g)}function f(g){return g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),a.includes(i)||a.push(i),le(t,d,"gfmFootnoteDefinitionWhitespace")):r(g)}function d(g){return e(g)}}function dx(t,e,r){return t.check(di,e,t.attempt(ox,e,r))}function px(t){t.exit("gfmFootnoteDefinition")}function mx(t,e,r){const n=this;return le(t,a,"gfmFootnoteDefinitionIndent",5);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(i):r(i)}}function gx(t){let r=(t||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(s,o){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const u={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},h={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},f=[["enter",u,o],["enter",s[c][1],o],["exit",s[c][1],o],["enter",h,o]],d=o.parser.constructs.insideSpan.null;d&&St(f,f.length,0,Ws(d,s.slice(c+1,l),o)),St(f,f.length,0,[["exit",h,o],["enter",s[l][1],o],["exit",s[l][1],o],["exit",u,o]]),St(s,c-1,l-c+3,f),l=c+f.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function i(s,o,l){const c=this.previous,u=this.events;let h=0;return f;function f(g){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),d(g))}function d(g){const O=zn(c);if(g===126)return h>1?l(g):(s.consume(g),h++,d);if(h<2&&!r)return l(g);const k=s.exit("strikethroughSequenceTemporary"),y=zn(g);return k._open=!y||y===2&&!!O,k._close=!O||O===2&&!!y,o(g)}}}class Ox{constructor(){this.map=[]}add(e,r,n){yx(this,e,r,n)}consume(e){if(this.map.sort(function(i,s){return i[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];n.push(e.slice()),e.length=0;let a=n.pop();for(;a;){for(const i of a)e.push(i);a=n.pop()}this.map.length=0}}function yx(t,e,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<t.map.length;){if(t.map[a][0]===e){t.map[a][1]+=r,t.map[a][2].push(...n);return}a+=1}t.map.push([e,r,n])}}function kx(t,e){let r=!1;const n=[];for(;e<t.length;){const a=t[e];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);e+=1}return n}function bx(){return{flow:{null:{name:"table",tokenize:_x,resolveAll:wx}}}}function _x(t,e,r){const n=this;let a=0,i=0,s;return o;function o(D){let F=n.events.length-1;for(;F>-1;){const W=n.events[F][1].type;if(W==="lineEnding"||W==="linePrefix")F--;else break}const R=F>-1?n.events[F][1].type:null,Z=R==="tableHead"||R==="tableRow"?m:l;return Z===m&&n.parser.lazy[n.now().line]?r(D):Z(D)}function l(D){return t.enter("tableHead"),t.enter("tableRow"),c(D)}function c(D){return D===124||(s=!0,i+=1),u(D)}function u(D){return D===null?r(D):K(D)?i>1?(i=0,n.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(D),t.exit("lineEnding"),d):r(D):ce(D)?le(t,u,"whitespace")(D):(i+=1,s&&(s=!1,a+=1),D===124?(t.enter("tableCellDivider"),t.consume(D),t.exit("tableCellDivider"),s=!0,u):(t.enter("data"),h(D)))}function h(D){return D===null||D===124||be(D)?(t.exit("data"),u(D)):(t.consume(D),D===92?f:h)}function f(D){return D===92||D===124?(t.consume(D),h):h(D)}function d(D){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(D):(t.enter("tableDelimiterRow"),s=!1,ce(D)?le(t,g,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):g(D))}function g(D){return D===45||D===58?k(D):D===124?(s=!0,t.enter("tableCellDivider"),t.consume(D),t.exit("tableCellDivider"),O):T(D)}function O(D){return ce(D)?le(t,k,"whitespace")(D):k(D)}function k(D){return D===58?(i+=1,s=!0,t.enter("tableDelimiterMarker"),t.consume(D),t.exit("tableDelimiterMarker"),y):D===45?(i+=1,y(D)):D===null||K(D)?N(D):T(D)}function y(D){return D===45?(t.enter("tableDelimiterFiller"),w(D)):T(D)}function w(D){return D===45?(t.consume(D),w):D===58?(s=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(D),t.exit("tableDelimiterMarker"),P):(t.exit("tableDelimiterFiller"),P(D))}function P(D){return ce(D)?le(t,N,"whitespace")(D):N(D)}function N(D){return D===124?g(D):D===null||K(D)?!s||a!==i?T(D):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(D)):T(D)}function T(D){return r(D)}function m(D){return t.enter("tableRow"),S(D)}function S(D){return D===124?(t.enter("tableCellDivider"),t.consume(D),t.exit("tableCellDivider"),S):D===null||K(D)?(t.exit("tableRow"),e(D)):ce(D)?le(t,S,"whitespace")(D):(t.enter("data"),$(D))}function $(D){return D===null||D===124||be(D)?(t.exit("data"),S(D)):(t.consume(D),D===92?Q:$)}function Q(D){return D===92||D===124?(t.consume(D),$):$(D)}}function wx(t,e){let r=-1,n=!0,a=0,i=[0,0,0,0],s=[0,0,0,0],o=!1,l=0,c,u,h;const f=new Ox;for(;++r<t.length;){const d=t[r],g=d[1];d[0]==="enter"?g.type==="tableHead"?(o=!1,l!==0&&(df(f,e,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},f.add(r,0,[["enter",c,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(n=!0,h=void 0,i=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,u={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},f.add(r,0,[["enter",u,e]])),a=g.type==="tableDelimiterRow"?2:u?3:1):a&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(i[1]!==0&&(s[0]=s[1],h=Di(f,e,i,a,void 0,h),i=[0,0,0,0]),s[2]=r)):g.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(s[0]=s[1],h=Di(f,e,i,a,void 0,h)),i=s,s=[i[1],r,0,0])):g.type==="tableHead"?(o=!0,l=r):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=r,i[1]!==0?(s[0]=s[1],h=Di(f,e,i,a,r,h)):s[1]!==0&&(h=Di(f,e,s,a,r,h)),a=0):a&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=r)}for(l!==0&&df(f,e,l,c,u),f.consume(e.events),r=-1;++r<e.events.length;){const d=e.events[r];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=kx(e.events,r))}return t}function Di(t,e,r,n,a,i){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(i.end=Object.assign({},bn(e.events,r[0])),t.add(r[0],0,[["exit",i,e]]));const l=bn(e.events,r[1]);if(i={type:s,start:Object.assign({},l),end:Object.assign({},l)},t.add(r[1],0,[["enter",i,e]]),r[2]!==0){const c=bn(e.events,r[2]),u=bn(e.events,r[3]),h={type:o,start:Object.assign({},c),end:Object.assign({},u)};if(t.add(r[2],0,[["enter",h,e]]),n!==2){const f=e.events[r[2]],d=e.events[r[3]];if(f[1].end=Object.assign({},d[1].end),f[1].type="chunkText",f[1].contentType="text",r[3]>r[2]+1){const g=r[2]+1,O=r[3]-r[2]-1;t.add(g,O,[])}}t.add(r[3]+1,0,[["exit",h,e]])}return a!==void 0&&(i.end=Object.assign({},bn(e.events,a)),t.add(a,0,[["exit",i,e]]),i=void 0),i}function df(t,e,r,n,a){const i=[],s=bn(e.events,r);a&&(a.end=Object.assign({},s),i.push(["exit",a,e])),n.end=Object.assign({},s),i.push(["exit",n,e]),t.add(r+1,0,i)}function bn(t,e){const r=t[e],n=r[0]==="enter"?"start":"end";return r[1][n]}const Sx={name:"tasklistCheck",tokenize:Tx};function xx(){return{text:{91:Sx}}}function Tx(t,e,r){const n=this;return a;function a(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),i)}function i(l){return be(l)?(t.enter("taskListCheckValueUnchecked"),t.consume(l),t.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(t.enter("taskListCheckValueChecked"),t.consume(l),t.exit("taskListCheckValueChecked"),s):r(l)}function s(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),o):r(l)}function o(l){return K(l)?e(l):ce(l)?t.check({tokenize:Ex},e,r)(l):r(l)}}function Ex(t,e,r){return le(t,n,"whitespace");function n(a){return a===null?r(a):e(a)}}function Ax(t){return Em([KS(),lx(),gx(t),bx(),xx()])}const Cx={};function dg(t){const e=this,r=t||Cx,n=e.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(Ax(r)),i.push(HS()),s.push(VS(r))}function Px(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function t(l){const c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function e(){this.buffer()}function r(){const l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(l){const c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c;const h=u.data.hChildren[0];h.type,h.tagName,h.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function i(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){const c=this.resume(),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c,u.data.hChildren.push({type:"text",value:c})}function o(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function vx(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
19
- `,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,s,o,l){const c=i.value||"",u=o.createTracker(l),h="$".repeat(Math.max(Ym(c,"$")+1,2)),f=o.enter("mathFlow");let d=u.move(h);if(i.meta){const g=o.enter("mathFlowMeta");d+=u.move(o.safe(i.meta,{after:`
20
- `,before:d,encode:["$"],...u.current()})),g()}return d+=u.move(`
21
- `),c&&(d+=u.move(c+`
22
- `)),d+=u.move(h),f(),d}function n(i,s,o){let l=i.value||"",c=1;for(e||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;const u="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let h=-1;for(;++h<o.unsafe.length;){const f=o.unsafe[h];if(!f.atBreak)continue;const d=o.compilePattern(f);let g;for(;g=d.exec(l);){let O=g.index;l.codePointAt(O)===10&&l.codePointAt(O-1)===13&&O--,l=l.slice(0,O)+" "+l.slice(g.index+1)}}return u+l+u}function a(){return"$"}}const Dx={tokenize:Qx,concrete:!0,name:"mathFlow"},pf={tokenize:zx,partial:!0};function Qx(t,e,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0;return o;function o(w){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),l(w)}function l(w){return w===36?(t.consume(w),s++,l):s<2?r(w):(t.exit("mathFlowFenceSequence"),le(t,c,"whitespace")(w))}function c(w){return w===null||K(w)?h(w):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),u(w))}function u(w){return w===null||K(w)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),h(w)):w===36?r(w):(t.consume(w),u)}function h(w){return t.exit("mathFlowFence"),n.interrupt?e(w):t.attempt(pf,f,k)(w)}function f(w){return t.attempt({tokenize:y,partial:!0},k,d)(w)}function d(w){return(i?le(t,g,"linePrefix",i+1):g)(w)}function g(w){return w===null?k(w):K(w)?t.attempt(pf,f,k)(w):(t.enter("mathFlowValue"),O(w))}function O(w){return w===null||K(w)?(t.exit("mathFlowValue"),g(w)):(t.consume(w),O)}function k(w){return t.exit("mathFlow"),e(w)}function y(w,P,N){let T=0;return le(w,m,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function m(Q){return w.enter("mathFlowFence"),w.enter("mathFlowFenceSequence"),S(Q)}function S(Q){return Q===36?(T++,w.consume(Q),S):T<s?N(Q):(w.exit("mathFlowFenceSequence"),le(w,$,"whitespace")(Q))}function $(Q){return Q===null||K(Q)?(w.exit("mathFlowFence"),P(Q)):N(Q)}}}function zx(t,e,r){const n=this;return a;function a(s){return s===null?e(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):e(s)}}function Ix(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Lx,previous:Rx,name:"mathText"};function n(a,i,s){let o=0,l,c;return u;function u(O){return a.enter("mathText"),a.enter("mathTextSequence"),h(O)}function h(O){return O===36?(a.consume(O),o++,h):o<2&&!r?s(O):(a.exit("mathTextSequence"),f(O))}function f(O){return O===null?s(O):O===36?(c=a.enter("mathTextSequence"),l=0,g(O)):O===32?(a.enter("space"),a.consume(O),a.exit("space"),f):K(O)?(a.enter("lineEnding"),a.consume(O),a.exit("lineEnding"),f):(a.enter("mathTextData"),d(O))}function d(O){return O===null||O===32||O===36||K(O)?(a.exit("mathTextData"),f(O)):(a.consume(O),d)}function g(O){return O===36?(a.consume(O),l++,g):l===o?(a.exit("mathTextSequence"),a.exit("mathText"),i(O)):(c.type="mathTextData",d(O))}}}function Lx(t){let e=t.length-4,r=3,n,a;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=r;++n<e;)if(t[n][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[r][1].type="mathTextPadding",r+=2,e-=2;break}}for(n=r-1,e++;++n<=e;)a===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(a=n):(n===e||t[n][1].type==="lineEnding")&&(t[a][1].type="mathTextData",n!==a+2&&(t[a][1].end=t[n-1][1].end,t.splice(a+2,n-a-2),e-=n-a-2,n=a+2),a=void 0);return t}function Rx(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Nx(t){return{flow:{36:Dx},text:{36:Ix(t)}}}const $x={};function pg(t){const e=this,r=t||$x,n=e.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(Nx(r)),i.push(Px()),s.push(vx(r))}var Xo={exports:{}},mf;function Mx(){return mf||(mf=1,(function(t){(function(){var e;e=t.exports=a,e.format=a,e.vsprintf=n,typeof console<"u"&&typeof console.log=="function"&&(e.printf=r);function r(){console.log(a.apply(null,arguments))}function n(i,s){return a.apply(null,[i].concat(s))}function a(i){for(var s=1,o=[].slice.call(arguments),l=0,c=i.length,u="",h,f=!1,d,g,O=!1,k,y=function(){return o[s++]},w=function(){for(var P="";/\d/.test(i[l]);)P+=i[l++],h=i[l];return P.length>0?parseInt(P):null};l<c;++l)if(h=i[l],f)switch(f=!1,h=="."?(O=!1,h=i[++l]):h=="0"&&i[l+1]=="."?(O=!0,l+=2,h=i[l]):O=!0,k=w(),h){case"b":u+=parseInt(y(),10).toString(2);break;case"c":d=y(),typeof d=="string"||d instanceof String?u+=d:u+=String.fromCharCode(parseInt(d,10));break;case"d":u+=parseInt(y(),10);break;case"f":g=String(parseFloat(y()).toFixed(k||6)),u+=O?g:g.replace(/^0/,"");break;case"j":u+=JSON.stringify(y());break;case"o":u+="0"+parseInt(y(),10).toString(8);break;case"s":u+=y();break;case"x":u+="0x"+parseInt(y(),10).toString(16);break;case"X":u+="0x"+parseInt(y(),10).toString(16).toUpperCase();break;default:u+=h;break}else h==="%"?f=!0:u+=h;return u}})()})(Xo)),Xo.exports}var Fx=Mx();const Bx=Hs(Fx),Qi=Object.assign(Zr(Error),{eval:Zr(EvalError),range:Zr(RangeError),reference:Zr(ReferenceError),syntax:Zr(SyntaxError),type:Zr(TypeError),uri:Zr(URIError)});function Zr(t){return e.displayName=t.displayName||t.name,e;function e(r,...n){const a=r&&Bx(r,...n);return new t(a)}}const zi={}.hasOwnProperty,gf={yaml:"-",toml:"+"};function uu(t){const e=[];let r=-1;const n=Array.isArray(t)?t:t?[t]:["yaml"];for(;++r<n.length;)e[r]=qx(n[r]);return e}function qx(t){let e=t;if(typeof e=="string"){if(!zi.call(gf,e))throw Qi("Missing matter definition for `%s`",e);e={type:e,marker:gf[e]}}else if(typeof e!="object")throw Qi("Expected matter to be an object, not `%j`",e);if(!zi.call(e,"type"))throw Qi("Missing `type` in matter `%j`",e);if(!zi.call(e,"fence")&&!zi.call(e,"marker"))throw Qi("Missing `marker` or `fence` in matter `%j`",e);return e}function Xx(t){const e=uu(t),r={};let n=-1;for(;++n<e.length;){const a=e[n],i=Wl(a,"open").charCodeAt(0),s=jx(a),o=r[i];Array.isArray(o)?o.push(s):r[i]=[s]}return{flow:r}}function jx(t){const e=t.anywhere,r=t.type,n=r+"Fence",a=n+"Sequence",i=r+"Value",s={tokenize:u,partial:!0};let o,l=0;return{tokenize:c,concrete:!0};function c(h,f,d){const g=this;return O;function O(S){const $=g.now();return $.column===1&&($.line===1||e)&&(o=Wl(t,"open"),l=0,S===o.charCodeAt(l))?(h.enter(r),h.enter(n),h.enter(a),k(S)):d(S)}function k(S){return l===o.length?(h.exit(a),ce(S)?(h.enter("whitespace"),y(S)):w(S)):S===o.charCodeAt(l++)?(h.consume(S),k):d(S)}function y(S){return ce(S)?(h.consume(S),y):(h.exit("whitespace"),w(S))}function w(S){return K(S)?(h.exit(n),h.enter("lineEnding"),h.consume(S),h.exit("lineEnding"),o=Wl(t,"close"),l=0,h.attempt(s,m,P)):d(S)}function P(S){return S===null||K(S)?T(S):(h.enter(i),N(S))}function N(S){return S===null||K(S)?(h.exit(i),T(S)):(h.consume(S),N)}function T(S){return S===null?d(S):(h.enter("lineEnding"),h.consume(S),h.exit("lineEnding"),h.attempt(s,m,P))}function m(S){return h.exit(r),f(S)}}function u(h,f,d){let g=0;return O;function O(P){return P===o.charCodeAt(g)?(h.enter(n),h.enter(a),k(P)):d(P)}function k(P){return g===o.length?(h.exit(a),ce(P)?(h.enter("whitespace"),y(P)):w(P)):P===o.charCodeAt(g++)?(h.consume(P),k):d(P)}function y(P){return ce(P)?(h.consume(P),y):(h.exit("whitespace"),w(P))}function w(P){return P===null||K(P)?(h.exit(n),f(P)):d(P)}}}function Wl(t,e){return t.marker?Of(t.marker,e).repeat(3):Of(t.fence,e)}function Of(t,e){return typeof t=="string"?t:t[e]}function Zx(t){const e=uu(t),r={},n={};let a=-1;for(;++a<e.length;){const i=e[a];r[i.type]=Ux(i),n[i.type]=Yx,n[i.type+"Value"]=Hx}return{enter:r,exit:n}}function Ux(t){return e;function e(r){this.enter({type:t.type,value:""},r),this.buffer()}}function Yx(t){const e=this.resume(),r=this.stack[this.stack.length-1];this.exit(t),r.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function Hx(t){this.config.enter.data.call(this,t),this.config.exit.data.call(this,t)}function Vx(t){const e=[],r={},n=uu(t);let a=-1;for(;++a<n.length;){const i=n[a];r[i.type]=Wx(i);const s=Gl(i,"open");e.push({atBreak:!0,character:s.charAt(0),after:Fm(s.charAt(1))})}return{unsafe:e,handlers:r}}function Wx(t){const e=Gl(t,"open"),r=Gl(t,"close");return n;function n(a){return e+(a.value?`
23
- `+a.value:"")+`
24
- `+r}}function Gl(t,e){return t.marker?yf(t.marker,e).repeat(3):yf(t.fence,e)}function yf(t,e){return typeof t=="string"?t:t[e]}const Gx="yaml";function mg(t){const e=this,r=t||Gx,n=e.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(Xx(r)),i.push(Zx(r)),s.push(Vx(r))}const gg=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],kf={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function Og(t){const e=typeof t=="string"?t.charCodeAt(0):t;return e>=48&&e<=57}function Kx(t){const e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}function Jx(t){const e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=122||e>=65&&e<=90}function bf(t){return Jx(t)||Og(t)}const eT=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function hu(t,e){const r=e||{},n=typeof r.additional=="string"?r.additional.charCodeAt(0):r.additional,a=[];let i=0,s=-1,o="",l,c;r.position&&("start"in r.position||"indent"in r.position?(c=r.position.indent,l=r.position.start):l=r.position);let u=(l?l.line:0)||1,h=(l?l.column:0)||1,f=g(),d;for(i--;++i<=t.length;)if(d===10&&(h=(c?c[s]:0)||1),d=t.charCodeAt(i),d===38){const y=t.charCodeAt(i+1);if(y===9||y===10||y===12||y===32||y===38||y===60||Number.isNaN(y)||n&&y===n){o+=String.fromCharCode(d),h++;continue}const w=i+1;let P=w,N=w,T;if(y===35){N=++P;const Z=t.charCodeAt(N);Z===88||Z===120?(T="hexadecimal",N=++P):T="decimal"}else T="named";let m="",S="",$="";const Q=T==="named"?bf:T==="decimal"?Og:Kx;for(N--;++N<=t.length;){const Z=t.charCodeAt(N);if(!Q(Z))break;$+=String.fromCharCode(Z),T==="named"&&gg.includes($)&&(m=$,S=Xa($))}let D=t.charCodeAt(N)===59;if(D){N++;const Z=T==="named"?Xa($):!1;Z&&(m=$,S=Z)}let F=1+N-w,R="";if(!(!D&&r.nonTerminated===!1))if(!$)T!=="named"&&O(4,F);else if(T==="named"){if(D&&!S)O(5,1);else if(m!==$&&(N=P+m.length,F=1+N-P,D=!1),!D){const Z=m?1:3;if(r.attribute){const W=t.charCodeAt(N);W===61?(O(Z,F),S=""):bf(W)?S="":O(Z,F)}else O(Z,F)}R=S}else{D||O(2,F);let Z=Number.parseInt($,T==="hexadecimal"?16:10);if(tT(Z))O(7,F),R="�";else if(Z in kf)O(6,F),R=kf[Z];else{let W="";rT(Z)&&O(6,F),Z>65535&&(Z-=65536,W+=String.fromCharCode(Z>>>10|55296),Z=56320|Z&1023),R=W+String.fromCharCode(Z)}}if(R){k(),f=g(),i=N-1,h+=N-w+1,a.push(R);const Z=g();Z.offset++,r.reference&&r.reference.call(r.referenceContext||void 0,R,{start:f,end:Z},t.slice(w-1,N)),f=Z}else $=t.slice(w-1,N),o+=$,h+=$.length,i=N-1}else d===10&&(u++,s++,h=0),Number.isNaN(d)?k():(o+=String.fromCharCode(d),h++);return a.join("");function g(){return{line:u,column:h,offset:i+((l?l.offset:0)||0)}}function O(y,w){let P;r.warning&&(P=g(),P.column+=w,P.offset+=w,r.warning.call(r.warningContext||void 0,eT[y],P,y))}function k(){o&&(a.push(o),r.text&&r.text.call(r.textContext||void 0,o,{start:f,end:g()}),o="")}}function tT(t){return t>=55296&&t<=57343||t>1114111}function rT(t){return t>=1&&t<=8||t===11||t>=13&&t<=31||t>=127&&t<=159||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534}const nT=/["&'<>`]/g,aT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,iT=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,sT=/[|\\{}()[\]^$+*?.]/g,_f=new WeakMap;function yg(t,e){if(t=t.replace(e.subset?oT(e.subset):nT,n),e.subset||e.escapeOnly)return t;return t.replace(aT,r).replace(iT,n);function r(a,i,s){return e.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),e)}function n(a,i,s){return e.format(a.charCodeAt(0),s.charCodeAt(i+1),e)}}function oT(t){let e=_f.get(t);return e||(e=lT(t),_f.set(t,e)),e}function lT(t){const e=[];let r=-1;for(;++r<t.length;)e.push(t[r].replace(sT,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const cT=/[\dA-Fa-f]/;function uT(t,e,r){const n="&#x"+t.toString(16).toUpperCase();return r&&e&&!cT.test(String.fromCharCode(e))?n:n+";"}const hT=/\d/;function fT(t,e,r){const n="&#"+String(t);return r&&e&&!hT.test(String.fromCharCode(e))?n:n+";"}const jo={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},dT=["cent","copy","divide","gt","lt","not","para","times"],kg={}.hasOwnProperty,Kl={};let Ii;for(Ii in jo)kg.call(jo,Ii)&&(Kl[jo[Ii]]=Ii);const pT=/[^\dA-Za-z]/;function mT(t,e,r,n){const a=String.fromCharCode(t);if(kg.call(Kl,a)){const i=Kl[a],s="&"+i;return r&&gg.includes(i)&&!dT.includes(i)&&(!n||e&&e!==61&&pT.test(String.fromCharCode(e)))?s:s+";"}return""}function gT(t,e,r){let n=uT(t,e,r.omitOptionalSemicolons),a;if((r.useNamedReferences||r.useShortestReferences)&&(a=mT(t,e,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!a)&&r.useShortestReferences){const i=fT(t,e,r.omitOptionalSemicolons);i.length<n.length&&(n=i)}return a&&(!r.useShortestReferences||a.length<n.length)?a:n}function OT(t){return"&#x"+t.toString(16).toUpperCase()+";"}function Tn(t,e){return yg(t,Object.assign({format:gT},e))}function yT(t,e){return yg(t,Object.assign({format:OT},e))}const kT={}.hasOwnProperty,bT={},wf=/^[^\t\n\r "#'.<=>`}]+$/,_T=/^[^\t\n\r "'<=>`}]+$/;function wT(){return{canContainEols:["textDirective"],enter:{directiveContainer:xT,directiveContainerAttributes:Uo,directiveContainerLabel:AT,directiveLeaf:TT,directiveLeafAttributes:Uo,directiveText:ET,directiveTextAttributes:Uo},exit:{directiveContainer:Ko,directiveContainerAttributeClassValue:Ho,directiveContainerAttributeIdValue:Yo,directiveContainerAttributeName:Wo,directiveContainerAttributeValue:Vo,directiveContainerAttributes:Go,directiveContainerLabel:CT,directiveContainerName:Zo,directiveLeaf:Ko,directiveLeafAttributeClassValue:Ho,directiveLeafAttributeIdValue:Yo,directiveLeafAttributeName:Wo,directiveLeafAttributeValue:Vo,directiveLeafAttributes:Go,directiveLeafName:Zo,directiveText:Ko,directiveTextAttributeClassValue:Ho,directiveTextAttributeIdValue:Yo,directiveTextAttributeName:Wo,directiveTextAttributeValue:Vo,directiveTextAttributes:Go,directiveTextName:Zo}}}function ST(t){const e=bT;if(e.quote!=='"'&&e.quote!=="'"&&e.quote!==null&&e.quote!==void 0)throw new Error("Invalid quote `"+e.quote+"`, expected `'` or `\"`");return r.peek=PT,{handlers:{containerDirective:r,leafDirective:r,textDirective:r},unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
25
- `,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}]};function r(i,s,o,l){const c=o.createTracker(l),u=vT(i),h=o.enter(i.type);let f=c.move(u+(i.name||"")),d;if(i.type==="containerDirective"){const g=(i.children||[])[0];d=Sf(g)?g:void 0}else d=i;if(d&&d.children&&d.children.length>0){const g=o.enter("label"),O=`${i.type}Label`,k=o.enter(O);f+=c.move("["),f+=c.move(o.containerPhrasing(d,{...c.current(),before:f,after:"]"})),f+=c.move("]"),k(),g()}if(f+=c.move(n(i,o)),i.type==="containerDirective"){const g=(i.children||[])[0];let O=i;Sf(g)&&(O=Object.assign({},i,{children:i.children.slice(1)})),O&&O.children&&O.children.length>0&&(f+=c.move(`
26
- `),f+=c.move(o.containerFlow(O,c.current()))),f+=c.move(`
27
- `+u)}return h(),f}function n(i,s){const o=i.attributes||{},l=[];let c,u,h,f;for(f in o)if(kT.call(o,f)&&o[f]!==void 0&&o[f]!==null){const d=String(o[f]);if(f==="id")h=e.preferShortcut!==!1&&wf.test(d)?"#"+d:a("id",d,i,s);else if(f==="class"){const g=d.split(/[\t\n\r ]+/g),O=[],k=[];let y=-1;for(;++y<g.length;)(e.preferShortcut!==!1&&wf.test(g[y])?k:O).push(g[y]);c=O.length>0?a("class",O.join(" "),i,s):"",u=k.length>0?"."+k.join("."):""}else l.push(a(f,d,i,s))}return c&&l.unshift(c),u&&l.unshift(u),h&&l.unshift(h),l.length>0?"{"+l.join(" ")+"}":""}function a(i,s,o,l){if(e.collapseEmptyAttributes!==!1&&!s)return i;if(e.preferUnquoted&&_T.test(s))return i+"="+s;const c=e.quote||l.options.quote||'"',u=c==='"'?"'":'"',h=e.quoteSmart&&In(s,c)>In(s,u)?u:c,f=o.type==="textDirective"?[h]:[h,`
28
- `,"\r"];return i+"="+h+yT(s,{subset:f})+h}}function xT(t){fu.call(this,"containerDirective",t)}function TT(t){fu.call(this,"leafDirective",t)}function ET(t){fu.call(this,"textDirective",t)}function fu(t,e){this.enter({type:t,name:"",attributes:{},children:[]},e)}function Zo(t){const e=this.stack[this.stack.length-1];e.type==="containerDirective"||e.type==="leafDirective"||e.type,e.name=this.sliceSerialize(t)}function AT(t){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},t)}function CT(t){this.exit(t)}function Uo(){this.data.directiveAttributes=[],this.buffer()}function Yo(t){this.data.directiveAttributes.push(["id",hu(this.sliceSerialize(t),{attribute:!0})])}function Ho(t){this.data.directiveAttributes.push(["class",hu(this.sliceSerialize(t),{attribute:!0})])}function Vo(t){const e=this.data.directiveAttributes;e[e.length-1][1]=hu(this.sliceSerialize(t),{attribute:!0})}function Wo(t){this.data.directiveAttributes.push([this.sliceSerialize(t),""])}function Go(){const t=this.data.directiveAttributes,e={};let r=-1;for(;++r<t.length;){const a=t[r];a[0]==="class"&&e.class?e.class+=" "+a[1]:e[a[0]]=a[1]}this.data.directiveAttributes=void 0,this.resume();const n=this.stack[this.stack.length-1];n.type==="containerDirective"||n.type==="leafDirective"||n.type,n.attributes=e}function Ko(t){this.exit(t)}function PT(){return":"}function Sf(t){return!!(t&&t.type==="paragraph"&&t.data&&t.data.directiveLabel)}function vT(t){let e=0;return t.type==="containerDirective"?(Ks(t,function(r,n){if(r.type==="containerDirective"){let a=n.length,i=0;for(;a--;)n[a].type==="containerDirective"&&i++;i>e&&(e=i)}}),e+=3):t.type==="leafDirective"?e=2:e=1,":".repeat(e)}function du(t,e,r,n,a,i,s,o,l,c,u,h,f,d,g){let O,k;return y;function y(v){return t.enter(n),t.enter(a),t.consume(v),t.exit(a),w}function w(v){return v===35?(O=s,P(v)):v===46?(O=o,P(v)):v===58||v===95||He(v)?(t.enter(i),t.enter(l),t.consume(v),m):g&&ce(v)?le(t,w,"whitespace")(v):!g&&be(v)?dr(t,w)(v):W(v)}function P(v){const G=O+"Marker";return t.enter(i),t.enter(O),t.enter(G),t.consume(v),t.exit(G),N}function N(v){if(v===null||v===34||v===35||v===39||v===46||v===60||v===61||v===62||v===96||v===125||be(v))return r(v);const G=O+"Value";return t.enter(G),t.consume(v),T}function T(v){if(v===null||v===34||v===39||v===60||v===61||v===62||v===96)return r(v);if(v===35||v===46||v===125||be(v)){const G=O+"Value";return t.exit(G),t.exit(O),t.exit(i),w(v)}return t.consume(v),T}function m(v){return v===45||v===46||v===58||v===95||Ze(v)?(t.consume(v),m):(t.exit(l),g&&ce(v)?le(t,S,"whitespace")(v):!g&&be(v)?dr(t,S)(v):S(v))}function S(v){return v===61?(t.enter(c),t.consume(v),t.exit(c),$):(t.exit(i),w(v))}function $(v){return v===null||v===60||v===61||v===62||v===96||v===125||g&&K(v)?r(v):v===34||v===39?(t.enter(u),t.enter(f),t.consume(v),t.exit(f),k=v,D):g&&ce(v)?le(t,$,"whitespace")(v):!g&&be(v)?dr(t,$)(v):(t.enter(h),t.enter(d),t.consume(v),k=void 0,Q)}function Q(v){return v===null||v===34||v===39||v===60||v===61||v===62||v===96?r(v):v===125||be(v)?(t.exit(d),t.exit(h),t.exit(i),w(v)):(t.consume(v),Q)}function D(v){return v===k?(t.enter(f),t.consume(v),t.exit(f),t.exit(u),t.exit(i),Z):(t.enter(h),F(v))}function F(v){return v===k?(t.exit(h),D(v)):v===null?r(v):K(v)?g?r(v):dr(t,F)(v):(t.enter(d),t.consume(v),R)}function R(v){return v===k||v===null||K(v)?(t.exit(d),F(v)):(t.consume(v),R)}function Z(v){return v===125||be(v)?w(v):W(v)}function W(v){return v===125?(t.enter(a),t.consume(v),t.exit(a),t.exit(n),e):r(v)}}function pu(t,e,r,n,a,i,s){let o=0,l=0,c;return u;function u(k){return t.enter(n),t.enter(a),t.consume(k),t.exit(a),h}function h(k){return k===93?(t.enter(a),t.consume(k),t.exit(a),t.exit(n),e):(t.enter(i),f(k))}function f(k){if(k===93&&!l)return O(k);const y=t.enter("chunkText",{contentType:"text",previous:c});return c&&(c.next=y),c=y,d(k)}function d(k){return k===null||o>999||k===91&&++l>32?r(k):k===93&&!l--?(t.exit("chunkText"),O(k)):K(k)?s?r(k):(t.consume(k),t.exit("chunkText"),f):(t.consume(k),k===92?g:d)}function g(k){return k===91||k===92||k===93?(t.consume(k),o++,d):d(k)}function O(k){return t.exit(i),t.enter(a),t.consume(k),t.exit(a),t.exit(n),e}}function mu(t,e,r,n){const a=this;return i;function i(o){return He(o)?(t.enter(n),t.consume(o),s):r(o)}function s(o){return o===45||o===95||Ze(o)?(t.consume(o),s):(t.exit(n),a.previous===45||a.previous===95?r(o):e(o))}}const DT={tokenize:IT,concrete:!0},QT={tokenize:LT,partial:!0},zT={tokenize:RT,partial:!0},Li={tokenize:NT,partial:!0};function IT(t,e,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0,o;return l;function l(Q){return t.enter("directiveContainer"),t.enter("directiveContainerFence"),t.enter("directiveContainerSequence"),c(Q)}function c(Q){return Q===58?(t.consume(Q),s++,c):s<3?r(Q):(t.exit("directiveContainerSequence"),mu.call(n,t,u,r,"directiveContainerName")(Q))}function u(Q){return Q===91?t.attempt(QT,h,h)(Q):h(Q)}function h(Q){return Q===123?t.attempt(zT,f,f)(Q):f(Q)}function f(Q){return le(t,d,"whitespace")(Q)}function d(Q){return t.exit("directiveContainerFence"),Q===null?S(Q):K(Q)?n.interrupt?e(Q):t.attempt(Li,g,S)(Q):r(Q)}function g(Q){return Q===null?S(Q):K(Q)?t.check(Li,P,S)(Q):(t.enter("directiveContainerContent"),O(Q))}function O(Q){return t.attempt({tokenize:$,partial:!0},m,i?le(t,k,"linePrefix",i+1):k)(Q)}function k(Q){return Q===null?m(Q):K(Q)?t.check(Li,w,m)(Q):w(Q)}function y(Q){if(Q===null){const D=t.exit("chunkDocument");return n.parser.lazy[D.start.line]=!1,m(Q)}return K(Q)?t.check(Li,N,T)(Q):(t.consume(Q),y)}function w(Q){const D=t.enter("chunkDocument",{contentType:"document",previous:o});return o&&(o.next=D),o=D,y(Q)}function P(Q){return t.enter("directiveContainerContent"),O(Q)}function N(Q){t.consume(Q);const D=t.exit("chunkDocument");return n.parser.lazy[D.start.line]=!1,O}function T(Q){const D=t.exit("chunkDocument");return n.parser.lazy[D.start.line]=!1,m(Q)}function m(Q){return t.exit("directiveContainerContent"),S(Q)}function S(Q){return t.exit("directiveContainer"),e(Q)}function $(Q,D,F){let R=0;return le(Q,Z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Z(G){return Q.enter("directiveContainerFence"),Q.enter("directiveContainerSequence"),W(G)}function W(G){return G===58?(Q.consume(G),R++,W):R<s?F(G):(Q.exit("directiveContainerSequence"),le(Q,v,"whitespace")(G))}function v(G){return G===null||K(G)?(Q.exit("directiveContainerFence"),D(G)):F(G)}}}function LT(t,e,r){return pu(t,e,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function RT(t,e,r){return du(t,e,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function NT(t,e,r){const n=this;return a;function a(s){return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),i}function i(s){return n.parser.lazy[n.now().line]?r(s):e(s)}}const $T={tokenize:BT},MT={tokenize:qT,partial:!0},FT={tokenize:XT,partial:!0};function BT(t,e,r){const n=this;return a;function a(u){return t.enter("directiveLeaf"),t.enter("directiveLeafSequence"),t.consume(u),i}function i(u){return u===58?(t.consume(u),t.exit("directiveLeafSequence"),mu.call(n,t,s,r,"directiveLeafName")):r(u)}function s(u){return u===91?t.attempt(MT,o,o)(u):o(u)}function o(u){return u===123?t.attempt(FT,l,l)(u):l(u)}function l(u){return le(t,c,"whitespace")(u)}function c(u){return u===null||K(u)?(t.exit("directiveLeaf"),e(u)):r(u)}}function qT(t,e,r){return pu(t,e,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function XT(t,e,r){return du(t,e,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}const jT={tokenize:HT,previous:YT},ZT={tokenize:VT,partial:!0},UT={tokenize:WT,partial:!0};function YT(t){return t!==58||this.events[this.events.length-1][1].type==="characterEscape"}function HT(t,e,r){const n=this;return a;function a(l){return t.enter("directiveText"),t.enter("directiveTextMarker"),t.consume(l),t.exit("directiveTextMarker"),mu.call(n,t,i,r,"directiveTextName")}function i(l){return l===58?r(l):l===91?t.attempt(ZT,s,s)(l):s(l)}function s(l){return l===123?t.attempt(UT,o,o)(l):o(l)}function o(l){return t.exit("directiveText"),e(l)}}function VT(t,e,r){return pu(t,e,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function WT(t,e,r){return du(t,e,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function GT(){return{text:{58:jT},flow:{58:[DT,$T]}}}function KT(){const e=this.data(),r=e.micromarkExtensions||(e.micromarkExtensions=[]),n=e.fromMarkdownExtensions||(e.fromMarkdownExtensions=[]),a=e.toMarkdownExtensions||(e.toMarkdownExtensions=[]);r.push(GT()),n.push(wT()),a.push(ST())}var Ri={exports:{}},xf;function JT(){return xf||(xf=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});const r=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function n(m){return r.includes(m)}const a=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement",...r];function i(m){return a.includes(m)}const s=["null","undefined","string","number","bigint","boolean","symbol"];function o(m){return s.includes(m)}function l(m){return S=>typeof S===m}const{toString:c}=Object.prototype,u=m=>{const S=c.call(m).slice(8,-1);if(/HTML\w+Element/.test(S)&&f.domElement(m))return"HTMLElement";if(i(S))return S},h=m=>S=>u(S)===m;function f(m){if(m===null)return"null";switch(typeof m){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol"}if(f.observable(m))return"Observable";if(f.array(m))return"Array";if(f.buffer(m))return"Buffer";const S=u(m);if(S)return S;if(m instanceof String||m instanceof Boolean||m instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}f.undefined=l("undefined"),f.string=l("string");const d=l("number");f.number=m=>d(m)&&!f.nan(m),f.bigint=l("bigint"),f.function_=l("function"),f.null_=m=>m===null,f.class_=m=>f.function_(m)&&m.toString().startsWith("class "),f.boolean=m=>m===!0||m===!1,f.symbol=l("symbol"),f.numericString=m=>f.string(m)&&!f.emptyStringOrWhitespace(m)&&!Number.isNaN(Number(m)),f.array=(m,S)=>Array.isArray(m)?f.function_(S)?m.every(S):!0:!1,f.buffer=m=>{var S,$,Q,D;return(D=(Q=($=(S=m)===null||S===void 0?void 0:S.constructor)===null||$===void 0?void 0:$.isBuffer)===null||Q===void 0?void 0:Q.call($,m))!==null&&D!==void 0?D:!1},f.blob=m=>h("Blob")(m),f.nullOrUndefined=m=>f.null_(m)||f.undefined(m),f.object=m=>!f.null_(m)&&(typeof m=="object"||f.function_(m)),f.iterable=m=>{var S;return f.function_((S=m)===null||S===void 0?void 0:S[Symbol.iterator])},f.asyncIterable=m=>{var S;return f.function_((S=m)===null||S===void 0?void 0:S[Symbol.asyncIterator])},f.generator=m=>{var S,$;return f.iterable(m)&&f.function_((S=m)===null||S===void 0?void 0:S.next)&&f.function_(($=m)===null||$===void 0?void 0:$.throw)},f.asyncGenerator=m=>f.asyncIterable(m)&&f.function_(m.next)&&f.function_(m.throw),f.nativePromise=m=>h("Promise")(m);const g=m=>{var S,$;return f.function_((S=m)===null||S===void 0?void 0:S.then)&&f.function_(($=m)===null||$===void 0?void 0:$.catch)};f.promise=m=>f.nativePromise(m)||g(m),f.generatorFunction=h("GeneratorFunction"),f.asyncGeneratorFunction=m=>u(m)==="AsyncGeneratorFunction",f.asyncFunction=m=>u(m)==="AsyncFunction",f.boundFunction=m=>f.function_(m)&&!m.hasOwnProperty("prototype"),f.regExp=h("RegExp"),f.date=h("Date"),f.error=h("Error"),f.map=m=>h("Map")(m),f.set=m=>h("Set")(m),f.weakMap=m=>h("WeakMap")(m),f.weakSet=m=>h("WeakSet")(m),f.int8Array=h("Int8Array"),f.uint8Array=h("Uint8Array"),f.uint8ClampedArray=h("Uint8ClampedArray"),f.int16Array=h("Int16Array"),f.uint16Array=h("Uint16Array"),f.int32Array=h("Int32Array"),f.uint32Array=h("Uint32Array"),f.float32Array=h("Float32Array"),f.float64Array=h("Float64Array"),f.bigInt64Array=h("BigInt64Array"),f.bigUint64Array=h("BigUint64Array"),f.arrayBuffer=h("ArrayBuffer"),f.sharedArrayBuffer=h("SharedArrayBuffer"),f.dataView=h("DataView"),f.enumCase=(m,S)=>Object.values(S).includes(m),f.directInstanceOf=(m,S)=>Object.getPrototypeOf(m)===S.prototype,f.urlInstance=m=>h("URL")(m),f.urlString=m=>{if(!f.string(m))return!1;try{return new URL(m),!0}catch{return!1}},f.truthy=m=>!!m,f.falsy=m=>!m,f.nan=m=>Number.isNaN(m),f.primitive=m=>f.null_(m)||o(typeof m),f.integer=m=>Number.isInteger(m),f.safeInteger=m=>Number.isSafeInteger(m),f.plainObject=m=>{if(c.call(m)!=="[object Object]")return!1;const S=Object.getPrototypeOf(m);return S===null||S===Object.getPrototypeOf({})},f.typedArray=m=>n(u(m));const O=m=>f.safeInteger(m)&&m>=0;f.arrayLike=m=>!f.nullOrUndefined(m)&&!f.function_(m)&&O(m.length),f.inRange=(m,S)=>{if(f.number(S))return m>=Math.min(0,S)&&m<=Math.max(S,0);if(f.array(S)&&S.length===2)return m>=Math.min(...S)&&m<=Math.max(...S);throw new TypeError(`Invalid range: ${JSON.stringify(S)}`)};const k=1,y=["innerHTML","ownerDocument","style","attributes","nodeValue"];f.domElement=m=>f.object(m)&&m.nodeType===k&&f.string(m.nodeName)&&!f.plainObject(m)&&y.every(S=>S in m),f.observable=m=>{var S,$,Q,D;return m?m===(($=(S=m)[Symbol.observable])===null||$===void 0?void 0:$.call(S))||m===((D=(Q=m)["@@observable"])===null||D===void 0?void 0:D.call(Q)):!1},f.nodeStream=m=>f.object(m)&&f.function_(m.pipe)&&!f.observable(m),f.infinite=m=>m===1/0||m===-1/0;const w=m=>S=>f.integer(S)&&Math.abs(S%2)===m;f.evenInteger=w(0),f.oddInteger=w(1),f.emptyArray=m=>f.array(m)&&m.length===0,f.nonEmptyArray=m=>f.array(m)&&m.length>0,f.emptyString=m=>f.string(m)&&m.length===0;const P=m=>f.string(m)&&!/\S/.test(m);f.emptyStringOrWhitespace=m=>f.emptyString(m)||P(m),f.nonEmptyString=m=>f.string(m)&&m.length>0,f.nonEmptyStringAndNotWhitespace=m=>f.string(m)&&!f.emptyStringOrWhitespace(m),f.emptyObject=m=>f.object(m)&&!f.map(m)&&!f.set(m)&&Object.keys(m).length===0,f.nonEmptyObject=m=>f.object(m)&&!f.map(m)&&!f.set(m)&&Object.keys(m).length>0,f.emptySet=m=>f.set(m)&&m.size===0,f.nonEmptySet=m=>f.set(m)&&m.size>0,f.emptyMap=m=>f.map(m)&&m.size===0,f.nonEmptyMap=m=>f.map(m)&&m.size>0,f.propertyKey=m=>f.any([f.string,f.number,f.symbol],m),f.formData=m=>h("FormData")(m),f.urlSearchParams=m=>h("URLSearchParams")(m);const N=(m,S,$)=>{if(!f.function_(S))throw new TypeError(`Invalid predicate: ${JSON.stringify(S)}`);if($.length===0)throw new TypeError("Invalid number of values");return m.call($,S)};f.any=(m,...S)=>(f.array(m)?m:[m]).some(Q=>N(Array.prototype.some,Q,S)),f.all=(m,...S)=>N(Array.prototype.every,m,S);const T=(m,S,$,Q={})=>{if(!m){const{multipleValues:D}=Q,F=D?`received values of types ${[...new Set($.map(R=>`\`${f(R)}\``))].join(", ")}`:`received value of type \`${f($)}\``;throw new TypeError(`Expected value which is \`${S}\`, ${F}.`)}};e.assert={undefined:m=>T(f.undefined(m),"undefined",m),string:m=>T(f.string(m),"string",m),number:m=>T(f.number(m),"number",m),bigint:m=>T(f.bigint(m),"bigint",m),function_:m=>T(f.function_(m),"Function",m),null_:m=>T(f.null_(m),"null",m),class_:m=>T(f.class_(m),"Class",m),boolean:m=>T(f.boolean(m),"boolean",m),symbol:m=>T(f.symbol(m),"symbol",m),numericString:m=>T(f.numericString(m),"string with a number",m),array:(m,S)=>{T(f.array(m),"Array",m),S&&m.forEach(S)},buffer:m=>T(f.buffer(m),"Buffer",m),blob:m=>T(f.blob(m),"Blob",m),nullOrUndefined:m=>T(f.nullOrUndefined(m),"null or undefined",m),object:m=>T(f.object(m),"Object",m),iterable:m=>T(f.iterable(m),"Iterable",m),asyncIterable:m=>T(f.asyncIterable(m),"AsyncIterable",m),generator:m=>T(f.generator(m),"Generator",m),asyncGenerator:m=>T(f.asyncGenerator(m),"AsyncGenerator",m),nativePromise:m=>T(f.nativePromise(m),"native Promise",m),promise:m=>T(f.promise(m),"Promise",m),generatorFunction:m=>T(f.generatorFunction(m),"GeneratorFunction",m),asyncGeneratorFunction:m=>T(f.asyncGeneratorFunction(m),"AsyncGeneratorFunction",m),asyncFunction:m=>T(f.asyncFunction(m),"AsyncFunction",m),boundFunction:m=>T(f.boundFunction(m),"Function",m),regExp:m=>T(f.regExp(m),"RegExp",m),date:m=>T(f.date(m),"Date",m),error:m=>T(f.error(m),"Error",m),map:m=>T(f.map(m),"Map",m),set:m=>T(f.set(m),"Set",m),weakMap:m=>T(f.weakMap(m),"WeakMap",m),weakSet:m=>T(f.weakSet(m),"WeakSet",m),int8Array:m=>T(f.int8Array(m),"Int8Array",m),uint8Array:m=>T(f.uint8Array(m),"Uint8Array",m),uint8ClampedArray:m=>T(f.uint8ClampedArray(m),"Uint8ClampedArray",m),int16Array:m=>T(f.int16Array(m),"Int16Array",m),uint16Array:m=>T(f.uint16Array(m),"Uint16Array",m),int32Array:m=>T(f.int32Array(m),"Int32Array",m),uint32Array:m=>T(f.uint32Array(m),"Uint32Array",m),float32Array:m=>T(f.float32Array(m),"Float32Array",m),float64Array:m=>T(f.float64Array(m),"Float64Array",m),bigInt64Array:m=>T(f.bigInt64Array(m),"BigInt64Array",m),bigUint64Array:m=>T(f.bigUint64Array(m),"BigUint64Array",m),arrayBuffer:m=>T(f.arrayBuffer(m),"ArrayBuffer",m),sharedArrayBuffer:m=>T(f.sharedArrayBuffer(m),"SharedArrayBuffer",m),dataView:m=>T(f.dataView(m),"DataView",m),enumCase:(m,S)=>T(f.enumCase(m,S),"EnumCase",m),urlInstance:m=>T(f.urlInstance(m),"URL",m),urlString:m=>T(f.urlString(m),"string with a URL",m),truthy:m=>T(f.truthy(m),"truthy",m),falsy:m=>T(f.falsy(m),"falsy",m),nan:m=>T(f.nan(m),"NaN",m),primitive:m=>T(f.primitive(m),"primitive",m),integer:m=>T(f.integer(m),"integer",m),safeInteger:m=>T(f.safeInteger(m),"integer",m),plainObject:m=>T(f.plainObject(m),"plain object",m),typedArray:m=>T(f.typedArray(m),"TypedArray",m),arrayLike:m=>T(f.arrayLike(m),"array-like",m),domElement:m=>T(f.domElement(m),"HTMLElement",m),observable:m=>T(f.observable(m),"Observable",m),nodeStream:m=>T(f.nodeStream(m),"Node.js Stream",m),infinite:m=>T(f.infinite(m),"infinite number",m),emptyArray:m=>T(f.emptyArray(m),"empty array",m),nonEmptyArray:m=>T(f.nonEmptyArray(m),"non-empty array",m),emptyString:m=>T(f.emptyString(m),"empty string",m),emptyStringOrWhitespace:m=>T(f.emptyStringOrWhitespace(m),"empty string or whitespace",m),nonEmptyString:m=>T(f.nonEmptyString(m),"non-empty string",m),nonEmptyStringAndNotWhitespace:m=>T(f.nonEmptyStringAndNotWhitespace(m),"non-empty string and not whitespace",m),emptyObject:m=>T(f.emptyObject(m),"empty object",m),nonEmptyObject:m=>T(f.nonEmptyObject(m),"non-empty object",m),emptySet:m=>T(f.emptySet(m),"empty set",m),nonEmptySet:m=>T(f.nonEmptySet(m),"non-empty set",m),emptyMap:m=>T(f.emptyMap(m),"empty map",m),nonEmptyMap:m=>T(f.nonEmptyMap(m),"non-empty map",m),propertyKey:m=>T(f.propertyKey(m),"PropertyKey",m),formData:m=>T(f.formData(m),"FormData",m),urlSearchParams:m=>T(f.urlSearchParams(m),"URLSearchParams",m),evenInteger:m=>T(f.evenInteger(m),"even integer",m),oddInteger:m=>T(f.oddInteger(m),"odd integer",m),directInstanceOf:(m,S)=>T(f.directInstanceOf(m,S),"T",m),inRange:(m,S)=>T(f.inRange(m,S),"in range",m),any:(m,...S)=>T(f.any(m,...S),"predicate returns truthy for any value",S,{multipleValues:!0}),all:(m,...S)=>T(f.all(m,...S),"predicate returns truthy for all values",S,{multipleValues:!0})},Object.defineProperties(f,{class:{value:f.class_},function:{value:f.function_},null:{value:f.null_}}),Object.defineProperties(e.assert,{class:{value:e.assert.class_},function:{value:e.assert.function_},null:{value:e.assert.null_}}),e.default=f,t.exports=f,t.exports.default=f,t.exports.assert=e.assert})(Ri,Ri.exports)),Ri.exports}var eE=JT();const tE={keywords:["face","smile","happy","joy",":D","grin"],char:"😀",fitzpatrick_scale:!1,category:"people"},rE={keywords:["face","grimace","teeth"],char:"😬",fitzpatrick_scale:!1,category:"people"},nE={keywords:["face","happy","smile","joy","kawaii"],char:"😁",fitzpatrick_scale:!1,category:"people"},aE={keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"😂",fitzpatrick_scale:!1,category:"people"},iE={keywords:["face","rolling","floor","laughing","lol","haha"],char:"🤣",fitzpatrick_scale:!1,category:"people"},sE={keywords:["face","celebration","woohoo"],char:"🥳",fitzpatrick_scale:!1,category:"people"},oE={keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"😃",fitzpatrick_scale:!1,category:"people"},lE={keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"😄",fitzpatrick_scale:!1,category:"people"},cE={keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"😅",fitzpatrick_scale:!1,category:"people"},uE={keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"😆",fitzpatrick_scale:!1,category:"people"},hE={keywords:["face","angel","heaven","halo"],char:"😇",fitzpatrick_scale:!1,category:"people"},fE={keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"😉",fitzpatrick_scale:!1,category:"people"},dE={keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"😊",fitzpatrick_scale:!1,category:"people"},pE={keywords:["face","smile"],char:"🙂",fitzpatrick_scale:!1,category:"people"},mE={keywords:["face","flipped","silly","smile"],char:"🙃",fitzpatrick_scale:!1,category:"people"},gE={keywords:["face","blush","massage","happiness"],char:"☺️",fitzpatrick_scale:!1,category:"people"},OE={keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"😋",fitzpatrick_scale:!1,category:"people"},yE={keywords:["face","relaxed","phew","massage","happiness"],char:"😌",fitzpatrick_scale:!1,category:"people"},kE={keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"😍",fitzpatrick_scale:!1,category:"people"},bE={keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"🥰",fitzpatrick_scale:!1,category:"people"},_E={keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😘",fitzpatrick_scale:!1,category:"people"},wE={keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"😗",fitzpatrick_scale:!1,category:"people"},SE={keywords:["face","affection","valentines","infatuation","kiss"],char:"😙",fitzpatrick_scale:!1,category:"people"},xE={keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😚",fitzpatrick_scale:!1,category:"people"},TE={keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"😜",fitzpatrick_scale:!1,category:"people"},EE={keywords:["face","goofy","crazy"],char:"🤪",fitzpatrick_scale:!1,category:"people"},AE={keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"🤨",fitzpatrick_scale:!1,category:"people"},CE={keywords:["face","stuffy","wealthy"],char:"🧐",fitzpatrick_scale:!1,category:"people"},PE={keywords:["face","prank","playful","mischievous","smile","tongue"],char:"😝",fitzpatrick_scale:!1,category:"people"},vE={keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"😛",fitzpatrick_scale:!1,category:"people"},DE={keywords:["face","rich","dollar","money"],char:"🤑",fitzpatrick_scale:!1,category:"people"},QE={keywords:["face","nerdy","geek","dork"],char:"🤓",fitzpatrick_scale:!1,category:"people"},zE={keywords:["face","cool","smile","summer","beach","sunglass"],char:"😎",fitzpatrick_scale:!1,category:"people"},IE={keywords:["face","smile","starry","eyes","grinning"],char:"🤩",fitzpatrick_scale:!1,category:"people"},LE={keywords:["face"],char:"🤡",fitzpatrick_scale:!1,category:"people"},RE={keywords:["face","cowgirl","hat"],char:"🤠",fitzpatrick_scale:!1,category:"people"},NE={keywords:["face","smile","hug"],char:"🤗",fitzpatrick_scale:!1,category:"people"},$E={keywords:["face","smile","mean","prank","smug","sarcasm"],char:"😏",fitzpatrick_scale:!1,category:"people"},ME={keywords:["face","hellokitty"],char:"😶",fitzpatrick_scale:!1,category:"people"},FE={keywords:["indifference","meh",":|","neutral"],char:"😐",fitzpatrick_scale:!1,category:"people"},BE={keywords:["face","indifferent","-_-","meh","deadpan"],char:"😑",fitzpatrick_scale:!1,category:"people"},qE={keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"😒",fitzpatrick_scale:!1,category:"people"},XE={keywords:["face","eyeroll","frustrated"],char:"🙄",fitzpatrick_scale:!1,category:"people"},jE={keywords:["face","hmmm","think","consider"],char:"🤔",fitzpatrick_scale:!1,category:"people"},ZE={keywords:["face","lie","pinocchio"],char:"🤥",fitzpatrick_scale:!1,category:"people"},UE={keywords:["face","whoops","shock","surprise"],char:"🤭",fitzpatrick_scale:!1,category:"people"},YE={keywords:["face","quiet","shhh"],char:"🤫",fitzpatrick_scale:!1,category:"people"},HE={keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"🤬",fitzpatrick_scale:!1,category:"people"},VE={keywords:["face","shocked","mind","blown"],char:"🤯",fitzpatrick_scale:!1,category:"people"},WE={keywords:["face","blush","shy","flattered"],char:"😳",fitzpatrick_scale:!1,category:"people"},GE={keywords:["face","sad","upset","depressed",":("],char:"😞",fitzpatrick_scale:!1,category:"people"},KE={keywords:["face","concern","nervous",":("],char:"😟",fitzpatrick_scale:!1,category:"people"},JE={keywords:["mad","face","annoyed","frustrated"],char:"😠",fitzpatrick_scale:!1,category:"people"},e2={keywords:["angry","mad","hate","despise"],char:"😡",fitzpatrick_scale:!1,category:"people"},t2={keywords:["face","sad","depressed","upset"],char:"😔",fitzpatrick_scale:!1,category:"people"},r2={keywords:["face","indifference","huh","weird","hmmm",":/"],char:"😕",fitzpatrick_scale:!1,category:"people"},n2={keywords:["face","frowning","disappointed","sad","upset"],char:"🙁",fitzpatrick_scale:!1,category:"people"},a2={keywords:["face","sad","upset","frown"],char:"☹",fitzpatrick_scale:!1,category:"people"},i2={keywords:["face","sick","no","upset","oops"],char:"😣",fitzpatrick_scale:!1,category:"people"},s2={keywords:["face","confused","sick","unwell","oops",":S"],char:"😖",fitzpatrick_scale:!1,category:"people"},o2={keywords:["sick","whine","upset","frustrated"],char:"😫",fitzpatrick_scale:!1,category:"people"},l2={keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"😩",fitzpatrick_scale:!1,category:"people"},c2={keywords:["face","begging","mercy"],char:"🥺",fitzpatrick_scale:!1,category:"people"},u2={keywords:["face","gas","phew","proud","pride"],char:"😤",fitzpatrick_scale:!1,category:"people"},h2={keywords:["face","surprise","impressed","wow","whoa",":O"],char:"😮",fitzpatrick_scale:!1,category:"people"},f2={keywords:["face","munch","scared","omg"],char:"😱",fitzpatrick_scale:!1,category:"people"},d2={keywords:["face","scared","terrified","nervous","oops","huh"],char:"😨",fitzpatrick_scale:!1,category:"people"},p2={keywords:["face","nervous","sweat"],char:"😰",fitzpatrick_scale:!1,category:"people"},m2={keywords:["face","woo","shh"],char:"😯",fitzpatrick_scale:!1,category:"people"},g2={keywords:["face","aw","what"],char:"😦",fitzpatrick_scale:!1,category:"people"},O2={keywords:["face","stunned","nervous"],char:"😧",fitzpatrick_scale:!1,category:"people"},y2={keywords:["face","tears","sad","depressed","upset",":'("],char:"😢",fitzpatrick_scale:!1,category:"people"},k2={keywords:["face","phew","sweat","nervous"],char:"😥",fitzpatrick_scale:!1,category:"people"},b2={keywords:["face"],char:"🤤",fitzpatrick_scale:!1,category:"people"},_2={keywords:["face","tired","rest","nap"],char:"😪",fitzpatrick_scale:!1,category:"people"},w2={keywords:["face","hot","sad","tired","exercise"],char:"😓",fitzpatrick_scale:!1,category:"people"},S2={keywords:["face","feverish","heat","red","sweating"],char:"🥵",fitzpatrick_scale:!1,category:"people"},x2={keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"🥶",fitzpatrick_scale:!1,category:"people"},T2={keywords:["face","cry","tears","sad","upset","depressed"],char:"😭",fitzpatrick_scale:!1,category:"people"},E2={keywords:["spent","unconscious","xox","dizzy"],char:"😵",fitzpatrick_scale:!1,category:"people"},A2={keywords:["face","xox","surprised","poisoned"],char:"😲",fitzpatrick_scale:!1,category:"people"},C2={keywords:["face","sealed","zipper","secret"],char:"🤐",fitzpatrick_scale:!1,category:"people"},P2={keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"🤢",fitzpatrick_scale:!1,category:"people"},v2={keywords:["face","gesundheit","sneeze","sick","allergy"],char:"🤧",fitzpatrick_scale:!1,category:"people"},D2={keywords:["face","sick"],char:"🤮",fitzpatrick_scale:!1,category:"people"},Q2={keywords:["face","sick","ill","disease"],char:"😷",fitzpatrick_scale:!1,category:"people"},z2={keywords:["sick","temperature","thermometer","cold","fever"],char:"🤒",fitzpatrick_scale:!1,category:"people"},I2={keywords:["injured","clumsy","bandage","hurt"],char:"🤕",fitzpatrick_scale:!1,category:"people"},L2={keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"🥴",fitzpatrick_scale:!1,category:"people"},R2={keywords:["face","tired","sleepy","night","zzz"],char:"😴",fitzpatrick_scale:!1,category:"people"},N2={keywords:["sleepy","tired","dream"],char:"💤",fitzpatrick_scale:!1,category:"people"},$2={keywords:["hankey","shitface","fail","turd","shit"],char:"💩",fitzpatrick_scale:!1,category:"people"},M2={keywords:["devil","horns"],char:"😈",fitzpatrick_scale:!1,category:"people"},F2={keywords:["devil","angry","horns"],char:"👿",fitzpatrick_scale:!1,category:"people"},B2={keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"👹",fitzpatrick_scale:!1,category:"people"},q2={keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"👺",fitzpatrick_scale:!1,category:"people"},X2={keywords:["dead","skeleton","creepy","death"],char:"💀",fitzpatrick_scale:!1,category:"people"},j2={keywords:["halloween","spooky","scary"],char:"👻",fitzpatrick_scale:!1,category:"people"},Z2={keywords:["UFO","paul","weird","outer_space"],char:"👽",fitzpatrick_scale:!1,category:"people"},U2={keywords:["computer","machine","bot"],char:"🤖",fitzpatrick_scale:!1,category:"people"},Y2={keywords:["animal","cats","happy","smile"],char:"😺",fitzpatrick_scale:!1,category:"people"},H2={keywords:["animal","cats","smile"],char:"😸",fitzpatrick_scale:!1,category:"people"},V2={keywords:["animal","cats","haha","happy","tears"],char:"😹",fitzpatrick_scale:!1,category:"people"},W2={keywords:["animal","love","like","affection","cats","valentines","heart"],char:"😻",fitzpatrick_scale:!1,category:"people"},G2={keywords:["animal","cats","smirk"],char:"😼",fitzpatrick_scale:!1,category:"people"},K2={keywords:["animal","cats","kiss"],char:"😽",fitzpatrick_scale:!1,category:"people"},J2={keywords:["animal","cats","munch","scared","scream"],char:"🙀",fitzpatrick_scale:!1,category:"people"},eA={keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"😿",fitzpatrick_scale:!1,category:"people"},tA={keywords:["animal","cats"],char:"😾",fitzpatrick_scale:!1,category:"people"},rA={keywords:["hands","gesture","cupped","prayer"],char:"🤲",fitzpatrick_scale:!0,category:"people"},nA={keywords:["gesture","hooray","yea","celebration","hands"],char:"🙌",fitzpatrick_scale:!0,category:"people"},aA={keywords:["hands","praise","applause","congrats","yay"],char:"👏",fitzpatrick_scale:!0,category:"people"},iA={keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"👋",fitzpatrick_scale:!0,category:"people"},sA={keywords:["hands","gesture"],char:"🤙",fitzpatrick_scale:!0,category:"people"},oA={keywords:["angry","violence","fist","hit","attack","hand"],char:"👊",fitzpatrick_scale:!0,category:"people"},lA={keywords:["fingers","hand","grasp"],char:"✊",fitzpatrick_scale:!0,category:"people"},cA={keywords:["hand","fistbump"],char:"🤛",fitzpatrick_scale:!0,category:"people"},uA={keywords:["hand","fistbump"],char:"🤜",fitzpatrick_scale:!0,category:"people"},hA={keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"✌",fitzpatrick_scale:!0,category:"people"},fA={keywords:["fingers","limbs","perfect","ok","okay"],char:"👌",fitzpatrick_scale:!0,category:"people"},dA={keywords:["fingers","stop","highfive","palm","ban"],char:"✋",fitzpatrick_scale:!0,category:"people"},pA={keywords:["fingers","raised","backhand"],char:"🤚",fitzpatrick_scale:!0,category:"people"},mA={keywords:["fingers","butterfly","hands","open"],char:"👐",fitzpatrick_scale:!0,category:"people"},gA={keywords:["arm","flex","hand","summer","strong","biceps"],char:"💪",fitzpatrick_scale:!0,category:"people"},OA={keywords:["please","hope","wish","namaste","highfive"],char:"🙏",fitzpatrick_scale:!0,category:"people"},yA={keywords:["kick","stomp"],char:"🦶",fitzpatrick_scale:!0,category:"people"},kA={keywords:["kick","limb"],char:"🦵",fitzpatrick_scale:!0,category:"people"},bA={keywords:["agreement","shake"],char:"🤝",fitzpatrick_scale:!1,category:"people"},_A={keywords:["hand","fingers","direction","up"],char:"☝",fitzpatrick_scale:!0,category:"people"},wA={keywords:["fingers","hand","direction","up"],char:"👆",fitzpatrick_scale:!0,category:"people"},SA={keywords:["fingers","hand","direction","down"],char:"👇",fitzpatrick_scale:!0,category:"people"},xA={keywords:["direction","fingers","hand","left"],char:"👈",fitzpatrick_scale:!0,category:"people"},TA={keywords:["fingers","hand","direction","right"],char:"👉",fitzpatrick_scale:!0,category:"people"},EA={keywords:["hand","fingers","rude","middle","flipping"],char:"🖕",fitzpatrick_scale:!0,category:"people"},AA={keywords:["hand","fingers","palm"],char:"🖐",fitzpatrick_scale:!0,category:"people"},CA={keywords:["hand","fingers","gesture"],char:"🤟",fitzpatrick_scale:!0,category:"people"},PA={keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"🤘",fitzpatrick_scale:!0,category:"people"},vA={keywords:["good","lucky"],char:"🤞",fitzpatrick_scale:!0,category:"people"},DA={keywords:["hand","fingers","spock","star trek"],char:"🖖",fitzpatrick_scale:!0,category:"people"},QA={keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"✍",fitzpatrick_scale:!0,category:"people"},zA={keywords:["camera","phone"],char:"🤳",fitzpatrick_scale:!0,category:"people"},IA={keywords:["beauty","manicure","finger","fashion","nail"],char:"💅",fitzpatrick_scale:!0,category:"people"},LA={keywords:["mouth","kiss"],char:"👄",fitzpatrick_scale:!1,category:"people"},RA={keywords:["teeth","dentist"],char:"🦷",fitzpatrick_scale:!1,category:"people"},NA={keywords:["mouth","playful"],char:"👅",fitzpatrick_scale:!1,category:"people"},$A={keywords:["face","hear","sound","listen"],char:"👂",fitzpatrick_scale:!0,category:"people"},MA={keywords:["smell","sniff"],char:"👃",fitzpatrick_scale:!0,category:"people"},FA={keywords:["face","look","see","watch","stare"],char:"👁",fitzpatrick_scale:!1,category:"people"},BA={keywords:["look","watch","stalk","peek","see"],char:"👀",fitzpatrick_scale:!1,category:"people"},qA={keywords:["smart","intelligent"],char:"🧠",fitzpatrick_scale:!1,category:"people"},XA={keywords:["user","person","human"],char:"👤",fitzpatrick_scale:!1,category:"people"},jA={keywords:["user","person","human","group","team"],char:"👥",fitzpatrick_scale:!1,category:"people"},ZA={keywords:["user","person","human","sing","say","talk"],char:"🗣",fitzpatrick_scale:!1,category:"people"},UA={keywords:["child","boy","girl","toddler"],char:"👶",fitzpatrick_scale:!0,category:"people"},YA={keywords:["gender-neutral","young"],char:"🧒",fitzpatrick_scale:!0,category:"people"},HA={keywords:["man","male","guy","teenager"],char:"👦",fitzpatrick_scale:!0,category:"people"},VA={keywords:["female","woman","teenager"],char:"👧",fitzpatrick_scale:!0,category:"people"},WA={keywords:["gender-neutral","person"],char:"🧑",fitzpatrick_scale:!0,category:"people"},GA={keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"👨",fitzpatrick_scale:!0,category:"people"},KA={keywords:["female","girls","lady"],char:"👩",fitzpatrick_scale:!0,category:"people"},JA={keywords:["woman","female","girl","blonde","person"],char:"👱‍♀️",fitzpatrick_scale:!0,category:"people"},eC={keywords:["man","male","boy","blonde","guy","person"],char:"👱",fitzpatrick_scale:!0,category:"people"},tC={keywords:["person","bewhiskered"],char:"🧔",fitzpatrick_scale:!0,category:"people"},rC={keywords:["human","elder","senior","gender-neutral"],char:"🧓",fitzpatrick_scale:!0,category:"people"},nC={keywords:["human","male","men","old","elder","senior"],char:"👴",fitzpatrick_scale:!0,category:"people"},aC={keywords:["human","female","women","lady","old","elder","senior"],char:"👵",fitzpatrick_scale:!0,category:"people"},iC={keywords:["male","boy","chinese"],char:"👲",fitzpatrick_scale:!0,category:"people"},sC={keywords:["female","hijab","mantilla","tichel"],char:"🧕",fitzpatrick_scale:!0,category:"people"},oC={keywords:["female","indian","hinduism","arabs","woman"],char:"👳‍♀️",fitzpatrick_scale:!0,category:"people"},lC={keywords:["male","indian","hinduism","arabs"],char:"👳",fitzpatrick_scale:!0,category:"people"},cC={keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"👮‍♀️",fitzpatrick_scale:!0,category:"people"},uC={keywords:["man","police","law","legal","enforcement","arrest","911"],char:"👮",fitzpatrick_scale:!0,category:"people"},hC={keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"👷‍♀️",fitzpatrick_scale:!0,category:"people"},fC={keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"👷",fitzpatrick_scale:!0,category:"people"},dC={keywords:["uk","gb","british","female","royal","woman"],char:"💂‍♀️",fitzpatrick_scale:!0,category:"people"},pC={keywords:["uk","gb","british","male","guy","royal"],char:"💂",fitzpatrick_scale:!0,category:"people"},mC={keywords:["human","spy","detective","female","woman"],char:"🕵️‍♀️",fitzpatrick_scale:!0,category:"people"},gC={keywords:["human","spy","detective"],char:"🕵",fitzpatrick_scale:!0,category:"people"},OC={keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"👩‍⚕️",fitzpatrick_scale:!0,category:"people"},yC={keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"👨‍⚕️",fitzpatrick_scale:!0,category:"people"},kC={keywords:["rancher","gardener","woman","human"],char:"👩‍🌾",fitzpatrick_scale:!0,category:"people"},bC={keywords:["rancher","gardener","man","human"],char:"👨‍🌾",fitzpatrick_scale:!0,category:"people"},_C={keywords:["chef","woman","human"],char:"👩‍🍳",fitzpatrick_scale:!0,category:"people"},wC={keywords:["chef","man","human"],char:"👨‍🍳",fitzpatrick_scale:!0,category:"people"},SC={keywords:["graduate","woman","human"],char:"👩‍🎓",fitzpatrick_scale:!0,category:"people"},xC={keywords:["graduate","man","human"],char:"👨‍🎓",fitzpatrick_scale:!0,category:"people"},TC={keywords:["rockstar","entertainer","woman","human"],char:"👩‍🎤",fitzpatrick_scale:!0,category:"people"},EC={keywords:["rockstar","entertainer","man","human"],char:"👨‍🎤",fitzpatrick_scale:!0,category:"people"},AC={keywords:["instructor","professor","woman","human"],char:"👩‍🏫",fitzpatrick_scale:!0,category:"people"},CC={keywords:["instructor","professor","man","human"],char:"👨‍🏫",fitzpatrick_scale:!0,category:"people"},PC={keywords:["assembly","industrial","woman","human"],char:"👩‍🏭",fitzpatrick_scale:!0,category:"people"},vC={keywords:["assembly","industrial","man","human"],char:"👨‍🏭",fitzpatrick_scale:!0,category:"people"},DC={keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"👩‍💻",fitzpatrick_scale:!0,category:"people"},QC={keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"👨‍💻",fitzpatrick_scale:!0,category:"people"},zC={keywords:["business","manager","woman","human"],char:"👩‍💼",fitzpatrick_scale:!0,category:"people"},IC={keywords:["business","manager","man","human"],char:"👨‍💼",fitzpatrick_scale:!0,category:"people"},LC={keywords:["plumber","woman","human","wrench"],char:"👩‍🔧",fitzpatrick_scale:!0,category:"people"},RC={keywords:["plumber","man","human","wrench"],char:"👨‍🔧",fitzpatrick_scale:!0,category:"people"},NC={keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"👩‍🔬",fitzpatrick_scale:!0,category:"people"},$C={keywords:["biologist","chemist","engineer","physicist","man","human"],char:"👨‍🔬",fitzpatrick_scale:!0,category:"people"},MC={keywords:["painter","woman","human"],char:"👩‍🎨",fitzpatrick_scale:!0,category:"people"},FC={keywords:["painter","man","human"],char:"👨‍🎨",fitzpatrick_scale:!0,category:"people"},BC={keywords:["fireman","woman","human"],char:"👩‍🚒",fitzpatrick_scale:!0,category:"people"},qC={keywords:["fireman","man","human"],char:"👨‍🚒",fitzpatrick_scale:!0,category:"people"},XC={keywords:["aviator","plane","woman","human"],char:"👩‍✈️",fitzpatrick_scale:!0,category:"people"},jC={keywords:["aviator","plane","man","human"],char:"👨‍✈️",fitzpatrick_scale:!0,category:"people"},ZC={keywords:["space","rocket","woman","human"],char:"👩‍🚀",fitzpatrick_scale:!0,category:"people"},UC={keywords:["space","rocket","man","human"],char:"👨‍🚀",fitzpatrick_scale:!0,category:"people"},YC={keywords:["justice","court","woman","human"],char:"👩‍⚖️",fitzpatrick_scale:!0,category:"people"},HC={keywords:["justice","court","man","human"],char:"👨‍⚖️",fitzpatrick_scale:!0,category:"people"},VC={keywords:["woman","female","good","heroine","superpowers"],char:"🦸‍♀️",fitzpatrick_scale:!0,category:"people"},WC={keywords:["man","male","good","hero","superpowers"],char:"🦸‍♂️",fitzpatrick_scale:!0,category:"people"},GC={keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"🦹‍♀️",fitzpatrick_scale:!0,category:"people"},KC={keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"🦹‍♂️",fitzpatrick_scale:!0,category:"people"},JC={keywords:["woman","female","xmas","mother christmas"],char:"🤶",fitzpatrick_scale:!0,category:"people"},eP={keywords:["festival","man","male","xmas","father christmas"],char:"🎅",fitzpatrick_scale:!0,category:"people"},tP={keywords:["woman","female","mage","witch"],char:"🧙‍♀️",fitzpatrick_scale:!0,category:"people"},rP={keywords:["man","male","mage","sorcerer"],char:"🧙‍♂️",fitzpatrick_scale:!0,category:"people"},nP={keywords:["woman","female"],char:"🧝‍♀️",fitzpatrick_scale:!0,category:"people"},aP={keywords:["man","male"],char:"🧝‍♂️",fitzpatrick_scale:!0,category:"people"},iP={keywords:["woman","female"],char:"🧛‍♀️",fitzpatrick_scale:!0,category:"people"},sP={keywords:["man","male","dracula"],char:"🧛‍♂️",fitzpatrick_scale:!0,category:"people"},oP={keywords:["woman","female","undead","walking dead"],char:"🧟‍♀️",fitzpatrick_scale:!1,category:"people"},lP={keywords:["man","male","dracula","undead","walking dead"],char:"🧟‍♂️",fitzpatrick_scale:!1,category:"people"},cP={keywords:["woman","female"],char:"🧞‍♀️",fitzpatrick_scale:!1,category:"people"},uP={keywords:["man","male"],char:"🧞‍♂️",fitzpatrick_scale:!1,category:"people"},hP={keywords:["woman","female","merwoman","ariel"],char:"🧜‍♀️",fitzpatrick_scale:!0,category:"people"},fP={keywords:["man","male","triton"],char:"🧜‍♂️",fitzpatrick_scale:!0,category:"people"},dP={keywords:["woman","female"],char:"🧚‍♀️",fitzpatrick_scale:!0,category:"people"},pP={keywords:["man","male"],char:"🧚‍♂️",fitzpatrick_scale:!0,category:"people"},mP={keywords:["heaven","wings","halo"],char:"👼",fitzpatrick_scale:!0,category:"people"},gP={keywords:["baby"],char:"🤰",fitzpatrick_scale:!0,category:"people"},OP={keywords:["nursing","baby"],char:"🤱",fitzpatrick_scale:!0,category:"people"},yP={keywords:["girl","woman","female","blond","crown","royal","queen"],char:"👸",fitzpatrick_scale:!0,category:"people"},kP={keywords:["boy","man","male","crown","royal","king"],char:"🤴",fitzpatrick_scale:!0,category:"people"},bP={keywords:["couple","marriage","wedding","woman","bride"],char:"👰",fitzpatrick_scale:!0,category:"people"},_P={keywords:["couple","marriage","wedding","groom"],char:"🤵",fitzpatrick_scale:!0,category:"people"},wP={keywords:["woman","walking","exercise","race","running","female"],char:"🏃‍♀️",fitzpatrick_scale:!0,category:"people"},SP={keywords:["man","walking","exercise","race","running"],char:"🏃",fitzpatrick_scale:!0,category:"people"},xP={keywords:["human","feet","steps","woman","female"],char:"🚶‍♀️",fitzpatrick_scale:!0,category:"people"},TP={keywords:["human","feet","steps"],char:"🚶",fitzpatrick_scale:!0,category:"people"},EP={keywords:["female","girl","woman","fun"],char:"💃",fitzpatrick_scale:!0,category:"people"},AP={keywords:["male","boy","fun","dancer"],char:"🕺",fitzpatrick_scale:!0,category:"people"},CP={keywords:["female","bunny","women","girls"],char:"👯",fitzpatrick_scale:!1,category:"people"},PP={keywords:["male","bunny","men","boys"],char:"👯‍♂️",fitzpatrick_scale:!1,category:"people"},vP={keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"👫",fitzpatrick_scale:!1,category:"people"},DP={keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"👬",fitzpatrick_scale:!1,category:"people"},QP={keywords:["pair","friendship","couple","love","like","female","people","human"],char:"👭",fitzpatrick_scale:!1,category:"people"},zP={keywords:["woman","female","girl"],char:"🙇‍♀️",fitzpatrick_scale:!0,category:"people"},IP={keywords:["man","male","boy"],char:"🙇",fitzpatrick_scale:!0,category:"people"},LP={keywords:["man","male","boy","disbelief"],char:"🤦‍♂️",fitzpatrick_scale:!0,category:"people"},RP={keywords:["woman","female","girl","disbelief"],char:"🤦‍♀️",fitzpatrick_scale:!0,category:"people"},NP={keywords:["woman","female","girl","confused","indifferent","doubt"],char:"🤷",fitzpatrick_scale:!0,category:"people"},$P={keywords:["man","male","boy","confused","indifferent","doubt"],char:"🤷‍♂️",fitzpatrick_scale:!0,category:"people"},MP={keywords:["female","girl","woman","human","information"],char:"💁",fitzpatrick_scale:!0,category:"people"},FP={keywords:["male","boy","man","human","information"],char:"💁‍♂️",fitzpatrick_scale:!0,category:"people"},BP={keywords:["female","girl","woman","nope"],char:"🙅",fitzpatrick_scale:!0,category:"people"},qP={keywords:["male","boy","man","nope"],char:"🙅‍♂️",fitzpatrick_scale:!0,category:"people"},XP={keywords:["women","girl","female","pink","human","woman"],char:"🙆",fitzpatrick_scale:!0,category:"people"},jP={keywords:["men","boy","male","blue","human","man"],char:"🙆‍♂️",fitzpatrick_scale:!0,category:"people"},ZP={keywords:["female","girl","woman"],char:"🙋",fitzpatrick_scale:!0,category:"people"},UP={keywords:["male","boy","man"],char:"🙋‍♂️",fitzpatrick_scale:!0,category:"people"},YP={keywords:["female","girl","woman"],char:"🙎",fitzpatrick_scale:!0,category:"people"},HP={keywords:["male","boy","man"],char:"🙎‍♂️",fitzpatrick_scale:!0,category:"people"},VP={keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"🙍",fitzpatrick_scale:!0,category:"people"},WP={keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"🙍‍♂️",fitzpatrick_scale:!0,category:"people"},GP={keywords:["female","girl","woman"],char:"💇",fitzpatrick_scale:!0,category:"people"},KP={keywords:["male","boy","man"],char:"💇‍♂️",fitzpatrick_scale:!0,category:"people"},JP={keywords:["female","girl","woman","head"],char:"💆",fitzpatrick_scale:!0,category:"people"},ev={keywords:["male","boy","man","head"],char:"💆‍♂️",fitzpatrick_scale:!0,category:"people"},tv={keywords:["female","woman","spa","steamroom","sauna"],char:"🧖‍♀️",fitzpatrick_scale:!0,category:"people"},rv={keywords:["male","man","spa","steamroom","sauna"],char:"🧖‍♂️",fitzpatrick_scale:!0,category:"people"},nv={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"💑",fitzpatrick_scale:!1,category:"people"},av={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👩‍❤️‍👩",fitzpatrick_scale:!1,category:"people"},iv={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👨‍❤️‍👨",fitzpatrick_scale:!1,category:"people"},sv={keywords:["pair","valentines","love","like","dating","marriage"],char:"💏",fitzpatrick_scale:!1,category:"people"},ov={keywords:["pair","valentines","love","like","dating","marriage"],char:"👩‍❤️‍💋‍👩",fitzpatrick_scale:!1,category:"people"},lv={keywords:["pair","valentines","love","like","dating","marriage"],char:"👨‍❤️‍💋‍👨",fitzpatrick_scale:!1,category:"people"},cv={keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"👪",fitzpatrick_scale:!1,category:"people"},uv={keywords:["home","parents","people","human","child"],char:"👨‍👩‍👧",fitzpatrick_scale:!1,category:"people"},hv={keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},fv={keywords:["home","parents","people","human","children"],char:"👨‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},dv={keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},pv={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦",fitzpatrick_scale:!1,category:"people"},mv={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧",fitzpatrick_scale:!1,category:"people"},gv={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},Ov={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},yv={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},kv={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦",fitzpatrick_scale:!1,category:"people"},bv={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧",fitzpatrick_scale:!1,category:"people"},_v={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},wv={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},Sv={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},xv={keywords:["home","parent","people","human","child"],char:"👩‍👦",fitzpatrick_scale:!1,category:"people"},Tv={keywords:["home","parent","people","human","child"],char:"👩‍👧",fitzpatrick_scale:!1,category:"people"},Ev={keywords:["home","parent","people","human","children"],char:"👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},Av={keywords:["home","parent","people","human","children"],char:"👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},Cv={keywords:["home","parent","people","human","children"],char:"👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},Pv={keywords:["home","parent","people","human","child"],char:"👨‍👦",fitzpatrick_scale:!1,category:"people"},vv={keywords:["home","parent","people","human","child"],char:"👨‍👧",fitzpatrick_scale:!1,category:"people"},Dv={keywords:["home","parent","people","human","children"],char:"👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},Qv={keywords:["home","parent","people","human","children"],char:"👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},zv={keywords:["home","parent","people","human","children"],char:"👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},Iv={keywords:["ball","crochet","knit"],char:"🧶",fitzpatrick_scale:!1,category:"people"},Lv={keywords:["needle","sewing","spool","string"],char:"🧵",fitzpatrick_scale:!1,category:"people"},Rv={keywords:["jacket"],char:"🧥",fitzpatrick_scale:!1,category:"people"},Nv={keywords:["doctor","experiment","scientist","chemist"],char:"🥼",fitzpatrick_scale:!1,category:"people"},$v={keywords:["fashion","shopping_bags","female"],char:"👚",fitzpatrick_scale:!1,category:"people"},Mv={keywords:["fashion","cloth","casual","shirt","tee"],char:"👕",fitzpatrick_scale:!1,category:"people"},Fv={keywords:["fashion","shopping"],char:"👖",fitzpatrick_scale:!1,category:"people"},Bv={keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"👔",fitzpatrick_scale:!1,category:"people"},qv={keywords:["clothes","fashion","shopping"],char:"👗",fitzpatrick_scale:!1,category:"people"},Xv={keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"👙",fitzpatrick_scale:!1,category:"people"},jv={keywords:["dress","fashion","women","female","japanese"],char:"👘",fitzpatrick_scale:!1,category:"people"},Zv={keywords:["female","girl","fashion","woman"],char:"💄",fitzpatrick_scale:!1,category:"people"},Uv={keywords:["face","lips","love","like","affection","valentines"],char:"💋",fitzpatrick_scale:!1,category:"people"},Yv={keywords:["feet","tracking","walking","beach"],char:"👣",fitzpatrick_scale:!1,category:"people"},Hv={keywords:["ballet","slip-on","slipper"],char:"🥿",fitzpatrick_scale:!1,category:"people"},Vv={keywords:["fashion","shoes","female","pumps","stiletto"],char:"👠",fitzpatrick_scale:!1,category:"people"},Wv={keywords:["shoes","fashion","flip flops"],char:"👡",fitzpatrick_scale:!1,category:"people"},Gv={keywords:["shoes","fashion"],char:"👢",fitzpatrick_scale:!1,category:"people"},Kv={keywords:["fashion","male"],char:"👞",fitzpatrick_scale:!1,category:"people"},Jv={keywords:["shoes","sports","sneakers"],char:"👟",fitzpatrick_scale:!1,category:"people"},e3={keywords:["backpacking","camping","hiking"],char:"🥾",fitzpatrick_scale:!1,category:"people"},t3={keywords:["stockings","clothes"],char:"🧦",fitzpatrick_scale:!1,category:"people"},r3={keywords:["hands","winter","clothes"],char:"🧤",fitzpatrick_scale:!1,category:"people"},n3={keywords:["neck","winter","clothes"],char:"🧣",fitzpatrick_scale:!1,category:"people"},a3={keywords:["fashion","accessories","female","lady","spring"],char:"👒",fitzpatrick_scale:!1,category:"people"},i3={keywords:["magic","gentleman","classy","circus"],char:"🎩",fitzpatrick_scale:!1,category:"people"},s3={keywords:["cap","baseball"],char:"🧢",fitzpatrick_scale:!1,category:"people"},o3={keywords:["construction","build"],char:"⛑",fitzpatrick_scale:!1,category:"people"},l3={keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"🎓",fitzpatrick_scale:!1,category:"people"},c3={keywords:["king","kod","leader","royalty","lord"],char:"👑",fitzpatrick_scale:!1,category:"people"},u3={keywords:["student","education","bag","backpack"],char:"🎒",fitzpatrick_scale:!1,category:"people"},h3={keywords:["packing","travel"],char:"🧳",fitzpatrick_scale:!1,category:"people"},f3={keywords:["bag","accessories","shopping"],char:"👝",fitzpatrick_scale:!1,category:"people"},d3={keywords:["fashion","accessories","money","sales","shopping"],char:"👛",fitzpatrick_scale:!1,category:"people"},p3={keywords:["fashion","accessory","accessories","shopping"],char:"👜",fitzpatrick_scale:!1,category:"people"},m3={keywords:["business","documents","work","law","legal","job","career"],char:"💼",fitzpatrick_scale:!1,category:"people"},g3={keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"👓",fitzpatrick_scale:!1,category:"people"},O3={keywords:["face","cool","accessories"],char:"🕶",fitzpatrick_scale:!1,category:"people"},y3={keywords:["eyes","protection","safety"],char:"🥽",fitzpatrick_scale:!1,category:"people"},k3={keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"💍",fitzpatrick_scale:!1,category:"people"},b3={keywords:["weather","rain","drizzle"],char:"🌂",fitzpatrick_scale:!1,category:"people"},_3={keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"🐶",fitzpatrick_scale:!1,category:"animals_and_nature"},w3={keywords:["animal","meow","nature","pet","kitten"],char:"🐱",fitzpatrick_scale:!1,category:"animals_and_nature"},S3={keywords:["animal","nature","cheese_wedge","rodent"],char:"🐭",fitzpatrick_scale:!1,category:"animals_and_nature"},x3={keywords:["animal","nature"],char:"🐹",fitzpatrick_scale:!1,category:"animals_and_nature"},T3={keywords:["animal","nature","pet","spring","magic","bunny"],char:"🐰",fitzpatrick_scale:!1,category:"animals_and_nature"},E3={keywords:["animal","nature","face"],char:"🦊",fitzpatrick_scale:!1,category:"animals_and_nature"},A3={keywords:["animal","nature","wild"],char:"🐻",fitzpatrick_scale:!1,category:"animals_and_nature"},C3={keywords:["animal","nature","panda"],char:"🐼",fitzpatrick_scale:!1,category:"animals_and_nature"},P3={keywords:["animal","nature"],char:"🐨",fitzpatrick_scale:!1,category:"animals_and_nature"},v3={keywords:["animal","cat","danger","wild","nature","roar"],char:"🐯",fitzpatrick_scale:!1,category:"animals_and_nature"},D3={keywords:["animal","nature"],char:"🦁",fitzpatrick_scale:!1,category:"animals_and_nature"},Q3={keywords:["beef","ox","animal","nature","moo","milk"],char:"🐮",fitzpatrick_scale:!1,category:"animals_and_nature"},z3={keywords:["animal","oink","nature"],char:"🐷",fitzpatrick_scale:!1,category:"animals_and_nature"},I3={keywords:["animal","oink"],char:"🐽",fitzpatrick_scale:!1,category:"animals_and_nature"},L3={keywords:["animal","nature","croak","toad"],char:"🐸",fitzpatrick_scale:!1,category:"animals_and_nature"},R3={keywords:["animal","nature","ocean","sea"],char:"🦑",fitzpatrick_scale:!1,category:"animals_and_nature"},N3={keywords:["animal","creature","ocean","sea","nature","beach"],char:"🐙",fitzpatrick_scale:!1,category:"animals_and_nature"},$3={keywords:["animal","ocean","nature","seafood"],char:"🦐",fitzpatrick_scale:!1,category:"animals_and_nature"},M3={keywords:["animal","nature","circus"],char:"🐵",fitzpatrick_scale:!1,category:"animals_and_nature"},F3={keywords:["animal","nature","circus"],char:"🦍",fitzpatrick_scale:!1,category:"animals_and_nature"},B3={keywords:["monkey","animal","nature","haha"],char:"🙈",fitzpatrick_scale:!1,category:"animals_and_nature"},q3={keywords:["animal","monkey","nature"],char:"🙉",fitzpatrick_scale:!1,category:"animals_and_nature"},X3={keywords:["monkey","animal","nature","omg"],char:"🙊",fitzpatrick_scale:!1,category:"animals_and_nature"},j3={keywords:["animal","nature","banana","circus"],char:"🐒",fitzpatrick_scale:!1,category:"animals_and_nature"},Z3={keywords:["animal","cluck","nature","bird"],char:"🐔",fitzpatrick_scale:!1,category:"animals_and_nature"},U3={keywords:["animal","nature"],char:"🐧",fitzpatrick_scale:!1,category:"animals_and_nature"},Y3={keywords:["animal","nature","fly","tweet","spring"],char:"🐦",fitzpatrick_scale:!1,category:"animals_and_nature"},H3={keywords:["animal","chicken","bird"],char:"🐤",fitzpatrick_scale:!1,category:"animals_and_nature"},V3={keywords:["animal","chicken","egg","born","baby","bird"],char:"🐣",fitzpatrick_scale:!1,category:"animals_and_nature"},W3={keywords:["animal","chicken","baby","bird"],char:"🐥",fitzpatrick_scale:!1,category:"animals_and_nature"},G3={keywords:["animal","nature","bird","mallard"],char:"🦆",fitzpatrick_scale:!1,category:"animals_and_nature"},K3={keywords:["animal","nature","bird"],char:"🦅",fitzpatrick_scale:!1,category:"animals_and_nature"},J3={keywords:["animal","nature","bird","hoot"],char:"🦉",fitzpatrick_scale:!1,category:"animals_and_nature"},eD={keywords:["animal","nature","blind","vampire"],char:"🦇",fitzpatrick_scale:!1,category:"animals_and_nature"},tD={keywords:["animal","nature","wild"],char:"🐺",fitzpatrick_scale:!1,category:"animals_and_nature"},rD={keywords:["animal","nature"],char:"🐗",fitzpatrick_scale:!1,category:"animals_and_nature"},nD={keywords:["animal","brown","nature"],char:"🐴",fitzpatrick_scale:!1,category:"animals_and_nature"},aD={keywords:["animal","nature","mystical"],char:"🦄",fitzpatrick_scale:!1,category:"animals_and_nature"},iD={keywords:["animal","insect","nature","bug","spring","honey"],char:"🐝",fitzpatrick_scale:!1,category:"animals_and_nature"},sD={keywords:["animal","insect","nature","worm"],char:"🐛",fitzpatrick_scale:!1,category:"animals_and_nature"},oD={keywords:["animal","insect","nature","caterpillar"],char:"🦋",fitzpatrick_scale:!1,category:"animals_and_nature"},lD={keywords:["slow","animal","shell"],char:"🐌",fitzpatrick_scale:!1,category:"animals_and_nature"},cD={keywords:["animal","insect","nature","ladybug"],char:"🐞",fitzpatrick_scale:!1,category:"animals_and_nature"},uD={keywords:["animal","insect","nature","bug"],char:"🐜",fitzpatrick_scale:!1,category:"animals_and_nature"},hD={keywords:["animal","cricket","chirp"],char:"🦗",fitzpatrick_scale:!1,category:"animals_and_nature"},fD={keywords:["animal","arachnid"],char:"🕷",fitzpatrick_scale:!1,category:"animals_and_nature"},dD={keywords:["animal","arachnid"],char:"🦂",fitzpatrick_scale:!1,category:"animals_and_nature"},pD={keywords:["animal","crustacean"],char:"🦀",fitzpatrick_scale:!1,category:"animals_and_nature"},mD={keywords:["animal","evil","nature","hiss","python"],char:"🐍",fitzpatrick_scale:!1,category:"animals_and_nature"},gD={keywords:["animal","nature","reptile"],char:"🦎",fitzpatrick_scale:!1,category:"animals_and_nature"},OD={keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"🦕",fitzpatrick_scale:!1,category:"animals_and_nature"},yD={keywords:["animal","slow","nature","tortoise"],char:"🐢",fitzpatrick_scale:!1,category:"animals_and_nature"},kD={keywords:["animal","swim","ocean","beach","nemo"],char:"🐠",fitzpatrick_scale:!1,category:"animals_and_nature"},bD={keywords:["animal","food","nature"],char:"🐟",fitzpatrick_scale:!1,category:"animals_and_nature"},_D={keywords:["animal","nature","food","sea","ocean"],char:"🐡",fitzpatrick_scale:!1,category:"animals_and_nature"},wD={keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"🐬",fitzpatrick_scale:!1,category:"animals_and_nature"},SD={keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"🦈",fitzpatrick_scale:!1,category:"animals_and_nature"},xD={keywords:["animal","nature","sea","ocean"],char:"🐳",fitzpatrick_scale:!1,category:"animals_and_nature"},TD={keywords:["animal","nature","sea","ocean"],char:"🐋",fitzpatrick_scale:!1,category:"animals_and_nature"},ED={keywords:["animal","nature","reptile","lizard","alligator"],char:"🐊",fitzpatrick_scale:!1,category:"animals_and_nature"},AD={keywords:["animal","nature"],char:"🐆",fitzpatrick_scale:!1,category:"animals_and_nature"},CD={keywords:["animal","nature","stripes","safari"],char:"🦓",fitzpatrick_scale:!1,category:"animals_and_nature"},PD={keywords:["animal","nature","roar"],char:"🐅",fitzpatrick_scale:!1,category:"animals_and_nature"},vD={keywords:["animal","nature","ox","cow"],char:"🐃",fitzpatrick_scale:!1,category:"animals_and_nature"},DD={keywords:["animal","cow","beef"],char:"🐂",fitzpatrick_scale:!1,category:"animals_and_nature"},QD={keywords:["beef","ox","animal","nature","moo","milk"],char:"🐄",fitzpatrick_scale:!1,category:"animals_and_nature"},zD={keywords:["animal","nature","horns","venison"],char:"🦌",fitzpatrick_scale:!1,category:"animals_and_nature"},ID={keywords:["animal","hot","desert","hump"],char:"🐪",fitzpatrick_scale:!1,category:"animals_and_nature"},LD={keywords:["animal","nature","hot","desert","hump"],char:"🐫",fitzpatrick_scale:!1,category:"animals_and_nature"},RD={keywords:["animal","nature","spots","safari"],char:"🦒",fitzpatrick_scale:!1,category:"animals_and_nature"},ND={keywords:["animal","nature","nose","th","circus"],char:"🐘",fitzpatrick_scale:!1,category:"animals_and_nature"},$D={keywords:["animal","nature","horn"],char:"🦏",fitzpatrick_scale:!1,category:"animals_and_nature"},MD={keywords:["animal","nature"],char:"🐐",fitzpatrick_scale:!1,category:"animals_and_nature"},FD={keywords:["animal","sheep","nature"],char:"🐏",fitzpatrick_scale:!1,category:"animals_and_nature"},BD={keywords:["animal","nature","wool","shipit"],char:"🐑",fitzpatrick_scale:!1,category:"animals_and_nature"},qD={keywords:["animal","gamble","luck"],char:"🐎",fitzpatrick_scale:!1,category:"animals_and_nature"},XD={keywords:["animal","nature"],char:"🐖",fitzpatrick_scale:!1,category:"animals_and_nature"},jD={keywords:["animal","mouse","rodent"],char:"🐀",fitzpatrick_scale:!1,category:"animals_and_nature"},ZD={keywords:["animal","nature","rodent"],char:"🐁",fitzpatrick_scale:!1,category:"animals_and_nature"},UD={keywords:["animal","nature","chicken"],char:"🐓",fitzpatrick_scale:!1,category:"animals_and_nature"},YD={keywords:["animal","bird"],char:"🦃",fitzpatrick_scale:!1,category:"animals_and_nature"},HD={keywords:["animal","bird"],char:"🕊",fitzpatrick_scale:!1,category:"animals_and_nature"},VD={keywords:["animal","nature","friend","doge","pet","faithful"],char:"🐕",fitzpatrick_scale:!1,category:"animals_and_nature"},WD={keywords:["dog","animal","101","nature","pet"],char:"🐩",fitzpatrick_scale:!1,category:"animals_and_nature"},GD={keywords:["animal","meow","pet","cats"],char:"🐈",fitzpatrick_scale:!1,category:"animals_and_nature"},KD={keywords:["animal","nature","pet","magic","spring"],char:"🐇",fitzpatrick_scale:!1,category:"animals_and_nature"},JD={keywords:["animal","nature","rodent","squirrel"],char:"🐿",fitzpatrick_scale:!1,category:"animals_and_nature"},eQ={keywords:["animal","nature","spiny"],char:"🦔",fitzpatrick_scale:!1,category:"animals_and_nature"},tQ={keywords:["animal","nature"],char:"🦝",fitzpatrick_scale:!1,category:"animals_and_nature"},rQ={keywords:["animal","nature","alpaca"],char:"🦙",fitzpatrick_scale:!1,category:"animals_and_nature"},nQ={keywords:["animal","nature"],char:"🦛",fitzpatrick_scale:!1,category:"animals_and_nature"},aQ={keywords:["animal","nature","australia","joey","hop","marsupial"],char:"🦘",fitzpatrick_scale:!1,category:"animals_and_nature"},iQ={keywords:["animal","nature","honey"],char:"🦡",fitzpatrick_scale:!1,category:"animals_and_nature"},sQ={keywords:["animal","nature","bird"],char:"🦢",fitzpatrick_scale:!1,category:"animals_and_nature"},oQ={keywords:["animal","nature","peahen","bird"],char:"🦚",fitzpatrick_scale:!1,category:"animals_and_nature"},lQ={keywords:["animal","nature","bird","pirate","talk"],char:"🦜",fitzpatrick_scale:!1,category:"animals_and_nature"},cQ={keywords:["animal","nature","bisque","claws","seafood"],char:"🦞",fitzpatrick_scale:!1,category:"animals_and_nature"},uQ={keywords:["animal","nature","insect","malaria"],char:"🦟",fitzpatrick_scale:!1,category:"animals_and_nature"},hQ={keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"🐾",fitzpatrick_scale:!1,category:"animals_and_nature"},fQ={keywords:["animal","myth","nature","chinese","green"],char:"🐉",fitzpatrick_scale:!1,category:"animals_and_nature"},dQ={keywords:["animal","myth","nature","chinese","green"],char:"🐲",fitzpatrick_scale:!1,category:"animals_and_nature"},pQ={keywords:["vegetable","plant","nature"],char:"🌵",fitzpatrick_scale:!1,category:"animals_and_nature"},mQ={keywords:["festival","vacation","december","xmas","celebration"],char:"🎄",fitzpatrick_scale:!1,category:"animals_and_nature"},gQ={keywords:["plant","nature"],char:"🌲",fitzpatrick_scale:!1,category:"animals_and_nature"},OQ={keywords:["plant","nature"],char:"🌳",fitzpatrick_scale:!1,category:"animals_and_nature"},yQ={keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"🌴",fitzpatrick_scale:!1,category:"animals_and_nature"},kQ={keywords:["plant","nature","grass","lawn","spring"],char:"🌱",fitzpatrick_scale:!1,category:"animals_and_nature"},bQ={keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"🌿",fitzpatrick_scale:!1,category:"animals_and_nature"},_Q={keywords:["vegetable","plant","nature","irish","clover"],char:"☘",fitzpatrick_scale:!1,category:"animals_and_nature"},wQ={keywords:["vegetable","plant","nature","lucky","irish"],char:"🍀",fitzpatrick_scale:!1,category:"animals_and_nature"},SQ={keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"🎍",fitzpatrick_scale:!1,category:"animals_and_nature"},xQ={keywords:["plant","nature","branch","summer"],char:"🎋",fitzpatrick_scale:!1,category:"animals_and_nature"},TQ={keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"🍃",fitzpatrick_scale:!1,category:"animals_and_nature"},EQ={keywords:["nature","plant","vegetable","leaves"],char:"🍂",fitzpatrick_scale:!1,category:"animals_and_nature"},AQ={keywords:["nature","plant","vegetable","ca","fall"],char:"🍁",fitzpatrick_scale:!1,category:"animals_and_nature"},CQ={keywords:["nature","plant"],char:"🌾",fitzpatrick_scale:!1,category:"animals_and_nature"},PQ={keywords:["plant","vegetable","flowers","beach"],char:"🌺",fitzpatrick_scale:!1,category:"animals_and_nature"},vQ={keywords:["nature","plant","fall"],char:"🌻",fitzpatrick_scale:!1,category:"animals_and_nature"},DQ={keywords:["flowers","valentines","love","spring"],char:"🌹",fitzpatrick_scale:!1,category:"animals_and_nature"},QQ={keywords:["plant","nature","flower"],char:"🥀",fitzpatrick_scale:!1,category:"animals_and_nature"},zQ={keywords:["flowers","plant","nature","summer","spring"],char:"🌷",fitzpatrick_scale:!1,category:"animals_and_nature"},IQ={keywords:["nature","flowers","yellow"],char:"🌼",fitzpatrick_scale:!1,category:"animals_and_nature"},LQ={keywords:["nature","plant","spring","flower"],char:"🌸",fitzpatrick_scale:!1,category:"animals_and_nature"},RQ={keywords:["flowers","nature","spring"],char:"💐",fitzpatrick_scale:!1,category:"animals_and_nature"},NQ={keywords:["plant","vegetable"],char:"🍄",fitzpatrick_scale:!1,category:"animals_and_nature"},$Q={keywords:["food","squirrel"],char:"🌰",fitzpatrick_scale:!1,category:"animals_and_nature"},MQ={keywords:["halloween","light","pumpkin","creepy","fall"],char:"🎃",fitzpatrick_scale:!1,category:"animals_and_nature"},FQ={keywords:["nature","sea","beach"],char:"🐚",fitzpatrick_scale:!1,category:"animals_and_nature"},BQ={keywords:["animal","insect","arachnid","silk"],char:"🕸",fitzpatrick_scale:!1,category:"animals_and_nature"},qQ={keywords:["globe","world","USA","international"],char:"🌎",fitzpatrick_scale:!1,category:"animals_and_nature"},XQ={keywords:["globe","world","international"],char:"🌍",fitzpatrick_scale:!1,category:"animals_and_nature"},jQ={keywords:["globe","world","east","international"],char:"🌏",fitzpatrick_scale:!1,category:"animals_and_nature"},ZQ={keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"🌕",fitzpatrick_scale:!1,category:"animals_and_nature"},UQ={keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"🌖",fitzpatrick_scale:!1,category:"animals_and_nature"},YQ={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌗",fitzpatrick_scale:!1,category:"animals_and_nature"},HQ={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌘",fitzpatrick_scale:!1,category:"animals_and_nature"},VQ={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌑",fitzpatrick_scale:!1,category:"animals_and_nature"},WQ={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌒",fitzpatrick_scale:!1,category:"animals_and_nature"},GQ={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌓",fitzpatrick_scale:!1,category:"animals_and_nature"},KQ={keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"🌔",fitzpatrick_scale:!1,category:"animals_and_nature"},JQ={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌚",fitzpatrick_scale:!1,category:"animals_and_nature"},ez={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌝",fitzpatrick_scale:!1,category:"animals_and_nature"},tz={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌛",fitzpatrick_scale:!1,category:"animals_and_nature"},rz={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌜",fitzpatrick_scale:!1,category:"animals_and_nature"},nz={keywords:["nature","morning","sky"],char:"🌞",fitzpatrick_scale:!1,category:"animals_and_nature"},az={keywords:["night","sleep","sky","evening","magic"],char:"🌙",fitzpatrick_scale:!1,category:"animals_and_nature"},iz={keywords:["night","yellow"],char:"⭐",fitzpatrick_scale:!1,category:"animals_and_nature"},sz={keywords:["night","sparkle","awesome","good","magic"],char:"🌟",fitzpatrick_scale:!1,category:"animals_and_nature"},oz={keywords:["star","sparkle","shoot","magic"],char:"💫",fitzpatrick_scale:!1,category:"animals_and_nature"},lz={keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"✨",fitzpatrick_scale:!1,category:"animals_and_nature"},cz={keywords:["space"],char:"☄",fitzpatrick_scale:!1,category:"animals_and_nature"},uz={keywords:["weather","nature","brightness","summer","beach","spring"],char:"☀️",fitzpatrick_scale:!1,category:"animals_and_nature"},hz={keywords:["weather"],char:"🌤",fitzpatrick_scale:!1,category:"animals_and_nature"},fz={keywords:["weather","nature","cloudy","morning","fall","spring"],char:"⛅",fitzpatrick_scale:!1,category:"animals_and_nature"},dz={keywords:["weather"],char:"🌥",fitzpatrick_scale:!1,category:"animals_and_nature"},pz={keywords:["weather"],char:"🌦",fitzpatrick_scale:!1,category:"animals_and_nature"},mz={keywords:["weather","sky"],char:"☁️",fitzpatrick_scale:!1,category:"animals_and_nature"},gz={keywords:["weather"],char:"🌧",fitzpatrick_scale:!1,category:"animals_and_nature"},Oz={keywords:["weather","lightning"],char:"⛈",fitzpatrick_scale:!1,category:"animals_and_nature"},yz={keywords:["weather","thunder"],char:"🌩",fitzpatrick_scale:!1,category:"animals_and_nature"},kz={keywords:["thunder","weather","lightning bolt","fast"],char:"⚡",fitzpatrick_scale:!1,category:"animals_and_nature"},bz={keywords:["hot","cook","flame"],char:"🔥",fitzpatrick_scale:!1,category:"animals_and_nature"},_z={keywords:["bomb","explode","explosion","collision","blown"],char:"💥",fitzpatrick_scale:!1,category:"animals_and_nature"},wz={keywords:["winter","season","cold","weather","christmas","xmas"],char:"❄️",fitzpatrick_scale:!1,category:"animals_and_nature"},Sz={keywords:["weather"],char:"🌨",fitzpatrick_scale:!1,category:"animals_and_nature"},xz={keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"⛄",fitzpatrick_scale:!1,category:"animals_and_nature"},Tz={keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"☃",fitzpatrick_scale:!1,category:"animals_and_nature"},Ez={keywords:["gust","air"],char:"🌬",fitzpatrick_scale:!1,category:"animals_and_nature"},Az={keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"💨",fitzpatrick_scale:!1,category:"animals_and_nature"},Cz={keywords:["weather","cyclone","twister"],char:"🌪",fitzpatrick_scale:!1,category:"animals_and_nature"},Pz={keywords:["weather"],char:"🌫",fitzpatrick_scale:!1,category:"animals_and_nature"},vz={keywords:["weather","spring"],char:"☂",fitzpatrick_scale:!1,category:"animals_and_nature"},Dz={keywords:["rainy","weather","spring"],char:"☔",fitzpatrick_scale:!1,category:"animals_and_nature"},Qz={keywords:["water","drip","faucet","spring"],char:"💧",fitzpatrick_scale:!1,category:"animals_and_nature"},zz={keywords:["water","drip","oops"],char:"💦",fitzpatrick_scale:!1,category:"animals_and_nature"},Iz={keywords:["sea","water","wave","nature","tsunami","disaster"],char:"🌊",fitzpatrick_scale:!1,category:"animals_and_nature"},Lz={keywords:["fruit","nature"],char:"🍏",fitzpatrick_scale:!1,category:"food_and_drink"},Rz={keywords:["fruit","mac","school"],char:"🍎",fitzpatrick_scale:!1,category:"food_and_drink"},Nz={keywords:["fruit","nature","food"],char:"🍐",fitzpatrick_scale:!1,category:"food_and_drink"},$z={keywords:["food","fruit","nature","orange"],char:"🍊",fitzpatrick_scale:!1,category:"food_and_drink"},Mz={keywords:["fruit","nature"],char:"🍋",fitzpatrick_scale:!1,category:"food_and_drink"},Fz={keywords:["fruit","food","monkey"],char:"🍌",fitzpatrick_scale:!1,category:"food_and_drink"},Bz={keywords:["fruit","food","picnic","summer"],char:"🍉",fitzpatrick_scale:!1,category:"food_and_drink"},qz={keywords:["fruit","food","wine"],char:"🍇",fitzpatrick_scale:!1,category:"food_and_drink"},Xz={keywords:["fruit","food","nature"],char:"🍓",fitzpatrick_scale:!1,category:"food_and_drink"},jz={keywords:["fruit","nature","food"],char:"🍈",fitzpatrick_scale:!1,category:"food_and_drink"},Zz={keywords:["food","fruit"],char:"🍒",fitzpatrick_scale:!1,category:"food_and_drink"},Uz={keywords:["fruit","nature","food"],char:"🍑",fitzpatrick_scale:!1,category:"food_and_drink"},Yz={keywords:["fruit","nature","food"],char:"🍍",fitzpatrick_scale:!1,category:"food_and_drink"},Hz={keywords:["fruit","nature","food","palm"],char:"🥥",fitzpatrick_scale:!1,category:"food_and_drink"},Vz={keywords:["fruit","food"],char:"🥝",fitzpatrick_scale:!1,category:"food_and_drink"},Wz={keywords:["fruit","food","tropical"],char:"🥭",fitzpatrick_scale:!1,category:"food_and_drink"},Gz={keywords:["fruit","food"],char:"🥑",fitzpatrick_scale:!1,category:"food_and_drink"},Kz={keywords:["fruit","food","vegetable"],char:"🥦",fitzpatrick_scale:!1,category:"food_and_drink"},Jz={keywords:["fruit","vegetable","nature","food"],char:"🍅",fitzpatrick_scale:!1,category:"food_and_drink"},eI={keywords:["vegetable","nature","food","aubergine"],char:"🍆",fitzpatrick_scale:!1,category:"food_and_drink"},tI={keywords:["fruit","food","pickle"],char:"🥒",fitzpatrick_scale:!1,category:"food_and_drink"},rI={keywords:["vegetable","food","orange"],char:"🥕",fitzpatrick_scale:!1,category:"food_and_drink"},nI={keywords:["food","spicy","chilli","chili"],char:"🌶",fitzpatrick_scale:!1,category:"food_and_drink"},aI={keywords:["food","tuber","vegatable","starch"],char:"🥔",fitzpatrick_scale:!1,category:"food_and_drink"},iI={keywords:["food","vegetable","plant"],char:"🌽",fitzpatrick_scale:!1,category:"food_and_drink"},sI={keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"🥬",fitzpatrick_scale:!1,category:"food_and_drink"},oI={keywords:["food","nature"],char:"🍠",fitzpatrick_scale:!1,category:"food_and_drink"},lI={keywords:["food","nut"],char:"🥜",fitzpatrick_scale:!1,category:"food_and_drink"},cI={keywords:["bees","sweet","kitchen"],char:"🍯",fitzpatrick_scale:!1,category:"food_and_drink"},uI={keywords:["food","bread","french"],char:"🥐",fitzpatrick_scale:!1,category:"food_and_drink"},hI={keywords:["food","wheat","breakfast","toast"],char:"🍞",fitzpatrick_scale:!1,category:"food_and_drink"},fI={keywords:["food","bread","french"],char:"🥖",fitzpatrick_scale:!1,category:"food_and_drink"},dI={keywords:["food","bread","bakery","schmear"],char:"🥯",fitzpatrick_scale:!1,category:"food_and_drink"},pI={keywords:["food","bread","twisted"],char:"🥨",fitzpatrick_scale:!1,category:"food_and_drink"},mI={keywords:["food","chadder"],char:"🧀",fitzpatrick_scale:!1,category:"food_and_drink"},gI={keywords:["food","chicken","breakfast"],char:"🥚",fitzpatrick_scale:!1,category:"food_and_drink"},OI={keywords:["food","breakfast","pork","pig","meat"],char:"🥓",fitzpatrick_scale:!1,category:"food_and_drink"},yI={keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"🥩",fitzpatrick_scale:!1,category:"food_and_drink"},kI={keywords:["food","breakfast","flapjacks","hotcakes"],char:"🥞",fitzpatrick_scale:!1,category:"food_and_drink"},bI={keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"🍗",fitzpatrick_scale:!1,category:"food_and_drink"},_I={keywords:["good","food","drumstick"],char:"🍖",fitzpatrick_scale:!1,category:"food_and_drink"},wI={keywords:["skeleton"],char:"🦴",fitzpatrick_scale:!1,category:"food_and_drink"},SI={keywords:["food","animal","appetizer","summer"],char:"🍤",fitzpatrick_scale:!1,category:"food_and_drink"},xI={keywords:["food","breakfast","kitchen","egg"],char:"🍳",fitzpatrick_scale:!1,category:"food_and_drink"},TI={keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"🍔",fitzpatrick_scale:!1,category:"food_and_drink"},EI={keywords:["chips","snack","fast food"],char:"🍟",fitzpatrick_scale:!1,category:"food_and_drink"},AI={keywords:["food","flatbread","stuffed","gyro"],char:"🥙",fitzpatrick_scale:!1,category:"food_and_drink"},CI={keywords:["food","frankfurter"],char:"🌭",fitzpatrick_scale:!1,category:"food_and_drink"},PI={keywords:["food","party"],char:"🍕",fitzpatrick_scale:!1,category:"food_and_drink"},vI={keywords:["food","lunch","bread"],char:"🥪",fitzpatrick_scale:!1,category:"food_and_drink"},DI={keywords:["food","soup"],char:"🥫",fitzpatrick_scale:!1,category:"food_and_drink"},QI={keywords:["food","italian","noodle"],char:"🍝",fitzpatrick_scale:!1,category:"food_and_drink"},zI={keywords:["food","mexican"],char:"🌮",fitzpatrick_scale:!1,category:"food_and_drink"},II={keywords:["food","mexican"],char:"🌯",fitzpatrick_scale:!1,category:"food_and_drink"},LI={keywords:["food","healthy","lettuce"],char:"🥗",fitzpatrick_scale:!1,category:"food_and_drink"},RI={keywords:["food","cooking","casserole","paella"],char:"🥘",fitzpatrick_scale:!1,category:"food_and_drink"},NI={keywords:["food","japanese","noodle","chopsticks"],char:"🍜",fitzpatrick_scale:!1,category:"food_and_drink"},$I={keywords:["food","meat","soup"],char:"🍲",fitzpatrick_scale:!1,category:"food_and_drink"},MI={keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"🍥",fitzpatrick_scale:!1,category:"food_and_drink"},FI={keywords:["food","prophecy"],char:"🥠",fitzpatrick_scale:!1,category:"food_and_drink"},BI={keywords:["food","fish","japanese","rice"],char:"🍣",fitzpatrick_scale:!1,category:"food_and_drink"},qI={keywords:["food","japanese","box"],char:"🍱",fitzpatrick_scale:!1,category:"food_and_drink"},XI={keywords:["food","spicy","hot","indian"],char:"🍛",fitzpatrick_scale:!1,category:"food_and_drink"},jI={keywords:["food","japanese"],char:"🍙",fitzpatrick_scale:!1,category:"food_and_drink"},ZI={keywords:["food","china","asian"],char:"🍚",fitzpatrick_scale:!1,category:"food_and_drink"},UI={keywords:["food","japanese"],char:"🍘",fitzpatrick_scale:!1,category:"food_and_drink"},YI={keywords:["food","japanese"],char:"🍢",fitzpatrick_scale:!1,category:"food_and_drink"},HI={keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"🍡",fitzpatrick_scale:!1,category:"food_and_drink"},VI={keywords:["hot","dessert","summer"],char:"🍧",fitzpatrick_scale:!1,category:"food_and_drink"},WI={keywords:["food","hot","dessert"],char:"🍨",fitzpatrick_scale:!1,category:"food_and_drink"},GI={keywords:["food","hot","dessert","summer"],char:"🍦",fitzpatrick_scale:!1,category:"food_and_drink"},KI={keywords:["food","dessert","pastry"],char:"🥧",fitzpatrick_scale:!1,category:"food_and_drink"},JI={keywords:["food","dessert"],char:"🍰",fitzpatrick_scale:!1,category:"food_and_drink"},e6={keywords:["food","dessert","bakery","sweet"],char:"🧁",fitzpatrick_scale:!1,category:"food_and_drink"},t6={keywords:["food","autumn"],char:"🥮",fitzpatrick_scale:!1,category:"food_and_drink"},r6={keywords:["food","dessert","cake"],char:"🎂",fitzpatrick_scale:!1,category:"food_and_drink"},n6={keywords:["dessert","food"],char:"🍮",fitzpatrick_scale:!1,category:"food_and_drink"},a6={keywords:["snack","dessert","sweet","lolly"],char:"🍬",fitzpatrick_scale:!1,category:"food_and_drink"},i6={keywords:["food","snack","candy","sweet"],char:"🍭",fitzpatrick_scale:!1,category:"food_and_drink"},s6={keywords:["food","snack","dessert","sweet"],char:"🍫",fitzpatrick_scale:!1,category:"food_and_drink"},o6={keywords:["food","movie theater","films","snack"],char:"🍿",fitzpatrick_scale:!1,category:"food_and_drink"},l6={keywords:["food","empanada","pierogi","potsticker"],char:"🥟",fitzpatrick_scale:!1,category:"food_and_drink"},c6={keywords:["food","dessert","snack","sweet","donut"],char:"🍩",fitzpatrick_scale:!1,category:"food_and_drink"},u6={keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"🍪",fitzpatrick_scale:!1,category:"food_and_drink"},h6={keywords:["beverage","drink","cow"],char:"🥛",fitzpatrick_scale:!1,category:"food_and_drink"},f6={keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍺",fitzpatrick_scale:!1,category:"food_and_drink"},d6={keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍻",fitzpatrick_scale:!1,category:"food_and_drink"},p6={keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"🥂",fitzpatrick_scale:!1,category:"food_and_drink"},m6={keywords:["drink","beverage","drunk","alcohol","booze"],char:"🍷",fitzpatrick_scale:!1,category:"food_and_drink"},g6={keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"🥃",fitzpatrick_scale:!1,category:"food_and_drink"},O6={keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"🍸",fitzpatrick_scale:!1,category:"food_and_drink"},y6={keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"🍹",fitzpatrick_scale:!1,category:"food_and_drink"},k6={keywords:["drink","wine","bottle","celebration"],char:"🍾",fitzpatrick_scale:!1,category:"food_and_drink"},b6={keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"🍶",fitzpatrick_scale:!1,category:"food_and_drink"},_6={keywords:["drink","bowl","breakfast","green","british"],char:"🍵",fitzpatrick_scale:!1,category:"food_and_drink"},w6={keywords:["drink","soda"],char:"🥤",fitzpatrick_scale:!1,category:"food_and_drink"},S6={keywords:["beverage","caffeine","latte","espresso"],char:"☕",fitzpatrick_scale:!1,category:"food_and_drink"},x6={keywords:["food","container","milk"],char:"🍼",fitzpatrick_scale:!1,category:"food_and_drink"},T6={keywords:["condiment","shaker"],char:"🧂",fitzpatrick_scale:!1,category:"food_and_drink"},E6={keywords:["cutlery","kitchen","tableware"],char:"🥄",fitzpatrick_scale:!1,category:"food_and_drink"},A6={keywords:["cutlery","kitchen"],char:"🍴",fitzpatrick_scale:!1,category:"food_and_drink"},C6={keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"🍽",fitzpatrick_scale:!1,category:"food_and_drink"},P6={keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"🥣",fitzpatrick_scale:!1,category:"food_and_drink"},v6={keywords:["food","leftovers"],char:"🥡",fitzpatrick_scale:!1,category:"food_and_drink"},D6={keywords:["food"],char:"🥢",fitzpatrick_scale:!1,category:"food_and_drink"},Q6={keywords:["sports","football"],char:"⚽",fitzpatrick_scale:!1,category:"activity"},z6={keywords:["sports","balls","NBA"],char:"🏀",fitzpatrick_scale:!1,category:"activity"},I6={keywords:["sports","balls","NFL"],char:"🏈",fitzpatrick_scale:!1,category:"activity"},L6={keywords:["sports","balls"],char:"⚾",fitzpatrick_scale:!1,category:"activity"},R6={keywords:["sports","balls"],char:"🥎",fitzpatrick_scale:!1,category:"activity"},N6={keywords:["sports","balls","green"],char:"🎾",fitzpatrick_scale:!1,category:"activity"},$6={keywords:["sports","balls"],char:"🏐",fitzpatrick_scale:!1,category:"activity"},M6={keywords:["sports","team"],char:"🏉",fitzpatrick_scale:!1,category:"activity"},F6={keywords:["sports","frisbee","ultimate"],char:"🥏",fitzpatrick_scale:!1,category:"activity"},B6={keywords:["sports","business","flag","hole","summer"],char:"⛳",fitzpatrick_scale:!1,category:"activity"},q6={keywords:["sports","business","woman","female"],char:"🏌️‍♀️",fitzpatrick_scale:!1,category:"activity"},X6={keywords:["sports","business"],char:"🏌",fitzpatrick_scale:!0,category:"activity"},j6={keywords:["sports","pingpong"],char:"🏓",fitzpatrick_scale:!1,category:"activity"},Z6={keywords:["sports"],char:"🏸",fitzpatrick_scale:!1,category:"activity"},U6={keywords:["sports"],char:"🥅",fitzpatrick_scale:!1,category:"activity"},Y6={keywords:["sports"],char:"🏒",fitzpatrick_scale:!1,category:"activity"},H6={keywords:["sports"],char:"🏑",fitzpatrick_scale:!1,category:"activity"},V6={keywords:["sports","ball","stick"],char:"🥍",fitzpatrick_scale:!1,category:"activity"},W6={keywords:["sports"],char:"🏏",fitzpatrick_scale:!1,category:"activity"},G6={keywords:["sports","winter","cold","snow"],char:"🎿",fitzpatrick_scale:!1,category:"activity"},K6={keywords:["sports","winter","snow"],char:"⛷",fitzpatrick_scale:!1,category:"activity"},J6={keywords:["sports","winter"],char:"🏂",fitzpatrick_scale:!0,category:"activity"},e5={keywords:["sports","fencing","sword"],char:"🤺",fitzpatrick_scale:!1,category:"activity"},t5={keywords:["sports","wrestlers"],char:"🤼‍♀️",fitzpatrick_scale:!1,category:"activity"},r5={keywords:["sports","wrestlers"],char:"🤼‍♂️",fitzpatrick_scale:!1,category:"activity"},n5={keywords:["gymnastics"],char:"🤸‍♀️",fitzpatrick_scale:!0,category:"activity"},a5={keywords:["gymnastics"],char:"🤸‍♂️",fitzpatrick_scale:!0,category:"activity"},i5={keywords:["sports"],char:"🤾‍♀️",fitzpatrick_scale:!0,category:"activity"},s5={keywords:["sports"],char:"🤾‍♂️",fitzpatrick_scale:!0,category:"activity"},o5={keywords:["sports"],char:"⛸",fitzpatrick_scale:!1,category:"activity"},l5={keywords:["sports"],char:"🥌",fitzpatrick_scale:!1,category:"activity"},c5={keywords:["board"],char:"🛹",fitzpatrick_scale:!1,category:"activity"},u5={keywords:["sleigh","luge","toboggan"],char:"🛷",fitzpatrick_scale:!1,category:"activity"},h5={keywords:["sports"],char:"🏹",fitzpatrick_scale:!1,category:"activity"},f5={keywords:["food","hobby","summer"],char:"🎣",fitzpatrick_scale:!1,category:"activity"},d5={keywords:["sports","fighting"],char:"🥊",fitzpatrick_scale:!1,category:"activity"},p5={keywords:["judo","karate","taekwondo"],char:"🥋",fitzpatrick_scale:!1,category:"activity"},m5={keywords:["sports","hobby","water","ship","woman","female"],char:"🚣‍♀️",fitzpatrick_scale:!0,category:"activity"},g5={keywords:["sports","hobby","water","ship"],char:"🚣",fitzpatrick_scale:!0,category:"activity"},O5={keywords:["sports","hobby","woman","female","rock"],char:"🧗‍♀️",fitzpatrick_scale:!0,category:"activity"},y5={keywords:["sports","hobby","man","male","rock"],char:"🧗‍♂️",fitzpatrick_scale:!0,category:"activity"},k5={keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"🏊‍♀️",fitzpatrick_scale:!0,category:"activity"},b5={keywords:["sports","exercise","human","athlete","water","summer"],char:"🏊",fitzpatrick_scale:!0,category:"activity"},_5={keywords:["sports","pool"],char:"🤽‍♀️",fitzpatrick_scale:!0,category:"activity"},w5={keywords:["sports","pool"],char:"🤽‍♂️",fitzpatrick_scale:!0,category:"activity"},S5={keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♀️",fitzpatrick_scale:!0,category:"activity"},x5={keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♂️",fitzpatrick_scale:!0,category:"activity"},T5={keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"🏄‍♀️",fitzpatrick_scale:!0,category:"activity"},E5={keywords:["sports","ocean","sea","summer","beach"],char:"🏄",fitzpatrick_scale:!0,category:"activity"},A5={keywords:["clean","shower","bathroom"],char:"🛀",fitzpatrick_scale:!0,category:"activity"},C5={keywords:["sports","human","woman","female"],char:"⛹️‍♀️",fitzpatrick_scale:!0,category:"activity"},P5={keywords:["sports","human"],char:"⛹",fitzpatrick_scale:!0,category:"activity"},v5={keywords:["sports","training","exercise","woman","female"],char:"🏋️‍♀️",fitzpatrick_scale:!0,category:"activity"},D5={keywords:["sports","training","exercise"],char:"🏋",fitzpatrick_scale:!0,category:"activity"},Q5={keywords:["sports","bike","exercise","hipster","woman","female"],char:"🚴‍♀️",fitzpatrick_scale:!0,category:"activity"},z5={keywords:["sports","bike","exercise","hipster"],char:"🚴",fitzpatrick_scale:!0,category:"activity"},I5={keywords:["transportation","sports","human","race","bike","woman","female"],char:"🚵‍♀️",fitzpatrick_scale:!0,category:"activity"},L5={keywords:["transportation","sports","human","race","bike"],char:"🚵",fitzpatrick_scale:!0,category:"activity"},R5={keywords:["animal","betting","competition","gambling","luck"],char:"🏇",fitzpatrick_scale:!0,category:"activity"},N5={keywords:["suit","business","levitate","hover","jump"],char:"🕴",fitzpatrick_scale:!0,category:"activity"},$5={keywords:["win","award","contest","place","ftw","ceremony"],char:"🏆",fitzpatrick_scale:!1,category:"activity"},M5={keywords:["play","pageant"],char:"🎽",fitzpatrick_scale:!1,category:"activity"},F5={keywords:["award","winning"],char:"🏅",fitzpatrick_scale:!1,category:"activity"},B5={keywords:["award","winning","army"],char:"🎖",fitzpatrick_scale:!1,category:"activity"},q5={keywords:["sports","cause","support","awareness"],char:"🎗",fitzpatrick_scale:!1,category:"activity"},X5={keywords:["flower","decoration","military"],char:"🏵",fitzpatrick_scale:!1,category:"activity"},j5={keywords:["event","concert","pass"],char:"🎫",fitzpatrick_scale:!1,category:"activity"},Z5={keywords:["sports","concert","entrance"],char:"🎟",fitzpatrick_scale:!1,category:"activity"},U5={keywords:["acting","theater","drama"],char:"🎭",fitzpatrick_scale:!1,category:"activity"},Y5={keywords:["design","paint","draw","colors"],char:"🎨",fitzpatrick_scale:!1,category:"activity"},H5={keywords:["festival","carnival","party"],char:"🎪",fitzpatrick_scale:!1,category:"activity"},V5={keywords:["juggle","balance","skill","multitask"],char:"🤹‍♀️",fitzpatrick_scale:!0,category:"activity"},W5={keywords:["juggle","balance","skill","multitask"],char:"🤹‍♂️",fitzpatrick_scale:!0,category:"activity"},G5={keywords:["sound","music","PA","sing","talkshow"],char:"🎤",fitzpatrick_scale:!1,category:"activity"},K5={keywords:["music","score","gadgets"],char:"🎧",fitzpatrick_scale:!1,category:"activity"},J5={keywords:["treble","clef","compose"],char:"🎼",fitzpatrick_scale:!1,category:"activity"},eL={keywords:["piano","instrument","compose"],char:"🎹",fitzpatrick_scale:!1,category:"activity"},tL={keywords:["music","instrument","drumsticks","snare"],char:"🥁",fitzpatrick_scale:!1,category:"activity"},rL={keywords:["music","instrument","jazz","blues"],char:"🎷",fitzpatrick_scale:!1,category:"activity"},nL={keywords:["music","brass"],char:"🎺",fitzpatrick_scale:!1,category:"activity"},aL={keywords:["music","instrument"],char:"🎸",fitzpatrick_scale:!1,category:"activity"},iL={keywords:["music","instrument","orchestra","symphony"],char:"🎻",fitzpatrick_scale:!1,category:"activity"},sL={keywords:["movie","film","record"],char:"🎬",fitzpatrick_scale:!1,category:"activity"},oL={keywords:["play","console","PS4","controller"],char:"🎮",fitzpatrick_scale:!1,category:"activity"},lL={keywords:["game","arcade","play"],char:"👾",fitzpatrick_scale:!1,category:"activity"},cL={keywords:["game","play","bar","target","bullseye"],char:"🎯",fitzpatrick_scale:!1,category:"activity"},uL={keywords:["dice","random","tabletop","play","luck"],char:"🎲",fitzpatrick_scale:!1,category:"activity"},hL={keywords:["expendable"],char:"♟",fitzpatrick_scale:!1,category:"activity"},fL={keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"🎰",fitzpatrick_scale:!1,category:"activity"},dL={keywords:["interlocking","puzzle","piece"],char:"🧩",fitzpatrick_scale:!1,category:"activity"},pL={keywords:["sports","fun","play"],char:"🎳",fitzpatrick_scale:!1,category:"activity"},mL={keywords:["red","transportation","vehicle"],char:"🚗",fitzpatrick_scale:!1,category:"travel_and_places"},gL={keywords:["uber","vehicle","cars","transportation"],char:"🚕",fitzpatrick_scale:!1,category:"travel_and_places"},OL={keywords:["transportation","vehicle"],char:"🚙",fitzpatrick_scale:!1,category:"travel_and_places"},yL={keywords:["car","vehicle","transportation"],char:"🚌",fitzpatrick_scale:!1,category:"travel_and_places"},kL={keywords:["bart","transportation","vehicle"],char:"🚎",fitzpatrick_scale:!1,category:"travel_and_places"},bL={keywords:["sports","race","fast","formula","f1"],char:"🏎",fitzpatrick_scale:!1,category:"travel_and_places"},_L={keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"🚓",fitzpatrick_scale:!1,category:"travel_and_places"},wL={keywords:["health","911","hospital"],char:"🚑",fitzpatrick_scale:!1,category:"travel_and_places"},SL={keywords:["transportation","cars","vehicle"],char:"🚒",fitzpatrick_scale:!1,category:"travel_and_places"},xL={keywords:["vehicle","car","transportation"],char:"🚐",fitzpatrick_scale:!1,category:"travel_and_places"},TL={keywords:["cars","transportation"],char:"🚚",fitzpatrick_scale:!1,category:"travel_and_places"},EL={keywords:["vehicle","cars","transportation","express"],char:"🚛",fitzpatrick_scale:!1,category:"travel_and_places"},AL={keywords:["vehicle","car","farming","agriculture"],char:"🚜",fitzpatrick_scale:!1,category:"travel_and_places"},CL={keywords:["vehicle","kick","razor"],char:"🛴",fitzpatrick_scale:!1,category:"travel_and_places"},PL={keywords:["race","sports","fast"],char:"🏍",fitzpatrick_scale:!1,category:"travel_and_places"},vL={keywords:["sports","bicycle","exercise","hipster"],char:"🚲",fitzpatrick_scale:!1,category:"travel_and_places"},DL={keywords:["vehicle","vespa","sasha"],char:"🛵",fitzpatrick_scale:!1,category:"travel_and_places"},QL={keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"🚨",fitzpatrick_scale:!1,category:"travel_and_places"},zL={keywords:["vehicle","law","legal","enforcement","911"],char:"🚔",fitzpatrick_scale:!1,category:"travel_and_places"},IL={keywords:["vehicle","transportation"],char:"🚍",fitzpatrick_scale:!1,category:"travel_and_places"},LL={keywords:["car","vehicle","transportation"],char:"🚘",fitzpatrick_scale:!1,category:"travel_and_places"},RL={keywords:["vehicle","cars","uber"],char:"🚖",fitzpatrick_scale:!1,category:"travel_and_places"},NL={keywords:["transportation","vehicle","ski"],char:"🚡",fitzpatrick_scale:!1,category:"travel_and_places"},$L={keywords:["transportation","vehicle","ski"],char:"🚠",fitzpatrick_scale:!1,category:"travel_and_places"},ML={keywords:["vehicle","transportation"],char:"🚟",fitzpatrick_scale:!1,category:"travel_and_places"},FL={keywords:["transportation","vehicle"],char:"🚃",fitzpatrick_scale:!1,category:"travel_and_places"},BL={keywords:["transportation","vehicle","carriage","public","travel"],char:"🚋",fitzpatrick_scale:!1,category:"travel_and_places"},qL={keywords:["transportation","vehicle"],char:"🚝",fitzpatrick_scale:!1,category:"travel_and_places"},XL={keywords:["transportation","vehicle"],char:"🚄",fitzpatrick_scale:!1,category:"travel_and_places"},jL={keywords:["transportation","vehicle","speed","fast","public","travel"],char:"🚅",fitzpatrick_scale:!1,category:"travel_and_places"},ZL={keywords:["transportation","vehicle"],char:"🚈",fitzpatrick_scale:!1,category:"travel_and_places"},UL={keywords:["transportation","vehicle"],char:"🚞",fitzpatrick_scale:!1,category:"travel_and_places"},YL={keywords:["transportation","vehicle","train"],char:"🚂",fitzpatrick_scale:!1,category:"travel_and_places"},HL={keywords:["transportation","vehicle"],char:"🚆",fitzpatrick_scale:!1,category:"travel_and_places"},VL={keywords:["transportation","blue-square","mrt","underground","tube"],char:"🚇",fitzpatrick_scale:!1,category:"travel_and_places"},WL={keywords:["transportation","vehicle"],char:"🚊",fitzpatrick_scale:!1,category:"travel_and_places"},GL={keywords:["transportation","vehicle","public"],char:"🚉",fitzpatrick_scale:!1,category:"travel_and_places"},KL={keywords:["transportation","vehicle","ufo"],char:"🛸",fitzpatrick_scale:!1,category:"travel_and_places"},JL={keywords:["transportation","vehicle","fly"],char:"🚁",fitzpatrick_scale:!1,category:"travel_and_places"},eR={keywords:["flight","transportation","fly","vehicle"],char:"🛩",fitzpatrick_scale:!1,category:"travel_and_places"},tR={keywords:["vehicle","transportation","flight","fly"],char:"✈️",fitzpatrick_scale:!1,category:"travel_and_places"},rR={keywords:["airport","flight","landing"],char:"🛫",fitzpatrick_scale:!1,category:"travel_and_places"},nR={keywords:["airport","flight","boarding"],char:"🛬",fitzpatrick_scale:!1,category:"travel_and_places"},aR={keywords:["ship","summer","transportation","water","sailing"],char:"⛵",fitzpatrick_scale:!1,category:"travel_and_places"},iR={keywords:["ship"],char:"🛥",fitzpatrick_scale:!1,category:"travel_and_places"},sR={keywords:["ship","transportation","vehicle","summer"],char:"🚤",fitzpatrick_scale:!1,category:"travel_and_places"},oR={keywords:["boat","ship","yacht"],char:"⛴",fitzpatrick_scale:!1,category:"travel_and_places"},lR={keywords:["yacht","cruise","ferry"],char:"🛳",fitzpatrick_scale:!1,category:"travel_and_places"},cR={keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"🚀",fitzpatrick_scale:!1,category:"travel_and_places"},uR={keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"🛰",fitzpatrick_scale:!1,category:"travel_and_places"},hR={keywords:["sit","airplane","transport","bus","flight","fly"],char:"💺",fitzpatrick_scale:!1,category:"travel_and_places"},fR={keywords:["boat","paddle","water","ship"],char:"🛶",fitzpatrick_scale:!1,category:"travel_and_places"},dR={keywords:["ship","ferry","sea","boat"],char:"⚓",fitzpatrick_scale:!1,category:"travel_and_places"},pR={keywords:["wip","progress","caution","warning"],char:"🚧",fitzpatrick_scale:!1,category:"travel_and_places"},mR={keywords:["gas station","petroleum"],char:"⛽",fitzpatrick_scale:!1,category:"travel_and_places"},gR={keywords:["transportation","wait"],char:"🚏",fitzpatrick_scale:!1,category:"travel_and_places"},OR={keywords:["transportation","driving"],char:"🚦",fitzpatrick_scale:!1,category:"travel_and_places"},yR={keywords:["transportation","signal"],char:"🚥",fitzpatrick_scale:!1,category:"travel_and_places"},kR={keywords:["contest","finishline","race","gokart"],char:"🏁",fitzpatrick_scale:!1,category:"travel_and_places"},bR={keywords:["transportation","titanic","deploy"],char:"🚢",fitzpatrick_scale:!1,category:"travel_and_places"},_R={keywords:["photo","carnival","londoneye"],char:"🎡",fitzpatrick_scale:!1,category:"travel_and_places"},wR={keywords:["carnival","playground","photo","fun"],char:"🎢",fitzpatrick_scale:!1,category:"travel_and_places"},SR={keywords:["photo","carnival"],char:"🎠",fitzpatrick_scale:!1,category:"travel_and_places"},xR={keywords:["wip","working","progress"],char:"🏗",fitzpatrick_scale:!1,category:"travel_and_places"},TR={keywords:["photo","mountain"],char:"🌁",fitzpatrick_scale:!1,category:"travel_and_places"},ER={keywords:["photo","japanese"],char:"🗼",fitzpatrick_scale:!1,category:"travel_and_places"},AR={keywords:["building","industry","pollution","smoke"],char:"🏭",fitzpatrick_scale:!1,category:"travel_and_places"},CR={keywords:["photo","summer","water","fresh"],char:"⛲",fitzpatrick_scale:!1,category:"travel_and_places"},PR={keywords:["photo","japan","asia","tsukimi"],char:"🎑",fitzpatrick_scale:!1,category:"travel_and_places"},vR={keywords:["photo","nature","environment"],char:"⛰",fitzpatrick_scale:!1,category:"travel_and_places"},DR={keywords:["photo","nature","environment","winter","cold"],char:"🏔",fitzpatrick_scale:!1,category:"travel_and_places"},QR={keywords:["photo","mountain","nature","japanese"],char:"🗻",fitzpatrick_scale:!1,category:"travel_and_places"},zR={keywords:["photo","nature","disaster"],char:"🌋",fitzpatrick_scale:!1,category:"travel_and_places"},IR={keywords:["nation","country","japanese","asia"],char:"🗾",fitzpatrick_scale:!1,category:"travel_and_places"},LR={keywords:["photo","outdoors","tent"],char:"🏕",fitzpatrick_scale:!1,category:"travel_and_places"},RR={keywords:["photo","camping","outdoors"],char:"⛺",fitzpatrick_scale:!1,category:"travel_and_places"},NR={keywords:["photo","environment","nature"],char:"🏞",fitzpatrick_scale:!1,category:"travel_and_places"},$R={keywords:["road","cupertino","interstate","highway"],char:"🛣",fitzpatrick_scale:!1,category:"travel_and_places"},MR={keywords:["train","transportation"],char:"🛤",fitzpatrick_scale:!1,category:"travel_and_places"},FR={keywords:["morning","view","vacation","photo"],char:"🌅",fitzpatrick_scale:!1,category:"travel_and_places"},BR={keywords:["view","vacation","photo"],char:"🌄",fitzpatrick_scale:!1,category:"travel_and_places"},qR={keywords:["photo","warm","saharah"],char:"🏜",fitzpatrick_scale:!1,category:"travel_and_places"},XR={keywords:["weather","summer","sunny","sand","mojito"],char:"🏖",fitzpatrick_scale:!1,category:"travel_and_places"},jR={keywords:["photo","tropical","mojito"],char:"🏝",fitzpatrick_scale:!1,category:"travel_and_places"},ZR={keywords:["photo","good morning","dawn"],char:"🌇",fitzpatrick_scale:!1,category:"travel_and_places"},UR={keywords:["photo","evening","sky","buildings"],char:"🌆",fitzpatrick_scale:!1,category:"travel_and_places"},YR={keywords:["photo","night life","urban"],char:"🏙",fitzpatrick_scale:!1,category:"travel_and_places"},HR={keywords:["evening","city","downtown"],char:"🌃",fitzpatrick_scale:!1,category:"travel_and_places"},VR={keywords:["photo","sanfrancisco"],char:"🌉",fitzpatrick_scale:!1,category:"travel_and_places"},WR={keywords:["photo","space","stars"],char:"🌌",fitzpatrick_scale:!1,category:"travel_and_places"},GR={keywords:["night","photo"],char:"🌠",fitzpatrick_scale:!1,category:"travel_and_places"},KR={keywords:["stars","night","shine"],char:"🎇",fitzpatrick_scale:!1,category:"travel_and_places"},JR={keywords:["photo","festival","carnival","congratulations"],char:"🎆",fitzpatrick_scale:!1,category:"travel_and_places"},eN={keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"🌈",fitzpatrick_scale:!1,category:"travel_and_places"},tN={keywords:["buildings","photo"],char:"🏘",fitzpatrick_scale:!1,category:"travel_and_places"},rN={keywords:["building","royalty","history"],char:"🏰",fitzpatrick_scale:!1,category:"travel_and_places"},nN={keywords:["photo","building"],char:"🏯",fitzpatrick_scale:!1,category:"travel_and_places"},aN={keywords:["photo","place","sports","concert","venue"],char:"🏟",fitzpatrick_scale:!1,category:"travel_and_places"},iN={keywords:["american","newyork"],char:"🗽",fitzpatrick_scale:!1,category:"travel_and_places"},sN={keywords:["building","home"],char:"🏠",fitzpatrick_scale:!1,category:"travel_and_places"},oN={keywords:["home","plant","nature"],char:"🏡",fitzpatrick_scale:!1,category:"travel_and_places"},lN={keywords:["abandon","evict","broken","building"],char:"🏚",fitzpatrick_scale:!1,category:"travel_and_places"},cN={keywords:["building","bureau","work"],char:"🏢",fitzpatrick_scale:!1,category:"travel_and_places"},uN={keywords:["building","shopping","mall"],char:"🏬",fitzpatrick_scale:!1,category:"travel_and_places"},hN={keywords:["building","envelope","communication"],char:"🏣",fitzpatrick_scale:!1,category:"travel_and_places"},fN={keywords:["building","email"],char:"🏤",fitzpatrick_scale:!1,category:"travel_and_places"},dN={keywords:["building","health","surgery","doctor"],char:"🏥",fitzpatrick_scale:!1,category:"travel_and_places"},pN={keywords:["building","money","sales","cash","business","enterprise"],char:"🏦",fitzpatrick_scale:!1,category:"travel_and_places"},mN={keywords:["building","accomodation","checkin"],char:"🏨",fitzpatrick_scale:!1,category:"travel_and_places"},gN={keywords:["building","shopping","groceries"],char:"🏪",fitzpatrick_scale:!1,category:"travel_and_places"},ON={keywords:["building","student","education","learn","teach"],char:"🏫",fitzpatrick_scale:!1,category:"travel_and_places"},yN={keywords:["like","affection","dating"],char:"🏩",fitzpatrick_scale:!1,category:"travel_and_places"},kN={keywords:["love","like","affection","couple","marriage","bride","groom"],char:"💒",fitzpatrick_scale:!1,category:"travel_and_places"},bN={keywords:["art","culture","history"],char:"🏛",fitzpatrick_scale:!1,category:"travel_and_places"},_N={keywords:["building","religion","christ"],char:"⛪",fitzpatrick_scale:!1,category:"travel_and_places"},wN={keywords:["islam","worship","minaret"],char:"🕌",fitzpatrick_scale:!1,category:"travel_and_places"},SN={keywords:["judaism","worship","temple","jewish"],char:"🕍",fitzpatrick_scale:!1,category:"travel_and_places"},xN={keywords:["mecca","mosque","islam"],char:"🕋",fitzpatrick_scale:!1,category:"travel_and_places"},TN={keywords:["temple","japan","kyoto"],char:"⛩",fitzpatrick_scale:!1,category:"travel_and_places"},EN={keywords:["time","accessories"],char:"⌚",fitzpatrick_scale:!1,category:"objects"},AN={keywords:["technology","apple","gadgets","dial"],char:"📱",fitzpatrick_scale:!1,category:"objects"},CN={keywords:["iphone","incoming"],char:"📲",fitzpatrick_scale:!1,category:"objects"},PN={keywords:["technology","laptop","screen","display","monitor"],char:"💻",fitzpatrick_scale:!1,category:"objects"},vN={keywords:["technology","computer","type","input","text"],char:"⌨",fitzpatrick_scale:!1,category:"objects"},DN={keywords:["technology","computing","screen"],char:"🖥",fitzpatrick_scale:!1,category:"objects"},QN={keywords:["paper","ink"],char:"🖨",fitzpatrick_scale:!1,category:"objects"},zN={keywords:["click"],char:"🖱",fitzpatrick_scale:!1,category:"objects"},IN={keywords:["technology","trackpad"],char:"🖲",fitzpatrick_scale:!1,category:"objects"},LN={keywords:["game","play"],char:"🕹",fitzpatrick_scale:!1,category:"objects"},RN={keywords:["tool"],char:"🗜",fitzpatrick_scale:!1,category:"objects"},NN={keywords:["technology","record","data","disk","90s"],char:"💽",fitzpatrick_scale:!1,category:"objects"},$N={keywords:["oldschool","technology","save","90s","80s"],char:"💾",fitzpatrick_scale:!1,category:"objects"},MN={keywords:["technology","dvd","disk","disc","90s"],char:"💿",fitzpatrick_scale:!1,category:"objects"},FN={keywords:["cd","disk","disc"],char:"📀",fitzpatrick_scale:!1,category:"objects"},BN={keywords:["record","video","oldschool","90s","80s"],char:"📼",fitzpatrick_scale:!1,category:"objects"},qN={keywords:["gadgets","photography"],char:"📷",fitzpatrick_scale:!1,category:"objects"},XN={keywords:["photography","gadgets"],char:"📸",fitzpatrick_scale:!1,category:"objects"},jN={keywords:["film","record"],char:"📹",fitzpatrick_scale:!1,category:"objects"},ZN={keywords:["film","record"],char:"🎥",fitzpatrick_scale:!1,category:"objects"},UN={keywords:["video","tape","record","movie"],char:"📽",fitzpatrick_scale:!1,category:"objects"},YN={keywords:["movie"],char:"🎞",fitzpatrick_scale:!1,category:"objects"},HN={keywords:["technology","communication","dial"],char:"📞",fitzpatrick_scale:!1,category:"objects"},VN={keywords:["technology","communication","dial","telephone"],char:"☎️",fitzpatrick_scale:!1,category:"objects"},WN={keywords:["bbcall","oldschool","90s"],char:"📟",fitzpatrick_scale:!1,category:"objects"},GN={keywords:["communication","technology"],char:"📠",fitzpatrick_scale:!1,category:"objects"},KN={keywords:["technology","program","oldschool","show","television"],char:"📺",fitzpatrick_scale:!1,category:"objects"},JN={keywords:["communication","music","podcast","program"],char:"📻",fitzpatrick_scale:!1,category:"objects"},e4={keywords:["sing","recording","artist","talkshow"],char:"🎙",fitzpatrick_scale:!1,category:"objects"},t4={keywords:["scale"],char:"🎚",fitzpatrick_scale:!1,category:"objects"},r4={keywords:["dial"],char:"🎛",fitzpatrick_scale:!1,category:"objects"},n4={keywords:["magnetic","navigation","orienteering"],char:"🧭",fitzpatrick_scale:!1,category:"objects"},a4={keywords:["time","deadline"],char:"⏱",fitzpatrick_scale:!1,category:"objects"},i4={keywords:["alarm"],char:"⏲",fitzpatrick_scale:!1,category:"objects"},s4={keywords:["time","wake"],char:"⏰",fitzpatrick_scale:!1,category:"objects"},o4={keywords:["time"],char:"🕰",fitzpatrick_scale:!1,category:"objects"},l4={keywords:["oldschool","time","countdown"],char:"⏳",fitzpatrick_scale:!1,category:"objects"},c4={keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"⌛",fitzpatrick_scale:!1,category:"objects"},u4={keywords:["communication","future","radio","space"],char:"📡",fitzpatrick_scale:!1,category:"objects"},h4={keywords:["power","energy","sustain"],char:"🔋",fitzpatrick_scale:!1,category:"objects"},f4={keywords:["charger","power"],char:"🔌",fitzpatrick_scale:!1,category:"objects"},d4={keywords:["light","electricity","idea"],char:"💡",fitzpatrick_scale:!1,category:"objects"},p4={keywords:["dark","camping","sight","night"],char:"🔦",fitzpatrick_scale:!1,category:"objects"},m4={keywords:["fire","wax"],char:"🕯",fitzpatrick_scale:!1,category:"objects"},g4={keywords:["quench"],char:"🧯",fitzpatrick_scale:!1,category:"objects"},O4={keywords:["bin","trash","rubbish","garbage","toss"],char:"🗑",fitzpatrick_scale:!1,category:"objects"},y4={keywords:["barrell"],char:"🛢",fitzpatrick_scale:!1,category:"objects"},k4={keywords:["dollar","bills","payment","sale"],char:"💸",fitzpatrick_scale:!1,category:"objects"},b4={keywords:["money","sales","bill","currency"],char:"💵",fitzpatrick_scale:!1,category:"objects"},_4={keywords:["money","sales","japanese","dollar","currency"],char:"💴",fitzpatrick_scale:!1,category:"objects"},w4={keywords:["money","sales","dollar","currency"],char:"💶",fitzpatrick_scale:!1,category:"objects"},S4={keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"💷",fitzpatrick_scale:!1,category:"objects"},x4={keywords:["dollar","payment","coins","sale"],char:"💰",fitzpatrick_scale:!1,category:"objects"},T4={keywords:["money","sales","dollar","bill","payment","shopping"],char:"💳",fitzpatrick_scale:!1,category:"objects"},E4={keywords:["blue","ruby","diamond","jewelry"],char:"💎",fitzpatrick_scale:!1,category:"objects"},A4={keywords:["law","fairness","weight"],char:"⚖",fitzpatrick_scale:!1,category:"objects"},C4={keywords:["tools","diy","fix","maintainer","mechanic"],char:"🧰",fitzpatrick_scale:!1,category:"objects"},P4={keywords:["tools","diy","ikea","fix","maintainer"],char:"🔧",fitzpatrick_scale:!1,category:"objects"},v4={keywords:["tools","build","create"],char:"🔨",fitzpatrick_scale:!1,category:"objects"},D4={keywords:["tools","build","create"],char:"⚒",fitzpatrick_scale:!1,category:"objects"},Q4={keywords:["tools","build","create"],char:"🛠",fitzpatrick_scale:!1,category:"objects"},z4={keywords:["tools","dig"],char:"⛏",fitzpatrick_scale:!1,category:"objects"},I4={keywords:["handy","tools","fix"],char:"🔩",fitzpatrick_scale:!1,category:"objects"},L4={keywords:["cog"],char:"⚙",fitzpatrick_scale:!1,category:"objects"},R4={keywords:["bricks"],char:"🧱",fitzpatrick_scale:!1,category:"objects"},N4={keywords:["lock","arrest"],char:"⛓",fitzpatrick_scale:!1,category:"objects"},$4={keywords:["attraction","magnetic"],char:"🧲",fitzpatrick_scale:!1,category:"objects"},M4={keywords:["violence","weapon","pistol","revolver"],char:"🔫",fitzpatrick_scale:!1,category:"objects"},F4={keywords:["boom","explode","explosion","terrorism"],char:"💣",fitzpatrick_scale:!1,category:"objects"},B4={keywords:["dynamite","boom","explode","explosion","explosive"],char:"🧨",fitzpatrick_scale:!1,category:"objects"},q4={keywords:["knife","blade","cutlery","kitchen","weapon"],char:"🔪",fitzpatrick_scale:!1,category:"objects"},X4={keywords:["weapon"],char:"🗡",fitzpatrick_scale:!1,category:"objects"},j4={keywords:["weapon"],char:"⚔",fitzpatrick_scale:!1,category:"objects"},Z4={keywords:["protection","security"],char:"🛡",fitzpatrick_scale:!1,category:"objects"},U4={keywords:["kills","tobacco","cigarette","joint","smoke"],char:"🚬",fitzpatrick_scale:!1,category:"objects"},Y4={keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"☠",fitzpatrick_scale:!1,category:"objects"},H4={keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"⚰",fitzpatrick_scale:!1,category:"objects"},V4={keywords:["dead","die","death","rip","ashes"],char:"⚱",fitzpatrick_scale:!1,category:"objects"},W4={keywords:["vase","jar"],char:"🏺",fitzpatrick_scale:!1,category:"objects"},G4={keywords:["disco","party","magic","circus","fortune_teller"],char:"🔮",fitzpatrick_scale:!1,category:"objects"},K4={keywords:["dhikr","religious"],char:"📿",fitzpatrick_scale:!1,category:"objects"},J4={keywords:["bead","charm"],char:"🧿",fitzpatrick_scale:!1,category:"objects"},e$={keywords:["hair","salon","style"],char:"💈",fitzpatrick_scale:!1,category:"objects"},t$={keywords:["distilling","science","experiment","chemistry"],char:"⚗",fitzpatrick_scale:!1,category:"objects"},r$={keywords:["stars","space","zoom","science","astronomy"],char:"🔭",fitzpatrick_scale:!1,category:"objects"},n$={keywords:["laboratory","experiment","zoomin","science","study"],char:"🔬",fitzpatrick_scale:!1,category:"objects"},a$={keywords:["embarrassing"],char:"🕳",fitzpatrick_scale:!1,category:"objects"},i$={keywords:["health","medicine","doctor","pharmacy","drug"],char:"💊",fitzpatrick_scale:!1,category:"objects"},s$={keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"💉",fitzpatrick_scale:!1,category:"objects"},o$={keywords:["biologist","genetics","life"],char:"🧬",fitzpatrick_scale:!1,category:"objects"},l$={keywords:["amoeba","bacteria","germs"],char:"🦠",fitzpatrick_scale:!1,category:"objects"},c$={keywords:["bacteria","biology","culture","lab"],char:"🧫",fitzpatrick_scale:!1,category:"objects"},u$={keywords:["chemistry","experiment","lab","science"],char:"🧪",fitzpatrick_scale:!1,category:"objects"},h$={keywords:["weather","temperature","hot","cold"],char:"🌡",fitzpatrick_scale:!1,category:"objects"},f$={keywords:["cleaning","sweeping","witch"],char:"🧹",fitzpatrick_scale:!1,category:"objects"},d$={keywords:["laundry"],char:"🧺",fitzpatrick_scale:!1,category:"objects"},p$={keywords:["roll"],char:"🧻",fitzpatrick_scale:!1,category:"objects"},m$={keywords:["sale","tag"],char:"🏷",fitzpatrick_scale:!1,category:"objects"},g$={keywords:["favorite","label","save"],char:"🔖",fitzpatrick_scale:!1,category:"objects"},O$={keywords:["restroom","wc","washroom","bathroom","potty"],char:"🚽",fitzpatrick_scale:!1,category:"objects"},y$={keywords:["clean","water","bathroom"],char:"🚿",fitzpatrick_scale:!1,category:"objects"},k$={keywords:["clean","shower","bathroom"],char:"🛁",fitzpatrick_scale:!1,category:"objects"},b$={keywords:["bar","bathing","cleaning","lather"],char:"🧼",fitzpatrick_scale:!1,category:"objects"},_$={keywords:["absorbing","cleaning","porous"],char:"🧽",fitzpatrick_scale:!1,category:"objects"},w$={keywords:["moisturizer","sunscreen"],char:"🧴",fitzpatrick_scale:!1,category:"objects"},S$={keywords:["lock","door","password"],char:"🔑",fitzpatrick_scale:!1,category:"objects"},x$={keywords:["lock","door","password"],char:"🗝",fitzpatrick_scale:!1,category:"objects"},T$={keywords:["read","chill"],char:"🛋",fitzpatrick_scale:!1,category:"objects"},E$={keywords:["bed","rest"],char:"🛌",fitzpatrick_scale:!0,category:"objects"},A$={keywords:["sleep","rest"],char:"🛏",fitzpatrick_scale:!1,category:"objects"},C$={keywords:["house","entry","exit"],char:"🚪",fitzpatrick_scale:!1,category:"objects"},P$={keywords:["service"],char:"🛎",fitzpatrick_scale:!1,category:"objects"},v$={keywords:["plush","stuffed"],char:"🧸",fitzpatrick_scale:!1,category:"objects"},D$={keywords:["photography"],char:"🖼",fitzpatrick_scale:!1,category:"objects"},Q$={keywords:["location","direction"],char:"🗺",fitzpatrick_scale:!1,category:"objects"},z$={keywords:["weather","summer"],char:"⛱",fitzpatrick_scale:!1,category:"objects"},I$={keywords:["rock","easter island","moai"],char:"🗿",fitzpatrick_scale:!1,category:"objects"},L$={keywords:["mall","buy","purchase"],char:"🛍",fitzpatrick_scale:!1,category:"objects"},R$={keywords:["trolley"],char:"🛒",fitzpatrick_scale:!1,category:"objects"},N$={keywords:["party","celebration","birthday","circus"],char:"🎈",fitzpatrick_scale:!1,category:"objects"},$$={keywords:["fish","japanese","koinobori","carp","banner"],char:"🎏",fitzpatrick_scale:!1,category:"objects"},M$={keywords:["decoration","pink","girl","bowtie"],char:"🎀",fitzpatrick_scale:!1,category:"objects"},F$={keywords:["present","birthday","christmas","xmas"],char:"🎁",fitzpatrick_scale:!1,category:"objects"},B$={keywords:["festival","party","birthday","circus"],char:"🎊",fitzpatrick_scale:!1,category:"objects"},q$={keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"🎉",fitzpatrick_scale:!1,category:"objects"},X$={keywords:["japanese","toy","kimono"],char:"🎎",fitzpatrick_scale:!1,category:"objects"},j$={keywords:["nature","ding","spring","bell"],char:"🎐",fitzpatrick_scale:!1,category:"objects"},Z$={keywords:["japanese","nation","country","border"],char:"🎌",fitzpatrick_scale:!1,category:"objects"},U$={keywords:["light","paper","halloween","spooky"],char:"🏮",fitzpatrick_scale:!1,category:"objects"},Y$={keywords:["gift"],char:"🧧",fitzpatrick_scale:!1,category:"objects"},H$={keywords:["letter","postal","inbox","communication"],char:"✉️",fitzpatrick_scale:!1,category:"objects"},V$={keywords:["email","communication"],char:"📩",fitzpatrick_scale:!1,category:"objects"},W$={keywords:["email","inbox"],char:"📨",fitzpatrick_scale:!1,category:"objects"},G$={keywords:["email","like","affection","envelope","valentines"],char:"💌",fitzpatrick_scale:!1,category:"objects"},K$={keywords:["email","letter","envelope"],char:"📮",fitzpatrick_scale:!1,category:"objects"},J$={keywords:["email","communication","inbox"],char:"📪",fitzpatrick_scale:!1,category:"objects"},eM={keywords:["email","inbox","communication"],char:"📫",fitzpatrick_scale:!1,category:"objects"},tM={keywords:["email","inbox","communication"],char:"📬",fitzpatrick_scale:!1,category:"objects"},rM={keywords:["email","inbox"],char:"📭",fitzpatrick_scale:!1,category:"objects"},nM={keywords:["instrument","music"],char:"📯",fitzpatrick_scale:!1,category:"objects"},aM={keywords:["email","documents"],char:"📥",fitzpatrick_scale:!1,category:"objects"},iM={keywords:["inbox","email"],char:"📤",fitzpatrick_scale:!1,category:"objects"},sM={keywords:["documents","ancient","history","paper"],char:"📜",fitzpatrick_scale:!1,category:"objects"},oM={keywords:["documents","office","paper"],char:"📃",fitzpatrick_scale:!1,category:"objects"},lM={keywords:["favorite","save","order","tidy"],char:"📑",fitzpatrick_scale:!1,category:"objects"},cM={keywords:["accounting","expenses"],char:"🧾",fitzpatrick_scale:!1,category:"objects"},uM={keywords:["graph","presentation","stats"],char:"📊",fitzpatrick_scale:!1,category:"objects"},hM={keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"📈",fitzpatrick_scale:!1,category:"objects"},fM={keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"📉",fitzpatrick_scale:!1,category:"objects"},dM={keywords:["documents","office","paper","information"],char:"📄",fitzpatrick_scale:!1,category:"objects"},pM={keywords:["calendar","schedule"],char:"📅",fitzpatrick_scale:!1,category:"objects"},mM={keywords:["schedule","date","planning"],char:"📆",fitzpatrick_scale:!1,category:"objects"},gM={keywords:["date","schedule","planning"],char:"🗓",fitzpatrick_scale:!1,category:"objects"},OM={keywords:["business","stationery"],char:"📇",fitzpatrick_scale:!1,category:"objects"},yM={keywords:["business","stationery"],char:"🗃",fitzpatrick_scale:!1,category:"objects"},kM={keywords:["election","vote"],char:"🗳",fitzpatrick_scale:!1,category:"objects"},bM={keywords:["filing","organizing"],char:"🗄",fitzpatrick_scale:!1,category:"objects"},_M={keywords:["stationery","documents"],char:"📋",fitzpatrick_scale:!1,category:"objects"},wM={keywords:["memo","stationery"],char:"🗒",fitzpatrick_scale:!1,category:"objects"},SM={keywords:["documents","business","office"],char:"📁",fitzpatrick_scale:!1,category:"objects"},xM={keywords:["documents","load"],char:"📂",fitzpatrick_scale:!1,category:"objects"},TM={keywords:["organizing","business","stationery"],char:"🗂",fitzpatrick_scale:!1,category:"objects"},EM={keywords:["press","headline"],char:"🗞",fitzpatrick_scale:!1,category:"objects"},AM={keywords:["press","headline"],char:"📰",fitzpatrick_scale:!1,category:"objects"},CM={keywords:["stationery","record","notes","paper","study"],char:"📓",fitzpatrick_scale:!1,category:"objects"},PM={keywords:["read","library","knowledge","textbook","learn"],char:"📕",fitzpatrick_scale:!1,category:"objects"},vM={keywords:["read","library","knowledge","study"],char:"📗",fitzpatrick_scale:!1,category:"objects"},DM={keywords:["read","library","knowledge","learn","study"],char:"📘",fitzpatrick_scale:!1,category:"objects"},QM={keywords:["read","library","knowledge","textbook","study"],char:"📙",fitzpatrick_scale:!1,category:"objects"},zM={keywords:["classroom","notes","record","paper","study"],char:"📔",fitzpatrick_scale:!1,category:"objects"},IM={keywords:["notes","paper"],char:"📒",fitzpatrick_scale:!1,category:"objects"},LM={keywords:["literature","library","study"],char:"📚",fitzpatrick_scale:!1,category:"objects"},RM={keywords:["book","read","library","knowledge","literature","learn","study"],char:"📖",fitzpatrick_scale:!1,category:"objects"},NM={keywords:["diaper"],char:"🧷",fitzpatrick_scale:!1,category:"objects"},$M={keywords:["rings","url"],char:"🔗",fitzpatrick_scale:!1,category:"objects"},MM={keywords:["documents","stationery"],char:"📎",fitzpatrick_scale:!1,category:"objects"},FM={keywords:["documents","stationery"],char:"🖇",fitzpatrick_scale:!1,category:"objects"},BM={keywords:["stationery","cut"],char:"✂️",fitzpatrick_scale:!1,category:"objects"},qM={keywords:["stationery","math","architect","sketch"],char:"📐",fitzpatrick_scale:!1,category:"objects"},XM={keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"📏",fitzpatrick_scale:!1,category:"objects"},jM={keywords:["calculation"],char:"🧮",fitzpatrick_scale:!1,category:"objects"},ZM={keywords:["stationery","mark","here"],char:"📌",fitzpatrick_scale:!1,category:"objects"},UM={keywords:["stationery","location","map","here"],char:"📍",fitzpatrick_scale:!1,category:"objects"},YM={keywords:["mark","milestone","place"],char:"🚩",fitzpatrick_scale:!1,category:"objects"},HM={keywords:["losing","loser","lost","surrender","give up","fail"],char:"🏳",fitzpatrick_scale:!1,category:"objects"},VM={keywords:["pirate"],char:"🏴",fitzpatrick_scale:!1,category:"objects"},WM={keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"🏳️‍🌈",fitzpatrick_scale:!1,category:"objects"},GM={keywords:["security","privacy"],char:"🔐",fitzpatrick_scale:!1,category:"objects"},KM={keywords:["security","password","padlock"],char:"🔒",fitzpatrick_scale:!1,category:"objects"},JM={keywords:["privacy","security"],char:"🔓",fitzpatrick_scale:!1,category:"objects"},e8={keywords:["security","secret"],char:"🔏",fitzpatrick_scale:!1,category:"objects"},t8={keywords:["stationery","writing","write"],char:"🖊",fitzpatrick_scale:!1,category:"objects"},r8={keywords:["stationery","writing","write"],char:"🖋",fitzpatrick_scale:!1,category:"objects"},n8={keywords:["pen","stationery","writing","write"],char:"✒️",fitzpatrick_scale:!1,category:"objects"},a8={keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"📝",fitzpatrick_scale:!1,category:"objects"},i8={keywords:["stationery","write","paper","writing","school","study"],char:"✏️",fitzpatrick_scale:!1,category:"objects"},s8={keywords:["drawing","creativity"],char:"🖍",fitzpatrick_scale:!1,category:"objects"},o8={keywords:["drawing","creativity","art"],char:"🖌",fitzpatrick_scale:!1,category:"objects"},l8={keywords:["search","zoom","find","detective"],char:"🔍",fitzpatrick_scale:!1,category:"objects"},c8={keywords:["search","zoom","find","detective"],char:"🔎",fitzpatrick_scale:!1,category:"objects"},u8={keywords:["love","like","valentines"],char:"❤️",fitzpatrick_scale:!1,category:"symbols"},h8={keywords:["love","like","affection","valentines"],char:"🧡",fitzpatrick_scale:!1,category:"symbols"},f8={keywords:["love","like","affection","valentines"],char:"💛",fitzpatrick_scale:!1,category:"symbols"},d8={keywords:["love","like","affection","valentines"],char:"💚",fitzpatrick_scale:!1,category:"symbols"},p8={keywords:["love","like","affection","valentines"],char:"💙",fitzpatrick_scale:!1,category:"symbols"},m8={keywords:["love","like","affection","valentines"],char:"💜",fitzpatrick_scale:!1,category:"symbols"},g8={keywords:["evil"],char:"🖤",fitzpatrick_scale:!1,category:"symbols"},O8={keywords:["sad","sorry","break","heart","heartbreak"],char:"💔",fitzpatrick_scale:!1,category:"symbols"},y8={keywords:["decoration","love"],char:"❣",fitzpatrick_scale:!1,category:"symbols"},k8={keywords:["love","like","affection","valentines","heart"],char:"💕",fitzpatrick_scale:!1,category:"symbols"},b8={keywords:["love","like","affection","valentines"],char:"💞",fitzpatrick_scale:!1,category:"symbols"},_8={keywords:["love","like","affection","valentines","pink","heart"],char:"💓",fitzpatrick_scale:!1,category:"symbols"},w8={keywords:["like","love","affection","valentines","pink"],char:"💗",fitzpatrick_scale:!1,category:"symbols"},S8={keywords:["love","like","affection","valentines"],char:"💖",fitzpatrick_scale:!1,category:"symbols"},x8={keywords:["love","like","heart","affection","valentines"],char:"💘",fitzpatrick_scale:!1,category:"symbols"},T8={keywords:["love","valentines"],char:"💝",fitzpatrick_scale:!1,category:"symbols"},E8={keywords:["purple-square","love","like"],char:"💟",fitzpatrick_scale:!1,category:"symbols"},A8={keywords:["hippie"],char:"☮",fitzpatrick_scale:!1,category:"symbols"},C8={keywords:["christianity"],char:"✝",fitzpatrick_scale:!1,category:"symbols"},P8={keywords:["islam"],char:"☪",fitzpatrick_scale:!1,category:"symbols"},v8={keywords:["hinduism","buddhism","sikhism","jainism"],char:"🕉",fitzpatrick_scale:!1,category:"symbols"},D8={keywords:["hinduism","buddhism","sikhism","jainism"],char:"☸",fitzpatrick_scale:!1,category:"symbols"},Q8={keywords:["judaism"],char:"✡",fitzpatrick_scale:!1,category:"symbols"},z8={keywords:["purple-square","religion","jewish","hexagram"],char:"🔯",fitzpatrick_scale:!1,category:"symbols"},I8={keywords:["hanukkah","candles","jewish"],char:"🕎",fitzpatrick_scale:!1,category:"symbols"},L8={keywords:["balance"],char:"☯",fitzpatrick_scale:!1,category:"symbols"},R8={keywords:["suppedaneum","religion"],char:"☦",fitzpatrick_scale:!1,category:"symbols"},N8={keywords:["religion","church","temple","prayer"],char:"🛐",fitzpatrick_scale:!1,category:"symbols"},$8={keywords:["sign","purple-square","constellation","astrology"],char:"⛎",fitzpatrick_scale:!1,category:"symbols"},M8={keywords:["sign","purple-square","zodiac","astrology"],char:"♈",fitzpatrick_scale:!1,category:"symbols"},F8={keywords:["purple-square","sign","zodiac","astrology"],char:"♉",fitzpatrick_scale:!1,category:"symbols"},B8={keywords:["sign","zodiac","purple-square","astrology"],char:"♊",fitzpatrick_scale:!1,category:"symbols"},q8={keywords:["sign","zodiac","purple-square","astrology"],char:"♋",fitzpatrick_scale:!1,category:"symbols"},X8={keywords:["sign","purple-square","zodiac","astrology"],char:"♌",fitzpatrick_scale:!1,category:"symbols"},j8={keywords:["sign","zodiac","purple-square","astrology"],char:"♍",fitzpatrick_scale:!1,category:"symbols"},Z8={keywords:["sign","purple-square","zodiac","astrology"],char:"♎",fitzpatrick_scale:!1,category:"symbols"},U8={keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"♏",fitzpatrick_scale:!1,category:"symbols"},Y8={keywords:["sign","zodiac","purple-square","astrology"],char:"♐",fitzpatrick_scale:!1,category:"symbols"},H8={keywords:["sign","zodiac","purple-square","astrology"],char:"♑",fitzpatrick_scale:!1,category:"symbols"},V8={keywords:["sign","purple-square","zodiac","astrology"],char:"♒",fitzpatrick_scale:!1,category:"symbols"},W8={keywords:["purple-square","sign","zodiac","astrology"],char:"♓",fitzpatrick_scale:!1,category:"symbols"},G8={keywords:["purple-square","words"],char:"🆔",fitzpatrick_scale:!1,category:"symbols"},K8={keywords:["science","physics","chemistry"],char:"⚛",fitzpatrick_scale:!1,category:"symbols"},J8={keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"🈳",fitzpatrick_scale:!1,category:"symbols"},eF={keywords:["cut","divide","chinese","kanji","pink-square"],char:"🈹",fitzpatrick_scale:!1,category:"symbols"},tF={keywords:["nuclear","danger"],char:"☢",fitzpatrick_scale:!1,category:"symbols"},rF={keywords:["danger"],char:"☣",fitzpatrick_scale:!1,category:"symbols"},nF={keywords:["mute","orange-square","silence","quiet"],char:"📴",fitzpatrick_scale:!1,category:"symbols"},aF={keywords:["orange-square","phone"],char:"📳",fitzpatrick_scale:!1,category:"symbols"},iF={keywords:["orange-square","chinese","have","kanji"],char:"🈶",fitzpatrick_scale:!1,category:"symbols"},sF={keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"🈚",fitzpatrick_scale:!1,category:"symbols"},oF={keywords:["chinese","japanese","kanji","orange-square"],char:"🈸",fitzpatrick_scale:!1,category:"symbols"},lF={keywords:["japanese","opening hours","orange-square"],char:"🈺",fitzpatrick_scale:!1,category:"symbols"},cF={keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"🈷️",fitzpatrick_scale:!1,category:"symbols"},uF={keywords:["orange-square","shape","polygon"],char:"✴️",fitzpatrick_scale:!1,category:"symbols"},hF={keywords:["words","orange-square"],char:"🆚",fitzpatrick_scale:!1,category:"symbols"},fF={keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"🉑",fitzpatrick_scale:!1,category:"symbols"},dF={keywords:["japanese","spring"],char:"💮",fitzpatrick_scale:!1,category:"symbols"},pF={keywords:["chinese","kanji","obtain","get","circle"],char:"🉐",fitzpatrick_scale:!1,category:"symbols"},mF={keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"㊙️",fitzpatrick_scale:!1,category:"symbols"},gF={keywords:["chinese","kanji","japanese","red-circle"],char:"㊗️",fitzpatrick_scale:!1,category:"symbols"},OF={keywords:["japanese","chinese","join","kanji","red-square"],char:"🈴",fitzpatrick_scale:!1,category:"symbols"},yF={keywords:["full","chinese","japanese","red-square","kanji"],char:"🈵",fitzpatrick_scale:!1,category:"symbols"},kF={keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"🈲",fitzpatrick_scale:!1,category:"symbols"},bF={keywords:["red-square","alphabet","letter"],char:"🅰️",fitzpatrick_scale:!1,category:"symbols"},_F={keywords:["red-square","alphabet","letter"],char:"🅱️",fitzpatrick_scale:!1,category:"symbols"},wF={keywords:["red-square","alphabet"],char:"🆎",fitzpatrick_scale:!1,category:"symbols"},SF={keywords:["alphabet","words","red-square"],char:"🆑",fitzpatrick_scale:!1,category:"symbols"},xF={keywords:["alphabet","red-square","letter"],char:"🅾️",fitzpatrick_scale:!1,category:"symbols"},TF={keywords:["help","red-square","words","emergency","911"],char:"🆘",fitzpatrick_scale:!1,category:"symbols"},EF={keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"⛔",fitzpatrick_scale:!1,category:"symbols"},AF={keywords:["fire","forbid"],char:"📛",fitzpatrick_scale:!1,category:"symbols"},CF={keywords:["forbid","stop","limit","denied","disallow","circle"],char:"🚫",fitzpatrick_scale:!1,category:"symbols"},PF={keywords:["no","delete","remove","cancel","red"],char:"❌",fitzpatrick_scale:!1,category:"symbols"},vF={keywords:["circle","round"],char:"⭕",fitzpatrick_scale:!1,category:"symbols"},DF={keywords:["stop"],char:"🛑",fitzpatrick_scale:!1,category:"symbols"},QF={keywords:["angry","mad"],char:"💢",fitzpatrick_scale:!1,category:"symbols"},zF={keywords:["bath","warm","relax"],char:"♨️",fitzpatrick_scale:!1,category:"symbols"},IF={keywords:["rules","crossing","walking","circle"],char:"🚷",fitzpatrick_scale:!1,category:"symbols"},LF={keywords:["trash","bin","garbage","circle"],char:"🚯",fitzpatrick_scale:!1,category:"symbols"},RF={keywords:["cyclist","prohibited","circle"],char:"🚳",fitzpatrick_scale:!1,category:"symbols"},NF={keywords:["18","drink","pub","night","minor","circle"],char:"🔞",fitzpatrick_scale:!1,category:"symbols"},$F={keywords:["iphone","mute","circle"],char:"📵",fitzpatrick_scale:!1,category:"symbols"},MF={keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"❗",fitzpatrick_scale:!1,category:"symbols"},FF={keywords:["surprise","punctuation","gray","wow","warning"],char:"❕",fitzpatrick_scale:!1,category:"symbols"},BF={keywords:["doubt","confused"],char:"❓",fitzpatrick_scale:!1,category:"symbols"},qF={keywords:["doubts","gray","huh","confused"],char:"❔",fitzpatrick_scale:!1,category:"symbols"},XF={keywords:["exclamation","surprise"],char:"‼️",fitzpatrick_scale:!1,category:"symbols"},jF={keywords:["wat","punctuation","surprise"],char:"⁉️",fitzpatrick_scale:!1,category:"symbols"},ZF={keywords:["sun","afternoon","warm","summer"],char:"🔅",fitzpatrick_scale:!1,category:"symbols"},UF={keywords:["sun","light"],char:"🔆",fitzpatrick_scale:!1,category:"symbols"},YF={keywords:["weapon","spear"],char:"🔱",fitzpatrick_scale:!1,category:"symbols"},HF={keywords:["decorative","scout"],char:"⚜",fitzpatrick_scale:!1,category:"symbols"},VF={keywords:["graph","presentation","stats","business","economics","bad"],char:"〽️",fitzpatrick_scale:!1,category:"symbols"},WF={keywords:["exclamation","wip","alert","error","problem","issue"],char:"⚠️",fitzpatrick_scale:!1,category:"symbols"},GF={keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"🚸",fitzpatrick_scale:!1,category:"symbols"},KF={keywords:["badge","shield"],char:"🔰",fitzpatrick_scale:!1,category:"symbols"},JF={keywords:["arrow","environment","garbage","trash"],char:"♻️",fitzpatrick_scale:!1,category:"symbols"},eB={keywords:["chinese","point","green-square","kanji"],char:"🈯",fitzpatrick_scale:!1,category:"symbols"},tB={keywords:["green-square","graph","presentation","stats"],char:"💹",fitzpatrick_scale:!1,category:"symbols"},rB={keywords:["stars","green-square","awesome","good","fireworks"],char:"❇️",fitzpatrick_scale:!1,category:"symbols"},nB={keywords:["star","sparkle","green-square"],char:"✳️",fitzpatrick_scale:!1,category:"symbols"},aB={keywords:["x","green-square","no","deny"],char:"❎",fitzpatrick_scale:!1,category:"symbols"},iB={keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"✅",fitzpatrick_scale:!1,category:"symbols"},sB={keywords:["jewel","blue","gem","crystal","fancy"],char:"💠",fitzpatrick_scale:!1,category:"symbols"},oB={keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"🌀",fitzpatrick_scale:!1,category:"symbols"},lB={keywords:["tape","cassette"],char:"➿",fitzpatrick_scale:!1,category:"symbols"},cB={keywords:["earth","international","world","internet","interweb","i18n"],char:"🌐",fitzpatrick_scale:!1,category:"symbols"},uB={keywords:["alphabet","blue-circle","letter"],char:"Ⓜ️",fitzpatrick_scale:!1,category:"symbols"},hB={keywords:["money","sales","cash","blue-square","payment","bank"],char:"🏧",fitzpatrick_scale:!1,category:"symbols"},fB={keywords:["japanese","blue-square","katakana"],char:"🈂️",fitzpatrick_scale:!1,category:"symbols"},dB={keywords:["custom","blue-square"],char:"🛂",fitzpatrick_scale:!1,category:"symbols"},pB={keywords:["passport","border","blue-square"],char:"🛃",fitzpatrick_scale:!1,category:"symbols"},mB={keywords:["blue-square","airport","transport"],char:"🛄",fitzpatrick_scale:!1,category:"symbols"},gB={keywords:["blue-square","travel"],char:"🛅",fitzpatrick_scale:!1,category:"symbols"},OB={keywords:["blue-square","disabled","a11y","accessibility"],char:"♿",fitzpatrick_scale:!1,category:"symbols"},yB={keywords:["cigarette","blue-square","smell","smoke"],char:"🚭",fitzpatrick_scale:!1,category:"symbols"},kB={keywords:["toilet","restroom","blue-square"],char:"🚾",fitzpatrick_scale:!1,category:"symbols"},bB={keywords:["cars","blue-square","alphabet","letter"],char:"🅿️",fitzpatrick_scale:!1,category:"symbols"},_B={keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"🚰",fitzpatrick_scale:!1,category:"symbols"},wB={keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"🚹",fitzpatrick_scale:!1,category:"symbols"},SB={keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"🚺",fitzpatrick_scale:!1,category:"symbols"},xB={keywords:["orange-square","child"],char:"🚼",fitzpatrick_scale:!1,category:"symbols"},TB={keywords:["blue-square","toilet","refresh","wc","gender"],char:"🚻",fitzpatrick_scale:!1,category:"symbols"},EB={keywords:["blue-square","sign","human","info"],char:"🚮",fitzpatrick_scale:!1,category:"symbols"},AB={keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"🎦",fitzpatrick_scale:!1,category:"symbols"},CB={keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"📶",fitzpatrick_scale:!1,category:"symbols"},PB={keywords:["blue-square","here","katakana","japanese","destination"],char:"🈁",fitzpatrick_scale:!1,category:"symbols"},vB={keywords:["blue-square","words","shape","icon"],char:"🆖",fitzpatrick_scale:!1,category:"symbols"},DB={keywords:["good","agree","yes","blue-square"],char:"🆗",fitzpatrick_scale:!1,category:"symbols"},QB={keywords:["blue-square","above","high"],char:"🆙",fitzpatrick_scale:!1,category:"symbols"},zB={keywords:["words","blue-square"],char:"🆒",fitzpatrick_scale:!1,category:"symbols"},IB={keywords:["blue-square","words"],char:"🆓",fitzpatrick_scale:!1,category:"symbols"},LB={keywords:["0","numbers","blue-square","null"],char:"0️⃣",fitzpatrick_scale:!1,category:"symbols"},RB={keywords:["blue-square","numbers","1"],char:"1️⃣",fitzpatrick_scale:!1,category:"symbols"},NB={keywords:["numbers","2","prime","blue-square"],char:"2️⃣",fitzpatrick_scale:!1,category:"symbols"},$B={keywords:["3","numbers","prime","blue-square"],char:"3️⃣",fitzpatrick_scale:!1,category:"symbols"},MB={keywords:["4","numbers","blue-square"],char:"4️⃣",fitzpatrick_scale:!1,category:"symbols"},FB={keywords:["5","numbers","blue-square","prime"],char:"5️⃣",fitzpatrick_scale:!1,category:"symbols"},BB={keywords:["6","numbers","blue-square"],char:"6️⃣",fitzpatrick_scale:!1,category:"symbols"},qB={keywords:["7","numbers","blue-square","prime"],char:"7️⃣",fitzpatrick_scale:!1,category:"symbols"},XB={keywords:["8","blue-square","numbers"],char:"8️⃣",fitzpatrick_scale:!1,category:"symbols"},jB={keywords:["blue-square","numbers","9"],char:"9️⃣",fitzpatrick_scale:!1,category:"symbols"},ZB={keywords:["numbers","10","blue-square"],char:"🔟",fitzpatrick_scale:!1,category:"symbols"},UB={keywords:["star","keycap"],char:"*⃣",fitzpatrick_scale:!1,category:"symbols"},YB={keywords:["blue-square"],char:"⏏️",fitzpatrick_scale:!1,category:"symbols"},HB={keywords:["blue-square","right","direction","play"],char:"▶️",fitzpatrick_scale:!1,category:"symbols"},VB={keywords:["pause","blue-square"],char:"⏸",fitzpatrick_scale:!1,category:"symbols"},WB={keywords:["forward","next","blue-square"],char:"⏭",fitzpatrick_scale:!1,category:"symbols"},GB={keywords:["blue-square"],char:"⏹",fitzpatrick_scale:!1,category:"symbols"},KB={keywords:["blue-square"],char:"⏺",fitzpatrick_scale:!1,category:"symbols"},JB={keywords:["blue-square","play","pause"],char:"⏯",fitzpatrick_scale:!1,category:"symbols"},e9={keywords:["backward"],char:"⏮",fitzpatrick_scale:!1,category:"symbols"},t9={keywords:["blue-square","play","speed","continue"],char:"⏩",fitzpatrick_scale:!1,category:"symbols"},r9={keywords:["play","blue-square"],char:"⏪",fitzpatrick_scale:!1,category:"symbols"},n9={keywords:["blue-square","shuffle","music","random"],char:"🔀",fitzpatrick_scale:!1,category:"symbols"},a9={keywords:["loop","record"],char:"🔁",fitzpatrick_scale:!1,category:"symbols"},i9={keywords:["blue-square","loop"],char:"🔂",fitzpatrick_scale:!1,category:"symbols"},s9={keywords:["blue-square","left","direction"],char:"◀️",fitzpatrick_scale:!1,category:"symbols"},o9={keywords:["blue-square","triangle","direction","point","forward","top"],char:"🔼",fitzpatrick_scale:!1,category:"symbols"},l9={keywords:["blue-square","direction","bottom"],char:"🔽",fitzpatrick_scale:!1,category:"symbols"},c9={keywords:["blue-square","direction","top"],char:"⏫",fitzpatrick_scale:!1,category:"symbols"},u9={keywords:["blue-square","direction","bottom"],char:"⏬",fitzpatrick_scale:!1,category:"symbols"},h9={keywords:["blue-square","next"],char:"➡️",fitzpatrick_scale:!1,category:"symbols"},f9={keywords:["blue-square","previous","back"],char:"⬅️",fitzpatrick_scale:!1,category:"symbols"},d9={keywords:["blue-square","continue","top","direction"],char:"⬆️",fitzpatrick_scale:!1,category:"symbols"},p9={keywords:["blue-square","direction","bottom"],char:"⬇️",fitzpatrick_scale:!1,category:"symbols"},m9={keywords:["blue-square","point","direction","diagonal","northeast"],char:"↗️",fitzpatrick_scale:!1,category:"symbols"},g9={keywords:["blue-square","direction","diagonal","southeast"],char:"↘️",fitzpatrick_scale:!1,category:"symbols"},O9={keywords:["blue-square","direction","diagonal","southwest"],char:"↙️",fitzpatrick_scale:!1,category:"symbols"},y9={keywords:["blue-square","point","direction","diagonal","northwest"],char:"↖️",fitzpatrick_scale:!1,category:"symbols"},k9={keywords:["blue-square","direction","way","vertical"],char:"↕️",fitzpatrick_scale:!1,category:"symbols"},b9={keywords:["shape","direction","horizontal","sideways"],char:"↔️",fitzpatrick_scale:!1,category:"symbols"},_9={keywords:["blue-square","sync","cycle"],char:"🔄",fitzpatrick_scale:!1,category:"symbols"},w9={keywords:["blue-square","return","rotate","direction"],char:"↪️",fitzpatrick_scale:!1,category:"symbols"},S9={keywords:["back","return","blue-square","undo","enter"],char:"↩️",fitzpatrick_scale:!1,category:"symbols"},x9={keywords:["blue-square","direction","top"],char:"⤴️",fitzpatrick_scale:!1,category:"symbols"},T9={keywords:["blue-square","direction","bottom"],char:"⤵️",fitzpatrick_scale:!1,category:"symbols"},E9={keywords:["symbol","blue-square","twitter"],char:"#️⃣",fitzpatrick_scale:!1,category:"symbols"},A9={keywords:["blue-square","alphabet","letter"],char:"ℹ️",fitzpatrick_scale:!1,category:"symbols"},C9={keywords:["blue-square","alphabet"],char:"🔤",fitzpatrick_scale:!1,category:"symbols"},P9={keywords:["blue-square","alphabet"],char:"🔡",fitzpatrick_scale:!1,category:"symbols"},v9={keywords:["alphabet","words","blue-square"],char:"🔠",fitzpatrick_scale:!1,category:"symbols"},D9={keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"🔣",fitzpatrick_scale:!1,category:"symbols"},Q9={keywords:["score","tone","sound"],char:"🎵",fitzpatrick_scale:!1,category:"symbols"},z9={keywords:["music","score"],char:"🎶",fitzpatrick_scale:!1,category:"symbols"},I9={keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"〰️",fitzpatrick_scale:!1,category:"symbols"},L9={keywords:["scribble","draw","shape","squiggle"],char:"➰",fitzpatrick_scale:!1,category:"symbols"},R9={keywords:["ok","nike","answer","yes","tick"],char:"✔️",fitzpatrick_scale:!1,category:"symbols"},N9={keywords:["sync","cycle","round","repeat"],char:"🔃",fitzpatrick_scale:!1,category:"symbols"},$9={keywords:["math","calculation","addition","more","increase"],char:"➕",fitzpatrick_scale:!1,category:"symbols"},M9={keywords:["math","calculation","subtract","less"],char:"➖",fitzpatrick_scale:!1,category:"symbols"},F9={keywords:["divide","math","calculation"],char:"➗",fitzpatrick_scale:!1,category:"symbols"},B9={keywords:["math","calculation"],char:"✖️",fitzpatrick_scale:!1,category:"symbols"},q9={keywords:["forever"],char:"♾",fitzpatrick_scale:!1,category:"symbols"},X9={keywords:["money","sales","payment","currency","buck"],char:"💲",fitzpatrick_scale:!1,category:"symbols"},j9={keywords:["money","sales","dollar","travel"],char:"💱",fitzpatrick_scale:!1,category:"symbols"},Z9={keywords:["ip","license","circle","law","legal"],char:"©️",fitzpatrick_scale:!1,category:"symbols"},U9={keywords:["alphabet","circle"],char:"®️",fitzpatrick_scale:!1,category:"symbols"},Y9={keywords:["trademark","brand","law","legal"],char:"™️",fitzpatrick_scale:!1,category:"symbols"},H9={keywords:["words","arrow"],char:"🔚",fitzpatrick_scale:!1,category:"symbols"},V9={keywords:["arrow","words","return"],char:"🔙",fitzpatrick_scale:!1,category:"symbols"},W9={keywords:["arrow","words"],char:"🔛",fitzpatrick_scale:!1,category:"symbols"},G9={keywords:["words","blue-square"],char:"🔝",fitzpatrick_scale:!1,category:"symbols"},K9={keywords:["arrow","words"],char:"🔜",fitzpatrick_scale:!1,category:"symbols"},J9={keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"☑️",fitzpatrick_scale:!1,category:"symbols"},e7={keywords:["input","old","music","circle"],char:"🔘",fitzpatrick_scale:!1,category:"symbols"},t7={keywords:["shape","round"],char:"⚪",fitzpatrick_scale:!1,category:"symbols"},r7={keywords:["shape","button","round"],char:"⚫",fitzpatrick_scale:!1,category:"symbols"},n7={keywords:["shape","error","danger"],char:"🔴",fitzpatrick_scale:!1,category:"symbols"},a7={keywords:["shape","icon","button"],char:"🔵",fitzpatrick_scale:!1,category:"symbols"},i7={keywords:["shape","jewel","gem"],char:"🔸",fitzpatrick_scale:!1,category:"symbols"},s7={keywords:["shape","jewel","gem"],char:"🔹",fitzpatrick_scale:!1,category:"symbols"},o7={keywords:["shape","jewel","gem"],char:"🔶",fitzpatrick_scale:!1,category:"symbols"},l7={keywords:["shape","jewel","gem"],char:"🔷",fitzpatrick_scale:!1,category:"symbols"},c7={keywords:["shape","direction","up","top"],char:"🔺",fitzpatrick_scale:!1,category:"symbols"},u7={keywords:["shape","icon"],char:"▪️",fitzpatrick_scale:!1,category:"symbols"},h7={keywords:["shape","icon"],char:"▫️",fitzpatrick_scale:!1,category:"symbols"},f7={keywords:["shape","icon","button"],char:"⬛",fitzpatrick_scale:!1,category:"symbols"},d7={keywords:["shape","icon","stone","button"],char:"⬜",fitzpatrick_scale:!1,category:"symbols"},p7={keywords:["shape","direction","bottom"],char:"🔻",fitzpatrick_scale:!1,category:"symbols"},m7={keywords:["shape","button","icon"],char:"◼️",fitzpatrick_scale:!1,category:"symbols"},g7={keywords:["shape","stone","icon"],char:"◻️",fitzpatrick_scale:!1,category:"symbols"},O7={keywords:["icon","shape","button"],char:"◾",fitzpatrick_scale:!1,category:"symbols"},y7={keywords:["shape","stone","icon","button"],char:"◽",fitzpatrick_scale:!1,category:"symbols"},k7={keywords:["shape","input","frame"],char:"🔲",fitzpatrick_scale:!1,category:"symbols"},b7={keywords:["shape","input"],char:"🔳",fitzpatrick_scale:!1,category:"symbols"},_7={keywords:["sound","volume","silence","broadcast"],char:"🔈",fitzpatrick_scale:!1,category:"symbols"},w7={keywords:["volume","speaker","broadcast"],char:"🔉",fitzpatrick_scale:!1,category:"symbols"},S7={keywords:["volume","noise","noisy","speaker","broadcast"],char:"🔊",fitzpatrick_scale:!1,category:"symbols"},x7={keywords:["sound","volume","silence","quiet"],char:"🔇",fitzpatrick_scale:!1,category:"symbols"},T7={keywords:["sound","speaker","volume"],char:"📣",fitzpatrick_scale:!1,category:"symbols"},E7={keywords:["volume","sound"],char:"📢",fitzpatrick_scale:!1,category:"symbols"},A7={keywords:["sound","notification","christmas","xmas","chime"],char:"🔔",fitzpatrick_scale:!1,category:"symbols"},C7={keywords:["sound","volume","mute","quiet","silent"],char:"🔕",fitzpatrick_scale:!1,category:"symbols"},P7={keywords:["poker","cards","game","play","magic"],char:"🃏",fitzpatrick_scale:!1,category:"symbols"},v7={keywords:["game","play","chinese","kanji"],char:"🀄",fitzpatrick_scale:!1,category:"symbols"},D7={keywords:["poker","cards","suits","magic"],char:"♠️",fitzpatrick_scale:!1,category:"symbols"},Q7={keywords:["poker","cards","magic","suits"],char:"♣️",fitzpatrick_scale:!1,category:"symbols"},z7={keywords:["poker","cards","magic","suits"],char:"♥️",fitzpatrick_scale:!1,category:"symbols"},I7={keywords:["poker","cards","magic","suits"],char:"♦️",fitzpatrick_scale:!1,category:"symbols"},L7={keywords:["game","sunset","red"],char:"🎴",fitzpatrick_scale:!1,category:"symbols"},R7={keywords:["bubble","cloud","speech","thinking","dream"],char:"💭",fitzpatrick_scale:!1,category:"symbols"},N7={keywords:["caption","speech","thinking","mad"],char:"🗯",fitzpatrick_scale:!1,category:"symbols"},$7={keywords:["bubble","words","message","talk","chatting"],char:"💬",fitzpatrick_scale:!1,category:"symbols"},M7={keywords:["words","message","talk","chatting"],char:"🗨",fitzpatrick_scale:!1,category:"symbols"},F7={keywords:["time","late","early","schedule"],char:"🕐",fitzpatrick_scale:!1,category:"symbols"},B7={keywords:["time","late","early","schedule"],char:"🕑",fitzpatrick_scale:!1,category:"symbols"},q7={keywords:["time","late","early","schedule"],char:"🕒",fitzpatrick_scale:!1,category:"symbols"},X7={keywords:["time","late","early","schedule"],char:"🕓",fitzpatrick_scale:!1,category:"symbols"},j7={keywords:["time","late","early","schedule"],char:"🕔",fitzpatrick_scale:!1,category:"symbols"},Z7={keywords:["time","late","early","schedule","dawn","dusk"],char:"🕕",fitzpatrick_scale:!1,category:"symbols"},U7={keywords:["time","late","early","schedule"],char:"🕖",fitzpatrick_scale:!1,category:"symbols"},Y7={keywords:["time","late","early","schedule"],char:"🕗",fitzpatrick_scale:!1,category:"symbols"},H7={keywords:["time","late","early","schedule"],char:"🕘",fitzpatrick_scale:!1,category:"symbols"},V7={keywords:["time","late","early","schedule"],char:"🕙",fitzpatrick_scale:!1,category:"symbols"},W7={keywords:["time","late","early","schedule"],char:"🕚",fitzpatrick_scale:!1,category:"symbols"},G7={keywords:["time","noon","midnight","midday","late","early","schedule"],char:"🕛",fitzpatrick_scale:!1,category:"symbols"},K7={keywords:["time","late","early","schedule"],char:"🕜",fitzpatrick_scale:!1,category:"symbols"},J7={keywords:["time","late","early","schedule"],char:"🕝",fitzpatrick_scale:!1,category:"symbols"},eq={keywords:["time","late","early","schedule"],char:"🕞",fitzpatrick_scale:!1,category:"symbols"},tq={keywords:["time","late","early","schedule"],char:"🕟",fitzpatrick_scale:!1,category:"symbols"},rq={keywords:["time","late","early","schedule"],char:"🕠",fitzpatrick_scale:!1,category:"symbols"},nq={keywords:["time","late","early","schedule"],char:"🕡",fitzpatrick_scale:!1,category:"symbols"},aq={keywords:["time","late","early","schedule"],char:"🕢",fitzpatrick_scale:!1,category:"symbols"},iq={keywords:["time","late","early","schedule"],char:"🕣",fitzpatrick_scale:!1,category:"symbols"},sq={keywords:["time","late","early","schedule"],char:"🕤",fitzpatrick_scale:!1,category:"symbols"},oq={keywords:["time","late","early","schedule"],char:"🕥",fitzpatrick_scale:!1,category:"symbols"},lq={keywords:["time","late","early","schedule"],char:"🕦",fitzpatrick_scale:!1,category:"symbols"},cq={keywords:["time","late","early","schedule"],char:"🕧",fitzpatrick_scale:!1,category:"symbols"},uq={keywords:["af","flag","nation","country","banner"],char:"🇦🇫",fitzpatrick_scale:!1,category:"flags"},hq={keywords:["Åland","islands","flag","nation","country","banner"],char:"🇦🇽",fitzpatrick_scale:!1,category:"flags"},fq={keywords:["al","flag","nation","country","banner"],char:"🇦🇱",fitzpatrick_scale:!1,category:"flags"},dq={keywords:["dz","flag","nation","country","banner"],char:"🇩🇿",fitzpatrick_scale:!1,category:"flags"},pq={keywords:["american","ws","flag","nation","country","banner"],char:"🇦🇸",fitzpatrick_scale:!1,category:"flags"},mq={keywords:["ad","flag","nation","country","banner"],char:"🇦🇩",fitzpatrick_scale:!1,category:"flags"},gq={keywords:["ao","flag","nation","country","banner"],char:"🇦🇴",fitzpatrick_scale:!1,category:"flags"},Oq={keywords:["ai","flag","nation","country","banner"],char:"🇦🇮",fitzpatrick_scale:!1,category:"flags"},yq={keywords:["aq","flag","nation","country","banner"],char:"🇦🇶",fitzpatrick_scale:!1,category:"flags"},kq={keywords:["antigua","barbuda","flag","nation","country","banner"],char:"🇦🇬",fitzpatrick_scale:!1,category:"flags"},bq={keywords:["ar","flag","nation","country","banner"],char:"🇦🇷",fitzpatrick_scale:!1,category:"flags"},_q={keywords:["am","flag","nation","country","banner"],char:"🇦🇲",fitzpatrick_scale:!1,category:"flags"},wq={keywords:["aw","flag","nation","country","banner"],char:"🇦🇼",fitzpatrick_scale:!1,category:"flags"},Sq={keywords:["au","flag","nation","country","banner"],char:"🇦🇺",fitzpatrick_scale:!1,category:"flags"},xq={keywords:["at","flag","nation","country","banner"],char:"🇦🇹",fitzpatrick_scale:!1,category:"flags"},Tq={keywords:["az","flag","nation","country","banner"],char:"🇦🇿",fitzpatrick_scale:!1,category:"flags"},Eq={keywords:["bs","flag","nation","country","banner"],char:"🇧🇸",fitzpatrick_scale:!1,category:"flags"},Aq={keywords:["bh","flag","nation","country","banner"],char:"🇧🇭",fitzpatrick_scale:!1,category:"flags"},Cq={keywords:["bd","flag","nation","country","banner"],char:"🇧🇩",fitzpatrick_scale:!1,category:"flags"},Pq={keywords:["bb","flag","nation","country","banner"],char:"🇧🇧",fitzpatrick_scale:!1,category:"flags"},vq={keywords:["by","flag","nation","country","banner"],char:"🇧🇾",fitzpatrick_scale:!1,category:"flags"},Dq={keywords:["be","flag","nation","country","banner"],char:"🇧🇪",fitzpatrick_scale:!1,category:"flags"},Qq={keywords:["bz","flag","nation","country","banner"],char:"🇧🇿",fitzpatrick_scale:!1,category:"flags"},zq={keywords:["bj","flag","nation","country","banner"],char:"🇧🇯",fitzpatrick_scale:!1,category:"flags"},Iq={keywords:["bm","flag","nation","country","banner"],char:"🇧🇲",fitzpatrick_scale:!1,category:"flags"},Lq={keywords:["bt","flag","nation","country","banner"],char:"🇧🇹",fitzpatrick_scale:!1,category:"flags"},Rq={keywords:["bo","flag","nation","country","banner"],char:"🇧🇴",fitzpatrick_scale:!1,category:"flags"},Nq={keywords:["bonaire","flag","nation","country","banner"],char:"🇧🇶",fitzpatrick_scale:!1,category:"flags"},$q={keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"🇧🇦",fitzpatrick_scale:!1,category:"flags"},Mq={keywords:["bw","flag","nation","country","banner"],char:"🇧🇼",fitzpatrick_scale:!1,category:"flags"},Fq={keywords:["br","flag","nation","country","banner"],char:"🇧🇷",fitzpatrick_scale:!1,category:"flags"},Bq={keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"🇮🇴",fitzpatrick_scale:!1,category:"flags"},qq={keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"🇻🇬",fitzpatrick_scale:!1,category:"flags"},Xq={keywords:["bn","darussalam","flag","nation","country","banner"],char:"🇧🇳",fitzpatrick_scale:!1,category:"flags"},jq={keywords:["bg","flag","nation","country","banner"],char:"🇧🇬",fitzpatrick_scale:!1,category:"flags"},Zq={keywords:["burkina","faso","flag","nation","country","banner"],char:"🇧🇫",fitzpatrick_scale:!1,category:"flags"},Uq={keywords:["bi","flag","nation","country","banner"],char:"🇧🇮",fitzpatrick_scale:!1,category:"flags"},Yq={keywords:["cabo","verde","flag","nation","country","banner"],char:"🇨🇻",fitzpatrick_scale:!1,category:"flags"},Hq={keywords:["kh","flag","nation","country","banner"],char:"🇰🇭",fitzpatrick_scale:!1,category:"flags"},Vq={keywords:["cm","flag","nation","country","banner"],char:"🇨🇲",fitzpatrick_scale:!1,category:"flags"},Wq={keywords:["ca","flag","nation","country","banner"],char:"🇨🇦",fitzpatrick_scale:!1,category:"flags"},Gq={keywords:["canary","islands","flag","nation","country","banner"],char:"🇮🇨",fitzpatrick_scale:!1,category:"flags"},Kq={keywords:["cayman","islands","flag","nation","country","banner"],char:"🇰🇾",fitzpatrick_scale:!1,category:"flags"},Jq={keywords:["central","african","republic","flag","nation","country","banner"],char:"🇨🇫",fitzpatrick_scale:!1,category:"flags"},eX={keywords:["td","flag","nation","country","banner"],char:"🇹🇩",fitzpatrick_scale:!1,category:"flags"},tX={keywords:["flag","nation","country","banner"],char:"🇨🇱",fitzpatrick_scale:!1,category:"flags"},rX={keywords:["china","chinese","prc","flag","country","nation","banner"],char:"🇨🇳",fitzpatrick_scale:!1,category:"flags"},nX={keywords:["christmas","island","flag","nation","country","banner"],char:"🇨🇽",fitzpatrick_scale:!1,category:"flags"},aX={keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"🇨🇨",fitzpatrick_scale:!1,category:"flags"},iX={keywords:["co","flag","nation","country","banner"],char:"🇨🇴",fitzpatrick_scale:!1,category:"flags"},sX={keywords:["km","flag","nation","country","banner"],char:"🇰🇲",fitzpatrick_scale:!1,category:"flags"},oX={keywords:["congo","flag","nation","country","banner"],char:"🇨🇬",fitzpatrick_scale:!1,category:"flags"},lX={keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"🇨🇩",fitzpatrick_scale:!1,category:"flags"},cX={keywords:["cook","islands","flag","nation","country","banner"],char:"🇨🇰",fitzpatrick_scale:!1,category:"flags"},uX={keywords:["costa","rica","flag","nation","country","banner"],char:"🇨🇷",fitzpatrick_scale:!1,category:"flags"},hX={keywords:["hr","flag","nation","country","banner"],char:"🇭🇷",fitzpatrick_scale:!1,category:"flags"},fX={keywords:["cu","flag","nation","country","banner"],char:"🇨🇺",fitzpatrick_scale:!1,category:"flags"},dX={keywords:["curaçao","flag","nation","country","banner"],char:"🇨🇼",fitzpatrick_scale:!1,category:"flags"},pX={keywords:["cy","flag","nation","country","banner"],char:"🇨🇾",fitzpatrick_scale:!1,category:"flags"},mX={keywords:["cz","flag","nation","country","banner"],char:"🇨🇿",fitzpatrick_scale:!1,category:"flags"},gX={keywords:["dk","flag","nation","country","banner"],char:"🇩🇰",fitzpatrick_scale:!1,category:"flags"},OX={keywords:["dj","flag","nation","country","banner"],char:"🇩🇯",fitzpatrick_scale:!1,category:"flags"},yX={keywords:["dm","flag","nation","country","banner"],char:"🇩🇲",fitzpatrick_scale:!1,category:"flags"},kX={keywords:["dominican","republic","flag","nation","country","banner"],char:"🇩🇴",fitzpatrick_scale:!1,category:"flags"},bX={keywords:["ec","flag","nation","country","banner"],char:"🇪🇨",fitzpatrick_scale:!1,category:"flags"},_X={keywords:["eg","flag","nation","country","banner"],char:"🇪🇬",fitzpatrick_scale:!1,category:"flags"},wX={keywords:["el","salvador","flag","nation","country","banner"],char:"🇸🇻",fitzpatrick_scale:!1,category:"flags"},SX={keywords:["equatorial","gn","flag","nation","country","banner"],char:"🇬🇶",fitzpatrick_scale:!1,category:"flags"},xX={keywords:["er","flag","nation","country","banner"],char:"🇪🇷",fitzpatrick_scale:!1,category:"flags"},TX={keywords:["ee","flag","nation","country","banner"],char:"🇪🇪",fitzpatrick_scale:!1,category:"flags"},EX={keywords:["et","flag","nation","country","banner"],char:"🇪🇹",fitzpatrick_scale:!1,category:"flags"},AX={keywords:["european","union","flag","banner"],char:"🇪🇺",fitzpatrick_scale:!1,category:"flags"},CX={keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"🇫🇰",fitzpatrick_scale:!1,category:"flags"},PX={keywords:["faroe","islands","flag","nation","country","banner"],char:"🇫🇴",fitzpatrick_scale:!1,category:"flags"},vX={keywords:["fj","flag","nation","country","banner"],char:"🇫🇯",fitzpatrick_scale:!1,category:"flags"},DX={keywords:["fi","flag","nation","country","banner"],char:"🇫🇮",fitzpatrick_scale:!1,category:"flags"},QX={keywords:["banner","flag","nation","france","french","country"],char:"🇫🇷",fitzpatrick_scale:!1,category:"flags"},zX={keywords:["french","guiana","flag","nation","country","banner"],char:"🇬🇫",fitzpatrick_scale:!1,category:"flags"},IX={keywords:["french","polynesia","flag","nation","country","banner"],char:"🇵🇫",fitzpatrick_scale:!1,category:"flags"},LX={keywords:["french","southern","territories","flag","nation","country","banner"],char:"🇹🇫",fitzpatrick_scale:!1,category:"flags"},RX={keywords:["ga","flag","nation","country","banner"],char:"🇬🇦",fitzpatrick_scale:!1,category:"flags"},NX={keywords:["gm","flag","nation","country","banner"],char:"🇬🇲",fitzpatrick_scale:!1,category:"flags"},$X={keywords:["ge","flag","nation","country","banner"],char:"🇬🇪",fitzpatrick_scale:!1,category:"flags"},MX={keywords:["german","nation","flag","country","banner"],char:"🇩🇪",fitzpatrick_scale:!1,category:"flags"},FX={keywords:["gh","flag","nation","country","banner"],char:"🇬🇭",fitzpatrick_scale:!1,category:"flags"},BX={keywords:["gi","flag","nation","country","banner"],char:"🇬🇮",fitzpatrick_scale:!1,category:"flags"},qX={keywords:["gr","flag","nation","country","banner"],char:"🇬🇷",fitzpatrick_scale:!1,category:"flags"},XX={keywords:["gl","flag","nation","country","banner"],char:"🇬🇱",fitzpatrick_scale:!1,category:"flags"},jX={keywords:["gd","flag","nation","country","banner"],char:"🇬🇩",fitzpatrick_scale:!1,category:"flags"},ZX={keywords:["gp","flag","nation","country","banner"],char:"🇬🇵",fitzpatrick_scale:!1,category:"flags"},UX={keywords:["gu","flag","nation","country","banner"],char:"🇬🇺",fitzpatrick_scale:!1,category:"flags"},YX={keywords:["gt","flag","nation","country","banner"],char:"🇬🇹",fitzpatrick_scale:!1,category:"flags"},HX={keywords:["gg","flag","nation","country","banner"],char:"🇬🇬",fitzpatrick_scale:!1,category:"flags"},VX={keywords:["gn","flag","nation","country","banner"],char:"🇬🇳",fitzpatrick_scale:!1,category:"flags"},WX={keywords:["gw","bissau","flag","nation","country","banner"],char:"🇬🇼",fitzpatrick_scale:!1,category:"flags"},GX={keywords:["gy","flag","nation","country","banner"],char:"🇬🇾",fitzpatrick_scale:!1,category:"flags"},KX={keywords:["ht","flag","nation","country","banner"],char:"🇭🇹",fitzpatrick_scale:!1,category:"flags"},JX={keywords:["hn","flag","nation","country","banner"],char:"🇭🇳",fitzpatrick_scale:!1,category:"flags"},ej={keywords:["hong","kong","flag","nation","country","banner"],char:"🇭🇰",fitzpatrick_scale:!1,category:"flags"},tj={keywords:["hu","flag","nation","country","banner"],char:"🇭🇺",fitzpatrick_scale:!1,category:"flags"},rj={keywords:["is","flag","nation","country","banner"],char:"🇮🇸",fitzpatrick_scale:!1,category:"flags"},nj={keywords:["in","flag","nation","country","banner"],char:"🇮🇳",fitzpatrick_scale:!1,category:"flags"},aj={keywords:["flag","nation","country","banner"],char:"🇮🇩",fitzpatrick_scale:!1,category:"flags"},ij={keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"🇮🇷",fitzpatrick_scale:!1,category:"flags"},sj={keywords:["iq","flag","nation","country","banner"],char:"🇮🇶",fitzpatrick_scale:!1,category:"flags"},oj={keywords:["ie","flag","nation","country","banner"],char:"🇮🇪",fitzpatrick_scale:!1,category:"flags"},lj={keywords:["isle","man","flag","nation","country","banner"],char:"🇮🇲",fitzpatrick_scale:!1,category:"flags"},cj={keywords:["il","flag","nation","country","banner"],char:"🇮🇱",fitzpatrick_scale:!1,category:"flags"},uj={keywords:["italy","flag","nation","country","banner"],char:"🇮🇹",fitzpatrick_scale:!1,category:"flags"},hj={keywords:["ivory","coast","flag","nation","country","banner"],char:"🇨🇮",fitzpatrick_scale:!1,category:"flags"},fj={keywords:["jm","flag","nation","country","banner"],char:"🇯🇲",fitzpatrick_scale:!1,category:"flags"},dj={keywords:["japanese","nation","flag","country","banner"],char:"🇯🇵",fitzpatrick_scale:!1,category:"flags"},pj={keywords:["je","flag","nation","country","banner"],char:"🇯🇪",fitzpatrick_scale:!1,category:"flags"},mj={keywords:["jo","flag","nation","country","banner"],char:"🇯🇴",fitzpatrick_scale:!1,category:"flags"},gj={keywords:["kz","flag","nation","country","banner"],char:"🇰🇿",fitzpatrick_scale:!1,category:"flags"},Oj={keywords:["ke","flag","nation","country","banner"],char:"🇰🇪",fitzpatrick_scale:!1,category:"flags"},yj={keywords:["ki","flag","nation","country","banner"],char:"🇰🇮",fitzpatrick_scale:!1,category:"flags"},kj={keywords:["xk","flag","nation","country","banner"],char:"🇽🇰",fitzpatrick_scale:!1,category:"flags"},bj={keywords:["kw","flag","nation","country","banner"],char:"🇰🇼",fitzpatrick_scale:!1,category:"flags"},_j={keywords:["kg","flag","nation","country","banner"],char:"🇰🇬",fitzpatrick_scale:!1,category:"flags"},wj={keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"🇱🇦",fitzpatrick_scale:!1,category:"flags"},Sj={keywords:["lv","flag","nation","country","banner"],char:"🇱🇻",fitzpatrick_scale:!1,category:"flags"},xj={keywords:["lb","flag","nation","country","banner"],char:"🇱🇧",fitzpatrick_scale:!1,category:"flags"},Tj={keywords:["ls","flag","nation","country","banner"],char:"🇱🇸",fitzpatrick_scale:!1,category:"flags"},Ej={keywords:["lr","flag","nation","country","banner"],char:"🇱🇷",fitzpatrick_scale:!1,category:"flags"},Aj={keywords:["ly","flag","nation","country","banner"],char:"🇱🇾",fitzpatrick_scale:!1,category:"flags"},Cj={keywords:["li","flag","nation","country","banner"],char:"🇱🇮",fitzpatrick_scale:!1,category:"flags"},Pj={keywords:["lt","flag","nation","country","banner"],char:"🇱🇹",fitzpatrick_scale:!1,category:"flags"},vj={keywords:["lu","flag","nation","country","banner"],char:"🇱🇺",fitzpatrick_scale:!1,category:"flags"},Dj={keywords:["macao","flag","nation","country","banner"],char:"🇲🇴",fitzpatrick_scale:!1,category:"flags"},Qj={keywords:["macedonia,","flag","nation","country","banner"],char:"🇲🇰",fitzpatrick_scale:!1,category:"flags"},zj={keywords:["mg","flag","nation","country","banner"],char:"🇲🇬",fitzpatrick_scale:!1,category:"flags"},Ij={keywords:["mw","flag","nation","country","banner"],char:"🇲🇼",fitzpatrick_scale:!1,category:"flags"},Lj={keywords:["my","flag","nation","country","banner"],char:"🇲🇾",fitzpatrick_scale:!1,category:"flags"},Rj={keywords:["mv","flag","nation","country","banner"],char:"🇲🇻",fitzpatrick_scale:!1,category:"flags"},Nj={keywords:["ml","flag","nation","country","banner"],char:"🇲🇱",fitzpatrick_scale:!1,category:"flags"},$j={keywords:["mt","flag","nation","country","banner"],char:"🇲🇹",fitzpatrick_scale:!1,category:"flags"},Mj={keywords:["marshall","islands","flag","nation","country","banner"],char:"🇲🇭",fitzpatrick_scale:!1,category:"flags"},Fj={keywords:["mq","flag","nation","country","banner"],char:"🇲🇶",fitzpatrick_scale:!1,category:"flags"},Bj={keywords:["mr","flag","nation","country","banner"],char:"🇲🇷",fitzpatrick_scale:!1,category:"flags"},qj={keywords:["mu","flag","nation","country","banner"],char:"🇲🇺",fitzpatrick_scale:!1,category:"flags"},Xj={keywords:["yt","flag","nation","country","banner"],char:"🇾🇹",fitzpatrick_scale:!1,category:"flags"},jj={keywords:["mx","flag","nation","country","banner"],char:"🇲🇽",fitzpatrick_scale:!1,category:"flags"},Zj={keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"🇫🇲",fitzpatrick_scale:!1,category:"flags"},Uj={keywords:["moldova,","republic","flag","nation","country","banner"],char:"🇲🇩",fitzpatrick_scale:!1,category:"flags"},Yj={keywords:["mc","flag","nation","country","banner"],char:"🇲🇨",fitzpatrick_scale:!1,category:"flags"},Hj={keywords:["mn","flag","nation","country","banner"],char:"🇲🇳",fitzpatrick_scale:!1,category:"flags"},Vj={keywords:["me","flag","nation","country","banner"],char:"🇲🇪",fitzpatrick_scale:!1,category:"flags"},Wj={keywords:["ms","flag","nation","country","banner"],char:"🇲🇸",fitzpatrick_scale:!1,category:"flags"},Gj={keywords:["ma","flag","nation","country","banner"],char:"🇲🇦",fitzpatrick_scale:!1,category:"flags"},Kj={keywords:["mz","flag","nation","country","banner"],char:"🇲🇿",fitzpatrick_scale:!1,category:"flags"},Jj={keywords:["mm","flag","nation","country","banner"],char:"🇲🇲",fitzpatrick_scale:!1,category:"flags"},eZ={keywords:["na","flag","nation","country","banner"],char:"🇳🇦",fitzpatrick_scale:!1,category:"flags"},tZ={keywords:["nr","flag","nation","country","banner"],char:"🇳🇷",fitzpatrick_scale:!1,category:"flags"},rZ={keywords:["np","flag","nation","country","banner"],char:"🇳🇵",fitzpatrick_scale:!1,category:"flags"},nZ={keywords:["nl","flag","nation","country","banner"],char:"🇳🇱",fitzpatrick_scale:!1,category:"flags"},aZ={keywords:["new","caledonia","flag","nation","country","banner"],char:"🇳🇨",fitzpatrick_scale:!1,category:"flags"},iZ={keywords:["new","zealand","flag","nation","country","banner"],char:"🇳🇿",fitzpatrick_scale:!1,category:"flags"},sZ={keywords:["ni","flag","nation","country","banner"],char:"🇳🇮",fitzpatrick_scale:!1,category:"flags"},oZ={keywords:["ne","flag","nation","country","banner"],char:"🇳🇪",fitzpatrick_scale:!1,category:"flags"},lZ={keywords:["flag","nation","country","banner"],char:"🇳🇬",fitzpatrick_scale:!1,category:"flags"},cZ={keywords:["nu","flag","nation","country","banner"],char:"🇳🇺",fitzpatrick_scale:!1,category:"flags"},uZ={keywords:["norfolk","island","flag","nation","country","banner"],char:"🇳🇫",fitzpatrick_scale:!1,category:"flags"},hZ={keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"🇲🇵",fitzpatrick_scale:!1,category:"flags"},fZ={keywords:["north","korea","nation","flag","country","banner"],char:"🇰🇵",fitzpatrick_scale:!1,category:"flags"},dZ={keywords:["no","flag","nation","country","banner"],char:"🇳🇴",fitzpatrick_scale:!1,category:"flags"},pZ={keywords:["om_symbol","flag","nation","country","banner"],char:"🇴🇲",fitzpatrick_scale:!1,category:"flags"},mZ={keywords:["pk","flag","nation","country","banner"],char:"🇵🇰",fitzpatrick_scale:!1,category:"flags"},gZ={keywords:["pw","flag","nation","country","banner"],char:"🇵🇼",fitzpatrick_scale:!1,category:"flags"},OZ={keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"🇵🇸",fitzpatrick_scale:!1,category:"flags"},yZ={keywords:["pa","flag","nation","country","banner"],char:"🇵🇦",fitzpatrick_scale:!1,category:"flags"},kZ={keywords:["papua","new","guinea","flag","nation","country","banner"],char:"🇵🇬",fitzpatrick_scale:!1,category:"flags"},bZ={keywords:["py","flag","nation","country","banner"],char:"🇵🇾",fitzpatrick_scale:!1,category:"flags"},_Z={keywords:["pe","flag","nation","country","banner"],char:"🇵🇪",fitzpatrick_scale:!1,category:"flags"},wZ={keywords:["ph","flag","nation","country","banner"],char:"🇵🇭",fitzpatrick_scale:!1,category:"flags"},SZ={keywords:["pitcairn","flag","nation","country","banner"],char:"🇵🇳",fitzpatrick_scale:!1,category:"flags"},xZ={keywords:["pl","flag","nation","country","banner"],char:"🇵🇱",fitzpatrick_scale:!1,category:"flags"},TZ={keywords:["pt","flag","nation","country","banner"],char:"🇵🇹",fitzpatrick_scale:!1,category:"flags"},EZ={keywords:["puerto","rico","flag","nation","country","banner"],char:"🇵🇷",fitzpatrick_scale:!1,category:"flags"},AZ={keywords:["qa","flag","nation","country","banner"],char:"🇶🇦",fitzpatrick_scale:!1,category:"flags"},CZ={keywords:["réunion","flag","nation","country","banner"],char:"🇷🇪",fitzpatrick_scale:!1,category:"flags"},PZ={keywords:["ro","flag","nation","country","banner"],char:"🇷🇴",fitzpatrick_scale:!1,category:"flags"},vZ={keywords:["russian","federation","flag","nation","country","banner"],char:"🇷🇺",fitzpatrick_scale:!1,category:"flags"},DZ={keywords:["rw","flag","nation","country","banner"],char:"🇷🇼",fitzpatrick_scale:!1,category:"flags"},QZ={keywords:["saint","barthélemy","flag","nation","country","banner"],char:"🇧🇱",fitzpatrick_scale:!1,category:"flags"},zZ={keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"🇸🇭",fitzpatrick_scale:!1,category:"flags"},IZ={keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"🇰🇳",fitzpatrick_scale:!1,category:"flags"},LZ={keywords:["saint","lucia","flag","nation","country","banner"],char:"🇱🇨",fitzpatrick_scale:!1,category:"flags"},RZ={keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"🇵🇲",fitzpatrick_scale:!1,category:"flags"},NZ={keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"🇻🇨",fitzpatrick_scale:!1,category:"flags"},$Z={keywords:["ws","flag","nation","country","banner"],char:"🇼🇸",fitzpatrick_scale:!1,category:"flags"},MZ={keywords:["san","marino","flag","nation","country","banner"],char:"🇸🇲",fitzpatrick_scale:!1,category:"flags"},FZ={keywords:["sao","tome","principe","flag","nation","country","banner"],char:"🇸🇹",fitzpatrick_scale:!1,category:"flags"},BZ={keywords:["flag","nation","country","banner"],char:"🇸🇦",fitzpatrick_scale:!1,category:"flags"},qZ={keywords:["sn","flag","nation","country","banner"],char:"🇸🇳",fitzpatrick_scale:!1,category:"flags"},XZ={keywords:["rs","flag","nation","country","banner"],char:"🇷🇸",fitzpatrick_scale:!1,category:"flags"},jZ={keywords:["sc","flag","nation","country","banner"],char:"🇸🇨",fitzpatrick_scale:!1,category:"flags"},ZZ={keywords:["sierra","leone","flag","nation","country","banner"],char:"🇸🇱",fitzpatrick_scale:!1,category:"flags"},UZ={keywords:["sg","flag","nation","country","banner"],char:"🇸🇬",fitzpatrick_scale:!1,category:"flags"},YZ={keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"🇸🇽",fitzpatrick_scale:!1,category:"flags"},HZ={keywords:["sk","flag","nation","country","banner"],char:"🇸🇰",fitzpatrick_scale:!1,category:"flags"},VZ={keywords:["si","flag","nation","country","banner"],char:"🇸🇮",fitzpatrick_scale:!1,category:"flags"},WZ={keywords:["solomon","islands","flag","nation","country","banner"],char:"🇸🇧",fitzpatrick_scale:!1,category:"flags"},GZ={keywords:["so","flag","nation","country","banner"],char:"🇸🇴",fitzpatrick_scale:!1,category:"flags"},KZ={keywords:["south","africa","flag","nation","country","banner"],char:"🇿🇦",fitzpatrick_scale:!1,category:"flags"},JZ={keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"🇬🇸",fitzpatrick_scale:!1,category:"flags"},eU={keywords:["south","korea","nation","flag","country","banner"],char:"🇰🇷",fitzpatrick_scale:!1,category:"flags"},tU={keywords:["south","sd","flag","nation","country","banner"],char:"🇸🇸",fitzpatrick_scale:!1,category:"flags"},rU={keywords:["spain","flag","nation","country","banner"],char:"🇪🇸",fitzpatrick_scale:!1,category:"flags"},nU={keywords:["sri","lanka","flag","nation","country","banner"],char:"🇱🇰",fitzpatrick_scale:!1,category:"flags"},aU={keywords:["sd","flag","nation","country","banner"],char:"🇸🇩",fitzpatrick_scale:!1,category:"flags"},iU={keywords:["sr","flag","nation","country","banner"],char:"🇸🇷",fitzpatrick_scale:!1,category:"flags"},sU={keywords:["sz","flag","nation","country","banner"],char:"🇸🇿",fitzpatrick_scale:!1,category:"flags"},oU={keywords:["se","flag","nation","country","banner"],char:"🇸🇪",fitzpatrick_scale:!1,category:"flags"},lU={keywords:["ch","flag","nation","country","banner"],char:"🇨🇭",fitzpatrick_scale:!1,category:"flags"},cU={keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"🇸🇾",fitzpatrick_scale:!1,category:"flags"},uU={keywords:["tw","flag","nation","country","banner"],char:"🇹🇼",fitzpatrick_scale:!1,category:"flags"},hU={keywords:["tj","flag","nation","country","banner"],char:"🇹🇯",fitzpatrick_scale:!1,category:"flags"},fU={keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"🇹🇿",fitzpatrick_scale:!1,category:"flags"},dU={keywords:["th","flag","nation","country","banner"],char:"🇹🇭",fitzpatrick_scale:!1,category:"flags"},pU={keywords:["timor","leste","flag","nation","country","banner"],char:"🇹🇱",fitzpatrick_scale:!1,category:"flags"},mU={keywords:["tg","flag","nation","country","banner"],char:"🇹🇬",fitzpatrick_scale:!1,category:"flags"},gU={keywords:["tk","flag","nation","country","banner"],char:"🇹🇰",fitzpatrick_scale:!1,category:"flags"},OU={keywords:["to","flag","nation","country","banner"],char:"🇹🇴",fitzpatrick_scale:!1,category:"flags"},yU={keywords:["trinidad","tobago","flag","nation","country","banner"],char:"🇹🇹",fitzpatrick_scale:!1,category:"flags"},kU={keywords:["tn","flag","nation","country","banner"],char:"🇹🇳",fitzpatrick_scale:!1,category:"flags"},bU={keywords:["turkey","flag","nation","country","banner"],char:"🇹🇷",fitzpatrick_scale:!1,category:"flags"},_U={keywords:["flag","nation","country","banner"],char:"🇹🇲",fitzpatrick_scale:!1,category:"flags"},wU={keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"🇹🇨",fitzpatrick_scale:!1,category:"flags"},SU={keywords:["flag","nation","country","banner"],char:"🇹🇻",fitzpatrick_scale:!1,category:"flags"},xU={keywords:["ug","flag","nation","country","banner"],char:"🇺🇬",fitzpatrick_scale:!1,category:"flags"},TU={keywords:["ua","flag","nation","country","banner"],char:"🇺🇦",fitzpatrick_scale:!1,category:"flags"},EU={keywords:["united","arab","emirates","flag","nation","country","banner"],char:"🇦🇪",fitzpatrick_scale:!1,category:"flags"},AU={keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"🇬🇧",fitzpatrick_scale:!1,category:"flags"},CU={keywords:["flag","english"],char:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",fitzpatrick_scale:!1,category:"flags"},PU={keywords:["flag","scottish"],char:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",fitzpatrick_scale:!1,category:"flags"},vU={keywords:["flag","welsh"],char:"🏴󠁧󠁢󠁷󠁬󠁳󠁿",fitzpatrick_scale:!1,category:"flags"},DU={keywords:["united","states","america","flag","nation","country","banner"],char:"🇺🇸",fitzpatrick_scale:!1,category:"flags"},QU={keywords:["virgin","islands","us","flag","nation","country","banner"],char:"🇻🇮",fitzpatrick_scale:!1,category:"flags"},zU={keywords:["uy","flag","nation","country","banner"],char:"🇺🇾",fitzpatrick_scale:!1,category:"flags"},IU={keywords:["uz","flag","nation","country","banner"],char:"🇺🇿",fitzpatrick_scale:!1,category:"flags"},LU={keywords:["vu","flag","nation","country","banner"],char:"🇻🇺",fitzpatrick_scale:!1,category:"flags"},RU={keywords:["vatican","city","flag","nation","country","banner"],char:"🇻🇦",fitzpatrick_scale:!1,category:"flags"},NU={keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"🇻🇪",fitzpatrick_scale:!1,category:"flags"},$U={keywords:["viet","nam","flag","nation","country","banner"],char:"🇻🇳",fitzpatrick_scale:!1,category:"flags"},MU={keywords:["wallis","futuna","flag","nation","country","banner"],char:"🇼🇫",fitzpatrick_scale:!1,category:"flags"},FU={keywords:["western","sahara","flag","nation","country","banner"],char:"🇪🇭",fitzpatrick_scale:!1,category:"flags"},BU={keywords:["ye","flag","nation","country","banner"],char:"🇾🇪",fitzpatrick_scale:!1,category:"flags"},qU={keywords:["zm","flag","nation","country","banner"],char:"🇿🇲",fitzpatrick_scale:!1,category:"flags"},XU={keywords:["zw","flag","nation","country","banner"],char:"🇿🇼",fitzpatrick_scale:!1,category:"flags"},jU={keywords:["un","flag","banner"],char:"🇺🇳",fitzpatrick_scale:!1,category:"flags"},ZU={keywords:["skull","crossbones","flag","banner"],char:"🏴‍☠️",fitzpatrick_scale:!1,category:"flags"},UU={100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"💯",fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"🔢",fitzpatrick_scale:!1,category:"symbols"},grinning:tE,grimacing:rE,grin:nE,joy:aE,rofl:iE,partying:sE,smiley:oE,smile:lE,sweat_smile:cE,laughing:uE,innocent:hE,wink:fE,blush:dE,slightly_smiling_face:pE,upside_down_face:mE,relaxed:gE,yum:OE,relieved:yE,heart_eyes:kE,smiling_face_with_three_hearts:bE,kissing_heart:_E,kissing:wE,kissing_smiling_eyes:SE,kissing_closed_eyes:xE,stuck_out_tongue_winking_eye:TE,zany:EE,raised_eyebrow:AE,monocle:CE,stuck_out_tongue_closed_eyes:PE,stuck_out_tongue:vE,money_mouth_face:DE,nerd_face:QE,sunglasses:zE,star_struck:IE,clown_face:LE,cowboy_hat_face:RE,hugs:NE,smirk:$E,no_mouth:ME,neutral_face:FE,expressionless:BE,unamused:qE,roll_eyes:XE,thinking:jE,lying_face:ZE,hand_over_mouth:UE,shushing:YE,symbols_over_mouth:HE,exploding_head:VE,flushed:WE,disappointed:GE,worried:KE,angry:JE,rage:e2,pensive:t2,confused:r2,slightly_frowning_face:n2,frowning_face:a2,persevere:i2,confounded:s2,tired_face:o2,weary:l2,pleading:c2,triumph:u2,open_mouth:h2,scream:f2,fearful:d2,cold_sweat:p2,hushed:m2,frowning:g2,anguished:O2,cry:y2,disappointed_relieved:k2,drooling_face:b2,sleepy:_2,sweat:w2,hot:S2,cold:x2,sob:T2,dizzy_face:E2,astonished:A2,zipper_mouth_face:C2,nauseated_face:P2,sneezing_face:v2,vomiting:D2,mask:Q2,face_with_thermometer:z2,face_with_head_bandage:I2,woozy:L2,sleeping:R2,zzz:N2,poop:$2,smiling_imp:M2,imp:F2,japanese_ogre:B2,japanese_goblin:q2,skull:X2,ghost:j2,alien:Z2,robot:U2,smiley_cat:Y2,smile_cat:H2,joy_cat:V2,heart_eyes_cat:W2,smirk_cat:G2,kissing_cat:K2,scream_cat:J2,crying_cat_face:eA,pouting_cat:tA,palms_up:rA,raised_hands:nA,clap:aA,wave:iA,call_me_hand:sA,"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"👍",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"👎",fitzpatrick_scale:!0,category:"people"},facepunch:oA,fist:lA,fist_left:cA,fist_right:uA,v:hA,ok_hand:fA,raised_hand:dA,raised_back_of_hand:pA,open_hands:mA,muscle:gA,pray:OA,foot:yA,leg:kA,handshake:bA,point_up:_A,point_up_2:wA,point_down:SA,point_left:xA,point_right:TA,fu:EA,raised_hand_with_fingers_splayed:AA,love_you:CA,metal:PA,crossed_fingers:vA,vulcan_salute:DA,writing_hand:QA,selfie:zA,nail_care:IA,lips:LA,tooth:RA,tongue:NA,ear:$A,nose:MA,eye:FA,eyes:BA,brain:qA,bust_in_silhouette:XA,busts_in_silhouette:jA,speaking_head:ZA,baby:UA,child:YA,boy:HA,girl:VA,adult:WA,man:GA,woman:KA,blonde_woman:JA,blonde_man:eC,bearded_person:tC,older_adult:rC,older_man:nC,older_woman:aC,man_with_gua_pi_mao:iC,woman_with_headscarf:sC,woman_with_turban:oC,man_with_turban:lC,policewoman:cC,policeman:uC,construction_worker_woman:hC,construction_worker_man:fC,guardswoman:dC,guardsman:pC,female_detective:mC,male_detective:gC,woman_health_worker:OC,man_health_worker:yC,woman_farmer:kC,man_farmer:bC,woman_cook:_C,man_cook:wC,woman_student:SC,man_student:xC,woman_singer:TC,man_singer:EC,woman_teacher:AC,man_teacher:CC,woman_factory_worker:PC,man_factory_worker:vC,woman_technologist:DC,man_technologist:QC,woman_office_worker:zC,man_office_worker:IC,woman_mechanic:LC,man_mechanic:RC,woman_scientist:NC,man_scientist:$C,woman_artist:MC,man_artist:FC,woman_firefighter:BC,man_firefighter:qC,woman_pilot:XC,man_pilot:jC,woman_astronaut:ZC,man_astronaut:UC,woman_judge:YC,man_judge:HC,woman_superhero:VC,man_superhero:WC,woman_supervillain:GC,man_supervillain:KC,mrs_claus:JC,santa:eP,sorceress:tP,wizard:rP,woman_elf:nP,man_elf:aP,woman_vampire:iP,man_vampire:sP,woman_zombie:oP,man_zombie:lP,woman_genie:cP,man_genie:uP,mermaid:hP,merman:fP,woman_fairy:dP,man_fairy:pP,angel:mP,pregnant_woman:gP,breastfeeding:OP,princess:yP,prince:kP,bride_with_veil:bP,man_in_tuxedo:_P,running_woman:wP,running_man:SP,walking_woman:xP,walking_man:TP,dancer:EP,man_dancing:AP,dancing_women:CP,dancing_men:PP,couple:vP,two_men_holding_hands:DP,two_women_holding_hands:QP,bowing_woman:zP,bowing_man:IP,man_facepalming:LP,woman_facepalming:RP,woman_shrugging:NP,man_shrugging:$P,tipping_hand_woman:MP,tipping_hand_man:FP,no_good_woman:BP,no_good_man:qP,ok_woman:XP,ok_man:jP,raising_hand_woman:ZP,raising_hand_man:UP,pouting_woman:YP,pouting_man:HP,frowning_woman:VP,frowning_man:WP,haircut_woman:GP,haircut_man:KP,massage_woman:JP,massage_man:ev,woman_in_steamy_room:tv,man_in_steamy_room:rv,couple_with_heart_woman_man:nv,couple_with_heart_woman_woman:av,couple_with_heart_man_man:iv,couplekiss_man_woman:sv,couplekiss_woman_woman:ov,couplekiss_man_man:lv,family_man_woman_boy:cv,family_man_woman_girl:uv,family_man_woman_girl_boy:hv,family_man_woman_boy_boy:fv,family_man_woman_girl_girl:dv,family_woman_woman_boy:pv,family_woman_woman_girl:mv,family_woman_woman_girl_boy:gv,family_woman_woman_boy_boy:Ov,family_woman_woman_girl_girl:yv,family_man_man_boy:kv,family_man_man_girl:bv,family_man_man_girl_boy:_v,family_man_man_boy_boy:wv,family_man_man_girl_girl:Sv,family_woman_boy:xv,family_woman_girl:Tv,family_woman_girl_boy:Ev,family_woman_boy_boy:Av,family_woman_girl_girl:Cv,family_man_boy:Pv,family_man_girl:vv,family_man_girl_boy:Dv,family_man_boy_boy:Qv,family_man_girl_girl:zv,yarn:Iv,thread:Lv,coat:Rv,labcoat:Nv,womans_clothes:$v,tshirt:Mv,jeans:Fv,necktie:Bv,dress:qv,bikini:Xv,kimono:jv,lipstick:Zv,kiss:Uv,footprints:Yv,flat_shoe:Hv,high_heel:Vv,sandal:Wv,boot:Gv,mans_shoe:Kv,athletic_shoe:Jv,hiking_boot:e3,socks:t3,gloves:r3,scarf:n3,womans_hat:a3,tophat:i3,billed_hat:s3,rescue_worker_helmet:o3,mortar_board:l3,crown:c3,school_satchel:u3,luggage:h3,pouch:f3,purse:d3,handbag:p3,briefcase:m3,eyeglasses:g3,dark_sunglasses:O3,goggles:y3,ring:k3,closed_umbrella:b3,dog:_3,cat:w3,mouse:S3,hamster:x3,rabbit:T3,fox_face:E3,bear:A3,panda_face:C3,koala:P3,tiger:v3,lion:D3,cow:Q3,pig:z3,pig_nose:I3,frog:L3,squid:R3,octopus:N3,shrimp:$3,monkey_face:M3,gorilla:F3,see_no_evil:B3,hear_no_evil:q3,speak_no_evil:X3,monkey:j3,chicken:Z3,penguin:U3,bird:Y3,baby_chick:H3,hatching_chick:V3,hatched_chick:W3,duck:G3,eagle:K3,owl:J3,bat:eD,wolf:tD,boar:rD,horse:nD,unicorn:aD,honeybee:iD,bug:sD,butterfly:oD,snail:lD,beetle:cD,ant:uD,grasshopper:hD,spider:fD,scorpion:dD,crab:pD,snake:mD,lizard:gD,"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"🦖",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:OD,turtle:yD,tropical_fish:kD,fish:bD,blowfish:_D,dolphin:wD,shark:SD,whale:xD,whale2:TD,crocodile:ED,leopard:AD,zebra:CD,tiger2:PD,water_buffalo:vD,ox:DD,cow2:QD,deer:zD,dromedary_camel:ID,camel:LD,giraffe:RD,elephant:ND,rhinoceros:$D,goat:MD,ram:FD,sheep:BD,racehorse:qD,pig2:XD,rat:jD,mouse2:ZD,rooster:UD,turkey:YD,dove:HD,dog2:VD,poodle:WD,cat2:GD,rabbit2:KD,chipmunk:JD,hedgehog:eQ,raccoon:tQ,llama:rQ,hippopotamus:nQ,kangaroo:aQ,badger:iQ,swan:sQ,peacock:oQ,parrot:lQ,lobster:cQ,mosquito:uQ,paw_prints:hQ,dragon:fQ,dragon_face:dQ,cactus:pQ,christmas_tree:mQ,evergreen_tree:gQ,deciduous_tree:OQ,palm_tree:yQ,seedling:kQ,herb:bQ,shamrock:_Q,four_leaf_clover:wQ,bamboo:SQ,tanabata_tree:xQ,leaves:TQ,fallen_leaf:EQ,maple_leaf:AQ,ear_of_rice:CQ,hibiscus:PQ,sunflower:vQ,rose:DQ,wilted_flower:QQ,tulip:zQ,blossom:IQ,cherry_blossom:LQ,bouquet:RQ,mushroom:NQ,chestnut:$Q,jack_o_lantern:MQ,shell:FQ,spider_web:BQ,earth_americas:qQ,earth_africa:XQ,earth_asia:jQ,full_moon:ZQ,waning_gibbous_moon:UQ,last_quarter_moon:YQ,waning_crescent_moon:HQ,new_moon:VQ,waxing_crescent_moon:WQ,first_quarter_moon:GQ,waxing_gibbous_moon:KQ,new_moon_with_face:JQ,full_moon_with_face:ez,first_quarter_moon_with_face:tz,last_quarter_moon_with_face:rz,sun_with_face:nz,crescent_moon:az,star:iz,star2:sz,dizzy:oz,sparkles:lz,comet:cz,sunny:uz,sun_behind_small_cloud:hz,partly_sunny:fz,sun_behind_large_cloud:dz,sun_behind_rain_cloud:pz,cloud:mz,cloud_with_rain:gz,cloud_with_lightning_and_rain:Oz,cloud_with_lightning:yz,zap:kz,fire:bz,boom:_z,snowflake:wz,cloud_with_snow:Sz,snowman:xz,snowman_with_snow:Tz,wind_face:Ez,dash:Az,tornado:Cz,fog:Pz,open_umbrella:vz,umbrella:Dz,droplet:Qz,sweat_drops:zz,ocean:Iz,green_apple:Lz,apple:Rz,pear:Nz,tangerine:$z,lemon:Mz,banana:Fz,watermelon:Bz,grapes:qz,strawberry:Xz,melon:jz,cherries:Zz,peach:Uz,pineapple:Yz,coconut:Hz,kiwi_fruit:Vz,mango:Wz,avocado:Gz,broccoli:Kz,tomato:Jz,eggplant:eI,cucumber:tI,carrot:rI,hot_pepper:nI,potato:aI,corn:iI,leafy_greens:sI,sweet_potato:oI,peanuts:lI,honey_pot:cI,croissant:uI,bread:hI,baguette_bread:fI,bagel:dI,pretzel:pI,cheese:mI,egg:gI,bacon:OI,steak:yI,pancakes:kI,poultry_leg:bI,meat_on_bone:_I,bone:wI,fried_shrimp:SI,fried_egg:xI,hamburger:TI,fries:EI,stuffed_flatbread:AI,hotdog:CI,pizza:PI,sandwich:vI,canned_food:DI,spaghetti:QI,taco:zI,burrito:II,green_salad:LI,shallow_pan_of_food:RI,ramen:NI,stew:$I,fish_cake:MI,fortune_cookie:FI,sushi:BI,bento:qI,curry:XI,rice_ball:jI,rice:ZI,rice_cracker:UI,oden:YI,dango:HI,shaved_ice:VI,ice_cream:WI,icecream:GI,pie:KI,cake:JI,cupcake:e6,moon_cake:t6,birthday:r6,custard:n6,candy:a6,lollipop:i6,chocolate_bar:s6,popcorn:o6,dumpling:l6,doughnut:c6,cookie:u6,milk_glass:h6,beer:f6,beers:d6,clinking_glasses:p6,wine_glass:m6,tumbler_glass:g6,cocktail:O6,tropical_drink:y6,champagne:k6,sake:b6,tea:_6,cup_with_straw:w6,coffee:S6,baby_bottle:x6,salt:T6,spoon:E6,fork_and_knife:A6,plate_with_cutlery:C6,bowl_with_spoon:P6,takeout_box:v6,chopsticks:D6,soccer:Q6,basketball:z6,football:I6,baseball:L6,softball:R6,tennis:N6,volleyball:$6,rugby_football:M6,flying_disc:F6,"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"🎱",fitzpatrick_scale:!1,category:"activity"},golf:B6,golfing_woman:q6,golfing_man:X6,ping_pong:j6,badminton:Z6,goal_net:U6,ice_hockey:Y6,field_hockey:H6,lacrosse:V6,cricket:W6,ski:G6,skier:K6,snowboarder:J6,person_fencing:e5,women_wrestling:t5,men_wrestling:r5,woman_cartwheeling:n5,man_cartwheeling:a5,woman_playing_handball:i5,man_playing_handball:s5,ice_skate:o5,curling_stone:l5,skateboard:c5,sled:u5,bow_and_arrow:h5,fishing_pole_and_fish:f5,boxing_glove:d5,martial_arts_uniform:p5,rowing_woman:m5,rowing_man:g5,climbing_woman:O5,climbing_man:y5,swimming_woman:k5,swimming_man:b5,woman_playing_water_polo:_5,man_playing_water_polo:w5,woman_in_lotus_position:S5,man_in_lotus_position:x5,surfing_woman:T5,surfing_man:E5,bath:A5,basketball_woman:C5,basketball_man:P5,weight_lifting_woman:v5,weight_lifting_man:D5,biking_woman:Q5,biking_man:z5,mountain_biking_woman:I5,mountain_biking_man:L5,horse_racing:R5,business_suit_levitating:N5,trophy:$5,running_shirt_with_sash:M5,medal_sports:F5,medal_military:B5,"1st_place_medal":{keywords:["award","winning","first"],char:"🥇",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"🥈",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"🥉",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:q5,rosette:X5,ticket:j5,tickets:Z5,performing_arts:U5,art:Y5,circus_tent:H5,woman_juggling:V5,man_juggling:W5,microphone:G5,headphones:K5,musical_score:J5,musical_keyboard:eL,drum:tL,saxophone:rL,trumpet:nL,guitar:aL,violin:iL,clapper:sL,video_game:oL,space_invader:lL,dart:cL,game_die:uL,chess_pawn:hL,slot_machine:fL,jigsaw:dL,bowling:pL,red_car:mL,taxi:gL,blue_car:OL,bus:yL,trolleybus:kL,racing_car:bL,police_car:_L,ambulance:wL,fire_engine:SL,minibus:xL,truck:TL,articulated_lorry:EL,tractor:AL,kick_scooter:CL,motorcycle:PL,bike:vL,motor_scooter:DL,rotating_light:QL,oncoming_police_car:zL,oncoming_bus:IL,oncoming_automobile:LL,oncoming_taxi:RL,aerial_tramway:NL,mountain_cableway:$L,suspension_railway:ML,railway_car:FL,train:BL,monorail:qL,bullettrain_side:XL,bullettrain_front:jL,light_rail:ZL,mountain_railway:UL,steam_locomotive:YL,train2:HL,metro:VL,tram:WL,station:GL,flying_saucer:KL,helicopter:JL,small_airplane:eR,airplane:tR,flight_departure:rR,flight_arrival:nR,sailboat:aR,motor_boat:iR,speedboat:sR,ferry:oR,passenger_ship:lR,rocket:cR,artificial_satellite:uR,seat:hR,canoe:fR,anchor:dR,construction:pR,fuelpump:mR,busstop:gR,vertical_traffic_light:OR,traffic_light:yR,checkered_flag:kR,ship:bR,ferris_wheel:_R,roller_coaster:wR,carousel_horse:SR,building_construction:xR,foggy:TR,tokyo_tower:ER,factory:AR,fountain:CR,rice_scene:PR,mountain:vR,mountain_snow:DR,mount_fuji:QR,volcano:zR,japan:IR,camping:LR,tent:RR,national_park:NR,motorway:$R,railway_track:MR,sunrise:FR,sunrise_over_mountains:BR,desert:qR,beach_umbrella:XR,desert_island:jR,city_sunrise:ZR,city_sunset:UR,cityscape:YR,night_with_stars:HR,bridge_at_night:VR,milky_way:WR,stars:GR,sparkler:KR,fireworks:JR,rainbow:eN,houses:tN,european_castle:rN,japanese_castle:nN,stadium:aN,statue_of_liberty:iN,house:sN,house_with_garden:oN,derelict_house:lN,office:cN,department_store:uN,post_office:hN,european_post_office:fN,hospital:dN,bank:pN,hotel:mN,convenience_store:gN,school:ON,love_hotel:yN,wedding:kN,classical_building:bN,church:_N,mosque:wN,synagogue:SN,kaaba:xN,shinto_shrine:TN,watch:EN,iphone:AN,calling:CN,computer:PN,keyboard:vN,desktop_computer:DN,printer:QN,computer_mouse:zN,trackball:IN,joystick:LN,clamp:RN,minidisc:NN,floppy_disk:$N,cd:MN,dvd:FN,vhs:BN,camera:qN,camera_flash:XN,video_camera:jN,movie_camera:ZN,film_projector:UN,film_strip:YN,telephone_receiver:HN,phone:VN,pager:WN,fax:GN,tv:KN,radio:JN,studio_microphone:e4,level_slider:t4,control_knobs:r4,compass:n4,stopwatch:a4,timer_clock:i4,alarm_clock:s4,mantelpiece_clock:o4,hourglass_flowing_sand:l4,hourglass:c4,satellite:u4,battery:h4,electric_plug:f4,bulb:d4,flashlight:p4,candle:m4,fire_extinguisher:g4,wastebasket:O4,oil_drum:y4,money_with_wings:k4,dollar:b4,yen:_4,euro:w4,pound:S4,moneybag:x4,credit_card:T4,gem:E4,balance_scale:A4,toolbox:C4,wrench:P4,hammer:v4,hammer_and_pick:D4,hammer_and_wrench:Q4,pick:z4,nut_and_bolt:I4,gear:L4,brick:R4,chains:N4,magnet:$4,gun:M4,bomb:F4,firecracker:B4,hocho:q4,dagger:X4,crossed_swords:j4,shield:Z4,smoking:U4,skull_and_crossbones:Y4,coffin:H4,funeral_urn:V4,amphora:W4,crystal_ball:G4,prayer_beads:K4,nazar_amulet:J4,barber:e$,alembic:t$,telescope:r$,microscope:n$,hole:a$,pill:i$,syringe:s$,dna:o$,microbe:l$,petri_dish:c$,test_tube:u$,thermometer:h$,broom:f$,basket:d$,toilet_paper:p$,label:m$,bookmark:g$,toilet:O$,shower:y$,bathtub:k$,soap:b$,sponge:_$,lotion_bottle:w$,key:S$,old_key:x$,couch_and_lamp:T$,sleeping_bed:E$,bed:A$,door:C$,bellhop_bell:P$,teddy_bear:v$,framed_picture:D$,world_map:Q$,parasol_on_ground:z$,moyai:I$,shopping:L$,shopping_cart:R$,balloon:N$,flags:$$,ribbon:M$,gift:F$,confetti_ball:B$,tada:q$,dolls:X$,wind_chime:j$,crossed_flags:Z$,izakaya_lantern:U$,red_envelope:Y$,email:H$,envelope_with_arrow:V$,incoming_envelope:W$,"e-mail":{keywords:["communication","inbox"],char:"📧",fitzpatrick_scale:!1,category:"objects"},love_letter:G$,postbox:K$,mailbox_closed:J$,mailbox:eM,mailbox_with_mail:tM,mailbox_with_no_mail:rM,package:{keywords:["mail","gift","cardboard","box","moving"],char:"📦",fitzpatrick_scale:!1,category:"objects"},postal_horn:nM,inbox_tray:aM,outbox_tray:iM,scroll:sM,page_with_curl:oM,bookmark_tabs:lM,receipt:cM,bar_chart:uM,chart_with_upwards_trend:hM,chart_with_downwards_trend:fM,page_facing_up:dM,date:pM,calendar:mM,spiral_calendar:gM,card_index:OM,card_file_box:yM,ballot_box:kM,file_cabinet:bM,clipboard:_M,spiral_notepad:wM,file_folder:SM,open_file_folder:xM,card_index_dividers:TM,newspaper_roll:EM,newspaper:AM,notebook:CM,closed_book:PM,green_book:vM,blue_book:DM,orange_book:QM,notebook_with_decorative_cover:zM,ledger:IM,books:LM,open_book:RM,safety_pin:NM,link:$M,paperclip:MM,paperclips:FM,scissors:BM,triangular_ruler:qM,straight_ruler:XM,abacus:jM,pushpin:ZM,round_pushpin:UM,triangular_flag_on_post:YM,white_flag:HM,black_flag:VM,rainbow_flag:WM,closed_lock_with_key:GM,lock:KM,unlock:JM,lock_with_ink_pen:e8,pen:t8,fountain_pen:r8,black_nib:n8,memo:a8,pencil2:i8,crayon:s8,paintbrush:o8,mag:l8,mag_right:c8,heart:u8,orange_heart:h8,yellow_heart:f8,green_heart:d8,blue_heart:p8,purple_heart:m8,black_heart:g8,broken_heart:O8,heavy_heart_exclamation:y8,two_hearts:k8,revolving_hearts:b8,heartbeat:_8,heartpulse:w8,sparkling_heart:S8,cupid:x8,gift_heart:T8,heart_decoration:E8,peace_symbol:A8,latin_cross:C8,star_and_crescent:P8,om:v8,wheel_of_dharma:D8,star_of_david:Q8,six_pointed_star:z8,menorah:I8,yin_yang:L8,orthodox_cross:R8,place_of_worship:N8,ophiuchus:$8,aries:M8,taurus:F8,gemini:B8,cancer:q8,leo:X8,virgo:j8,libra:Z8,scorpius:U8,sagittarius:Y8,capricorn:H8,aquarius:V8,pisces:W8,id:G8,atom_symbol:K8,u7a7a:J8,u5272:eF,radioactive:tF,biohazard:rF,mobile_phone_off:nF,vibration_mode:aF,u6709:iF,u7121:sF,u7533:oF,u55b6:lF,u6708:cF,eight_pointed_black_star:uF,vs:hF,accept:fF,white_flower:dF,ideograph_advantage:pF,secret:mF,congratulations:gF,u5408:OF,u6e80:yF,u7981:kF,a:bF,b:_F,ab:wF,cl:SF,o2:xF,sos:TF,no_entry:EF,name_badge:AF,no_entry_sign:CF,x:PF,o:vF,stop_sign:DF,anger:QF,hotsprings:zF,no_pedestrians:IF,do_not_litter:LF,no_bicycles:RF,"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"🚱",fitzpatrick_scale:!1,category:"symbols"},underage:NF,no_mobile_phones:$F,exclamation:MF,grey_exclamation:FF,question:BF,grey_question:qF,bangbang:XF,interrobang:jF,low_brightness:ZF,high_brightness:UF,trident:YF,fleur_de_lis:HF,part_alternation_mark:VF,warning:WF,children_crossing:GF,beginner:KF,recycle:JF,u6307:eB,chart:tB,sparkle:rB,eight_spoked_asterisk:nB,negative_squared_cross_mark:aB,white_check_mark:iB,diamond_shape_with_a_dot_inside:sB,cyclone:oB,loop:lB,globe_with_meridians:cB,m:uB,atm:hB,sa:fB,passport_control:dB,customs:pB,baggage_claim:mB,left_luggage:gB,wheelchair:OB,no_smoking:yB,wc:kB,parking:bB,potable_water:_B,mens:wB,womens:SB,baby_symbol:xB,restroom:TB,put_litter_in_its_place:EB,cinema:AB,signal_strength:CB,koko:PB,ng:vB,ok:DB,up:QB,cool:zB,new:{keywords:["blue-square","words","start"],char:"🆕",fitzpatrick_scale:!1,category:"symbols"},free:IB,zero:LB,one:RB,two:NB,three:$B,four:MB,five:FB,six:BB,seven:qB,eight:XB,nine:jB,keycap_ten:ZB,asterisk:UB,eject_button:YB,arrow_forward:HB,pause_button:VB,next_track_button:WB,stop_button:GB,record_button:KB,play_or_pause_button:JB,previous_track_button:e9,fast_forward:t9,rewind:r9,twisted_rightwards_arrows:n9,repeat:a9,repeat_one:i9,arrow_backward:s9,arrow_up_small:o9,arrow_down_small:l9,arrow_double_up:c9,arrow_double_down:u9,arrow_right:h9,arrow_left:f9,arrow_up:d9,arrow_down:p9,arrow_upper_right:m9,arrow_lower_right:g9,arrow_lower_left:O9,arrow_upper_left:y9,arrow_up_down:k9,left_right_arrow:b9,arrows_counterclockwise:_9,arrow_right_hook:w9,leftwards_arrow_with_hook:S9,arrow_heading_up:x9,arrow_heading_down:T9,hash:E9,information_source:A9,abc:C9,abcd:P9,capital_abcd:v9,symbols:D9,musical_note:Q9,notes:z9,wavy_dash:I9,curly_loop:L9,heavy_check_mark:R9,arrows_clockwise:N9,heavy_plus_sign:$9,heavy_minus_sign:M9,heavy_division_sign:F9,heavy_multiplication_x:B9,infinity:q9,heavy_dollar_sign:X9,currency_exchange:j9,copyright:Z9,registered:U9,tm:Y9,end:H9,back:V9,on:W9,top:G9,soon:K9,ballot_box_with_check:J9,radio_button:e7,white_circle:t7,black_circle:r7,red_circle:n7,large_blue_circle:a7,small_orange_diamond:i7,small_blue_diamond:s7,large_orange_diamond:o7,large_blue_diamond:l7,small_red_triangle:c7,black_small_square:u7,white_small_square:h7,black_large_square:f7,white_large_square:d7,small_red_triangle_down:p7,black_medium_square:m7,white_medium_square:g7,black_medium_small_square:O7,white_medium_small_square:y7,black_square_button:k7,white_square_button:b7,speaker:_7,sound:w7,loud_sound:S7,mute:x7,mega:T7,loudspeaker:E7,bell:A7,no_bell:C7,black_joker:P7,mahjong:v7,spades:D7,clubs:Q7,hearts:z7,diamonds:I7,flower_playing_cards:L7,thought_balloon:R7,right_anger_bubble:N7,speech_balloon:$7,left_speech_bubble:M7,clock1:F7,clock2:B7,clock3:q7,clock4:X7,clock5:j7,clock6:Z7,clock7:U7,clock8:Y7,clock9:H7,clock10:V7,clock11:W7,clock12:G7,clock130:K7,clock230:J7,clock330:eq,clock430:tq,clock530:rq,clock630:nq,clock730:aq,clock830:iq,clock930:sq,clock1030:oq,clock1130:lq,clock1230:cq,afghanistan:uq,aland_islands:hq,albania:fq,algeria:dq,american_samoa:pq,andorra:mq,angola:gq,anguilla:Oq,antarctica:yq,antigua_barbuda:kq,argentina:bq,armenia:_q,aruba:wq,australia:Sq,austria:xq,azerbaijan:Tq,bahamas:Eq,bahrain:Aq,bangladesh:Cq,barbados:Pq,belarus:vq,belgium:Dq,belize:Qq,benin:zq,bermuda:Iq,bhutan:Lq,bolivia:Rq,caribbean_netherlands:Nq,bosnia_herzegovina:$q,botswana:Mq,brazil:Fq,british_indian_ocean_territory:Bq,british_virgin_islands:qq,brunei:Xq,bulgaria:jq,burkina_faso:Zq,burundi:Uq,cape_verde:Yq,cambodia:Hq,cameroon:Vq,canada:Wq,canary_islands:Gq,cayman_islands:Kq,central_african_republic:Jq,chad:eX,chile:tX,cn:rX,christmas_island:nX,cocos_islands:aX,colombia:iX,comoros:sX,congo_brazzaville:oX,congo_kinshasa:lX,cook_islands:cX,costa_rica:uX,croatia:hX,cuba:fX,curacao:dX,cyprus:pX,czech_republic:mX,denmark:gX,djibouti:OX,dominica:yX,dominican_republic:kX,ecuador:bX,egypt:_X,el_salvador:wX,equatorial_guinea:SX,eritrea:xX,estonia:TX,ethiopia:EX,eu:AX,falkland_islands:CX,faroe_islands:PX,fiji:vX,finland:DX,fr:QX,french_guiana:zX,french_polynesia:IX,french_southern_territories:LX,gabon:RX,gambia:NX,georgia:$X,de:MX,ghana:FX,gibraltar:BX,greece:qX,greenland:XX,grenada:jX,guadeloupe:ZX,guam:UX,guatemala:YX,guernsey:HX,guinea:VX,guinea_bissau:WX,guyana:GX,haiti:KX,honduras:JX,hong_kong:ej,hungary:tj,iceland:rj,india:nj,indonesia:aj,iran:ij,iraq:sj,ireland:oj,isle_of_man:lj,israel:cj,it:uj,cote_divoire:hj,jamaica:fj,jp:dj,jersey:pj,jordan:mj,kazakhstan:gj,kenya:Oj,kiribati:yj,kosovo:kj,kuwait:bj,kyrgyzstan:_j,laos:wj,latvia:Sj,lebanon:xj,lesotho:Tj,liberia:Ej,libya:Aj,liechtenstein:Cj,lithuania:Pj,luxembourg:vj,macau:Dj,macedonia:Qj,madagascar:zj,malawi:Ij,malaysia:Lj,maldives:Rj,mali:Nj,malta:$j,marshall_islands:Mj,martinique:Fj,mauritania:Bj,mauritius:qj,mayotte:Xj,mexico:jj,micronesia:Zj,moldova:Uj,monaco:Yj,mongolia:Hj,montenegro:Vj,montserrat:Wj,morocco:Gj,mozambique:Kj,myanmar:Jj,namibia:eZ,nauru:tZ,nepal:rZ,netherlands:nZ,new_caledonia:aZ,new_zealand:iZ,nicaragua:sZ,niger:oZ,nigeria:lZ,niue:cZ,norfolk_island:uZ,northern_mariana_islands:hZ,north_korea:fZ,norway:dZ,oman:pZ,pakistan:mZ,palau:gZ,palestinian_territories:OZ,panama:yZ,papua_new_guinea:kZ,paraguay:bZ,peru:_Z,philippines:wZ,pitcairn_islands:SZ,poland:xZ,portugal:TZ,puerto_rico:EZ,qatar:AZ,reunion:CZ,romania:PZ,ru:vZ,rwanda:DZ,st_barthelemy:QZ,st_helena:zZ,st_kitts_nevis:IZ,st_lucia:LZ,st_pierre_miquelon:RZ,st_vincent_grenadines:NZ,samoa:$Z,san_marino:MZ,sao_tome_principe:FZ,saudi_arabia:BZ,senegal:qZ,serbia:XZ,seychelles:jZ,sierra_leone:ZZ,singapore:UZ,sint_maarten:YZ,slovakia:HZ,slovenia:VZ,solomon_islands:WZ,somalia:GZ,south_africa:KZ,south_georgia_south_sandwich_islands:JZ,kr:eU,south_sudan:tU,es:rU,sri_lanka:nU,sudan:aU,suriname:iU,swaziland:sU,sweden:oU,switzerland:lU,syria:cU,taiwan:uU,tajikistan:hU,tanzania:fU,thailand:dU,timor_leste:pU,togo:mU,tokelau:gU,tonga:OU,trinidad_tobago:yU,tunisia:kU,tr:bU,turkmenistan:_U,turks_caicos_islands:wU,tuvalu:SU,uganda:xU,ukraine:TU,united_arab_emirates:EU,uk:AU,england:CU,scotland:PU,wales:vU,us:DU,us_virgin_islands:QU,uruguay:zU,uzbekistan:IU,vanuatu:LU,vatican_city:RU,venezuela:NU,vietnam:$U,wallis_futuna:MU,western_sahara:FU,yemen:BU,zambia:qU,zimbabwe:XU,united_nations:jU,pirate_flag:ZU},YU=JSON.parse('["grinning","smiley","smile","grin","laughing","sweat_smile","joy","rofl","relaxed","blush","innocent","slightly_smiling_face","upside_down_face","wink","relieved","heart_eyes","smiling_face_with_three_hearts","kissing_heart","kissing","kissing_smiling_eyes","kissing_closed_eyes","yum","stuck_out_tongue","stuck_out_tongue_closed_eyes","stuck_out_tongue_winking_eye","zany","raised_eyebrow","monocle","nerd_face","sunglasses","star_struck","partying","smirk","unamused","disappointed","pensive","worried","confused","slightly_frowning_face","frowning_face","persevere","confounded","tired_face","weary","pleading","cry","sob","triumph","angry","rage","symbols_over_mouth","exploding_head","flushed","hot","cold","scream","fearful","cold_sweat","disappointed_relieved","sweat","hugs","thinking","hand_over_mouth","shushing","lying_face","no_mouth","neutral_face","expressionless","grimacing","roll_eyes","hushed","frowning","anguished","open_mouth","astonished","sleeping","drooling_face","sleepy","dizzy_face","zipper_mouth_face","woozy","nauseated_face","vomiting","sneezing_face","mask","face_with_thermometer","face_with_head_bandage","money_mouth_face","cowboy_hat_face","smiling_imp","imp","japanese_ogre","japanese_goblin","clown_face","poop","ghost","skull","skull_and_crossbones","alien","space_invader","robot","jack_o_lantern","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","palms_up","open_hands","raised_hands","clap","handshake","+1","-1","facepunch","fist","fist_left","fist_right","crossed_fingers","v","love_you","metal","ok_hand","point_left","point_right","point_up","point_down","point_up_2","raised_hand","raised_back_of_hand","raised_hand_with_fingers_splayed","vulcan_salute","wave","call_me_hand","muscle","fu","writing_hand","pray","foot","leg","ring","lipstick","kiss","lips","tooth","tongue","ear","nose","footprints","eye","eyes","brain","speaking_head","bust_in_silhouette","busts_in_silhouette","baby","girl","child","boy","woman","adult","man","blonde_woman","blonde_man","bearded_person","older_woman","older_adult","older_man","man_with_gua_pi_mao","woman_with_headscarf","woman_with_turban","man_with_turban","policewoman","policeman","construction_worker_woman","construction_worker_man","guardswoman","guardsman","female_detective","male_detective","woman_health_worker","man_health_worker","woman_farmer","man_farmer","woman_cook","man_cook","woman_student","man_student","woman_singer","man_singer","woman_teacher","man_teacher","woman_factory_worker","man_factory_worker","woman_technologist","man_technologist","woman_office_worker","man_office_worker","woman_mechanic","man_mechanic","woman_scientist","man_scientist","woman_artist","man_artist","woman_firefighter","man_firefighter","woman_pilot","man_pilot","woman_astronaut","man_astronaut","woman_judge","man_judge","bride_with_veil","man_in_tuxedo","princess","prince","woman_superhero","man_superhero","woman_supervillain","man_supervillain","mrs_claus","santa","sorceress","wizard","woman_elf","man_elf","woman_vampire","man_vampire","woman_zombie","man_zombie","woman_genie","man_genie","mermaid","merman","woman_fairy","man_fairy","angel","pregnant_woman","breastfeeding","bowing_woman","bowing_man","tipping_hand_woman","tipping_hand_man","no_good_woman","no_good_man","ok_woman","ok_man","raising_hand_woman","raising_hand_man","woman_facepalming","man_facepalming","woman_shrugging","man_shrugging","pouting_woman","pouting_man","frowning_woman","frowning_man","haircut_woman","haircut_man","massage_woman","massage_man","woman_in_steamy_room","man_in_steamy_room","nail_care","selfie","dancer","man_dancing","dancing_women","dancing_men","business_suit_levitating","walking_woman","walking_man","running_woman","running_man","couple","two_women_holding_hands","two_men_holding_hands","couple_with_heart_woman_man","couple_with_heart_woman_woman","couple_with_heart_man_man","couplekiss_man_woman","couplekiss_woman_woman","couplekiss_man_man","family_man_woman_boy","family_man_woman_girl","family_man_woman_girl_boy","family_man_woman_boy_boy","family_man_woman_girl_girl","family_woman_woman_boy","family_woman_woman_girl","family_woman_woman_girl_boy","family_woman_woman_boy_boy","family_woman_woman_girl_girl","family_man_man_boy","family_man_man_girl","family_man_man_girl_boy","family_man_man_boy_boy","family_man_man_girl_girl","family_woman_boy","family_woman_girl","family_woman_girl_boy","family_woman_boy_boy","family_woman_girl_girl","family_man_boy","family_man_girl","family_man_girl_boy","family_man_boy_boy","family_man_girl_girl","yarn","thread","coat","labcoat","womans_clothes","tshirt","jeans","necktie","dress","bikini","kimono","flat_shoe","high_heel","sandal","boot","mans_shoe","athletic_shoe","hiking_boot","socks","gloves","scarf","tophat","billed_hat","womans_hat","mortar_board","rescue_worker_helmet","crown","pouch","purse","handbag","briefcase","school_satchel","luggage","eyeglasses","dark_sunglasses","goggles","closed_umbrella","dog","cat","mouse","hamster","rabbit","fox_face","bear","panda_face","koala","tiger","lion","cow","pig","pig_nose","frog","monkey_face","see_no_evil","hear_no_evil","speak_no_evil","monkey","chicken","penguin","bird","baby_chick","hatching_chick","hatched_chick","duck","eagle","owl","bat","wolf","boar","horse","unicorn","honeybee","bug","butterfly","snail","shell","beetle","ant","mosquito","grasshopper","spider","spider_web","scorpion","turtle","snake","lizard","t-rex","sauropod","octopus","squid","shrimp","lobster","crab","blowfish","tropical_fish","fish","dolphin","whale","whale2","shark","crocodile","tiger2","leopard","zebra","gorilla","elephant","hippopotamus","rhinoceros","dromedary_camel","giraffe","kangaroo","camel","water_buffalo","ox","cow2","racehorse","pig2","ram","sheep","llama","goat","deer","dog2","poodle","cat2","rooster","turkey","peacock","parrot","swan","dove","rabbit2","raccoon","badger","rat","mouse2","chipmunk","hedgehog","paw_prints","dragon","dragon_face","cactus","christmas_tree","evergreen_tree","deciduous_tree","palm_tree","seedling","herb","shamrock","four_leaf_clover","bamboo","tanabata_tree","leaves","fallen_leaf","maple_leaf","ear_of_rice","hibiscus","sunflower","rose","wilted_flower","tulip","blossom","cherry_blossom","bouquet","mushroom","earth_americas","earth_africa","earth_asia","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","new_moon_with_face","full_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","sun_with_face","crescent_moon","star","star2","dizzy","sparkles","comet","sunny","sun_behind_small_cloud","partly_sunny","sun_behind_large_cloud","sun_behind_rain_cloud","cloud","cloud_with_rain","cloud_with_lightning_and_rain","cloud_with_lightning","zap","fire","boom","snowflake","cloud_with_snow","snowman","snowman_with_snow","wind_face","dash","tornado","fog","open_umbrella","umbrella","droplet","sweat_drops","ocean","green_apple","apple","pear","tangerine","lemon","banana","watermelon","grapes","strawberry","melon","cherries","peach","mango","pineapple","coconut","kiwi_fruit","tomato","eggplant","avocado","broccoli","leafy_greens","cucumber","hot_pepper","corn","carrot","potato","sweet_potato","croissant","bagel","bread","baguette_bread","pretzel","cheese","egg","fried_egg","pancakes","bacon","steak","poultry_leg","meat_on_bone","bone","hotdog","hamburger","fries","pizza","sandwich","stuffed_flatbread","taco","burrito","green_salad","shallow_pan_of_food","canned_food","spaghetti","ramen","stew","curry","sushi","bento","fried_shrimp","rice_ball","rice","rice_cracker","fish_cake","fortune_cookie","moon_cake","oden","dango","shaved_ice","ice_cream","icecream","pie","cupcake","cake","birthday","custard","lollipop","candy","chocolate_bar","popcorn","doughnut","dumpling","cookie","chestnut","peanuts","honey_pot","milk_glass","baby_bottle","coffee","tea","cup_with_straw","sake","beer","beers","clinking_glasses","wine_glass","tumbler_glass","cocktail","tropical_drink","champagne","spoon","fork_and_knife","plate_with_cutlery","bowl_with_spoon","takeout_box","chopsticks","salt","soccer","basketball","football","baseball","softball","tennis","volleyball","rugby_football","flying_disc","8ball","golf","golfing_woman","golfing_man","ping_pong","badminton","goal_net","ice_hockey","field_hockey","lacrosse","cricket","ski","skier","snowboarder","person_fencing","women_wrestling","men_wrestling","woman_cartwheeling","man_cartwheeling","woman_playing_handball","man_playing_handball","ice_skate","curling_stone","skateboard","sled","bow_and_arrow","fishing_pole_and_fish","boxing_glove","martial_arts_uniform","rowing_woman","rowing_man","climbing_woman","climbing_man","swimming_woman","swimming_man","woman_playing_water_polo","man_playing_water_polo","woman_in_lotus_position","man_in_lotus_position","surfing_woman","surfing_man","basketball_woman","basketball_man","weight_lifting_woman","weight_lifting_man","biking_woman","biking_man","mountain_biking_woman","mountain_biking_man","horse_racing","trophy","running_shirt_with_sash","medal_sports","medal_military","1st_place_medal","2nd_place_medal","3rd_place_medal","reminder_ribbon","rosette","ticket","tickets","performing_arts","art","circus_tent","woman_juggling","man_juggling","microphone","headphones","musical_score","musical_keyboard","drum","saxophone","trumpet","guitar","violin","clapper","video_game","dart","game_die","chess_pawn","slot_machine","jigsaw","bowling","red_car","taxi","blue_car","bus","trolleybus","racing_car","police_car","ambulance","fire_engine","minibus","truck","articulated_lorry","tractor","kick_scooter","motorcycle","bike","motor_scooter","rotating_light","oncoming_police_car","oncoming_bus","oncoming_automobile","oncoming_taxi","aerial_tramway","mountain_cableway","suspension_railway","railway_car","train","monorail","bullettrain_side","bullettrain_front","light_rail","mountain_railway","steam_locomotive","train2","metro","tram","station","flying_saucer","helicopter","small_airplane","airplane","flight_departure","flight_arrival","sailboat","motor_boat","speedboat","ferry","passenger_ship","rocket","artificial_satellite","seat","canoe","anchor","construction","fuelpump","busstop","vertical_traffic_light","traffic_light","ship","ferris_wheel","roller_coaster","carousel_horse","building_construction","foggy","tokyo_tower","factory","fountain","rice_scene","mountain","mountain_snow","mount_fuji","volcano","japan","camping","tent","national_park","motorway","railway_track","sunrise","sunrise_over_mountains","desert","beach_umbrella","desert_island","city_sunrise","city_sunset","cityscape","night_with_stars","bridge_at_night","milky_way","stars","sparkler","fireworks","rainbow","houses","european_castle","japanese_castle","stadium","statue_of_liberty","house","house_with_garden","derelict_house","office","department_store","post_office","european_post_office","hospital","bank","hotel","convenience_store","school","love_hotel","wedding","classical_building","church","mosque","synagogue","kaaba","shinto_shrine","watch","iphone","calling","computer","keyboard","desktop_computer","printer","computer_mouse","trackball","joystick","clamp","minidisc","floppy_disk","cd","dvd","vhs","camera","camera_flash","video_camera","movie_camera","film_projector","film_strip","telephone_receiver","phone","pager","fax","tv","radio","studio_microphone","level_slider","control_knobs","compass","stopwatch","timer_clock","alarm_clock","mantelpiece_clock","hourglass_flowing_sand","hourglass","satellite","battery","electric_plug","bulb","flashlight","candle","fire_extinguisher","wastebasket","oil_drum","money_with_wings","dollar","yen","euro","pound","moneybag","credit_card","gem","balance_scale","toolbox","wrench","hammer","hammer_and_pick","hammer_and_wrench","pick","nut_and_bolt","gear","brick","chains","magnet","gun","bomb","firecracker","hocho","dagger","crossed_swords","shield","smoking","coffin","funeral_urn","amphora","crystal_ball","prayer_beads","nazar_amulet","barber","alembic","telescope","microscope","hole","pill","syringe","dna","microbe","petri_dish","test_tube","thermometer","broom","basket","toilet_paper","label","bookmark","toilet","shower","bathtub","bath","soap","sponge","lotion_bottle","key","old_key","couch_and_lamp","sleeping_bed","bed","door","bellhop_bell","teddy_bear","framed_picture","world_map","parasol_on_ground","moyai","shopping","shopping_cart","balloon","flags","ribbon","gift","confetti_ball","tada","dolls","wind_chime","crossed_flags","izakaya_lantern","red_envelope","email","envelope_with_arrow","incoming_envelope","e-mail","love_letter","postbox","mailbox_closed","mailbox","mailbox_with_mail","mailbox_with_no_mail","package","postal_horn","inbox_tray","outbox_tray","scroll","page_with_curl","bookmark_tabs","receipt","bar_chart","chart_with_upwards_trend","chart_with_downwards_trend","page_facing_up","date","calendar","spiral_calendar","card_index","card_file_box","ballot_box","file_cabinet","clipboard","spiral_notepad","file_folder","open_file_folder","card_index_dividers","newspaper_roll","newspaper","notebook","closed_book","green_book","blue_book","orange_book","notebook_with_decorative_cover","ledger","books","open_book","safety_pin","link","paperclip","paperclips","scissors","triangular_ruler","straight_ruler","abacus","pushpin","round_pushpin","closed_lock_with_key","lock","unlock","lock_with_ink_pen","pen","fountain_pen","black_nib","memo","pencil2","crayon","paintbrush","mag","mag_right","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","black_heart","broken_heart","heavy_heart_exclamation","two_hearts","revolving_hearts","heartbeat","heartpulse","sparkling_heart","cupid","gift_heart","heart_decoration","peace_symbol","latin_cross","star_and_crescent","om","wheel_of_dharma","star_of_david","six_pointed_star","menorah","yin_yang","orthodox_cross","place_of_worship","ophiuchus","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","id","atom_symbol","u7a7a","u5272","radioactive","biohazard","mobile_phone_off","vibration_mode","u6709","u7121","u7533","u55b6","u6708","eight_pointed_black_star","vs","accept","white_flower","ideograph_advantage","secret","congratulations","u5408","u6e80","u7981","a","b","ab","cl","o2","sos","no_entry","name_badge","no_entry_sign","x","o","stop_sign","anger","hotsprings","no_pedestrians","do_not_litter","no_bicycles","non-potable_water","underage","no_mobile_phones","exclamation","grey_exclamation","question","grey_question","bangbang","interrobang","100","low_brightness","high_brightness","trident","fleur_de_lis","part_alternation_mark","warning","children_crossing","beginner","recycle","u6307","chart","sparkle","eight_spoked_asterisk","negative_squared_cross_mark","white_check_mark","diamond_shape_with_a_dot_inside","cyclone","loop","globe_with_meridians","m","atm","zzz","sa","passport_control","customs","baggage_claim","left_luggage","wheelchair","no_smoking","wc","parking","potable_water","mens","womens","baby_symbol","restroom","put_litter_in_its_place","cinema","signal_strength","koko","ng","ok","up","cool","new","free","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","asterisk","1234","eject_button","arrow_forward","pause_button","next_track_button","stop_button","record_button","play_or_pause_button","previous_track_button","fast_forward","rewind","twisted_rightwards_arrows","repeat","repeat_one","arrow_backward","arrow_up_small","arrow_down_small","arrow_double_up","arrow_double_down","arrow_right","arrow_left","arrow_up","arrow_down","arrow_upper_right","arrow_lower_right","arrow_lower_left","arrow_upper_left","arrow_up_down","left_right_arrow","arrows_counterclockwise","arrow_right_hook","leftwards_arrow_with_hook","arrow_heading_up","arrow_heading_down","hash","information_source","abc","abcd","capital_abcd","symbols","musical_note","notes","wavy_dash","curly_loop","heavy_check_mark","arrows_clockwise","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_multiplication_x","infinity","heavy_dollar_sign","currency_exchange","copyright","registered","tm","end","back","on","top","soon","ballot_box_with_check","radio_button","white_circle","black_circle","red_circle","large_blue_circle","small_orange_diamond","small_blue_diamond","large_orange_diamond","large_blue_diamond","small_red_triangle","black_small_square","white_small_square","black_large_square","white_large_square","small_red_triangle_down","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_square_button","white_square_button","speaker","sound","loud_sound","mute","mega","loudspeaker","bell","no_bell","black_joker","mahjong","spades","clubs","hearts","diamonds","flower_playing_cards","thought_balloon","right_anger_bubble","speech_balloon","left_speech_bubble","clock1","clock2","clock3","clock4","clock5","clock6","clock7","clock8","clock9","clock10","clock11","clock12","clock130","clock230","clock330","clock430","clock530","clock630","clock730","clock830","clock930","clock1030","clock1130","clock1230","white_flag","black_flag","pirate_flag","checkered_flag","triangular_flag_on_post","rainbow_flag","united_nations","afghanistan","aland_islands","albania","algeria","american_samoa","andorra","angola","anguilla","antarctica","antigua_barbuda","argentina","armenia","aruba","australia","austria","azerbaijan","bahamas","bahrain","bangladesh","barbados","belarus","belgium","belize","benin","bermuda","bhutan","bolivia","caribbean_netherlands","bosnia_herzegovina","botswana","brazil","british_indian_ocean_territory","british_virgin_islands","brunei","bulgaria","burkina_faso","burundi","cape_verde","cambodia","cameroon","canada","canary_islands","cayman_islands","central_african_republic","chad","chile","cn","christmas_island","cocos_islands","colombia","comoros","congo_brazzaville","congo_kinshasa","cook_islands","costa_rica","croatia","cuba","curacao","cyprus","czech_republic","denmark","djibouti","dominica","dominican_republic","ecuador","egypt","el_salvador","equatorial_guinea","eritrea","estonia","ethiopia","eu","falkland_islands","faroe_islands","fiji","finland","fr","french_guiana","french_polynesia","french_southern_territories","gabon","gambia","georgia","de","ghana","gibraltar","greece","greenland","grenada","guadeloupe","guam","guatemala","guernsey","guinea","guinea_bissau","guyana","haiti","honduras","hong_kong","hungary","iceland","india","indonesia","iran","iraq","ireland","isle_of_man","israel","it","cote_divoire","jamaica","jp","jersey","jordan","kazakhstan","kenya","kiribati","kosovo","kuwait","kyrgyzstan","laos","latvia","lebanon","lesotho","liberia","libya","liechtenstein","lithuania","luxembourg","macau","macedonia","madagascar","malawi","malaysia","maldives","mali","malta","marshall_islands","martinique","mauritania","mauritius","mayotte","mexico","micronesia","moldova","monaco","mongolia","montenegro","montserrat","morocco","mozambique","myanmar","namibia","nauru","nepal","netherlands","new_caledonia","new_zealand","nicaragua","niger","nigeria","niue","norfolk_island","northern_mariana_islands","north_korea","norway","oman","pakistan","palau","palestinian_territories","panama","papua_new_guinea","paraguay","peru","philippines","pitcairn_islands","poland","portugal","puerto_rico","qatar","reunion","romania","ru","rwanda","st_barthelemy","st_helena","st_kitts_nevis","st_lucia","st_pierre_miquelon","st_vincent_grenadines","samoa","san_marino","sao_tome_principe","saudi_arabia","senegal","serbia","seychelles","sierra_leone","singapore","sint_maarten","slovakia","slovenia","solomon_islands","somalia","south_africa","south_georgia_south_sandwich_islands","kr","south_sudan","es","sri_lanka","sudan","suriname","swaziland","sweden","switzerland","syria","taiwan","tajikistan","tanzania","thailand","timor_leste","togo","tokelau","tonga","trinidad_tobago","tunisia","tr","turkmenistan","turks_caicos_islands","tuvalu","uganda","ukraine","united_arab_emirates","uk","england","scotland","wales","us","us_virgin_islands","uruguay","uzbekistan","vanuatu","vatican_city","venezuela","vietnam","wallis_futuna","western_sahara","yemen","zambia","zimbabwe"]');var Jo,Tf;function HU(){return Tf||(Tf=1,Jo={lib:UU,ordered:YU,fitzpatrick_scale_modifiers:["🏻","🏼","🏽","🏾","🏿"]}),Jo}var VU=HU();const WU=Hs(VU);var el,Ef;function GU(){return Ef||(Ef=1,el=()=>{const t="\\ud800-\\udfff",s="\\u0300-\\u036f"+"\\ufe20-\\ufe2f"+"\\u20d0-\\u20ff"+"\\u1ab0-\\u1aff"+"\\u1dc0-\\u1dff",o="\\ufe0e\\ufe0f",l="\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83C\\uDF93",c=`[${t}]`,u=`[${s}]`,h="\\ud83c[\\udffb-\\udfff]",f=`(?:${u}|${h})`,d=`[^${t}]`,g="(?:\\uD83C[\\uDDE6-\\uDDFF]){2}",O="[\\ud800-\\udbff][\\udc00-\\udfff]",k="\\u200d",y="(?:\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40(?:\\udc65|\\udc73|\\udc77)\\udb40(?:\\udc6e|\\udc63|\\udc6c)\\udb40(?:\\udc67|\\udc74|\\udc73)\\udb40\\udc7f)",w=`[${l}]`,P=`${f}?`,N=`[${o}]?`,T=`(?:${k}(?:${[d,g,O].join("|")})${N+P})*`,m=N+P+T,$=`(?:${[`${d}${u}?`,u,g,O,c,w].join("|")})`;return new RegExp(`${y}|${h}(?=${h})|${$+m}`,"g")}),el}var KU=GU();const JU=Hs(KU);JU();var eY="️",tY=new RegExp(eY,"g");function rY(t){return t.replace(tY,"")}function nY(t){return/:.+:/.test(t)?t.slice(1,-1):t}var bg=Object.entries(WU.lib).map(([t,{char:e}])=>[t,e]),aY=new Map(bg);new Map(bg.map(([t,e])=>[rY(e),t]));var iY=t=>(eE.assert.string(t),aY.get(nY(t)));const Af=[{description:"angry face",emoji:"😠",emoticons:[">:(",">:[",">:-(",">:-[",">=(",">=[",">=-(",">=-["],name:"angry",tags:["mad","annoyed"]},{description:"smiling face with smiling eyes",emoji:"😊",emoticons:[':")',':"]',':"D',':-")',':-"]',':-"D','=")','="]','="D','=-")','=-"]','=-"D'],name:"blush",tags:["proud"]},{description:"broken heart",emoji:"💔",emoticons:["<\\3","</3"],name:"broken_heart",tags:[]},{description:"confused face",emoji:"😕",emoticons:[":/",":\\",":-/",":-\\","=/","=\\","=-/","=-\\"],name:"confused",tags:[]},{description:"crying face",emoji:"😢",emoticons:[":,(",":,[",":,|",":,-(",":,-[",":,-|",":'(",":'[",":'|",":'-(",":'-[",":'-|","=,(","=,[","=,|","=,-(","=,-[","=,-|","='(","='[","='|","='-(","='-[","='-|","T-T"],name:"cry",tags:["sad","tear"]},{description:"frowning face with open mouth",emoji:"😦",emoticons:[":(",":[",":-(",":-[","=(","=[","=-(","=-["],name:"frowning",tags:[]},{description:"red heart",emoji:"❤️",emoticons:["<3"],name:"heart",tags:["love"]},{description:"angry face with horns",emoji:"👿",emoticons:["]:(","]:[","]:-(","]:-[","]=(","]=[","]=-(","]=-["],name:"imp",tags:["angry","devil","evil","horns"]},{description:"smiling face with halo",emoji:"😇",emoticons:["o:)","o:]","o:D","o:-)","o:-]","o:-D","o=)","o=]","o=D","o=-)","o=-]","o=-D","O:)","O:]","O:D","O:-)","O:-]","O:-D","O=)","O=]","O=D","O=-)","O=-]","O=-D","0:)","0:]","0:D","0:-)","0:-]","0:-D","0=)","0=]","0=D","0=-)","0=-]","0=-D"],name:"innocent",tags:["angel"]},{description:"face with tears of joy",emoji:"😂",emoticons:[":,)",":,]",":,D",":,-)",":,-]",":,-D",":')",":']",":'D",":'-)",":'-]",":'-D","=,)","=,]","=,D","=,-)","=,-]","=,-D","=')","=']","='D","='-)","='-]","='-D"],name:"joy",tags:["tears"]},{description:"kissing face",emoji:"😗",emoticons:[":*",":-*","=*","=-*"],name:"kissing",tags:[]},{description:"grinning squinting face",emoji:"😆",emoticons:["x)","x]","xD","x-)","x-]","x-D","X)","X]","X-)","X-]","X-D"],name:"laughing",tags:["happy","haha"]},{description:"man",emoji:"👨",emoticons:[":3",":-3","=3","=-3",";3",";-3","x3","x-3","X3","X-3"],name:"man",tags:["mustache","father","dad"]},{description:"neutral face",emoji:"😐",emoticons:[":|",":-|","=|","=-|"],name:"neutral_face",tags:["meh"]},{description:"face without mouth",emoji:"😶",emoticons:[":-"],name:"no_mouth",tags:["mute","silence"]},{description:"face with open mouth",emoji:"😮",emoticons:[":o",":O",":0",":-o",":-O",":-0","=o","=O","=0","=-o","=-O","=-0"],name:"open_mouth",tags:["surprise","impressed","wow"]},{description:"enraged face",emoji:"😡",emoticons:[":@",":-@","=@","=-@"],name:"rage",tags:["angry"]},{description:"grinning face with smiling eyes",emoji:"😄",emoticons:[":D",":-D","=D","=-D"],name:"smile",tags:["happy","joy","laugh","pleased"]},{description:"grinning face with big eyes",emoji:"😃",emoticons:[":)",":]",":-)",":-]","=)","=]","=-)","=-]"],name:"smiley",tags:["happy","joy","haha"]},{description:"smiling face with horns",emoji:"😈",emoticons:["]:)","]:]","]:D","]:-)","]:-]","]:-D","]=)","]=]","]=D","]=-)","]=-]","]=-D"],name:"smiling_imp",tags:["devil","evil","horns"]},{description:"loudly crying face",emoji:"😭",emoticons:[":,'(",":,'[",":,'-(",":,'-[",":',(",":',[",":',-(",":',-[","=,'(","=,'[","=,'-(","=,'-[","=',(","=',[","=',-(","=',-["],name:"sob",tags:["sad","cry","bawling"]},{description:"face with tongue",emoji:"😛",emoticons:[":p",":P",":d",":-p",":-P",":-d","=p","=P","=d","=-p","=-P","=-d"],name:"stuck_out_tongue",tags:[]},{description:"squinting face with tongue",emoji:"😝",emoticons:["xP","x-p","x-P","x-d","Xp","Xd","X-p","X-P","X-d"],name:"stuck_out_tongue_closed_eyes",tags:["prank"]},{description:"winking face with tongue",emoji:"😜",emoticons:[";p",";P",";d",";-p",";-P",";-d"],name:"stuck_out_tongue_winking_eye",tags:["prank","silly"]},{description:"smiling face with sunglasses",emoji:"😎",emoticons:["8)","8]","8D","8-)","8-]","8-D","B)","B]","B-)","B-]","B-D"],name:"sunglasses",tags:["cool"]},{description:"downcast face with sweat",emoji:"😓",emoticons:[",:(",",:[",",:-(",",:-[",",=(",",=[",",=-(",",=-[","':(","':[","':-(","':-[","'=(","'=[","'=-(","'=-["],name:"sweat",tags:[]},{description:"grinning face with sweat",emoji:"😅",emoticons:[",:)",",:]",",:D",",:-)",",:-]",",:-D",",=)",",=]",",=D",",=-)",",=-]",",=-D","':)","':]","':D","':-)","':-]","':-D","'=)","'=]","'=D","'=-)","'=-]","'=-D"],name:"sweat_smile",tags:["hot"]},{description:"unamused face",emoji:"😒",emoticons:[":$",":s",":z",":S",":Z",":-$",":-s",":-z",":-S",":-Z","=$","=s","=z","=S","=Z","=-$","=-s","=-z","=-S","=-Z"],name:"unamused",tags:["meh"]},{description:"winking face",emoji:"😉",emoticons:[";)",";]",";D",";-)",";-]",";-D"],name:"wink",tags:["flirt"]}],sY=/:\+1:|:-1:|:[\w-]+:/g,oY=/[$@|*'",;.=:\-)([\]\\/<>038BOopPsSdDxXzZ]{2,5}/g,lY=/(?:_|-(?!1))/g,cY={padSpaceAfter:!1,emoticon:!1,accessible:!1};function uY(t){const e=Object.assign({},cY,t),r=!!e.padSpaceAfter,n=!!e.emoticon,a=!!e.accessible;function i(u,h){return{type:"text",meta:null,value:u,data:{hName:"span",hProperties:{role:"img",ariaLabel:h},hChildren:[{type:"text",value:u}]}}}function s(u){const h=Af.find(y=>y.emoticons.includes(u)),f=Af.find(y=>y.emoticons.includes(u.slice(0,-1))),d=h||f;if(!d)return!1;const g=!h&&f?u.slice(-1):"",O=r?" ":"",k=d.emoji+O+g;return a?i(k,d.name+" emoticon"):k}function o(u){let h=iY(u);if(typeof h>"u")return!1;if(r&&(h=h+" "),a){const f=u.slice(1,-1).replace(lY," ")+" emoji";return i(h,f)}return h}const l=[[sY,o]];n&&l.push([oY,s]);function c(u){qm(u,l)}return c}function hY(t,e){const r={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,r),t.applyData(e,r)}function fY(t,e){const r={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,r),[t.applyData(e,r),{type:"text",value:`
29
- `}]}function dY(t,e){const r=e.value?e.value+`
30
- `:"",n={},a=e.lang?e.lang.split(/\s+/):[];a.length>0&&(n.className=["language-"+a[0]]);let i={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return e.meta&&(i.data={meta:e.meta}),t.patch(e,i),i=t.applyData(e,i),i={type:"element",tagName:"pre",properties:{},children:[i]},t.patch(e,i),i}function pY(t,e){const r={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function mY(t,e){const r={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function gY(t,e){const r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",n=String(e.identifier).toUpperCase(),a=Yn(n.toLowerCase()),i=t.footnoteOrder.indexOf(n);let s,o=t.footnoteCounts.get(n);o===void 0?(o=0,t.footnoteOrder.push(n),s=t.footnoteOrder.length):s=i+1,o+=1,t.footnoteCounts.set(n,o);const l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};t.patch(e,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function OY(t,e){const r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function yY(t,e){if(t.options.allowDangerousHtml){const r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function _g(t,e){const r=e.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+n}];const a=t.all(e),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const s=a[a.length-1];return s&&s.type==="text"?s.value+=n:a.push({type:"text",value:n}),a}function kY(t,e){const r=String(e.identifier).toUpperCase(),n=t.definitionById.get(r);if(!n)return _g(t,e);const a={src:Yn(n.url||""),alt:e.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"img",properties:a,children:[]};return t.patch(e,i),t.applyData(e,i)}function bY(t,e){const r={src:Yn(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);const n={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,n),t.applyData(e,n)}function _Y(t,e){const r={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(e,n),t.applyData(e,n)}function wY(t,e){const r=String(e.identifier).toUpperCase(),n=t.definitionById.get(r);if(!n)return _g(t,e);const a={href:Yn(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"a",properties:a,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function SY(t,e){const r={href:Yn(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);const n={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function xY(t,e,r){const n=t.all(e),a=r?TY(r):wg(e),i={},s=[];if(typeof e.checked=="boolean"){const u=n[0];let h;u&&u.type==="element"&&u.tagName==="p"?h=u:(h={type:"element",tagName:"p",properties:{},children:[]},n.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<n.length;){const u=n[o];(a||o!==0||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
31
- `}),u.type==="element"&&u.tagName==="p"&&!a?s.push(...u.children):s.push(u)}const l=n[n.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
32
- `});const c={type:"element",tagName:"li",properties:i,children:s};return t.patch(e,c),t.applyData(e,c)}function TY(t){let e=!1;if(t.type==="list"){e=t.spread||!1;const r=t.children;let n=-1;for(;!e&&++n<r.length;)e=wg(r[n])}return e}function wg(t){const e=t.spread;return e??t.children.length>1}function EY(t,e){const r={},n=t.all(e);let a=-1;for(typeof e.start=="number"&&e.start!==1&&(r.start=e.start);++a<n.length;){const s=n[a];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const i={type:"element",tagName:e.ordered?"ol":"ul",properties:r,children:t.wrap(n,!0)};return t.patch(e,i),t.applyData(e,i)}function AY(t,e){const r={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function CY(t,e){const r={type:"root",children:t.wrap(t.all(e))};return t.patch(e,r),t.applyData(e,r)}function PY(t,e){const r={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}const Js=Sg("end"),br=Sg("start");function Sg(t){return e;function e(r){const n=r&&r.position&&r.position[t]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function xg(t){const e=br(t),r=Js(t);if(e&&r)return{start:e,end:r}}function vY(t,e){const r=t.all(e),n=r.shift(),a=[];if(n){const s={type:"element",tagName:"thead",properties:{},children:t.wrap([n],!0)};t.patch(e.children[0],s),a.push(s)}if(r.length>0){const s={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},o=br(e.children[1]),l=Js(e.children[e.children.length-1]);o&&l&&(s.position={start:o,end:l}),a.push(s)}const i={type:"element",tagName:"table",properties:{},children:t.wrap(a,!0)};return t.patch(e,i),t.applyData(e,i)}function DY(t,e,r){const n=r?r.children:void 0,i=(n?n.indexOf(e):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,o=s?s.length:e.children.length;let l=-1;const c=[];for(;++l<o;){const h=e.children[l],f={},d=s?s[l]:void 0;d&&(f.align=d);let g={type:"element",tagName:i,properties:f,children:[]};h&&(g.children=t.all(h),t.patch(h,g),g=t.applyData(h,g)),c.push(g)}const u={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,u),t.applyData(e,u)}function QY(t,e){const r={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}const Cf=9,Pf=32;function zY(t){const e=String(t),r=/\r?\n|\r/g;let n=r.exec(e),a=0;const i=[];for(;n;)i.push(vf(e.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(e);return i.push(vf(e.slice(a),a>0,!1)),i.join("")}function vf(t,e,r){let n=0,a=t.length;if(e){let i=t.codePointAt(n);for(;i===Cf||i===Pf;)n++,i=t.codePointAt(n)}if(r){let i=t.codePointAt(a-1);for(;i===Cf||i===Pf;)a--,i=t.codePointAt(a-1)}return a>n?t.slice(n,a):""}function IY(t,e){const r={type:"text",value:zY(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function LY(t,e){const r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}const RY={blockquote:hY,break:fY,code:dY,delete:pY,emphasis:mY,footnoteReference:gY,heading:OY,html:yY,imageReference:kY,image:bY,inlineCode:_Y,linkReference:wY,link:SY,listItem:xY,list:EY,paragraph:AY,root:CY,strong:PY,table:vY,tableCell:QY,tableRow:DY,text:IY,thematicBreak:LY,toml:Ni,yaml:Ni,definition:Ni,footnoteDefinition:Ni};function Ni(){}const Tg=-1,eo=0,Ca=1,_s=2,gu=3,Ou=4,yu=5,ku=6,Eg=7,Ag=8,Df=typeof self=="object"?self:globalThis,NY=(t,e)=>{const r=(a,i)=>(t.set(i,a),a),n=a=>{if(t.has(a))return t.get(a);const[i,s]=e[a];switch(i){case eo:case Tg:return r(s,a);case Ca:{const o=r([],a);for(const l of s)o.push(n(l));return o}case _s:{const o=r({},a);for(const[l,c]of s)o[n(l)]=n(c);return o}case gu:return r(new Date(s),a);case Ou:{const{source:o,flags:l}=s;return r(new RegExp(o,l),a)}case yu:{const o=r(new Map,a);for(const[l,c]of s)o.set(n(l),n(c));return o}case ku:{const o=r(new Set,a);for(const l of s)o.add(n(l));return o}case Eg:{const{name:o,message:l}=s;return r(new Df[o](l),a)}case Ag:return r(BigInt(s),a);case"BigInt":return r(Object(BigInt(s)),a);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:o}=new Uint8Array(s);return r(new DataView(o),s)}}return r(new Df[i](s),a)};return n},Qf=t=>NY(new Map,t)(0),kn="",{toString:$Y}={},{keys:MY}=Object,la=t=>{const e=typeof t;if(e!=="object"||!t)return[eo,e];const r=$Y.call(t).slice(8,-1);switch(r){case"Array":return[Ca,kn];case"Object":return[_s,kn];case"Date":return[gu,kn];case"RegExp":return[Ou,kn];case"Map":return[yu,kn];case"Set":return[ku,kn];case"DataView":return[Ca,r]}return r.includes("Array")?[Ca,r]:r.includes("Error")?[Eg,r]:[_s,r]},$i=([t,e])=>t===eo&&(e==="function"||e==="symbol"),FY=(t,e,r,n)=>{const a=(s,o)=>{const l=n.push(s)-1;return r.set(o,l),l},i=s=>{if(r.has(s))return r.get(s);let[o,l]=la(s);switch(o){case eo:{let u=s;switch(l){case"bigint":o=Ag,u=s.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return a([Tg],s)}return a([o,u],s)}case Ca:{if(l){let f=s;return l==="DataView"?f=new Uint8Array(s.buffer):l==="ArrayBuffer"&&(f=new Uint8Array(s)),a([l,[...f]],s)}const u=[],h=a([o,u],s);for(const f of s)u.push(i(f));return h}case _s:{if(l)switch(l){case"BigInt":return a([l,s.toString()],s);case"Boolean":case"Number":case"String":return a([l,s.valueOf()],s)}if(e&&"toJSON"in s)return i(s.toJSON());const u=[],h=a([o,u],s);for(const f of MY(s))(t||!$i(la(s[f])))&&u.push([i(f),i(s[f])]);return h}case gu:return a([o,s.toISOString()],s);case Ou:{const{source:u,flags:h}=s;return a([o,{source:u,flags:h}],s)}case yu:{const u=[],h=a([o,u],s);for(const[f,d]of s)(t||!($i(la(f))||$i(la(d))))&&u.push([i(f),i(d)]);return h}case ku:{const u=[],h=a([o,u],s);for(const f of s)(t||!$i(la(f)))&&u.push(i(f));return h}}const{message:c}=s;return a([o,{name:l,message:c}],s)};return i},zf=(t,{json:e,lossy:r}={})=>{const n=[];return FY(!(e||r),!!e,new Map,n)(t),n},Ir=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?Qf(zf(t,e)):structuredClone(t):(t,e)=>Qf(zf(t,e));function BY(t,e){const r=[{type:"text",value:"↩"}];return e>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),r}function qY(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function XY(t){const e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||BY,n=t.options.footnoteBackLabel||qY,a=t.options.footnoteLabel||"Footnotes",i=t.options.footnoteLabelTagName||"h2",s=t.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<t.footnoteOrder.length;){const c=t.footnoteById.get(t.footnoteOrder[l]);if(!c)continue;const u=t.all(c),h=String(c.identifier).toUpperCase(),f=Yn(h.toLowerCase());let d=0;const g=[],O=t.footnoteCounts.get(h);for(;O!==void 0&&++d<=O;){g.length>0&&g.push({type:"text",value:" "});let w=typeof r=="string"?r:r(l,d);typeof w=="string"&&(w={type:"text",value:w}),g.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+f+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(l,d),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const k=u[u.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const w=k.children[k.children.length-1];w&&w.type==="text"?w.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...g)}else u.push(...g);const y={type:"element",tagName:"li",properties:{id:e+"fn-"+f},children:t.wrap(u,!0)};t.patch(c,y),o.push(y)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Ir(s),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
33
- `},{type:"element",tagName:"ol",properties:{},children:t.wrap(o,!0)},{type:"text",value:`
34
- `}]}}const Jl={}.hasOwnProperty,jY={};function ZY(t,e){const r=e||jY,n=new Map,a=new Map,i=new Map,s={...RY,...r.handlers},o={all:c,applyData:YY,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:s,one:l,options:r,patch:UY,wrap:VY};return Ft(t,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){const h=u.type==="definition"?n:a,f=String(u.identifier).toUpperCase();h.has(f)||h.set(f,u)}}),o;function l(u,h){const f=u.type,d=o.handlers[f];if(Jl.call(o.handlers,f)&&d)return d(o,u,h);if(o.options.passThrough&&o.options.passThrough.includes(f)){if("children"in u){const{children:O,...k}=u,y=Ir(k);return y.children=o.all(u),y}return Ir(u)}return(o.options.unknownHandler||HY)(o,u,h)}function c(u){const h=[];if("children"in u){const f=u.children;let d=-1;for(;++d<f.length;){const g=o.one(f[d],u);if(g){if(d&&f[d-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=If(g.value)),!Array.isArray(g)&&g.type==="element")){const O=g.children[0];O&&O.type==="text"&&(O.value=If(O.value))}Array.isArray(g)?h.push(...g):h.push(g)}}}return h}}function UY(t,e){t.position&&(e.position=xg(t))}function YY(t,e){let r=e;if(t&&t.data){const n=t.data.hName,a=t.data.hChildren,i=t.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const s="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:s}}r.type==="element"&&i&&Object.assign(r.properties,Ir(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function HY(t,e){const r=e.data||{},n="value"in e&&!(Jl.call(r,"hProperties")||Jl.call(r,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function VY(t,e){const r=[];let n=-1;for(e&&r.push({type:"text",value:`
35
- `});++n<t.length;)n&&r.push({type:"text",value:`
36
- `}),r.push(t[n]);return e&&t.length>0&&r.push({type:"text",value:`
37
- `}),r}function If(t){let e=0,r=t.charCodeAt(e);for(;r===9||r===32;)e++,r=t.charCodeAt(e);return t.slice(e)}function Lf(t,e){const r=ZY(t,e),n=r.one(t,void 0),a=XY(r),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
38
- `},a),i}function WY(t,e){return t&&"run"in t?async function(r,n){const a=Lf(r,{file:n,...e});await t.run(a,n)}:function(r,n){return Lf(r,{file:n,...t||e})}}let mi=class{constructor(e,r,n){this.normal=r,this.property=e,n&&(this.space=n)}};mi.prototype.normal={};mi.prototype.property={};mi.prototype.space=void 0;function Cg(t,e){const r={},n={};for(const a of t)Object.assign(r,a.property),Object.assign(n,a.normal);return new mi(r,n,e)}function Za(t){return t.toLowerCase()}class dt{constructor(e,r){this.attribute=r,this.property=e}}dt.prototype.attribute="";dt.prototype.booleanish=!1;dt.prototype.boolean=!1;dt.prototype.commaOrSpaceSeparated=!1;dt.prototype.commaSeparated=!1;dt.prototype.defined=!1;dt.prototype.mustUseProperty=!1;dt.prototype.number=!1;dt.prototype.overloadedBoolean=!1;dt.prototype.property="";dt.prototype.spaceSeparated=!1;dt.prototype.space=void 0;let GY=0;const fe=fn(),$e=fn(),ec=fn(),U=fn(),Ce=fn(),En=fn(),yt=fn();function fn(){return 2**++GY}const tc=Object.freeze(Object.defineProperty({__proto__:null,boolean:fe,booleanish:$e,commaOrSpaceSeparated:yt,commaSeparated:En,number:U,overloadedBoolean:ec,spaceSeparated:Ce},Symbol.toStringTag,{value:"Module"})),tl=Object.keys(tc);class bu extends dt{constructor(e,r,n,a){let i=-1;if(super(e,r),Rf(this,"space",a),typeof n=="number")for(;++i<tl.length;){const s=tl[i];Rf(this,tl[i],(n&tc[s])===tc[s])}}}bu.prototype.defined=!0;function Rf(t,e,r){r&&(t[e]=r)}function Hn(t){const e={},r={};for(const[n,a]of Object.entries(t.properties)){const i=new bu(n,t.transform(t.attributes||{},n),a,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),e[n]=i,r[Za(n)]=n,r[Za(i.attribute)]=n}return new mi(e,r,t.space)}const Pg=Hn({properties:{ariaActiveDescendant:null,ariaAtomic:$e,ariaAutoComplete:null,ariaBusy:$e,ariaChecked:$e,ariaColCount:U,ariaColIndex:U,ariaColSpan:U,ariaControls:Ce,ariaCurrent:null,ariaDescribedBy:Ce,ariaDetails:null,ariaDisabled:$e,ariaDropEffect:Ce,ariaErrorMessage:null,ariaExpanded:$e,ariaFlowTo:Ce,ariaGrabbed:$e,ariaHasPopup:null,ariaHidden:$e,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ce,ariaLevel:U,ariaLive:null,ariaModal:$e,ariaMultiLine:$e,ariaMultiSelectable:$e,ariaOrientation:null,ariaOwns:Ce,ariaPlaceholder:null,ariaPosInSet:U,ariaPressed:$e,ariaReadOnly:$e,ariaRelevant:null,ariaRequired:$e,ariaRoleDescription:Ce,ariaRowCount:U,ariaRowIndex:U,ariaRowSpan:U,ariaSelected:$e,ariaSetSize:U,ariaSort:null,ariaValueMax:U,ariaValueMin:U,ariaValueNow:U,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function vg(t,e){return e in t?t[e]:e}function Dg(t,e){return vg(t,e.toLowerCase())}const KY=Hn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:En,acceptCharset:Ce,accessKey:Ce,action:null,allow:null,allowFullScreen:fe,allowPaymentRequest:fe,allowUserMedia:fe,alt:null,as:null,async:fe,autoCapitalize:null,autoComplete:Ce,autoFocus:fe,autoPlay:fe,blocking:Ce,capture:null,charSet:null,checked:fe,cite:null,className:Ce,cols:U,colSpan:null,content:null,contentEditable:$e,controls:fe,controlsList:Ce,coords:U|En,crossOrigin:null,data:null,dateTime:null,decoding:null,default:fe,defer:fe,dir:null,dirName:null,disabled:fe,download:ec,draggable:$e,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:fe,formTarget:null,headers:Ce,height:U,hidden:ec,high:U,href:null,hrefLang:null,htmlFor:Ce,httpEquiv:Ce,id:null,imageSizes:null,imageSrcSet:null,inert:fe,inputMode:null,integrity:null,is:null,isMap:fe,itemId:null,itemProp:Ce,itemRef:Ce,itemScope:fe,itemType:Ce,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:fe,low:U,manifest:null,max:null,maxLength:U,media:null,method:null,min:null,minLength:U,multiple:fe,muted:fe,name:null,nonce:null,noModule:fe,noValidate:fe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:fe,optimum:U,pattern:null,ping:Ce,placeholder:null,playsInline:fe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:fe,referrerPolicy:null,rel:Ce,required:fe,reversed:fe,rows:U,rowSpan:U,sandbox:Ce,scope:null,scoped:fe,seamless:fe,selected:fe,shadowRootClonable:fe,shadowRootDelegatesFocus:fe,shadowRootMode:null,shape:null,size:U,sizes:null,slot:null,span:U,spellCheck:$e,src:null,srcDoc:null,srcLang:null,srcSet:null,start:U,step:null,style:null,tabIndex:U,target:null,title:null,translate:null,type:null,typeMustMatch:fe,useMap:null,value:$e,width:U,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ce,axis:null,background:null,bgColor:null,border:U,borderColor:null,bottomMargin:U,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:fe,declare:fe,event:null,face:null,frame:null,frameBorder:null,hSpace:U,leftMargin:U,link:null,longDesc:null,lowSrc:null,marginHeight:U,marginWidth:U,noResize:fe,noHref:fe,noShade:fe,noWrap:fe,object:null,profile:null,prompt:null,rev:null,rightMargin:U,rules:null,scheme:null,scrolling:$e,standby:null,summary:null,text:null,topMargin:U,valueType:null,version:null,vAlign:null,vLink:null,vSpace:U,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:fe,disableRemotePlayback:fe,prefix:null,property:null,results:U,security:null,unselectable:null},space:"html",transform:Dg}),JY=Hn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:yt,accentHeight:U,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:U,amplitude:U,arabicForm:null,ascent:U,attributeName:null,attributeType:null,azimuth:U,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:U,by:null,calcMode:null,capHeight:U,className:Ce,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:U,diffuseConstant:U,direction:null,display:null,dur:null,divisor:U,dominantBaseline:null,download:fe,dx:null,dy:null,edgeMode:null,editable:null,elevation:U,enableBackground:null,end:null,event:null,exponent:U,externalResourcesRequired:null,fill:null,fillOpacity:U,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:En,g2:En,glyphName:En,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:U,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:U,horizOriginX:U,horizOriginY:U,id:null,ideographic:U,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:U,k:U,k1:U,k2:U,k3:U,k4:U,kernelMatrix:yt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:U,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:U,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:U,overlineThickness:U,paintOrder:null,panose1:null,path:null,pathLength:U,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ce,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:U,pointsAtY:U,pointsAtZ:U,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:yt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:yt,rev:yt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:yt,requiredFeatures:yt,requiredFonts:yt,requiredFormats:yt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:U,specularExponent:U,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:U,strikethroughThickness:U,string:null,stroke:null,strokeDashArray:yt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:U,strokeOpacity:U,strokeWidth:null,style:null,surfaceScale:U,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:yt,tabIndex:U,tableValues:null,target:null,targetX:U,targetY:U,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:yt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:U,underlineThickness:U,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:U,values:null,vAlphabetic:U,vMathematical:U,vectorEffect:null,vHanging:U,vIdeographic:U,version:null,vertAdvY:U,vertOriginX:U,vertOriginY:U,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:U,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:vg}),Qg=Hn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),zg=Hn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Dg}),Ig=Hn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),eH=/[A-Z]/g,Nf=/-[a-z]/g,tH=/^data[-\w.:]+$/i;function to(t,e){const r=Za(e);let n=e,a=dt;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&tH.test(e)){if(e.charAt(4)==="-"){const i=e.slice(5).replace(Nf,nH);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=e.slice(4);if(!Nf.test(i)){let s=i.replace(eH,rH);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}a=bu}return new a(n,e)}function rH(t){return"-"+t.toLowerCase()}function nH(t){return t.charAt(1).toUpperCase()}const gi=Cg([Pg,KY,Qg,zg,Ig],"html"),dn=Cg([Pg,JY,Qg,zg,Ig],"svg");function $f(t){const e=[],r=String(t||"");let n=r.indexOf(","),a=0,i=!1;for(;!i;){n===-1&&(n=r.length,i=!0);const s=r.slice(a,n).trim();(s||!i)&&e.push(s),a=n+1,n=r.indexOf(",",a)}return e}function Lg(t,e){const r=e||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Mf=/[#.]/g;function aH(t,e){const r=t||"",n={};let a=0,i,s;for(;a<r.length;){Mf.lastIndex=a;const o=Mf.exec(r),l=r.slice(a,o?o.index:r.length);l&&(i?i==="#"?n.id=l:Array.isArray(n.className)?n.className.push(l):n.className=[l]:s=l,a+=l.length),o&&(i=o[0],a++)}return{type:"element",tagName:s||e||"div",properties:n,children:[]}}function Ff(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function Rg(t){return t.join(" ").trim()}function Ng(t,e,r){const n=r?lH(r):void 0;function a(i,s,...o){let l;if(i==null){l={type:"root",children:[]};const c=s;o.unshift(c)}else{l=aH(i,e);const c=l.tagName.toLowerCase(),u=n?n.get(c):void 0;if(l.tagName=u||c,iH(s))o.unshift(s);else for(const[h,f]of Object.entries(s))sH(t,l.properties,h,f)}for(const c of o)rc(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function iH(t){if(t===null||typeof t!="object"||Array.isArray(t))return!0;if(typeof t.type!="string")return!1;const e=t,r=Object.keys(t);for(const n of r){const a=e[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const s of i)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in t&&Array.isArray(t.children))}function sH(t,e,r,n){const a=to(t,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=Ff(n):a.commaSeparated?i=$f(n):a.commaOrSpaceSeparated?i=Ff($f(n).join(" ")):i=Bf(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?oH(n):String(n);if(Array.isArray(i)){const s=[];for(const o of i)s.push(Bf(a,a.property,o));i=s}a.property==="className"&&Array.isArray(e.className)&&(i=e.className.concat(i)),e[a.property]=i}}function rc(t,e){if(e!=null)if(typeof e=="number"||typeof e=="string")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(const r of e)rc(t,r);else if(typeof e=="object"&&"type"in e)e.type==="root"?rc(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function Bf(t,e,r){if(typeof r=="string"){if(t.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((t.boolean||t.overloadedBoolean)&&(r===""||Za(r)===Za(e)))return!0}return r}function oH(t){const e=[];for(const[r,n]of Object.entries(t))e.push([r,n].join(": "));return e.join("; ")}function lH(t){const e=new Map;for(const r of t)e.set(r.toLowerCase(),r);return e}const cH=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],$g=Ng(gi,"div"),Mg=Ng(dn,"g",cH);function uH(t){const e=String(t),r=[];return{toOffset:a,toPoint:n};function n(i){if(typeof i=="number"&&i>-1&&i<=e.length){let s=0;for(;;){let o=r[s];if(o===void 0){const l=qf(e,r[s-1]);o=l===-1?e.length+1:l+1,r[s]=o}if(o>i)return{line:s+1,column:i-(s>0?r[s-1]:0)+1,offset:i};s++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;r.length<i.line;){const o=r[r.length-1],l=qf(e,o),c=l===-1?e.length+1:l+1;if(o===c)break;r.push(c)}const s=(i.line>1?r[i.line-2]:0)+i.column-1;if(s<r[i.line-1])return s}}}function qf(t,e){const r=t.indexOf("\r",e),n=t.indexOf(`
39
- `,e);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const Jt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Fg={}.hasOwnProperty,hH=Object.prototype;function fH(t,e){const r=e||{};return _u({file:r.file||void 0,location:!1,schema:r.space==="svg"?dn:gi,verbose:r.verbose||!1},t)}function _u(t,e){let r;switch(e.nodeName){case"#comment":{const n=e;return r={type:"comment",value:n.data},cs(t,n,r),r}case"#document":case"#document-fragment":{const n=e,a="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:Bg(t,e.childNodes),data:{quirksMode:a}},t.file&&t.location){const i=String(t.file),s=uH(i),o=s.toPoint(0),l=s.toPoint(i.length);r.position={start:o,end:l}}return r}case"#documentType":{const n=e;return r={type:"doctype"},cs(t,n,r),r}case"#text":{const n=e;return r={type:"text",value:n.value},cs(t,n,r),r}default:return r=dH(t,e),r}}function Bg(t,e){let r=-1;const n=[];for(;++r<e.length;){const a=_u(t,e[r]);n.push(a)}return n}function dH(t,e){const r=t.schema;t.schema=e.namespaceURI===Jt.svg?dn:gi;let n=-1;const a={};for(;++n<e.attrs.length;){const o=e.attrs[n],l=(o.prefix?o.prefix+":":"")+o.name;Fg.call(hH,l)||(a[l]=o.value)}const s=(t.schema.space==="svg"?Mg:$g)(e.tagName,a,Bg(t,e.childNodes));if(cs(t,e,s),s.tagName==="template"){const o=e,l=o.sourceCodeLocation,c=l&&l.startTag&&wn(l.startTag),u=l&&l.endTag&&wn(l.endTag),h=_u(t,o.content);c&&u&&t.file&&(h.position={start:c.end,end:u.start}),s.content=h}return t.schema=r,s}function cs(t,e,r){if("sourceCodeLocation"in e&&e.sourceCodeLocation&&t.file){const n=pH(t,r,e.sourceCodeLocation);n&&(t.location=!0,r.position=n)}}function pH(t,e,r){const n=wn(r);if(e.type==="element"){const a=e.children[e.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),t.verbose){const i={};let s;if(r.attrs)for(s in r.attrs)Fg.call(r.attrs,s)&&(i[to(t.schema,s).property]=wn(r.attrs[s]));r.startTag;const o=wn(r.startTag),l=r.endTag?wn(r.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,e.data={position:c}}}return n}function wn(t){const e=Xf({line:t.startLine,column:t.startCol,offset:t.startOffset}),r=Xf({line:t.endLine,column:t.endCol,offset:t.endOffset});return e||r?{start:e,end:r}:void 0}function Xf(t){return t.line&&t.column?t:void 0}const mH={},gH={}.hasOwnProperty,qg=su("type",{handlers:{root:yH,element:SH,text:_H,comment:wH,doctype:bH}});function OH(t,e){const n=(e||mH).space;return qg(t,n==="svg"?dn:gi)}function yH(t,e){const r={nodeName:"#document",mode:(t.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=wu(t.children,r,e),Vn(t,r),r}function kH(t,e){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=wu(t.children,r,e),Vn(t,r),r}function bH(t){const e={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Vn(t,e),e}function _H(t){const e={nodeName:"#text",value:t.value,parentNode:null};return Vn(t,e),e}function wH(t){const e={nodeName:"#comment",data:t.value,parentNode:null};return Vn(t,e),e}function SH(t,e){const r=e;let n=r;t.type==="element"&&t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=dn);const a=[];let i;if(t.properties){for(i in t.properties)if(i!=="children"&&gH.call(t.properties,i)){const l=xH(n,i,t.properties[i]);l&&a.push(l)}}const s=n.space,o={nodeName:t.tagName,tagName:t.tagName,attrs:a,namespaceURI:Jt[s],childNodes:[],parentNode:null};return o.childNodes=wu(t.children,o,n),Vn(t,o),t.tagName==="template"&&t.content&&(o.content=kH(t.content,n)),o}function xH(t,e,r){const n=to(t,e);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?Lg(r):Rg(r));const a={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=n.attribute.slice(0,i)),a.namespace=Jt[n.space]}return a}function wu(t,e,r){let n=-1;const a=[];if(t)for(;++n<t.length;){const i=qg(t[n],r);i.parentNode=e,a.push(i)}return a}function Vn(t,e){const r=t.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,e.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const Xg=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],TH=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Qe="�";var b;(function(t){t[t.EOF=-1]="EOF",t[t.NULL=0]="NULL",t[t.TABULATION=9]="TABULATION",t[t.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",t[t.LINE_FEED=10]="LINE_FEED",t[t.FORM_FEED=12]="FORM_FEED",t[t.SPACE=32]="SPACE",t[t.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",t[t.QUOTATION_MARK=34]="QUOTATION_MARK",t[t.AMPERSAND=38]="AMPERSAND",t[t.APOSTROPHE=39]="APOSTROPHE",t[t.HYPHEN_MINUS=45]="HYPHEN_MINUS",t[t.SOLIDUS=47]="SOLIDUS",t[t.DIGIT_0=48]="DIGIT_0",t[t.DIGIT_9=57]="DIGIT_9",t[t.SEMICOLON=59]="SEMICOLON",t[t.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",t[t.EQUALS_SIGN=61]="EQUALS_SIGN",t[t.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",t[t.QUESTION_MARK=63]="QUESTION_MARK",t[t.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",t[t.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",t[t.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",t[t.GRAVE_ACCENT=96]="GRAVE_ACCENT",t[t.LATIN_SMALL_A=97]="LATIN_SMALL_A",t[t.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(b||(b={}));const ot={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function jg(t){return t>=55296&&t<=57343}function EH(t){return t>=56320&&t<=57343}function AH(t,e){return(t-55296)*1024+9216+e}function Zg(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function Ug(t){return t>=64976&&t<=65007||TH.has(t)}var L;(function(t){t.controlCharacterInInputStream="control-character-in-input-stream",t.noncharacterInInputStream="noncharacter-in-input-stream",t.surrogateInInputStream="surrogate-in-input-stream",t.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",t.endTagWithAttributes="end-tag-with-attributes",t.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",t.unexpectedSolidusInTag="unexpected-solidus-in-tag",t.unexpectedNullCharacter="unexpected-null-character",t.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",t.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",t.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",t.missingEndTagName="missing-end-tag-name",t.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",t.unknownNamedCharacterReference="unknown-named-character-reference",t.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",t.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",t.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",t.eofBeforeTagName="eof-before-tag-name",t.eofInTag="eof-in-tag",t.missingAttributeValue="missing-attribute-value",t.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",t.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",t.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",t.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",t.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",t.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",t.missingDoctypePublicIdentifier="missing-doctype-public-identifier",t.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",t.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",t.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",t.cdataInHtmlContent="cdata-in-html-content",t.incorrectlyOpenedComment="incorrectly-opened-comment",t.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",t.eofInDoctype="eof-in-doctype",t.nestedComment="nested-comment",t.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",t.eofInComment="eof-in-comment",t.incorrectlyClosedComment="incorrectly-closed-comment",t.eofInCdata="eof-in-cdata",t.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",t.nullCharacterReference="null-character-reference",t.surrogateCharacterReference="surrogate-character-reference",t.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",t.controlCharacterReference="control-character-reference",t.noncharacterCharacterReference="noncharacter-character-reference",t.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",t.missingDoctypeName="missing-doctype-name",t.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",t.duplicateAttribute="duplicate-attribute",t.nonConformingDoctype="non-conforming-doctype",t.missingDoctype="missing-doctype",t.misplacedDoctype="misplaced-doctype",t.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",t.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",t.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",t.openElementsLeftAfterEof="open-elements-left-after-eof",t.abandonedHeadElementChild="abandoned-head-element-child",t.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",t.nestedNoscriptInHead="nested-noscript-in-head",t.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(L||(L={}));const CH=65536;class PH{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=CH,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,r){const{line:n,col:a,offset:i}=this,s=a+r,o=i+r;return{code:e,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(EH(r))return this.pos++,this._addGap(),AH(e,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,b.EOF;return this._err(L.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,r){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,r){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(e,this.pos);for(let n=0;n<e.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==e.charCodeAt(n))return!1;return!0}peek(e){const r=this.pos+e;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,b.EOF;const n=this.html.charCodeAt(r);return n===b.CARRIAGE_RETURN?b.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,b.EOF;let e=this.html.charCodeAt(this.pos);return e===b.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,b.LINE_FEED):e===b.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,jg(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===b.LINE_FEED||e===b.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Zg(e)?this._err(L.controlCharacterInInputStream):Ug(e)&&this._err(L.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var me;(function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"})(me||(me={}));function Yg(t,e){for(let r=t.attrs.length-1;r>=0;r--)if(t.attrs[r].name===e)return t.attrs[r].value;return null}const vH=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),DH=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function QH(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=DH.get(t))!==null&&e!==void 0?e:t}var je;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(je||(je={}));const zH=32;var Dr;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Dr||(Dr={}));function nc(t){return t>=je.ZERO&&t<=je.NINE}function IH(t){return t>=je.UPPER_A&&t<=je.UPPER_F||t>=je.LOWER_A&&t<=je.LOWER_F}function LH(t){return t>=je.UPPER_A&&t<=je.UPPER_Z||t>=je.LOWER_A&&t<=je.LOWER_Z||nc(t)}function RH(t){return t===je.EQUALS||LH(t)}var Xe;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(Xe||(Xe={}));var hr;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(hr||(hr={}));class NH{constructor(e,r,n){this.decodeTree=e,this.emitCodePoint=r,this.errors=n,this.state=Xe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=hr.Strict}startEntity(e){this.decodeMode=e,this.state=Xe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case Xe.EntityStart:return e.charCodeAt(r)===je.NUM?(this.state=Xe.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=Xe.NamedEntity,this.stateNamedEntity(e,r));case Xe.NumericStart:return this.stateNumericStart(e,r);case Xe.NumericDecimal:return this.stateNumericDecimal(e,r);case Xe.NumericHex:return this.stateNumericHex(e,r);case Xe.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|zH)===je.LOWER_X?(this.state=Xe.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=Xe.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(e.substr(r,i),a),this.consumed+=i}}stateNumericHex(e,r){const n=r;for(;r<e.length;){const a=e.charCodeAt(r);if(nc(a)||IH(a))r+=1;else return this.addToNumericResult(e,n,r,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(e,n,r,16),-1}stateNumericDecimal(e,r){const n=r;for(;r<e.length;){const a=e.charCodeAt(r);if(nc(a))r+=1;else return this.addToNumericResult(e,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(e,n,r,10),-1}emitNumericEntity(e,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===je.SEMI)this.consumed+=1;else if(this.decodeMode===hr.Strict)return 0;return this.emitCodePoint(QH(this.result),this.consumed),this.errors&&(e!==je.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&Dr.VALUE_LENGTH)>>14;for(;r<e.length;r++,this.excess++){const s=e.charCodeAt(r);if(this.treeIndex=$H(n,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===hr.Attribute&&(i===0||RH(s))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&Dr.VALUE_LENGTH)>>14,i!==0){if(s===je.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==hr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:r,decodeTree:n}=this,a=(n[r]&Dr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,n){const{decodeTree:a}=this;return this.emitCodePoint(r===1?a[e]&~Dr.VALUE_LENGTH:a[e+1],n),r===3&&this.emitCodePoint(a[e+2],n),n}end(){var e;switch(this.state){case Xe.NamedEntity:return this.result!==0&&(this.decodeMode!==hr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Xe.NumericDecimal:return this.emitNumericEntity(0,2);case Xe.NumericHex:return this.emitNumericEntity(0,3);case Xe.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Xe.EntityStart:return 0}}}function $H(t,e,r,n){const a=(e&Dr.BRANCH_LENGTH)>>7,i=e&Dr.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const l=n-i;return l<0||l>=a?-1:t[r+l]-1}let s=r,o=s+a-1;for(;s<=o;){const l=s+o>>>1,c=t[l];if(c<n)s=l+1;else if(c>n)o=l-1;else return t[l+a]}return-1}var X;(function(t){t.HTML="http://www.w3.org/1999/xhtml",t.MATHML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLINK="http://www.w3.org/1999/xlink",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/"})(X||(X={}));var tn;(function(t){t.TYPE="type",t.ACTION="action",t.ENCODING="encoding",t.PROMPT="prompt",t.NAME="name",t.COLOR="color",t.FACE="face",t.SIZE="size"})(tn||(tn={}));var At;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(At||(At={}));var z;(function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SEARCH="search",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"})(z||(z={}));var p;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SEARCH=94]="SEARCH",t[t.SECTION=95]="SECTION",t[t.SELECT=96]="SELECT",t[t.SOURCE=97]="SOURCE",t[t.SMALL=98]="SMALL",t[t.SPAN=99]="SPAN",t[t.STRIKE=100]="STRIKE",t[t.STRONG=101]="STRONG",t[t.STYLE=102]="STYLE",t[t.SUB=103]="SUB",t[t.SUMMARY=104]="SUMMARY",t[t.SUP=105]="SUP",t[t.TABLE=106]="TABLE",t[t.TBODY=107]="TBODY",t[t.TEMPLATE=108]="TEMPLATE",t[t.TEXTAREA=109]="TEXTAREA",t[t.TFOOT=110]="TFOOT",t[t.TD=111]="TD",t[t.TH=112]="TH",t[t.THEAD=113]="THEAD",t[t.TITLE=114]="TITLE",t[t.TR=115]="TR",t[t.TRACK=116]="TRACK",t[t.TT=117]="TT",t[t.U=118]="U",t[t.UL=119]="UL",t[t.SVG=120]="SVG",t[t.VAR=121]="VAR",t[t.WBR=122]="WBR",t[t.XMP=123]="XMP"})(p||(p={}));const MH=new Map([[z.A,p.A],[z.ADDRESS,p.ADDRESS],[z.ANNOTATION_XML,p.ANNOTATION_XML],[z.APPLET,p.APPLET],[z.AREA,p.AREA],[z.ARTICLE,p.ARTICLE],[z.ASIDE,p.ASIDE],[z.B,p.B],[z.BASE,p.BASE],[z.BASEFONT,p.BASEFONT],[z.BGSOUND,p.BGSOUND],[z.BIG,p.BIG],[z.BLOCKQUOTE,p.BLOCKQUOTE],[z.BODY,p.BODY],[z.BR,p.BR],[z.BUTTON,p.BUTTON],[z.CAPTION,p.CAPTION],[z.CENTER,p.CENTER],[z.CODE,p.CODE],[z.COL,p.COL],[z.COLGROUP,p.COLGROUP],[z.DD,p.DD],[z.DESC,p.DESC],[z.DETAILS,p.DETAILS],[z.DIALOG,p.DIALOG],[z.DIR,p.DIR],[z.DIV,p.DIV],[z.DL,p.DL],[z.DT,p.DT],[z.EM,p.EM],[z.EMBED,p.EMBED],[z.FIELDSET,p.FIELDSET],[z.FIGCAPTION,p.FIGCAPTION],[z.FIGURE,p.FIGURE],[z.FONT,p.FONT],[z.FOOTER,p.FOOTER],[z.FOREIGN_OBJECT,p.FOREIGN_OBJECT],[z.FORM,p.FORM],[z.FRAME,p.FRAME],[z.FRAMESET,p.FRAMESET],[z.H1,p.H1],[z.H2,p.H2],[z.H3,p.H3],[z.H4,p.H4],[z.H5,p.H5],[z.H6,p.H6],[z.HEAD,p.HEAD],[z.HEADER,p.HEADER],[z.HGROUP,p.HGROUP],[z.HR,p.HR],[z.HTML,p.HTML],[z.I,p.I],[z.IMG,p.IMG],[z.IMAGE,p.IMAGE],[z.INPUT,p.INPUT],[z.IFRAME,p.IFRAME],[z.KEYGEN,p.KEYGEN],[z.LABEL,p.LABEL],[z.LI,p.LI],[z.LINK,p.LINK],[z.LISTING,p.LISTING],[z.MAIN,p.MAIN],[z.MALIGNMARK,p.MALIGNMARK],[z.MARQUEE,p.MARQUEE],[z.MATH,p.MATH],[z.MENU,p.MENU],[z.META,p.META],[z.MGLYPH,p.MGLYPH],[z.MI,p.MI],[z.MO,p.MO],[z.MN,p.MN],[z.MS,p.MS],[z.MTEXT,p.MTEXT],[z.NAV,p.NAV],[z.NOBR,p.NOBR],[z.NOFRAMES,p.NOFRAMES],[z.NOEMBED,p.NOEMBED],[z.NOSCRIPT,p.NOSCRIPT],[z.OBJECT,p.OBJECT],[z.OL,p.OL],[z.OPTGROUP,p.OPTGROUP],[z.OPTION,p.OPTION],[z.P,p.P],[z.PARAM,p.PARAM],[z.PLAINTEXT,p.PLAINTEXT],[z.PRE,p.PRE],[z.RB,p.RB],[z.RP,p.RP],[z.RT,p.RT],[z.RTC,p.RTC],[z.RUBY,p.RUBY],[z.S,p.S],[z.SCRIPT,p.SCRIPT],[z.SEARCH,p.SEARCH],[z.SECTION,p.SECTION],[z.SELECT,p.SELECT],[z.SOURCE,p.SOURCE],[z.SMALL,p.SMALL],[z.SPAN,p.SPAN],[z.STRIKE,p.STRIKE],[z.STRONG,p.STRONG],[z.STYLE,p.STYLE],[z.SUB,p.SUB],[z.SUMMARY,p.SUMMARY],[z.SUP,p.SUP],[z.TABLE,p.TABLE],[z.TBODY,p.TBODY],[z.TEMPLATE,p.TEMPLATE],[z.TEXTAREA,p.TEXTAREA],[z.TFOOT,p.TFOOT],[z.TD,p.TD],[z.TH,p.TH],[z.THEAD,p.THEAD],[z.TITLE,p.TITLE],[z.TR,p.TR],[z.TRACK,p.TRACK],[z.TT,p.TT],[z.U,p.U],[z.UL,p.UL],[z.SVG,p.SVG],[z.VAR,p.VAR],[z.WBR,p.WBR],[z.XMP,p.XMP]]);function Wn(t){var e;return(e=MH.get(t))!==null&&e!==void 0?e:p.UNKNOWN}const j=p,FH={[X.HTML]:new Set([j.ADDRESS,j.APPLET,j.AREA,j.ARTICLE,j.ASIDE,j.BASE,j.BASEFONT,j.BGSOUND,j.BLOCKQUOTE,j.BODY,j.BR,j.BUTTON,j.CAPTION,j.CENTER,j.COL,j.COLGROUP,j.DD,j.DETAILS,j.DIR,j.DIV,j.DL,j.DT,j.EMBED,j.FIELDSET,j.FIGCAPTION,j.FIGURE,j.FOOTER,j.FORM,j.FRAME,j.FRAMESET,j.H1,j.H2,j.H3,j.H4,j.H5,j.H6,j.HEAD,j.HEADER,j.HGROUP,j.HR,j.HTML,j.IFRAME,j.IMG,j.INPUT,j.LI,j.LINK,j.LISTING,j.MAIN,j.MARQUEE,j.MENU,j.META,j.NAV,j.NOEMBED,j.NOFRAMES,j.NOSCRIPT,j.OBJECT,j.OL,j.P,j.PARAM,j.PLAINTEXT,j.PRE,j.SCRIPT,j.SECTION,j.SELECT,j.SOURCE,j.STYLE,j.SUMMARY,j.TABLE,j.TBODY,j.TD,j.TEMPLATE,j.TEXTAREA,j.TFOOT,j.TH,j.THEAD,j.TITLE,j.TR,j.TRACK,j.UL,j.WBR,j.XMP]),[X.MATHML]:new Set([j.MI,j.MO,j.MN,j.MS,j.MTEXT,j.ANNOTATION_XML]),[X.SVG]:new Set([j.TITLE,j.FOREIGN_OBJECT,j.DESC]),[X.XLINK]:new Set,[X.XML]:new Set,[X.XMLNS]:new Set},ac=new Set([j.H1,j.H2,j.H3,j.H4,j.H5,j.H6]);z.STYLE,z.SCRIPT,z.XMP,z.IFRAME,z.NOEMBED,z.NOFRAMES,z.PLAINTEXT;var _;(function(t){t[t.DATA=0]="DATA",t[t.RCDATA=1]="RCDATA",t[t.RAWTEXT=2]="RAWTEXT",t[t.SCRIPT_DATA=3]="SCRIPT_DATA",t[t.PLAINTEXT=4]="PLAINTEXT",t[t.TAG_OPEN=5]="TAG_OPEN",t[t.END_TAG_OPEN=6]="END_TAG_OPEN",t[t.TAG_NAME=7]="TAG_NAME",t[t.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",t[t.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",t[t.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",t[t.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",t[t.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",t[t.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",t[t.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",t[t.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",t[t.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",t[t.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",t[t.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",t[t.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",t[t.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",t[t.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",t[t.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",t[t.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",t[t.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",t[t.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",t[t.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",t[t.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",t[t.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",t[t.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",t[t.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",t[t.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",t[t.BOGUS_COMMENT=40]="BOGUS_COMMENT",t[t.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",t[t.COMMENT_START=42]="COMMENT_START",t[t.COMMENT_START_DASH=43]="COMMENT_START_DASH",t[t.COMMENT=44]="COMMENT",t[t.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",t[t.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",t[t.COMMENT_END_DASH=49]="COMMENT_END_DASH",t[t.COMMENT_END=50]="COMMENT_END",t[t.COMMENT_END_BANG=51]="COMMENT_END_BANG",t[t.DOCTYPE=52]="DOCTYPE",t[t.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",t[t.DOCTYPE_NAME=54]="DOCTYPE_NAME",t[t.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",t[t.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",t[t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",t[t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",t[t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",t[t.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",t[t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",t[t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",t[t.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",t[t.CDATA_SECTION=68]="CDATA_SECTION",t[t.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",t[t.CDATA_SECTION_END=70]="CDATA_SECTION_END",t[t.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",t[t.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(_||(_={}));const Ne={DATA:_.DATA,RCDATA:_.RCDATA,RAWTEXT:_.RAWTEXT,SCRIPT_DATA:_.SCRIPT_DATA,PLAINTEXT:_.PLAINTEXT,CDATA_SECTION:_.CDATA_SECTION};function BH(t){return t>=b.DIGIT_0&&t<=b.DIGIT_9}function _a(t){return t>=b.LATIN_CAPITAL_A&&t<=b.LATIN_CAPITAL_Z}function qH(t){return t>=b.LATIN_SMALL_A&&t<=b.LATIN_SMALL_Z}function Tr(t){return qH(t)||_a(t)}function jf(t){return Tr(t)||BH(t)}function Mi(t){return t+32}function Hg(t){return t===b.SPACE||t===b.LINE_FEED||t===b.TABULATION||t===b.FORM_FEED}function Zf(t){return Hg(t)||t===b.SOLIDUS||t===b.GREATER_THAN_SIGN}function XH(t){return t===b.NULL?L.nullCharacterReference:t>1114111?L.characterReferenceOutsideUnicodeRange:jg(t)?L.surrogateCharacterReference:Ug(t)?L.noncharacterCharacterReference:Zg(t)||t===b.CARRIAGE_RETURN?L.controlCharacterReference:null}class jH{constructor(e,r){this.options=e,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=_.DATA,this.returnState=_.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new PH(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new NH(vH,(n,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(L.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(L.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const a=XH(n);a&&this._err(a,1)}}:void 0)}_err(e,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(e,r))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,r,n){this.active=!0,this.preprocessor.write(e,r),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let r=0;r<e;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,r){return this.preprocessor.startsWith(e,r)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:me.START_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:me.END_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:me.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:me.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,r){this.currentCharacterToken={type:e,chars:r,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,r;const n=this.currentToken;if(Yg(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const a=(e=(r=n.location).attrs)!==null&&e!==void 0?e:r.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(L.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=Wn(e.tagName),e.type===me.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(L.endTagWithAttributes),e.selfClosing&&this._err(L.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case me.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case me.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case me.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:me.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,r)}_emitCodePoint(e){const r=Hg(e)?me.WHITESPACE_CHARACTER:e===b.NULL?me.NULL_CHARACTER:me.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(me.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=_.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?hr.Attribute:hr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===_.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case _.DATA:{this._stateData(e);break}case _.RCDATA:{this._stateRcdata(e);break}case _.RAWTEXT:{this._stateRawtext(e);break}case _.SCRIPT_DATA:{this._stateScriptData(e);break}case _.PLAINTEXT:{this._statePlaintext(e);break}case _.TAG_OPEN:{this._stateTagOpen(e);break}case _.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case _.TAG_NAME:{this._stateTagName(e);break}case _.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case _.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case _.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case _.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case _.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case _.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case _.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case _.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case _.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case _.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case _.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case _.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case _.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case _.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case _.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case _.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case _.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case _.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case _.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case _.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case _.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case _.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case _.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case _.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case _.BOGUS_COMMENT:{this._stateBogusComment(e);break}case _.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case _.COMMENT_START:{this._stateCommentStart(e);break}case _.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case _.COMMENT:{this._stateComment(e);break}case _.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case _.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case _.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case _.COMMENT_END:{this._stateCommentEnd(e);break}case _.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case _.DOCTYPE:{this._stateDoctype(e);break}case _.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case _.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case _.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case _.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case _.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case _.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case _.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case _.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case _.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case _.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case _.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case _.CDATA_SECTION:{this._stateCdataSection(e);break}case _.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case _.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case _.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case _.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case b.LESS_THAN_SIGN:{this.state=_.TAG_OPEN;break}case b.AMPERSAND:{this._startCharacterReference();break}case b.NULL:{this._err(L.unexpectedNullCharacter),this._emitCodePoint(e);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case b.AMPERSAND:{this._startCharacterReference();break}case b.LESS_THAN_SIGN:{this.state=_.RCDATA_LESS_THAN_SIGN;break}case b.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Qe);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case b.LESS_THAN_SIGN:{this.state=_.RAWTEXT_LESS_THAN_SIGN;break}case b.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Qe);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case b.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_LESS_THAN_SIGN;break}case b.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Qe);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case b.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Qe);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Tr(e))this._createStartTagToken(),this.state=_.TAG_NAME,this._stateTagName(e);else switch(e){case b.EXCLAMATION_MARK:{this.state=_.MARKUP_DECLARATION_OPEN;break}case b.SOLIDUS:{this.state=_.END_TAG_OPEN;break}case b.QUESTION_MARK:{this._err(L.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=_.BOGUS_COMMENT,this._stateBogusComment(e);break}case b.EOF:{this._err(L.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=_.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Tr(e))this._createEndTagToken(),this.state=_.TAG_NAME,this._stateTagName(e);else switch(e){case b.GREATER_THAN_SIGN:{this._err(L.missingEndTagName),this.state=_.DATA;break}case b.EOF:{this._err(L.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=_.BEFORE_ATTRIBUTE_NAME;break}case b.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case b.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case b.NULL:{this._err(L.unexpectedNullCharacter),r.tagName+=Qe;break}case b.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(_a(e)?Mi(e):e)}}_stateRcdataLessThanSign(e){e===b.SOLIDUS?this.state=_.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Tr(e)?(this.state=_.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=_.BEFORE_ATTRIBUTE_NAME,!1;case b.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=_.SELF_CLOSING_START_TAG,!1;case b.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=_.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===b.SOLIDUS?this.state=_.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Tr(e)?(this.state=_.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case b.SOLIDUS:{this.state=_.SCRIPT_DATA_END_TAG_OPEN;break}case b.EXCLAMATION_MARK:{this.state=_.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=_.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Tr(e)?(this.state=_.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===b.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===b.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case b.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case b.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Qe);break}case b.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case b.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case b.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(Qe);break}case b.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case b.HYPHEN_MINUS:{this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case b.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case b.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(Qe);break}case b.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===b.SOLIDUS?this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Tr(e)?(this._emitChars("<"),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Tr(e)?(this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(ot.SCRIPT,!1)&&Zf(this.preprocessor.peek(ot.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r<ot.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case b.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case b.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Qe);break}case b.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case b.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case b.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Qe);break}case b.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case b.HYPHEN_MINUS:{this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case b.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case b.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Qe);break}case b.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===b.SOLIDUS?(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(ot.SCRIPT,!1)&&Zf(this.preprocessor.peek(ot.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r<ot.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.SOLIDUS:case b.GREATER_THAN_SIGN:case b.EOF:{this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case b.EQUALS_SIGN:{this._err(L.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=_.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:case b.SOLIDUS:case b.GREATER_THAN_SIGN:case b.EOF:{this._leaveAttrName(),this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case b.EQUALS_SIGN:{this._leaveAttrName(),this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case b.QUOTATION_MARK:case b.APOSTROPHE:case b.LESS_THAN_SIGN:{this._err(L.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case b.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.name+=Qe;break}default:this.currentAttr.name+=String.fromCodePoint(_a(e)?Mi(e):e)}}_stateAfterAttributeName(e){switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case b.EQUALS_SIGN:{this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case b.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case b.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.QUOTATION_MARK:{this.state=_.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this.state=_.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(L.missingAttributeValue),this.state=_.DATA,this.emitCurrentTagToken();break}default:this.state=_.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case b.QUOTATION_MARK:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case b.AMPERSAND:{this._startCharacterReference();break}case b.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=Qe;break}case b.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case b.APOSTROPHE:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case b.AMPERSAND:{this._startCharacterReference();break}case b.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=Qe;break}case b.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case b.AMPERSAND:{this._startCharacterReference();break}case b.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case b.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=Qe;break}case b.QUOTATION_MARK:case b.APOSTROPHE:case b.LESS_THAN_SIGN:case b.EQUALS_SIGN:case b.GRAVE_ACCENT:{this._err(L.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case b.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case b.SOLIDUS:{this._leaveAttrValue(),this.state=_.SELF_CLOSING_START_TAG;break}case b.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case b.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBetweenAttributes),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case b.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=_.DATA,this.emitCurrentTagToken();break}case b.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.unexpectedSolidusInTag),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const r=this.currentToken;switch(e){case b.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(r);break}case b.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case b.NULL:{this._err(L.unexpectedNullCharacter),r.data+=Qe;break}default:r.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(ot.DASH_DASH,!0)?(this._createCommentToken(ot.DASH_DASH.length+1),this.state=_.COMMENT_START):this._consumeSequenceIfMatch(ot.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(ot.DOCTYPE.length+1),this.state=_.DOCTYPE):this._consumeSequenceIfMatch(ot.CDATA_START,!0)?this.inForeignNode?this.state=_.CDATA_SECTION:(this._err(L.cdataInHtmlContent),this._createCommentToken(ot.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=_.BOGUS_COMMENT):this._ensureHibernation()||(this._err(L.incorrectlyOpenedComment),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case b.HYPHEN_MINUS:{this.state=_.COMMENT_START_DASH;break}case b.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=_.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=_.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const r=this.currentToken;switch(e){case b.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case b.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=_.DATA,this.emitCurrentComment(r);break}case b.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=_.COMMENT,this._stateComment(e)}}_stateComment(e){const r=this.currentToken;switch(e){case b.HYPHEN_MINUS:{this.state=_.COMMENT_END_DASH;break}case b.LESS_THAN_SIGN:{r.data+="<",this.state=_.COMMENT_LESS_THAN_SIGN;break}case b.NULL:{this._err(L.unexpectedNullCharacter),r.data+=Qe;break}case b.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const r=this.currentToken;switch(e){case b.EXCLAMATION_MARK:{r.data+="!",this.state=_.COMMENT_LESS_THAN_SIGN_BANG;break}case b.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=_.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===b.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=_.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===b.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=_.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==b.GREATER_THAN_SIGN&&e!==b.EOF&&this._err(L.nestedComment),this.state=_.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const r=this.currentToken;switch(e){case b.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case b.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=_.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const r=this.currentToken;switch(e){case b.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(r);break}case b.EXCLAMATION_MARK:{this.state=_.COMMENT_END_BANG;break}case b.HYPHEN_MINUS:{r.data+="-";break}case b.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=_.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const r=this.currentToken;switch(e){case b.HYPHEN_MINUS:{r.data+="--!",this.state=_.COMMENT_END_DASH;break}case b.GREATER_THAN_SIGN:{this._err(L.incorrectlyClosedComment),this.state=_.DATA,this.emitCurrentComment(r);break}case b.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=_.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_NAME;break}case b.GREATER_THAN_SIGN:{this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case b.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBeforeDoctypeName),this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(_a(e))this._createDoctypeToken(String.fromCharCode(Mi(e))),this.state=_.DOCTYPE_NAME;else switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.NULL:{this._err(L.unexpectedNullCharacter),this._createDoctypeToken(Qe),this.state=_.DOCTYPE_NAME;break}case b.GREATER_THAN_SIGN:{this._err(L.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case b.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=_.DOCTYPE_NAME}}_stateDoctypeName(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=_.AFTER_DOCTYPE_NAME;break}case b.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case b.NULL:{this._err(L.unexpectedNullCharacter),r.name+=Qe;break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(_a(e)?Mi(e):e)}}_stateAfterDoctypeName(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(ot.PUBLIC,!1)?this.state=_.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(ot.SYSTEM,!1)?this.state=_.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(L.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case b.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.QUOTATION_MARK:{r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const r=this.currentToken;switch(e){case b.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case b.NULL:{this._err(L.unexpectedNullCharacter),r.publicId+=Qe;break}case b.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const r=this.currentToken;switch(e){case b.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case b.NULL:{this._err(L.unexpectedNullCharacter),r.publicId+=Qe;break}case b.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=_.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case b.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case b.QUOTATION_MARK:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case b.QUOTATION_MARK:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case b.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.QUOTATION_MARK:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const r=this.currentToken;switch(e){case b.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case b.NULL:{this._err(L.unexpectedNullCharacter),r.systemId+=Qe;break}case b.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const r=this.currentToken;switch(e){case b.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case b.NULL:{this._err(L.unexpectedNullCharacter),r.systemId+=Qe;break}case b.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const r=this.currentToken;switch(e){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case b.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const r=this.currentToken;switch(e){case b.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case b.NULL:{this._err(L.unexpectedNullCharacter);break}case b.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case b.RIGHT_SQUARE_BRACKET:{this.state=_.CDATA_SECTION_BRACKET;break}case b.EOF:{this._err(L.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===b.RIGHT_SQUARE_BRACKET?this.state=_.CDATA_SECTION_END:(this._emitChars("]"),this.state=_.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case b.GREATER_THAN_SIGN:{this.state=_.DATA;break}case b.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=_.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(b.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&jf(this.preprocessor.peek(1))?_.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){jf(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===b.SEMICOLON&&this._err(L.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}const Vg=new Set([p.DD,p.DT,p.LI,p.OPTGROUP,p.OPTION,p.P,p.RB,p.RP,p.RT,p.RTC]),Uf=new Set([...Vg,p.CAPTION,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]),ws=new Set([p.APPLET,p.CAPTION,p.HTML,p.MARQUEE,p.OBJECT,p.TABLE,p.TD,p.TEMPLATE,p.TH]),ZH=new Set([...ws,p.OL,p.UL]),UH=new Set([...ws,p.BUTTON]),Yf=new Set([p.ANNOTATION_XML,p.MI,p.MN,p.MO,p.MS,p.MTEXT]),Hf=new Set([p.DESC,p.FOREIGN_OBJECT,p.TITLE]),YH=new Set([p.TR,p.TEMPLATE,p.HTML]),HH=new Set([p.TBODY,p.TFOOT,p.THEAD,p.TEMPLATE,p.HTML]),VH=new Set([p.TABLE,p.TEMPLATE,p.HTML]),WH=new Set([p.TD,p.TH]);class GH{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=p.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===p.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===X.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,r){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,r,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,r){const n=this._indexOf(e);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(e,r,n){const a=this._indexOf(e)+1;this.items.splice(a,0,r),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(e){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(e,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==X.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(e){for(;this.stackTop>=e;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<e)}}popUntilElementPopped(e){const r=this._indexOf(e);this.shortenToLength(Math.max(r,0))}popUntilPopped(e,r){const n=this._indexOfTagNames(e,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(ac,X.HTML)}popUntilTableCellPopped(){this.popUntilPopped(WH,X.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,r){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(e,r){const n=this._indexOfTagNames(e,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(VH,X.HTML)}clearBackToTableBodyContext(){this.clearBackTo(HH,X.HTML)}clearBackToTableRowContext(){this.clearBackTo(YH,X.HTML)}remove(e){const r=this._indexOf(e);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===p.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const r=this._indexOf(e)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===p.HTML}hasInDynamicScope(e,r){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case X.HTML:{if(a===e)return!0;if(r.has(a))return!1;break}case X.SVG:{if(Hf.has(a))return!1;break}case X.MATHML:{if(Yf.has(a))return!1;break}}}return!0}hasInScope(e){return this.hasInDynamicScope(e,ws)}hasInListItemScope(e){return this.hasInDynamicScope(e,ZH)}hasInButtonScope(e){return this.hasInDynamicScope(e,UH)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const r=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case X.HTML:{if(ac.has(r))return!0;if(ws.has(r))return!1;break}case X.SVG:{if(Hf.has(r))return!1;break}case X.MATHML:{if(Yf.has(r))return!1;break}}}return!0}hasInTableScope(e){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===X.HTML)switch(this.tagIDs[r]){case e:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===X.HTML)switch(this.tagIDs[e]){case p.TBODY:case p.THEAD:case p.TFOOT:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasInSelectScope(e){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===X.HTML)switch(this.tagIDs[r]){case e:return!0;case p.OPTION:case p.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Vg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Uf.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&Uf.has(this.currentTagId);)this.pop()}}const rl=3;var Wt;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(Wt||(Wt={}));const Vf={type:Wt.Marker};class KH{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,r){const n=[],a=r.length,i=this.treeAdapter.getTagName(e),s=this.treeAdapter.getNamespaceURI(e);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===Wt.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===s){const u=this.treeAdapter.getAttrList(c);u.length===a&&n.push({idx:o,attrs:u})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<rl)return;const r=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,r);if(n.length<rl)return;const a=new Map(r.map(s=>[s.name,s.value]));let i=0;for(let s=0;s<n.length;s++){const o=n[s];o.attrs.every(l=>a.get(l.name)===l.value)&&(i+=1,i>=rl&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Vf)}pushElement(e,r){this._ensureNoahArkCondition(e),this.entries.unshift({type:Wt.Element,element:e,token:r})}insertElementAfterBookmark(e,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Wt.Element,element:e,token:r})}removeEntry(e){const r=this.entries.indexOf(e);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const e=this.entries.indexOf(Vf);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const r=this.entries.find(n=>n.type===Wt.Marker||this.treeAdapter.getTagName(n.element)===e);return r&&r.type===Wt.Element?r:null}getElementEntry(e){return this.entries.find(r=>r.type===Wt.Element&&r.element===e)}}const Er={createDocument(){return{nodeName:"#document",mode:At.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(t,e,r){return{nodeName:t,tagName:t,attrs:r,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(t){return{nodeName:"#comment",data:t,parentNode:null}},createTextNode(t){return{nodeName:"#text",value:t,parentNode:null}},appendChild(t,e){t.childNodes.push(e),e.parentNode=t},insertBefore(t,e,r){const n=t.childNodes.indexOf(r);t.childNodes.splice(n,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent(t){return t.content},setDocumentType(t,e,r,n){const a=t.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=e,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:e,publicId:r,systemId:n,parentNode:null};Er.appendChild(t,i)}},setDocumentMode(t,e){t.mode=e},getDocumentMode(t){return t.mode},detachNode(t){if(t.parentNode){const e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){const r=t.childNodes[t.childNodes.length-1];if(Er.isTextNode(r)){r.value+=e;return}}Er.appendChild(t,Er.createTextNode(e))},insertTextBefore(t,e,r){const n=t.childNodes[t.childNodes.indexOf(r)-1];n&&Er.isTextNode(n)?n.value+=e:Er.insertBefore(t,Er.createTextNode(e),r)},adoptAttributes(t,e){const r=new Set(t.attrs.map(n=>n.name));for(let n=0;n<e.length;n++)r.has(e[n].name)||t.attrs.push(e[n])},getFirstChild(t){return t.childNodes[0]},getChildNodes(t){return t.childNodes},getParentNode(t){return t.parentNode},getAttrList(t){return t.attrs},getTagName(t){return t.tagName},getNamespaceURI(t){return t.namespaceURI},getTextNodeContent(t){return t.value},getCommentNodeContent(t){return t.data},getDocumentTypeNodeName(t){return t.name},getDocumentTypeNodePublicId(t){return t.publicId},getDocumentTypeNodeSystemId(t){return t.systemId},isTextNode(t){return t.nodeName==="#text"},isCommentNode(t){return t.nodeName==="#comment"},isDocumentTypeNode(t){return t.nodeName==="#documentType"},isElementNode(t){return Object.prototype.hasOwnProperty.call(t,"tagName")},setNodeSourceCodeLocation(t,e){t.sourceCodeLocation=e},getNodeSourceCodeLocation(t){return t.sourceCodeLocation},updateNodeSourceCodeLocation(t,e){t.sourceCodeLocation={...t.sourceCodeLocation,...e}}},Wg="html",JH="about:legacy-compat",eV="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Gg=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],tV=[...Gg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],rV=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Kg=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],nV=[...Kg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Wf(t,e){return e.some(r=>t.startsWith(r))}function aV(t){return t.name===Wg&&t.publicId===null&&(t.systemId===null||t.systemId===JH)}function iV(t){if(t.name!==Wg)return At.QUIRKS;const{systemId:e}=t;if(e&&e.toLowerCase()===eV)return At.QUIRKS;let{publicId:r}=t;if(r!==null){if(r=r.toLowerCase(),rV.has(r))return At.QUIRKS;let n=e===null?tV:Gg;if(Wf(r,n))return At.QUIRKS;if(n=e===null?Kg:nV,Wf(r,n))return At.LIMITED_QUIRKS}return At.NO_QUIRKS}const Gf={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},sV="definitionurl",oV="definitionURL",lV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t])),cV=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:X.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:X.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:X.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:X.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:X.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:X.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:X.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:X.XML}],["xml:space",{prefix:"xml",name:"space",namespace:X.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:X.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:X.XMLNS}]]),uV=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),hV=new Set([p.B,p.BIG,p.BLOCKQUOTE,p.BODY,p.BR,p.CENTER,p.CODE,p.DD,p.DIV,p.DL,p.DT,p.EM,p.EMBED,p.H1,p.H2,p.H3,p.H4,p.H5,p.H6,p.HEAD,p.HR,p.I,p.IMG,p.LI,p.LISTING,p.MENU,p.META,p.NOBR,p.OL,p.P,p.PRE,p.RUBY,p.S,p.SMALL,p.SPAN,p.STRONG,p.STRIKE,p.SUB,p.SUP,p.TABLE,p.TT,p.U,p.UL,p.VAR]);function fV(t){const e=t.tagID;return e===p.FONT&&t.attrs.some(({name:n})=>n===tn.COLOR||n===tn.SIZE||n===tn.FACE)||hV.has(e)}function Jg(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===sV){t.attrs[e].name=oV;break}}function eO(t){for(let e=0;e<t.attrs.length;e++){const r=lV.get(t.attrs[e].name);r!=null&&(t.attrs[e].name=r)}}function Su(t){for(let e=0;e<t.attrs.length;e++){const r=cV.get(t.attrs[e].name);r&&(t.attrs[e].prefix=r.prefix,t.attrs[e].name=r.name,t.attrs[e].namespace=r.namespace)}}function dV(t){const e=uV.get(t.tagName);e!=null&&(t.tagName=e,t.tagID=Wn(t.tagName))}function pV(t,e){return e===X.MATHML&&(t===p.MI||t===p.MO||t===p.MN||t===p.MS||t===p.MTEXT)}function mV(t,e,r){if(e===X.MATHML&&t===p.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===tn.ENCODING){const a=r[n].value.toLowerCase();return a===Gf.TEXT_HTML||a===Gf.APPLICATION_XML}}return e===X.SVG&&(t===p.FOREIGN_OBJECT||t===p.DESC||t===p.TITLE)}function gV(t,e,r,n){return(!n||n===X.HTML)&&mV(t,e,r)||(!n||n===X.MATHML)&&pV(t,e)}const OV="hidden",yV=8,kV=3;var x;(function(t){t[t.INITIAL=0]="INITIAL",t[t.BEFORE_HTML=1]="BEFORE_HTML",t[t.BEFORE_HEAD=2]="BEFORE_HEAD",t[t.IN_HEAD=3]="IN_HEAD",t[t.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",t[t.AFTER_HEAD=5]="AFTER_HEAD",t[t.IN_BODY=6]="IN_BODY",t[t.TEXT=7]="TEXT",t[t.IN_TABLE=8]="IN_TABLE",t[t.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",t[t.IN_CAPTION=10]="IN_CAPTION",t[t.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",t[t.IN_TABLE_BODY=12]="IN_TABLE_BODY",t[t.IN_ROW=13]="IN_ROW",t[t.IN_CELL=14]="IN_CELL",t[t.IN_SELECT=15]="IN_SELECT",t[t.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",t[t.IN_TEMPLATE=17]="IN_TEMPLATE",t[t.AFTER_BODY=18]="AFTER_BODY",t[t.IN_FRAMESET=19]="IN_FRAMESET",t[t.AFTER_FRAMESET=20]="AFTER_FRAMESET",t[t.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",t[t.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(x||(x={}));const bV={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},tO=new Set([p.TABLE,p.TBODY,p.TFOOT,p.THEAD,p.TR]),Kf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Er,onParseError:null};let Jf=class{constructor(e,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=x.INITIAL,this.originalInsertionMode=x.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Kf,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new jH(this.options,this),this.activeFormattingElements=new KH(this.treeAdapter),this.fragmentContextID=n?Wn(this.treeAdapter.getTagName(n)):p.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new GH(this.document,this.treeAdapter,this)}static parse(e,r){const n=new this(r);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,r){const n={...Kf,...r};e??(e=n.treeAdapter.createElement(z.TEMPLATE,X.HTML,[]));const a=n.treeAdapter.createElement("documentmock",X.HTML,[]),i=new this(n,a,e);return i.fragmentContextID===p.TEMPLATE&&i.tmplInsertionModeStack.unshift(x.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,r),r}_err(e,r,n){var a;if(!this.onParseError)return;const i=(a=e.location)!==null&&a!==void 0?a:bV,s={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(e,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,r)}onItemPop(e,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,e,this.openElements.current),r){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(e,r){const n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===X.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,e)}_switchToTextParsing(e,r){this._insertElement(e,X.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=x.TEXT}switchToPlaintextParsing(){this.insertionMode=x.TEXT,this.originalInsertionMode=x.IN_BODY,this.tokenizer.state=Ne.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===z.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==X.HTML))switch(this.fragmentContextID){case p.TITLE:case p.TEXTAREA:{this.tokenizer.state=Ne.RCDATA;break}case p.STYLE:case p.XMP:case p.IFRAME:case p.NOEMBED:case p.NOFRAMES:case p.NOSCRIPT:{this.tokenizer.state=Ne.RAWTEXT;break}case p.SCRIPT:{this.tokenizer.state=Ne.SCRIPT_DATA;break}case p.PLAINTEXT:{this.tokenizer.state=Ne.PLAINTEXT;break}}}_setDocumentType(e){const r=e.name||"",n=e.publicId||"",a=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),e.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}}_attachElementToTree(e,r){if(this.options.sourceCodeLocationInfo){const n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,e)}}_appendElement(e,r){const n=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,r){const n=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,r){const n=this.treeAdapter.createElement(e,X.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(e){const r=this.treeAdapter.createElement(e.tagName,X.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(z.HTML,X.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,p.HTML)}_appendCommentNode(e,r){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,e.chars,n):this.treeAdapter.insertText(r,e.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,e.chars)),!e.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,s=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:l,endCol:c,endOffset:u}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:c,endOffset:u})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}_adoptNodes(e,r){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(e,r){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(e),i=r.type===me.END_TAG&&a===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,e.tagID===p.SVG&&this.treeAdapter.getTagName(r)===z.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===X.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===p.MGLYPH||e.tagID===p.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,X.HTML)}_processToken(e){switch(e.type){case me.CHARACTER:{this.onCharacter(e);break}case me.NULL_CHARACTER:{this.onNullCharacter(e);break}case me.COMMENT:{this.onComment(e);break}case me.DOCTYPE:{this.onDoctype(e);break}case me.START_TAG:{this._processStartTag(e);break}case me.END_TAG:{this.onEndTag(e);break}case me.EOF:{this.onEof(e);break}case me.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return gV(e,a,i,n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===Wt.Marker||this.openElements.contains(a.element)),n=r===-1?e-1:r-1;for(let a=n;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=x.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(p.P),this.openElements.popUntilTagNamePopped(p.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case p.TR:{this.insertionMode=x.IN_ROW;return}case p.TBODY:case p.THEAD:case p.TFOOT:{this.insertionMode=x.IN_TABLE_BODY;return}case p.CAPTION:{this.insertionMode=x.IN_CAPTION;return}case p.COLGROUP:{this.insertionMode=x.IN_COLUMN_GROUP;return}case p.TABLE:{this.insertionMode=x.IN_TABLE;return}case p.BODY:{this.insertionMode=x.IN_BODY;return}case p.FRAMESET:{this.insertionMode=x.IN_FRAMESET;return}case p.SELECT:{this._resetInsertionModeForSelect(e);return}case p.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case p.HTML:{this.insertionMode=this.headElement?x.AFTER_HEAD:x.BEFORE_HEAD;return}case p.TD:case p.TH:{if(e>0){this.insertionMode=x.IN_CELL;return}break}case p.HEAD:{if(e>0){this.insertionMode=x.IN_HEAD;return}break}}this.insertionMode=x.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let r=e-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===p.TEMPLATE)break;if(n===p.TABLE){this.insertionMode=x.IN_SELECT_IN_TABLE;return}}this.insertionMode=x.IN_SELECT}_isElementCausesFosterParenting(e){return tO.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const r=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case p.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===X.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case p.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,e,r.beforeElement):this.treeAdapter.appendChild(r.parent,e)}_isSpecialElement(e,r){const n=this.treeAdapter.getNamespaceURI(e);return FH[n].has(r)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){WW(this,e);return}switch(this.insertionMode){case x.INITIAL:{ca(this,e);break}case x.BEFORE_HTML:{Pa(this,e);break}case x.BEFORE_HEAD:{va(this,e);break}case x.IN_HEAD:{Da(this,e);break}case x.IN_HEAD_NO_SCRIPT:{Qa(this,e);break}case x.AFTER_HEAD:{za(this,e);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:{nO(this,e);break}case x.TEXT:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{nl(this,e);break}case x.IN_TABLE_TEXT:{cO(this,e);break}case x.IN_COLUMN_GROUP:{Ss(this,e);break}case x.AFTER_BODY:{xs(this,e);break}case x.AFTER_AFTER_BODY:{us(this,e);break}}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){VW(this,e);return}switch(this.insertionMode){case x.INITIAL:{ca(this,e);break}case x.BEFORE_HTML:{Pa(this,e);break}case x.BEFORE_HEAD:{va(this,e);break}case x.IN_HEAD:{Da(this,e);break}case x.IN_HEAD_NO_SCRIPT:{Qa(this,e);break}case x.AFTER_HEAD:{za(this,e);break}case x.TEXT:{this._insertCharacters(e);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{nl(this,e);break}case x.IN_COLUMN_GROUP:{Ss(this,e);break}case x.AFTER_BODY:{xs(this,e);break}case x.AFTER_AFTER_BODY:{us(this,e);break}}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){ic(this,e);return}switch(this.insertionMode){case x.INITIAL:case x.BEFORE_HTML:case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_TEMPLATE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{ic(this,e);break}case x.IN_TABLE_TEXT:{ua(this,e);break}case x.AFTER_BODY:{AV(this,e);break}case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{CV(this,e);break}}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case x.INITIAL:{PV(this,e);break}case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:{this._err(e,L.misplacedDoctype);break}case x.IN_TABLE_TEXT:{ua(this,e);break}}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,L.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?GW(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case x.INITIAL:{ca(this,e);break}case x.BEFORE_HTML:{vV(this,e);break}case x.BEFORE_HEAD:{QV(this,e);break}case x.IN_HEAD:{Bt(this,e);break}case x.IN_HEAD_NO_SCRIPT:{LV(this,e);break}case x.AFTER_HEAD:{NV(this,e);break}case x.IN_BODY:{et(this,e);break}case x.IN_TABLE:{Ln(this,e);break}case x.IN_TABLE_TEXT:{ua(this,e);break}case x.IN_CAPTION:{zW(this,e);break}case x.IN_COLUMN_GROUP:{Eu(this,e);break}case x.IN_TABLE_BODY:{ao(this,e);break}case x.IN_ROW:{io(this,e);break}case x.IN_CELL:{RW(this,e);break}case x.IN_SELECT:{fO(this,e);break}case x.IN_SELECT_IN_TABLE:{$W(this,e);break}case x.IN_TEMPLATE:{FW(this,e);break}case x.AFTER_BODY:{qW(this,e);break}case x.IN_FRAMESET:{XW(this,e);break}case x.AFTER_FRAMESET:{ZW(this,e);break}case x.AFTER_AFTER_BODY:{YW(this,e);break}case x.AFTER_AFTER_FRAMESET:{HW(this,e);break}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?KW(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case x.INITIAL:{ca(this,e);break}case x.BEFORE_HTML:{DV(this,e);break}case x.BEFORE_HEAD:{zV(this,e);break}case x.IN_HEAD:{IV(this,e);break}case x.IN_HEAD_NO_SCRIPT:{RV(this,e);break}case x.AFTER_HEAD:{$V(this,e);break}case x.IN_BODY:{no(this,e);break}case x.TEXT:{SW(this,e);break}case x.IN_TABLE:{Ua(this,e);break}case x.IN_TABLE_TEXT:{ua(this,e);break}case x.IN_CAPTION:{IW(this,e);break}case x.IN_COLUMN_GROUP:{LW(this,e);break}case x.IN_TABLE_BODY:{sc(this,e);break}case x.IN_ROW:{hO(this,e);break}case x.IN_CELL:{NW(this,e);break}case x.IN_SELECT:{dO(this,e);break}case x.IN_SELECT_IN_TABLE:{MW(this,e);break}case x.IN_TEMPLATE:{BW(this,e);break}case x.AFTER_BODY:{mO(this,e);break}case x.IN_FRAMESET:{jW(this,e);break}case x.AFTER_FRAMESET:{UW(this,e);break}case x.AFTER_AFTER_BODY:{us(this,e);break}}}onEof(e){switch(this.insertionMode){case x.INITIAL:{ca(this,e);break}case x.BEFORE_HTML:{Pa(this,e);break}case x.BEFORE_HEAD:{va(this,e);break}case x.IN_HEAD:{Da(this,e);break}case x.IN_HEAD_NO_SCRIPT:{Qa(this,e);break}case x.AFTER_HEAD:{za(this,e);break}case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{oO(this,e);break}case x.TEXT:{xW(this,e);break}case x.IN_TABLE_TEXT:{ua(this,e);break}case x.IN_TEMPLATE:{pO(this,e);break}case x.AFTER_BODY:case x.IN_FRAMESET:case x.AFTER_FRAMESET:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{Tu(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===b.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.TEXT:case x.IN_COLUMN_GROUP:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{this._insertCharacters(e);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:case x.AFTER_BODY:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{rO(this,e);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{nl(this,e);break}case x.IN_TABLE_TEXT:{lO(this,e);break}}}};function _V(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return r?t.openElements.contains(r.element)?t.openElements.hasInScope(e.tagID)||(r=null):(t.activeFormattingElements.removeEntry(r),r=null):sO(t,e),r}function wV(t,e){let r=null,n=t.openElements.stackTop;for(;n>=0;n--){const a=t.openElements.items[n];if(a===e.element)break;t._isSpecialElement(a,t.openElements.tagIDs[n])&&(r=a)}return r||(t.openElements.shortenToLength(Math.max(n,0)),t.activeFormattingElements.removeEntry(e)),r}function SV(t,e,r){let n=e,a=t.openElements.getCommonAncestor(e);for(let i=0,s=a;s!==r;i++,s=a){a=t.openElements.getCommonAncestor(s);const o=t.activeFormattingElements.getElementEntry(s),l=o&&i>=kV;!o||l?(l&&t.activeFormattingElements.removeEntry(o),t.openElements.remove(s)):(s=xV(t,o),n===e&&(t.activeFormattingElements.bookmark=o),t.treeAdapter.detachNode(n),t.treeAdapter.appendChild(s,n),n=s)}return n}function xV(t,e){const r=t.treeAdapter.getNamespaceURI(e.element),n=t.treeAdapter.createElement(e.token.tagName,r,e.token.attrs);return t.openElements.replace(e.element,n),e.element=n,n}function TV(t,e,r){const n=t.treeAdapter.getTagName(e),a=Wn(n);if(t._isElementCausesFosterParenting(a))t._fosterParentElement(r);else{const i=t.treeAdapter.getNamespaceURI(e);a===p.TEMPLATE&&i===X.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,r)}}function EV(t,e,r){const n=t.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=t.treeAdapter.createElement(a.tagName,n,a.attrs);t._adoptNodes(e,i),t.treeAdapter.appendChild(e,i),t.activeFormattingElements.insertElementAfterBookmark(i,a),t.activeFormattingElements.removeEntry(r),t.openElements.remove(r.element),t.openElements.insertAfter(e,i,a.tagID)}function xu(t,e){for(let r=0;r<yV;r++){const n=_V(t,e);if(!n)break;const a=wV(t,n);if(!a)break;t.activeFormattingElements.bookmark=n;const i=SV(t,a,n.element),s=t.openElements.getCommonAncestor(n.element);t.treeAdapter.detachNode(i),s&&TV(t,s,i),EV(t,a,n)}}function ic(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function AV(t,e){t._appendCommentNode(e,t.openElements.items[0])}function CV(t,e){t._appendCommentNode(e,t.document)}function Tu(t,e){if(t.stopped=!0,e.location){const r=t.fragmentContext?0:2;for(let n=t.openElements.stackTop;n>=r;n--)t._setEndLocation(t.openElements.items[n],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){const n=t.openElements.items[0],a=t.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(t._setEndLocation(n,e),t.openElements.stackTop>=1)){const i=t.openElements.items[1],s=t.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&t._setEndLocation(i,e)}}}}function PV(t,e){t._setDocumentType(e);const r=e.forceQuirks?At.QUIRKS:iV(e);aV(e)||t._err(e,L.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,r),t.insertionMode=x.BEFORE_HTML}function ca(t,e){t._err(e,L.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,At.QUIRKS),t.insertionMode=x.BEFORE_HTML,t._processToken(e)}function vV(t,e){e.tagID===p.HTML?(t._insertElement(e,X.HTML),t.insertionMode=x.BEFORE_HEAD):Pa(t,e)}function DV(t,e){const r=e.tagID;(r===p.HTML||r===p.HEAD||r===p.BODY||r===p.BR)&&Pa(t,e)}function Pa(t,e){t._insertFakeRootElement(),t.insertionMode=x.BEFORE_HEAD,t._processToken(e)}function QV(t,e){switch(e.tagID){case p.HTML:{et(t,e);break}case p.HEAD:{t._insertElement(e,X.HTML),t.headElement=t.openElements.current,t.insertionMode=x.IN_HEAD;break}default:va(t,e)}}function zV(t,e){const r=e.tagID;r===p.HEAD||r===p.BODY||r===p.HTML||r===p.BR?va(t,e):t._err(e,L.endTagWithoutMatchingOpenElement)}function va(t,e){t._insertFakeElement(z.HEAD,p.HEAD),t.headElement=t.openElements.current,t.insertionMode=x.IN_HEAD,t._processToken(e)}function Bt(t,e){switch(e.tagID){case p.HTML:{et(t,e);break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:{t._appendElement(e,X.HTML),e.ackSelfClosing=!0;break}case p.TITLE:{t._switchToTextParsing(e,Ne.RCDATA);break}case p.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,Ne.RAWTEXT):(t._insertElement(e,X.HTML),t.insertionMode=x.IN_HEAD_NO_SCRIPT);break}case p.NOFRAMES:case p.STYLE:{t._switchToTextParsing(e,Ne.RAWTEXT);break}case p.SCRIPT:{t._switchToTextParsing(e,Ne.SCRIPT_DATA);break}case p.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=x.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(x.IN_TEMPLATE);break}case p.HEAD:{t._err(e,L.misplacedStartTagForHeadElement);break}default:Da(t,e)}}function IV(t,e){switch(e.tagID){case p.HEAD:{t.openElements.pop(),t.insertionMode=x.AFTER_HEAD;break}case p.BODY:case p.BR:case p.HTML:{Da(t,e);break}case p.TEMPLATE:{pn(t,e);break}default:t._err(e,L.endTagWithoutMatchingOpenElement)}}function pn(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==p.TEMPLATE&&t._err(e,L.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(p.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,L.endTagWithoutMatchingOpenElement)}function Da(t,e){t.openElements.pop(),t.insertionMode=x.AFTER_HEAD,t._processToken(e)}function LV(t,e){switch(e.tagID){case p.HTML:{et(t,e);break}case p.BASEFONT:case p.BGSOUND:case p.HEAD:case p.LINK:case p.META:case p.NOFRAMES:case p.STYLE:{Bt(t,e);break}case p.NOSCRIPT:{t._err(e,L.nestedNoscriptInHead);break}default:Qa(t,e)}}function RV(t,e){switch(e.tagID){case p.NOSCRIPT:{t.openElements.pop(),t.insertionMode=x.IN_HEAD;break}case p.BR:{Qa(t,e);break}default:t._err(e,L.endTagWithoutMatchingOpenElement)}}function Qa(t,e){const r=e.type===me.EOF?L.openElementsLeftAfterEof:L.disallowedContentInNoscriptInHead;t._err(e,r),t.openElements.pop(),t.insertionMode=x.IN_HEAD,t._processToken(e)}function NV(t,e){switch(e.tagID){case p.HTML:{et(t,e);break}case p.BODY:{t._insertElement(e,X.HTML),t.framesetOk=!1,t.insertionMode=x.IN_BODY;break}case p.FRAMESET:{t._insertElement(e,X.HTML),t.insertionMode=x.IN_FRAMESET;break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{t._err(e,L.abandonedHeadElementChild),t.openElements.push(t.headElement,p.HEAD),Bt(t,e),t.openElements.remove(t.headElement);break}case p.HEAD:{t._err(e,L.misplacedStartTagForHeadElement);break}default:za(t,e)}}function $V(t,e){switch(e.tagID){case p.BODY:case p.HTML:case p.BR:{za(t,e);break}case p.TEMPLATE:{pn(t,e);break}default:t._err(e,L.endTagWithoutMatchingOpenElement)}}function za(t,e){t._insertFakeElement(z.BODY,p.BODY),t.insertionMode=x.IN_BODY,ro(t,e)}function ro(t,e){switch(e.type){case me.CHARACTER:{nO(t,e);break}case me.WHITESPACE_CHARACTER:{rO(t,e);break}case me.COMMENT:{ic(t,e);break}case me.START_TAG:{et(t,e);break}case me.END_TAG:{no(t,e);break}case me.EOF:{oO(t,e);break}}}function rO(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function nO(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function MV(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function FV(t,e){const r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(r,e.attrs))}function BV(t,e){const r=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&r&&(t.treeAdapter.detachNode(r),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,X.HTML),t.insertionMode=x.IN_FRAMESET)}function qV(t,e){t.openElements.hasInButtonScope(p.P)&&t._closePElement(),t._insertElement(e,X.HTML)}function XV(t,e){t.openElements.hasInButtonScope(p.P)&&t._closePElement(),t.openElements.currentTagId!==void 0&&ac.has(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,X.HTML)}function jV(t,e){t.openElements.hasInButtonScope(p.P)&&t._closePElement(),t._insertElement(e,X.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function ZV(t,e){const r=t.openElements.tmplCount>0;(!t.formElement||r)&&(t.openElements.hasInButtonScope(p.P)&&t._closePElement(),t._insertElement(e,X.HTML),r||(t.formElement=t.openElements.current))}function UV(t,e){t.framesetOk=!1;const r=e.tagID;for(let n=t.openElements.stackTop;n>=0;n--){const a=t.openElements.tagIDs[n];if(r===p.LI&&a===p.LI||(r===p.DD||r===p.DT)&&(a===p.DD||a===p.DT)){t.openElements.generateImpliedEndTagsWithExclusion(a),t.openElements.popUntilTagNamePopped(a);break}if(a!==p.ADDRESS&&a!==p.DIV&&a!==p.P&&t._isSpecialElement(t.openElements.items[n],a))break}t.openElements.hasInButtonScope(p.P)&&t._closePElement(),t._insertElement(e,X.HTML)}function YV(t,e){t.openElements.hasInButtonScope(p.P)&&t._closePElement(),t._insertElement(e,X.HTML),t.tokenizer.state=Ne.PLAINTEXT}function HV(t,e){t.openElements.hasInScope(p.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(p.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,X.HTML),t.framesetOk=!1}function VV(t,e){const r=t.activeFormattingElements.getElementEntryInScopeWithTagName(z.A);r&&(xu(t,e),t.openElements.remove(r.element),t.activeFormattingElements.removeEntry(r)),t._reconstructActiveFormattingElements(),t._insertElement(e,X.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function WV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,X.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function GV(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(p.NOBR)&&(xu(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,X.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function KV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,X.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function JV(t,e){t.treeAdapter.getDocumentMode(t.document)!==At.QUIRKS&&t.openElements.hasInButtonScope(p.P)&&t._closePElement(),t._insertElement(e,X.HTML),t.framesetOk=!1,t.insertionMode=x.IN_TABLE}function aO(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,X.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function iO(t){const e=Yg(t,tn.TYPE);return e!=null&&e.toLowerCase()===OV}function eW(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,X.HTML),iO(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function tW(t,e){t._appendElement(e,X.HTML),e.ackSelfClosing=!0}function rW(t,e){t.openElements.hasInButtonScope(p.P)&&t._closePElement(),t._appendElement(e,X.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function nW(t,e){e.tagName=z.IMG,e.tagID=p.IMG,aO(t,e)}function aW(t,e){t._insertElement(e,X.HTML),t.skipNextNewLine=!0,t.tokenizer.state=Ne.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=x.TEXT}function iW(t,e){t.openElements.hasInButtonScope(p.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,Ne.RAWTEXT)}function sW(t,e){t.framesetOk=!1,t._switchToTextParsing(e,Ne.RAWTEXT)}function ed(t,e){t._switchToTextParsing(e,Ne.RAWTEXT)}function oW(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,X.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===x.IN_TABLE||t.insertionMode===x.IN_CAPTION||t.insertionMode===x.IN_TABLE_BODY||t.insertionMode===x.IN_ROW||t.insertionMode===x.IN_CELL?x.IN_SELECT_IN_TABLE:x.IN_SELECT}function lW(t,e){t.openElements.currentTagId===p.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,X.HTML)}function cW(t,e){t.openElements.hasInScope(p.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,X.HTML)}function uW(t,e){t.openElements.hasInScope(p.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(p.RTC),t._insertElement(e,X.HTML)}function hW(t,e){t._reconstructActiveFormattingElements(),Jg(e),Su(e),e.selfClosing?t._appendElement(e,X.MATHML):t._insertElement(e,X.MATHML),e.ackSelfClosing=!0}function fW(t,e){t._reconstructActiveFormattingElements(),eO(e),Su(e),e.selfClosing?t._appendElement(e,X.SVG):t._insertElement(e,X.SVG),e.ackSelfClosing=!0}function td(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,X.HTML)}function et(t,e){switch(e.tagID){case p.I:case p.S:case p.B:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.SMALL:case p.STRIKE:case p.STRONG:{WV(t,e);break}case p.A:{VV(t,e);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{XV(t,e);break}case p.P:case p.DL:case p.OL:case p.UL:case p.DIV:case p.DIR:case p.NAV:case p.MAIN:case p.MENU:case p.ASIDE:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.DETAILS:case p.ADDRESS:case p.ARTICLE:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{qV(t,e);break}case p.LI:case p.DD:case p.DT:{UV(t,e);break}case p.BR:case p.IMG:case p.WBR:case p.AREA:case p.EMBED:case p.KEYGEN:{aO(t,e);break}case p.HR:{rW(t,e);break}case p.RB:case p.RTC:{cW(t,e);break}case p.RT:case p.RP:{uW(t,e);break}case p.PRE:case p.LISTING:{jV(t,e);break}case p.XMP:{iW(t,e);break}case p.SVG:{fW(t,e);break}case p.HTML:{MV(t,e);break}case p.BASE:case p.LINK:case p.META:case p.STYLE:case p.TITLE:case p.SCRIPT:case p.BGSOUND:case p.BASEFONT:case p.TEMPLATE:{Bt(t,e);break}case p.BODY:{FV(t,e);break}case p.FORM:{ZV(t,e);break}case p.NOBR:{GV(t,e);break}case p.MATH:{hW(t,e);break}case p.TABLE:{JV(t,e);break}case p.INPUT:{eW(t,e);break}case p.PARAM:case p.TRACK:case p.SOURCE:{tW(t,e);break}case p.IMAGE:{nW(t,e);break}case p.BUTTON:{HV(t,e);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{KV(t,e);break}case p.IFRAME:{sW(t,e);break}case p.SELECT:{oW(t,e);break}case p.OPTION:case p.OPTGROUP:{lW(t,e);break}case p.NOEMBED:case p.NOFRAMES:{ed(t,e);break}case p.FRAMESET:{BV(t,e);break}case p.TEXTAREA:{aW(t,e);break}case p.NOSCRIPT:{t.options.scriptingEnabled?ed(t,e):td(t,e);break}case p.PLAINTEXT:{YV(t,e);break}case p.COL:case p.TH:case p.TD:case p.TR:case p.HEAD:case p.FRAME:case p.TBODY:case p.TFOOT:case p.THEAD:case p.CAPTION:case p.COLGROUP:break;default:td(t,e)}}function dW(t,e){if(t.openElements.hasInScope(p.BODY)&&(t.insertionMode=x.AFTER_BODY,t.options.sourceCodeLocationInfo)){const r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t._setEndLocation(r,e)}}function pW(t,e){t.openElements.hasInScope(p.BODY)&&(t.insertionMode=x.AFTER_BODY,mO(t,e))}function mW(t,e){const r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r))}function gW(t){const e=t.openElements.tmplCount>0,{formElement:r}=t;e||(t.formElement=null),(r||e)&&t.openElements.hasInScope(p.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(p.FORM):r&&t.openElements.remove(r))}function OW(t){t.openElements.hasInButtonScope(p.P)||t._insertFakeElement(z.P,p.P),t._closePElement()}function yW(t){t.openElements.hasInListItemScope(p.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(p.LI),t.openElements.popUntilTagNamePopped(p.LI))}function kW(t,e){const r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r))}function bW(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function _W(t,e){const r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker())}function wW(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(z.BR,p.BR),t.openElements.pop(),t.framesetOk=!1}function sO(t,e){const r=e.tagName,n=e.tagID;for(let a=t.openElements.stackTop;a>0;a--){const i=t.openElements.items[a],s=t.openElements.tagIDs[a];if(n===s&&(n!==p.UNKNOWN||t.treeAdapter.getTagName(i)===r)){t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.stackTop>=a&&t.openElements.shortenToLength(a);break}if(t._isSpecialElement(i,s))break}}function no(t,e){switch(e.tagID){case p.A:case p.B:case p.I:case p.S:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.NOBR:case p.SMALL:case p.STRIKE:case p.STRONG:{xu(t,e);break}case p.P:{OW(t);break}case p.DL:case p.UL:case p.OL:case p.DIR:case p.DIV:case p.NAV:case p.PRE:case p.MAIN:case p.MENU:case p.ASIDE:case p.BUTTON:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.ADDRESS:case p.ARTICLE:case p.DETAILS:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.LISTING:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{mW(t,e);break}case p.LI:{yW(t);break}case p.DD:case p.DT:{kW(t,e);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{bW(t);break}case p.BR:{wW(t);break}case p.BODY:{dW(t,e);break}case p.HTML:{pW(t,e);break}case p.FORM:{gW(t);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{_W(t,e);break}case p.TEMPLATE:{pn(t,e);break}default:sO(t,e)}}function oO(t,e){t.tmplInsertionModeStack.length>0?pO(t,e):Tu(t,e)}function SW(t,e){var r;e.tagID===p.SCRIPT&&((r=t.scriptHandler)===null||r===void 0||r.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}function xW(t,e){t._err(e,L.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function nl(t,e){if(t.openElements.currentTagId!==void 0&&tO.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=x.IN_TABLE_TEXT,e.type){case me.CHARACTER:{cO(t,e);break}case me.WHITESPACE_CHARACTER:{lO(t,e);break}}else Oi(t,e)}function TW(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,X.HTML),t.insertionMode=x.IN_CAPTION}function EW(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,X.HTML),t.insertionMode=x.IN_COLUMN_GROUP}function AW(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(z.COLGROUP,p.COLGROUP),t.insertionMode=x.IN_COLUMN_GROUP,Eu(t,e)}function CW(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,X.HTML),t.insertionMode=x.IN_TABLE_BODY}function PW(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(z.TBODY,p.TBODY),t.insertionMode=x.IN_TABLE_BODY,ao(t,e)}function vW(t,e){t.openElements.hasInTableScope(p.TABLE)&&(t.openElements.popUntilTagNamePopped(p.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function DW(t,e){iO(e)?t._appendElement(e,X.HTML):Oi(t,e),e.ackSelfClosing=!0}function QW(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,X.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function Ln(t,e){switch(e.tagID){case p.TD:case p.TH:case p.TR:{PW(t,e);break}case p.STYLE:case p.SCRIPT:case p.TEMPLATE:{Bt(t,e);break}case p.COL:{AW(t,e);break}case p.FORM:{QW(t,e);break}case p.TABLE:{vW(t,e);break}case p.TBODY:case p.TFOOT:case p.THEAD:{CW(t,e);break}case p.INPUT:{DW(t,e);break}case p.CAPTION:{TW(t,e);break}case p.COLGROUP:{EW(t,e);break}default:Oi(t,e)}}function Ua(t,e){switch(e.tagID){case p.TABLE:{t.openElements.hasInTableScope(p.TABLE)&&(t.openElements.popUntilTagNamePopped(p.TABLE),t._resetInsertionMode());break}case p.TEMPLATE:{pn(t,e);break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:Oi(t,e)}}function Oi(t,e){const r=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,ro(t,e),t.fosterParentingEnabled=r}function lO(t,e){t.pendingCharacterTokens.push(e)}function cO(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function ua(t,e){let r=0;if(t.hasNonWhitespacePendingCharacterToken)for(;r<t.pendingCharacterTokens.length;r++)Oi(t,t.pendingCharacterTokens[r]);else for(;r<t.pendingCharacterTokens.length;r++)t._insertCharacters(t.pendingCharacterTokens[r]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}const uO=new Set([p.CAPTION,p.COL,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]);function zW(t,e){const r=e.tagID;uO.has(r)?t.openElements.hasInTableScope(p.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(p.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=x.IN_TABLE,Ln(t,e)):et(t,e)}function IW(t,e){const r=e.tagID;switch(r){case p.CAPTION:case p.TABLE:{t.openElements.hasInTableScope(p.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(p.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=x.IN_TABLE,r===p.TABLE&&Ua(t,e));break}case p.BODY:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:no(t,e)}}function Eu(t,e){switch(e.tagID){case p.HTML:{et(t,e);break}case p.COL:{t._appendElement(e,X.HTML),e.ackSelfClosing=!0;break}case p.TEMPLATE:{Bt(t,e);break}default:Ss(t,e)}}function LW(t,e){switch(e.tagID){case p.COLGROUP:{t.openElements.currentTagId===p.COLGROUP&&(t.openElements.pop(),t.insertionMode=x.IN_TABLE);break}case p.TEMPLATE:{pn(t,e);break}case p.COL:break;default:Ss(t,e)}}function Ss(t,e){t.openElements.currentTagId===p.COLGROUP&&(t.openElements.pop(),t.insertionMode=x.IN_TABLE,t._processToken(e))}function ao(t,e){switch(e.tagID){case p.TR:{t.openElements.clearBackToTableBodyContext(),t._insertElement(e,X.HTML),t.insertionMode=x.IN_ROW;break}case p.TH:case p.TD:{t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(z.TR,p.TR),t.insertionMode=x.IN_ROW,io(t,e);break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=x.IN_TABLE,Ln(t,e));break}default:Ln(t,e)}}function sc(t,e){const r=e.tagID;switch(e.tagID){case p.TBODY:case p.TFOOT:case p.THEAD:{t.openElements.hasInTableScope(r)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=x.IN_TABLE);break}case p.TABLE:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=x.IN_TABLE,Ua(t,e));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:case p.TR:break;default:Ua(t,e)}}function io(t,e){switch(e.tagID){case p.TH:case p.TD:{t.openElements.clearBackToTableRowContext(),t._insertElement(e,X.HTML),t.insertionMode=x.IN_CELL,t.activeFormattingElements.insertMarker();break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{t.openElements.hasInTableScope(p.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=x.IN_TABLE_BODY,ao(t,e));break}default:Ln(t,e)}}function hO(t,e){switch(e.tagID){case p.TR:{t.openElements.hasInTableScope(p.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=x.IN_TABLE_BODY);break}case p.TABLE:{t.openElements.hasInTableScope(p.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=x.IN_TABLE_BODY,sc(t,e));break}case p.TBODY:case p.TFOOT:case p.THEAD:{(t.openElements.hasInTableScope(e.tagID)||t.openElements.hasInTableScope(p.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=x.IN_TABLE_BODY,sc(t,e));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:break;default:Ua(t,e)}}function RW(t,e){const r=e.tagID;uO.has(r)?(t.openElements.hasInTableScope(p.TD)||t.openElements.hasInTableScope(p.TH))&&(t._closeTableCell(),io(t,e)):et(t,e)}function NW(t,e){const r=e.tagID;switch(r){case p.TD:case p.TH:{t.openElements.hasInTableScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=x.IN_ROW);break}case p.TABLE:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{t.openElements.hasInTableScope(r)&&(t._closeTableCell(),hO(t,e));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:break;default:no(t,e)}}function fO(t,e){switch(e.tagID){case p.HTML:{et(t,e);break}case p.OPTION:{t.openElements.currentTagId===p.OPTION&&t.openElements.pop(),t._insertElement(e,X.HTML);break}case p.OPTGROUP:{t.openElements.currentTagId===p.OPTION&&t.openElements.pop(),t.openElements.currentTagId===p.OPTGROUP&&t.openElements.pop(),t._insertElement(e,X.HTML);break}case p.HR:{t.openElements.currentTagId===p.OPTION&&t.openElements.pop(),t.openElements.currentTagId===p.OPTGROUP&&t.openElements.pop(),t._appendElement(e,X.HTML),e.ackSelfClosing=!0;break}case p.INPUT:case p.KEYGEN:case p.TEXTAREA:case p.SELECT:{t.openElements.hasInSelectScope(p.SELECT)&&(t.openElements.popUntilTagNamePopped(p.SELECT),t._resetInsertionMode(),e.tagID!==p.SELECT&&t._processStartTag(e));break}case p.SCRIPT:case p.TEMPLATE:{Bt(t,e);break}}}function dO(t,e){switch(e.tagID){case p.OPTGROUP:{t.openElements.stackTop>0&&t.openElements.currentTagId===p.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===p.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===p.OPTGROUP&&t.openElements.pop();break}case p.OPTION:{t.openElements.currentTagId===p.OPTION&&t.openElements.pop();break}case p.SELECT:{t.openElements.hasInSelectScope(p.SELECT)&&(t.openElements.popUntilTagNamePopped(p.SELECT),t._resetInsertionMode());break}case p.TEMPLATE:{pn(t,e);break}}}function $W(t,e){const r=e.tagID;r===p.CAPTION||r===p.TABLE||r===p.TBODY||r===p.TFOOT||r===p.THEAD||r===p.TR||r===p.TD||r===p.TH?(t.openElements.popUntilTagNamePopped(p.SELECT),t._resetInsertionMode(),t._processStartTag(e)):fO(t,e)}function MW(t,e){const r=e.tagID;r===p.CAPTION||r===p.TABLE||r===p.TBODY||r===p.TFOOT||r===p.THEAD||r===p.TR||r===p.TD||r===p.TH?t.openElements.hasInTableScope(r)&&(t.openElements.popUntilTagNamePopped(p.SELECT),t._resetInsertionMode(),t.onEndTag(e)):dO(t,e)}function FW(t,e){switch(e.tagID){case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{Bt(t,e);break}case p.CAPTION:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{t.tmplInsertionModeStack[0]=x.IN_TABLE,t.insertionMode=x.IN_TABLE,Ln(t,e);break}case p.COL:{t.tmplInsertionModeStack[0]=x.IN_COLUMN_GROUP,t.insertionMode=x.IN_COLUMN_GROUP,Eu(t,e);break}case p.TR:{t.tmplInsertionModeStack[0]=x.IN_TABLE_BODY,t.insertionMode=x.IN_TABLE_BODY,ao(t,e);break}case p.TD:case p.TH:{t.tmplInsertionModeStack[0]=x.IN_ROW,t.insertionMode=x.IN_ROW,io(t,e);break}default:t.tmplInsertionModeStack[0]=x.IN_BODY,t.insertionMode=x.IN_BODY,et(t,e)}}function BW(t,e){e.tagID===p.TEMPLATE&&pn(t,e)}function pO(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(p.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):Tu(t,e)}function qW(t,e){e.tagID===p.HTML?et(t,e):xs(t,e)}function mO(t,e){var r;if(e.tagID===p.HTML){if(t.fragmentContext||(t.insertionMode=x.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===p.HTML){t._setEndLocation(t.openElements.items[0],e);const n=t.openElements.items[1];n&&!(!((r=t.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&t._setEndLocation(n,e)}}else xs(t,e)}function xs(t,e){t.insertionMode=x.IN_BODY,ro(t,e)}function XW(t,e){switch(e.tagID){case p.HTML:{et(t,e);break}case p.FRAMESET:{t._insertElement(e,X.HTML);break}case p.FRAME:{t._appendElement(e,X.HTML),e.ackSelfClosing=!0;break}case p.NOFRAMES:{Bt(t,e);break}}}function jW(t,e){e.tagID===p.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==p.FRAMESET&&(t.insertionMode=x.AFTER_FRAMESET))}function ZW(t,e){switch(e.tagID){case p.HTML:{et(t,e);break}case p.NOFRAMES:{Bt(t,e);break}}}function UW(t,e){e.tagID===p.HTML&&(t.insertionMode=x.AFTER_AFTER_FRAMESET)}function YW(t,e){e.tagID===p.HTML?et(t,e):us(t,e)}function us(t,e){t.insertionMode=x.IN_BODY,ro(t,e)}function HW(t,e){switch(e.tagID){case p.HTML:{et(t,e);break}case p.NOFRAMES:{Bt(t,e);break}}}function VW(t,e){e.chars=Qe,t._insertCharacters(e)}function WW(t,e){t._insertCharacters(e),t.framesetOk=!1}function gO(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==X.HTML&&t.openElements.currentTagId!==void 0&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function GW(t,e){if(fV(e))gO(t),t._startTagOutsideForeignContent(e);else{const r=t._getAdjustedCurrentElement(),n=t.treeAdapter.getNamespaceURI(r);n===X.MATHML?Jg(e):n===X.SVG&&(dV(e),eO(e)),Su(e),e.selfClosing?t._appendElement(e,n):t._insertElement(e,n),e.ackSelfClosing=!0}}function KW(t,e){if(e.tagID===p.P||e.tagID===p.BR){gO(t),t._endTagOutsideForeignContent(e);return}for(let r=t.openElements.stackTop;r>0;r--){const n=t.openElements.items[r];if(t.treeAdapter.getNamespaceURI(n)===X.HTML){t._endTagOutsideForeignContent(e);break}const a=t.treeAdapter.getTagName(n);if(a.toLowerCase()===e.tagName){e.tagName=a,t.openElements.shortenToLength(r);break}}}z.AREA,z.BASE,z.BASEFONT,z.BGSOUND,z.BR,z.COL,z.EMBED,z.FRAME,z.HR,z.IMG,z.INPUT,z.KEYGEN,z.LINK,z.META,z.PARAM,z.SOURCE,z.TRACK,z.WBR;const JW=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,eG=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),rd={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function OO(t,e){const r=uG(t),n=su("type",{handlers:{root:tG,element:rG,text:nG,comment:kO,doctype:aG,raw:sG},unknown:oG}),a={parser:r?new Jf(rd):Jf.getFragmentParser(void 0,rd),handle(o){n(o,a)},stitches:!1,options:e||{}};n(t,a),Gn(a,br());const i=r?a.parser.document:a.parser.getFragment(),s=fH(i,{file:a.options.file});return a.stitches&&Ft(s,"comment",function(o,l,c){const u=o;if(u.value.stitch&&c&&l!==void 0){const h=c.children;return h[l]=u.value.stitch,l}}),s.type==="root"&&s.children.length===1&&s.children[0].type===t.type?s.children[0]:s}function yO(t,e){let r=-1;if(t)for(;++r<t.length;)e.handle(t[r])}function tG(t,e){yO(t.children,e)}function rG(t,e){lG(t,e),yO(t.children,e),cG(t,e)}function nG(t,e){e.parser.tokenizer.state>4&&(e.parser.tokenizer.state=0);const r={type:me.CHARACTER,chars:t.value,location:yi(t)};Gn(e,br(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function aG(t,e){const r={type:me.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:yi(t)};Gn(e,br(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function iG(t,e){e.stitches=!0;const r=hG(t);if("children"in t&&"children"in r){const n=OO({type:"root",children:t.children},e.options);r.children=n.children}kO({type:"comment",value:{stitch:r}},e)}function kO(t,e){const r=t.value,n={type:me.COMMENT,data:r,location:yi(t)};Gn(e,br(t)),e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)}function sG(t,e){if(e.parser.tokenizer.preprocessor.html="",e.parser.tokenizer.preprocessor.pos=-1,e.parser.tokenizer.preprocessor.lastGapPos=-2,e.parser.tokenizer.preprocessor.gapStack=[],e.parser.tokenizer.preprocessor.skipNextNewLine=!1,e.parser.tokenizer.preprocessor.lastChunkWritten=!1,e.parser.tokenizer.preprocessor.endOfChunkHit=!1,e.parser.tokenizer.preprocessor.isEol=!1,bO(e,br(t)),e.parser.tokenizer.write(e.options.tagfilter?t.value.replace(JW,"&lt;$1$2"):t.value,!1),e.parser.tokenizer._runParsingLoop(),e.parser.tokenizer.state===72||e.parser.tokenizer.state===78){e.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=e.parser.tokenizer._consume();e.parser.tokenizer._callState(r)}}function oG(t,e){const r=t;if(e.options.passThrough&&e.options.passThrough.includes(r.type))iG(r,e);else{let n="";throw eG.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function Gn(t,e){bO(t,e);const r=t.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=t.parser.tokenizer.preprocessor.line,r.location.endCol=t.parser.tokenizer.preprocessor.col+1,r.location.endOffset=t.parser.tokenizer.preprocessor.offset+1,t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)),t.parser.tokenizer.paused=!1,t.parser.tokenizer.inLoop=!1,t.parser.tokenizer.active=!1,t.parser.tokenizer.returnState=Ne.DATA,t.parser.tokenizer.charRefCode=-1,t.parser.tokenizer.consumedAfterSnapshot=-1,t.parser.tokenizer.currentLocation=null,t.parser.tokenizer.currentCharacterToken=null,t.parser.tokenizer.currentToken=null,t.parser.tokenizer.currentAttr={name:"",value:""}}function bO(t,e){if(e&&e.offset!==void 0){const r={startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:-1,endCol:-1,endOffset:-1};t.parser.tokenizer.preprocessor.lineStartPos=-e.column+1,t.parser.tokenizer.preprocessor.droppedBufferSize=e.offset,t.parser.tokenizer.preprocessor.line=e.line,t.parser.tokenizer.currentLocation=r}}function lG(t,e){const r=t.tagName.toLowerCase();if(e.parser.tokenizer.state===Ne.PLAINTEXT)return;Gn(e,br(t));const n=e.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:Jt.html;a===Jt.html&&r==="svg"&&(a=Jt.svg);const i=OH({...t,children:[]},{space:a===Jt.svg?"svg":"html"}),s={type:me.START_TAG,tagName:r,tagID:Wn(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:yi(t)};e.parser.currentToken=s,e.parser._processToken(e.parser.currentToken),e.parser.tokenizer.lastStartTagName=r}function cG(t,e){const r=t.tagName.toLowerCase();if(!e.parser.tokenizer.inForeignNode&&Xg.includes(r)||e.parser.tokenizer.state===Ne.PLAINTEXT)return;Gn(e,Js(t));const n={type:me.END_TAG,tagName:r,tagID:Wn(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:yi(t)};e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken),r===e.parser.tokenizer.lastStartTagName&&(e.parser.tokenizer.state===Ne.RCDATA||e.parser.tokenizer.state===Ne.RAWTEXT||e.parser.tokenizer.state===Ne.SCRIPT_DATA)&&(e.parser.tokenizer.state=Ne.DATA)}function uG(t){const e=t.type==="root"?t.children[0]:t;return!!(e&&(e.type==="doctype"||e.type==="element"&&e.tagName.toLowerCase()==="html"))}function yi(t){const e=br(t)||{line:void 0,column:void 0,offset:void 0},r=Js(t)||{line:void 0,column:void 0,offset:void 0};return{startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function hG(t){return"children"in t?Ir({...t,children:[]}):Ir(t)}function fG(t){return function(e,r){return OO(e,{...t,file:r})}}const dG=/^>|^->|<!--|-->|--!>|<!-$/g,pG=[">"],mG=["<",">"];function gG(t,e,r,n){return n.settings.bogusComments?"<?"+Tn(t.value,Object.assign({},n.settings.characterReferences,{subset:pG}))+">":"<!--"+t.value.replace(dG,a)+"-->";function a(i){return Tn(i,Object.assign({},n.settings.characterReferences,{subset:mG}))}}function OG(t,e,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}const yG=/[ \t\n\f\r]/g;function Au(t){return typeof t=="object"?t.type==="text"?nd(t.value):!1:nd(t)}function nd(t){return t.replace(yG,"")===""}const qe=wO(1),_O=wO(-1),kG=[];function wO(t){return e;function e(r,n,a){const i=r?r.children:kG;let s=(n||0)+t,o=i[s];if(!a)for(;o&&Au(o);)s+=t,o=i[s];return o}}const bG={}.hasOwnProperty;function SO(t){return e;function e(r,n,a){return bG.call(t,r.tagName)&&t[r.tagName](r,n,a)}}const Cu=SO({body:wG,caption:al,colgroup:al,dd:EG,dt:TG,head:al,html:_G,li:xG,optgroup:AG,option:CG,p:SG,rp:ad,rt:ad,tbody:vG,td:id,tfoot:DG,th:id,thead:PG,tr:QG});function al(t,e,r){const n=qe(r,e,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&Au(n.value.charAt(0)))}function _G(t,e,r){const n=qe(r,e);return!n||n.type!=="comment"}function wG(t,e,r){const n=qe(r,e);return!n||n.type!=="comment"}function SG(t,e,r){const n=qe(r,e);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function xG(t,e,r){const n=qe(r,e);return!n||n.type==="element"&&n.tagName==="li"}function TG(t,e,r){const n=qe(r,e);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function EG(t,e,r){const n=qe(r,e);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function ad(t,e,r){const n=qe(r,e);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function AG(t,e,r){const n=qe(r,e);return!n||n.type==="element"&&n.tagName==="optgroup"}function CG(t,e,r){const n=qe(r,e);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function PG(t,e,r){const n=qe(r,e);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function vG(t,e,r){const n=qe(r,e);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function DG(t,e,r){return!qe(r,e)}function QG(t,e,r){const n=qe(r,e);return!n||n.type==="element"&&n.tagName==="tr"}function id(t,e,r){const n=qe(r,e);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const zG=SO({body:RG,colgroup:NG,head:LG,html:IG,tbody:$G});function IG(t){const e=qe(t,-1);return!e||e.type!=="comment"}function LG(t){const e=new Set;for(const n of t.children)if(n.type==="element"&&(n.tagName==="base"||n.tagName==="title")){if(e.has(n.tagName))return!1;e.add(n.tagName)}const r=t.children[0];return!r||r.type==="element"}function RG(t){const e=qe(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Au(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function NG(t,e,r){const n=_O(r,e),a=qe(t,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&Cu(n,r.children.indexOf(n),r)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function $G(t,e,r){const n=_O(r,e),a=qe(t,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&Cu(n,r.children.indexOf(n),r)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const Fi={name:[[`
40
- \f\r &/=>`.split(""),`
41
- \f\r "&'/=>\``.split("")],[`\0
42
- \f\r "&'/<=>`.split(""),`\0
43
- \f\r "&'/<=>\``.split("")]],unquoted:[[`
44
- \f\r &>`.split(""),`\0
45
- \f\r "&'<=>\``.split("")],[`\0
46
- \f\r "&'<=>\``.split(""),`\0
47
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function MG(t,e,r,n){const a=n.schema,i=a.space==="svg"?!1:n.settings.omitOptionalTags;let s=a.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(t.tagName.toLowerCase());const o=[];let l;a.space==="html"&&t.tagName==="svg"&&(n.schema=dn);const c=FG(n,t.properties),u=n.all(a.space==="html"&&t.tagName==="template"?t.content:t);return n.schema=a,u&&(s=!1),(c||!i||!zG(t,e,r))&&(o.push("<",t.tagName,c?" "+c:""),s&&(a.space==="svg"||n.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!n.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(u),!s&&(!i||!Cu(t,e,r))&&o.push("</"+t.tagName+">"),o.join("")}function FG(t,e){const r=[];let n=-1,a;if(e){for(a in e)if(e[a]!==null&&e[a]!==void 0){const i=BG(t,a,e[a]);i&&r.push(i)}}for(;++n<r.length;){const i=t.settings.tightAttributes?r[n].charAt(r[n].length-1):void 0;n!==r.length-1&&i!=='"'&&i!=="'"&&(r[n]+=" ")}return r.join("")}function BG(t,e,r){const n=to(t.schema,e),a=t.settings.allowParseErrors&&t.schema.space==="html"?0:1,i=t.settings.allowDangerousCharacters?0:1;let s=t.quote,o;if(n.overloadedBoolean&&(r===n.attribute||r==="")?r=!0:(n.boolean||n.overloadedBoolean)&&(typeof r!="string"||r===n.attribute||r==="")&&(r=!!r),r==null||r===!1||typeof r=="number"&&Number.isNaN(r))return"";const l=Tn(n.attribute,Object.assign({},t.settings.characterReferences,{subset:Fi.name[a][i]}));return r===!0||(r=Array.isArray(r)?(n.commaSeparated?Lg:Rg)(r,{padLeft:!t.settings.tightCommaSeparatedLists}):String(r),t.settings.collapseEmptyAttributes&&!r)?l:(t.settings.preferUnquoted&&(o=Tn(r,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:Fi.unquoted[a][i]}))),o!==r&&(t.settings.quoteSmart&&In(r,s)>In(r,t.alternative)&&(s=t.alternative),o=s+Tn(r,Object.assign({},t.settings.characterReferences,{subset:(s==="'"?Fi.single:Fi.double)[a][i],attribute:!0}))+s),l+(o&&"="+o))}const qG=["<","&"];function xO(t,e,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?t.value:Tn(t.value,Object.assign({},n.settings.characterReferences,{subset:qG}))}function XG(t,e,r,n){return n.settings.allowDangerousHtml?t.value:xO(t,e,r,n)}function jG(t,e,r,n){return n.all(t)}const ZG=su("type",{invalid:UG,unknown:YG,handlers:{comment:gG,doctype:OG,element:MG,raw:XG,root:jG,text:xO}});function UG(t){throw new Error("Expected node, not `"+t+"`")}function YG(t){const e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}const HG={},VG={},WG=[];function GG(t,e){const r=e||HG,n=r.quote||'"',a=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:KG,all:JG,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||Xg,characterReferences:r.characterReferences||VG,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?dn:gi,quote:n,alternative:a}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function KG(t,e,r){return ZG(t,e,r,this)}function JG(t){const e=[],r=t&&t.children||WG;let n=-1;for(;++n<r.length;)e[n]=this.one(r[n],n,t);return e.join("")}function eK(t){const e=this,r={...e.data("settings"),...t};e.compiler=n;function n(a){return GG(a,r)}}const Ur=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],oc={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Ur,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Ur],h2:[["className","sr-only"]],img:[...Ur,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Ur,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Ur],table:[...Ur],ul:[...Ur,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},Ar={}.hasOwnProperty;function tK(t,e){let r={type:"root",children:[]};const n={schema:e?{...oc,...e}:oc,stack:[]},a=TO(n,t);return a&&(Array.isArray(a)?a.length===1?r=a[0]:r.children=a:r=a),r}function TO(t,e){if(e&&typeof e=="object"){const r=e;switch(typeof r.type=="string"?r.type:""){case"comment":return rK(t,r);case"doctype":return nK(t,r);case"element":return aK(t,r);case"root":return iK(t,r);case"text":return sK(t,r)}}}function rK(t,e){if(t.schema.allowComments){const r=typeof e.value=="string"?e.value:"",n=r.indexOf("-->"),i={type:"comment",value:n<0?r:r.slice(0,n)};return ki(i,e),i}}function nK(t,e){if(t.schema.allowDoctypes){const r={type:"doctype"};return ki(r,e),r}}function aK(t,e){const r=typeof e.tagName=="string"?e.tagName:"";t.stack.push(r);const n=EO(t,e.children),a=oK(t,e.properties);t.stack.pop();let i=!1;if(r&&r!=="*"&&(!t.schema.tagNames||t.schema.tagNames.includes(r))&&(i=!0,t.schema.ancestors&&Ar.call(t.schema.ancestors,r))){const o=t.schema.ancestors[r];let l=-1;for(i=!1;++l<o.length;)t.stack.includes(o[l])&&(i=!0)}if(!i)return t.schema.strip&&!t.schema.strip.includes(r)?n:void 0;const s={type:"element",tagName:r,properties:a,children:n};return ki(s,e),s}function iK(t,e){const n={type:"root",children:EO(t,e.children)};return ki(n,e),n}function sK(t,e){const n={type:"text",value:typeof e.value=="string"?e.value:""};return ki(n,e),n}function EO(t,e){const r=[];if(Array.isArray(e)){const n=e;let a=-1;for(;++a<n.length;){const i=TO(t,n[a]);i&&(Array.isArray(i)?r.push(...i):r.push(i))}}return r}function oK(t,e){const r=t.stack[t.stack.length-1],n=t.schema.attributes,a=t.schema.required,i=n&&Ar.call(n,r)?n[r]:void 0,s=n&&Ar.call(n,"*")?n["*"]:void 0,o=e&&typeof e=="object"?e:{},l={};let c;for(c in o)if(Ar.call(o,c)){const u=o[c];let h=sd(t,od(i,c),c,u);h==null&&(h=sd(t,od(s,c),c,u)),h!=null&&(l[c]=h)}if(a&&Ar.call(a,r)){const u=a[r];for(c in u)Ar.call(u,c)&&!Ar.call(l,c)&&(l[c]=u[c])}return l}function sd(t,e,r,n){return e?Array.isArray(n)?lK(t,e,r,n):AO(t,e,r,n):void 0}function lK(t,e,r,n){let a=-1;const i=[];for(;++a<n.length;){const s=AO(t,e,r,n[a]);(typeof s=="number"||typeof s=="string")&&i.push(s)}return i}function AO(t,e,r,n){if(!(typeof n!="boolean"&&typeof n!="number"&&typeof n!="string")&&cK(t,r,n)){if(typeof e=="object"&&e.length>1){let a=!1,i=0;for(;++i<e.length;){const s=e[i];if(s&&typeof s=="object"&&"flags"in s){if(s.test(String(n))){a=!0;break}}else if(s===n){a=!0;break}}if(!a)return}return t.schema.clobber&&t.schema.clobberPrefix&&t.schema.clobber.includes(r)?t.schema.clobberPrefix+n:n}}function cK(t,e,r){const n=t.schema.protocols&&Ar.call(t.schema.protocols,e)?t.schema.protocols[e]:void 0;if(!n||n.length===0)return!0;const a=String(r),i=a.indexOf(":"),s=a.indexOf("?"),o=a.indexOf("#"),l=a.indexOf("/");if(i<0||l>-1&&i>l||s>-1&&i>s||o>-1&&i>o)return!0;let c=-1;for(;++c<n.length;){const u=n[c];if(i===u.length&&a.slice(0,u.length)===u)return!0}return!1}function ki(t,e){const r=xg(e);e.data&&(t.data=Ir(e.data)),r&&(t.position=r)}function od(t,e){let r,n=-1;if(t)for(;++n<t.length;){const a=t[n],i=typeof a=="string"?a:a[0];if(i===e)return a;i==="data*"&&(r=a)}if(e.length>4&&e.slice(0,4).toLowerCase()==="data")return r}function uK(t){return function(e){return tK(e,t)}}function hK(t,e){return CO(t,{})||{type:"root",children:[]}}function CO(t,e){const r=fK(t,e);return r&&e.afterTransform&&e.afterTransform(t,r),r}function fK(t,e){switch(t.nodeType){case 1:return gK(t,e);case 3:return pK(t);case 8:return mK(t);case 9:return ld(t,e);case 10:return dK();case 11:return ld(t,e);default:return}}function ld(t,e){return{type:"root",children:PO(t,e)}}function dK(){return{type:"doctype"}}function pK(t){return{type:"text",value:t.nodeValue||""}}function mK(t){return{type:"comment",value:t.nodeValue||""}}function gK(t,e){const r=t.namespaceURI,n=r===Jt.svg?Mg:$g,a=r===Jt.html?t.tagName.toLowerCase():t.tagName,i=r===Jt.html&&a==="template"?t.content:t,s=t.getAttributeNames(),o={};let l=-1;for(;++l<s.length;)o[s[l]]=t.getAttribute(s[l])||"";return n(a,o,PO(i,e))}function PO(t,e){const r=t.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=CO(r[a],e);i!==void 0&&n.push(i)}return n}new DOMParser;function OK(t,e){const r=yK(t);return hK(r)}function yK(t){const e=document.createElement("template");return e.innerHTML=t,e.content}const cd=(function(t,e,r){const n=pi(r);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=t.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(n(t.children[e],e,t))return t.children[e]}),Br=(function(t){if(t==null)return _K;if(typeof t=="string")return bK(t);if(typeof t=="object")return kK(t);if(typeof t=="function")return Pu(t);throw new Error("Expected function, string, or array as `test`")});function kK(t){const e=[];let r=-1;for(;++r<t.length;)e[r]=Br(t[r]);return Pu(n);function n(...a){let i=-1;for(;++i<e.length;)if(e[i].apply(this,a))return!0;return!1}}function bK(t){return Pu(e);function e(r){return r.tagName===t}}function Pu(t){return e;function e(r,n,a){return!!(wK(r)&&t.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function _K(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="element"&&"tagName"in t&&typeof t.tagName=="string")}function wK(t){return t!==null&&typeof t=="object"&&"type"in t&&"tagName"in t}const ud=/\n/g,hd=/[\t ]+/g,lc=Br("br"),fd=Br(vK),SK=Br("p"),dd=Br("tr"),xK=Br(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",PK,DK]),vO=Br(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function TK(t,e){const r=e||{},n="children"in t?t.children:[],a=vO(t),i=zO(t,{whitespace:r.whitespace||"normal"}),s=[];(t.type==="text"||t.type==="comment")&&s.push(...QO(t,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)s.push(...DO(n[o],t,{whitespace:i,breakBefore:o?void 0:a,breakAfter:o<n.length-1?lc(n[o+1]):a}));const l=[];let c;for(o=-1;++o<s.length;){const u=s[o];typeof u=="number"?c!==void 0&&u>c&&(c=u):u&&(c!==void 0&&c>-1&&l.push(`
48
- `.repeat(c)||" "),c=-1,l.push(u))}return l.join("")}function DO(t,e,r){return t.type==="element"?EK(t,e,r):t.type==="text"?r.whitespace==="normal"?QO(t,r):AK(t):[]}function EK(t,e,r){const n=zO(t,r),a=t.children||[];let i=-1,s=[];if(xK(t))return s;let o,l;for(lc(t)||dd(t)&&cd(e,t,dd)?l=`
49
- `:SK(t)?(o=2,l=2):vO(t)&&(o=1,l=1);++i<a.length;)s=s.concat(DO(a[i],t,{whitespace:n,breakBefore:i?void 0:o,breakAfter:i<a.length-1?lc(a[i+1]):l}));return fd(t)&&cd(e,t,fd)&&s.push(" "),o&&s.unshift(o),l&&s.push(l),s}function QO(t,e){const r=String(t.value),n=[],a=[];let i=0;for(;i<=r.length;){ud.lastIndex=i;const l=ud.exec(r),c=l&&"index"in l?l.index:r.length;n.push(CK(r.slice(i,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?e.breakBefore:!0,c===r.length?e.breakAfter:!0)),i=c+1}let s=-1,o;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(a.push(n[s]),o=void 0):n[s]?(typeof o=="number"&&a.push(o),a.push(n[s]),o=0):(s===0||s===n.length-1)&&a.push(0);return a}function AK(t){return[String(t.value)]}function CK(t,e,r){const n=[];let a=0,i;for(;a<t.length;){hd.lastIndex=a;const s=hd.exec(t);i=s?s.index:t.length,!a&&!i&&s&&!e&&n.push(""),a!==i&&n.push(t.slice(a,i)),a=s?i+s[0].length:i}return a!==i&&!r&&n.push(""),n.join(" ")}function zO(t,e){if(t.type==="element"){const r=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}}return e.whitespace}function PK(t){return!!(t.properties||{}).hidden}function vK(t){return t.tagName==="td"||t.tagName==="th"}function DK(t){return t.tagName==="dialog"&&!(t.properties||{}).open}const QK={},zK=[];function IK(t){const e=t||QK;return function(r,n){Ks(r,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:zK,o=s.includes("language-math"),l=s.includes("math-display"),c=s.includes("math-inline");let u=l;if(!o&&!l&&!c)return;let h=i[i.length-1],f=a;if(a.tagName==="code"&&o&&h&&h.type==="element"&&h.tagName==="pre"&&(f=h,h=i[i.length-2],u=!0),!h)return;const d=TK(f,{whitespace:"pre"});let g;try{g=Bh.renderToString(d,{...e,displayMode:u,throwOnError:!0})}catch(k){const y=k,w=y.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:y,place:a.position,ruleId:w,source:"rehype-katex"});try{g=Bh.renderToString(d,{...e,displayMode:u,strict:"ignore",throwOnError:!1})}catch{g=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(k)},children:[{type:"text",value:d}]}]}}typeof g=="string"&&(g=OK(g).children);const O=h.children.indexOf(f);return h.children.splice(O,1,...g),Aa})}}const LK=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u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00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\u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DE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,RK=Object.hasOwnProperty;class vu{constructor(){this.occurrences,this.reset()}slug(e,r){const n=this;let a=NK(e,r===!0);const i=a;for(;RK.call(n.occurrences,a);)n.occurrences[i]++,a=i+"-"+n.occurrences[i];return n.occurrences[a]=0,a}reset(){this.occurrences=Object.create(null)}}function NK(t,e){return typeof t!="string"?"":(e||(t=t.toLowerCase()),t.replace(LK,"").replace(/ /g,"-"))}function IO(t){const e=t.type==="element"?t.tagName.toLowerCase():"",r=e.length===2&&e.charCodeAt(0)===104?e.charCodeAt(1):0;return r>48&&r<55?r-48:void 0}function $K(t){return"children"in t?LO(t):"value"in t?t.value:""}function MK(t){return t.type==="text"?t.value:"children"in t?LO(t):""}function LO(t){let e=-1;const r=[];for(;++e<t.children.length;)r[e]=MK(t.children[e]);return r.join("")}const FK={},pd=new vu;function BK(t){const r=(t||FK).prefix||"";return function(n){pd.reset(),Ft(n,"element",function(a){IO(a)&&!a.properties.id&&(a.properties.id=r+pd.slug($K(a)))})}}const md={type:"element",tagName:"span",properties:{className:["icon","icon-link"]},children:[]},qK={};function XK(t){const e=t||qK;let r=e.properties;const n=e.headingProperties,a=e.behavior||"prepend",i=e.content,s=e.group,o=Br(e.test);let l;return a==="after"||a==="before"?l=u:a==="wrap"?l=h:(l=c,r||(r={ariaHidden:"true",tabIndex:-1})),function(f){Ft(f,"element",function(d,g,O){if(IO(d)&&d.properties.id&&o(d,g,O))return Object.assign(d.properties,Bi(n,d)),l(d,g,O)})};function c(f){const d=gd(i||md,f);return f.children[a==="prepend"?"unshift":"push"](il(f,Bi(r,f),d)),[Aa]}function u(f,d,g){if(typeof d!="number"||!g)return;const O=gd(i||md,f),k=il(f,Bi(r,f),O);let y=a==="before"?[k,f]:[f,k];if(s){const w=RO(s,f);w&&!Array.isArray(w)&&w.type==="element"&&(w.children=y,y=[w])}return g.children.splice(d,1,...y),[Aa,d+y.length]}function h(f){let d=f.children,g=[];return typeof i=="function"?(d=[],g=i(f)):i&&(g=Du(i)),f.children=[il(f,Bi(r,f),Array.isArray(g)?[...d,...g]:[...d,g])],[Aa]}}function Du(t){return Ir(t)}function il(t,e,r){return{type:"element",tagName:"a",properties:{...e,href:"#"+t.properties.id},children:r}}function gd(t,e){const r=RO(t,e);return Array.isArray(r)?r:[r]}function RO(t,e){return typeof t=="function"?t(e):Du(t)}function Bi(t,e){return typeof t=="function"?t(e):t?Du(t):{}}let sl=null;function jK(t){return sl||(sl=Hb.createHighlighter({themes:[t,"github-light"],langs:["javascript","typescript","python","java","c","cpp","csharp","go","rust","ruby","php","swift","kotlin","html","css","scss","json","yaml","toml","xml","sql","bash","shell","powershell","dockerfile","markdown","latex","graphql","regex"]})),sl}const NO=(t={})=>{const{theme:e="github-dark",lineNumbers:r=!1}=t;return async n=>{const a=await jK(e),i=[];Ft(n,"element",s=>{var o;if(s.tagName==="pre"&&s.children.length===1&&s.children[0].tagName==="code"){const l=s.children[0],u=(((o=l.properties)==null?void 0:o.className)??[]).find(d=>d.startsWith("language-")),h=(u==null?void 0:u.replace("language-",""))??"text",f=$O(l);i.push({node:s,lang:h,code:f})}});for(const{node:s,lang:o,code:l}of i){if(o==="mermaid"){s.properties={...s.properties,className:["mermaid-container"],"data-mermaid":l};continue}try{const c=a.codeToHtml(l,{lang:o,themes:{dark:e,light:"github-light"}});s.tagName="div",s.properties={className:["code-block",r?"line-numbers":""].filter(Boolean),"data-language":o},s.children=[{type:"raw",value:c}]}catch{}}}};function $O(t){return t.type==="text"?t.value:t.children?t.children.map($O).join(""):""}const MO=()=>t=>{Ft(t,"blockquote",e=>{var s,o;if(!((s=e.children)!=null&&s.length))return;const r=e.children[0];if(r.type!=="paragraph"||!((o=r.children)!=null&&o.length))return;const n=r.children[0];if(n.type!=="text")return;const a=n.value.match(/^\[!(NOTE|TIP|WARNING|CAUTION|IMPORTANT)\]\s*/i);if(!a)return;const i=a[1].toLowerCase();n.value=n.value.slice(a[0].length),!n.value&&r.children.length===1&&e.children.shift(),e.data=e.data??{},e.data.hProperties=e.data.hProperties??{},e.data.hProperties.className=["markdown-alert",`markdown-alert-${i}`]})},FO=()=>t=>{Ft(t,e=>{if(e.type==="containerDirective"||e.type==="leafDirective"||e.type==="textDirective"){const r=e.name,n=e.data??(e.data={}),a=n.hProperties??(n.hProperties={});["note","tip","warning","caution","important","danger"].includes(r)?(a.className=["markdown-container",`markdown-container-${r}`],n.hName="div"):(a.className=["markdown-container",`markdown-container-${r}`],n.hName=e.type==="textDirective"?"span":"div")}})};function so(t){const e=new vu,r=[];return Ft(t,"heading",n=>{const a=fi(n),i=e.slug(a);r.push({depth:n.depth,text:a,id:i})}),ZK(r)}function ZK(t){const e=[],r=[];for(const n of t){const a={...n,children:[]};for(;r.length>0&&r[r.length-1].depth>=a.depth;)r.pop();r.length===0?e.push(a):r[r.length-1].children.push(a),r.push(a)}return e}const BO=()=>t=>{const e=so(t);Ft(t,"paragraph",r=>{const n=fi(r).trim().toLowerCase();if(n==="[[toc]]"||n==="[toc]"){const a=qO(e);r.type="html",r.value=a,delete r.children}})};function qO(t,e=0){if(t.length===0)return"";const r=" ".repeat(e);let n=`${r}<ul class="markdown-toc markdown-toc-level-${e}">
50
- `;for(const a of t)n+=`${r} <li>
51
- `,n+=`${r} <a href="#${encodeURIComponent(a.id)}" class="markdown-toc-link">${UK(a.text)}</a>
52
- `,a.children.length>0&&(n+=qO(a.children,e+1)),n+=`${r} </li>
53
- `;return n+=`${r}</ul>
54
- `,n}function UK(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const XO=()=>t=>{Ft(t,"element",e=>{var r,n,a,i,s,o;e.tagName==="img"&&!((r=e.properties)!=null&&r.alt)&&(e.properties=e.properties??{},e.properties.alt="Image"),e.tagName==="table"&&(e.properties=e.properties??{},e.properties.role="table"),e.tagName==="pre"&&((n=e.properties)!=null&&n["data-language"])&&(e.properties["aria-label"]=`Code block in ${e.properties["data-language"]}`,e.properties.role="region"),e.tagName==="input"&&((a=e.properties)==null?void 0:a.type)==="checkbox"&&(e.properties["aria-label"]=e.properties.checked?"Completed task":"Incomplete task"),(o=(s=(i=e.properties)==null?void 0:i.className)==null?void 0:s.includes)!=null&&o.call(s,"math")&&(e.properties.role="math")})};function bi(t={}){const{gfm:e=!0,math:r=!0,mermaid:n=!0,frontmatter:a=!0,emoji:i=!0,sanitize:s=!0,allowHtml:o=!0,codeTheme:l="github-dark",highlight:c=!0,remarkPlugins:u=[],rehypePlugins:h=[]}=t;let f=xm().use(Mm);e&&(f=f.use(dg)),r&&(f=f.use(pg)),a&&(f=f.use(mg,["yaml","toml"])),i&&(f=f.use(uY)),f=f.use(KT),e&&(f=f.use(MO)),f=f.use(FO),t.toc&&(f=f.use(BO));for(const d of u)f=f.use(d);if(f=f.use(WY,{allowDangerousHtml:o}),o&&(f=f.use(fG)),r&&(f=f.use(IK)),s){const d=t.sanitizeSchema??YK({math:r,mermaid:n});f=f.use(uK,d)}f=f.use(BK).use(XK,{behavior:"wrap"}),c&&(f=f.use(NO,{theme:l})),f=f.use(XO);for(const d of h)f=f.use(d);return f=f.use(eK,{allowDangerousHtml:!0}),f}function YK(t){const e={...oc};e.attributes={...e.attributes},e.attributes["*"]=[...e.attributes["*"]??[],"className","style","id","dataLanguage","dataMermaid","dataRendered"];const r=["div","span"];return e.tagNames=[...e.tagNames??[],...r],t.math&&(e.tagNames=[...e.tagNames,"math","semantics","annotation","mrow","mi","mo","mn","msup","msub","mfrac","mover","munder","mtable","mtr","mtd","mspace","mtext","msqrt"]),t.mermaid&&(e.attributes.code=[...e.attributes.code??[],"className"],e.attributes.pre=[...e.attributes.pre??[],"className"]),e.attributes["*"]=[...e.attributes["*"],"ariaLabel","role"],e}async function HK(t,e){const n=await bi(e).process(t);return String(n)}function VK(t,e){const n=bi(e).processSync(t);return String(n)}function Qu(t,e){const r=xm().use(Mm);return(e==null?void 0:e.gfm)!==!1&&r.use(dg),e!=null&&e.math&&r.use(pg),(e==null?void 0:e.frontmatter)!==!1&&r.use(mg,["yaml","toml"]),r.parse(t)}let ol=null,Od=!1;async function WK(){return ol||(ol=await import("mermaid")),ol}async function jO(t={}){const e=await WK();return Od||(e.default.initialize({startOnLoad:!1,theme:t.theme??"default",securityLevel:"strict",fontFamily:"ui-monospace, monospace",...t.config}),Od=!0),e.default}async function ZO(t,e){const r=await jO();try{if(!await r.parse(t))return yd("Mermaid syntax error");const{svg:a}=await r.render(e,t);return a}catch(n){return yd(n instanceof Error?n.message:"Mermaid render error")}}function yd(t){return`<div class="mermaid-error">
55
- <span class="mermaid-error-icon">⚠️</span>
56
- <span class="mermaid-error-message">${GK(t)}</span>
57
- </div>`}function GK(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function UO(t,e){const[r,n]=ne.useState(t);return ne.useEffect(()=>{const a=setTimeout(()=>n(t),e);return()=>clearTimeout(a)},[t,e]),r}async function YO(t){try{if(navigator.clipboard)return await navigator.clipboard.writeText(t),!0;const e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.select();const r=document.execCommand("copy");return document.body.removeChild(e),r}catch{return!1}}const KK={toolbar:{bold:"加粗",italic:"斜体",strikethrough:"删除线",heading:"标题",h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",quote:"引用",code:"行内代码",codeblock:"代码块",link:"链接",image:"图片",table:"表格",ul:"无序列表",ol:"有序列表",task:"任务列表",hr:"分割线",math:"数学公式",undo:"撤销",redo:"重做",preview:"预览",fullscreen:"全屏",layout:"布局","layout_preview-only":"预览","layout_editor-only":"编辑",layout_split:"分屏"},editor:{placeholder:"开始输入 Markdown...",uploading:"上传中...",uploadSuccess:"上传成功",uploadFailed:"上传失败",autoSaved:"已自动保存"},renderer:{copyCode:"复制",copied:"已复制!",renderError:"渲染错误:",loading:"渲染中...",download:"下载",preview:"预览",closePreview:"关闭"},toc:{title:"目录",noHeadings:"暂无标题"},theme:{light:"浅色",dark:"深色",auto:"跟随系统"}},JK={toolbar:{bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",heading:"Heading",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",quote:"Quote",code:"Inline Code",codeblock:"Code Block",link:"Link",image:"Image",table:"Table",ul:"Unordered List",ol:"Ordered List",task:"Task List",hr:"Horizontal Rule",math:"Math Formula",undo:"Undo",redo:"Redo",preview:"Preview",fullscreen:"Fullscreen",layout:"Layout","layout_preview-only":"Preview","layout_editor-only":"Editor",layout_split:"Split"},editor:{placeholder:"Start typing Markdown...",uploading:"Uploading...",uploadSuccess:"Upload successful",uploadFailed:"Upload failed",autoSaved:"Auto-saved"},renderer:{copyCode:"Copy",copied:"Copied!",renderError:"Render Error:",loading:"Rendering...",download:"Download",preview:"Preview",closePreview:"Close"},toc:{title:"Table of Contents",noHeadings:"No headings"},theme:{light:"Light",dark:"Dark",auto:"System"}},HO={"zh-CN":KK,"en-US":JK};let zu="en-US";function eJ(t){zu=t}function tJ(){return zu}function rJ(){return HO[zu]}function Iu(t){return HO[t]}const VO=ne.createContext({theme:"auto",setTheme:()=>{},resolvedTheme:"light"});function _i(){return ne.useContext(VO)}const WO=ne.createContext({locale:"en-US",setLocale:()=>{},messages:Iu("en-US")});function Kn(){return ne.useContext(WO)}function nJ(){return typeof window>"u"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const aJ=({children:t,defaultTheme:e="auto",defaultLocale:r="en-US"})=>{const[n,a]=ne.useState(e),[i,s]=ne.useState(r),[o,l]=ne.useState(nJ);ne.useEffect(()=>{const d=window.matchMedia("(prefers-color-scheme: dark)"),g=O=>{l(O.matches?"dark":"light")};return d.addEventListener("change",g),()=>d.removeEventListener("change",g)},[]);const c=ne.useCallback(d=>a(d),[]),u=ne.useCallback(d=>s(d),[]),h=n==="auto"?o:n,f=Iu(i);return te.jsx(VO.Provider,{value:{theme:n,setTheme:c,resolvedTheme:h},children:te.jsx(WO.Provider,{value:{locale:i,setLocale:u,messages:f},children:t})})},iJ={javascript:"js",typescript:"ts",python:"py",java:"java",c:"c",cpp:"cpp",csharp:"cs",go:"go",rust:"rs",ruby:"rb",php:"php",swift:"swift",kotlin:"kt",html:"html",css:"css",scss:"scss",json:"json",yaml:"yml",toml:"toml",xml:"xml",sql:"sql",bash:"sh",shell:"sh",powershell:"ps1",dockerfile:"dockerfile",markdown:"md",latex:"tex",graphql:"graphql"},sJ=80;function oJ(t,e){const r=iJ[e]||"txt",n=new Blob([t],{type:"text/plain"}),a=URL.createObjectURL(n),i=document.createElement("a");i.href=a,i.download=`code-snippet.${r}`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)}function lJ(t,e){const r=document.createElement("div");r.className="code-preview-modal";const n=document.createElement("button");n.className="code-preview-close",n.textContent=e,n.addEventListener("click",()=>{document.body.removeChild(r)});const a=document.createElement("iframe");a.className="code-preview-iframe",a.setAttribute("sandbox","allow-scripts"),a.srcdoc=t,r.appendChild(n),r.appendChild(a),r.addEventListener("click",i=>{i.target===r&&document.body.removeChild(r)}),document.body.appendChild(r)}const Lu=ne.memo(({source:t,options:e,className:r="",theme:n,showToc:a=!0,tocPosition:i="right",debounceMs:s=150,onRendered:o,onLinkClick:l,onImageClick:c,streaming:u=!1,onStreamEnd:h})=>{const{resolvedTheme:f,theme:d}=_i(),{messages:g}=Kn(),O=n??(d||"auto"),k=O==="auto"?f:O,[y,w]=ne.useState(""),[P,N]=ne.useState([]),[T,m]=ne.useState(!1),[S,$]=ne.useState(null),Q=ne.useRef(null),D=ne.useRef(u),R=UO(t,u?0:s),Z=ne.useMemo(()=>bi(e),[JSON.stringify(e)]);ne.useEffect(()=>{let v=!1;async function G(){if(!R.trim()){w(""),N([]);return}m(!0),$(null);try{const ie=await Z.process(R);if(v)return;const de=String(ie),pe=Qu(R,e),E=so(pe);w(de),N(E),o==null||o({html:de,toc:E})}catch(ie){v||$(ie instanceof Error?ie:new Error(String(ie)))}finally{v||m(!1)}}return G(),()=>{v=!0}},[R,Z]),ne.useEffect(()=>{if(!Q.current)return;Q.current.querySelectorAll(".mermaid-container").forEach(async(G,ie)=>{const de=G.getAttribute("data-mermaid");if(!de||G.getAttribute("data-rendered"))return;G.setAttribute("data-rendered","true");const pe=await ZO(de,`mermaid-${ie}`);G.innerHTML=pe})},[y]),ne.useEffect(()=>{if(!Q.current)return;Q.current.querySelectorAll(".code-block").forEach(G=>{var he;if(G.querySelector(".code-block-actions"))return;const ie=(G.getAttribute("data-language")??"").toLowerCase(),de=((he=G.querySelector("code"))==null?void 0:he.textContent)??"",pe=document.createElement("div");pe.className="code-block-actions";const E=document.createElement("button");E.className="copy-button",E.textContent=g.renderer.copyCode,E.addEventListener("click",async()=>{await YO(de),E.textContent=g.renderer.copied,setTimeout(()=>E.textContent=g.renderer.copyCode,2e3)}),pe.appendChild(E);const J=document.createElement("button");if(J.className="download-button",J.textContent=g.renderer.download,J.addEventListener("click",()=>{oJ(de,ie)}),pe.appendChild(J),ie==="html"){const A=document.createElement("button");A.className="preview-button",A.textContent=g.renderer.preview,A.addEventListener("click",()=>{lJ(de,g.renderer.closePreview)}),pe.appendChild(A)}G.style.position="relative",G.appendChild(pe)})},[y,g.renderer]),ne.useEffect(()=>{D.current&&!u&&(h==null||h()),D.current=u},[u,h]),ne.useEffect(()=>{if(u&&Q.current){const v=Q.current;v.scrollHeight-v.scrollTop-v.clientHeight<sJ&&(v.scrollTop=v.scrollHeight)}},[y,u]);const W=ne.useCallback(v=>{const G=v.target,ie=G.closest("a");if(ie&&l){const de=ie.getAttribute("href");de&&l(de,v)}if(G.tagName==="IMG"&&c){const de=G;c(de.src,de.alt,v)}},[l,c]);return S?te.jsx("div",{className:`markdown-renderer markdown-error ${r}`,children:te.jsxs("div",{className:"markdown-error-banner",children:[te.jsx("strong",{children:g.renderer.renderError})," ",S.message]})}):te.jsxs("div",{className:`markdown-renderer markdown-theme-${k} toc-${i} ${r}`,"data-loading":T||void 0,children:[a&&P.length>0&&te.jsx("aside",{className:"markdown-toc-sidebar",children:te.jsx(cJ,{items:P})}),te.jsx("div",{ref:Q,className:`markdown-body${u?" streaming":""}`,onClick:W,dangerouslySetInnerHTML:{__html:y}})]})});Lu.displayName="MarkdownRenderer";const cJ=({items:t})=>{const[e,r]=ne.useState("");ne.useEffect(()=>{const i=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&r(l.target.id)},{rootMargin:"-80px 0px -80% 0px"});return document.querySelectorAll(".markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4").forEach(o=>i.observe(o)),()=>i.disconnect()},[t]);const n=ne.useCallback((i,s)=>{i.preventDefault();const o=document.getElementById(s);o&&o.scrollIntoView({behavior:"smooth"})},[]),a=i=>te.jsx("ul",{className:"toc-list",children:i.map(s=>te.jsxs("li",{className:`toc-item toc-level-${s.depth} ${e===s.id?"toc-active":""}`,children:[te.jsx("a",{href:`#${s.id}`,onClick:o=>n(o,s.id),children:s.text}),s.children.length>0&&a(s.children)]},s.id))});return te.jsx("nav",{className:"toc-nav",children:a(t)})};let cc=[],GO=[];(()=>{let t="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,r=0;e<t.length;e++)(e%2?GO:cc).push(r=r+t[e])})();function uJ(t){if(t<768)return!1;for(let e=0,r=cc.length;;){let n=e+r>>1;if(t<cc[n])r=n;else if(t>=GO[n])e=n+1;else return!0;if(e==r)return!1}}function kd(t){return t>=127462&&t<=127487}const bd=8205;function hJ(t,e,r=!0,n=!0){return(r?KO:fJ)(t,e,n)}function KO(t,e,r){if(e==t.length)return e;e&&JO(t.charCodeAt(e))&&e0(t.charCodeAt(e-1))&&e--;let n=ll(t,e);for(e+=_d(n);e<t.length;){let a=ll(t,e);if(n==bd||a==bd||r&&uJ(a))e+=_d(a),n=a;else if(kd(a)){let i=0,s=e-2;for(;s>=0&&kd(ll(t,s));)i++,s-=2;if(i%2==0)break;e+=2}else break}return e}function fJ(t,e,r){for(;e>0;){let n=KO(t,e-2,r);if(n<e)return n;e--}return 0}function ll(t,e){let r=t.charCodeAt(e);if(!e0(r)||e+1==t.length)return r;let n=t.charCodeAt(e+1);return JO(n)?(r-55296<<10)+(n-56320)+65536:r}function JO(t){return t>=56320&&t<57344}function e0(t){return t>=55296&&t<56320}function _d(t){return t<65536?1:2}class _e{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,r,n){[e,r]=Rn(this,e,r);let a=[];return this.decompose(0,e,a,2),n.length&&n.decompose(0,n.length,a,3),this.decompose(r,this.length,a,1),Gt.from(a,this.length-(r-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,r=this.length){[e,r]=Rn(this,e,r);let n=[];return this.decompose(e,r,n,0),Gt.from(n,r-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let r=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),a=new Ia(this),i=new Ia(e);for(let s=r,o=r;;){if(a.next(s),i.next(s),s=0,a.lineBreak!=i.lineBreak||a.done!=i.done||a.value!=i.value)return!1;if(o+=a.value.length,a.done||o>=n)return!0}}iter(e=1){return new Ia(this,e)}iterRange(e,r=this.length){return new t0(this,e,r)}iterLines(e,r){let n;if(e==null)n=this.iter();else{r==null&&(r=this.lines+1);let a=this.line(e).from;n=this.iterRange(a,Math.max(a,r==this.lines+1?this.length:r<=1?0:this.line(r-1).to))}return new r0(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?_e.empty:e.length<=32?new Re(e):Gt.from(Re.split(e,[]))}}class Re extends _e{constructor(e,r=dJ(e)){super(),this.text=e,this.length=r}get lines(){return this.text.length}get children(){return null}lineInner(e,r,n,a){for(let i=0;;i++){let s=this.text[i],o=a+s.length;if((r?n:o)>=e)return new pJ(a,o,n,s);a=o+1,n++}}decompose(e,r,n,a){let i=e<=0&&r>=this.length?this:new Re(wd(this.text,e,r),Math.min(r,this.length)-Math.max(0,e));if(a&1){let s=n.pop(),o=hs(i.text,s.text.slice(),0,i.length);if(o.length<=32)n.push(new Re(o,s.length+i.length));else{let l=o.length>>1;n.push(new Re(o.slice(0,l)),new Re(o.slice(l)))}}else n.push(i)}replace(e,r,n){if(!(n instanceof Re))return super.replace(e,r,n);[e,r]=Rn(this,e,r);let a=hs(this.text,hs(n.text,wd(this.text,0,e)),r),i=this.length+n.length-(r-e);return a.length<=32?new Re(a,i):Gt.from(Re.split(a,[]),i)}sliceString(e,r=this.length,n=`
58
- `){[e,r]=Rn(this,e,r);let a="";for(let i=0,s=0;i<=r&&s<this.text.length;s++){let o=this.text[s],l=i+o.length;i>e&&s&&(a+=n),e<l&&r>i&&(a+=o.slice(Math.max(0,e-i),r-i)),i=l+1}return a}flatten(e){for(let r of this.text)e.push(r)}scanIdentical(){return 0}static split(e,r){let n=[],a=-1;for(let i of e)n.push(i),a+=i.length+1,n.length==32&&(r.push(new Re(n,a)),n=[],a=-1);return a>-1&&r.push(new Re(n,a)),r}}class Gt extends _e{constructor(e,r){super(),this.children=e,this.length=r,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,r,n,a){for(let i=0;;i++){let s=this.children[i],o=a+s.length,l=n+s.lines-1;if((r?l:o)>=e)return s.lineInner(e,r,n,a);a=o+1,n=l+1}}decompose(e,r,n,a){for(let i=0,s=0;s<=r&&i<this.children.length;i++){let o=this.children[i],l=s+o.length;if(e<=l&&r>=s){let c=a&((s<=e?1:0)|(l>=r?2:0));s>=e&&l<=r&&!c?n.push(o):o.decompose(e-s,r-s,n,c)}s=l+1}}replace(e,r,n){if([e,r]=Rn(this,e,r),n.lines<this.lines)for(let a=0,i=0;a<this.children.length;a++){let s=this.children[a],o=i+s.length;if(e>=i&&r<=o){let l=s.replace(e-i,r-i,n),c=this.lines-s.lines+l.lines;if(l.lines<c>>4&&l.lines>c>>6){let u=this.children.slice();return u[a]=l,new Gt(u,this.length-(r-e)+n.length)}return super.replace(i,o,l)}i=o+1}return super.replace(e,r,n)}sliceString(e,r=this.length,n=`
59
- `){[e,r]=Rn(this,e,r);let a="";for(let i=0,s=0;i<this.children.length&&s<=r;i++){let o=this.children[i],l=s+o.length;s>e&&i&&(a+=n),e<l&&r>s&&(a+=o.sliceString(e-s,r-s,n)),s=l+1}return a}flatten(e){for(let r of this.children)r.flatten(e)}scanIdentical(e,r){if(!(e instanceof Gt))return 0;let n=0,[a,i,s,o]=r>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;a+=r,i+=r){if(a==s||i==o)return n;let l=this.children[a],c=e.children[i];if(l!=c)return n+l.scanIdentical(c,r);n+=l.length+1}}static from(e,r=e.reduce((n,a)=>n+a.length+1,-1)){let n=0;for(let d of e)n+=d.lines;if(n<32){let d=[];for(let g of e)g.flatten(d);return new Re(d,r)}let a=Math.max(32,n>>5),i=a<<1,s=a>>1,o=[],l=0,c=-1,u=[];function h(d){let g;if(d.lines>i&&d instanceof Gt)for(let O of d.children)h(O);else d.lines>s&&(l>s||!l)?(f(),o.push(d)):d instanceof Re&&l&&(g=u[u.length-1])instanceof Re&&d.lines+g.lines<=32?(l+=d.lines,c+=d.length+1,u[u.length-1]=new Re(g.text.concat(d.text),g.length+1+d.length)):(l+d.lines>a&&f(),l+=d.lines,c+=d.length+1,u.push(d))}function f(){l!=0&&(o.push(u.length==1?u[0]:Gt.from(u,c)),c=-1,l=u.length=0)}for(let d of e)h(d);return f(),o.length==1?o[0]:new Gt(o,r)}}_e.empty=new Re([""],0);function dJ(t){let e=-1;for(let r of t)e+=r.length+1;return e}function hs(t,e,r=0,n=1e9){for(let a=0,i=0,s=!0;i<t.length&&a<=n;i++){let o=t[i],l=a+o.length;l>=r&&(l>n&&(o=o.slice(0,n-a)),a<r&&(o=o.slice(r-a)),s?(e[e.length-1]+=o,s=!1):e.push(o)),a=l+1}return e}function wd(t,e,r){return hs(t,[""],e,r)}class Ia{constructor(e,r=1){this.dir=r,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[r>0?1:(e instanceof Re?e.text.length:e.children.length)<<1]}nextInner(e,r){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,a=this.nodes[n],i=this.offsets[n],s=i>>1,o=a instanceof Re?a.text.length:a.children.length;if(s==(r>0?o:0)){if(n==0)return this.done=!0,this.value="",this;r>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(r>0?0:1)){if(this.offsets[n]+=r,e==0)return this.lineBreak=!0,this.value=`
60
- `,this;e--}else if(a instanceof Re){let l=a.text[s+(r<0?-1:0)];if(this.offsets[n]+=r,l.length>Math.max(0,e))return this.value=e==0?l:r>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=a.children[s+(r<0?-1:0)];e>l.length?(e-=l.length,this.offsets[n]+=r):(r<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(r>0?1:(l instanceof Re?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class t0{constructor(e,r,n){this.value="",this.done=!1,this.cursor=new Ia(e,r>n?-1:1),this.pos=r>n?e.length:0,this.from=Math.min(r,n),this.to=Math.max(r,n)}nextInner(e,r){if(r<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,r<0?this.pos-this.to:this.from-this.pos);let n=r<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:a}=this.cursor.next(e);return this.pos+=(a.length+e)*r,this.value=a.length<=n?a:r<0?a.slice(a.length-n):a.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class r0{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:r,lineBreak:n,value:a}=this.inner.next(e);return r&&this.afterBreak?(this.value="",this.afterBreak=!1):r?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=a,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(_e.prototype[Symbol.iterator]=function(){return this.iter()},Ia.prototype[Symbol.iterator]=t0.prototype[Symbol.iterator]=r0.prototype[Symbol.iterator]=function(){return this});let pJ=class{constructor(e,r,n,a){this.from=e,this.to=r,this.number=n,this.text=a}get length(){return this.to-this.from}};function Rn(t,e,r){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,r))]}function Ke(t,e,r=!0,n=!0){return hJ(t,e,r,n)}function mJ(t){return t>=56320&&t<57344}function gJ(t){return t>=55296&&t<56320}function oo(t,e){let r=t.charCodeAt(e);if(!gJ(r)||e+1==t.length)return r;let n=t.charCodeAt(e+1);return mJ(n)?(r-55296<<10)+(n-56320)+65536:r}function OJ(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function Ru(t){return t<65536?1:2}const uc=/\r\n?|\n/;var Ge=(function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t})(Ge||(Ge={}));class ar{constructor(e){this.sections=e}get length(){let e=0;for(let r=0;r<this.sections.length;r+=2)e+=this.sections[r];return e}get newLength(){let e=0;for(let r=0;r<this.sections.length;r+=2){let n=this.sections[r+1];e+=n<0?this.sections[r]:n}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let r=0,n=0,a=0;r<this.sections.length;){let i=this.sections[r++],s=this.sections[r++];s<0?(e(n,a,i),a+=i):a+=s,n+=i}}iterChangedRanges(e,r=!1){hc(this,e,r)}get invertedDesc(){let e=[];for(let r=0;r<this.sections.length;){let n=this.sections[r++],a=this.sections[r++];a<0?e.push(n,a):e.push(a,n)}return new ar(e)}composeDesc(e){return this.empty?e:e.empty?this:n0(this,e)}mapDesc(e,r=!1){return e.empty?this:fc(this,e,r)}mapPos(e,r=-1,n=Ge.Simple){let a=0,i=0;for(let s=0;s<this.sections.length;){let o=this.sections[s++],l=this.sections[s++],c=a+o;if(l<0){if(c>e)return i+(e-a);i+=o}else{if(n!=Ge.Simple&&c>=e&&(n==Ge.TrackDel&&a<e&&c>e||n==Ge.TrackBefore&&a<e||n==Ge.TrackAfter&&c>e))return null;if(c>e||c==e&&r<0&&!o)return e==a||r<0?i:i+l;i+=l}a=c}if(e>a)throw new RangeError(`Position ${e} is out of range for changeset of length ${a}`);return i}touchesRange(e,r=e){for(let n=0,a=0;n<this.sections.length&&a<=r;){let i=this.sections[n++],s=this.sections[n++],o=a+i;if(s>=0&&a<=r&&o>=e)return a<e&&o>r?"cover":!0;a=o}return!1}toString(){let e="";for(let r=0;r<this.sections.length;){let n=this.sections[r++],a=this.sections[r++];e+=(e?" ":"")+n+(a>=0?":"+a:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(r=>typeof r!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new ar(e)}static create(e){return new ar(e)}}class Be extends ar{constructor(e,r){super(e),this.inserted=r}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return hc(this,(r,n,a,i,s)=>e=e.replace(a,a+(n-r),s),!1),e}mapDesc(e,r=!1){return fc(this,e,r,!0)}invert(e){let r=this.sections.slice(),n=[];for(let a=0,i=0;a<r.length;a+=2){let s=r[a],o=r[a+1];if(o>=0){r[a]=o,r[a+1]=s;let l=a>>1;for(;n.length<l;)n.push(_e.empty);n.push(s?e.slice(i,i+s):_e.empty)}i+=s}return new Be(r,n)}compose(e){return this.empty?e:e.empty?this:n0(this,e,!0)}map(e,r=!1){return e.empty?this:fc(this,e,r,!0)}iterChanges(e,r=!1){hc(this,e,r)}get desc(){return ar.create(this.sections)}filter(e){let r=[],n=[],a=[],i=new Ya(this);e:for(let s=0,o=0;;){let l=s==e.length?1e9:e[s++];for(;o<l||o==l&&i.len==0;){if(i.done)break e;let u=Math.min(i.len,l-o);We(a,u,-1);let h=i.ins==-1?-1:i.off==0?i.ins:0;We(r,u,h),h>0&&Qr(n,r,i.text),i.forward(u),o+=u}let c=e[s++];for(;o<c;){if(i.done)break e;let u=Math.min(i.len,c-o);We(r,u,-1),We(a,u,i.ins==-1?-1:i.off==0?i.ins:0),i.forward(u),o+=u}}return{changes:new Be(r,n),filtered:ar.create(a)}}toJSON(){let e=[];for(let r=0;r<this.sections.length;r+=2){let n=this.sections[r],a=this.sections[r+1];a<0?e.push(n):a==0?e.push([n]):e.push([n].concat(this.inserted[r>>1].toJSON()))}return e}static of(e,r,n){let a=[],i=[],s=0,o=null;function l(u=!1){if(!u&&!a.length)return;s<r&&We(a,r-s,-1);let h=new Be(a,i);o=o?o.compose(h.map(o)):h,a=[],i=[],s=0}function c(u){if(Array.isArray(u))for(let h of u)c(h);else if(u instanceof Be){if(u.length!=r)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${r})`);l(),o=o?o.compose(u.map(o)):u}else{let{from:h,to:f=h,insert:d}=u;if(h>f||h<0||f>r)throw new RangeError(`Invalid change range ${h} to ${f} (in doc of length ${r})`);let g=d?typeof d=="string"?_e.of(d.split(n||uc)):d:_e.empty,O=g.length;if(h==f&&O==0)return;h<s&&l(),h>s&&We(a,h-s,-1),We(a,f-h,O),Qr(i,a,g),s=f}}return c(e),l(!o),o}static empty(e){return new Be(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let r=[],n=[];for(let a=0;a<e.length;a++){let i=e[a];if(typeof i=="number")r.push(i,-1);else{if(!Array.isArray(i)||typeof i[0]!="number"||i.some((s,o)=>o&&typeof s!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(i.length==1)r.push(i[0],0);else{for(;n.length<a;)n.push(_e.empty);n[a]=_e.of(i.slice(1)),r.push(i[0],n[a].length)}}}return new Be(r,n)}static createSet(e,r){return new Be(e,r)}}function We(t,e,r,n=!1){if(e==0&&r<=0)return;let a=t.length-2;a>=0&&r<=0&&r==t[a+1]?t[a]+=e:a>=0&&e==0&&t[a]==0?t[a+1]+=r:n?(t[a]+=e,t[a+1]+=r):t.push(e,r)}function Qr(t,e,r){if(r.length==0)return;let n=e.length-2>>1;if(n<t.length)t[t.length-1]=t[t.length-1].append(r);else{for(;t.length<n;)t.push(_e.empty);t.push(r)}}function hc(t,e,r){let n=t.inserted;for(let a=0,i=0,s=0;s<t.sections.length;){let o=t.sections[s++],l=t.sections[s++];if(l<0)a+=o,i+=o;else{let c=a,u=i,h=_e.empty;for(;c+=o,u+=l,l&&n&&(h=h.append(n[s-2>>1])),!(r||s==t.sections.length||t.sections[s+1]<0);)o=t.sections[s++],l=t.sections[s++];e(a,c,i,u,h),a=c,i=u}}}function fc(t,e,r,n=!1){let a=[],i=n?[]:null,s=new Ya(t),o=new Ya(e);for(let l=-1;;){if(s.done&&o.len||o.done&&s.len)throw new Error("Mismatched change set lengths");if(s.ins==-1&&o.ins==-1){let c=Math.min(s.len,o.len);We(a,c,-1),s.forward(c),o.forward(c)}else if(o.ins>=0&&(s.ins<0||l==s.i||s.off==0&&(o.len<s.len||o.len==s.len&&!r))){let c=o.len;for(We(a,o.ins,-1);c;){let u=Math.min(s.len,c);s.ins>=0&&l<s.i&&s.len<=u&&(We(a,0,s.ins),i&&Qr(i,a,s.text),l=s.i),s.forward(u),c-=u}o.next()}else if(s.ins>=0){let c=0,u=s.len;for(;u;)if(o.ins==-1){let h=Math.min(u,o.len);c+=h,u-=h,o.forward(h)}else if(o.ins==0&&o.len<u)u-=o.len,o.next();else break;We(a,c,l<s.i?s.ins:0),i&&l<s.i&&Qr(i,a,s.text),l=s.i,s.forward(s.len-u)}else{if(s.done&&o.done)return i?Be.createSet(a,i):ar.create(a);throw new Error("Mismatched change set lengths")}}}function n0(t,e,r=!1){let n=[],a=r?[]:null,i=new Ya(t),s=new Ya(e);for(let o=!1;;){if(i.done&&s.done)return a?Be.createSet(n,a):ar.create(n);if(i.ins==0)We(n,i.len,0,o),i.next();else if(s.len==0&&!s.done)We(n,0,s.ins,o),a&&Qr(a,n,s.text),s.next();else{if(i.done||s.done)throw new Error("Mismatched change set lengths");{let l=Math.min(i.len2,s.len),c=n.length;if(i.ins==-1){let u=s.ins==-1?-1:s.off?0:s.ins;We(n,l,u,o),a&&u&&Qr(a,n,s.text)}else s.ins==-1?(We(n,i.off?0:i.len,l,o),a&&Qr(a,n,i.textBit(l))):(We(n,i.off?0:i.len,s.off?0:s.ins,o),a&&!s.off&&Qr(a,n,s.text));o=(i.ins>l||s.ins>=0&&s.len>l)&&(o||n.length>c),i.forward2(l),s.forward(l)}}}}class Ya{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,r=this.i-2>>1;return r>=e.length?_e.empty:e[r]}textBit(e){let{inserted:r}=this.set,n=this.i-2>>1;return n>=r.length&&!e?_e.empty:r[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Kr{constructor(e,r,n){this.from=e,this.to=r,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,r=-1){let n,a;return this.empty?n=a=e.mapPos(this.from,r):(n=e.mapPos(this.from,1),a=e.mapPos(this.to,-1)),n==this.from&&a==this.to?this:new Kr(n,a,this.flags)}extend(e,r=e){if(e<=this.anchor&&r>=this.anchor)return q.range(e,r);let n=Math.abs(e-this.anchor)>Math.abs(r-this.anchor)?e:r;return q.range(this.anchor,n)}eq(e,r=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!r||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return q.range(e.anchor,e.head)}static create(e,r,n){return new Kr(e,r,n)}}class q{constructor(e,r){this.ranges=e,this.mainIndex=r}map(e,r=-1){return e.empty?this:q.create(this.ranges.map(n=>n.map(e,r)),this.mainIndex)}eq(e,r=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],r))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new q([this.main],0)}addRange(e,r=!0){return q.create([e].concat(this.ranges),r?0:this.mainIndex+1)}replaceRange(e,r=this.mainIndex){let n=this.ranges.slice();return n[r]=e,q.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new q(e.ranges.map(r=>Kr.fromJSON(r)),e.main)}static single(e,r=e){return new q([q.range(e,r)],0)}static create(e,r=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,a=0;a<e.length;a++){let i=e[a];if(i.empty?i.from<=n:i.from<n)return q.normalized(e.slice(),r);n=i.to}return new q(e,r)}static cursor(e,r=0,n,a){return Kr.create(e,e,(r==0?0:r<0?8:16)|(n==null?7:Math.min(6,n))|(a??16777215)<<6)}static range(e,r,n,a){let i=(n??16777215)<<6|(a==null?7:Math.min(6,a));return r<e?Kr.create(r,e,48|i):Kr.create(e,r,(r>e?8:0)|i)}static normalized(e,r=0){let n=e[r];e.sort((a,i)=>a.from-i.from),r=e.indexOf(n);for(let a=1;a<e.length;a++){let i=e[a],s=e[a-1];if(i.empty?i.from<=s.to:i.from<s.to){let o=s.from,l=Math.max(i.to,s.to);a<=r&&r--,e.splice(--a,2,i.anchor>i.head?q.range(l,o):q.range(o,l))}}return new q(e,r)}}function a0(t,e){for(let r of t.ranges)if(r.to>e)throw new RangeError("Selection points outside of document")}let Nu=0;class se{constructor(e,r,n,a,i){this.combine=e,this.compareInput=r,this.compare=n,this.isStatic=a,this.id=Nu++,this.default=e([]),this.extensions=typeof i=="function"?i(this):i}get reader(){return this}static define(e={}){return new se(e.combine||(r=>r),e.compareInput||((r,n)=>r===n),e.compare||(e.combine?(r,n)=>r===n:$u),!!e.static,e.enables)}of(e){return new fs([],this,0,e)}compute(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new fs(e,this,1,r)}computeN(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new fs(e,this,2,r)}from(e,r){return r||(r=n=>n),this.compute([e],n=>r(n.field(e)))}}function $u(t,e){return t==e||t.length==e.length&&t.every((r,n)=>r===e[n])}class fs{constructor(e,r,n,a){this.dependencies=e,this.facet=r,this.type=n,this.value=a,this.id=Nu++}dynamicSlot(e){var r;let n=this.value,a=this.facet.compareInput,i=this.id,s=e[i]>>1,o=this.type==2,l=!1,c=!1,u=[];for(let h of this.dependencies)h=="doc"?l=!0:h=="selection"?c=!0:(((r=e[h.id])!==null&&r!==void 0?r:1)&1)==0&&u.push(e[h.id]);return{create(h){return h.values[s]=n(h),1},update(h,f){if(l&&f.docChanged||c&&(f.docChanged||f.selection)||dc(h,u)){let d=n(h);if(o?!Sd(d,h.values[s],a):!a(d,h.values[s]))return h.values[s]=d,1}return 0},reconfigure:(h,f)=>{let d,g=f.config.address[i];if(g!=null){let O=Es(f,g);if(this.dependencies.every(k=>k instanceof se?f.facet(k)===h.facet(k):k instanceof sr?f.field(k,!1)==h.field(k,!1):!0)||(o?Sd(d=n(h),O,a):a(d=n(h),O)))return h.values[s]=O,0}else d=n(h);return h.values[s]=d,1}}}}function Sd(t,e,r){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1;return!0}function dc(t,e){let r=!1;for(let n of e)La(t,n)&1&&(r=!0);return r}function yJ(t,e,r){let n=r.map(l=>t[l.id]),a=r.map(l=>l.type),i=n.filter(l=>!(l&1)),s=t[e.id]>>1;function o(l){let c=[];for(let u=0;u<n.length;u++){let h=Es(l,n[u]);if(a[u]==2)for(let f of h)c.push(f);else c.push(h)}return e.combine(c)}return{create(l){for(let c of n)La(l,c);return l.values[s]=o(l),1},update(l,c){if(!dc(l,i))return 0;let u=o(l);return e.compare(u,l.values[s])?0:(l.values[s]=u,1)},reconfigure(l,c){let u=dc(l,n),h=c.config.facets[e.id],f=c.facet(e);if(h&&!u&&$u(r,h))return l.values[s]=f,0;let d=o(l);return e.compare(d,f)?(l.values[s]=f,0):(l.values[s]=d,1)}}}const qi=se.define({static:!0});class sr{constructor(e,r,n,a,i){this.id=e,this.createF=r,this.updateF=n,this.compareF=a,this.spec=i,this.provides=void 0}static define(e){let r=new sr(Nu++,e.create,e.update,e.compare||((n,a)=>n===a),e);return e.provide&&(r.provides=e.provide(r)),r}create(e){let r=e.facet(qi).find(n=>n.field==this);return((r==null?void 0:r.create)||this.createF)(e)}slot(e){let r=e[this.id]>>1;return{create:n=>(n.values[r]=this.create(n),1),update:(n,a)=>{let i=n.values[r],s=this.updateF(i,a);return this.compareF(i,s)?0:(n.values[r]=s,1)},reconfigure:(n,a)=>{let i=n.facet(qi),s=a.facet(qi),o;return(o=i.find(l=>l.field==this))&&o!=s.find(l=>l.field==this)?(n.values[r]=o.create(n),1):a.config.address[this.id]!=null?(n.values[r]=a.field(this),0):(n.values[r]=this.create(n),1)}}}init(e){return[this,qi.of({field:this,create:e})]}get extension(){return this}}const Wr={lowest:4,low:3,default:2,high:1,highest:0};function ha(t){return e=>new i0(e,t)}const Jn={highest:ha(Wr.highest),high:ha(Wr.high),default:ha(Wr.default),low:ha(Wr.low),lowest:ha(Wr.lowest)};class i0{constructor(e,r){this.inner=e,this.prec=r}}class lo{of(e){return new pc(this,e)}reconfigure(e){return lo.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class pc{constructor(e,r){this.compartment=e,this.inner=r}}class Ts{constructor(e,r,n,a,i,s){for(this.base=e,this.compartments=r,this.dynamicSlots=n,this.address=a,this.staticValues=i,this.facets=s,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let r=this.address[e.id];return r==null?e.default:this.staticValues[r>>1]}static resolve(e,r,n){let a=[],i=Object.create(null),s=new Map;for(let f of kJ(e,r,s))f instanceof sr?a.push(f):(i[f.facet.id]||(i[f.facet.id]=[])).push(f);let o=Object.create(null),l=[],c=[];for(let f of a)o[f.id]=c.length<<1,c.push(d=>f.slot(d));let u=n==null?void 0:n.config.facets;for(let f in i){let d=i[f],g=d[0].facet,O=u&&u[f]||[];if(d.every(k=>k.type==0))if(o[g.id]=l.length<<1|1,$u(O,d))l.push(n.facet(g));else{let k=g.combine(d.map(y=>y.value));l.push(n&&g.compare(k,n.facet(g))?n.facet(g):k)}else{for(let k of d)k.type==0?(o[k.id]=l.length<<1|1,l.push(k.value)):(o[k.id]=c.length<<1,c.push(y=>k.dynamicSlot(y)));o[g.id]=c.length<<1,c.push(k=>yJ(k,g,d))}}let h=c.map(f=>f(o));return new Ts(e,s,h,o,l,i)}}function kJ(t,e,r){let n=[[],[],[],[],[]],a=new Map;function i(s,o){let l=a.get(s);if(l!=null){if(l<=o)return;let c=n[l].indexOf(s);c>-1&&n[l].splice(c,1),s instanceof pc&&r.delete(s.compartment)}if(a.set(s,o),Array.isArray(s))for(let c of s)i(c,o);else if(s instanceof pc){if(r.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(s.compartment)||s.inner;r.set(s.compartment,c),i(c,o)}else if(s instanceof i0)i(s.inner,s.prec);else if(s instanceof sr)n[o].push(s),s.provides&&i(s.provides,o);else if(s instanceof fs)n[o].push(s),s.facet.extensions&&i(s.facet.extensions,Wr.default);else{let c=s.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${s}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);i(c,o)}}return i(t,Wr.default),n.reduce((s,o)=>s.concat(o))}function La(t,e){if(e&1)return 2;let r=e>>1,n=t.status[r];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[r]=4;let a=t.computeSlot(t,t.config.dynamicSlots[r]);return t.status[r]=2|a}function Es(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const s0=se.define(),mc=se.define({combine:t=>t.some(e=>e),static:!0}),o0=se.define({combine:t=>t.length?t[0]:void 0,static:!0}),l0=se.define(),c0=se.define(),u0=se.define(),h0=se.define({combine:t=>t.length?t[0]:!1});class _r{constructor(e,r){this.type=e,this.value=r}static define(){return new bJ}}class bJ{of(e){return new _r(this,e)}}class _J{constructor(e){this.map=e}of(e){return new De(this,e)}}class De{constructor(e,r){this.type=e,this.value=r}map(e){let r=this.type.map(this.value,e);return r===void 0?void 0:r==this.value?this:new De(this.type,r)}is(e){return this.type==e}static define(e={}){return new _J(e.map||(r=>r))}static mapEffects(e,r){if(!e.length)return e;let n=[];for(let a of e){let i=a.map(r);i&&n.push(i)}return n}}De.reconfigure=De.define();De.appendConfig=De.define();class Me{constructor(e,r,n,a,i,s){this.startState=e,this.changes=r,this.selection=n,this.effects=a,this.annotations=i,this.scrollIntoView=s,this._doc=null,this._state=null,n&&a0(n,r.newLength),i.some(o=>o.type==Me.time)||(this.annotations=i.concat(Me.time.of(Date.now())))}static create(e,r,n,a,i,s){return new Me(e,r,n,a,i,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let r of this.annotations)if(r.type==e)return r.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let r=this.annotation(Me.userEvent);return!!(r&&(r==e||r.length>e.length&&r.slice(0,e.length)==e&&r[e.length]=="."))}}Me.time=_r.define();Me.userEvent=_r.define();Me.addToHistory=_r.define();Me.remote=_r.define();function wJ(t,e){let r=[];for(let n=0,a=0;;){let i,s;if(n<t.length&&(a==e.length||e[a]>=t[n]))i=t[n++],s=t[n++];else if(a<e.length)i=e[a++],s=e[a++];else return r;!r.length||r[r.length-1]<i?r.push(i,s):r[r.length-1]<s&&(r[r.length-1]=s)}}function f0(t,e,r){var n;let a,i,s;return r?(a=e.changes,i=Be.empty(e.changes.length),s=t.changes.compose(e.changes)):(a=e.changes.map(t.changes),i=t.changes.mapDesc(e.changes,!0),s=t.changes.compose(a)),{changes:s,selection:e.selection?e.selection.map(i):(n=t.selection)===null||n===void 0?void 0:n.map(a),effects:De.mapEffects(t.effects,a).concat(De.mapEffects(e.effects,i)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function gc(t,e,r){let n=e.selection,a=An(e.annotations);return e.userEvent&&(a=a.concat(Me.userEvent.of(e.userEvent))),{changes:e.changes instanceof Be?e.changes:Be.of(e.changes||[],r,t.facet(o0)),selection:n&&(n instanceof q?n:q.single(n.anchor,n.head)),effects:An(e.effects),annotations:a,scrollIntoView:!!e.scrollIntoView}}function d0(t,e,r){let n=gc(t,e.length?e[0]:{},t.doc.length);e.length&&e[0].filter===!1&&(r=!1);for(let i=1;i<e.length;i++){e[i].filter===!1&&(r=!1);let s=!!e[i].sequential;n=f0(n,gc(t,e[i],s?n.changes.newLength:t.doc.length),s)}let a=Me.create(t,n.changes,n.selection,n.effects,n.annotations,n.scrollIntoView);return xJ(r?SJ(a):a)}function SJ(t){let e=t.startState,r=!0;for(let a of e.facet(l0)){let i=a(t);if(i===!1){r=!1;break}Array.isArray(i)&&(r=r===!0?i:wJ(r,i))}if(r!==!0){let a,i;if(r===!1)i=t.changes.invertedDesc,a=Be.empty(e.doc.length);else{let s=t.changes.filter(r);a=s.changes,i=s.filtered.mapDesc(s.changes).invertedDesc}t=Me.create(e,a,t.selection&&t.selection.map(i),De.mapEffects(t.effects,i),t.annotations,t.scrollIntoView)}let n=e.facet(c0);for(let a=n.length-1;a>=0;a--){let i=n[a](t);i instanceof Me?t=i:Array.isArray(i)&&i.length==1&&i[0]instanceof Me?t=i[0]:t=d0(e,An(i),!1)}return t}function xJ(t){let e=t.startState,r=e.facet(u0),n=t;for(let a=r.length-1;a>=0;a--){let i=r[a](t);i&&Object.keys(i).length&&(n=f0(n,gc(e,i,t.changes.newLength),!0))}return n==t?t:Me.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}const TJ=[];function An(t){return t==null?TJ:Array.isArray(t)?t:[t]}var Ct=(function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t})(Ct||(Ct={}));const EJ=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Oc;try{Oc=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function AJ(t){if(Oc)return Oc.test(t);for(let e=0;e<t.length;e++){let r=t[e];if(/\w/.test(r)||r>"€"&&(r.toUpperCase()!=r.toLowerCase()||EJ.test(r)))return!0}return!1}function CJ(t){return e=>{if(!/\S/.test(e))return Ct.Space;if(AJ(e))return Ct.Word;for(let r=0;r<t.length;r++)if(e.indexOf(t[r])>-1)return Ct.Word;return Ct.Other}}class we{constructor(e,r,n,a,i,s){this.config=e,this.doc=r,this.selection=n,this.values=a,this.status=e.statusTemplate.slice(),this.computeSlot=i,s&&(s._state=this);for(let o=0;o<this.config.dynamicSlots.length;o++)La(this,o<<1);this.computeSlot=null}field(e,r=!0){let n=this.config.address[e.id];if(n==null){if(r)throw new RangeError("Field is not present in this state");return}return La(this,n),Es(this,n)}update(...e){return d0(this,e,!0)}applyTransaction(e){let r=this.config,{base:n,compartments:a}=r;for(let o of e.effects)o.is(lo.reconfigure)?(r&&(a=new Map,r.compartments.forEach((l,c)=>a.set(c,l)),r=null),a.set(o.value.compartment,o.value.extension)):o.is(De.reconfigure)?(r=null,n=o.value):o.is(De.appendConfig)&&(r=null,n=An(n).concat(o.value));let i;r?i=e.startState.values.slice():(r=Ts.resolve(n,a,this),i=new we(r,this.doc,this.selection,r.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let s=e.startState.facet(mc)?e.newSelection:e.newSelection.asSingle();new we(r,e.newDoc,s,i,(o,l)=>l.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:e},range:q.cursor(r.from+e.length)}))}changeByRange(e){let r=this.selection,n=e(r.ranges[0]),a=this.changes(n.changes),i=[n.range],s=An(n.effects);for(let o=1;o<r.ranges.length;o++){let l=e(r.ranges[o]),c=this.changes(l.changes),u=c.map(a);for(let f=0;f<o;f++)i[f]=i[f].map(u);let h=a.mapDesc(c,!0);i.push(l.range.map(h)),a=a.compose(u),s=De.mapEffects(s,u).concat(De.mapEffects(An(l.effects),h))}return{changes:a,selection:q.create(i,r.mainIndex),effects:s}}changes(e=[]){return e instanceof Be?e:Be.of(e,this.doc.length,this.facet(we.lineSeparator))}toText(e){return _e.of(e.split(this.facet(we.lineSeparator)||uc))}sliceDoc(e=0,r=this.doc.length){return this.doc.sliceString(e,r,this.lineBreak)}facet(e){let r=this.config.address[e.id];return r==null?e.default:(La(this,r),Es(this,r))}toJSON(e){let r={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let a=e[n];a instanceof sr&&this.config.address[a.id]!=null&&(r[n]=a.spec.toJSON(this.field(e[n]),this))}return r}static fromJSON(e,r={},n){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let a=[];if(n){for(let i in n)if(Object.prototype.hasOwnProperty.call(e,i)){let s=n[i],o=e[i];a.push(s.init(l=>s.spec.fromJSON(o,l)))}}return we.create({doc:e.doc,selection:q.fromJSON(e.selection),extensions:r.extensions?a.concat([r.extensions]):a})}static create(e={}){let r=Ts.resolve(e.extensions||[],new Map),n=e.doc instanceof _e?e.doc:_e.of((e.doc||"").split(r.staticFacet(we.lineSeparator)||uc)),a=e.selection?e.selection instanceof q?e.selection:q.single(e.selection.anchor,e.selection.head):q.single(0);return a0(a,n.length),r.staticFacet(mc)||(a=a.asSingle()),new we(r,n,a,r.dynamicSlots.map(()=>null),(i,s)=>s.create(i),null)}get tabSize(){return this.facet(we.tabSize)}get lineBreak(){return this.facet(we.lineSeparator)||`
61
- `}get readOnly(){return this.facet(h0)}phrase(e,...r){for(let n of this.facet(we.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return r.length&&(e=e.replace(/\$(\$|\d*)/g,(n,a)=>{if(a=="$")return"$";let i=+(a||1);return!i||i>r.length?n:r[i-1]})),e}languageDataAt(e,r,n=-1){let a=[];for(let i of this.facet(s0))for(let s of i(this,r,n))Object.prototype.hasOwnProperty.call(s,e)&&a.push(s[e]);return a}charCategorizer(e){let r=this.languageDataAt("wordChars",e);return CJ(r.length?r[0]:"")}wordAt(e){let{text:r,from:n,length:a}=this.doc.lineAt(e),i=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let l=Ke(r,s,!1);if(i(r.slice(l,s))!=Ct.Word)break;s=l}for(;o<a;){let l=Ke(r,o);if(i(r.slice(o,l))!=Ct.Word)break;o=l}return s==o?null:q.range(s+n,o+n)}}we.allowMultipleSelections=mc;we.tabSize=se.define({combine:t=>t.length?t[0]:4});we.lineSeparator=o0;we.readOnly=h0;we.phrases=se.define({compare(t,e){let r=Object.keys(t),n=Object.keys(e);return r.length==n.length&&r.every(a=>t[a]==e[a])}});we.languageData=s0;we.changeFilter=l0;we.transactionFilter=c0;we.transactionExtender=u0;lo.reconfigure=De.define();function p0(t,e,r={}){let n={};for(let a of t)for(let i of Object.keys(a)){let s=a[i],o=n[i];if(o===void 0)n[i]=s;else if(!(o===s||s===void 0))if(Object.hasOwnProperty.call(r,i))n[i]=r[i](o,s);else throw new Error("Config merge conflict for field "+i)}for(let a in e)n[a]===void 0&&(n[a]=e[a]);return n}class Lr{eq(e){return this==e}range(e,r=e){return yc.create(e,r,this)}}Lr.prototype.startSide=Lr.prototype.endSide=0;Lr.prototype.point=!1;Lr.prototype.mapMode=Ge.TrackDel;function Mu(t,e){return t==e||t.constructor==e.constructor&&t.eq(e)}let yc=class m0{constructor(e,r,n){this.from=e,this.to=r,this.value=n}static create(e,r,n){return new m0(e,r,n)}};function kc(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class Fu{constructor(e,r,n,a){this.from=e,this.to=r,this.value=n,this.maxPoint=a}get length(){return this.to[this.to.length-1]}findIndex(e,r,n,a=0){let i=n?this.to:this.from;for(let s=a,o=i.length;;){if(s==o)return s;let l=s+o>>1,c=i[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-r;if(l==s)return c>=0?s:o;c>=0?o=l:s=l+1}}between(e,r,n,a){for(let i=this.findIndex(r,-1e9,!0),s=this.findIndex(n,1e9,!1,i);i<s;i++)if(a(this.from[i]+e,this.to[i]+e,this.value[i])===!1)return!1}map(e,r){let n=[],a=[],i=[],s=-1,o=-1;for(let l=0;l<this.value.length;l++){let c=this.value[l],u=this.from[l]+e,h=this.to[l]+e,f,d;if(u==h){let g=r.mapPos(u,c.startSide,c.mapMode);if(g==null||(f=d=g,c.startSide!=c.endSide&&(d=r.mapPos(u,c.endSide),d<f)))continue}else if(f=r.mapPos(u,c.startSide),d=r.mapPos(h,c.endSide),f>d||f==d&&c.startSide>0&&c.endSide<=0)continue;(d-f||c.endSide-c.startSide)<0||(s<0&&(s=f),c.point&&(o=Math.max(o,d-f)),n.push(c),a.push(f-s),i.push(d-s))}return{mapped:n.length?new Fu(a,i,n,o):null,pos:s}}}class Te{constructor(e,r,n,a){this.chunkPos=e,this.chunk=r,this.nextLayer=n,this.maxPoint=a}static create(e,r,n,a){return new Te(e,r,n,a)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let r of this.chunk)e+=r.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:r=[],sort:n=!1,filterFrom:a=0,filterTo:i=this.length}=e,s=e.filter;if(r.length==0&&!s)return this;if(n&&(r=r.slice().sort(kc)),this.isEmpty)return r.length?Te.of(r):this;let o=new g0(this,null,-1).goto(0),l=0,c=[],u=new Ha;for(;o.value||l<r.length;)if(l<r.length&&(o.from-r[l].from||o.startSide-r[l].value.startSide)>=0){let h=r[l++];u.addInner(h.from,h.to,h.value)||c.push(h)}else o.rangeIndex==1&&o.chunkIndex<this.chunk.length&&(l==r.length||this.chunkEnd(o.chunkIndex)<r[l].from)&&(!s||a>this.chunkEnd(o.chunkIndex)||i<this.chunkPos[o.chunkIndex])&&u.addChunk(this.chunkPos[o.chunkIndex],this.chunk[o.chunkIndex])?o.nextChunk():((!s||a>o.to||i<o.from||s(o.from,o.to,o.value))&&(u.addInner(o.from,o.to,o.value)||c.push(yc.create(o.from,o.to,o.value))),o.next());return u.finishInner(this.nextLayer.isEmpty&&!c.length?Te.empty:this.nextLayer.update({add:c,filter:s,filterFrom:a,filterTo:i}))}map(e){if(e.empty||this.isEmpty)return this;let r=[],n=[],a=-1;for(let s=0;s<this.chunk.length;s++){let o=this.chunkPos[s],l=this.chunk[s],c=e.touchesRange(o,o+l.length);if(c===!1)a=Math.max(a,l.maxPoint),r.push(l),n.push(e.mapPos(o));else if(c===!0){let{mapped:u,pos:h}=l.map(o,e);u&&(a=Math.max(a,u.maxPoint),r.push(u),n.push(h))}}let i=this.nextLayer.map(e);return r.length==0?i:new Te(n,r,i||Te.empty,a)}between(e,r,n){if(!this.isEmpty){for(let a=0;a<this.chunk.length;a++){let i=this.chunkPos[a],s=this.chunk[a];if(r>=i&&e<=i+s.length&&s.between(i,e-i,r-i,n)===!1)return}this.nextLayer.between(e,r,n)}}iter(e=0){return Va.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,r=0){return Va.from(e).goto(r)}static compare(e,r,n,a,i=-1){let s=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=i),o=r.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=i),l=xd(s,o,n),c=new fa(s,l,i),u=new fa(o,l,i);n.iterGaps((h,f,d)=>Td(c,h,u,f,d,a)),n.empty&&n.length==0&&Td(c,0,u,0,0,a)}static eq(e,r,n=0,a){a==null&&(a=999999999);let i=e.filter(u=>!u.isEmpty&&r.indexOf(u)<0),s=r.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(i.length!=s.length)return!1;if(!i.length)return!0;let o=xd(i,s),l=new fa(i,o,0).goto(n),c=new fa(s,o,0).goto(n);for(;;){if(l.to!=c.to||!bc(l.active,c.active)||l.point&&(!c.point||!Mu(l.point,c.point)))return!1;if(l.to>a)return!0;l.next(),c.next()}}static spans(e,r,n,a,i=-1){let s=new fa(e,null,i).goto(r),o=r,l=s.openStart;for(;;){let c=Math.min(s.to,n);if(s.point){let u=s.activeForPoint(s.to),h=s.pointFrom<r?u.length+1:s.point.startSide<0?u.length:Math.min(u.length,l);a.point(o,c,s.point,u,h,s.pointRank),l=Math.min(s.openEnd(c),u.length)}else c>o&&(a.span(o,c,s.active,l),l=s.openEnd(c));if(s.to>n)return l+(s.point&&s.to>n?1:0);o=s.to,s.next()}}static of(e,r=!1){let n=new Ha;for(let a of e instanceof yc?[e]:r?PJ(e):e)n.add(a.from,a.to,a.value);return n.finish()}static join(e){if(!e.length)return Te.empty;let r=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let a=e[n];a!=Te.empty;a=a.nextLayer)r=new Te(a.chunkPos,a.chunk,r,Math.max(a.maxPoint,r.maxPoint));return r}}Te.empty=new Te([],[],null,-1);function PJ(t){if(t.length>1)for(let e=t[0],r=1;r<t.length;r++){let n=t[r];if(kc(e,n)>0)return t.slice().sort(kc);e=n}return t}Te.empty.nextLayer=Te.empty;class Ha{finishChunk(e){this.chunks.push(new Fu(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,r,n){this.addInner(e,r,n)||(this.nextLayer||(this.nextLayer=new Ha)).add(e,r,n)}addInner(e,r,n){let a=e-this.lastTo||n.startSide-this.last.endSide;if(a<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return a<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(r-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=r,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,r-e)),!0)}addChunk(e,r){if((e-this.lastTo||r.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,r.maxPoint),this.chunks.push(r),this.chunkPos.push(e);let n=r.value.length-1;return this.last=r.value[n],this.lastFrom=r.from[n]+e,this.lastTo=r.to[n]+e,!0}finish(){return this.finishInner(Te.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let r=Te.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,r}}function xd(t,e,r){let n=new Map;for(let i of t)for(let s=0;s<i.chunk.length;s++)i.chunk[s].maxPoint<=0&&n.set(i.chunk[s],i.chunkPos[s]);let a=new Set;for(let i of e)for(let s=0;s<i.chunk.length;s++){let o=n.get(i.chunk[s]);o!=null&&(r?r.mapPos(o):o)==i.chunkPos[s]&&!(r!=null&&r.touchesRange(o,o+i.chunk[s].length))&&a.add(i.chunk[s])}return a}class g0{constructor(e,r,n,a=0){this.layer=e,this.skip=r,this.minPoint=n,this.rank=a}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,r=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,r,!1),this}gotoInner(e,r,n){for(;this.chunkIndex<this.layer.chunk.length;){let a=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(a)||this.layer.chunkEnd(this.chunkIndex)<e||a.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let a=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],r,!0);(!n||this.rangeIndex<a)&&this.setRangeIndex(a)}this.next()}forward(e,r){(this.to-e||this.endSide-r)<0&&this.gotoInner(e,r,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],r=this.layer.chunk[this.chunkIndex],n=e+r.from[this.rangeIndex];if(this.from=n,this.to=e+r.to[this.rangeIndex],this.value=r.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class Va{constructor(e){this.heap=e}static from(e,r=null,n=-1){let a=[];for(let i=0;i<e.length;i++)for(let s=e[i];!s.isEmpty;s=s.nextLayer)s.maxPoint>=n&&a.push(new g0(s,r,n,i));return a.length==1?a[0]:new Va(a)}get startSide(){return this.value?this.value.startSide:0}goto(e,r=-1e9){for(let n of this.heap)n.goto(e,r);for(let n=this.heap.length>>1;n>=0;n--)cl(this.heap,n);return this.next(),this}forward(e,r){for(let n of this.heap)n.forward(e,r);for(let n=this.heap.length>>1;n>=0;n--)cl(this.heap,n);(this.to-e||this.value.endSide-r)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),cl(this.heap,0)}}}function cl(t,e){for(let r=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let a=t[n];if(n+1<t.length&&a.compare(t[n+1])>=0&&(a=t[n+1],n++),r.compare(a)<0)break;t[n]=r,t[e]=a,e=n}}class fa{constructor(e,r,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Va.from(e,r,n)}goto(e,r=-1e9){return this.cursor.goto(e,r),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=r,this.openStart=-1,this.next(),this}forward(e,r){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-r)<0;)this.removeActive(this.minActive);this.cursor.forward(e,r)}removeActive(e){Xi(this.active,e),Xi(this.activeTo,e),Xi(this.activeRank,e),this.minActive=Ed(this.active,this.activeTo)}addActive(e){let r=0,{value:n,to:a,rank:i}=this.cursor;for(;r<this.activeRank.length&&(i-this.activeRank[r]||a-this.activeTo[r])>0;)r++;ji(this.active,r,n),ji(this.activeTo,r,a),ji(this.activeRank,r,i),e&&ji(e,r,this.cursor.from),this.minActive=Ed(this.active,this.activeTo)}next(){let e=this.to,r=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let a=this.minActive;if(a>-1&&(this.activeTo[a]-this.cursor.from||this.active[a].endSide-this.cursor.startSide)<0){if(this.activeTo[a]>e){this.to=this.activeTo[a],this.endSide=this.active[a].endSide;break}this.removeActive(a),n&&Xi(n,a)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let i=this.cursor.value;if(!i.point)this.addActive(n),this.cursor.next();else if(r&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=i,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=i.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let a=n.length-1;a>=0&&n[a]<e;a--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let r=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&r.push(this.active[n]);return r.reverse()}openEnd(e){let r=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)r++;return r}}function Td(t,e,r,n,a,i){t.goto(e),r.goto(n);let s=n+a,o=n,l=n-e,c=!!i.boundChange;for(let u=!1;;){let h=t.to+l-r.to,f=h||t.endSide-r.endSide,d=f<0?t.to+l:r.to,g=Math.min(d,s);if(t.point||r.point?(t.point&&r.point&&Mu(t.point,r.point)&&bc(t.activeForPoint(t.to),r.activeForPoint(r.to))||i.comparePoint(o,g,t.point,r.point),u=!1):(u&&i.boundChange(o),g>o&&!bc(t.active,r.active)&&i.compareRange(o,g,t.active,r.active),c&&g<s&&(h||t.openEnd(d)!=r.openEnd(d))&&(u=!0)),d>s)break;o=d,f<=0&&t.next(),f>=0&&r.next()}}function bc(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!=e[r]&&!Mu(t[r],e[r]))return!1;return!0}function Xi(t,e){for(let r=e,n=t.length-1;r<n;r++)t[r]=t[r+1];t.pop()}function ji(t,e,r){for(let n=t.length-1;n>=e;n--)t[n+1]=t[n];t[e]=r}function Ed(t,e){let r=-1,n=1e9;for(let a=0;a<e.length;a++)(e[a]-n||t[a].endSide-t[r].endSide)<0&&(r=a,n=e[a]);return r}function gr(t,e,r=t.length){let n=0;for(let a=0;a<r&&a<t.length;)t.charCodeAt(a)==9?(n+=e-n%e,a++):(n++,a=Ke(t,a));return n}function vJ(t,e,r,n){for(let a=0,i=0;;){if(i>=e)return a;if(a==t.length)break;i+=t.charCodeAt(a)==9?r-i%r:1,a=Ke(t,a)}return t.length}const _c="ͼ",Ad=typeof Symbol>"u"?"__"+_c:Symbol.for(_c),wc=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Cd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Rr{constructor(e,r){this.rules=[];let{finish:n}=r||{};function a(s){return/^@/.test(s)?[s]:s.split(/,\s*/)}function i(s,o,l,c){let u=[],h=/^@(\w+)\b/.exec(s[0]),f=h&&h[1]=="keyframes";if(h&&o==null)return l.push(s[0]+";");for(let d in o){let g=o[d];if(/&/.test(d))i(d.split(/,\s*/).map(O=>s.map(k=>O.replace(/&/,k))).reduce((O,k)=>O.concat(k)),g,l);else if(g&&typeof g=="object"){if(!h)throw new RangeError("The value of a property ("+d+") should be a primitive value.");i(a(d),g,u,f)}else g!=null&&u.push(d.replace(/_.*/,"").replace(/[A-Z]/g,O=>"-"+O.toLowerCase())+": "+g+";")}(u.length||f)&&l.push((n&&!h&&!c?s.map(n):s).join(", ")+" {"+u.join(" ")+"}")}for(let s in e)i(a(s),e[s],this.rules)}getRules(){return this.rules.join(`
62
- `)}static newName(){let e=Cd[Ad]||1;return Cd[Ad]=e+1,_c+e.toString(36)}static mount(e,r,n){let a=e[wc],i=n&&n.nonce;a?i&&a.setNonce(i):a=new DJ(e,i),a.mount(Array.isArray(r)?r:[r],e)}}let Pd=new Map;class DJ{constructor(e,r){let n=e.ownerDocument||e,a=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&a.CSSStyleSheet){let i=Pd.get(n);if(i)return e[wc]=i;this.sheet=new a.CSSStyleSheet,Pd.set(n,this)}else this.styleTag=n.createElement("style"),r&&this.styleTag.setAttribute("nonce",r);this.modules=[],e[wc]=this}mount(e,r){let n=this.sheet,a=0,i=0;for(let s=0;s<e.length;s++){let o=e[s],l=this.modules.indexOf(o);if(l<i&&l>-1&&(this.modules.splice(l,1),i--,l=-1),l==-1){if(this.modules.splice(i++,0,o),n)for(let c=0;c<o.rules.length;c++)n.insertRule(o.rules[c],a++)}else{for(;i<l;)a+=this.modules[i++].rules.length;a+=o.rules.length,i++}}if(n)r.adoptedStyleSheets.indexOf(this.sheet)<0&&(r.adoptedStyleSheets=[this.sheet,...r.adoptedStyleSheets]);else{let s="";for(let l=0;l<this.modules.length;l++)s+=this.modules[l].getRules()+`
63
- `;this.styleTag.textContent=s;let o=r.head||r;this.styleTag.parentNode!=o&&o.insertBefore(this.styleTag,o.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}var Nr={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Wa={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},QJ=typeof navigator<"u"&&/Mac/.test(navigator.platform),zJ=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ye=0;Ye<10;Ye++)Nr[48+Ye]=Nr[96+Ye]=String(Ye);for(var Ye=1;Ye<=24;Ye++)Nr[Ye+111]="F"+Ye;for(var Ye=65;Ye<=90;Ye++)Nr[Ye]=String.fromCharCode(Ye+32),Wa[Ye]=String.fromCharCode(Ye);for(var ul in Nr)Wa.hasOwnProperty(ul)||(Wa[ul]=Nr[ul]);function IJ(t){var e=QJ&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||zJ&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",r=!e&&t.key||(t.shiftKey?Wa:Nr)[t.keyCode]||t.key||"Unidentified";return r=="Esc"&&(r="Escape"),r=="Del"&&(r="Delete"),r=="Left"&&(r="ArrowLeft"),r=="Up"&&(r="ArrowUp"),r=="Right"&&(r="ArrowRight"),r=="Down"&&(r="ArrowDown"),r}let nt=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},Sc=typeof document<"u"?document:{documentElement:{style:{}}};const xc=/Edge\/(\d+)/.exec(nt.userAgent),O0=/MSIE \d/.test(nt.userAgent),Tc=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nt.userAgent),co=!!(O0||Tc||xc),vd=!co&&/gecko\/(\d+)/i.test(nt.userAgent),hl=!co&&/Chrome\/(\d+)/.exec(nt.userAgent),LJ="webkitFontSmoothing"in Sc.documentElement.style,Ec=!co&&/Apple Computer/.test(nt.vendor),Dd=Ec&&(/Mobile\/\w+/.test(nt.userAgent)||nt.maxTouchPoints>2);var ee={mac:Dd||/Mac/.test(nt.platform),windows:/Win/.test(nt.platform),linux:/Linux|X11/.test(nt.platform),ie:co,ie_version:O0?Sc.documentMode||6:Tc?+Tc[1]:xc?+xc[1]:0,gecko:vd,gecko_version:vd?+(/Firefox\/(\d+)/.exec(nt.userAgent)||[0,0])[1]:0,chrome:!!hl,chrome_version:hl?+hl[1]:0,ios:Dd,android:/Android\b/.test(nt.userAgent),webkit_version:LJ?+(/\bAppleWebKit\/(\d+)/.exec(nt.userAgent)||[0,0])[1]:0,safari:Ec,safari_version:Ec?+(/\bVersion\/(\d+(\.\d+)?)/.exec(nt.userAgent)||[0,0])[1]:0,tabSize:Sc.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};function Bu(t,e){for(let r in t)r=="class"&&e.class?e.class+=" "+t.class:r=="style"&&e.style?e.style+=";"+t.style:e[r]=t[r];return e}const As=Object.create(null);function qu(t,e,r){if(t==e)return!0;t||(t=As),e||(e=As);let n=Object.keys(t),a=Object.keys(e);if(n.length-0!=a.length-0)return!1;for(let i of n)if(i!=r&&(a.indexOf(i)==-1||t[i]!==e[i]))return!1;return!0}function RJ(t,e){for(let r=t.attributes.length-1;r>=0;r--){let n=t.attributes[r].name;e[n]==null&&t.removeAttribute(n)}for(let r in e){let n=e[r];r=="style"?t.style.cssText=n:t.getAttribute(r)!=n&&t.setAttribute(r,n)}}function Qd(t,e,r){let n=!1;if(e)for(let a in e)r&&a in r||(n=!0,a=="style"?t.style.cssText="":t.removeAttribute(a));if(r)for(let a in r)e&&e[a]==r[a]||(n=!0,a=="style"?t.style.cssText=r[a]:t.setAttribute(a,r[a]));return n}function NJ(t){let e=Object.create(null);for(let r=0;r<t.attributes.length;r++){let n=t.attributes[r];e[n.name]=n.value}return e}class wi{eq(e){return!1}updateDOM(e,r){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,r,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var at=(function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t})(at||(at={}));class ze extends Lr{constructor(e,r,n,a){super(),this.startSide=e,this.endSide=r,this.widget=n,this.spec=a}get heightRelevant(){return!1}static mark(e){return new Si(e)}static widget(e){let r=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return r+=n&&!e.inlineOrder?r>0?3e8:-4e8:r>0?1e8:-1e8,new nn(e,r,r,n,e.widget||null,!1)}static replace(e){let r=!!e.block,n,a;if(e.isBlockGap)n=-5e8,a=4e8;else{let{start:i,end:s}=y0(e,r);n=(i?r?-3e8:-1:5e8)-1,a=(s?r?2e8:1:-6e8)+1}return new nn(e,n,a,r,e.widget||null,!0)}static line(e){return new xi(e)}static set(e,r=!1){return Te.of(e,r)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}ze.none=Te.empty;class Si extends ze{constructor(e){let{start:r,end:n}=y0(e);super(r?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.attrs=e.class&&e.attributes?Bu(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||As}eq(e){return this==e||e instanceof Si&&this.tagName==e.tagName&&qu(this.attrs,e.attrs)}range(e,r=e){if(e>=r)throw new RangeError("Mark decorations may not be empty");return super.range(e,r)}}Si.prototype.point=!1;class xi extends ze{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof xi&&this.spec.class==e.spec.class&&qu(this.spec.attributes,e.spec.attributes)}range(e,r=e){if(r!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,r)}}xi.prototype.mapMode=Ge.TrackBefore;xi.prototype.point=!0;class nn extends ze{constructor(e,r,n,a,i,s){super(r,n,i,e),this.block=a,this.isReplace=s,this.mapMode=a?r<=0?Ge.TrackBefore:Ge.TrackAfter:Ge.TrackDel}get type(){return this.startSide!=this.endSide?at.WidgetRange:this.startSide<=0?at.WidgetBefore:at.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof nn&&$J(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,r=e){if(this.isReplace&&(e>r||e==r&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&r!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,r)}}nn.prototype.point=!0;function y0(t,e=!1){let{inclusiveStart:r,inclusiveEnd:n}=t;return r==null&&(r=t.inclusive),n==null&&(n=t.inclusive),{start:r??e,end:n??e}}function $J(t,e){return t==e||!!(t&&e&&t.compare(e))}function Cn(t,e,r,n=0){let a=r.length-1;a>=0&&r[a]+n>=t?r[a]=Math.max(r[a],e):r.push(t,e)}class Ga extends Lr{constructor(e,r){super(),this.tagName=e,this.attributes=r}eq(e){return e==this||e instanceof Ga&&this.tagName==e.tagName&&qu(this.attributes,e.attributes)}static create(e){return new Ga(e.tagName,e.attributes||As)}static set(e,r=!1){return Te.of(e,r)}}Ga.prototype.startSide=Ga.prototype.endSide=-1;function Ka(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function Ac(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function Ra(t,e){if(!e.anchorNode)return!1;try{return Ac(t,e.anchorNode)}catch{return!1}}function ds(t){return t.nodeType==3?Ja(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function Na(t,e,r,n){return r?zd(t,e,r,n,-1)||zd(t,e,r,n,1):!1}function $r(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function Cs(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function zd(t,e,r,n,a){for(;;){if(t==r&&e==n)return!0;if(e==(a<0?0:Or(t))){if(t.nodeName=="DIV")return!1;let i=t.parentNode;if(!i||i.nodeType!=1)return!1;e=$r(t)+(a<0?0:1),t=i}else if(t.nodeType==1){if(t=t.childNodes[e+(a<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=a<0?Or(t):0}else return!1}}function Or(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Ps(t,e){let r=e?t.left:t.right;return{left:r,right:r,top:t.top,bottom:t.bottom}}function MJ(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function k0(t,e){let r=e.width/t.offsetWidth,n=e.height/t.offsetHeight;return(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.width-t.offsetWidth)<1)&&(r=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-t.offsetHeight)<1)&&(n=1),{scaleX:r,scaleY:n}}function FJ(t,e,r,n,a,i,s,o){let l=t.ownerDocument,c=l.defaultView||window;for(let u=t,h=!1;u&&!h;)if(u.nodeType==1){let f,d=u==l.body,g=1,O=1;if(d)f=MJ(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(h=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let w=u.getBoundingClientRect();({scaleX:g,scaleY:O}=k0(u,w)),f={left:w.left,right:w.left+u.clientWidth*g,top:w.top,bottom:w.top+u.clientHeight*O}}let k=0,y=0;if(a=="nearest")e.top<f.top?(y=e.top-(f.top+s),r>0&&e.bottom>f.bottom+y&&(y=e.bottom-f.bottom+s)):e.bottom>f.bottom&&(y=e.bottom-f.bottom+s,r<0&&e.top-y<f.top&&(y=e.top-(f.top+s)));else{let w=e.bottom-e.top,P=f.bottom-f.top;y=(a=="center"&&w<=P?e.top+w/2-P/2:a=="start"||a=="center"&&r<0?e.top-s:e.bottom-P+s)-f.top}if(n=="nearest"?e.left<f.left?(k=e.left-(f.left+i),r>0&&e.right>f.right+k&&(k=e.right-f.right+i)):e.right>f.right&&(k=e.right-f.right+i,r<0&&e.left<f.left+k&&(k=e.left-(f.left+i))):k=(n=="center"?e.left+(e.right-e.left)/2-(f.right-f.left)/2:n=="start"==o?e.left-i:e.right-(f.right-f.left)+i)-f.left,k||y)if(d)c.scrollBy(k,y);else{let w=0,P=0;if(y){let N=u.scrollTop;u.scrollTop+=y/O,P=(u.scrollTop-N)*O}if(k){let N=u.scrollLeft;u.scrollLeft+=k/g,w=(u.scrollLeft-N)*g}e={left:e.left-w,top:e.top-P,right:e.right-w,bottom:e.bottom-P},w&&Math.abs(w-k)<1&&(n="nearest"),P&&Math.abs(P-y)<1&&(a="nearest")}if(d)break;(e.top<f.top||e.bottom>f.bottom||e.left<f.left||e.right>f.right)&&(e={left:Math.max(e.left,f.left),right:Math.min(e.right,f.right),top:Math.max(e.top,f.top),bottom:Math.min(e.bottom,f.bottom)}),u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function b0(t,e=!0){let r=t.ownerDocument,n=null,a=null;for(let i=t.parentNode;i&&!(i==r.body||(!e||n)&&a);)if(i.nodeType==1)!a&&i.scrollHeight>i.clientHeight&&(a=i),e&&!n&&i.scrollWidth>i.clientWidth&&(n=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:n,y:a}}class BJ{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:r,focusNode:n}=e;this.set(r,Math.min(e.anchorOffset,r?Or(r):0),n,Math.min(e.focusOffset,n?Or(n):0))}set(e,r,n,a){this.anchorNode=e,this.anchorOffset=r,this.focusNode=n,this.focusOffset=a}}let Vr=null;ee.safari&&ee.safari_version>=26&&(Vr=!1);function _0(t){if(t.setActive)return t.setActive();if(Vr)return t.focus(Vr);let e=[];for(let r=t;r&&(e.push(r,r.scrollTop,r.scrollLeft),r!=r.ownerDocument);r=r.parentNode);if(t.focus(Vr==null?{get preventScroll(){return Vr={preventScroll:!0},!0}}:void 0),!Vr){Vr=!1;for(let r=0;r<e.length;){let n=e[r++],a=e[r++],i=e[r++];n.scrollTop!=a&&(n.scrollTop=a),n.scrollLeft!=i&&(n.scrollLeft=i)}}}let Id;function Ja(t,e,r=e){let n=Id||(Id=document.createRange());return n.setEnd(t,r),n.setStart(t,e),n}function Pn(t,e,r,n){let a={key:e,code:e,keyCode:r,which:r,cancelable:!0};n&&({altKey:a.altKey,ctrlKey:a.ctrlKey,shiftKey:a.shiftKey,metaKey:a.metaKey}=n);let i=new KeyboardEvent("keydown",a);i.synthetic=!0,t.dispatchEvent(i);let s=new KeyboardEvent("keyup",a);return s.synthetic=!0,t.dispatchEvent(s),i.defaultPrevented||s.defaultPrevented}function qJ(t){for(;t;){if(t&&(t.nodeType==9||t.nodeType==11&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function XJ(t,e){let r=e.focusNode,n=e.focusOffset;if(!r||e.anchorNode!=r||e.anchorOffset!=n)return!1;for(n=Math.min(n,Or(r));;)if(n){if(r.nodeType!=1)return!1;let a=r.childNodes[n-1];a.contentEditable=="false"?n--:(r=a,n=Or(r))}else{if(r==t)return!0;n=$r(r),r=r.parentNode}}function w0(t){return t instanceof Window?t.pageYOffset>Math.max(0,t.document.documentElement.scrollHeight-t.innerHeight-4):t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function S0(t,e){for(let r=t,n=e;;){if(r.nodeType==3&&n>0)return{node:r,offset:n};if(r.nodeType==1&&n>0){if(r.contentEditable=="false")return null;r=r.childNodes[n-1],n=Or(r)}else if(r.parentNode&&!Cs(r))n=$r(r),r=r.parentNode;else return null}}function x0(t,e){for(let r=t,n=e;;){if(r.nodeType==3&&n<r.nodeValue.length)return{node:r,offset:n};if(r.nodeType==1&&n<r.childNodes.length){if(r.contentEditable=="false")return null;r=r.childNodes[n],n=0}else if(r.parentNode&&!Cs(r))n=$r(r)+1,r=r.parentNode;else return null}}class Nt{constructor(e,r,n=!0){this.node=e,this.offset=r,this.precise=n}static before(e,r){return new Nt(e.parentNode,$r(e),r)}static after(e,r){return new Nt(e.parentNode,$r(e)+1,r)}}var Ie=(function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t})(Ie||(Ie={}));const an=Ie.LTR,Xu=Ie.RTL;function T0(t){let e=[];for(let r=0;r<t.length;r++)e.push(1<<+t[r]);return e}const jJ=T0("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),ZJ=T0("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Cc=Object.create(null),Zt=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),r=t.charCodeAt(1);Cc[e]=r,Cc[r]=-e}function E0(t){return t<=247?jJ[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?ZJ[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}const UJ=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class er{get dir(){return this.level%2?Xu:an}constructor(e,r,n){this.from=e,this.to=r,this.level=n}side(e,r){return this.dir==r==e?this.to:this.from}forward(e,r){return e==(this.dir==r)}static find(e,r,n,a){let i=-1;for(let s=0;s<e.length;s++){let o=e[s];if(o.from<=r&&o.to>=r){if(o.level==n)return s;(i<0||(a!=0?a<0?o.from<r:o.to>r:e[i].level>o.level))&&(i=s)}}if(i<0)throw new RangeError("Index out of range");return i}}function A0(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++){let n=t[r],a=e[r];if(n.from!=a.from||n.to!=a.to||n.direction!=a.direction||!A0(n.inner,a.inner))return!1}return!0}const Ae=[];function YJ(t,e,r,n,a){for(let i=0;i<=n.length;i++){let s=i?n[i-1].to:e,o=i<n.length?n[i].from:r,l=i?256:a;for(let c=s,u=l,h=l;c<o;c++){let f=E0(t.charCodeAt(c));f==512?f=u:f==8&&h==4&&(f=16),Ae[c]=f==4?2:f,f&7&&(h=f),u=f}for(let c=s,u=l,h=l;c<o;c++){let f=Ae[c];if(f==128)c<o-1&&u==Ae[c+1]&&u&24?f=Ae[c]=u:Ae[c]=256;else if(f==64){let d=c+1;for(;d<o&&Ae[d]==64;)d++;let g=c&&u==8||d<r&&Ae[d]==8?h==1?1:8:256;for(let O=c;O<d;O++)Ae[O]=g;c=d-1}else f==8&&h==1&&(Ae[c]=1);u=f,f&7&&(h=f)}}}function HJ(t,e,r,n,a){let i=a==1?2:1;for(let s=0,o=0,l=0;s<=n.length;s++){let c=s?n[s-1].to:e,u=s<n.length?n[s].from:r;for(let h=c,f,d,g;h<u;h++)if(d=Cc[f=t.charCodeAt(h)])if(d<0){for(let O=o-3;O>=0;O-=3)if(Zt[O+1]==-d){let k=Zt[O+2],y=k&2?a:k&4?k&1?i:a:0;y&&(Ae[h]=Ae[Zt[O]]=y),o=O;break}}else{if(Zt.length==189)break;Zt[o++]=h,Zt[o++]=f,Zt[o++]=l}else if((g=Ae[h])==2||g==1){let O=g==a;l=O?0:1;for(let k=o-3;k>=0;k-=3){let y=Zt[k+2];if(y&2)break;if(O)Zt[k+2]|=2;else{if(y&4)break;Zt[k+2]|=4}}}}}function VJ(t,e,r,n){for(let a=0,i=n;a<=r.length;a++){let s=a?r[a-1].to:t,o=a<r.length?r[a].from:e;for(let l=s;l<o;){let c=Ae[l];if(c==256){let u=l+1;for(;;)if(u==o){if(a==r.length)break;u=r[a++].to,o=a<r.length?r[a].from:e}else if(Ae[u]==256)u++;else break;let h=i==1,f=(u<e?Ae[u]:n)==1,d=h==f?h?1:2:n;for(let g=u,O=a,k=O?r[O-1].to:t;g>l;)g==k&&(g=r[--O].from,k=O?r[O-1].to:t),Ae[--g]=d;l=u}else i=c,l++}}}function Pc(t,e,r,n,a,i,s){let o=n%2?2:1;if(n%2==a%2)for(let l=e,c=0;l<r;){let u=!0,h=!1;if(c==i.length||l<i[c].from){let O=Ae[l];O!=o&&(u=!1,h=O==16)}let f=!u&&o==1?[]:null,d=u?n:n+1,g=l;e:for(;;)if(c<i.length&&g==i[c].from){if(h)break e;let O=i[c];if(!u)for(let k=O.to,y=c+1;;){if(k==r)break e;if(y<i.length&&i[y].from==k)k=i[y++].to;else{if(Ae[k]==o)break e;break}}if(c++,f)f.push(O);else{O.from>l&&s.push(new er(l,O.from,d));let k=O.direction==an!=!(d%2);vc(t,k?n+1:n,a,O.inner,O.from,O.to,s),l=O.to}g=O.to}else{if(g==r||(u?Ae[g]!=o:Ae[g]==o))break;g++}f?Pc(t,l,g,n+1,a,f,s):l<g&&s.push(new er(l,g,d)),l=g}else for(let l=r,c=i.length;l>e;){let u=!0,h=!1;if(!c||l>i[c-1].to){let O=Ae[l-1];O!=o&&(u=!1,h=O==16)}let f=!u&&o==1?[]:null,d=u?n:n+1,g=l;e:for(;;)if(c&&g==i[c-1].to){if(h)break e;let O=i[--c];if(!u)for(let k=O.from,y=c;;){if(k==e)break e;if(y&&i[y-1].to==k)k=i[--y].from;else{if(Ae[k-1]==o)break e;break}}if(f)f.push(O);else{O.to<l&&s.push(new er(O.to,l,d));let k=O.direction==an!=!(d%2);vc(t,k?n+1:n,a,O.inner,O.from,O.to,s),l=O.from}g=O.from}else{if(g==e||(u?Ae[g-1]!=o:Ae[g-1]==o))break;g--}f?Pc(t,g,l,n+1,a,f,s):g<l&&s.push(new er(g,l,d)),l=g}}function vc(t,e,r,n,a,i,s){let o=e%2?2:1;YJ(t,a,i,n,o),HJ(t,a,i,n,o),VJ(a,i,n,o),Pc(t,a,i,e,r,n,s)}function WJ(t,e,r){if(!t)return[new er(0,0,e==Xu?1:0)];if(e==an&&!r.length&&!UJ.test(t))return C0(t.length);if(r.length)for(;t.length>Ae.length;)Ae[Ae.length]=256;let n=[],a=e==an?0:1;return vc(t,a,a,r,0,t.length,n),n}function C0(t){return[new er(0,t,0)]}let P0="";function GJ(t,e,r,n,a){var i;let s=n.head-t.from,o=er.find(e,s,(i=n.bidiLevel)!==null&&i!==void 0?i:-1,n.assoc),l=e[o],c=l.side(a,r);if(s==c){let f=o+=a?1:-1;if(f<0||f>=e.length)return null;l=e[o=f],s=l.side(!a,r),c=l.side(a,r)}let u=Ke(t.text,s,l.forward(a,r));(u<l.from||u>l.to)&&(u=c),P0=t.text.slice(Math.min(s,u),Math.max(s,u));let h=o==(a?e.length-1:0)?null:e[o+(a?1:-1)];return h&&u==c&&h.level+(a?0:1)<l.level?q.cursor(h.side(!a,r)+t.from,h.forward(a,r)?1:-1,h.level):q.cursor(u+t.from,l.forward(a,r)?-1:1,l.level)}function KJ(t,e,r){for(let n=e;n<r;n++){let a=E0(t.charCodeAt(n));if(a==1)return an;if(a==2||a==4)return Xu}return an}const v0=se.define(),D0=se.define(),Q0=se.define(),z0=se.define(),Dc=se.define(),I0=se.define(),L0=se.define(),ju=se.define(),Zu=se.define(),R0=se.define({combine:t=>t.some(e=>e)}),N0=se.define({combine:t=>t.some(e=>e)}),$0=se.define();class vn{constructor(e,r="nearest",n="nearest",a=5,i=5,s=!1){this.range=e,this.y=r,this.x=n,this.yMargin=a,this.xMargin=i,this.isSnapshot=s}map(e){return e.empty?this:new vn(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new vn(q.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const Zi=De.define({map:(t,e)=>t.map(e)}),M0=De.define();function tr(t,e,r){let n=t.facet(z0);n.length?n[0](e):window.onerror&&window.onerror(String(e),r,void 0,void 0,e)||(r?console.error(r+":",e):console.error(e))}const fr=se.define({combine:t=>t.length?t[0]:!0});let JJ=0;const Sn=se.define({combine(t){return t.filter((e,r)=>{for(let n=0;n<r;n++)if(t[n].plugin==e.plugin)return!1;return!0})}});class yr{constructor(e,r,n,a,i){this.id=e,this.create=r,this.domEventHandlers=n,this.domEventObservers=a,this.baseExtensions=i(this),this.extension=this.baseExtensions.concat(Sn.of({plugin:this,arg:void 0}))}of(e){return this.baseExtensions.concat(Sn.of({plugin:this,arg:e}))}static define(e,r){const{eventHandlers:n,eventObservers:a,provide:i,decorations:s}=r||{};return new yr(JJ++,e,n,a,o=>{let l=[];return s&&l.push(uo.of(c=>{let u=c.plugin(o);return u?s(u):ze.none})),i&&l.push(i(o)),l})}static fromClass(e,r){return yr.define((n,a)=>new e(n,a),r)}}class fl{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let r=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(r)}catch(n){if(tr(r.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(r){tr(e.state,r,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var r;if(!((r=this.value)===null||r===void 0)&&r.destroy)try{this.value.destroy()}catch(n){tr(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const F0=se.define(),Uu=se.define(),uo=se.define(),B0=se.define(),Yu=se.define(),Ti=se.define(),q0=se.define();function Ld(t,e){let r=t.state.facet(q0);if(!r.length)return r;let n=r.map(i=>i instanceof Function?i(t):i),a=[];return Te.spans(n,e.from,e.to,{point(){},span(i,s,o,l){let c=i-e.from,u=s-e.from,h=a;for(let f=o.length-1;f>=0;f--,l--){let d=o[f].spec.bidiIsolate,g;if(d==null&&(d=KJ(e.text,c,u)),l>0&&h.length&&(g=h[h.length-1]).to==c&&g.direction==d)g.to=u,h=g.inner;else{let O={from:c,to:u,direction:d,inner:[]};h.push(O),h=O.inner}}}}),a}const X0=se.define();function j0(t){let e=0,r=0,n=0,a=0;for(let i of t.state.facet(X0)){let s=i(t);s&&(s.left!=null&&(e=Math.max(e,s.left)),s.right!=null&&(r=Math.max(r,s.right)),s.top!=null&&(n=Math.max(n,s.top)),s.bottom!=null&&(a=Math.max(a,s.bottom)))}return{left:e,right:r,top:n,bottom:a}}const wa=se.define();class Pt{constructor(e,r,n,a){this.fromA=e,this.toA=r,this.fromB=n,this.toB=a}join(e){return new Pt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let r=e.length,n=this;for(;r>0;r--){let a=e[r-1];if(!(a.fromA>n.toA)){if(a.toA<n.fromA)break;n=n.join(a),e.splice(r-1,1)}}return e.splice(r,0,n),e}static extendWithRanges(e,r){if(r.length==0)return e;let n=[];for(let a=0,i=0,s=0;;){let o=a<e.length?e[a].fromB:1e9,l=i<r.length?r[i]:1e9,c=Math.min(o,l);if(c==1e9)break;let u=c+s,h=c,f=u;for(;;)if(i<r.length&&r[i]<=h){let d=r[i+1];i+=2,h=Math.max(h,d);for(let g=a;g<e.length&&e[g].fromB<=h;g++)s=e[g].toA-e[g].toB;f=Math.max(f,d+s)}else if(a<e.length&&e[a].fromB<=h){let d=e[a++];h=Math.max(h,d.toB),f=Math.max(f,d.toA),s=d.toA-d.toB}else break;n.push(new Pt(u,f,c,h))}return n}}class vs{constructor(e,r,n){this.view=e,this.state=r,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Be.empty(this.startState.doc.length);for(let i of n)this.changes=this.changes.compose(i.changes);let a=[];this.changes.iterChangedRanges((i,s,o,l)=>a.push(new Pt(i,s,o,l))),this.changedRanges=a}static create(e,r,n){return new vs(e,r,n)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}const eee=[];class Le{constructor(e,r,n=0){this.dom=e,this.length=r,this.flags=n,this.parent=null,e.cmTile=this}get breakAfter(){return this.flags&1}get children(){return eee}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,this.flags&4){this.flags&=-5;let r=this.domAttrs;r&&RJ(this.dom,r)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,r=this.posAtStart){let n=r;for(let a of this.children){if(a==e)return n;n+=a.length+a.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,r){return null}domPosFor(e,r){let n=$r(this.dom),a=this.length?e>0:r>0;return new Nt(this.parent.dom,n+(a?1:0),e==0||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&this.parent.flags&2&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof fo)return e;return null}static get(e){return e.cmTile}}class ho extends Le{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(this.flags&2)return;super.sync(e);let r=this.dom,n=null,a,i=(e==null?void 0:e.node)==r?e:null,s=0;for(let o of this.children){if(o.sync(e),s+=o.length+o.breakAfter,a=n?n.nextSibling:r.firstChild,i&&a!=o.dom&&(i.written=!0),o.dom.parentNode==r)for(;a&&a!=o.dom;)a=Rd(a);else r.insertBefore(o.dom,a);n=o.dom}for(a=n?n.nextSibling:r.firstChild,i&&a&&(i.written=!0);a;)a=Rd(a);this.length=s}}function Rd(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class fo extends ho{constructor(e,r){super(r),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let r=Le.get(e);if(r&&this.owns(r))return r;e=e.parentNode}}blockTiles(e){for(let r=[],n=this,a=0,i=0;;)if(a==n.children.length){if(!r.length)return;n=n.parent,n.breakAfter&&i++,a=r.pop()}else{let s=n.children[a++];if(s instanceof pr)r.push(a),n=s,a=0;else{let o=i+s.length,l=e(s,i);if(l!==void 0)return l;i=o+s.breakAfter}}}resolveBlock(e,r){let n,a=-1,i,s=-1;if(this.blockTiles((o,l)=>{let c=l+o.length;if(e>=l&&e<=c){if(o.isWidget()&&r>=-1&&r<=1){if(o.flags&32)return!0;o.flags&16&&(n=void 0)}(l<e||e==c&&(r<-1?o.length:o.covers(1)))&&(!n||!o.isWidget()&&n.isWidget())&&(n=o,a=e-l),(c>e||e==l&&(r>1?o.length:o.covers(-1)))&&(!i||!o.isWidget()&&i.isWidget())&&(i=o,s=e-l)}}),!n&&!i)throw new Error("No tile at position "+e);return n&&r<0||!i?{tile:n,offset:a}:{tile:i,offset:s}}}class pr extends ho{constructor(e,r){super(e),this.wrapper=r}isBlock(){return!0}covers(e){return this.children.length?e<0?this.children[0].covers(-1):this.lastChild.covers(1):!1}get domAttrs(){return this.wrapper.attributes}static of(e,r){let n=new pr(r||document.createElement(e.tagName),e);return r||(n.flags|=4),n}}class Nn extends ho{constructor(e,r){super(e),this.attrs=r}isLine(){return!0}static start(e,r,n){let a=new Nn(r||document.createElement("div"),e);return(!r||!n)&&(a.flags|=4),a}get domAttrs(){return this.attrs}resolveInline(e,r,n){let a=null,i=-1,s=null,o=-1;function l(u,h){for(let f=0,d=0;f<u.children.length&&d<=h;f++){let g=u.children[f],O=d+g.length;O>=h&&(g.isComposite()?l(g,h-d):(!s||s.isHidden&&(r>0||n&&ree(s,g)))&&(O>h||g.flags&32)?(s=g,o=h-d):(d<h||g.flags&16&&!g.isHidden)&&(a=g,i=h-d)),d=O}}l(this,e);let c=(r<0?a:s)||a||s;return c?{tile:c,offset:c==a?i:o}:null}coordsIn(e,r){let n=this.resolveInline(e,r,!0);return n?n.tile.coordsIn(Math.max(0,n.offset),r):tee(this)}domIn(e,r){let n=this.resolveInline(e,r);if(n){let{tile:a,offset:i}=n;if(this.dom.contains(a.dom))return a.isText()?new Nt(a.dom,Math.min(a.dom.nodeValue.length,i)):a.domPosFor(i,a.flags&16?1:a.flags&32?-1:r);let s=n.tile.parent,o=!1;for(let l of s.children){if(o)return new Nt(l.dom,0);l==n.tile&&(o=!0)}}return new Nt(this.dom,0)}}function tee(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let r=ds(e);return r[r.length-1]||null}function ree(t,e){let r=t.coordsIn(0,1),n=e.coordsIn(0,1);return r&&n&&n.top<r.bottom}class ct extends ho{constructor(e,r){super(e),this.mark=r}get domAttrs(){return this.mark.attrs}static of(e,r){let n=new ct(r||document.createElement(e.tagName),e);return r||(n.flags|=4),n}}class Jr extends Le{constructor(e,r){super(e,r.length),this.text=r}sync(e){this.flags&2||(super.sync(e),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text))}isText(){return!0}toString(){return JSON.stringify(this.text)}coordsIn(e,r){let n=this.dom.nodeValue.length;e>n&&(e=n);let a=e,i=e,s=0;e==0&&r<0||e==n&&r>=0?ee.chrome||ee.gecko||(e?(a--,s=1):i<n&&(i++,s=-1)):r<0?a--:i<n&&i++;let o=Ja(this.dom,a,i).getClientRects();if(!o.length)return null;let l=o[(s?s<0:r>=0)?0:o.length-1];return ee.safari&&!s&&l.width==0&&(l=Array.prototype.find.call(o,c=>c.width)||l),s?Ps(l,s<0):l||null}static of(e,r){let n=new Jr(r||document.createTextNode(e),e);return r||(n.flags|=2),n}}class sn extends Le{constructor(e,r,n,a){super(e,r,a),this.widget=n}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return this.flags&48?!1:(this.flags&(e<0?64:128))>0}coordsIn(e,r){return this.coordsInWidget(e,r,!1)}coordsInWidget(e,r,n){let a=this.widget.coordsAt(this.dom,e,r);if(a)return a;if(n)return Ps(this.dom.getBoundingClientRect(),this.length?e==0:r<=0);{let i=this.dom.getClientRects(),s=null;if(!i.length)return null;let o=this.flags&16?!0:this.flags&32?!1:e>0;for(let l=o?i.length-1:0;s=i[l],!(e>0?l==0:l==i.length-1||s.top<s.bottom);l+=o?-1:1);return Ps(s,!o)}}get overrideDOMText(){if(!this.length)return _e.empty;let{root:e}=this;if(!e)return _e.empty;let r=this.posAtStart;return e.view.state.doc.slice(r,r+this.length)}destroy(){super.destroy(),this.widget.destroy(this.dom)}static of(e,r,n,a,i){return i||(i=e.toDOM(r),e.editable||(i.contentEditable="false")),new sn(i,n,e,a)}}class Ds extends Le{constructor(e){let r=document.createElement("img");r.className="cm-widgetBuffer",r.setAttribute("aria-hidden","true"),super(r,0,e)}get isHidden(){return!0}get overrideDOMText(){return _e.empty}coordsIn(e){return this.dom.getBoundingClientRect()}}class nee{constructor(e){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=e}advance(e,r,n){let{tile:a,index:i,beforeBreak:s,parents:o}=this;for(;e||r>0;)if(a.isComposite())if(s){if(!e)break;n&&n.break(),e--,s=!1}else if(i==a.children.length){if(!e&&!o.length)break;n&&n.leave(a),s=!!a.breakAfter,{tile:a,index:i}=o.pop(),i++}else{let l=a.children[i],c=l.breakAfter;(r>0?l.length<=e:l.length<e)&&(!n||n.skip(l,0,l.length)!==!1||!l.isComposite)?(s=!!c,i++,e-=l.length):(o.push({tile:a,index:i}),a=l,i=0,n&&l.isComposite()&&n.enter(l))}else if(i==a.length)s=!!a.breakAfter,{tile:a,index:i}=o.pop(),i++;else if(e){let l=Math.min(e,a.length-i);n&&n.skip(a,i,i+l),e-=l,i+=l}else break;return this.tile=a,this.index=i,this.beforeBreak=s,this}get root(){return this.parents.length?this.parents[0].tile:this.tile}}class aee{constructor(e,r,n,a){this.from=e,this.to=r,this.wrapper=n,this.rank=a}}class iee{constructor(e,r,n){this.cache=e,this.root=r,this.blockWrappers=n,this.curLine=null,this.lastBlock=null,this.afterWidget=null,this.pos=0,this.wrappers=[],this.wrapperPos=0}addText(e,r,n,a){var i;this.flushBuffer();let s=this.ensureMarks(r,n),o=s.lastChild;if(o&&o.isText()&&!(o.flags&8)&&o.length+e.length<512){this.cache.reused.set(o,2);let l=s.children[s.children.length-1]=new Jr(o.dom,o.text+e);l.parent=s}else s.append(a||Jr.of(e,(i=this.cache.find(Jr))===null||i===void 0?void 0:i.dom));this.pos+=e.length,this.afterWidget=null}addComposition(e,r){let n=this.curLine;n.dom!=r.line.dom&&(n.setDOM(this.cache.reused.has(r.line)?dl(r.line.dom):r.line.dom),this.cache.reused.set(r.line,2));let a=n;for(let o=r.marks.length-1;o>=0;o--){let l=r.marks[o],c=a.lastChild;if(c instanceof ct&&c.mark.eq(l.mark))c.dom!=l.dom&&c.setDOM(dl(l.dom)),a=c;else{if(this.cache.reused.get(l)){let h=Le.get(l.dom);h&&h.setDOM(dl(l.dom))}let u=ct.of(l.mark,l.dom);a.append(u),a=u}this.cache.reused.set(l,2)}let i=Le.get(e.text);i&&this.cache.reused.set(i,2);let s=new Jr(e.text,e.text.nodeValue);s.flags|=8,a.append(s)}addInlineWidget(e,r,n){let a=this.afterWidget&&e.flags&48&&(this.afterWidget.flags&48)==(e.flags&48);a||this.flushBuffer();let i=this.ensureMarks(r,n);!a&&!(e.flags&16)&&i.append(this.getBuffer(1)),i.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,r,n){this.flushBuffer(),this.ensureMarks(r,n).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){let r=this.afterWidget||this.lastBlock;r.length+=e,this.pos+=e}addLineStart(e,r){var n;e||(e=Z0);let a=Nn.start(e,r||((n=this.cache.find(Nn))===null||n===void 0?void 0:n.dom),!!r);this.getBlockPos().append(this.lastBlock=this.curLine=a)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,r){var n;let a=this.curLine;for(let i=e.length-1;i>=0;i--){let s=e[i],o;if(r>0&&(o=a.lastChild)&&o instanceof ct&&o.mark.eq(s))a=o,r--;else{let l=ct.of(s,(n=this.cache.find(ct,c=>c.mark.eq(s)))===null||n===void 0?void 0:n.dom);a.append(l),a=l,r=0}}return a}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;(!e||!Nd(this.curLine,!1)||e.dom.nodeName!="BR"&&e.isWidget()&&!(ee.ios&&Nd(this.curLine,!0)))&&this.curLine.append(this.cache.findWidget(pl,0,32)||new sn(pl.toDOM(),0,pl,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to<this.pos&&this.wrappers.splice(e,1);for(let e=this.blockWrappers;e.value&&e.from<=this.pos;e.next())if(e.to>=this.pos){let r=new aee(e.from,e.to,e.value,e.rank),n=this.wrappers.length;for(;n>0&&(this.wrappers[n-1].rank-r.rank||this.wrappers[n-1].to-r.to)<0;)n--;this.wrappers.splice(n,0,r)}this.wrapperPos=this.pos}getBlockPos(){var e;this.updateBlockWrappers();let r=this.root;for(let n of this.wrappers){let a=r.lastChild;if(n.from<this.pos&&a instanceof pr&&a.wrapper.eq(n.wrapper))r=a;else{let i=pr.of(n.wrapper,(e=this.cache.find(pr,s=>s.wrapper.eq(n.wrapper)))===null||e===void 0?void 0:e.dom);r.append(i),r=i}}return r}blockPosCovered(){let e=this.lastBlock;return e!=null&&!e.breakAfter&&(!e.isWidget()||(e.flags&160)>0)}getBuffer(e){let r=2|(e<0?16:32),n=this.cache.find(Ds,void 0,1);return n&&(n.flags=r),n||new Ds(r)}flushBuffer(){this.afterWidget&&!(this.afterWidget.flags&32)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class see{constructor(e){this.skipCount=0,this.text="",this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:a,lineBreak:i,done:s}=this.cursor.next(this.skipCount);if(this.skipCount=0,s)throw new Error("Ran out of text content when drawing inline views");this.text=a;let o=this.textOff=Math.min(e,a.length);return i?null:a.slice(0,o)}let r=Math.min(this.text.length,this.textOff+e),n=this.text.slice(this.textOff,r);return this.textOff=r,n}}const Qs=[sn,Nn,Jr,ct,Ds,pr,fo];for(let t=0;t<Qs.length;t++)Qs[t].bucket=t;class oee{constructor(e){this.view=e,this.buckets=Qs.map(()=>[]),this.index=Qs.map(()=>0),this.reused=new Map}add(e){let r=e.constructor.bucket,n=this.buckets[r];n.length<6?n.push(e):n[this.index[r]=(this.index[r]+1)%6]=e}find(e,r,n=2){let a=e.bucket,i=this.buckets[a],s=this.index[a];for(let o=i.length-1;o>=0;o--){let l=(o+s)%i.length,c=i[l];if((!r||r(c))&&!this.reused.has(c))return i.splice(l,1),l<s&&this.index[a]--,this.reused.set(c,n),c}return null}findWidget(e,r,n){let a=this.buckets[0];if(a.length)for(let i=0,s=0;;i++){if(i==a.length){if(s)return null;s=1,i=0}let o=a[i];if(!this.reused.has(o)&&(s==0?o.widget.compare(e):o.widget.constructor==e.constructor&&e.updateDOM(o.dom,this.view)))return a.splice(i,1),i<this.index[0]&&this.index[0]--,o.widget==e&&o.length==r&&(o.flags&497)==n?(this.reused.set(o,1),o):(this.reused.set(o,2),new sn(o.dom,r,e,o.flags&-498|n))}}reuse(e){return this.reused.set(e,1),e}maybeReuse(e,r=2){if(!this.reused.has(e))return this.reused.set(e,r),e.dom}clear(){for(let e=0;e<this.buckets.length;e++)this.buckets[e].length=this.index[e]=0}}class lee{constructor(e,r,n,a,i){this.view=e,this.decorations=a,this.disallowBlockEffectsFor=i,this.openWidget=!1,this.openMarks=0,this.cache=new oee(e),this.text=new see(e.state.doc),this.builder=new iee(this.cache,new fo(e,e.contentDOM),Te.iter(n)),this.cache.reused.set(r,2),this.old=new nee(r),this.reuseWalker={skip:(s,o,l)=>{if(this.cache.add(s),s.isComposite())return!1},enter:s=>this.cache.add(s),leave:()=>{},break:()=>{}}}run(e,r){let n=r&&this.getCompositionContext(r.text);for(let a=0,i=0,s=0;;){let o=s<e.length?e[s++]:null,l=o?o.fromA:this.old.root.length;if(l>a){let c=l-a;this.preserve(c,!s,!o),a=l,i+=c}if(!o)break;r&&o.fromA<=r.range.fromA&&o.toA>=r.range.toA?(this.forward(o.fromA,r.range.fromA,r.range.fromA<r.range.toA?1:-1),this.emit(i,r.range.fromB),this.cache.clear(),this.builder.addComposition(r,n),this.text.skip(r.range.toB-r.range.fromB),this.forward(r.range.fromA,o.toA),this.emit(r.range.toB,o.toB)):(this.forward(o.fromA,o.toA),this.emit(i,o.toB)),i=o.toB,a=o.toA}return this.builder.curLine&&this.builder.endLine(),this.builder.root}preserve(e,r,n){let a=hee(this.old),i=this.openMarks;this.old.advance(e,n?1:-1,{skip:(s,o,l)=>{if(s.isWidget())if(this.openWidget)this.builder.continueWidget(l-o);else{let c=l>0||o<s.length?sn.of(s.widget,this.view,l-o,s.flags&496,this.cache.maybeReuse(s)):this.cache.reuse(s);c.flags&256?(c.flags&=-2,this.builder.addBlockWidget(c)):(this.builder.ensureLine(null),this.builder.addInlineWidget(c,a,i),i=a.length)}else if(s.isText())this.builder.ensureLine(null),!o&&l==s.length&&!this.cache.reused.has(s)?this.builder.addText(s.text,a,i,this.cache.reuse(s)):(this.cache.add(s),this.builder.addText(s.text.slice(o,l),a,i)),i=a.length;else if(s.isLine())s.flags&=-2,this.cache.reused.set(s,1),this.builder.addLine(s);else if(s instanceof Ds)this.cache.add(s);else if(s instanceof ct)this.builder.ensureLine(null),this.builder.addMark(s,a,i),this.cache.reused.set(s,1),i=a.length;else return!1;this.openWidget=!1},enter:s=>{s.isLine()?this.builder.addLineStart(s.attrs,this.cache.maybeReuse(s)):(this.cache.add(s),s instanceof ct&&a.unshift(s.mark)),this.openWidget=!1},leave:s=>{s.isLine()?a.length&&(a.length=i=0):s instanceof ct&&(a.shift(),i=Math.min(i,a.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,r){let n=null,a=this.builder,i=0,s=Te.spans(this.decorations,e,r,{point:(o,l,c,u,h,f)=>{if(c instanceof nn){if(this.disallowBlockEffectsFor[f]){if(c.block)throw new RangeError("Block decorations may not be specified via plugins");if(l>this.view.state.doc.lineAt(o).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(i=u.length,h>u.length)a.continueWidget(l-o);else{let d=c.widget||(c.block?$n.block:$n.inline),g=cee(c),O=this.cache.findWidget(d,l-o,g)||sn.of(d,this.view,l-o,g);c.block?(c.startSide>0&&a.addLineStartIfNotCovered(n),a.addBlockWidget(O)):(a.ensureLine(n),a.addInlineWidget(O,u,h))}n=null}else n=uee(n,c);l>o&&this.text.skip(l-o)},span:(o,l,c,u)=>{for(let h=o;h<l;){let f=this.text.next(Math.min(512,l-h));f==null?(a.addLineStartIfNotCovered(n),a.addBreak(),h++):(a.ensureLine(n),a.addText(f,c,h==o?u:c.length),h+=f.length),n=null}}});a.addLineStartIfNotCovered(n),this.openWidget=s>i,this.openMarks=s}forward(e,r,n=1){r-e<=10?this.old.advance(r-e,n,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(r-e-10,-1),this.old.advance(5,n,this.reuseWalker))}getCompositionContext(e){let r=[],n=null;for(let a=e.parentNode;;a=a.parentNode){let i=Le.get(a);if(a==this.view.contentDOM)break;i instanceof ct?r.push(i):i!=null&&i.isLine()?n=i:i instanceof pr||(a.nodeName=="DIV"&&!n&&a!=this.view.contentDOM?n=new Nn(a,Z0):n||r.push(ct.of(new Si({tagName:a.nodeName.toLowerCase(),attributes:NJ(a)}),a)))}return{line:n,marks:r}}}function Nd(t,e){let r=n=>{for(let a of n.children)if((e?a.isText():a.length)||r(a))return!0;return!1};return r(t)}function cee(t){let e=t.isReplace?(t.startSide<0?64:0)|(t.endSide>0?128:0):t.startSide>0?32:16;return t.block&&(e|=256),e}const Z0={class:"cm-line"};function uee(t,e){let r=e.spec.attributes,n=e.spec.class;return!r&&!n||(t||(t={class:"cm-line"}),r&&Bu(r,t),n&&(t.class+=" "+n)),t}function hee(t){let e=[];for(let r=t.parents.length;r>1;r--){let n=r==t.parents.length?t.tile:t.parents[r].tile;n instanceof ct&&e.push(n.mark)}return e}function dl(t){let e=Le.get(t);return e&&e.setDOM(t.cloneNode()),t}class $n extends wi{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}$n.inline=new $n("span");$n.block=new $n("div");const pl=new class extends wi{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class $d{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=ze.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new fo(e,e.contentDOM),this.updateInner([new Pt(0,0,0,e.state.doc.length)],null)}update(e){var r;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:u,toA:h})=>h<this.minWidthFrom||u>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let a=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((r=this.domChanged)===null||r===void 0)&&r.newSel?a=this.domChanged.newSel.head:!bee(e.changes,this.hasComposition)&&!e.selectionSet&&(a=e.state.selection.main.head));let i=a>-1?dee(this.view,e.changes,a):null;if(this.domChanged=null,this.hasComposition){let{from:u,to:h}=this.hasComposition;n=new Pt(u,h,e.changes.mapPos(u,-1),e.changes.mapPos(h,1)).addToSet(n.slice())}this.hasComposition=i?{from:i.range.fromB,to:i.range.toB}:null,(ee.ie||ee.chrome)&&!i&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,o=this.blockWrappers;this.updateDeco();let l=gee(s,this.decorations,e.changes);l.length&&(n=Pt.extendWithRanges(n,l));let c=yee(o,this.blockWrappers,e.changes);return c.length&&(n=Pt.extendWithRanges(n,c)),i&&!n.some(u=>u.fromA<=i.range.fromA&&u.toA>=i.range.toA)&&(n=i.range.addToSet(n.slice())),this.tile.flags&2&&n.length==0?!1:(this.updateInner(n,i),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,r){this.view.viewState.mustMeasureContent=!0;let{observer:n}=this.view;n.ignore(()=>{if(r||e.length){let s=this.tile,o=new lee(this.view,s,this.blockWrappers,this.decorations,this.dynamicDecorationMap);r&&Le.get(r.text)&&o.cache.reused.set(Le.get(r.text),2),this.tile=o.run(e,r),Qc(s,o.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let i=ee.chrome||ee.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(i),i&&(i.written||n.selectionRange.focusNode!=i.node||!this.tile.dom.contains(i.node))&&(this.forceSelection=!0),this.tile.dom.style.height=""});let a=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let i of this.tile.children)i.isWidget()&&i.widget instanceof ml&&a.push(i.dom);n.updateGaps(a)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let r of e.transactions)for(let n of r.effects)n.is(M0)&&(this.editContextFormatting=n.value)}updateSelection(e=!1,r=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let{dom:n}=this.tile,a=this.view.root.activeElement,i=a==n,s=!i&&!(this.view.state.facet(fr)||n.tabIndex>-1)&&Ra(n,this.view.observer.selectionRange)&&!(a&&n.contains(a));if(!(i||r||s))return;let o=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,c,u;if(l.empty?u=c=this.inlineDOMNearPos(l.anchor,l.assoc||1):(u=this.inlineDOMNearPos(l.head,l.head==l.from?1:-1),c=this.inlineDOMNearPos(l.anchor,l.anchor==l.from?1:-1)),ee.gecko&&l.empty&&!this.hasComposition&&fee(c)){let f=document.createTextNode("");this.view.observer.ignore(()=>c.node.insertBefore(f,c.node.childNodes[c.offset]||null)),c=u=new Nt(f,0),o=!0}let h=this.view.observer.selectionRange;(o||!h.focusNode||(!Na(c.node,c.offset,h.anchorNode,h.anchorOffset)||!Na(u.node,u.offset,h.focusNode,h.focusOffset))&&!this.suppressWidgetCursorChange(h,l))&&(this.view.observer.ignore(()=>{ee.android&&ee.chrome&&n.contains(h.focusNode)&&kee(h.focusNode,n)&&(n.blur(),n.focus({preventScroll:!0}));let f=Ka(this.view.root);if(f)if(l.empty){if(ee.gecko){let d=pee(c.node,c.offset);if(d&&d!=3){let g=(d==1?S0:x0)(c.node,c.offset);g&&(c=new Nt(g.node,g.offset))}}f.collapse(c.node,c.offset),l.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=l.bidiLevel)}else if(f.extend){f.collapse(c.node,c.offset);try{f.extend(u.node,u.offset)}catch{}}else{let d=document.createRange();l.anchor>l.head&&([c,u]=[u,c]),d.setEnd(u.node,u.offset),d.setStart(c.node,c.offset),f.removeAllRanges(),f.addRange(d)}s&&this.view.root.activeElement==n&&(n.blur(),a&&a.focus())}),this.view.observer.setSelectionRange(c,u)),this.impreciseAnchor=c.precise?null:new Nt(h.anchorNode,h.anchorOffset),this.impreciseHead=u.precise?null:new Nt(h.focusNode,h.focusOffset)}suppressWidgetCursorChange(e,r){return this.hasComposition&&r.empty&&Na(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==r.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,r=e.state.selection.main,n=Ka(e.root),{anchorNode:a,anchorOffset:i}=e.observer.selectionRange;if(!n||!r.empty||!r.assoc||!n.modify)return;let s=this.lineAt(r.head,r.assoc);if(!s)return;let o=s.posAtStart;if(r.head==o||r.head==o+s.length)return;let l=this.coordsAt(r.head,-1),c=this.coordsAt(r.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(r.head+r.assoc,r.assoc);n.collapse(u.node,u.offset),n.modify("move",r.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=r.from&&n.collapse(a,i)}posFromDOM(e,r){let n=this.tile.nearest(e);if(!n)return this.tile.dom.compareDocumentPosition(e)&2?0:this.view.state.doc.length;let a=n.posAtStart;if(n.isComposite()){let i;if(e==n.dom)i=n.dom.childNodes[r];else{let s=Or(e)==0?0:r==0?-1:1;for(;;){let o=e.parentNode;if(o==n.dom)break;s==0&&o.firstChild!=o.lastChild&&(e==o.firstChild?s=-1:s=1),e=o}s<0?i=e:i=e.nextSibling}if(i==n.dom.firstChild)return a;for(;i&&!Le.get(i);)i=i.nextSibling;if(!i)return a+n.length;for(let s=0,o=a;;s++){let l=n.children[s];if(l.dom==i)return o;o+=l.length+l.breakAfter}}else return n.isText()?e==n.dom?a+r:a+(r?n.length:0):a}domAtPos(e,r){let{tile:n,offset:a}=this.tile.resolveBlock(e,r);return n.isWidget()?n.domPosFor(e,r):n.domIn(a,r)}inlineDOMNearPos(e,r){let n,a=-1,i=!1,s,o=-1,l=!1;return this.tile.blockTiles((c,u)=>{if(c.isWidget()){if(c.flags&32&&u>=e)return!0;c.flags&16&&(i=!0)}else{let h=u+c.length;if(u<=e&&(n=c,a=e-u,i=h<e),h>=e&&!s&&(s=c,o=e-u,l=u>e),u>e&&s)return!0}}),!n&&!s?this.domAtPos(e,r):(i&&s?n=null:l&&n&&(s=null),n&&r<0||!s?n.domIn(a,r):s.domIn(o,r))}coordsAt(e,r){let{tile:n,offset:a}=this.tile.resolveBlock(e,r);return n.isWidget()?n.widget instanceof ml?null:n.coordsInWidget(a,r,!0):n.coordsIn(a,r)}lineAt(e,r){let{tile:n}=this.tile.resolveBlock(e,r);return n.isLine()?n:null}coordsForChar(e){let{tile:r,offset:n}=this.tile.resolveBlock(e,1);if(!r.isLine())return null;function a(i,s){if(i.isComposite())for(let o of i.children){if(o.length>=s){let l=a(o,s);if(l)return l}if(s-=o.length,s<0)break}else if(i.isText()&&s<i.length){let o=Ke(i.text,s);if(o==s)return null;let l=Ja(i.dom,s,o).getClientRects();for(let c=0;c<l.length;c++){let u=l[c];if(c==l.length-1||u.top<u.bottom&&u.left<u.right)return u}}return null}return a(r,n)}measureVisibleLineHeights(e){let r=[],{from:n,to:a}=e,i=this.view.contentDOM.clientWidth,s=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,l=this.view.textDirection==Ie.LTR,c=0,u=(h,f,d)=>{for(let g=0;g<h.children.length&&!(f>a);g++){let O=h.children[g],k=f+O.length,y=O.dom.getBoundingClientRect(),{height:w}=y;if(d&&!g&&(c+=y.top-d.top),O instanceof pr)k>n&&u(O,f,y);else if(f>=n&&(c>0&&r.push(-c),r.push(w+c),c=0,s)){let P=O.dom.lastChild,N=P?ds(P):[];if(N.length){let T=N[N.length-1],m=l?T.right-y.left:y.right-T.left;m>o&&(o=m,this.minWidth=i,this.minWidthFrom=f,this.minWidthTo=k)}}d&&g==h.children.length-1&&(c+=d.bottom-y.bottom),f=k+O.breakAfter}};return u(this.tile,0,null),r}textDirectionAt(e){let{tile:r}=this.tile.resolveBlock(e,1);return getComputedStyle(r.dom).direction=="rtl"?Ie.RTL:Ie.LTR}measureTextSize(){let e=this.tile.blockTiles(s=>{if(s.isLine()&&s.children.length&&s.length<=20){let o=0,l;for(let c of s.children){if(!c.isText()||/[^ -~]/.test(c.text))return;let u=ds(c.dom);if(u.length!=1)return;o+=u[0].width,l=u[0].height}if(o)return{lineHeight:s.dom.getBoundingClientRect().height,charWidth:o/s.length,textHeight:l}}});if(e)return e;let r=document.createElement("div"),n,a,i;return r.className="cm-line",r.style.width="99999px",r.style.position="absolute",r.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(r);let s=ds(r.firstChild)[0];n=r.getBoundingClientRect().height,a=s&&s.width?s.width/27:7,i=s&&s.height?s.height:n,r.remove()}),{lineHeight:n,charWidth:a,textHeight:i}}computeBlockGapDeco(){let e=[],r=this.view.viewState;for(let n=0,a=0;;a++){let i=a==r.viewports.length?null:r.viewports[a],s=i?i.from-1:this.view.state.doc.length;if(s>n){let o=(r.lineBlockAt(s).bottom-r.lineBlockAt(n).top)/this.view.scaleY;e.push(ze.replace({widget:new ml(o),block:!0,inclusive:!0,isBlockGap:!0}).range(n,s))}if(!i)break;n=i.to+1}return ze.set(e)}updateDeco(){let e=1,r=this.view.state.facet(uo).map(i=>(this.dynamicDecorationMap[e++]=typeof i=="function")?i(this.view):i),n=!1,a=this.view.state.facet(Yu).map((i,s)=>{let o=typeof i=="function";return o&&(n=!0),o?i(this.view):i});for(a.length&&(this.dynamicDecorationMap[e++]=n,r.push(Te.join(a))),this.decorations=[this.editContextFormatting,...r,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;this.blockWrappers=this.view.state.facet(B0).map(i=>typeof i=="function"?i(this.view):i)}scrollIntoView(e){if(e.isSnapshot){let c=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=c.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let c of this.view.state.facet($0))try{if(c(this.view,e.range,e))return!0}catch(u){tr(this.view.state,u,"scroll handler")}let{range:r}=e,n=this.coordsAt(r.head,r.empty?r.assoc:r.head>r.anchor?-1:1),a;if(!n)return;!r.empty&&(a=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(n={left:Math.min(n.left,a.left),top:Math.min(n.top,a.top),right:Math.max(n.right,a.right),bottom:Math.max(n.bottom,a.bottom)});let i=j0(this.view),s={left:n.left-i.left,top:n.top-i.top,right:n.right+i.right,bottom:n.bottom+i.bottom},{offsetWidth:o,offsetHeight:l}=this.view.scrollDOM;if(FJ(this.view.scrollDOM,s,r.head<r.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,o),-o),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==Ie.LTR),window.visualViewport&&window.innerHeight-window.visualViewport.height>1&&(n.top>window.pageYOffset+window.visualViewport.offsetTop+window.visualViewport.height||n.bottom<window.pageYOffset+window.visualViewport.offsetTop)){let c=this.view.docView.lineAt(r.head,1);c&&c.dom.scrollIntoView({block:"nearest"})}}lineHasWidget(e){let r=n=>n.isWidget()||n.children.some(r);return r(this.tile.resolveBlock(e,1).tile)}destroy(){Qc(this.tile)}}function Qc(t,e){let r=e==null?void 0:e.get(t);if(r!=1){r==null&&t.destroy();for(let n of t.children)Qc(n,e)}}function fee(t){return t.node.nodeType==1&&t.node.firstChild&&(t.offset==0||t.node.childNodes[t.offset-1].contentEditable=="false")&&(t.offset==t.node.childNodes.length||t.node.childNodes[t.offset].contentEditable=="false")}function U0(t,e){let r=t.observer.selectionRange;if(!r.focusNode)return null;let n=S0(r.focusNode,r.focusOffset),a=x0(r.focusNode,r.focusOffset),i=n||a;if(a&&n&&a.node!=n.node){let o=Le.get(a.node);if(!o||o.isText()&&o.text!=a.node.nodeValue)i=a;else if(t.docView.lastCompositionAfterCursor){let l=Le.get(n.node);!l||l.isText()&&l.text!=n.node.nodeValue||(i=a)}}if(t.docView.lastCompositionAfterCursor=i!=n,!i)return null;let s=e-i.offset;return{from:s,to:s+i.node.nodeValue.length,node:i.node}}function dee(t,e,r){let n=U0(t,r);if(!n)return null;let{node:a,from:i,to:s}=n,o=a.nodeValue;if(/[\n\r]/.test(o)||t.state.doc.sliceString(n.from,n.to)!=o)return null;let l=e.invertedDesc;return{range:new Pt(l.mapPos(i),l.mapPos(s),i,s),text:a}}function pee(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e<t.childNodes.length&&t.childNodes[e].contentEditable=="false"?2:0)}let mee=class{constructor(){this.changes=[]}compareRange(e,r){Cn(e,r,this.changes)}comparePoint(e,r){Cn(e,r,this.changes)}boundChange(e){Cn(e,e,this.changes)}};function gee(t,e,r){let n=new mee;return Te.compare(t,e,r,n),n.changes}class Oee{constructor(){this.changes=[]}compareRange(e,r){Cn(e,r,this.changes)}comparePoint(){}boundChange(e){Cn(e,e,this.changes)}}function yee(t,e,r){let n=new Oee;return Te.compare(t,e,r,n),n.changes}function kee(t,e){for(let r=t;r&&r!=e;r=r.assignedSlot||r.parentNode)if(r.nodeType==1&&r.contentEditable=="false")return!0;return!1}function bee(t,e){let r=!1;return e&&t.iterChangedRanges((n,a)=>{n<e.to&&a>e.from&&(r=!0)}),r}class ml extends wi{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function _ee(t,e,r=1){let n=t.charCategorizer(e),a=t.doc.lineAt(e),i=e-a.from;if(a.length==0)return q.cursor(e);i==0?r=1:i==a.length&&(r=-1);let s=i,o=i;r<0?s=Ke(a.text,i,!1):o=Ke(a.text,i);let l=n(a.text.slice(s,o));for(;s>0;){let c=Ke(a.text,s,!1);if(n(a.text.slice(c,s))!=l)break;s=c}for(;o<a.length;){let c=Ke(a.text,o);if(n(a.text.slice(o,c))!=l)break;o=c}return q.range(s+a.from,o+a.from)}function wee(t,e,r,n,a){let i=Math.round((n-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&r.height>t.defaultLineHeight*1.5){let o=t.viewState.heightOracle.textHeight,l=Math.floor((a-r.top-(t.defaultLineHeight-o)*.5)/o);i+=l*t.viewState.heightOracle.lineLength}let s=t.state.sliceDoc(r.from,r.to);return r.from+vJ(s,i,t.state.tabSize)}function zc(t,e,r){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){let a;for(let i of n.type){if(i.from>e)break;if(!(i.to<e)){if(i.from<e&&i.to>e)return i;(!a||i.type==at.Text&&(a.type!=i.type||(r<0?i.from<e:i.to>e)))&&(a=i)}}return a||n}return n}function See(t,e,r,n){let a=zc(t,e.head,e.assoc||-1),i=!n||a.type!=at.Text||!(t.lineWrapping||a.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>a.from?e.head-1:e.head);if(i){let s=t.dom.getBoundingClientRect(),o=t.textDirectionAt(a.from),l=t.posAtCoords({x:r==(o==Ie.LTR)?s.right-1:s.left+1,y:(i.top+i.bottom)/2});if(l!=null)return q.cursor(l,r?-1:1)}return q.cursor(r?a.to:a.from,r?-1:1)}function Md(t,e,r,n){let a=t.state.doc.lineAt(e.head),i=t.bidiSpans(a),s=t.textDirectionAt(a.from);for(let o=e,l=null;;){let c=GJ(a,i,s,o,r),u=P0;if(!c){if(a.number==(r?t.state.doc.lines:1))return o;u=`
64
- `,a=t.state.doc.line(a.number+(r?1:-1)),i=t.bidiSpans(a),c=t.visualLineSide(a,!r)}if(l){if(!l(u))return o}else{if(!n)return c;l=n(u)}o=c}}function xee(t,e,r){let n=t.state.charCategorizer(e),a=n(r);return i=>{let s=n(i);return a==Ct.Space&&(a=s),a==s}}function Tee(t,e,r,n){let a=e.head,i=r?1:-1;if(a==(r?t.state.doc.length:0))return q.cursor(a,e.assoc);let s=e.goalColumn,o,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(a,(e.empty?e.assoc:0)||(r?1:-1)),u=t.documentTop;if(c)s==null&&(s=c.left-l.left),o=i<0?c.top:c.bottom;else{let g=t.viewState.lineBlockAt(a);s==null&&(s=Math.min(l.right-l.left,t.defaultCharacterWidth*(a-g.from))),o=(i<0?g.top:g.bottom)+u}let h=l.left+s,f=n??t.viewState.heightOracle.textHeight>>1,d=Ic(t,{x:h,y:o+f*i},!1,i);return q.cursor(d.pos,d.assoc,void 0,s)}function $a(t,e,r){for(;;){let n=0;for(let a of t)a.between(e-1,e+1,(i,s,o)=>{if(e>i&&e<s){let l=n||r||(e-i<s-e?-1:1);e=l<0?i:s,n=l}});if(!n)return e}}function Y0(t,e){let r=null;for(let n=0;n<e.ranges.length;n++){let a=e.ranges[n],i=null;if(a.empty){let s=$a(t,a.from,0);s!=a.from&&(i=q.cursor(s,-1))}else{let s=$a(t,a.from,-1),o=$a(t,a.to,1);(s!=a.from||o!=a.to)&&(i=q.range(a.from==a.anchor?s:o,a.from==a.head?s:o))}i&&(r||(r=e.ranges.slice()),r[n]=i)}return r?q.create(r,e.mainIndex):e}function gl(t,e,r){let n=$a(t.state.facet(Ti).map(a=>a(t)),r.from,e.head>r.from?-1:1);return n==r.from?r:q.cursor(n,n<r.from?1:-1)}class Kt{constructor(e,r){this.pos=e,this.assoc=r}}function Ic(t,e,r,n){let a=t.contentDOM.getBoundingClientRect(),i=a.top+t.viewState.paddingTop,{x:s,y:o}=e,l=o-i,c;for(;;){if(l<0)return new Kt(0,1);if(l>t.viewState.docHeight)return new Kt(t.state.doc.length,-1);if(c=t.elementAtHeight(l),n==null)break;if(c.type==at.Text){if(n<0?c.to<t.viewport.from:c.from>t.viewport.to)break;let f=t.docView.coordsAt(n<0?c.from:c.to,n>0?-1:1);if(f&&(n<0?f.top<=l+i:f.bottom>=l+i))break}let h=t.viewState.heightOracle.textHeight/2;l=n>0?c.bottom+h:c.top-h}if(t.viewport.from>=c.to||t.viewport.to<=c.from){if(r)return null;if(c.type==at.Text){let h=wee(t,a,c,s,o);return new Kt(h,h==c.from?1:-1)}}if(c.type!=at.Text)return l<(c.top+c.bottom)/2?new Kt(c.from,1):new Kt(c.to,-1);let u=t.docView.lineAt(c.from,2);return(!u||u.length!=c.length)&&(u=t.docView.lineAt(c.from,-2)),new Eee(t,s,o,t.textDirectionAt(c.from)).scanTile(u,c.from)}class Eee{constructor(e,r,n,a){this.view=e,this.x=r,this.y=n,this.baseDir=a,this.line=null,this.spans=null}bidiSpansAt(e){return(!this.line||this.line.from>e||this.line.to<e)&&(this.line=this.view.state.doc.lineAt(e),this.spans=this.view.bidiSpans(this.line)),this}baseDirAt(e,r){let{line:n,spans:a}=this.bidiSpansAt(e);return a[er.find(a,e-n.from,-1,r)].level==this.baseDir}dirAt(e,r){let{line:n,spans:a}=this.bidiSpansAt(e);return a[er.find(a,e-n.from,-1,r)].dir}bidiIn(e,r){let{spans:n,line:a}=this.bidiSpansAt(e);return n.length>1||n.length&&(n[0].level!=this.baseDir||n[0].to+a.from<r)}scan(e,r){let n=0,a=e.length-1,i=new Set,s=this.bidiIn(e[0],e[a]),o,l,c=-1,u=1e9,h;e:for(;n<a;){let d=a-n,g=n+a>>1;t:if(i.has(g)){let k=n+Math.floor(Math.random()*d);for(let y=0;y<d;y++){if(!i.has(k)){g=k;break t}k++,k==a&&(k=n)}break e}i.add(g);let O=r(g);if(O)for(let k=0;k<O.length;k++){let y=O[k],w=0;if(y.bottom<this.y)(!o||o.bottom<y.bottom)&&(o=y),w=1;else if(y.top>this.y)(!l||l.top>y.top)&&(l=y),w=-1;else{let P=y.left>this.x?this.x-y.left:y.right<this.x?this.x-y.right:0,N=Math.abs(P);N<u&&(c=g,u=N,h=y),P&&(w=P<0==(this.baseDir==Ie.LTR)?-1:1)}w==-1&&(!s||this.baseDirAt(e[g],1))?a=g:w==1&&(!s||this.baseDirAt(e[g+1],-1))&&(n=g+1)}}if(!h){let d=o&&(!l||this.y-o.bottom<l.top-this.y)?o:l;return this.y=(d.top+d.bottom)/2,this.scan(e,r)}let f=(s?this.dirAt(e[c],1):this.baseDir)==Ie.LTR;return{i:c,after:this.x>(h.left+h.right)/2==f}}scanText(e,r){let n=[];for(let i=0;i<e.length;i=Ke(e.text,i))n.push(r+i);n.push(r+e.length);let a=this.scan(n,i=>{let s=n[i]-r,o=n[i+1]-r;return Ja(e.dom,s,o).getClientRects()});return a.after?new Kt(n[a.i+1],-1):new Kt(n[a.i],1)}scanTile(e,r){if(!e.length)return new Kt(r,1);if(e.children.length==1){let o=e.children[0];if(o.isText())return this.scanText(o,r);if(o.isComposite())return this.scanTile(o,r)}let n=[r];for(let o=0,l=r;o<e.children.length;o++)n.push(l+=e.children[o].length);let a=this.scan(n,o=>{let l=e.children[o];return l.flags&48?null:(l.dom.nodeType==1?l.dom:Ja(l.dom,0,l.length)).getClientRects()}),i=e.children[a.i],s=n[a.i];return i.isText()?this.scanText(i,s):i.isComposite()?this.scanTile(i,s):a.after?new Kt(n[a.i+1],-1):new Kt(s,1)}}const _n="￿";class Aee{constructor(e,r){this.points=e,this.view=r,this.text="",this.lineSeparator=r.state.facet(we.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=_n}readRange(e,r){if(!e)return this;let n=e.parentNode;for(let a=e;;){this.findPointBefore(n,a);let i=this.text.length;this.readNode(a);let s=Le.get(a),o=a.nextSibling;if(o==r){s!=null&&s.breakAfter&&!o&&n!=this.view.contentDOM&&this.lineBreak();break}let l=Le.get(o);(s&&l?s.breakAfter:(s?s.breakAfter:Cs(a))||Cs(o)&&(a.nodeName!="BR"||s!=null&&s.isWidget())&&this.text.length>i)&&!Pee(o,r)&&this.lineBreak(),a=o}return this.findPointBefore(n,r),this}readTextNode(e){let r=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,r.length));for(let n=0,a=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,s=1,o;if(this.lineSeparator?(i=r.indexOf(this.lineSeparator,n),s=this.lineSeparator.length):(o=a.exec(r))&&(i=o.index,s=o[0].length),this.append(r.slice(n,i<0?r.length:i)),i<0)break;if(this.lineBreak(),s>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=s-1);n=i+s}}readNode(e){let r=Le.get(e),n=r&&r.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let a=n.iter();!a.next().done;)a.lineBreak?this.lineBreak():this.append(a.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,r){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==r&&(n.pos=this.text.length)}findPointInside(e,r){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(Cee(e,n.node,n.offset)?r:0))}}function Cee(t,e,r){for(;;){if(!e||r<Or(e))return!1;if(e==t)return!0;r=$r(e)+1,e=e.parentNode}}function Pee(t,e){let r;for(;!(t==e||!t);t=t.nextSibling){let n=Le.get(t);if(!(n!=null&&n.isWidget()))return!1;n&&(r||(r=[])).push(n)}if(r)for(let n of r){let a=n.overrideDOMText;if(a!=null&&a.length)return!1}return!0}class Fd{constructor(e,r){this.node=e,this.offset=r,this.pos=-1}}class vee{constructor(e,r,n,a){this.typeOver=a,this.bounds=null,this.text="",this.domChanged=r>-1;let{impreciseHead:i,impreciseAnchor:s}=e.docView;if(e.state.readOnly&&r>-1)this.newSel=null;else if(r>-1&&(this.bounds=H0(e.docView.tile,r,n,0))){let o=i||s?[]:Qee(e),l=new Aee(o,e);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=zee(o,this.bounds.from)}else{let o=e.observer.selectionRange,l=i&&i.node==o.focusNode&&i.offset==o.focusOffset||!Ac(e.contentDOM,o.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(o.focusNode,o.focusOffset),c=s&&s.node==o.anchorNode&&s.offset==o.anchorOffset||!Ac(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset),u=e.viewport;if((ee.ios||ee.chrome)&&e.state.selection.main.empty&&l!=c&&(u.from>0||u.to<e.state.doc.length)){let h=Math.min(l,c),f=Math.max(l,c),d=u.from-h,g=u.to-f;(d==0||d==1||h==0)&&(g==0||g==-1||f==e.state.doc.length)&&(l=0,c=e.state.doc.length)}e.inputState.composing>-1&&e.state.selection.ranges.length>1?this.newSel=e.state.selection.replaceRange(q.range(c,l)):this.newSel=q.single(c,l)}}}function H0(t,e,r,n){if(t.isComposite()){let a=-1,i=-1,s=-1,o=-1;for(let l=0,c=n,u=n;l<t.children.length;l++){let h=t.children[l],f=c+h.length;if(c<e&&f>r)return H0(h,e,r,c);if(f>=e&&a==-1&&(a=l,i=c),c>r&&h.dom.parentNode==t.dom){s=l,o=u;break}u=f,c=f+h.breakAfter}return{from:i,to:o<0?n+t.length:o,startDOM:(a?t.children[a-1].dom.nextSibling:null)||t.dom.firstChild,endDOM:s<t.children.length&&s>=0?t.children[s].dom:null}}else return t.isText()?{from:n,to:n+t.length,startDOM:t.dom,endDOM:t.dom.nextSibling}:null}function V0(t,e){let r,{newSel:n}=e,{state:a}=t,i=a.selection.main,s=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:l}=e.bounds,c=i.from,u=null;(s===8||ee.android&&e.text.length<l-o)&&(c=i.to,u="end");let h=a.doc.sliceString(o,l,_n),f,d;!i.empty&&i.from>=o&&i.to<=l&&(e.typeOver||h!=e.text)&&h.slice(0,i.from-o)==e.text.slice(0,i.from-o)&&h.slice(i.to-o)==e.text.slice(f=e.text.length-(h.length-(i.to-o)))?r={from:i.from,to:i.to,insert:_e.of(e.text.slice(i.from-o,f).split(_n))}:(d=W0(h,e.text,c-o,u))&&(ee.chrome&&s==13&&d.toB==d.from+2&&e.text.slice(d.from,d.toB)==_n+_n&&d.toB--,r={from:o+d.from,to:o+d.toA,insert:_e.of(e.text.slice(d.from,d.toB).split(_n))})}else n&&(!t.hasFocus&&a.facet(fr)||zs(n,i))&&(n=null);if(!r&&!n)return!1;if((ee.mac||ee.android)&&r&&r.from==r.to&&r.from==i.head-1&&/^\. ?$/.test(r.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(n&&r.insert.length==2&&(n=q.single(n.main.anchor-1,n.main.head-1)),r={from:r.from,to:r.to,insert:_e.of([r.insert.toString().replace("."," ")])}):a.doc.lineAt(i.from).to<i.to&&t.docView.lineHasWidget(i.to)&&t.inputState.insertingTextAt>Date.now()-50?r={from:i.from,to:i.to,insert:a.toText(t.inputState.insertingText)}:ee.chrome&&r&&r.from==r.to&&r.from==i.head&&r.insert.toString()==`
65
- `&&t.lineWrapping&&(n&&(n=q.single(n.main.anchor-1,n.main.head-1)),r={from:i.from,to:i.to,insert:_e.of([" "])}),r)return Hu(t,r,n,s);if(n&&!zs(n,i)){let o=!1,l="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(o=!0),l=t.inputState.lastSelectionOrigin,l=="select.pointer"&&(n=Y0(a.facet(Ti).map(c=>c(t)),n))),t.dispatch({selection:n,scrollIntoView:o,userEvent:l}),!0}else return!1}function Hu(t,e,r,n=-1){if(ee.ios&&t.inputState.flushIOSKey(e))return!0;let a=t.state.selection.main;if(ee.android&&(e.to==a.to&&(e.from==a.from||e.from==a.from-1&&t.state.sliceDoc(e.from,a.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&Pn(t.contentDOM,"Enter",13)||(e.from==a.from-1&&e.to==a.to&&e.insert.length==0||n==8&&e.insert.length<e.to-e.from&&e.to>a.head)&&Pn(t.contentDOM,"Backspace",8)||e.from==a.from&&e.to==a.to+1&&e.insert.length==0&&Pn(t.contentDOM,"Delete",46)))return!0;let i=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let s,o=()=>s||(s=Dee(t,e,r));return t.state.facet(I0).some(l=>l(t,e.from,e.to,i,o))||t.dispatch(o()),!0}function Dee(t,e,r){let n,a=t.state,i=a.selection.main,s=-1;if(e.from==e.to&&e.from<i.from||e.from>i.to){let l=e.from<i.from?-1:1,c=l<0?i.from:i.to,u=$a(a.facet(Ti).map(h=>h(t)),c,l);e.from==u&&(s=u)}if(s>-1)n={changes:e,selection:q.cursor(e.from+e.insert.length,-1)};else if(e.from>=i.from&&e.to<=i.to&&e.to-e.from>=(i.to-i.from)/3&&(!r||r.main.empty&&r.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let l=i.from<e.from?a.sliceDoc(i.from,e.from):"",c=i.to>e.to?a.sliceDoc(e.to,i.to):"";n=a.replaceSelection(t.state.toText(l+e.insert.sliceString(0,void 0,t.state.lineBreak)+c))}else{let l=a.changes(e),c=r&&r.main.to<=l.newLength?r.main:void 0;if(a.selection.ranges.length>1&&(t.inputState.composing>=0||t.inputState.compositionPendingChange)&&e.to<=i.to+10&&e.to>=i.to-10){let u=t.state.sliceDoc(e.from,e.to),h,f=r&&U0(t,r.main.head);if(f){let g=e.insert.length-(e.to-e.from);h={from:f.from,to:f.to-g}}else h=t.state.doc.lineAt(i.head);let d=i.to-e.to;n=a.changeByRange(g=>{if(g.from==i.from&&g.to==i.to)return{changes:l,range:c||g.map(l)};let O=g.to-d,k=O-u.length;if(t.state.sliceDoc(k,O)!=u||O>=h.from&&k<=h.to)return{range:g};let y=a.changes({from:k,to:O,insert:e.insert}),w=g.to-i.to;return{changes:y,range:c?q.range(Math.max(0,c.anchor+w),Math.max(0,c.head+w)):g.map(y)}})}else n={changes:l,selection:c&&a.selection.replaceRange(c)}}let o="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,o+=".compose",t.inputState.compositionFirstChange&&(o+=".start",t.inputState.compositionFirstChange=!1)),a.update(n,{userEvent:o,scrollIntoView:!0})}function W0(t,e,r,n){let a=Math.min(t.length,e.length),i=0;for(;i<a&&t.charCodeAt(i)==e.charCodeAt(i);)i++;if(i==a&&t.length==e.length)return null;let s=t.length,o=e.length;for(;s>0&&o>0&&t.charCodeAt(s-1)==e.charCodeAt(o-1);)s--,o--;if(n=="end"){let l=Math.max(0,i-Math.min(s,o));r-=s+l-i}if(s<i&&t.length<e.length){let l=r<=i&&r>=s?i-r:0;i-=l,o=i+(o-s),s=i}else if(o<i){let l=r<=i&&r>=o?i-r:0;i-=l,s=i+(s-o),o=i}return{from:i,toA:s,toB:o}}function Qee(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:r,anchorOffset:n,focusNode:a,focusOffset:i}=t.observer.selectionRange;return r&&(e.push(new Fd(r,n)),(a!=r||i!=n)&&e.push(new Fd(a,i))),e}function zee(t,e){if(t.length==0)return null;let r=t[0].pos,n=t.length==2?t[1].pos:r;return r>-1&&n>-1?q.single(r+e,n+e):null}function zs(t,e){return e.head==t.main.head&&e.anchor==t.main.anchor}class Iee{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,ee.safari&&e.contentDOM.addEventListener("input",()=>null),ee.gecko&&Vee(e.contentDOM.ownerDocument)}handleEvent(e){!qee(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e))}runHandlers(e,r){let n=this.handlers[e];if(n){for(let a of n.observers)a(this.view,r);for(let a of n.handlers){if(r.defaultPrevented)break;if(a(this.view,r)){r.preventDefault();break}}}}ensureHandlers(e){let r=Lee(e),n=this.handlers,a=this.view.contentDOM;for(let i in r)if(i!="scroll"){let s=!r[i].handlers.length,o=n[i];o&&s!=!o.handlers.length&&(a.removeEventListener(i,this.handleEvent),o=null),o||a.addEventListener(i,this.handleEvent,{passive:s})}for(let i in n)i!="scroll"&&!r[i]&&a.removeEventListener(i,this.handleEvent);this.handlers=r}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&K0.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),ee.android&&ee.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let r;return ee.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((r=G0.find(n=>n.keyCode==e.keyCode))&&!e.ctrlKey||Ree.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=r||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let r=this.pendingIOSKey;return!r||r.key=="Enter"&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString())?!1:(this.pendingIOSKey=void 0,Pn(this.view.contentDOM,r.key,r.keyCode,r instanceof KeyboardEvent?r:void 0))}ignoreDuringComposition(e){return!/^key/.test(e.type)||e.synthetic?!1:this.composing>0?!0:ee.safari&&!ee.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function Bd(t,e){return(r,n)=>{try{return e.call(t,n,r)}catch(a){tr(r.state,a)}}}function Lee(t){let e=Object.create(null);function r(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of t){let a=n.spec,i=a&&a.plugin.domEventHandlers,s=a&&a.plugin.domEventObservers;if(i)for(let o in i){let l=i[o];l&&r(o).handlers.push(Bd(n.value,l))}if(s)for(let o in s){let l=s[o];l&&r(o).observers.push(Bd(n.value,l))}}for(let n in Mt)r(n).handlers.push(Mt[n]);for(let n in ht)r(n).observers.push(ht[n]);return e}const G0=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Ree="dthko",K0=[16,17,18,20,91,92,224,225],Ui=6;function Yi(t){return Math.max(0,t)*.7+8}function Nee(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class $ee{constructor(e,r,n,a){this.view=e,this.startEvent=r,this.style=n,this.mustSelect=a,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=r,this.scrollParents=b0(e.contentDOM),this.atoms=e.state.facet(Ti).map(s=>s(e));let i=e.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=r.shiftKey,this.multiple=e.state.facet(we.allowMultipleSelections)&&Mee(e,r),this.dragging=Bee(e,r)&&ty(r)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&Nee(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let r=0,n=0,a=0,i=0,s=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:a,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:i,bottom:o}=this.scrollParents.y.getBoundingClientRect());let l=j0(this.view);e.clientX-l.left<=a+Ui?r=-Yi(a-e.clientX):e.clientX+l.right>=s-Ui&&(r=Yi(e.clientX-s)),e.clientY-l.top<=i+Ui?n=-Yi(i-e.clientY):e.clientY+l.bottom>=o-Ui&&(n=Yi(e.clientY-o)),this.setScrollSpeed(r,n)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,r){this.scrollSpeed={x:e,y:r},e||r?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:r}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),r&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=r,r=0),(e||r)&&this.view.win.scrollBy(e,r),this.dragging===!1&&this.select(this.lastEvent)}select(e){let{view:r}=this,n=Y0(this.atoms,this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(r.state.selection,this.dragging===!1))&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(r=>r.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function Mee(t,e){let r=t.state.facet(v0);return r.length?r[0](e):ee.mac?e.metaKey:e.ctrlKey}function Fee(t,e){let r=t.state.facet(D0);return r.length?r[0](e):ee.mac?!e.altKey:!e.ctrlKey}function Bee(t,e){let{main:r}=t.state.selection;if(r.empty)return!1;let n=Ka(t.root);if(!n||n.rangeCount==0)return!0;let a=n.getRangeAt(0).getClientRects();for(let i=0;i<a.length;i++){let s=a[i];if(s.left<=e.clientX&&s.right>=e.clientX&&s.top<=e.clientY&&s.bottom>=e.clientY)return!0}return!1}function qee(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let r=e.target,n;r!=t.contentDOM;r=r.parentNode)if(!r||r.nodeType==11||(n=Le.get(r))&&n.isWidget()&&!n.isHidden&&n.widget.ignoreEvent(e))return!1;return!0}const Mt=Object.create(null),ht=Object.create(null),J0=ee.ie&&ee.ie_version<15||ee.ios&&ee.webkit_version<604;function Xee(t){let e=t.dom.parentNode;if(!e)return;let r=e.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{t.focus(),r.remove(),ey(t,r.value)},50)}function po(t,e,r){for(let n of t.facet(e))r=n(r,t);return r}function ey(t,e){e=po(t.state,ju,e);let{state:r}=t,n,a=1,i=r.toText(e),s=i.lines==r.selection.ranges.length;if(Lc!=null&&r.selection.ranges.every(l=>l.empty)&&Lc==i.toString()){let l=-1;n=r.changeByRange(c=>{let u=r.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let h=r.toText((s?i.line(a++).text:e)+r.lineBreak);return{changes:{from:u.from,insert:h},range:q.cursor(c.from+h.length)}})}else s?n=r.changeByRange(l=>{let c=i.line(a++);return{changes:{from:l.from,to:l.to,insert:c.text},range:q.cursor(l.from+c.length)}}):n=r.replaceSelection(i);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}ht.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};ht.wheel=ht.mousewheel=t=>{t.inputState.lastWheelEvent=Date.now()};Mt.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);ht.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};ht.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Mt.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let r=null;for(let n of t.state.facet(Q0))if(r=n(t,e),r)break;if(!r&&e.button==0&&(r=Zee(t,e)),r){let n=!t.hasFocus;t.inputState.startMouseSelection(new $ee(t,e,r,n)),n&&t.observer.ignore(()=>{_0(t.contentDOM);let i=t.root.activeElement;i&&!i.contains(t.contentDOM)&&i.blur()});let a=t.inputState.mouseSelection;if(a)return a.start(e),a.dragging===!1}else t.inputState.setSelectionOrigin("select.pointer");return!1};function qd(t,e,r,n){if(n==1)return q.cursor(e,r);if(n==2)return _ee(t.state,e,r);{let a=t.docView.lineAt(e,r),i=t.state.doc.lineAt(a?a.posAtEnd:e),s=a?a.posAtStart:i.from,o=a?a.posAtEnd:i.to;return o<t.state.doc.length&&o==i.to&&o++,q.range(s,o)}}const jee=ee.ie&&ee.ie_version<=11;let Xd=null,jd=0,Zd=0;function ty(t){if(!jee)return t.detail;let e=Xd,r=Zd;return Xd=t,Zd=Date.now(),jd=!e||r>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(jd+1)%3:1}function Zee(t,e){let r=t.posAndSideAtCoords({x:e.clientX,y:e.clientY},!1),n=ty(e),a=t.state.selection;return{update(i){i.docChanged&&(r.pos=i.changes.mapPos(r.pos),a=a.map(i.changes))},get(i,s,o){let l=t.posAndSideAtCoords({x:i.clientX,y:i.clientY},!1),c,u=qd(t,l.pos,l.assoc,n);if(r.pos!=l.pos&&!s){let h=qd(t,r.pos,r.assoc,n),f=Math.min(h.from,u.from),d=Math.max(h.to,u.to);u=f<u.from?q.range(f,d):q.range(d,f)}return s?a.replaceRange(a.main.extend(u.from,u.to)):o&&n==1&&a.ranges.length>1&&(c=Uee(a,l.pos))?c:o?a.addRange(u):q.create([u])}}}function Uee(t,e){for(let r=0;r<t.ranges.length;r++){let{from:n,to:a}=t.ranges[r];if(n<=e&&a>=e)return q.create(t.ranges.slice(0,r).concat(t.ranges.slice(r+1)),t.mainIndex==r?0:t.mainIndex-(t.mainIndex>r?1:0))}return null}Mt.dragstart=(t,e)=>{let{selection:{main:r}}=t.state;if(e.target.draggable){let a=t.docView.tile.nearest(e.target);if(a&&a.isWidget()){let i=a.posAtStart,s=i+a.length;(i>=r.to||s<=r.from)&&(r=q.range(i,s))}}let{inputState:n}=t;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=r,e.dataTransfer&&(e.dataTransfer.setData("Text",po(t.state,Zu,t.state.sliceDoc(r.from,r.to))),e.dataTransfer.effectAllowed="copyMove"),!1};Mt.dragend=t=>(t.inputState.draggedContent=null,!1);function Ud(t,e,r,n){if(r=po(t.state,ju,r),!r)return;let a=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:i}=t.inputState,s=n&&i&&Fee(t,e)?{from:i.from,to:i.to}:null,o={from:a,insert:r},l=t.state.changes(s?[s,o]:o);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(a,-1),head:l.mapPos(a,1)},userEvent:s?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Mt.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let r=e.dataTransfer.files;if(r&&r.length){let n=Array(r.length),a=0,i=()=>{++a==r.length&&Ud(t,e,n.filter(s=>s!=null).join(t.state.lineBreak),!1)};for(let s=0;s<r.length;s++){let o=new FileReader;o.onerror=i,o.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(n[s]=o.result),i()},o.readAsText(r[s])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return Ud(t,e,n,!0),!0}return!1};Mt.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let r=J0?null:e.clipboardData;return r?(ey(t,r.getData("text/plain")||r.getData("text/uri-list")),!0):(Xee(t),!1)};function Yee(t,e){let r=t.dom.parentNode;if(!r)return;let n=r.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function Hee(t){let e=[],r=[],n=!1;for(let a of t.selection.ranges)a.empty||(e.push(t.sliceDoc(a.from,a.to)),r.push(a));if(!e.length){let a=-1;for(let{from:i}of t.selection.ranges){let s=t.doc.lineAt(i);s.number>a&&(e.push(s.text),r.push({from:s.from,to:Math.min(t.doc.length,s.to+1)})),a=s.number}n=!0}return{text:po(t,Zu,e.join(t.lineBreak)),ranges:r,linewise:n}}let Lc=null;Mt.copy=Mt.cut=(t,e)=>{if(!Ra(t.contentDOM,t.observer.selectionRange))return!1;let{text:r,ranges:n,linewise:a}=Hee(t.state);if(!r&&!a)return!1;Lc=a?r:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let i=J0?null:e.clipboardData;return i?(i.clearData(),i.setData("text/plain",r),!0):(Yee(t,r),!1)};const ry=_r.define();function ny(t,e){let r=[];for(let n of t.facet(L0)){let a=n(t,e);a&&r.push(a)}return r.length?t.update({effects:r,annotations:ry.of(!0)}):null}function ay(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let r=ny(t.state,e);r?t.dispatch(r):t.update([])}},10)}ht.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),ay(t)};ht.blur=t=>{t.observer.clearSelectionRange(),ay(t)};ht.compositionstart=ht.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};ht.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,ee.chrome&&ee.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};ht.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Mt.beforeinput=(t,e)=>{var r,n;if((e.inputType=="insertText"||e.inputType=="insertCompositionText")&&(t.inputState.insertingText=e.data,t.inputState.insertingTextAt=Date.now()),e.inputType=="insertReplacementText"&&t.observer.editContext){let i=(r=e.dataTransfer)===null||r===void 0?void 0:r.getData("text/plain"),s=e.getTargetRanges();if(i&&s.length){let o=s[0],l=t.posAtDOM(o.startContainer,o.startOffset),c=t.posAtDOM(o.endContainer,o.endOffset);return Hu(t,{from:l,to:c,insert:t.state.toText(i)},null),!0}}let a;if(ee.chrome&&ee.android&&(a=G0.find(i=>i.inputType==e.inputType))&&(t.observer.delayAndroidKey(a.key,a.keyCode),a.key=="Backspace"||a.key=="Delete")){let i=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>i+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return ee.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),ee.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>ht.compositionend(t,e),20),!1};const Yd=new Set;function Vee(t){Yd.has(t)||(Yd.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const Hd=["pre-wrap","normal","pre-line","break-spaces"];let Mn=!1;function Vd(){Mn=!1}class Wee{constructor(e){this.lineWrapping=e,this.doc=_e.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,r){let n=this.doc.lineAt(r).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((r-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Hd.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let r=!1;for(let n=0;n<e.length;n++){let a=e[n];a<0?n++:this.heightSamples[Math.floor(a*10)]||(r=!0,this.heightSamples[Math.floor(a*10)]=!0)}return r}refresh(e,r,n,a,i,s){let o=Hd.indexOf(e)>-1,l=Math.abs(r-this.lineHeight)>.3||this.lineWrapping!=o||Math.abs(n-this.charWidth)>.1;if(this.lineWrapping=o,this.lineHeight=r,this.charWidth=n,this.textHeight=a,this.lineLength=i,l){this.heightSamples={};for(let c=0;c<s.length;c++){let u=s[c];u<0?c++:this.heightSamples[Math.floor(u*10)]=!0}}return l}}class Gee{constructor(e,r){this.from=e,this.heights=r,this.index=0}get more(){return this.index<this.heights.length}}class Rt{constructor(e,r,n,a,i){this.from=e,this.length=r,this.top=n,this.height=a,this._content=i}get type(){return typeof this._content=="number"?at.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof nn?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let r=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new Rt(this.from,this.length+e.length,this.top,this.height+e.height,r)}}var Pe=(function(t){return t[t.ByPos=0]="ByPos",t[t.ByHeight=1]="ByHeight",t[t.ByPosNoHeight=2]="ByPosNoHeight",t})(Pe||(Pe={}));const ps=.001;class it{constructor(e,r,n=2){this.length=e,this.height=r,this.flags=n}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>ps&&(Mn=!0),this.height=e)}replace(e,r,n){return it.of(n)}decomposeLeft(e,r){r.push(this)}decomposeRight(e,r){r.push(this)}applyChanges(e,r,n,a){let i=this,s=n.doc;for(let o=a.length-1;o>=0;o--){let{fromA:l,toA:c,fromB:u,toB:h}=a[o],f=i.lineAt(l,Pe.ByPosNoHeight,n.setDoc(r),0,0),d=f.to>=c?f:i.lineAt(c,Pe.ByPosNoHeight,n,0,0);for(h+=d.to-c,c=d.to;o>0&&f.from<=a[o-1].toA;)l=a[o-1].fromA,u=a[o-1].fromB,o--,l<f.from&&(f=i.lineAt(l,Pe.ByPosNoHeight,n,0,0));u+=f.from-l,l=f.from;let g=Vu.build(n.setDoc(s),e,u,h);i=Is(i,i.replace(l,c,g))}return i.updateHeight(n,0)}static empty(){return new kt(0,0,0)}static of(e){if(e.length==1)return e[0];let r=0,n=e.length,a=0,i=0;for(;;)if(r==n)if(a>i*2){let o=e[r-1];o.break?e.splice(--r,1,o.left,null,o.right):e.splice(--r,1,o.left,o.right),n+=1+o.break,a-=o.size}else if(i>a*2){let o=e[n];o.break?e.splice(n,1,o.left,null,o.right):e.splice(n,1,o.left,o.right),n+=2+o.break,i-=o.size}else break;else if(a<i){let o=e[r++];o&&(a+=o.size)}else{let o=e[--n];o&&(i+=o.size)}let s=0;return e[r-1]==null?(s=1,r--):e[r]==null&&(s=1,n++),new Jee(it.of(e.slice(0,r)),s,it.of(e.slice(n)))}}function Is(t,e){return t==e?t:(t.constructor!=e.constructor&&(Mn=!0),e)}it.prototype.size=1;const Kee=ze.replace({});class iy extends it{constructor(e,r,n){super(e,r),this.deco=n,this.spaceAbove=0}mainBlock(e,r){return new Rt(r,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.deco||0)}blockAt(e,r,n,a){return this.spaceAbove&&e<n+this.spaceAbove?new Rt(a,0,n,this.spaceAbove,Kee):this.mainBlock(n,a)}lineAt(e,r,n,a,i){let s=this.mainBlock(a,i);return this.spaceAbove?this.blockAt(0,n,a,i).join(s):s}forEachLine(e,r,n,a,i,s){e<=i+this.length&&r>=i&&s(this.lineAt(0,Pe.ByPos,n,a,i))}setMeasuredHeight(e){let r=e.heights[e.index++];r<0?(this.spaceAbove=-r,r=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(r)}updateHeight(e,r=0,n=!1,a){return a&&a.from<=r&&a.more&&this.setMeasuredHeight(a),this.outdated=!1,this}toString(){return`block(${this.length})`}}class kt extends iy{constructor(e,r,n){super(e,r,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=n}mainBlock(e,r){return new Rt(r,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(e,r,n){let a=n[0];return n.length==1&&(a instanceof kt||a instanceof Ue&&a.flags&4)&&Math.abs(this.length-a.length)<10?(a instanceof Ue?a=new kt(a.length,this.height,this.spaceAbove):a.height=this.height,this.outdated||(a.outdated=!1),a):it.of(n)}updateHeight(e,r=0,n=!1,a){return a&&a.from<=r&&a.more?this.setMeasuredHeight(a):(n||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Ue extends it{constructor(e){super(e,0)}heightMetrics(e,r){let n=e.doc.lineAt(r).number,a=e.doc.lineAt(r+this.length).number,i=a-n+1,s,o=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*i);s=l/i,this.length>i+1&&(o=(this.height-l)/(this.length-i-1))}else s=this.height/i;return{firstLine:n,lastLine:a,perLine:s,perChar:o}}blockAt(e,r,n,a){let{firstLine:i,lastLine:s,perLine:o,perChar:l}=this.heightMetrics(r,a);if(r.lineWrapping){let c=a+(e<r.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),u=r.doc.lineAt(c),h=o+u.length*l,f=Math.max(n,e-h/2);return new Rt(u.from,u.length,f,h,0)}else{let c=Math.max(0,Math.min(s-i,Math.floor((e-n)/o))),{from:u,length:h}=r.doc.line(i+c);return new Rt(u,h,n+o*c,o,0)}}lineAt(e,r,n,a,i){if(r==Pe.ByHeight)return this.blockAt(e,n,a,i);if(r==Pe.ByPosNoHeight){let{from:d,to:g}=n.doc.lineAt(e);return new Rt(d,g-d,0,0,0)}let{firstLine:s,perLine:o,perChar:l}=this.heightMetrics(n,i),c=n.doc.lineAt(e),u=o+c.length*l,h=c.number-s,f=a+o*h+l*(c.from-i-h);return new Rt(c.from,c.length,Math.max(a,Math.min(f,a+this.height-u)),u,0)}forEachLine(e,r,n,a,i,s){e=Math.max(e,i),r=Math.min(r,i+this.length);let{firstLine:o,perLine:l,perChar:c}=this.heightMetrics(n,i);for(let u=e,h=a;u<=r;){let f=n.doc.lineAt(u);if(u==e){let g=f.number-o;h+=l*g+c*(e-i-g)}let d=l+c*f.length;s(new Rt(f.from,f.length,h,d,0)),h+=d,u=f.to+1}}replace(e,r,n){let a=this.length-r;if(a>0){let i=n[n.length-1];i instanceof Ue?n[n.length-1]=new Ue(i.length+a):n.push(null,new Ue(a-1))}if(e>0){let i=n[0];i instanceof Ue?n[0]=new Ue(e+i.length):n.unshift(new Ue(e-1),null)}return it.of(n)}decomposeLeft(e,r){r.push(new Ue(e-1),null)}decomposeRight(e,r){r.push(null,new Ue(this.length-e-1))}updateHeight(e,r=0,n=!1,a){let i=r+this.length;if(a&&a.from<=r+this.length&&a.more){let s=[],o=Math.max(r,a.from),l=-1;for(a.from>r&&s.push(new Ue(a.from-r-1).updateHeight(e,r));o<=i&&a.more;){let u=e.doc.lineAt(o).length;s.length&&s.push(null);let h=a.heights[a.index++],f=0;h<0&&(f=-h,h=a.heights[a.index++]),l==-1?l=h:Math.abs(h-l)>=ps&&(l=-2);let d=new kt(u,h,f);d.outdated=!1,s.push(d),o+=u+1}o<=i&&s.push(null,new Ue(i-o).updateHeight(e,o));let c=it.of(s);return(l<0||Math.abs(c.height-this.height)>=ps||Math.abs(l-this.heightMetrics(e,r).perLine)>=ps)&&(Mn=!0),Is(this,c)}else(n||this.outdated)&&(this.setHeight(e.heightForGap(r,r+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class Jee extends it{constructor(e,r,n){super(e.length+r+n.length,e.height+n.height,r|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,r,n,a){let i=n+this.left.height;return e<i?this.left.blockAt(e,r,n,a):this.right.blockAt(e,r,i,a+this.left.length+this.break)}lineAt(e,r,n,a,i){let s=a+this.left.height,o=i+this.left.length+this.break,l=r==Pe.ByHeight?e<s:e<o,c=l?this.left.lineAt(e,r,n,a,i):this.right.lineAt(e,r,n,s,o);if(this.break||(l?c.to<o:c.from>o))return c;let u=r==Pe.ByPosNoHeight?Pe.ByPosNoHeight:Pe.ByPos;return l?c.join(this.right.lineAt(o,u,n,s,o)):this.left.lineAt(o,u,n,a,i).join(c)}forEachLine(e,r,n,a,i,s){let o=a+this.left.height,l=i+this.left.length+this.break;if(this.break)e<l&&this.left.forEachLine(e,r,n,a,i,s),r>=l&&this.right.forEachLine(e,r,n,o,l,s);else{let c=this.lineAt(l,Pe.ByPos,n,a,i);e<c.from&&this.left.forEachLine(e,c.from-1,n,a,i,s),c.to>=e&&c.from<=r&&s(c),r>c.to&&this.right.forEachLine(c.to+1,r,n,o,l,s)}}replace(e,r,n){let a=this.left.length+this.break;if(r<a)return this.balanced(this.left.replace(e,r,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-a,r-a,n));let i=[];e>0&&this.decomposeLeft(e,i);let s=i.length;for(let o of n)i.push(o);if(e>0&&Wd(i,s-1),r<this.length){let o=i.length;this.decomposeRight(r,i),Wd(i,o)}return it.of(i)}decomposeLeft(e,r){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,r);r.push(this.left),this.break&&(n++,e>=n&&r.push(null)),e>n&&this.right.decomposeLeft(e-n,r)}decomposeRight(e,r){let n=this.left.length,a=n+this.break;if(e>=a)return this.right.decomposeRight(e-a,r);e<n&&this.left.decomposeRight(e,r),this.break&&e<a&&r.push(null),r.push(this.right)}balanced(e,r){return e.size>2*r.size||r.size>2*e.size?it.of(this.break?[e,null,r]:[e,r]):(this.left=Is(this.left,e),this.right=Is(this.right,r),this.setHeight(e.height+r.height),this.outdated=e.outdated||r.outdated,this.size=e.size+r.size,this.length=e.length+this.break+r.length,this)}updateHeight(e,r=0,n=!1,a){let{left:i,right:s}=this,o=r+i.length+this.break,l=null;return a&&a.from<=r+i.length&&a.more?l=i=i.updateHeight(e,r,n,a):i.updateHeight(e,r,n),a&&a.from<=o+s.length&&a.more?l=s=s.updateHeight(e,o,n,a):s.updateHeight(e,o,n),l?this.balanced(i,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Wd(t,e){let r,n;t[e]==null&&(r=t[e-1])instanceof Ue&&(n=t[e+1])instanceof Ue&&t.splice(e-1,3,new Ue(r.length+1+n.length))}const ete=5;class Vu{constructor(e,r){this.pos=e,this.oracle=r,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,r){if(this.lineStart>-1){let n=Math.min(r,this.lineEnd),a=this.nodes[this.nodes.length-1];a instanceof kt?a.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new kt(n-this.pos,-1,0)),this.writtenTo=n,r>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=r}point(e,r,n){if(e<r||n.heightRelevant){let a=n.widget?n.widget.estimatedHeight:0,i=n.widget?n.widget.lineBreaks:0;a<0&&(a=this.oracle.lineHeight);let s=r-e;n.block?this.addBlock(new iy(s,a,n)):(s||i||a>=ete)&&this.addLineDeco(a,i,s)}else r>e&&this.span(e,r);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:r}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=r,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new kt(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,r){let n=new Ue(r-e);return this.oracle.doc.lineAt(e).to==r&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof kt)return e;let r=new kt(0,-1,0);return this.nodes.push(r),r}addBlock(e){this.enterLine();let r=e.deco;r&&r.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,r&&r.endSide>0&&(this.covering=e)}addLineDeco(e,r,n){let a=this.ensureLine();a.length+=n,a.collapsed+=n,a.widgetHeight=Math.max(a.widgetHeight,e),a.breaks+=r,this.writtenTo=this.pos=this.pos+n}finish(e){let r=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(r instanceof kt)&&!this.isCovered?this.nodes.push(new kt(0,-1,0)):(this.writtenTo<this.pos||r==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let n=e;for(let a of this.nodes)a instanceof kt&&a.updateHeight(this.oracle,n),n+=a?a.length:1;return this.nodes}static build(e,r,n,a){let i=new Vu(n,e);return Te.spans(r,n,a,i,0),i.finish(n)}}function tte(t,e,r){let n=new rte;return Te.compare(t,e,r,n,0),n.changes}class rte{constructor(){this.changes=[]}compareRange(){}comparePoint(e,r,n,a){(e<r||n&&n.heightRelevant||a&&a.heightRelevant)&&Cn(e,r,this.changes,5)}}function nte(t,e){let r=t.getBoundingClientRect(),n=t.ownerDocument,a=n.defaultView||window,i=Math.max(0,r.left),s=Math.min(a.innerWidth,r.right),o=Math.max(0,r.top),l=Math.min(a.innerHeight,r.bottom);for(let c=t.parentNode;c&&c!=n.body;)if(c.nodeType==1){let u=c,h=window.getComputedStyle(u);if((u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth)&&h.overflow!="visible"){let f=u.getBoundingClientRect();i=Math.max(i,f.left),s=Math.min(s,f.right),o=Math.max(o,f.top),l=Math.min(c==t.parentNode?a.innerHeight:l,f.bottom)}c=h.position=="absolute"||h.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:i-r.left,right:Math.max(i,s)-r.left,top:o-(r.top+e),bottom:Math.max(o,l)-(r.top+e)}}function ate(t){let e=t.getBoundingClientRect(),r=t.ownerDocument.defaultView||window;return e.left<r.innerWidth&&e.right>0&&e.top<r.innerHeight&&e.bottom>0}function ite(t,e){let r=t.getBoundingClientRect();return{left:0,right:r.right-r.left,top:e,bottom:r.bottom-(r.top+e)}}class Ol{constructor(e,r,n,a){this.from=e,this.to=r,this.size=n,this.displaySize=a}static same(e,r){if(e.length!=r.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],i=r[n];if(a.from!=i.from||a.to!=i.to||a.size!=i.size)return!1}return!0}draw(e,r){return ze.replace({widget:new ste(this.displaySize*(r?e.scaleY:e.scaleX),r)}).range(this.from,this.to)}}class ste extends wi{constructor(e,r){super(),this.size=e,this.vertical=r}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class Gd{constructor(e,r){this.view=e,this.state=r,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scaleX=1,this.scaleY=1,this.scrollOffset=0,this.scrolledToBottom=!1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=Kd,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=Ie.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let n=r.facet(Uu).some(a=>typeof a!="function"&&a.class=="cm-lineWrapping");this.heightOracle=new Wee(n),this.stateDeco=Jd(r),this.heightMap=it.empty().applyChanges(this.stateDeco,_e.empty,this.heightOracle.setDoc(r.doc),[new Pt(0,0,0,r.doc.length)]);for(let a=0;a<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());a++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ze.set(this.lineGaps.map(a=>a.draw(this,!1))),this.scrollParent=e.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:r}=this.state.selection;for(let n=0;n<=1;n++){let a=n?r.head:r.anchor;if(!e.some(({from:i,to:s})=>a>=i&&a<=s)){let{from:i,to:s}=this.lineBlockAt(a);e.push(new Hi(i,s))}}return this.viewports=e.sort((n,a)=>n.from-a.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?Kd:new Wu(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(Sa(e,this.scaler))})}update(e,r=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=Jd(this.state);let a=e.changedRanges,i=Pt.extendWithRanges(a,tte(n,this.stateDeco,e?e.changes:Be.empty(this.state.doc.length))),s=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);Vd(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=s||Mn)&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=s);let l=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(r&&(r.range.head<l.from||r.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,r));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),r&&(this.scrollTarget=r),!this.mustEnforceCursorAssoc&&(e.selectionSet||e.focusChanged)&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(N0)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:e}=this,r=e.contentDOM,n=window.getComputedStyle(r),a=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Ie.RTL:Ie.LTR;let s=this.heightOracle.mustRefreshForWrapping(i)||this.mustMeasureContent==="refresh",o=r.getBoundingClientRect(),l=s||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let c=0,u=0;if(o.width&&o.height){let{scaleX:T,scaleY:m}=k0(r,o);(T>.005&&Math.abs(this.scaleX-T)>.005||m>.005&&Math.abs(this.scaleY-m)>.005)&&(this.scaleX=T,this.scaleY=m,c|=16,s=l=!0)}let h=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=h||this.paddingBottom!=f)&&(this.paddingTop=h,this.paddingBottom=f,c|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(a.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=16);let d=b0(this.view.contentDOM,!1).y;d!=this.scrollParent&&(this.scrollParent=d,this.scrollAnchorHeight=-1,this.scrollOffset=0);let g=this.getScrollOffset();this.scrollOffset!=g&&(this.scrollAnchorHeight=-1,this.scrollOffset=g),this.scrolledToBottom=w0(this.scrollParent||e.win);let O=(this.printing?ite:nte)(r,this.paddingTop),k=O.top-this.pixelViewport.top,y=O.bottom-this.pixelViewport.bottom;this.pixelViewport=O;let w=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(w!=this.inView&&(this.inView=w,w&&(l=!0)),!this.inView&&!this.scrollTarget&&!ate(e.dom))return 0;let P=o.width;if((this.contentDOMWidth!=P||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,c|=16),l){let T=e.docView.measureVisibleLineHeights(this.viewport);if(a.mustRefreshForHeights(T)&&(s=!0),s||a.lineWrapping&&Math.abs(P-this.contentDOMWidth)>a.charWidth){let{lineHeight:m,charWidth:S,textHeight:$}=e.docView.measureTextSize();s=m>0&&a.refresh(i,m,S,$,Math.max(5,P/S),T),s&&(e.docView.minWidth=0,c|=16)}k>0&&y>0?u=Math.max(k,y):k<0&&y<0&&(u=Math.min(k,y)),Vd();for(let m of this.viewports){let S=m.from==this.viewport.from?T:e.docView.measureVisibleLineHeights(m);this.heightMap=(s?it.empty().applyChanges(this.stateDeco,_e.empty,this.heightOracle,[new Pt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(a,0,s,new Gee(m.from,S))}Mn&&(c|=2)}let N=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return N&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||N)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(s?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,r){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),a=this.heightMap,i=this.heightOracle,{visibleTop:s,visibleBottom:o}=this,l=new Hi(a.lineAt(s-n*1e3,Pe.ByHeight,i,0,0).from,a.lineAt(o+(1-n)*1e3,Pe.ByHeight,i,0,0).to);if(r){let{head:c}=r.range;if(c<l.from||c>l.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=a.lineAt(c,Pe.ByPos,i,0,0),f;r.y=="center"?f=(h.top+h.bottom)/2-u/2:r.y=="start"||r.y=="nearest"&&c<l.from?f=h.top:f=h.bottom-u,l=new Hi(a.lineAt(f-1e3/2,Pe.ByHeight,i,0,0).from,a.lineAt(f+u+1e3/2,Pe.ByHeight,i,0,0).to)}}return l}mapViewport(e,r){let n=r.mapPos(e.from,-1),a=r.mapPos(e.to,1);return new Hi(this.heightMap.lineAt(n,Pe.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(a,Pe.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:r},n=0){if(!this.inView)return!0;let{top:a}=this.heightMap.lineAt(e,Pe.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(r,Pe.ByPos,this.heightOracle,0,0),{visibleTop:s,visibleBottom:o}=this;return(e==0||a<=s-Math.max(10,Math.min(-n,250)))&&(r==this.state.doc.length||i>=o+Math.max(10,Math.min(n,250)))&&a>s-2*1e3&&i<o+2*1e3}mapLineGaps(e,r){if(!e.length||r.empty)return e;let n=[];for(let a of e)r.touchesRange(a.from,a.to)||n.push(new Ol(r.mapPos(a.from),r.mapPos(a.to),a.size,a.displaySize));return n}ensureLineGaps(e,r){let n=this.heightOracle.lineWrapping,a=n?1e4:2e3,i=a>>1,s=a<<1;if(this.defaultTextDirection!=Ie.LTR&&!n)return[];let o=[],l=(u,h,f,d)=>{if(h-u<i)return;let g=this.state.selection.main,O=[g.from];g.empty||O.push(g.to);for(let y of O)if(y>u&&y<h){l(u,y-10,f,d),l(y+10,h,f,d);return}let k=lte(e,y=>y.from>=f.from&&y.to<=f.to&&Math.abs(y.from-u)<i&&Math.abs(y.to-h)<i&&!O.some(w=>y.from<w&&y.to>w));if(!k){if(h<f.to&&r&&n&&r.visibleRanges.some(P=>P.from<=h&&P.to>=h)){let P=r.moveToLineBoundary(q.cursor(h),!1,!0).head;P>u&&(h=P)}let y=this.gapSize(f,u,h,d),w=n||y<2e6?y:2e6;k=new Ol(u,h,y,w)}o.push(k)},c=u=>{if(u.length<s||u.type!=at.Text)return;let h=ote(u.from,u.to,this.stateDeco);if(h.total<s)return;let f=this.scrollTarget?this.scrollTarget.range.head:null,d,g;if(n){let O=a/this.heightOracle.lineLength*this.heightOracle.lineHeight,k,y;if(f!=null){let w=Wi(h,f),P=((this.visibleBottom-this.visibleTop)/2+O)/u.height;k=w-P,y=w+P}else k=(this.visibleTop-u.top-O)/u.height,y=(this.visibleBottom-u.top+O)/u.height;d=Vi(h,k),g=Vi(h,y)}else{let O=h.total*this.heightOracle.charWidth,k=a*this.heightOracle.charWidth,y=0;if(O>2e6)for(let m of e)m.from>=u.from&&m.from<u.to&&m.size!=m.displaySize&&m.from*this.heightOracle.charWidth+y<this.pixelViewport.left&&(y=m.size-m.displaySize);let w=this.pixelViewport.left+y,P=this.pixelViewport.right+y,N,T;if(f!=null){let m=Wi(h,f),S=((P-w)/2+k)/O;N=m-S,T=m+S}else N=(w-k)/O,T=(P+k)/O;d=Vi(h,N),g=Vi(h,T)}d>u.from&&l(u.from,d,u,h),g<u.to&&l(g,u.to,u,h)};for(let u of this.viewportLines)Array.isArray(u.type)?u.type.forEach(c):c(u);return o}gapSize(e,r,n,a){let i=Wi(a,n)-Wi(a,r);return this.heightOracle.lineWrapping?e.height*i:a.total*this.heightOracle.charWidth*i}updateLineGaps(e){Ol.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=ze.set(e.map(r=>r.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let r=this.stateDeco;this.lineGaps.length&&(r=r.concat(this.lineGapDeco));let n=[];Te.spans(r,this.viewport.from,this.viewport.to,{span(i,s){n.push({from:i,to:s})},point(){}},20);let a=0;if(n.length!=this.visibleRanges.length)a=12;else for(let i=0;i<n.length&&!(a&8);i++){let s=this.visibleRanges[i],o=n[i];(s.from!=o.from||s.to!=o.to)&&(a|=4,e&&e.mapPos(s.from,-1)==o.from&&e.mapPos(s.to,1)==o.to||(a|=8))}return this.visibleRanges=n,a}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(r=>r.from<=e&&r.to>=e)||Sa(this.heightMap.lineAt(e,Pe.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(r=>r.top<=e&&r.bottom>=e)||Sa(this.heightMap.lineAt(this.scaler.fromDOM(e),Pe.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return(this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top)*this.scaleY}scrollAnchorAt(e){let r=this.lineBlockAtHeight(e+8);return r.from>=this.viewport.from||this.viewportLines[0].top-e>200?r:this.viewportLines[0]}elementAtHeight(e){return Sa(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Hi{constructor(e,r){this.from=e,this.to=r}}function ote(t,e,r){let n=[],a=t,i=0;return Te.spans(r,t,e,{span(){},point(s,o){s>a&&(n.push({from:a,to:s}),i+=s-a),a=o}},20),a<e&&(n.push({from:a,to:e}),i+=e-a),{total:i,ranges:n}}function Vi({total:t,ranges:e},r){if(r<=0)return e[0].from;if(r>=1)return e[e.length-1].to;let n=Math.floor(t*r);for(let a=0;;a++){let{from:i,to:s}=e[a],o=s-i;if(n<=o)return i+n;n-=o}}function Wi(t,e){let r=0;for(let{from:n,to:a}of t.ranges){if(e<=a){r+=e-n;break}r+=a-n}return r/t.total}function lte(t,e){for(let r of t)if(e(r))return r}const Kd={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}};function Jd(t){let e=t.facet(uo).filter(n=>typeof n!="function"),r=t.facet(Yu).filter(n=>typeof n!="function");return r.length&&e.push(Te.join(r)),e}class Wu{constructor(e,r,n){let a=0,i=0,s=0;this.viewports=n.map(({from:o,to:l})=>{let c=r.lineAt(o,Pe.ByPos,e,0,0).top,u=r.lineAt(l,Pe.ByPos,e,0,0).bottom;return a+=u-c,{from:o,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-a)/(r.height-a);for(let o of this.viewports)o.domTop=s+(o.top-i)*this.scale,s=o.domBottom=o.domTop+(o.bottom-o.top),i=o.bottom}toDOM(e){for(let r=0,n=0,a=0;;r++){let i=r<this.viewports.length?this.viewports[r]:null;if(!i||e<i.top)return a+(e-n)*this.scale;if(e<=i.bottom)return i.domTop+(e-i.top);n=i.bottom,a=i.domBottom}}fromDOM(e){for(let r=0,n=0,a=0;;r++){let i=r<this.viewports.length?this.viewports[r]:null;if(!i||e<i.domTop)return n+(e-a)/this.scale;if(e<=i.domBottom)return i.top+(e-i.domTop);n=i.bottom,a=i.domBottom}}eq(e){return e instanceof Wu?this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((r,n)=>r.from==e.viewports[n].from&&r.to==e.viewports[n].to):!1}}function Sa(t,e){if(e.scale==1)return t;let r=e.toDOM(t.top),n=e.toDOM(t.bottom);return new Rt(t.from,t.length,r,n-r,Array.isArray(t._content)?t._content.map(a=>Sa(a,e)):t._content)}const Gi=se.define({combine:t=>t.join(" ")}),Rc=se.define({combine:t=>t.indexOf(!0)>-1}),Nc=Rr.newName(),sy=Rr.newName(),oy=Rr.newName(),ly={"&light":"."+sy,"&dark":"."+oy};function $c(t,e,r){return new Rr(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,a=>{if(a=="&")return t;if(!r||!r[a])throw new RangeError(`Unsupported selector: ${a}`);return r[a]}):t+" "+n}})}const cte=$c("."+Nc,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},ly),ute={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},yl=ee.ie&&ee.ie_version<=11;class hte{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new BJ,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(r=>{for(let n of r)this.queue.push(n);(ee.ie&&ee.ie_version<=11||ee.ios&&e.composing)&&r.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&ee.android&&e.constructor.EDIT_CONTEXT!==!1&&!(ee.chrome&&ee.chrome_version<126)&&(this.editContext=new dte(e),e.state.facet(fr)&&(e.contentDOM.editContext=this.editContext.editContext)),yl&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var r;((r=this.view.docView)===null||r===void 0?void 0:r.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(r=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),r.length>0&&r[r.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(r=>{r.length>0&&r[r.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((r,n)=>r!=e[n]))){this.gapIntersection.disconnect();for(let r of e)this.gapIntersection.observe(r);this.gaps=e}}onSelectionChange(e){let r=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,a=this.selectionRange;if(n.state.facet(fr)?n.root.activeElement!=this.dom:!Ra(this.dom,a))return;let i=a.anchorNode&&n.docView.tile.nearest(a.anchorNode);if(i&&i.isWidget()&&i.widget.ignoreEvent(e)){r||(this.selectionChanged=!1);return}(ee.ie&&ee.ie_version<=11||ee.android&&ee.chrome)&&!n.state.selection.main.empty&&a.focusNode&&Na(a.focusNode,a.focusOffset,a.anchorNode,a.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,r=Ka(e.root);if(!r)return!1;let n=ee.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&fte(this.view,r)||r;if(!n||this.selectionRange.eq(n))return!1;let a=Ra(this.dom,n);return a&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&XJ(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(n),a&&(this.selectionChanged=!0),!0)}setSelectionRange(e,r){this.selectionRange.set(e.node,e.offset,r.node,r.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,r=null;for(let n=this.dom;n;)if(n.nodeType==1)!r&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:r||(r=this.scrollTargets.slice(0,e)),r&&r.push(n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;if(e<this.scrollTargets.length&&!r&&(r=this.scrollTargets.slice(0,e)),r){for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);for(let n of this.scrollTargets=r)n.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,ute),yl&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),yl&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,r){var n;if(!this.delayedAndroidKey){let a=()=>{let i=this.delayedAndroidKey;i&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=i.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&i.force&&Pn(this.dom,i.key,i.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(a)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:r,force:this.lastChange<Date.now()-50||!!(!((n=this.delayedAndroidKey)===null||n===void 0)&&n.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let r=-1,n=-1,a=!1;for(let i of e){let s=this.readMutation(i);s&&(s.typeOver&&(a=!0),r==-1?{from:r,to:n}=s:(r=Math.min(s.from,r),n=Math.max(s.to,n)))}return{from:r,to:n,typeOver:a}}readChange(){let{from:e,to:r,typeOver:n}=this.processRecords(),a=this.selectionChanged&&Ra(this.dom,this.selectionRange);if(e<0&&!a)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let i=new vee(this.view,e,r,n);return this.view.docView.domChanged={newSel:i.newSel?i.newSel.main:null},i}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let r=this.readChange();if(!r)return this.view.requestMeasure(),!1;let n=this.view.state,a=V0(this.view,r);return this.view.state==n&&(r.domChanged||r.newSel&&!zs(this.view.state.selection,r.newSel.main))&&this.view.update([]),a}readMutation(e){let r=this.view.docView.tile.nearest(e.target);if(!r||r.isWidget())return null;if(r.markDirty(e.type=="attributes"),e.type=="childList"){let n=ep(r,e.previousSibling||e.target.previousSibling,-1),a=ep(r,e.nextSibling||e.target.nextSibling,1);return{from:n?r.posAfter(n):r.posAtStart,to:a?r.posBefore(a):r.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(fr)!=e.state.facet(fr)&&(e.view.contentDOM.editContext=e.state.facet(fr)?this.editContext.editContext:null))}destroy(){var e,r,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(r=this.gapIntersection)===null||r===void 0||r.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let a of this.scrollTargets)a.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function ep(t,e,r){for(;e;){let n=Le.get(e);if(n&&n.parent==t)return n;let a=e.parentNode;e=a!=t.dom?a:r>0?e.nextSibling:e.previousSibling}return null}function tp(t,e){let r=e.startContainer,n=e.startOffset,a=e.endContainer,i=e.endOffset,s=t.docView.domAtPos(t.state.selection.main.anchor,1);return Na(s.node,s.offset,a,i)&&([r,n,a,i]=[a,i,r,n]),{anchorNode:r,anchorOffset:n,focusNode:a,focusOffset:i}}function fte(t,e){if(e.getComposedRanges){let a=e.getComposedRanges(t.root)[0];if(a)return tp(t,a)}let r=null;function n(a){a.preventDefault(),a.stopImmediatePropagation(),r=a.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",n,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",n,!0),r?tp(t,r):null}class dte{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let r=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let a=e.state.selection.main,{anchor:i,head:s}=a,o=this.toEditorPos(n.updateRangeStart),l=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:o,drifted:!1});let c=l-o>n.text.length;o==this.from&&i<this.from?o=i:l==this.to&&i>this.to&&(l=i);let u=W0(e.state.sliceDoc(o,l),n.text,(c?a.from:a.to)-o,c?"end":null);if(!u){let f=q.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));zs(f,a)||e.dispatch({selection:f,userEvent:"select"});return}let h={from:u.from+o,to:u.toA+o,insert:_e.of(n.text.slice(u.from,u.toB).split(`
66
- `))};if((ee.mac||ee.android)&&h.from==s-1&&/^\. ?$/.test(n.text)&&e.contentDOM.getAttribute("autocorrect")=="off"&&(h={from:o,to:l,insert:_e.of([n.text.replace("."," ")])}),this.pendingContextChange=h,!e.state.readOnly){let f=this.to-this.from+(h.to-h.from+h.insert.length);Hu(e,h,q.single(this.toEditorPos(n.selectionStart,f),this.toEditorPos(n.selectionEnd,f)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),h.from<h.to&&!h.insert.length&&e.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(r.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(r.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},this.handlers.characterboundsupdate=n=>{let a=[],i=null;for(let s=this.toEditorPos(n.rangeStart),o=this.toEditorPos(n.rangeEnd);s<o;s++){let l=e.coordsForChar(s);i=l&&new DOMRect(l.left,l.top,l.right-l.left,l.bottom-l.top)||i||new DOMRect,a.push(i)}r.updateCharacterBounds(n.rangeStart,a)},this.handlers.textformatupdate=n=>{let a=[];for(let i of n.getTextFormats()){let s=i.underlineStyle,o=i.underlineThickness;if(!/none/i.test(s)&&!/none/i.test(o)){let l=this.toEditorPos(i.rangeStart),c=this.toEditorPos(i.rangeEnd);if(l<c){let u=`text-decoration: underline ${/^[a-z]/.test(s)?s+" ":s=="Dashed"?"dashed ":s=="Squiggle"?"wavy ":""}${/thin/i.test(o)?1:2}px`;a.push(ze.mark({attributes:{style:u}}).range(l,c))}}}e.dispatch({effects:M0.of(ze.set(a))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(e.state)}};for(let n in this.handlers)r.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{this.editContext.updateControlBounds(n.contentDOM.getBoundingClientRect());let a=Ka(n.root);a&&a.rangeCount&&this.editContext.updateSelectionBounds(a.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let r=0,n=!1,a=this.pendingContextChange;return e.changes.iterChanges((i,s,o,l,c)=>{if(n)return;let u=c.length-(s-i);if(a&&s>=a.to)if(a.from==i&&a.to==s&&a.insert.eq(c)){a=this.pendingContextChange=null,r+=u,this.to+=u;return}else a=null,this.revertPending(e.state);if(i+=r,s+=r,s<=this.from)this.from+=u,this.to+=u;else if(i<this.to){if(i<this.from||s>this.to||this.to-this.from+c.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(i),this.toContextPos(s),c.toString()),this.to+=u}r+=u}),a&&!n&&this.revertPending(e.state),!n}update(e){let r=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(a=>!a.isUserEvent("input.type")&&a.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||r)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:r}=e.selection.main;this.from=Math.max(0,r-1e4),this.to=Math.min(e.doc.length,r+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let r=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(r.from),this.toContextPos(r.from+r.insert.length),e.doc.sliceString(r.from,r.to))}setSelection(e){let{main:r}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,r.anchor))),a=this.toContextPos(r.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=a)&&this.editContext.updateSelection(n,a)}rangeIsValid(e){let{head:r}=e.selection.main;return!(this.from>0&&r-this.from<500||this.to<e.doc.length&&this.to-r<500||this.to-this.from>1e4*3)}toEditorPos(e,r=this.to-this.from){e=Math.min(e,r);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let r=this.composing;return r&&r.drifted?r.contextBase+(e-r.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class ae{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var r;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(a=>a.forEach(i=>n(i,this)))||(a=>this.update(a)),this.dispatch=this.dispatch.bind(this),this._root=e.root||qJ(e.parent)||document,this.viewState=new Gd(this,e.state||we.create(e)),e.scrollTo&&e.scrollTo.is(Zi)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Sn).map(a=>new fl(a));for(let a of this.plugins)a.update(this);this.observer=new hte(this),this.inputState=new Iee(this),this.inputState.ensureHandlers(this.plugins),this.docView=new $d(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((r=document.fonts)===null||r===void 0)&&r.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...e){let r=e.length==1&&e[0]instanceof Me?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(r,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let r=!1,n=!1,a,i=this.state;for(let f of e){if(f.startState!=i)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=f.state}if(this.destroyed){this.viewState.state=i;return}let s=this.hasFocus,o=0,l=null;e.some(f=>f.annotation(ry))?(this.inputState.notifiedFocused=s,o=1):s!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=s,l=ny(i,s),l||(o=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(u=null)):this.observer.clear(),i.facet(we.phrases)!=this.state.facet(we.phrases))return this.setState(i);a=vs.create(this,i,e),a.flags|=o;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let f of e){if(h&&(h=h.map(f.changes)),f.scrollIntoView){let{main:d}=f.state.selection;h=new vn(d.empty?d:q.cursor(d.head,d.head>d.anchor?-1:1))}for(let d of f.effects)d.is(Zi)&&(h=d.value.clip(this.state))}this.viewState.update(a,h),this.bidiCache=Ls.update(this.bidiCache,a.changes),a.empty||(this.updatePlugins(a),this.inputState.update(a)),r=this.docView.update(a),this.state.facet(wa)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(r,e.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(a.startState.facet(Gi)!=a.state.facet(Gi)&&(this.viewState.mustMeasureContent=!0),(r||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),r&&this.docViewUpdate(),!a.empty)for(let f of this.state.facet(Dc))try{f(a)}catch(d){tr(this.state,d,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!V0(this,u)&&c.force&&Pn(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let r=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new Gd(this,e),this.plugins=e.facet(Sn).map(n=>new fl(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new $d(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}r&&this.focus(),this.requestMeasure()}updatePlugins(e){let r=e.startState.facet(Sn),n=e.state.facet(Sn);if(r!=n){let a=[];for(let i of n){let s=r.indexOf(i);if(s<0)a.push(new fl(i));else{let o=this.plugins[s];o.mustUpdate=e,a.push(o)}}for(let i of this.plugins)i.mustUpdate!=e&&i.destroy(this);this.plugins=a,this.pluginMap.clear()}else for(let a of this.plugins)a.mustUpdate=e;for(let a=0;a<this.plugins.length;a++)this.plugins[a].update(this);r!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let r=e.value;if(r&&r.docViewUpdate)try{r.docViewUpdate(this)}catch(n){tr(this.state,n,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let r=null,n=this.viewState.scrollParent,a=this.viewState.getScrollOffset(),{scrollAnchorPos:i,scrollAnchorHeight:s}=this.viewState;Math.abs(a-this.viewState.scrollOffset)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let o=0;;o++){if(s<0)if(w0(n||this.win))i=-1,s=this.viewState.heightMap.height;else{let d=this.viewState.scrollAnchorAt(a);i=d.from,s=d.top}this.updateState=1;let l=this.viewState.measure();if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(o>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(d=>{try{return d.read(this)}catch(g){return tr(this.state,g),rp}}),h=vs.create(this,this.state,[]),f=!1;h.flags|=l,r?r.flags|=l:r=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),f=this.docView.update(h),f&&this.docViewUpdate());for(let d=0;d<c.length;d++)if(u[d]!=rp)try{let g=c[d];g.write&&g.write(u[d],this)}catch(g){tr(this.state,g)}if(f&&this.docView.updateSelection(!0),!h.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,s=-1;continue}else{let g=((i<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(i).top)-s)/this.scaleY;if((g>1||g<-1)&&(n==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){a=a+g,n?n.scrollTop+=g:this.win.scrollBy(0,g),s=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(r&&!r.empty)for(let o of this.state.facet(Dc))o(r)}get themeClasses(){return Nc+" "+(this.state.facet(Rc)?oy:sy)+" "+this.state.facet(Gi)}updateAttrs(){let e=np(this,F0,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),r={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(fr)?"true":"false",class:"cm-content",style:`${ee.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(r["aria-readonly"]="true"),np(this,Uu,r);let n=this.observer.ignore(()=>{let a=Qd(this.contentDOM,this.contentAttrs,r),i=Qd(this.dom,this.editorAttrs,e);return a||i});return this.editorAttrs=e,this.contentAttrs=r,n}showAnnouncements(e){let r=!0;for(let n of e)for(let a of n.effects)if(a.is(ae.announce)){r&&(this.announceDOM.textContent=""),r=!1;let i=this.announceDOM.appendChild(document.createElement("div"));i.textContent=a.value}}mountStyles(){this.styleModules=this.state.facet(wa);let e=this.state.facet(ae.cspNonce);Rr.mount(this.root,this.styleModules.concat(cte).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let r=0;r<this.measureRequests.length;r++)if(this.measureRequests[r].key===e.key){this.measureRequests[r]=e;return}}this.measureRequests.push(e)}}plugin(e){let r=this.pluginMap.get(e);return(r===void 0||r&&r.plugin!=e)&&this.pluginMap.set(e,r=this.plugins.find(n=>n.plugin==e)||null),r&&r.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,r,n){return gl(this,e,Md(this,e,r,n))}moveByGroup(e,r){return gl(this,e,Md(this,e,r,n=>xee(this,e.head,n)))}visualLineSide(e,r){let n=this.bidiSpans(e),a=this.textDirectionAt(e.from),i=n[r?n.length-1:0];return q.cursor(i.side(r,a)+e.from,i.forward(!r,a)?1:-1)}moveToLineBoundary(e,r,n=!0){return See(this,e,r,n)}moveVertically(e,r,n){return gl(this,e,Tee(this,e,r,n))}domAtPos(e,r=1){return this.docView.domAtPos(e,r)}posAtDOM(e,r=0){return this.docView.posFromDOM(e,r)}posAtCoords(e,r=!0){this.readMeasured();let n=Ic(this,e,r);return n&&n.pos}posAndSideAtCoords(e,r=!0){return this.readMeasured(),Ic(this,e,r)}coordsAtPos(e,r=1){this.readMeasured();let n=this.docView.coordsAt(e,r);if(!n||n.left==n.right)return n;let a=this.state.doc.lineAt(e),i=this.bidiSpans(a),s=i[er.find(i,e-a.from,-1,r)];return Ps(n,s.dir==Ie.LTR==r>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(R0)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>pte)return C0(e.length);let r=this.textDirectionAt(e.from),n;for(let i of this.bidiCache)if(i.from==e.from&&i.dir==r&&(i.fresh||A0(i.isolates,n=Ld(this,e))))return i.order;n||(n=Ld(this,e));let a=WJ(e.text,r,n);return this.bidiCache.push(new Ls(e.from,e.to,r,n,!0,a)),a}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||ee.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{_0(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,r={}){return Zi.of(new vn(typeof e=="number"?q.cursor(e):e,r.y,r.x,r.yMargin,r.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:r}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return Zi.of(new vn(q.cursor(n.from),"start","start",n.top-e,r,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return yr.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return yr.define(()=>({}),{eventObservers:e})}static theme(e,r){let n=Rr.newName(),a=[Gi.of(n),wa.of($c(`.${n}`,e))];return r&&r.dark&&a.push(Rc.of(!0)),a}static baseTheme(e){return Jn.lowest(wa.of($c("."+Nc,e,ly)))}static findFromDOM(e){var r;let n=e.querySelector(".cm-content"),a=n&&Le.get(n)||Le.get(e);return((r=a==null?void 0:a.root)===null||r===void 0?void 0:r.view)||null}}ae.styleModule=wa;ae.inputHandler=I0;ae.clipboardInputFilter=ju;ae.clipboardOutputFilter=Zu;ae.scrollHandler=$0;ae.focusChangeEffect=L0;ae.perLineTextDirection=R0;ae.exceptionSink=z0;ae.updateListener=Dc;ae.editable=fr;ae.mouseSelectionStyle=Q0;ae.dragMovesSelection=D0;ae.clickAddsSelectionRange=v0;ae.decorations=uo;ae.blockWrappers=B0;ae.outerDecorations=Yu;ae.atomicRanges=Ti;ae.bidiIsolatedRanges=q0;ae.scrollMargins=X0;ae.darkTheme=Rc;ae.cspNonce=se.define({combine:t=>t.length?t[0]:""});ae.contentAttributes=Uu;ae.editorAttributes=F0;ae.lineWrapping=ae.contentAttributes.of({class:"cm-lineWrapping"});ae.announce=De.define();const pte=4096,rp={};class Ls{constructor(e,r,n,a,i,s){this.from=e,this.to=r,this.dir=n,this.isolates=a,this.fresh=i,this.order=s}static update(e,r){if(r.empty&&!e.some(i=>i.fresh))return e;let n=[],a=e.length?e[e.length-1].dir:Ie.LTR;for(let i=Math.max(0,e.length-10);i<e.length;i++){let s=e[i];s.dir==a&&!r.touchesRange(s.from,s.to)&&n.push(new Ls(r.mapPos(s.from,1),r.mapPos(s.to,-1),s.dir,s.isolates,!1,s.order))}return n}}function np(t,e,r){for(let n=t.state.facet(e),a=n.length-1;a>=0;a--){let i=n[a],s=typeof i=="function"?i(t):i;s&&Bu(s,r)}return r}const mte=ee.mac?"mac":ee.windows?"win":ee.linux?"linux":"key";function gte(t,e){const r=t.split(/-(?!$)/);let n=r[r.length-1];n=="Space"&&(n=" ");let a,i,s,o;for(let l=0;l<r.length-1;++l){const c=r[l];if(/^(cmd|meta|m)$/i.test(c))o=!0;else if(/^a(lt)?$/i.test(c))a=!0;else if(/^(c|ctrl|control)$/i.test(c))i=!0;else if(/^s(hift)?$/i.test(c))s=!0;else if(/^mod$/i.test(c))e=="mac"?o=!0:i=!0;else throw new Error("Unrecognized modifier name: "+c)}return a&&(n="Alt-"+n),i&&(n="Ctrl-"+n),o&&(n="Meta-"+n),s&&(n="Shift-"+n),n}function Ki(t,e,r){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),r!==!1&&e.shiftKey&&(t="Shift-"+t),t}const Ote=Jn.default(ae.domEventHandlers({keydown(t,e){return _te(yte(e.state),t,e,"editor")}})),mo=se.define({enables:Ote}),ap=new WeakMap;function yte(t){let e=t.facet(mo),r=ap.get(e);return r||ap.set(e,r=bte(e.reduce((n,a)=>n.concat(a),[]))),r}let vr=null;const kte=4e3;function bte(t,e=mte){let r=Object.create(null),n=Object.create(null),a=(s,o)=>{let l=n[s];if(l==null)n[s]=o;else if(l!=o)throw new Error("Key binding "+s+" is used both as a regular binding and as a multi-stroke prefix")},i=(s,o,l,c,u)=>{var h,f;let d=r[s]||(r[s]=Object.create(null)),g=o.split(/ (?!$)/).map(y=>gte(y,e));for(let y=1;y<g.length;y++){let w=g.slice(0,y).join(" ");a(w,!0),d[w]||(d[w]={preventDefault:!0,stopPropagation:!1,run:[P=>{let N=vr={view:P,prefix:w,scope:s};return setTimeout(()=>{vr==N&&(vr=null)},kte),!0}]})}let O=g.join(" ");a(O,!1);let k=d[O]||(d[O]={preventDefault:!1,stopPropagation:!1,run:((f=(h=d._any)===null||h===void 0?void 0:h.run)===null||f===void 0?void 0:f.slice())||[]});l&&k.run.push(l),c&&(k.preventDefault=!0),u&&(k.stopPropagation=!0)};for(let s of t){let o=s.scope?s.scope.split(" "):["editor"];if(s.any)for(let c of o){let u=r[c]||(r[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:h}=s;for(let f in u)u[f].run.push(d=>h(d,Mc))}let l=s[e]||s.key;if(l)for(let c of o)i(c,l,s.run,s.preventDefault,s.stopPropagation),s.shift&&i(c,"Shift-"+l,s.shift,s.preventDefault,s.stopPropagation)}return r}let Mc=null;function _te(t,e,r,n){Mc=e;let a=IJ(e),i=oo(a,0),s=Ru(i)==a.length&&a!=" ",o="",l=!1,c=!1,u=!1;vr&&vr.view==r&&vr.scope==n&&(o=vr.prefix+" ",K0.indexOf(e.keyCode)<0&&(c=!0,vr=null));let h=new Set,f=k=>{if(k){for(let y of k.run)if(!h.has(y)&&(h.add(y),y(r)))return k.stopPropagation&&(u=!0),!0;k.preventDefault&&(k.stopPropagation&&(u=!0),c=!0)}return!1},d=t[n],g,O;return d&&(f(d[o+Ki(a,e,!s)])?l=!0:s&&(e.altKey||e.metaKey||e.ctrlKey)&&!(ee.windows&&e.ctrlKey&&e.altKey)&&!(ee.mac&&e.altKey&&!(e.ctrlKey||e.metaKey))&&(g=Nr[e.keyCode])&&g!=a?(f(d[o+Ki(g,e,!0)])||e.shiftKey&&(O=Wa[e.keyCode])!=a&&O!=g&&f(d[o+Ki(O,e,!1)]))&&(l=!0):s&&e.shiftKey&&f(d[o+Ki(a,e,!0)])&&(l=!0),!l&&f(d._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),Mc=null,l}class Ei{constructor(e,r,n,a,i){this.className=e,this.left=r,this.top=n,this.width=a,this.height=i}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,r){return r.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,r,n){if(n.empty){let a=e.coordsAtPos(n.head,n.assoc||1);if(!a)return[];let i=cy(e);return[new Ei(r,a.left-i.left,a.top-i.top,null,a.bottom-a.top)]}else return wte(e,r,n)}}function cy(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Ie.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function ip(t,e,r,n){let a=t.coordsAtPos(e,r*2);if(!a)return n;let i=t.dom.getBoundingClientRect(),s=(a.top+a.bottom)/2,o=t.posAtCoords({x:i.left+1,y:s}),l=t.posAtCoords({x:i.right-1,y:s});return o==null||l==null?n:{from:Math.max(n.from,Math.min(o,l)),to:Math.min(n.to,Math.max(o,l))}}function wte(t,e,r){if(r.to<=t.viewport.from||r.from>=t.viewport.to)return[];let n=Math.max(r.from,t.viewport.from),a=Math.min(r.to,t.viewport.to),i=t.textDirection==Ie.LTR,s=t.contentDOM,o=s.getBoundingClientRect(),l=cy(t),c=s.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),h=o.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),f=o.right-(u?parseInt(u.paddingRight):0),d=zc(t,n,1),g=zc(t,a,-1),O=d.type==at.Text?d:null,k=g.type==at.Text?g:null;if(O&&(t.lineWrapping||d.widgetLineBreaks)&&(O=ip(t,n,1,O)),k&&(t.lineWrapping||g.widgetLineBreaks)&&(k=ip(t,a,-1,k)),O&&k&&O.from==k.from&&O.to==k.to)return w(P(r.from,r.to,O));{let T=O?P(r.from,null,O):N(d,!1),m=k?P(null,r.to,k):N(g,!0),S=[];return(O||d).to<(k||g).from-(O&&k?1:0)||d.widgetLineBreaks>1&&T.bottom+t.defaultLineHeight/2<m.top?S.push(y(h,T.bottom,f,m.top)):T.bottom<m.top&&t.elementAtHeight((T.bottom+m.top)/2).type==at.Text&&(T.bottom=m.top=(T.bottom+m.top)/2),w(T).concat(S).concat(w(m))}function y(T,m,S,$){return new Ei(e,T-l.left,m-l.top,Math.max(0,S-T),$-m)}function w({top:T,bottom:m,horizontal:S}){let $=[];for(let Q=0;Q<S.length;Q+=2)$.push(y(S[Q],T,S[Q+1],m));return $}function P(T,m,S){let $=1e9,Q=-1e9,D=[];function F(W,v,G,ie,de){let pe=t.coordsAtPos(W,W==S.to?-2:2),E=t.coordsAtPos(G,G==S.from?2:-2);!pe||!E||($=Math.min(pe.top,E.top,$),Q=Math.max(pe.bottom,E.bottom,Q),de==Ie.LTR?D.push(i&&v?h:pe.left,i&&ie?f:E.right):D.push(!i&&ie?h:E.left,!i&&v?f:pe.right))}let R=T??S.from,Z=m??S.to;for(let W of t.visibleRanges)if(W.to>R&&W.from<Z)for(let v=Math.max(W.from,R),G=Math.min(W.to,Z);;){let ie=t.state.doc.lineAt(v);for(let de of t.bidiSpans(ie)){let pe=de.from+ie.from,E=de.to+ie.from;if(pe>=G)break;E>v&&F(Math.max(pe,v),T==null&&pe<=R,Math.min(E,G),m==null&&E>=Z,de.dir)}if(v=ie.to+1,v>=G)break}return D.length==0&&F(R,T==null,Z,m==null,t.textDirection),{top:$,bottom:Q,horizontal:D}}function N(T,m){let S=o.top+(m?T.top:T.bottom);return{top:S,bottom:S,horizontal:[]}}}function Ste(t,e){return t.constructor==e.constructor&&t.eq(e)}class xte{constructor(e,r){this.view=e,this.layer=r,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),r.above&&this.dom.classList.add("cm-layer-above"),r.class&&this.dom.classList.add(r.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),r.mount&&r.mount(this.dom,e)}update(e){e.startState.facet(ms)!=e.state.facet(ms)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let r=0,n=e.facet(ms);for(;r<n.length&&n[r]!=this.layer;)r++;this.dom.style.zIndex=String((this.layer.above?150:-1)-r)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:r}=this.view;(e!=this.scaleX||r!=this.scaleY)&&(this.scaleX=e,this.scaleY=r,this.dom.style.transform=`scale(${1/e}, ${1/r})`)}draw(e){if(e.length!=this.drawn.length||e.some((r,n)=>!Ste(r,this.drawn[n]))){let r=this.dom.firstChild,n=0;for(let a of e)a.update&&r&&a.constructor&&this.drawn[n].constructor&&a.update(r,this.drawn[n])?(r=r.nextSibling,n++):this.dom.insertBefore(a.draw(),r);for(;r;){let a=r.nextSibling;r.remove(),r=a}this.drawn=e,ee.safari&&ee.safari_version>=26&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const ms=se.define();function uy(t){return[yr.define(e=>new xte(e,t)),ms.of(t)]}const ei=se.define({combine(t){return p0(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,r)=>Math.min(e,r),drawRangeCursor:(e,r)=>e||r})}});function Tte(t={}){return[ei.of(t),Ete,Ate,Cte,N0.of(!0)]}function hy(t){return t.startState.facet(ei)!=t.state.facet(ei)}const Ete=uy({above:!0,markers(t){let{state:e}=t,r=e.facet(ei),n=[];for(let a of e.selection.ranges){let i=a==e.selection.main;if(a.empty||r.drawRangeCursor){let s=i?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",o=a.empty?a:q.cursor(a.head,a.head>a.anchor?-1:1);for(let l of Ei.forRange(t,s,o))n.push(l)}}return n},update(t,e){t.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let r=hy(t);return r&&sp(t.state,e),t.docChanged||t.selectionSet||r},mount(t,e){sp(e.state,t)},class:"cm-cursorLayer"});function sp(t,e){e.style.animationDuration=t.facet(ei).cursorBlinkRate+"ms"}const Ate=uy({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:Ei.forRange(t,"cm-selectionBackground",e)).reduce((e,r)=>e.concat(r))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||hy(t)},class:"cm-selectionLayer"}),Cte=Jn.highest(ae.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}}));function Pte(){return Dte}const vte=ze.line({class:"cm-activeLine"}),Dte=yr.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,r=[];for(let n of t.state.selection.ranges){let a=t.lineBlockAt(n.head);a.from>e&&(r.push(vte.range(a.from)),e=a.from)}return ze.set(r)}},{decorations:t=>t.decorations});class Fn extends Lr{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Fn.prototype.elementClass="";Fn.prototype.toDOM=void 0;Fn.prototype.mapMode=Ge.TrackBefore;Fn.prototype.startSide=Fn.prototype.endSide=-1;Fn.prototype.point=!0;const fy=1024;let Qte=0;class vt{constructor(e,r){this.from=e,this.to=r}}class oe{constructor(e={}){this.id=Qte++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Fe.match(e)),r=>{let n=e(r);return n===void 0?null:[this,n]}}}oe.closedBy=new oe({deserialize:t=>t.split(" ")});oe.openedBy=new oe({deserialize:t=>t.split(" ")});oe.group=new oe({deserialize:t=>t.split(" ")});oe.isolate=new oe({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});oe.contextHash=new oe({perNode:!0});oe.lookAhead=new oe({perNode:!0});oe.mounted=new oe({perNode:!0});class Dn{constructor(e,r,n,a=!1){this.tree=e,this.overlay=r,this.parser=n,this.bracketed=a}static get(e){return e&&e.props&&e.props[oe.mounted.id]}}const zte=Object.create(null);class Fe{constructor(e,r,n,a=0){this.name=e,this.props=r,this.id=n,this.flags=a}static define(e){let r=e.props&&e.props.length?Object.create(null):zte,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),a=new Fe(e.name||"",r,e.id,n);if(e.props){for(let i of e.props)if(Array.isArray(i)||(i=i(a)),i){if(i[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");r[i[0].id]=i[1]}}return a}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let r=this.prop(oe.group);return r?r.indexOf(e)>-1:!1}return this.id==e}static match(e){let r=Object.create(null);for(let n in e)for(let a of n.split(" "))r[a]=e[n];return n=>{for(let a=n.prop(oe.group),i=-1;i<(a?a.length:0);i++){let s=r[i<0?n.name:a[i]];if(s)return s}}}}Fe.none=new Fe("",Object.create(null),0,8);class ea{constructor(e){this.types=e;for(let r=0;r<e.length;r++)if(e[r].id!=r)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let r=[];for(let n of this.types){let a=null;for(let i of e){let s=i(n);if(s){a||(a=Object.assign({},n.props));let o=s[1],l=s[0];l.combine&&l.id in a&&(o=l.combine(a[l.id],o)),a[l.id]=o}}r.push(a?new Fe(n.name,a,n.id,n.flags):n)}return new ea(r)}}const Ji=new WeakMap,op=new WeakMap;exports.IterMode=void 0;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays",t[t.EnterBracketed=16]="EnterBracketed"})(exports.IterMode||(exports.IterMode={}));class ge{constructor(e,r,n,a,i){if(this.type=e,this.children=r,this.positions=n,this.length=a,this.props=null,i&&i.length){this.props=Object.create(null);for(let[s,o]of i)this.props[typeof s=="number"?s:s.id]=o}}toString(){let e=Dn.get(this);if(e&&!e.overlay)return e.tree.toString();let r="";for(let n of this.children){let a=n.toString();a&&(r&&(r+=","),r+=a)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(r.length?"("+r+")":""):r}cursor(e=0){return new Rs(this.topNode,e)}cursorAt(e,r=0,n=0){let a=Ji.get(this)||this.topNode,i=new Rs(a);return i.moveTo(e,r),Ji.set(this,i._tree),i}get topNode(){return new Je(this,0,0,null)}resolve(e,r=0){let n=ti(Ji.get(this)||this.topNode,e,r,!1);return Ji.set(this,n),n}resolveInner(e,r=0){let n=ti(op.get(this)||this.topNode,e,r,!0);return op.set(this,n),n}resolveStack(e,r=0){return Rte(this,e,r)}iterate(e){let{enter:r,leave:n,from:a=0,to:i=this.length}=e,s=e.mode||0,o=(s&exports.IterMode.IncludeAnonymous)>0;for(let l=this.cursor(s|exports.IterMode.IncludeAnonymous);;){let c=!1;if(l.from<=i&&l.to>=a&&(!o&&l.type.isAnonymous||r(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&n&&(o||!l.type.isAnonymous)&&n(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let r in this.props)e.push([+r,this.props[r]]);return e}balance(e={}){return this.children.length<=8?this:Ju(Fe.none,this.children,this.positions,0,this.children.length,0,this.length,(r,n,a)=>new ge(this.type,r,n,a,this.propValues),e.makeTree||((r,n,a)=>new ge(Fe.none,r,n,a)))}static build(e){return Nte(e)}}ge.empty=new ge(Fe.none,[],[],0);class Gu{constructor(e,r){this.buffer=e,this.index=r}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Gu(this.buffer,this.index)}}class Mr{constructor(e,r,n){this.buffer=e,this.length=r,this.set=n}get type(){return Fe.none}toString(){let e=[];for(let r=0;r<this.buffer.length;)e.push(this.childString(r)),r=this.buffer[r+3];return e.join(",")}childString(e){let r=this.buffer[e],n=this.buffer[e+3],a=this.set.types[r],i=a.name;if(/\W/.test(i)&&!a.isError&&(i=JSON.stringify(i)),e+=4,n==e)return i;let s=[];for(;e<n;)s.push(this.childString(e)),e=this.buffer[e+3];return i+"("+s.join(",")+")"}findChild(e,r,n,a,i){let{buffer:s}=this,o=-1;for(let l=e;l!=r&&!(dy(i,a,s[l+1],s[l+2])&&(o=l,n>0));l=s[l+3]);return o}slice(e,r,n){let a=this.buffer,i=new Uint16Array(r-e),s=0;for(let o=e,l=0;o<r;){i[l++]=a[o++],i[l++]=a[o++]-n;let c=i[l++]=a[o++]-n;i[l++]=a[o++]-e,s=Math.max(s,c)}return new Mr(i,s,this.set)}}function dy(t,e,r,n){switch(t){case-2:return r<e;case-1:return n>=e&&r<e;case 0:return r<e&&n>e;case 1:return r<=e&&n>e;case 2:return n>e;case 4:return!0}}function ti(t,e,r,n){for(var a;t.from==t.to||(r<1?t.from>=e:t.from>e)||(r>-1?t.to<=e:t.to<e);){let s=!n&&t instanceof Je&&t.index<0?null:t.parent;if(!s)return t;t=s}let i=n?0:exports.IterMode.IgnoreOverlays;if(n)for(let s=t,o=s.parent;o;s=o,o=s.parent)s instanceof Je&&s.index<0&&((a=o.enter(e,r,i))===null||a===void 0?void 0:a.from)!=s.from&&(t=o);for(;;){let s=t.enter(e,r,i);if(!s)return t;t=s}}class py{cursor(e=0){return new Rs(this,e)}getChild(e,r=null,n=null){let a=lp(this,e,r,n);return a.length?a[0]:null}getChildren(e,r=null,n=null){return lp(this,e,r,n)}resolve(e,r=0){return ti(this,e,r,!1)}resolveInner(e,r=0){return ti(this,e,r,!0)}matchContext(e){return Fc(this.parent,e)}enterUnfinishedNodesBefore(e){let r=this.childBefore(e),n=this;for(;r;){let a=r.lastChild;if(!a||a.to!=r.to)break;a.type.isError&&a.from==a.to?(n=r,r=a.prevSibling):r=a}return n}get node(){return this}get next(){return this.parent}}class Je extends py{constructor(e,r,n,a){super(),this._tree=e,this.from=r,this.index=n,this._parent=a}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,r,n,a,i=0){for(let s=this;;){for(let{children:o,positions:l}=s._tree,c=r>0?o.length:-1;e!=c;e+=r){let u=o[e],h=l[e]+s.from,f;if(!(!(i&exports.IterMode.EnterBracketed&&u instanceof ge&&(f=Dn.get(u))&&!f.overlay&&f.bracketed&&n>=h&&n<=h+u.length)&&!dy(a,n,h,h+u.length))){if(u instanceof Mr){if(i&exports.IterMode.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,r,n-h,a);if(d>-1)return new rr(new Ite(s,u,e,h),null,d)}else if(i&exports.IterMode.IncludeAnonymous||!u.type.isAnonymous||Ku(u)){let d;if(!(i&exports.IterMode.IgnoreMounts)&&(d=Dn.get(u))&&!d.overlay)return new Je(d.tree,h,e,s);let g=new Je(u,h,e,s);return i&exports.IterMode.IncludeAnonymous||!g.type.isAnonymous?g:g.nextChild(r<0?u.children.length-1:0,r,n,a,i)}}}if(i&exports.IterMode.IncludeAnonymous||!s.type.isAnonymous||(s.index>=0?e=s.index+r:e=r<0?-1:s._parent._tree.children.length,s=s._parent,!s))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,r,n=0){let a;if(!(n&exports.IterMode.IgnoreOverlays)&&(a=Dn.get(this._tree))&&a.overlay){let i=e-this.from,s=n&exports.IterMode.EnterBracketed&&a.bracketed;for(let{from:o,to:l}of a.overlay)if((r>0||s?o<=i:o<i)&&(r<0||s?l>=i:l>i))return new Je(a.tree,a.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,r,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function lp(t,e,r,n){let a=t.cursor(),i=[];if(!a.firstChild())return i;if(r!=null){for(let s=!1;!s;)if(s=a.type.is(r),!a.nextSibling())return i}for(;;){if(n!=null&&a.type.is(n))return i;if(a.type.is(e)&&i.push(a.node),!a.nextSibling())return n==null?i:[]}}function Fc(t,e,r=e.length-1){for(let n=t;r>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[r]&&e[r]!=n.name)return!1;r--}}return!0}class Ite{constructor(e,r,n,a){this.parent=e,this.buffer=r,this.index=n,this.start=a}}class rr extends py{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,r,n){super(),this.context=e,this._parent=r,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,r,n){let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],e,r-this.context.start,n);return i<0?null:new rr(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,r,n=0){if(n&exports.IterMode.ExcludeBuffers)return null;let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],r>0?1:-1,e-this.context.start,r);return i<0?null:new rr(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,r=e.buffer[this.index+3];return r<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new rr(this.context,this._parent,r):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,r=this._parent?this._parent.index+4:0;return this.index==r?this.externalSibling(-1):new rr(this.context,this._parent,e.findChild(r,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],r=[],{buffer:n}=this.context,a=this.index+4,i=n.buffer[this.index+3];if(i>a){let s=n.buffer[this.index+1];e.push(n.slice(a,i,s)),r.push(0)}return new ge(this.type,e,r,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function my(t){if(!t.length)return null;let e=0,r=t[0];for(let i=1;i<t.length;i++){let s=t[i];(s.from>r.from||s.to<r.to)&&(r=s,e=i)}let n=r instanceof Je&&r.index<0?null:r.parent,a=t.slice();return n?a[e]=n:a.splice(e,1),new Lte(a,r)}class Lte{constructor(e,r){this.heads=e,this.node=r}get next(){return my(this.heads)}}function Rte(t,e,r){let n=t.resolveInner(e,r),a=null;for(let i=n instanceof Je?n:n.context.parent;i;i=i.parent)if(i.index<0){let s=i.parent;(a||(a=[n])).push(s.resolve(e,r)),i=s}else{let s=Dn.get(i.tree);if(s&&s.overlay&&s.overlay[0].from<=e&&s.overlay[s.overlay.length-1].to>=e){let o=new Je(s.tree,s.overlay[0].from+i.from,-1,i);(a||(a=[n])).push(ti(o,e,r,!1))}}return a?my(a):n}class Rs{get name(){return this.type.name}constructor(e,r=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=r&~exports.IterMode.EnterBracketed,e instanceof Je)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,r){this.index=e;let{start:n,buffer:a}=this.buffer;return this.type=r||a.set.types[a.buffer[e]],this.from=n+a.buffer[e+1],this.to=n+a.buffer[e+2],!0}yield(e){return e?e instanceof Je?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,r,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,r,n,this.mode));let{buffer:a}=this.buffer,i=a.findChild(this.index+4,a.buffer[this.index+3],e,r-this.buffer.start,n);return i<0?!1:(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,r,n=this.mode){return this.buffer?n&exports.IterMode.ExcludeBuffers?!1:this.enterChild(1,e,r):this.yield(this._tree.enter(e,r,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&exports.IterMode.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&exports.IterMode.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:r}=this.buffer,n=this.stack.length-1;if(e<0){let a=n<0?0:this.stack[n]+4;if(this.index!=a)return this.yieldBuf(r.findChild(a,this.index,-1,0,4))}else{let a=r.buffer[this.index+3];if(a<(n<0?r.buffer.length:r.buffer[this.stack[n]+3]))return this.yieldBuf(a)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let r,n,{buffer:a}=this;if(a){if(e>0){if(this.index<a.buffer.buffer.length)return!1}else for(let i=0;i<this.index;i++)if(a.buffer.buffer[i+3]<this.index)return!1;({index:r,parent:n}=a)}else({index:r,_parent:n}=this._tree);for(;n;{index:r,_parent:n}=n)if(r>-1)for(let i=r+e,s=e<0?-1:n._tree.children.length;i!=s;i+=e){let o=n._tree.children[i];if(this.mode&exports.IterMode.IncludeAnonymous||o instanceof Mr||!o.type.isAnonymous||Ku(o))return!1}return!0}move(e,r){if(r&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,r=0){for(;(this.from==this.to||(r<1?this.from>=e:this.from>e)||(r>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,r););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,r=null,n=0;if(e&&e.context==this.buffer)e:for(let a=this.index,i=this.stack.length;i>=0;){for(let s=e;s;s=s._parent)if(s.index==a){if(a==this.index)return s;r=s,n=i+1;break e}a=this.stack[--i]}for(let a=n;a<this.stack.length;a++)r=new rr(this.buffer,r,this.stack[a]);return this.bufferNode=new rr(this.buffer,r,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,r){for(let n=0;;){let a=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(a=!0)}for(;;){if(a&&r&&r(this),a=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,a=!0}}}matchContext(e){if(!this.buffer)return Fc(this.node.parent,e);let{buffer:r}=this.buffer,{types:n}=r.set;for(let a=e.length-1,i=this.stack.length-1;a>=0;i--){if(i<0)return Fc(this._tree,e,a);let s=n[r.buffer[this.stack[i]]];if(!s.isAnonymous){if(e[a]&&e[a]!=s.name)return!1;a--}}return!0}}function Ku(t){return t.children.some(e=>e instanceof Mr||!e.type.isAnonymous||Ku(e))}function Nte(t){var e;let{buffer:r,nodeSet:n,maxBufferLength:a=fy,reused:i=[],minRepeatType:s=n.types.length}=t,o=Array.isArray(r)?new Gu(r,r.length):r,l=n.types,c=0,u=0;function h(T,m,S,$,Q,D){let{id:F,start:R,end:Z,size:W}=o,v=u,G=c;if(W<0)if(o.next(),W==-1){let J=i[F];S.push(J),$.push(R-T);return}else if(W==-3){c=F;return}else if(W==-4){u=F;return}else throw new RangeError(`Unrecognized record size: ${W}`);let ie=l[F],de,pe,E=R-T;if(Z-R<=a&&(pe=k(o.pos-m,Q))){let J=new Uint16Array(pe.size-pe.skip),he=o.pos-pe.size,A=J.length;for(;o.pos>he;)A=y(pe.start,J,A);de=new Mr(J,Z-pe.start,n),E=pe.start-T}else{let J=o.pos-W;o.next();let he=[],A=[],Se=F>=s?F:-1,xe=0,Oe=Z;for(;o.pos>J;)Se>=0&&o.id==Se&&o.size>=0?(o.end<=Oe-a&&(g(he,A,R,xe,o.end,Oe,Se,v,G),xe=he.length,Oe=o.end),o.next()):D>2500?f(R,J,he,A):h(R,J,he,A,Se,D+1);if(Se>=0&&xe>0&&xe<he.length&&g(he,A,R,xe,R,Oe,Se,v,G),he.reverse(),A.reverse(),Se>-1&&xe>0){let Ve=d(ie,G);de=Ju(ie,he,A,0,he.length,0,Z-R,Ve,Ve)}else de=O(ie,he,A,Z-R,v-Z,G)}S.push(de),$.push(E)}function f(T,m,S,$){let Q=[],D=0,F=-1;for(;o.pos>m;){let{id:R,start:Z,end:W,size:v}=o;if(v>4)o.next();else{if(F>-1&&Z<F)break;F<0&&(F=W-a),Q.push(R,Z,W),D++,o.next()}}if(D){let R=new Uint16Array(D*4),Z=Q[Q.length-2];for(let W=Q.length-3,v=0;W>=0;W-=3)R[v++]=Q[W],R[v++]=Q[W+1]-Z,R[v++]=Q[W+2]-Z,R[v++]=v;S.push(new Mr(R,Q[2]-Z,n)),$.push(Z-T)}}function d(T,m){return(S,$,Q)=>{let D=0,F=S.length-1,R,Z;if(F>=0&&(R=S[F])instanceof ge){if(!F&&R.type==T&&R.length==Q)return R;(Z=R.prop(oe.lookAhead))&&(D=$[F]+R.length+Z)}return O(T,S,$,Q,D,m)}}function g(T,m,S,$,Q,D,F,R,Z){let W=[],v=[];for(;T.length>$;)W.push(T.pop()),v.push(m.pop()+S-Q);T.push(O(n.types[F],W,v,D-Q,R-D,Z)),m.push(Q-S)}function O(T,m,S,$,Q,D,F){if(D){let R=[oe.contextHash,D];F=F?[R].concat(F):[R]}if(Q>25){let R=[oe.lookAhead,Q];F=F?[R].concat(F):[R]}return new ge(T,m,S,$,F)}function k(T,m){let S=o.fork(),$=0,Q=0,D=0,F=S.end-a,R={size:0,start:0,skip:0};e:for(let Z=S.pos-T;S.pos>Z;){let W=S.size;if(S.id==m&&W>=0){R.size=$,R.start=Q,R.skip=D,D+=4,$+=4,S.next();continue}let v=S.pos-W;if(W<0||v<Z||S.start<F)break;let G=S.id>=s?4:0,ie=S.start;for(S.next();S.pos>v;){if(S.size<0)if(S.size==-3||S.size==-4)G+=4;else break e;else S.id>=s&&(G+=4);S.next()}Q=ie,$+=W,D+=G}return(m<0||$==T)&&(R.size=$,R.start=Q,R.skip=D),R.size>4?R:void 0}function y(T,m,S){let{id:$,start:Q,end:D,size:F}=o;if(o.next(),F>=0&&$<s){let R=S;if(F>4){let Z=o.pos-(F-4);for(;o.pos>Z;)S=y(T,m,S)}m[--S]=R,m[--S]=D-T,m[--S]=Q-T,m[--S]=$}else F==-3?c=$:F==-4&&(u=$);return S}let w=[],P=[];for(;o.pos>0;)h(t.start||0,t.bufferStart||0,w,P,-1,0);let N=(e=t.length)!==null&&e!==void 0?e:w.length?P[0]+w[0].length:0;return new ge(l[t.topID],w.reverse(),P.reverse(),N)}const cp=new WeakMap;function gs(t,e){if(!t.isAnonymous||e instanceof Mr||e.type!=t)return 1;let r=cp.get(e);if(r==null){r=1;for(let n of e.children){if(n.type!=t||!(n instanceof ge)){r=1;break}r+=gs(t,n)}cp.set(e,r)}return r}function Ju(t,e,r,n,a,i,s,o,l){let c=0;for(let g=n;g<a;g++)c+=gs(t,e[g]);let u=Math.ceil(c*1.5/8),h=[],f=[];function d(g,O,k,y,w){for(let P=k;P<y;){let N=P,T=O[P],m=gs(t,g[P]);for(P++;P<y;P++){let S=gs(t,g[P]);if(m+S>=u)break;m+=S}if(P==N+1){if(m>u){let S=g[N];d(S.children,S.positions,0,S.children.length,O[N]+w);continue}h.push(g[N])}else{let S=O[P-1]+g[P-1].length-T;h.push(Ju(t,g,O,N,P,T,S,null,l))}f.push(T+w-i)}}return d(e,r,n,a,0),(o||l)(h,f,s)}class eh{constructor(){this.map=new WeakMap}setBuffer(e,r,n){let a=this.map.get(e);a||this.map.set(e,a=new Map),a.set(r,n)}getBuffer(e,r){let n=this.map.get(e);return n&&n.get(r)}set(e,r){e instanceof rr?this.setBuffer(e.context.buffer,e.index,r):e instanceof Je&&this.map.set(e.tree,r)}get(e){return e instanceof rr?this.getBuffer(e.context.buffer,e.index):e instanceof Je?this.map.get(e.tree):void 0}cursorSet(e,r){e.buffer?this.setBuffer(e.buffer.buffer,e.index,r):this.map.set(e.tree,r)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class mr{constructor(e,r,n,a,i=!1,s=!1){this.from=e,this.to=r,this.tree=n,this.offset=a,this.open=(i?1:0)|(s?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,r=[],n=!1){let a=[new mr(0,e.length,e,0,!1,n)];for(let i of r)i.to>e.length&&a.push(i);return a}static applyChanges(e,r,n=128){if(!r.length)return e;let a=[],i=1,s=e.length?e[0]:null;for(let o=0,l=0,c=0;;o++){let u=o<r.length?r[o]:null,h=u?u.fromA:1e9;if(h-l>=n)for(;s&&s.from<h;){let f=s;if(l>=f.from||h<=f.to||c){let d=Math.max(f.from,l)-c,g=Math.min(f.to,h)-c;f=d>=g?null:new mr(d,g,f.tree,f.offset+c,o>0,!!u)}if(f&&a.push(f),s.to>h)break;s=i<e.length?e[i++]:null}if(!u)break;l=u.toA,c=u.toA-u.toB}return a}}class go{startParse(e,r,n){return typeof e=="string"&&(e=new $te(e)),n=n?n.length?n.map(a=>new vt(a.from,a.to)):[new vt(0,0)]:[new vt(0,e.length)],this.createParse(e,r||[],n)}parse(e,r,n){let a=this.startParse(e,r,n);for(;;){let i=a.advance();if(i)return i}}}class $te{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,r){return this.string.slice(e,r)}}function th(t){return(e,r,n,a)=>new Fte(e,t,r,n,a)}class up{constructor(e,r,n,a,i,s){this.parser=e,this.parse=r,this.overlay=n,this.bracketed=a,this.target=i,this.from=s}}function hp(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class Mte{constructor(e,r,n,a,i,s,o,l){this.parser=e,this.predicate=r,this.mounts=n,this.index=a,this.start=i,this.bracketed=s,this.target=o,this.prev=l,this.depth=0,this.ranges=[]}}const Bc=new oe({perNode:!0});class Fte{constructor(e,r,n,a,i){this.nest=r,this.input=n,this.fragments=a,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let a of this.inner)a.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new ge(n.type,n.children,n.positions,n.length,n.propValues.concat([[Bc,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],r=e.parse.advance();if(r){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[oe.mounted.id]=new Dn(r,e.overlay,e.parser,e.bracketed),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let r=this.innerDone;r<this.inner.length;r++)this.inner[r].from<e&&(e=Math.min(e,this.inner[r].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let r=this.innerDone;r<this.inner.length;r++)this.inner[r].parse.stopAt(e)}startInner(){let e=new Xte(this.fragments),r=null,n=null,a=new Rs(new Je(this.baseTree,this.ranges[0].from,0,null),exports.IterMode.IncludeAnonymous|exports.IterMode.IgnoreMounts);e:for(let i,s;;){let o=!0,l;if(this.stoppedAt!=null&&a.from>=this.stoppedAt)o=!1;else if(e.hasNode(a)){if(r){let c=r.mounts.find(u=>u.frag.from<=a.from&&u.frag.to>=a.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let h=u.from+c.pos,f=u.to+c.pos;h>=a.from&&f<=a.to&&!r.ranges.some(d=>d.from<f&&d.to>h)&&r.ranges.push({from:h,to:f})}}o=!1}else if(n&&(s=Bte(n.ranges,a.from,a.to)))o=s!=2;else if(!a.type.isAnonymous&&(i=this.nest(a,this.input))&&(a.from<a.to||!i.overlay)){a.tree||(qte(a),r&&r.depth++,n&&n.depth++);let c=e.findMounts(a.from,i.parser);if(typeof i.overlay=="function")r=new Mte(i.parser,i.overlay,c,this.inner.length,a.from,!!i.bracketed,a.tree,r);else{let u=pp(this.ranges,i.overlay||(a.from<a.to?[new vt(a.from,a.to)]:[]));u.length&&hp(u),(u.length||!i.overlay)&&this.inner.push(new up(i.parser,u.length?i.parser.startParse(this.input,mp(c,u),u):i.parser.startParse(""),i.overlay?i.overlay.map(h=>new vt(h.from-a.from,h.to-a.from)):null,!!i.bracketed,a.tree,u.length?u[0].from:a.from)),i.overlay?u.length&&(n={ranges:u,depth:0,prev:n}):o=!1}}else if(r&&(l=r.predicate(a))&&(l===!0&&(l=new vt(a.from,a.to)),l.from<l.to)){let c=r.ranges.length-1;c>=0&&r.ranges[c].to==l.from?r.ranges[c]={from:r.ranges[c].from,to:l.to}:r.ranges.push(l)}if(o&&a.firstChild())r&&r.depth++,n&&n.depth++;else for(;!a.nextSibling();){if(!a.parent())break e;if(r&&!--r.depth){let c=pp(this.ranges,r.ranges);c.length&&(hp(c),this.inner.splice(r.index,0,new up(r.parser,r.parser.startParse(this.input,mp(r.mounts,c),c),r.ranges.map(u=>new vt(u.from-r.start,u.to-r.start)),r.bracketed,r.target,c[0].from))),r=r.prev}n&&!--n.depth&&(n=n.prev)}}}}function Bte(t,e,r){for(let n of t){if(n.from>=r)break;if(n.to>e)return n.from<=e&&n.to>=r?2:1}return 0}function fp(t,e,r,n,a,i){if(e<r){let s=t.buffer[e+1];n.push(t.slice(e,r,s)),a.push(s-i)}}function qte(t){let{node:e}=t,r=[],n=e.context.buffer;do r.push(t.index),t.parent();while(!t.tree);let a=t.tree,i=a.children.indexOf(n),s=a.children[i],o=s.buffer,l=[i];function c(u,h,f,d,g,O){let k=r[O],y=[],w=[];fp(s,u,k,y,w,d);let P=o[k+1],N=o[k+2];l.push(y.length);let T=O?c(k+4,o[k+3],s.set.types[o[k]],P,N-P,O-1):e.toTree();return y.push(T),w.push(P-d),fp(s,o[k+3],h,y,w,d),new ge(f,y,w,g)}a.children[i]=c(0,o.length,Fe.none,0,s.length,r.length-1);for(let u of l){let h=t.tree.children[u],f=t.tree.positions[u];t.yield(new Je(h,f+t.from,u,t._tree))}}class dp{constructor(e,r){this.offset=r,this.done=!1,this.cursor=e.cursor(exports.IterMode.IncludeAnonymous|exports.IterMode.IgnoreMounts)}moveTo(e){let{cursor:r}=this,n=e-this.offset;for(;!this.done&&r.from<n;)r.to>=e&&r.enter(n,1,exports.IterMode.IgnoreOverlays|exports.IterMode.ExcludeBuffers)||r.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let r=this.cursor.tree;;){if(r==e.tree)return!0;if(r.children.length&&r.positions[0]==0&&r.children[0]instanceof ge)r=r.children[0];else break}return!1}}let Xte=class{constructor(e){var r;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(r=n.tree.prop(Bc))!==null&&r!==void 0?r:n.to,this.inner=new dp(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let r=this.curFrag=this.fragments[this.fragI];this.curTo=(e=r.tree.prop(Bc))!==null&&e!==void 0?e:r.to,this.inner=new dp(r.tree,-r.offset)}}findMounts(e,r){var n;let a=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let i=this.inner.cursor.node;i;i=i.parent){let s=(n=i.tree)===null||n===void 0?void 0:n.prop(oe.mounted);if(s&&s.parser==r)for(let o=this.fragI;o<this.fragments.length;o++){let l=this.fragments[o];if(l.from>=i.to)break;l.tree==this.curFrag.tree&&a.push({frag:l,pos:i.from-l.offset,mount:s})}}}return a}};function pp(t,e){let r=null,n=e;for(let a=1,i=0;a<t.length;a++){let s=t[a-1].to,o=t[a].from;for(;i<n.length;i++){let l=n[i];if(l.from>=o)break;l.to<=s||(r||(n=r=e.slice()),l.from<s?(r[i]=new vt(l.from,s),l.to>o&&r.splice(i+1,0,new vt(o,l.to))):l.to>o?r[i--]=new vt(o,l.to):r.splice(i--,1))}}return n}function jte(t,e,r,n){let a=0,i=0,s=!1,o=!1,l=-1e9,c=[];for(;;){let u=a==t.length?1e9:s?t[a].to:t[a].from,h=i==e.length?1e9:o?e[i].to:e[i].from;if(s!=o){let f=Math.max(l,r),d=Math.min(u,h,n);f<d&&c.push(new vt(f,d))}if(l=Math.min(u,h),l==1e9)break;u==l&&(s?(s=!1,a++):s=!0),h==l&&(o?(o=!1,i++):o=!0)}return c}function mp(t,e){let r=[];for(let{pos:n,mount:a,frag:i}of t){let s=n+(a.overlay?a.overlay[0].from:0),o=s+a.tree.length,l=Math.max(i.from,s),c=Math.min(i.to,o);if(a.overlay){let u=a.overlay.map(f=>new vt(f.from+n,f.to+n)),h=jte(e,u,l,c);for(let f=0,d=l;;f++){let g=f==h.length,O=g?c:h[f].from;if(O>d&&r.push(new mr(d,O,a.tree,-s,i.from>=d||i.openStart,i.to<=O||i.openEnd)),g)break;d=h[f].to}}else r.push(new mr(l,c,a.tree,-s,i.from>=s||i.openStart,i.to<=o||i.openEnd))}return r}let Zte=0;class _t{constructor(e,r,n,a){this.name=e,this.set=r,this.base=n,this.modified=a,this.id=Zte++}toString(){let{name:e}=this;for(let r of this.modified)r.name&&(e=`${r.name}(${e})`);return e}static define(e,r){let n=typeof e=="string"?e:"?";if(e instanceof _t&&(r=e),r!=null&&r.base)throw new Error("Can not derive from a modified tag");let a=new _t(n,[],null,[]);if(a.set.push(a),r)for(let i of r.set)a.set.push(i);return a}static defineModifier(e){let r=new Ns(e);return n=>n.modified.indexOf(r)>-1?n:Ns.get(n.base||n,n.modified.concat(r).sort((a,i)=>a.id-i.id))}}let Ute=0;class Ns{constructor(e){this.name=e,this.instances=[],this.id=Ute++}static get(e,r){if(!r.length)return e;let n=r[0].instances.find(o=>o.base==e&&Yte(r,o.modified));if(n)return n;let a=[],i=new _t(e.name,a,e,r);for(let o of r)o.instances.push(i);let s=Hte(r);for(let o of e.set)if(!o.modified.length)for(let l of s)a.push(Ns.get(o,l));return i}}function Yte(t,e){return t.length==e.length&&t.every((r,n)=>r==e[n])}function Hte(t){let e=[[]];for(let r=0;r<t.length;r++)for(let n=0,a=e.length;n<a;n++)e.push(e[n].concat(t[r]));return e.sort((r,n)=>n.length-r.length)}function mn(t){let e=Object.create(null);for(let r in t){let n=t[r];Array.isArray(n)||(n=[n]);for(let a of r.split(" "))if(a){let i=[],s=2,o=a;for(let h=0;;){if(o=="..."&&h>0&&h+3==a.length){s=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!f)throw new RangeError("Invalid path: "+a);if(i.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),h+=f[0].length,h==a.length)break;let d=a[h++];if(h==a.length&&d=="!"){s=0;break}if(d!="/")throw new RangeError("Invalid path: "+a);o=a.slice(h)}let l=i.length-1,c=i[l];if(!c)throw new RangeError("Invalid path: "+a);let u=new ri(n,s,l>0?i.slice(0,l):null);e[c]=u.sort(e[c])}}return gy.add(e)}const gy=new oe({combine(t,e){let r,n,a;for(;t||e;){if(!t||e&&t.depth>=e.depth?(a=e,e=e.next):(a=t,t=t.next),r&&r.mode==a.mode&&!a.context&&!r.context)continue;let i=new ri(a.tags,a.mode,a.context);r?r.next=i:n=i,r=i}return n}});class ri{constructor(e,r,n,a){this.tags=e,this.mode=r,this.context=n,this.next=a}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}ri.empty=new ri([],2,null);function Oy(t,e){let r=Object.create(null);for(let i of t)if(!Array.isArray(i.tag))r[i.tag.id]=i.class;else for(let s of i.tag)r[s.id]=i.class;let{scope:n,all:a=null}=e||{};return{style:i=>{let s=a;for(let o of i)for(let l of o.set){let c=r[l.id];if(c){s=s?s+" "+c:c;break}}return s},scope:n}}function Vte(t,e){let r=null;for(let n of t){let a=n.style(e);a&&(r=r?r+" "+a:a)}return r}function Wte(t,e,r,n=0,a=t.length){let i=new Gte(n,Array.isArray(e)?e:[e],r);i.highlightRange(t.cursor(),n,a,"",i.highlighters),i.flush(a)}class Gte{constructor(e,r,n){this.at=e,this.highlighters=r,this.span=n,this.class=""}startSpan(e,r){r!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=r)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,r,n,a,i){let{type:s,from:o,to:l}=e;if(o>=n||l<=r)return;s.isTop&&(i=this.highlighters.filter(d=>!d.scope||d.scope(s)));let c=a,u=Kte(e)||ri.empty,h=Vte(i,u.tags);if(h&&(c&&(c+=" "),c+=h,u.mode==1&&(a+=(a?" ":"")+h)),this.startSpan(Math.max(r,o),c),u.opaque)return;let f=e.tree&&e.tree.prop(oe.mounted);if(f&&f.overlay){let d=e.node.enter(f.overlay[0].from+o,1),g=this.highlighters.filter(k=>!k.scope||k.scope(f.tree.type)),O=e.firstChild();for(let k=0,y=o;;k++){let w=k<f.overlay.length?f.overlay[k]:null,P=w?w.from+o:l,N=Math.max(r,y),T=Math.min(n,P);if(N<T&&O)for(;e.from<T&&(this.highlightRange(e,N,T,a,i),this.startSpan(Math.min(T,e.to),c),!(e.to>=P||!e.nextSibling())););if(!w||P>n)break;y=w.to+o,y>r&&(this.highlightRange(d.cursor(),Math.max(r,w.from+o),Math.min(n,y),"",g),this.startSpan(Math.min(n,y),c))}O&&e.parent()}else if(e.firstChild()){f&&(a="");do if(!(e.to<=r)){if(e.from>=n)break;this.highlightRange(e,r,n,a,i),this.startSpan(Math.min(n,e.to),c)}while(e.nextSibling());e.parent()}}}function Kte(t){let e=t.type.prop(gy);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const V=_t.define,es=V(),Cr=V(),gp=V(Cr),Op=V(Cr),Pr=V(),ts=V(Pr),kl=V(Pr),Ht=V(),Yr=V(Ht),Ut=V(),Yt=V(),qc=V(),da=V(qc),rs=V(),C={comment:es,lineComment:V(es),blockComment:V(es),docComment:V(es),name:Cr,variableName:V(Cr),typeName:gp,tagName:V(gp),propertyName:Op,attributeName:V(Op),className:V(Cr),labelName:V(Cr),namespace:V(Cr),macroName:V(Cr),literal:Pr,string:ts,docString:V(ts),character:V(ts),attributeValue:V(ts),number:kl,integer:V(kl),float:V(kl),bool:V(Pr),regexp:V(Pr),escape:V(Pr),color:V(Pr),url:V(Pr),keyword:Ut,self:V(Ut),null:V(Ut),atom:V(Ut),unit:V(Ut),modifier:V(Ut),operatorKeyword:V(Ut),controlKeyword:V(Ut),definitionKeyword:V(Ut),moduleKeyword:V(Ut),operator:Yt,derefOperator:V(Yt),arithmeticOperator:V(Yt),logicOperator:V(Yt),bitwiseOperator:V(Yt),compareOperator:V(Yt),updateOperator:V(Yt),definitionOperator:V(Yt),typeOperator:V(Yt),controlOperator:V(Yt),punctuation:qc,separator:V(qc),bracket:da,angleBracket:V(da),squareBracket:V(da),paren:V(da),brace:V(da),content:Ht,heading:Yr,heading1:V(Yr),heading2:V(Yr),heading3:V(Yr),heading4:V(Yr),heading5:V(Yr),heading6:V(Yr),contentSeparator:V(Ht),list:V(Ht),quote:V(Ht),emphasis:V(Ht),strong:V(Ht),link:V(Ht),monospace:V(Ht),strikethrough:V(Ht),inserted:V(),deleted:V(),changed:V(),invalid:V(),meta:rs,documentMeta:V(rs),annotation:V(rs),processingInstruction:V(rs),definition:_t.defineModifier("definition"),constant:_t.defineModifier("constant"),function:_t.defineModifier("function"),standard:_t.defineModifier("standard"),local:_t.defineModifier("local"),special:_t.defineModifier("special")};for(let t in C){let e=C[t];e instanceof _t&&(e.name=t)}Oy([{tag:C.link,class:"tok-link"},{tag:C.heading,class:"tok-heading"},{tag:C.emphasis,class:"tok-emphasis"},{tag:C.strong,class:"tok-strong"},{tag:C.keyword,class:"tok-keyword"},{tag:C.atom,class:"tok-atom"},{tag:C.bool,class:"tok-bool"},{tag:C.url,class:"tok-url"},{tag:C.labelName,class:"tok-labelName"},{tag:C.inserted,class:"tok-inserted"},{tag:C.deleted,class:"tok-deleted"},{tag:C.literal,class:"tok-literal"},{tag:C.string,class:"tok-string"},{tag:C.number,class:"tok-number"},{tag:[C.regexp,C.escape,C.special(C.string)],class:"tok-string2"},{tag:C.variableName,class:"tok-variableName"},{tag:C.local(C.variableName),class:"tok-variableName tok-local"},{tag:C.definition(C.variableName),class:"tok-variableName tok-definition"},{tag:C.special(C.variableName),class:"tok-variableName2"},{tag:C.definition(C.propertyName),class:"tok-propertyName tok-definition"},{tag:C.typeName,class:"tok-typeName"},{tag:C.namespace,class:"tok-namespace"},{tag:C.className,class:"tok-className"},{tag:C.macroName,class:"tok-macroName"},{tag:C.propertyName,class:"tok-propertyName"},{tag:C.operator,class:"tok-operator"},{tag:C.comment,class:"tok-comment"},{tag:C.meta,class:"tok-meta"},{tag:C.invalid,class:"tok-invalid"},{tag:C.punctuation,class:"tok-punctuation"}]);var bl;const zr=new oe;function Oo(t){return se.define({combine:t?e=>e.concat(t):void 0})}const rh=new oe;class wt{constructor(e,r,n=[],a=""){this.data=e,this.name=a,we.prototype.hasOwnProperty("tree")||Object.defineProperty(we.prototype,"tree",{get(){return ve(this)}}),this.parser=r,this.extension=[qn.of(this),we.languageData.of((i,s,o)=>{let l=yp(i,s,o),c=l.type.prop(zr);if(!c)return[];let u=i.facet(c),h=l.type.prop(rh);if(h){let f=l.resolve(s-l.from,o);for(let d of h)if(d.test(f,i)){let g=i.facet(d.facet);return d.type=="replace"?g:g.concat(u)}}return u})].concat(n)}isActiveAt(e,r,n=-1){return yp(e,r,n).type.prop(zr)==this.data}findRegions(e){let r=e.facet(qn);if((r==null?void 0:r.data)==this.data)return[{from:0,to:e.doc.length}];if(!r||!r.allowsNesting)return[];let n=[],a=(i,s)=>{if(i.prop(zr)==this.data){n.push({from:s,to:s+i.length});return}let o=i.prop(oe.mounted);if(o){if(o.tree.prop(zr)==this.data){if(o.overlay)for(let l of o.overlay)n.push({from:l.from+s,to:l.to+s});else n.push({from:s,to:s+i.length});return}else if(o.overlay){let l=n.length;if(a(o.tree,o.overlay[0].from+s),n.length>l)return}}for(let l=0;l<i.children.length;l++){let c=i.children[l];c instanceof ge&&a(c,i.positions[l]+s)}};return a(ve(e),0),n}get allowsNesting(){return!0}}wt.setState=De.define();function yp(t,e,r){let n=t.facet(qn),a=ve(t).topNode;if(!n||n.allowsNesting)for(let i=a;i;i=i.enter(e,r,exports.IterMode.ExcludeBuffers|exports.IterMode.EnterBracketed))i.type.isTop&&(a=i);return a}class on extends wt{constructor(e,r,n){super(e,r,[],n),this.parser=r}static define(e){let r=Oo(e.languageData);return new on(r,e.parser.configure({props:[zr.add(n=>n.isTop?r:void 0)]}),e.name)}configure(e,r){return new on(this.data,this.parser.configure(e),r||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ve(t){let e=t.field(wt.state,!1);return e?e.tree:ge.empty}class Jte{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,r){let n=this.cursorPos-this.string.length;return e<n||r>=this.cursorPos?this.doc.sliceString(e,r):this.string.slice(e-n,r-n)}}let pa=null;class ln{constructor(e,r,n=[],a,i,s,o,l){this.parser=e,this.state=r,this.fragments=n,this.tree=a,this.treeLen=i,this.viewport=s,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,r,n){return new ln(e,r,[],ge.empty,0,n,[],null)}startParse(){return this.parser.startParse(new Jte(this.state.doc),this.fragments)}work(e,r){return r!=null&&r>=this.state.doc.length&&(r=void 0),this.tree!=ge.empty&&this.isDone(r??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let a=Date.now()+e;e=()=>Date.now()>a}for(this.parse||(this.parse=this.startParse()),r!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>r)&&r<this.state.doc.length&&this.parse.stopAt(r);;){let a=this.parse.advance();if(a)if(this.fragments=this.withoutTempSkipped(mr.addTree(a,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(n=this.parse.stoppedAt)!==null&&n!==void 0?n:this.state.doc.length,this.tree=a,this.parse=null,this.treeLen<(r??this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,r;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(r=this.parse.advance()););}),this.treeLen=e,this.tree=r,this.fragments=this.withoutTempSkipped(mr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let r=pa;pa=this;try{return e()}finally{pa=r}}withoutTempSkipped(e){for(let r;r=this.tempSkipped.pop();)e=kp(e,r.from,r.to);return e}changes(e,r){let{fragments:n,tree:a,treeLen:i,viewport:s,skipped:o}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,h,f)=>l.push({fromA:c,toA:u,fromB:h,toB:f})),n=mr.applyChanges(n,l),a=ge.empty,i=0,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length){o=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),h=e.mapPos(c.to,-1);u<h&&o.push({from:u,to:h})}}}return new ln(this.parser,r,n,a,i,s,o,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let r=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:a,to:i}=this.skipped[n];a<e.to&&i>e.from&&(this.fragments=kp(this.fragments,a,i),this.skipped.splice(n--,1))}return this.skipped.length>=r?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,r){this.skipped.push({from:e,to:r})}static getSkippingParser(e){return new class extends go{createParse(r,n,a){let i=a[0].from,s=a[a.length-1].to;return{parsedPos:i,advance(){let l=pa;if(l){for(let c of a)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=s,new ge(Fe.none,[],[],s-i)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let r=this.fragments;return this.treeLen>=e&&r.length&&r[0].from==0&&r[0].to>=e}static get(){return pa}}function kp(t,e,r){return mr.applyChanges(t,[{fromA:e,toA:r,fromB:e,toB:r}])}class Bn{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let r=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),r.viewport.to);return r.work(20,n)||r.takeTree(),new Bn(r)}static init(e){let r=Math.min(3e3,e.doc.length),n=ln.create(e.facet(qn).parser,e,{from:0,to:r});return n.work(20,r)||n.takeTree(),new Bn(n)}}wt.state=sr.define({create:Bn.init,update(t,e){for(let r of e.effects)if(r.is(wt.setState))return r.value;return e.startState.facet(qn)!=e.state.facet(qn)?Bn.init(e.state):t.apply(e)}});let yy=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(yy=t=>{let e=-1,r=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(r):cancelIdleCallback(e)});const _l=typeof navigator<"u"&&(!((bl=navigator.scheduling)===null||bl===void 0)&&bl.isInputPending)?()=>navigator.scheduling.isInputPending():null,ere=yr.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let r=this.view.state.field(wt.state).context;(r.updateViewport(e.view.viewport)||this.view.viewport.to>r.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(r)}scheduleWork(){if(this.working)return;let{state:e}=this.view,r=e.field(wt.state);(r.tree!=r.context.tree||!r.context.isDone(e.doc.length))&&(this.working=yy(this.work))}work(e){this.working=null;let r=Date.now();if(this.chunkEnd<r&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=r+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:a}}=this.view,i=n.field(wt.state);if(i.tree==i.context.tree&&i.context.isDone(a+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,e&&!_l?Math.max(25,e.timeRemaining()-5):1e9),o=i.context.treeLen<a&&n.doc.length>a+1e3,l=i.context.work(()=>_l&&_l()||Date.now()>s,a+(o?0:1e5));this.chunkBudget-=Date.now()-r,(l||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:wt.setState.of(new Bn(i.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(r=>tr(this.view.state,r)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),qn=se.define({combine(t){return t.length?t[0]:null},enables:t=>[wt.state,ere,ae.contentAttributes.compute([t],e=>{let r=e.facet(t);return r&&r.name?{"data-language":r.name}:{}})]});class cn{constructor(e,r=[]){this.language=e,this.support=r,this.extension=[e,r]}}class I{constructor(e,r,n,a,i,s=void 0){this.name=e,this.alias=r,this.extensions=n,this.filename=a,this.loadFunc=i,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:r,support:n}=e;if(!r){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");r=()=>Promise.resolve(n)}return new I(e.name,(e.alias||[]).concat(e.name).map(a=>a.toLowerCase()),e.extensions||[],e.filename,r,n)}static matchFilename(e,r){for(let a of e)if(a.filename&&a.filename.test(r))return a;let n=/\.([^.]+)$/.exec(r);if(n){for(let a of e)if(a.extensions.indexOf(n[1])>-1)return a}return null}static matchLanguageName(e,r,n=!0){r=r.toLowerCase();for(let a of e)if(a.alias.some(i=>i==r))return a;if(n)for(let a of e)for(let i of a.alias){let s=r.indexOf(i);if(s>-1&&(i.length>2||!/\w/.test(r[s-1])&&!/\w/.test(r[s+i.length])))return a}return null}}const tre=se.define(),Ai=se.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(r=>r!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function un(t){let e=t.facet(Ai);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function $s(t,e){let r="",n=t.tabSize,a=t.facet(Ai)[0];if(a==" "){for(;e>=n;)r+=" ",e-=n;a=" "}for(let i=0;i<e;i++)r+=a;return r}function ky(t,e){t instanceof we&&(t=new yo(t));for(let n of t.state.facet(tre)){let a=n(t,e);if(a!==void 0)return a}let r=ve(t.state);return r.length>=e?rre(t,r,e):null}class yo{constructor(e,r={}){this.state=e,this.options=r,this.unit=un(e)}lineAt(e,r=1){let n=this.state.doc.lineAt(e),{simulateBreak:a,simulateDoubleBreak:i}=this.options;return a!=null&&a>=n.from&&a<=n.to?i&&a==e?{text:"",from:e}:(r<0?a<e:a<=e)?{text:n.text.slice(a-n.from),from:a}:{text:n.text.slice(0,a-n.from),from:n.from}:n}textAfterPos(e,r=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:a}=this.lineAt(e,r);return n.slice(e-a,Math.min(n.length,e+100-a))}column(e,r=1){let{text:n,from:a}=this.lineAt(e,r),i=this.countColumn(n,e-a),s=this.options.overrideIndentation?this.options.overrideIndentation(a):-1;return s>-1&&(i+=s-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,r=e.length){return gr(e,this.state.tabSize,r)}lineIndent(e,r=1){let{text:n,from:a}=this.lineAt(e,r),i=this.options.overrideIndentation;if(i){let s=i(a);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const gn=new oe;function rre(t,e,r){let n=e.resolveStack(r),a=e.resolveInner(r,-1).resolve(r,0).enterUnfinishedNodesBefore(r);if(a!=n.node){let i=[];for(let s=a;s&&!(s.from<n.node.from||s.to>n.node.to||s.from==n.node.from&&s.type==n.node.type);s=s.parent)i.push(s);for(let s=i.length-1;s>=0;s--)n={node:i[s],next:n}}return by(n,t,r)}function by(t,e,r){for(let n=t;n;n=n.next){let a=are(n.node);if(a)return a(nh.create(e,r,n))}return 0}function nre(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function are(t){let e=t.type.prop(gn);if(e)return e;let r=t.firstChild,n;if(r&&(n=r.type.prop(oe.closedBy))){let a=t.lastChild,i=a&&n.indexOf(a.name)>-1;return s=>wy(s,!0,1,void 0,i&&!nre(s)?a.from:void 0)}return t.parent==null?ire:null}function ire(){return 0}class nh extends yo{constructor(e,r,n){super(e.state,e.options),this.base=e,this.pos=r,this.context=n}get node(){return this.context.node}static create(e,r,n){return new nh(e,r,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let r=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(r.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(sre(n,e))break;r=this.state.doc.lineAt(n.from)}return this.lineIndent(r.from)}continue(){return by(this.context.next,this.base,this.pos)}}function sre(t,e){for(let r=e;r;r=r.parent)if(t==r)return!0;return!1}function ore(t){let e=t.node,r=e.childAfter(e.from),n=e.lastChild;if(!r)return null;let a=t.options.simulateBreak,i=t.state.doc.lineAt(r.from),s=a==null||a<=i.from?i.to:Math.min(i.to,a);for(let o=r.to;;){let l=e.childAfter(o);if(!l||l==n)return null;if(!l.type.isSkipped){if(l.from>=s)return null;let c=/^ */.exec(i.text.slice(r.to-i.from))[0].length;return{from:r.from,to:r.to+c}}o=l.to}}function _y({closing:t,align:e=!0,units:r=1}){return n=>wy(n,e,r,t)}function wy(t,e,r,n,a){let i=t.textAfter,s=i.match(/^\s*/)[0].length,o=n&&i.slice(s,s+n.length)==n||a==t.pos+s,l=e?ore(t):null;return l?o?t.column(l.from):t.column(l.to):t.baseIndent+(o?0:t.unit*r)}const Sy=t=>t.baseIndent;function Ma({except:t,units:e=1}={}){return r=>{let n=t&&t.test(r.textAfter);return r.baseIndent+(n?0:e*r.unit)}}const lre=se.define(),ta=new oe;function ah(t){let e=t.firstChild,r=t.lastChild;return e&&e.to<r.from?{from:e.to,to:r.type.isError?t.to:r.from}:null}class ko{constructor(e,r){this.specs=e;let n;function a(o){let l=Rr.newName();return(n||(n=Object.create(null)))["."+l]=o,l}const i=typeof r.all=="string"?r.all:r.all?a(r.all):void 0,s=r.scope;this.scope=s instanceof wt?o=>o.prop(zr)==s.data:s?o=>o==s:void 0,this.style=Oy(e.map(o=>({tag:o.tag,class:o.class||a(Object.assign({},o,{tag:null}))})),{all:i}).style,this.module=n?new Rr(n):null,this.themeType=r.themeType}static define(e,r){return new ko(e,r||{})}}const Xc=se.define(),cre=se.define({combine(t){return t.length?[t[0]]:null}});function wl(t){let e=t.facet(Xc);return e.length?e:t.facet(cre)}function ure(t,e){let r=[fre],n;return t instanceof ko&&(t.module&&r.push(ae.styleModule.of(t.module)),n=t.themeType),n?r.push(Xc.computeN([ae.darkTheme],a=>a.facet(ae.darkTheme)==(n=="dark")?[t]:[])):r.push(Xc.of(t)),r}class hre{constructor(e){this.markCache=Object.create(null),this.tree=ve(e.state),this.decorations=this.buildDeco(e,wl(e.state)),this.decoratedTo=e.viewport.to}update(e){let r=ve(e.state),n=wl(e.state),a=n!=wl(e.startState),{viewport:i}=e.view,s=e.changes.mapPos(this.decoratedTo,1);r.length<i.to&&!a&&r.type==this.tree.type&&s>=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=s):(r!=this.tree||e.viewportChanged||a)&&(this.tree=r,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=i.to)}buildDeco(e,r){if(!r||!this.tree.length)return ze.none;let n=new Ha;for(let{from:a,to:i}of e.visibleRanges)Wte(this.tree,r,(s,o,l)=>{n.add(s,o,this.markCache[l]||(this.markCache[l]=ze.mark({class:l})))},a,i);return n.finish()}}const fre=Jn.high(yr.fromClass(hre,{decorations:t=>t.decorations})),dre=ko.define([{tag:C.meta,color:"#404740"},{tag:C.link,textDecoration:"underline"},{tag:C.heading,textDecoration:"underline",fontWeight:"bold"},{tag:C.emphasis,fontStyle:"italic"},{tag:C.strong,fontWeight:"bold"},{tag:C.strikethrough,textDecoration:"line-through"},{tag:C.keyword,color:"#708"},{tag:[C.atom,C.bool,C.url,C.contentSeparator,C.labelName],color:"#219"},{tag:[C.literal,C.inserted],color:"#164"},{tag:[C.string,C.deleted],color:"#a11"},{tag:[C.regexp,C.escape,C.special(C.string)],color:"#e40"},{tag:C.definition(C.variableName),color:"#00f"},{tag:C.local(C.variableName),color:"#30a"},{tag:[C.typeName,C.namespace],color:"#085"},{tag:C.className,color:"#167"},{tag:[C.special(C.variableName),C.macroName],color:"#256"},{tag:C.definition(C.propertyName),color:"#00c"},{tag:C.comment,color:"#940"},{tag:C.invalid,color:"#f00"}]),pre=1e4,mre="()[]{}",ih=new oe;function jc(t,e,r){let n=t.prop(e<0?oe.openedBy:oe.closedBy);if(n)return n;if(t.name.length==1){let a=r.indexOf(t.name);if(a>-1&&a%2==(e<0?1:0))return[r[a+e]]}return null}function Zc(t){let e=t.type.prop(ih);return e?e(t.node):t}function xn(t,e,r,n={}){let a=n.maxScanDistance||pre,i=n.brackets||mre,s=ve(t),o=s.resolveInner(e,r);for(let l=o;l;l=l.parent){let c=jc(l.type,r,i);if(c&&l.from<l.to){let u=Zc(l);if(u&&(r>0?e>=u.from&&e<u.to:e>u.from&&e<=u.to))return gre(t,e,r,l,u,c,i)}}return Ore(t,e,r,s,o.type,a,i)}function gre(t,e,r,n,a,i,s){let o=n.parent,l={from:a.from,to:a.to},c=0,u=o==null?void 0:o.cursor();if(u&&(r<0?u.childBefore(n.from):u.childAfter(n.to)))do if(r<0?u.to<=n.from:u.from>=n.to){if(c==0&&i.indexOf(u.type.name)>-1&&u.from<u.to){let h=Zc(u);return{start:l,end:h?{from:h.from,to:h.to}:void 0,matched:!0}}else if(jc(u.type,r,s))c++;else if(jc(u.type,-r,s)){if(c==0){let h=Zc(u);return{start:l,end:h&&h.from<h.to?{from:h.from,to:h.to}:void 0,matched:!1}}c--}}while(r<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function Ore(t,e,r,n,a,i,s){let o=r<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=s.indexOf(o);if(l<0||l%2==0!=r>0)return null;let c={from:r<0?e-1:e,to:r>0?e+1:e},u=t.doc.iterRange(e,r>0?t.doc.length:0),h=0;for(let f=0;!u.next().done&&f<=i;){let d=u.value;r<0&&(f+=d.length);let g=e+f*r;for(let O=r>0?0:d.length-1,k=r>0?d.length:-1;O!=k;O+=r){let y=s.indexOf(d[O]);if(!(y<0||n.resolveInner(g+O,1).type!=a))if(y%2==0==r>0)h++;else{if(h==1)return{start:c,end:{from:g+O,to:g+O+1},matched:y>>1==l>>1};h--}}r>0&&(f+=d.length)}return u.done?{start:c,matched:!1}:null}function bp(t,e,r,n=0,a=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let i=a;for(let s=n;s<e;s++)t.charCodeAt(s)==9?i+=r-i%r:i++;return i}class xy{constructor(e,r,n,a){this.string=e,this.tabSize=r,this.indentUnit=n,this.overrideIndent=a,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let r=this.string.charAt(this.pos),n;if(typeof e=="string"?n=r==e:n=r&&(e instanceof RegExp?e.test(r):e(r)),n)return++this.pos,r}eatWhile(e){let r=this.pos;for(;this.eat(e););return this.pos>r}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let r=this.string.indexOf(e,this.pos);if(r>-1)return this.pos=r,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=bp(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var e;return(e=this.overrideIndent)!==null&&e!==void 0?e:bp(this.string,null,this.tabSize)}match(e,r,n){if(typeof e=="string"){let a=s=>n?s.toLowerCase():s,i=this.string.substr(this.pos,e.length);return a(i)==a(e)?(r!==!1&&(this.pos+=e.length),!0):null}else{let a=this.string.slice(this.pos).match(e);return a&&a.index>0?null:(a&&r!==!1&&(this.pos+=a[0].length),a)}}current(){return this.string.slice(this.start,this.pos)}}function yre(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||kre,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||lh,mergeTokens:t.mergeTokens!==!1}}function kre(t){if(typeof t!="object")return t;let e={};for(let r in t){let n=t[r];e[r]=n instanceof Array?n.slice():n}return e}const _p=new WeakMap;class sh extends wt{constructor(e){let r=Oo(e.languageData),n=yre(e),a,i=new class extends go{createParse(s,o,l){return new _re(a,s,o,l)}};super(r,i,[],e.name),this.topNode=xre(r,this),a=this,this.streamParser=n,this.stateAfter=new oe({perNode:!0}),this.tokenTable=e.tokenTable?new Cy(n.tokenTable):Sre}static define(e){return new sh(e)}getIndent(e){let r,{overrideIndentation:n}=e.options;n&&(r=_p.get(e.state),r!=null&&r<e.pos-1e4&&(r=void 0));let a=oh(this,e.node.tree,e.node.from,e.node.from,r??e.pos),i,s;if(a?(s=a.state,i=a.pos+1):(s=this.streamParser.startState(e.unit),i=e.node.from),e.pos-i>1e4)return null;for(;i<e.pos;){let l=e.state.doc.lineAt(i),c=Math.min(e.pos,l.to);if(l.length){let u=n?n(l.from):-1,h=new xy(l.text,e.state.tabSize,e.unit,u<0?void 0:u);for(;h.pos<c-l.from;)Ey(this.streamParser.token,h,s)}else this.streamParser.blankLine(s,e.unit);if(c==e.pos)break;i=l.to+1}let o=e.lineAt(e.pos);return n&&r==null&&_p.set(e.state,o.from),this.streamParser.indent(s,/^\s*(.*)/.exec(o.text)[1],e)}get allowsNesting(){return!1}}function oh(t,e,r,n,a){let i=r>=n&&r+e.length<=a&&e.prop(t.stateAfter);if(i)return{state:t.streamParser.copyState(i),pos:r+e.length};for(let s=e.children.length-1;s>=0;s--){let o=e.children[s],l=r+e.positions[s],c=o instanceof ge&&l<a&&oh(t,o,l,n,a);if(c)return c}return null}function Ty(t,e,r,n,a){if(a&&r<=0&&n>=e.length)return e;!a&&r==0&&e.type==t.topNode&&(a=!0);for(let i=e.children.length-1;i>=0;i--){let s=e.positions[i],o=e.children[i],l;if(s<n&&o instanceof ge){if(!(l=Ty(t,o,r-s,n-s,a)))break;return a?new ge(e.type,e.children.slice(0,i).concat(l),e.positions.slice(0,i+1),s+l.length):l}}return null}function bre(t,e,r,n,a){for(let i of e){let s=i.from+(i.openStart?25:0),o=i.to-(i.openEnd?25:0),l=s<=r&&o>r&&oh(t,i.tree,0-i.offset,r,o),c;if(l&&l.pos<=n&&(c=Ty(t,i.tree,r+i.offset,l.pos+i.offset,!1)))return{state:l.state,tree:c}}return{state:t.streamParser.startState(a?un(a):4),tree:ge.empty}}let _re=class{constructor(e,r,n,a){this.lang=e,this.input=r,this.fragments=n,this.ranges=a,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=a[a.length-1].to;let i=ln.get(),s=a[0].from,{state:o,tree:l}=bre(e,n,s,this.to,i==null?void 0:i.state);this.state=o,this.parsedPos=this.chunkStart=s+l.length;for(let c=0;c<l.children.length;c++)this.chunks.push(l.children[c]),this.chunkPos.push(l.positions[c]);i&&this.parsedPos<i.viewport.from-1e5&&a.some(c=>c.from<=i.viewport.from&&c.to>=i.viewport.from)&&(this.state=this.lang.streamParser.startState(un(i.state)),i.skipUntilInView(this.parsedPos,i.viewport.from),this.parsedPos=i.viewport.from),this.moveRangeIndex()}advance(){let e=ln.get(),r=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(r,this.chunkStart+512);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos<n;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=r?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,r),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let r=this.input.chunk(e);if(this.input.lineChunks)r==`
67
- `&&(r="");else{let n=r.indexOf(`
68
- `);n>-1&&(r=r.slice(0,n))}return e+r.length<=this.to?r:r.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,r=this.lineAfter(e),n=e+r.length;for(let a=this.rangeIndex;;){let i=this.ranges[a].to;if(i>=n||(r=r.slice(0,i-(n-r.length)),a++,a==this.ranges.length))break;let s=this.ranges[a].from,o=this.lineAfter(s);r+=o,n=s+o.length}return{line:r,end:n}}skipGapsTo(e,r,n){for(;;){let a=this.ranges[this.rangeIndex].to,i=e+r;if(n>0?a>i:a>=i)break;let s=this.ranges[++this.rangeIndex].from;r+=s-a}return r}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,r,n,a){let i=4;if(this.ranges.length>1){a=this.skipGapsTo(r,a,1),r+=a;let o=this.chunk.length;a=this.skipGapsTo(n,a,-1),n+=a,i+=this.chunk.length-o}let s=this.chunk.length-4;return this.lang.streamParser.mergeTokens&&i==4&&s>=0&&this.chunk[s]==e&&this.chunk[s+2]==r?this.chunk[s+2]=n:this.chunk.push(e,r,n,i),a}parseLine(e){let{line:r,end:n}=this.nextLine(),a=0,{streamParser:i}=this.lang,s=new xy(r,e?e.state.tabSize:4,e?un(e.state):2);if(s.eol())i.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let o=Ey(i.token,s,this.state);if(o&&(a=this.emitToken(this.lang.tokenTable.resolve(o),this.parsedPos+s.start,this.parsedPos+s.pos,a)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=ge.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:wre,topID:0,maxBufferLength:512,reused:this.chunkReused});e=new ge(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new ge(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}};function Ey(t,e,r){e.start=e.pos;for(let n=0;n<10;n++){let a=t(e,r);if(e.pos>e.start)return a}throw new Error("Stream parser failed to advance stream.")}const lh=Object.create(null),ni=[Fe.none],wre=new ea(ni),wp=[],Sp=Object.create(null),Ay=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Ay[t]=Py(lh,e);class Cy{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),Ay)}resolve(e){return e?this.table[e]||(this.table[e]=Py(this.extra,e)):0}}const Sre=new Cy(lh);function Sl(t,e){wp.indexOf(t)>-1||(wp.push(t),console.warn(e))}function Py(t,e){let r=[];for(let o of e.split(" ")){let l=[];for(let c of o.split(".")){let u=t[c]||C[c];u?typeof u=="function"?l.length?l=l.map(u):Sl(c,`Modifier ${c} used at start of tag`):l.length?Sl(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:Sl(c,`Unknown highlighting tag ${c}`)}for(let c of l)r.push(c)}if(!r.length)return 0;let n=e.replace(/ /g,"_"),a=n+" "+r.map(o=>o.id),i=Sp[a];if(i)return i.id;let s=Sp[a]=Fe.define({id:ni.length,name:n,props:[mn({[n]:r})]});return ni.push(s),s.id}function xre(t,e){let r=Fe.define({id:ni.length,name:"Document",props:[zr.add(()=>t),gn.add(()=>n=>e.getIndent(n))],top:!0});return ni.push(r),r}Ie.RTL,Ie.LTR;const Tre=t=>{let{state:e}=t,r=e.doc.lineAt(e.selection.main.from),n=uh(t.state,r.from);return n.line?Ere(t):n.block?Cre(t):!1};function ch(t,e){return({state:r,dispatch:n})=>{if(r.readOnly)return!1;let a=t(e,r);return a?(n(r.update(a)),!0):!1}}const Ere=ch(Dre,0),Are=ch(vy,0),Cre=ch((t,e)=>vy(t,e,vre(e)),0);function uh(t,e){let r=t.languageDataAt("commentTokens",e,1);return r.length?r[0]:{}}const ma=50;function Pre(t,{open:e,close:r},n,a){let i=t.sliceDoc(n-ma,n),s=t.sliceDoc(a,a+ma),o=/\s*$/.exec(i)[0].length,l=/^\s*/.exec(s)[0].length,c=i.length-o;if(i.slice(c-e.length,c)==e&&s.slice(l,l+r.length)==r)return{open:{pos:n-o,margin:o&&1},close:{pos:a+l,margin:l&&1}};let u,h;a-n<=2*ma?u=h=t.sliceDoc(n,a):(u=t.sliceDoc(n,n+ma),h=t.sliceDoc(a-ma,a));let f=/^\s*/.exec(u)[0].length,d=/\s*$/.exec(h)[0].length,g=h.length-d-r.length;return u.slice(f,f+e.length)==e&&h.slice(g,g+r.length)==r?{open:{pos:n+f+e.length,margin:/\s/.test(u.charAt(f+e.length))?1:0},close:{pos:a-d-r.length,margin:/\s/.test(h.charAt(g-1))?1:0}}:null}function vre(t){let e=[];for(let r of t.selection.ranges){let n=t.doc.lineAt(r.from),a=r.to<=n.to?n:t.doc.lineAt(r.to);a.from>n.from&&a.from==r.to&&(a=r.to==n.to+1?n:t.doc.lineAt(r.to-1));let i=e.length-1;i>=0&&e[i].to>n.from?e[i].to=a.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:a.to})}return e}function vy(t,e,r=e.selection.ranges){let n=r.map(i=>uh(e,i.from).block);if(!n.every(i=>i))return null;let a=r.map((i,s)=>Pre(e,n[s],i.from,i.to));if(t!=2&&!a.every(i=>i))return{changes:e.changes(r.map((i,s)=>a[s]?[]:[{from:i.from,insert:n[s].open+" "},{from:i.to,insert:" "+n[s].close}]))};if(t!=1&&a.some(i=>i)){let i=[];for(let s=0,o;s<a.length;s++)if(o=a[s]){let l=n[s],{open:c,close:u}=o;i.push({from:c.pos-l.open.length,to:c.pos+c.margin},{from:u.pos-u.margin,to:u.pos+l.close.length})}return{changes:i}}return null}function Dre(t,e,r=e.selection.ranges){let n=[],a=-1;e:for(let{from:i,to:s}of r){let o=n.length,l=1e9,c;for(let u=i;u<=s;){let h=e.doc.lineAt(u);if(c==null&&(c=uh(e,h.from).line,!c))continue e;if(h.from>a&&(i==s||s>h.from)){a=h.from;let f=/^\s*/.exec(h.text)[0].length,d=f==h.length,g=h.text.slice(f,f+c.length)==c?f:-1;f<h.text.length&&f<l&&(l=f),n.push({line:h,comment:g,token:c,indent:f,empty:d,single:!1})}u=h.to+1}if(l<1e9)for(let u=o;u<n.length;u++)n[u].indent<n[u].line.text.length&&(n[u].indent=l);n.length==o+1&&(n[o].single=!0)}if(t!=2&&n.some(i=>i.comment<0&&(!i.empty||i.single))){let i=[];for(let{line:o,token:l,indent:c,empty:u,single:h}of n)(h||!u)&&i.push({from:o.from+c,insert:l+" "});let s=e.changes(i);return{changes:s,selection:e.selection.map(s,1)}}else if(t!=1&&n.some(i=>i.comment>=0)){let i=[];for(let{line:s,comment:o,token:l}of n)if(o>=0){let c=s.from+o,u=c+l.length;s.text[u-s.from]==" "&&u++,i.push({from:c,to:u})}return{changes:i}}return null}const Uc=_r.define(),Qre=_r.define(),zre=se.define(),Dy=se.define({combine(t){return p0(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,r)=>r},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,r)=>(n,a)=>e(n,a)||r(n,a)})}}),Qy=sr.define({create(){return nr.empty},update(t,e){let r=e.state.facet(Dy),n=e.annotation(Uc);if(n){let l=ut.fromTransaction(e,n.selection),c=n.side,u=c==0?t.undone:t.done;return l?u=Fs(u,u.length,r.minDepth,l):u=Iy(u,e.startState.selection),new nr(c==0?n.rest:u,c==0?u:n.rest)}let a=e.annotation(Qre);if((a=="full"||a=="before")&&(t=t.isolate()),e.annotation(Me.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let i=ut.fromTransaction(e),s=e.annotation(Me.time),o=e.annotation(Me.userEvent);return i?t=t.addChanges(i,s,o,r,e):e.selection&&(t=t.addSelection(e.startState.selection,s,o,r.newGroupDelay)),(a=="full"||a=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new nr(t.done.map(ut.fromJSON),t.undone.map(ut.fromJSON))}});function Ire(t={}){return[Qy,Dy.of(t),ae.domEventHandlers({beforeinput(e,r){let n=e.inputType=="historyUndo"?hh:e.inputType=="historyRedo"?Ms:null;return n?(e.preventDefault(),n(r)):!1}})]}function bo(t,e){return function({state:r,dispatch:n}){if(!e&&r.readOnly)return!1;let a=r.field(Qy,!1);if(!a)return!1;let i=a.pop(t,r,e);return i?(n(i),!0):!1}}const hh=bo(0,!1),Ms=bo(1,!1),Lre=bo(0,!0),Rre=bo(1,!0);class ut{constructor(e,r,n,a,i){this.changes=e,this.effects=r,this.mapped=n,this.startSelection=a,this.selectionsAfter=i}setSelAfter(e){return new ut(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,r,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(r=this.mapped)===null||r===void 0?void 0:r.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(a=>a.toJSON())}}static fromJSON(e){return new ut(e.changes&&Be.fromJSON(e.changes),[],e.mapped&&ar.fromJSON(e.mapped),e.startSelection&&q.fromJSON(e.startSelection),e.selectionsAfter.map(q.fromJSON))}static fromTransaction(e,r){let n=Dt;for(let a of e.startState.facet(zre)){let i=a(e);i.length&&(n=n.concat(i))}return!n.length&&e.changes.empty?null:new ut(e.changes.invert(e.startState.doc),n,void 0,r||e.startState.selection,Dt)}static selection(e){return new ut(void 0,Dt,void 0,void 0,e)}}function Fs(t,e,r,n){let a=e+1>r+20?e-r-1:0,i=t.slice(a,e);return i.push(n),i}function Nre(t,e){let r=[],n=!1;return t.iterChangedRanges((a,i)=>r.push(a,i)),e.iterChangedRanges((a,i,s,o)=>{for(let l=0;l<r.length;){let c=r[l++],u=r[l++];o>=c&&s<=u&&(n=!0)}}),n}function $re(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((r,n)=>r.empty!=e.ranges[n].empty).length===0}function zy(t,e){return t.length?e.length?t.concat(e):t:e}const Dt=[],Mre=200;function Iy(t,e){if(t.length){let r=t[t.length-1],n=r.selectionsAfter.slice(Math.max(0,r.selectionsAfter.length-Mre));return n.length&&n[n.length-1].eq(e)?t:(n.push(e),Fs(t,t.length-1,1e9,r.setSelAfter(n)))}else return[ut.selection([e])]}function Fre(t){let e=t[t.length-1],r=t.slice();return r[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),r}function xl(t,e){if(!t.length)return t;let r=t.length,n=Dt;for(;r;){let a=Bre(t[r-1],e,n);if(a.changes&&!a.changes.empty||a.effects.length){let i=t.slice(0,r);return i[r-1]=a,i}else e=a.mapped,r--,n=a.selectionsAfter}return n.length?[ut.selection(n)]:Dt}function Bre(t,e,r){let n=zy(t.selectionsAfter.length?t.selectionsAfter.map(o=>o.map(e)):Dt,r);if(!t.changes)return ut.selection(n);let a=t.changes.map(e),i=e.mapDesc(t.changes,!0),s=t.mapped?t.mapped.composeDesc(i):i;return new ut(a,De.mapEffects(t.effects,e),s,t.startSelection.map(i),n)}const qre=/^(input\.type|delete)($|\.)/;class nr{constructor(e,r,n=0,a=void 0){this.done=e,this.undone=r,this.prevTime=n,this.prevUserEvent=a}isolate(){return this.prevTime?new nr(this.done,this.undone):this}addChanges(e,r,n,a,i){let s=this.done,o=s[s.length-1];return o&&o.changes&&!o.changes.empty&&e.changes&&(!n||qre.test(n))&&(!o.selectionsAfter.length&&r-this.prevTime<a.newGroupDelay&&a.joinToEvent(i,Nre(o.changes,e.changes))||n=="input.type.compose")?s=Fs(s,s.length-1,a.minDepth,new ut(e.changes.compose(o.changes),zy(De.mapEffects(e.effects,o.changes),o.effects),o.mapped,o.startSelection,Dt)):s=Fs(s,s.length,a.minDepth,e),new nr(s,Dt,r,n)}addSelection(e,r,n,a){let i=this.done.length?this.done[this.done.length-1].selectionsAfter:Dt;return i.length>0&&r-this.prevTime<a&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&$re(i[i.length-1],e)?this:new nr(Iy(this.done,e),this.undone,r,n)}addMapping(e){return new nr(xl(this.done,e),xl(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,r,n){let a=e==0?this.done:this.undone;if(a.length==0)return null;let i=a[a.length-1],s=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):r.selection);if(n&&i.selectionsAfter.length)return r.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:Uc.of({side:e,rest:Fre(a),selection:s}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){let o=a.length==1?Dt:a.slice(0,a.length-1);return i.mapped&&(o=xl(o,i.mapped)),r.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:Uc.of({side:e,rest:o,selection:s}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}}nr.empty=new nr(Dt,Dt);const Xre=[{key:"Mod-z",run:hh,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Ms,preventDefault:!0},{linux:"Ctrl-Shift-z",run:Ms,preventDefault:!0},{key:"Mod-u",run:Lre,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:Rre,preventDefault:!0}];function ra(t,e){return q.create(t.ranges.map(e),t.mainIndex)}function qt(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function Xt({state:t,dispatch:e},r){let n=ra(t.selection,r);return n.eq(t.selection,!0)?!1:(e(qt(t,n)),!0)}function _o(t,e){return q.cursor(e?t.to:t.from)}function Ly(t,e){return Xt(t,r=>r.empty?t.moveByChar(r,e):_o(r,e))}function tt(t){return t.textDirectionAt(t.state.selection.main.head)==Ie.LTR}const Ry=t=>Ly(t,!tt(t)),Ny=t=>Ly(t,tt(t));function $y(t,e){return Xt(t,r=>r.empty?t.moveByGroup(r,e):_o(r,e))}const jre=t=>$y(t,!tt(t)),Zre=t=>$y(t,tt(t));function Ure(t,e,r){if(e.type.prop(r))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function wo(t,e,r){let n=ve(t).resolveInner(e.head),a=r?oe.closedBy:oe.openedBy;for(let l=e.head;;){let c=r?n.childAfter(l):n.childBefore(l);if(!c)break;Ure(t,c,a)?n=c:l=r?c.to:c.from}let i=n.type.prop(a),s,o;return i&&(s=r?xn(t,n.from,1):xn(t,n.to,-1))&&s.matched?o=r?s.end.to:s.end.from:o=r?n.to:n.from,q.cursor(o,r?-1:1)}const Yre=t=>Xt(t,e=>wo(t.state,e,!tt(t))),Hre=t=>Xt(t,e=>wo(t.state,e,tt(t)));function My(t,e){return Xt(t,r=>{if(!r.empty)return _o(r,e);let n=t.moveVertically(r,e);return n.head!=r.head?n:t.moveToLineBoundary(r,e)})}const Fy=t=>My(t,!1),By=t=>My(t,!0);function qy(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,r=0,n=0,a;if(e){for(let i of t.state.facet(ae.scrollMargins)){let s=i(t);s!=null&&s.top&&(r=Math.max(s==null?void 0:s.top,r)),s!=null&&s.bottom&&(n=Math.max(s==null?void 0:s.bottom,n))}a=t.scrollDOM.clientHeight-r-n}else a=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:r,marginBottom:n,selfScroll:e,height:Math.max(t.defaultLineHeight,a-5)}}function Xy(t,e){let r=qy(t),{state:n}=t,a=ra(n.selection,s=>s.empty?t.moveVertically(s,e,r.height):_o(s,e));if(a.eq(n.selection))return!1;let i;if(r.selfScroll){let s=t.coordsAtPos(n.selection.main.head),o=t.scrollDOM.getBoundingClientRect(),l=o.top+r.marginTop,c=o.bottom-r.marginBottom;s&&s.top>l&&s.bottom<c&&(i=ae.scrollIntoView(a.main.head,{y:"start",yMargin:s.top-l}))}return t.dispatch(qt(n,a),{effects:i}),!0}const xp=t=>Xy(t,!1),Yc=t=>Xy(t,!0);function qr(t,e,r){let n=t.lineBlockAt(e.head),a=t.moveToLineBoundary(e,r);if(a.head==e.head&&a.head!=(r?n.to:n.from)&&(a=t.moveToLineBoundary(e,r,!1)),!r&&a.head==n.from&&n.length){let i=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;i&&e.head!=n.from+i&&(a=q.cursor(n.from+i))}return a}const Vre=t=>Xt(t,e=>qr(t,e,!0)),Wre=t=>Xt(t,e=>qr(t,e,!1)),Gre=t=>Xt(t,e=>qr(t,e,!tt(t))),Kre=t=>Xt(t,e=>qr(t,e,tt(t))),Jre=t=>Xt(t,e=>q.cursor(t.lineBlockAt(e.head).from,1)),ene=t=>Xt(t,e=>q.cursor(t.lineBlockAt(e.head).to,-1));function tne(t,e,r){let n=!1,a=ra(t.selection,i=>{let s=xn(t,i.head,-1)||xn(t,i.head,1)||i.head>0&&xn(t,i.head-1,1)||i.head<t.doc.length&&xn(t,i.head+1,-1);if(!s||!s.end)return i;n=!0;let o=s.start.from==i.head?s.end.to:s.end.from;return q.cursor(o)});return n?(e(qt(t,a)),!0):!1}const rne=({state:t,dispatch:e})=>tne(t,e);function Qt(t,e){let r=ra(t.state.selection,n=>{let a=e(n);return q.range(n.anchor,a.head,a.goalColumn,a.bidiLevel||void 0)});return r.eq(t.state.selection)?!1:(t.dispatch(qt(t.state,r)),!0)}function jy(t,e){return Qt(t,r=>t.moveByChar(r,e))}const Zy=t=>jy(t,!tt(t)),Uy=t=>jy(t,tt(t));function Yy(t,e){return Qt(t,r=>t.moveByGroup(r,e))}const nne=t=>Yy(t,!tt(t)),ane=t=>Yy(t,tt(t)),ine=t=>Qt(t,e=>wo(t.state,e,!tt(t))),sne=t=>Qt(t,e=>wo(t.state,e,tt(t)));function Hy(t,e){return Qt(t,r=>t.moveVertically(r,e))}const Vy=t=>Hy(t,!1),Wy=t=>Hy(t,!0);function Gy(t,e){return Qt(t,r=>t.moveVertically(r,e,qy(t).height))}const Tp=t=>Gy(t,!1),Ep=t=>Gy(t,!0),one=t=>Qt(t,e=>qr(t,e,!0)),lne=t=>Qt(t,e=>qr(t,e,!1)),cne=t=>Qt(t,e=>qr(t,e,!tt(t))),une=t=>Qt(t,e=>qr(t,e,tt(t))),hne=t=>Qt(t,e=>q.cursor(t.lineBlockAt(e.head).from)),fne=t=>Qt(t,e=>q.cursor(t.lineBlockAt(e.head).to)),Ap=({state:t,dispatch:e})=>(e(qt(t,{anchor:0})),!0),Cp=({state:t,dispatch:e})=>(e(qt(t,{anchor:t.doc.length})),!0),Pp=({state:t,dispatch:e})=>(e(qt(t,{anchor:t.selection.main.anchor,head:0})),!0),vp=({state:t,dispatch:e})=>(e(qt(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),dne=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),pne=({state:t,dispatch:e})=>{let r=So(t).map(({from:n,to:a})=>q.range(n,Math.min(a+1,t.doc.length)));return e(t.update({selection:q.create(r),userEvent:"select"})),!0},mne=({state:t,dispatch:e})=>{let r=ra(t.selection,n=>{let a=ve(t),i=a.resolveStack(n.from,1);if(n.empty){let s=a.resolveStack(n.from,-1);s.node.from>=i.node.from&&s.node.to<=i.node.to&&(i=s)}for(let s=i;s;s=s.next){let{node:o}=s;if((o.from<n.from&&o.to>=n.to||o.to>n.to&&o.from<=n.from)&&s.next)return q.range(o.to,o.from)}return n});return r.eq(t.selection)?!1:(e(qt(t,r)),!0)};function Ky(t,e){let{state:r}=t,n=r.selection,a=r.selection.ranges.slice();for(let i of r.selection.ranges){let s=r.doc.lineAt(i.head);if(e?s.to<t.state.doc.length:s.from>0)for(let o=i;;){let l=t.moveVertically(o,e);if(l.head<s.from||l.head>s.to){a.some(c=>c.head==l.head)||a.push(l);break}else{if(l.head==o.head)break;o=l}}}return a.length==n.ranges.length?!1:(t.dispatch(qt(r,q.create(a,a.length-1))),!0)}const gne=t=>Ky(t,!1),One=t=>Ky(t,!0),yne=({state:t,dispatch:e})=>{let r=t.selection,n=null;return r.ranges.length>1?n=q.create([r.main]):r.main.empty||(n=q.create([q.cursor(r.main.head)])),n?(e(qt(t,n)),!0):!1};function Ci(t,e){if(t.state.readOnly)return!1;let r="delete.selection",{state:n}=t,a=n.changeByRange(i=>{let{from:s,to:o}=i;if(s==o){let l=e(i);l<s?(r="delete.backward",l=ns(t,l,!1)):l>s&&(r="delete.forward",l=ns(t,l,!0)),s=Math.min(s,l),o=Math.max(o,l)}else s=ns(t,s,!1),o=ns(t,o,!0);return s==o?{range:i}:{changes:{from:s,to:o},range:q.cursor(s,s<i.head?-1:1)}});return a.changes.empty?!1:(t.dispatch(n.update(a,{scrollIntoView:!0,userEvent:r,effects:r=="delete.selection"?ae.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function ns(t,e,r){if(t instanceof ae)for(let n of t.state.facet(ae.atomicRanges).map(a=>a(t)))n.between(e,e,(a,i)=>{a<e&&i>e&&(e=r?i:a)});return e}const Jy=(t,e,r)=>Ci(t,n=>{let a=n.from,{state:i}=t,s=i.doc.lineAt(a),o,l;if(r&&!e&&a>s.from&&a<s.from+200&&!/[^ \t]/.test(o=s.text.slice(0,a-s.from))){if(o[o.length-1]==" ")return a-1;let c=gr(o,i.tabSize),u=c%un(i)||un(i);for(let h=0;h<u&&o[o.length-1-h]==" ";h++)a--;l=a}else l=Ke(s.text,a-s.from,e,e)+s.from,l==a&&s.number!=(e?i.doc.lines:1)?l+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(s.text.slice(l-s.from,a-s.from))&&(l=Ke(s.text,l-s.from,!1,!1)+s.from);return l}),Hc=t=>Jy(t,!1,!0),ek=t=>Jy(t,!0,!1),tk=(t,e)=>Ci(t,r=>{let n=r.head,{state:a}=t,i=a.doc.lineAt(n),s=a.charCategorizer(n);for(let o=null;;){if(n==(e?i.to:i.from)){n==r.head&&i.number!=(e?a.doc.lines:1)&&(n+=e?1:-1);break}let l=Ke(i.text,n-i.from,e)+i.from,c=i.text.slice(Math.min(n,l)-i.from,Math.max(n,l)-i.from),u=s(c);if(o!=null&&u!=o)break;(c!=" "||n!=r.head)&&(o=u),n=l}return n}),rk=t=>tk(t,!1),kne=t=>tk(t,!0),bne=t=>Ci(t,e=>{let r=t.lineBlockAt(e.head).to;return e.head<r?r:Math.min(t.state.doc.length,e.head+1)}),_ne=t=>Ci(t,e=>{let r=t.moveToLineBoundary(e,!1).head;return e.head>r?r:Math.max(0,e.head-1)}),wne=t=>Ci(t,e=>{let r=t.moveToLineBoundary(e,!0).head;return e.head<r?r:Math.min(t.state.doc.length,e.head+1)}),Sne=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:_e.of(["",""])},range:q.cursor(n.from)}));return e(t.update(r,{scrollIntoView:!0,userEvent:"input"})),!0},xne=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{if(!n.empty||n.from==0||n.from==t.doc.length)return{range:n};let a=n.from,i=t.doc.lineAt(a),s=a==i.from?a-1:Ke(i.text,a-i.from,!1)+i.from,o=a==i.to?a+1:Ke(i.text,a-i.from,!0)+i.from;return{changes:{from:s,to:o,insert:t.doc.slice(a,o).append(t.doc.slice(s,a))},range:q.cursor(o)}});return r.changes.empty?!1:(e(t.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function So(t){let e=[],r=-1;for(let n of t.selection.ranges){let a=t.doc.lineAt(n.from),i=t.doc.lineAt(n.to);if(!n.empty&&n.to==i.from&&(i=t.doc.lineAt(n.to-1)),r>=a.number){let s=e[e.length-1];s.to=i.to,s.ranges.push(n)}else e.push({from:a.from,to:i.to,ranges:[n]});r=i.number+1}return e}function nk(t,e,r){if(t.readOnly)return!1;let n=[],a=[];for(let i of So(t)){if(r?i.to==t.doc.length:i.from==0)continue;let s=t.doc.lineAt(r?i.to+1:i.from-1),o=s.length+1;if(r){n.push({from:i.to,to:s.to},{from:i.from,insert:s.text+t.lineBreak});for(let l of i.ranges)a.push(q.range(Math.min(t.doc.length,l.anchor+o),Math.min(t.doc.length,l.head+o)))}else{n.push({from:s.from,to:i.from},{from:i.to,insert:t.lineBreak+s.text});for(let l of i.ranges)a.push(q.range(l.anchor-o,l.head-o))}}return n.length?(e(t.update({changes:n,scrollIntoView:!0,selection:q.create(a,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const Tne=({state:t,dispatch:e})=>nk(t,e,!1),Ene=({state:t,dispatch:e})=>nk(t,e,!0);function ak(t,e,r){if(t.readOnly)return!1;let n=[];for(let i of So(t))r?n.push({from:i.from,insert:t.doc.slice(i.from,i.to)+t.lineBreak}):n.push({from:i.to,insert:t.lineBreak+t.doc.slice(i.from,i.to)});let a=t.changes(n);return e(t.update({changes:a,selection:t.selection.map(a,r?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Ane=({state:t,dispatch:e})=>ak(t,e,!1),Cne=({state:t,dispatch:e})=>ak(t,e,!0),Pne=t=>{if(t.state.readOnly)return!1;let{state:e}=t,r=e.changes(So(e).map(({from:a,to:i})=>(a>0?a--:i<e.doc.length&&i++,{from:a,to:i}))),n=ra(e.selection,a=>{let i;if(t.lineWrapping){let s=t.lineBlockAt(a.head),o=t.coordsAtPos(a.head,a.assoc||1);o&&(i=s.bottom+t.documentTop-o.bottom+t.defaultLineHeight/2)}return t.moveVertically(a,!0,i)}).map(r);return t.dispatch({changes:r,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function vne(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let r=ve(t).resolveInner(e),n=r.childBefore(e),a=r.childAfter(e),i;return n&&a&&n.to<=e&&a.from>=e&&(i=n.type.prop(oe.closedBy))&&i.indexOf(a.name)>-1&&t.doc.lineAt(n.to).from==t.doc.lineAt(a.from).from&&!/\S/.test(t.sliceDoc(n.to,a.from))?{from:n.to,to:a.from}:null}const Dp=ik(!1),Dne=ik(!0);function ik(t){return({state:e,dispatch:r})=>{if(e.readOnly)return!1;let n=e.changeByRange(a=>{let{from:i,to:s}=a,o=e.doc.lineAt(i),l=!t&&i==s&&vne(e,i);t&&(i=s=(s<=o.to?o:e.doc.lineAt(s)).to);let c=new yo(e,{simulateBreak:i,simulateDoubleBreak:!!l}),u=ky(c,i);for(u==null&&(u=gr(/^\s*/.exec(e.doc.lineAt(i).text)[0],e.tabSize));s<o.to&&/\s/.test(o.text[s-o.from]);)s++;l?{from:i,to:s}=l:i>o.from&&i<o.from+100&&!/\S/.test(o.text.slice(0,i))&&(i=o.from);let h=["",$s(e,u)];return l&&h.push($s(e,c.lineIndent(o.from,-1))),{changes:{from:i,to:s,insert:_e.of(h)},range:q.cursor(i+1+h[1].length)}});return r(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}}function fh(t,e){let r=-1;return t.changeByRange(n=>{let a=[];for(let s=n.from;s<=n.to;){let o=t.doc.lineAt(s);o.number>r&&(n.empty||n.to>o.from)&&(e(o,a,n),r=o.number),s=o.to+1}let i=t.changes(a);return{changes:a,range:q.range(i.mapPos(n.anchor,1),i.mapPos(n.head,1))}})}const Qne=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=Object.create(null),n=new yo(t,{overrideIndentation:i=>{let s=r[i];return s??-1}}),a=fh(t,(i,s,o)=>{let l=ky(n,i.from);if(l==null)return;/\S/.test(i.text)||(l=0);let c=/^\s*/.exec(i.text)[0],u=$s(t,l);(c!=u||o.from<i.from+c.length)&&(r[i.from]=l,s.push({from:i.from,to:i.from+c.length,insert:u}))});return a.changes.empty||e(t.update(a,{userEvent:"indent"})),!0},zne=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(fh(t,(r,n)=>{n.push({from:r.from,insert:t.facet(Ai)})}),{userEvent:"input.indent"})),!0),Ine=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(fh(t,(r,n)=>{let a=/^\s*/.exec(r.text)[0];if(!a)return;let i=gr(a,t.tabSize),s=0,o=$s(t,Math.max(0,i-un(t)));for(;s<a.length&&s<o.length&&a.charCodeAt(s)==o.charCodeAt(s);)s++;n.push({from:r.from+s,to:r.from+a.length,insert:o.slice(s)})}),{userEvent:"delete.dedent"})),!0),Lne=t=>(t.setTabFocusMode(),!0),Rne=[{key:"Ctrl-b",run:Ry,shift:Zy,preventDefault:!0},{key:"Ctrl-f",run:Ny,shift:Uy},{key:"Ctrl-p",run:Fy,shift:Vy},{key:"Ctrl-n",run:By,shift:Wy},{key:"Ctrl-a",run:Jre,shift:hne},{key:"Ctrl-e",run:ene,shift:fne},{key:"Ctrl-d",run:ek},{key:"Ctrl-h",run:Hc},{key:"Ctrl-k",run:bne},{key:"Ctrl-Alt-h",run:rk},{key:"Ctrl-o",run:Sne},{key:"Ctrl-t",run:xne},{key:"Ctrl-v",run:Yc}],Nne=[{key:"ArrowLeft",run:Ry,shift:Zy,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:jre,shift:nne,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:Gre,shift:cne,preventDefault:!0},{key:"ArrowRight",run:Ny,shift:Uy,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:Zre,shift:ane,preventDefault:!0},{mac:"Cmd-ArrowRight",run:Kre,shift:une,preventDefault:!0},{key:"ArrowUp",run:Fy,shift:Vy,preventDefault:!0},{mac:"Cmd-ArrowUp",run:Ap,shift:Pp},{mac:"Ctrl-ArrowUp",run:xp,shift:Tp},{key:"ArrowDown",run:By,shift:Wy,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Cp,shift:vp},{mac:"Ctrl-ArrowDown",run:Yc,shift:Ep},{key:"PageUp",run:xp,shift:Tp},{key:"PageDown",run:Yc,shift:Ep},{key:"Home",run:Wre,shift:lne,preventDefault:!0},{key:"Mod-Home",run:Ap,shift:Pp},{key:"End",run:Vre,shift:one,preventDefault:!0},{key:"Mod-End",run:Cp,shift:vp},{key:"Enter",run:Dp,shift:Dp},{key:"Mod-a",run:dne},{key:"Backspace",run:Hc,shift:Hc,preventDefault:!0},{key:"Delete",run:ek,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:rk,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:kne,preventDefault:!0},{mac:"Mod-Backspace",run:_ne,preventDefault:!0},{mac:"Mod-Delete",run:wne,preventDefault:!0}].concat(Rne.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),$ne=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Yre,shift:ine},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Hre,shift:sne},{key:"Alt-ArrowUp",run:Tne},{key:"Shift-Alt-ArrowUp",run:Ane},{key:"Alt-ArrowDown",run:Ene},{key:"Shift-Alt-ArrowDown",run:Cne},{key:"Mod-Alt-ArrowUp",run:gne},{key:"Mod-Alt-ArrowDown",run:One},{key:"Escape",run:yne},{key:"Mod-Enter",run:Dne},{key:"Alt-l",mac:"Ctrl-l",run:pne},{key:"Mod-i",run:mne,preventDefault:!0},{key:"Mod-[",run:Ine},{key:"Mod-]",run:zne},{key:"Mod-Alt-\\",run:Qne},{key:"Shift-Mod-k",run:Pne},{key:"Shift-Mod-\\",run:rne},{key:"Mod-/",run:Tre},{key:"Alt-A",run:Are},{key:"Ctrl-m",mac:"Shift-Alt-m",run:Lne}].concat(Nne);class Mne{constructor(e,r,n,a){this.state=e,this.pos=r,this.explicit=n,this.view=a,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let r=ve(this.state).resolveInner(this.pos,-1);for(;r&&e.indexOf(r.name)<0;)r=r.parent;return r?{from:r.from,to:this.pos,text:this.state.sliceDoc(r.from,this.pos),type:r.type}:null}matchBefore(e){let r=this.state.doc.lineAt(this.pos),n=Math.max(r.from,this.pos-250),a=r.text.slice(n-r.from,this.pos-r.from),i=a.search(Bne(e));return i<0?null:{from:n+i,to:this.pos,text:a.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(e,r,n){e=="abort"&&this.abortListeners&&(this.abortListeners.push(r),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function Qp(t){let e=Object.keys(t).join(""),r=/\w/.test(e);return r&&(e=e.replace(/\w/g,"")),`[${r?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function Fne(t){let e=Object.create(null),r=Object.create(null);for(let{label:a}of t){e[a[0]]=!0;for(let i=1;i<a.length;i++)r[a[i]]=!0}let n=Qp(e)+Qp(r)+"*$";return[new RegExp("^"+n),new RegExp(n)]}function sk(t){let e=t.map(a=>typeof a=="string"?{label:a}:a),[r,n]=e.every(a=>/^\w+$/.test(a.label))?[/\w*$/,/\w+$/]:Fne(e);return a=>{let i=a.matchBefore(n);return i||a.explicit?{from:i?i.from:a.pos,options:e,validFor:r}:null}}function ok(t,e){return r=>{for(let n=ve(r.state).resolveInner(r.pos,-1);n;n=n.parent){if(t.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(r)}}function Bne(t,e){var r;let{source:n}=t,a=n[n.length-1]!="$";return a?new RegExp(`(?:${n})${a?"$":""}`,(r=t.flags)!==null&&r!==void 0?r:t.ignoreCase?"i":""):t}const qne=_r.define(),Xne=ae.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class jne{constructor(e,r,n,a){this.field=e,this.line=r,this.from=n,this.to=a}}class dh{constructor(e,r,n){this.field=e,this.from=r,this.to=n}map(e){let r=e.mapPos(this.from,-1,Ge.TrackDel),n=e.mapPos(this.to,1,Ge.TrackDel);return r==null||n==null?null:new dh(this.field,r,n)}}class ph{constructor(e,r){this.lines=e,this.fieldPositions=r}instantiate(e,r){let n=[],a=[r],i=e.doc.lineAt(r),s=/^\s*/.exec(i.text)[0];for(let l of this.lines){if(n.length){let c=s,u=/^\t*/.exec(l)[0].length;for(let h=0;h<u;h++)c+=e.facet(Ai);a.push(r+c.length-u),l=c+l.slice(u)}n.push(l),r+=l.length+1}let o=this.fieldPositions.map(l=>new dh(l.field,a[l.line]+l.from,a[l.line]+l.to));return{text:n,ranges:o}}static parse(e){let r=[],n=[],a=[],i;for(let s of e.split(/\r\n?|\n/)){for(;i=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(s);){let o=i[1]?+i[1]:null,l=i[2]||i[3]||"",c=-1,u=l.replace(/\\[{}]/g,h=>h[1]);for(let h=0;h<r.length;h++)(o!=null?r[h].seq==o:u&&r[h].name==u)&&(c=h);if(c<0){let h=0;for(;h<r.length&&(o==null||r[h].seq!=null&&r[h].seq<o);)h++;r.splice(h,0,{seq:o,name:u}),c=h;for(let f of a)f.field>=c&&f.field++}for(let h of a)if(h.line==n.length&&h.from>i.index){let f=i[2]?3+(i[1]||"").length:2;h.from-=f,h.to-=f}a.push(new jne(c,n.length,i.index,i.index+u.length)),s=s.slice(0,i.index)+l+s.slice(i.index+i[0].length)}s=s.replace(/\\([{}])/g,(o,l,c)=>{for(let u of a)u.line==n.length&&u.from>c&&(u.from--,u.to--);return l}),n.push(s)}return new ph(n,a)}}let Zne=ze.widget({widget:new class extends wi{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),Une=ze.mark({class:"cm-snippetField"});class na{constructor(e,r){this.ranges=e,this.active=r,this.deco=ze.set(e.map(n=>(n.from==n.to?Zne:Une).range(n.from,n.to)),!0)}map(e){let r=[];for(let n of this.ranges){let a=n.map(e);if(!a)return null;r.push(a)}return new na(r,this.active)}selectionInsideField(e){return e.ranges.every(r=>this.ranges.some(n=>n.field==this.active&&n.from<=r.from&&n.to>=r.to))}}const Pi=De.define({map(t,e){return t&&t.map(e)}}),Yne=De.define(),ai=sr.define({create(){return null},update(t,e){for(let r of e.effects){if(r.is(Pi))return r.value;if(r.is(Yne)&&t)return new na(t.ranges,r.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>ae.decorations.from(t,e=>e?e.deco:ze.none)});function mh(t,e){return q.create(t.filter(r=>r.field==e).map(r=>q.range(r.from,r.to)))}function Hne(t){let e=ph.parse(t);return(r,n,a,i)=>{let{text:s,ranges:o}=e.instantiate(r.state,a),{main:l}=r.state.selection,c={changes:{from:a,to:i==l.from?l.to:i,insert:_e.of(s)},scrollIntoView:!0,annotations:n?[qne.of(n),Me.userEvent.of("input.complete")]:void 0};if(o.length&&(c.selection=mh(o,0)),o.some(u=>u.field>0)){let u=new na(o,0),h=c.effects=[Pi.of(u)];r.state.field(ai,!1)===void 0&&h.push(De.appendConfig.of([ai,Jne,eae,Xne]))}r.dispatch(r.state.update(c))}}function lk(t){return({state:e,dispatch:r})=>{let n=e.field(ai,!1);if(!n||t<0&&n.active==0)return!1;let a=n.active+t,i=t>0&&!n.ranges.some(s=>s.field==a+t);return r(e.update({selection:mh(n.ranges,a),effects:Pi.of(i?null:new na(n.ranges,a)),scrollIntoView:!0})),!0}}const Vne=({state:t,dispatch:e})=>t.field(ai,!1)?(e(t.update({effects:Pi.of(null)})),!0):!1,Wne=lk(1),Gne=lk(-1),Kne=[{key:"Tab",run:Wne,shift:Gne},{key:"Escape",run:Vne}],zp=se.define({combine(t){return t.length?t[0]:Kne}}),Jne=Jn.highest(mo.compute([zp],t=>t.facet(zp)));function rt(t,e){return{...e,apply:Hne(t)}}const eae=ae.domEventHandlers({mousedown(t,e){let r=e.state.field(ai,!1),n;if(!r||(n=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let a=r.ranges.find(i=>i.from<=n&&i.to>=n);return!a||a.field==r.active?!1:(e.dispatch({selection:mh(r.ranges,a.field),effects:Pi.of(r.ranges.some(i=>i.field>a.field)?new na(r.ranges,a.field):null),scrollIntoView:!0}),!0)}}),Bs={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},en=De.define({map(t,e){let r=e.mapPos(t,-1,Ge.TrackAfter);return r??void 0}}),gh=new class extends Lr{};gh.startSide=1;gh.endSide=-1;const ck=sr.define({create(){return Te.empty},update(t,e){if(t=t.map(e.changes),e.selection){let r=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:n=>n>=r.from&&n<=r.to})}for(let r of e.effects)r.is(en)&&(t=t.update({add:[gh.range(r.value,r.value+1)]}));return t}});function tae(){return[iae,ck]}const Tl="()[]{}<>«»»«[]{}";function rae(t){for(let e=0;e<Tl.length;e+=2)if(Tl.charCodeAt(e)==t)return Tl.charAt(e+1);return OJ(t<128?t:t+1)}function nae(t,e){return t.languageDataAt("closeBrackets",e)[0]||Bs}const aae=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),iae=ae.inputHandler.of((t,e,r,n)=>{if((aae?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let a=t.state.selection.main;if(n.length>2||n.length==2&&Ru(oo(n,0))==1||e!=a.from||r!=a.to)return!1;let i=sae(t.state,n);return i?(t.dispatch(i),!0):!1});function sae(t,e){let r=nae(t,t.selection.main.head),n=r.brackets||Bs.brackets;for(let a of n){let i=rae(oo(a,0));if(e==a)return i==a?cae(t,a,n.indexOf(a+a+a)>-1,r):oae(t,a,i,r.before||Bs.before);if(e==i&&uk(t,t.selection.main.from))return lae(t,a,i)}return null}function uk(t,e){let r=!1;return t.field(ck).between(0,t.doc.length,n=>{n==e&&(r=!0)}),r}function Oh(t,e){let r=t.sliceString(e,e+2);return r.slice(0,Ru(oo(r,0)))}function oae(t,e,r,n){let a=null,i=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:r,from:s.to}],effects:en.of(s.to+e.length),range:q.range(s.anchor+e.length,s.head+e.length)};let o=Oh(t.doc,s.head);return!o||/\s/.test(o)||n.indexOf(o)>-1?{changes:{insert:e+r,from:s.head},effects:en.of(s.head+e.length),range:q.cursor(s.head+e.length)}:{range:a=s}});return a?null:t.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function lae(t,e,r){let n=null,a=t.changeByRange(i=>i.empty&&Oh(t.doc,i.head)==r?{changes:{from:i.head,to:i.head+r.length,insert:r},range:q.cursor(i.head+r.length)}:n={range:i});return n?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function cae(t,e,r,n){let a=n.stringPrefixes||Bs.stringPrefixes,i=null,s=t.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:en.of(o.to+e.length),range:q.range(o.anchor+e.length,o.head+e.length)};let l=o.head,c=Oh(t.doc,l),u;if(c==e){if(Ip(t,l))return{changes:{insert:e+e,from:l},effects:en.of(l+e.length),range:q.cursor(l+e.length)};if(uk(t,l)){let f=r&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+f.length,insert:f},range:q.cursor(l+f.length)}}}else{if(r&&t.sliceDoc(l-2*e.length,l)==e+e&&(u=Lp(t,l-2*e.length,a))>-1&&Ip(t,u))return{changes:{insert:e+e+e+e,from:l},effects:en.of(l+e.length),range:q.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=Ct.Word&&Lp(t,l,a)>-1&&!uae(t,l,e,a))return{changes:{insert:e+e,from:l},effects:en.of(l+e.length),range:q.cursor(l+e.length)}}return{range:i=o}});return i?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function Ip(t,e){let r=ve(t).resolveInner(e+1);return r.parent&&r.from==e}function uae(t,e,r,n){let a=ve(t).resolveInner(e,-1),i=n.reduce((s,o)=>Math.max(s,o.length),0);for(let s=0;s<5;s++){let o=t.sliceDoc(a.from,Math.min(a.to,a.from+r.length+i)),l=o.indexOf(r);if(!l||l>-1&&n.indexOf(o.slice(0,l))>-1){let u=a.firstChild;for(;u&&u.from==a.from&&u.to-u.from>r.length+l;){if(t.sliceDoc(u.to-r.length,u.to)==r)return!1;u=u.firstChild}return!0}let c=a.to==e&&a.parent;if(!c)break;a=c}return!1}function Lp(t,e,r){let n=t.charCategorizer(e);if(n(t.sliceDoc(e-1,e))!=Ct.Word)return e;for(let a of r){let i=e-a.length;if(t.sliceDoc(i,e)==a&&n(t.sliceDoc(i-1,i))!=Ct.Word)return i}return-1}class qs{static create(e,r,n,a,i){let s=a+(a<<8)+e+(r<<4)|0;return new qs(e,r,n,s,i,[],[])}constructor(e,r,n,a,i,s,o){this.type=e,this.value=r,this.from=n,this.hash=a,this.end=i,this.children=s,this.positions=o,this.hashProp=[[oe.contextHash,a]]}addChild(e,r){e.prop(oe.contextHash)!=this.hash&&(e=new ge(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(r)}toTree(e,r=this.end){let n=this.children.length-1;return n>=0&&(r=Math.max(r,this.positions[n]+this.children[n].length+this.from)),new ge(e.types[this.type],this.children,this.positions,r-this.from).balance({makeTree:(a,i,s)=>new ge(Fe.none,a,i,s,this.hashProp)})}}var Y;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(Y||(Y={}));class hae{constructor(e,r){this.start=e,this.content=r,this.marks=[],this.parsers=[]}}class fae{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return Fa(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,r=0,n=0){for(let a=r;a<e;a++)n+=this.text.charCodeAt(a)==9?4-n%4:1;return n}findColumn(e){let r=0;for(let n=0;r<this.text.length&&n<e;r++)n+=this.text.charCodeAt(r)==9?4-n%4:1;return r}scrub(){if(!this.baseIndent)return this.text;let e="";for(let r=0;r<this.basePos;r++)e+=" ";return e+this.text.slice(this.basePos)}}function Rp(t,e,r){if(r.pos==r.text.length||t!=e.block&&r.indent>=e.stack[r.depth+1].value+r.baseIndent)return!0;if(r.indent>=r.baseIndent+4)return!1;let n=(t.type==Y.OrderedList?bh:kh)(r,e,!1);return n>0&&(t.type!=Y.BulletList||yh(r,e,!1)<0)&&r.text.charCodeAt(r.pos+n-1)==t.value}const hk={[Y.Blockquote](t,e,r){return r.next!=62?!1:(r.markers.push(ke(Y.QuoteMark,e.lineStart+r.pos,e.lineStart+r.pos+1)),r.moveBase(r.pos+(zt(r.text.charCodeAt(r.pos+1))?2:1)),t.end=e.lineStart+r.text.length,!0)},[Y.ListItem](t,e,r){return r.indent<r.baseIndent+t.value&&r.next>-1?!1:(r.moveBaseColumn(r.baseIndent+t.value),!0)},[Y.OrderedList]:Rp,[Y.BulletList]:Rp,[Y.Document](){return!0}};function zt(t){return t==32||t==9||t==10||t==13}function Fa(t,e=0){for(;e<t.length&&zt(t.charCodeAt(e));)e++;return e}function Np(t,e,r){for(;e>r&&zt(t.charCodeAt(e-1));)e--;return e}function fk(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;if(e<t.pos+3)return-1;if(t.next==96){for(let r=e;r<t.text.length;r++)if(t.text.charCodeAt(r)==96)return-1}return e}function dk(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function yh(t,e,r){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let n=1;for(let a=t.pos+1;a<t.text.length;a++){let i=t.text.charCodeAt(a);if(i==t.next)n++;else if(!zt(i))return-1}return r&&t.next==45&&gk(t)>-1&&t.depth==e.stack.length&&e.parser.leafBlockParsers.indexOf(bk.SetextHeading)>-1||n<3?-1:1}function pk(t,e){for(let r=t.stack.length-1;r>=0;r--)if(t.stack[r].type==e)return!0;return!1}function kh(t,e,r){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||zt(t.text.charCodeAt(t.pos+1)))&&(!r||pk(e,Y.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function bh(t,e,r){let n=t.pos,a=t.next;for(;a>=48&&a<=57;){n++;if(n==t.text.length)return-1;a=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||a!=46&&a!=41||n<t.text.length-1&&!zt(t.text.charCodeAt(n+1))||r&&!pk(e,Y.OrderedList)&&(t.skipSpace(n+1)==t.text.length||n>t.pos+1||t.next!=49)?-1:n+1-t.pos}function mk(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==35;)e++;if(e<t.text.length&&t.text.charCodeAt(e)!=32)return-1;let r=e-t.pos;return r>6?-1:r}function gk(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;let r=e;for(;e<t.text.length&&zt(t.text.charCodeAt(e));)e++;return e==t.text.length?r:-1}const Vc=/^[ \t]*$/,Ok=/-->/,yk=/\?>/,Wc=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,Ok],[/^\s*<\?/,yk],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?: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)(?:\s|\/?>|$)/i,Vc],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,Vc]];function kk(t,e,r){if(t.next!=60)return-1;let n=t.text.slice(t.pos);for(let a=0,i=Wc.length-(r?1:0);a<i;a++)if(Wc[a][0].test(n))return a;return-1}function $p(t,e){let r=t.countIndent(e,t.pos,t.indent),n=t.countIndent(t.skipSpace(e),e,r);return n>=r+5?r+1:n}function Sr(t,e,r){let n=t.length-1;n>=0&&t[n].to==e&&t[n].type==Y.CodeText?t[n].to=r:t.push(ke(Y.CodeText,e,r))}const as={LinkReference:void 0,IndentedCode(t,e){let r=e.baseIndent+4;if(e.indent<r)return!1;let n=e.findColumn(r),a=t.lineStart+n,i=t.lineStart+e.text.length,s=[],o=[];for(Sr(s,a,i);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){Sr(o,t.lineStart-1,t.lineStart);for(let l of e.markers)o.push(l)}else{if(e.indent<r)break;{if(o.length){for(let c of o)c.type==Y.CodeText?Sr(s,c.from,c.to):s.push(c);o=[]}Sr(s,t.lineStart-1,t.lineStart);for(let c of e.markers)s.push(c);i=t.lineStart+e.text.length;let l=t.lineStart+e.findColumn(e.baseIndent+4);l<i&&Sr(s,l,i)}}return o.length&&(o=o.filter(l=>l.type!=Y.CodeText),o.length&&(e.markers=o.concat(e.markers))),t.addNode(t.buffer.writeElements(s,-a).finish(Y.CodeBlock,i-a),a),!0},FencedCode(t,e){let r=fk(e);if(r<0)return!1;let n=t.lineStart+e.pos,a=e.next,i=r-e.pos,s=e.skipSpace(r),o=Np(e.text,e.text.length,s),l=[ke(Y.CodeMark,n,n+i)];s<o&&l.push(ke(Y.CodeInfo,t.lineStart+s,t.lineStart+o));for(let c=!0,u=!0,h=!1;t.nextLine()&&e.depth>=t.stack.length;c=!1){let f=e.pos;if(e.indent-e.baseIndent<4)for(;f<e.text.length&&e.text.charCodeAt(f)==a;)f++;if(f-e.pos>=i&&e.skipSpace(f)==e.text.length){for(let d of e.markers)l.push(d);u&&h&&Sr(l,t.lineStart-1,t.lineStart),l.push(ke(Y.CodeMark,t.lineStart+e.pos,t.lineStart+f)),t.nextLine();break}else{h=!0,c||(Sr(l,t.lineStart-1,t.lineStart),u=!1);for(let O of e.markers)l.push(O);let d=t.lineStart+e.basePos,g=t.lineStart+e.text.length;d<g&&(Sr(l,d,g),u=!1)}}return t.addNode(t.buffer.writeElements(l,-n).finish(Y.FencedCode,t.prevLineEnd()-n),n),!0},Blockquote(t,e){let r=dk(e);return r<0?!1:(t.startContext(Y.Blockquote,e.pos),t.addNode(Y.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+r),null)},HorizontalRule(t,e){if(yh(e,t,!1)<0)return!1;let r=t.lineStart+e.pos;return t.nextLine(),t.addNode(Y.HorizontalRule,r),!0},BulletList(t,e){let r=kh(e,t,!1);if(r<0)return!1;t.block.type!=Y.BulletList&&t.startContext(Y.BulletList,e.basePos,e.next);let n=$p(e,e.pos+1);return t.startContext(Y.ListItem,e.basePos,n-e.baseIndent),t.addNode(Y.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},OrderedList(t,e){let r=bh(e,t,!1);if(r<0)return!1;t.block.type!=Y.OrderedList&&t.startContext(Y.OrderedList,e.basePos,e.text.charCodeAt(e.pos+r-1));let n=$p(e,e.pos+r);return t.startContext(Y.ListItem,e.basePos,n-e.baseIndent),t.addNode(Y.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},ATXHeading(t,e){let r=mk(e);if(r<0)return!1;let n=e.pos,a=t.lineStart+n,i=Np(e.text,e.text.length,n),s=i;for(;s>n&&e.text.charCodeAt(s-1)==e.next;)s--;(s==i||s==n||!zt(e.text.charCodeAt(s-1)))&&(s=e.text.length);let o=t.buffer.write(Y.HeaderMark,0,r).writeElements(t.parser.parseInline(e.text.slice(n+r+1,s),a+r+1),-a);s<e.text.length&&o.write(Y.HeaderMark,s-n,i-n);let l=o.finish(Y.ATXHeading1-1+r,e.text.length-n);return t.nextLine(),t.addNode(l,a),!0},HTMLBlock(t,e){let r=kk(e,t,!1);if(r<0)return!1;let n=t.lineStart+e.pos,a=Wc[r][1],i=[],s=a!=Vc;for(;!a.test(e.text)&&t.nextLine();){if(e.depth<t.stack.length){s=!1;break}for(let c of e.markers)i.push(c)}s&&t.nextLine();let o=a==Ok?Y.CommentBlock:a==yk?Y.ProcessingInstructionBlock:Y.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(i,-n).finish(o,l-n),n),!0},SetextHeading:void 0};class dae{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,r,n){if(this.stage==-1)return!1;let a=n.content+`
69
- `+r.scrub(),i=this.advance(a);return i>-1&&i<a.length?this.complete(e,n,i):!1}finish(e,r){return(this.stage==2||this.stage==3)&&Fa(r.content,this.pos)==r.content.length?this.complete(e,r,r.content.length):!1}complete(e,r,n){return e.addLeafElement(r,ke(Y.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(e===!1&&(this.stage=-1),!1)}advance(e){for(;;){if(this.stage==-1)return-1;if(this.stage==0){if(!this.nextStage(Pk(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(ke(Y.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(Ak(e,Fa(e,this.pos),this.start)))return-1}else if(this.stage==2){let r=Fa(e,this.pos),n=0;if(r>this.pos){let a=Ck(e,r,this.start);if(a){let i=El(e,a.to-this.start);i>0&&(this.nextStage(a),n=i)}}return n||(n=El(e,this.pos)),n>0&&n<e.length?n:-1}else return El(e,this.pos)}}}function El(t,e){for(;e<t.length;e++){let r=t.charCodeAt(e);if(r==10)break;if(!zt(r))return-1}return e}class pae{nextLine(e,r,n){let a=r.depth<e.stack.length?-1:gk(r),i=r.next;if(a<0)return!1;let s=ke(Y.HeaderMark,e.lineStart+r.pos,e.lineStart+a);return e.nextLine(),e.addLeafElement(n,ke(i==61?Y.SetextHeading1:Y.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),s])),!0}finish(){return!1}}const bk={LinkReference(t,e){return e.content.charCodeAt(0)==91?new dae(e):null},SetextHeading(){return new pae}},mae=[(t,e)=>mk(e)>=0,(t,e)=>fk(e)>=0,(t,e)=>dk(e)>=0,(t,e)=>kh(e,t,!0)>=0,(t,e)=>bh(e,t,!0)>=0,(t,e)=>yh(e,t,!0)>=0,(t,e)=>kk(e,t,!0)>=0],gae={text:"",end:0};class Oae{constructor(e,r,n,a){this.parser=e,this.input=r,this.ranges=a,this.line=new fae,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=a[a.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=a[0].from,this.block=qs.create(Y.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new bae(n,r):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(this.stoppedAt!=null&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let n=0;;){let a=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;n<e.markers.length&&(!a||e.markers[n].from<a.end);){let i=e.markers[n++];this.addNode(i.type,i.from,i.to)}if(!a)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let n of this.parser.blockParsers)if(n){let a=n(this,e);if(a!=!1){if(a==!0)return null;e.forward();continue e}}break}let r=new hae(this.lineStart+e.pos,e.text.slice(e.pos));for(let n of this.parser.leafBlockParsers)if(n){let a=n(this,r);a&&r.parsers.push(a)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let n of this.parser.endLeafBlock)if(n(this,e,r))break e}for(let n of r.parsers)if(n.nextLine(this,e,r))return null;r.content+=`
70
- `+e.scrub();for(let n of e.markers)r.marks.push(n)}return this.finishLeaf(r),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let r=this.fragments.takeNodes(this);return r?(this.absoluteLineStart+=r,this.lineStart=vk(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0):!1}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let r=gae;if(r.end=e,e>=this.to)r.text="";else if(r.text=this.lineChunkAt(e),r.end+=r.text.length,this.ranges.length>1){let n=this.absoluteLineStart,a=this.rangeI;for(;this.ranges[a].to<r.end;){a++;let i=this.ranges[a].from,s=this.lineChunkAt(i);r.end=i+s.length,r.text=r.text.slice(0,this.ranges[a-1].to-n)+s,n=r.end-r.text.length}}return r}readLine(){let{line:e}=this,{text:r,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(r);e.depth<this.stack.length;e.depth++){let a=this.stack[e.depth],i=this.parser.skipContextMarkup[a.type];if(!i)throw new Error("Unhandled block context "+Y[a.type]);let s=this.line.markers.length;if(!i(a,this,e)){this.line.markers.length>s&&(a.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let r=this.input.chunk(e),n;if(this.input.lineChunks)n=r==`
71
- `?"":r;else{let a=r.indexOf(`
72
- `);n=a<0?r:r.slice(0,a)}return e+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,r,n=0){this.block=qs.create(e,n,this.lineStart+r,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,r,n=0){this.startContext(this.parser.getNodeType(e),r,n)}addNode(e,r,n){typeof e=="number"&&(e=new ge(this.parser.nodeSet.types[e],Xn,Xn,(n??this.prevLineEnd())-r)),this.block.addChild(e,r-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,r){this.addNode(this.buffer.writeElements(Kc(r.children,e.marks),-r.from).finish(r.type,r.to-r.from),r.from)}finishContext(){let e=this.stack.pop(),r=this.stack[this.stack.length-1];r.addChild(e.toTree(this.parser.nodeSet),e.from-r.from),this.block=r}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?_k(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let n of e.parsers)if(n.finish(this,e))return;let r=Kc(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(r,-e.start).finish(Y.Paragraph,e.content.length),e.start)}elt(e,r,n,a){return typeof e=="string"?ke(this.parser.getNodeType(e),r,n,a):new xk(e,r)}get buffer(){return new Sk(this.parser.nodeSet)}}function _k(t,e,r,n,a){let i=t[e].to,s=[],o=[],l=r.from+n;function c(u,h){for(;h?u>=i:u>i;){let f=t[e+1].from-i;n+=f,u+=f,e++,i=t[e].to}}for(let u=r.firstChild;u;u=u.nextSibling){c(u.from+n,!0);let h=u.from+n,f,d=a.get(u.tree);d?f=d:u.to+n>i?(f=_k(t,e,u,n,a),c(u.to+n,!1)):f=u.toTree(),s.push(f),o.push(h-l)}return c(r.to+n,!1),new ge(r.type,s,o,r.to+n-l,r.tree?r.tree.propValues:void 0)}class xo extends go{constructor(e,r,n,a,i,s,o,l,c){super(),this.nodeSet=e,this.blockParsers=r,this.leafBlockParsers=n,this.blockNames=a,this.endLeafBlock=i,this.skipContextMarkup=s,this.inlineParsers=o,this.inlineNames=l,this.wrappers=c,this.nodeTypes=Object.create(null);for(let u of e.types)this.nodeTypes[u.name]=u.id}createParse(e,r,n){let a=new Oae(this,e,r,n);for(let i of this.wrappers)a=i(a,e,r,n);return a}configure(e){let r=Gc(e);if(!r)return this;let{nodeSet:n,skipContextMarkup:a}=this,i=this.blockParsers.slice(),s=this.leafBlockParsers.slice(),o=this.blockNames.slice(),l=this.inlineParsers.slice(),c=this.inlineNames.slice(),u=this.endLeafBlock.slice(),h=this.wrappers;if(ga(r.defineNodes)){a=Object.assign({},a);let f=n.types.slice(),d;for(let g of r.defineNodes){let{name:O,block:k,composite:y,style:w}=typeof g=="string"?{name:g}:g;if(f.some(T=>T.name==O))continue;y&&(a[f.length]=(T,m,S)=>y(m,S,T.value));let P=f.length,N=y?["Block","BlockContext"]:k?P>=Y.ATXHeading1&&P<=Y.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;f.push(Fe.define({id:P,name:O,props:N&&[[oe.group,N]]})),w&&(d||(d={}),Array.isArray(w)||w instanceof _t?d[O]=w:Object.assign(d,w))}n=new ea(f),d&&(n=n.extend(mn(d)))}if(ga(r.props)&&(n=n.extend(...r.props)),ga(r.remove))for(let f of r.remove){let d=this.blockNames.indexOf(f),g=this.inlineNames.indexOf(f);d>-1&&(i[d]=s[d]=void 0),g>-1&&(l[g]=void 0)}if(ga(r.parseBlock))for(let f of r.parseBlock){let d=o.indexOf(f.name);if(d>-1)i[d]=f.parse,s[d]=f.leaf;else{let g=f.before?is(o,f.before):f.after?is(o,f.after)+1:o.length-1;i.splice(g,0,f.parse),s.splice(g,0,f.leaf),o.splice(g,0,f.name)}f.endLeaf&&u.push(f.endLeaf)}if(ga(r.parseInline))for(let f of r.parseInline){let d=c.indexOf(f.name);if(d>-1)l[d]=f.parse;else{let g=f.before?is(c,f.before):f.after?is(c,f.after)+1:c.length-1;l.splice(g,0,f.parse),c.splice(g,0,f.name)}}return r.wrap&&(h=h.concat(r.wrap)),new xo(n,i,s,o,u,a,l,c,h)}getNodeType(e){let r=this.nodeTypes[e];if(r==null)throw new RangeError(`Unknown node type '${e}'`);return r}parseInline(e,r){let n=new _h(this,e,r);e:for(let a=r;a<n.end;){let i=n.char(a);for(let s of this.inlineParsers)if(s){let o=s(n,i,a);if(o>=0){a=o;continue e}}a++}return n.resolveMarkers(0)}}function ga(t){return t!=null&&t.length>0}function Gc(t){if(!Array.isArray(t))return t;if(t.length==0)return null;let e=Gc(t[0]);if(t.length==1)return e;let r=Gc(t.slice(1));if(!r||!e)return e||r;let n=(s,o)=>(s||Xn).concat(o||Xn),a=e.wrap,i=r.wrap;return{props:n(e.props,r.props),defineNodes:n(e.defineNodes,r.defineNodes),parseBlock:n(e.parseBlock,r.parseBlock),parseInline:n(e.parseInline,r.parseInline),remove:n(e.remove,r.remove),wrap:a?i?(s,o,l,c)=>a(i(s,o,l,c),o,l,c):a:i}}function is(t,e){let r=t.indexOf(e);if(r<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return r}let wk=[Fe.none];for(let t=1,e;e=Y[t];t++)wk[t]=Fe.define({id:t,name:e,props:t>=Y.Escape?[]:[[oe.group,t in hk?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});const Xn=[];class Sk{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,r,n,a=0){return this.content.push(e,r,n,4+a*4),this}writeElements(e,r=0){for(let n of e)n.writeTo(this,r);return this}finish(e,r){return ge.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:r})}}let ii=class{constructor(e,r,n,a=Xn){this.type=e,this.from=r,this.to=n,this.children=a}writeTo(e,r){let n=e.content.length;e.writeElements(this.children,r),e.content.push(this.type,this.from+r,this.to+r,e.content.length+4-n)}toTree(e){return new Sk(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}};class xk{constructor(e,r){this.tree=e,this.from=r}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Xn}writeTo(e,r){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+r,this.to+r,-1)}toTree(){return this.tree}}function ke(t,e,r,n){return new ii(t,e,r,n)}const Tk={resolve:"Emphasis",mark:"EmphasisMark"},Ek={resolve:"Emphasis",mark:"EmphasisMark"},Gr={},Xs={};class bt{constructor(e,r,n,a){this.type=e,this.from=r,this.to=n,this.side=a}}const Mp="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let si=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{si=new RegExp("[\\p{S}|\\p{P}]","u")}catch{}const Al={Escape(t,e,r){if(e!=92||r==t.end-1)return-1;let n=t.char(r+1);for(let a=0;a<Mp.length;a++)if(Mp.charCodeAt(a)==n)return t.append(ke(Y.Escape,r,r+2));return-1},Entity(t,e,r){if(e!=38)return-1;let n=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(t.slice(r+1,r+31));return n?t.append(ke(Y.Entity,r,r+1+n[0].length)):-1},InlineCode(t,e,r){if(e!=96||r&&t.char(r-1)==96)return-1;let n=r+1;for(;n<t.end&&t.char(n)==96;)n++;let a=n-r,i=0;for(;n<t.end;n++)if(t.char(n)==96){if(i++,i==a&&t.char(n+1)!=96)return t.append(ke(Y.InlineCode,r,n+1,[ke(Y.CodeMark,r,r+a),ke(Y.CodeMark,n+1-a,n+1)]))}else i=0;return-1},HTMLTag(t,e,r){if(e!=60||r==t.end-1)return-1;let n=t.slice(r+1,t.end),a=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(n);if(a)return t.append(ke(Y.Autolink,r,r+1+a[0].length,[ke(Y.LinkMark,r,r+1),ke(Y.URL,r+1,r+a[0].length),ke(Y.LinkMark,r+a[0].length,r+1+a[0].length)]));let i=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(n);if(i)return t.append(ke(Y.Comment,r,r+1+i[0].length));let s=/^\?[^]*?\?>/.exec(n);if(s)return t.append(ke(Y.ProcessingInstruction,r,r+1+s[0].length));let o=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return o?t.append(ke(Y.HTMLTag,r,r+1+o[0].length)):-1},Emphasis(t,e,r){if(e!=95&&e!=42)return-1;let n=r+1;for(;t.char(n)==e;)n++;let a=t.slice(r-1,r),i=t.slice(n,n+1),s=si.test(a),o=si.test(i),l=/\s|^$/.test(a),c=/\s|^$/.test(i),u=!c&&(!o||l||s),h=!l&&(!s||c||o),f=u&&(e==42||!h||s),d=h&&(e==42||!u||o);return t.append(new bt(e==95?Tk:Ek,r,n,(f?1:0)|(d?2:0)))},HardBreak(t,e,r){if(e==92&&t.char(r+1)==10)return t.append(ke(Y.HardBreak,r,r+2));if(e==32){let n=r+1;for(;t.char(n)==32;)n++;if(t.char(n)==10&&n>=r+2)return t.append(ke(Y.HardBreak,r,n+1))}return-1},Link(t,e,r){return e==91?t.append(new bt(Gr,r,r+1,1)):-1},Image(t,e,r){return e==33&&t.char(r+1)==91?t.append(new bt(Xs,r,r+2,1)):-1},LinkEnd(t,e,r){if(e!=93)return-1;for(let n=t.parts.length-1;n>=0;n--){let a=t.parts[n];if(a instanceof bt&&(a.type==Gr||a.type==Xs)){if(!a.side||t.skipSpace(a.to)==r&&!/[(\[]/.test(t.slice(r+1,r+2)))return t.parts[n]=null,-1;let i=t.takeContent(n),s=t.parts[n]=yae(t,i,a.type==Gr?Y.Link:Y.Image,a.from,r+1);if(a.type==Gr)for(let o=0;o<n;o++){let l=t.parts[o];l instanceof bt&&l.type==Gr&&(l.side=0)}return s.to}}return-1}};function yae(t,e,r,n,a){let{text:i}=t,s=t.char(a),o=a;if(e.unshift(ke(Y.LinkMark,n,n+(r==Y.Image?2:1))),e.push(ke(Y.LinkMark,a-1,a)),s==40){let l=t.skipSpace(a+1),c=Ak(i,l-t.offset,t.offset),u;c&&(l=t.skipSpace(c.to),l!=c.to&&(u=Ck(i,l-t.offset,t.offset),u&&(l=t.skipSpace(u.to)))),t.char(l)==41&&(e.push(ke(Y.LinkMark,a,a+1)),o=l+1,c&&e.push(c),u&&e.push(u),e.push(ke(Y.LinkMark,l,o)))}else if(s==91){let l=Pk(i,a-t.offset,t.offset,!1);l&&(e.push(l),o=l.to)}return ke(r,n,o,e)}function Ak(t,e,r){if(t.charCodeAt(e)==60){for(let a=e+1;a<t.length;a++){let i=t.charCodeAt(a);if(i==62)return ke(Y.URL,e+r,a+1+r);if(i==60||i==10)return!1}return null}else{let a=0,i=e;for(let s=!1;i<t.length;i++){let o=t.charCodeAt(i);if(zt(o))break;if(s)s=!1;else if(o==40)a++;else if(o==41){if(!a)break;a--}else o==92&&(s=!0)}return i>e?ke(Y.URL,e+r,i+r):i==t.length?null:!1}}function Ck(t,e,r){let n=t.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let a=n==40?41:n;for(let i=e+1,s=!1;i<t.length;i++){let o=t.charCodeAt(i);if(s)s=!1;else{if(o==a)return ke(Y.LinkTitle,e+r,i+1+r);o==92&&(s=!0)}}return null}function Pk(t,e,r,n){for(let a=!1,i=e+1,s=Math.min(t.length,i+999);i<s;i++){let o=t.charCodeAt(i);if(a)a=!1;else{if(o==93)return n?!1:ke(Y.LinkLabel,e+r,i+1+r);if(n&&!zt(o)&&(n=!1),o==91)return!1;o==92&&(a=!0)}}return null}class _h{constructor(e,r,n){this.parser=e,this.text=r,this.offset=n,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,r){return this.text.slice(e-this.offset,r-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,r,n,a,i){return this.append(new bt(e,r,n,(a?1:0)|(i?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let r=this.parts[e];if(r instanceof bt&&(r.type==Gr||r.type==Xs))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n<this.parts.length;n++){let a=this.parts[n];if(!(a instanceof bt&&a.type.resolve&&a.side&2))continue;let i=a.type==Tk||a.type==Ek,s=a.to-a.from,o,l=n-1;for(;l>=e;l--){let O=this.parts[l];if(O instanceof bt&&O.side&1&&O.type==a.type&&!(i&&(a.side&1||O.side&2)&&(O.to-O.from+s)%3==0&&((O.to-O.from)%3||s%3))){o=O;break}}if(!o)continue;let c=a.type.resolve,u=[],h=o.from,f=a.to;if(i){let O=Math.min(2,o.to-o.from,s);h=o.to-O,f=a.from+O,c=O==1?"Emphasis":"StrongEmphasis"}o.type.mark&&u.push(this.elt(o.type.mark,h,o.to));for(let O=l+1;O<n;O++)this.parts[O]instanceof ii&&u.push(this.parts[O]),this.parts[O]=null;a.type.mark&&u.push(this.elt(a.type.mark,a.from,f));let d=this.elt(c,h,f,u);this.parts[l]=i&&o.from!=h?new bt(o.type,o.from,h,o.side):null,(this.parts[n]=i&&a.to!=f?new bt(a.type,f,a.to,a.side):null)?this.parts.splice(n,0,d):this.parts[n]=d}let r=[];for(let n=e;n<this.parts.length;n++){let a=this.parts[n];a instanceof ii&&r.push(a)}return r}findOpeningDelimiter(e){for(let r=this.parts.length-1;r>=0;r--){let n=this.parts[r];if(n instanceof bt&&n.type==e&&n.side&1)return r}return null}takeContent(e){let r=this.resolveMarkers(e);return this.parts.length=e,r}getDelimiterAt(e){let r=this.parts[e];return r instanceof bt?r:null}skipSpace(e){return Fa(this.text,e-this.offset)+this.offset}elt(e,r,n,a){return typeof e=="string"?ke(this.parser.getNodeType(e),r,n,a):new xk(e,r)}}_h.linkStart=Gr;_h.imageStart=Xs;function Kc(t,e){if(!e.length)return t;if(!t.length)return e;let r=t.slice(),n=0;for(let a of e){for(;n<r.length&&r[n].to<a.to;)n++;if(n<r.length&&r[n].from<a.from){let i=r[n];i instanceof ii&&(r[n]=new ii(i.type,i.from,i.to,Kc(i.children,[a])))}else r.splice(n++,0,a)}return r}const kae=[Y.CodeBlock,Y.ListItem,Y.OrderedList,Y.BulletList];let bae=class{constructor(e,r){this.fragments=e,this.input=r,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,r){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let i=this.fragment.to;for(;i>0&&this.input.read(i-1,i)!=`
73
- `;)i--;this.fragmentEnd=i?i-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let a=e+this.fragment.offset;for(;n.to<=a;)if(!n.parent())return!1;for(;;){if(n.from>=a)return this.fragment.from<=r;if(!n.childAfter(a))return!1}}matches(e){let r=this.cursor.tree;return r&&r.prop(oe.contextHash)==e}takeNodes(e){let r=this.cursor,n=this.fragment.offset,a=this.fragmentEnd-(this.fragment.openEnd?1:0),i=e.absoluteLineStart,s=i,o=e.block.children.length,l=s,c=o;for(;;){if(r.to-n>a){if(r.type.isAnonymous&&r.firstChild())continue;break}let u=vk(r.from-n,e.ranges);if(r.to-n<=e.ranges[e.rangeI].to)e.addNode(r.tree,u);else{let h=new ge(e.parser.nodeSet.types[Y.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,r.tree),e.addNode(h,u)}if(r.type.is("Block")&&(kae.indexOf(r.type.id)<0?(s=r.to-n,o=e.block.children.length):(s=l,o=c),l=r.to-n,c=e.block.children.length),!r.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return s-i}};function vk(t,e){let r=t;for(let n=1;n<e.length;n++){let a=e[n-1].to,i=e[n].from;a<t&&(r-=i-a)}return r}const _ae=mn({"Blockquote/...":C.quote,HorizontalRule:C.contentSeparator,"ATXHeading1/... SetextHeading1/...":C.heading1,"ATXHeading2/... SetextHeading2/...":C.heading2,"ATXHeading3/...":C.heading3,"ATXHeading4/...":C.heading4,"ATXHeading5/...":C.heading5,"ATXHeading6/...":C.heading6,"Comment CommentBlock":C.comment,Escape:C.escape,Entity:C.character,"Emphasis/...":C.emphasis,"StrongEmphasis/...":C.strong,"Link/... Image/...":C.link,"OrderedList/... BulletList/...":C.list,"BlockQuote/...":C.quote,"InlineCode CodeText":C.monospace,"URL Autolink":C.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":C.processingInstruction,"CodeInfo LinkLabel":C.labelName,LinkTitle:C.string,Paragraph:C.content}),wae=new xo(new ea(wk).extend(_ae),Object.keys(as).map(t=>as[t]),Object.keys(as).map(t=>bk[t]),Object.keys(as),mae,hk,Object.keys(Al).map(t=>Al[t]),Object.keys(Al),[]);function Sae(t,e,r){let n=[];for(let a=t.firstChild,i=e;;a=a.nextSibling){let s=a?a.from:r;if(s>i&&n.push({from:i,to:s}),!a)break;i=a.to}return n}function xae(t){let{codeParser:e,htmlParser:r}=t;return{wrap:th((a,i)=>{let s=a.type.id;if(e&&(s==Y.CodeBlock||s==Y.FencedCode)){let o="";if(s==Y.FencedCode){let c=a.node.getChild(Y.CodeInfo);c&&(o=i.read(c.from,c.to))}let l=e(o);if(l)return{parser:l,overlay:c=>c.type.id==Y.CodeText,bracketed:s==Y.FencedCode}}else if(r&&(s==Y.HTMLBlock||s==Y.HTMLTag||s==Y.CommentBlock))return{parser:r,overlay:Sae(a.node,a.from,a.to)};return null})}}const Tae={resolve:"Strikethrough",mark:"StrikethroughMark"},Eae={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":C.strikethrough}},{name:"StrikethroughMark",style:C.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,r){if(e!=126||t.char(r+1)!=126||t.char(r+2)==126)return-1;let n=t.slice(r-1,r),a=t.slice(r+2,r+3),i=/\s|^$/.test(n),s=/\s|^$/.test(a),o=si.test(n),l=si.test(a);return t.addDelimiter(Tae,r,r+2,!s&&(!l||i||o),!i&&(!o||s||l))},after:"Emphasis"}]};function Ba(t,e,r=0,n,a=0){let i=0,s=!0,o=-1,l=-1,c=!1,u=()=>{n.push(t.elt("TableCell",a+o,a+l,t.parser.parseInline(e.slice(o,l),a+o)))};for(let h=r;h<e.length;h++){let f=e.charCodeAt(h);f==124&&!c?((!s||o>-1)&&i++,s=!1,n&&(o>-1&&u(),n.push(t.elt("TableDelimiter",h+a,h+a+1))),o=l=-1):(c||f!=32&&f!=9)&&(o<0&&(o=h),l=h+1),c=!c&&f==92}return o>-1&&(i++,n&&u()),i}function Fp(t,e){for(let r=e;r<t.length;r++){let n=t.charCodeAt(r);if(n==124)return!0;n==92&&r++}return!1}const Dk=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class Bp{constructor(){this.rows=null}nextLine(e,r,n){if(this.rows==null){this.rows=!1;let a;if((r.next==45||r.next==58||r.next==124)&&Dk.test(a=r.text.slice(r.pos))){let i=[];Ba(e,n.content,0,i,n.start)==Ba(e,a,r.pos)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,i),e.elt("TableDelimiter",e.lineStart+r.pos,e.lineStart+r.text.length)])}}else if(this.rows){let a=[];Ba(e,r.text,r.pos,a,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+r.pos,e.lineStart+r.text.length,a))}return!1}finish(e,r){return this.rows?(e.addLeafElement(r,e.elt("Table",r.start,r.start+r.content.length,this.rows)),!0):!1}}const Aae={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":C.heading}},"TableRow",{name:"TableCell",style:C.content},{name:"TableDelimiter",style:C.processingInstruction}],parseBlock:[{name:"Table",leaf(t,e){return Fp(e.content,0)?new Bp:null},endLeaf(t,e,r){if(r.parsers.some(a=>a instanceof Bp)||!Fp(e.text,e.basePos))return!1;let n=t.peekLine();return Dk.test(n)&&Ba(t,e.text,e.basePos)==Ba(t,n,e.basePos)},before:"SetextHeading"}]};class Cae{nextLine(){return!1}finish(e,r){return e.addLeafElement(r,e.elt("Task",r.start,r.start+r.content.length,[e.elt("TaskMarker",r.start,r.start+3),...e.parser.parseInline(r.content.slice(3),r.start+3)])),!0}}const Pae={defineNodes:[{name:"Task",block:!0,style:C.list},{name:"TaskMarker",style:C.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new Cae:null},after:"SetextHeading"}]},qp=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,Xp=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,vae=/[\w-]+\.[\w-]+($|\/)/,jp=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Zp=/\/[a-zA-Z\d@.]+/gy;function Up(t,e,r,n){let a=0;for(let i=e;i<r;i++)t[i]==n&&a++;return a}function Dae(t,e){Xp.lastIndex=e;let r=Xp.exec(t);if(!r||vae.exec(r[0])[0].indexOf("_")>-1)return-1;let n=e+r[0].length;for(;;){let a=t[n-1],i;if(/[?!.,:*_~]/.test(a)||a==")"&&Up(t,e,n,")")>Up(t,e,n,"("))n--;else if(a==";"&&(i=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,n))))n=e+i.index;else break}return n}function Yp(t,e){jp.lastIndex=e;let r=jp.exec(t);if(!r)return-1;let n=r[0][r[0].length-1];return n=="_"||n=="-"?-1:e+r[0].length-(n=="."?1:0)}const Qae={parseInline:[{name:"Autolink",parse(t,e,r){let n=r-t.offset;if(n&&/\w/.test(t.text[n-1]))return-1;qp.lastIndex=n;let a=qp.exec(t.text),i=-1;if(!a)return-1;if(a[1]||a[2]){if(i=Dae(t.text,n+a[0].length),i>-1&&t.hasOpenLink){let s=/([^\[\]]|\[[^\]]*\])*/.exec(t.text.slice(n,i));i=n+s[0].length}}else a[3]?i=Yp(t.text,n):(i=Yp(t.text,n+a[0].length),i>-1&&a[0]=="xmpp:"&&(Zp.lastIndex=i,a=Zp.exec(t.text),a&&(i=a.index+a[0].length)));return i<0?-1:(t.addElement(t.elt("URL",r,i+t.offset)),i+t.offset)}}]},zae=[Aae,Pae,Eae,Qae];function Qk(t,e,r){return(n,a,i)=>{if(a!=t||n.char(i+1)==t)return-1;let s=[n.elt(r,i,i+1)];for(let o=i+1;o<n.end;o++){let l=n.char(o);if(l==t)return n.addElement(n.elt(e,i,o+1,s.concat(n.elt(r,o,o+1))));if(l==92&&s.push(n.elt("Escape",o,o+++2)),zt(l))break}return-1}}const Iae={defineNodes:[{name:"Superscript",style:C.special(C.content)},{name:"SuperscriptMark",style:C.processingInstruction}],parseInline:[{name:"Superscript",parse:Qk(94,"Superscript","SuperscriptMark")}]},Lae={defineNodes:[{name:"Subscript",style:C.special(C.content)},{name:"SubscriptMark",style:C.processingInstruction}],parseInline:[{name:"Subscript",parse:Qk(126,"Subscript","SubscriptMark")}]},Rae={defineNodes:[{name:"Emoji",style:C.character}],parseInline:[{name:"Emoji",parse(t,e,r){let n;return e!=58||!(n=/^[a-zA-Z_0-9]+:/.exec(t.slice(r+1,t.end)))?-1:t.addElement(t.elt("Emoji",r,r+1+n[0].length))}}]};class js{constructor(e,r,n,a,i,s,o,l,c,u=0,h){this.p=e,this.stack=r,this.state=n,this.reducePos=a,this.pos=i,this.score=s,this.buffer=o,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=h}toString(){return`[${this.stack.filter((e,r)=>r%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,r,n=0){let a=e.parser.context;return new js(e,[],r,n,n,0,[],0,a?new Hp(a,a.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,r){this.stack.push(this.state,r,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var r;let n=e>>19,a=e&65535,{parser:i}=this.p,s=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),o=i.dynamicPrecedence(a);if(o&&(this.score+=o),n==0){this.pushState(i.getGoto(this.state,a,!0),this.reducePos),a<i.minRepeatTerm&&this.storeNode(a,this.reducePos,this.reducePos,s?8:4,!0),this.reduceContext(a,this.reducePos);return}let l=this.stack.length-(n-1)*3-(e&262144?6:0),c=l?this.stack[l-2]:this.p.ranges[0].from,u=this.reducePos-c;u>=2e3&&!(!((r=this.p.parser.nodeSet.types[a])===null||r===void 0)&&r.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=c,this.p.lastBigReductionSize=u));let h=l?this.stack[l-1]:0,f=this.bufferBase+this.buffer.length-h;if(a<i.minRepeatTerm||e&131072){let d=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(a,c,d,f+4,!0)}if(e&262144)this.state=this.stack[l];else{let d=this.stack[l-3];this.state=i.getGoto(d,a,!0)}for(;this.stack.length>l;)this.stack.pop();this.reduceContext(a,c)}storeNode(e,r,n,a=4,i=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let s=this,o=this.buffer.length;if(o==0&&s.parent&&(o=s.bufferBase-s.parent.bufferBase,s=s.parent),o>0&&s.buffer[o-4]==0&&s.buffer[o-1]>-1){if(r==n)return;if(s.buffer[o-2]>=r){s.buffer[o-2]=n;return}}}if(!i||this.pos==n)this.buffer.push(e,r,n,a);else{let s=this.buffer.length;if(s>0&&(this.buffer[s-4]!=0||this.buffer[s-1]<0)){let o=!1;for(let l=s;l>0&&this.buffer[l-2]>n;l-=4)if(this.buffer[l-1]>=0){o=!0;break}if(o)for(;s>0&&this.buffer[s-2]>n;)this.buffer[s]=this.buffer[s-4],this.buffer[s+1]=this.buffer[s-3],this.buffer[s+2]=this.buffer[s-2],this.buffer[s+3]=this.buffer[s-1],s-=4,a>4&&(a-=4)}this.buffer[s]=e,this.buffer[s+1]=r,this.buffer[s+2]=n,this.buffer[s+3]=a}}shift(e,r,n,a){if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let i=e,{parser:s}=this.p;this.pos=a;let o=s.stateFlag(i,1);!o&&(a>n||r<=s.maxNode)&&(this.reducePos=a),this.pushState(i,o?n:Math.min(n,this.reducePos)),this.shiftContext(r,n),r<=s.maxNode&&this.buffer.push(r,n,a,4)}else this.pos=a,this.shiftContext(r,n),r<=this.p.parser.maxNode&&this.buffer.push(r,n,a,4)}apply(e,r,n,a){e&65536?this.reduce(e):this.shift(e,r,n,a)}useNode(e,r){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let a=this.pos;this.reducePos=this.pos=a+e.length,this.pushState(r,a),this.buffer.push(n,a,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,r=e.buffer.length;for(;r>0&&e.buffer[r-2]>e.reducePos;)r-=4;let n=e.buffer.slice(r),a=e.bufferBase+r;for(;e&&a==e.bufferBase;)e=e.parent;return new js(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,a,this.curContext,this.lookAhead,e)}recoverByDelete(e,r){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,r,4),this.storeNode(0,this.pos,r,n?8:4),this.pos=this.reducePos=r,this.score-=190}canShift(e){for(let r=new Nae(this);;){let n=this.p.parser.stateSlot(r.state,4)||this.p.parser.hasAction(r.state,e);if(n==0)return!1;if((n&65536)==0)return!0;r.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let r=this.p.parser.nextStates(this.state);if(r.length>8||this.stack.length>=120){let a=[];for(let i=0,s;i<r.length;i+=2)(s=r[i+1])!=this.state&&this.p.parser.hasAction(s,e)&&a.push(r[i],s);if(this.stack.length<120)for(let i=0;a.length<8&&i<r.length;i+=2){let s=r[i+1];a.some((o,l)=>l&1&&o==s)||a.push(r[i],s)}r=a}let n=[];for(let a=0;a<r.length&&n.length<4;a+=2){let i=r[a+1];if(i==this.state)continue;let s=this.split();s.pushState(i,this.pos),s.storeNode(0,s.pos,s.pos,4,!0),s.shiftContext(r[a],this.pos),s.reducePos=this.pos,s.score-=200,n.push(s)}return n}forceReduce(){let{parser:e}=this.p,r=e.stateSlot(this.state,5);if((r&65536)==0)return!1;if(!e.validAction(this.state,r)){let n=r>>19,a=r&65535,i=this.stack.length-n*3;if(i<0||e.getGoto(this.stack[i],a,!1)<0){let s=this.findForcedReduction();if(s==null)return!1;r=s}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(r),!0}findForcedReduction(){let{parser:e}=this.p,r=[],n=(a,i)=>{if(!r.includes(a))return r.push(a),e.allActions(a,s=>{if(!(s&393216))if(s&65536){let o=(s>>19)-i;if(o>1){let l=s&65535,c=this.stack.length-o*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return o<<19|65536|l}}else{let o=n(s,i+1);if(o!=null)return o}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let r=0;r<this.stack.length;r+=3)if(this.stack[r]!=e.stack[r])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,r){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(r)))}reduceContext(e,r){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(r)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let r=new Hp(this.curContext.tracker,e);r.hash!=this.curContext.hash&&this.emitContext(),this.curContext=r}}setLookAhead(e){return e<=this.lookAhead?!1:(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class Hp{constructor(e,r){this.tracker=e,this.context=r,this.hash=e.strict?e.hash(r):0}}class Nae{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let r=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let a=this.start.p.parser.getGoto(this.stack[this.base-3],r,!0);this.state=a}}class Zs{constructor(e,r,n){this.stack=e,this.pos=r,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,r=e.bufferBase+e.buffer.length){return new Zs(e,r,r-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Zs(this.stack,this.pos,this.index)}}function xa(t,e=Uint16Array){if(typeof t!="string")return t;let r=null;for(let n=0,a=0;n<t.length;){let i=0;for(;;){let s=t.charCodeAt(n++),o=!1;if(s==126){i=65535;break}s>=92&&s--,s>=34&&s--;let l=s-32;if(l>=46&&(l-=46,o=!0),i+=l,o)break;i*=46}r?r[a++]=i:r=new e(i)}return r}class Os{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Vp=new Os;class $ae{constructor(e,r){this.input=e,this.ranges=r,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Vp,this.rangeIndex=0,this.pos=this.chunkPos=r[0].from,this.range=r[0],this.end=r[r.length-1].to,this.readNext()}resolveOffset(e,r){let n=this.range,a=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!a)return null;let s=this.ranges[--a];i-=n.from-s.to,n=s}for(;r<0?i>n.to:i>=n.to;){if(a==this.ranges.length-1)return null;let s=this.ranges[++a];i+=s.from-n.to,n=s}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let r of this.ranges)if(r.to>e)return Math.max(e,r.from);return this.end}peek(e){let r=this.chunkOff+e,n,a;if(r>=0&&r<this.chunk.length)n=this.pos+e,a=this.chunk.charCodeAt(r);else{let i=this.resolveOffset(e,1);if(i==null)return-1;if(n=i,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)a=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let s=this.rangeIndex,o=this.range;for(;o.to<=n;)o=this.ranges[++s];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>o.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),a=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),a}acceptToken(e,r=0){let n=r?this.resolveOffset(r,-1):this.pos;if(n==null||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,r){this.token.value=e,this.token.end=r}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:r}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=r,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),r=this.pos+e.length;this.chunk=r>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,r){if(r?(this.token=r,r.start=e,r.lookAhead=e+1,r.value=r.extended=-1):this.token=Vp,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,r){if(e>=this.chunkPos&&r<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,r-this.chunkPos);if(e>=this.chunk2Pos&&r<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,r-this.chunk2Pos);if(e>=this.range.from&&r<=this.range.to)return this.input.read(e,r);let n="";for(let a of this.ranges){if(a.from>=r)break;a.to>e&&(n+=this.input.read(Math.max(a.from,e),Math.min(a.to,r)))}return n}}class Qn{constructor(e,r){this.data=e,this.id=r}token(e,r){let{parser:n}=r.p;zk(this.data,e,r,this.id,n.data,n.tokenPrecTable)}}Qn.prototype.contextual=Qn.prototype.fallback=Qn.prototype.extend=!1;class oi{constructor(e,r,n){this.precTable=r,this.elseToken=n,this.data=typeof e=="string"?xa(e):e}token(e,r){let n=e.pos,a=0;for(;;){let i=e.next<0,s=e.resolveOffset(1,1);if(zk(this.data,e,r,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(i||a++,s==null)break;e.reset(s,e.token)}a&&(e.reset(n,e.token),e.acceptToken(this.elseToken,a))}}oi.prototype.contextual=Qn.prototype.fallback=Qn.prototype.extend=!1;class pt{constructor(e,r={}){this.token=e,this.contextual=!!r.contextual,this.fallback=!!r.fallback,this.extend=!!r.extend}}function zk(t,e,r,n,a,i){let s=0,o=1<<n,{dialect:l}=r.p.parser;e:for(;(o&t[s])!=0;){let c=t[s+1];for(let d=s+3;d<c;d+=2)if((t[d+1]&o)>0){let g=t[d];if(l.allows(g)&&(e.token.value==-1||e.token.value==g||Mae(g,e.token.value,a,i))){e.acceptToken(g);break}}let u=e.next,h=0,f=t[s+2];if(e.next<0&&f>h&&t[c+f*3-3]==65535){s=t[c+f*3-1];continue e}for(;h<f;){let d=h+f>>1,g=c+d+(d<<1),O=t[g],k=t[g+1]||65536;if(u<O)f=d;else if(u>=k)h=d+1;else{s=t[g+2],e.advance();continue e}}break}}function Wp(t,e,r){for(let n=e,a;(a=t[n])!=65535;n++)if(a==r)return n-e;return-1}function Mae(t,e,r,n){let a=Wp(r,n,e);return a<0||Wp(r,n,t)<a}const gt=typeof process<"u"&&process.env&&/\bparse\b/.test(process.env.LOG);let Cl=null;function Gp(t,e,r){let n=t.cursor(exports.IterMode.IncludeAnonymous);for(n.moveTo(e);;)if(!(r<0?n.childBefore(e):n.childAfter(e)))for(;;){if((r<0?n.to<e:n.from>e)&&!n.type.isError)return r<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(r<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return r<0?0:t.length}}class Fae{constructor(e,r){this.fragments=e,this.nodeSet=r,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Gp(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Gp(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let r=this.trees.length-1;if(r<0)return this.nextFragment(),null;let n=this.trees[r],a=this.index[r];if(a==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[a],s=this.start[r]+n.positions[a];if(s>e)return this.nextStart=s,null;if(i instanceof ge){if(s==e){if(s<this.safeFrom)return null;let o=s+i.length;if(o<=this.safeTo){let l=i.prop(oe.lookAhead);if(!l||o+l<this.fragment.to)return i}}this.index[r]++,s+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(s),this.index.push(0))}else this.index[r]++,this.nextStart=s+i.length}}}class Bae{constructor(e,r){this.stream=r,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Os)}getActions(e){let r=0,n=null,{parser:a}=e.p,{tokenizers:i}=a,s=a.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,l=0;for(let c=0;c<i.length;c++){if((1<<c&s)==0)continue;let u=i[c],h=this.tokens[c];if(!(n&&!u.fallback)&&((u.contextual||h.start!=e.pos||h.mask!=s||h.context!=o)&&(this.updateCachedToken(h,u,e),h.mask=s,h.context=o),h.lookAhead>h.end+25&&(l=Math.max(h.lookAhead,l)),h.value!=0)){let f=r;if(h.extended>-1&&(r=this.addActions(e,h.extended,h.end,r)),r=this.addActions(e,h.value,h.end,r),!u.extend&&(n=h,r>f))break}}for(;this.actions.length>r;)this.actions.pop();return l&&e.setLookAhead(l),!n&&e.pos==this.stream.end&&(n=new Os,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,r=this.addActions(e,n.value,n.end,r)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let r=new Os,{pos:n,p:a}=e;return r.start=n,r.end=Math.min(n+1,a.stream.end),r.value=n==a.stream.end?a.parser.eofTerm:0,r}updateCachedToken(e,r,n){let a=this.stream.clipPos(n.pos);if(r.token(this.stream.reset(a,e),n),e.value>-1){let{parser:i}=n.p;for(let s=0;s<i.specialized.length;s++)if(i.specialized[s]==e.value){let o=i.specializers[s](this.stream.read(e.start,e.end),n);if(o>=0&&n.p.parser.dialect.allows(o>>1)){(o&1)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(a+1)}putAction(e,r,n,a){for(let i=0;i<a;i+=3)if(this.actions[i]==e)return a;return this.actions[a++]=e,this.actions[a++]=r,this.actions[a++]=n,a}addActions(e,r,n,a){let{state:i}=e,{parser:s}=e.p,{data:o}=s;for(let l=0;l<2;l++)for(let c=s.stateSlot(i,l?2:1);;c+=3){if(o[c]==65535)if(o[c+1]==1)c=ur(o,c+2);else{a==0&&o[c+1]==2&&(a=this.putAction(ur(o,c+2),r,n,a));break}o[c]==r&&(a=this.putAction(ur(o,c+1),r,n,a))}return a}}class qae{constructor(e,r,n,a){this.parser=e,this.input=r,this.ranges=a,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new $ae(r,a),this.tokens=new Bae(e,this.stream),this.topTerm=e.top[1];let{from:i}=a[0];this.stacks=[js.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>e.bufferLength*4?new Fae(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,r=this.minStackPos,n=this.stacks=[],a,i;if(this.bigReductionCount>300&&e.length==1){let[s]=e;for(;s.forceReduce()&&s.stack.length&&s.stack[s.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;s<e.length;s++){let o=e[s];for(;;){if(this.tokens.mainToken=null,o.pos>r)n.push(o);else{if(this.advanceStack(o,n,e))continue;{a||(a=[],i=[]),a.push(o);let l=this.tokens.getMainToken(o);i.push(l.value,l.end)}}break}}if(!n.length){let s=a&&jae(a);if(s)return gt&&console.log("Finish with "+this.stackID(s)),this.stackToTree(s);if(this.parser.strict)throw gt&&a&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&a){let s=this.stoppedAt!=null&&a[0].pos>this.stoppedAt?a[0]:this.runRecovery(a,i,n);if(s)return gt&&console.log("Force-finish "+this.stackID(s)),this.stackToTree(s.forceAll())}if(this.recovering){let s=this.recovering==1?1:this.recovering*3;if(n.length>s)for(n.sort((o,l)=>l.score-o.score);n.length>s;)n.pop();n.some(o=>o.reducePos>r)&&this.recovering--}else if(n.length>1){e:for(let s=0;s<n.length-1;s++){let o=n[s];for(let l=s+1;l<n.length;l++){let c=n[l];if(o.sameState(c)||o.buffer.length>500&&c.buffer.length>500)if((o.score-c.score||o.buffer.length-c.buffer.length)>0)n.splice(l--,1);else{n.splice(s--,1);continue e}}}n.length>12&&(n.sort((s,o)=>o.score-s.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let s=1;s<n.length;s++)n[s].pos<this.minStackPos&&(this.minStackPos=n[s].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,r,n){let a=e.pos,{parser:i}=this,s=gt?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&a>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let h=this.fragments.nodeAt(a);h;){let f=this.parser.nodeSet.types[h.type.id]==h.type?i.getGoto(e.state,h.type.id):-1;if(f>-1&&h.length&&(!c||(h.prop(oe.contextHash)||0)==u))return e.useNode(h,f),gt&&console.log(s+this.stackID(e)+` (via reuse of ${i.getName(h.type.id)})`),!0;if(!(h instanceof ge)||h.children.length==0||h.positions[0]>0)break;let d=h.children[0];if(d instanceof ge&&h.positions[0]==0)h=d;else break}}let o=i.stateSlot(e.state,4);if(o>0)return e.reduce(o),gt&&console.log(s+this.stackID(e)+` (via always-reduce ${i.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;c<l.length;){let u=l[c++],h=l[c++],f=l[c++],d=c==l.length||!n,g=d?e:e.split(),O=this.tokens.mainToken;if(g.apply(u,h,O?O.start:g.pos,f),gt&&console.log(s+this.stackID(g)+` (via ${(u&65536)==0?"shift":`reduce of ${i.getName(u&65535)}`} for ${i.getName(h)} @ ${a}${g==e?"":", split"})`),d)return!0;g.pos>a?r.push(g):n.push(g)}return!1}advanceFully(e,r){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Kp(e,r),!0}}runRecovery(e,r,n){let a=null,i=!1;for(let s=0;s<e.length;s++){let o=e[s],l=r[s<<1],c=r[(s<<1)+1],u=gt?this.stackID(o)+" -> ":"";if(o.deadEnd&&(i||(i=!0,o.restart(),gt&&console.log(u+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let h=o.split(),f=u;for(let d=0;d<10&&h.forceReduce()&&(gt&&console.log(f+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));d++)gt&&(f=this.stackID(h)+" -> ");for(let d of o.recoverByInsert(l))gt&&console.log(u+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>o.pos?(c==o.pos&&(c++,l=0),o.recoverByDelete(l,c),gt&&console.log(u+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),Kp(o,n)):(!a||a.score<h.score)&&(a=h)}return a}stackToTree(e){return e.close(),ge.build({buffer:Zs.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let r=(Cl||(Cl=new WeakMap)).get(e);return r||Cl.set(e,r=String.fromCodePoint(this.nextStackID++)),r+e}}function Kp(t,e){for(let r=0;r<e.length;r++){let n=e[r];if(n.pos==t.pos&&n.sameState(t)){e[r].score<t.score&&(e[r]=t);return}}e.push(t)}class Xae{constructor(e,r,n){this.source=e,this.flags=r,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}}const Pl=t=>t;class wh{constructor(e){this.start=e.start,this.shift=e.shift||Pl,this.reduce=e.reduce||Pl,this.reuse=e.reuse||Pl,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class hn extends go{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let r=e.nodeNames.split(" ");this.minRepeatTerm=r.length;for(let o=0;o<e.repeatNodeCount;o++)r.push("");let n=Object.keys(e.topRules).map(o=>e.topRules[o][1]),a=[];for(let o=0;o<r.length;o++)a.push([]);function i(o,l,c){a[o].push([l,l.deserialize(String(c))])}if(e.nodeProps)for(let o of e.nodeProps){let l=o[0];typeof l=="string"&&(l=oe[l]);for(let c=1;c<o.length;){let u=o[c++];if(u>=0)i(u,l,o[c++]);else{let h=o[c+-u];for(let f=-u;f>0;f--)i(o[c++],l,h);c++}}}this.nodeSet=new ea(r.map((o,l)=>Fe.define({name:l>=this.minRepeatTerm?void 0:o,id:l,props:a[l],top:n.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=fy;let s=xa(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;o<this.specializerSpecs.length;o++)this.specialized[o]=this.specializerSpecs[o].term;this.specializers=this.specializerSpecs.map(Jp),this.states=xa(e.states,Uint32Array),this.data=xa(e.stateData),this.goto=xa(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(o=>typeof o=="number"?new Qn(s,o):o),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,r,n){let a=new qae(this,e,r,n);for(let i of this.wrappers)a=i(a,e,r,n);return a}getGoto(e,r,n=!1){let a=this.goto;if(r>=a[0])return-1;for(let i=a[r+1];;){let s=a[i++],o=s&1,l=a[i++];if(o&&n)return l;for(let c=i+(s>>1);i<c;i++)if(a[i]==e)return l;if(o)return-1}}hasAction(e,r){let n=this.data;for(let a=0;a<2;a++)for(let i=this.stateSlot(e,a?2:1),s;;i+=3){if((s=n[i])==65535)if(n[i+1]==1)s=n[i=ur(n,i+2)];else{if(n[i+1]==2)return ur(n,i+2);break}if(s==r||s==0)return ur(n,i+1)}return 0}stateSlot(e,r){return this.states[e*6+r]}stateFlag(e,r){return(this.stateSlot(e,0)&r)>0}validAction(e,r){return!!this.allActions(e,n=>n==r?!0:null)}allActions(e,r){let n=this.stateSlot(e,4),a=n?r(n):void 0;for(let i=this.stateSlot(e,1);a==null;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=ur(this.data,i+2);else break;a=r(ur(this.data,i+1))}return a}nextStates(e){let r=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=ur(this.data,n+2);else break;if((this.data[n+2]&1)==0){let a=this.data[n+1];r.some((i,s)=>s&1&&i==a)||r.push(this.data[n],a)}}return r}configure(e){let r=Object.assign(Object.create(hn.prototype),this);if(e.props&&(r.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);r.top=n}return e.tokenizers&&(r.tokenizers=this.tokenizers.map(n=>{let a=e.tokenizers.find(i=>i.from==n);return a?a.to:n})),e.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((n,a)=>{let i=e.specializers.find(o=>o.from==n.external);if(!i)return n;let s=Object.assign(Object.assign({},n),{external:i.to});return r.specializers[a]=Jp(s),s})),e.contextTracker&&(r.context=e.contextTracker),e.dialect&&(r.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(r.strict=e.strict),e.wrap&&(r.wrappers=r.wrappers.concat(e.wrap)),e.bufferLength!=null&&(r.bufferLength=e.bufferLength),r}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let r=this.dynamicPrecedences;return r==null?0:r[e]||0}parseDialect(e){let r=Object.keys(this.dialects),n=r.map(()=>!1);if(e)for(let i of e.split(" ")){let s=r.indexOf(i);s>=0&&(n[s]=!0)}let a=null;for(let i=0;i<r.length;i++)if(!n[i])for(let s=this.dialects[r[i]],o;(o=this.data[s++])!=65535;)(a||(a=new Uint8Array(this.maxTerm+1)))[o]=1;return new Xae(e,n,a)}static deserialize(e){return new hn(e)}}function ur(t,e){return t[e]|t[e+1]<<16}function jae(t){let e=null;for(let r of t){let n=r.p.stoppedAt;(r.pos==r.p.stream.end||n!=null&&r.pos>n)&&r.p.parser.stateFlag(r.state,2)&&(!e||e.score<r.score)&&(e=r)}return e}function Jp(t){if(t.external){let e=t.extend?1:0;return(r,n)=>t.external(r,n)<<1|e}return t.get}const Zae=55,Uae=1,Yae=56,Hae=2,Vae=57,Wae=3,em=4,Gae=5,Sh=6,Ik=7,Lk=8,Rk=9,Nk=10,Kae=11,Jae=12,eie=13,vl=58,tie=14,rie=15,tm=59,$k=21,nie=23,Mk=24,aie=25,Jc=27,Fk=28,iie=29,sie=32,oie=35,lie=37,cie=38,uie=0,hie=1,fie={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},die={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},rm={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function pie(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}let nm=null,am=null,im=0;function eu(t,e){let r=t.pos+e;if(im==r&&am==t)return nm;let n=t.peek(e),a="";for(;pie(n);)a+=String.fromCharCode(n),n=t.peek(++e);return am=t,im=r,nm=a?a.toLowerCase():n==mie||n==gie?void 0:null}const Bk=60,Us=62,xh=47,mie=63,gie=33,Oie=45;function sm(t,e){this.name=t,this.parent=e}const yie=[Sh,Nk,Ik,Lk,Rk],kie=new wh({start:null,shift(t,e,r,n){return yie.indexOf(e)>-1?new sm(eu(n,1)||"",t):t},reduce(t,e){return e==$k&&t?t.parent:t},reuse(t,e,r,n){let a=e.type.id;return a==Sh||a==lie?new sm(eu(n,1)||"",t):t},strict:!1}),bie=new pt((t,e)=>{if(t.next!=Bk){t.next<0&&e.context&&t.acceptToken(vl);return}t.advance();let r=t.next==xh;r&&t.advance();let n=eu(t,0);if(n===void 0)return;if(!n)return t.acceptToken(r?rie:tie);let a=e.context?e.context.name:null;if(r){if(n==a)return t.acceptToken(Kae);if(a&&die[a])return t.acceptToken(vl,-2);if(e.dialectEnabled(uie))return t.acceptToken(Jae);for(let i=e.context;i;i=i.parent)if(i.name==n)return;t.acceptToken(eie)}else{if(n=="script")return t.acceptToken(Ik);if(n=="style")return t.acceptToken(Lk);if(n=="textarea")return t.acceptToken(Rk);if(fie.hasOwnProperty(n))return t.acceptToken(Nk);a&&rm[a]&&rm[a][n]?t.acceptToken(vl,-1):t.acceptToken(Sh)}},{contextual:!0}),_ie=new pt(t=>{for(let e=0,r=0;;r++){if(t.next<0){r&&t.acceptToken(tm);break}if(t.next==Oie)e++;else if(t.next==Us&&e>=2){r>=3&&t.acceptToken(tm,-2);break}else e=0;t.advance()}});function wie(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}const Sie=new pt((t,e)=>{if(t.next==xh&&t.peek(1)==Us){let r=e.dialectEnabled(hie)||wie(e.context);t.acceptToken(r?Gae:em,2)}else t.next==Us&&t.acceptToken(em,1)});function Th(t,e,r){let n=2+t.length;return new pt(a=>{for(let i=0,s=0,o=0;;o++){if(a.next<0){o&&a.acceptToken(e);break}if(i==0&&a.next==Bk||i==1&&a.next==xh||i>=2&&i<n&&a.next==t.charCodeAt(i-2))i++,s++;else if(i==n&&a.next==Us){o>s?a.acceptToken(e,-s):a.acceptToken(r,-(s-2));break}else if((a.next==10||a.next==13)&&o){a.acceptToken(e,1);break}else i=s=0;a.advance()}})}const xie=Th("script",Zae,Uae),Tie=Th("style",Yae,Hae),Eie=Th("textarea",Vae,Wae),Aie=mn({"Text RawText IncompleteTag IncompleteCloseTag":C.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":C.angleBracket,TagName:C.tagName,"MismatchedCloseTag/TagName":[C.tagName,C.invalid],AttributeName:C.attributeName,"AttributeValue UnquotedAttributeValue":C.attributeValue,Is:C.definitionOperator,"EntityReference CharacterReference":C.character,Comment:C.blockComment,ProcessingInst:C.processingInstruction,DoctypeDecl:C.documentMeta}),Cie=hn.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,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sX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:kie,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity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'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[xie,Tie,Eie,Sie,bie,_ie,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function qk(t,e){let r=Object.create(null);for(let n of t.getChildren(Mk)){let a=n.getChild(aie),i=n.getChild(Jc)||n.getChild(Fk);a&&(r[e.read(a.from,a.to)]=i?i.type.id==Jc?e.read(i.from+1,i.to-1):e.read(i.from,i.to):"")}return r}function om(t,e){let r=t.getChild(nie);return r?e.read(r.from,r.to):" "}function Dl(t,e,r){let n;for(let a of r)if(!a.attrs||a.attrs(n||(n=qk(t.node.parent.firstChild,e))))return{parser:a.parser,bracketed:!0};return null}function Xk(t=[],e=[]){let r=[],n=[],a=[],i=[];for(let o of t)(o.tag=="script"?r:o.tag=="style"?n:o.tag=="textarea"?a:i).push(o);let s=e.length?Object.create(null):null;for(let o of e)(s[o.name]||(s[o.name]=[])).push(o);return th((o,l)=>{let c=o.type.id;if(c==iie)return Dl(o,l,r);if(c==sie)return Dl(o,l,n);if(c==oie)return Dl(o,l,a);if(c==$k&&i.length){let u=o.node,h=u.firstChild,f=h&&om(h,l),d;if(f){for(let g of i)if(g.tag==f&&(!g.attrs||g.attrs(d||(d=qk(h,l))))){let O=u.lastChild,k=O.type.id==cie?O.from:u.to;if(k>h.to)return{parser:g.parser,overlay:[{from:h.to,to:k}]}}}}if(s&&c==Mk){let u=o.node,h;if(h=u.firstChild){let f=s[l.read(h.from,h.to)];if(f)for(let d of f){if(d.tagName&&d.tagName!=om(u.parent,l))continue;let g=u.lastChild;if(g.type.id==Jc){let O=g.from+1,k=g.lastChild,y=g.to-(k&&k.isError?0:1);if(y>O)return{parser:d.parser,overlay:[{from:O,to:y}],bracketed:!0}}else if(g.type.id==Fk)return{parser:d.parser,overlay:[{from:g.from,to:g.to}]}}}}return null})}const Pie=122,lm=1,vie=123,Die=124,jk=2,Qie=125,zie=3,Iie=4,Zk=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Lie=58,Rie=40,Uk=95,Nie=91,ys=45,$ie=46,Mie=35,Fie=37,Bie=38,qie=92,Xie=10,jie=42;function li(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function Eh(t){return t>=48&&t<=57}function cm(t){return Eh(t)||t>=97&&t<=102||t>=65&&t<=70}const Yk=(t,e,r)=>(n,a)=>{for(let i=!1,s=0,o=0;;o++){let{next:l}=n;if(li(l)||l==ys||l==Uk||i&&Eh(l))!i&&(l!=ys||o>0)&&(i=!0),s===o&&l==ys&&s++,n.advance();else if(l==qie&&n.peek(1)!=Xie){if(n.advance(),cm(n.next)){do n.advance();while(cm(n.next));n.next==32&&n.advance()}else n.next>-1&&n.advance();i=!0}else{i&&n.acceptToken(s==2&&a.canShift(jk)?e:l==Rie?r:t);break}}},Zie=new pt(Yk(vie,jk,Die)),Uie=new pt(Yk(Qie,zie,Iie)),Yie=new pt(t=>{if(Zk.includes(t.peek(-1))){let{next:e}=t;(li(e)||e==Uk||e==Mie||e==$ie||e==jie||e==Nie||e==Lie&&li(t.peek(1))||e==ys||e==Bie)&&t.acceptToken(Pie)}}),Hie=new pt(t=>{if(!Zk.includes(t.peek(-1))){let{next:e}=t;if(e==Fie&&(t.advance(),t.acceptToken(lm)),li(e)){do t.advance();while(li(t.next)||Eh(t.next));t.acceptToken(lm)}}}),Vie=mn({"AtKeyword import charset namespace keyframes media supports":C.definitionKeyword,"from to selector":C.keyword,NamespaceName:C.namespace,KeyframeName:C.labelName,KeyframeRangeName:C.operatorKeyword,TagName:C.tagName,ClassName:C.className,PseudoClassName:C.constant(C.className),IdName:C.labelName,"FeatureName PropertyName":C.propertyName,AttributeName:C.attributeName,NumberLiteral:C.number,KeywordQuery:C.keyword,UnaryQueryOp:C.operatorKeyword,"CallTag ValueName":C.atom,VariableName:C.variableName,Callee:C.operatorKeyword,Unit:C.unit,"UniversalSelector NestingSelector":C.definitionOperator,"MatchOp CompareOp":C.compareOperator,"ChildOp SiblingOp, LogicOp":C.logicOperator,BinOp:C.arithmeticOperator,Important:C.modifier,Comment:C.blockComment,ColorLiteral:C.color,"ParenthesizedContent StringLiteral":C.string,":":C.punctuation,"PseudoOp #":C.derefOperator,"; ,":C.separator,"( )":C.paren,"[ ]":C.squareBracket,"{ }":C.brace}),Wie={__proto__:null,lang:38,"nth-child":38,"nth-last-child":38,"nth-of-type":38,"nth-last-of-type":38,dir:38,"host-context":38,if:84,url:124,"url-prefix":124,domain:124,regexp:124},Gie={__proto__:null,or:98,and:98,not:106,only:106,layer:170},Kie={__proto__:null,selector:112,layer:166},Jie={__proto__:null,"@import":162,"@media":174,"@charset":178,"@namespace":182,"@keyframes":188,"@supports":200,"@scope":204},ese={__proto__:null,to:207},tse=hn.deserialize({version:14,states:"EbQYQdOOO#qQdOOP#xO`OOOOQP'#Cf'#CfOOQP'#Ce'#CeO#}QdO'#ChO$nQaO'#CcO$xQdO'#CkO%TQdO'#DpO%YQdO'#DrO%_QdO'#DuO%_QdO'#DxOOQP'#FV'#FVO&eQhO'#EhOOQS'#FU'#FUOOQS'#Ek'#Ek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$RR&S%Xk!^]bf!Y![!g#i#j#m$P$R%X%xQ#e!YQ${#mQ%w$tQ&j%xR&w&hQ!ygQ#p!`Q$^!xR%f$`R#n!]!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x'QQ!qdR$X!rQ!PVR#TrQ#S!PR$i#TQ!SWR#VsQ!UXR#WtQ{UQ!wgQ#^yQ#o!_Q$U!nQ$[!uQ$_!yQ%e$^Q&Y%aQ&]%fR&v&XSjPzQ!}kQ$c!{R%k$dZiPkz!{$dR$P!gQ%}%SR&z&mR!rdR!teR$Z!tS%a$Y%bR&t&WV%_$Y%b&WQ#PmR$g#PQ`OSkPzU!a`k$dR$d!{Q$p#aY%p$p%u&d&l'QQ%u$sQ&d%qQ&l%zR'Q&xQ#t!cQ#v!dQ#x!eV$}#t#v#xQ%X$RR&T%XQ%y$zS&k%y&yR&y&lQ%r$pR&e%rQ%n$mR&c%nQyUR#]yQ%i$aR&_%iQ!|jS$e!|$fR$f!}Q&n%}R&{&nQ#k!ZR$x#kQ%b$YR&Z%bQ&X%aR&u&X__OP`kz!{$d^UOP`kz!{$dQ!VYQ!WZQ#XuQ#YvQ#ZwQ#[xQ$]!vQ$m#`R&b%mR$q#aQ!gaQ!oc[#q!c!d!e#t#v#xQ$a!zd$o#a$p$s%q%u%z&d&l&x'QQ$r#cQ%R#{S%g$a%iQ%l$kQ&^%hR&p&P]#s!c!d!e#t#v#xW!Z]b!g$PQ!ufQ#f!YQ#l![Q$v#iQ$w#jQ$z#mS%V$R%XR&i%xQ#h!YQ%w$tR&w&hR$|#mR$n#`QlPR#_zQ!_]Q!nbQ$O!gR%U$P",nodeNames:"⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector CallQuery ArgList , CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to AtRule Styles",maxTerm:143,nodeProps:[["isolate",-2,5,36,""],["openedBy",20,"(",28,"[",31,"{"],["closedBy",21,")",29,"]",32,"}"]],propSources:[Vie],skippedNodes:[0,5,106],repeatNodeCount:15,tokenData:"JQ~R!YOX$qX^%i^p$qpq%iqr({rs-ust/itu6Wuv$qvw7Qwx7cxy9Qyz9cz{9h{|:R|}>t}!O?V!O!P?t!P!Q@]!Q![AU![!]BP!]!^B{!^!_C^!_!`DY!`!aDm!a!b$q!b!cEn!c!}$q!}#OG{#O#P$q#P#QH^#Q#R6W#R#o$q#o#pHo#p#q6W#q#rIQ#r#sIc#s#y$q#y#z%i#z$f$q$f$g%i$g#BY$q#BY#BZ%i#BZ$IS$q$IS$I_%i$I_$I|$q$I|$JO%i$JO$JT$q$JT$JU%i$JU$KV$q$KV$KW%i$KW&FU$q&FU&FV%i&FV;'S$q;'S;=`Iz<%lO$q`$tSOy%Qz;'S%Q;'S;=`%c<%lO%Q`%VS!a`Oy%Qz;'S%Q;'S;=`%c<%lO%Q`%fP;=`<%l%Q~%nh#s~OX%QX^'Y^p%Qpq'Yqy%Qz#y%Q#y#z'Y#z$f%Q$f$g'Y$g#BY%Q#BY#BZ'Y#BZ$IS%Q$IS$I_'Y$I_$I|%Q$I|$JO'Y$JO$JT%Q$JT$JU'Y$JU$KV%Q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Qz}%Q}!OGO!O!Q%Q!Q![GO![!c%Q!c!}GO!}#T%Q#T#oGO#o;'S%Q;'S;=`%c<%lO%QjHQSmYOy%Qz;'S%Q;'S;=`%c<%lO%QnHcSl^Oy%Qz;'S%Q;'S;=`%c<%lO%QjHtSpYOy%Qz;'S%Q;'S;=`%c<%lO%QjIVSoYOy%Qz;'S%Q;'S;=`%c<%lO%QfIhU!mQOy%Qz!_%Q!_!`6m!`;'S%Q;'S;=`%c<%lO%Q`I}P;=`<%l$q",tokenizers:[Yie,Hie,Zie,Uie,1,2,3,4,new oi("m~RRYZ[z{a~~g~aO#v~~dP!P!Qg~lO#w~~",28,129)],topRules:{StyleSheet:[0,6],Styles:[1,105]},dynamicPrecedences:{76:1},specialized:[{term:124,get:t=>Wie[t]||-1},{term:125,get:t=>Gie[t]||-1},{term:4,get:t=>Kie[t]||-1},{term:25,get:t=>Jie[t]||-1},{term:123,get:t=>ese[t]||-1}],tokenPrec:1963});let Ql=null;function zl(){if(!Ql&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],r=new Set;for(let n in t)n!="cssText"&&n!="cssFloat"&&typeof t[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())),r.has(n)||(e.push(n),r.add(n)));Ql=e.sort().map(n=>({type:"property",label:n,apply:n+": "}))}return Ql||[]}const um=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),hm=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),rse=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),nse=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(t=>({type:"keyword",label:t})),cr=/^(\w[\w-]*|-\w[\w-]*|)$/,ase=/^-(-[\w-]*)?$/;function ise(t,e){var r;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let n=(r=t.parent)===null||r===void 0?void 0:r.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const fm=new eh,sse=["Declaration"];function ose(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function Hk(t,e,r){if(e.to-e.from>4096){let n=fm.get(e);if(n)return n;let a=[],i=new Set,s=e.cursor(exports.IterMode.IncludeAnonymous);if(s.firstChild())do for(let o of Hk(t,s.node,r))i.has(o.label)||(i.add(o.label),a.push(o));while(s.nextSibling());return fm.set(e,a),a}else{let n=[],a=new Set;return e.cursor().iterate(i=>{var s;if(r(i)&&i.matchContext(sse)&&((s=i.node.nextSibling)===null||s===void 0?void 0:s.name)==":"){let o=t.sliceString(i.from,i.to);a.has(o)||(a.add(o),n.push({label:o,type:"variable"}))}}),n}}const Ah=t=>e=>{let{state:r,pos:n}=e,a=ve(r).resolveInner(n,-1),i=a.type.isError&&a.from==a.to-1&&r.doc.sliceString(a.from,a.to)=="-";if(a.name=="PropertyName"||(i||a.name=="TagName")&&/^(Block|Styles)$/.test(a.resolve(a.to).name))return{from:a.from,options:zl(),validFor:cr};if(a.name=="ValueName")return{from:a.from,options:hm,validFor:cr};if(a.name=="PseudoClassName")return{from:a.from,options:um,validFor:cr};if(t(a)||(e.explicit||i)&&ise(a,r.doc))return{from:t(a)||i?a.from:n,options:Hk(r.doc,ose(a),t),validFor:ase};if(a.name=="TagName"){for(let{parent:l}=a;l;l=l.parent)if(l.name=="Block")return{from:a.from,options:zl(),validFor:cr};return{from:a.from,options:rse,validFor:cr}}if(a.name=="AtKeyword")return{from:a.from,options:nse,validFor:cr};if(!e.explicit)return null;let s=a.resolve(n),o=s.childBefore(n);return o&&o.name==":"&&s.name=="PseudoClassSelector"?{from:n,options:um,validFor:cr}:o&&o.name==":"&&s.name=="Declaration"||s.name=="ArgList"?{from:n,options:hm,validFor:cr}:s.name=="Block"||s.name=="Styles"?{from:n,options:zl(),validFor:cr}:null},Vk=Ah(t=>t.name=="VariableName"),ci=on.define({name:"css",parser:tse.configure({props:[gn.add({Declaration:Ma()}),ta.add({"Block KeyframeList":ah})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Wk(){return new cn(ci,ci.data.of({autocomplete:Vk}))}const lse=Object.freeze(Object.defineProperty({__proto__:null,css:Wk,cssCompletionSource:Vk,cssLanguage:ci,defineCSSCompletionSource:Ah},Symbol.toStringTag,{value:"Module"})),cse=316,use=317,dm=1,hse=2,fse=3,dse=4,pse=318,mse=320,gse=321,Ose=5,yse=6,kse=0,tu=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Gk=125,bse=59,ru=47,_se=42,wse=43,Sse=45,xse=60,Tse=44,Ese=63,Ase=46,Cse=91,Pse=new wh({start:!1,shift(t,e){return e==Ose||e==yse||e==mse?t:e==gse},strict:!1}),vse=new pt((t,e)=>{let{next:r}=t;(r==Gk||r==-1||e.context)&&t.acceptToken(pse)},{contextual:!0,fallback:!0}),Dse=new pt((t,e)=>{let{next:r}=t,n;tu.indexOf(r)>-1||r==ru&&((n=t.peek(1))==ru||n==_se)||r!=Gk&&r!=bse&&r!=-1&&!e.context&&t.acceptToken(cse)},{contextual:!0}),Qse=new pt((t,e)=>{t.next==Cse&&!e.context&&t.acceptToken(use)},{contextual:!0}),zse=new pt((t,e)=>{let{next:r}=t;if(r==wse||r==Sse){if(t.advance(),r==t.next){t.advance();let n=!e.context&&e.canShift(dm);t.acceptToken(n?dm:hse)}}else r==Ese&&t.peek(1)==Ase&&(t.advance(),t.advance(),(t.next<48||t.next>57)&&t.acceptToken(fse))},{contextual:!0});function Il(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}const Ise=new pt((t,e)=>{if(t.next!=xse||!e.dialectEnabled(kse)||(t.advance(),t.next==ru))return;let r=0;for(;tu.indexOf(t.next)>-1;)t.advance(),r++;if(Il(t.next,!0)){for(t.advance(),r++;Il(t.next,!1);)t.advance(),r++;for(;tu.indexOf(t.next)>-1;)t.advance(),r++;if(t.next==Tse)return;for(let n=0;;n++){if(n==7){if(!Il(t.next,!0))return;break}if(t.next!="extends".charCodeAt(n))break;t.advance(),r++}}t.acceptToken(dse,-r)}),Lse=mn({"get set async static":C.modifier,"for while do if else switch try catch finally return throw break continue default case defer":C.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":C.operatorKeyword,"let var const using function class extends":C.definitionKeyword,"import export from":C.moduleKeyword,"with debugger new":C.keyword,TemplateString:C.special(C.string),super:C.atom,BooleanLiteral:C.bool,this:C.self,null:C.null,Star:C.modifier,VariableName:C.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":C.function(C.variableName),VariableDefinition:C.definition(C.variableName),Label:C.labelName,PropertyName:C.propertyName,PrivatePropertyName:C.special(C.propertyName),"CallExpression/MemberExpression/PropertyName":C.function(C.propertyName),"FunctionDeclaration/VariableDefinition":C.function(C.definition(C.variableName)),"ClassDeclaration/VariableDefinition":C.definition(C.className),"NewExpression/VariableName":C.className,PropertyDefinition:C.definition(C.propertyName),PrivatePropertyDefinition:C.definition(C.special(C.propertyName)),UpdateOp:C.updateOperator,"LineComment Hashbang":C.lineComment,BlockComment:C.blockComment,Number:C.number,String:C.string,Escape:C.escape,ArithOp:C.arithmeticOperator,LogicOp:C.logicOperator,BitOp:C.bitwiseOperator,CompareOp:C.compareOperator,RegExp:C.regexp,Equals:C.definitionOperator,Arrow:C.function(C.punctuation),": Spread":C.punctuation,"( )":C.paren,"[ ]":C.squareBracket,"{ }":C.brace,"InterpolationStart InterpolationEnd":C.special(C.brace),".":C.derefOperator,", ;":C.separator,"@":C.meta,TypeName:C.typeName,TypeDefinition:C.definition(C.typeName),"type enum interface implements namespace module declare":C.definitionKeyword,"abstract global Privacy readonly override":C.modifier,"is keyof unique infer asserts":C.operatorKeyword,JSXAttributeValue:C.attributeValue,JSXText:C.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":C.angleBracket,"JSXIdentifier JSXNameSpacedName":C.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":C.attributeName,"JSXBuiltin/JSXIdentifier":C.standard(C.tagName)}),Rse={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},Nse={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},$se={__proto__:null,"<":193},Mse=hn.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlO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Declaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:Pse,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[Lse],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&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$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b'}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[Dse,Qse,zse,Ise,2,3,4,5,6,7,8,9,10,11,12,13,14,vse,new oi("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~",141,340),new oi("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:t=>Rse[t]||-1},{term:343,get:t=>Nse[t]||-1},{term:95,get:t=>$se[t]||-1}],tokenPrec:15201}),Ch=[rt("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),rt("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),rt("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),rt("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),rt("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),rt(`try {
74
- \${}
75
- } catch (\${error}) {
76
- \${}
77
- }`,{label:"try",detail:"/ catch block",type:"keyword"}),rt("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),rt(`if (\${}) {
78
- \${}
79
- } else {
80
- \${}
81
- }`,{label:"if",detail:"/ else block",type:"keyword"}),rt(`class \${name} {
82
- constructor(\${params}) {
83
- \${}
84
- }
85
- }`,{label:"class",detail:"definition",type:"keyword"}),rt('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),rt('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Kk=Ch.concat([rt("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),rt("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),rt("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),pm=new eh,Jk=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Oa(t){return(e,r)=>{let n=e.node.getChild("VariableDefinition");return n&&r(n,t),!0}}const Fse=["FunctionDeclaration"],Bse={FunctionDeclaration:Oa("function"),ClassDeclaration:Oa("class"),ClassExpression:()=>!0,EnumDeclaration:Oa("constant"),TypeAliasDeclaration:Oa("type"),NamespaceDeclaration:Oa("namespace"),VariableDefinition(t,e){t.matchContext(Fse)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function eb(t,e){let r=pm.get(e);if(r)return r;let n=[],a=!0;function i(s,o){let l=t.sliceString(s.from,s.to);n.push({label:l,type:o})}return e.cursor(exports.IterMode.IncludeAnonymous).iterate(s=>{if(a)a=!1;else if(s.name){let o=Bse[s.name];if(o&&o(s,i)||Jk.has(s.name))return!1}else if(s.to-s.from>8192){for(let o of eb(t,s.node))n.push(o);return!1}}),pm.set(e,n),n}const Ys=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Ph=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function tb(t){let e=ve(t.state).resolveInner(t.pos,-1);if(Ph.indexOf(e.name)>-1)return null;let r=e.name=="VariableName"||e.to-e.from<20&&Ys.test(t.state.sliceDoc(e.from,e.to));if(!r&&!t.explicit)return null;let n=[];for(let a=e;a;a=a.parent)Jk.has(a.name)&&(n=n.concat(eb(t.state.doc,a)));return{options:n,from:r?e.from:t.pos,validFor:Ys}}function Ll(t,e,r){var n;let a=[];for(;;){let i=e.firstChild,s;if((i==null?void 0:i.name)=="VariableName")return a.push(t(i)),{path:a.reverse(),name:r};if((i==null?void 0:i.name)=="MemberExpression"&&((n=s=i.lastChild)===null||n===void 0?void 0:n.name)=="PropertyName")a.push(t(s)),e=i;else return null}}function rb(t){let e=n=>t.state.doc.sliceString(n.from,n.to),r=ve(t.state).resolveInner(t.pos,-1);return r.name=="PropertyName"?Ll(e,r.parent,e(r)):(r.name=="."||r.name=="?.")&&r.parent.name=="MemberExpression"?Ll(e,r.parent,""):Ph.indexOf(r.name)>-1?null:r.name=="VariableName"||r.to-r.from<20&&Ys.test(e(r))?{path:[],name:e(r)}:r.name=="MemberExpression"?Ll(e,r,""):t.explicit?{path:[],name:""}:null}function qse(t,e){let r=t,n=[],a=new Set;for(let i=0;;i++){for(let o of(Object.getOwnPropertyNames||Object.keys)(t)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(o)||a.has(o))continue;a.add(o);let l;try{l=r[o]}catch{continue}n.push({label:o,type:typeof l=="function"?/^[A-Z]/.test(o)?"class":e?"function":"method":e?"variable":"property",boost:-i})}let s=Object.getPrototypeOf(t);if(!s)return n;t=s}}function Xse(t){let e=new Map;return r=>{let n=rb(r);if(!n)return null;let a=t;for(let s of n.path)if(a=a[s],!a)return null;let i=e.get(a);return i||e.set(a,i=qse(a,!n.path.length)),{from:r.pos-n.name.length,options:i,validFor:Ys}}}const xt=on.define({name:"javascript",parser:Mse.configure({props:[gn.add({IfStatement:Ma({except:/^\s*({|else\b)/}),TryStatement:Ma({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Sy,SwitchBody:t=>{let e=t.textAfter,r=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return t.baseIndent+(r?0:n?1:2)*t.unit},Block:_y({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":Ma({except:/^\s*{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),ta.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":ah,BlockComment(t){return{from:t.from+2,to:t.to-2}},JSXElement(t){let e=t.firstChild;if(!e||e.name=="JSXSelfClosingTag")return null;let r=t.lastChild;return{from:e.to,to:r.type.isError?t.to:r.from}},"JSXSelfClosingTag JSXOpenTag"(t){var e;let r=(e=t.firstChild)===null||e===void 0?void 0:e.nextSibling,n=t.lastChild;return!r||r.type.isError?null:{from:r.to,to:n.type.isError?t.to:n.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),nb={test:t=>/^JSX/.test(t.name),facet:Oo({commentTokens:{block:{open:"{/*",close:"*/}"}}})},vh=xt.configure({dialect:"ts"},"typescript"),Dh=xt.configure({dialect:"jsx",props:[rh.add(t=>t.isTop?[nb]:void 0)]}),Qh=xt.configure({dialect:"jsx ts",props:[rh.add(t=>t.isTop?[nb]:void 0)]},"typescript");let ab=t=>({label:t,type:"keyword"});const ib="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(ab),jse=ib.concat(["declare","implements","private","protected","public"].map(ab));function sb(t={}){let e=t.jsx?t.typescript?Qh:Dh:t.typescript?vh:xt,r=t.typescript?Kk.concat(jse):Ch.concat(ib);return new cn(e,[xt.data.of({autocomplete:ok(Ph,sk(r))}),xt.data.of({autocomplete:tb}),t.jsx?ob:[]])}function Zse(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function mm(t,e,r=t.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return t.sliceString(n.from,Math.min(n.to,r));return""}const Use=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),ob=ae.inputHandler.of((t,e,r,n,a)=>{if((Use?t.composing:t.compositionStarted)||t.state.readOnly||e!=r||n!=">"&&n!="/"||!xt.isActiveAt(t.state,e,-1))return!1;let i=a(),{state:s}=i,o=s.changeByRange(l=>{var c;let{head:u}=l,h=ve(s).resolveInner(u-1,-1),f;if(h.name=="JSXStartTag"&&(h=h.parent),!(s.doc.sliceString(u-1,u)!=n||h.name=="JSXAttributeValue"&&h.to>u)){if(n==">"&&h.name=="JSXFragmentTag")return{range:l,changes:{from:u,insert:"</>"}};if(n=="/"&&h.name=="JSXStartCloseTag"){let d=h.parent,g=d.parent;if(g&&d.from==u-2&&((f=mm(s.doc,g.firstChild,u))||((c=g.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let O=`${f}>`;return{range:q.cursor(u+O.length,-1),changes:{from:u,insert:O}}}}else if(n==">"){let d=Zse(h);if(d&&d.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(s.doc.sliceString(u,u+2))&&(f=mm(s.doc,d,u)))return{range:l,changes:{from:u,insert:`</${f}>`}}}}return{range:l}});return o.changes.empty?!1:(t.dispatch([i,s.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function Yse(t,e){return e||(e={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},t.getRules().forEach((r,n)=>{var a;!((a=r.meta.docs)===null||a===void 0)&&a.recommended&&(e.rules[n]=2)})),r=>{let{state:n}=r,a=[];for(let{from:i,to:s}of xt.findRegions(n)){let o=n.doc.lineAt(i),l={line:o.number-1,col:i-o.from,pos:i};for(let c of t.verify(n.sliceDoc(i,s),e))a.push(Hse(c,n.doc,l))}return a}}function gm(t,e,r,n){return r.line(t+n.line).from+e+(t==1?n.col-1:-1)}function Hse(t,e,r){let n=gm(t.line,t.column,e,r),a={from:n,to:t.endLine!=null&&t.endColumn!=1?gm(t.endLine,t.endColumn,e,r):n,message:t.message,source:t.ruleId?"eslint:"+t.ruleId:"eslint",severity:t.severity==1?"warning":"error"};if(t.fix){let{range:i,text:s}=t.fix,o=i[0]+r.pos-n,l=i[1]+r.pos-n;a.actions=[{name:"fix",apply(c,u){c.dispatch({changes:{from:u+o,to:u+l,insert:s},scrollIntoView:!0})}}]}return a}const ss=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:ob,completionPath:rb,esLint:Yse,javascript:sb,javascriptLanguage:xt,jsxLanguage:Dh,localCompletionSource:tb,scopeCompletionSource:Xse,snippets:Ch,tsxLanguage:Qh,typescriptLanguage:vh,typescriptSnippets:Kk},Symbol.toStringTag,{value:"Module"})),ya=["_blank","_self","_top","_parent"],Rl=["ascii","utf-8","utf-16","latin1","latin1"],Nl=["get","post","put","delete"],$l=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Ot=["true","false"],re={},Vse={a:{attrs:{href:null,ping:null,type:null,media:null,target:ya,hreflang:null}},abbr:re,address:re,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:re,aside:re,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:re,base:{attrs:{href:null,target:ya}},bdi:re,bdo:re,blockquote:{attrs:{cite:null}},body:re,br:re,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:$l,formmethod:Nl,formnovalidate:["novalidate"],formtarget:ya,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:re,center:re,cite:re,code:re,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:re,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:re,div:re,dl:re,dt:re,em:re,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:re,figure:re,footer:re,form:{attrs:{action:null,name:null,"accept-charset":Rl,autocomplete:["on","off"],enctype:$l,method:Nl,novalidate:["novalidate"],target:ya}},h1:re,h2:re,h3:re,h4:re,h5:re,h6:re,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:re,hgroup:re,hr:re,html:{attrs:{manifest:null}},i:re,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:$l,formmethod:Nl,formnovalidate:["novalidate"],formtarget:ya,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:re,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:re,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:re,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Rl,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:re,noscript:re,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:re,param:{attrs:{name:null,value:null}},pre:re,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:re,rt:re,ruby:re,samp:re,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Rl}},section:re,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:re,source:{attrs:{src:null,type:null,media:null}},span:re,strong:re,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:re,summary:re,sup:re,table:re,tbody:re,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:re,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:re,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:re,time:{attrs:{datetime:null}},title:re,tr:re,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:re,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:re},lb={accesskey:null,class:null,contenteditable:Ot,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Ot,autocorrect:Ot,autocapitalize:Ot,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Ot,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Ot,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Ot,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Ot,"aria-hidden":Ot,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Ot,"aria-multiselectable":Ot,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Ot,"aria-relevant":null,"aria-required":Ot,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},cb="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of cb)lb[t]=null;class ui{constructor(e,r){this.tags={...Vse,...e},this.globalAttrs={...lb,...r},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}ui.default=new ui;function jn(t,e,r=t.length){if(!e)return"";let n=e.firstChild,a=n&&n.getChild("TagName");return a?t.sliceString(a.from,Math.min(a.to,r)):""}function Zn(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function ub(t,e,r){let n=r.tags[jn(t,Zn(e))];return(n==null?void 0:n.children)||r.allTags}function zh(t,e){let r=[];for(let n=Zn(e);n&&!n.type.isTop;n=Zn(n.parent)){let a=jn(t,n);if(a&&n.lastChild.name=="CloseTag")break;a&&r.indexOf(a)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&r.push(a)}return r}const hb=/^[:\-\.\w\u00b7-\uffff]*$/;function Om(t,e,r,n,a){let i=/\s*>/.test(t.sliceDoc(a,a+5))?"":">",s=Zn(r,r.name=="StartTag"||r.name=="TagName");return{from:n,to:a,options:ub(t.doc,s,e).map(o=>({label:o,type:"type"})).concat(zh(t.doc,r).map((o,l)=>({label:"/"+o,apply:"/"+o+i,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function ym(t,e,r,n){let a=/\s*>/.test(t.sliceDoc(n,n+5))?"":">";return{from:r,to:n,options:zh(t.doc,e).map((i,s)=>({label:i,apply:i+a,type:"type",boost:99-s})),validFor:hb}}function Wse(t,e,r,n){let a=[],i=0;for(let s of ub(t.doc,r,e))a.push({label:"<"+s,type:"type"});for(let s of zh(t.doc,r))a.push({label:"</"+s+">",type:"type",boost:99-i++});return{from:n,to:n,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Gse(t,e,r,n,a){let i=Zn(r),s=i?e.tags[jn(t.doc,i)]:null,o=s&&s.attrs?Object.keys(s.attrs):[],l=s&&s.globalAttrs===!1?o:o.length?o.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:a,options:l.map(c=>({label:c,type:"property"})),validFor:hb}}function Kse(t,e,r,n,a){var i;let s=(i=r.parent)===null||i===void 0?void 0:i.getChild("AttributeName"),o=[],l;if(s){let c=t.sliceDoc(s.from,s.to),u=e.globalAttrs[c];if(!u){let h=Zn(r),f=h?e.tags[jn(t.doc,h)]:null;u=(f==null?void 0:f.attrs)&&f.attrs[c]}if(u){let h=t.sliceDoc(n,a).toLowerCase(),f='"',d='"';/^['"]/.test(h)?(l=h[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",d=t.sliceDoc(a,a+1)==h[0]?"":h[0],h=h.slice(1),n++):l=/^[^\s<>='"]*$/;for(let g of u)o.push({label:g,apply:f+g+d,type:"constant"})}}return{from:n,to:a,options:o,validFor:l}}function fb(t,e){let{state:r,pos:n}=e,a=ve(r).resolveInner(n,-1),i=a.resolve(n);for(let s=n,o;i==a&&(o=a.childBefore(s));){let l=o.lastChild;if(!l||!l.type.isError||l.from<l.to)break;i=a=o,s=l.from}return a.name=="TagName"?a.parent&&/CloseTag$/.test(a.parent.name)?ym(r,a,a.from,n):Om(r,t,a,a.from,n):a.name=="StartTag"||a.name=="IncompleteTag"?Om(r,t,a,n,n):a.name=="StartCloseTag"||a.name=="IncompleteCloseTag"?ym(r,a,n,n):a.name=="OpenTag"||a.name=="SelfClosingTag"||a.name=="AttributeName"?Gse(r,t,a,a.name=="AttributeName"?a.from:n,n):a.name=="Is"||a.name=="AttributeValue"||a.name=="UnquotedAttributeValue"?Kse(r,t,a,a.name=="Is"?n:a.from,n):e.explicit&&(i.name=="Element"||i.name=="Text"||i.name=="Document")?Wse(r,t,a,n):null}function db(t){return fb(ui.default,t)}function pb(t){let{extraTags:e,extraGlobalAttributes:r}=t,n=r||e?new ui(e,r):ui.default;return a=>fb(n,a)}const Jse=xt.parser.configure({top:"SingleExpression"}),mb=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:vh.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:Dh.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:Qh.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:Jse},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:xt.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:ci.parser}],gb=[{name:"style",parser:ci.parser.configure({top:"Styles"})}].concat(cb.map(t=>({name:t,parser:xt.parser}))),Ob=on.define({name:"html",parser:Cie.configure({props:[gn.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].length<t.node.to)return t.continue();let e=null,r;for(let n=t.node;;){let a=n.lastChild;if(!a||a.name!="Element"||a.to!=n.to)break;e=n=a}return e&&!((r=e.lastChild)&&(r.name=="CloseTag"||r.name=="SelfClosingTag"))?t.lineIndent(e.from)+t.unit:null}}),ta.add({Element(t){let e=t.firstChild,r=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:r.name=="CloseTag"?r.from:t.to}}}),ih.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),qa=Ob.configure({wrap:Xk(mb,gb)});function Ih(t={}){let e="",r;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(r=Xk((t.nestedLanguages||[]).concat(mb),(t.nestedAttributes||[]).concat(gb)));let n=r?Ob.configure({wrap:r,dialect:e}):e?qa.configure({dialect:e}):qa;return new cn(n,[qa.data.of({autocomplete:pb(t)}),t.autoCloseTags!==!1?yb:[],sb().support,Wk().support])}const km=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),yb=ae.inputHandler.of((t,e,r,n,a)=>{if(t.composing||t.state.readOnly||e!=r||n!=">"&&n!="/"||!qa.isActiveAt(t.state,e,-1))return!1;let i=a(),{state:s}=i,o=s.changeByRange(l=>{var c,u,h;let f=s.doc.sliceString(l.from-1,l.to)==n,{head:d}=l,g=ve(s).resolveInner(d,-1),O;if(f&&n==">"&&g.name=="EndTag"){let k=g.parent;if(((u=(c=k.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(O=jn(s.doc,k.parent,d))&&!km.has(O)){let y=d+(s.doc.sliceString(d,d+1)===">"?1:0),w=`</${O}>`;return{range:l,changes:{from:d,to:y,insert:w}}}}else if(f&&n=="/"&&g.name=="IncompleteCloseTag"){let k=g.parent;if(g.from==d-2&&((h=k.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(O=jn(s.doc,k,d))&&!km.has(O)){let y=d+(s.doc.sliceString(d,d+1)===">"?1:0),w=`${O}>`;return{range:q.cursor(d+w.length,-1),changes:{from:d,to:y,insert:w}}}}return{range:l}});return o.changes.empty?!1:(t.dispatch([i,s.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),eoe=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:yb,html:Ih,htmlCompletionSource:db,htmlCompletionSourceWith:pb,htmlLanguage:qa},Symbol.toStringTag,{value:"Module"})),kb=Oo({commentTokens:{block:{open:"<!--",close:"-->"}}}),bb=new oe,_b=wae.configure({props:[ta.add(t=>!t.is("Block")||t.is("Document")||nu(t)!=null||toe(t)?void 0:(e,r)=>({from:r.doc.lineAt(e.from).to,to:e.to})),bb.add(nu),gn.add({Document:()=>null}),zr.add({Document:kb})]});function nu(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function toe(t){return t.name=="OrderedList"||t.name=="BulletList"}function roe(t,e){let r=t;for(;;){let n=r.nextSibling,a;if(!n||(a=nu(n.type))!=null&&a<=e)break;r=n}return r.to}const noe=lre.of((t,e,r)=>{for(let n=ve(t).resolveInner(r,-1);n&&!(n.from<e);n=n.parent){let a=n.type.prop(bb);if(a==null)continue;let i=roe(n,a);if(i>r)return{from:r,to:i}}return null});function Lh(t){return new wt(kb,t,[],"markdown")}const wb=Lh(_b),aoe=_b.configure([zae,Lae,Iae,Rae,{props:[ta.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),Un=Lh(aoe);function ioe(t,e){return r=>{if(r&&t){let n=null;if(r=/\S*/.exec(r)[0],typeof t=="function"?n=t(r):n=I.matchLanguageName(t,r,!0),n instanceof I)return n.support?n.support.language.parser:ln.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class Ml{constructor(e,r,n,a,i,s,o){this.node=e,this.from=r,this.to=n,this.spaceBefore=a,this.spaceAfter=i,this.type=s,this.item=o}blank(e,r=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length<e;)n+=" ";return n}else{for(let a=this.to-this.from-n.length-this.spaceAfter.length;a>0;a--)n+=" ";return n+(r?this.spaceAfter:"")}}marker(e,r){let n=this.node.name=="OrderedList"?String(+xb(this.item,e)[2]+r):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function Sb(t,e){let r=[],n=[];for(let a=t;a;a=a.parent){if(a.name=="FencedCode")return n;(a.name=="ListItem"||a.name=="Blockquote")&&r.push(a)}for(let a=r.length-1;a>=0;a--){let i=r[a],s,o=e.lineAt(i.from),l=i.from-o.from;if(i.name=="Blockquote"&&(s=/^ *>( ?)/.exec(o.text.slice(l))))n.push(new Ml(i,l,l+s[0].length,"",s[1],">",null));else if(i.name=="ListItem"&&i.parent.name=="OrderedList"&&(s=/^( *)\d+([.)])( *)/.exec(o.text.slice(l)))){let c=s[3],u=s[0].length;c.length>=4&&(c=c.slice(0,c.length-4),u-=4),n.push(new Ml(i.parent,l,l+u,s[1],c,s[2],i))}else if(i.name=="ListItem"&&i.parent.name=="BulletList"&&(s=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(l)))){let c=s[4],u=s[0].length;c.length>4&&(c=c.slice(0,c.length-4),u-=4);let h=s[2];s[3]&&(h+=s[3].replace(/[xX]/," ")),n.push(new Ml(i.parent,l,l+u,s[1],c,h,i))}}return n}function xb(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function Fl(t,e,r,n=0){for(let a=-1,i=t;;){if(i.name=="ListItem"){let o=xb(i,e),l=+o[2];if(a>=0){if(l!=a+1)return;r.push({from:i.from+o[1].length,to:i.from+o[0].length,insert:String(a+2+n)})}a=l}let s=i.nextSibling;if(!s)break;i=s}}function Rh(t,e){let r=/^[ \t]*/.exec(t)[0].length;if(!r||e.facet(Ai)!=" ")return t;let n=gr(t,4,r),a="";for(let i=n;i>0;)i>=4?(a+=" ",i-=4):(a+=" ",i--);return a+t.slice(r)}const Tb=(t={})=>({state:e,dispatch:r})=>{let n=ve(e),{doc:a}=e,i=null,s=e.changeByRange(o=>{if(!o.empty||!Un.isActiveAt(e,o.from,-1)&&!Un.isActiveAt(e,o.from,1))return i={range:o};let l=o.from,c=a.lineAt(l),u=Sb(n.resolveInner(l,-1),a);for(;u.length&&u[u.length-1].from>l-c.from;)u.pop();if(!u.length)return i={range:o};let h=u[u.length-1];if(h.to-h.spaceAfter.length>l-c.from)return i={range:o};let f=l>=h.to-h.spaceAfter.length&&!/\S/.test(c.text.slice(h.to));if(h.item&&f){let y=h.node.firstChild,w=h.node.getChild("ListItem","ListItem");if(y.to>=l||w&&w.to<l||c.from>0&&!/[^\s>]/.test(a.lineAt(c.from-1).text)||t.nonTightLists===!1){let P=u.length>1?u[u.length-2]:null,N,T="";P&&P.item?(N=c.from+P.from,T=P.marker(a,1)):N=c.from+(P?P.to:0);let m=[{from:N,to:l,insert:T}];return h.node.name=="OrderedList"&&Fl(h.item,a,m,-2),P&&P.node.name=="OrderedList"&&Fl(P.item,a,m),{range:q.cursor(N+T.length),changes:m}}else{let P=_m(u,e,c);return{range:q.cursor(l+P.length+1),changes:{from:c.from,insert:P+e.lineBreak}}}}if(h.node.name=="Blockquote"&&f&&c.from){let y=a.lineAt(c.from-1),w=/>\s*$/.exec(y.text);if(w&&w.index==h.from){let P=e.changes([{from:y.from+w.index,to:y.to},{from:c.from+h.from,to:c.to}]);return{range:o.map(P),changes:P}}}let d=[];h.node.name=="OrderedList"&&Fl(h.item,a,d);let g=h.item&&h.item.from<c.from,O="";if(!g||/^[\s\d.)\-+*>]*/.exec(c.text)[0].length>=h.to)for(let y=0,w=u.length-1;y<=w;y++)O+=y==w&&!g?u[y].marker(a,1):u[y].blank(y<w?gr(c.text,4,u[y+1].from)-O.length:null);let k=l;for(;k>c.from&&/\s/.test(c.text.charAt(k-c.from-1));)k--;return O=Rh(O,e),soe(h.node,e.doc)&&(O=_m(u,e,c)+e.lineBreak+O),d.push({from:k,to:l,insert:e.lineBreak+O}),{range:q.cursor(k+O.length+1),changes:d}});return i?!1:(r(e.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)},Eb=Tb();function bm(t){return t.name=="QuoteMark"||t.name=="ListMark"}function soe(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let r=t.firstChild,n=t.getChild("ListItem","ListItem");if(!n)return!1;let a=e.lineAt(r.to),i=e.lineAt(n.from),s=/^[\s>]*$/.test(a.text);return a.number+(s?0:1)<i.number}function _m(t,e,r){let n="";for(let a=0,i=t.length-2;a<=i;a++)n+=t[a].blank(a<i?gr(r.text,4,t[a+1].from)-n.length:null,a<i);return Rh(n,e)}function ooe(t,e){let r=t.resolveInner(e,-1),n=e;bm(r)&&(n=r.from,r=r.parent);for(let a;a=r.childBefore(n);)if(bm(a))n=a.from;else if(a.name=="OrderedList"||a.name=="BulletList")r=a.lastChild,n=r.to;else break;return r}const Ab=({state:t,dispatch:e})=>{let r=ve(t),n=null,a=t.changeByRange(i=>{let s=i.from,{doc:o}=t;if(i.empty&&Un.isActiveAt(t,i.from)){let l=o.lineAt(s),c=Sb(ooe(r,s),o);if(c.length){let u=c[c.length-1],h=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(s-l.from>h&&!/\S/.test(l.text.slice(h,s-l.from)))return{range:q.cursor(l.from+h),changes:{from:l.from+h,to:s}};if(s-l.from==h&&(!u.item||l.from<=u.item.from||!/\S/.test(l.text.slice(0,u.to)))){let f=l.from+u.from;if(u.item&&u.node.from<u.item.from&&/\S/.test(l.text.slice(u.from,u.to))){let d=u.blank(gr(l.text,4,u.to)-gr(l.text,4,u.from));return f==l.from&&(d=Rh(d,t)),{range:q.cursor(f+d.length),changes:{from:f,to:l.from+u.to,insert:d}}}if(f<s)return{range:q.cursor(f),changes:{from:f,to:s}}}}}return n={range:i}});return n?!1:(e(t.update(a,{scrollIntoView:!0,userEvent:"delete"})),!0)},Cb=[{key:"Enter",run:Eb},{key:"Backspace",run:Ab}],Pb=Ih({matchClosingTags:!1});function vb(t={}){let{codeLanguages:e,defaultCodeLanguage:r,addKeymap:n=!0,base:{parser:a}=wb,completeHTMLTags:i=!0,pasteURLAsLink:s=!0,htmlTagLanguage:o=Pb}=t;if(!(a instanceof xo))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let l=t.extensions?[t.extensions]:[],c=[o.support,noe],u;s&&c.push(Db),r instanceof cn?(c.push(r.support),u=r.language):r&&(u=r);let h=e||u?ioe(e,u):void 0;l.push(xae({codeParser:h,htmlParser:o.language.parser})),n&&c.push(Jn.high(mo.of(Cb)));let f=Lh(a.configure(l));return i&&c.push(f.data.of({autocomplete:loe})),new cn(f,c)}function loe(t){let{state:e,pos:r}=t,n=/<[:\-\.\w\u00b7-\uffff]*$/.exec(e.sliceDoc(r-25,r));if(!n)return null;let a=ve(e).resolveInner(r,-1);for(;a&&!a.type.isTop;){if(a.name=="CodeBlock"||a.name=="FencedCode"||a.name=="ProcessingInstructionBlock"||a.name=="CommentBlock"||a.name=="Link"||a.name=="Image")return null;a=a.parent}return{from:r-n[0].length,to:r,options:coe(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let Bl=null;function coe(){if(Bl)return Bl;let t=db(new Mne(we.create({extensions:Pb}),0,!0));return Bl=t?t.options:[]}const uoe=/code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i,Db=ae.domEventHandlers({paste:(t,e)=>{var r;let{main:n}=e.state.selection;if(n.empty)return!1;let a=(r=t.clipboardData)===null||r===void 0?void 0:r.getData("text/plain");if(!a||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(a)||(/^www\./.test(a)&&(a="https://"+a),!Un.isActiveAt(e.state,n.from,1)))return!1;let i=ve(e.state),s=!1;return i.iterate({from:n.from,to:n.to,enter:o=>{(o.from>n.from||uoe.test(o.name))&&(s=!0)},leave:o=>{o.to<n.to&&(s=!0)}}),s?!1:(e.dispatch({changes:[{from:n.from,insert:"["},{from:n.to,insert:`](${a})`}],userEvent:"input.paste",scrollIntoView:!0}),!0)}}),hoe=Object.freeze(Object.defineProperty({__proto__:null,commonmarkLanguage:wb,deleteMarkupBackward:Ab,insertNewlineContinueMarkup:Eb,insertNewlineContinueMarkupCommand:Tb,markdown:vb,markdownKeymap:Cb,markdownLanguage:Un,pasteURLAsLink:Db},Symbol.toStringTag,{value:"Module"}));function B(t){return new cn(sh.define(t))}function xr(t){return Promise.resolve().then(()=>require("./index-MNX0zvdN.cjs")).then(e=>e.sql({dialect:e[t]}))}const foe=[I.of({name:"C",extensions:["c","h","ino"],load(){return Promise.resolve().then(()=>require("./index-D1NtOvj3.cjs")).then(t=>t.cpp())}}),I.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return Promise.resolve().then(()=>require("./index-D1NtOvj3.cjs")).then(t=>t.cpp())}}),I.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return xr("Cassandra")}}),I.of({name:"CSS",extensions:["css"],load(){return Promise.resolve().then(()=>lse).then(t=>t.css())}}),I.of({name:"Go",extensions:["go"],load(){return Promise.resolve().then(()=>require("./index-CMu-GgRi.cjs")).then(t=>t.go())}}),I.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return Promise.resolve().then(()=>eoe).then(t=>t.html())}}),I.of({name:"Java",extensions:["java"],load(){return Promise.resolve().then(()=>require("./index-CZe2aMge.cjs")).then(t=>t.java())}}),I.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return Promise.resolve().then(()=>ss).then(t=>t.javascript())}}),I.of({name:"Jinja",extensions:["j2","jinja","jinja2"],load(){return Promise.resolve().then(()=>require("./index-BSmF8flX.cjs")).then(t=>t.jinja())}}),I.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return Promise.resolve().then(()=>require("./index-C3SIPnvn.cjs")).then(t=>t.json())}}),I.of({name:"JSX",extensions:["jsx"],load(){return Promise.resolve().then(()=>ss).then(t=>t.javascript({jsx:!0}))}}),I.of({name:"LESS",extensions:["less"],load(){return Promise.resolve().then(()=>require("./index-ogrt0s2v.cjs")).then(t=>t.less())}}),I.of({name:"Liquid",extensions:["liquid"],load(){return Promise.resolve().then(()=>require("./index-B3AEtE1Q.cjs")).then(t=>t.liquid())}}),I.of({name:"MariaDB SQL",load(){return xr("MariaSQL")}}),I.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return Promise.resolve().then(()=>hoe).then(t=>t.markdown())}}),I.of({name:"MS SQL",load(){return xr("MSSQL")}}),I.of({name:"MySQL",load(){return xr("MySQL")}}),I.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return Promise.resolve().then(()=>require("./index-D2x0nUqW.cjs")).then(t=>t.php())}}),I.of({name:"PLSQL",extensions:["pls"],load(){return xr("PLSQL")}}),I.of({name:"PostgreSQL",load(){return xr("PostgreSQL")}}),I.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return Promise.resolve().then(()=>require("./index-BER4fDfp.cjs")).then(t=>t.python())}}),I.of({name:"Rust",extensions:["rs"],load(){return Promise.resolve().then(()=>require("./index-0ra47zre.cjs")).then(t=>t.rust())}}),I.of({name:"Sass",extensions:["sass"],load(){return Promise.resolve().then(()=>require("./index-m5Rgiejs.cjs")).then(t=>t.sass({indented:!0}))}}),I.of({name:"SCSS",extensions:["scss"],load(){return Promise.resolve().then(()=>require("./index-m5Rgiejs.cjs")).then(t=>t.sass())}}),I.of({name:"SQL",extensions:["sql"],load(){return xr("StandardSQL")}}),I.of({name:"SQLite",load(){return xr("SQLite")}}),I.of({name:"TSX",extensions:["tsx"],load(){return Promise.resolve().then(()=>ss).then(t=>t.javascript({jsx:!0,typescript:!0}))}}),I.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load(){return Promise.resolve().then(()=>ss).then(t=>t.javascript({typescript:!0}))}}),I.of({name:"WebAssembly",extensions:["wat","wast"],load(){return Promise.resolve().then(()=>require("./index-DwL_4_jw.cjs")).then(t=>t.wast())}}),I.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return Promise.resolve().then(()=>require("./index-CVYerY8z.cjs")).then(t=>t.xml())}}),I.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return Promise.resolve().then(()=>require("./index-BSyP9C5J.cjs")).then(t=>t.yaml())}}),I.of({name:"APL",extensions:["dyalog","apl"],load(){return Promise.resolve().then(()=>require("./apl-M-DNMvvR.cjs")).then(t=>B(t.apl))}}),I.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return Promise.resolve().then(()=>require("./asciiarmor-BMx3XVjX.cjs")).then(t=>B(t.asciiArmor))}}),I.of({name:"ASN.1",extensions:["asn","asn1"],load(){return Promise.resolve().then(()=>require("./asn1-OOsVM4yU.cjs")).then(t=>B(t.asn1({})))}}),I.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return Promise.resolve().then(()=>require("./asterisk-B1QUaW1C.cjs")).then(t=>B(t.asterisk))}}),I.of({name:"Brainfuck",extensions:["b","bf"],load(){return Promise.resolve().then(()=>require("./brainfuck-BjUlYKdF.cjs")).then(t=>B(t.brainfuck))}}),I.of({name:"Cobol",extensions:["cob","cpy"],load(){return Promise.resolve().then(()=>require("./cobol-Du-cT2hr.cjs")).then(t=>B(t.cobol))}}),I.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return Promise.resolve().then(()=>require("./clike-D0cgxzLA.cjs")).then(t=>B(t.csharp))}}),I.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return Promise.resolve().then(()=>require("./clojure-Ap_IXD2I.cjs")).then(t=>B(t.clojure))}}),I.of({name:"ClojureScript",extensions:["cljs"],load(){return Promise.resolve().then(()=>require("./clojure-Ap_IXD2I.cjs")).then(t=>B(t.clojure))}}),I.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return Promise.resolve().then(()=>require("./css-DzFJyRJ8.cjs")).then(t=>B(t.gss))}}),I.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return Promise.resolve().then(()=>require("./cmake-C4D5_VmS.cjs")).then(t=>B(t.cmake))}}),I.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return Promise.resolve().then(()=>require("./coffeescript-DDFAj2ea.cjs")).then(t=>B(t.coffeeScript))}}),I.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return Promise.resolve().then(()=>require("./commonlisp-CXBBRCTx.cjs")).then(t=>B(t.commonLisp))}}),I.of({name:"Cypher",extensions:["cyp","cypher"],load(){return Promise.resolve().then(()=>require("./cypher-BN0-oCze.cjs")).then(t=>B(t.cypher))}}),I.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return Promise.resolve().then(()=>require("./python-D-iU6WXz.cjs")).then(t=>B(t.cython))}}),I.of({name:"Crystal",extensions:["cr"],load(){return Promise.resolve().then(()=>require("./crystal-DAFWRDbh.cjs")).then(t=>B(t.crystal))}}),I.of({name:"D",extensions:["d"],load(){return Promise.resolve().then(()=>require("./d-BHsqGcfm.cjs")).then(t=>B(t.d))}}),I.of({name:"Dart",extensions:["dart"],load(){return Promise.resolve().then(()=>require("./clike-D0cgxzLA.cjs")).then(t=>B(t.dart))}}),I.of({name:"diff",extensions:["diff","patch"],load(){return Promise.resolve().then(()=>require("./diff-CemTHKfk.cjs")).then(t=>B(t.diff))}}),I.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return Promise.resolve().then(()=>require("./dockerfile-LFbdGrbw.cjs")).then(t=>B(t.dockerFile))}}),I.of({name:"DTD",extensions:["dtd"],load(){return Promise.resolve().then(()=>require("./dtd-ChoVQPwv.cjs")).then(t=>B(t.dtd))}}),I.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return Promise.resolve().then(()=>require("./dylan-apTQIgUA.cjs")).then(t=>B(t.dylan))}}),I.of({name:"EBNF",load(){return Promise.resolve().then(()=>require("./ebnf-LYmLy17h.cjs")).then(t=>B(t.ebnf))}}),I.of({name:"ECL",extensions:["ecl"],load(){return Promise.resolve().then(()=>require("./ecl-C7WNQq7-.cjs")).then(t=>B(t.ecl))}}),I.of({name:"edn",extensions:["edn"],load(){return Promise.resolve().then(()=>require("./clojure-Ap_IXD2I.cjs")).then(t=>B(t.clojure))}}),I.of({name:"Eiffel",extensions:["e"],load(){return Promise.resolve().then(()=>require("./eiffel-BJThA8RG.cjs")).then(t=>B(t.eiffel))}}),I.of({name:"Elm",extensions:["elm"],load(){return Promise.resolve().then(()=>require("./elm-CcXP9T36.cjs")).then(t=>B(t.elm))}}),I.of({name:"Erlang",extensions:["erl"],load(){return Promise.resolve().then(()=>require("./erlang-B6mpcObI.cjs")).then(t=>B(t.erlang))}}),I.of({name:"Esper",load(){return Promise.resolve().then(()=>require("./sql-9VmIWHrZ.cjs")).then(t=>B(t.esper))}}),I.of({name:"Factor",extensions:["factor"],load(){return Promise.resolve().then(()=>require("./factor-BiZQReYC.cjs")).then(t=>B(t.factor))}}),I.of({name:"FCL",load(){return Promise.resolve().then(()=>require("./fcl-BzAKklXo.cjs")).then(t=>B(t.fcl))}}),I.of({name:"Forth",extensions:["forth","fth","4th"],load(){return Promise.resolve().then(()=>require("./forth-CPAzyZ_n.cjs")).then(t=>B(t.forth))}}),I.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return Promise.resolve().then(()=>require("./fortran-DHiTlGV1.cjs")).then(t=>B(t.fortran))}}),I.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return Promise.resolve().then(()=>require("./mllike-QUjwI6zq.cjs")).then(t=>B(t.fSharp))}}),I.of({name:"Gas",extensions:["s"],load(){return Promise.resolve().then(()=>require("./gas-BiPtGF2E.cjs")).then(t=>B(t.gas))}}),I.of({name:"Gherkin",extensions:["feature"],load(){return Promise.resolve().then(()=>require("./gherkin-Djo7Y51D.cjs")).then(t=>B(t.gherkin))}}),I.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return Promise.resolve().then(()=>require("./groovy-BMVITiCm.cjs")).then(t=>B(t.groovy))}}),I.of({name:"Haskell",extensions:["hs"],load(){return Promise.resolve().then(()=>require("./haskell-C46lNFBv.cjs")).then(t=>B(t.haskell))}}),I.of({name:"Haxe",extensions:["hx"],load(){return Promise.resolve().then(()=>require("./haxe-Dyk-piTh.cjs")).then(t=>B(t.haxe))}}),I.of({name:"HXML",extensions:["hxml"],load(){return Promise.resolve().then(()=>require("./haxe-Dyk-piTh.cjs")).then(t=>B(t.hxml))}}),I.of({name:"HTTP",load(){return Promise.resolve().then(()=>require("./http-BkLifcnL.cjs")).then(t=>B(t.http))}}),I.of({name:"IDL",extensions:["pro"],load(){return Promise.resolve().then(()=>require("./idl-FmHDmsE-.cjs")).then(t=>B(t.idl))}}),I.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return Promise.resolve().then(()=>require("./javascript-DBsEJnyp.cjs")).then(t=>B(t.jsonld))}}),I.of({name:"Julia",extensions:["jl"],load(){return Promise.resolve().then(()=>require("./julia-DA67Qw9E.cjs")).then(t=>B(t.julia))}}),I.of({name:"Kotlin",extensions:["kt","kts"],load(){return Promise.resolve().then(()=>require("./clike-D0cgxzLA.cjs")).then(t=>B(t.kotlin))}}),I.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return Promise.resolve().then(()=>require("./livescript-Bg3URadp.cjs")).then(t=>B(t.liveScript))}}),I.of({name:"Lua",extensions:["lua"],load(){return Promise.resolve().then(()=>require("./lua-CIsxjGwi.cjs")).then(t=>B(t.lua))}}),I.of({name:"mIRC",extensions:["mrc"],load(){return Promise.resolve().then(()=>require("./mirc-BfqEffzk.cjs")).then(t=>B(t.mirc))}}),I.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return Promise.resolve().then(()=>require("./mathematica-BG089QIc.cjs")).then(t=>B(t.mathematica))}}),I.of({name:"Modelica",extensions:["mo"],load(){return Promise.resolve().then(()=>require("./modelica-B6Zhcb-M.cjs")).then(t=>B(t.modelica))}}),I.of({name:"MUMPS",extensions:["mps"],load(){return Promise.resolve().then(()=>require("./mumps-wfyQdxSu.cjs")).then(t=>B(t.mumps))}}),I.of({name:"Mbox",extensions:["mbox"],load(){return Promise.resolve().then(()=>require("./mbox-CySolFFZ.cjs")).then(t=>B(t.mbox))}}),I.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return Promise.resolve().then(()=>require("./nginx-CwqyBUfA.cjs")).then(t=>B(t.nginx))}}),I.of({name:"NSIS",extensions:["nsh","nsi"],load(){return Promise.resolve().then(()=>require("./nsis-Bhjptwu0.cjs")).then(t=>B(t.nsis))}}),I.of({name:"NTriples",extensions:["nt","nq"],load(){return Promise.resolve().then(()=>require("./ntriples-DgwJmozm.cjs")).then(t=>B(t.ntriples))}}),I.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return Promise.resolve().then(()=>require("./clike-D0cgxzLA.cjs")).then(t=>B(t.objectiveC))}}),I.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return Promise.resolve().then(()=>require("./clike-D0cgxzLA.cjs")).then(t=>B(t.objectiveCpp))}}),I.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return Promise.resolve().then(()=>require("./mllike-QUjwI6zq.cjs")).then(t=>B(t.oCaml))}}),I.of({name:"Octave",extensions:["m"],load(){return Promise.resolve().then(()=>require("./octave-1pkKrgAA.cjs")).then(t=>B(t.octave))}}),I.of({name:"Oz",extensions:["oz"],load(){return Promise.resolve().then(()=>require("./oz-BXOZCt0U.cjs")).then(t=>B(t.oz))}}),I.of({name:"Pascal",extensions:["p","pas"],load(){return Promise.resolve().then(()=>require("./pascal-DtY2LEkJ.cjs")).then(t=>B(t.pascal))}}),I.of({name:"Perl",extensions:["pl","pm"],load(){return Promise.resolve().then(()=>require("./perl-CVDWbEju.cjs")).then(t=>B(t.perl))}}),I.of({name:"Pig",extensions:["pig"],load(){return Promise.resolve().then(()=>require("./pig-DMByOrnr.cjs")).then(t=>B(t.pig))}}),I.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return Promise.resolve().then(()=>require("./powershell-BaoYaFvj.cjs")).then(t=>B(t.powerShell))}}),I.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return Promise.resolve().then(()=>require("./properties-DXHJZ3WE.cjs")).then(t=>B(t.properties))}}),I.of({name:"ProtoBuf",extensions:["proto"],load(){return Promise.resolve().then(()=>require("./protobuf-BKhXdfH6.cjs")).then(t=>B(t.protobuf))}}),I.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load(){return Promise.resolve().then(()=>require("./pug-CmJCO2EJ.cjs")).then(t=>B(t.pug))}}),I.of({name:"Puppet",extensions:["pp"],load(){return Promise.resolve().then(()=>require("./puppet-8mAyuMbW.cjs")).then(t=>B(t.puppet))}}),I.of({name:"Q",extensions:["q"],load(){return Promise.resolve().then(()=>require("./q-al1YZWDo.cjs")).then(t=>B(t.q))}}),I.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return Promise.resolve().then(()=>require("./r-r2_EZsON.cjs")).then(t=>B(t.r))}}),I.of({name:"RPM Changes",load(){return Promise.resolve().then(()=>require("./rpm-YK81m3qU.cjs")).then(t=>B(t.rpmChanges))}}),I.of({name:"RPM Spec",extensions:["spec"],load(){return Promise.resolve().then(()=>require("./rpm-YK81m3qU.cjs")).then(t=>B(t.rpmSpec))}}),I.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return Promise.resolve().then(()=>require("./ruby-Cn1sFkZF.cjs")).then(t=>B(t.ruby))}}),I.of({name:"SAS",extensions:["sas"],load(){return Promise.resolve().then(()=>require("./sas-DAGcJy94.cjs")).then(t=>B(t.sas))}}),I.of({name:"Scala",extensions:["scala"],load(){return Promise.resolve().then(()=>require("./clike-D0cgxzLA.cjs")).then(t=>B(t.scala))}}),I.of({name:"Scheme",extensions:["scm","ss"],load(){return Promise.resolve().then(()=>require("./scheme-B0ZrbojV.cjs")).then(t=>B(t.scheme))}}),I.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return Promise.resolve().then(()=>require("./shell-BMYo43V6.cjs")).then(t=>B(t.shell))}}),I.of({name:"Sieve",extensions:["siv","sieve"],load(){return Promise.resolve().then(()=>require("./sieve-CIYW-b_H.cjs")).then(t=>B(t.sieve))}}),I.of({name:"Smalltalk",extensions:["st"],load(){return Promise.resolve().then(()=>require("./smalltalk-CSslY-3i.cjs")).then(t=>B(t.smalltalk))}}),I.of({name:"Solr",load(){return Promise.resolve().then(()=>require("./solr-A1kSnAwJ.cjs")).then(t=>B(t.solr))}}),I.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return Promise.resolve().then(()=>require("./mllike-QUjwI6zq.cjs")).then(t=>B(t.sml))}}),I.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return Promise.resolve().then(()=>require("./sparql-DnHMBLLY.cjs")).then(t=>B(t.sparql))}}),I.of({name:"Spreadsheet",alias:["excel","formula"],load(){return Promise.resolve().then(()=>require("./spreadsheet-B7_BK8hB.cjs")).then(t=>B(t.spreadsheet))}}),I.of({name:"Squirrel",extensions:["nut"],load(){return Promise.resolve().then(()=>require("./clike-D0cgxzLA.cjs")).then(t=>B(t.squirrel))}}),I.of({name:"Stylus",extensions:["styl"],load(){return Promise.resolve().then(()=>require("./stylus-D6GYOT3Z.cjs")).then(t=>B(t.stylus))}}),I.of({name:"Swift",extensions:["swift"],load(){return Promise.resolve().then(()=>require("./swift-DGw6Cgu8.cjs")).then(t=>B(t.swift))}}),I.of({name:"sTeX",load(){return Promise.resolve().then(()=>require("./stex-B4wyjEnp.cjs")).then(t=>B(t.stex))}}),I.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return Promise.resolve().then(()=>require("./stex-B4wyjEnp.cjs")).then(t=>B(t.stex))}}),I.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return Promise.resolve().then(()=>require("./verilog-BOhLNmQo.cjs")).then(t=>B(t.verilog))}}),I.of({name:"Tcl",extensions:["tcl"],load(){return Promise.resolve().then(()=>require("./tcl-ByLXbQFo.cjs")).then(t=>B(t.tcl))}}),I.of({name:"Textile",extensions:["textile"],load(){return Promise.resolve().then(()=>require("./textile-iryw-lTw.cjs")).then(t=>B(t.textile))}}),I.of({name:"TiddlyWiki",load(){return Promise.resolve().then(()=>require("./tiddlywiki-D8IJz1k7.cjs")).then(t=>B(t.tiddlyWiki))}}),I.of({name:"Tiki wiki",load(){return Promise.resolve().then(()=>require("./tiki-C5p5KSQK.cjs")).then(t=>B(t.tiki))}}),I.of({name:"TOML",extensions:["toml"],load(){return Promise.resolve().then(()=>require("./toml-CekOMZjo.cjs")).then(t=>B(t.toml))}}),I.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return Promise.resolve().then(()=>require("./troff-D-3QCOYN.cjs")).then(t=>B(t.troff))}}),I.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return Promise.resolve().then(()=>require("./ttcn-C2MXAqcM.cjs")).then(t=>B(t.ttcn))}}),I.of({name:"TTCN_CFG",extensions:["cfg"],load(){return Promise.resolve().then(()=>require("./ttcn-cfg-BYqcMRxC.cjs")).then(t=>B(t.ttcnCfg))}}),I.of({name:"Turtle",extensions:["ttl"],load(){return Promise.resolve().then(()=>require("./turtle-DSJNatSv.cjs")).then(t=>B(t.turtle))}}),I.of({name:"Web IDL",extensions:["webidl"],load(){return Promise.resolve().then(()=>require("./webidl-CWb_flNk.cjs")).then(t=>B(t.webIDL))}}),I.of({name:"VB.NET",extensions:["vb"],load(){return Promise.resolve().then(()=>require("./vb-qzHzzvyB.cjs")).then(t=>B(t.vb))}}),I.of({name:"VBScript",extensions:["vbs"],load(){return Promise.resolve().then(()=>require("./vbscript-CWm8v9tE.cjs")).then(t=>B(t.vbScript))}}),I.of({name:"Velocity",extensions:["vtl"],load(){return Promise.resolve().then(()=>require("./velocity-D3_yAIp3.cjs")).then(t=>B(t.velocity))}}),I.of({name:"Verilog",extensions:["v"],load(){return Promise.resolve().then(()=>require("./verilog-BOhLNmQo.cjs")).then(t=>B(t.verilog))}}),I.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return Promise.resolve().then(()=>require("./vhdl-CMFbi8Im.cjs")).then(t=>B(t.vhdl))}}),I.of({name:"XQuery",extensions:["xy","xquery","xq","xqm","xqy"],load(){return Promise.resolve().then(()=>require("./xquery-mbJFEpkV.cjs")).then(t=>B(t.xQuery))}}),I.of({name:"Yacas",extensions:["ys"],load(){return Promise.resolve().then(()=>require("./yacas-urx_N5C8.cjs")).then(t=>B(t.yacas))}}),I.of({name:"Z80",extensions:["z80"],load(){return Promise.resolve().then(()=>require("./z80-CsG3CM6M.cjs")).then(t=>B(t.z80))}}),I.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return Promise.resolve().then(()=>require("./mscgen-BToym4Bs.cjs")).then(t=>B(t.mscgen))}}),I.of({name:"Xù",extensions:["xu"],load(){return Promise.resolve().then(()=>require("./mscgen-BToym4Bs.cjs")).then(t=>B(t.xu))}}),I.of({name:"MsGenny",extensions:["msgenny"],load(){return Promise.resolve().then(()=>require("./mscgen-BToym4Bs.cjs")).then(t=>B(t.msgenny))}}),I.of({name:"Vue",extensions:["vue"],load(){return Promise.resolve().then(()=>require("./index-Cdf8O-85.cjs")).then(t=>t.vue())}}),I.of({name:"Angular Template",load(){return Promise.resolve().then(()=>require("./index-BsVZkhaG.cjs")).then(t=>t.angular())}})],wm={"layout-editor-only":te.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[te.jsx("rect",{x:"1.5",y:"2.5",width:"13",height:"11",rx:"1.5",stroke:"currentColor",strokeWidth:"1.2"}),te.jsx("line",{x1:"4",y1:"6",x2:"12",y2:"6",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"}),te.jsx("line",{x1:"4",y1:"8.5",x2:"10",y2:"8.5",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"}),te.jsx("line",{x1:"4",y1:"11",x2:"8",y2:"11",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"})]}),"layout-split":te.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[te.jsx("rect",{x:"1.5",y:"2.5",width:"13",height:"11",rx:"1.5",stroke:"currentColor",strokeWidth:"1.2"}),te.jsx("line",{x1:"8",y1:"2.5",x2:"8",y2:"13.5",stroke:"currentColor",strokeWidth:"1.2"})]}),"layout-preview-only":te.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[te.jsx("rect",{x:"1.5",y:"2.5",width:"13",height:"11",rx:"1.5",stroke:"currentColor",strokeWidth:"1.2"}),te.jsx("path",{d:"M8 10.5C9.38 10.5 11.5 9.27 11.5 8C11.5 6.73 9.38 5.5 8 5.5C6.62 5.5 4.5 6.73 4.5 8C4.5 9.27 6.62 10.5 8 10.5Z",stroke:"currentColor",strokeWidth:"1"}),te.jsx("circle",{cx:"8",cy:"8",r:"1.2",fill:"currentColor"})]}),code:te.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[te.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"13",rx:"1.5",stroke:"currentColor",strokeWidth:"1.2"}),te.jsx("line",{x1:"4",y1:"5.5",x2:"12",y2:"5.5",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"}),te.jsx("line",{x1:"4",y1:"8",x2:"10",y2:"8",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"}),te.jsx("line",{x1:"4",y1:"10.5",x2:"8",y2:"10.5",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"})]})},doe={bold:"B",italic:"I",strikethrough:"S",heading:"H",h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",quote:"❝",codeblock:"</>",link:"🔗",image:"🖼",table:"⊞",ul:"•",ol:"1.",task:"☑",hr:"―",math:"∑",undo:"↩",redo:"↪",preview:"👁",fullscreen:"⛶",layout:"⊞"},Ta=({name:t})=>wm[t]?te.jsx("span",{className:"toolbar-icon toolbar-icon-svg",children:wm[t]}):te.jsx("span",{className:"toolbar-icon",children:doe[t]??t}),Sm=["bold","italic","strikethrough","|","heading","quote","|","code","codeblock","|","link","image","table","|","ul","ol","task","|","math","hr","|","undo","redo","|","layout","fullscreen"],poe=["h1","h2","h3","h4","h5"],os=["preview-only","editor-only","split"];function moe(t){return t===!1?{show:!1,items:[]}:t===!0||t===void 0?{show:!0,items:Sm}:Array.isArray(t)?{show:!0,items:t}:{show:t.show!==!1,items:t.items??Sm}}const goe={bold:t=>Hr(t,"**","**"),italic:t=>Hr(t,"*","*"),strikethrough:t=>Hr(t,"~~","~~"),heading:t=>ka(t,"## "),h1:t=>ba(t,1),h2:t=>ba(t,2),h3:t=>ba(t,3),h4:t=>ba(t,4),h5:t=>ba(t,5),quote:t=>ka(t,"> "),code:t=>Hr(t,"`","`"),codeblock:t=>Hr(t,"\n```\n","\n```\n"),link:t=>Hr(t,"[","](url)"),image:t=>ql(t,"![alt](url)"),table:t=>ql(t,`
86
- | Column 1 | Column 2 | Column 3 |
87
- | -------- | -------- | -------- |
88
- | Cell 1 | Cell 2 | Cell 3 |
89
- `),ul:t=>ka(t,"- "),ol:t=>ka(t,"1. "),task:t=>ka(t,"- [ ] "),hr:t=>ql(t,`
90
- ---
91
- `),math:t=>Hr(t,"$","$")},Qb=ne.memo(({initialValue:t="",value:e,onChange:r,layout:n="preview-only",minHeight:a="400px",maxHeight:i="800px",extensions:s=[],toolbar:o,readOnly:l=!1,onImageUpload:c,onAutoSave:u,autoSaveInterval:h=3e4,maxLength:f,...d})=>{const g=ne.useRef(null),O=ne.useRef(null),[k,y]=ne.useState(e??t),[w,P]=ne.useState("editor"),[N,T]=ne.useState(!1),[m,S]=ne.useState(n),[$,Q]=ne.useState(!1),D=ne.useRef(null),{resolvedTheme:F}=_i(),{messages:R}=Kn(),Z=ne.useRef(null),W=ne.useRef(!1),v=moe(o);ne.useEffect(()=>{if(e!==void 0&&e!==k&&(y(e),O.current)){const J=O.current.state.doc.toString();J!==e&&O.current.dispatch({changes:{from:0,to:J.length,insert:e}})}},[e]),ne.useEffect(()=>{if(!u||!h)return;const J=setInterval(()=>u(k),h);return()=>clearInterval(J)},[k,u,h]),ne.useEffect(()=>{if(!g.current)return;const J=ae.updateListener.of(xe=>{if(xe.docChanged){if(W.current){W.current=!1;return}let Oe=xe.state.doc.toString();if(f!==void 0&&Oe.length>f){Oe=Oe.slice(0,f),W.current=!0;const Ve=Math.min(xe.state.selection.main.head,f);xe.view.dispatch({changes:{from:f,to:xe.state.doc.length},selection:{anchor:Ve}})}y(Oe),r==null||r(Oe)}}),he=ae.domEventHandlers({paste:(xe,Oe)=>{var st;if(!c)return!1;const Ve=(st=xe.clipboardData)==null?void 0:st.items;if(!Ve)return!1;for(const Tt of Ve)if(Tt.type.startsWith("image/")){xe.preventDefault();const It=Tt.getAsFile();if(It){const jt=`![Uploading...]()
92
- `,aa=Oe.state.selection.main.head;Oe.dispatch({changes:{from:aa,insert:jt}}),c(It).then(To=>{const Eo=To.replace(/[()]/g,encodeURIComponent),On=Oe.state.doc.toString().indexOf(jt);On>=0&&Oe.dispatch({changes:{from:On,to:On+jt.length,insert:`![image](${Eo})
93
- `}})})}return!0}return!1},drop:(xe,Oe)=>{var st;if(!c)return!1;const Ve=(st=xe.dataTransfer)==null?void 0:st.files;if(!Ve)return!1;for(const Tt of Ve)if(Tt.type.startsWith("image/"))return xe.preventDefault(),c(Tt).then(It=>{const jt=It.replace(/[()]/g,encodeURIComponent),aa=Oe.posAtCoords({x:xe.clientX,y:xe.clientY})??Oe.state.selection.main.head;Oe.dispatch({changes:{from:aa,insert:`![image](${jt})
94
- `}})}),!0;return!1}}),A=we.create({doc:k,extensions:[vb({base:Un,codeLanguages:foe}),ure(dre),Ire(),Tte(),Pte(),tae(),mo.of([...$ne,...Xre]),J,he,ae.lineWrapping,we.readOnly.of(l),ae.theme({"&":{minHeight:a,maxHeight:i},".cm-scroller":{overflow:"auto"}}),...s]}),Se=new ae({state:A,parent:g.current});return O.current=Se,()=>{Se.destroy(),O.current=null}},[]);const G=ne.useCallback(J=>{const he=O.current;if(J==="undo"){he&&(hh(he),he.focus());return}if(J==="redo"){he&&(Ms(he),he.focus());return}if(J==="preview"){P(Se=>Se==="preview"?"editor":"preview");return}if(J==="fullscreen"){T(Se=>!Se);return}if(J==="layout"){S(Se=>{const xe=os.indexOf(Se);return os[(xe+1)%os.length]});return}if(J==="heading"){Q(Se=>!Se);return}if(Q(!1),!he)return;const A=goe[J];A&&A(he),he.focus()},[]);ne.useEffect(()=>{if(!$)return;const J=he=>{D.current&&!D.current.contains(he.target)&&Q(!1)};return document.addEventListener("mousedown",J),()=>document.removeEventListener("mousedown",J)},[$]),ne.useEffect(()=>{S(n)},[n]);const ie=m,de=ie==="split"||ie==="editor-only"||ie==="tabs"&&w==="editor",pe=ie==="split"||ie==="preview-only"||ie==="tabs"&&w==="preview",E=d.theme?d.theme==="auto"?F:d.theme:F;return te.jsxs("div",{ref:Z,className:`markdown-editor layout-${ie} markdown-theme-${E}${N?" markdown-editor-fullscreen":""}${d.className?` ${d.className}`:""}`,children:[v.show&&te.jsxs("div",{className:"markdown-toolbar",role:"toolbar",children:[te.jsx("div",{className:"toolbar-left",children:os.map(J=>te.jsx("button",{className:`toolbar-btn toolbar-layout${m===J?" active":""}`,onClick:()=>S(J),title:R.toolbar[`layout_${J}`]??J,"aria-label":J,"aria-pressed":m===J,children:te.jsx(Ta,{name:`layout-${J}`})},J))}),te.jsx("div",{className:"toolbar-right",children:v.items.filter(J=>J!=="layout").map((J,he)=>J==="|"?te.jsx("span",{className:"toolbar-separator"},he):J==="heading"?te.jsxs("div",{className:"toolbar-heading-group",ref:D,children:[te.jsxs("button",{className:`toolbar-btn toolbar-heading${$?" active":""}`,onClick:()=>G(J),title:R.toolbar.heading,"aria-label":R.toolbar.heading,"aria-expanded":$,"aria-haspopup":"true",children:[te.jsx(Ta,{name:"heading"}),te.jsx("span",{className:"toolbar-caret",children:"▾"})]}),$&&te.jsx("div",{className:"toolbar-dropdown",role:"menu",children:poe.map(A=>te.jsxs("button",{className:"toolbar-dropdown-item",role:"menuitem",onClick:()=>{G(A),Q(!1)},children:[te.jsx(Ta,{name:A}),te.jsx("span",{children:R.toolbar[A]??A.toUpperCase()})]},A))})]},J):te.jsx("button",{className:`toolbar-btn toolbar-${J}`,onClick:()=>G(J),title:R.toolbar[J]??J,"aria-label":R.toolbar[J]??J,children:te.jsx(Ta,{name:J})},J))})]}),te.jsxs("div",{className:"markdown-editor-panels",children:[te.jsx("div",{className:"markdown-editor-panel",ref:g,style:de?void 0:{display:"none"}}),pe&&te.jsx("div",{className:"markdown-preview-panel",children:te.jsx(Lu,{source:k,...d})})]}),f!==void 0&&te.jsxs("div",{className:"markdown-editor-counter",children:[k.length," / ",f]})]})});Qb.displayName="MarkdownEditor";function Hr(t,e,r){const{from:n,to:a}=t.state.selection.main,i=t.state.sliceDoc(n,a);t.dispatch({changes:{from:n,to:a,insert:`${e}${i||"text"}${r}`},selection:{anchor:n+e.length,head:n+e.length+(i||"text").length}})}function ka(t,e){const{from:r}=t.state.selection.main,n=t.state.doc.lineAt(r);t.dispatch({changes:{from:n.from,insert:e}})}function ba(t,e){const{from:r}=t.state.selection.main,n=t.state.doc.lineAt(r),i=n.text.replace(/^#{1,6}\s*/,""),s="#".repeat(e)+" ";t.dispatch({changes:{from:n.from,to:n.to,insert:s+i}})}function ql(t,e){const{from:r}=t.state.selection.main;t.dispatch({changes:{from:r,insert:e},selection:{anchor:r+e.length}})}function zb(t,e){const[r,n]=ne.useState(""),[a,i]=ne.useState([]),[s,o]=ne.useState(!1),[l,c]=ne.useState(null),[u,h]=ne.useState(0),f=ne.useMemo(()=>bi(e),[JSON.stringify(e)]);return ne.useEffect(()=>{let d=!1;return o(!0),c(null),f.process(t).then(g=>{if(d)return;n(String(g));const O=Qu(t,e);i(so(O))}).catch(g=>{d||c(g instanceof Error?g:new Error(String(g)))}).finally(()=>{d||o(!1)}),()=>{d=!0}},[t,f,u]),{html:r,toc:a,isLoading:s,error:l,refresh:()=>h(d=>d+1)}}const Ooe=({source:t,options:e,className:r="",theme:n,onRendered:a})=>{const{html:i,isLoading:s,error:o}=zb(t,e),{resolvedTheme:l,theme:c}=_i(),{messages:u}=Kn(),h=n??(c||"auto"),f=h==="auto"?l:h;return ne.useEffect(()=>{i&&a&&a({html:i,toc:[]})},[i,a]),o?te.jsx("div",{className:`markdown-renderer markdown-error ${r}`,children:te.jsxs("div",{className:"markdown-error-banner",children:[te.jsx("strong",{children:u.renderer.renderError})," ",o.message]})}):te.jsx("div",{className:`markdown-renderer markdown-theme-${f} ${r}`,"data-loading":s||void 0,children:te.jsx("div",{className:"markdown-body",dangerouslySetInnerHTML:{__html:i}})})},yoe=["light","dark","auto"],koe=({className:t=""})=>{const{theme:e,setTheme:r}=_i(),{messages:n}=Kn(),a={light:n.theme.light,dark:n.theme.dark,auto:n.theme.auto};return te.jsx("div",{className:`angus-theme-switcher ${t}`,children:yoe.map(i=>te.jsxs("button",{className:`theme-switcher-btn ${e===i?"active":""}`,onClick:()=>r(i),"aria-label":a[i],title:a[i],children:[i==="light"?"☀️":i==="dark"?"🌙":"💻",te.jsx("span",{className:"theme-switcher-label",children:a[i]})]},i))})},boe=[{value:"en-US",label:"English"},{value:"zh-CN",label:"中文"}],_oe=({className:t=""})=>{const{locale:e,setLocale:r}=Kn();return te.jsx("div",{className:`angus-locale-switcher ${t}`,children:boe.map(n=>te.jsx("button",{className:`locale-switcher-btn ${e===n.value?"active":""}`,onClick:()=>r(n.value),"aria-label":n.label,title:n.label,children:n.label},n.value))})};function woe(t,e,r=!0){const n=ne.useRef(!1),a=ne.useRef(),i=ne.useCallback((s,o)=>{if(n.current)return;n.current=!0;const l=s.scrollTop/(s.scrollHeight-s.clientHeight||1);o.scrollTop=l*(o.scrollHeight-o.clientHeight),clearTimeout(a.current),a.current=setTimeout(()=>{n.current=!1},50)},[]);ne.useEffect(()=>{if(!r)return;const s=t.current,o=e.current;if(!s||!o)return;const l=()=>i(s,o);return s.addEventListener("scroll",l,{passive:!0}),()=>{s.removeEventListener("scroll",l),clearTimeout(a.current)}},[r,t,e,i])}class Soe{constructor(){this.requestId=0,this.pending=new Map,this.worker=new Worker(new URL("/assets/worker-renderer-BR06vH7b.js",typeof document>"u"?require("url").pathToFileURL(__filename).href:Co&&Co.tagName.toUpperCase()==="SCRIPT"&&Co.src||new URL("index-DHniRj_i.cjs",document.baseURI).href),{type:"module"}),this.worker.onmessage=e=>{const{id:r,html:n,error:a}=e.data,i=this.pending.get(r);i&&(this.pending.delete(r),a?i.reject(new Error(a)):i.resolve(n))}}render(e,r){const n=++this.requestId;return new Promise((a,i)=>{this.pending.set(n,{resolve:a,reject:i}),this.worker.postMessage({id:n,source:e,options:r})})}destroy(){this.worker.terminate(),this.pending.clear()}}function xoe(t){const n=new DOMParser().parseFromString(`<div>${t}</div>`,"text/html").body.firstElementChild;return n?Array.from(n.children).map(a=>a.outerHTML):[t]}class Toe{constructor(e=100,r=6e4){this.cache=new Map,this.maxSize=e,this.ttl=r}hash(e){let r=2166136261,n=16777619;for(let a=0;a<e.length;a++){const i=e.charCodeAt(a);r^=i,r=Math.imul(r,16777619),n^=i,n=Math.imul(n,2166136261)}return(r>>>0).toString(36)+"-"+(n>>>0).toString(36)+"-"+e.length}get(e){const r=this.hash(e),n=this.cache.get(r);return n?Date.now()-n.timestamp>this.ttl?(this.cache.delete(r),null):n.html:null}set(e,r){if(this.cache.size>=this.maxSize){const n=this.cache.keys().next().value;n!==void 0&&this.cache.delete(n)}this.cache.set(this.hash(e),{html:r,timestamp:Date.now()})}clear(){this.cache.clear()}}function Eoe(t){const e=t.trim();return/^javascript:/i.test(e)||/^data:/i.test(e)&&!/^data:image\//i.test(e)||/^vbscript:/i.test(e)?"":e}function Aoe(t,e){return t.replace(/<a\s+href="(https?:\/\/[^"]+)"/g,(r,n)=>n.startsWith(e)?r:`<a href="${n}" target="_blank" rel="noopener noreferrer"`)}function Coe(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}const Ib=new vu;function Poe(t){return Ib.slug(t)}function voe(){Ib.reset()}exports.ContextTracker=wh;exports.EditorSelection=q;exports.EditorView=ae;exports.ExternalTokenizer=pt;exports.LRLanguage=on;exports.LRParser=hn;exports.LanguageSupport=cn;exports.LocalTokenGroup=oi;exports.LocaleSwitcher=_oe;exports.MarkdownEditor=Qb;exports.MarkdownProvider=aJ;exports.MarkdownRenderer=Lu;exports.MarkdownViewer=Ooe;exports.MarkdownWorkerRenderer=Soe;exports.NodeWeakMap=eh;exports.RenderCache=Toe;exports.ThemeSwitcher=koe;exports.ToolbarIcon=Ta;exports.bracketMatchingHandle=ih;exports.completeFromList=sk;exports.continuedIndent=Ma;exports.copyToClipboard=YO;exports.createProcessor=bi;exports.defineCSSCompletionSource=Ah;exports.delimitedIndent=_y;exports.escapeHtml=Coe;exports.extractToc=so;exports.flatIndent=Sy;exports.foldInside=ah;exports.foldNodeProp=ta;exports.getLocale=tJ;exports.getMessages=Iu;exports.html=Ih;exports.ifNotIn=ok;exports.indentNodeProp=gn;exports.initMermaid=jO;exports.javascriptLanguage=xt;exports.parseMixed=th;exports.parseToAst=Qu;exports.processExternalLinks=Aoe;exports.rehypeA11y=XO;exports.rehypeHighlightCode=NO;exports.remarkAlert=MO;exports.remarkContainer=FO;exports.remarkToc=BO;exports.renderMarkdown=HK;exports.renderMarkdownSync=VK;exports.renderMermaidDiagram=ZO;exports.resetSlugger=voe;exports.sanitizeUrl=Eoe;exports.setLocale=eJ;exports.slug=Poe;exports.snippetCompletion=rt;exports.splitHtmlBlocks=xoe;exports.styleTags=mn;exports.syntaxTree=ve;exports.t=rJ;exports.tags=C;exports.useDebouncedValue=UO;exports.useLocale=Kn;exports.useMarkdown=zb;exports.useScrollSync=woe;exports.useTheme=_i;