@ai-agent-fast/ai-chat 0.0.0-stage → 1.0.0

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.
@@ -0,0 +1,45 @@
1
+ (function(ae,x){typeof exports=="object"&&typeof module!="undefined"?x(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],x):(ae=typeof globalThis!="undefined"?globalThis:ae||self,x(ae.AiChatLib={},ae.Vue))})(this,function(ae,x){"use strict";var h1=Object.defineProperty,b1=Object.defineProperties;var m1=Object.getOwnPropertyDescriptors;var Eo=Object.getOwnPropertySymbols;var g1=Object.prototype.hasOwnProperty,_1=Object.prototype.propertyIsEnumerable;var ko=(ae,x,we)=>x in ae?h1(ae,x,{enumerable:!0,configurable:!0,writable:!0,value:we}):ae[x]=we,$e=(ae,x)=>{for(var we in x||(x={}))g1.call(x,we)&&ko(ae,we,x[we]);if(Eo)for(var we of Eo(x))_1.call(x,we)&&ko(ae,we,x[we]);return ae},zr=(ae,x)=>b1(ae,m1(x));var $n=(ae,x,we)=>new Promise((qn,Zn)=>{var Wn=xt=>{try{Vn(we.next(xt))}catch(dn){Zn(dn)}},Pe=xt=>{try{Vn(we.throw(xt))}catch(dn){Zn(dn)}},Vn=xt=>xt.done?qn(xt.value):Promise.resolve(xt.value).then(Wn,Pe);Vn((we=we.apply(ae,x)).next())});var we=new Map;function qn(e,t){!e||!t||we.set(String(e),t)}function Zn(e){e&&Object.keys(e).forEach(function(t){qn(t,e[t])})}function Wn(e,t){return e?t&&t[e]?t[e]:we.get(String(e))||null:null}function Pe(e,t,n,u,r,a,i,o){var s=typeof e=="function"?e.options:e;return t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),{exports:e,options:s}}const xt=Object.assign({name:"TextPart"},{props:{message:{type:Object,required:!0}},setup(e){return{__sfc:!0}}});var dn=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"ai-chat-text"},[t._v(t._s(t.message.content))])},Ao=[],So=Pe(xt,dn,Ao);const Br=So.exports,Ur={};function Co(e){let t=Ur[e];if(t)return t;t=Ur[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);t.push(u)}for(let n=0;n<e.length;n++){const u=e.charCodeAt(n);t[u]="%"+("0"+u.toString(16).toUpperCase()).slice(-2)}return t}function Xt(e,t){typeof t!="string"&&(t=Xt.defaultChars);const n=Co(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(u){let r="";for(let a=0,i=u.length;a<i;a+=3){const o=parseInt(u.slice(a+1,a+3),16);if(o<128){r+=n[o];continue}if((o&224)===192&&a+3<i){const s=parseInt(u.slice(a+4,a+6),16);if((s&192)===128){const c=o<<6&1984|s&63;c<128?r+="��":r+=String.fromCharCode(c),a+=3;continue}}if((o&240)===224&&a+6<i){const s=parseInt(u.slice(a+4,a+6),16),c=parseInt(u.slice(a+7,a+9),16);if((s&192)===128&&(c&192)===128){const f=o<<12&61440|s<<6&4032|c&63;f<2048||f>=55296&&f<=57343?r+="���":r+=String.fromCharCode(f),a+=6;continue}}if((o&248)===240&&a+9<i){const s=parseInt(u.slice(a+4,a+6),16),c=parseInt(u.slice(a+7,a+9),16),f=parseInt(u.slice(a+10,a+12),16);if((s&192)===128&&(c&192)===128&&(f&192)===128){let d=o<<18&1835008|s<<12&258048|c<<6&4032|f&63;d<65536||d>1114111?r+="����":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),a+=9;continue}}r+="�"}return r})}Xt.defaultChars=";/?:@&=+$,#",Xt.componentChars="";const Gr={};function To(e){let t=Gr[e];if(t)return t;t=Gr[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);/^[0-9a-z]$/i.test(u)?t.push(u):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function pn(e,t,n){typeof t!="string"&&(n=t,t=pn.defaultChars),typeof n=="undefined"&&(n=!0);const u=To(t);let r="";for(let a=0,i=e.length;a<i;a++){const o=e.charCodeAt(a);if(n&&o===37&&a+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3))){r+=e.slice(a,a+3),a+=2;continue}if(o<128){r+=u[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&a+1<i){const s=e.charCodeAt(a+1);if(s>=56320&&s<=57343){r+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[a])}return r}pn.defaultChars=";/?:@&=+$,-_.!~*'()#",pn.componentChars="-_.!~*'()";function Du(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Xn(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const wo=/^([a-z0-9.+-]+:)/i,Do=/:[0-9]*$/,Ro=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Fo=["<",">",'"',"`"," ","\r",`
2
+ `," "],Mo=["{","}","|","\\","^","`"].concat(Fo),Oo=["'"].concat(Mo),Hr=["%","/","?",";","#"].concat(Oo),jr=["/","?","#"],Io=255,$r=/^[+a-z0-9A-Z_-]{0,63}$/,No=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,qr={javascript:!0,"javascript:":!0},Zr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ru(e,t){if(e&&e instanceof Xn)return e;const n=new Xn;return n.parse(e,t),n}Xn.prototype.parse=function(e,t){let n,u,r,a=e;if(a=a.trim(),!t&&e.split("#").length===1){const c=Ro.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let i=wo.exec(a);if(i&&(i=i[0],n=i.toLowerCase(),this.protocol=i,a=a.substr(i.length)),(t||i||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=a.substr(0,2)==="//",r&&!(i&&qr[i])&&(a=a.substr(2),this.slashes=!0)),!qr[i]&&(r||i&&!Zr[i])){let c=-1;for(let b=0;b<jr.length;b++)u=a.indexOf(jr[b]),u!==-1&&(c===-1||u<c)&&(c=u);let f,d;c===-1?d=a.lastIndexOf("@"):d=a.lastIndexOf("@",c),d!==-1&&(f=a.slice(0,d),a=a.slice(d+1),this.auth=f),c=-1;for(let b=0;b<Hr.length;b++)u=a.indexOf(Hr[b]),u!==-1&&(c===-1||u<c)&&(c=u);c===-1&&(c=a.length),a[c-1]===":"&&c--;const h=a.slice(0,c);a=a.slice(c),this.parseHost(h),this.hostname=this.hostname||"";const g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){const b=this.hostname.split(/\./);for(let C=0,O=b.length;C<O;C++){const P=b[C];if(P&&!P.match($r)){let B="";for(let R=0,y=P.length;R<y;R++)P.charCodeAt(R)>127?B+="x":B+=P[R];if(!B.match($r)){const R=b.slice(0,C),y=b.slice(C+1),A=P.match(No);A&&(R.push(A[1]),y.unshift(A[2])),y.length&&(a=y.join(".")+a),this.hostname=R.join(".");break}}}}this.hostname.length>Io&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=a.indexOf("#");o!==-1&&(this.hash=a.substr(o),a=a.slice(0,o));const s=a.indexOf("?");return s!==-1&&(this.search=a.substr(s),a=a.slice(0,s)),a&&(this.pathname=a),Zr[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Xn.prototype.parseHost=function(e){let t=Do.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const Lo=Object.freeze(Object.defineProperty({__proto__:null,decode:Xt,encode:pn,format:Du,parse:Ru},Symbol.toStringTag,{value:"Module"})),Wr=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Vr=/[\0-\x1F\x7F-\x9F]/,Po=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Fu=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Xr=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Yr=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,zo=Object.freeze(Object.defineProperty({__proto__:null,Any:Wr,Cc:Vr,Cf:Po,P:Fu,S:Xr,Z:Yr},Symbol.toStringTag,{value:"Module"})),Bo=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(e=>e.charCodeAt(0))),Uo=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Mu;const Go=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]]),Ho=(Mu=String.fromCodePoint)!==null&&Mu!==void 0?Mu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function jo(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Go.get(e))!==null&&t!==void 0?t:e}var De;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(De||(De={}));const $o=32;var wt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(wt||(wt={}));function Ou(e){return e>=De.ZERO&&e<=De.NINE}function qo(e){return e>=De.UPPER_A&&e<=De.UPPER_F||e>=De.LOWER_A&&e<=De.LOWER_F}function Zo(e){return e>=De.UPPER_A&&e<=De.UPPER_Z||e>=De.LOWER_A&&e<=De.LOWER_Z||Ou(e)}function Wo(e){return e===De.EQUALS||Zo(e)}var Re;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Re||(Re={}));var yt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(yt||(yt={}));class Vo{constructor(t,n,u){this.decodeTree=t,this.emitCodePoint=n,this.errors=u,this.state=Re.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=yt.Strict}startEntity(t){this.decodeMode=t,this.state=Re.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Re.EntityStart:return t.charCodeAt(n)===De.NUM?(this.state=Re.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Re.NamedEntity,this.stateNamedEntity(t,n));case Re.NumericStart:return this.stateNumericStart(t,n);case Re.NumericDecimal:return this.stateNumericDecimal(t,n);case Re.NumericHex:return this.stateNumericHex(t,n);case Re.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|$o)===De.LOWER_X?(this.state=Re.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Re.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,u,r){if(n!==u){const a=u-n;this.result=this.result*Math.pow(r,a)+parseInt(t.substr(n,a),r),this.consumed+=a}}stateNumericHex(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(Ou(r)||qo(r))n+=1;else return this.addToNumericResult(t,u,n,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,u,n,16),-1}stateNumericDecimal(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(Ou(r))n+=1;else return this.addToNumericResult(t,u,n,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,u,n,10),-1}emitNumericEntity(t,n){var u;if(this.consumed<=n)return(u=this.errors)===null||u===void 0||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===De.SEMI)this.consumed+=1;else if(this.decodeMode===yt.Strict)return 0;return this.emitCodePoint(jo(this.result),this.consumed),this.errors&&(t!==De.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:u}=this;let r=u[this.treeIndex],a=(r&wt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const i=t.charCodeAt(n);if(this.treeIndex=Xo(u,r,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return this.result===0||this.decodeMode===yt.Attribute&&(a===0||Wo(i))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],a=(r&wt.VALUE_LENGTH)>>14,a!==0){if(i===De.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==yt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:u}=this,r=(u[n]&wt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,u){const{decodeTree:r}=this;return this.emitCodePoint(n===1?r[t]&~wt.VALUE_LENGTH:r[t+1],u),n===3&&this.emitCodePoint(r[t+2],u),u}end(){var t;switch(this.state){case Re.NamedEntity:return this.result!==0&&(this.decodeMode!==yt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Re.NumericDecimal:return this.emitNumericEntity(0,2);case Re.NumericHex:return this.emitNumericEntity(0,3);case Re.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Re.EntityStart:return 0}}}function Kr(e){let t="";const n=new Vo(e,u=>t+=Ho(u));return function(r,a){let i=0,o=0;for(;(o=r.indexOf("&",o))>=0;){t+=r.slice(i,o),n.startEntity(a);const c=n.write(r,o+1);if(c<0){i=o+n.end();break}i=o+c,o=c===0?i+1:i}const s=t+r.slice(i);return t="",s}}function Xo(e,t,n,u){const r=(t&wt.BRANCH_LENGTH)>>7,a=t&wt.JUMP_TABLE;if(r===0)return a!==0&&u===a?n:-1;if(a){const s=u-a;return s<0||s>=r?-1:e[n+s]-1}let i=n,o=i+r-1;for(;i<=o;){const s=i+o>>>1,c=e[s];if(c<u)i=s+1;else if(c>u)o=s-1;else return e[s+r]}return-1}const Qr=Kr(Bo);Kr(Uo);function Yo(e,t=yt.Legacy){return Qr(e,t)}function Ko(e){return Qr(e,yt.Strict)}function Qo(e){return Object.prototype.toString.call(e)}function Iu(e){return Qo(e)==="[object String]"}const Jo=Object.prototype.hasOwnProperty;function es(e,t){return Jo.call(e,t)}function Yn(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(u){e[u]=n[u]})}}),e}function ts(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Nu(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function hn(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const Jr=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ns=/&([a-z#][a-z0-9]{1,31});/gi,us=new RegExp(Jr.source+"|"+ns.source,"gi"),rs=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function as(e,t){if(t.charCodeAt(0)===35&&rs.test(t)){const u=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Nu(u)?hn(u):e}const n=Yo(e);return n!==e?n:e}function is(e){return e.indexOf("\\")<0?e:e.replace(Jr,"$1")}function Yt(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(us,function(t,n,u){return n||as(t,u)})}const os=/[&<>"]/,ss=/[&<>"]/g,cs={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function ls(e){return cs[e]}function Dt(e){return os.test(e)?e.replace(ss,ls):e}const fs=/[.?*+^$[\]\\(){}|-]/g;function ds(e){return e.replace(fs,"\\$&")}function ge(e){switch(e){case 9:case 32:return!0}return!1}function bn(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ea(e){return Fu.test(e)||Xr.test(e)}function mn(e){return ea(hn(e))}function gn(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Kn(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}function ta(e){return e===32||e===9||e===10||e===13}function Qn(e){let t=0;for(;t<e.length&&ta(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&ta(e.charCodeAt(n));n--);return e.slice(t,n+1)}const ps=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:ts,asciiTrim:Qn,assign:Yn,escapeHtml:Dt,escapeRE:ds,fromCodePoint:hn,has:es,isMdAsciiPunct:gn,isPunctChar:ea,isPunctCharCode:mn,isSpace:ge,isString:Iu,isValidEntityCode:Nu,isWhiteSpace:bn,lib:{mdurl:Lo,ucmicro:zo},normalizeReference:Kn,unescapeAll:Yt,unescapeMd:is},Symbol.toStringTag,{value:"Module"}));function hs(e,t,n){let u,r,a,i;const o=e.posMax,s=e.pos;for(e.pos=t+1,u=1;e.pos<o;){if(a=e.src.charCodeAt(e.pos),a===93&&(u--,u===0)){r=!0;break}if(i=e.pos,e.md.inline.skipToken(e),a===91){if(i===e.pos-1)u++;else if(n)return e.pos=s,-1}}let c=-1;return r&&(c=e.pos),e.pos=s,c}function bs(e,t,n){let u,r=t;const a={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<n;){if(u=e.charCodeAt(r),u===10||u===60)return a;if(u===62)return a.pos=r+1,a.str=Yt(e.slice(t+1,r)),a.ok=!0,a;if(u===92&&r+1<n){r+=2;continue}r++}return a}let i=0;for(;r<n&&(u=e.charCodeAt(r),!(u===32||u<32||u===127));){if(u===92&&r+1<n){if(e.charCodeAt(r+1)===32){r++;continue}r+=2;continue}if(u===40&&(i++,i>32))return a;if(u===41){if(i===0)break;i--}r++}return t===r||i!==0||(a.str=Yt(e.slice(t,r)),a.pos=r,a.ok=!0),a}function ms(e,t,n,u){let r,a=t;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)i.str=u.str,i.marker=u.marker;else{if(a>=n)return i;let o=e.charCodeAt(a);if(o!==34&&o!==39&&o!==40)return i;t++,a++,o===40&&(o=41),i.marker=o}for(;a<n;){if(r=e.charCodeAt(a),r===i.marker)return i.pos=a+1,i.str+=Yt(e.slice(t,a)),i.ok=!0,i;if(r===40&&i.marker===41)return i;r===92&&a+1<n&&a++,a++}return i.can_continue=!0,i.str+=Yt(e.slice(t,a)),i}const gs=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:bs,parseLinkLabel:hs,parseLinkTitle:ms},Symbol.toStringTag,{value:"Module"})),st={};st.code_inline=function(e,t,n,u,r){const a=e[t];return"<code"+r.renderAttrs(a)+">"+Dt(a.content)+"</code>"},st.code_block=function(e,t,n,u,r){const a=e[t];return"<pre"+r.renderAttrs(a)+"><code>"+Dt(e[t].content)+`</code></pre>
3
+ `},st.fence=function(e,t,n,u,r){const a=e[t],i=a.info?Yt(a.info).trim():"";let o="",s="";if(i){const f=i.split(/(\s+)/g);o=f[0],s=f.slice(2).join("")}let c;if(n.highlight?c=n.highlight(a.content,o,s)||Dt(a.content):c=Dt(a.content),c.indexOf("<pre")===0)return c+`
4
+ `;if(i){const f=a.attrIndex("class"),d=a.attrs?a.attrs.slice():[];f<0?d.push(["class",n.langPrefix+o]):(d[f]=d[f].slice(),d[f][1]+=" "+n.langPrefix+o);const h={attrs:d};return`<pre><code${r.renderAttrs(h)}>${c}</code></pre>
5
+ `}return`<pre><code${r.renderAttrs(a)}>${c}</code></pre>
6
+ `},st.image=function(e,t,n,u,r){const a=e[t];return a.attrs[a.attrIndex("alt")][1]=r.renderInlineAsText(a.children,n,u),r.renderToken(e,t,n)},st.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
7
+ `:`<br>
8
+ `},st.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
9
+ `:`<br>
10
+ `:`
11
+ `},st.text=function(e,t){return Dt(e[t].content)},st.html_block=function(e,t){return e[t].content},st.html_inline=function(e,t){return e[t].content};function Kt(){this.rules=Yn({},st)}Kt.prototype.renderAttrs=function(t){let n,u,r;if(!t.attrs)return"";for(r="",n=0,u=t.attrs.length;n<u;n++)r+=" "+Dt(t.attrs[n][0])+'="'+Dt(t.attrs[n][1])+'"';return r},Kt.prototype.renderToken=function(t,n,u){const r=t[n];let a="";if(r.hidden)return"";r.block&&r.nesting!==-1&&n&&t[n-1].hidden&&(a+=`
12
+ `),a+=(r.nesting===-1?"</":"<")+r.tag,a+=this.renderAttrs(r),r.nesting===0&&u.xhtmlOut&&(a+=" /");let i=!1;if(r.block&&(i=!0,r.nesting===1&&n+1<t.length)){const o=t[n+1];(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===r.tag)&&(i=!1)}return a+=i?`>
13
+ `:">",a},Kt.prototype.renderInline=function(e,t,n){let u="";const r=this.rules;for(let a=0,i=e.length;a<i;a++){const o=e[a].type;typeof r[o]!="undefined"?u+=r[o](e,a,t,n,this):u+=this.renderToken(e,a,t)}return u},Kt.prototype.renderInlineAsText=function(e,t,n){let u="";for(let r=0,a=e.length;r<a;r++)switch(e[r].type){case"text":u+=e[r].content;break;case"image":u+=this.renderInlineAsText(e[r].children,t,n);break;case"html_inline":case"html_block":u+=e[r].content;break;case"softbreak":case"hardbreak":u+=`
14
+ `;break}return u},Kt.prototype.render=function(e,t,n){let u="";const r=this.rules;for(let a=0,i=e.length;a<i;a++){const o=e[a].type;o==="inline"?u+=this.renderInline(e[a].children,t,n):typeof r[o]!="undefined"?u+=r[o](e,a,t,n,this):u+=this.renderToken(e,a,t,n)}return u};function ze(){this.__rules__=[],this.__cache__=null}ze.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},ze.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(u){t.indexOf(u)<0&&t.push(u)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(u){u.enabled&&(n&&u.alt.indexOf(n)<0||e.__cache__[n].push(u.fn))})})},ze.prototype.at=function(e,t,n){const u=this.__find__(e),r=n||{};if(u===-1)throw new Error("Parser rule not found: "+e);this.__rules__[u].fn=t,this.__rules__[u].alt=r.alt||[],this.__cache__=null},ze.prototype.before=function(e,t,n,u){const r=this.__find__(e),a=u||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},ze.prototype.after=function(e,t,n,u){const r=this.__find__(e),a=u||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},ze.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null},ze.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!0,n.push(u)},this),this.__cache__=null,n},ze.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)},ze.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!1,n.push(u)},this),this.__cache__=null,n},ze.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function nt(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}nt.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let u=0,r=n.length;u<r;u++)if(n[u][0]===t)return u;return-1},nt.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},nt.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r},nt.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u},nt.prototype.attrJoin=function(t,n){const u=this.attrIndex(t);u<0?this.attrPush([t,n]):this.attrs[u][1]=this.attrs[u][1]+" "+n};function na(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}na.prototype.Token=nt;const _s=/\r\n?|\n/g,vs=/\0/g;function xs(e){let t;t=e.src.replace(_s,`
15
+ `),t=t.replace(vs,"�"),e.src=t}function ys(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Es(e){const t=e.tokens;for(let n=0,u=t.length;n<u;n++){const r=t[n];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function ks(e){return/^<a[>\s]/i.test(e)}function As(e){return/^<\/a\s*>/i.test(e)}function Ss(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,u=t.length;n<u;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;const r=t[n].children,a=[];let i=0;for(let o=r.length-1;o>=0;o--){const s=r[o];if(s.type==="link_close"){for(o--;r[o].level!==s.level&&r[o].type!=="link_open";)o--;continue}if(s.type==="html_inline"&&(ks(s.content)&&i>0&&i--,As(s.content)&&i++),!(i>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const c=s.content;let f=e.md.linkify.match(c);const d=[];let h=s.level,g=0;f.length>0&&f[0].index===0&&o>0&&r[o-1].type==="text_special"&&(f=f.slice(1));for(let b=0;b<f.length;b++){const C=f[b].url,O=e.md.normalizeLink(C);if(!e.md.validateLink(O))continue;let P=f[b].text;f[b].schema?f[b].schema==="mailto:"&&!/^mailto:/i.test(P)?P=e.md.normalizeLinkText("mailto:"+P).replace(/^mailto:/,""):P=e.md.normalizeLinkText(P):P=e.md.normalizeLinkText("http://"+P).replace(/^http:\/\//,"");const B=f[b].index;if(B>g){const z=new e.Token("text","",0);z.content=c.slice(g,B),z.level=h,d.push(z)}const R=new e.Token("link_open","a",1);R.attrs=[["href",O]],R.level=h++,R.markup="linkify",R.info="auto",d.push(R);const y=new e.Token("text","",0);y.content=P,y.level=h,d.push(y);const A=new e.Token("link_close","a",-1);A.level=--h,A.markup="linkify",A.info="auto",d.push(A),g=f[b].lastIndex}if(g<c.length){const b=new e.Token("text","",0);b.content=c.slice(g),b.level=h,d.push(b)}a.push({index:o,nodes:d})}}if(a.length>0){let o=r.length;for(const d of a)o+=d.nodes.length-1;const s=new Array(o);let c=0,f=0;a.reverse();for(let d=0;d<r.length;d++){const h=a[c];if((h==null?void 0:h.index)===d){for(const g of h.nodes)s[f++]=g;c++}else s[f++]=r[d]}t[n].children=s}}}const ua=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Cs=/\((c|tm|r)\)/i,Ts=/\((c|tm|r)\)/ig,ws={c:"©",r:"®",tm:"™"};function Ds(e,t){return ws[t.toLowerCase()]}function Rs(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];u.type==="text"&&!t&&(u.content=u.content.replace(Ts,Ds)),u.type==="link_open"&&u.info==="auto"&&t--,u.type==="link_close"&&u.info==="auto"&&t++}}function Fs(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];u.type==="text"&&!t&&ua.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),u.type==="link_open"&&u.info==="auto"&&t--,u.type==="link_close"&&u.info==="auto"&&t++}}function Ms(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Cs.test(e.tokens[t].content)&&Rs(e.tokens[t].children),ua.test(e.tokens[t].content)&&Fs(e.tokens[t].children))}const Os=/['"]/,ra=/['"]/g,aa="’",Is=1e3;function ia(e,t,n){for(;e.length>n;){const u=e.pop();u.isSingleQuote?t.single=u.prevSameQuoteIdx:t.double=u.prevSameQuoteIdx}}function Jn(e,t,n,u){e[t]||(e[t]=[]),e[t].push({pos:n,ch:u})}function Ns(e,t){let n="",u=0;t.sort((r,a)=>r.pos-a.pos);for(let r=0;r<t.length;r++){const a=t[r];n+=e.slice(u,a.pos)+a.ch,u=a.pos+1}return n+e.slice(u)}function Ls(e,t){let n;const u=[],r={single:-1,double:-1},a={};for(let i=0;i<e.length;i++){const o=e[i],s=e[i].level;for(n=u.length-1;n>=0&&!(u[n].level<=s);n--);if(ia(u,r,n+1),o.type!=="text")continue;const c=o.content;let f=0;const d=c.length;e:for(;f<d;){ra.lastIndex=f;const h=ra.exec(c);if(!h)break;let g=!0,b=!0;f=h.index+1;const C=h[0]==="'";let O=32;if(h.index-1>=0)O=c.charCodeAt(h.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){O=e[n].content.charCodeAt(e[n].content.length-1);break}let P=32;if(f<d)P=c.charCodeAt(f);else for(n=i+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){P=e[n].content.charCodeAt(0);break}const B=gn(O)||mn(O),R=gn(P)||mn(P),y=bn(O),A=bn(P);if(A?g=!1:R&&(y||B||(g=!1)),y?b=!1:B&&(A||R||(b=!1)),P===34&&h[0]==='"'&&O>=48&&O<=57&&(b=g=!1),g&&b&&(g=B,b=R),!g&&!b){C&&Jn(a,i,h.index,aa);continue}if(b&&(n=C?r.single:r.double,n>=0&&u[n].level===s)){const z=u[n];let q,k;C?(q=t.md.options.quotes[2],k=t.md.options.quotes[3]):(q=t.md.options.quotes[0],k=t.md.options.quotes[1]),Jn(a,i,h.index,k),Jn(a,z.tokenIdx,z.contentPos,q),ia(u,r,n);continue e}if(g){if(u.length>=Is)return;u.push({tokenIdx:i,contentPos:h.index,isSingleQuote:C,level:s,prevSameQuoteIdx:C?r.single:r.double}),C?r.single=u.length-1:r.double=u.length-1}else b&&C&&Jn(a,i,h.index,aa)}}Object.keys(a).forEach(function(i){e[i].content=Ns(e[i].content,a[i])})}function Ps(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Os.test(e.tokens[t].content)||Ls(e.tokens[t].children,e)}function zs(e){let t,n;const u=e.tokens,r=u.length;for(let a=0;a<r;a++){if(u[a].type!=="inline")continue;const i=u[a].children,o=i.length;for(t=0;t<o;t++)i[t].type==="text_special"&&(i[t].type="text");for(t=n=0;t<o;t++)i[t].type==="text"&&t+1<o&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}const Lu=[["normalize",xs],["block",ys],["inline",Es],["linkify",Ss],["replacements",Ms],["smartquotes",Ps],["text_join",zs]];function Pu(){this.ruler=new ze;for(let e=0;e<Lu.length;e++)this.ruler.push(Lu[e][0],Lu[e][1])}Pu.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,u=t.length;n<u;n++)t[n](e)},Pu.prototype.State=na;function ct(e,t,n,u){this.src=e,this.md=t,this.env=n,this.tokens=u,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let a=0,i=0,o=0,s=0,c=r.length,f=!1;i<c;i++){const d=r.charCodeAt(i);if(!f)if(ge(d)){o++,d===9?s+=4-s%4:s++;continue}else f=!0;(d===10||i===c-1)&&(d!==10&&i++,this.bMarks.push(a),this.eMarks.push(i),this.tShift.push(o),this.sCount.push(s),this.bsCount.push(0),f=!1,o=0,s=0,a=i+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}ct.prototype.push=function(e,t,n){const u=new nt(e,t,n);return u.block=!0,n<0&&this.level--,u.level=this.level,n>0&&this.level++,this.tokens.push(u),u},ct.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},ct.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},ct.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const u=this.src.charCodeAt(t);if(!ge(u))break}return t},ct.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!ge(this.src.charCodeAt(--t)))return t+1;return t},ct.prototype.skipChars=function(t,n){for(let u=this.src.length;t<u&&this.src.charCodeAt(t)===n;t++);return t},ct.prototype.skipCharsBack=function(t,n,u){if(t<=u)return t;for(;t>u;)if(n!==this.src.charCodeAt(--t))return t+1;return t},ct.prototype.getLines=function(t,n,u,r){if(t>=n)return"";const a=new Array(n-t);for(let i=0,o=t;o<n;o++,i++){let s=0;const c=this.bMarks[o];let f=c,d;for(o+1<n||r?d=this.eMarks[o]+1:d=this.eMarks[o];f<d&&s<u;){const h=this.src.charCodeAt(f);if(ge(h))h===9?s+=4-(s+this.bsCount[o])%4:s++;else if(f-c<this.tShift[o])s++;else break;f++}s>u?a[i]=new Array(s-u+1).join(" ")+this.src.slice(f,d):a[i]=this.src.slice(f,d)}return a.join("")},ct.prototype.Token=nt;const Bs=65536;function zu(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function oa(e){const t=[],n=e.length;let u=0,r=e.charCodeAt(u),a=!1,i=0,o="";for(;u<n;)r===124&&(a?(o+=e.substring(i,u-1),i=u):(t.push(o+e.substring(i,u)),o="",i=u+1)),a=r===92,u++,r=e.charCodeAt(u);return t.push(o+e.substring(i)),t}function Us(e,t,n,u){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let a=e.bMarks[r]+e.tShift[r];if(a>=e.eMarks[r])return!1;const i=e.src.charCodeAt(a++);if(i!==124&&i!==45&&i!==58||a>=e.eMarks[r])return!1;const o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58&&!ge(o)||i===45&&ge(o))return!1;for(;a<e.eMarks[r];){const y=e.src.charCodeAt(a);if(y!==124&&y!==45&&y!==58&&!ge(y))return!1;a++}let s=zu(e,t+1),c=s.split("|");const f=[];for(let y=0;y<c.length;y++){const A=c[y].trim();if(!A){if(y===0||y===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(A))return!1;A.charCodeAt(A.length-1)===58?f.push(A.charCodeAt(0)===58?"center":"right"):A.charCodeAt(0)===58?f.push("left"):f.push("")}if(s=zu(e,t).trim(),s.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;c=oa(s),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==f.length)return!1;if(u)return!0;const h=e.parentType;e.parentType="table";const g=e.md.block.ruler.getRules("blockquote"),b=e.push("table_open","table",1),C=[t,0];b.map=C;const O=e.push("thead_open","thead",1);O.map=[t,t+1];const P=e.push("tr_open","tr",1);P.map=[t,t+1];for(let y=0;y<c.length;y++){const A=e.push("th_open","th",1);f[y]&&(A.attrs=[["style","text-align:"+f[y]]]);const z=e.push("inline","",0);z.content=c[y].trim(),z.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let B,R=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let y=!1;for(let z=0,q=g.length;z<q;z++)if(g[z](e,r,n,!0)){y=!0;break}if(y||(s=zu(e,r).trim(),!s)||e.sCount[r]-e.blkIndent>=4||(c=oa(s),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),R+=d-c.length,R>Bs))break;if(r===t+2){const z=e.push("tbody_open","tbody",1);z.map=B=[t+2,0]}const A=e.push("tr_open","tr",1);A.map=[r,r+1];for(let z=0;z<d;z++){const q=e.push("td_open","td",1);f[z]&&(q.attrs=[["style","text-align:"+f[z]]]);const k=e.push("inline","",0);k.content=c[z]?c[z].trim():"",k.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return B&&(e.push("tbody_close","tbody",-1),B[1]=r),e.push("table_close","table",-1),C[1]=r,e.parentType=h,e.line=r,!0}function Gs(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let u=t+1,r=u;for(;u<n;){if(e.isEmpty(u)){u++;continue}if(e.sCount[u]-e.blkIndent>=4){u++,r=u;continue}break}e.line=r;const a=e.push("code_block","code",0);return a.content=e.getLines(t,r,4+e.blkIndent,!1)+`
16
+ `,a.map=[t,e.line],!0}function Hs(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>a)return!1;const i=e.src.charCodeAt(r);if(i!==126&&i!==96)return!1;let o=r;r=e.skipChars(r,i);let s=r-o;if(s<3)return!1;const c=e.src.slice(o,r),f=e.src.slice(r,a);if(i===96&&f.indexOf(String.fromCharCode(i))>=0)return!1;if(u)return!0;let d=t,h=!1;for(;d++,!(d>=n||(r=o=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],r<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(r)===i&&!(e.sCount[d]-e.blkIndent>=4)&&(r=e.skipChars(r,i),!(r-o<s)&&(r=e.skipSpaces(r),!(r<a)))){h=!0;break}s=e.sCount[t],e.line=d+(h?1:0);const g=e.push("fence","code",0);return g.info=f,g.content=e.getLines(t+1,d,s,!0),g.markup=c,g.map=[t,e.line],!0}function js(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];const i=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(u)return!0;const o=[],s=[],c=[],f=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let g=!1,b;for(b=t;b<n;b++){const R=e.sCount[b]<e.blkIndent;if(r=e.bMarks[b]+e.tShift[b],a=e.eMarks[b],r>=a)break;if(e.src.charCodeAt(r++)===62&&!R){let A=e.sCount[b]+1,z,q;e.src.charCodeAt(r)===32?(r++,A++,q=!1,z=!0):e.src.charCodeAt(r)===9?(z=!0,(e.bsCount[b]+A)%4===3?(r++,A++,q=!1):q=!0):z=!1;let k=A;for(o.push(e.bMarks[b]),e.bMarks[b]=r;r<a;){const j=e.src.charCodeAt(r);if(ge(j))j===9?k+=4-(k+e.bsCount[b]+(q?1:0))%4:k++;else break;r++}g=r>=a,s.push(e.bsCount[b]),e.bsCount[b]=e.sCount[b]+1+(z?1:0),c.push(e.sCount[b]),e.sCount[b]=k-A,f.push(e.tShift[b]),e.tShift[b]=r-e.bMarks[b];continue}if(g)break;let y=!1;for(let A=0,z=d.length;A<z;A++)if(d[A](e,b,n,!0)){y=!0;break}if(y){e.lineMax=b,e.blkIndent!==0&&(o.push(e.bMarks[b]),s.push(e.bsCount[b]),f.push(e.tShift[b]),c.push(e.sCount[b]),e.sCount[b]-=e.blkIndent);break}o.push(e.bMarks[b]),s.push(e.bsCount[b]),f.push(e.tShift[b]),c.push(e.sCount[b]),e.sCount[b]=-1}const C=e.blkIndent;e.blkIndent=0;const O=e.push("blockquote_open","blockquote",1);O.markup=">";const P=[t,0];O.map=P,e.md.block.tokenize(e,t,b);const B=e.push("blockquote_close","blockquote",-1);B.markup=">",e.lineMax=i,e.parentType=h,P[1]=e.line;for(let R=0;R<f.length;R++)e.bMarks[R+t]=o[R],e.tShift[R+t]=f[R],e.sCount[R+t]=c[R],e.bsCount[R+t]=s[R];return e.blkIndent=C,!0}function $s(e,t,n,u){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(a++);if(i!==42&&i!==45&&i!==95)return!1;let o=1;for(;a<r;){const c=e.src.charCodeAt(a++);if(c!==i&&!ge(c))return!1;c===i&&o++}if(o<3)return!1;if(u)return!0;e.line=t+1;const s=e.push("hr","hr",0);return s.map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(i)),!0}function sa(e,t){const n=e.eMarks[t];let u=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(u++);if(r!==42&&r!==45&&r!==43)return-1;if(u<n){const a=e.src.charCodeAt(u);if(!ge(a))return-1}return u}function ca(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];let r=n;if(r+1>=u)return-1;let a=e.src.charCodeAt(r++);if(a<48||a>57)return-1;for(;;){if(r>=u)return-1;if(a=e.src.charCodeAt(r++),a>=48&&a<=57){if(r-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return r<u&&(a=e.src.charCodeAt(r),!ge(a))?-1:r}function qs(e,t){const n=e.level+2;for(let u=t+2,r=e.tokens.length-2;u<r;u++)e.tokens[u].level===n&&e.tokens[u].type==="paragraph_open"&&(e.tokens[u+2].hidden=!0,e.tokens[u].hidden=!0,u+=2)}function Zs(e,t,n,u){let r,a,i,o,s=t,c=!0;if(e.sCount[s]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]<e.blkIndent)return!1;let f=!1;u&&e.parentType==="paragraph"&&e.sCount[s]>=e.blkIndent&&(f=!0);let d,h,g;if((g=ca(e,s))>=0){if(d=!0,i=e.bMarks[s]+e.tShift[s],h=Number(e.src.slice(i,g-1)),f&&h!==1)return!1}else if((g=sa(e,s))>=0)d=!1;else return!1;if(f&&e.skipSpaces(g)>=e.eMarks[s])return!1;if(u)return!0;const b=e.src.charCodeAt(g-1),C=e.tokens.length;d?(o=e.push("ordered_list_open","ol",1),h!==1&&(o.attrs=[["start",h]])):o=e.push("bullet_list_open","ul",1);const O=[s,0];o.map=O,o.markup=String.fromCharCode(b);let P=!1;const B=e.md.block.ruler.getRules("list"),R=e.parentType;for(e.parentType="list";s<n;){a=g,r=e.eMarks[s];const y=e.sCount[s]+g-(e.bMarks[s]+e.tShift[s]);let A=y;for(;a<r;){const Z=e.src.charCodeAt(a);if(Z===9)A+=4-(A+e.bsCount[s])%4;else if(Z===32)A++;else break;a++}const z=a;let q;z>=r?q=1:q=A-y,q>4&&(q=1);const k=y+q;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(b);const j=[s,0];o.map=j,d&&(o.info=e.src.slice(i,g-1));const K=e.tight,I=e.tShift[s],F=e.sCount[s],Y=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=k,e.tight=!0,e.tShift[s]=z-e.bMarks[s],e.sCount[s]=A,z>=r&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,s,n,!0),(!e.tight||P)&&(c=!1),P=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Y,e.tShift[s]=I,e.sCount[s]=F,e.tight=K,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(b),s=e.line,j[1]=s,s>=n||e.sCount[s]<e.blkIndent||e.sCount[s]-e.blkIndent>=4)break;let V=!1;for(let Z=0,E=B.length;Z<E;Z++)if(B[Z](e,s,n,!0)){V=!0;break}if(V)break;if(d){if(g=ca(e,s),g<0)break;i=e.bMarks[s]+e.tShift[s]}else if(g=sa(e,s),g<0)break;if(b!==e.src.charCodeAt(g-1))break}return d?o=e.push("ordered_list_close","ol",-1):o=e.push("bullet_list_close","ul",-1),o.markup=String.fromCharCode(b),O[1]=s,e.line=s,e.parentType=R,c&&qs(e,C),!0}const Bu=999;function Ws(e){let t=e.length;for(let n=0;n<e.length-1;n++){const u=e.charCodeAt(n);if(u<55296||u>56319)continue;const r=e.charCodeAt(n+1);r>=56320&&r<=57343&&(t--,n++)}return t}function _n(e,t){return Math.min(e.eMarks[t]+1,e.src.length)}function eu(e,t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return-1;let u=!1;if(e.sCount[t]-e.blkIndent>3&&(u=!0),e.sCount[t]<0&&(u=!0),!u){const r=e.md.block.ruler.getRules("reference"),a=e.parentType;e.parentType="reference";let i=!1;for(let o=0,s=r.length;o<s;o++)if(r[o](e,t,n,!0)){i=!0;break}if(e.parentType=a,i)return-1}return e.bMarks[t]+e.tShift[t]}function Vs(e,t,n,u){const r=e.src;let a=e.bMarks[t]+e.tShift[t],i=t+1;if(e.sCount[t]-e.blkIndent>=4||r.charCodeAt(a)!==91)return!1;let o=_n(e,t),s="",c=-1,f=++a;for(;a<o;){if(s.length+a-f>Bu*2)return!1;let y=r.charCodeAt(a);if(y===91)return!1;if(y===93){c=a;break}if(y===92&&(y=r.charCodeAt(++a)),y===10&&a<o){const A=eu(e,i);if(A<0)return!1;s+=r.slice(f,o),a=f=A,o=_n(e,i++);continue}a++}if(c<0||r.charCodeAt(c+1)!==58||(s+=r.slice(f,c),s.length>Bu&&Ws(s)>Bu))return!1;for(a=c+2;a<o;){const y=r.charCodeAt(a);if(y===10){const A=eu(e,i);if(A<0)break;a=A,o=_n(e,i++)}else if(ge(y))a++;else break}const d=e.md.helpers.parseLinkDestination(r,a,o);if(!d.ok)return!1;const h=e.md.normalizeLink(d.str);if(!e.md.validateLink(h))return!1;a=d.pos;const g=a,b=o,C=i;for(;a<o;){const y=r.charCodeAt(a);if(y===10){const A=eu(e,i);if(A<0)break;a=A,o=_n(e,i++)}else if(ge(y))a++;else break}const O=a;let P=e.md.helpers.parseLinkTitle(r,a,o);for(;P.can_continue;){const y=eu(e,i);if(y<0)break;a=y,o=_n(e,i++),P=e.md.helpers.parseLinkTitle(r,a,o,P)}let B;for(O!==g&&P.ok?(B=P.str,a=P.pos):(B="",a=g,o=b,i=C);a<o;){const y=r.charCodeAt(a);if(!ge(y))break;a++}if(a<o&&r.charCodeAt(a)!==10&&B)for(B="",a=g,o=b,i=C;a<o;){const y=r.charCodeAt(a);if(!ge(y))break;a++}if(a<o&&r.charCodeAt(a)!==10)return!1;const R=Kn(s);return R?(u||(typeof e.env.references=="undefined"&&(e.env.references={}),typeof e.env.references[R]=="undefined"&&(e.env.references[R]={title:B,href:h}),e.line=i),!0):!1}const Xs=["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"],Ys="[a-zA-Z_:][a-zA-Z0-9:._-]*",Ks="(?:"+"[^\"'=<>`\\x00-\\x20]+"+"|"+"'[^']*'"+"|"+'"[^"]*"'+")",Qs="<[A-Za-z][A-Za-z0-9\\-]*"+("(?:\\s+"+Ys+"(?:\\s*=\\s*"+Ks+")?)")+"*\\s*\\/?>",Js="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",la=new RegExp("^(?:"+Qs+"|"+Js+")"),Bt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Xs.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(la.source+"\\s*$"),/^$/,!1]];function ec(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let i=e.src.slice(r,a),o=0;for(;o<Bt.length&&!Bt[o][0].test(i);o++);if(o===Bt.length)return!1;if(u)return Bt[o][2];let s=t+1;const c=Bt[o][1].test("");if(!Bt[o][1].test(i)){for(;s<n&&!(e.sCount[s]<e.blkIndent&&(c||!e.isEmpty(s)));s++)if(r=e.bMarks[s]+e.tShift[s],a=e.eMarks[s],i=e.src.slice(r,a),Bt[o][1].test(i)){i.length!==0&&s++;break}}e.line=s;const f=e.push("html_block","",0);return f.map=[t,s],f.content=e.getLines(t,s,e.blkIndent,!0),!0}function tc(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.src.charCodeAt(r);if(i!==35||r>=a)return!1;let o=1;for(i=e.src.charCodeAt(++r);i===35&&r<a&&o<=6;)o++,i=e.src.charCodeAt(++r);if(o>6||r<a&&!ge(i))return!1;if(u)return!0;a=e.skipSpacesBack(a,r);const s=e.skipCharsBack(a,35,r);s>r&&ge(e.src.charCodeAt(s-1))&&(a=s),e.line=t+1;const c=e.push("heading_open","h"+String(o),1);c.markup="########".slice(0,o),c.map=[t,e.line];const f=e.push("inline","",0);f.content=Qn(e.src.slice(r,a)),f.map=[t,e.line],f.children=[];const d=e.push("heading_close","h"+String(o),-1);return d.markup="########".slice(0,o),!0}function nc(e,t,n){const u=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let a=0,i,o=t+1;for(;o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]>=e.blkIndent){let g=e.bMarks[o]+e.tShift[o];const b=e.eMarks[o];if(g<b&&(i=e.src.charCodeAt(g),(i===45||i===61)&&(g=e.skipChars(g,i),g=e.skipSpaces(g),g>=b))){a=i===61?1:2;break}}if(e.sCount[o]<0)continue;let h=!1;for(let g=0,b=u.length;g<b;g++)if(u[g](e,o,n,!0)){h=!0;break}if(h)break}if(!a)return e.parentType=r,!1;const s=Qn(e.getLines(t,o,e.blkIndent,!1));e.line=o+1;const c=e.push("heading_open","h"+String(a),1);c.markup=String.fromCharCode(i),c.map=[t,e.line];const f=e.push("inline","",0);f.content=s,f.map=[t,e.line-1],f.children=[];const d=e.push("heading_close","h"+String(a),-1);return d.markup=String.fromCharCode(i),e.parentType=r,!0}function uc(e,t,n){const u=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let a=t+1;for(e.parentType="paragraph";a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let c=!1;for(let f=0,d=u.length;f<d;f++)if(u[f](e,a,n,!0)){c=!0;break}if(c)break}const i=Qn(e.getLines(t,a,e.blkIndent,!1));e.line=a;const o=e.push("paragraph_open","p",1);o.map=[t,e.line];const s=e.push("inline","",0);return s.content=i,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const tu=[["table",Us,["paragraph","reference"]],["code",Gs],["fence",Hs,["paragraph","reference","blockquote","list"]],["blockquote",js,["paragraph","reference","blockquote","list"]],["hr",$s,["paragraph","reference","blockquote","list"]],["list",Zs,["paragraph","reference","blockquote"]],["reference",Vs],["html_block",ec,["paragraph","reference","blockquote"]],["heading",tc,["paragraph","reference","blockquote"]],["lheading",nc],["paragraph",uc]];function nu(){this.ruler=new ze;for(let e=0;e<tu.length;e++)this.ruler.push(tu[e][0],tu[e][1],{alt:(tu[e][2]||[]).slice()})}nu.prototype.tokenize=function(e,t,n){const u=this.ruler.getRules(""),r=u.length,a=e.md.options.maxNesting;let i=t,o=!1;for(;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n||e.sCount[i]<e.blkIndent));){if(e.level>=a){e.line=n;break}const s=e.line;let c=!1;for(let f=0;f<r;f++)if(c=u[f](e,i,n,!1),c){if(s>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),i=e.line,i<n&&e.isEmpty(i)&&(o=!0,i++,e.line=i)}},nu.prototype.parse=function(e,t,n,u){if(!e)return;const r=new this.State(e,t,n,u);this.tokenize(r,r.line,r.lineMax)},nu.prototype.State=ct;function vn(e,t,n,u){this.src=e,this.env=n,this.md=t,this.tokens=u,this.tokens_meta=Array(u.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.skipHtmlSpecial=!1,this.linkLevel=0}vn.prototype.pushPending=function(){const e=new nt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},vn.prototype.push=function(e,t,n){this.pending&&this.pushPending();const u=new nt(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),u.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(r),u},vn.prototype.scanDelims=function(e,t){const n=this.posMax,u=this.src.charCodeAt(e);let r;if(e===0)r=32;else if(e===1)r=this.src.charCodeAt(0),(r&63488)===55296&&(r=65533);else if(r=this.src.charCodeAt(e-1),(r&64512)===56320){const O=this.src.charCodeAt(e-2);r=(O&64512)===55296?65536+(O-55296<<10)+(r-56320):65533}else(r&64512)===55296&&(r=65533);let a=e;for(;a<n&&this.src.charCodeAt(a)===u;)a++;const i=a-e;let o=a<n?this.src.charCodeAt(a):32;if((o&64512)===55296){const O=this.src.charCodeAt(a+1);o=(O&64512)===56320?65536+(o-55296<<10)+(O-56320):65533}else(o&64512)===56320&&(o=65533);const s=gn(r)||mn(r),c=gn(o)||mn(o),f=bn(r),d=bn(o),h=!d&&(!c||f||s),g=!f&&(!s||d||c);return{can_open:h&&(t||!g||s),can_close:g&&(t||!h||c),length:i}},vn.prototype.Token=nt;function rc(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function ac(e,t){let n=e.pos;for(;n<e.posMax&&!rc(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function ic(e){return e>=65&&e<=90||e>=97&&e<=122}function oc(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function sc(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,u=e.posMax;if(n+3>u||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const r=n-Math.min(10,e.pending.length,n);let a=n;for(;a>r&&oc(e.src.charCodeAt(a-1));)a--;if(a===n||!ic(e.src.charCodeAt(a)))return!1;const i=n-a,o=e.md.linkify.matchAtStart(e.src.slice(a));if(!o)return!1;let s=o.url;if(s.length<=i)return!1;let c=s.length;for(;c>0&&s.charCodeAt(c-1)===42;)c--;c!==s.length&&(s=s.slice(0,c));const f=e.md.normalizeLink(s);if(!e.md.validateLink(f))return!1;if(!t){e.pending=e.pending.slice(0,-i);const d=e.push("link_open","a",1);d.attrs=[["href",f]],d.markup="linkify",d.info="auto";const h=e.push("text","",0);h.content=e.md.normalizeLinkText(s);const g=e.push("link_close","a",-1);g.markup="linkify",g.info="auto"}return e.pos+=s.length-i,!0}function cc(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const u=e.pending.length-1,r=e.posMax;if(!t)if(u>=0&&e.pending.charCodeAt(u)===32)if(u>=1&&e.pending.charCodeAt(u-1)===32){let a=u-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<r&&ge(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const Uu=[];for(let e=0;e<256;e++)Uu.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Uu[e.charCodeAt(0)]=1});function lc(e,t){let n=e.pos;const u=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=u))return!1;let r=e.src.charCodeAt(n);if(r===10){for(t||e.push("hardbreak","br",0),n++;n<u&&(r=e.src.charCodeAt(n),!!ge(r));)n++;return e.pos=n,!0}if(r===32){if(!t){const o=e.push("text_special","",0);o.content="\\",o.markup="\\",o.info="escape"}return e.pos=n,!0}let a=e.src[n];if(r>=55296&&r<=56319&&n+1<u){const o=e.src.charCodeAt(n+1);o>=56320&&o<=57343&&(a+=e.src[n+1],n++)}const i="\\"+a;if(!t){const o=e.push("text_special","",0);r<256&&Uu[r]!==0?o.content=a:o.content=i,o.markup=i,o.info="escape"}return e.pos=n+1,!0}function fc(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const a=e.posMax;for(;n<a&&e.src.charCodeAt(n)===96;)n++;const i=e.src.slice(r,n),o=i.length;if(e.backticksScanned&&(e.backticks[o]||0)<=r)return t||(e.pending+=i),e.pos+=o,!0;let s=n,c;for(;(c=e.src.indexOf("`",s))!==-1;){for(s=c+1;s<a&&e.src.charCodeAt(s)===96;)s++;const f=s-c;if(f===o){if(!t){const d=e.push("code_inline","code",0);d.markup=i,d.content=e.src.slice(n,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=s,!0}e.backticks[f]=c}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=o,!0}function dc(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||u!==126)return!1;const r=e.scanDelims(e.pos,!0);let a=r.length;const i=String.fromCharCode(u);if(a<2)return!1;let o;a%2&&(o=e.push("text","",0),o.content=i,a--);for(let s=0;s<a;s+=2)o=e.push("text","",0),o.content=i+i,e.delimiters.push({marker:u,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function fa(e,t){let n;const u=[],r=t.length;for(let a=0;a<r;a++){const i=t[a];if(i.marker!==126||i.end===-1)continue;const o=t[i.end];n=e.tokens[i.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[o.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[o.token-1].type==="text"&&e.tokens[o.token-1].content==="~"&&u.push(o.token-1)}for(;u.length;){const a=u.pop();let i=a+1;for(;i<e.tokens.length&&e.tokens[i].type==="s_close";)i++;i--,a!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[a],e.tokens[a]=n)}}function pc(e){const t=e.tokens_meta,n=e.tokens_meta.length;fa(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&fa(e,t[u].delimiters)}const da={tokenize:dc,postProcess:pc};function hc(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||u!==95&&u!==42)return!1;const r=e.scanDelims(e.pos,u===42);for(let a=0;a<r.length;a++){const i=e.push("text","",0);i.content=String.fromCharCode(u),e.delimiters.push({marker:u,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function pa(e,t){const n=t.length;for(let u=n-1;u>=0;u--){const r=t[u];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const a=t[r.end],i=u>0&&t[u-1].end===r.end+1&&t[u-1].marker===r.marker&&t[u-1].token===r.token-1&&t[r.end+1].token===a.token+1,o=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?o+o:o,s.content="";const c=e.tokens[a.token];c.type=i?"strong_close":"em_close",c.tag=i?"strong":"em",c.nesting=-1,c.markup=i?o+o:o,c.content="",i&&(e.tokens[t[u-1].token].content="",e.tokens[t[r.end+1].token].content="",u--)}}function bc(e){const t=e.tokens_meta,n=e.tokens_meta.length;pa(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&pa(e,t[u].delimiters)}const ha={tokenize:hc,postProcess:bc};function mc(e,t){let n,u,r,a,i="",o="",s=e.pos,c=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const f=e.pos,d=e.posMax,h=e.pos+1,g=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(g<0)return!1;let b=g+1;if(b<d&&e.src.charCodeAt(b)===40){for(c=!1,b++;b<d&&(n=e.src.charCodeAt(b),!(!ge(n)&&n!==10));b++);if(b>=d)return!1;if(s=b,r=e.md.helpers.parseLinkDestination(e.src,b,e.posMax),r.ok){for(i=e.md.normalizeLink(r.str),e.md.validateLink(i)?b=r.pos:i="",s=b;b<d&&(n=e.src.charCodeAt(b),!(!ge(n)&&n!==10));b++);if(r=e.md.helpers.parseLinkTitle(e.src,b,e.posMax),b<d&&s!==b&&r.ok)for(o=r.str,b=r.pos;b<d&&(n=e.src.charCodeAt(b),!(!ge(n)&&n!==10));b++);}(b>=d||e.src.charCodeAt(b)!==41)&&(c=!0),b++}if(c){if(typeof e.env.references=="undefined")return!1;if(b<d&&e.src.charCodeAt(b)===91?(s=b+1,b=e.md.helpers.parseLinkLabel(e,b),b>=0?u=e.src.slice(s,b++):b=g+1):b=g+1,u||(u=e.src.slice(h,g)),a=e.env.references[Kn(u)],!a)return e.pos=f,!1;i=a.href,o=a.title}if(!t){e.pos=h,e.posMax=g;const C=e.push("link_open","a",1),O=[["href",i]];C.attrs=O,o&&O.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=b,e.posMax=d,!0}function gc(e,t){let n,u,r,a,i,o,s,c,f="";const d=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const g=e.pos+2,b=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(b<0)return!1;if(a=b+1,a<h&&e.src.charCodeAt(a)===40){for(a++;a<h&&(n=e.src.charCodeAt(a),!(!ge(n)&&n!==10));a++);if(a>=h)return!1;for(c=a,o=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),o.ok&&(f=e.md.normalizeLink(o.str),e.md.validateLink(f)?a=o.pos:f=""),c=a;a<h&&(n=e.src.charCodeAt(a),!(!ge(n)&&n!==10));a++);if(o=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<h&&c!==a&&o.ok)for(s=o.str,a=o.pos;a<h&&(n=e.src.charCodeAt(a),!(!ge(n)&&n!==10));a++);else s="";if(a>=h||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(typeof e.env.references=="undefined")return!1;if(a<h&&e.src.charCodeAt(a)===91?(c=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?r=e.src.slice(c,a++):a=b+1):a=b+1,r||(r=e.src.slice(g,b)),i=e.env.references[Kn(r)],!i)return e.pos=d,!1;f=i.href,s=i.title}if(!t){u=e.src.slice(g,b);const C=[];e.md.inline.parse(u,e.md,e.env,C);const O=e.push("image","img",0),P=[["src",f],["alt",""]];O.attrs=P,O.children=C,O.content=u,s&&P.push(["title",s])}return e.pos=a,e.posMax=h,!0}const _c=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,vc=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function xc(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const u=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const i=e.src.charCodeAt(n);if(i===60)return!1;if(i===62)break}const a=e.src.slice(u+1,n);if(vc.test(a)){const i=e.md.normalizeLink(a);if(!e.md.validateLink(i))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(a);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=a.length+2,!0}if(_c.test(a)){const i=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(i))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(a);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=a.length+2,!0}return!1}function yc(e){return/^<a[>\s]/i.test(e)}function Ec(e){return/^<\/a\s*>/i.test(e)}function ba(e){const t=e|32;return t>=97&&t<=122}function kc(e,t){const n=e.src;let u,r;if(n.startsWith("<!--",t)){if(n.startsWith(">",t+4))return t+5;if(n.startsWith("->",t+4))return t+6;u=t+4,r="-->"}else if(n.startsWith("<![CDATA[",t))u=t+9,r="]]>";else if(n.charCodeAt(t+1)===63)u=t+2,r="?>";else if(ba(n.charCodeAt(t+2)))u=t+3,r=">";else return-1;if(e.skipHtmlSpecial)return-1;const a=n.indexOf(r,u);return a<0?(e.skipHtmlSpecial=!0,-1):a+r.length}function Ac(e,t){if(!e.md.options.html)return!1;const n=e.posMax,u=e.pos;if(e.src.charCodeAt(u)!==60||u+2>=n)return!1;let r;const a=e.src.charCodeAt(u+1);if(a===33||a===63)r=kc(e,u);else if(a===47||ba(a)){const i=e.src.slice(u).match(la);r=i?u+i[0].length:-1}else return!1;if(r<0)return!1;if(!t){const i=e.push("html_inline","",0);i.content=e.src.slice(u,r),yc(i.content)&&e.linkLevel++,Ec(i.content)&&e.linkLevel--}return e.pos=r,!0}const Sc=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Cc=/^&([a-z][a-z0-9]{1,31});/i;function Tc(e,t){const n=e.pos,u=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=u)return!1;if(e.src.charCodeAt(n+1)===35){const a=e.src.slice(n).match(Sc);if(a){if(!t){const i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),o=e.push("text_special","",0);o.content=Nu(i)?hn(i):hn(65533),o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(n).match(Cc);if(a){const i=Ko(a[0]);if(i!==a[0]){if(!t){const o=e.push("text_special","",0);o.content=i,o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function ma(e){const t={},n=e.length;if(!n)return;let u=0,r=-2;const a=[];for(let i=0;i<n;i++){const o=e[i];if(a.push(0),(e[u].marker!==o.marker||r!==o.token-1)&&(u=i),r=o.token,o.length=o.length||0,!o.close)continue;t.hasOwnProperty(o.marker)||(t[o.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[o.marker][(o.open?3:0)+o.length%3];let c=u-a[u]-1,f=c;for(;c>s;c-=a[c]+1){const d=e[c];if(d.marker===o.marker&&d.open&&d.end<0){let h=!1;if((d.close||o.open)&&(d.length+o.length)%3===0&&(d.length%3!==0||o.length%3!==0)&&(h=!0),!h){const g=c>0&&!e[c-1].open?a[c-1]+1:0;a[i]=i-c+g,a[c]=g,o.open=!1,d.end=i,d.close=!1,f=-1,r=-2;break}}}f!==-1&&(t[o.marker][(o.open?3:0)+(o.length||0)%3]=f)}}function wc(e){const t=e.tokens_meta,n=e.tokens_meta.length;ma(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&ma(t[u].delimiters)}function Dc(e){let t,n,u=0;const r=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)r[t].nesting<0&&u--,r[t].level=u,r[t].nesting>0&&u++,r[t].type==="text"&&t+1<a&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}const Gu=[["text",ac],["linkify",sc],["newline",cc],["escape",lc],["backticks",fc],["strikethrough",da.tokenize],["emphasis",ha.tokenize],["link",mc],["image",gc],["autolink",xc],["html_inline",Ac],["entity",Tc]],Hu=[["balance_pairs",wc],["strikethrough",da.postProcess],["emphasis",ha.postProcess],["fragments_join",Dc]];function xn(){this.ruler=new ze;for(let e=0;e<Gu.length;e++)this.ruler.push(Gu[e][0],Gu[e][1]);this.ruler2=new ze;for(let e=0;e<Hu.length;e++)this.ruler2.push(Hu[e][0],Hu[e][1])}xn.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),u=n.length,r=e.md.options.maxNesting,a=e.cache;if(typeof a[t]!="undefined"){e.pos=a[t];return}let i=!1;if(e.level<r){for(let o=0;o<u;o++)if(e.level++,i=n[o](e,!0),e.level--,i){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,a[t]=e.pos},xn.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,u=e.posMax,r=e.md.options.maxNesting;for(;e.pos<u;){const a=e.pos;let i=!1;if(e.level<r){for(let o=0;o<n;o++)if(i=t[o](e,!1),i){if(a>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(i){if(e.pos>=u)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},xn.prototype.parse=function(e,t,n,u){const r=new this.State(e,t,n,u);this.tokenize(r);const a=this.ruler2.getRules(""),i=a.length;for(let o=0;o<i;o++)a[o](r)},xn.prototype.State=vn;function Rc(e){const t={};e=e||{},t.src_Any=Wr.source,t.src_Cc=Vr.source,t.src_Z=Yr.source,t.src_P=Fu.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter=`(?:(?!${n}|${t.src_ZPCc})${t.src_Any})`,t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth=`(?:(?:(?!${t.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator=`(?=$|${n}|${t.src_ZPCc})(?!${e["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${t.src_ZPCc}))`,t.src_path=`(?:[/?#](?:(?!${t.src_ZCc}|${n}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${t.src_ZCc}|\\]).)*\\]|\\((?:(?!${t.src_ZCc}|[)]).)*\\)|\\{(?:(?!${t.src_ZCc}|[}]).)*\\}|\\"(?:(?!${t.src_ZCc}|["]).)+\\"|\\'(?:(?!${t.src_ZCc}|[']).)+\\'|\\'(?=${t.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${t.src_ZCc}|[.]|$)|`+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+`,(?!${t.src_ZCc}|$)|;(?!${t.src_ZCc}|$)|\\!+(?!${t.src_ZCc}|[!]|$)|\\?(?!${t.src_ZCc}|[?]|$))+|\\/)?`,t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+`|${t.src_pseudo_letter}{1,63})`,t.src_domain="(?:"+t.src_xn+`|(?:${t.src_pseudo_letter})|(?:${t.src_pseudo_letter}(?:-|${t.src_pseudo_letter}){0,61}${t.src_pseudo_letter}))`,t.src_host=`(?:(?:(?:(?:${t.src_domain})\\.)*${t.src_domain}))`,t.tpl_host_fuzzy="(?:"+t.src_ip4+`|(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%)))`,t.tpl_host_no_ip_fuzzy=`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%))`,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${t.src_ZPCc}|>|$))`,t.tpl_email_fuzzy=`(^|${n}|"|\\(|${t.src_ZCc})(${t.src_email_name}@${t.tpl_host_fuzzy_strict})`,t.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_fuzzy_strict}${t.src_path})`,t.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_no_ip_fuzzy_strict}${t.src_path})`,t}function ju(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(u){e[u]=n[u]})}),e}function uu(e){return Object.prototype.toString.call(e)}function Fc(e){return uu(e)==="[object String]"}function Mc(e){return uu(e)==="[object Object]"}function Oc(e){return uu(e)==="[object RegExp]"}function ga(e){return uu(e)==="[object Function]"}function Ic(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const _a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Nc(e){return Object.keys(e||{}).reduce(function(t,n){return t||_a.hasOwnProperty(n)},!1)}const Lc={"http:":{validate:function(e,t,n){const u=e.slice(t);return n.re.http||(n.re.http=new RegExp(`^\\/\\/${n.re.src_auth}${n.re.src_host_port_strict}${n.re.src_path}`,"i")),n.re.http.test(u)?u.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const u=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+`(?:localhost|(?:(?:${n.re.src_domain})\\.)+${n.re.src_domain_root})`+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(u)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:u.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const u=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp(`^${n.re.src_email_name}@${n.re.src_host_strict}`,"i")),n.re.mailto.test(u)?u.match(n.re.mailto)[0].length:0}}},Pc="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",zc="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Bc(e){return function(t,n){const u=t.slice(n);return e.test(u)?u.match(e)[0].length:0}}function va(){return function(e,t){t.normalize(e)}}function ru(e){const t=e.re=Rc(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(Pc),n.push(t.src_xn),t.src_tlds=n.join("|");function u(o){return o.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(u(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(u(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(u(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(u(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(u(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(u(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(u(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function a(o,s){throw new Error(`(LinkifyIt) Invalid schema "${o}": ${s}`)}Object.keys(e.__schemas__).forEach(function(o){const s=e.__schemas__[o];if(s===null)return;const c={validate:null,link:null};if(e.__compiled__[o]=c,Mc(s)){Oc(s.validate)?c.validate=Bc(s.validate):ga(s.validate)?c.validate=s.validate:a(o,s),ga(s.normalize)?c.normalize=s.normalize:s.normalize?a(o,s):c.normalize=va();return}if(Fc(s)){r.push(o);return}a(o,s)}),r.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:va()};const i=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(Ic).join("|");e.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${i})`,"i"),e.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${i})`,"ig"),e.re.schema_at_start=RegExp(`^${e.re.schema_search.source}`,"i"),e.re.pretest=RegExp(`(${e.re.schema_test.source})|(${e.re.host_fuzzy_test.source})|@`,"i")}function xa(e,t,n,u){const r=e.slice(n,u);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=u,this.raw=r,this.text=r,this.url=r}function qe(e,t){if(!(this instanceof qe))return new qe(e,t);t||Nc(e)&&(t=e,e={}),this.__opts__=ju({},_a,t),this.__schemas__=ju({},Lc,e),this.__compiled__={},this.__tlds__=zc,this.__tlds_replaced__=!1,this.re={},ru(this)}qe.prototype.add=function(t,n){return this.__schemas__[t]=n,ru(this),this},qe.prototype.set=function(t){return this.__opts__=ju(this.__opts__,t),this},qe.prototype.test=function(t){if(!t.length)return!1;let n,u;if(this.re.schema_test.test(t)){for(u=this.re.schema_search,u.lastIndex=0;(n=u.exec(t))!==null;)if(this.testSchemaAt(t,n[2],u.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&t.search(this.re.host_fuzzy_test)>=0&&t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&t.match(this.re.email_fuzzy)!==null)},qe.prototype.pretest=function(t){return this.re.pretest.test(t)},qe.prototype.testSchemaAt=function(t,n,u){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,u,this):0},qe.prototype.match=function(t){const n=[],u=[],r=[],a=[];let i,o,s;function c(h,g){return h?g?h.index!==g.index?h.index<g.index?h:g:h.lastIndex>=g.lastIndex?h:g:h:g}if(!t.length)return null;if(this.re.schema_test.test(t))for(s=this.re.schema_search,s.lastIndex=0;(i=s.exec(t))!==null;)o=this.testSchemaAt(t,i[2],s.lastIndex),o&&u.push({schema:i[2],index:i.index+i[1].length,lastIndex:i.index+i[0].length+o});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(s=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,s.lastIndex=0;(i=s.exec(t))!==null;)r.push({schema:"",index:i.index+i[1].length,lastIndex:i.index+i[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(s=this.re.email_fuzzy_global,s.lastIndex=0;(i=s.exec(t))!==null;)a.push({schema:"mailto:",index:i.index+i[1].length,lastIndex:i.index+i[0].length});const f=[0,0,0];let d=0;for(;;){const h=[u[f[0]],a[f[1]],r[f[2]]],g=c(c(h[0],h[1]),h[2]);if(!g)break;if(g===h[0]?f[0]++:g===h[1]?f[1]++:f[2]++,g.index<d)continue;const b=new xa(t,g.schema,g.index,g.lastIndex);this.__compiled__[b.schema].normalize(b,this),n.push(b),d=g.lastIndex}return n.length?n:null},qe.prototype.matchAtStart=function(t){if(!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const u=this.testSchemaAt(t,n[2],n[0].length);if(!u)return null;const r=new xa(t,n[2],n.index+n[1].length,n.index+n[0].length+u);return this.__compiled__[r.schema].normalize(r,this),r},qe.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(u,r,a){return u!==a[r-1]}).reverse(),ru(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,ru(this),this)},qe.prototype.normalize=function(t){t.schema||(t.url=`http://${t.url}`),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url=`mailto:${t.url}`)},qe.prototype.onCompile=function(){};const Qt=2147483647,lt=36,$u=1,yn=26,Uc=38,Gc=700,ya=72,Ea=128,ka="-",Hc=/^xn--/,jc=/[^\0-\x7F]/,$c=/[\x2E\u3002\uFF0E\uFF61]/g,qc={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},qu=lt-$u,ft=Math.floor,Zu=String.fromCharCode;function Rt(e){throw new RangeError(qc[e])}function Zc(e,t){const n=[];let u=e.length;for(;u--;)n[u]=t(e[u]);return n}function Aa(e,t){const n=e.split("@");let u="";n.length>1&&(u=n[0]+"@",e=n[1]),e=e.replace($c,".");const r=e.split("."),a=Zc(r,t).join(".");return u+a}function Sa(e){const t=[];let n=0;const u=e.length;for(;n<u;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<u){const a=e.charCodeAt(n++);(a&64512)==56320?t.push(((r&1023)<<10)+(a&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}const Wc=e=>String.fromCodePoint(...e),Vc=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:lt},Ca=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Ta=function(e,t,n){let u=0;for(e=n?ft(e/Gc):e>>1,e+=ft(e/t);e>qu*yn>>1;u+=lt)e=ft(e/qu);return ft(u+(qu+1)*e/(e+Uc))},wa=function(e){const t=[],n=e.length;let u=0,r=Ea,a=ya,i=e.lastIndexOf(ka);i<0&&(i=0);for(let o=0;o<i;++o)e.charCodeAt(o)>=128&&Rt("not-basic"),t.push(e.charCodeAt(o));for(let o=i>0?i+1:0;o<n;){const s=u;for(let f=1,d=lt;;d+=lt){o>=n&&Rt("invalid-input");const h=Vc(e.charCodeAt(o++));h>=lt&&Rt("invalid-input"),h>ft((Qt-u)/f)&&Rt("overflow"),u+=h*f;const g=d<=a?$u:d>=a+yn?yn:d-a;if(h<g)break;const b=lt-g;f>ft(Qt/b)&&Rt("overflow"),f*=b}const c=t.length+1;a=Ta(u-s,c,s==0),ft(u/c)>Qt-r&&Rt("overflow"),r+=ft(u/c),u%=c,t.splice(u++,0,r)}return String.fromCodePoint(...t)},Da=function(e){const t=[];e=Sa(e);const n=e.length;let u=Ea,r=0,a=ya;for(const s of e)s<128&&t.push(Zu(s));const i=t.length;let o=i;for(i&&t.push(ka);o<n;){let s=Qt;for(const f of e)f>=u&&f<s&&(s=f);const c=o+1;s-u>ft((Qt-r)/c)&&Rt("overflow"),r+=(s-u)*c,u=s;for(const f of e)if(f<u&&++r>Qt&&Rt("overflow"),f===u){let d=r;for(let h=lt;;h+=lt){const g=h<=a?$u:h>=a+yn?yn:h-a;if(d<g)break;const b=d-g,C=lt-g;t.push(Zu(Ca(g+b%C,0))),d=ft(b/C)}t.push(Zu(Ca(d,0))),a=Ta(r,c,o===i),r=0,++o}++r,++u}return t.join("")},Ra={version:"2.3.1",ucs2:{decode:Sa,encode:Wc},decode:wa,encode:Da,toASCII:function(e){return Aa(e,function(t){return jc.test(t)?"xn--"+Da(t):t})},toUnicode:function(e){return Aa(e,function(t){return Hc.test(t)?wa(t.slice(4).toLowerCase()):t})}},Xc={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Yc=/^(vbscript|javascript|file|data):/,Kc=/^data:image\/(gif|png|jpeg|webp);/;function Qc(e){const t=e.trim().toLowerCase();return Yc.test(t)?Kc.test(t):!0}const Fa=["http:","https:","mailto:"];function Jc(e){const t=Ru(e,!0);if(t.hostname&&(!t.protocol||Fa.indexOf(t.protocol)>=0))try{t.hostname=Ra.toASCII(t.hostname)}catch(n){}return pn(Du(t))}function el(e){const t=Ru(e,!0);if(t.hostname&&(!t.protocol||Fa.indexOf(t.protocol)>=0))try{t.hostname=Ra.toUnicode(t.hostname)}catch(n){}return Xt(Du(t),Xt.defaultChars+"%")}function Ve(e,t){if(!(this instanceof Ve))return new Ve(e,t);t||Iu(e)||(t=e||{},e="default"),this.inline=new xn,this.block=new nu,this.core=new Pu,this.renderer=new Kt,this.linkify=new qe,this.validateLink=Qc,this.normalizeLink=Jc,this.normalizeLinkText=el,this.utils=ps,this.helpers=Yn({},gs),this.options={},this.configure(e),t&&this.set(t)}Ve.prototype.set=function(e){return Yn(this.options,e),this},Ve.prototype.configure=function(e){const t=this;if(Iu(e)){const n=e;if(e=Xc[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this},Ve.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const u=e.filter(function(r){return n.indexOf(r)<0});if(u.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this},Ve.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const u=e.filter(function(r){return n.indexOf(r)<0});if(u.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this},Ve.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Ve.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},Ve.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Ve.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},Ve.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};/*! @license DOMPurify 3.4.17 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.17/LICENSE */function Ma(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,u=Array(t);n<t;n++)u[n]=e[n];return u}function tl(e){if(Array.isArray(e))return e}function nl(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var u,r,a,i,o=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(s=(u=a.call(n)).done)&&(o.push(u.value),o.length!==t);s=!0);}catch(f){c=!0,r=f}finally{try{if(!s&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw r}}return o}}function ul(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
17
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */function rl(e,t){return tl(e)||nl(e,t)||al(e,t)||ul()}function al(e,t){if(e){if(typeof e=="string")return Ma(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ma(e,t):void 0}}const Oa=Object.entries,Ia=Object.setPrototypeOf,il=Object.isFrozen,Na=Object.getPrototypeOf,La=Object.getOwnPropertyDescriptor;let Fe=Object.freeze,Oe=Object.seal,Jt=Object.create,Pa=typeof Reflect!="undefined"&&Reflect,Wu=Pa.apply,Vu=Pa.construct;Fe||(Fe=function(t){return t}),Oe||(Oe=function(t){return t}),Wu||(Wu=function(t,n){for(var u=arguments.length,r=new Array(u>2?u-2:0),a=2;a<u;a++)r[a-2]=arguments[a];return t.apply(n,r)}),Vu||(Vu=function(t){for(var n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];return new t(...u)});const Et=_e(Array.prototype.forEach),ol=_e(Array.prototype.lastIndexOf),za=_e(Array.prototype.pop),En=_e(Array.prototype.push),sl=_e(Array.prototype.slice),cl=_e(Array.prototype.splice),en=Array.isArray,Xu=ja(Set),Yu=_e(Set.prototype.add),kn=_e(Set.prototype.has),Ut=_e(String.prototype.toLowerCase),Ku=_e(String.prototype.toString),Ba=_e(String.prototype.match),An=_e(String.prototype.replace),Ua=_e(String.prototype.indexOf),ll=_e(String.prototype.trim),fl=_e(Number.prototype.toString),dl=_e(Boolean.prototype.toString),Ga=typeof BigInt=="undefined"?null:_e(BigInt.prototype.toString),Ha=typeof Symbol=="undefined"?null:_e(Symbol.prototype.toString),Be=_e(Object.prototype.hasOwnProperty),Sn=_e(Object.prototype.toString),Ie=_e(RegExp.prototype.test),kt=ja(TypeError);function _e(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];return Wu(e,t,u)}}function ja(e){return function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return Vu(e,n)}}function fe(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ut;if(Ia&&Ia(e,null),!en(t))return e;let u=t.length;for(;u--;){let r=t[u];if(typeof r=="string"){const a=n(r);a!==r&&(il(t)||(t[u]=a),r=a)}e[r]=!0}return e}function pl(e){for(let t=0;t<e.length;t++)Be(e,t)||(e[t]=null);return e}function Ze(e){const t=Jt(null);for(const u of Oa(e)){var n=rl(u,2);const r=n[0],a=n[1];Be(e,r)&&(en(a)?t[r]=pl(a):a&&typeof a=="object"&&a.constructor===Object?t[r]=Ze(a):t[r]=a)}return t}function hl(e){switch(typeof e){case"string":return e;case"number":return fl(e);case"boolean":return dl(e);case"bigint":return Ga?Ga(e):"0";case"symbol":return Ha?Ha(e):"Symbol()";case"undefined":return Sn(e);case"function":case"object":{if(e===null)return Sn(e);const t=e,n=Xe(t,"toString");if(typeof n=="function"){const u=n(t);return typeof u=="string"?u:Sn(u)}return Sn(e)}default:return Sn(e)}}function Xe(e,t){for(;e!==null;){const u=La(e,t);if(u){if(u.get)return _e(u.get);if(typeof u.value=="function")return _e(u.value)}e=Na(e)}function n(){return null}return n}function bl(e,t){for(;e!==null;){const n=La(e,t);if(n)return n.get?_e(n.get):null;e=Na(e)}return null}function ml(e){try{return Ie(e,""),!0}catch(t){return!1}}const $a=Fe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Qu=Fe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ju=Fe(["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"]),gl=Fe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),er=Fe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),_l=Fe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),qa=Fe(["#text"]),Za=Fe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),tr=Fe(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Wa=Fe(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),au=Fe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),vl=Oe(/{{[\w\W]*|^[\w\W]*}}/g),xl=Oe(/<%[\w\W]*|^[\w\W]*%>/g),yl=Oe(/\${[\w\W]*/g),El=Oe(/^data-[\-\w.\u00B7-\uFFFF]+$/),kl=Oe(/^aria-[\-\w]+$/),Va=Oe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Al=Oe(/^(?:\w+script|data):/i),Sl=Oe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Cl=Oe(/^html$/i),Tl=Oe(/^[a-z][.\w]*(-[.\w]+)+$/i),nr=Oe(/<[/\w!]/g),Xa=Oe(/<[/\w]/g),wl=Oe(/<\/no(script|embed|frames)/i),Ya=Oe(/\/>/i),Se={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Dl=Fe(fe({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),Rl=function(){return typeof window=="undefined"?null:window},Fl=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let u=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(u=n.getAttribute(r));const a="dompurify"+(u?"#"+u:"");try{return t.createPolicy(a,{createHTML(i){return i},createScriptURL(i){return i}})}catch(i){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},Ka=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Ft=function(t,n,u,r){return Be(t,n)&&en(t[n])?fe(r.base?Ze(r.base):{},t[n],r.transform):u},ur=function(t,n,u){const r=Be(t,n)?t[n]:void 0;return r&&typeof r=="object"?Ze(r):u()};function Qa(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rl();const t=D=>Qa(D);if(t.version="3.4.17",t.removed=[],!e||!e.document||e.document.nodeType!==Se.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const u=n,r=u.currentScript;e.DocumentFragment;const a=e.HTMLTemplateElement,i=e.Node,o=e.Element,s=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const c=e.DOMParser,f=e.trustedTypes,d=o.prototype,h=Xe(d,"cloneNode"),g=Xe(d,"remove"),b=Xe(d,"removeAttributeNode"),C=Xe(d,"nextSibling"),O=Xe(d,"childNodes"),P=Xe(d,"parentNode"),B=Xe(d,"shadowRoot"),R=Xe(d,"attributes"),y=i&&i.prototype?Xe(i.prototype,"nodeType"):null,A=i&&i.prototype?Xe(i.prototype,"nodeName"):null,z=i&&i.prototype?Xe(i.prototype,"ownerDocument"):null,q=function(l){return y?y(l):l.nodeType},k=function(l){return A?A(l):l.nodeName},j=bl(d,"namespaceURI"),K=function(l){return j?j(l):l.namespaceURI};if(typeof a=="function"){const D=n.createElement("template");D.content&&D.content.ownerDocument&&(n=D.content.ownerDocument)}let I,F="",Y,V=!1,Z=0;const E=function(){if(Z>0)throw kt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},M=function(l){E(),Z++;try{return I.createHTML(l)}finally{Z--}},U=function(l){E(),Z++;try{return I.createScriptURL(l)}finally{Z--}},H=function(){return V||(Y=Fl(f,r),V=!0),Y},Q=n,ne=Q.implementation,ie=Q.createNodeIterator,he=Q.createDocumentFragment,ve=Q.getElementsByTagName,ye=u.importNode;let ce=Ka();t.isSupported=typeof Oa=="function"&&typeof P=="function"&&ne&&ne.createHTMLDocument!==void 0;const N=vl,xe=xl,ut=yl,Ue=El,Ke=kl,dt=Al,We=Sl,St=Tl;let Me=Va,de=null;const Qe=fe({},[...$a,...Qu,...Ju,...er,...qa]);let W=null;const pt=fe({},[...Za,...tr,...Wa,...au]);let le=Object.seal(Jt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),oe=null,rt=null;const Ee=Object.seal(Jt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Je=!0,Ge=!0,$=!1,X=!0,_=!1,S=!0,G=!1,J=!1,pe=null,me=null,Ct=!1,et=!1,It=!1,un=!1,bu=!0,Tt=!1;const Zt="user-content-";let On=!0,at=!1,it=null,Ne={},ht=null;const mu=fe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let gu=null;const _u=fe({},["audio","video","img","source","image","track"]);let rn=null;const vu=fe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),an="http://www.w3.org/1998/Math/MathML",on="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let Nt=tt,In=!1,Wt=null;const xu=fe({},[an,on,tt],Ku),yu=Fe(["mi","mo","mn","ms","mtext"]);let bt=fe({},yu);const sn=Fe(["annotation-xml"]);let cn=fe({},sn);const Rr=fe({},["title","style","font","a","script"]);let Vt=null;const Fr=["application/xhtml+xml","text/html"],Nn="text/html";let ke=null,Lt=null;const Ln=n.createElement("form"),Pn=function(l){return l instanceof RegExp||l instanceof Function},zn=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Lt&&Lt===l)return;(!l||typeof l!="object")&&(l={}),l=Ze(l),Vt=Fr.indexOf(l.PARSER_MEDIA_TYPE)===-1?Nn:l.PARSER_MEDIA_TYPE,ke=Vt==="application/xhtml+xml"?Ku:Ut,de=Ft(l,"ALLOWED_TAGS",Qe,{transform:ke}),W=Ft(l,"ALLOWED_ATTR",pt,{transform:ke}),Wt=Ft(l,"ALLOWED_NAMESPACES",xu,{transform:Ku}),rn=Ft(l,"ADD_URI_SAFE_ATTR",vu,{transform:ke,base:vu}),gu=Ft(l,"ADD_DATA_URI_TAGS",_u,{transform:ke,base:_u}),ht=Ft(l,"FORBID_CONTENTS",mu,{transform:ke}),oe=Ft(l,"FORBID_TAGS",Ze({}),{transform:ke}),rt=Ft(l,"FORBID_ATTR",Ze({}),{transform:ke}),Ne=Be(l,"USE_PROFILES")?l.USE_PROFILES&&typeof l.USE_PROFILES=="object"?Ze(l.USE_PROFILES):l.USE_PROFILES:!1,Je=l.ALLOW_ARIA_ATTR!==!1,Ge=l.ALLOW_DATA_ATTR!==!1,$=l.ALLOW_UNKNOWN_PROTOCOLS||!1,X=l.ALLOW_SELF_CLOSE_IN_ATTR!==!1,_=l.SAFE_FOR_TEMPLATES||!1,S=l.SAFE_FOR_XML!==!1,G=l.WHOLE_DOCUMENT||!1,et=l.RETURN_DOM||!1,It=l.RETURN_DOM_FRAGMENT||!1,un=l.RETURN_TRUSTED_TYPE||!1,Ct=l.FORCE_BODY||!1,bu=l.SANITIZE_DOM!==!1,Tt=l.SANITIZE_NAMED_PROPS||!1,On=l.KEEP_CONTENT!==!1,at=l.IN_PLACE||!1,Me=ml(l.ALLOWED_URI_REGEXP)?l.ALLOWED_URI_REGEXP:Va,Nt=typeof l.NAMESPACE=="string"?l.NAMESPACE:tt,bt=ur(l,"MATHML_TEXT_INTEGRATION_POINTS",()=>fe({},yu)),cn=ur(l,"HTML_INTEGRATION_POINTS",()=>fe({},sn));const m=ur(l,"CUSTOM_ELEMENT_HANDLING",()=>Jt(null));if(le=Jt(null),Be(m,"tagNameCheck")&&Pn(m.tagNameCheck)&&(le.tagNameCheck=m.tagNameCheck),Be(m,"attributeNameCheck")&&Pn(m.attributeNameCheck)&&(le.attributeNameCheck=m.attributeNameCheck),Be(m,"allowCustomizedBuiltInElements")&&typeof m.allowCustomizedBuiltInElements=="boolean"&&(le.allowCustomizedBuiltInElements=m.allowCustomizedBuiltInElements),Oe(le),_&&(Ge=!1),It&&(et=!0),Ne&&(de=fe({},qa),W=Jt(null),Ne.html===!0&&(fe(de,$a),fe(W,Za)),Ne.svg===!0&&(fe(de,Qu),fe(W,tr),fe(W,au)),Ne.svgFilters===!0&&(fe(de,Ju),fe(W,tr),fe(W,au)),Ne.mathMl===!0&&(fe(de,er),fe(W,Wa),fe(W,au))),Ee.tagCheck=null,Ee.attributeCheck=null,Be(l,"ADD_TAGS")&&(typeof l.ADD_TAGS=="function"?Ee.tagCheck=l.ADD_TAGS:en(l.ADD_TAGS)&&(de===Qe&&(de=Ze(de)),fe(de,l.ADD_TAGS,ke))),Be(l,"ADD_ATTR")&&(typeof l.ADD_ATTR=="function"?Ee.attributeCheck=l.ADD_ATTR:en(l.ADD_ATTR)&&(W===pt&&(W=Ze(W)),fe(W,l.ADD_ATTR,ke))),Be(l,"ADD_FORBID_CONTENTS")&&en(l.ADD_FORBID_CONTENTS)&&(ht===mu&&(ht=Ze(ht)),fe(ht,l.ADD_FORBID_CONTENTS,ke)),On&&(de["#text"]=!0),G&&fe(de,["html","head","body"]),de.table&&(fe(de,["tbody"]),delete oe.tbody),l.TRUSTED_TYPES_POLICY){if(typeof l.TRUSTED_TYPES_POLICY.createHTML!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof l.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const T=I;I=l.TRUSTED_TYPES_POLICY;try{F=M("")}catch(w){throw I=T,w}}else l.TRUSTED_TYPES_POLICY===null?(I=void 0,F=""):(I===void 0&&(I=H()),I&&typeof F=="string"&&(F=M("")));Fe&&Fe(l),Lt=l},Bn=fe({},[...Qu,...Ju,...gl]),mt=fe({},[...er,..._l]),Eu=function(l,m,T){return m.namespaceURI===tt?l==="svg":m.namespaceURI===an?l==="svg"&&(T==="annotation-xml"||bt[T]):!!Bn[l]},Mr=function(l,m,T){return m.namespaceURI===tt?l==="math":m.namespaceURI===on?l==="math"&&cn[T]:!!mt[l]},ku=function(l,m,T){return m.namespaceURI===on&&!cn[T]||m.namespaceURI===an&&!bt[T]?!1:!mt[l]&&(Rr[l]||!Bn[l])},Au=function(l){const m=K(l),T=Ut(k(l)),w=P(l);let te,re;return w&&q(w)===Se.element?(te={namespaceURI:K(w)},re=Ut(k(w))):(te={namespaceURI:Nt},re="template"),Wt[m]?m===on?Eu(T,te,re):m===an?Mr(T,te,re):m===tt?ku(T,te,re):!!(Vt==="application/xhtml+xml"&&Wt[m]):!1},gt=function(l){En(t.removed,{element:l});try{P(l).removeChild(l)}catch(m){if(g(l),!P(l))throw kt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Su=function(l,m,T){try{b(l,m)}catch(w){try{l.removeAttribute(T)}catch(te){}}},Un=function(l){ee(l);const m=O(l);m&&Et(sl(m),w=>{try{g(w)}catch(te){}});const T=q(l)===Se.element?R(l):null;if(T)for(let w=T.length-1;w>=0;--w){const te=T[w],re=te&&te.name;typeof re=="string"&&Su(l,te,re)}},p=function(l,m,T){if(!T)try{T=m.getAttributeNode(l)}catch(w){T=null}En(t.removed,{attribute:T||null,from:m});try{T?b(m,T):m.removeAttribute(l)}catch(w){try{m.removeAttribute(l)}catch(te){}}if(l==="is")if(et||It)try{gt(m)}catch(w){}else try{m.setAttribute(l,"")}catch(w){}},v=function(l){const m=R(l);if(m)for(let T=m.length-1;T>=0;--T){const w=m[T],te=w&&w.name;typeof te!="string"||W[ke(te)]||Su(l,w,te)}},L=function(l,m){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const w=[l];for(;w.length>0;){const te=w.pop();if(m(te)===!1)continue;if(T&&q(te)===Se.element){const se=B(te);zt(se)&&w.push(se)}const re=O(te);if(re)for(let se=re.length-1;se>=0;--se)w.push(re[se])}},ee=function(l){L(l,m=>{q(m)===Se.element&&v(m)})},ue=function(l){const m=[];return L(l,T=>{m.push(T)},!0),m},Ae=function(l,m){const T=Xu();Et(ue(l),w=>{q(w)===Se.element&&Yu(T,w)}),Et(m,w=>{q(w)===Se.element&&!kn(T,w)&&v(w)})},be=function(l,m){let T=!1;return Et(t.removed,w=>{w.element&&(T=T||w.element===l,ee(w.element))}),Ae(l,m),T},Pt=8,_t=function(l,m){const T=it;let w=null;const te=()=>(w||(w=Xu(),Et(m,re=>{Yu(w,re)})),w);for(let re=0;;re++){const se=ue(l),Te=[l];let vt=!1;if(Et(se,Le=>{q(Le)===Se.documentFragment?En(Te,Le):!vt&&!kn(T,Le)&&(vt=kn(te(),Le))}),!vt)return;if(re>=Pt)throw kt("the tree kept changing during in-place sanitization; refusing to return it");Et(Te,(Le,He)=>{Gn(Le,He>0,l,te())})}},Gn=function(l,m,T,w){const te=Or(l);let re;for(;re=te.nextNode();)!kn(w,re)||kn(it,re)||(m&&ot(ce.uponSanitizeShadowNode,re,null),Nr(re,T),Lr(re,T),zt(re.content)&&jn(re.content))},o1=function(l){it&&Yu(it,l)},ho=function(l,m){return S?l==="patchsrc"?!0:l==="for"&&m!=="label"&&m!=="output":!1},s1=function(l){S&&L(l,m=>{const T=q(m);if(T===Se.processingInstruction||T===Se.comment&&Ie(Xa,m.data)){try{g(m)}catch(w){}return!1}if(T===Se.element){const w=m,te=ke(k(m));try{w.hasAttribute&&w.hasAttribute("patchsrc")&&w.removeAttribute("patchsrc"),w.hasAttribute&&w.hasAttribute("for")&&ho("for",te)&&w.removeAttribute("for")}catch(re){}}return!0})},bo=function(l){let m=null,T=null;if(Ct)l="<remove></remove>"+l;else{const re=Ba(l,/^[\r\n\t ]+/);T=re&&re[0]}Vt==="application/xhtml+xml"&&Nt===tt&&(l='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+l+"</body></html>");const w=I?M(l):l;if(Nt===tt)try{m=new c().parseFromString(w,Vt)}catch(re){}if(!m||!m.documentElement){m=ne.createDocument(Nt,"template",null);try{m.documentElement.innerHTML=In?F:w}catch(re){}}const te=m.body||m.documentElement;return l&&T&&te.insertBefore(n.createTextNode(T),te.childNodes[0]||null),Nt===tt?ve.call(m,G?"html":"body")[0]:G?m.documentElement:te},Or=function(l){const m=z?z(l):l.ownerDocument;return ie.call(m||l,l,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},Cu=function(l){return l=An(l,N," "),l=An(l,xe," "),l=An(l,ut," "),l},Ir=function(l){var m;mo(l);const T=(m=l.querySelectorAll)===null||m===void 0?void 0:m.call(l,"template");T&&Et(T,w=>{zt(w.content)&&Ir(w.content)})},mo=function(l){l.normalize();const m=z?z(l):l.ownerDocument,T=ie.call(m||l,l,s.SHOW_TEXT|s.SHOW_COMMENT|s.SHOW_CDATA_SECTION|s.SHOW_PROCESSING_INSTRUCTION,null);let w=T.nextNode();for(;w;)w.data=Cu(w.data),w=T.nextNode()},Tu=function(l){const m=A?A(l):null;return typeof m!="string"||ke(m)!=="form"?!1:typeof l.nodeName!="string"||typeof l.textContent!="string"||typeof l.removeChild!="function"||l.attributes!==R(l)||typeof l.removeAttribute!="function"||typeof l.removeAttributeNode!="function"||typeof l.getAttributeNode!="function"||typeof l.setAttribute!="function"||typeof l.namespaceURI!="string"||typeof l.insertBefore!="function"||typeof l.hasChildNodes!="function"||l.nodeType!==y(l)||l.childNodes!==O(l)},zt=function(l){if(!y||typeof l!="object"||l===null)return!1;try{return y(l)===Se.documentFragment}catch(m){return!1}},Hn=function(l){if(!y||typeof l!="object"||l===null)return!1;try{return typeof y(l)=="number"}catch(m){return!1}};function ot(D,l,m){D.length!==0&&Et(D,T=>{T.call(t,l,m,Lt)})}const c1=function(l,m){return!!(S&&l.hasChildNodes()&&!Hn(l.firstElementChild)&&Ie(nr,l.textContent)&&Ie(nr,l.innerHTML)||S&&Dl[m]&&q(l)===Se.element&&K(l)===tt&&(Hn(l.firstElementChild)||typeof l.textContent=="string"&&Ie(nr,l.textContent))||l.nodeType===Se.processingInstruction||S&&l.nodeType===Se.comment&&Ie(Xa,l.data))},wu=function(l,m){if(l instanceof RegExp)return Ie(l,m);if(l instanceof Function){for(var T=arguments.length,w=new Array(T>2?T-2:0),te=2;te<T;te++)w[te-2]=arguments[te];return!!l(m,...w)}return!1},l1=function(l,m,T){if(!oe[m]&&vo(m)&&wu(le.tagNameCheck,m))return!1;if(On&&!ht[m]&&!ht[Ut(m)]){const w=P(l),te=O(l);if(te&&w){const re=te.length;for(let se=re-1;se>=0;--se){const Te=l===T?h(te[se],!0):te[se];w.insertBefore(Te,C(l))}}}return gt(l),!0},go=function(l,m,T,w){return l.length===0?m:m===T||m===w?Ze(m):m},ln=function(l,m){return l===m||P(l)!==null?!1:(at&&ee(l),!0)},Nr=function(l,m){if(o1(l),ot(ce.beforeSanitizeElements,l,null),ln(l,m))return!0;if(Tu(l))return gt(l),!0;const T=ke(k(l));if(de=go(ce.uponSanitizeElement,de,Qe,pe),ot(ce.uponSanitizeElement,l,{tagName:T,allowedTags:de}),ln(l,m))return!0;if(c1(l,T))return gt(l),!0;if(oe[T]||!(Ee.tagCheck instanceof Function&&Ee.tagCheck(T))&&!de[T]){const w=l1(l,T,m);return w===!1&&(ot(ce.afterSanitizeElements,l,null),ln(l,m))?!0:w}if(q(l)===Se.element&&!Au(l)||(T==="noscript"||T==="noembed"||T==="noframes")&&Ie(wl,l.innerHTML))return gt(l),!0;if(_&&l.nodeType===Se.text){const w=Cu(l.textContent);l.textContent!==w&&(En(t.removed,{element:l.cloneNode()}),l.textContent=w)}return ot(ce.afterSanitizeElements,l,null),ln(l,m)},_o=function(l,m,T){if(rt[m]||ho(m,l)||bu&&(m==="id"||m==="name")&&(T in n||T in Ln))return!1;const w=W[m]||Ee.attributeCheck instanceof Function&&Ee.attributeCheck(m,l);return Ge&&Ie(Ue,m)||Je&&Ie(Ke,m)?!0:w?rn[m]||Ie(Me,An(T,We,""))||(m==="src"||m==="xlink:href"||m==="href")&&l!=="script"&&Ua(T,"data:")===0&&gu[l]||$&&!Ie(dt,An(T,We,""))?!0:!T:vo(l)&&wu(le.tagNameCheck,l)&&wu(le.attributeNameCheck,m,l)||m==="is"&&le.allowCustomizedBuiltInElements&&wu(le.tagNameCheck,T)},f1=fe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),vo=function(l){return!f1[Ut(l)]&&Ie(St,l)},d1=function(l,m,T,w){if(I&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!T)switch(f.getAttributeType(l,m)){case"TrustedHTML":return M(w);case"TrustedScriptURL":return U(w)}return w},p1=function(l,m,T,w){try{return T?l.setAttributeNS(T,m,w):l.setAttribute(m,w),Tu(l)?(gt(l),!1):!0}catch(te){return p(m,l),!1}},xo=function(l,m){return S&&Ie(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,m)?!0:Ut(l)==="attributename"&&Ba(m,"href")!==null},Lr=function(l,m){if(ot(ce.beforeSanitizeAttributes,l,null),ln(l,m))return;const T=l.attributes;if(!T||Tu(l))return;W=go(ce.uponSanitizeAttribute,W,pt,me);const w={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:W,forceKeepAttr:void 0};let te=T.length;const re=ke(l.nodeName);for(;te--;){const se=T[te],Te=se.name,vt=se.namespaceURI,Le=se.value,He=ke(Te),fn=Le;let je=Te==="value"?fn:ll(fn),yo=!1;if(w.attrName=He,w.attrValue=je,w.keepAttr=!0,w.forceKeepAttr=void 0,ot(ce.uponSanitizeAttribute,l,w),je=w.attrValue,Tt&&(He==="id"||He==="name")&&Ua(je,Zt)!==0&&(p(Te,l,se),je=Zt+je,yo=!0),xo(Te,je)){p(Te,l,se);continue}if(!w.forceKeepAttr){if(!w.keepAttr){p(Te,l,se);continue}if(!X&&Ie(Ya,je)){p(Te,l,se);continue}if(_&&(je=Cu(je)),!_o(re,He,je)){p(Te,l,se);continue}je=d1(re,He,vt,je),je!==fn&&p1(l,Te,vt,je)&&yo&&za(t.removed)}}ot(ce.afterSanitizeAttributes,l,null),ln(l,m)},jn=function(l){let m=null;const T=Or(l);for(ot(ce.beforeSanitizeShadowDOM,l,null);m=T.nextNode();)if(ot(ce.uponSanitizeShadowNode,m,null),Nr(m,l),Lr(m,l),zt(m.content)&&jn(m.content),q(m)===Se.element){const w=B(m);zt(w)&&(Pr(w),jn(w))}_&&mo(l),ot(ce.afterSanitizeShadowDOM,l,null)},Pr=function(l){const m=[{node:l,shadow:null}];for(;m.length>0;){const T=m.pop();if(T.shadow){jn(T.shadow);continue}const w=T.node,te=q(w)===Se.element,re=O(w);if(re)for(let se=re.length-1;se>=0;--se)m.push({node:re[se],shadow:null});if(te){const se=A?A(w):null;if(typeof se=="string"&&ke(se)==="template"){const Te=w.content;zt(Te)&&m.push({node:Te,shadow:null})}}if(te){const se=B(w);zt(se)&&m.push({node:null,shadow:se},{node:se,shadow:null})}}};return t.sanitize=function(D){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=null,T=null,w=null,te=null;if(In=!D,In&&(D="<!-->"),typeof D!="string"&&!Hn(D)&&(D=hl(D),typeof D!="string"))throw kt("dirty is not a string, aborting");if(!t.isSupported)return D;J?(de=pe,W=me):zn(l),(ce.uponSanitizeElement.length>0||ce.uponSanitizeAttribute.length>0)&&(de=Ze(de)),ce.uponSanitizeAttribute.length>0&&(W=Ze(W)),t.removed=[];const re=at&&typeof D!="string"&&Hn(D);let se=[];const Te=it;if(re){s1(D);const He=k(D);if(typeof He=="string"){const fn=ke(He);if(!de[fn]||oe[fn])throw Un(D),kt("root node is forbidden and cannot be sanitized in-place")}if(Tu(D))throw Un(D),kt("root node is clobbered and cannot be sanitized in-place");se=ue(D),it=Xu()}else if(Hn(D))m=bo("<!---->"),T=m.ownerDocument.importNode(D,!0),T.nodeType===Se.element&&T.nodeName==="BODY"||T.nodeName==="HTML"?m=T:m.appendChild(T),Pr(m);else{if(!et&&!_&&!G&&D.indexOf("<")===-1)return I&&un?M(D):D;if(m=bo(D),!m)return et?null:un?F:""}m&&Ct&&gt(m.firstChild);const vt=re?D:m;try{re&&Pr(D);const He=Or(vt);for(;w=He.nextNode();)Nr(w,vt),Lr(w,vt),zt(w.content)&&jn(w.content);re&&_t(D,se)}catch(He){throw re&&(Un(D),be(D,se)),He}finally{it=Te}if(re){if(be(D,se))throw kt("a node selected for removal could not be safely returned; refusing to sanitize in place");return _&&Ir(D),D}if(et){if(_&&Ir(m),It)for(te=he.call(m.ownerDocument);m.firstChild;)te.appendChild(m.firstChild);else te=m;return(W.shadowroot||W.shadowrootmode)&&(te=ye.call(u,te,!0)),te}let Le=G?m.outerHTML:m.innerHTML;return G&&de["!doctype"]&&m.ownerDocument&&m.ownerDocument.doctype&&m.ownerDocument.doctype.name&&Ie(Cl,m.ownerDocument.doctype.name)&&(Le="<!DOCTYPE "+m.ownerDocument.doctype.name+`>
18
+ `+Le),_&&(Le=Cu(Le)),I&&un?M(Le):Le},t.setConfig=function(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};zn(D),J=!0,pe=de,me=W},t.clearConfig=function(){Lt=null,J=!1,pe=null,me=null,I=Y,F=""},t.isValidAttribute=function(D,l,m){Lt||zn({});const T=ke(D),w=ke(l);return typeof m=="string"&&(xo(l,m)||!X&&Ie(Ya,m))?!1:_o(T,w,m)},t.addHook=function(D,l){typeof l=="function"&&Be(ce,D)&&En(ce[D],l)},t.removeHook=function(D,l){if(Be(ce,D)){if(l!==void 0){const m=ol(ce[D],l);return m===-1?void 0:cl(ce[D],m,1)[0]}return za(ce[D])}},t.removeHooks=function(D){Be(ce,D)&&(ce[D]=[])},t.removeAllHooks=function(){ce=Ka()},t}var Gt=Qa();function Ml(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ja(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t],u=typeof n;(u==="object"||u==="function")&&!Object.isFrozen(n)&&Ja(n)}),e}class ei{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function ti(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Mt(e,...t){const n=Object.create(null);for(const u in e)n[u]=e[u];return t.forEach(function(u){for(const r in u)n[r]=u[r]}),n}const Ol="</span>",ni=e=>!!e.scope,Il=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((u,r)=>`${u}${"_".repeat(r+1)}`)].join(" ")}return`${t}${e}`};class Nl{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=ti(t)}openNode(t){if(!ni(t))return;const n=Il(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){ni(t)&&(this.buffer+=Ol)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}const ui=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class rr{constructor(){this.rootNode=ui(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=ui({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(u=>this._walk(t,u)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{rr._collapse(n)}))}}class Ll extends rr{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,n){const u=t.root;n&&(u.scope=`language:${n}`),this.add(u)}toHTML(){return new Nl(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Cn(e){return e?typeof e=="string"?e:e.source:null}function ri(e){return Ht("(?=",e,")")}function Pl(e){return Ht("(?:",e,")*")}function zl(e){return Ht("(?:",e,")?")}function Ht(...e){return e.map(n=>Cn(n)).join("")}function Bl(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function iu(...e){return"("+(Bl(e).capture?"":"?:")+e.map(u=>Cn(u)).join("|")+")"}function ai(e){return new RegExp(e.toString()+"|").exec("").length-1}function Ul(e,t){const n=e&&e.exec(t);return n&&n.index===0}const Gl=new RegExp(iu(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function ar(e,{joinWith:t}){let n=0;return e.map(u=>{n+=1;const r=n;let a=Cn(u),i="";for(;a.length>0;){const o=Gl.exec(a);if(!o){i+=a;break}i+=a.substring(0,o.index),a=a.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?i+="\\"+String(Number(o[1])+r):(i+=o[0],(o[0]==="("||/^\(\?[<']/.test(o[0]))&&n++)}return i}).map(u=>`(${u})`).join(t)}const Hl=/\b\B/,ii="[a-zA-Z]\\w*",ir="[a-zA-Z_]\\w*",oi="\\b\\d+(\\.\\d+)?",si="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ci="\\b(0b[01]+)",jl="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",$l=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=Ht(t,/.*\b/,e.binary,/\b.*/)),Mt({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,u)=>{n.index!==0&&u.ignoreMatch()}},e)},Tn={begin:"\\\\[\\s\\S]",relevance:0},ql={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Tn]},Zl={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Tn]},Wl={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ou=function(e,t,n={}){const u=Mt({scope:"comment",begin:e,end:t,contains:[]},n);u.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=iu("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return u.contains.push({begin:Ht(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),u},Vl=ou("//","$"),Xl=ou("/\\*","\\*/"),Yl=ou("#","$"),Kl={scope:"number",begin:oi,relevance:0},Ql={scope:"number",begin:si,relevance:0},Jl={scope:"number",begin:ci,relevance:0},e0={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Tn,{begin:/\[/,end:/\]/,relevance:0,contains:[Tn]}]},t0={scope:"title",begin:ii,relevance:0},n0={scope:"title",begin:ir,relevance:0},u0={begin:"\\.\\s*"+ir,relevance:0};var su=Object.freeze({__proto__:null,APOS_STRING_MODE:ql,BACKSLASH_ESCAPE:Tn,BINARY_NUMBER_MODE:Jl,BINARY_NUMBER_RE:ci,COMMENT:ou,C_BLOCK_COMMENT_MODE:Xl,C_LINE_COMMENT_MODE:Vl,C_NUMBER_MODE:Ql,C_NUMBER_RE:si,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})},HASH_COMMENT_MODE:Yl,IDENT_RE:ii,MATCH_NOTHING_RE:Hl,METHOD_GUARD:u0,NUMBER_MODE:Kl,NUMBER_RE:oi,PHRASAL_WORDS_MODE:Wl,QUOTE_STRING_MODE:Zl,REGEXP_MODE:e0,RE_STARTERS_RE:jl,SHEBANG:$l,TITLE_MODE:t0,UNDERSCORE_IDENT_RE:ir,UNDERSCORE_TITLE_MODE:n0});function r0(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function a0(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function i0(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=r0,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function o0(e,t){Array.isArray(e.illegal)&&(e.illegal=iu(...e.illegal))}function s0(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function c0(e,t){e.relevance===void 0&&(e.relevance=1)}const l0=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(u=>{delete e[u]}),e.keywords=n.keywords,e.begin=Ht(n.beforeMatch,ri(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},f0=["of","and","for","in","not","or","if","then","parent","list","value"],d0="keyword";function li(e,t,n=d0){const u=Object.create(null);return typeof e=="string"?r(n,e.split(" ")):Array.isArray(e)?r(n,e):Object.keys(e).forEach(function(a){Object.assign(u,li(e[a],t,a))}),u;function r(a,i){t&&(i=i.map(o=>o.toLowerCase())),i.forEach(function(o){const s=o.split("|");u[s[0]]=[a,p0(s[0],s[1])]})}}function p0(e,t){return t?Number(t):h0(e)?0:1}function h0(e){return f0.includes(e.toLowerCase())}const fi={},jt=e=>{console.error(e)},di=(e,...t)=>{console.log(`WARN: ${e}`,...t)},tn=(e,t)=>{fi[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),fi[`${e}/${t}`]=!0)},cu=new Error;function pi(e,t,{key:n}){let u=0;const r=e[n],a={},i={};for(let o=1;o<=t.length;o++)i[o+u]=r[o],a[o+u]=!0,u+=ai(t[o-1]);e[n]=i,e[n]._emit=a,e[n]._multi=!0}function b0(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw jt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),cu;if(typeof e.beginScope!="object"||e.beginScope===null)throw jt("beginScope must be object"),cu;pi(e,e.begin,{key:"beginScope"}),e.begin=ar(e.begin,{joinWith:""})}}function m0(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw jt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),cu;if(typeof e.endScope!="object"||e.endScope===null)throw jt("endScope must be object"),cu;pi(e,e.end,{key:"endScope"}),e.end=ar(e.end,{joinWith:""})}}function g0(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function _0(e){g0(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),b0(e),m0(e)}function v0(e){function t(i,o){return new RegExp(Cn(i),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(o?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,s){s.position=this.position++,this.matchIndexes[this.matchAt]=s,this.regexes.push([s,o]),this.matchAt+=ai(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(s=>s[1]);this.matcherRe=t(ar(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const s=this.matcherRe.exec(o);if(!s)return null;const c=s.findIndex((d,h)=>h>0&&d!==void 0),f=this.matchIndexes[c];return s.splice(0,c),Object.assign(s,f)}}class u{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const s=new n;return this.rules.slice(o).forEach(([c,f])=>s.addRule(c,f)),s.compile(),this.multiRegexes[o]=s,s}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,s){this.rules.push([o,s]),s.type==="begin"&&this.count++}exec(o){const s=this.getMatcher(this.regexIndex);s.lastIndex=this.lastIndex;let c=s.exec(o);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const f=this.getMatcher(0);f.lastIndex=this.lastIndex+1,c=f.exec(o)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function r(i){const o=new u;return i.contains.forEach(s=>o.addRule(s.begin,{rule:s,type:"begin"})),i.terminatorEnd&&o.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&o.addRule(i.illegal,{type:"illegal"}),o}function a(i,o){const s=i;if(i.isCompiled)return s;[a0,s0,_0,l0].forEach(f=>f(i,o)),e.compilerExtensions.forEach(f=>f(i,o)),i.__beforeBegin=null,[i0,o0,c0].forEach(f=>f(i,o)),i.isCompiled=!0;let c=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),c=i.keywords.$pattern,delete i.keywords.$pattern),c=c||/\w+/,i.keywords&&(i.keywords=li(i.keywords,e.case_insensitive)),s.keywordPatternRe=t(c,!0),o&&(i.begin||(i.begin=/\B|\b/),s.beginRe=t(s.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(s.endRe=t(s.end)),s.terminatorEnd=Cn(s.end)||"",i.endsWithParent&&o.terminatorEnd&&(s.terminatorEnd+=(i.end?"|":"")+o.terminatorEnd)),i.illegal&&(s.illegalRe=t(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(f){return x0(f==="self"?i:f)})),i.contains.forEach(function(f){a(f,s)}),i.starts&&a(i.starts,o),s.matcher=r(s),s}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Mt(e.classNameAliases||{}),a(e)}function hi(e){return e?e.endsWithParent||hi(e.starts):!1}function x0(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Mt(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:hi(e)?Mt(e,{starts:e.starts?Mt(e.starts):null}):Object.isFrozen(e)?Mt(e):e}var y0="11.12.0";class E0 extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}}const or=ti,bi=Mt,mi=Symbol("nomatch"),k0=7,gi=function(e){const t=Object.create(null),n=Object.create(null),u=[];let r=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Ll};function s(E){return o.noHighlightRe.test(E)}function c(E){let M=E.className+" ";M+=E.parentNode?E.parentNode.className:"";const U=o.languageDetectRe.exec(M);if(U){const H=k(U[1]);return H||(di(a.replace("{}",U[1])),di("Falling back to no-highlight mode for this block.",E)),H?U[1]:"no-highlight"}return M.split(/\s+/).find(H=>s(H)||k(H))}function f(E,M,U){let H="",Q="";typeof M=="object"?(H=E,U=M.ignoreIllegals,Q=M.language):(tn("10.7.0","highlight(lang, code, ...args) has been deprecated."),tn("10.7.0",`Please use highlight(code, options) instead.
19
+ https://github.com/highlightjs/highlight.js/issues/2277`),Q=E,H=M),U===void 0&&(U=!0);const ne={code:H,language:Q};V("before:highlight",ne);const ie=ne.result?ne.result:d(ne.language,ne.code,U);return ie.code=ne.code,V("after:highlight",ie),ie}function d(E,M,U,H){const Q=Object.create(null);function ne($,X){return $.keywords[X]}function ie(){if(!W.keywords){le.addText(oe);return}let $=0;W.keywordPatternRe.lastIndex=0;let X=W.keywordPatternRe.exec(oe),_="";for(;X;){_+=oe.substring($,X.index);const S=Me.case_insensitive?X[0].toLowerCase():X[0],G=ne(W,S);if(G){const[J,pe]=G;if(le.addText(_),_="",Q[S]=(Q[S]||0)+1,Q[S]<=k0&&(rt+=pe),J.startsWith("_"))_+=X[0];else{const me=Me.classNameAliases[J]||J;ye(X[0],me)}}else _+=X[0];$=W.keywordPatternRe.lastIndex,X=W.keywordPatternRe.exec(oe)}_+=oe.substring($),le.addText(_)}function he(){if(oe==="")return;let $=null;if(typeof W.subLanguage=="string"){if(!t[W.subLanguage]){le.addText(oe);return}$=d(W.subLanguage,oe,!0,pt[W.subLanguage]),pt[W.subLanguage]=$._top}else $=g(oe,W.subLanguage.length?W.subLanguage:null);W.relevance>0&&(rt+=$.relevance),le.__addSublanguage($._emitter,$.language)}function ve(){W.subLanguage!=null?he():ie(),oe=""}function ye($,X){$!==""&&(le.startScope(X),le.addText($),le.endScope())}function ce($,X){let _=1;const S=X.length-1;for(;_<=S;){if(!$._emit[_]){_++;continue}const G=Me.classNameAliases[$[_]]||$[_],J=X[_];G?ye(J,G):(oe=J,ie(),oe=""),_++}}function N($,X){return $.scope&&typeof $.scope=="string"&&le.openNode(Me.classNameAliases[$.scope]||$.scope),$.beginScope&&($.beginScope._wrap?(ye(oe,Me.classNameAliases[$.beginScope._wrap]||$.beginScope._wrap),oe=""):$.beginScope._multi&&(ce($.beginScope,X),oe="")),W=Object.create($,{parent:{value:W}}),W}function xe($,X,_){let S=Ul($.endRe,_);if(S){if($["on:end"]){const G=new ei($);$["on:end"](X,G),G.isMatchIgnored&&(S=!1)}if(S){for(;$.endsParent&&$.parent;)$=$.parent;return $}}if($.endsWithParent)return xe($.parent,X,_)}function ut($){return W.matcher.regexIndex===0?(oe+=$[0],1):(Ge=!0,0)}function Ue($){const X=$[0],_=$.rule,S=new ei(_),G=[_.__beforeBegin,_["on:begin"]];for(const J of G)if(J&&(J($,S),S.isMatchIgnored))return ut(X);return _.skip?oe+=X:(_.excludeBegin&&(oe+=X),ve(),!_.returnBegin&&!_.excludeBegin&&(oe=X)),N(_,$),_.returnBegin?0:X.length}function Ke($){const X=$[0],_=M.substring($.index),S=xe(W,$,_);if(!S)return mi;const G=W;W.endScope&&W.endScope._wrap?(ve(),ye(X,W.endScope._wrap)):W.endScope&&W.endScope._multi?(ve(),ce(W.endScope,$)):G.skip?oe+=X:(G.returnEnd||G.excludeEnd||(oe+=X),ve(),G.excludeEnd&&(oe=X));do W.scope&&le.closeNode(),!W.skip&&!W.subLanguage&&(rt+=W.relevance),W=W.parent;while(W!==S.parent);return S.starts&&N(S.starts,$),G.returnEnd?0:X.length}function dt(){const $=[];for(let X=W;X!==Me;X=X.parent)X.scope&&$.unshift(X.scope);$.forEach(X=>le.openNode(X))}let We={};function St($,X){const _=X&&X[0];if(oe+=$,_==null)return ve(),0;if(We.type==="begin"&&X.type==="end"&&We.index===X.index&&_===""){if(oe+=M.slice(X.index,X.index+1),!r){const S=new Error(`0 width match regex (${E})`);throw S.languageName=E,S.badRule=We.rule,S}return 1}if(We=X,X.type==="begin")return Ue(X);if(X.type==="illegal"&&!U){const S=new Error('Illegal lexeme "'+_+'" for mode "'+(W.scope||"<unnamed>")+'"');throw S.mode=W,S}else if(X.type==="end"){const S=Ke(X);if(S!==mi)return S}if(X.type==="illegal"&&_==="")return X.index===M.length||(oe+=`
20
+ `),1;if(Je>1e5&&Je>X.index*3)throw new Error("potential infinite loop, way more iterations than matches");return oe+=_,_.length}const Me=k(E);if(!Me)throw jt(a.replace("{}",E)),new Error('Unknown language: "'+E+'"');const de=v0(Me);let Qe="",W=H||de;const pt={},le=new o.__emitter(o);dt();let oe="",rt=0,Ee=0,Je=0,Ge=!1;try{if(Me.__emitTokens)Me.__emitTokens(M,le);else{for(W.matcher.considerAll();;){Je++,Ge?Ge=!1:W.matcher.considerAll(),W.matcher.lastIndex=Ee;const $=W.matcher.exec(M);if(!$)break;const X=M.substring(Ee,$.index),_=St(X,$);Ee=$.index+_}St(M.substring(Ee))}return le.finalize(),Qe=le.toHTML(),{language:E,value:Qe,relevance:rt,illegal:!1,_emitter:le,_top:W}}catch($){if($.message&&$.message.includes("Illegal"))return{language:E,value:or(M),illegal:!0,relevance:0,_illegalBy:{message:$.message,index:Ee,context:M.slice(Ee-100,Ee+100),mode:$.mode,resultSoFar:Qe},_emitter:le};if(r)return{language:E,value:or(M),illegal:!1,relevance:0,errorRaised:$,_emitter:le,_top:W};throw $}}function h(E){const M={value:or(E),illegal:!1,relevance:0,_top:i,_emitter:new o.__emitter(o)};return M._emitter.addText(E),M}function g(E,M){M=M||o.languages||Object.keys(t);const U=h(E),H=M.filter(k).filter(K).map(ve=>d(ve,E,!1));H.unshift(U);const Q=H.sort((ve,ye)=>{if(ve.relevance!==ye.relevance)return ye.relevance-ve.relevance;if(ve.language&&ye.language){if(k(ve.language).supersetOf===ye.language)return 1;if(k(ye.language).supersetOf===ve.language)return-1}return 0}),[ne,ie]=Q,he=ne;return he.secondBest=ie,he}function b(E,M,U){const H=M&&n[M]||U;E.classList.add("hljs"),E.classList.add(`language-${H}`)}function C(E){let M=null;const U=c(E);if(s(U))return;if(V("before:highlightElement",{el:E,language:U}),E.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",E);return}if(E.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(E)),o.throwUnescapedHTML))throw new E0("One of your code blocks includes unescaped HTML.",E.innerHTML);M=E;const H=M.textContent,Q=U?f(H,{language:U,ignoreIllegals:!0}):g(H);E.innerHTML=Q.value,E.dataset.highlighted="yes",b(E,U,Q.language),E.result={language:Q.language,re:Q.relevance,relevance:Q.relevance},Q.secondBest&&(E.secondBest={language:Q.secondBest.language,relevance:Q.secondBest.relevance}),V("after:highlightElement",{el:E,result:Q,text:H})}function O(E){o=bi(o,E)}const P=()=>{y(),tn("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function B(){y(),tn("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let R=!1;function y(){function E(){y()}if(document.readyState==="loading"){R||window.addEventListener("DOMContentLoaded",E,!1),R=!0;return}document.querySelectorAll(o.cssSelector).forEach(C)}function A(E,M){let U=null;try{U=M(e)}catch(H){if(jt("Language definition for '{}' could not be registered.".replace("{}",E)),r)jt(H);else throw H;U=i}U.name||(U.name=E),t[E]=U,U.rawDefinition=M.bind(null,e),U.aliases&&j(U.aliases,{languageName:E})}function z(E){delete t[E];for(const M of Object.keys(n))n[M]===E&&delete n[M]}function q(){return Object.keys(t)}function k(E){return E=(E||"").toLowerCase(),t[E]||t[n[E]]}function j(E,{languageName:M}){typeof E=="string"&&(E=[E]),E.forEach(U=>{n[U.toLowerCase()]=M})}function K(E){const M=k(E);return M&&!M.disableAutodetect}function I(E){E["before:highlightBlock"]&&!E["before:highlightElement"]&&(E["before:highlightElement"]=M=>{E["before:highlightBlock"](Object.assign({block:M.el},M))}),E["after:highlightBlock"]&&!E["after:highlightElement"]&&(E["after:highlightElement"]=M=>{E["after:highlightBlock"](Object.assign({block:M.el},M))})}function F(E){I(E),u.push(E)}function Y(E){const M=u.indexOf(E);M!==-1&&u.splice(M,1)}function V(E,M){const U=E;u.forEach(function(H){H[U]&&H[U](M)})}function Z(E){return tn("10.7.0","highlightBlock will be removed entirely in v12.0"),tn("10.7.0","Please use highlightElement now."),C(E)}Object.assign(e,{highlight:f,highlightAuto:g,highlightAll:y,highlightElement:C,highlightBlock:Z,configure:O,initHighlighting:P,initHighlightingOnLoad:B,registerLanguage:A,unregisterLanguage:z,listLanguages:q,getLanguage:k,registerAliases:j,autoDetection:K,inherit:bi,addPlugin:F,removePlugin:Y}),e.debugMode=function(){r=!1},e.safeMode=function(){r=!0},e.versionString=y0,e.regex={concat:Ht,lookahead:ri,either:iu,optional:zl,anyNumberOfTimes:Pl};for(const E in su)typeof su[E]=="object"&&Ja(su[E]);return Object.assign(e,su),e},nn=gi({});nn.newInstance=()=>gi({});var A0=nn;nn.HighlightJS=nn,nn.default=nn;const Ce=Ml(A0),_i="[A-Za-z$_][0-9A-Za-z$_]*",S0=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],C0=["true","false","null","undefined","NaN","Infinity"],vi=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],xi=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],yi=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],T0=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],w0=[].concat(yi,vi,xi);function Ei(e){const t=e.regex,n=(U,{after:H})=>{const Q="</"+U[0].slice(1);return U.input.indexOf(Q,H)!==-1},u=_i,r={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(U,H)=>{const Q=U[0].length+U.index,ne=U.input[Q];if(ne==="<"||ne===","){H.ignoreMatch();return}ne===">"&&(n(U,{after:Q})||H.ignoreMatch());let ie;const he=U.input.substring(Q);if(ie=he.match(/^\s*=/)){H.ignoreMatch();return}if((ie=he.match(/^\s+extends\s+/))&&ie.index===0){H.ignoreMatch();return}}},o={$pattern:_i,keyword:S0,literal:C0,built_in:w0,"variable.language":T0},s="[0-9](_?[0-9])*",c=`\\.(${s})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${f})((${c})|\\.)?|(${c}))[eE][+-]?(${s})\\b`},{begin:`\\b(${f})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},g={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},b={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"css"}},C={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},O={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,h]},B={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:u+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,b,C,O,{match:/\$\d+/},d];h.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const y=[].concat(B,h.contains),A=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(y)}]),z={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:A},q={variants:[{match:[/class/,/\s+/,u,/\s+/,/extends/,/\s+/,t.concat(u,"(",t.concat(/\./,u),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,u],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...vi,...xi]}},j={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},K={variants:[{match:[/function/,/\s+/,u,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[z],illegal:/%/},I={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function F(U){return t.concat("(?!",U.join("|"),")")}const Y={match:t.concat(/\b/,F([...yi,"super","import","await"].map(U=>`${U}\\s*\\(`)),u,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},V={begin:t.concat(/\./,t.lookahead(t.concat(u,/(?![0-9A-Za-z$_(])/))),end:u,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,u,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},z]},E="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",M={match:[/const|var|let/,/\s+/,u,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(E)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[z]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:A,CLASS_REFERENCE:k},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),j,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,b,C,O,B,{match:/\$\d+/},d,k,{scope:"attr",match:u+t.lookahead(":"),relevance:0},M,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,e.REGEXP_MODE,{className:"function",begin:E,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:A}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:a},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},K,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[z,e.inherit(e.TITLE_MODE,{begin:u,className:"title.function"})]},{match:/\.\.\./,relevance:0},V,{match:"\\$"+u,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[z]},Y,I,q,Z,{match:/\$[(.]/}]}}const lu="[A-Za-z$_][0-9A-Za-z$_]*",ki=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Ai=["true","false","null","undefined","NaN","Infinity"],Si=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ci=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ti=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],wi=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],Di=[].concat(Ti,Si,Ci);function D0(e){const t=e.regex,n=(U,{after:H})=>{const Q="</"+U[0].slice(1);return U.input.indexOf(Q,H)!==-1},u=lu,r={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(U,H)=>{const Q=U[0].length+U.index,ne=U.input[Q];if(ne==="<"||ne===","){H.ignoreMatch();return}ne===">"&&(n(U,{after:Q})||H.ignoreMatch());let ie;const he=U.input.substring(Q);if(ie=he.match(/^\s*=/)){H.ignoreMatch();return}if((ie=he.match(/^\s+extends\s+/))&&ie.index===0){H.ignoreMatch();return}}},o={$pattern:lu,keyword:ki,literal:Ai,built_in:Di,"variable.language":wi},s="[0-9](_?[0-9])*",c=`\\.(${s})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${f})((${c})|\\.)?|(${c}))[eE][+-]?(${s})\\b`},{begin:`\\b(${f})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},g={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},b={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"css"}},C={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},O={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,h]},B={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:u+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,b,C,O,{match:/\$\d+/},d];h.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const y=[].concat(B,h.contains),A=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(y)}]),z={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:A},q={variants:[{match:[/class/,/\s+/,u,/\s+/,/extends/,/\s+/,t.concat(u,"(",t.concat(/\./,u),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,u],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Si,...Ci]}},j={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},K={variants:[{match:[/function/,/\s+/,u,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[z],illegal:/%/},I={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function F(U){return t.concat("(?!",U.join("|"),")")}const Y={match:t.concat(/\b/,F([...Ti,"super","import","await"].map(U=>`${U}\\s*\\(`)),u,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},V={begin:t.concat(/\./,t.lookahead(t.concat(u,/(?![0-9A-Za-z$_(])/))),end:u,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,u,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},z]},E="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",M={match:[/const|var|let/,/\s+/,u,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(E)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[z]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:A,CLASS_REFERENCE:k},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),j,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,b,C,O,B,{match:/\$\d+/},d,k,{scope:"attr",match:u+t.lookahead(":"),relevance:0},M,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,e.REGEXP_MODE,{className:"function",begin:E,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:A}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:a},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},K,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[z,e.inherit(e.TITLE_MODE,{begin:u,className:"title.function"})]},{match:/\.\.\./,relevance:0},V,{match:"\\$"+u,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[z]},Y,I,q,Z,{match:/\$[(.]/}]}}function Ri(e){const t=e.regex,n=D0(e),u=lu,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},i={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[n.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},s=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],c={$pattern:lu,keyword:ki.concat(s),literal:Ai,built_in:Di.concat(r),"variable.language":wi},f={className:"meta",begin:"@"+u},d=(C,O,P)=>{const B=C.contains.findIndex(R=>R.label===O);if(B===-1)throw new Error("can not find mode to replace");C.contains.splice(B,1,P)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(f);const h=n.contains.find(C=>C.scope==="attr"),g=Object.assign({},h,{match:t.concat(u,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,h,g]),n.contains=n.contains.concat([f,a,i,g]),d(n,"shebang",e.SHEBANG()),d(n,"use_strict",o);const b=n.contains.find(C=>C.label==="func.def");return b.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}const R0={scope:"number",match:"([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",relevance:0};function F0(e){const t={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},u=["true","false","null"],r={scope:"literal",beginKeywords:u.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:u},contains:[t,n,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,R0,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function sr(e){const t=e.regex,n={},u={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},u]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,r]};r.contains.push(o);const s={match:/\\"/},c={className:"string",begin:/'/,end:/'/},f={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],g=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),b={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},C=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],O=["true","false"],P={match:/(\/[a-z._-]+)+/},B=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],R=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],y=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],A=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:C,literal:O,built_in:[...B,...R,"set","shopt",...y,...A]},contains:[g,e.SHEBANG(),b,d,a,i,P,o,s,c,f,n]}}function cr(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),u=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(a,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,s,o,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,i,s,o]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:"javascript"}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const M0=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),O0=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],I0=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],N0=[...O0,...I0],L0=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),P0=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),z0=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),B0=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Fi(e){const t=e.regex,n=M0(e),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},r="and or not only",a=/@-?\w[\w]*(-\w+)*/,i="[a-zA-Z-][a-zA-Z0-9_-]*",o=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,u,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+i,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+P0.join("|")+")"},{begin:":(:)?("+z0.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+B0.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,n.UNICODE_RANGE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:r,attribute:L0.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+N0.join("|")+")\\b"}]}}function Mi(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),u=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","lazy","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:u,built_in:["__import__","abs","aiter","all","anext","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozendict","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","sentinel","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},s={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},f={begin:/\{\{/,relevance:0},d={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,s],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,s,f,c]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s,f,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,f,c]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,f,c]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h="[0-9](_?[0-9])*",g=`(\\b(${h}))?\\.(${h})|\\b(${h})\\.`,b=`\\b|${u.join("|")}`,C={className:"number",relevance:0,variants:[{begin:`(\\b(${h})|(${g}))[eE][+-]?(${h})[jJ]?(?=${b})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${b})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${b})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${b})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${b})`},{begin:`\\b(${h})[jJ](?=${b})`}]},O={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},P={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",s,C,d,e.HASH_COMMENT_MODE]}]};return c.contains=[d,C,s],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[s,C,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},d,O,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[P]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[C,P,d]}]}}function U0(e){const t=e.regex,n=e.COMMENT("--","$"),u={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},r={begin:/"/,end:/"/,contains:[{match:/""/}]},a=["true","false","unknown"],i=["double precision","large object","with timezone","without timezone"],o=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],s=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],f=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],d=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],h=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],g=f,b=[...c,...s].filter(A=>!f.includes(A)),C={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},O={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},P={match:t.concat(/\b/,t.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function B(A){return t.concat(/\b/,t.either(...A.map(z=>z.replace(/\s+/,"\\s+"))),/\b/)}const R={scope:"keyword",match:B(h),relevance:0};function y(A,{exceptions:z,when:q}={}){const k=q;return z=z||[],A.map(j=>j.match(/\|\d+$/)||z.includes(j)?j:k(j)?`${j}|0`:j)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:y(b,{when:A=>A.length<3}),literal:a,type:o,built_in:d},contains:[{scope:"type",match:B(i)},R,P,C,u,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,O]}}function Oi(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},u={match:/^ {0,3}([-*_])[ \t]*(?:\1[ \t]*){2,}$/},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},a={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},i={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},o=/[A-Za-z][A-Za-z0-9+.-]*/,s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,o,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},d=e.inherit(c,{contains:[]}),h=e.inherit(f,{contains:[]});c.contains.push(h),f.contains.push(d);let g=[n,s];return[c,f,d,h].forEach(P=>{P.contains=P.contains.concat(g)}),g=g.concat(c,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:g},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:g}]}]},n,a,u,c,f,{className:"quote",begin:"^>\\s+",contains:g,end:"$"},r,s,i,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}Ce.registerLanguage("javascript",Ei),Ce.registerLanguage("js",Ei),Ce.registerLanguage("typescript",Ri),Ce.registerLanguage("ts",Ri),Ce.registerLanguage("json",F0),Ce.registerLanguage("bash",sr),Ce.registerLanguage("sh",sr),Ce.registerLanguage("shell",sr),Ce.registerLanguage("html",cr),Ce.registerLanguage("xml",cr),Ce.registerLanguage("vue",cr),Ce.registerLanguage("css",Fi),Ce.registerLanguage("scss",Fi),Ce.registerLanguage("python",Mi),Ce.registerLanguage("py",Mi),Ce.registerLanguage("sql",U0),Ce.registerLanguage("markdown",Oi),Ce.registerLanguage("md",Oi);var G0={USE_PROFILES:{html:!0},ADD_ATTR:["class","target","rel"],FORBID_TAGS:["style","iframe","object","embed","form","input","button","textarea"],FORBID_ATTR:["style","srcdoc"]};function H0(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function j0(e,t){try{if(t&&Ce.getLanguage(t))return'<pre class="ai-chat-pre"><code class="hljs language-'+t+'">'+Ce.highlight(e,{language:t,ignoreIllegals:!0}).value+"</code></pre>"}catch(n){return""}return""}var $t=new Ve({html:!0,linkify:!0,breaks:!0,highlight:j0});function lr(e,t,n,u,r){return r.renderToken(e,t,n)}var $0=$t.renderer.rules.link_open||lr,q0=$t.renderer.rules.table_open||lr,Z0=$t.renderer.rules.table_close||lr;$t.renderer.rules.link_open=function(e,t,n,u,r){return e[t].attrSet("target","_blank"),e[t].attrSet("rel","noopener noreferrer"),$0(e,t,n,u,r)},$t.renderer.rules.table_open=function(e,t,n,u,r){return'<div class="ai-chat-md__table">'+q0(e,t,n,u,r)},$t.renderer.rules.table_close=function(e,t,n,u,r){return Z0(e,t,n,u,r)+"</div>"};function W0(){return Gt&&typeof Gt.sanitize=="function"?Gt:Gt&&Gt.default&&typeof Gt.default.sanitize=="function"?Gt.default:null}function Ii(e){var t=e==null?"":String(e);if(!t||typeof window=="undefined")return"";var n="";try{n=$t.render(t)}catch(r){n='<pre class="ai-chat-pre"><code>'+H0(t)+"</code></pre>"}var u=W0();return u?u.sanitize(n,G0):""}const V0=Object.assign({name:"MarkdownPart"},{props:{message:{type:Object,required:!0}},setup(e){const t=e;var n=x.ref(""),u=0,r=typeof requestAnimationFrame=="function"?requestAnimationFrame:function(c){return setTimeout(c,16)},a=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:clearTimeout,i=x.computed(function(){return t.message.status==="streaming"});function o(){n.value=Ii(t.message.content||"")}function s(){u||(u=r(function(){u=0,o()}))}return x.watch(function(){return[t.message.content,t.message.status]},function(){if(t.message.status==="streaming"){s();return}u&&(a(u),u=0),o()},{immediate:!0}),x.onBeforeUnmount(function(){u&&a(u)}),{__sfc:!0,props:t,safeHtml:n,frame:u,raf:r,cancelFrame:a,streaming:i,renderNow:o,schedule:s}}});var X0=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("div",{staticClass:"ai-chat-md"},[n("div",{staticClass:"ai-chat-md__body",domProps:{innerHTML:t._s(u.safeHtml)}}),u.streaming?n("span",{staticClass:"ai-chat-cursor",attrs:{"aria-hidden":"true"}}):t._e()])},Y0=[],K0=Pe(V0,X0,Y0);const Ni=K0.exports;function fr(e,t){return String(e==null?"":e).replace(/\{(\w+)\}/g,function(n,u){return!t||t[u]==null?"":String(t[u])})}function wn(e,t){var n=e&&typeof e=="object"?e:{},u={};return Object.keys(t).forEach(function(r){var a=n[r];u[r]=a==null||a===""?t[r]:String(a)}),u}var Dn={loading:"正在加载对话",emptyTitle:"还没有消息",emptyText:"在下方输入问题,回复会以流式方式出现在这里。",follow:"继续提问",send:"发送",stop:"停止",upload:"附件",uploadTitle:"上传附件",removeFile:"移除附件",thinking:"思考中",retry:"重试",expand:"展开全文",collapse:"收起",copy:"复制",copyMarkdown:"复制原文",copyText:"复制文本",copiedMarkdown:"已复制原文",copiedText:"已复制文本",report:"下载审查报告",filesMore:"还有 {count} 个附件",filesLess:"收起附件",previewClose:"关闭",previewDialog:"文件预览",attachmentFallback:"附件",readingFile:"正在读取本地文件…",previewMissing:"当前页面没有这份文件的本地副本,不会向服务器拉取预览。",previewUnsupported:"此类型无法在浏览器中本地预览。",previewReadFailed:"本地读取失败,没有改用远程预览。",errorLabel:"生成失败",errorFallback:"请求没有完成",stopped:"已停止",failed:"失败",pending:"等待",avatarUser:"我",avatarSystem:"系",avatarAssistant:"助",turnRail:"按对话轮次快速滚动",turnRailValue:"第 {current} 轮,共 {count} 轮"},Li={foldExpand:"展开{title}",foldCollapse:"收起{title}",foldExpandTip:"点击展开,拖拽调整宽度",foldCollapseTip:"点击收起,拖拽调整宽度",miniEmpty:"空",delete:"删除",cancel:"取消",deleting:"删除中",create:"创建",pin:"置顶",unpin:"取消置顶",pinnedPrefix:"已置顶 · ",moveIn:"移入",moveOut:"移出",moveTo:"移动到",moveDialog:"移动{title}",moveOutDir:"移出目录",createDir:"创建目录",deleteDir:"删除目录",renameDir:"重命名",dirPlaceholder:"目录名称",dirEmpty:"先新建目录",dirEmptyMenu:"先创建目录",batch:"批量",folder:"目录",selectAll:"全选",selected:"已选 {count}",deleteAsk:"删除「{name}」?",batchAsk:"删除选中的 {count} 个{title}?",folderAsk:"删除目录「{name}」?",folderAskWith:"删除目录「{name}」及其中 {count} 个{title}?",turnMeta:"{count} 轮 · {time}",miniTip:"{prefix}{title} · {count} 轮",unnamed:"未命名任务",miniFallback:"未",folderMark:"目",resize:"调整{title}栏宽度",resizeTip:"拖拽调整宽度",selectDir:"选择目录 {name}",selectTask:"选择 {name}",expandDir:"展开{name}",collapseDir:"收起{name}"};const Q0=Object.assign({name:"ErrorPart"},{props:{message:{type:Object,required:!0},labels:{type:Object,default:function(){return{}}}},setup(e){const t=e;var n=x.computed(function(){return wn(t.labels,Dn)}),u=x.computed(function(){var r=t.message&&t.message.metadata;return r&&r.error?String(r.error):n.value.errorFallback});return{__sfc:!0,props:t,texts:n,detail:u}}});var J0=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("div",{staticClass:"ai-chat-error",attrs:{role:"alert"}},[n("span",{staticClass:"ai-chat-error__label"},[t._v(t._s(u.texts.errorLabel))]),n("span",{staticClass:"ai-chat-error__msg"},[t._v(t._s(u.detail))])])},ef=[],tf=Pe(Q0,J0,ef);const Pi=tf.exports,nf=Object.assign({name:"MessageRenderer"},{props:{message:{type:Object,required:!0},actions:{type:Array,default:function(){return[]}},messageTypes:{type:Object,default:function(){return{}}},labels:{type:Object,default:function(){return{}}}},emits:["action"],setup(e,{emit:t}){const n=e;var u=x.computed(function(){return Wn(n.message&&n.message.type,n.messageTypes)}),r=x.computed(function(){var i=n.message&&n.message.role,o=n.message&&n.message.type;return i==="user"||i==="system"||o==="text"});function a(i){var o=i&&typeof i=="object"?i.key:i;t("action",{key:o})}return{__sfc:!0,props:n,emit:t,custom:u,usePlainText:r,onCustomAction:a,TextPart:Br,MarkdownPart:Ni,ErrorPart:Pi}}});var uf=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("div",{staticClass:"ai-chat-renderer"},[u.custom?n(u.custom,{tag:"component",attrs:{message:t.message,actions:t.actions},on:{action:u.onCustomAction}}):[u.usePlainText?n(u.TextPart,{attrs:{message:t.message}}):n(u.MarkdownPart,{attrs:{message:t.message}}),t.message.status==="error"?n(u.ErrorPart,{attrs:{message:t.message,labels:t.labels}}):t._e()]],2)},rf=[],af=Pe(nf,uf,rf);const dr=af.exports,zi=Object.freeze({left:0,top:0,width:16,height:16}),Bi=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ui=Object.freeze($e($e({},zi),Bi));Object.freeze(zr($e({},Ui),{body:"",hidden:!1})),$e({},zi);const Gi=Object.freeze({width:null,height:null}),Hi=Object.freeze($e($e({},Gi),Bi));function of(e,t){const n=$e({},e);for(const u in t){const r=t[u],a=typeof r;u in Gi?(r===null||r&&(a==="string"||a==="number"))&&(n[u]=r):a===typeof n[u]&&(n[u]=u==="rotate"?r%4:r)}return n}const sf=/[\s,]+/;function cf(e,t){t.split(sf).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function lf(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function u(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:u(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let a=parseFloat(e.slice(0,e.length-n.length));return isNaN(a)?0:(a=a/r,a%1===0?u(a):0)}}return t}const ff=/(-?[0-9.]*[0-9]+[0-9.]*)/g,df=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ji(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const u=e.split(ff);if(u===null||!u.length)return e;const r=[];let a=u.shift(),i=df.test(a);for(;;){if(i){const o=parseFloat(a);isNaN(o)?r.push(a):r.push(Math.ceil(o*t*n)/n)}else r.push(a);if(a=u.shift(),a===void 0)return r.join("");i=!i}}const pf=e=>e==="unset"||e==="undefined"||e==="none";function hf(e,t){const n=$e($e({},Ui),e),u=$e($e({},Hi),t),r={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,u].forEach(b=>{const C=[],O=b.hFlip,P=b.vFlip;let B=b.rotate;O?P?B+=2:(C.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),C.push("scale(-1 1)"),r.top=r.left=0):P&&(C.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),C.push("scale(1 -1)"),r.top=r.left=0);let R;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:R=r.height/2+r.top,C.unshift("rotate(90 "+R.toString()+" "+R.toString()+")");break;case 2:C.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:R=r.width/2+r.left,C.unshift("rotate(-90 "+R.toString()+" "+R.toString()+")");break}B%2===1&&(r.left!==r.top&&(R=r.left,r.left=r.top,r.top=R),r.width!==r.height&&(R=r.width,r.width=r.height,r.height=R)),C.length&&(a='<g transform="'+C.join(" ")+'">'+a+"</g>")});const i=u.width,o=u.height,s=r.width,c=r.height;let f,d;i===null?(d=o===null?"1em":o==="auto"?c:o,f=ji(d,s/c)):(f=i==="auto"?s:i,d=o===null?ji(f,c/s):o==="auto"?c:o);const h={},g=(b,C)=>{pf(C)||(h[b]=C.toString())};return g("width",f),g("height",d),h.viewBox=r.left.toString()+" "+r.top.toString()+" "+s.toString()+" "+c.toString(),{attributes:h,body:a}}const bf=/\sid="(\S+)"/g,mf="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let gf=0;function _f(e,t=mf){const n=[];let u;for(;u=bf.exec(e);)n.push(u[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(a=>{const i=typeof t=="function"?t(a):t+(gf++).toString(),o=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+o+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const $i=zr($e({},Hi),{inline:!1}),vf={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},fu={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";fu[e+"-flip"]=t,fu[e.slice(0,1)+"-flip"]=t,fu[e+"Flip"]=t});const xf=(e,t,n,u)=>{const r=of($i,t),a=$e({},vf),i={};for(let d in t){const h=t[d];if(h!==void 0)switch(d){case"icon":case"style":case"onLoad":break;case"inline":case"hFlip":case"vFlip":r[d]=h===!0||h==="true"||h===1;break;case"flip":typeof h=="string"&&cf(r,h);break;case"color":i.color=h;break;case"rotate":typeof h=="string"?r[d]=lf(h):typeof h=="number"&&(r[d]=h);break;case"ariaHidden":case"aria-hidden":h!==!0&&h!=="true"&&delete a["aria-hidden"];break;default:const g=fu[d];g?(h===!0||h==="true"||h===1)&&(r[g]=!0):$i[d]===void 0&&(a[d]=h)}}const o=hf(u,r);for(let d in o.attributes)a[d]=o.attributes[d];r.inline&&(i.verticalAlign="-0.125em");let s=0,c=t.id;typeof c=="string"&&(c=c.replace(/-/g,"_"));const f={attrs:a,domProps:{innerHTML:_f(o.body,c?()=>c+"ID"+s++:"iconifyVue")}};return Object.keys(i).length>0&&(f.style=i),n&&(["on","ref"].forEach(d=>{n[d]!==void 0&&(f[d]=n[d])}),["staticClass","class"].forEach(d=>{n[d]!==void 0&&(f.class=n[d])})),e("svg",f)},yf=Object.create(null),Ef=x.extend({inheritAttrs:!1,render(e){const t=Object.assign({},this.$attrs),n=t.icon,u=typeof n=="string"?yf[n]:typeof n=="object"?n:null;if(u===null||typeof u!="object"||typeof u.body!="string"){if(this.$slots.default){const r=this.$slots.default;if(r instanceof Array&&r.length>0)return r.length===1?r[0]:e("span",r)}return null}return xf(e,t,this.$data,u)}}),kf={width:32,height:32,body:'<path fill="#c5c5c5" d="M20.414 2H5v28h22V8.586ZM7 28V4h12v6h6v18Z"/>'},Af={width:32,height:32,body:'<defs><linearGradient id="SVGW4Gk6bnw" x1="625.787" x2="632.847" y1="825.641" y2="812.848" gradientTransform="rotate(.063 730247.83 -555381.24)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#e1e1e1"/></linearGradient><linearGradient id="SVGqVuT0dfC" x1="634.081" x2="635.169" y1="810.251" y2="809.248" gradientTransform="translate(-610.524 -802.52)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#c8c8c8"/></linearGradient><linearGradient id="SVGPI6JOcAw" x1="14.019" x2="10.665" y1="-116.816" y2="-106.493" gradientTransform="matrix(1 0 0 -1 .04 -103.785)" gradientUnits="userSpaceOnUse"><stop offset=".127" stop-color="#8a0000"/><stop offset=".244" stop-color="#900000" stop-opacity=".999"/><stop offset=".398" stop-color="#a00000" stop-opacity=".999"/><stop offset=".573" stop-color="#bc0000" stop-opacity=".998"/><stop offset=".761" stop-color="#e20000" stop-opacity=".997"/><stop offset=".867" stop-color="#fa0000" stop-opacity=".996"/></linearGradient><linearGradient id="SVGo98Judwe" x1="14.16" x2="10.541" y1="-117.225" y2="-106.084" gradientTransform="matrix(1 0 0 -1 .04 -103.785)" gradientUnits="userSpaceOnUse"><stop offset=".315" stop-color="#5e0000"/><stop offset=".444" stop-color="#830000" stop-opacity=".999"/><stop offset=".618" stop-color="#ae0000" stop-opacity=".998"/><stop offset=".775" stop-color="#cd0000" stop-opacity=".997"/><stop offset=".908" stop-color="#e00000" stop-opacity=".996"/><stop offset="1" stop-color="#e70000" stop-opacity=".996"/></linearGradient><filter id="SVGjgGxNdVJ" width="120%" height="120%" x="-10%" y="-10%"><feGaussianBlur stdDeviation=".2"/></filter><filter id="SVGglLFcesn" width="140%" height="140%" x="-20%" y="-20%"><feGaussianBlur stdDeviation=".25"/></filter><filter id="SVGhfK2nbdZ" width="120%" height="140%" x="-10%" y="-20%"><feGaussianBlur stdDeviation=".08"/></filter></defs><path stroke="#000" stroke-width=".3" d="M9.064 3.162h11.6a31.5 31.5 0 0 1 7.524 7.538v17.842H9.064Z" filter="url(#SVGjgGxNdVJ)" opacity=".6" transform="translate(.03 .3)"/><path fill="url(#SVGW4Gk6bnw)" d="M9.064 3.162h11.6a31.5 31.5 0 0 1 7.524 7.538v17.842H9.064Z"/><path fill="none" stroke="#c8c8c8" stroke-width=".5" d="M9.064 3.162h11.6a31.5 31.5 0 0 1 7.524 7.538v17.842H9.064Z"/><path d="M20.662 3.162a31.8 31.8 0 0 1 7.526 7.538a6.77 6.77 0 0 0-5.332-2.03a6.03 6.03 0 0 0-2.194-5.508" filter="url(#SVGglLFcesn)" opacity=".75" transform="matrix(.8026 0 0 .831 5 1.36)"/><path fill="url(#SVGqVuT0dfC)" d="M20.662 3.162a31.8 31.8 0 0 1 7.526 7.538a6.77 6.77 0 0 0-5.332-2.03a6.03 6.03 0 0 0-2.194-5.508"/><path fill="none" stroke="#c8c8c8" stroke-width=".5" d="M20.662 3.162a31.8 31.8 0 0 1 7.526 7.538a6.77 6.77 0 0 0-5.332-2.03a6.03 6.03 0 0 0-2.194-5.508Z"/><path fill="none" stroke="#c8c8c8" stroke-width="4" d="M5.339 6.496h14.1v2.7h-14.1z"/><path fill="#f91d0a" d="M15.819 19.855c.466-.914 1-1.943 1.42-2.977l.168-.408c-.554-2.108-.886-3.8-.589-4.894a.755.755 0 0 1 .763-.458h.254c.484-.007.711.608.737.847a4 4 0 0 1-.141 1.072a2.6 2.6 0 0 0-.161-1.091c-.2-.439-.391-.7-.562-.743a.54.54 0 0 0-.2.407a6 6 0 0 0-.077.939a10.5 10.5 0 0 0 .433 2.729q.08-.235.14-.447c.059-.222.433-1.691.433-1.691s-.094 1.956-.226 2.547q-.042.187-.092.375a8.6 8.6 0 0 0 2.145 3.351a6.7 6.7 0 0 0 1.24.852a17 17 0 0 1 2.517-.189a3.15 3.15 0 0 1 1.938.433a.74.74 0 0 1 .213.484a1.5 1.5 0 0 1-.041.282c.01-.051.01-.3-.755-.546a8.9 8.9 0 0 0-3.086-.043c1.566.766 3.093 1.147 3.576.919a1 1 0 0 0 .262-.254a2.7 2.7 0 0 1-.146.484a.76.76 0 0 1-.377.258c-.764.2-2.752-.268-4.485-1.258a36.6 36.6 0 0 0-5.768 1.371c-1.675 2.936-2.935 4.284-3.959 3.771l-.377-.189a.44.44 0 0 1-.141-.474c.119-.584.852-1.465 2.324-2.344c.158-.1.864-.469.864-.469s-.523.506-.645.605c-1.175.963-2.042 2.174-2.021 2.644v.041c1-.142 2.495-2.174 4.419-5.939m.61.312a78 78 0 0 1-.926 1.682a24.6 24.6 0 0 1 4.975-1.408a8 8 0 0 1-.637-.485a8.5 8.5 0 0 1-2.1-2.729a23 23 0 0 1-1.317 2.94"/><path d="M3.54 4.83h17.97v6.35H3.54z" filter="url(#SVGhfK2nbdZ)" opacity=".3"/><path fill="url(#SVGPI6JOcAw)" d="M3.75 4.968h17.264v5.803H3.75z"/><path fill="url(#SVGo98Judwe)" d="M21.343 11.119H3.437V4.62h17.906ZM20.7 5.264H4.081v5.209H20.7Z"/><path fill="#fff9f9" d="M8.262 5.819h1.256a1.1 1.1 0 0 1 .859.331a1.34 1.34 0 0 1 .3.937a1.35 1.35 0 0 1-.3.942a1.1 1.1 0 0 1-.859.328h-.5v1.349h-.756zm.757.726v1.086h.419a.42.42 0 0 0 .34-.141a.6.6 0 0 0 .12-.4a.6.6 0 0 0-.12-.4a.42.42 0 0 0-.34-.141h-.419m2.949.031v2.369h.271a.85.85 0 0 0 .708-.3a1.38 1.38 0 0 0 .246-.885a1.38 1.38 0 0 0-.244-.88a.86.86 0 0 0-.71-.3h-.271m-.757-.758h.8a2.9 2.9 0 0 1 .989.121a1.3 1.3 0 0 1 .562.427a1.8 1.8 0 0 1 .307.607a2.8 2.8 0 0 1 .1.779a2.8 2.8 0 0 1-.1.786a1.8 1.8 0 0 1-.307.607a1.3 1.3 0 0 1-.566.43a3 3 0 0 1-.991.125h-.8V5.819m3.342 0H16.6v.758h-1.29V7.3h1.209v.758H15.31v1.648h-.757V5.819"/>'},pr={width:32,height:32,body:'<defs><linearGradient id="SVG2m3AVb6p" x1="4.494" x2="13.832" y1="-1712.086" y2="-1695.914" gradientTransform="translate(0 1720)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2368c4"/><stop offset=".5" stop-color="#1a5dbe"/><stop offset="1" stop-color="#1146ac"/></linearGradient></defs><path fill="#41a5ee" d="M28.806 3H9.705a1.19 1.19 0 0 0-1.193 1.191V9.5l11.069 3.25L30 9.5V4.191A1.19 1.19 0 0 0 28.806 3"/><path fill="#2b7cd3" d="M30 9.5H8.512V16l11.069 1.95L30 16Z"/><path fill="#185abd" d="M8.512 16v6.5l10.418 1.3L30 22.5V16Z"/><path fill="#103f91" d="M9.705 29h19.1A1.19 1.19 0 0 0 30 27.809V22.5H8.512v5.309A1.19 1.19 0 0 0 9.705 29"/><path d="M16.434 8.2H8.512v16.25h7.922a1.2 1.2 0 0 0 1.194-1.191V9.391A1.2 1.2 0 0 0 16.434 8.2" opacity=".1"/><path d="M15.783 8.85H8.512V25.1h7.271a1.2 1.2 0 0 0 1.194-1.191V10.041a1.2 1.2 0 0 0-1.194-1.191" opacity=".2"/><path d="M15.783 8.85H8.512V23.8h7.271a1.2 1.2 0 0 0 1.194-1.191V10.041a1.2 1.2 0 0 0-1.194-1.191" opacity=".2"/><path d="M15.132 8.85h-6.62V23.8h6.62a1.2 1.2 0 0 0 1.194-1.191V10.041a1.2 1.2 0 0 0-1.194-1.191" opacity=".2"/><path fill="url(#SVG2m3AVb6p)" d="M3.194 8.85h11.938a1.193 1.193 0 0 1 1.194 1.191v11.918a1.193 1.193 0 0 1-1.194 1.191H3.194A1.19 1.19 0 0 1 2 21.959V10.041A1.19 1.19 0 0 1 3.194 8.85"/><path fill="#fff" d="M6.9 17.988q.035.276.046.481h.028q.015-.195.065-.47c.05-.275.062-.338.089-.465l1.255-5.407h1.624l1.3 5.326a8 8 0 0 1 .162 1h.022a8 8 0 0 1 .135-.975l1.039-5.358h1.477l-1.824 7.748h-1.727l-1.237-5.126q-.054-.222-.122-.578t-.084-.52h-.021q-.021.189-.084.561t-.1.552L7.78 19.871H6.024L4.19 12.127h1.5l1.131 5.418a5 5 0 0 1 .079.443"/>'},hr={width:32,height:32,body:'<defs><linearGradient id="SVGSuUii0pt" x1="4.494" x2="13.832" y1="-2092.086" y2="-2075.914" gradientTransform="translate(0 2100)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#18884f"/><stop offset=".5" stop-color="#117e43"/><stop offset="1" stop-color="#0b6631"/></linearGradient></defs><path fill="#185c37" d="M19.581 15.35L8.512 13.4v14.409A1.19 1.19 0 0 0 9.705 29h19.1A1.19 1.19 0 0 0 30 27.809V22.5Z"/><path fill="#21a366" d="M19.581 3H9.705a1.19 1.19 0 0 0-1.193 1.191V9.5L19.581 16l5.861 1.95L30 16V9.5Z"/><path fill="#107c41" d="M8.512 9.5h11.069V16H8.512Z"/><path d="M16.434 8.2H8.512v16.25h7.922a1.2 1.2 0 0 0 1.194-1.191V9.391A1.2 1.2 0 0 0 16.434 8.2" opacity=".1"/><path d="M15.783 8.85H8.512V25.1h7.271a1.2 1.2 0 0 0 1.194-1.191V10.041a1.2 1.2 0 0 0-1.194-1.191" opacity=".2"/><path d="M15.783 8.85H8.512V23.8h7.271a1.2 1.2 0 0 0 1.194-1.191V10.041a1.2 1.2 0 0 0-1.194-1.191" opacity=".2"/><path d="M15.132 8.85h-6.62V23.8h6.62a1.2 1.2 0 0 0 1.194-1.191V10.041a1.2 1.2 0 0 0-1.194-1.191" opacity=".2"/><path fill="url(#SVGSuUii0pt)" d="M3.194 8.85h11.938a1.193 1.193 0 0 1 1.194 1.191v11.918a1.193 1.193 0 0 1-1.194 1.191H3.194A1.19 1.19 0 0 1 2 21.959V10.041A1.19 1.19 0 0 1 3.194 8.85"/><path fill="#fff" d="m5.7 19.873l2.511-3.884l-2.3-3.862h1.847L9.013 14.6c.116.234.2.408.238.524h.017q.123-.281.26-.546l1.342-2.447h1.7l-2.359 3.84l2.419 3.905h-1.809l-1.45-2.711A2.4 2.4 0 0 1 9.2 16.8h-.024a1.7 1.7 0 0 1-.168.351l-1.493 2.722Z"/><path fill="#33c481" d="M28.806 3h-9.225v6.5H30V4.191A1.19 1.19 0 0 0 28.806 3"/><path fill="#107c41" d="M19.581 16H30v6.5H19.581Z"/>'},qi={width:32,height:32,body:'<defs><linearGradient id="SVGNTQfxeQw" x1="4.494" x2="13.832" y1="-1748.086" y2="-1731.914" gradientTransform="translate(0 1756)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ca4c28"/><stop offset=".5" stop-color="#c5401e"/><stop offset="1" stop-color="#b62f14"/></linearGradient></defs><path fill="#ed6c47" d="M18.93 17.3L16.977 3h-.146A12.9 12.9 0 0 0 3.953 15.854V16Z"/><path fill="#ff8f6b" d="M17.123 3h-.146v13l6.511 2.6L30 16v-.146A12.9 12.9 0 0 0 17.123 3"/><path fill="#d35230" d="M30 16v.143A12.905 12.905 0 0 1 17.12 29h-.287a12.907 12.907 0 0 1-12.88-12.857V16Z"/><path d="M17.628 9.389V23.26a1.2 1.2 0 0 1-.742 1.1a1.2 1.2 0 0 1-.45.091H7.027a10 10 0 0 1-.521-.65a12.74 12.74 0 0 1-2.553-7.657v-.286A12.7 12.7 0 0 1 6.05 8.85a9 9 0 0 1 .456-.65h9.93a1.2 1.2 0 0 1 1.192 1.189" opacity=".1"/><path d="M16.977 10.04v13.871a1.2 1.2 0 0 1-.091.448a1.2 1.2 0 0 1-1.1.741H7.62q-.309-.314-.593-.65a10 10 0 0 1-.521-.65a12.74 12.74 0 0 1-2.553-7.657v-.286A12.7 12.7 0 0 1 6.05 8.85h9.735a1.2 1.2 0 0 1 1.192 1.19" opacity=".2"/><path d="M16.977 10.04v12.571a1.2 1.2 0 0 1-1.192 1.189H6.506a12.74 12.74 0 0 1-2.553-7.657v-.286A12.7 12.7 0 0 1 6.05 8.85h9.735a1.2 1.2 0 0 1 1.192 1.19" opacity=".2"/><path d="M16.326 10.04v12.571a1.2 1.2 0 0 1-1.192 1.189H6.506a12.74 12.74 0 0 1-2.553-7.657v-.286A12.7 12.7 0 0 1 6.05 8.85h9.084a1.2 1.2 0 0 1 1.192 1.19" opacity=".2"/><path fill="url(#SVGNTQfxeQw)" d="M3.194 8.85h11.938a1.193 1.193 0 0 1 1.194 1.191v11.918a1.193 1.193 0 0 1-1.194 1.191H3.194A1.19 1.19 0 0 1 2 21.959V10.041A1.19 1.19 0 0 1 3.194 8.85"/><path fill="#fff" d="M9.293 12.028a3.3 3.3 0 0 1 2.174.636a2.27 2.27 0 0 1 .756 1.841a2.56 2.56 0 0 1-.373 1.376a2.5 2.5 0 0 1-1.059.935a3.6 3.6 0 0 1-1.591.334H7.687v2.8H6.141v-7.922ZM7.686 15.94h1.331a1.74 1.74 0 0 0 1.177-.351a1.3 1.3 0 0 0 .4-1.025q0-1.309-1.525-1.31H7.686z"/>'},At={width:32,height:32,body:'<path fill="#2dcc9f" d="M30 5.851v20.298H2V5.851z"/><path fill="#fff" d="M24.232 8.541a2.2 2.2 0 1 0 1.127.623a2.2 2.2 0 0 0-1.127-.623M18.111 20.1q-2.724-3.788-5.45-7.575L4.579 23.766h10.9q1.316-1.832 2.634-3.663M22.057 16q-2.793 3.882-5.584 7.765h11.169Q24.851 19.882 22.057 16"/>'},Zi={width:32,height:32,body:'<path fill="#c2c2c2" d="M22.038 2H6.375a1.755 1.755 0 0 0-1.75 1.75v24.5A1.755 1.755 0 0 0 6.375 30h19.25a1.755 1.755 0 0 0 1.75-1.75V6.856Zm.525 2.844l1.663 1.531h-1.663ZM6.375 28.25V3.75h14.438v4.375h4.813V28.25Z"/><path fill="#829ec2" d="M8.125 15.097h13.076v1.75H8.125zm0 9.342h9.762v1.75H8.125zm0-4.676h15.75v1.75H8.125zm0-9.533h15.75v1.75H8.125z"/>'},Sf={width:32,height:32,body:'<path fill="none" stroke="#755838" d="M2.5 7.955h27v16.091h-27z"/><path fill="#755838" d="M5.909 20.636v-9.272h2.727l2.728 3.409l2.727-3.409h2.727v9.272h-2.727v-5.318l-2.727 3.409l-2.728-3.409v5.318zm17.046 0l-4.091-4.5h2.727v-4.772h2.727v4.772h2.727z"/>'},br={width:32,height:32,body:'<defs><linearGradient id="SVGXr4mrHrF" x1="17.65" x2="21.099" y1="26.056" y2="26.056" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4d4d4d"/><stop offset=".5" stop-color="#fff"/><stop offset="1" stop-color="#4d4d4d"/></linearGradient><linearGradient id="SVG5oyStdai" x1="17.65" x2="21.099" y1="23.756" y2="23.756" href="#SVGXr4mrHrF"/><linearGradient id="SVG9QsNwcZU" x1="17.65" x2="21.099" y1="21.456" y2="21.456" href="#SVGXr4mrHrF"/><linearGradient id="SVG1kIgneZE" x1="17.65" x2="21.099" y1="19.156" y2="19.156" href="#SVGXr4mrHrF"/><linearGradient id="SVGp2oQjdFa" x1="17.65" x2="21.099" y1="16.857" y2="16.857" href="#SVGXr4mrHrF"/><linearGradient id="SVGAFV8AN5B" x1="17.65" x2="21.099" y1="14.557" y2="14.557" href="#SVGXr4mrHrF"/><linearGradient id="SVGRkU6lbfc" x1="17.65" x2="21.099" y1="12.257" y2="12.257" href="#SVGXr4mrHrF"/><linearGradient id="SVGWUBOGcFP" x1="17.65" x2="21.099" y1="9.957" y2="9.957" href="#SVGXr4mrHrF"/><linearGradient id="SVGFcdVfdXh" x1="17.65" x2="21.099" y1="7.657" y2="7.657" href="#SVGXr4mrHrF"/><linearGradient id="SVGLioYKc8j" x1="16.237" x2="19.686" y1="27.217" y2="27.217" href="#SVGXr4mrHrF"/><linearGradient id="SVGIx7REdei" x1="16.237" x2="19.686" y1="24.918" y2="24.918" href="#SVGXr4mrHrF"/><linearGradient id="SVGownHpeLf" x1="16.237" x2="19.686" y1="22.618" y2="22.618" href="#SVGXr4mrHrF"/><linearGradient id="SVGZ4gzmcVN" x1="16.237" x2="19.686" y1="20.318" y2="20.318" href="#SVGXr4mrHrF"/><linearGradient id="SVGhAblbd0u" x1="16.237" x2="19.686" y1="18.018" y2="18.018" href="#SVGXr4mrHrF"/><linearGradient id="SVGBzD5PbgA" x1="17.65" x2="21.099" y1="28.356" y2="28.356" href="#SVGXr4mrHrF"/><linearGradient id="SVGcXb6lbYS" x1="16.237" x2="19.686" y1="15.718" y2="15.718" href="#SVGXr4mrHrF"/><linearGradient id="SVGKF6nobvx" x1="16.237" x2="19.686" y1="13.419" y2="13.419" href="#SVGXr4mrHrF"/><linearGradient id="SVGrU8zSORM" x1="16.237" x2="19.686" y1="11.119" y2="11.119" href="#SVGXr4mrHrF"/><linearGradient id="SVGuFw9gbIu" x1="16.237" x2="19.686" y1="8.819" y2="8.819" href="#SVGXr4mrHrF"/><linearGradient id="SVGXh7zWblD" x1="16.237" x2="19.686" y1="29.514" y2="29.514" href="#SVGXr4mrHrF"/><linearGradient id="SVGmzaoUw6y" x1="16.985" x2="20.446" y1="11.196" y2="11.196" href="#SVGXr4mrHrF"/><linearGradient id="SVGkZYaOeHC" x1="18.096" x2="19.336" y1="5.329" y2="5.329" href="#SVGXr4mrHrF"/><linearGradient id="SVGVKO9QdOI" x1="16.029" x2="21.403" y1="5.591" y2="5.591" href="#SVGXr4mrHrF"/></defs><path fill="#c09553" d="M27.667 27.667V17.333L23 15V2H4.333v28h23.334Zm-4.667 0v-9.111l2.333 1.222v7.889Z"/><path fill="url(#SVGXr4mrHrF)" d="M17.65 25.559h3.45v.993h-3.45z"/><path fill="url(#SVG5oyStdai)" d="M17.65 23.26h3.45v.993h-3.45z"/><path fill="url(#SVG9QsNwcZU)" d="M17.65 20.96h3.45v.993h-3.45z"/><path fill="url(#SVG1kIgneZE)" d="M17.65 18.66h3.45v.993h-3.45z"/><path fill="url(#SVGp2oQjdFa)" d="M17.65 16.36h3.45v.993h-3.45z"/><path fill="url(#SVGAFV8AN5B)" d="M17.65 14.06h3.45v.993h-3.45z"/><path fill="url(#SVGRkU6lbfc)" d="M17.65 11.76h3.45v.993h-3.45z"/><path fill="url(#SVGWUBOGcFP)" d="M17.65 9.461h3.45v.993h-3.45z"/><path fill="url(#SVGFcdVfdXh)" d="M17.65 7.161h3.45v.993h-3.45z"/><path fill="url(#SVGLioYKc8j)" d="M16.237 26.721h3.45v.993h-3.45z"/><path fill="url(#SVGIx7REdei)" d="M16.237 24.421h3.45v.993h-3.45z"/><path fill="url(#SVGownHpeLf)" d="M16.237 22.121h3.45v.993h-3.45z"/><path fill="url(#SVGZ4gzmcVN)" d="M16.237 19.821h3.45v.993h-3.45z"/><path fill="url(#SVGhAblbd0u)" d="M16.237 17.522h3.45v.993h-3.45z"/><path fill="url(#SVGBzD5PbgA)" d="M17.65 27.859h3.45v.993h-3.45z"/><path fill="url(#SVGcXb6lbYS)" d="M16.237 15.222h3.45v.993h-3.45z"/><path fill="url(#SVGKF6nobvx)" d="M16.237 12.922h3.45v.993h-3.45z"/><path fill="url(#SVGrU8zSORM)" d="M16.237 10.622h3.45v.993h-3.45z"/><path fill="url(#SVGuFw9gbIu)" d="M16.237 8.322h3.45v.993h-3.45z"/><path fill="url(#SVGXh7zWblD)" d="M16.237 29.018h3.45v.993h-3.45z"/><path fill="url(#SVGmzaoUw6y)" d="M20.1 5.911a.554.554 0 0 0-.548-.53h-.009v.557h.092l.206 2.514h-2.252l.211-2.514h.094v-.557h-.044a.55.55 0 0 0-.547.53l-.314 10.569a.513.513 0 0 0 .515.531h2.432a.51.51 0 0 0 .513-.531Zm-1.384 10.5a1.171 1.171 0 1 1 1.171-1.171a1.17 1.17 0 0 1-1.171 1.168Z"/><path fill="url(#SVGkZYaOeHC)" d="M18.096 3.802h1.24v3.054h-1.24z"/><path fill="url(#SVGVKO9QdOI)" d="M21.4 4.56a2.55 2.55 0 0 0-2.549-2.549h-.276a2.55 2.55 0 0 0-2.436 3.3v.006a8 8 0 0 1 .261 2.561a1.8 1.8 0 0 0 .641 1.271l.109-3.441a.593.593 0 0 1 .6-.551h.135v-1.57h1.653v1.57h.1a.6.6 0 0 1 .605.551l.121 3.462a1.8 1.8 0 0 0 .666-1.292V7.72a7.7 7.7 0 0 1 .236-2.359a2.5 2.5 0 0 0 .134-.801"/>'},Cf={width:32,height:32,body:'<path fill="#f5de19" d="M4.014 14.976a2.5 2.5 0 0 0 1.567-.518a2.38 2.38 0 0 0 .805-1.358a15.3 15.3 0 0 0 .214-2.944q.012-2.085.075-2.747a5.2 5.2 0 0 1 .418-1.686a3 3 0 0 1 .755-1.018A3.05 3.05 0 0 1 9 4.125A6.8 6.8 0 0 1 10.544 4h.7v1.96h-.387a2.34 2.34 0 0 0-1.723.468a3.4 3.4 0 0 0-.425 2.092a36 36 0 0 1-.137 4.133a4.7 4.7 0 0 1-.768 2.06A4.6 4.6 0 0 1 6.1 16a3.8 3.8 0 0 1 1.992 1.754a8.9 8.9 0 0 1 .618 3.865q0 2.435.05 2.9a1.76 1.76 0 0 0 .504 1.181a2.64 2.64 0 0 0 1.592.337h.387V28h-.7a5.7 5.7 0 0 1-1.773-.2a2.97 2.97 0 0 1-1.324-.93a3.35 3.35 0 0 1-.681-1.63a24 24 0 0 1-.165-3.234a16.5 16.5 0 0 0-.214-3.106a2.4 2.4 0 0 0-.805-1.361a2.5 2.5 0 0 0-1.567-.524Zm23.972 2.035a2.5 2.5 0 0 0-1.567.524a2.4 2.4 0 0 0-.805 1.361a16.5 16.5 0 0 0-.212 3.109a24 24 0 0 1-.169 3.234a3.35 3.35 0 0 1-.681 1.63a2.97 2.97 0 0 1-1.324.93a5.7 5.7 0 0 1-1.773.2h-.7V26.04h.387a2.64 2.64 0 0 0 1.592-.337a1.76 1.76 0 0 0 .506-1.186q.05-.462.05-2.9a8.9 8.9 0 0 1 .618-3.865A3.8 3.8 0 0 1 25.9 16a4.6 4.6 0 0 1-1.7-1.286a4.7 4.7 0 0 1-.768-2.06a36 36 0 0 1-.137-4.133a3.4 3.4 0 0 0-.425-2.092a2.34 2.34 0 0 0-1.723-.468h-.387V4h.7a6.8 6.8 0 0 1 1.54.125a3.05 3.05 0 0 1 1.149.581a3 3 0 0 1 .755 1.018a5.2 5.2 0 0 1 .418 1.686q.062.662.075 2.747a15.3 15.3 0 0 0 .212 2.947a2.38 2.38 0 0 0 .805 1.355a2.5 2.5 0 0 0 1.567.518Z"/>'},mr={width:32,height:32,body:'<path fill="#00007f" d="M17.229 4a.9.9 0 0 0-.569.232l-7.6 6.32a1.16 1.16 0 0 1-.955.328H3.208A1.2 1.2 0 0 0 2 12.088v7.826a1.2 1.2 0 0 0 1.208 1.206H8.1a1.16 1.16 0 0 1 .955.328l7.6 6.32c.521.433 1.081.224 1.081-.289V4.522A.494.494 0 0 0 17.229 4M27 6.3l-1.791 1.793a14.71 14.71 0 0 1 0 15.844l1.785 1.776A17.19 17.19 0 0 0 27 6.3m-4.333 4.323L20.905 12.4a6.035 6.035 0 0 1 0 7.237l1.756 1.756a8.554 8.554 0 0 0 .01-10.769Z"/>'},gr={width:32,height:32,body:'<path fill="#e75749" d="M4.5 2.375A2.56 2.56 0 0 1 5.861 2h20.366a2.545 2.545 0 0 1 2.423 1.951a3.4 3.4 0 0 1 .072.862v11.176h-1.573a2 2 0 0 0-.22.022a5 5 0 0 0-.581-.011c-.3.007-.61-.014-.914.014a2.3 2.3 0 0 0-.4-.02h-4.739c-.2 0-.392.008-.587-.01l.1-.065l-6.353-3.813v3.889c-2.213-.005-4.427 0-6.64 0a2 2 0 0 0-.251.021c-.212-.032-.427-.016-.642-.016c-.284.006-.57-.015-.853.015a2 2 0 0 0-.253-.022H3.275c.006-3.635 0-7.27 0-10.9a4.8 4.8 0 0 1 .071-1.131A2.54 2.54 0 0 1 4.5 2.375m.54 2.188a.64.64 0 0 0-.489.606v1.316a.64.64 0 0 0 .627.6h1.309a.64.64 0 0 0 .6-.608c.005-.426 0-.853 0-1.279a.64.64 0 0 0-.329-.575a.7.7 0 0 0-.358-.078H5.264a1 1 0 0 0-.224.018m20.341 0a.64.64 0 0 0-.474.607v1.306a.64.64 0 0 0 .6.608c.436.005.872 0 1.308 0a.64.64 0 0 0 .627-.606c.006-.438 0-.876 0-1.314a.64.64 0 0 0-.594-.621c-.348-.009-.7 0-1.045 0a2 2 0 0 0-.422.024ZM5.042 8.38a.64.64 0 0 0-.452.4a1.1 1.1 0 0 0-.041.386v1.135a.637.637 0 0 0 .6.6c.4.008.795 0 1.192 0a.8.8 0 0 0 .395-.065a.64.64 0 0 0 .36-.574V8.983a.64.64 0 0 0-.6-.624c-.338-.008-.677 0-1.016 0a2.4 2.4 0 0 0-.438.021m20.338 0a.64.64 0 0 0-.433.4a1.1 1.1 0 0 0-.041.387v1.131a.64.64 0 0 0 .608.607c.406.006.812 0 1.218 0a.74.74 0 0 0 .38-.078a.64.64 0 0 0 .335-.558V8.985a.637.637 0 0 0-.593-.622c-.349-.009-.7 0-1.047 0a2 2 0 0 0-.428.022ZM5.041 12.2a.64.64 0 0 0-.491.608c0 .438-.005.877 0 1.315a.64.64 0 0 0 .627.6h1.3a.64.64 0 0 0 .608-.607v-1.307a.64.64 0 0 0-.605-.626c-.348-.007-.7 0-1.045 0a2 2 0 0 0-.394.017m20.335.006a.64.64 0 0 0-.43.394a1.1 1.1 0 0 0-.041.386v1.131a.64.64 0 0 0 .607.608c.435.005.87 0 1.306 0a.64.64 0 0 0 .628-.605c.006-.438 0-.876 0-1.313a.637.637 0 0 0-.592-.622c-.349-.01-.7 0-1.046 0a2 2 0 0 0-.431.015Z"/><path fill="#fff" d="M13.458 12.1q3.176 1.908 6.353 3.813l-.1.065q-3.127 1.872-6.251 3.748V15.99q-.003-1.941-.002-3.89"/><path fill="#c0392b" d="M3.275 15.988h1.541a2 2 0 0 1 .253.022a.65.65 0 0 0-.409.273a.9.9 0 0 0-.111.518v1.045a.686.686 0 0 0 .685.689h1.192a.68.68 0 0 0 .657-.569c.008-.447 0-.9 0-1.343a.63.63 0 0 0-.521-.613a2 2 0 0 1 .251-.021h6.64v3.736q3.127-1.871 6.251-3.748c.2.018.391.007.587.01h4.741a2.3 2.3 0 0 1 .4.02a.64.64 0 0 0-.475.385a1 1 0 0 0-.045.407v1.014a.677.677 0 0 0 .691.719h1.16a.684.684 0 0 0 .686-.658v-.984a1.07 1.07 0 0 0-.1-.589a.64.64 0 0 0-.42-.292a2 2 0 0 1 .22-.022h1.573c.011 1.721 0 3.443 0 5.165v6.293a2.57 2.57 0 0 1-.612 1.651a2.54 2.54 0 0 1-1.563.868a8 8 0 0 1-.981.033H6.724a9 9 0 0 1-1.368-.048a2.56 2.56 0 0 1-2-1.846a2.8 2.8 0 0 1-.09-.746V16.891c.007-.3-.002-.602.009-.903m1.795 3.843a.6.6 0 0 0-.386.234a.76.76 0 0 0-.134.464v1.162a.685.685 0 0 0 .686.658h1.283a.687.687 0 0 0 .568-.716v-1.191a.62.62 0 0 0-.2-.458a.7.7 0 0 0-.487-.17H5.264a1 1 0 0 0-.194.017m20.366 0a.62.62 0 0 0-.522.58v1.222a.676.676 0 0 0 .69.718c.428 0 .857.005 1.285 0a.7.7 0 0 0 .562-.684v-1.013a.9.9 0 0 0-.123-.568a.66.66 0 0 0-.532-.267h-.954a2.3 2.3 0 0 0-.406.011ZM5.071 23.648a.6.6 0 0 0-.4.249a.77.77 0 0 0-.124.448v1.132a.7.7 0 0 0 .6.688h1.376a.687.687 0 0 0 .567-.717v-1.189a.62.62 0 0 0-.2-.459a.7.7 0 0 0-.484-.17H5.265a1 1 0 0 0-.194.018m20.362 0a.62.62 0 0 0-.492.427a1 1 0 0 0-.029.33V25.6a.68.68 0 0 0 .656.567h1.193a.69.69 0 0 0 .686-.719v-1.164a.66.66 0 0 0-.286-.545a1.46 1.46 0 0 0-.787-.11c-.312.01-.629-.02-.94.018Z"/>'},Tf=Object.assign({name:"FileTypeIcon"},{props:{name:{type:String,default:""},size:{type:[Number,String],default:18}},setup(e){const t=e;var n={pdf:Af,doc:pr,docx:pr,wps:pr,xls:hr,xlsx:hr,csv:hr,ppt:qi,pptx:qi,png:At,jpg:At,jpeg:At,gif:At,webp:At,bmp:At,svg:At,tif:At,tiff:At,txt:Zi,log:Zi,md:Sf,zip:br,rar:br,"7z":br,json:Cf,mp3:mr,wav:mr,m4a:mr,mp4:gr,mov:gr,avi:gr},u=x.computed(function(){var r=String(t.name||"").trim().toLowerCase(),a=r.lastIndexOf("."),i=a>=0?r.slice(a+1):"";return n[i]||kf});return{__sfc:!0,ICONS:n,props:t,glyph:u,IconifyIcon:Ef}}});var wf=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n(u.IconifyIcon,{staticClass:"ai-chat-file-icon",attrs:{icon:u.glyph,width:t.size,height:t.size,"aria-hidden":"true"}})},Df=[],Rf=Pe(Tf,wf,Df);const _r=Rf.exports;function vr(e){var t=String(e||"").replace(/\r\n/g,`
21
+ `).replace(/\r/g,`
22
+ `),n=[],u=/(^|\n)\s*\[(附件|审查文件)\]\s*([^\n]+)/g,r=t.replace(u,function(a,i,o,s){return String(s||"").split(/[,,]/).forEach(function(c){var f=c.trim();f&&n.push(f)}),""}).replace(/[ \t]+\n/g,`
23
+ `).replace(/\n{3,}/g,`
24
+
25
+ `).trim();return{body:r,files:n}}const Ff="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGvnRwf44P5Dn5uTh5mbnbO/0xaL+a/BvIj4h8d/+vIwCBAAQTs/v2l/l5dYDcMcBsHW/a6lbANpWAGjf+V0z2wmgWgrQevmLeTj8QB6eoVDIPB0cCgsL7SViob0w44s+/zPhb+CLfvb8QB7+23rwAHGaQJmtwKOD/XFhbnauUo7nywRCMW735yP+x4V//Y4p0eI0sVwsFYrxWIm4UCJNx3m5UpFEIcmV4hLpfzLxH5b9CZN3DQCshk/ATrYHtctswH7uAQKLDljSdgBAfvMtjBoLkQAQZzQyefcAAJO/+Y9AKwEAzZek4wAAvOgYXKiUF0zGCAAARKCBKrBBBwzBFKzADpzBHbzAFwJhBkRADCTAPBBCBuSAHAqhGJZBGVTAOtgEtbADGqARmuEQtMExOA3n4BJcgetwFwZgGJ7CGLyGCQRByAgTYSE6iBFijtgizggXmY4EImFINJKApCDpiBRRIsXIcqQCqUJqkV1II/ItchQ5jVxA+pDbyCAyivyKvEcxlIGyUQPUAnVAuagfGorGoHPRdDQPXYCWomvRGrQePYC2oqfRS+h1dAB9io5jgNExDmaM2WFcjIdFYIlYGibHFmPlWDVWjzVjHVg3dhUbwJ5h7wgkAouAE+wIXoQQwmyCkJBHWExYQ6gl7CO0EroIVwmDhDHCJyKTqE+0JXoS+cR4YjqxkFhGrCbuIR4hniVeJw4TX5NIJA7JkuROCiElkDJJC0lrSNtILaRTpD7SEGmcTCbrkG3J3uQIsoCsIJeRt5APkE+S+8nD5LcUOsWI4kwJoiRSpJQSSjVlP+UEpZ8yQpmgqlHNqZ7UCKqIOp9aSW2gdlAvU4epEzR1miXNmxZDy6Qto9XQmmlnafdoL+l0ugndgx5Fl9CX0mvoB+nn6YP0dwwNhg2Dx0hiKBlrGXsZpxi3GS+ZTKYF05eZyFQw1zIbmWeYD5hvVVgq9ip8FZHKEpU6lVaVfpXnqlRVc1U/1XmqC1SrVQ+rXlZ9pkZVs1DjqQnUFqvVqR1Vu6k2rs5Sd1KPUM9RX6O+X/2C+mMNsoaFRqCGSKNUY7fGGY0hFsYyZfFYQtZyVgPrLGuYTWJbsvnsTHYF+xt2L3tMU0NzqmasZpFmneZxzQEOxrHg8DnZnErOIc4NznstAy0/LbHWaq1mrX6tN9p62r7aYu1y7Rbt69rvdXCdQJ0snfU6bTr3dQm6NrpRuoW623XP6j7TY+t56Qn1yvUO6d3RR/Vt9KP1F+rv1u/RHzcwNAg2kBlsMThj8MyQY+hrmGm40fCE4agRy2i6kcRoo9FJoye4Ju6HZ+M1eBc+ZqxvHGKsNN5l3Gs8YWJpMtukxKTF5L4pzZRrmma60bTTdMzMyCzcrNisyeyOOdWca55hvtm82/yNhaVFnMVKizaLx5balnzLBZZNlvesmFY+VnlW9VbXrEnWXOss623WV2xQG1ebDJs6m8u2qK2brcR2m23fFOIUjynSKfVTbtox7PzsCuya7AbtOfZh9iX2bfbPHcwcEh3WO3Q7fHJ0dcx2bHC866ThNMOpxKnD6VdnG2ehc53zNRemS5DLEpd2lxdTbaeKp26fesuV5RruutK10/Wjm7ub3K3ZbdTdzD3Ffav7TS6bG8ldwz3vQfTw91jicczjnaebp8LzkOcvXnZeWV77vR5Ps5wmntYwbcjbxFvgvct7YDo+PWX6zukDPsY+Ap96n4e+pr4i3z2+I37Wfpl+B/ye+zv6y/2P+L/hefIW8U4FYAHBAeUBvYEagbMDawMfBJkEpQc1BY0FuwYvDD4VQgwJDVkfcpNvwBfyG/ljM9xnLJrRFcoInRVaG/owzCZMHtYRjobPCN8Qfm+m+UzpzLYIiOBHbIi4H2kZmRf5fRQpKjKqLupRtFN0cXT3LNas5Fn7Z72O8Y+pjLk722q2cnZnrGpsUmxj7Ju4gLiquIF4h/hF8ZcSdBMkCe2J5MTYxD2J43MC52yaM5zkmlSWdGOu5dyiuRfm6c7Lnnc8WTVZkHw4hZgSl7I/5YMgQlAvGE/lp25NHRPyhJuFT0W+oo2iUbG3uEo8kuadVpX2ON07fUP6aIZPRnXGMwlPUit5kRmSuSPzTVZE1t6sz9lx2S05lJyUnKNSDWmWtCvXMLcot09mKyuTDeR55m3KG5OHyvfkI/lz89sVbIVM0aO0Uq5QDhZML6greFsYW3i4SL1IWtQz32b+6vkjC4IWfL2QsFC4sLPYuHhZ8eAiv0W7FiOLUxd3LjFdUrpkeGnw0n3LaMuylv1Q4lhSVfJqedzyjlKD0qWlQyuCVzSVqZTJy26u9Fq5YxVhlWRV72qX1VtWfyoXlV+scKyorviwRrjm4ldOX9V89Xlt2treSrfK7etI66Trbqz3Wb+vSr1qQdXQhvANrRvxjeUbX21K3nShemr1js20zcrNAzVhNe1bzLas2/KhNqP2ep1/XctW/a2rt77ZJtrWv913e/MOgx0VO97vlOy8tSt4V2u9RX31btLugt2PGmIbur/mft24R3dPxZ6Pe6V7B/ZF7+tqdG9s3K+/v7IJbVI2jR5IOnDlm4Bv2pvtmne1cFoqDsJB5cEn36Z8e+NQ6KHOw9zDzd+Zf7f1COtIeSvSOr91rC2jbaA9ob3v6IyjnR1eHUe+t/9+7zHjY3XHNY9XnqCdKD3x+eSCk+OnZKeenU4/PdSZ3Hn3TPyZa11RXb1nQ8+ePxd07ky3X/fJ897nj13wvHD0Ivdi2yW3S609rj1HfnD94UivW2/rZffL7Vc8rnT0Tes70e/Tf/pqwNVz1/jXLl2feb3vxuwbt24m3Ry4Jbr1+Hb27Rd3Cu5M3F16j3iv/L7a/eoH+g/qf7T+sWXAbeD4YMBgz8NZD+8OCYee/pT/04fh0kfMR9UjRiONj50fHxsNGr3yZM6T4aeypxPPyn5W/3nrc6vn3/3i+0vPWPzY8Av5i8+/rnmp83Lvq6mvOscjxx+8znk98ab8rc7bfe+477rfx70fmSj8QP5Q89H6Y8en0E/3Pud8/vwv94Tz+4A5JREAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAADdmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmFmNWJiMjAyLThjMjAtNTM0Yi1iOTgwLTU1YmJiMmE1ZGZjMiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0RTIwOTk2QjAwQjkxMUVDOEEzN0I5N0IzMTZGNjI3NCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0RTIwOTk2QTAwQjkxMUVDOEEzN0I5N0IzMTZGNjI3NCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDplMmM0MWRmNS0xYzZhLTcxNDctYjllOC0yMmNkMDc1YjI0YjkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6YWY1YmIyMDItOGMyMC01MzRiLWI5ODAtNTViYmIyYTVkZmMyIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+EGNXugAAC2ZJREFUeNrsXHtsW+UV/92Hn3Ec59U86jyapmmTkgJtKaNQymMFJlE09sc2qGDShDSxocEQe3QbUDbtH+jY2FQ2jWnS2oEmTWwamzaEGATaQtc2NE3bpG1CQpI2iUPivFy/HzvHdlI7cRw/rm9SuhP9FPv68733/Hy+c853vu9+wovvOZCmSISthDsImwhrCaWEAoKI5SdBwiRhlHCW0Ep4h/ABIZDOieRQKJRq2wrCtwkPEypx5Qj/gIVRrCHsJOwhDBIOEF4iDKV6osXERHie0EP4wRVGVDJhPb4f1euFqJ5ZWdY2wquEKnx2RU94ivAVwi7CwUws67Fo3/4sExUrVVF9H0vXsp4hPIerT2TCrwnFifRPRNajVylRscIBYITwm3iy4hvdQvjVUtxdXbGMm2r1qDBLEIXIMV8ghJ4xPw72uGF3BtW+JbawU4RDl83usmVxNHgtaoqqSnOFFl9oMs47rpEErF2hwaoiGa+2OvCpI6DmbUlRPpoI4WRU5G4YxTOEqpj3qoD4wB0NhqR3rZUF3Favh9r3FuXj2Zn3Mz6rIlkUyKWU5UvQycKi7aoLNUgjgVZSvkV4kRPXGbI4MzeodXVBYB+lxbq8MchBFx0xL/odn9eNeyuH4NYUoX3MCNu0X63bZV4e54Rc5p4QHcKoQtKGSh221hlQaJRw4cIkxsa88Pl80Gg0Sb/rcrkQ8PtRv9KAzQ0F6B/34b0uFwbovwryEOFHbFlb1RjClJll3Ndswor8y/HDYrEQWWNhIlIhSxRFmM3m2W750BYNzlxw4K3zXji9OY2WzM/NTNbtuSbqhhoDdqzLI2XjfZPJZAqTxETMkJCMLG7DhMXKeqsJVRYn/nJsDENufS7VuF0kP38DIWd/9zSZcDdhLlGx1sVELCZutxuFhYUJPzObjPjatgrUyMM51CS0WQwFQ/UE5AJ3N5qwuSZ53GCymIikzp18Ggei/Pz8hccpsoxdd66HNTSIHOmzhvOsilzkKBurDdhSa1zUYozGSJtgMJi0CzKpgpA8xeAuuuvORhTJzlzkXOVMlknpExfnSeHul6os1hVnyEpFtDod7t+QF052FdYrn8mSlCbr3mYzZElUjCw/pQwcDFKVlRUrsKUyoDRZoqg0UatLtagt0aVXfdMnj2I6nS7t0LWtsRQGjaCobrLSQ4gbV5ky+t5ChAQCgVm/llbardfiOqsBhz92KKYbkaVcMmfUimgoyyzXMRgSR03+MTMhi+WaCgmHupXTTw4qaFnryrkyEEQmp+RIligiLnQ8pbS7KA9mwyQmnAGlLEs5sq63auFwOLCcZKNVj/+ccyw/svK1y68+XG6WFSvtyJydKlZaFJYfWXqOiMHQ8rGssgItHrm1AgVGedmRxePzR+/Q4ZWWwXBNf8kd/PpK47IkakZqS/Qot2jRN+pe+tShc9CB7essMGilZUlW/5gbF+2urH2XIt1wwO7G069/TGFawoXXnsDwxPTsZ1+/azN23tioCimnP7Hh6QNvzb5fY62E6d6fYtqtTAlaMQdPIzGMO4JozruEE2cuzB6/NF6LkGtKFbI803YMXbx87R0N5ehxKld2FtlnKYn7GotQZNQsSXe75PbOvi7J02BjvVVR3RQfSHu1Fjy6dWnWknj9kUydy17fubUWU9oViuomRoYnyqFPU4ubaix44PoK1clykmUxUY9vq8G1lfnol6sV1U3RpJTluHYTmj3t2LWxAoKsbneU/G7suasem6xmuAU9zsoNUFI/RQfS4TAtrcQZTRPW+zrw4IYSyNZa1cjaVmWEdzoyS3RQfzM8vGxDQf3kXEyJ/9NwD1YERlAaHIXGy5GwIPddMCDB65iI/GByFY5otyg+3a+4z2I4ocMf8x7AgGSFxz4CNZYonJguCFvRBakSfzZ8Cf4QFNdLDgZzo8kk8vCKYRfqAn24zTGNTfn23EXBkIR/TDXgmMGIbmkVhXkRufiF5FyuTOEzd4s1sE94sMF0DBohN1Ps/56owmRAi0mxLnJR5EYnWY1lPGM+Ld4khXYW9il+7hGfAW9PrFRlOZKiNfhk8i/7SjQZxrFar9zQx0/d7Xe2tYisCcm9HjnzWXOFVfntUAN2V51CkexR5Jz7R1ajz2XMWbdLEA3VW3Y47tNg70ATbN7sVrswNfttdfhgskTVZZOy2ksPbV4dftZ/DR4u68HmDCLkuF+L3w/V46zTrJpF5SyDT0Wm/RL2XVyD9XmTeNx6PuUoeWiyFH+y1cATlFQnKlrPUn19+ax0OMyY8sso1nhTI2uiGN6ACLWC0pKkDomk3GLAU19cD4u7DEL3+wi5JpO2F8xleHjnjeFhzS/e6ITD7bs6yGqqsuCJnU0w6XmSo56Yq0Owvw3Bnv8CvvhJBcFghrjmFgjla1EdPfaTB67F8387jaFxl6r3LXx1b4uqbN12TTke2dEAKdGySb8nTBgTB0kDcdUWiNXXUcyePxHi9Pjx4htncKZ/Qj2yvvzCu6qRtWl1Mb53f/Oi7c4OuGAxSSgvTD7FHaAc8ck/HMXwhEulbhhUz7BMOnkR5YG3O4EjPQbwWrjPNwKfq0tS7CPr1Mki1NJBHZ/lcyJka0fIzM+dJ54W+9QBvN4KDEdHQ34i7s0zNBD/FLifemLeAuvZKh2tmHKJmNBVIyBoc01WDsOw9xJpT/5ntIPGOwFgXeIl9/2Umx44wo/Mzf+sewR4+T3gG7cC5gSJvxj0otA9RFG1D5PalRjX1cAv6q4gy2JibG0QmKjgwhOc3HtGyaJ4UoZ6U0KyWHhmLX8R/QUafVq8AyjwDcKurYadSAspvHMCk8W3qNy8u3MU4ifvAO7kUYrTJCaK/RT7p2YrcLQ3cdvtDZHprZQiFqlT7OlFvs+GIX0T3FK+YibAA2mHUgNN2Lshnvt7UqJ45fH+/ftx7GRXmKgZWVfGy4Pmty818cKT+GPDw8P48MMPk2qmDTpR7fwoTJpC+k3z2HAYCswoCJdGIPW10JBtYR9os9mwe/du9Pb2YrszhOpVa2IiW4SU1jn1we1r51vVyZMn0dLSgvPnz8Pj8STtmhXuTngMOrhEc7YqDrNldWXNOvkoaeD9pESFx4IdHWGiWE4cPzyvutlYDsRmF+Xm+VbF0tbWFsnHzp6F3W5fxJeFUOk5F763LPXsYrKOZT2tPdYJwZ1eJj01YUdvd2fcMQ15zqaYieyb61nZeBkYGMDERHrX0lGXLCTHn6Wex5mslqxOEvBCsrVlZNcnjh6aH3GkePIWsqp0pdTfT87fnw1Z7zJZhwmDGT8QPkpW5c9sRV37iSMIBuPzBVdMtWZqzmn5eqdPn84w7PtQ7M/YuoaYJyYrQDiQmVX5II+ezthjOqan0NV5Kj7ziCVrzpCvp6cHU1OZT3iU+C9mal3MD1fSwkXHlwiu6OuUobGfgxDIbvLhxLH4ruiKKVNNziGrvb09u6QSfhQHbEhTTzfhl/xajDGzfelGQNnemXWmd6rtaPhB8USWNR3TDfkpi0y7YJzvCgymGxn3RfmJm915jjCQsq+a6oXgu5T1zbtdTnScak1oWbE+q6urC06nM+vraeCFJTiaKlHMx57Li9kuPwPsIOxiT5TKE8PasQ7FRkgnWz+YLdF4/Yl9FieiSskKfjR48b9AlA/HzBFhxw//OvdcvMvRy/i/fBPzdjmaX3TgBjRSw7NXMVF75hIVCRCJSzTceJywF0uw69ESCjuBJxHZDipBrrbwZCXvsvgRItsiWa8CongB/YNItudfKBRZ97UADhIaCXsJnkXaXqlgvX4e1fNgsrZyCivk+MnG7yKyLdKVuE/pQpL2PqVyGkVlPuFuwo+5IEDggvpmRHbALSFYML9IsByEVeQyxRgiO+AeJ7xLOIw0d8D9nwADAGoIB5St8qfWAAAAAElFTkSuQmCC",Mf=Object.assign({name:"AiBubble"},{props:{message:{type:Object,required:!0},actions:{type:Array,default:function(){return[]}},showAvatar:{type:Boolean,default:!0},userName:{type:String,default:""},theme:{type:Object,default:function(){return{}}},messageTypes:{type:Object,default:function(){return{}}},copyModes:{type:Array,default:function(){return["markdown"]}},labels:{type:Object,default:function(){return{}}}},emits:["action","retry","copy"],setup(e,{emit:t}){const n=e;var u=192,r=2,a=x.computed(function(){return wn(n.labels,Dn)}),i=x.computed(function(){return{"ai-chat-bubble--user":n.message.role==="user","ai-chat-bubble--assistant":n.message.role==="assistant","ai-chat-bubble--system":n.message.role==="system","ai-chat-bubble--error":n.message.status==="error","ai-chat-bubble--aborted":n.message.status==="aborted"}}),o=x.computed(function(){return n.message.role==="assistant"}),s=x.computed(function(){if(n.message.role==="system")return a.value.avatarSystem;if(n.message.role!=="user")return a.value.avatarAssistant;var N=n.message.metadata||{},xe=N.userName||N.senderName||n.userName||"";return String(xe).replace(/\s+/g,"").trim()}),c=x.computed(function(){return s.value||a.value.avatarUser}),f=x.computed(function(){var N=c.value.length;return N>5?5:N||1}),d=x.computed(function(){var N=c.value;return N.length>5?N.slice(0,5):N}),h=x.computed(function(){var N=d.value;return N.length===4?[N.slice(0,2),N.slice(2)]:N.length>=5?[N.slice(0,3),N.slice(3)]:[N]}),g=x.computed(function(){return n.message.role==="user"?"":n.message.status==="aborted"?a.value.stopped:n.message.status==="error"?a.value.failed:n.message.status==="pending"?a.value.pending:""}),b={markdown:"copyMarkdown",text:"copyText"},C=x.computed(function(){if(!n.message||!n.message.content)return[];var N={},xe=[];return(n.copyModes||[]).forEach(function(ut){var Ue=String(ut||"").trim();!b[Ue]||N[Ue]||(N[Ue]=!0,xe.push(Ue))}),xe});function O(N){var xe=b[N];return xe&&a.value[xe]||a.value.copy}var P=x.computed(function(){return n.message&&n.message.role==="assistant"&&(n.message.status==="error"||n.message.status==="aborted")}),B=x.computed(function(){if(!n.message||n.message.role!=="assistant"||n.message.status==="streaming")return"";var N=n.message.metadata||{};return N.reportUrl?String(N.reportUrl):""}),R=x.computed(function(){var N=n.message&&n.message.metadata&&n.message.metadata.report;return N&&N.report_name?String(N.report_name):""}),y=x.ref(!1),A=x.inject("openFilePreview",null),z=x.inject("fileForMessage",null),q=x.ref(null),k=x.ref(!1),j=x.ref(!1),K=x.ref(!1),I=null,F=x.computed(function(){var N=n.message||{};return N.role!=="user"?{body:N.content==null?"":String(N.content),files:[]}:vr(N.content)}),Y=x.computed(function(){return F.value.files}),V=x.computed(function(){return F.value.body}),Z=x.computed(function(){var N=n.message;return!N||N.role!=="assistant"||N.status!=="streaming"||N.type?!1:!V.value}),E=x.computed(function(){var N=V.value||"";return N.length>280?!0:N.split(`
26
+ `).length>8}),M=x.computed(function(){var N=Y.value;return y.value||N.length<=3?N:N.slice(0,r)}),U=x.computed(function(){var N=Y.value;return N.length<=3?0:y.value?N.length:N.length-r}),H=x.computed(function(){var N=n.message||{};return Y.value.length?{id:N.id,role:N.role,type:N.type,content:V.value,status:N.status,metadata:N.metadata,createdAt:N.createdAt}:N}),Q=x.computed(function(){return!V.value||n.message&&n.message.status==="streaming"||k.value?!1:K.value?j.value:E.value}),ne=x.computed(function(){return!V.value||n.message&&n.message.status==="streaming"?!1:K.value?j.value:E.value});function ie(){var N=q.value;N&&(K.value=!0,j.value=N.scrollHeight>u+8)}function he(N){if(I&&(I.disconnect(),I=null),!N||typeof ResizeObserver=="undefined"){x.nextTick(ie);return}I=new ResizeObserver(function(){ie()}),I.observe(N),ie()}x.watch(q,function(N){he(N)}),x.watch(function(){return n.message&&n.message.status},function(N){N==="streaming"&&(k.value=!0)},{immediate:!0});function ve(){k.value=!k.value}function ye(N){var xe=z?z(n.message&&n.message.id,N):null;Promise.resolve(xe).then(function(ut){A&&A(ut,N)},function(){A&&A(null,N)})}function ce(N){var xe=N&&N.key?N.key:N;t("action",{key:xe,message:n.message})}return x.onBeforeUnmount(function(){I&&I.disconnect()}),{__sfc:!0,FOLD_LIMIT:u,FILE_PREVIEW:r,props:n,texts:a,emit:t,bubbleClass:i,isAssistant:o,avatarName:s,avatarTitle:c,avatarLen:f,avatarText:d,avatarLines:h,statusText:g,COPY_LABELS:b,copyButtons:C,copyLabel:O,canRetry:P,reportHref:B,reportName:R,filesOpen:y,openFilePreview:A,fileForMessage:z,foldRef:q,expanded:k,overflows:j,measured:K,observer:I,parsed:F,files:Y,body:V,thinking:Z,likelyLong:E,visibleFiles:M,hiddenFileCount:U,displayMessage:H,clamped:Q,showToggle:ne,measure:ie,bindObserver:he,toggleFold:ve,onFileClick:ye,onAction:ce,MessageRenderer:dr,FileTypeIcon:_r,fillLabel:fr,agentAvatar:Ff}}});var Of=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("article",{staticClass:"ai-chat-bubble",class:u.bubbleClass,attrs:{role:"listitem"}},[t.showAvatar?n("div",{staticClass:"ai-chat-bubble__avatar",class:{"ai-chat-bubble__avatar--image":u.isAssistant},attrs:{"aria-hidden":"true"}},[u.isAssistant?n("img",{staticClass:"ai-chat-bubble__avatar-img",attrs:{src:u.agentAvatar,alt:""}}):n("span",{staticClass:"ai-chat-bubble__avatar-name",class:"is-len-"+u.avatarLen,attrs:{title:u.avatarTitle}},[u.avatarLines.length<2?[t._v(t._s(u.avatarText))]:t._l(u.avatarLines,function(r,a){return n("span",{key:a,staticClass:"ai-chat-bubble__avatar-line"},[t._v(t._s(r))])})],2)]):t._e(),n("div",{staticClass:"ai-chat-bubble__main"},[n("div",{staticClass:"ai-chat-bubble__content"},[u.thinking?n("div",{staticClass:"ai-chat-thinking",attrs:{role:"status"}},[t._v(" "+t._s(u.texts.thinking)),t._m(0)]):u.body?n("div",{staticClass:"ai-chat-fold"},[n("div",{staticClass:"ai-chat-fold__clip",class:{"is-clamped":u.clamped}},[n("div",{ref:"foldRef",staticClass:"ai-chat-fold__body"},[n(u.MessageRenderer,{attrs:{message:u.displayMessage,actions:t.actions,"message-types":t.messageTypes,labels:u.texts},on:{action:u.onAction}})],1)])]):t._e(),u.files.length?n("div",{staticClass:"ai-chat-files"},[t._l(u.visibleFiles,function(r,a){return n("button",{key:a+":"+r,staticClass:"ai-chat-file ai-chat-has-tip",attrs:{type:"button","data-tip":r},on:{click:function(i){return u.onFileClick(r)}}},[n(u.FileTypeIcon,{attrs:{name:r}}),n("span",{staticClass:"ai-chat-file__name"},[t._v(t._s(r))])],1)}),u.hiddenFileCount?n("button",{staticClass:"ai-chat-files__more",attrs:{type:"button"},on:{click:function(r){u.filesOpen=!u.filesOpen}}},[t._v(" "+t._s(u.filesOpen?u.texts.filesLess:u.fillLabel(u.texts.filesMore,{count:u.hiddenFileCount}))+" ")]):t._e()],2):t._e(),!u.thinking&&!u.body&&!u.files.length?n(u.MessageRenderer,{attrs:{message:t.message,actions:t.actions,"message-types":t.messageTypes,labels:u.texts},on:{action:u.onAction}}):t._e(),u.showToggle||u.copyButtons.length?n("div",{staticClass:"ai-chat-bubble__actions"},[u.showToggle?n("button",{staticClass:"ai-chat-btn ai-chat-btn--ghost",attrs:{type:"button","aria-expanded":u.expanded?"true":"false"},on:{click:u.toggleFold}},[t._v(" "+t._s(u.expanded?u.texts.collapse:u.texts.expand)+" ")]):t._e(),t._l(u.copyButtons,function(r){return n("button",{key:r,staticClass:"ai-chat-btn ai-chat-btn--ghost",attrs:{type:"button"},on:{click:function(a){return u.emit("copy",{message:t.message,mode:r})}}},[t._v(" "+t._s(u.copyLabel(r))+" ")])})],2):t._e()],1),u.reportHref?n("a",{staticClass:"ai-chat-report",attrs:{href:u.reportHref,download:u.reportName||!0}},[t._v(t._s(u.texts.report))]):t._e(),u.statusText||u.canRetry?n("div",{staticClass:"ai-chat-bubble__foot"},[u.statusText?n("div",{staticClass:"ai-chat-bubble__meta"},[n("span",{staticClass:"ai-chat-bubble__status"},[t._v(t._s(u.statusText))])]):t._e(),u.canRetry?n("div",{staticClass:"ai-chat-bubble__toolbar"},[n("button",{staticClass:"ai-chat-btn ai-chat-btn--ghost",attrs:{type:"button"},on:{click:function(r){return u.emit("retry",t.message)}}},[t._v(" "+t._s(u.texts.retry)+" ")])]):t._e()]):t._e()])])},If=[function(){var e=this,t=e._self._c;return e._self._setupProxy,t("span",{staticClass:"ai-chat-thinking__dots",attrs:{"aria-hidden":"true"}},[t("span",[e._v(".")]),t("span",[e._v(".")]),t("span",[e._v(".")])])}],Nf=Pe(Mf,Of,If);const xr=Nf.exports,Lf=Object.assign({name:"AiBubbleList"},{props:{messages:{type:Array,default:function(){return[]}},actions:{type:Array,default:function(){return[]}},showAvatar:{type:Boolean,default:!0},userName:{type:String,default:""},theme:{type:Object,default:function(){return{}}},messageTypes:{type:Object,default:function(){return{}}},turnStarts:{type:Object,default:function(){return{}}},labels:{type:Object,default:function(){return{}}},copyModes:{type:Array,default:function(){return["markdown"]}}},emits:["action","retry","copy"],setup(e,{emit:t}){const n=e;function u(r){return!r||n.turnStarts[r.id]==null?{}:{"data-turn":String(n.turnStarts[r.id])}}return{__sfc:!0,props:n,emit:t,turnAnchor:u,AiBubble:xr}}});var Pf=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("div",{staticClass:"ai-chat-list",attrs:{role:"list"}},t._l(t.messages,function(r){return n(u.AiBubble,t._b({key:r.id,attrs:{message:r,actions:t.actions,"show-avatar":t.showAvatar,"user-name":t.userName,theme:t.theme,"message-types":t.messageTypes,labels:t.labels,"copy-modes":t.copyModes},on:{action:function(a){return u.emit("action",a)},retry:function(a){return u.emit("retry",a)},copy:function(a){return u.emit("copy",a)}}},"ai-bubble",u.turnAnchor(r),!1))}),1)},zf=[],Bf=Pe(Lf,Pf,zf);const yr=Bf.exports,Uf=Object.assign({name:"AiTurnRail"},{props:{count:{type:Number,default:0},active:{type:Number,default:0},label:{type:String,default:"按对话轮次快速滚动"},valueTemplate:{type:String,default:"第 {current} 轮,共 {count} 轮"}},emits:["seek","seek-end","wheel"],setup(e,{emit:t}){const n=e;var u=2,r=4,a=.85,i=x.ref(null),o=x.ref(!1),s=x.ref(!1),c=x.ref(null),f=null,d=null,h=0,g=x.ref({start:8,mark:2,step:6,dpr:1}),b=x.computed(function(){for(var F=[],Y=n.count>0?n.count:0,V=0;V<Y;V+=1)F.push(V);return F}),C=x.computed(function(){var F=n.active;return F<0&&(F=0),n.count>0&&F>n.count-1&&(F=n.count-1),F+1}),O=x.computed(function(){return fr(n.valueTemplate,{current:C.value,count:n.count})});function P(F,Y){return Math.round(F*Y)/Y}function B(){var F=i.value;if(F){var Y=window.devicePixelRatio||1,V=n.count,Z=F.clientHeight,E=8,M=Math.max(0,Z-E*2),U=r;if(V>1){var H=Math.floor((M*Y-V*u)/(V-1));H<U&&(U=Math.max(2,H))}var Q=u/Y,ne=U/Y,ie=V>0?V*Q+Math.max(0,V-1)*ne:0,he=E+Math.max(0,(M-ie)/2);g.value={start:P(he,Y),mark:Q,step:Q+ne,dpr:Y}}}function R(){return typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}function y(F){var Y=Math.abs(F-c.value),V=Math.exp(-(Y*Y)/(2*a*a));return P(8+8*V,g.value.dpr)+"px"}function A(F){var Y=g.value,V=P(Y.start+F*Y.step,Y.dpr),Z={top:V+"px",height:Y.mark+"px"};return c.value!=null&&!R()&&(Z.width=y(F)),Z}function z(F){var Y=i.value,V=n.count;if(!Y||V<=1)return 0;var Z=Y.querySelectorAll(".ai-chat-turn-rail__mark");if(!Z.length)return 0;for(var E=[],M=0;M<Z.length;M+=1){var U=Z[M].getBoundingClientRect();E.push(U.top+U.height/2)}if(F<=E[0])return 0;var H=E.length-1;if(F>=E[H])return H;for(var Q=0;Q<H;Q+=1)if(!(F>E[Q+1])){var ne=E[Q+1]-E[Q];return ne<=0?Q:Q+(F-E[Q])/ne}return H}function q(){B(),k()}function k(){d&&(d.removeEventListener("change",q),d=null),typeof window.matchMedia=="function"&&(d=window.matchMedia("(resolution: "+(window.devicePixelRatio||1)+"dppx)"),d.addEventListener("change",q))}x.onMounted(function(){B(),k(),!(typeof ResizeObserver=="undefined"||!i.value)&&(f=new ResizeObserver(function(){B()}),f.observe(i.value))}),x.onBeforeUnmount(function(){f&&f.disconnect(),d&&d.removeEventListener("change",q),h&&clearTimeout(h)}),x.watch(function(){return n.count},function(){x.nextTick(B)});function j(F){F.preventDefault(),t("wheel",F.deltaY||0)}function K(F){if(F.button!==0)return;var Y=F.currentTarget;if(o.value=!0,F.preventDefault(),Y.setPointerCapture)try{Y.setPointerCapture(F.pointerId)}catch(M){}var V=-1;function Z(M){var U=z(M.clientY);R()||(s.value=!1,c.value=U);var H=Math.round(U);H<0&&(H=0),H>n.count-1&&(H=n.count-1),H!==V&&(V=H,t("seek",H))}function E(){o.value=!1,Y.removeEventListener("pointermove",Z),Y.removeEventListener("pointerup",E),Y.removeEventListener("pointercancel",E),!R()&&c.value!=null?(s.value=!0,h&&clearTimeout(h),h=setTimeout(function(){s.value=!1,c.value=null},280)):c.value=null,t("seek-end")}Z(F),Y.addEventListener("pointermove",Z),Y.addEventListener("pointerup",E),Y.addEventListener("pointercancel",E)}function I(F){var Y=n.count;if(!(Y<=1)){var V=n.active;if(F.key==="ArrowDown")V+=1;else if(F.key==="ArrowUp")V-=1;else if(F.key==="Home")V=0;else if(F.key==="End")V=Y-1;else return;V<0&&(V=0),V>Y-1&&(V=Y-1),F.preventDefault(),t("seek",V),t("seek-end")}}return{__sfc:!0,props:n,emit:t,MARK_DEVICE:u,GAP_DEVICE:r,WAVE:a,rootRef:i,dragging:o,settled:s,focus:c,gapObserver:f,dprQuery:d,settleTimer:h,layout:g,indexes:b,shown:C,valueText:O,snap:P,place:B,reducedMotion:R,waveWidth:y,markStyle:A,indexAlong:z,onDprChange:q,bindDpr:k,onWheel:j,onPointerDown:K,onKey:I}}});var Gf=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("div",{ref:"rootRef",staticClass:"ai-chat-turn-rail",class:{"is-dragging":u.dragging,"is-settled":u.settled},attrs:{role:"scrollbar","aria-orientation":"vertical","aria-label":t.label,"aria-valuenow":u.shown,"aria-valuemin":"1","aria-valuemax":t.count,"aria-valuetext":u.valueText,tabindex:"0"},on:{pointerdown:u.onPointerDown,keydown:u.onKey,wheel:u.onWheel}},t._l(u.indexes,function(r){return n("span",{key:r,staticClass:"ai-chat-turn-rail__mark",class:{"is-active":r===t.active},style:u.markStyle(r)})}),0)},Hf=[],jf=Pe(Uf,Gf,Hf);const Er=jf.exports,$f=Object.assign({name:"AiSender"},{props:{disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"输入消息,Enter 发送,Shift + Enter 换行"},streaming:{type:Boolean,default:!1},maxLength:{type:Number,default:4e3},allowUpload:{type:Boolean,default:!0},labels:{type:Object,default:function(){return{}}}},emits:["submit","stop"],setup(e,{expose:t,emit:n}){const u=e;var r=x.computed(function(){return wn(u.labels,Dn)}),a=x.inject("openFilePreview",null),i=x.ref(""),o=x.ref([]),s=x.ref(null),c=x.computed(function(){return o.value.map(function(y){return y.name})});function f(){var y=s.value;if(y){var A=132;y.style.height="auto";var z=y.scrollHeight;z>A&&(z=A),y.style.height=z+"px"}}function d(y){i.value=y.target.value,f()}function h(y){var A=y.target.files?Array.prototype.slice.call(y.target.files):[];o.value=A,y.target.value=""}function g(y){var A=o.value[y];!A||!a||a(A,A.name)}function b(y){var A=o.value.slice();A.splice(y,1),o.value=A}function C(){if(!(u.disabled||u.streaming)){var y=i.value.trim(),A=o.value.slice();if(!(!y&&!A.length)){if(A.length){var z=A.map(function(q){return q.name}).join(", ");y=y?y+`
27
+ [附件] `+z:"[附件] "+z}n("submit",y,A),R()}}}function O(y){if(!(y.isComposing||y.keyCode===229)&&!(y.key!=="Enter"||y.shiftKey)){if(y.preventDefault(),u.streaming){n("stop");return}C()}}function P(){s.value&&s.value.focus()}function B(y){if(!u.disabled){var A=y.target;!A||typeof A.closest!="function"||A.closest("button, a, label, input, textarea")||P()}}function R(){i.value="",o.value=[],x.nextTick(f)}return t({focus:P,clear:R}),{__sfc:!0,props:u,texts:r,emit:n,openFilePreview:a,text:i,files:o,inputRef:s,fileNames:c,resize:f,onInput:d,onFile:h,previewAt:g,removeFile:b,submit:C,onKeydown:O,focus:P,onBoxPointer:B,clear:R,FileTypeIcon:_r}}});var qf=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("form",{staticClass:"ai-chat-sender",on:{submit:function(r){return r.preventDefault(),u.submit.apply(null,arguments)}}},[u.fileNames.length?n("div",{staticClass:"ai-chat-sender__files"},t._l(u.fileNames,function(r,a){return n("span",{key:a+":"+r,staticClass:"ai-chat-sender__file-chip ai-chat-has-tip",attrs:{"data-tip":r},on:{click:function(i){return u.previewAt(a)}}},[n(u.FileTypeIcon,{attrs:{name:r,size:16}}),n("span",{staticClass:"ai-chat-sender__file-name"},[t._v(t._s(r))]),n("button",{staticClass:"ai-chat-sender__file-remove",attrs:{type:"button",disabled:t.disabled||t.streaming,"aria-label":u.texts.removeFile},on:{click:function(i){return i.stopPropagation(),u.removeFile(a)}}},[t._v(" × ")])],1)}),0):t._e(),n("div",{staticClass:"ai-chat-sender__box",on:{mousedown:u.onBoxPointer}},[n("textarea",{ref:"inputRef",staticClass:"ai-chat-sender__input",attrs:{rows:"2",placeholder:t.placeholder,disabled:t.disabled,maxlength:t.maxLength>0?t.maxLength:null},domProps:{value:u.text},on:{input:u.onInput,keydown:u.onKeydown}}),n("div",{staticClass:"ai-chat-sender__bar"},[n("div",{staticClass:"ai-chat-sender__extra"},[t._t("extra")],2),n("div",{staticClass:"ai-chat-sender__side"},[t.maxLength>0?n("span",{staticClass:"ai-chat-sender__count"},[t._v(t._s(u.text.length)+"/"+t._s(t.maxLength))]):t._e(),t.allowUpload?n("label",{staticClass:"ai-chat-sender__upload",class:{"is-disabled":t.disabled||t.streaming},attrs:{title:u.texts.uploadTitle}},[n("input",{staticClass:"ai-chat-sender__file",attrs:{type:"file",multiple:"",disabled:t.disabled||t.streaming,"aria-label":u.texts.uploadTitle},on:{change:u.onFile}}),n("svg",{staticClass:"ai-chat-sender__upload-icon",attrs:{viewBox:"0 0 16 16","aria-hidden":"true"}},[n("path",{attrs:{d:"M4.2 7.2 8 3.4l3.8 3.8M8 3.6V11",fill:"none",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"}}),n("path",{attrs:{d:"M3 12.6h10",fill:"none",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"}})]),n("span",{staticClass:"ai-chat-sender__upload-text"},[t._v(t._s(u.texts.upload))])]):t._e(),t.streaming?n("button",{staticClass:"ai-chat-btn ai-chat-btn--stop",attrs:{type:"button"},on:{click:function(r){return u.emit("stop")}}},[t._v(" "+t._s(u.texts.stop)+" ")]):n("button",{staticClass:"ai-chat-btn ai-chat-btn--primary ai-chat-btn--send",attrs:{type:"submit",disabled:t.disabled||!u.text.trim()&&!u.fileNames.length}},[n("svg",{staticClass:"ai-chat-btn__send-icon",attrs:{viewBox:"0 0 16 16","aria-hidden":"true"}},[n("path",{attrs:{d:"M2.6 8.1 13.4 3.2 9.4 13.2 7.8 8.9 2.6 8.1Z",fill:"none",stroke:"currentColor","stroke-width":"1.4","stroke-linejoin":"round"}}),n("path",{attrs:{d:"M7.8 8.9 13.4 3.2",fill:"none",stroke:"currentColor","stroke-width":"1.4","stroke-linejoin":"round"}})]),t._v(" "+t._s(u.texts.send)+" ")])])])])])},Zf=[],Wf=Pe($f,qf,Zf);const kr=Wf.exports,Vf=Object.assign({name:"FilePreview"},{props:{preview:{type:Object,required:!0},closeText:{type:String,default:"关闭"},dialogLabel:{type:String,default:""}},emits:["close"],setup(e,{emit:t}){function n(u){u.key==="Escape"&&t("close")}return x.onMounted(function(){document.addEventListener("keydown",n)}),x.onBeforeUnmount(function(){document.removeEventListener("keydown",n)}),{__sfc:!0,emit:t,onKey:n,FileTypeIcon:_r}}});var Xf=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("div",{staticClass:"ai-chat-preview",attrs:{role:"dialog","aria-modal":"true","aria-label":t.preview.name||t.dialogLabel||"文件预览"}},[n("div",{staticClass:"ai-chat-preview__mask",on:{click:function(r){return u.emit("close")}}}),n("div",{staticClass:"ai-chat-preview__panel"},[n("div",{staticClass:"ai-chat-preview__head"},[n(u.FileTypeIcon,{attrs:{name:t.preview.name,size:20}}),n("div",{staticClass:"ai-chat-preview__meta"},[n("span",{staticClass:"ai-chat-preview__name"},[t._v(t._s(t.preview.name))]),t.preview.size?n("span",{staticClass:"ai-chat-preview__size"},[t._v(t._s(t.preview.size))]):t._e()]),n("button",{staticClass:"ai-chat-preview__close",attrs:{type:"button"},on:{click:function(r){return u.emit("close")}}},[t._v(t._s(t.closeText))])],1),n("div",{staticClass:"ai-chat-preview__body"},[t.preview.kind==="image"?n("img",{staticClass:"ai-chat-preview__media",attrs:{src:t.preview.url,alt:t.preview.name}}):t.preview.kind==="pdf"?n("iframe",{staticClass:"ai-chat-preview__frame",attrs:{src:t.preview.url,title:t.preview.name}}):t.preview.kind==="audio"?n("audio",{staticClass:"ai-chat-preview__audio",attrs:{src:t.preview.url,controls:""}}):t.preview.kind==="video"?n("video",{staticClass:"ai-chat-preview__media",attrs:{src:t.preview.url,controls:""}}):t.preview.kind==="text"?n("pre",{staticClass:"ai-chat-preview__text"},[t._v(t._s(t.preview.text))]):n("p",{staticClass:"ai-chat-preview__note"},[t._v(t._s(t.preview.note))])])])])},Yf=[],Kf=Pe(Vf,Xf,Yf);const Qf=Kf.exports;function Jf(){return"msg_"+Date.now().toString(36)+"_"+Math.random().toString(36).slice(2,10)}var Ar="ai-chat.file-map",ed="ai-chat-files",Ot="blobs",Sr=80,Rn=null,Wi=Promise.resolve();function Vi(e){var t=Wi.then(e,e);return Wi=t.then(function(){},function(){}),t}function td(e){return[e.size||0,e.lastModified||0,encodeURIComponent(e.name||"")].join(":")}function nd(e){var t=String(e||"").match(/^(.*)-\d+-[qa]$/);return t?t[1]:""}function Xi(){try{if(typeof localStorage=="undefined")return[];var e=localStorage.getItem(Ar);if(!e)return[];var t=JSON.parse(e);return Array.isArray(t)?t:[]}catch(n){return[]}}function Yi(e){if(typeof localStorage!="undefined"){var t=JSON.stringify(e);try{localStorage.setItem(Ar,t)}catch(u){var n=e.slice(-20);try{localStorage.setItem(Ar,JSON.stringify(n))}catch(r){}}}}function Cr(){return Rn||(Rn=new Promise(function(e,t){if(typeof indexedDB=="undefined"){t(new Error("indexedDB 不可用"));return}var n=indexedDB.open(ed,1);n.onupgradeneeded=function(){var u=n.result;u.objectStoreNames.contains(Ot)||u.createObjectStore(Ot)},n.onsuccess=function(){e(n.result)},n.onerror=function(){Rn=null,t(n.error||new Error("打开本地文件库失败"))}}),Rn)}function ud(e,t){return Cr().then(function(n){return new Promise(function(u,r){var a=n.transaction(Ot,"readwrite");a.objectStore(Ot).put(t,e),a.oncomplete=function(){u()},a.onerror=function(){r(a.error||new Error("写入本地文件失败"))}})})}function rd(e){return Cr().then(function(t){return new Promise(function(n,u){var r=t.transaction(Ot,"readonly"),a=r.objectStore(Ot).get(e);a.onsuccess=function(){n(a.result||null)},a.onerror=function(){u(a.error||new Error("读取本地文件失败"))}})})}function ad(e){return Cr().then(function(t){return new Promise(function(n){var u=t.transaction(Ot,"readwrite");u.objectStore(Ot).delete(e),u.oncomplete=function(){n()},u.onerror=function(){n()}})}).catch(function(){})}function du(e){for(var t=null,n=0;n<e.length;n+=1)(!t||(e[n].savedAt||0)>=(t.savedAt||0))&&(t=e[n]);return t}function id(e,t,n,u){for(var r=[],a=0;a<e.length;a+=1)e[a]&&e[a].name===t&&r.push(e[a]);if(!r.length)return null;if(n){var i=r.filter(function(f){return f.messageId===n});if(i.length)return du(i)}if(u){var o=r.filter(function(f){return f.sessionId===u});if(o.length)return du(o);var s=r.filter(function(f){return!f.sessionId}),c=du(s);return c?(c.sessionId=u,c.bound=!0,c):null}return du(r)}function od(e,t){var n=t.type||e.type||"",u=t.lastModified||Date.now();try{return new File([e],t.name,{type:n,lastModified:u})}catch(r){return e}}function sd(e,t){var n=e||[];if(!n.length)return Promise.resolve();var u=t||{};return Vi(function(){var r=Xi(),a=[];n.forEach(function(o){if(!(!o||!o.name)){for(var s=td(o),c=null,f=0;f<r.length;f+=1)r[f]&&r[f].id===s&&(c=r[f]);var d=String(u.sessionId||c&&c.sessionId||""),h={id:s,name:o.name,type:o.type||"",size:o.size||0,lastModified:o.lastModified||0,path:o.path||o.webkitRelativePath||"",sessionId:d,messageId:u.messageId||c&&c.messageId||"",savedAt:Date.now()};r=r.filter(function(g){return!g||g.id!==s}),r.push(h),a.push(ud(s,o).catch(function(){}))}}),r.sort(function(o,s){return(o.savedAt||0)-(s.savedAt||0)});var i=r.length>Sr?r.slice(0,r.length-Sr):[];return i.length&&(r=r.slice(r.length-Sr)),Yi(r),i.forEach(function(o){ad(o.id)}),Promise.all(a)})}function cd(e){var t=e&&e.name;if(!t)return Promise.resolve(null);var n=e&&e.messageId||"",u=e&&e.sessionId||nd(n);return Vi(function(){var r=Xi(),a=id(r,t,n,u);return a?(a.bound&&(delete a.bound,Yi(r)),rd(a.id).then(function(i){return i?od(i,a):null}).catch(function(){return null})):null})}function Ye(e){if(e==null)return e;try{return JSON.parse(JSON.stringify(e))}catch(t){return Array.isArray(e)?[]:{}}}function ld(e,t){return t&&t.aborted?!0:e?e.name==="AbortError":!1}function Ki(e){if(!e)return[];var t=Array.isArray(e)?e:[e];return t.filter(function(n){return n&&typeof n=="object"&&typeof n.name=="string"})}function Fn(e){var t=e||{};return x.reactive({id:t.id||Jf(),role:t.role||"assistant",type:t.type||"",content:t.content==null?"":String(t.content),status:t.status||"done",metadata:t.metadata?Ye(t.metadata):{},createdAt:t.createdAt||Date.now()})}function fd(e){var t=x.ref([]),n=x.ref(!1),u=null,r=0,a=Object.create(null),i=e||{};function o(k,j,K){var I=Ki(j);if(!(!k||!I.length)){a[k]=I;var F=K&&(K.sessionId||K.session_id)||"";sd(I,{messageId:k,sessionId:String(F||"")})}}function s(k,j,K){if(!k||!K)return K||null;for(var I=a[k]?a[k].slice():[],F=0;F<I.length;F+=1)if(I[F]&&I[F].name===j)return I[F];return I.push(K),a[k]=I,K}function c(k,j){for(var K=a[k]||[],I=0;I<K.length;I+=1)if(K[I]&&K[I].name===j)return Promise.resolve(K[I]);return cd({name:j,messageId:k}).then(function(F){return s(k,j,F)}).catch(function(){return null})}function f(k){if(!k)return[];for(var j=t.value,K=-1,I=0;I<j.length;I+=1)if(j[I].id===k.id){K=I;break}for(var F=K-1;F>=0;F-=1)if(j[F].role==="user")return a[j[F].id]||[];return[]}function d(){a=Object.create(null)}function h(){return t.value.map(function(k){return Ye(k)})}function g(){for(var k=t.value.length-1;k>=0;k-=1)if(t.value[k].status==="streaming")return t.value[k];return null}function b(k,j,K){typeof i[k]=="function"&&i[k](j,K)}function C(k,j){return $n(this,null,function*(){var K=r,I=new AbortController;u=I,n.value=!0,k.status="streaming";try{var F=i.getAdapter?i.getAdapter():null;if(!F||typeof F.send!="function")throw new Error("adapter.send 未实现");var Y=h().filter(function(Z){return Z.id!==k.id});if(yield F.send({messages:Y,context:Ye(j||{})||{},files:f(k).slice(),signal:I.signal,onToken:function(Z){K===r&&k.status==="streaming"&&(I.signal.aborted||Z==null||Z===""||(k.content+=String(Z)))},onReplace:function(Z){K===r&&k.status==="streaming"&&(I.signal.aborted||(k.content=Z==null?"":String(Z)))},onMeta:function(Z){K!==r||!Z||typeof Z!="object"||(k.metadata=Object.assign({},k.metadata,Ye(Z)),b("onTokenUsage",Ye(Z)))}}),K!==r)return;k.status==="streaming"&&(k.status="done",b("onDone",Ye(k)))}catch(Z){if(K!==r)return;if(ld(Z,I.signal)||k.status==="aborted"){k.status="aborted";return}k.status="error";var V=Z&&Z.message?Z.message:"请求失败";k.metadata=Object.assign({},k.metadata,{error:V}),b("onError",Z,Ye(k))}finally{u===I&&(u=null),K===r&&(n.value=!1)}})}function O(k,j,K){if(!n.value){var I=Ki(K),F=k==null?"":String(k).trim();if(!F&&I.length&&(F="[附件] "+I.map(function(M){return M.name}).join(", ")),!!F){var Y=i.getContext?i.getContext()||{}:{},V=Object.assign({},Ye(Y)||{},Ye(j)||{}),Z=Fn({role:"user",content:F,status:"done",metadata:V});o(Z.id,I,V);var E=Fn({role:"assistant",content:"",status:"streaming"});return t.value.push(Z),t.value.push(E),b("onSend",{text:F,context:Ye(V)}),C(E,V)}}}function P(){var k=g();!k&&!u||(k&&(k.status="aborted"),u&&u.abort(),n.value=!1,b("onStop"))}function B(k){if(!(n.value||!k||!k.id)){for(var j=-1,K=0;K<t.value.length;K+=1)if(t.value[K].id===k.id){j=K;break}if(!(j<0)){for(var I=null,F=j-1;F>=0;F-=1)if(t.value[F].role==="user"){I=t.value[F];break}if(I){var Y=Ye(I.metadata)||{},V=Fn({role:"assistant",type:k.type||"",content:"",status:"streaming"});return t.value.splice(j,1,V),C(V,Y)}}}}function R(){r+=1,u&&u.abort(),u=null,n.value=!1,t.value=[],d()}function y(k){var j=Fn(k||{});return t.value.push(j),Ye(j)}function A(k){(k||[]).forEach(function(j){!j||j.role!=="user"||vr(j.content).files.forEach(function(K){c(j.id,K)})})}function z(k){d(),t.value=(k||[]).map(function(j){return Fn(j||{})}),A(t.value)}function q(){r+=1,u&&u.abort(),u=null,n.value=!1}return{messages:t,streaming:n,send:O,stop:P,retry:B,clear:R,append:y,hydrate:z,snapshot:h,fileFor:c,dispose:q}}var dd=60;function pd(e){var t=x.ref(null),n=x.ref(null),u=x.ref(!0),r=null;function a(){var h=t.value;return h?h.scrollHeight-h.scrollTop-h.clientHeight:0}function i(){u.value=a()<=dd}function o(){return typeof e=="function"&&!e()}function s(){var h=t.value;h&&(h.scrollTop=0)}function c(h){var g=t.value;if(g){if(o()){s();return}!h&&!u.value||(g.scrollTop=g.scrollHeight)}}function f(){d();var h=n.value;!h||typeof ResizeObserver=="undefined"||(r=new ResizeObserver(function(){c(!1)}),r.observe(h))}function d(){r&&(r.disconnect(),r=null)}return typeof e=="function"&&x.watch(e,function(h,g){x.nextTick(function(){if(!h){u.value=!0,s();return}g||(u.value=!0),c(!1)})}),x.onMounted(function(){f(),x.nextTick(function(){if(o()){s();return}c(!0)})}),x.onBeforeUnmount(function(){d()}),{scrollRef:t,contentRef:n,stickToBottom:u,handleScroll:i,scrollToBottom:c}}var Tr=2e5,hd={txt:1,md:1,json:1,csv:1,log:1,xml:1,html:1,css:1,js:1},bd={png:1,jpg:1,jpeg:1,gif:1,webp:1,bmp:1,svg:1},md={mp3:1,wav:1,m4a:1,ogg:1},gd={mp4:1,webm:1,mov:1,ogg:1};function _d(e){var t=String(e||"").toLowerCase(),n=t.lastIndexOf(".");return n>=0?t.slice(n+1):""}function vd(e){if(!e)return"missing";var t=String(e.type||"").toLowerCase(),n=_d(e.name);return t.indexOf("image/")===0||bd[n]?"image":t==="application/pdf"||n==="pdf"?"pdf":t.indexOf("audio/")===0||md[n]?"audio":t.indexOf("video/")===0||gd[n]?"video":t.indexOf("text/")===0||hd[n]?"text":"unsupported"}function xd(e){return new Promise(function(t,n){var u=new FileReader,r=e.size>Tr?e.slice(0,Tr):e;u.onload=function(){var a=String(u.result||"");e.size>Tr&&(a+=`
28
+
29
+ … 文件较大,只显示前面一部分`),t(a)},u.onerror=function(){n(u.error||new Error("读取失败"))},u.readAsText(r)})}function yd(e){var t=Number(e);return!t&&t!==0?"":t<1024?t+" B":t<1024*1024?(t/1024).toFixed(1)+" KB":(t/(1024*1024)).toFixed(1)+" MB"}function Ed(e){if(!e||typeof document=="undefined")return"";var t=document.createElement("div");t.innerHTML=e;for(var n=t.querySelectorAll("table"),u=0;u<n.length;u+=1){for(var r=[],a=n[u].querySelectorAll("tr"),i=0;i<a.length;i+=1){for(var o=a[i].querySelectorAll("th, td"),s=[],c=0;c<o.length;c+=1)s.push(String(o[c].textContent||"").replace(/\s+/g," ").trim());r.push(s.join(" "))}var f=document.createElement("p");f.textContent=r.join(`
30
+ `),n[u].parentNode.replaceChild(f,n[u])}var d=t.innerText||t.textContent||"";return d.replace(/[ \t]+\n/g,`
31
+ `).replace(/\n{3,}/g,`
32
+
33
+ `).trim()}function kd(e){var t=e&&e.content!=null?String(e.content):"";if(e&&e.role==="user"&&(t=vr(t).body),!t)return"";var n=Ed(Ii(t));return n||t.trim()}const Ad=Object.assign({name:"AiChat"},{props:{adapter:{type:Object,required:!0},title:{type:String,default:"对话"},context:{type:Object,default:function(){return{}}},initialMessages:{type:Array,default:function(){return[]}},placeholder:{type:String,default:"输入消息,Enter 发送,Shift + Enter 换行"},userName:{type:String,default:""},theme:{type:Object,default:function(){return{}}},messageTypes:{type:Object,default:function(){return{}}},actions:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1},copyModes:{type:Array,default:function(){return["markdown"]}},labels:{type:Object,default:function(){return{}}},maxLength:{type:Number,default:4e3},allowUpload:{type:Boolean,default:!0},showAvatar:{type:Boolean,default:!0},turnRailMin:{type:Number,default:5}},emits:["send","done","error","stop","action","token-usage"],setup(e,{expose:t,emit:n}){const u=e;var r={primaryColor:"--ai-chat-primary",bubbleBg:"--ai-chat-bubble-ai-bg",userBubbleBg:"--ai-chat-bubble-user-bg",textColor:"--ai-chat-text",background:"--ai-chat-bg",headerBg:"--ai-chat-header-bg",borderColor:"--ai-chat-border",radius:"--ai-chat-radius",fontSize:"--ai-chat-font-size"},a={r:255,g:255,b:255},i={r:0,g:0,b:0},o={r:20,g:20,b:20};function s(_){return Math.max(0,Math.min(255,Math.round(_)))}function c(_){var S=String(_).trim(),G=S.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);if(G){var J=G[1];J.length===3&&(J=J[0]+J[0]+J[1]+J[1]+J[2]+J[2]);var pe=parseInt(J,16);return{r:pe>>16&255,g:pe>>8&255,b:pe&255}}var me=S.match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);return me?{r:Number(me[1]),g:Number(me[2]),b:Number(me[3])}:null}function f(_,S,G){return{r:s(_.r+(S.r-_.r)*G),g:s(_.g+(S.g-_.g)*G),b:s(_.b+(S.b-_.b)*G)}}function d(_){function S(G){var J=G.toString(16);return J.length<2?"0"+J:J}return"#"+S(_.r)+S(_.g)+S(_.b)}function h(_,S){return"rgba("+_.r+", "+_.g+", "+_.b+", "+S+")"}function g(_,S){Object.keys(S).forEach(function(G){_[G]||(_[G]=S[G])})}function b(_,S){var G=c(_["--ai-chat-primary"]);if(G)if(S){var J=c(_["--ai-chat-bg"])||o;g(_,{"--ai-chat-primary-hover":d(f(G,a,.2)),"--ai-chat-primary-press":d(f(G,i,.2)),"--ai-chat-primary-soft":h(G,.16),"--ai-chat-welcome-bg":d(f(J,G,.18)),"--ai-chat-welcome-border":d(f(J,G,.45)),"--ai-chat-sender-shadow-focus":"0 0 0 1px "+h(G,.35)})}else g(_,{"--ai-chat-primary-hover":d(f(G,a,.2)),"--ai-chat-primary-press":d(f(G,i,.1)),"--ai-chat-primary-soft":d(f(G,a,.9)),"--ai-chat-welcome-bg":d(f(G,a,.88)),"--ai-chat-welcome-border":d(f(G,a,.44))});_["--ai-chat-bg"]&&!_["--ai-chat-header-bg"]&&(_["--ai-chat-header-bg"]=_["--ai-chat-bg"])}var C=x.computed(function(){return wn(u.labels,Dn)}),O=fd({getAdapter:function(){return u.adapter},getContext:function(){return u.context||{}},onSend:function(_){n("send",_)},onDone:function(_){n("done",_)},onError:function(_,S){n("error",_,S)},onStop:function(){n("stop")},onTokenUsage:function(_){n("token-usage",_)}}),P=O.messages,B=O.streaming,R=!1,y=x.ref(null),A=0;function z(){var _=y.value;_&&_.url&&URL.revokeObjectURL(_.url)}function q(){A+=1,z(),y.value=null}function k(_,S){var G=A+1;A=G,z();var J=_&&_.name||S||C.value.attachmentFallback,pe=vd(_),me=_?yd(_.size):"";if(pe==="missing"){y.value={name:J,kind:pe,url:"",text:"",size:"",note:C.value.previewMissing};return}if(pe==="unsupported"){y.value={name:J,kind:pe,url:"",text:"",size:me,note:C.value.previewUnsupported};return}if(pe==="text"){y.value={name:J,kind:pe,url:"",text:C.value.readingFile,size:me,note:""},xd(_).then(function(Ct){G===A&&(y.value={name:J,kind:pe,url:"",text:Ct,size:me,note:""})}).catch(function(){G===A&&(y.value={name:J,kind:"unsupported",url:"",text:"",size:me,note:C.value.previewReadFailed})});return}y.value={name:J,kind:pe,url:URL.createObjectURL(_),text:"",size:me,note:""}}x.provide("openFilePreview",k),x.provide("fileForMessage",O.fileFor);var j=pd(function(){return P.value.length}),K=j.scrollRef,I=j.contentRef,F=j.handleScroll,Y=x.ref(null),V=x.ref(""),Z=0,E=x.ref(0),M=!1;function U(_){var S=[];return(_||[]).forEach(function(G){G&&(G.role==="user"||!S.length)&&S.push(G.id)}),S}var H=x.computed(function(){return U(P.value)}),Q=x.computed(function(){var _=Number(u.turnRailMin);return(!isFinite(_)||_<0)&&(_=5),H.value.length>_}),ne=x.computed(function(){var _={};return H.value.forEach(function(S,G){_[S]=G}),_});function ie(){var _=K.value;if(_){var S=_.querySelectorAll("[data-turn]");if(S.length){var G=_.scrollHeight-_.clientHeight;if(G>0&&_.scrollTop>=G-2){E.value=Number(S[S.length-1].getAttribute("data-turn"))||0;return}for(var J=_.getBoundingClientRect().top,pe=Number(S[0].getAttribute("data-turn"))||0,me=0;me<S.length;me+=1){var Ct=S[me].getBoundingClientRect().top-J;Ct<=24&&(pe=Number(S[me].getAttribute("data-turn"))||pe)}E.value=pe}}}function he(_){var S=K.value;if(S){var G=S.querySelector('[data-turn="'+_+'"]');if(G){var J=G.getBoundingClientRect().top-S.getBoundingClientRect().top+S.scrollTop,pe=Math.max(0,J-8),me=Math.max(0,S.scrollHeight-S.clientHeight);pe>me&&(pe=me),S.scrollTop=pe}}}function ve(){F(),M||ie()}function ye(_){M=!0,E.value=_,he(_)}function ce(){M=!1}function N(_){var S=K.value;S&&(S.scrollTop+=_||0)}x.watch(H,function(){x.nextTick(ie)});var xe=x.computed(function(){var _=u.theme||{};return _.dark===!0||_.mode==="dark"}),ut=x.computed(function(){var _=u.theme||{},S={};return Object.keys(_).forEach(function(G){if(!(G==="dark"||G==="mode")){var J=G.indexOf("--")===0?G:r[G];!J||_[G]==null||_[G]===""||(S[J]=String(_[G]))}}),b(S,xe.value),S}),Ue=!1;x.watch(function(){return Object.keys(u.messageTypes||{}).join("|")},function(){Zn(u.messageTypes||{})},{immediate:!0}),x.watch(function(){return u.initialMessages},function(_){R||Ue||!_||!_.length||(Ue=!0,O.hydrate(_))},{immediate:!0});function Ke(){R=!0}function dt(_,S,G){return Ke(),O.send(_,S,G)}function We(){O.stop()}function St(){Ke(),O.clear()}function Me(_){Ke(),O.hydrate(_||[])}function de(_){Ke();var S=O.append(_);return S}function Qe(){j.stickToBottom.value=!0,j.scrollToBottom(!0)}function W(_,S){dt(_,null,S)}function pt(){We()}var le=x.computed(function(){if(B.value)return[];var _=P.value||[],S=_[_.length-1];if(!S||S.role!=="assistant"||S.status!=="done")return[];var G=S.metadata&&S.metadata.suggestions;return Array.isArray(G)?G.map(function(J){return String(J||"").trim()}).filter(Boolean):[]});function oe(_){!_||B.value||dt(String(_))}function rt(_){Ke(),O.retry(_)}function Ee(_){n("action",_)}function Je(_){var S=document.createElement("textarea");S.value=_,S.setAttribute("readonly","readonly"),S.style.position="fixed",S.style.left="-9999px",document.body.appendChild(S),S.select();try{document.execCommand("copy")}catch(G){}document.body.removeChild(S)}function Ge(_){V.value=_,Z&&clearTimeout(Z),Z=setTimeout(function(){V.value=""},1600)}var $=x.computed(function(){var _={},S=[];return(u.copyModes||[]).forEach(function(G){var J=String(G||"").trim();J!=="markdown"&&J!=="text"||_[J]||(_[J]=!0,S.push(J))}),S.length?S:["markdown"]});function X(_){var S=_&&_.message?_.message:_,G=_&&_.mode==="text"?"text":"markdown",J=G==="text"?kd(S):S&&S.content?String(S.content):"";if(J){var pe=G==="text"?C.value.copiedText:C.value.copiedMarkdown;if(navigator.clipboard&&navigator.clipboard.writeText){navigator.clipboard.writeText(J).then(function(){Ge(pe)}).catch(function(){Je(J),Ge(pe)});return}Je(J),Ge(pe)}}return x.onBeforeUnmount(function(){Z&&clearTimeout(Z),q(),O.dispose()}),t({send:dt,stop:We,clear:St,hydrate:Me,append:de,scrollToBottom:Qe}),{__sfc:!0,THEME_MAP:r,WHITE:a,BLACK:i,DARK_BASE:o,clampChannel:s,parseColor:c,mixColor:f,toHex:d,toRgba:h,fillMissing:g,applyDerivedTheme:b,props:u,texts:C,emit:n,chat:O,messages:P,streaming:B,touched:R,preview:y,previewTicket:A,releasePreview:z,closePreview:q,openFilePreview:k,auto:j,scrollRef:K,contentRef:I,handleScroll:F,senderRef:Y,toast:V,toastTimer:Z,activeTurn:E,seekingTurn:M,groupTurns:U,turns:H,showTurnRail:Q,turnStarts:ne,syncActiveTurn:ie,scrollTurnIntoView:he,onBodyScroll:ve,onSeekTurn:ye,onSeekTurnEnd:ce,onTurnRailWheel:N,isDark:xe,themeStyle:ut,hydrated:Ue,markTouched:Ke,send:dt,stop:We,clear:St,hydrate:Me,append:de,scrollToBottom:Qe,onSubmit:W,onStop:pt,followUps:le,onSuggest:oe,onRetry:rt,onAction:Ee,fallbackCopy:Je,showToast:Ge,normalizedCopyModes:$,onCopy:X,AiBubbleList:yr,AiTurnRail:Er,AiSender:kr,FilePreview:Qf}}});var Sd=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("section",{staticClass:"ai-chat-root",class:{"ai-chat-root--dark":u.isDark},style:u.themeStyle,attrs:{"aria-busy":u.streaming?"true":"false"}},[n("header",{staticClass:"ai-chat-header"},[t._t("header",function(){return[n("div",{staticClass:"ai-chat-header__bar"},[n("h2",{staticClass:"ai-chat-header__title"},[t._v(t._s(t.title))])])]})],2),n("div",{staticClass:"ai-chat-stage",class:{"ai-chat-stage--turns":u.showTurnRail}},[t.loading?n("div",{staticClass:"ai-chat-loading",attrs:{role:"status"}},[n("span",{staticClass:"ai-chat-loading__mark"}),t._v(" "+t._s(u.texts.loading)+" ")]):t._e(),n("div",{ref:"scrollRef",staticClass:"ai-chat-body",on:{scroll:u.onBodyScroll}},[n("div",{ref:"contentRef",staticClass:"ai-chat-body__inner"},[u.messages.length?n(u.AiBubbleList,{attrs:{messages:u.messages,actions:t.actions,"message-types":t.messageTypes,"user-name":t.userName,"show-avatar":t.showAvatar,"turn-starts":u.turnStarts,theme:t.theme,labels:u.texts,"copy-modes":u.normalizedCopyModes},on:{retry:u.onRetry,copy:u.onCopy,action:u.onAction}}):n("div",{staticClass:"ai-chat-empty",attrs:{role:"status"}},[t._t("empty",function(){return[n("p",{staticClass:"ai-chat-empty__title"},[t._v(t._s(u.texts.emptyTitle))]),n("p",{staticClass:"ai-chat-empty__text"},[t._v(t._s(u.texts.emptyText))])]})],2)],1)]),u.showTurnRail?n(u.AiTurnRail,{attrs:{count:u.turns.length,active:u.activeTurn,label:u.texts.turnRail,"value-template":u.texts.turnRailValue},on:{seek:u.onSeekTurn,"seek-end":u.onSeekTurnEnd,wheel:u.onTurnRailWheel}}):t._e()],1),n("footer",{staticClass:"ai-chat-footer"},[u.followUps.length?n("div",{staticClass:"ai-chat-follow",attrs:{role:"group","aria-label":u.texts.follow}},t._l(u.followUps,function(r,a){return n("button",{key:a,staticClass:"ai-chat-follow__btn",attrs:{type:"button",title:r},on:{click:function(i){return u.onSuggest(r)}}},[t._v(t._s(r))])}),0):t._e(),n(u.AiSender,{ref:"senderRef",attrs:{placeholder:t.placeholder,streaming:u.streaming,"max-length":t.maxLength,"allow-upload":t.allowUpload,labels:u.texts},on:{submit:u.onSubmit,stop:u.onStop},scopedSlots:t._u([{key:"extra",fn:function(){return[t._t("sender-extra")]},proxy:!0}],null,!0)}),t._t("footer")],2),u.toast?n("div",{staticClass:"ai-chat-toast",attrs:{role:"status"}},[t._v(t._s(u.toast))]):t._e(),u.preview?n(u.FilePreview,{attrs:{preview:u.preview,"close-text":u.texts.previewClose,"dialog-label":u.texts.previewDialog},on:{close:u.closePreview}}):t._e()],1)},Cd=[],Td=Pe(Ad,Sd,Cd);const Qi=Td.exports;var Ji="ai-chat.session-pins";function wd(){try{if(typeof localStorage=="undefined")return{};var e=localStorage.getItem(Ji);if(!e)return{};var t=JSON.parse(e);return!t||typeof t!="object"||Array.isArray(t)?{}:t}catch(n){return{}}}function eo(e){if(typeof localStorage!="undefined")try{localStorage.setItem(Ji,JSON.stringify(e||{}))}catch(t){}}var to="ai-chat.task-dirs";function Mn(){return{dirs:[],tasks:{}}}function Dd(){try{if(typeof localStorage=="undefined")return Mn();var e=localStorage.getItem(to);if(!e)return Mn();var t=JSON.parse(e);if(!t||typeof t!="object"||Array.isArray(t))return Mn();var n=Array.isArray(t.dirs)?t.dirs.filter(function(a){return a&&a.id&&a.name}).map(function(a){return{id:String(a.id),name:String(a.name),open:a.open!==!1,createdAt:Number(a.createdAt)||0}}):[],u={},r=t.tasks&&typeof t.tasks=="object"?t.tasks:{};return Object.keys(r).forEach(function(a){r[a]&&(u[a]=String(r[a]))}),{dirs:n,tasks:u}}catch(a){return Mn()}}function no(e){if(typeof localStorage!="undefined")try{localStorage.setItem(to,JSON.stringify(e||Mn()))}catch(t){}}const Rd=Object.assign({name:"AiSessionList"},{props:{sessions:{type:Array,default:function(){return[]}},activeId:{type:String,default:""},title:{type:String,default:"工作任务"},createText:{type:String,default:"新任务"},emptyText:{type:String,default:"还没有工作任务"},status:{type:String,default:""},statusError:{type:Boolean,default:!1},pendingDeleteId:{type:String,default:""},deletingId:{type:String,default:""},batchDeleting:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},labels:{type:Object,default:function(){return{}}}},emits:["select","create","request-delete","confirm-delete","cancel-delete","confirm-delete-many","collapse"],setup(e,{emit:t}){const n=e;var u=x.computed(function(){return wn(n.labels,Li)});function r(p,v){return fr(u.value[p],Object.assign({title:n.title},v||{}))}var a="ai-chat.session-pane",i=220,o=480,s=280,c=44;function f(){var p={width:s,collapsed:!1};try{if(typeof localStorage=="undefined")return p;var v=localStorage.getItem(a);if(!v)return p;var L=JSON.parse(v),ee=Math.round(Number(L&&L.width));return isFinite(ee)?{width:Math.min(o,Math.max(i,ee)),collapsed:!!(L&&L.collapsed)}:p}catch(ue){return p}}var d=f(),h=x.ref(d.collapsed),g=x.ref(d.width),b=x.ref(!1),C=x.ref(null),O=!1,P=x.ref(null),B=x.ref(!1),R=x.ref(!1),y=x.ref({}),A=x.ref(null),z=x.ref(wd()),q=x.ref(Dd()),k=x.ref(!1),j=x.ref(""),K=x.ref(null),I=x.ref(""),F=x.ref({x:0,y:0}),Y=x.ref(null),V=x.computed(function(){return I.value?Ee(I.value):null}),Z=x.ref(""),E=x.ref(""),M=x.ref(""),U=x.ref(null),H=!1,Q=x.ref({}),ne=x.ref(null),ie=x.ref(null),he=x.ref(""),ve=x.ref("");function ye(p){var v=p&&p.session_id,L=v&&q.value&&q.value.tasks?q.value.tasks[v]:"";if(!L||!q.value||!q.value.dirs)return"";var ee=q.value.dirs.some(function(ue){return ue.id===L});return ee?L:""}function ce(p){return!!ye(p)}function N(){ne.value=null}function xe(p,v){if(!n.batchDeleting){var L={x:p.clientX,y:p.clientY};ne.value=Object.assign({x:L.x,y:L.y},v),I.value="",x.nextTick(function(){var ee=ie.value;if(!(!ee||!ne.value)){var ue=ee.getBoundingClientRect(),Ae=L.x,be=L.y;Ae+ue.width>window.innerWidth-8&&(Ae=window.innerWidth-ue.width-8),be+ue.height>window.innerHeight-8&&(be=window.innerHeight-ue.height-8),ne.value=Object.assign({},ne.value,{x:Math.max(8,Ae),y:Math.max(8,be)})}})}}function ut(p){xe(p,{type:"blank"})}function Ue(p,v){p&&xe(v,{type:"task",item:p})}function Ke(p,v){!p||!p.dir||xe(v,{type:"folder",row:p})}function dt(){N(),sn()}function We(p){var v=ne.value&&ne.value.item;N(),v&&Nn(v,p)}function St(){var p=ne.value&&ne.value.item;N(),!(!p||n.batchDeleting)&&(Z.value="",t("request-delete",p))}function Me(){var p=ne.value&&ne.value.row;N(),!(!p||!p.dir||n.batchDeleting)&&(t("cancel-delete"),Z.value=p.dir.id)}function de(p){!p||n.batchDeleting||B.value||(E.value=p.id,M.value=p.name||"",k.value=!1,Z.value="",I.value="",x.nextTick(function(){var v=U.value;v&&(v.focus(),v.select())}))}function Qe(){var p=ne.value&&ne.value.row,v=p&&p.dir;if(N(),!!v){if(h.value){Ne(!1),at(),x.nextTick(function(){de(v)});return}de(v)}}function W(){H=!0,E.value="",M.value=""}function pt(){if(H){H=!1;return}var p=E.value;if(p){var v=String(M.value||"").trim().slice(0,24);E.value="",M.value="",v&&bt(function(L){L.dirs.forEach(function(ee){ee.id===p&&(ee.name=v)})})}}function le(p){var v=p.target;if(ne.value){var L=ie.value;(!L||!L.contains(v))&&N()}if(I.value){var ee=Y.value;ee&&ee.contains(v)||v.closest&&v.closest(".ai-chat-sessions__move")||(I.value="")}}function oe(p){p.key==="Escape"&&(N(),I.value="")}function rt(){I.value=""}function Ee(p){var v=null;return(n.sessions||[]).forEach(function(L){L&&L.session_id===p&&(v=L)}),v}function Je(p,v){if(!p||B.value||n.batchDeleting){v.preventDefault();return}he.value=p.session_id,N(),v.dataTransfer&&(v.dataTransfer.effectAllowed="move",v.dataTransfer.setData("text/plain",p.session_id))}function Ge(){he.value="",ve.value=""}function $(p,v){he.value&&ye(Ee(he.value))!==(p||"")&&(v.preventDefault(),v.dataTransfer&&(v.dataTransfer.dropEffect="move"),ve.value=p||"root")}function X(p,v){v&&v.preventDefault();var L=he.value,ee=Ee(L);he.value="",ve.value="",ee&&ye(ee)!==(p||"")&&Nn(ee,p||"")}function _(p){p.target&&p.target.closest&&p.target.closest(".ai-chat-sessions__folder, .ai-chat-sessions__block")||$("",p)}function S(p){p.target&&p.target.closest&&p.target.closest(".ai-chat-sessions__folder, .ai-chat-sessions__block")||X("",p)}function G(p,v){!p||!p.dir||$(p.dir.id,v)}function J(p,v){!p||!p.dir||X(p.dir.id,v)}function pe(p,v){$(p&&p.nested?ye(p.item):"",v)}function me(p,v){X(p&&p.nested?ye(p.item):"",v)}x.onMounted(function(){document.addEventListener("pointerdown",le),document.addEventListener("keydown",oe)}),x.onBeforeUnmount(function(){document.removeEventListener("pointerdown",le),document.removeEventListener("keydown",oe)});function Ct(p){return p&&p.title||r("unnamed")}function et(p){var v=z.value||{},L=[],ee=[];return p.forEach(function(ue){v[ue.session_id]?L.push(ue):ee.push(ue)}),L.sort(function(ue,Ae){return Number(v[Ae.session_id]||0)-Number(v[ue.session_id]||0)}),L.concat(ee)}function It(){var p=q.value||{dirs:[],tasks:{}},v={},L=[],ee=Q.value;return(n.sessions||[]).forEach(function(ue){if(!(!ue||ee[ue.session_id])){var Ae=p.tasks[ue.session_id],be=Ae&&p.dirs.some(function(Pt){return Pt.id===Ae});if(!be){L.push(ue);return}v[Ae]||(v[Ae]=[]),v[Ae].push(ue)}}),{current:p,byDir:v,loose:L}}var un=x.computed(function(){var p=It(),v=[];return p.current.dirs.forEach(function(L){et(p.byDir[L.id]||[]).forEach(function(ee){v.push(ee)})}),et(p.loose).forEach(function(L){v.push(L)}),v}),bu=x.computed(function(){var p=It(),v=[];return p.current.dirs.forEach(function(L){var ee=et(p.byDir[L.id]||[]);v.push({kind:"folder",key:"dir:"+L.id,dir:L,tasks:ee,count:ee.length}),L.open&&ee.forEach(function(ue){v.push({kind:"task",key:ue.session_id,item:ue,nested:!0})})}),et(p.loose).forEach(function(L){v.push({kind:"task",key:L.session_id,item:L,nested:!1})}),v}),Tt=x.computed(function(){var p=0;return(n.sessions||[]).forEach(function(v){v&&y.value[v.session_id]&&(p+=1)}),p}),Zt=x.computed(function(){return n.sessions.length>0&&Tt.value===n.sessions.length}),On=x.computed(function(){var p=h.value?c:g.value;return{width:p+"px",flexBasis:p+"px"}});function at(){if(typeof localStorage!="undefined")try{localStorage.setItem(a,JSON.stringify({width:g.value,collapsed:h.value}))}catch(p){}}function it(){for(var p=C.value,v=0,L=p&&p.parentElement;L;){var ee=window.getComputedStyle(L).display;(ee==="flex"||ee==="inline-flex")&&L.clientWidth>v&&(v=L.clientWidth),L=L.parentElement}var ue=v||window.innerWidth;return Math.max(i,Math.min(o,ue-280))}function Ne(p){h.value!==p&&(h.value=p,t("collapse",p),p&&Wt())}function ht(p){var v=it();if(h.value){if(p<i+16)return;Ne(!1)}else if(p<i){Ne(!0);return}g.value=Math.min(v,p)}function mu(p){if(p.button!=null&&p.button!==0)return;var v=p.clientX,L=h.value?c:g.value,ee=!1,ue=p.currentTarget,Ae=ue&&ue.classList&&ue.classList.contains("ai-chat-sessions__fold");if(ue&&ue.setPointerCapture&&p.pointerId!=null)try{ue.setPointerCapture(p.pointerId)}catch(_t){}function be(_t){var Gn=_t.clientX-v;!ee&&Math.abs(Gn)<3||(ee=!0,b.value=!0,document.body.style.cursor="col-resize",document.body.style.userSelect="none",ht(L+Gn))}function Pt(_t){if(window.removeEventListener("pointermove",be),window.removeEventListener("pointerup",Pt),ue&&ue.releasePointerCapture&&_t.pointerId!=null)try{ue.releasePointerCapture(_t.pointerId)}catch(Gn){}document.body.style.cursor="",document.body.style.userSelect="",ee&&(Ae&&(O=!0),b.value=!1,at())}window.addEventListener("pointermove",be),window.addEventListener("pointerup",Pt)}function gu(p){var v=p.shiftKey?48:24;p.key==="ArrowLeft"?(p.preventDefault(),h.value||g.value-v<i?Ne(!0):g.value=Math.max(i,g.value-v),at()):p.key==="ArrowRight"&&(p.preventDefault(),h.value&&Ne(!1),g.value=Math.min(it(),g.value+v),at())}function _u(){if(O){O=!1;return}Ne(!h.value),at()}function rn(p){if(!h.value){p();return}Ne(!1),at(),x.nextTick(p)}function vu(){rn(ku)}function an(){rn(sn)}function on(p){var v=String(p&&p.name||"").replace(/\s+/g,"");return v?v.slice(0,1):r("folderMark")}function tt(p){var v=String(p&&p.title||"").replace(/\s+/g,"");return v?v.slice(0,2):r("miniFallback")}function Nt(p){return r("miniTip",{prefix:xu(p)?r("pinnedPrefix"):"",title:p&&p.title||r("unnamed"),count:p&&p.turn_count||0})}function In(p){p&&t("select",p)}function Wt(){x.nextTick(function(){var p=P.value;if(p){var v=p.querySelector(".ai-chat-sessions__mini-item.is-active");if(v){var L=v.getBoundingClientRect().top-p.getBoundingClientRect().top;L<0?p.scrollTop+=L:L+v.offsetHeight>p.clientHeight&&(p.scrollTop+=L+v.offsetHeight-p.clientHeight)}}})}function xu(p){return!!(p&&z.value[p.session_id])}function yu(p){if(!(!p||!p.session_id||n.batchDeleting)){var v=Object.assign({},z.value);v[p.session_id]?delete v[p.session_id]:v[p.session_id]=Date.now(),z.value=v,eo(v)}}function bt(p){var v=q.value||{dirs:[],tasks:{}},L={dirs:v.dirs.map(function(ee){return Object.assign({},ee)}),tasks:Object.assign({},v.tasks)};p(L),q.value=L,no(L)}function sn(){n.batchDeleting||B.value||(k.value=!0,j.value="",E.value="",I.value="",Z.value="",t("cancel-delete"),x.nextTick(function(){K.value&&K.value.focus()}))}function cn(){k.value=!1,j.value=""}function Rr(){var p=String(j.value||"").trim();p&&(bt(function(v){v.dirs.push({id:"d"+Date.now().toString(36)+Math.random().toString(36).slice(2,6),name:p.slice(0,24),open:!0,createdAt:Date.now()})}),cn())}function Vt(p){p&&bt(function(v){v.dirs.forEach(function(L){L.id===p.id&&(L.open=!L.open)})})}function Fr(p,v){if(!(!p||n.batchDeleting)){if(I.value===p.session_id){I.value="";return}N(),Z.value="";var L=v&&v.currentTarget?v.currentTarget.getBoundingClientRect():{left:8,top:8,bottom:8,right:8};I.value=p.session_id,F.value={x:L.left,y:L.bottom+6},x.nextTick(function(){var ee=Y.value;if(!(!ee||!I.value)){var ue=ee.getBoundingClientRect(),Ae=L.left,be=L.bottom+6;Ae+ue.width>window.innerWidth-8&&(Ae=Math.max(8,L.right-ue.width)),be+ue.height>window.innerHeight-8&&(be=Math.max(8,L.top-ue.height-6)),F.value={x:Ae,y:be}}})}}function Nn(p,v){!p||!p.session_id||n.batchDeleting||(bt(function(L){if(!v){delete L.tasks[p.session_id];return}var ee=null;L.dirs.forEach(function(ue){ue.id===v&&(ee=ue)}),ee&&(ee.open=!0,L.tasks[p.session_id]=v)}),I.value="")}function ke(p){var v=p&&p.dir?p.dir.name:"";return p.count?r("folderAskWith",{name:v,count:p.count}):r("folderAsk",{name:v})}function Lt(p){if(!n.batchDeleting){var v=p.tasks||[];if(Z.value="",!v.length){Ln(p.dir.id);return}var L=Object.assign({},Q.value);v.forEach(function(ee){L[ee.session_id]=!0}),Q.value=L,Ln(p.dir.id),t("confirm-delete-many",v)}}function Ln(p){bt(function(v){v.dirs=v.dirs.filter(function(L){return L.id!==p}),Object.keys(v.tasks).forEach(function(L){v.tasks[L]===p&&delete v.tasks[L]})})}function Pn(p){return p.tasks.length>0&&p.tasks.every(function(v){return Bn(v)})}function zn(p){if(!n.batchDeleting){var v=Object.assign({},y.value),L=Pn(p);p.tasks.forEach(function(ee){!ee||!ee.session_id||(L?delete v[ee.session_id]:v[ee.session_id]=!0)}),y.value=v,R.value=!1,mt()}}function Bn(p){return!!(p&&y.value[p.session_id])}function mt(){x.nextTick(function(){var p=A.value;p&&(p.indeterminate=Tt.value>0&&!Zt.value)})}function Eu(p){if(!(!p||!p.session_id||n.batchDeleting)){var v=Object.assign({},y.value);v[p.session_id]?delete v[p.session_id]:v[p.session_id]=!0,y.value=v,R.value=!1,mt()}}function Mr(){if(!n.batchDeleting){var p={};Zt.value||(n.sessions||[]).forEach(function(v){v&&v.session_id&&(p[v.session_id]=!0)}),y.value=p,R.value=!1,mt()}}function ku(){n.batchDeleting||(B.value=!0,R.value=!1,y.value={},k.value=!1,E.value="",I.value="",Z.value="",t("cancel-delete"),mt())}function Au(){n.batchDeleting||(B.value=!1,R.value=!1,y.value={})}function gt(p){if(B.value){Eu(p);return}t("select",p)}function Su(){if(!(n.batchDeleting||!Tt.value)){var p=(n.sessions||[]).filter(function(v){return v&&y.value[v.session_id]});p.length&&t("confirm-delete-many",p)}}x.watch(function(){return n.activeId},function(){h.value&&Wt()}),x.watch(function(){return n.sessions},function(p){var v={};if((p||[]).forEach(function(be){be&&y.value[be.session_id]&&(v[be.session_id]=!0)}),y.value=v,p&&p.length){var L={};p.forEach(function(be){be&&z.value[be.session_id]&&(L[be.session_id]=z.value[be.session_id])}),Object.keys(L).length!==Object.keys(z.value).length&&(z.value=L,eo(L));var ee=q.value||{dirs:[],tasks:{}},ue={},Ae=!1;Object.keys(ee.tasks).forEach(function(be){var Pt=p.some(function(_t){return _t&&_t.session_id===be});Pt?ue[be]=ee.tasks[be]:Ae=!0}),Ae&&(q.value={dirs:ee.dirs.slice(),tasks:ue},no(q.value))}(!p||!p.length)&&(B.value=!1,R.value=!1),mt()}),x.watch(function(){return n.batchDeleting},function(p,v){v&&!p&&(Q.value={},R.value=!1,Z.value="",Tt.value||Au())}),x.watch(function(){return[B.value,R.value,Tt.value,Zt.value].join(":")},mt);function Un(p){var v=String(p||"").match(/(\d{2})-(\d{2})-(\d{2})\s+(\d{2}:\d{2})/);return v?v[2]+"-"+v[3]+" "+v[4]:String(p||"")}return{__sfc:!0,props:n,emit:t,texts:u,label:r,PANE_KEY:a,PANE_MIN:i,PANE_MAX:o,PANE_DEFAULT:s,PANE_COLLAPSED:c,readPane:f,savedPane:d,collapsed:h,paneWidth:g,resizing:b,paneRef:C,ignoreFoldClick:O,miniRef:P,picking:B,confirming:R,picked:y,allRef:A,pins:z,book:q,creating:k,dirName:j,dirInput:K,movingId:I,movePop:F,movePopRef:Y,movingItem:V,pendingFolderId:Z,renamingId:E,renameName:M,renameInput:U,renameSilent:H,hiding:Q,menu:ne,menuRef:ie,dragId:he,dropTarget:ve,taskDirId:ye,taskNested:ce,closeMenu:N,placeMenu:xe,onBlankContext:ut,onTaskContext:Ue,onFolderContext:Ke,menuCreate:dt,menuMove:We,menuDeleteTask:St,menuDeleteFolder:Me,beginRename:de,menuRename:Qe,cancelRename:W,commitRename:pt,onPointerDown:le,onMenuKey:oe,closeMove:rt,findTask:Ee,onDragStart:Je,onDragEnd:Ge,allowDrop:$,finishDrop:X,onListDragOver:_,onListDrop:S,onFolderDragOver:G,onFolderDrop:J,onTaskDragOver:pe,onTaskDrop:me,taskName:Ct,sortTasks:et,groupedTasks:It,orderedSessions:un,treeRows:bu,pickedCount:Tt,allPicked:Zt,paneStyle:On,writePane:at,widthLimit:it,setCollapsed:Ne,applyDragWidth:ht,onResizePointerDown:mu,onResizeKey:gu,toggleCollapsed:_u,revealThen:rn,dockPick:vu,dockCreate:an,folderMark:on,miniLabel:tt,miniTip:Nt,onMiniClick:In,scrollMiniActive:Wt,isPinned:xu,togglePin:yu,updateBook:bt,startCreate:sn,cancelCreate:cn,commitDir:Rr,toggleDir:Vt,toggleMove:Fr,moveTask:Nn,folderDeleteText:ke,confirmFolder:Lt,removeFolder:Ln,folderPicked:Pn,toggleFolderPick:zn,isPicked:Bn,syncAllCheck:mt,togglePick:Eu,toggleAll:Mr,startPicking:ku,stopPicking:Au,onItemClick:gt,confirmBatch:Su,formatUpdated:Un}}});var Fd=function(){var t=this,n=t._self._c,u=t._self._setupProxy;return n("aside",{ref:"paneRef",staticClass:"ai-chat-sessions",class:{"ai-chat-sessions--dark":t.dark,"is-collapsed":u.collapsed,"is-resizing":u.resizing},style:u.paneStyle,on:{contextmenu:function(r){return r.preventDefault(),u.onBlankContext.apply(null,arguments)}}},[n("div",{staticClass:"ai-chat-sessions__head"},[n("button",{staticClass:"ai-chat-sessions__fold",attrs:{type:"button","aria-expanded":u.collapsed?"false":"true","aria-label":u.collapsed?u.label("foldExpand"):u.label("foldCollapse"),title:u.collapsed?u.label("foldExpandTip"):u.label("foldCollapseTip")},on:{pointerdown:u.onResizePointerDown,click:u.toggleCollapsed}},[n("svg",{staticClass:"ai-chat-sessions__fold-icon",attrs:{viewBox:"0 0 16 16","aria-hidden":"true"}},[n("path",{attrs:{d:"M10 3.5 5.5 8 10 12.5",fill:"none",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"}})])]),n("h2",{staticClass:"ai-chat-sessions__title"},[t._v(t._s(t.title))])]),n("div",{ref:"miniRef",staticClass:"ai-chat-sessions__mini"},[!u.treeRows.length&&!u.creating?n("p",{staticClass:"ai-chat-sessions__mini-empty",attrs:{title:t.emptyText}},[t._v(t._s(u.label("miniEmpty")))]):t._e(),t._l(u.treeRows,function(r){return[r.kind==="folder"?n("button",{key:r.key,staticClass:"ai-chat-sessions__mini-folder",class:{"is-open":r.dir.open,"is-drop":u.dropTarget===r.dir.id},attrs:{type:"button",title:r.dir.name+" · "+r.count,"aria-label":u.label(r.dir.open?"collapseDir":"expandDir",{name:r.dir.name}),"aria-expanded":r.dir.open?"true":"false"},on:{click:function(a){return u.toggleDir(r.dir)},contextmenu:function(a){return a.stopPropagation(),a.preventDefault(),u.onFolderContext(r,a)},dragover:function(a){return a.stopPropagation(),u.onFolderDragOver(r,a)},drop:function(a){return a.stopPropagation(),u.onFolderDrop(r,a)}}},[n("svg",{staticClass:"ai-chat-sessions__mini-chevron",class:{"is-open":r.dir.open},attrs:{viewBox:"0 0 16 16","aria-hidden":"true"}},[n("path",{attrs:{d:"M6 4.5 10.5 8 6 11.5",fill:"none",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"}})]),n("span",[t._v(t._s(u.folderMark(r.dir)))])]):n("button",{key:r.key,staticClass:"ai-chat-sessions__mini-item",class:{"is-active":r.item.session_id===t.activeId,"is-nested":r.nested},attrs:{type:"button",title:u.miniTip(r.item),"aria-label":u.miniTip(r.item),"aria-current":r.item.session_id===t.activeId?"true":null},on:{click:function(a){return u.onMiniClick(r.item)},contextmenu:function(a){return a.stopPropagation(),a.preventDefault(),u.onTaskContext(r.item,a)}}},[t._v(t._s(u.miniLabel(r.item)))])]})],2),t.status?n("p",{staticClass:"ai-chat-sessions__status",class:{"is-error":t.statusError}},[t._v(t._s(t.status))]):t._e(),n("div",{staticClass:"ai-chat-sessions__list",class:{"is-drop":u.dropTarget==="root"},on:{dragover:u.onListDragOver,drop:u.onListDrop,scroll:u.closeMove}},[!u.treeRows.length&&!u.creating?n("p",{staticClass:"ai-chat-sessions__status"},[t._v(t._s(t.emptyText))]):t._e(),t._l(u.treeRows,function(r){return[r.kind==="folder"?n("div",{key:r.key,staticClass:"ai-chat-sessions__folder",class:{"is-confirm":u.pendingFolderId===r.dir.id,"is-picking":u.picking,"is-drop":u.dropTarget===r.dir.id},on:{contextmenu:function(a){return a.stopPropagation(),a.preventDefault(),u.onFolderContext(r,a)},dragover:function(a){return a.stopPropagation(),u.onFolderDragOver(r,a)},drop:function(a){return a.stopPropagation(),u.onFolderDrop(r,a)}}},[u.pendingFolderId===r.dir.id?[n("span",{staticClass:"ai-chat-sessions__ask"},[t._v(t._s(u.folderDeleteText(r)))]),n("button",{staticClass:"ai-chat-sessions__confirm",attrs:{type:"button",disabled:t.batchDeleting},on:{click:function(a){return u.confirmFolder(r)}}},[t._v(t._s(u.label("delete")))]),n("button",{staticClass:"ai-chat-sessions__cancel",attrs:{type:"button",disabled:t.batchDeleting},on:{click:function(a){u.pendingFolderId=""}}},[t._v(t._s(u.label("cancel")))])]:[u.picking&&r.tasks.length?n("label",{staticClass:"ai-chat-sessions__check"},[n("input",{attrs:{type:"checkbox",disabled:t.batchDeleting,"aria-label":u.label("selectDir",{name:r.dir.name})},domProps:{checked:u.folderPicked(r)},on:{change:function(a){return u.toggleFolderPick(r)}}})]):t._e(),n("button",{staticClass:"ai-chat-sessions__folder-toggle",attrs:{type:"button","aria-expanded":r.dir.open?"true":"false","aria-label":u.label(r.dir.open?"collapseDir":"expandDir",{name:r.dir.name})},on:{click:function(a){return u.toggleDir(r.dir)}}},[n("svg",{staticClass:"ai-chat-sessions__folder-icon",class:{"is-open":r.dir.open},attrs:{viewBox:"0 0 16 16","aria-hidden":"true"}},[n("path",{attrs:{d:"M6 4.5 10.5 8 6 11.5",fill:"none",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"}})])]),u.renamingId===r.dir.id?n("form",{staticClass:"ai-chat-sessions__rename",on:{submit:function(a){return a.preventDefault(),u.commitRename.apply(null,arguments)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:u.renameName,expression:"renameName"}],ref:"renameInput",refInFor:!0,staticClass:"ai-chat-sessions__rename-input",attrs:{maxlength:"24","aria-label":u.label("renameDir")},domProps:{value:u.renameName},on:{keydown:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"esc",27,a.key,["Esc","Escape"])?null:(a.preventDefault(),u.cancelRename.apply(null,arguments))},blur:u.commitRename,input:function(a){a.target.composing||(u.renameName=a.target.value)}}})]):n("button",{staticClass:"ai-chat-sessions__folder-name",attrs:{type:"button",title:r.dir.name},on:{click:function(a){return u.toggleDir(r.dir)}}},[t._v(t._s(r.dir.name))]),n("span",{staticClass:"ai-chat-sessions__folder-count"},[t._v(t._s(r.count))]),u.picking?t._e():n("button",{staticClass:"ai-chat-sessions__folder-delete",attrs:{type:"button",disabled:t.batchDeleting},on:{click:function(a){u.pendingFolderId=r.dir.id}}},[t._v(t._s(u.label("delete")))])]],2):n("div",{key:r.key,staticClass:"ai-chat-sessions__block",class:{"is-nested":r.nested,"is-drop":r.nested&&u.dropTarget===u.taskDirId(r.item)},on:{contextmenu:function(a){return a.stopPropagation(),a.preventDefault(),u.onTaskContext(r.item,a)},dragover:function(a){return a.stopPropagation(),u.onTaskDragOver(r,a)},drop:function(a){return a.stopPropagation(),u.onTaskDrop(r,a)}}},[n("div",{staticClass:"ai-chat-sessions__row",class:{"is-active":r.item.session_id===t.activeId,"is-pinned":u.isPinned(r.item),"is-dragging":u.dragId===r.item.session_id,"is-confirm":!u.picking&&r.item.session_id===t.pendingDeleteId,"is-picking":u.picking,"is-picked":u.isPicked(r.item)},attrs:{draggable:!u.picking&&!t.batchDeleting},on:{dragstart:function(a){return u.onDragStart(r.item,a)},dragend:u.onDragEnd}},[!u.picking&&r.item.session_id===t.pendingDeleteId?[n("span",{staticClass:"ai-chat-sessions__ask",attrs:{title:u.taskName(r.item)}},[t._v(t._s(u.label("deleteAsk",{name:u.taskName(r.item)})))]),n("button",{staticClass:"ai-chat-sessions__confirm",attrs:{type:"button",disabled:t.deletingId===r.item.session_id},on:{click:function(a){return t.$emit("confirm-delete",r.item)}}},[t._v(t._s(t.deletingId===r.item.session_id?u.label("deleting"):u.label("delete")))]),n("button",{staticClass:"ai-chat-sessions__cancel",attrs:{type:"button"},on:{click:function(a){return t.$emit("cancel-delete",r.item)}}},[t._v(t._s(u.label("cancel")))])]:[u.picking?n("label",{staticClass:"ai-chat-sessions__check"},[n("input",{attrs:{type:"checkbox",disabled:t.batchDeleting,"aria-label":u.label("selectTask",{name:u.taskName(r.item)})},domProps:{checked:u.isPicked(r.item)},on:{change:function(a){return u.togglePick(r.item)}}})]):t._e(),n("button",{staticClass:"ai-chat-sessions__item",attrs:{type:"button","aria-current":r.item.session_id===t.activeId?"true":null,"aria-pressed":u.picking?u.isPicked(r.item)?"true":"false":null},on:{click:function(a){return u.onItemClick(r.item)}}},[n("span",{staticClass:"ai-chat-sessions__name",attrs:{title:r.item.title||""}},[t._v(t._s(u.taskName(r.item)))]),n("span",{staticClass:"ai-chat-sessions__meta"},[t._v(t._s(u.label("turnMeta",{count:r.item.turn_count||0,time:u.formatUpdated(r.item.updated_at)})))])]),u.picking?t._e():n("div",{staticClass:"ai-chat-sessions__tools"},[n("button",{staticClass:"ai-chat-sessions__pin",class:{"is-pinned":u.isPinned(r.item)},attrs:{type:"button",title:u.isPinned(r.item)?u.label("unpin"):u.label("pin"),"aria-label":u.isPinned(r.item)?u.label("unpin"):u.label("pin"),"aria-pressed":u.isPinned(r.item)?"true":"false",disabled:t.batchDeleting},on:{click:function(a){return u.togglePin(r.item)}}},[n("svg",{staticClass:"ai-chat-sessions__pin-icon",attrs:{viewBox:"0 0 16 16","aria-hidden":"true"}},[n("path",{attrs:{d:"M6.2 2.4h3.6l-.45 3.1 2.15 1.35v1.15H8.6v5.5H7.4V8H4.5V6.85l2.15-1.35-.45-3.1z",fill:"currentColor"}})])]),n("button",{staticClass:"ai-chat-sessions__move",attrs:{type:"button","aria-expanded":u.movingId===r.item.session_id?"true":"false"},on:{click:function(a){return u.toggleMove(r.item,a)}}},[t._v(t._s(u.label("moveIn")))]),n("button",{staticClass:"ai-chat-sessions__delete",attrs:{type:"button"},on:{click:function(a){return t.$emit("request-delete",r.item)}}},[t._v(t._s(u.label("delete")))])])]],2)])]})],2),n("div",{staticClass:"ai-chat-sessions__foot"},[u.creating?n("form",{staticClass:"ai-chat-sessions__create",on:{submit:function(r){return r.preventDefault(),u.commitDir.apply(null,arguments)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:u.dirName,expression:"dirName"}],ref:"dirInput",staticClass:"ai-chat-sessions__create-input",attrs:{maxlength:"24",placeholder:u.label("dirPlaceholder"),"aria-label":u.label("dirPlaceholder")},domProps:{value:u.dirName},on:{input:function(r){r.target.composing||(u.dirName=r.target.value)}}}),n("button",{staticClass:"ai-chat-sessions__new",attrs:{type:"submit",disabled:!u.dirName.trim()}},[t._v(t._s(u.label("create")))]),n("button",{staticClass:"ai-chat-sessions__cancel",attrs:{type:"button"},on:{click:u.cancelCreate}},[t._v(t._s(u.label("cancel")))])]):t._e(),u.picking?n("div",{staticClass:"ai-chat-sessions__bar",class:{"is-confirm":u.confirming}},[u.confirming?[n("span",{staticClass:"ai-chat-sessions__ask"},[t._v(t._s(u.label("batchAsk",{count:u.pickedCount})))]),n("button",{staticClass:"ai-chat-sessions__confirm",attrs:{type:"button",disabled:t.batchDeleting||!u.pickedCount},on:{click:u.confirmBatch}},[t._v(t._s(t.batchDeleting?u.label("deleting"):u.label("delete")))]),n("button",{staticClass:"ai-chat-sessions__cancel",attrs:{type:"button",disabled:t.batchDeleting},on:{click:function(r){u.confirming=!1}}},[t._v(t._s(u.label("cancel")))])]:[n("label",{staticClass:"ai-chat-sessions__all"},[n("input",{ref:"allRef",attrs:{type:"checkbox",disabled:t.batchDeleting||!t.sessions.length},domProps:{checked:u.allPicked},on:{change:u.toggleAll}}),t._v(" "+t._s(u.label("selectAll"))+" ")]),n("span",{staticClass:"ai-chat-sessions__count"},[t._v(t._s(u.label("selected",{count:u.pickedCount})))]),n("span",{staticClass:"ai-chat-sessions__bar-side"},[n("button",{staticClass:"ai-chat-sessions__confirm",attrs:{type:"button",disabled:t.batchDeleting||!u.pickedCount},on:{click:function(r){u.confirming=!0}}},[t._v(t._s(u.label("delete")))]),n("button",{staticClass:"ai-chat-sessions__cancel",attrs:{type:"button",disabled:t.batchDeleting},on:{click:u.stopPicking}},[t._v(t._s(u.label("cancel")))])])]],2):n("div",{staticClass:"ai-chat-sessions__actions"},[t.sessions.length?n("button",{staticClass:"ai-chat-sessions__batch",attrs:{type:"button",disabled:t.batchDeleting},on:{click:u.startPicking}},[t._v(t._s(u.label("batch")))]):t._e(),n("button",{staticClass:"ai-chat-sessions__batch",attrs:{type:"button",disabled:t.batchDeleting},on:{click:u.startCreate}},[t._v(t._s(u.label("folder")))]),n("button",{staticClass:"ai-chat-sessions__new",attrs:{type:"button",disabled:t.batchDeleting},on:{click:function(r){return t.$emit("create")}}},[t._v(t._s(t.createText))])])]),n("div",{staticClass:"ai-chat-sessions__dock"},[t.sessions.length?n("button",{staticClass:"ai-chat-sessions__dock-btn",attrs:{type:"button",title:u.label("batch"),"aria-label":u.label("batch"),disabled:t.batchDeleting},on:{click:u.dockPick}},[n("svg",{attrs:{viewBox:"0 0 16 16","aria-hidden":"true"}},[n("path",{attrs:{d:"M3 4.5h10M3 8h10M3 11.5h10",fill:"none",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"}})])]):t._e(),n("button",{staticClass:"ai-chat-sessions__dock-btn",attrs:{type:"button",title:u.label("folder"),"aria-label":u.label("folder"),disabled:t.batchDeleting},on:{click:u.dockCreate}},[n("svg",{attrs:{viewBox:"0 0 16 16","aria-hidden":"true"}},[n("path",{attrs:{d:"M2.5 4.5h4l1.2 1.4H13.5V12H2.5z",fill:"none",stroke:"currentColor","stroke-width":"1.3","stroke-linejoin":"round"}})])]),n("button",{staticClass:"ai-chat-sessions__dock-btn is-primary",attrs:{type:"button",title:t.createText,"aria-label":t.createText,disabled:t.batchDeleting},on:{click:function(r){return t.$emit("create")}}},[n("svg",{attrs:{viewBox:"0 0 16 16","aria-hidden":"true"}},[n("path",{attrs:{d:"M8 3.5v9M3.5 8h9",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}})])])]),u.movingItem?n("div",{ref:"movePopRef",staticClass:"ai-chat-sessions__popover",style:{left:u.movePop.x+"px",top:u.movePop.y+"px"},attrs:{role:"dialog","aria-label":u.label("moveDialog")}},[n("p",{staticClass:"ai-chat-sessions__menu-label"},[t._v(t._s(u.label("moveTo")))]),t._l(u.book.dirs,function(r){return n("button",{key:r.id,class:{"is-current":u.taskDirId(u.movingItem)===r.id},attrs:{type:"button",disabled:u.taskDirId(u.movingItem)===r.id},on:{click:function(a){return u.moveTask(u.movingItem,r.id)}}},[t._v(t._s(r.name))])}),u.taskNested(u.movingItem)?n("button",{attrs:{type:"button"},on:{click:function(r){return u.moveTask(u.movingItem,"")}}},[t._v(t._s(u.label("moveOut")))]):t._e(),u.book.dirs.length?t._e():n("p",{staticClass:"ai-chat-sessions__menu-label"},[t._v(t._s(u.label("dirEmpty")))])],2):t._e(),u.menu?n("div",{ref:"menuRef",staticClass:"ai-chat-sessions__menu",style:{left:u.menu.x+"px",top:u.menu.y+"px"},attrs:{role:"menu"},on:{contextmenu:function(r){r.preventDefault(),r.stopPropagation()}}},[u.menu.type==="blank"?n("button",{attrs:{type:"button",role:"menuitem"},on:{click:u.menuCreate}},[t._v(t._s(u.label("createDir")))]):u.menu.type==="task"?[n("p",{staticClass:"ai-chat-sessions__menu-label"},[t._v(t._s(u.label("moveTo")))]),t._l(u.book.dirs,function(r){return n("button",{key:r.id,attrs:{type:"button",role:"menuitem",disabled:u.taskDirId(u.menu.item)===r.id},on:{click:function(a){return u.menuMove(r.id)}}},[t._v(t._s(r.name))])}),u.taskNested(u.menu.item)?n("button",{attrs:{type:"button",role:"menuitem"},on:{click:function(r){return u.menuMove("")}}},[t._v(t._s(u.label("moveOutDir")))]):t._e(),u.book.dirs.length?t._e():n("p",{staticClass:"ai-chat-sessions__menu-label"},[t._v(t._s(u.label("dirEmptyMenu")))]),n("button",{staticClass:"is-danger",attrs:{type:"button",role:"menuitem"},on:{click:u.menuDeleteTask}},[t._v(t._s(u.label("delete")))])]:u.menu.type==="folder"?[n("button",{attrs:{type:"button",role:"menuitem"},on:{click:u.menuRename}},[t._v(t._s(u.label("renameDir")))]),n("button",{staticClass:"is-danger",attrs:{type:"button",role:"menuitem"},on:{click:u.menuDeleteFolder}},[t._v(t._s(u.label("deleteDir")))])]:t._e()],2):t._e(),n("div",{staticClass:"ai-chat-sessions__resize",attrs:{role:"separator","aria-orientation":"vertical","aria-label":u.label("resize"),"aria-valuenow":u.collapsed?44:u.paneWidth,"aria-valuemin":220,"aria-valuemax":480,tabindex:"0",title:u.label("resizeTip")},on:{pointerdown:u.onResizePointerDown,keydown:u.onResizeKey,contextmenu:function(r){r.stopPropagation(),r.preventDefault()}}})])},Md=[],Od=Pe(Rd,Fd,Md);const uo=Od.exports;function Id(){if(typeof DOMException=="function")return new DOMException("The operation was aborted","AbortError");var e=new Error("The operation was aborted");return e.name="AbortError",e}function Nd(e){return typeof e=="function"?e()||{}:e||{}}function Ld(e){if(typeof e=="string")return{token:e};if(!e||typeof e!="object")return{token:""};var t=typeof e.delta=="string"||typeof e.content=="string"||typeof e.token=="string"||typeof e.text=="string";if(!t&&e.error){var n=typeof e.error=="string"?e.error:e.error.message;if(n){var u=new Error(n);throw u.status=e.error.status||e.status,u}}var r=e.meta;if(!r&&e.usage&&(r={usage:e.usage}),typeof e.delta=="string")return{token:e.delta,meta:r};if(typeof e.content=="string")return{token:e.content,meta:r};if(typeof e.token=="string")return{token:e.token,meta:r};if(typeof e.text=="string")return{token:e.text,meta:r};var a=e.choices&&e.choices[0];return a&&a.delta&&typeof a.delta.content=="string"?{token:a.delta.content,meta:r}:r?{token:"",meta:r}:{token:""}}function Pd(e,t){var n=t?t(e):Ld(e);return n==null?null:typeof n=="string"?{token:n}:n}function zd(e,t,n){e&&(e.meta&&n&&n(e.meta),e.token&&t(String(e.token)))}function Bd(e,t,n,u){var r=e.trim();if(!r||r.charAt(0)===":"||r.indexOf("data:")!==0)return!1;var a=r.slice(5).trim();if(!a)return!1;if(a==="[DONE]")return!0;var i=a;try{i=JSON.parse(a)}catch(o){i=a}try{zd(Pd(i,t),n,u)}catch(o){if(typeof i=="string")return n(i),!1;throw o}return!1}function ro(e){var t=e||{};if(!t.url)throw new Error("createSseAdapter 需要 url");var n=t.fetchImpl||fetch;return{send(r){return $n(this,null,function*(){var a=r.messages,i=r.context,o=r.signal,s=r.onToken,c=r.onMeta;if(o&&o.aborted)throw Id();var f=t.transformRequest?t.transformRequest({messages:a,context:i,files:r.files||[]}):{messages:a,context:i},d=typeof FormData!="undefined"&&f instanceof FormData,h=Object.assign({Accept:"text/event-stream"},Nd(t.headers));d?(delete h["Content-Type"],delete h["content-type"]):!h["Content-Type"]&&!h["content-type"]&&(h["Content-Type"]="application/json");var g=d||typeof f=="string"?f:JSON.stringify(f),b={method:t.method||"POST",headers:h,body:g,signal:o};t.credentials&&(b.credentials=t.credentials);var C=yield n(t.url,b);if(!C.ok){var O="";try{O=yield C.text()}catch(q){O=""}var P=new Error("SSE 请求失败: "+C.status+(O?" "+String(O).slice(0,180):""));throw P.status=C.status,P}if(!C.body||typeof C.body.getReader!="function")throw new Error("当前环境不支持 ReadableStream");var B=C.body.getReader(),R=new TextDecoder("utf-8"),y="";function A(q){var k=q.split(`
34
+ `);y=k.pop();for(var j=0;j<k.length;j+=1)if(Bd(k[j],t.transformChunk,s,c))return!0;return!1}try{for(;;){var z=yield B.read();if(z.done)break;if(y+=R.decode(z.value,{stream:!0}),A(y)){typeof B.cancel=="function"&&(yield B.cancel());return}}if(y+=R.decode(),y&&A(y+`
35
+ `))return}finally{if(typeof B.releaseLock=="function")try{B.releaseLock()}catch(q){}}})}}}function pu(){if(typeof DOMException=="function")return new DOMException("The operation was aborted","AbortError");var e=new Error("The operation was aborted");return e.name="AbortError",e}function ao(e,t){return new Promise(function(n,u){if(t&&t.aborted){u(pu());return}var r=setTimeout(function(){i(),n()},e);function a(){clearTimeout(r),i(),u(pu())}function i(){t&&t.removeEventListener("abort",a)}t&&t.addEventListener("abort",a)})}function Ud(e){if(e.indexOf("[[unclosed]]")!==-1)return`下面是一段还没写完的代码,渲染应降级而不是抛错:
36
+
37
+ \`\`\`js
38
+ function stream() {
39
+ const value = "未闭合`;if(e.indexOf("[[table]]")!==-1){for(var t=["| 序号 | 任务 | 状态 | 耗时 |","| --- | --- | --- | --- |"],n=1;n<=24;n+=1)t.push("| "+n+" | 巡检项-"+n+" | 通过 | "+n*3+"ms |");return`超长表格在流式中间态也应保持可滚动、不崩溃:
40
+
41
+ `+t.join(`
42
+ `)}return["已收到:「"+e+"」。","","这轮回复走的是完整流式路径:","","1. 先落下用户消息","2. 再创建一条 `streaming` 的助手消息","3. adapter 按 token 追加 `content`","4. 正常结束标记 `done`,手动停止标记 `aborted`","","| 状态 | 含义 |","| --- | --- |","| streaming | 正在输出 |","| done | 正常结束 |","| aborted | 用户停止 |","| error | 请求失败 |","","```js","function onToken(delta) {"," assistant.content += delta","}","```","","同一时刻只允许一条流式请求。"].join(`
43
+ `)}function io(e){var t=e||{},n=t.delay==null?40:t.delay,u=t.chunkSize||6,r=Object.create(null);return{send(i){return $n(this,null,function*(){for(var o=i.messages||[],s=i.context||{},c=i.signal,f=i.onToken,d=i.onMeta,h="",g=o.length-1;g>=0;g-=1)if(o[g].role==="user"){h=o[g].content||"";break}if(yield ao(Math.min(n,120),c),c&&c.aborted)throw pu();if(s.forceError||h.indexOf("[[error]]")!==-1&&!r[h])throw h.indexOf("[[error]]")!==-1&&(r[h]=!0),new Error("模拟上游服务暂不可用");var b=t.reply?t.reply({messages:o,context:s,text:h}):Ud(h),C={promptTokens:h.length,completionTokens:b.length,totalTokens:h.length+b.length};d&&d({model:"mock-stream",usage:C});for(var O=0;O<b.length;O+=u){if(c&&c.aborted)throw pu();yield ao(n,c),f(b.slice(O,O+u))}})}}}var oo={title:"对话",placeholder:"输入消息,Enter 发送,Shift + Enter 换行"},Gd={upstream:"",apiBase:"",chatPath:"/api/v1/post/invoke",sessionsPath:"/api/v1/post/sessions",sessionPath:"/api/v1/post/session",callbackUrl:"",sessionId:""},Hd={baseUrl:"",devBaseUrl:"",model:"",apiKey:""},jd={baseUrl:"",devBaseUrl:"",model:"",apiKey:""};function qt(e,t){var n=t==null?"":String(t);if(!n)return e?String(e):"";if(/^https?:\/\//i.test(n))return n;var u=String(e||"").replace(/\/$/,""),r=n.charAt(0)==="/"?n:"/"+n;return u+r}function so(e){var t=String(e||"").replace(/\/$/,"");return/\/chat\/completions$/i.test(t)?t:t+"/chat/completions"}function $d(e,t){var n={};return t.forEach(function(u){e&&e[u]!=null&&e[u]!==""&&(n[u]=e[u])}),n}function co(e){var t=e&&typeof e=="object"?e:{},n=t.providers||{},u=t.provider||"langchain";u!=="langchain"&&u!=="openai"&&u!=="deepseek"&&u!=="mock"&&(u="langchain");var r=Object.assign({},Gd,$d(t,["upstream","apiBase","chatPath","sessionsPath","sessionPath","callbackUrl","sessionId"]),n.langchain||{});r.sessionId=r.sessionId==null?"":String(r.sessionId),r.chatUrl=qt(r.apiBase,r.chatPath),r.sessionsUrl=qt(r.apiBase,r.sessionsPath),r.sessionUrl=qt(r.apiBase,r.sessionPath);var a=Object.assign({},Hd,n.openai||{});a.chatUrl=a.baseUrl?so(a.baseUrl):"";var i=Object.assign({},jd,n.deepseek||{});i.chatUrl=i.baseUrl?so(i.baseUrl):"";var o=u==="openai"?a:u==="deepseek"?i:r;return{title:t.title||oo.title,placeholder:t.placeholder||oo.placeholder,debug:t.debug===!0||t.debug===1||t.debug==="1"||t.debug==="true",context:Object.assign({},t.context||{}),provider:u,providers:{langchain:r,openai:a,deepseek:i},sessionId:r.sessionId,upstream:r.upstream,apiBase:r.apiBase,chatPath:r.chatPath,sessionsPath:r.sessionsPath,sessionPath:r.sessionPath,chatUrl:o.chatUrl||r.chatUrl,sessionsUrl:r.sessionsUrl,sessionUrl:r.sessionUrl}}function qd(e){var t=e||"/ai-chat.config.json";return fetch(t,{cache:"no-store"}).then(function(n){if(!n.ok)throw new Error("运行时配置加载失败: "+n.status);return n.json()}).then(co)}function lo(){if(typeof DOMException=="function")return new DOMException("The operation was aborted","AbortError");var e=new Error("The operation was aborted");return e.name="AbortError",e}function Zd(e){for(var t=e||[],n=t.length-1;n>=0;n-=1)if(t[n]&&t[n].role==="user")return t[n].content||"";return""}function Wd(e){return typeof e=="function"?e()||{}:e||{}}function Vd(e,t){var n=String(Zd(e)||"").trim();return t&&t.length&&n.indexOf("[附件] ")===0?"":n}function Xd(e){return e?typeof e.detail=="string"?e.detail:Array.isArray(e.detail)?e.detail.map(function(t){if(!t)return"";if(typeof t=="string")return t;var n=Array.isArray(t.loc)?t.loc.filter(function(u){return u!=="body"}).join("."):"";return n?n+" "+(t.msg||""):t.msg||""}).filter(Boolean).join("; "):e.message?String(e.message):e.error&&e.error.message?String(e.error.message):typeof e.raw=="string"?e.raw.slice(0,180):"":""}function Yd(e){return e.text().then(function(t){if(!t)return null;try{return JSON.parse(t)}catch(n){return{raw:t}}}).catch(function(){return null})}function Kd(e,t,n){var u=Xd(t),r=new Error(n+": "+e+(u?" "+u:""));return r.status=e,r}function fo(e){var t="message",n=[];if(String(e||"").split(/\r?\n/).forEach(function(a){!a||a.charAt(0)===":"||(a.indexOf("event:")===0?t=a.slice(6).trim():a.indexOf("data:")===0&&n.push(a.slice(5).replace(/^ /,"")))}),t==="message"&&!n.length)return null;var u=n.join(`
44
+ `),r={};if(u)try{r=JSON.parse(u)}catch(a){r={raw:u}}return{name:t,payload:r&&typeof r=="object"?r:{raw:u}}}function Qd(e,t){var n=t&&t.report_name;return n?qt(e||"","/api/v1/post/reports/"+encodeURIComponent(String(n))):""}function wr(e){var t=e||{},n=t.url||t.chatUrl||qt(t.apiBase||"",t.chatPath||"/api/v1/post/invoke");function u(){return typeof t.getSessionId=="function"?t.getSessionId()||"":t.sessionId||""}function r(i){!i||typeof t.onSession!="function"||t.onSession(String(i))}return{send(i){return $n(this,null,function*(){var o=i.signal,s=i.onToken,c=i.onMeta,f=i.onReplace,d=i.files||[];if(o&&o.aborted)throw lo();var h=t.fetchImpl||fetch,g=Wd(t.headers),b=u(),C=new FormData,O=Vd(i.messages,d);O&&C.append("task",O),b&&C.append("session_id",b);for(var P=0;P<d.length;P+=1){var B=d[P];B&&C.append("file",B,B.name||"file")}var R=Object.assign({Accept:"text/event-stream"},g);delete R["Content-Type"],delete R["content-type"];var y={method:"POST",headers:R,body:C,signal:o};t.credentials&&(y.credentials=t.credentials);var A=yield h(n,y);if(!A.ok){var z=yield Yd(A);throw Kd(A.status,z,"请求失败")}var q=A.headers.get("x-session-id")||b,k=A.headers.get("x-request-id")||"";if(q&&r(q),c&&(q||k)&&c({sessionId:q,requestId:k}),!A.body||typeof A.body.getReader!="function")throw new Error("当前环境不支持 ReadableStream");var j=A.body.getReader(),K=new TextDecoder("utf-8"),I="",F=null,Y=!1;function V(M){if(!(!M||F)){var U=M.name,H=M.payload||{};if(U==="delegate"){Y=!0,f&&f(""),c&&c({agent:H.agent||"",sessionId:q,requestId:k});return}if(U==="token"){if(!Y)return;var Q=H.text==null?"":String(H.text);Q&&s&&s(Q);return}if(U==="report"){var ne=H.report&&typeof H.report=="object"?H.report:H;c&&c({report:ne,reportUrl:Qd(t.apiBase,ne),sessionId:q,requestId:k});return}if(U==="result"){var ie=H.answer==null?"":String(H.answer);f?f(ie):ie&&s&&s(ie),c&&c({suggestions:Array.isArray(H.suggestions)?H.suggestions:[],sessionId:q,requestId:k});return}U==="error"&&(F=new Error(H.message||"推理失败"))}}function Z(M){M&&(I+=M);var U=I.split(/\r?\n\r?\n/);I=U.pop();for(var H=0;H<U.length;H+=1)V(fo(U[H]))}try{for(;!F;){var E=yield j.read();if(E.done)break;Z(K.decode(E.value,{stream:!0}))}F||(I+=K.decode(),I.trim()&&V(fo(I)))}finally{if(typeof j.cancel=="function")try{yield j.cancel()}catch(M){}if(typeof j.releaseLock=="function")try{j.releaseLock()}catch(M){}}if(o&&o.aborted)throw lo();if(F)throw F})}}}function Jd(e){var t=String(e||"").replace(/\/$/,"");return/\/chat\/completions$/i.test(t)?t:t+"/chat/completions"}function e1(e){return(e||[]).filter(function(t){return t&&t.role&&t.content}).map(function(t){return{role:t.role,content:String(t.content)}})}function Dr(e){var t=e||{},n=t.name||"OpenAI",u=t.baseUrl||"",r=t.url||t.chatUrl||(u?Jd(u):"");if(!r)throw new Error(n+" 需要在运行时配置里填写 baseUrl");return ro({url:r,method:"POST",credentials:t.credentials,fetchImpl:t.fetchImpl,headers:function(){var a={};t.apiKey&&(a.Authorization="Bearer "+t.apiKey);var i=typeof t.headers=="function"?t.headers():t.headers||{};return Object.assign(a,i)},transformRequest:function(a){if(!t.apiKey)throw new Error(n+" 需要在运行时配置里填写 apiKey");if(!t.model)throw new Error(n+" 需要在运行时配置里填写 model");return{model:t.model,stream:!0,messages:e1(a.messages)}}})}function t1(e,t){var n=e||{},u=n.provider||"langchain",r=n.providers&&n.providers[u]?n.providers[u]:n,a=Object.assign({},r,t||{});return u==="mock"?io(a):u==="openai"?(a.name="OpenAI",Dr(a)):u==="deepseek"?(a.name="DeepSeek",Dr(a)):wr(a)}function n1(e){if(!e)return Date.now();var t=Date.parse(String(e).replace(" ","T"));return isNaN(t)?Date.now():t}function u1(e,t){var n=[];return(e||[]).forEach(function(u,r){var a=n1(u&&u.time),i=String(t||"session")+"-"+String(u&&u.turn!=null?u.turn:r);u&&u.question&&n.push({id:i+"-q",role:"user",content:String(u.question),status:"done",createdAt:a}),u&&u.answer&&n.push({id:i+"-a",role:"assistant",content:String(u.answer),status:"done",createdAt:a,metadata:{turn:u.turn,time:u.time}})}),n}function hu(e,t){return fetch(e,t).then(function(n){if(!n.ok){var u=new Error((t&&t.method==="DELETE"?"删除失败 ":"请求失败 ")+n.status);throw u.status=n.status,u}return n.json()})}function r1(e){var t=e||{},n=t.sessionsUrl||qt(t.apiBase||"",t.sessionsPath||"/api/v1/post/sessions"),u=t.sessionUrl||qt(t.apiBase||"",t.sessionPath||"/api/v1/post/session");return{list:function(){return hu(n,{method:"GET"}).then(function(r){return Array.isArray(r)?r:[]})},history:function(r){return hu(u+"/"+encodeURIComponent(r)+"/history",{method:"GET"})},remove:function(r){return hu(u+"/"+encodeURIComponent(r),{method:"DELETE"})},removeMany:function(r,a){var i=[];(r||[]).forEach(function(f){var d=f&&f.session_id?f.session_id:f;d=d==null?"":String(d),d&&i.indexOf(d)===-1&&i.push(d)});var o=[],s=[];function c(f){if(f>=i.length)return Promise.resolve({deleted:o,failed:s});var d=i[f];return typeof a=="function"&&a({index:f+1,total:i.length,sessionId:d}),hu(u+"/"+encodeURIComponent(d),{method:"DELETE"}).then(function(h){h&&h.deleted===!0?o.push(d):s.push({sessionId:d,message:"删除失败"})},function(h){h&&h.status===404?o.push(d):s.push({sessionId:d,message:h&&h.message?h.message:"删除失败"})}).then(function(){return c(f+1)})}return c(0)}}}var a1=[Qi,xr,yr,kr,uo,Er,dr];function po(e){a1.forEach(function(t){t&&t.name&&e.component(t.name,t)})}const i1={install:po};ae.AiBubble=xr,ae.AiBubbleList=yr,ae.AiChat=Qi,ae.AiSender=kr,ae.AiSessionList=uo,ae.AiTurnRail=Er,ae.ErrorPart=Pi,ae.MarkdownPart=Ni,ae.MessageRenderer=dr,ae.TextPart=Br,ae.createChatApiAdapter=wr,ae.createLangchainAdapter=wr,ae.createMockAdapter=io,ae.createOpenAiAdapter=Dr,ae.createProviderAdapter=t1,ae.createSessionClient=r1,ae.createSseAdapter=ro,ae.default=i1,ae.defaultChatLabels=Dn,ae.defaultSessionLabels=Li,ae.install=po,ae.loadRuntimeConfig=qd,ae.normalizeRuntimeConfig=co,ae.register=qn,ae.resolve=Wn,ae.turnsToMessages=u1,Object.defineProperties(ae,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
45
+ //# sourceMappingURL=ai-chat.umd.js.map