openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
45 lines • 209 kB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./markdown-highlight-runtime-JnaomDDD.js","./control-ui-connection-D5QrEAFW.css","./control-ui-boot-shared-styles-BorAdMVO.css"])))=>i.map(i=>d[i]);
import{n as e,r as t}from"./rolldown-runtime-CNOWq4Kh.js";import{Ai as n,Cr as r,Dr as i,G as a,Ho as o,Oa as s,Qt as c,Sa as l,Sr as u,Xt as d,Yt as f,eo as p,ka as m,lo as h,lu as g,nu as _,q as v,ql as y,ss as b,to as x,uu as S,vi as C,wa as w,xa as ee}from"./control-ui-connection-Bfj9beF_.js";import{Bd as te,Ec as T,Ev as ne,HA as re,JE as ie,MA as ae,Rx as oe,Tc as se,Tv as ce,UA as le,Vd as ue,Vk as de,XE as fe,XO as pe,YE as me,bD as he,jb as E,kb as ge,md as _e,mp as ve,nk as ye,pp as be,vD as xe,zk as Se,zx as Ce}from"./control-ui-boot-shared-DFTSUQQ0.js";import{B as we,U as D}from"./solid-runtime-C416s-HC.js";import{$n as Te,ar as O,er as Ee,ir as k,nr as De,rr as Oe,tr as ke}from"./deferred-ui-support-D-VedBtc.js";var Ae,je,Me,Ne,A;function Pe(){return(Pe=e((()=>{Ae=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],je=[12288,12288,65281,65376,65504,65510],Me=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],Ne=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],A=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101594,101631,101664,101760,101874,101888,102801,102816,102866,110576,110579,110581,110587,110589,110590,110592,110888,110898,110898,110928,110930,110933,110933,110948,110952,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127406,127406,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128729,128732,128735,128747,128748,128756,128764,128986,128986,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129734,129736,129736,129740,129757,129759,129771,129775,129786,131072,196605,196608,262141]})))()}var j;function Fe(){return(Fe=e((()=>{j=(e,t)=>{let n=0,r=Math.floor(e.length/2)-1;for(;n<=r;){let i=Math.floor((n+r)/2),a=i*2;if(t<e[a])r=i-1;else if(t>e[a+1])n=i+1;else return!0}return!1}})))()}function Ie(e){let t=e[0],n=e[1];for(let r=0;r<e.length;r+=2){let i=e[r],a=e[r+1];if(Re>=i&&Re<=a)return[i,a];a-i>n-t&&(t=i,n=a)}return[t,n]}function Le(e){return Ve(e)?`ambiguous`:He(e)?`fullwidth`:Ue(e)?`halfwidth`:We(e)?`narrow`:Ge(e)?`wide`:`neutral`}var Re,ze,Be,Ve,He,Ue,We,Ge;function Ke(){return(Ke=e((()=>{Pe(),Fe(),Re=19968,[ze,Be]=Ie(A),Ve=e=>e<161||e>1114109?!1:j(Ae,e),He=e=>e<12288||e>65510?!1:j(je,e),Ue=e=>e<8361||e>65518?!1:j(Me,e),We=e=>e<32||e>10630?!1:j(Ne,e),Ge=e=>e>=ze&&e<=Be?!0:e<4352||e>262141?!1:j(A,e)})))()}function qe(e){if(!Number.isSafeInteger(e))throw TypeError(`Expected a code point, got \`${typeof e}\`.`)}function Je(e){return qe(e),Le(e)}function Ye(){return(Ye=e((()=>{Ke()})))()}var Xe,Ze;function Qe(){return(Qe=e((()=>{m(),Xe={chat:{codeBlock:{languageFallback:`Code`,hiddenLine:`1 hidden line`,hiddenLines:`{count} hidden lines`,showHiddenLine:`Show 1 hidden line`,showHiddenLines:`Show {count} hidden lines`,enableWrap:`Enable word wrap`,disableWrap:`Disable word wrap`,jsonView:`JSON view`,jsonTree:`Tree`,jsonRaw:`Raw`,jsonArrayItem:`Array ({count} item)`,jsonArrayItems:`Array ({count} items)`,jsonObjectKeys:`Object ({count} keys)`},mermaid:{title:`Mermaid diagram`,options:`Diagram options`,diagram:`Show diagram`,source:`Show source`,copySource:`Copy source`,expand:`Expand diagram`,expandNamed:`Expand diagram: {title}`,rendering:`Rendering diagram…`,error:`This diagram could not be rendered. Check the source or simplify the diagram.`,rendererError:`The Mermaid renderer could not load or finish. Reload the dashboard; if this continues, check proxy or authentication rules for its renderer asset URLs.`,imageError:`The diagram image could not be displayed. Reload the dashboard to try again.`}}},Ze=Object.assign(()=>{Object.assign(s.chat.codeBlock,Xe.chat.codeBlock),Object.assign(s.chat.mermaid,Xe.chat.mermaid)},{catalog:Xe})})))()}function $e(e,t,n,r,i=()=>!0){let a=(et.get(e)??0)+1;et.set(e,a);let o=()=>e.isConnected&&et.get(e)===a&&n();ce(t,()=>o()&&i()).then(t=>{o()&&(r(t),clearTimeout(tt.get(e)),tt.set(e,setTimeout(()=>{r(void 0),tt.delete(e)},t?1500:2e3)))})}var et,tt;function nt(){return(nt=e((()=>{ne(),et=new WeakMap,tt=new WeakMap})))()}function M(e,t=!1){let n=e.length,r=0,i=``,a=0,o=16,s=0,c=0,l=0,u=0,d=0;function f(t,n){let i=0,a=0;for(;i<t||!n;){let t=e.charCodeAt(r);if(t>=48&&t<=57)a=a*16+t-48;else if(t>=65&&t<=70)a=a*16+t-65+10;else if(t>=97&&t<=102)a=a*16+t-97+10;else break;r++,i++}return i<t&&(a=-1),a}function p(e){r=e,i=``,a=0,o=16,d=0}function m(){let t=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&at(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46){if(r++,r<e.length&&at(e.charCodeAt(r)))for(r++;r<e.length&&at(e.charCodeAt(r));)r++;else return d=3,e.substring(t,r)}let n=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101)){if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&at(e.charCodeAt(r))){for(r++;r<e.length&&at(e.charCodeAt(r));)r++;n=r}else d=3}return e.substring(t,n)}function h(){let t=``,i=r;for(;;){if(r>=n){t+=e.substring(i,r),d=2;break}let a=e.charCodeAt(r);if(a===34){t+=e.substring(i,r),r++;break}if(a===92){if(t+=e.substring(i,r),r++,r>=n){d=2;break}switch(e.charCodeAt(r++)){case 34:t+=`"`;break;case 92:t+=`\\`;break;case 47:t+=`/`;break;case 98:t+=`\b`;break;case 102:t+=`\f`;break;case 110:t+=`
`;break;case 114:t+=`\r`;break;case 116:t+=` `;break;case 117:let e=f(4,!0);e>=0?t+=String.fromCharCode(e):d=4;break;default:d=5}i=r}else{if(a>=0&&a<=31){if(it(a)){t+=e.substring(i,r),d=2;break}d=6}r++}}return t}function g(){if(i=``,d=0,a=r,c=s,u=l,r>=n)return a=n,o=17;let t=e.charCodeAt(r);if(rt(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(rt(t));return o=15}if(it(t))return r++,i+=String.fromCharCode(t),t===13&&e.charCodeAt(r)===10&&(r++,i+=`
`),s++,l=r,o=14;switch(t){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,i=h(),o=10;case 47:let c=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!it(e.charCodeAt(r));)r++;return i=e.substring(c,r),o=12}if(e.charCodeAt(r+1)===42){r+=2;let t=n-1,a=!1;for(;r<t;){let t=e.charCodeAt(r);if(t===42&&e.charCodeAt(r+1)===47){r+=2,a=!0;break}r++,it(t)&&(t===13&&e.charCodeAt(r)===10&&r++,s++,l=r)}return a||(r++,d=1),i=e.substring(c,r),o=13}return i+=String.fromCharCode(t),r++,o=16;case 45:if(i+=String.fromCharCode(t),r++,r===n||!at(e.charCodeAt(r)))return o=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=m(),o=11;default:for(;r<n&&_(t);)r++,t=e.charCodeAt(r);if(a!==r){switch(i=e.substring(a,r),i){case`true`:return o=8;case`false`:return o=9;case`null`:return o=7}return o=16}return i+=String.fromCharCode(t),r++,o=16}}function _(e){if(rt(e)||it(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function v(){let e;do e=g();while(e>=12&&e<=15);return e}return{setPosition:p,getPosition:()=>r,scan:t?v:g,getToken:()=>o,getTokenValue:()=>i,getTokenOffset:()=>a,getTokenLength:()=>r-a,getTokenStartLine:()=>c,getTokenStartCharacter:()=>a-u,getTokenError:()=>d}}function rt(e){return e===32||e===9}function it(e){return e===10||e===13}function at(e){return e>=48&&e<=57}var ot;function st(){return(st=e((()=>{(function(e){e[e.lineFeed=10]=`lineFeed`,e[e.carriageReturn=13]=`carriageReturn`,e[e.space=32]=`space`,e[e._0=48]=`_0`,e[e._1=49]=`_1`,e[e._2=50]=`_2`,e[e._3=51]=`_3`,e[e._4=52]=`_4`,e[e._5=53]=`_5`,e[e._6=54]=`_6`,e[e._7=55]=`_7`,e[e._8=56]=`_8`,e[e._9=57]=`_9`,e[e.a=97]=`a`,e[e.b=98]=`b`,e[e.c=99]=`c`,e[e.d=100]=`d`,e[e.e=101]=`e`,e[e.f=102]=`f`,e[e.g=103]=`g`,e[e.h=104]=`h`,e[e.i=105]=`i`,e[e.j=106]=`j`,e[e.k=107]=`k`,e[e.l=108]=`l`,e[e.m=109]=`m`,e[e.n=110]=`n`,e[e.o=111]=`o`,e[e.p=112]=`p`,e[e.q=113]=`q`,e[e.r=114]=`r`,e[e.s=115]=`s`,e[e.t=116]=`t`,e[e.u=117]=`u`,e[e.v=118]=`v`,e[e.w=119]=`w`,e[e.x=120]=`x`,e[e.y=121]=`y`,e[e.z=122]=`z`,e[e.A=65]=`A`,e[e.B=66]=`B`,e[e.C=67]=`C`,e[e.D=68]=`D`,e[e.E=69]=`E`,e[e.F=70]=`F`,e[e.G=71]=`G`,e[e.H=72]=`H`,e[e.I=73]=`I`,e[e.J=74]=`J`,e[e.K=75]=`K`,e[e.L=76]=`L`,e[e.M=77]=`M`,e[e.N=78]=`N`,e[e.O=79]=`O`,e[e.P=80]=`P`,e[e.Q=81]=`Q`,e[e.R=82]=`R`,e[e.S=83]=`S`,e[e.T=84]=`T`,e[e.U=85]=`U`,e[e.V=86]=`V`,e[e.W=87]=`W`,e[e.X=88]=`X`,e[e.Y=89]=`Y`,e[e.Z=90]=`Z`,e[e.asterisk=42]=`asterisk`,e[e.backslash=92]=`backslash`,e[e.closeBrace=125]=`closeBrace`,e[e.closeBracket=93]=`closeBracket`,e[e.colon=58]=`colon`,e[e.comma=44]=`comma`,e[e.dot=46]=`dot`,e[e.doubleQuote=34]=`doubleQuote`,e[e.minus=45]=`minus`,e[e.openBrace=123]=`openBrace`,e[e.openBracket=91]=`openBracket`,e[e.plus=43]=`plus`,e[e.slash=47]=`slash`,e[e.formFeed=12]=`formFeed`,e[e.tab=9]=`tab`})(ot||={})})))()}var N,ct,lt,ut;function dt(){return(dt=e((()=>{N=Array(20).fill(0).map((e,t)=>` `.repeat(t)),ct=200,lt={" ":{"\n":Array(ct).fill(0).map((e,t)=>`
`+` `.repeat(t)),"\r":Array(ct).fill(0).map((e,t)=>`\r`+` `.repeat(t)),"\r\n":Array(ct).fill(0).map((e,t)=>`\r
`+` `.repeat(t))}," ":{"\n":Array(ct).fill(0).map((e,t)=>`
`+` `.repeat(t)),"\r":Array(ct).fill(0).map((e,t)=>`\r`+` `.repeat(t)),"\r\n":Array(ct).fill(0).map((e,t)=>`\r
`+` `.repeat(t))}},ut=[`
`,`\r`,`\r
`]})))()}function ft(e,t,n){let r,i,a,o,s;if(t){for(o=t.offset,s=o+t.length,a=o;a>0&&!ht(e,a-1);)a--;let c=s;for(;c<e.length&&!ht(e,c);)c++;i=e.substring(a,c),r=pt(i,n)}else i=e,r=0,a=0,o=0,s=e.length;let c=mt(n,e),l=ut.includes(c),u=0,d=0,f;f=n.insertSpaces?N[n.tabSize||4]??P(N[1],n.tabSize||4):` `;let p=f===` `?` `:` `,m=M(i,!1),h=!1;function g(){if(u>1)return P(c,u)+P(f,r+d);let e=f.length*(r+d);return!l||e>lt[p][c].length?c+P(f,r+d):e<=0?c:lt[p][c][e]}function _(){let e=m.scan();for(u=0;e===15||e===14;)e===14&&n.keepLines?u+=1:e===14&&(u=1),e=m.scan();return h=e===16||m.getTokenError()!==0,e}let v=[];function y(n,r,i){!h&&(!t||r<s&&i>o)&&e.substring(r,i)!==n&&v.push({offset:r,length:i-r,content:n})}let b=_();if(n.keepLines&&u>0&&y(P(c,u),0,0),b!==17){let e=m.getTokenOffset()+a;y(f.length*r<20&&n.insertSpaces?N[f.length*r]:P(f,r),a,e)}for(;b!==17;){let e=m.getTokenOffset()+m.getTokenLength()+a,t=_(),r=``,i=!1;for(;u===0&&(t===12||t===13);){let n=m.getTokenOffset()+a;y(N[1],e,n),e=m.getTokenOffset()+m.getTokenLength()+a,i=t===12,r=i?g():``,t=_()}if(t===2)b!==1&&d--,n.keepLines&&u>0||!n.keepLines&&b!==1?r=g():n.keepLines&&(r=N[1]);else if(t===4)b!==3&&d--,n.keepLines&&u>0||!n.keepLines&&b!==3?r=g():n.keepLines&&(r=N[1]);else{switch(b){case 3:case 1:d++,r=n.keepLines&&u>0||!n.keepLines?g():N[1];break;case 5:r=n.keepLines&&u>0||!n.keepLines?g():N[1];break;case 12:r=g();break;case 13:u>0?r=g():i||(r=N[1]);break;case 6:n.keepLines&&u>0?r=g():i||(r=N[1]);break;case 10:n.keepLines&&u>0?r=g():t===6&&!i&&(r=``);break;case 7:case 8:case 9:case 11:case 2:case 4:n.keepLines&&u>0?r=g():(t===12||t===13)&&!i?r=N[1]:t!==5&&t!==17&&(h=!0);break;case 16:h=!0}u>0&&(t===12||t===13)&&(r=g())}t===17&&(r=n.keepLines&&u>0?g():n.insertFinalNewline?c:``);let o=m.getTokenOffset()+a;y(r,e,o),b=t}return v}function P(e,t){let n=``;for(let r=0;r<t;r++)n+=e;return n}function pt(e,t){let n=0,r=0,i=t.tabSize||4;for(;n<e.length;){let t=e.charAt(n);if(t===N[1])r++;else if(t===` `)r+=i;else break;n++}return Math.floor(r/i)}function mt(e,t){for(let e=0;e<t.length;e++){let n=t.charAt(e);if(n===`\r`)return e+1<t.length&&t.charAt(e+1)===`
`?`\r
`:`\r`;if(n===`
`)return`
`}return e&&e.eol||`
`}function ht(e,t){return`\r
`.indexOf(e.charAt(t))!==-1}function gt(){return(gt=e((()=>{st(),dt()})))()}function _t(e,t=[],n=bt.DEFAULT){let r={type:`array`,offset:-1,length:-1,children:[],parent:void 0};function i(e){r.type===`property`&&(r.length=e-r.offset,r=r.parent)}function a(e){return r.children.push(e),e}vt(e,{onObjectBegin:e=>{r=a({type:`object`,offset:e,length:-1,parent:r,children:[]})},onObjectProperty:(e,t,n)=>{r=a({type:`property`,offset:t,length:-1,parent:r,children:[]}),r.children.push({type:`string`,value:e,offset:t,length:n,parent:r})},onObjectEnd:(e,t)=>{i(e+t),r.length=e+t-r.offset,r=r.parent,i(e+t)},onArrayBegin:(e,t)=>{r=a({type:`array`,offset:e,length:-1,parent:r,children:[]})},onArrayEnd:(e,t)=>{r.length=e+t-r.offset,r=r.parent,i(e+t)},onLiteralValue:(e,t,n)=>{a({type:yt(e),offset:t,length:n,parent:r,value:e}),i(t+n)},onSeparator:(e,t,n)=>{r.type===`property`&&(e===`:`?r.colonOffset=t:e===`,`&&i(t))},onError:(e,n,r)=>{t.push({error:e,offset:n,length:r})}},n);let o=r.children[0];return o&&delete o.parent,o}function vt(e,t,n=bt.DEFAULT){let r=M(e,!1),i=[],a=0;function o(e){return e?()=>a===0&&e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function s(e){return e?t=>a===0&&e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function c(e){return e?t=>a===0&&e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function l(e){return e?()=>{a>0?a++:e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice())===!1&&(a=1)}:()=>!0}function u(e){return e?()=>{a>0&&a--,a===0&&e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:()=>!0}let d=l(t.onObjectBegin),f=c(t.onObjectProperty),p=u(t.onObjectEnd),m=l(t.onArrayBegin),h=u(t.onArrayEnd),g=c(t.onLiteralValue),_=s(t.onSeparator),v=o(t.onComment),y=s(t.onError),b=n&&n.disallowComments,x=n&&n.allowTrailingComma;function S(){for(;;){let e=r.scan();switch(r.getTokenError()){case 4:C(14);break;case 5:C(15);break;case 3:C(13);break;case 1:b||C(11);break;case 2:C(12);break;case 6:C(16)}switch(e){case 12:case 13:b?C(10):v();break;case 16:C(1);break;case 15:case 14:break;default:return e}}}function C(e,t=[],n=[]){if(y(e),t.length+n.length>0){let e=r.getToken();for(;e!==17;){if(t.indexOf(e)!==-1){S();break}if(n.indexOf(e)!==-1)break;e=S()}}}function w(e){let t=r.getTokenValue();return e?g(t):(f(t),i.push(t)),S(),!0}function ee(){switch(r.getToken()){case 11:let e=r.getTokenValue(),t=Number(e);isNaN(t)&&(C(2),t=0),g(t);break;case 7:g(null);break;case 8:g(!0);break;case 9:g(!1);break;default:return!1}return S(),!0}function te(){return r.getToken()===10?(w(!1),r.getToken()===6?(_(`:`),S(),re()||C(4,[],[2,5])):C(5,[],[2,5]),i.pop(),!0):(C(3,[],[2,5]),!1)}function T(){d(),S();let e=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(e||C(4,[],[]),_(`,`),S(),r.getToken()===2&&x)break}else e&&C(6,[],[]);te()||C(4,[],[2,5]),e=!0}return p(),r.getToken()===2?S():C(7,[2],[]),!0}function ne(){m(),S();let e=!0,t=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(t||C(4,[],[]),_(`,`),S(),r.getToken()===4&&x)break}else t&&C(6,[],[]);e?(i.push(0),e=!1):i[i.length-1]++,re()||C(4,[],[4,5]),t=!0}return h(),e||i.pop(),r.getToken()===4?S():C(8,[4],[]),!0}function re(){switch(r.getToken()){case 3:return ne();case 1:return T();case 10:return w(!0);default:return ee()}}return S(),r.getToken()===17?n.allowEmptyContent?!0:(C(4,[],[]),!1):re()?(r.getToken()!==17&&C(9,[],[]),!0):(C(4,[],[]),!1)}function yt(e){switch(typeof e){case`boolean`:return`boolean`;case`number`:return`number`;case`string`:return`string`;case`object`:return e?Array.isArray(e)?`array`:`object`:`null`;default:return`null`}}var bt;function xt(){return(xt=e((()=>{st(),(function(e){e.DEFAULT={allowTrailingComma:!1}})(bt||={})})))()}function St(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}function Ct(){return(Ct=e((()=>{gt(),xt()})))()}function wt(e,t,n){return ft(e,t,n)}function Tt(e,t){let n=t.slice(0).sort((e,t)=>{let n=e.offset-t.offset;return n===0?e.length-t.length:n}),r=e.length;for(let t=n.length-1;t>=0;t--){let i=n[t];if(i.offset+i.length<=r)e=St(e,i);else throw Error(`Overlapping edit`);r=i.offset}return e}var Et,Dt,Ot,kt,At;function jt(){return(jt=e((()=>{gt(),Ct(),st(),xt(),Et=M,(function(e){e[e.None=0]=`None`,e[e.UnexpectedEndOfComment=1]=`UnexpectedEndOfComment`,e[e.UnexpectedEndOfString=2]=`UnexpectedEndOfString`,e[e.UnexpectedEndOfNumber=3]=`UnexpectedEndOfNumber`,e[e.InvalidUnicode=4]=`InvalidUnicode`,e[e.InvalidEscapeCharacter=5]=`InvalidEscapeCharacter`,e[e.InvalidCharacter=6]=`InvalidCharacter`})(Dt||={}),(function(e){e[e.OpenBraceToken=1]=`OpenBraceToken`,e[e.CloseBraceToken=2]=`CloseBraceToken`,e[e.OpenBracketToken=3]=`OpenBracketToken`,e[e.CloseBracketToken=4]=`CloseBracketToken`,e[e.CommaToken=5]=`CommaToken`,e[e.ColonToken=6]=`ColonToken`,e[e.NullKeyword=7]=`NullKeyword`,e[e.TrueKeyword=8]=`TrueKeyword`,e[e.FalseKeyword=9]=`FalseKeyword`,e[e.StringLiteral=10]=`StringLiteral`,e[e.NumericLiteral=11]=`NumericLiteral`,e[e.LineCommentTrivia=12]=`LineCommentTrivia`,e[e.BlockCommentTrivia=13]=`BlockCommentTrivia`,e[e.LineBreakTrivia=14]=`LineBreakTrivia`,e[e.Trivia=15]=`Trivia`,e[e.Unknown=16]=`Unknown`,e[e.EOF=17]=`EOF`})(Ot||={}),kt=_t,(function(e){e[e.InvalidSymbol=1]=`InvalidSymbol`,e[e.InvalidNumberFormat=2]=`InvalidNumberFormat`,e[e.PropertyNameExpected=3]=`PropertyNameExpected`,e[e.ValueExpected=4]=`ValueExpected`,e[e.ColonExpected=5]=`ColonExpected`,e[e.CommaExpected=6]=`CommaExpected`,e[e.CloseBraceExpected=7]=`CloseBraceExpected`,e[e.CloseBracketExpected=8]=`CloseBracketExpected`,e[e.EndOfFileExpected=9]=`EndOfFileExpected`,e[e.InvalidCommentToken=10]=`InvalidCommentToken`,e[e.UnexpectedEndOfComment=11]=`UnexpectedEndOfComment`,e[e.UnexpectedEndOfString=12]=`UnexpectedEndOfString`,e[e.UnexpectedEndOfNumber=13]=`UnexpectedEndOfNumber`,e[e.InvalidUnicode=14]=`InvalidUnicode`,e[e.InvalidEscapeCharacter=15]=`InvalidEscapeCharacter`,e[e.InvalidCharacter=16]=`InvalidCharacter`})(At||={})})))()}function Mt(e={}){return{assistantTranscriptRoleHeaders:e.assistantTranscriptRoleHeaders??!1,codeBlockChrome:e.codeBlockChrome??`copy`,codeBlockInteraction:e.codeBlockInteraction??`static`,fileLinks:e.fileLinks??!1,documentFileLinks:e.documentFileLinks??!1,humanMentions:e.humanMentions??[],interactiveImages:e.interactiveImages??!1,linkFavicons:e.linkFavicons??!1,progressBars:e.progressBars??!1,mode:e.mode??`message`,remoteImages:e.remoteImages??e.mode===`document`,sessionLinks:e.sessionLinks??!1,tableInteractions:e.tableInteractions??`none`}}var Nt;function Pt(){return(Pt=e((()=>{Nt=4e4})))()}function Ft(e){if(e.length>4e4)return null;let t=e.trim();if(!/^(?:\{[\s\S]*\}|\[[\s\S]*\])$/.test(t))return null;if(e.length>Rt)return{text:e};let n=Et(e,!0),r=0,i=0;for(n.scan();n.getTokenLength()>0;n.scan()){let t=e[n.getTokenOffset()];if((t===`{`||t===`[`)&&(r+=1),(t===`}`||t===`]`)&&--r,r>zt||++i>Bt)try{return JSON.parse(e),{text:e}}catch{return null}}let a=[],o=kt(e,a,{disallowComments:!0,allowTrailingComma:!1});return o&&a.length===0?{text:e,root:o}:null}function It({text:e,root:t}){if(!t)return``;let n=t=>O(e.slice(t.offset,t.offset+t.length)),r=(e,t,i=``,a=``)=>{let o=e.children??[],s=e.type,c=s===`array`;if(s!==`object`&&!c||o.length===0)return`${i}<span class="code-block-json-value--${s===`string`||s===`null`?s:`literal`}">${n(e)}</span>${a}`;let l=c?`[`:`{`,u=c?`]`:`}`,d=w(c?o.length===1?`chat.codeBlock.jsonArrayItem`:`chat.codeBlock.jsonArrayItems`:`chat.codeBlock.jsonObjectKeys`,{count:String(o.length)}),f=o.map((e,i)=>{let a=e.type===`property`,s=a?e.children?.[0]:void 0,c=a?e.children?.[1]:e;if(!c)return``;let l=s?`<span class="code-block-json-key">${n(s)}</span>: `:``;return`<div class="code-block-json-row">${r(c,t+1,l,i+1<o.length?`,`:``)}</div>`}).join(``);return`<details class="code-block-json-node"${t<2?` open`:``}><summary>${i}<span class="code-block-json-node-opening">${l}</span><span class="code-block-json-node-summary">${O(d)}${a}</span></summary><div class="code-block-json-children">${f}</div><span class="code-block-json-bracket">${u}${a}</span></details>`};return`<div class="code-block-json-tree" data-markdown-key="json-tree">${r(t,0)}</div>`}function Lt(){return`<div class="code-block-json-modes" data-markdown-key="json-modes" role="group" aria-label="${O(w(`chat.codeBlock.jsonView`))}">${[`tree`,`raw`].map(e=>`<button type="button" class="code-block-json-mode" data-json-mode="${e}" aria-pressed="${e===`tree`}">${O(w(e===`tree`?`chat.codeBlock.jsonTree`:`chat.codeBlock.jsonRaw`))}</button>`).join(``)}</div>`}var Rt,zt,Bt;function Vt(){return(Vt=e((()=>{jt(),ee(),Qe(),Pt(),Ze(),Rt=2e4,zt=64,Bt=4e3})))()}function Ht(e){return!e.includes(`\r`)&&!e.includes(`\u2028`)&&!e.includes(`\u2029`)?e:e.replace(/\r\n?|[\u2028\u2029]/g,`
`)}function Ut(e){if(!Gt.test(e))return!1;let t=Ht(e).split(`
`).filter(e=>e.trim().length>0);return t.length>=2&&t.every(e=>Wt.test(e)&&Gt.test(e))&&e.match(/[▀▄█]/gu).length>=8}var Wt,Gt;function F(){return(F=e((()=>{Wt=/^[\t \u00a0▀▄█]+$/u,Gt=/[▀▄█]/u})))()}function Kt(){return _n??=g(()=>import(`./markdown-highlight-runtime-CS0YfsJS.js`).then(e=>{gn(()=>e.highlightCodeHtml)},()=>{gn(null),console.warn(`[markdown] Syntax highlighting could not be loaded; showing plain code.`)}),__vite__mapDeps([0,1,2]),import.meta.url),_n}function qt(){return typeof hn()==`function`}function Jt(){return _n!==void 0&&hn()===void 0}function Yt(e){let t=JSON.stringify(e).replaceAll(`<`,`\\u003c`).replaceAll(`>`,`\\u003e`);return`${fn}${t}`}function Xt(e,t){if(t!==pn||!e.startsWith(fn))return e;try{let t=JSON.parse(e.slice(24));return typeof t==`string`?t:e}catch{return e}}function Zt(e){return Xt(e.dataset.code??``,e.dataset.codeEncoding)}function Qt(e){let t=e.target;if(!(t instanceof Element))return;$t(t);let n=t.closest(`.code-block-copy`);if(!n)return;let r=Zt(n);$e(n,r,()=>Zt(n)===r,e=>{e===void 0?(n.classList.remove(`copied`,`copy-failed`),n.setAttribute(`aria-label`,w(`common.copyCode`))):(n.classList.toggle(`copied`,e),n.classList.toggle(`copy-failed`,!e),n.setAttribute(`aria-label`,w(e?`common.copied`:`common.copyFailed`)))})}function $t(e){let t=e.closest(`.code-block-wrapper`);if(!t)return;let n=e.closest(`.code-block-expand`);if(n){let e=n.matches(`:focus-visible`);if(t.classList.add(`is-expanded`),n.setAttribute(`aria-expanded`,`true`),e){let e=n.ownerDocument.getElementById(n.getAttribute(`aria-controls`)??``);e&&(e.tabIndex=-1,e.focus({preventScroll:!0}))}}let r=e.closest(`.code-block-json-mode`);if(r){t.classList.toggle(`is-json-raw`,r.dataset.jsonMode===`raw`);for(let e of t.querySelectorAll(`.code-block-json-mode`))e.setAttribute(`aria-pressed`,String(e===r));en(t)}let i=e.closest(`.code-block-wrap`);if(!i)return;let a=t.classList.toggle(`is-wrapped`),o=w(a?`chat.codeBlock.disableWrap`:`chat.codeBlock.enableWrap`);i.setAttribute(`aria-pressed`,String(a)),i.setAttribute(`aria-label`,o),i.title=o,en(t)}function en(e){let t=e.querySelector(`.code-block-viewport`),n=t?.querySelector(`code`);if(!t||!n)return;let r=!e.classList.contains(`is-wrapped`)&&n.scrollWidth>t.clientWidth+1;e.classList.toggle(`has-horizontal-overflow`,r)}function tn(e,t){let n=hn();return n?n(e,t):(e.trim()&&Kt(),O(e))}function nn(e){return tn(e,`json`)}function rn(e,t){return[t.includes(`hljs-`)?`hljs`:``,e?`language-${e}`:``].filter(Boolean).join(` `)}function an(e,t){return`<div class="code-block-header" data-markdown-key="header"><span class="code-block-lang">${O(e||w(`chat.codeBlock.languageFallback`))}</span><div class="code-block-actions">${t}</div></div>`}function on(e){return`<button type="button" class="code-block-copy" data-markdown-key="copy" data-code="${O(ln(e)[`data-code`])}" data-code-encoding="${pn}" aria-label="${O(w(`common.copyCode`))}"><span class="code-block-copy__idle" aria-hidden="true"></span><span class="code-block-copy__done" aria-hidden="true"></span><span class="code-block-copy__failed" aria-hidden="true">!</span></button>`}function sn(e,t,n,r={}){let i=r.blockArt||Ut(e),a=r.highlight,o=n,s=o?.codeBlockInteraction===`interactive`,{wrapperClass:c,hiddenLineCount:l,long:u}=cn(e,t),d=s&&u&&l>0&&a!==!1&&!i,f=i||a===!1||d?O(e):tn(e,t),p=i?`markdown-block-art`:rn(t,f),m=`<pre><code${p?` class="${O(p)}"`:``}${d?` data-code-highlight="${O(t)}"`:``}>${f}</code></pre>`,h=o?.codeBlockChrome!==`none`;if(!h&&!s)return m;let g=h?on(r.copyText??e):``;if(!s)return`<div class="${c}">${an(t,g)}${m}</div>`;let _=!i&&a!==!1&&(!t||t.toLowerCase()===`json`)?r.json??Ft(e):null,v=_?It(_):``,y={count:String(l)},b=w(l===1?`chat.codeBlock.showHiddenLine`:`chat.codeBlock.showHiddenLines`,y),x=w(l===1?`chat.codeBlock.hiddenLine`:`chat.codeBlock.hiddenLines`,y),S=l?`<button type="button" class="code-block-expand" data-markdown-key="expand" aria-label="${O(b)}" aria-expanded="false"><span class="code-block-chevron" aria-hidden="true"></span><span>${O(x)}</span></button>`:``,C=O(w(`chat.codeBlock.enableWrap`)),ee=`<button type="button" class="code-block-wrap" data-markdown-key="wrap" aria-label="${C}" title="${C}" aria-pressed="false"><span class="code-block-wrap__icon" aria-hidden="true"></span></button>`,te=an(t,`${v?Lt():``}${ee}${g}`);return`<div class="${c}${v?` code-block-wrapper--json`:``}${l?` is-collapsible`:``}">${te}${v}<div class="code-block-viewport" data-markdown-key="viewport">${m}</div>${S}</div>`}function cn(e,t){let n=un(e);return{long:n>mn,wrapperClass:`code-block-wrapper${n>mn?` code-block-wrapper--long`:``}`,hiddenLineCount:[`text`,`md`,`markdown`].includes(t.trim().toLowerCase())?0:Math.max(0,n-7)}}function ln(e){return{"data-code":Yt(e),"data-code-encoding":pn}}function un(e){let t=1,n=-1;for(;(n=e.indexOf(`
`,n+1))>=0&&n<e.length-1;)t+=1;return t}function dn(e){return e.endsWith(`
`)?e.slice(0,-1):e}var fn,pn,mn,hn,gn,_n;function vn(){return(vn=e((()=>{D(),ee(),Qe(),nt(),Vt(),F(),S(),Ze(),fn=`openclaw:block-art-code:`,pn=`block-art-json`,mn=300,[hn,gn]=we(void 0)})))()}function yn(e,t){this.v=e,this.k=t}function bn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xn(e){if(Array.isArray(e))return e}function Sn(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Cn(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wn(e,t){return xn(e)||Sn(e,t)||Tn(e,t)||Cn()}function Tn(e,t){if(e){if(typeof e==`string`)return bn(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)?bn(e,t):void 0}}function En(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof yn;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}function I(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Bn(e,t,n)}}function Dn(e){return function(){return Vn(e,[...arguments])}}function L(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Qn;if(Pn&&Pn(e,null),!Jn(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Fn(t)||(t[r]=e),i=e)}e[i]=!0}return e}function On(e){for(let t=0;t<e.length;t++)H(e,t)||(e[t]=null);return e}function R(e){let t=Rn(null);for(let r of Nn(e)){var n=wn(r,2);let i=n[0],a=n[1];H(e,i)&&(t[i]=Jn(a)?On(a):a&&typeof a==`object`&&a.constructor===Object?R(a):a)}return t}function kn(e){switch(typeof e){case`string`:return e;case`number`:return ir(e);case`boolean`:return ar(e);case`bigint`:return or?or(e):`0`;case`symbol`:return sr?sr(e):`Symbol()`;case`undefined`:return cr(e);case`function`:case`object`:{if(e===null)return cr(e);let t=e,n=z(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:cr(e)}return cr(e)}default:return cr(e)}}function z(e,t){for(;e!==null;){let n=Ln(e,t);if(n){if(n.get)return I(n.get);if(typeof n.value==`function`)return I(n.value)}e=In(e)}function n(){return null}return n}function An(e,t){for(;e!==null;){let n=Ln(e,t);if(n)return n.get?I(n.get):null;e=In(e)}return null}function jn(e){try{return U(e,``),!0}catch{return!1}}function Mn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ir(),t=e=>Mn(e);if(t.version=`3.4.17`,t.removed=[],!e||!e.document||e.document.nodeType!==W.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=z(d,`cloneNode`),p=z(d,`remove`),m=z(d,`removeAttributeNode`),h=z(d,`nextSibling`),g=z(d,`childNodes`),_=z(d,`parentNode`),v=z(d,`shadowRoot`),y=z(d,`attributes`),b=o&&o.prototype?z(o.prototype,`nodeType`):null,x=o&&o.prototype?z(o.prototype,`nodeName`):null,S=o&&o.prototype?z(o.prototype,`ownerDocument`):null,C=function(e){return b?b(e):e.nodeType},w=function(e){return x?x(e):e.nodeName},ee=An(d,`namespaceURI`),te=function(e){return ee?ee(e):e.namespaceURI};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let T,ne=``,re,ie=!1,ae=0,oe=function(){if(ae>0)throw lr(`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.`)},se=function(e){oe(),ae++;try{return T.createHTML(e)}finally{ae--}},ce=function(e){oe(),ae++;try{return T.createScriptURL(e)}finally{ae--}},le=function(){return ie||=(re=Lr(u,i),!0),re},ue=n,de=ue.implementation,fe=ue.createNodeIterator,pe=ue.createDocumentFragment,me=ue.getElementsByTagName,he=r.importNode,E=Rr();t.isSupported=typeof Nn==`function`&&typeof _==`function`&&de&&de.createHTMLDocument!==void 0;let ge=xr,_e=Sr,ve=Cr,ye=wr,be=Tr,xe=Dr,Se=Or,Ce=Ar,we=Er,D=null,Te=L({},[...ur,...dr,...fr,...mr,...gr]),O=null,Ee=L({},[..._r,...vr,...yr,...br]),k=Object.seal(Rn(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}})),De=null,Oe=null,ke=Object.seal(Rn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Ae=!0,je=!0,Me=!1,Ne=!0,A=!1,Pe=!0,j=!1,Fe=!1,Ie=null,Le=null,Re=!1,ze=!1,Be=!1,Ve=!1,He=!0,Ue=!1,We=`user-content-`,Ge=!0,Ke=!1,qe=null,Je={},Ye=null,Xe=L({},`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`.split(`.`)),Ze=null,Qe=L({},[`audio`,`video`,`img`,`source`,`image`,`track`]),$e=null,et=L({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),tt=`http://www.w3.org/1998/Math/MathML`,nt=`http://www.w3.org/2000/svg`,M=`http://www.w3.org/1999/xhtml`,rt=M,it=!1,at=null,ot=L({},[tt,nt,M],$n),st=B([`mi`,`mo`,`mn`,`ms`,`mtext`]),N=L({},st),ct=B([`annotation-xml`]),lt=L({},ct),ut=L({},[`title`,`style`,`font`,`a`,`script`]),dt=null,ft=[`application/xhtml+xml`,`text/html`],P=null,pt=null,mt=n.createElement(`form`),ht=function(e){return e instanceof RegExp||e instanceof Function},gt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(pt&&pt===e)return;(!e||typeof e!=`object`)&&(e={}),e=R(e),dt=ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,P=dt===`application/xhtml+xml`?$n:Qn,D=zr(e,`ALLOWED_TAGS`,Te,{transform:P}),O=zr(e,`ALLOWED_ATTR`,Ee,{transform:P}),at=zr(e,`ALLOWED_NAMESPACES`,ot,{transform:$n}),$e=zr(e,`ADD_URI_SAFE_ATTR`,et,{transform:P,base:et}),Ze=zr(e,`ADD_DATA_URI_TAGS`,Qe,{transform:P,base:Qe}),Ye=zr(e,`FORBID_CONTENTS`,Xe,{transform:P}),De=zr(e,`FORBID_TAGS`,R({}),{transform:P}),Oe=zr(e,`FORBID_ATTR`,R({}),{transform:P}),Je=H(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?R(e.USE_PROFILES):e.USE_PROFILES:!1,Ae=e.ALLOW_ARIA_ATTR!==!1,je=e.ALLOW_DATA_ATTR!==!1,Me=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,A=e.SAFE_FOR_TEMPLATES||!1,Pe=e.SAFE_FOR_XML!==!1,j=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,Ve=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,He=e.SANITIZE_DOM!==!1,Ue=e.SANITIZE_NAMED_PROPS||!1,Ge=e.KEEP_CONTENT!==!1,Ke=e.IN_PLACE||!1,we=jn(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Er,rt=typeof e.NAMESPACE==`string`?e.NAMESPACE:M,N=Br(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>L({},st)),lt=Br(e,`HTML_INTEGRATION_POINTS`,()=>L({},ct));let t=Br(e,`CUSTOM_ELEMENT_HANDLING`,()=>Rn(null));if(k=Rn(null),H(t,`tagNameCheck`)&&ht(t.tagNameCheck)&&(k.tagNameCheck=t.tagNameCheck),H(t,`attributeNameCheck`)&&ht(t.attributeNameCheck)&&(k.attributeNameCheck=t.attributeNameCheck),H(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(k.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),V(k),A&&(je=!1),Be&&(ze=!0),Je&&(D=L({},gr),O=Rn(null),Je.html===!0&&(L(D,ur),L(O,_r)),Je.svg===!0&&(L(D,dr),L(O,vr),L(O,br)),Je.svgFilters===!0&&(L(D,fr),L(O,vr),L(O,br)),Je.mathMl===!0&&(L(D,mr),L(O,yr),L(O,br))),ke.tagCheck=null,ke.attributeCheck=null,H(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?ke.tagCheck=e.ADD_TAGS:Jn(e.ADD_TAGS)&&(D===Te&&(D=R(D)),L(D,e.ADD_TAGS,P))),H(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?ke.attributeCheck=e.ADD_ATTR:Jn(e.ADD_ATTR)&&(O===Ee&&(O=R(O)),L(O,e.ADD_ATTR,P))),H(e,`ADD_FORBID_CONTENTS`)&&Jn(e.ADD_FORBID_CONTENTS)&&(Ye===Xe&&(Ye=R(Ye)),L(Ye,e.ADD_FORBID_CONTENTS,P)),Ge&&(D[`#text`]=!0),j&&L(D,[`html`,`head`,`body`]),D.table&&(L(D,[`tbody`]),delete De.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw lr(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw lr(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=T;T=e.TRUSTED_TYPES_POLICY;try{ne=se(``)}catch(e){throw T=t,e}}else e.TRUSTED_TYPES_POLICY===null?(T=void 0,ne=``):(T===void 0&&(T=le()),T&&typeof ne==`string`&&(ne=se(``)));B&&B(e),pt=e},_t=L({},[...dr,...fr,...pr]),vt=L({},[...mr,...hr]),yt=function(e,t,n){return t.namespaceURI===M?e===`svg`:t.namespaceURI===tt?e===`svg`&&(n===`annotation-xml`||N[n]):!!_t[e]},bt=function(e,t,n){return t.namespaceURI===M?e===`math`:t.namespaceURI===nt?e===`math`&<[n]:!!vt[e]},xt=function(e,t,n){return t.namespaceURI===nt&&!lt[n]||t.namespaceURI===tt&&!N[n]?!1:!vt[e]&&(ut[e]||!_t[e])},St=function(e){let t=te(e),n=Qn(w(e)),r=_(e),i,a;return r&&C(r)===W.element?(i={namespaceURI:te(r)},a=Qn(w(r))):(i={namespaceURI:rt},a=`template`),at[t]?t===nt?yt(n,i,a):t===tt?bt(n,i,a):t===M?xt(n,i,a):!!(dt===`application/xhtml+xml`&&at[t]):!1},Ct=function(e){Gn(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(p(e),!_(e))throw lr(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},wt=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},Tt=function(e){kt(e);let t=g(e);t&&Hn(Kn(t),e=>{try{p(e)}catch{}});let n=C(e)===W.element?y(e):null;if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&wt(e,r,i)}},Et=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Gn(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(ze||Be)try{Ct(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},Dt=function(e){let t=y(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||O[P(i)]||wt(e,r,i)}},Ot=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=[e];for(;r.length>0;){let e=r.pop();if(t(e)===!1)continue;if(n&&C(e)===W.element){let t=v(e);Wt(t)&&r.push(t)}let i=g(e);if(i)for(let e=i.length-1;e>=0;--e)r.push(i[e])}},kt=function(e){Ot(e,e=>{C(e)===W.element&&Dt(e)})},At=function(e){let t=[];return Ot(e,e=>{t.push(e)},!0),t},jt=function(e,t){let n=Yn();Hn(At(e),e=>{C(e)===W.element&&Xn(n,e)}),Hn(t,e=>{C(e)===W.element&&!Zn(n,e)&&Dt(e)})},Mt=function(e,n){let r=!1;return Hn(t.removed,t=>{t.element&&(r||=t.element===e,kt(t.element))}),jt(e,n),r},Nt=function(e,t){let n=qe,r=null,i=()=>(r||(r=Yn(),Hn(t,e=>{Xn(r,e)})),r);for(let t=0;;t++){let r=At(e),a=[e],o=!1;if(Hn(r,e=>{C(e)===W.documentFragment?Gn(a,e):!o&&!Zn(n,e)&&(o=Zn(i(),e))}),!o)return;if(t>=8)throw lr(`the tree kept changing during in-place sanitization; refusing to return it`);Hn(a,(t,n)=>{Pt(t,n>0,e,i())})}},Pt=function(e,t,n,r){let i=zt(e),a;for(;a=i.nextNode();)Zn(r,a)&&!Zn(qe,a)&&(t&&F(E.uponSanitizeShadowNode,a,null),Zt(a,n),an(a,n),Wt(a.content)&&on(a.content))},Ft=function(e){qe&&Xn(qe,e)},It=function(e,t){return Pe?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},Lt=function(e){Pe&&Ot(e,e=>{let t=C(e);if(t===W.processingInstruction||t===W.comment&&U(Mr,e.data)){try{p(e)}catch{}return!1}if(t===W.element){let t=e,n=P(w(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&It(`for`,n)&&t.removeAttribute(`for`)}catch{}}return!0})},Rt=function(e){let t=null,r=null;if(Re)e=`<remove></remove>`+e;else{let t=er(e,/^[\r\n\t ]+/);r=t&&t[0]}dt===`application/xhtml+xml`&&rt===M&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=T?se(e):e;if(rt===M)try{t=new l().parseFromString(i,dt)}catch{}if(!t||!t.documentElement){t=de.createDocument(rt,`template`,null);try{t.documentElement.innerHTML=it?ne:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),rt===M?me.call(t,j?`html`:`body`)[0]:j?t.documentElement:a},zt=function(e){let t=S?S(e):e.ownerDocument;return fe.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Bt=function(e){return e=tr(e,ge,` `),e=tr(e,_e,` `),e=tr(e,ve,` `),e},Vt=function(e){Ht(e);let t=e.querySelectorAll?.call(e,`template`);t&&Hn(t,e=>{Wt(e.content)&&Vt(e.content)})},Ht=function(e){e.normalize();let t=S?S(e):e.ownerDocument,n=fe.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=Bt(r.data),r=n.nextNode()},Ut=function(e){let t=x?x(e):null;return typeof t!=`string`||P(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==y(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==b(e)||e.childNodes!==g(e)},Wt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===W.documentFragment}catch{return!1}},Gt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function F(e,n,r){e.length!==0&&Hn(e,e=>{e.call(t,n,r,pt)})}let Kt=function(e,t){return!!(Pe&&e.hasChildNodes()&&!Gt(e.firstElementChild)&&U(jr,e.textContent)&&U(jr,e.innerHTML)||Pe&&Fr[t]&&C(e)===W.element&&te(e)===M&&(Gt(e.firstElementChild)||typeof e.textContent==`string`&&U(jr,e.textContent))||e.nodeType===W.processingInstruction||Pe&&e.nodeType===W.comment&&U(Mr,e.data))},qt=function(e,t){return e instanceof RegExp?U(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},Jt=function(e,t,n){if(!De[t]&&en(t)&&qt(k.tagNameCheck,t))return!1;if(Ge&&!Ye[t]&&!Ye[Qn(t)]){let t=_(e),r=g(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,h(e))}}}return Ct(e),!0},Yt=function(e,t,n,r){return e.length===0?t:t===n||t===r?R(t):t},Xt=function(e,t){return e===t||_(e)!==null?!1:(Ke&&kt(e),!0)},Zt=function(e,n){if(Ft(e),F(E.beforeSanitizeElements,e,null),Xt(e,n))return!0;if(Ut(e))return Ct(e),!0;let r=P(w(e));if(D=Yt(E.uponSanitizeElement,D,Te,Ie),F(E.uponSanitizeElement,e,{tagName:r,allowedTags:D}),Xt(e,n))return!0;if(Kt(e,r))return Ct(e),!0;if(De[r]||!(ke.tagCheck instanceof Function&&ke.tagCheck(r))&&!D[r]){let t=Jt(e,r,n);return t===!1&&(F(E.afterSanitizeElements,e,null),Xt(e,n))?!0:t}if(C(e)===W.element&&!St(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&U(Nr,e.innerHTML))return Ct(e),!0;if(A&&e.nodeType===W.text){let n=Bt(e.textContent);e.textContent!==n&&(Gn(t.removed,{element:e.cloneNode()}),e.textContent=n)}return F(E.afterSanitizeElements,e,null),Xt(e,n)},Qt=function(e,t,r){if(Oe[t]||It(t,e)||He&&(t===`id`||t===`name`)&&(r in n||r in mt))return!1;let i=O[t]||ke.attributeCheck instanceof Function&&ke.attributeCheck(t,e);return je&&U(ye,t)||Ae&&U(be,t)?!0:i?$e[t]||U(we,tr(r,Se,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&nr(r,`data:`)===0&&Ze[e]||Me&&!U(xe,tr(r,Se,``))?!0:!r:en(e)&&qt(k.tagNameCheck,e)&&qt(k.attributeNameCheck,t,e)||t===`is`&&k.allowCustomizedBuiltInElements&&qt(k.tagNameCheck,r)},$t=L({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),en=function(e){return!$t[Qn(e)]&&U(Ce,e)},tn=function(e,t,n,r){if(T&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return se(r);case`TrustedScriptURL`:return ce(r)}return r},nn=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!Ut(e)||(Ct(e),!1)}catch{return Et(t,e),!1}},rn=function(e,t){return Pe&&U(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,t)?!0:Qn(e)===`attributename`&&er(t,`href`)!==null},an=function(e,n){if(F(E.beforeSanitizeAttributes,e,null),Xt(e,n))return;let r=e.attributes;if(!r||Ut(e))return;O=Yt(E.uponSanitizeAttribute,O,Ee,Le);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:O,forceKeepAttr:void 0},a=r.length,o=P(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=P(s),d=l,f=s===`value`?d:rr(d),p=!1;i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,F(E.uponSanitizeAttribute,e,i),f=i.attrValue,Ue&&(u===`id`||u===`name`)&&nr(f,We)!==0&&(Et(s,e,n),f=We+f,p=!0),rn(s,f)?Et(s,e,n):i.forceKeepAttr||(i.keepAttr?!Ne&&U(Pr,f)?Et(s,e,n):(A&&(f=Bt(f)),Qt(o,u,f)?(f=tn(o,u,c,f),f!==d&&nn(e,s,c,f)&&p&&Wn(t.removed)):Et(s,e,n)):Et(s,e,n))}F(E.afterSanitizeAttributes,e,null),Xt(e,n)},on=function(e){let t=null,n=zt(e);for(F(E.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(F(E.uponSanitizeShadowNode,t,null),Zt(t,e),an(t,e),Wt(t.content)&&on(t.content),C(t)===W.element){let e=v(t);Wt(e)&&(sn(e),on(e))}A&&Ht(e),F(E.afterSanitizeShadowDOM,e,null)},sn=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){on(e.shadow);continue}let n=e.node,r=C(n)===W.element,i=g(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=x?x(n):null;if(typeof e==`string`&&P(e)===`template`){let e=n.content;Wt(e)&&t.push({node:e,shadow:null})}}if(r){let e=v(n);Wt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(it=!e,it&&(e=`<!-->`),typeof e!=`string`&&!Gt(e)&&(e=kn(e),typeof e!=`string`))throw lr(`dirty is not a string, aborting`);if(!t.isSupported)return e;Fe?(D=Ie,O=Le):gt(n),(E.uponSanitizeElement.length>0||E.uponSanitizeAttribute.length>0)&&(D=R(D)),E.uponSanitizeAttribute.length>0&&(O=R(O)),t.removed=[];let c=Ke&&typeof e!=`string`&&Gt(e),l=[],u=qe;if(c){Lt(e);let t=w(e);if(typeof t==`string`){let n=P(t);if(!D[n]||De[n])throw Tt(e),lr(`root node is forbidden and cannot be sanitized in-place`)}if(Ut(e))throw Tt(e),lr(`root node is clobbered and cannot be sanitized in-place`);l=At(e),qe=Yn()}else if(Gt(e))i=Rt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===W.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),sn(i);else{if(!ze&&!A&&!j&&e.indexOf(`<`)===-1)return T&&Ve?se(e):e;if(i=Rt(e),!i)return ze?null:Ve?ne:``}i&&Re&&Ct(i.firstChild);let d=c?e:i;try{c&&sn(e);let t=zt(d);for(;o=t.nextNode();)Zt(o,d),an(o,d),Wt(o.content)&&on(o.content);c&&Nt(e,l)}catch(t){throw c&&(Tt(e),Mt(e,l)),t}finally{qe=u}if(c){if(Mt(e,l))throw lr(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return A&&Vt(e),e}if(ze){if(A&&Vt(i),Be)for(s=pe.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(O.shadowroot||O.shadowrootmode)&&(s=he.call(r,s,!0)),s}let f=j?i.outerHTML:i.innerHTML;return j&&D[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&U(kr,i.ownerDocument.doctype.name)&&(f=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
`+f),A&&(f=Bt(f)),T&&Ve?se(f):f},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};gt(e),Fe=!0,Ie=D,Le=O},t.clearConfig=function(){pt=null,Fe=!1,Ie=null,Le=null,T=re,ne=``},t.isValidAttribute=function(e,t,n){pt||gt({});let r=P(e),i=P(t);return typeof n==`string`&&(rn(t,n)||!Ne&&U(Pr,n))?!1:Qt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&H(E,e)&&Gn(E[e],t)},t.removeHook=function(e,t){if(H(E,e)){if(t!==void 0){let n=Un(E[e],t);return n===-1?void 0:qn(E[e],n,1)[0]}return Wn(E[e])}},t.removeHooks=function(e){H(E,e)&&(E[e]=[])},t.removeAllHooks=function(){E=Rr()},t}var Nn,Pn,Fn,In,Ln,B,V,Rn,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn,qn,Jn,Yn,Xn,Zn,Qn,$n,er,tr,nr,rr,ir,ar,or,sr,H,cr,U,lr,ur,dr,fr,pr,mr,hr,gr,_r,vr,yr,br,xr,Sr,Cr,wr,Tr,Er,Dr,Or,kr,Ar,jr,Mr,Nr,Pr,W,Fr,Ir,Lr,Rr,zr,Br,Vr;function Hr(){return(Hr=e((()=>{En.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},En.prototype.next=function(e){return this._invoke(`next`,e)},En.prototype.throw=function(e){return this._invoke(`throw`,e)},En.prototype.return=function(e){return this._invoke(`return`,e)},Nn=Object.entries,Pn=Object.setPrototypeOf,Fn=Object.isFrozen,In=Object.getPrototypeOf,Ln=Object.getOwnPropertyDescriptor,B=Object.freeze,V=Object.seal,Rn=Object.create,zn=typeof Reflect<`u`&&Reflect,Bn=zn.apply,Vn=zn.construct,B||=function(e){return e},V||=function(e){return e},Bn||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},Vn||=function(e){return new e(...[...arguments].slice(1))},Hn=I(Array.prototype.forEach),Array.prototype.indexOf,Un=I(Array.prototype.lastIndexOf),Wn=I(Array.prototype.pop),Gn=I(Array.prototype.push),Kn=I(Array.prototype.slice),qn=I(Array.prototype.splice),Jn=Array.isArray,Yn=Dn(Set),Xn=I(Set.prototype.add),Zn=I(Set.prototype.has),Qn=I(String.prototype.toLowerCase),$n=I(String.prototype.toString),er=I(String.prototype.match),tr=I(String.prototype.replace),nr=I(String.prototype.indexOf),rr=I(String.prototype.trim),ir=I(Number.prototype.toString),ar=I(Boolean.prototype.toString),or=typeof BigInt>`u`?null:I(BigInt.prototype.toString),sr=typeof Symbol>`u`?null:I(Symbol.prototype.toString),H=I(Object.prototype.hasOwnProperty),cr=I(Object.prototype.toString),U=I(RegExp.prototype.test),lr=Dn(TypeError),ur=B(`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`.split(`.`)),dr=B(`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`.split(`.`)),fr=B([`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`]),pr=B([`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`]),mr=B(`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`.split(`.`)),hr=B([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),gr=B([`#text`]),_r=B(`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`.split(`.`)),vr=B(`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`.split(`.`)),yr=B(`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`.split(`.`)),br=B([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),xr=V(/{{[\w\W]*|^[\w\W]*}}/g),Sr=V(/<%[\w\W]*|^[\w\W]*%>/g),Cr=V(/\${[\w\W]*/g),wr=V(/^data-[\-\w.\u00B7-\uFFFF]+$/),Tr=V(/^aria-[\-\w]+$/),Er=V(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Dr=V(/^(?:\w+script|data):/i),Or=V(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),kr=V(/^html$/i),Ar=V(/^[a-z][.\w]*(-[.\w]+)+$/i),jr=V(/<[/\w!]/g),Mr=V(/<[/\w]/g),Nr=V(/<\/no(script|embed|frames)/i),Pr=V(/\/>/i),W={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Fr=B(L({},[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`])),Ir=function(){return typeof window>`u`?null:window},Lr=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},Rr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},zr=function(e,t,n,r){return H(e,t)&&Jn(e[t])?L(r.base?R(r.base):{},e[t],r.transform):n},Br=function(e,t,n){let r=H(e,t)?e[t]:void 0;return r&&typeof r==`object`?R(r):n()},Vr=Mn()})))()}function Ur(e,t){let n=re[e],r=t.createElementNS(`http://www.w3.org/2000/svg`,`svg`),i=(e,t)=>{for(let[n,r]of Object.entries(t))e.setAttribute(n,String(r))},a=(e,n)=>{for(let[r,o,s]of n){let n=t.createElementNS(`http://www.w3.org/2000/svg`,r);i(n,o),a(n,s??[]),e.append(n)}};return i(r,n.attributes),r.setAttribute(`aria-hidden`,`true`),a(r,n.children),r}function Wr(){return(Wr=e((()=>{le()})))()}function Gr(e){return typeof e==`object`&&!!e&&`tableInteractions`in e&&e.tableInteractions===`enabled`}function Kr(e){let t=e.renderer.rules.table_open,n=e.renderer.rules.table_close;e.renderer.rules.table_open=(e,n,r,i,a)=>Gr(i)?`<div class="markdown-table" data-table-interactions><div class="markdown-table__viewport"><table>`:t?.(e,n,r,i,a)??`<table>
`,e.renderer.rules.table_close=(e,t,r,i,a)=>Gr(i)?`</table></div><div class="markdown-table__actions"><button type="button" class="markdown-table__expand" aria-label="${O(w(`common.expandTable`))}"></button><button type="button" class="markdown-table__copy" aria-label="${O(w(`common.copyTable`))}"></button></div></div>`:n?.(e,t,r,i,a)??`</table>
`}function qr(e){return[...e.rows].map(e=>[...e.cells].map(e=>e.textContent?.trim()??``).join(` `)).join(`
`)}function Jr(e){let t=e.querySelector(ti);if(!t)return;let{scrollWidth:n,clientWidth:r,scrollLeft:i}=t,a=n-r>1;e.classList.toggle(`markdown-table--can-scroll-left`,a&&i>1),e.classList.toggle(`markdown-table--can-scroll-right`,a&&i+r<n-1)}function Yr(e){if(ni.has(e))return;let t=e.querySelector(`.markdown-table__expand`),n=e.querySelector(`.markdown-table__copy`);if(!t||!n)return;ni.add(e);let r=e.ownerDocument.createElement(`span`);r.textContent=w(`common.expandTable`),t.replaceChildren(Ur(`maximize`,e.ownerDocument),r),n.replaceChildren(Ur(`copy`,e.ownerDocument));let i=e.ownerDocument.createElement(`span`);i.className=`sr-only`,i.setAttribute(`role`,`status`),n.after(i),ri.set(n,i)}function Xr(e){let t=ii.get(e);if(!t){let n=new Set,r=new ResizeObserver(e=>{let t=new Set(e.map(e=>e.target.closest(ei)));for(let e of t)e&&Jr(e)}),i=t=>{for(let i of t)if(e.contains(i)){Yr(i);for(let e of i.querySelectorAll(`${ti}, table`))n.has(e)||(n.add(e),r.observe(e))}},a=new MutationObserver(t=>{let a=new Set;for(let i of t){let t=i.target instanceof Element?i.target:i.target.parentElement,o=t?.closest(ei);o&&(t===o||t?.closest(ti))&&a.add(o);for(let e of i.addedNodes)if(e instanceof HTMLElement&&(e.matches(ei)&&a.add(e),e.firstElementChild))for(let t of e.querySelectorAll(ei))a.add(t);for(let t of i.removedNodes){if(!(t instanceof HTMLElement)||e.contains(t))continue;let i=[t,...t.firstElementChild?t.querySelectorAll(`${ti}, table`):[]];for(let e of i)n.delete(e)&&r.unobserve(e)}}i(a)}),o=h(e,`scroll`,t=>{let n=t.target;if(!(n instanceof HTMLElement)||!n.matches(ti)||t.composedPath().find(e=>e instanceof HTMLElement&&ii.has(e))!==e)return;let r=n.closest(ei);r&&Jr(r)},{capture:!0,passive:!0});t={release:()=>{o(),a.disconnect(),r.disconnect()}},ii.set(e,t),i(e.querySelectorAll(ei)),a.observe(e,{childList:!0,subtree:!0,characterData:!0})}return t}function Zr(e){let t=ii.get(e);ii.delete(e),t?.release(),t?.closeDialog?.()}async function Qr(e,t,n){let r=ii.get(n)??Xr(n);if(r.closeDialog)return;let i,a=[],o=()=>{r.closeDialog===o&&delete r.closeDialog;for(let e of a.splice(0))e();i?.remove()};r.closeDialog=o;try{try{await g(()=>import(`./route-controls-runtime-Bx6nx3QW.js`).then(e=>(e.E(),e.D)),__vite__mapDeps([1,2]),import.meta.url)}catch(e){throw new f(`${w(`lazyView.errorTitle`)}. ${w(`lazyView.staleSubtitle`)}`,{cause:e})}if(r.closeDialog!==o||!n.isConnected||!t.isConnected)return;i=document.createElement(`openclaw-modal-dialog`),i.className=`markdown-table-modal`,i.label=w(`common.expandedTable`),i.setReturnFocusTarget(t);let s=e=>{let t=ae(e);!t||e instanceof KeyboardEvent&&e.key!==`Enter`&&e.key!==` `||setTimeout(()=>{(e.type===`click`||e.defaultPrevented||e instanceof MouseEvent&&e.button===1&&t.hasAttribute(`href`))&&o()},0)};a.push(h(i,`modal-cancel`,o));let c=document.createElement(`div`);c.className=`markdown-table-dialog chat-text`,c.dir=getComputedStyle(e).direction;for(let e of[`click`,`auxclick`,`keydown`])a.push(h(c,e,s));let l=document.createElement(`button`);l.type=`button`,l.className=`markdown-table-dialog__close`,l.setAttribute(`aria-label`,w(`common.closeTable`)),l.autofocus=!0,i.initialFocus=()=>l,a.push(h(l,`click`,o)),l.append(Ur(`x`,document)),c.append(l,e.cloneNode(!0)),i.append(c),n.append(i);for(let e of c.querySelectorAll(te))a.push(T(e,document.createElement(`span`)))}catch(e){r.closeDialog===o&&n.isConnected&&t.isConnected&&he({message:d(e),severity:`error`})}finally{i||o()}}function $r(e){let t=e.target;if(!(t instanceof Element))return;let n=t.closest(ei);if(!n)return;Yr(n);let r=n.querySelector(`table`);if(!r)return;let i=t.closest(`.markdown-table__expand`);if(i&&e.currentTarget instanceof HTMLElement){Qr(r,i,e.currentTarget);return}let a=t.closest(`.markdown-table__copy`);if(a){let e=qr(r);$e(a,e,()=>r.isConnected&&n.querySelector(`table`)===r&&qr(r)===e,e=>{a.replaceChildren(Ur(e?`check`:`copy`,a.ownerDocument));let t=ri.get(a);t&&(t.textContent=e===void 0?``:w(e?`common.copied`:`common.copyFailed`)),e===void 0?a.setAttribute(`aria-label`,w(`common.copyTable`)):a.setAttribute(`aria-label`,w(e?`common.copied`:`common.copyFailed`))})}}var ei,ti,ni,ri,ii;function ai(){return(ai=e((()=>{ee(),c(),xe(),nt(),Wr(),se(),ue(),S(),ei=`.chat-text .markdown-table[data-table-interactions]`,ti=`.markdown-table__viewport`,ni=new WeakSet,ri=new WeakMap,ii=new WeakMap})))()}function oi(e){let t=ci[e];if(t)return t;t=ci[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]=`%`+(`0`+r.toString(16).toUpperCase()).slice(-2)}return t}function si(e,t){typeof t!=`string`&&(t=si.defaultChars);let n=oi(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t=``;for(let r=0,i=e.length;r<i;r+=3){let a=parseInt(e.slice(r+1,r+3),16);if(a<128)t+=n[a];else{if((a&224)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((n&192)==128){let e=a<<6&1984|n&63;t+=e<128?`��`:String.fromCharCode(e),r+=3;continue}}if((a&240)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((n&192)==128&&(i&192)==128){let e=a<<12&61440|n<<6&4032|i&63;t+=e<2048||e>=55296&&e<=57343?`���`:String.fromCharCode(e),r+=6;continue}}if((a&248)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),o=parseInt(e.slice(r+10,r+12),16);if((n&192)==128&&(i&192)==128&&(o&192)==128){let e=a<<18&1835008|n<<12&258048|i<<6&4032|o&63;e<65536||e>1114111?t+=`����`:(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(e&1023))),r+=9;continue}}t+=`�`}}return t})}var ci;function li(){return(li=e((()=>{ci={},si.defaultChars=`;/?:@&=+$,#`,si.componentChars=``})))()}function ui(e){let t=fi[e];if(t)return t;t=fi[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push(`%`+(`0`+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function di(e,t,n){typeof t!=`string`&&(n=t,t=di.defaultChars),n===void 0&&(n=!0);let r=ui(t),i=``;for(let t=0,a=e.length;t<a;t++){let o=e.charCodeAt(t);if(n&&o===37&&t+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))i+=e.slice(t,t+3),t+=2;else if(o<128)i+=r[o];else if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1<a){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+=`%EF%BF%BD`}else i+=encodeURIComponent(e[t])}return i}var fi;function pi(){return(pi=e((()=>{fi={},di.defaultChars=`;/?:@&=+$,-_.!~*'()#`,di.componentChars=`-_.!~*'()`})))()}function mi(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 hi(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function gi(e,t){if(e&&e instanceof hi)return e;let n=new hi;return n.parse(e,t),n}var _i,vi,yi,bi,xi,Si,Ci,wi,Ti,Ei,Di,Oi;function ki(){return(ki=e((()=>{_i=/^([a-z0-9.+-]+:)/i,vi=/:[0-9]*$/,yi=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,bi=[`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
`,` `],xi=[`'`].concat(bi),Si=[`%`,`/`,`?`,`;`,`#`].concat(xi),Ci=[`/`,`?`,`#`],wi=255,Ti=/^[+a-z0-9A-Z_-]{0,63}$/,Ei=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Di={javascript:!0,"javascript:":!0},Oi={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},hi.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split(`#`).length===1){let e=yi.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=_i.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)===`//`,i&&!(o&&Di[o])&&(a=a.substr(2),this.slashes=!0)),!Di[o]&&(i||o&&!Oi[o])){let e=-1;for(let t=0;t<Ci.length;t++)r=a.indexOf(Ci[t]),r!==-1&&(e===-1||r<e)&&(e=r);let t,n;n=e===-1?a.lastIndexOf(`@`):a.lastIndexOf(`@`,e),n!==-1&&(t=a.slice(0,n),a=a.slice(n+1),this.auth=t),e=-1;for(let t=0;t<Si.length;t++)r=a.indexOf(Si[t]),r!==-1&&(e===-1||r<e)&&(e=r);e===-1&&(e=a.length),a[e-1]===`:`&&e--;let i=a.slice(0,e);a=a.slice(e),this.parseHost(i),this.hostname=this.hostname||``;let o=this.hostname[0]===`[`&&this.hostname[this.hostname.length-1]===`]`;if(!o){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(Ti)){let r=``;for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+=`x`:r+=n[e];if(!r.match(Ti)){let r=e.slice(0,t),i=e.slice(t+1),o=n.match(Ei);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(`.`)+a),this.hostname=r.join(`.`);break}}}}this.hostname.length>wi&&(this.hostname=``),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=a.indexOf(`#`);s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));let c=a.indexOf(`?`);return c!==-1&&(this.search=a.substr(c),a=a.slice(0,c)),a&&(this.pathname=a),Oi[n]&&this.hostname&&!this.pathname&&(this.pathname=``),this},hi.prototype.parseHost=function(e){let t=vi.exec(e);t&&(t=t[0],t!==`:`&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}})))()}var Ai=t({decode:()=>si,encode:()=>di,format:()=>mi,parse:()=>gi});function ji(){return(ji=e((()=>{li(),pi(),ki()})))()}var Mi=t({Any:()=>Ni,Cc:()=>Pi,Cf:()=>Fi,P:()=>Ii,S:()=>Li,Z:()=>Ri}),Ni,Pi,Fi,Ii,Li,Ri;function zi(){return(zi=e((()=>{Ni=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Pi=/[\0-\x1F\x7F-\x9F]/,Fi=/[\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]/,Ii=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\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[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\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\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,Li=/[\$\+<->\^`\|~\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-\u20C1\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-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\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-\u31E5\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-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\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]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\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-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,Ri=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/})))()}function Bi(e){return e===0||e>=55296&&e<=57343||e>1114111}function Vi(e){return Bi(e)?65533:e>=128&&e<=159&&Wi[e-128]||e}function Hi(e){return Bi(e)?65533:e}function Ui(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(Vi(e))}var Wi;function Gi(){return(Gi=e((()=>{Wi=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376]})))()}function Ki(e,t,n,r,i,a){let o=e.length,s=a*90,c=0,l=()=>{let t=G[e.charCodeAt(c++)];return t<a?t:t*91-s+G[e.charCodeAt(c++)]},u=n-r,d=n+i,f=new Int32Array(d);f.fill(-1,r,a),f.fill(-1,a+u,d);let p=new Int32Array(d),m=new Int32Array(d);function h(t,n){let r=0,i=n,a=n+t;for(;i<a;){let t=G[e.charCodeAt(c++)];if(t<89)r+=t,f[i++]=r;else if(t===89){let t=G[e.charCodeAt(c++)]+2;for(;t--;)f[i++]=++r}else{let t=G[e.charCodeAt(c++)];r+=89+(t<90?t*91+G[e.charCodeAt(c++)]:G[e.charCodeAt(c++)]*8281+G[e.charCodeAt(c++)]*91+G[e.charCodeAt(c++)]),f[i++]=r}}}h(r,0),h(u,a);let g=new Int32Array(i*2),_=0,v=0;function y(e,t){for(let n=0;n<e;n++){let e=t+n,r=l(),i=l();g[v*2]=r,g[v*2+1]=i,v+=1,p[e]=_;let a=(f[r]<0?m[r]:1)+(f[i]<0?m[i]:1);m[e]=a,_+=a}}y(i-a+r,a+u),y(a-r,r);let b=new Uint16Array(_),x=0;for(let e=0;e<v;e++)for(let t=0;t<2;t++){let n=g[e*2+t],r=f[n];if(r<0){let e=p[n],t=e+m[n];for(;e<t;)b[x++]=b[e++]}else b[x++]=r}let S=new Uint16Array(t),C=0;for(;c<o;){let t=G[e.charCodeAt(c++)];t>=a&&(t=t*91-s+G[e.charCodeAt(c++)]);let n=f[t];if(n<0){let e=p[t],n=e+m[t];for(;e<n;)S[C++]=b[e++]}else S[C++]=n}return S}var G;function qi(){return(qi=e((()=>{G=(()=>{let e=new Uint8Array(127),t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})()})))()}var Ji;function Yi(){return(Yi=e((()=>{qi(),Ji=Ki("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},'%#*}4%%#%}(''}#/##(##),%-##%%)#&}(.}&%#&}%%}*&#%},&&}&%}#%*'#%})%}D&}&%}-&}6&#&}-,%}#%})-(~+`~,=?~I9'9%~!,#%})%})%}@%}?%}(~!?~#<~#pP~#BG~#=1#%K+~#?#~%;)~#A~#mF1~#A'~'X%'~#lR~#N~'N~#r~#m#-~#i'?%#'%~#B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hK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61)})))()}var Xi;function Zi(){return(Zi=e((()=>{Xi=new Uint16Array([512,26465,29036,7,0,2,4,116,24638,116,24636,8693,29807,24610,621,1,0,0,3,112,24614,111,115,24615])})))()}var K;function Qi(){return(Qi=e((()=>{(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`,e[e.VALUE_MASK=8191]=`VALUE_MASK`})(K||={})})))()}function $i(e){let t=e>>>ua;return t===fa?pa:t}function ea(e){return e-q.ZERO>>>0<=9}function ta(e){return(e|la)-q.LOWER_A>>>0<=5}function na(e){return(e|la)-q.LOWER_A>>>0<=25}function ra(e){return e===q.EQUALS||na(e)||ea(e)}function ia(e,t,n,r){let i=(t&K.BRANCH_LENGTH)>>7,a=t&K.JUMP_TABLE;if(a){if(i===0)return r===a?n:-1;let t=r-a;if(t>>>0>=i)return-1;let o=e[n+t];return o===0?-1:n+i+o-1&65535}if(i===0)return-1;let o=i+1>>1,s=n+o+i;for(let t=0;t<i;t++){let i=e[n+(t>>1)]>>((t&1)<<3)&255;if(i===r)return s+e[n+o+t]&65535;if(i>r)return-1}return-1}function aa(e,t,n){return n===1?String.fromCharCode(e[t]&K.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function oa(e,t,n){let r=t+1,i=0,a=r;if(r<n&&(e.charCodeAt(r)|la)===q.LOWER_X)for(r+=1,a=r;r<n;){let t=e.charCodeAt(r);if(ea(t))i=i*16+(t-q.ZERO);else if(ta(t))i=i*16+((t|la)-q.LOWER_A+10);else break;r+=1}else for(;r<n;){let t=e.charCodeAt(r)-q.ZERO;if(t>>>0>9)break;i=i*10+t,r+=1}if(r===a)return 0;r<n&&e.charCodeAt(r)===q.SEMI&&(r+=1),i>1114111&&(i=1114112);let o=r-t;return o>=fa&&(pa=o,o=fa),o<<ua|i}function sa(e,t,n){let r=Ji,i=e.indexOf(`&`);if(i<0)return e;let a=e.length,o=0,s=``,c=r[0],l=c&K.JUMP_TABLE,u=(c&K.BRANCH_LENGTH)>>7;do{let c=i+1,d=e.charCodeAt(c),f,p;if(d===q.NUM){let n=oa(e,c,a);f=$i(n),t&&f>0&&e.charCodeAt(c+f-1)!==q.SEMI&&(f=0),p=f===0?``:Ui(n&da)}else if(na(d)){f=0,p=``;let n=d-l,i;if(n>>>0<u){let e=r[1+n];i=e===0?-1:u+e&65535}else i=-1;let o=0,s=0,m=i<0?0:r[i],h=c+1;trie:for(;h<a;){for(;(m&(K.VALUE_LENGTH|K.FLAG13))===0&&(m&K.JUMP_TABLE)!==0;){let t=m&K.JUMP_TABLE,n=(m&K.BRANCH_LENGTH)>>7;if(n===0){if(e.charCodeAt(h)!==t)break trie;i+=1}else{let a=e.charCodeAt(h)-t;if(a>>>0>=n)break trie;let o=r[i+1+a];if(o===0)break trie;i=i+n+o&65535}if(m=r[i],h+=1,h>=a)break trie}if((m&(K.VALUE_LENGTH|K.FLAG13))===K.FLAG13){let t=(m&K.BRANCH_LENGTH)>>7;if(e.charCodeAt(h)!==(m&K.JUMP_TABLE))break;h+=1;let n=t-1,a=i+1,o=0;for(;o+1<n;o+=2){let t=r[a];if(e.charCodeAt(h)!==(t&255)||(h+=1,e.charCodeAt(h)!==(t>>8&255)))break trie;h+=1,a+=1}if(o<n){if(e.charCodeAt(h)!==(r[a]&255))break;h+=1}i+=1+(t>>1),m=r[i];continue}let n=m>>>14,l=e.charCodeAt(h);if(n!==0){if(l===q.SEMI){f=h-c+1,p=n===1?String.fromCharCode(m&K.VALUE_MASK):aa(r,i,n);break}if(!t&&(m&K.FLAG13)===0&&(f=h-c,o=i,s=n),n===1)break}let u=ia(r,m,i+(n||1),l);if(u<0)break;i=u,m=r[i],h+=1}if(p===``){let e=m>>>14;e!==0&&!t&&(m&K.FLAG13)===0&&(f=h-c,o=i,s=e),f>0&&(p=aa(r,o,s))}}else f=0,p=``;f===0||n&&d!==q.NUM&&e.charCodeAt(c+f-1)!==q.SEMI&&c+f<a&&ra(e.charCodeAt(c+f))?i=c:(o<i&&(s+=e.slice(o,i)),s+=p,i=o=c+f),e.charCodeAt(i)!==q.AMP&&(i=e.indexOf(`&`,i))}while(i>=0);return s+e.slice(o)}function ca(e){return sa(e,!0,!1)}var q,la,ua,da,fa,pa,J,ma,ha;function ga(){return(ga=e((()=>{Gi(),Yi(),Zi(),Qi(),(function(e){e[e.AMP=38]=`AMP`,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_X=120]=`LOWER_X`})(q||={}),la=32,ua=21,da=2097151,fa=2047,pa=0,(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`})(J||={}),(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(ma||={}),ha=class{decodeTree;emitCodePoint;errors;state=J.EntityStart;consumed=1;result=0;treeIndex=0;excess=1;decodeMode=ma.Strict;runConsumed=0;constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n}startEntity(e){this.decodeMode=e,this.state=J.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case J.EntityStart:return e.charCodeAt(t)===q.NUM?(this.state=J.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=J.NamedEntity,this.stateNamedEntity(e,t));case J.NumericStart:return this.stateNumericStart(e,t);case J.NumericDecimal:return this.stateNumericDecimal(e,t);case J.NumericHex:return this.stateNumericHex(e,t);default:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|la)===q.LOWER_X?(this.state=J.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=J.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){let n=e.length,{result:r}=this,{consumed:i}=this;for(;t<n;){let n=e.charCodeAt(t);if(ea(n)||ta(n)){let e=n<=q.NINE?n-q.ZERO:(n|la)-q.LOWER_A+10;r=r*16+e,i+=1,t+=1}else return this.result=r,this.consumed=i,this.emitNumericEntity(n,3)}return this.result=r,this.consumed=i,-1}stateNumericDecimal(e,t){let n=e.length,{result:r}=this,{consumed:i}=this;for(;t<n;){let n=e.charCodeAt(t)-q.ZERO;if(n>>>0>9)return this.result=r,this.consumed=i,this.emitNumericEntity(n+q.ZERO,2);r=r*10+n,i+=1,t+=1}return this.result=r,this.consumed=i,-1}emitNumericEntity(e,t){if(this.consumed<=t)return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===q.SEMI)this.consumed+=1;else if(this.decodeMode===ma.Strict)return 0;return this.emitCodePoint((this.decodeTree===Xi?Hi:Vi)(this.result),this.consumed),this.errors&&(e!==q.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}flushAndEmitLegacyOrReject(e,t,n,r){return this.consumed=e,this.excess=t,this.result===0||this.decodeMode===ma.Attribute&&(r===0||t>1||ra(n))?0:this.emitNotTerminatedNamedEntity()}stateNamedEntity(e,t){let{decodeTree:n}=this,r=e.length,i=this.decodeMode===ma.Strict,{treeIndex:a}=this,{excess:o}=this,{consumed:s}=this,c=n[a];for(;t<r;){for(;(c&(K.VALUE_LENGTH|K.FLAG13))===0&&(c&K.JUMP_TABLE)!==0;){let i=e.charCodeAt(t),l=c&K.JUMP_TABLE,u=(c&K.BRANCH_LENGTH)>>7;if(u===0){if(i!==l)return this.flushAndEmitLegacyOrReject(s,o,i,0);a+=1}else{let e=i-l;if(e>>>0>=u)return this.flushAndEmitLegacyOrReject(s,o,i,0);let t=n[a+1+e];if(t===0)return this.flushAndEmitLegacyOrReject(s,o,i,0);a=a+u+t&65535}if(c=n[a],t+=1,o+=1,t>=r)break}if(t>=r)break;if((c&(K.VALUE_LENGTH|K.FLAG13))===K.FLAG13){let i=(c&K.BRANCH_LENGTH)>>7,{runConsumed:l}=this;if(l===0){let n=e.charCodeAt(t);if(n!==(c&K.JUMP_TABLE))return this.flushAndEmitLegacyOrReject(s,o,n,0);t+=1,o+=1,l=1}for(;l<i;){if(t>=r)return this.treeIndex=a,this.excess=o,this.consumed=s,this.runConsumed=l,-1;let i=l-1,c=n[a+1+(i>>1)]>>((i&1)<<3)&255,u=e.charCodeAt(t);if(u!==c)return this.runConsumed=0,this.flushAndEmitLegacyOrReject(s,o,u,0);t+=1,o+=1,l+=1}this.runConsumed=0,a+=1+(i>>1),c=n[a];continue}let l=c>>>14,u=e.charCodeAt(t);if(l!==0){if(!i&&(c&K.FLAG13)===0&&(this.result=a,s+=o-1,o=1),u===q.SEMI)return this.emitNamedEntityData(a,l,s+o);if(l===1)return this.flushAndEmitLegacyOrReject(s,o,u,l)}let d=ia(n,c,a+(l||1),u);if(d<0)return this.flushAndEmitLegacyOrReject(s,o,u,l);a=d,c=n[a],t+=1,o+=1}return!i&&c>>>14&&(c&K.FLAG13)===0&&(this.result=a,s+=o-1,o=1),this.treeIndex=a,this.excess=o,this.consumed=s,-1}emitNotTerminatedNamedEntity(){let{result:e,decodeTree:t}=this,n=t[e]>>>14;return this.emitNamedEntityData(e,n,this.consumed),this.errors?.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&K.VALUE_MASK:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){switch(this.state){case J.NamedEntity:return this.result!==0&&(this.decodeMode!==ma.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case J.NumericDecimal:return this.emitNumericEntity(0,2);case J.NumericHex:return this.emitNumericEntity(0,3);case J.NumericStart:return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;default:return 0}}}})))()}function _a(){let e=Sa.split(`|`);return xa.split(`|`).forEach(t=>{let n=t.indexOf(`:`),r=t.slice(0,n);for(let i of t.slice(n+1))e.push(r+i)}),e}var va,ya,ba,xa,Sa,Ca,wa,Ta;function Ea(){return(Ea=e((()=>{zi(),va=class{src_Any=Ni.source;src_Cc=Pi.source;src_Z=Ri.source;src_P=Ii.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join(`|`);src_ZCc=[this.src_Z,this.src_Cc].join(`|`);cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,`\\$&`)}nestedPairRE(e,t,n=4){let r=this.escapeRE(e),i=this.escapeRE(t),a=`(?:(?!${this.src_ZCc}|${r}|${i}).)`,o=`${r}${a}{0,1000}${i}`;for(let e=2;e<=n;e++)o=`${r}(?:${a}|${o}){0,1000}${i}`;return o}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=RegExp(`(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])`)}get_ipv6_addr(){let e=`[0-9A-Fa-f]{1,4}`,t=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=RegExp(`(?:(?:${e}:){6}${t}|::(?:${e}:){5}${t}|(?:${e})?::(?:${e}:){4}${t}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${t}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${t}|(?:(?:${e}:){0,3}${e})?::${e}:${t}|(?:(?:${e}:){0,4}${e})?::${t}|(?:(?:${e}:){0,5}${e})?::${e}|(?:(?:${e}:){0,6}${e})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=RegExp(`(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?`)}get_host_terminator(){return this.cache.src_host_terminator??=RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts[`---`]?`-(?!--)|`:`-|`}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=RegExp(`(?:[/?#](?:${this.nestedPairRE(`[`,`]`)}|${this.nestedPairRE(`(`,`)`)}|${this.nestedPairRE(`{`,`}`)}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts[`---`]?`\\-(?!--(?:[^-]|$))(?:-{0,19})|`:`\\-{1,20}|`)+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=RegExp(`xn--[a-z0-9\\-]{1,59}`)}get_tld(){if(this.cache.tld)return this.cache.tld;let e=[...new Set(this.opts.tlds||[])].sort().reverse().join(`|`);return this.cache.tld=RegExp(`${e||`$#none#$`}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=RegExp(`(?:`+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=RegExp(`(?:`+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=RegExp(`(?:`+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=RegExp(`(?:`+(this.opts.fuzzyIP?this.get_ipv4_addr().source+`|`:``)+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=RegExp(`(?:`+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=RegExp(`(?:`+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=RegExp(``)}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=RegExp(`@${this.get_fuzzy_mail_host().source}`,`ig`)}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uff5c]|${this.src_ZPCc}))(?:(?![$+<=>^\`|\uff5c])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,`ig`)}get_http_validator(){return this.cache.http_validator??=RegExp(`\\/\\/`+(this.opts.urlAuth?this.get_auth().source:``)+this.get_url_host_port().source+this.get_path().source,`iy`)}get_relative_proto_validator(){return this.cache.relative_proto_validator??=RegExp((this.opts.urlAuth?this.get_auth().source:``)+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,`iy`)}get_mail_name_validator(){return this.cache.mail_name_validator??=RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,`iy`)}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map(e=>this.escapeRE(e)).join(`|`))}get_schema_search(){return this.cache.schema_search??=RegExp(`(^|(?!_)(?:[><\uff5c]|${this.src_ZPCc}))(${this.get_schema_names().source})`,`ig`)}get_schema_at_start(){return this.cache.schema_at_start??=RegExp(`^${this.get_schema_search().source}`,`i`)}},ya={validate:(e,t,n)=>{let r=n.re.get_http_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)},ba={"http:":ya,"https:":ya,"ftp:":ya,"//":{validate:function(e,t,n){let r=n.re.get_relative_proto_validator();r.lastIndex=t;let i=r.exec(e);return i?t>=3&&e[t-3]===`:`||t>=3&&e[t-3]===`/`?0:i[0].length:0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,n){let r=n.re.get_mailto_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)}},xa=`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|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw`,Sa=`biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф`,Ca={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:_a(),urlAuth:!1,maxLength:1e4},wa=class{schema;index;lastIndex;raw;text;url;constructor(e,t,n,r){let i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}},Ta=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:t,...n}=e;this.__opts__={...Ca,...n},this.__schemas__={...ba},this.re=t||new va,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(!t)delete this.__schemas__[e];else{let n={normalize:(e,t)=>t.normalize(e),...t};this.__schemas__[e]=n}return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,n;for(n=this.re.get_schema_search(),n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__[`http:`]&&(n=this.re.get_fuzzy_link_search(),n.lastIndex=0,n.exec(e)!==null))return!0;if(this.__opts__.fuzzyEmail&&this.__schemas__[`mailto:`]&&e.indexOf(`@`)>=0){let n=this.re.get_fuzzy_mail_host_search(),r=this.re.get_mail_name_validator();for(n.lastIndex=0;(t=n.exec(e))!==null;){let n=e.slice(Math.max(0,t.index-65),t.index);if(r.test(n))return!0}}return!1}testSchemaAt(e,t,n){return this.__schemas__[t.toLowerCase()]?this.__schemas__[t.toLowerCase()].validate(e.slice(0,n+this.__opts__.maxLength),n,this):0}match(e){let t=[],n=this.re.get_schema_search(),r,i,a,o,s,c,l=!1,u=!1,d=!1,f=0;if(!e.length)return null;for(n.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__[`http:`]&&(r=this.re.get_fuzzy_link_search(),r.lastIndex=0),this.__opts__.fuzzyEmail&&this.__schemas__[`mailto:`]&&(i=this.re.get_fuzzy_mail_host_search(),i.lastIndex=0,a=this.re.get_mail_name_validator());;){let p=Math.max(f-1,0);if(i&&a&&!d&&(!s||s.index<f))for(i.lastIndex<p&&(i.lastIndex=p);;){let t=i.exec(e);if(!t){d=!0,s=void 0;break}let n=a.exec(e.slice(Math.max(0,t.index-65),t.index));if(n){if(s={schema:`mailto:`,index:t.index-n[1].length,lastIndex:t.index+t[0].length},s.index>=f)break;i.lastIndex<p&&(i.lastIndex=p)}}if(r&&!u&&(!o||o.index<f))for(r.lastIndex<p&&(r.lastIndex=p);;){let t=r.exec(e);if(!t){u=!0,o=void 0;break}if(o={schema:``,index:t.index+t[1].length,lastIndex:t.index+t[0].length},o.index>=f)break;r.lastIndex<p&&(r.lastIndex=p)}let m=s;(!m||o&&(o.index<m.index||o.index===m.index&&o.lastIndex>m.lastIndex))&&(m=o);let h;if(!l)for(;;){if(!c){n.lastIndex<p&&(n.lastIndex=p);let t=n.exec(e);if(!t){l=!0;break}c={schema:t[2],index:t.index+t[1].length,lastIndex:t.index+t[0].length}}if(c.index<f){c=void 0;continue}if(m&&c.index>m.index)break;let t=c;c=void 0;let r=this.testSchemaAt(e,t.schema,t.lastIndex);if(r){h={schema:t.schema,index:t.index,lastIndex:t.lastIndex+r};break}}let g=h;if((!g||s&&(s.index<g.index||s.index===g.index&&s.lastIndex>g.lastIndex))&&(g=s),(!g||o&&(o.index<g.index||o.index===g.index&&o.lastIndex>g.lastIndex))&&(g=o),!g)break;g===s?s=void 0:g===o&&(o=void 0);let _=new wa(e,g.schema,g.index,g.lastIndex);_.schema?this.__schemas__[_.schema].normalize(_,this):this.normalize(_),t.push(_),f=g.lastIndex}return t.length?t:null}matchAtStart(e){if(!e.length)return null;let t=this.re.get_schema_at_start().exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let r=new wa(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__schemas__[r.schema].normalize(r,this),r}tlds(e,t=!1){return e=Array.isArray(e)?e:[e],t?this.__opts__.tlds=this.__opts__.tlds.concat(e):this.__opts__.tlds=e,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){e.schema||(e.url=`http://${e.url}`),e.schema===`mailto:`&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)}}})))()}function Da(e){throw RangeError(Ua[e])}function Oa(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function ka(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(Ha,`.`);let i=Oa(e.split(`.`),t).join(`.`);return r+i}function Aa(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var ja,Ma,Na,Pa,Fa,Ia,La,Ra,za,Ba,Va,Ha,Ua,Wa,Y,Ga,Ka,qa,Ja,Ya,Xa,Za,Qa,$a,eo;function to(){return(to=e((()=>{ja=2147483647,Ma=36,Na=1,Pa=26,Fa=38,Ia=700,La=72,Ra=128,za=`-`,Ba=/^xn--/,Va=/[^\0-\x7F]/,Ha=/[\x2E\u3002\uFF0E\uFF61]/g,Ua={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Wa=35,Y=Math.floor,Ga=String.fromCharCode,Ka=e=>String.fromCodePoint(...e),qa=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Ma},Ja=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Ya=function(e,t,n){let r=0;for(e=n?Y(e/Ia):e>>1,e+=Y(e/t);e>455;r+=Ma)e=Y(e/Wa);return Y(r+36*e/(e+Fa))},Xa=function(e){let t=[],n=e.length,r=0,i=Ra,a=La,o=e.lastIndexOf(za);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&Da(`not-basic`),t.push(e.charCodeAt(n));for(let s=o>0?o+1:0;s<n;){let o=r;for(let t=1,i=Ma;;i+=Ma){s>=n&&Da(`invalid-input`);let o=qa(e.charCodeAt(s++));o>=Ma&&Da(`invalid-input`),o>Y((ja-r)/t)&&Da(`overflow`),r+=o*t;let c=i<=a?Na:i>=a+Pa?Pa:i-a;if(o<c)break;let l=Ma-c;t>Y(ja/l)&&Da(`overflow`),t*=l}let c=t.length+1;a=Ya(r-o,c,o==0),Y(r/c)>ja-i&&Da(`overflow`),i+=Y(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},Za=function(e){let t=[];e=Aa(e);let n=e.length,r=Ra,i=0,a=La;for(let n of e)n<128&&t.push(Ga(n));let o=t.length,s=o;for(o&&t.push(za);s<n;){let n=ja;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>Y((ja-i)/c)&&Da(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>ja&&Da(`overflow`),n===r){let e=i;for(let n=Ma;;n+=Ma){let r=n<=a?Na:n>=a+Pa?Pa:n-a;if(e<r)break;let i=e-r,o=Ma-r;t.push(Ga(Ja(r+i%o,0))),e=Y(i/o)}t.push(Ga(Ja(e,0))),a=Ya(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},Qa=function(e){return ka(e,function(e){return Ba.test(e)?Xa(e.slice(4).toLowerCase()):e})},$a=function(e){return ka(e,function(e){return Va.test(e)?`xn--`+Za(e):e})},eo={version:`2.3.1`,ucs2:{decode:Aa,encode:Ka},decode:Xa,encode:Za,toASCII:$a,toUnicode:Qa}})))()}function no(e){let t=function(...n){return Reflect.construct(e,n,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function ro(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function io(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 ao(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function oo(e,t){if(t.charCodeAt(0)===35&&Vs.test(t)){let n=t[1].toLowerCase()===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return io(n)?ao(n):e}let n=ca(e);return n===e?e:n}function so(e){return e.indexOf(`\\`)<0?e:e.replace(zs,`$1`)}function co(e){return e.indexOf(`\\`)<0&&e.indexOf(`&`)<0?e:e.replace(Bs,function(e,t,n){return t||oo(e,n)})}function lo(e){return Ws[e]}function uo(e){return Hs.test(e)?e.replace(Us,lo):e}function fo(e){return e.replace(Gs,`\\$&`)}function X(e){switch(e){case 9:case 32:return!0}return!1}function po(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 mo(e){return Ii.test(e)||Li.test(e)}function ho(e){return mo(ao(e))}function go(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 _o(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}function vo(e){return e===32||e===9||e===10||e===13}function yo(e){let t=0;for(;t<e.length&&vo(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&vo(e.charCodeAt(n));n--);return e.slice(t,n+1)}function bo(e,t,n){let r,i,a,o,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),a===91){if(o===e.pos-1)r++;else if(n)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function xo(e,t,n){let r,i=t,a={ok:!1,pos:0,str:``};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return a;if(r===62)return a.pos=i+1,a.str=co(e.slice(t+1,i)),a.ok=!0,a;r===92&&i+1<n?i+=2:i++}return a}let o=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));)if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32){i++;continue}i+=2}else{if(r===40&&(o++,o>32))return a;if(r===41){if(o===0)break;o--}i++}return t===i||o!==0||(a.str=co(e.slice(t,i)),a.pos=i,a.ok=!0),a}function So(e,t,n,r){let i,a=t,o={ok:!1,can_continue:!1,pos:0,str:``,marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(r!==34&&r!==39&&r!==40)return o;t++,a++,r===40&&(r=41),o.marker=r}for(;a<n;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=co(e.slice(t,a)),o.ok=!0,o;if(i===40&&o.marker===41)return o;i===92&&a+1<n&&a++,a++}return o.can_continue=!0,o.str+=co(e.slice(t,a)),o}function Co(e){"@babel/helpers - typeof";return Co=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Co(e)}function wo(e,t){if(Co(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Co(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function To(e){var t=wo(e,`string`);return Co(t)==`symbol`?t:t+``}function Z(e,t,n){return(t=To(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eo(e){let t;t=e.src.replace(Qs,`
`),t=t.replace($s,`�`),e.src=t}function Do(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 Oo(e){let t=e.tokens,n=0;for(let e=0;e<t.length;e++)t[e].type!==`reference_definition`&&(e!==n&&(t[n]=t[e]),n++);t.length!==n&&(t.length=n)}function ko(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];r.type===`inline`&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function Ao(e){return/^<a[>\s]/i.test(e)}function jo(e){return/^<\/a\s*>/i.test(e)}function Mo(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!==`inline`||!e.md.linkify.test(t[n].content))continue;let r=t[n].children,i=[],a=0;for(let t=r.length-1;t>=0;t--){let n=r[t];if(n.type===`link_close`)for(t--;r[t].level!==n.level&&r[t].type!==`link_open`;)t--;else if(n.type===`html_inline`&&(Ao(n.content)&&a>0&&a--,jo(n.content)&&a++),!(a>0)&&n.type===`text`&&e.md.linkify.test(n.content)){let a=n.content,o=e.md.linkify.match(a),s=[],c=n.level,l=0;o.length>0&&o[0].index===0&&t>0&&r[t-1].type===`text_special`&&(o=o.slice(1));for(let t=0;t<o.length;t++){let n=o[t].url,r=e.md.normalizeLink(n);if(!e.md.validateLink(r))continue;let i=o[t].text;i=o[t].schema?o[t].schema===`mailto:`&&!/^mailto:/i.test(i)?e.md.normalizeLinkText(`mailto:${i}`).replace(/^mailto:/,``):e.md.normalizeLinkText(i):e.md.normalizeLinkText(`http://${i}`).replace(/^http:\/\//,``);let u=o[t].index;if(u>l){let t=new e.Token(`text`,``,0);t.content=a.slice(l,u),t.level=c,s.push(t)}let d=new e.Token(`link_open`,`a`,1);d.attrs=[[`href`,r]],d.level=c++,d.markup=`linkify`,d.info=`auto`,s.push(d);let f=new e.Token(`text`,``,0);f.content=i,f.level=c,s.push(f);let p=new e.Token(`link_close`,`a`,-1);p.level=--c,p.markup=`linkify`,p.info=`auto`,s.push(p),l=o[t].lastIndex}if(l<a.length){let t=new e.Token(`text`,``,0);t.content=a.slice(l),t.level=c,s.push(t)}i.push({index:t,nodes:s})}}if(i.length>0){let e=r.length;for(let t of i)e+=t.nodes.length-1;let a=Array(e),o=0,s=0;i.reverse();for(let e=0;e<r.length;e++){let t=i[o];if(t?.index===e){for(let e of t.nodes)a[s++]=e;o++}else a[s++]=r[e]}t[n].children=a}}}function No(e,t){return rc[t.toLowerCase()]}function Po(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&(r.content=r.content.replace(nc,No)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function Fo(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&ec.test(r.content)&&(r.content=r.content.replace(/\+-/g,`±`).replace(/\.{2,}/g,`…`).replace(/([?!])…/g,`$1..`).replace(/([?!]){4,}/g,`$1$1$1`).replace(/,{2,}/g,`,`).replace(/(^|[^-])---(?=[^-]|$)/gm,`$1—`).replace(/(^|\s)--(?=\s|$)/gm,`$1–`).replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,`$1–`)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function Io(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&(tc.test(e.tokens[t].content)&&Po(e.tokens[t].children),ec.test(e.tokens[t].content)&&Fo(e.tokens[t].children))}function Lo(e,t,n){for(;e.length>n;){let n=e.pop();n.isSingleQuote?t.single=n.prevSameQuoteIdx:t.double=n.prevSameQuoteIdx}}function Ro(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function zo(e,t){let n=``,r=0;t.sort((e,t)=>e.pos-t.pos);for(let i=0;i<t.length;i++){let a=t[i];n+=e.slice(r,a.pos)+a.ch,r=a.pos+1}return n+e.slice(r)}function Bo(e,t){let n,r=[],i={single:-1,double:-1},a={};for(let o=0;o<e.length;o++){let s=e[o],c=e[o].level;for(n=r.length-1;n>=0&&!(r[n].level<=c);n--);if(Lo(r,i,n+1),s.type!==`text`)continue;let l=s.content,u=0,d=l.length;OUTER:for(;u<d;){ac.lastIndex=u;let s=ac.exec(l);if(!s)break;let f=!0,p=!0;u=s.index+1;let m=s[0]===`'`,h=32;if(s.index-1>=0)h=l.charCodeAt(s.index-1);else for(n=o-1;n>=0&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n--)if(e[n].content){h=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(u<d)g=l.charCodeAt(u);else for(n=o+1;n<e.length&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n++)if(e[n].content){g=e[n].content.charCodeAt(0);break}let _=go(h)||ho(h),v=go(g)||ho(g),y=po(h),b=po(g);if(b?f=!1:v&&(y||_||(f=!1)),y?p=!1:_&&(b||v||(p=!1)),g===34&&s[0]===`"`&&h>=48&&h<=57&&(p=f=!1),f&&p&&(f=_,p=v),!f&&!p)m&&Ro(a,o,s.index,oc);else{if(p&&(n=m?i.single:i.double,n>=0&&r[n].level===c)){let e=r[n],c,l;m?(c=t.md.options.quotes[2],l=t.md.options.quotes[3]):(c=t.md.options.quotes[0],l=t.md.options.quotes[1]),Ro(a,o,s.index,l),Ro(a,e.tokenIdx,e.contentPos,c),Lo(r,i,n);continue OUTER}if(f){if(r.length>=sc)return;r.push({tokenIdx:o,contentPos:s.index,isSingleQuote:m,level:c,prevSameQuoteIdx:m?i.single:i.double}),m?i.single=r.length-1:i.double=r.length-1}else p&&m&&Ro(a,o,s.index,oc)}}}Object.keys(a).forEach(function(t){let n=Number(t);e[n].content=zo(e[n].content,a[t])})}function Vo(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&ic.test(e.tokens[t].content)&&Bo(e.tokens[t].children,e)}function Ho(e){let t,n,r=e.length;for(t=0;t<r;t++)e[t].type===`text_special`&&(e[t].type=`text`);for(t=n=0;t<r;t++)e[t].type===`text`&&t+1<r&&e[t+1].type===`text`?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}function Uo(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if(r[e].type!==`inline`)continue;let i=r[e].children,a=i.length;for(t=0;t<a;t++)i[t].type===`text_special`&&(i[t].type=`text`),i[t].children&&Ho(i[t].children);for(t=n=0;t<a;t++)i[t].type===`text`&&t+1<a&&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)}}function Wo(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Go(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),a=!1,o=0,s=``;for(;r<n;)i===124&&(a?(s+=e.substring(o,r-1),o=r):(t.push(s+e.substring(o,r)),s=``,o=r+1)),a=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(o)),t}function Ko(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;let o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58||a>=e.eMarks[i])return!1;let s=e.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!X(s)||o===45&&X(s))return!1;for(;a<e.eMarks[i];){let t=e.src.charCodeAt(a);if(t!==124&&t!==45&&t!==58&&!X(t))return!1;a++}let c=Wo(e,t+1),l=c.split(`|`),u=[];for(let e=0;e<l.length;e++){let t=l[e].trim();if(!t){if(e===0||e===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;t.charCodeAt(t.length-1)===58?u.push(t.charCodeAt(0)===58?`center`:`right`):t.charCodeAt(0)===58?u.push(`left`):u.push(``)}if(c=Wo(e,t).trim(),c.indexOf(`|`)===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=Go(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop();let d=l.length;if(d===0||d!==u.length)return!1;if(r)return!0;let f=e.parentType;e.parentType=`table`;let p=e.md.block.ruler.getRules(`blockquote`),m=e.push(`table_open`,`table`,1),h=[t,0];m.map=h;let g=e.push(`thead_open`,`thead`,1);g.map=[t,t+1];let _=e.push(`tr_open`,`tr`,1);_.map=[t,t+1];for(let t=0;t<l.length;t++){let n=e.push(`th_open`,`th`,1);u[t]&&(n.attrs=[[`style`,`text-align:${u[t]}`]]);let r=e.push(`inline`,``,0);r.content=l[t].trim(),r.children=[],e.push(`th_close`,`th`,-1)}e.push(`tr_close`,`tr`,-1),e.push(`thead_close`,`thead`,-1);let v,y=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,a=p.length;t<a;t++)if(p[t](e,i,n,!0)){r=!0;break}if(r||(c=Wo(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=Go(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop(),y+=d-l.length,y>dc))break;if(i===t+2){let n=e.push(`tbody_open`,`tbody`,1);n.map=v=[t+2,0]}let a=e.push(`tr_open`,`tr`,1);a.map=[i,i+1];for(let t=0;t<d;t++){let n=e.push(`td_open`,`td`,1);u[t]&&(n.attrs=[[`style`,`text-align:${u[t]}`]]);let r=e.push(`inline`,``,0);r.content=l[t]?l[t].trim():``,r.children=[],e.push(`td_close`,`td`,-1)}e.push(`tr_close`,`tr`,-1)}return v&&(e.push(`tbody_close`,`tbody`,-1),v[1]=i),e.push(`table_close`,`table`,-1),h[1]=i,e.parentType=f,e.line=i,!0}function qo(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;)if(e.isEmpty(r))r++;else if(e.sCount[r]-e.blkIndent>=4)r++,i=r;else break;e.line=i;let a=e.push(`code_block`,`code`,0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+`
`,a.map=[t,e.line],!0}function Jo(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;let o=e.src.charCodeAt(i);if(o!==126&&o!==96)return!1;let s=i;i=e.skipChars(i,o);let c=i-s;if(c<3)return!1;let l=e.src.slice(s,i),u=e.src.slice(i,a);if(o===96&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,o),!(i-s<c)&&(i=e.skipSpaces(i),!(i<a)))){f=!0;break}c=e.sCount[t],e.line=d+ +!!f;let p=e.push(`fence`,`code`,0);return p.info=u,p.content=e.getLines(t+1,d,c,!0),p.markup=l,p.map=[t,e.line],!0}function Yo(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;let s=[],c=[],l=[],u=[],d=e.md.block.ruler.getRules(`blockquote`),f=e.parentType;e.parentType=`blockquote`;let p=!1,m;for(m=t;m<n;m++){let t=e.sCount[m]<e.blkIndent;if(i=e.bMarks[m]+e.tShift[m],a=e.eMarks[m],i>=a)break;if(e.src.charCodeAt(i++)===62&&!t){let t=e.sCount[m]+1,n,r;e.src.charCodeAt(i)===32?(i++,t++,r=!1,n=!0):e.src.charCodeAt(i)===9?(n=!0,(e.bsCount[m]+t)%4==3?(i++,t++,r=!1):r=!0):n=!1;let o=t;for(s.push(e.bMarks[m]),e.bMarks[m]=i;i<a;){let t=e.src.charCodeAt(i);if(X(t))t===9?o+=4-(o+e.bsCount[m]+ +!!r)%4:o++;else break;i++}p=i>=a,c.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+ +!!n,l.push(e.sCount[m]),e.sCount[m]=o-t,u.push(e.tShift[m]),e.tShift[m]=i-e.bMarks[m];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,m,n,!0)){r=!0;break}if(r){e.lineMax=m,e.blkIndent!==0&&(s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]=-1}let h=e.blkIndent;e.blkIndent=0;let g=e.push(`blockquote_open`,`blockquote`,1);g.markup=`>`;let _=[t,0];g.map=_,e.md.block.tokenize(e,t,m);let v=e.push(`blockquote_close`,`blockquote`,-1);v.markup=`>`,e.lineMax=o,e.parentType=f,_[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=l[n],e.bsCount[n+t]=c[n];return e.blkIndent=h,!0}function Xo(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(a++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;a<i;){let t=e.src.charCodeAt(a++);if(t!==o&&!X(t))return!1;t===o&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let c=e.push(`hr`,`hr`,0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(o)),!0}function Zo(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!X(e.src.charCodeAt(r))?-1:r}function Qo(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1}else{if(a===41||a===46)break;return-1}}return i<r&&(a=e.src.charCodeAt(i),!X(a))?-1:i}function $o(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type===`paragraph_open`&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function es(e,t,n,r){let i,a,o,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let u=!1;r&&e.parentType===`paragraph`&&e.sCount[c]>=e.blkIndent&&(u=!0);let d,f,p;if((p=Qo(e,c))>=0){if(d=!0,o=e.bMarks[c]+e.tShift[c],f=Number(e.src.slice(o,p-1)),u&&f!==1)return!1}else if((p=Zo(e,c))>=0)d=!1;else return!1;if(u&&e.skipSpaces(p)>=e.eMarks[c])return!1;if(r)return!0;let m=e.src.charCodeAt(p-1),h=e.tokens.length;d?(s=e.push(`ordered_list_open`,`ol`,1),f!==1&&(s.attrs=[[`start`,f]])):s=e.push(`bullet_list_open`,`ul`,1);let g=[c,0];s.map=g,s.markup=String.fromCharCode(m);let _=!1,v=e.md.block.ruler.getRules(`list`),y=e.parentType;for(e.parentType=`list`;c<n;){a=p,i=e.eMarks[c];let t=e.sCount[c]+p-(e.bMarks[c]+e.tShift[c]),r=t;for(;a<i;){let t=e.src.charCodeAt(a);if(t===9)r+=4-(r+e.bsCount[c])%4;else if(t===32)r++;else break;a++}let u=a,f;f=u>=i?1:r-t,f>4&&(f=1);let h=t+f;s=e.push(`list_item_open`,`li`,1),s.markup=String.fromCharCode(m);let g=[c,0];s.map=g,d&&(s.info=e.src.slice(o,p-1));let y=e.tight,b=e.tShift[c],x=e.sCount[c],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=h,e.tight=!0,e.tShift[c]=u-e.bMarks[c],e.sCount[c]=r,u>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n),(!e.tight||_)&&(l=!1),_=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[c]=b,e.sCount[c]=x,e.tight=y,s=e.push(`list_item_close`,`li`,-1),s.markup=String.fromCharCode(m),c=e.line,g[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let C=!1;for(let t=0,r=v.length;t<r;t++)if(v[t](e,c,n,!0)){C=!0;break}if(C)break;if(d){if(p=Qo(e,c),p<0)break;o=e.bMarks[c]+e.tShift[c]}else if(p=Zo(e,c),p<0)break;if(m!==e.src.charCodeAt(p-1))break}return s=d?e.push(`ordered_list_close`,`ol`,-1):e.push(`bullet_list_close`,`ul`,-1),s.markup=String.fromCharCode(m),g[1]=c,e.line=c,e.parentType=y,l&&$o(e,h),!0}function ts(e){let t=e.length;for(let n=0;n<e.length-1;n++){let r=e.charCodeAt(n);if(r<55296||r>56319)continue;let i=e.charCodeAt(n+1);i>=56320&&i<=57343&&(t--,n++)}return t}function ns(e,t){return Math.min(e.eMarks[t]+1,e.src.length)}function rs(e,t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return-1;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules(`reference`),i=e.parentType;e.parentType=`reference`;let a=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,t,n,!0)){a=!0;break}if(e.parentType=i,a)return-1}return e.bMarks[t]+e.tShift[t]}function is(e,t,n,r){let i=e.src,a=e.bMarks[t]+e.tShift[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||i.charCodeAt(a)!==91)return!1;let s=ns(e,t),c=``,l=-1,u=++a;for(;a<s;){if(c.length+a-u>fc*2)return!1;let t=i.charCodeAt(a);if(t===91)return!1;if(t===93){l=a;break}if(t===92&&(t=i.charCodeAt(++a)),t===10&&a<s){let t=rs(e,o);if(t<0)return!1;c+=i.slice(u,s),a=u=t,s=ns(e,o++)}else a++}if(l<0||i.charCodeAt(l+1)!==58||(c+=i.slice(u,l),c.length>fc&&ts(c)>fc))return!1;for(a=l+2;a<s;){let t=i.charCodeAt(a);if(t===10){let t=rs(e,o);if(t<0)break;a=t,s=ns(e,o++)}else if(X(t))a++;else break}let d=e.md.helpers.parseLinkDestination(i,a,s);if(!d.ok)return!1;let f=e.md.normalizeLink(d.str);if(!e.md.validateLink(f))return!1;a=d.pos;let p=a,m=s,h=o;for(;a<s;){let t=i.charCodeAt(a);if(t===10){let t=rs(e,o);if(t<0)break;a=t,s=ns(e,o++)}else if(X(t))a++;else break}let g=a,_=e.md.helpers.parseLinkTitle(i,a,s);for(;_.can_continue;){let t=rs(e,o);if(t<0)break;a=t,s=ns(e,o++),_=e.md.helpers.parseLinkTitle(i,a,s,_)}let v;for(g!==p&&_.ok?(v=_.str,a=_.pos):(v=``,a=p,s=m,o=h);a<s&&X(i.charCodeAt(a));)a++;if(a<s&&i.charCodeAt(a)!==10&&v)for(v=``,a=p,s=m,o=h;a<s&&X(i.charCodeAt(a));)a++;if(a<s&&i.charCodeAt(a)!==10)return!1;let y=_o(c);if(!y)return!1;if(r)return!0;e.env.references===void 0&&(e.env.references={}),e.env.references[y]===void 0&&(e.env.references[y]={title:v,href:f});let b=e.push(`reference_definition`,``,0);b.map=[t,o],b.hidden=!0;let x=Object.create(null);return x.label=y,b.meta=x,e.line=o,!0}function as(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let o=e.src.slice(i,a),s=0;for(;s<_c.length&&!_c[s][0].test(o);s++);if(s===_c.length)return!1;if(r)return _c[s][2];let c=t+1,l=_c[s][1].test(``);if(!_c[s][1].test(o)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(l||!e.isEmpty(c)));c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],o=e.src.slice(i,a),_c[s][1].test(o)){o.length!==0&&c++;break}}e.line=c;let u=e.push(`html_block`,``,0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function os(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(o!==35||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);o===35&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!X(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);let c=e.skipCharsBack(a,35,i);c>i&&X(e.src.charCodeAt(c-1))&&(a=c),e.line=t+1;let l=e.push(`heading_open`,`h${s}`,1);l.markup=`########`.slice(0,s),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=yo(e.src.slice(i,a)),u.map=[t,e.line],u.children=[];let d=e.push(`heading_close`,`h${s}`,-1);return d.markup=`########`.slice(0,s),!0}function ss(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`);if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType=`paragraph`;let a=0,o,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s],n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(o===45||o===61)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=o===61?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return e.parentType=i,!1;let c=yo(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let l=e.push(`heading_open`,`h${a}`,1);l.markup=String.fromCharCode(o),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=c,u.map=[t,e.line-1],u.children=[];let d=e.push(`heading_close`,`h${a}`,-1);return d.markup=String.fromCharCode(o),e.parentType=i,!0}function cs(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`),i=e.parentType,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 t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}let o=yo(e.getLines(t,a,e.blkIndent,!1));e.line=a;let s=e.push(`paragraph_open`,`p`,1);s.map=[t,e.line];let c=e.push(`inline`,``,0);return c.content=o,c.map=[t,e.line],c.children=[],e.push(`paragraph_close`,`p`,-1),e.parentType=i,!0}function ls(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 us(e,t){let n=e.pos;for(;n<e.posMax&&!ls(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function ds(e){return e>=65&&e<=90||e>=97&&e<=122}function fs(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function ps(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let i=n-Math.min(10,e.pending.length,n),a=n;for(;a>i&&fs(e.src.charCodeAt(a-1));)a--;if(a===n||!ds(e.src.charCodeAt(a)))return!1;let o=n-a,s=e.md.linkify.matchAtStart(e.src.slice(a));if(!s)return!1;let c=s.url;if(c.length<=o)return!1;let l=c.length;for(;l>0&&c.charCodeAt(l-1)===42;)l--;l!==c.length&&(c=c.slice(0,l));let u=e.md.normalizeLink(c);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-o);let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,u]],t.markup=`linkify`,t.info=`auto`;let n=e.push(`text`,``,0);n.content=e.md.normalizeLinkText(c);let r=e.push(`link_close`,`a`,-1);r.markup=`linkify`,r.info=`auto`}return e.pos+=c.length-o,!0}function ms(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!t){if(r>=0&&e.pending.charCodeAt(r)===32){if(r>=1&&e.pending.charCodeAt(r-1)===32){let t=r-1;for(;t>=1&&e.pending.charCodeAt(t-1)===32;)t--;e.pending=e.pending.slice(0,t),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<i&&X(e.src.charCodeAt(n));)n++;return e.pos=n,!0}function hs(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push(`hardbreak`,`br`,0),n++;n<r&&(i=e.src.charCodeAt(n),X(i));)n++;return e.pos=n,!0}if(i===32){if(!t){let t=e.push(`text_special`,``,0);t.content=`\\`,t.markup=`\\`,t.info=`escape`}return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(a+=e.src[n+1],n++)}let o=`\\`+a;if(!t){let t=e.push(`text_special`,``,0);t.content=i<256&&xc[i]!==0?a:o,t.markup=o,t.info=`escape`}return e.pos=n+1,!0}function gs(e){let t={},n=0;for(;(n=e.indexOf("`",n))!==-1;){let r=n;for(;e.charCodeAt(++n)===96;);t[n-r]=r}return t}function _s(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;let r=e.posMax,i=n+1;for(;i<r&&e.src.charCodeAt(i)===96;)i++;let a=e.src.slice(n,i),o=a.length;if(e.backticksScanned||=(e.backticks=gs(e.src),!0),(e.backticks[o]??-1)>=i){let n=i,s;for(;(s=e.src.indexOf("`",n))!==-1&&s<r;){for(n=s+1;e.src.charCodeAt(n)===96;)n++;if(n>r)break;if(n-s===o){if(!t){let t=e.push(`code_inline`,`code`,0);t.markup=a;let n=e.src.slice(i,s).replace(/\n/g,` `);n.startsWith(` `)&&n.endsWith(` `)&&/[^ ]/.test(n)&&(n=n.slice(1,-1)),t.content=n}return e.pos=n,!0}}}return t||(e.pending+=a),e.pos=i,!0}function vs(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;let i=e.scanDelims(e.pos,!0),a=i.length,o=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push(`text`,``,0),s.content=o,a--);for(let t=0;t<a;t+=2)s=e.push(`text`,``,0),s.content=o+o,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function ys(e,t){let n,r=[],i=t.length;for(let a=0;a<i;a++){let i=t[a];if(i.marker!==126||i.end===-1)continue;let 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===`~`&&r.push(o.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&e.tokens[i].type===`s_close`;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}function bs(e){let t=e.tokens_meta,n=e.tokens_meta.length;ys(e,e.delimiters);for(let r=0;r<n;r++){let n=t[r]?.delimiters;n&&ys(e,n)}}function xs(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;let i=e.scanDelims(e.pos,r===42);for(let t=0;t<i.length;t++){let t=e.push(`text`,``,0);t.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Ss(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;let i=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=a?`strong_open`:`em_open`,s.tag=a?`strong`:`em`,s.nesting=1,s.markup=a?o+o:o,s.content=``;let c=e.tokens[i.token];c.type=a?`strong_close`:`em_close`,c.tag=a?`strong`:`em`,c.nesting=-1,c.markup=a?o+o:o,c.content=``,a&&(e.tokens[t[r-1].token].content=``,e.tokens[t[n.end+1].token].content=``,r--)}}function Cs(e){let t=e.tokens_meta,n=e.tokens_meta.length;Ss(e,e.delimiters);for(let r=0;r<n;r++){let n=t[r]?.delimiters;n&&Ss(e,n)}}function ws(e,t){let n,r,i,a,o=``,s=``,c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let u=e.pos,d=e.posMax,f=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let m=p+1;if(m<d&&e.src.charCodeAt(m)===40){for(l=!1,m++;m<d&&(n=e.src.charCodeAt(m),X(n)||n===10);m++);if(m>=d)return!1;if(c=m,i=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?m=i.pos:o=``,c=m;m<d&&(n=e.src.charCodeAt(m),X(n)||n===10);m++);if(i=e.md.helpers.parseLinkTitle(e.src,m,e.posMax),m<d&&c!==m&&i.ok)for(s=i.str,m=i.pos;m<d&&(n=e.src.charCodeAt(m),X(n)||n===10);m++);}(m>=d||e.src.charCodeAt(m)!==41)&&(l=!0),m++}if(l){if(e.env.references===void 0)return!1;if(m<d&&e.src.charCodeAt(m)===91?(c=m+1,m=e.md.helpers.parseLinkLabel(e,m),m>=0?r=e.src.slice(c,m++):m=p+1):m=p+1,r||=e.src.slice(f,p),r=_o(r),a=e.env.references[r],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=f,e.posMax=p;let t=e.push(`link_open`,`a`,1),n=[[`href`,o]];if(t.attrs=n,s&&n.push([`title`,s]),r){let e=Object.create(null);e.label=r,t.meta=e}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push(`link_close`,`a`,-1)}return e.pos=m,e.posMax=d,!0}function Ts(e,t){let n,r,i,a,o,s,c,l,u=``,d=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let p=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(a=m+1,a<f&&e.src.charCodeAt(a)===40){for(a++;a<f&&(n=e.src.charCodeAt(a),X(n)||n===10);a++);if(a>=f)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=``),l=a;a<f&&(n=e.src.charCodeAt(a),X(n)||n===10);a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<f&&l!==a&&s.ok)for(c=s.str,a=s.pos;a<f&&(n=e.src.charCodeAt(a),X(n)||n===10);a++);else c=``;if(a>=f||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(e.env.references===void 0)return!1;if(a<f&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=m+1):a=m+1,i||=e.src.slice(p,m),i=_o(i),o=e.env.references[i],!o)return e.pos=d,!1;u=o.href,c=o.title}if(!t){r=e.src.slice(p,m);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push(`image`,`img`,0),a=[[`src`,u],[`alt`,``]];if(n.attrs=a,n.children=t,n.content=r,c&&a.push([`title`,c]),i){let e=Object.create(null);e.label=i,n.meta=e}}return e.pos=a,e.posMax=f,!0}function Es(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(t===60)return!1;if(t===62)break}let a=e.src.slice(r+1,n);if(Tc.test(a)){let n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}if(wc.test(a)){let n=e.md.normalizeLink(`mailto:${a}`);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}return!1}function Ds(e){return/^<a[>\s]/i.test(e)}function Os(e){return/^<\/a\s*>/i.test(e)}function ks(e){let t=e|32;return t>=97&&t<=122}function As(e,t){let n=e.src,r,i;if(n.startsWith(`<!--`,t)){if(n.startsWith(`>`,t+4))return t+5;if(n.startsWith(`->`,t+4))return t+6;r=t+4,i=`-->`}else if(n.startsWith(`<![CDATA[`,t))r=t+9,i=`]]>`;else if(n.charCodeAt(t+1)===63)r=t+2,i=`?>`;else if(ks(n.charCodeAt(t+2)))r=t+3,i=`>`;else return-1;if(e.skipHtmlSpecial)return-1;let a=n.indexOf(i,r);return a<0?(e.skipHtmlSpecial=!0,-1):a+i.length}function js(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i,a=e.src.charCodeAt(r+1);if(a===33||a===63)i=As(e,r);else if(a===47||ks(a)){let t=e.src.slice(r).match(gc);i=t?r+t[0].length:-1}else return!1;if(i<0)return!1;if(!t){let t=e.push(`html_inline`,``,0);t.content=e.src.slice(r,i),Ds(t.content)&&e.linkLevel++,Os(t.content)&&e.linkLevel--}return e.pos=i,!0}function Ms(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){let r=e.src.slice(n).match(Ec);if(r){if(!t){let t=r[1][0].toLowerCase()===`x`?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push(`text_special`,``,0);n.content=io(t)?ao(t):ao(65533),n.markup=r[0],n.info=`entity`}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(Dc);if(r){let n=ca(r[0]);if(n!==r[0]){if(!t){let t=e.push(`text_special`,``,0);t.content=n,t.markup=r[0],t.info=`entity`}return e.pos+=r[0].length,!0}}}return!1}function Ns(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,a=[];for(let o=0;o<n;o++){let n=e[o];if(a.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=o),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let s=t[n.marker][(n.open?3:0)+n.length%3],c=r-a[r]-1,l=c;for(;c>s;c-=a[c]+1){let t=e[c];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=c>0&&!e[c-1].open?a[c-1]+1:0;a[o]=o-c+r,a[c]=r,n.open=!1,t.end=o,t.close=!1,l=-1,i=-2;break}}}l!==-1&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}function Ps(e){let t=e.tokens_meta,n=e.tokens_meta.length;Ns(e.delimiters);for(let e=0;e<n;e++){let n=t[e]?.delimiters;n&&Ns(n)}}function Fs(e){let t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type===`text`&&t+1<a&&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)}var Is,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Q,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic,ac,oc,sc,cc,lc,uc,dc,fc,pc,mc,hc,gc,_c,vc,yc,bc,xc,Sc,Cc,wc,Tc,Ec,Dc,Oc,kc,Ac,jc,Mc,Nc,Pc,$,Fc;function Ic(){return(Ic=e((()=>{ji(),zi(),ga(),Ea(),to(),Is=Object.defineProperty,Ls=(e,t)=>{let n={};for(var r in e)Is(n,r,{get:e[r],enumerable:!0});return t||Is(n,Symbol.toStringTag,{value:`Module`}),n},Rs=Ls({arrayReplaceAt:()=>ro,asciiTrim:()=>yo,callable:()=>no,escapeHtml:()=>uo,escapeRE:()=>fo,fromCodePoint:()=>ao,isMdAsciiPunct:()=>go,isPunctChar:()=>mo,isPunctCharCode:()=>ho,isSpace:()=>X,isValidEntityCode:()=>io,isWhiteSpace:()=>po,lib:()=>Ks,normalizeReference:()=>_o,unescapeAll:()=>co,unescapeMd:()=>so}),zs=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Bs=RegExp(`${zs.source}|&([a-z#][a-z0-9]{1,31});`,`gi`),Vs=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,Hs=/[&<>"]/,Us=/[&<>"]/g,Ws={"&":`&`,"<":`<`,">":`>`,'"':`"`},Gs=/[.?*+^$[\]\\(){}|-]/g,Ks={mdurl:Ai,ucmicro:Mi},qs=Ls({parseLinkDestination:()=>xo,parseLinkLabel:()=>bo,parseLinkTitle:()=>So}),Js=class{constructor(e,t,n){Z(this,`map`,null),Z(this,`level`,0),Z(this,`children`,null),Z(this,`content`,``),Z(this,`markup`,``),Z(this,`info`,``),Z(this,`block`,!1),Z(this,`hidden`,!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=n,this.meta=null}attrIndex(e){if(!this.attrs)return-1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},Ys=class{constructor(){Z(this,`__rules__`,[]),Z(this,`__cache__`,null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){let e=new Set;this.__rules__.forEach(t=>{t.enabled&&t.alt.forEach(t=>{t&&e.add(t)})}),this.__cache__=Object.create(null),this.__cache__[``]=[],this.__rules__.forEach(e=>{e.enabled&&this.__cache__[``].push(e.fn)}),e.forEach(e=>{this.__cache__[e]=[],this.__rules__.forEach(t=>{t.enabled&&t.alt.indexOf(e)>=0&&this.__cache__[e].push(t.fn)})})}at(e,t,n={}){let r=this.__find__(e);if(r===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null}before(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}after(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}push(e,t,n={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null}enable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(e=>{let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name ${e}`)}this.__rules__[r].enabled=!0,n.push(e)}),this.__cache__=null,n}enableOnly(e,t=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach(e=>{e.enabled=!1}),this.enable(e,t)}disable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(e=>{let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name ${e}`)}this.__rules__[r].enabled=!1,n.push(e)}),this.__cache__=null,n}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},Q={},Q.code_inline=function(e,t,n,r,i){let a=e[t];return`<code${i.renderAttrs(a)}>${uo(a.content)}</code>`},Q.code_block=function(e,t,n,r,i){let a=e[t];return`<pre${i.renderAttrs(a)}><code>${uo(e[t].content)}</code></pre>\n`},Q.fence=function(e,t,n,r,i){let a=e[t],o=a.info?co(a.info).trim():``,s=``,c=``;if(o){let e=o.split(/(\s+)/g);s=e[0],c=e.slice(2).join(``)}let l;if(l=n.highlight&&n.highlight(a.content,s,c)||uo(a.content),l.indexOf(`<pre`)===0)return l+`
`;if(o){let e=a.attrIndex(`class`),t=a.attrs?a.attrs.slice():[];e<0?t.push([`class`,`${n.langPrefix}${s}`]):(t[e]=[t[e][0],t[e][1]],t[e][1]+=` ${n.langPrefix}${s}`);let r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${l}</code></pre>\n`}return`<pre><code${i.renderAttrs(a)}>${l}</code></pre>\n`},Q.image=function(e,t,n,r,i){let a=e[t];return a.attrs[a.attrIndex(`alt`)][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},Q.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
`:`<br>
`},Q.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
`:`<br>
`:`
`},Q.text=function(e,t){return uo(e[t].content)},Q.html_block=function(e,t){return e[t].content},Q.html_inline=function(e,t){return e[t].content},Xs=class{constructor(){Z(this,`rules`,Object.assign({},Q))}renderAttrs(e){let t,n,r;if(!e.attrs)return``;for(r=``,t=0,n=e.attrs.length;t<n;t++)r+=` ${uo(e.attrs[t][0])}="${uo(String(e.attrs[t][1]))}"`;return r}renderToken(e,t,n){let r=e[t],i=``;if(r.hidden)return``;let a=t-1;for(;a>=0&&e[a].hidden&&e[a].nesting===0;)a--;r.block&&r.nesting!==-1&&a>=0&&e[a].hidden&&e[a].nesting===-1&&(i+=`
`),i+=(r.nesting===-1?`</`:`<`)+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=` /`);let o=!1;if(r.block&&(o=!0,r.nesting===1)){let n=t+1;for(;n<e.length&&e[n].hidden&&e[n].nesting===0;)n++;if(n<e.length){let t=e[n];(t.type===`inline`||t.hidden||t.nesting===-1&&t.tag===r.tag)&&(o=!1)}}return i+=o?`>
`:`>`,i}renderInline(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;i[o]===void 0?r+=this.renderToken(e,a,t):r+=i[o](e,a,t,n,this)}return r}renderInlineAsText(e,t,n){let r=``;for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case`text`:case`code_inline`:r+=e[i].content;break;case`image`:r+=this.renderInlineAsText(e[i].children,t,n);break;case`html_inline`:case`html_block`:r+=e[i].content;break;case`softbreak`:case`hardbreak`:r+=`
`}return r}render(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;o===`inline`?r+=this.renderInline(e[a].children,t,n):i[o]===void 0?r+=this.renderToken(e,a,t):r+=i[o](e,a,t,n,this)}return r}},Zs=class{constructor(e,t,n){Z(this,`tokens`,[]),Z(this,`inlineMode`,!1),Z(this,`Token`,Js),this.src=e,this.env=n,this.md=t}},Qs=/\r\n?/g,$s=/\0/g,ec=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,tc=/\((c|tm|r)\)/i,nc=/\((c|tm|r)\)/gi,rc={c:`©`,r:`®`,tm:`™`},ic=/['"]/,ac=/['"]/g,oc=`’`,sc=1e3,cc=[[`normalize`,Eo],[`block`,Do],[`strip_references`,Oo],[`inline`,ko],[`linkify`,Mo],[`replacements`,Io],[`smartquotes`,Vo],[`text_join`,Uo]],lc=class{constructor(){Z(this,`ruler`,new Ys),Z(this,`State`,Zs);for(let e=0;e<cc.length;e++)this.ruler.push(cc[e][0],cc[e][1])}process(e){let t=this.ruler.getRules(``);for(let n=0,r=t.length;n<r;n++)t[n](e)}},uc=class{constructor(e,t,n,r){Z(this,`bMarks`,[]),Z(this,`eMarks`,[]),Z(this,`tShift`,[]),Z(this,`sCount`,[]),Z(this,`bsCount`,[]),Z(this,`blkIndent`,0),Z(this,`line`,0),Z(this,`lineMax`,0),Z(this,`tight`,!1),Z(this,`listIndent`,-1),Z(this,`parentType`,`root`),Z(this,`level`,0),Z(this,`Token`,Js),this.src=e,this.md=t,this.env=n,this.tokens=r;let i=this.src;for(let e=0,t=0,n=0,r=0,a=i.length,o=!1;t<a;t++){let s=i.charCodeAt(t);if(!o){if(X(s)){n++,s===9?r+=4-r%4:r++;continue}o=!0}(s===10||t===a-1)&&(s!==10&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),o=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){let r=new Js(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&X(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!X(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return``;let i=Array(t-e);for(let a=0,o=e;o<t;o++,a++){let e=0,s=this.bMarks[o],c=s,l;for(l=o+1<t||r?this.eMarks[o]+1:this.eMarks[o];c<l&&e<n;){let t=this.src.charCodeAt(c);if(X(t))t===9?e+=4-(e+this.bsCount[o])%4:e++;else if(c-s<this.tShift[o])e++;else break;c++}e>n?i[a]=Array(e-n+1).join(` `)+this.src.slice(c,l):i[a]=this.src.slice(c,l)}return i.join(``)}},dc=65536,fc=999,pc=`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`.split(`.`),mc=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,hc=`<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>`,RegExp(`^(?:${mc}|${hc}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),gc=RegExp(`^(?:${mc}|${hc})`),_c=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(${pc.join(`|`)})(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(`${gc.source}\\s*$`),/^$/,!1]],vc=[[`table`,Ko,[`paragraph`,`reference`]],[`code`,qo],[`fence`,Jo,[`paragraph`,`reference`,`blockquote`,`list`]],[`blockquote`,Yo,[`paragraph`,`reference`,`blockquote`,`list`]],[`hr`,Xo,[`paragraph`,`reference`,`blockquote`,`list`]],[`list`,es,[`paragraph`,`reference`,`blockquote`]],[`reference`,is],[`html_block`,as,[`paragraph`,`reference`,`blockquote`]],[`heading`,os,[`paragraph`,`reference`,`blockquote`]],[`lheading`,ss],[`paragraph`,cs]],yc=class{constructor(){Z(this,`ruler`,new Ys),Z(this,`State`,uc);for(let e=0;e<vc.length;e++)this.ruler.push(vc[e][0],vc[e][1],{alt:(vc[e][2]||[]).slice()})}tokenize(e,t,n){let r=this.ruler.getRules(``),i=r.length,a=e.md.options.maxNesting,o=t,s=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n||e.sCount[o]<e.blkIndent));){if(e.level>=a){e.line=n;break}let t=e.line,c=!1;for(let a=0;a<i;a++)if(c=r[a](e,o,n,!1),c){if(t>=e.line)throw Error(`block rule didn't increment state.line`);break}if(!c)throw Error(`none of the block rules matched`);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<n&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}}parse(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)}},bc=class{constructor(e,t,n,r){Z(this,`pos`,0),Z(this,`level`,0),Z(this,`pending`,``),Z(this,`pendingLevel`,0),Z(this,`cache`,{}),Z(this,`backticks`,{}),Z(this,`backticksScanned`,!1),Z(this,`skipHtmlSpecial`,!1),Z(this,`linkLevel`,0),Z(this,`delimiters`,[]),Z(this,`_prev_delimiters`,[]),Z(this,`Token`,Js),this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){let e=new Js(`text`,``,0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=``,e}push(e,t,n){this.pending&&this.pushPending();let r=new Js(e,t,n),i;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r}scanDelims(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)==55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)==56320){let t=this.src.charCodeAt(e-2);i=(t&64512)==55296?65536+(t-55296<<10)+(i-56320):65533}else(i&64512)==55296&&(i=65533);let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;let o=a-e,s=a<n?this.src.charCodeAt(a):32;if((s&64512)==55296){let e=this.src.charCodeAt(a+1);s=(e&64512)==56320?65536+(s-55296<<10)+(e-56320):65533}else(s&64512)==56320&&(s=65533);let c=go(i)||ho(i),l=go(s)||ho(s),u=po(i),d=po(s),f=!d&&(!l||u||c),p=!u&&(!c||d||l);return{can_open:f&&(t||!p||c),can_close:p&&(t||!f||l),length:o}}},xc=[];for(let e=0;e<256;e++)xc.push(0);`\\!"#$%&'()*+,./:;<=>?@[]^_\`{|}~-`.split(``).forEach(function(e){xc[e.charCodeAt(0)]=1}),Sc={tokenize:vs,postProcess:bs},Cc={tokenize:xs,postProcess:Cs},wc=/^([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])?)*)$/,Tc=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,Ec=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Dc=/^&([a-z][a-z0-9]{1,31});/i,Oc=[[`text`,us],[`linkify`,ps],[`newline`,ms],[`escape`,hs],[`backticks`,_s],[`strikethrough`,Sc.tokenize],[`emphasis`,Cc.tokenize],[`link`,ws],[`image`,Ts],[`autolink`,Es],[`html_inline`,js],[`entity`,Ms]],kc=[[`balance_pairs`,Ps],[`strikethrough`,Sc.postProcess],[`emphasis`,Cc.postProcess],[`fragments_join`,Fs]],Ac=class{constructor(){Z(this,`ruler`,new Ys),Z(this,`ruler2`,new Ys),Z(this,`State`,bc);for(let e=0;e<Oc.length;e++)this.ruler.push(Oc[e][0],Oc[e][1]);for(let e=0;e<kc.length;e++)this.ruler2.push(kc[e][0],kc[e][1])}skipToken(e){let t=e.pos,n=this.ruler.getRules(``),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(a[t]!==void 0){e.pos=a[t];return}let o=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,o=n[i](e,!0),e.level--,o){if(t>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos}tokenize(e){let t=this.ruler.getRules(``),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let a=e.pos,o=!1;if(e.level<i){for(let r=0;r<n;r++)if(o=t[r](e,!1),o){if(a>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}if(o){if(e.pos>=r)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let a=this.ruler2.getRules(``),o=a.length;for(let e=0;e<o;e++)a[e](i)}},jc={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`,`strip_references`,`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`,`strip_references`,`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`]}}}},Mc=/^(vbscript|javascript|file|data):/,Nc=/^data:image\/(gif|png|jpeg|webp);/,Pc=[`http:`,`https:`,`mailto:`],$=class{validateLink(e){let t=e.trim().toLowerCase();return!Mc.test(t)||Nc.test(t)}normalizeLink(e){let t=gi(e,!0);if(t.hostname&&(!t.protocol||Pc.indexOf(t.protocol)>=0))try{t.hostname=eo.toASCII(t.hostname)}catch{}return t.auth&&=di(t.auth),t.hostname&&=di(t.hostname),t.pathname&&=di(t.pathname),t.search&&=di(t.search),t.hash&&=di(t.hash),mi(t)}normalizeLinkText(e){let t=gi(e,!0);if(t.hostname&&(!t.protocol||Pc.indexOf(t.protocol)>=0))try{t.hostname=eo.toUnicode(t.hostname)}catch{}return si(mi(t),si.defaultChars+`%`)}constructor(...e){Z(this,`inline`,new Ac),Z(this,`block`,new yc),Z(this,`core`,new lc),Z(this,`renderer`,new Xs),Z(this,`linkify`,new Ta),Z(this,`utils`,Rs),Z(this,`helpers`,Object.assign({},qs));let[t,n]=e;typeof t==`string`?(this.configure(t),n&&this.set(n)):(this.configure(`default`),this.set(t||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let t;if(typeof e==`string`){let n=e;if(t=jc[n],!t)throw Error(`Wrong 'markdown-it' preset "${n}", check name`)}else t=e;if(!t)throw Error("Wrong `markdown-it` preset, can't be empty");t.options&&(this.options={...t.options});let n=t.components;if(n){[`core`,`block`,`inline`].forEach(e=>{let t=n[e]?.rules;t&&this[e].ruler.enableOnly(t)});let e=n.inline?.rules2;e&&this.inline.ruler2.enableOnly(e)}return this}enable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(t=>{n=n.concat(this[t].ruler.enable(e,!0))}),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(e=>n.indexOf(e)<0);if(r.length&&!t)throw Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);return this}disable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(t=>{n=n.concat(this[t].ruler.disable(e,!0))}),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(e=>n.indexOf(e)<0);if(r.length&&!t)throw Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if(typeof e!=`string`)throw Error(`Input data should be a String`);let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}},Z($,`Token`,Js),Z($,`Ruler`,Ys),Z($,`Renderer`,Xs),Z($,`ParserCore`,lc),Z($,`StateCore`,Zs),Z($,`ParserBlock`,yc),Z($,`StateBlock`,uc),Z($,`ParserInline`,Ac),Z($,`StateInline`,bc),Fc=no($)})))()}function Lc(e){return e.includes(`cite`)?e.replace(zc,``).replace(Rc,``):e}var Rc,zc;function Bc(){return(Bc=e((()=>{Rc=/cite(?:[^]*)?/g,zc=/[ \t]*cite(?:[^]*)?(?=\r?\n|$)/g})))()}function Vc(e){return typeof e==`string`?e:e.html}function Hc(){return(Hc=e((()=>{})))()}function Uc(e){return`${e.owner}/${e.repo}#${e.number}`}function Wc(e){try{let t=decodeURIComponent(e);return t&&t!==`.`&&t!==`..`?t:null}catch{return null}}function Gc([e,t,n,r]){return{kind:n?`issue`:`pull`,number:Number(n??r),owner:e,repo:t}}function Kc(e){let t=me(e);return t?Gc(t):null}function qc(e){let t=URL.parse(e),n=t?fe(t):null;return n&&t?{...Gc(n),href:t.href}:null}function Jc(){return(Jc=e((()=>{})))()}var Yc,Xc;function Zc(){return(Zc=e((()=>{m(),Yc={chat:{imageLightbox:{loadingDetail:`Loading sharper image…`,detailFailed:`Preview shown. Sharper image could not load.`,actions:`Image actions`,previous:`Previous image`,next:`Next image`,position:`{current} / {total}`,label:`Image preview: {title}`,open:`Open image {title}`,openOriginal:`Open in new tab`,copy:`Copy image`,download:`Download image`,copyFailed:`Could not copy this image. Check clipboard access and try again.`,downloadFailed:`Could not download this image. Try again.`,loadFailed:`Could not load this image. Try again.`,zoomIn:`Zoom in`,zoomOut:`Zoom out`,resetZoom:`Reset zoom`,close:`Close image preview`,untitled:`Image`},mediaPlayer:{play:`Play`,pause:`Pause`,seek:`Seek media`,mute:`Mute`,unmute:`Unmute`,volume:`Volume`,download:`Download {filename}`,preparing:`Preparing playback…`,openVideo:`Expand {filename} in the media overlay`,videoPreview:`Video preview: {title}`,closeVideoPreview:`Close video preview`}}},Xc=Object.assign(()=>{Object.assign(s.chat.imageLightbox,Yc.chat.imageLightbox),Object.assign(s.chat.mediaPlayer,Yc.chat.mediaPlayer)},{catalog:Yc})})))()}function Qc(e){return`<code class="assistant-transcript-role">${O(e)}</code>`}function $c(e){let t=il.get(e);if(t)return t;let n=new Set,r=0;for(let t=0;t<e.length;t+=1){let i=e[t]?.type;i===`link_open`?r+=1:i===`link_close`?r=Math.max(0,r-1):i===`image`&&r>0&&n.add(t)}return il.set(e,n),n}function el(e,t){let n=``,r=0;for(let{start:i,end:a}of t)n+=O(e.slice(r,i)),a>i&&(n+=Qc(e.slice(i,a))),r=a;return n+O(e.slice(r))}function tl(e){e.use(k,{isStructuralHtmlInline:e=>e.meta?.taskListPlugin===!0}),e.renderer.rules[De]=(e,t)=>{let n=e[t];return n?Qc(n.content):``},e.renderer.rules.image=(e,t,n,r)=>{let i=e[t];if(!i)return``;let a=String(i.attrGet(`src`)??``).trim(),o=i.content.trim()||`image`,s=i.meta?.assistantTranscriptRoleImage,c=$c(e).has(t);if(!/^data:image\/[a-z0-9.+-]+;base64,/i.test(a)&&r?.remoteImages!==!0){let e=s?el(s.text,s.spans):O(o),t=URL.parse(a);return!t||t.protocol!==`https:`&&t.protocol!==`http:`?e:`<span class="markdown-external-image">${`<span>${O(w(`chat.externalImage.notLoaded`))}: ${e}</span>`}${c?``:` <a href="${O(a)}">${O(w(`chat.externalImage.open`))}</a>`}</span>`}let l=`<img class="markdown-inline-image" src="${O(a)}" alt="${O(o)}">`,u=c||r?.interactiveImages!==!0?l:`<button class="markdown-inline-image-button" type="button" aria-label="${O(w(`chat.imageLightbox.open`,{title:i.content.trim()?o:w(`chat.imageLightbox.untitled`)}))}">${l}</button>`;return s?`${Qc(`${w(`sessionsView.assistant`)}:`)} ${u}`:u}}function nl(e){return e.replace(/\r\n?/g,`
`).replace(/\0/g,``)}function rl(e,t){let n=document.createElement(`div`);if(n.className=`markdown-plain-text-fallback`,!t)return n.textContent=nl(e),n;let r=document.createElement(`code`);r.className=`assistant-transcript-role`,r.textContent=nl(`${w(`sessionsView.assistant`)}:`);let i=document.createElement(`span`);return i.className=`markdown-plain-text-source`,i.textContent=nl(e),n.append(r,`
`,i),n}var il;function al(){return(al=e((()=>{Oe(),ee(),Zc(),Xc(),il=new WeakMap})))()}function ol(e,t=hl){let n=`${t}\\.${e}`,r=`(?:~\\/|\\.\\.\\/|\\.\\/|\\/)(?:${t}\\/)*${n}`,i=`(?![\\p{L}\\p{M}\\p{N}-]+(?:\\.[\\p{L}\\p{M}\\p{N}-]+)*\\.(?:[\\p{L}\\p{M}]{2,}|[xX][nN]--[A-Za-z0-9-]+)\\/)${t}(?:\\/${t})*\\/${n}`,a=`[A-Za-z]:[\\\\/](?:${t}[\\\\/])*${n}`,o=`(?!\\.?[\\p{L}\\p{M}\\p{N}_])`,s=`(?:${r}|${a}|${i})(?:${yl})?${o}`,c=`${n}${yl}${o}`;return{scan:RegExp(`${s}|${c}`,`gu`),exact:RegExp(`^(?:${s}|${c})$`,`u`),bare:RegExp(`^${t}\\.(${_l})$`,`u`)}}function sl(e){let t=e.target;if(!(t instanceof Element))return null;let n=t.closest(`a[data-file-path]`),r=n?.dataset.filePath;if(!r)return null;let i=n.dataset.fileLine,a=n.closest(`[data-file-session-key]`)?.dataset.fileSessionKey,o=n.closest(`[data-file-entry-id]`)?.dataset.fileEntryId??(a?void 0:n.closest(`[data-entry-id]`)?.dataset.entryId);return{path:r,line:i?Number.parseInt(i,10):null,...a?{sessionKey:a}:{},...o?{messageEntryId:o}:{},...n.dataset.fileDocumentRelative===`true`?{documentRelative:!0}:{}}}function cl(e){if(e.key!==`Enter`&&e.key!==` `)return null;let t=sl(e);return t&&e.preventDefault(),t}function ll(e){let t=Cl.exec(e),n=t?.[1];return t&&n?{path:e.slice(0,t.index),line:Number.parseInt(n,10)}:{path:e,line:null}}function ul(e,t){if(e.includes(`/`)||e.includes(`\\`))return!1;let n=t.exec(e);return!!(n?.[1]&&wl.has(n[1].toLowerCase()))}function dl(e,t){let n=e.trim(),r=t?.authored?xl:bl;return!r.exact.test(n)&&!ul(n,r.bare)?null:ll(n)}function fl(e){return ml.test(e.trim())}function pl(e,t=`read`){let n=e.split(t===`select`?/[?#]/:`#`,1)[0]??``;if(!n||n.includes(`?`))return null;let r;try{r=decodeURIComponent(n)}catch{return null}let i=ll(r);return!i.path||/^(?:[/\\]|~[/\\]|[a-z][a-z0-9+.-]*:)/i.test(i.path)||/\p{Cc}/u.test(r)?null:i}var ml,hl,gl,_l,vl,yl,bl,xl,Sl,Cl,wl;function Tl(){return(Tl=e((()=>{ml=/^(?:~\/|\/(?:Users|home|tmp|private\/tmp|var\/folders|private\/var\/folders)\/|\/[A-Za-z]:\/|[A-Za-z]:[\\/])/,hl=`[\\p{L}\\p{M}\\p{N}_.@#+-]+`,gl=`[^/\\\\:?\\p{Cc}]+`,_l=`[A-Za-z][A-Za-z0-9]{0,7}`,vl=`[A-Za-z0-9]{1,8}`,yl=`:\\d{1,6}(?:[-:]\\d{1,6})?`,bl=ol(_l),xl=ol(vl,gl),Sl=bl.scan,Cl=/:(\d{1,6})(?:[-:]\d{1,6})?$/,wl=new Set(`astro.bash.c.cc.cfg.cjs.conf.cpp.cs.css.csv.diff.fish.go.h.hpp.htm.html.ini.java.js.json.jsonc.jsx.kt.kts.less.lock.log.markdown.md.mdx.mjs.patch.plist.proto.py.rb.rs.scss.sh.sql.svelte.svg.swift.toml.ts.tsx.txt.vue.xml.yaml.yml.zsh`.split(`.`))})))()}function El(e,t,n){let r=Ce(e,t),i=[];if(!r)return{source:e,tokens:i};let a=be(e),o=n(e),s=0,c;do c=`openclawhumanmention`+s+++`x`;while(o.includes(n(c)));let l=0,u=``;for(let t of r){if(a.some(([e,n])=>t.start<n&&t.end>e&&(e<t.start||n>t.end)))continue;let n=c+i.length+`end`;i.push({marker:n,profileId:t.profileId,label:e.slice(t.start,t.end)}),u+=e.slice(l,t.start)+n,l=t.end}return{source:u+e.slice(l),tokens:i}}function Dl(e,t=[]){let n=e;for(let e of t)n=n.replaceAll(e.marker,()=>e.label);return n}function Ol(e){e.core.ruler.before(`inline`,`human-mention-references`,t=>{let n=t.env.humanMentionTokens,r=t.env.references;if(!n?.length||!r)return;let i=e.utils.normalizeReference,a=n.map(({marker:e,label:t})=>({marker:i(e),label:t})),o=e=>i(Dl(e,a)),s=new Map;for(let[e,t]of Object.entries(r)){let n=o(e);s.has(n)||s.set(n,t)}t.env.references=new Proxy(r,{get(e,t){return typeof t==`string`?s.get(o(t)):Reflect.get(e,t)}})}),e.core.ruler.after(`file-links`,`human-mentions`,e=>{let t=e.env?.humanMentionTokens;if(!t?.length)return;let n=e=>Dl(e,t),r=e=>{e.content=n(e.content),e.attrs=e.attrs?.map(([e,t])=>[e,typeof t==`string`?n(t):t])??null,e.children?.forEach(r)};for(let i of e.tokens){if(i.type!==`inline`||!i.children){r(i);continue}let a=0;i.children=i.children.flatMap(n=>{if(n.type===`link_open`?a+=1:n.type===`link_close`&&(a=Math.max(0,a-1)),n.type!==`text`||a>0)return r(n),[n];let i=t.flatMap(e=>{let t=n.content.indexOf(e.marker);return t<0?[]:[{...e,index:t}]}).toSorted((e,t)=>e.index-t.index);if(!i.length)return[n];let o=[],s=0;for(let t of i){let r=new e.Token(`text`,``,0);r.content=n.content.slice(s,t.index);let i=new e.Token(`human_mention`,``,0);i.content=t.label,i.attrSet(`profile-id`,t.profileId),o.push(r,i),s=t.index+t.marker.length}let c=new e.Token(`text`,``,0);return c.content=n.content.slice(s),[...o,c]}),i.content=n(i.content)}}),e.renderer.rules.human_mention=(e,t)=>{let n=e[t],r=n?.attrGet(`profile-id`);return n&&typeof r==`string`&&r?`<openclaw-person-reference profile-id="${O(r)}" label="${O(n.content)}">${O(n.content)}</openclaw-person-reference>`:``}}function kl(){return(kl=e((()=>{ve(),oe()})))()}function Al(e){return/^\p{Emoji_Presentation}/u.test(String.fromCodePoint(e))}function jl(e){if(e<4352)return!1;switch(Je(e)){case`fullwidth`:case`halfwidth`:return!0;case`wide`:return!Al(e);case`narrow`:return!1;case`ambiguous`:return null;case`neutral`:return/^\p{sc=Hangul}/u.test(String.fromCodePoint(e))}}function Ml(e,t){return jl(e)??(t===65025&&n(e));function n(e){return e===8216||e===8217||e===8220||e===8221}}function Nl(e){return jl(e)??(917760<=e&&e<=917999)}function Pl(e){return jl(e)??!1}function Fl(e){return e>=65024&&e<=65038}function Il(e){let t=e.inline.State;class n extends t{scanDelims(t,n){let r=this.posMax,i=this.src.charCodeAt(t),[a,o]=v(this.src,t),s=a,c=null;Fl(a)&&(c=v(this.src,o)[0],/^\p{Zs}/u.test(String.fromCodePoint(c))||(s=c));let l=t;for(;l<r&&this.src.charCodeAt(l)===i;)l++;let u=l-t,d=l<r?this.src.codePointAt(l):32,f=e.utils.isWhiteSpace(s),p=e.utils.isWhiteSpace(d);if(f||p)return{can_open:!p,can_close:!f,length:u};let m=e.utils.isMdAsciiPunct(s)||e.utils.isPunctChar(String.fromCodePoint(s)),h=e.utils.isMdAsciiPunct(d)||e.utils.isPunctChar(String.fromCodePoint(d)),g=m,_=h;if(n){let e=Pl(d)||(c===null?Nl(a):Ml(c,a));g||=e||!h,_||=e||!m}return{can_open:g,can_close:_,length:u};function v(e,t){if(t<=0)return[32,-1];let n=e.charCodeAt(t-1);if((n&64512)!=56320)return[n,t-1];let r=e.codePointAt(t-2);return r>65535?[r,t-2]:[n,t-1]}}}e.inline.State=n}function Ll(){return(Ll=e((()=>{Ye()})))()}function Rl(e,t){let n=0;for(let r=t-1;r>=0&&e.charAt(r)===`\\`;--r)n+=1;return n%2==1}function zl(e,t){return t.some(([t,n])=>e>=t&&e<n)}function Bl(e){let t=Ql.exec(e);return t?t[1]?`details_open_expanded`:`details_open`:$l.test(e)?`details_close`:eu.test(e)?`summary_open`:tu.test(e)?`summary_close`:null}function Vl(e,t,n=0){if(!/^[ \t]*<\/?(?:details|summary)(?=[\s>])/i.exec(e))return null;let r=t??be(e),i=[];for(let t of e.matchAll(Zl)){let a=t.index??0;Rl(e,a)||zl(n+a,r)||i.push({end:a+t[0].length,raw:t[0],start:a})}return i.length>0?i:null}function Hl(e,t,n,r=`paragraph`){if(r===`paragraph`&&!t.trim())return;let i=r===`paragraph`?`p`:`summary`,a=e.push(`${r}_open`,i,1);a.map=[n,n+1];let o=e.push(`inline`,``,0);o.content=t,o.map=[n,n+1],o.children=[],e.push(`${r}_close`,i,-1)}function Ul(e,t,n={}){let r=e.map(e=>Bl(e.raw)),i=Array.from({length:e.length},()=>-1),a=-1;for(let t=e.length-1;t>=0;--t)i[t]=a,r[t]===`summary_close`&&(a=t);for(let a=0;a<e.length;a+=1){let o=e[a];if(!o)continue;let s=r[a];if((s===`details_open`||s===`details_open_expanded`)&&t.length<Xl)n.onOpen?.(o,s===`details_open_expanded`),t.push({hasSummary:!1});else if(s===`details_close`&&t.length>0)n.onClose?.(o),t.pop();else if(s===`summary_open`){let r=t.at(-1);if(!r||r.hasSummary)continue;let s=i[a]??-1,c=s>=0?e[s]:void 0;if(c)n.onSummary?.(o,c),r.hasSummary=!0,a=s;else if(n.allowPendingSummary)return!0}}return!1}function Wl(e,t,n,r,i){let a=0,o=(r,i=r.end)=>{Hl(e,t.slice(a,r.start),n),a=i};Ul(i,r,{onOpen(t,n){o(t);let r=e.push(`details_open`,`details`,1);n&&r.attrSet(`open`,``)},onClose(t){o(t),e.push(`details_close`,`details`,-1)},onSummary(r,i){o(r,i.end),Hl(e,t.slice(r.end,i.start),n,`summary`)}}),Hl(e,t.slice(a),n)}function Gl(e,t,n,r){if((e.sCount[t]??0)-e.blkIndent>=4)return!1;let i=(e.bMarks[t]??0)+(e.tShift[t]??0),a=e.eMarks[t]??e.src.length,o=e.src.slice(i,a),s=Vl(o);return s?(r||(Wl(e,o,t,e[nu]??=[],s),e.line=t+1),!0):!1}function Kl(e){let t=e.trimStart();if(t.startsWith(`<!--`))return`-->`;if(t.startsWith(`<?`))return`?>`;if(t.startsWith(`<![CDATA[`))return`]]>`;if(/^<![A-Za-z]/.test(t))return`>`;let n=/^<(pre|script|style|textarea)(?=[\s>]|$)/i.exec(t)?.[1];return n?`</${n.toLowerCase()}>`:null}function ql(e,t,n=[],r=0){let i=t.context??Kl(e);if(!i)return!1;let a=e.length-e.trimStart().length;return!t.context&&zl(r+a,n)?!1:(t.context=(i.startsWith(`</`)?e.toLowerCase():e).includes(i)?null:i,!0)}function Jl(e,t){let n=[];t.block.parse(e,t,{},n);let r=[0];for(let t of e.matchAll(/\n/g))r.push(t.index+1);let i=[];for(let t of n){if(t.type!==`html_block`||!t.map)continue;let n={context:null},a=t.content.split(`
`);for(let o=t.map[0];o<t.map[1];o+=1){if(!ql(a[o-t.map[0]]??``,n))continue;let s=r[o]??e.length,c=r[o+1]??e.length,l=i.at(-1);l?.[1]===s?l[1]=c:i.push([s,c])}}return i}function Yl(e){e.block.ruler.before(`html_block`,`details_block`,Gl,{alt:[`paragraph`,`reference`,`blockquote`]}),e.core.ruler.after(`block`,`details_balance`,e=>{let t=[],n=[];for(let r of e.tokens){if(r.type===`details_open`)n.push({hasSummary:!1});else if(r.type===`summary_open`){let e=n.at(-1);e&&(e.hasSummary=!0)}else r.type===`details_close`&&n.pop();if(r.type!==`html_block`||n.length===0){t.push(r);continue}let i={push(n,r,i){let a=new e.Token(n,r,i);return a.block=!0,t.push(a),a}},a=r.content.split(`
`),o=``,s={context:null},c=()=>{if(!o)return;let e=i.push(`html_block`,``,0);e.content=o,e.map=r.map,o=``};for(let[e,t]of a.entries()){let l=e<a.length-1,u=ql(t,s)?null:Vl(t);u?(c(),Wl(i,t,(r.map?.[0]??0)+e,n,u)):o+=t+(l?`
`:``)}c()}for(;n.length>0;){let r=new e.Token(`details_close`,`details`,-1);r.block=!0,t.push(r),n.pop()}let r=0;for(let e of t)e.nesting<0&&--r,e.level=r,e.nesting>0&&(r+=1);e.tokens=t}),e.renderer.rules.details_open=(e,t)=>e[t]?.attrGet(`open`)===null?`<details>`:`<details open>`,e.renderer.rules.details_close=()=>`</details>
`,e.renderer.rules.summary_open=()=>`<summary>`,e.renderer.rules.summary_close=()=>`</summary>`}var Xl,Zl,Ql,$l,eu,tu,nu;function ru(){return(ru=e((()=>{ve(),Xl=32,Zl=/<\/?(?:details|summary)(?=[\s>])[^>]*>/gi,Ql=/^<details( open)?>$/i,$l=/^<\/details>$/i,eu=/^<summary>$/i,tu=/^<\/summary>$/i,nu=Symbol(`markdownDetailsStack`)})))()}function iu(e,t,n){let r=e[t-1],i=e[n];return(r===void 0||/\s/.test(r)||`([{<"'\``.includes(r))&&(i===void 0||/\s/.test(i)||`.,;:!?)]}>"'`.includes(i))}function*au(e){for(let t of e)t.type===`inline`&&t.children&&(yield t.children)}function ou(e,t,n,r,i){let a=t[n].content,o=[],s=0,c=t=>{if(t){let n=new e.Token(`text`,``,0);n.content=t,o.push(n)}};for(let e of a.matchAll(r)){let t=i(e);t&&(c(a.slice(s,e.index)),o.push(...t),s=e.index+e[0].length)}return s?(c(a.slice(s)),t.splice(n,1,...o),n+o.length-1):n}function su(){return(su=e((()=>{})))()}function cu(e){let t=/(?:^|[\s([{"'])([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(e);return!t||[t[1],t[2]].some(e=>e===`.`||e===`..`)?null:{repository:{owner:t[1],repo:t[2]},length:t[1].length+t[2].length+1}}function lu(e){e.core.ruler.before(`web-link-classes`,`github-item-refs`,e=>{let t=!1;for(let n of e.tokens){n.type===`heading_open`?t=!0:n.type===`heading_close`&&(t=!1);let r=n.children;if(t||n.type!==`inline`||!r)continue;let i=new Map,a={content:``,scannedTo:0},o=0;for(let e of r)e.type===`link_open`?o++:e.type===`link_close`&&o--,o===0&&e.type===`text`?(i.set(e,{run:a,offset:a.content.length}),a.content+=e.content):/^(?:em|strong)_(?:open|close)$/.test(e.type)||(a={content:``,scannedTo:0});for(let t=0;t<r.length;t++){let n=r[t];if(!n)continue;let a=i.get(n);a&&(t=ou(e,r,t,uu,t=>{let n=t[2];if(!n)return null;let r=t.index+t[0].length,i=t.index,o=a.offset+i,s=a.offset+r,c=a.run.content,l=c.slice(a.run.scannedTo,o),u=cu(t[1]??l);if(t[1]&&!u)return null;let d=u&&!t[1]?o-u.length:o,f=c.slice(a.run.scannedTo,d).match(du);a.run.scannedTo=s;let p=f&&iu(c,d-f[0].length,s)?f[1]:void 0;if(!p&&!u&&n.length<4||!iu(c,d,s)||/^[.-]\w/.test(c.slice(s)))return null;let m=p&&/^(?:pr|pull)/i.test(p)?`pull`:`issue`,h=u?.repository??(p?cu(l.slice(0,-f[0].length).trimEnd())?.repository:void 0);if(!h){if(!p)return null;let n=new e.Token(`text`,``,0);return n.content=t[0],n.meta={githubItemReference:!0},[n]}let g=`https://github.com/${encodeURIComponent(h.owner)}/${encodeURIComponent(h.repo)}`,_=m===`pull`?`pull`:`issues`,v=new e.Token(`link_open`,`a`,1);v.attrSet(`href`,`${g}/${_}/${n}`);let y=new e.Token(`text`,``,0);return y.content=`#${n}`,[v,y,new e.Token(`link_close`,`a`,-1)]}))}}})}var uu,du;function fu(){return(fu=e((()=>{uu=/(?<![A-Za-z0-9_.-])(?:([A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+))?#([1-9]\d{0,9})(?!\w|[.-]\w)/g,du=/(PR|pull request|pull|issue|fixes|closes|resolves)\s+$/i})))()}function pu(e){let t=e.trim(),r=n(t);return!r||`agent:${r.agentId}:${r.rest}`!==t.toLowerCase()?null:{sessionKey:t,agentId:r.agentId}}function mu(e,t,n){if(!/^(?:https?:\/\/|\/)/i.test(e.trim()))return null;try{let r=new URL(e,globalThis.location.href),i=v(r.pathname,t??x(globalThis.location.pathname)[0],n);return i&&(r.protocol===`http:`||r.protocol===`https:`)?{url:r,target:i}:null}catch{return null}}function hu(e,t={}){let n=mu(e,t.basePath,t.mainKey);return n&&(n.url.origin===globalThis.location.origin||n.url.origin===t.publicOrigin)?n:null}function gu(e){e.core.ruler.before(`file-links`,`session-links`,e=>{if(e.env?.sessionLinks!==!0)return;let t=(e,t)=>{let n=pu(t),r=n?null:mu(t);if(!n&&!r)return!1;if(r){if(e.attrSet(`data-session-href`,t),r.url.origin!==globalThis.location.origin)return!1;e.attrSet(`href`,t)}else n&&e.attrSet(`data-session-key`,n.sessionKey);return e.attrJoin(`class`,`markdown-session-link`),e.attrSet(`role`,`link`),e.attrSet(`tabindex`,`0`),!0};for(let n of au(e.tokens)){let r=0;for(let i=0;i<n.length;i++){let a=n[i];if(a){if(a.type===`link_open`)t(a,String(a.attrGet(`href`)??``)),r++;else if(a.type===`link_close`)r--;else if(r===0&&a.type===`code_inline`){let r=new e.Token(`link_open`,`a`,1);t(r,a.content)?(n.splice(i,1,r,a,new e.Token(`link_close`,`a`,-1)),i+=2):r.attrGet(`data-session-href`)&&a.attrSet(`data-session-href`,a.content)}else r===0&&a.type===`text`&&(i=ou(e,n,i,xu,n=>{let r=n.index+n[0].length,i=new e.Token(`link_open`,`a`,1);if(!iu(a.content,n.index,r)||!t(i,n[0]))return null;let o=new e.Token(`text`,``,0);return o.content=n[0],[i,o,new e.Token(`link_close`,`a`,-1)]}))}}}})}function _u(e){let t=e?.runtimeConfig?Se(e.runtimeConfig.state):null;return i({gateway:{publicOrigin:y(_(t?.gateway)?.publicOrigin)}})}function vu(e,t){let n=e.target instanceof Element?e.target.closest(`a, [data-session-href]`):null,r=n?.dataset.sessionKey;if(r&&!n.dataset.sessionHref)return pu(r);let i=n?.closest(`openclaw-session-progress-hovercard-provider`)?.context,a=n?.getAttribute(`href`)??n?.dataset.sessionHref,o=a?hu(a,{basePath:t??i?.basePath,publicOrigin:_u(i)}):null;if(!o)return null;let{url:s,target:c}=o;return{namespace:c.namespace,pathname:s.pathname,...s.search?{search:s.search}:{},...s.hash?{hash:s.hash}:{}}}function yu(e,t){if(e.key!==`Enter`&&e.key!==` `)return null;let n=vu(e,t);return n&&e.preventDefault(),n}function bu(e,t){if(`pathname`in t){let{namespace:n,...r}=t;e.navigate(n,r);return}let n=ye({context:e,face:`chat`,sessionKey:t.sessionKey,agentId:t.agentId,exactKey:!0,preferenceDerivedFace:!0});e.navigate(`chat`,n.options)}var xu;function Su(){return(Su=e((()=>{a(),p(),de(),pe(),C(),xu=/agent:[^\s<>"'`]*[^\s<>"'`.,;:!?)}\]]/g})))()}function Cu(e,t,n,r){let i=e[t];if(!i)return``;let a=i.content;return n?Lu.test(a.trim())?a:``:/^<br\s*\/?>$/iu.test(a.trim())?r?`<br>
`:`<br>`:O(a)+(r?`
`:``)}function wu(e,t){let n=``;for(let r=t+1;r<e.length;r++){let t=e[r];if(!t||t.type===`link_close`)break;(t.type===`text`||t.type===`code_inline`)&&(n+=t.content)}return n.trim()}function Tu(e,t){e.attrJoin(`class`,`markdown-file-link`),e.attrSet(`role`,`button`),e.attrSet(`tabindex`,`0`),e.attrSet(`data-file-path`,t.path),e.attrSet(`data-file-kind`,Te(t.path)),t.line!==null&&e.attrSet(`data-file-line`,String(t.line))}function Eu(e){let t=URL.parse(e);return t?.protocol===`https:`||t?.protocol===`http:`?t:null}function Du(e){let t=e.pathname.split(`/`).filter(Boolean);if(t.length===2)return t.map(e=>Wc(e)??e).join(`/`);if((t[2]===`blob`||t[2]===`tree`)&&t.length>4){let e=Wc(t.at(-1)??``);if(e)return t[2]===`tree`?`${t.slice(0,2).map(e=>Wc(e)??e).join(`/`)}/…/${e}`:e}return[`github.com`,...t.map(e=>Wc(e)??e)].join(`/`)}function Ou(){let e=new Fc({html:!0,breaks:!0,linkify:!0});e.use(Il),e.enable(`strikethrough`),e.block.ruler.before(`reference`,`audio_transcript`,(e,t,n,r)=>{if((e.sCount[t]??0)-e.blkIndent>=4)return!1;let i=(e.bMarks[t]??0)+(e.tShift[t]??0),a=e.eMarks[t]??e.src.length,o=e.src.slice(i,a);if(!o.startsWith(ku))return!1;if(r)return!0;e.push(`paragraph_open`,`p`,1).map=[t,t+1];let s=e.push(`inline`,``,0);return s.content=`\\${o}`,s.map=[t,t+1],s.children=[],e.push(`paragraph_close`,`p`,-1),e.line=t+1,!0},{alt:[`reference`]}),tl(e),Yl(e),Kr(e),e.linkify.set({fuzzyLink:!1});for(let t of[`http:`,`https:`])e.linkify.add(t,{validate(e,t,n){let r=n.re.get_http_validator(),i=e.indexOf(`"`,t);return r.lastIndex=t,r.exec(i<0?e:e.slice(0,i))?.[0].length??0}});return e.linkify.add(`www`,{validate(e,t){let n=e.slice(t),r=n.match(/^\.(?:[a-zA-Z0-9-]+\.?)+[^\s<\u2E80-\u2FFF\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFF60]*/);if(!r)return 0;let i=r[0].length,a={")":`(`,"]":`[`,"}":`{`,'"':`"`,"'":`'`},o={};for(let[e,t]of Object.entries(a)){o[e]=0;for(let r=0;r<i;r++){let i=n.charAt(r);t===e?i===t&&(o[e]=+(o[e]===0)):i===t?o[e]=(o[e]??0)+1:i===e&&(o[e]=(o[e]??0)-1)}}for(;i>0;){let e=n.charAt(i-1);if(/[?!.,:*_~]/.test(e)){i--;continue}if(e===`;`){let e=i-2;for(;e>=0&&/[a-zA-Z0-9]/.test(n.charAt(e));)e--;if(e>=0&&n.charAt(e)===`&`&&e<i-2){i=e;continue}break}let t=a[e];if(t!==void 0){if(t===e){if((o[e]??0)!==0){o[e]=0,i--;continue}}else if((o[e]??0)<0){o[e]=(o[e]??0)+1,i--;continue}}break}return i},normalize(e){e.url=`http://`+e.url}}),e.validateLink=()=>!0,e.core.ruler.after(`linkify`,`disallowed-link-schemes`,e=>{for(let t of au(e.tokens)){let e=!1;for(let n of t)n.type===`link_open`&&ju.test(String(n.attrGet(`href`)??``))?(n.hidden=!0,e=!0):n.type===`link_close`&&e&&(n.hidden=!0,e=!1)}}),e.core.ruler.after(`linkify`,`linkify-cjk-trim`,e=>{for(let t of au(e.tokens))for(let n=t.length-1;n>=0;n--){let r=t[n];if(!r||r.type!==`link_open`||r.markup!==`linkify`)continue;let i=t[n+1];if(!i||i.type!==`text`)continue;let a=i.content,o=a.length;for(;o>0&&Mu.test(a.charAt(o-1));)o--;if(o<=0||o===a.length)continue;let s=a.slice(0,o),c=a.slice(o),l=String(r.attrGet(`href`)??``),u=l.indexOf(a),d=u>0?l.slice(0,u):``;r.attrSet(`href`,d+s),i.content=s;for(let r=n+1;r<t.length;r++)if(t[r]?.type===`link_close`){let n=new e.Token(`text`,``,0);n.content=c,t.splice(r+1,0,n);break}}}),e.core.ruler.after(`linkify-cjk-trim`,`file-links`,e=>{let t=e.env;if(t?.fileLinks!==!0&&!t?.documentFileLinks)return;let n=[],r=(t,r,i)=>{let a=new e.Token(`link_open`,`a`,1),o=new e.Token(`link_close`,`a`,-1);return a.markup=`file-link`,o.markup=`file-link`,Tu(a,r),n.push({path:r.path,reference:i,applyLabel:e=>{t.content=e,e!==i&&a.attrSet(`title`,i)}}),[a,t,o]};for(let n of au(e.tokens)){let i=0;for(let a=0;a<n.length;a++){let o=n[a];if(o){if(o.type===`link_open`){let e=String(o.attrGet(`href`)??``);if(e&&!o.attrGet(`data-session-href`)){let r=e;try{r=decodeURIComponent(e)}catch{}if(t.documentFileLinks===`select`||!r.includes(`://`)){let i=t.documentFileLinks?pl(e,t.documentFileLinks===`select`?`select`:`read`):null,s=i??(t.fileLinks?dl(r,{authored:!0})??(fl(r)?ll(r.trim()):null):null);if(s){o.attrs=o.attrs?.filter(([e])=>e!==`href`)??null,Tu(o,s),i&&o.attrSet(`data-file-document-relative`,`true`);let e=r.trim();wu(n,a)!==e&&o.attrSet(`title`,e)}}}i+=1}else if(o.type===`link_close`)i=Math.max(0,i-1);else if(!(i>0||!t.fileLinks)){if(o.type===`code_inline`){let e=dl(o.content);e&&(n.splice(a,1,...r(o,e,o.content.trim())),a+=2)}else o.type===`text`&&(Sl.lastIndex=0,a=ou(e,n,a,Sl,t=>{let n=t.index,i=t[0],a=n+i.length;if(!iu(o.content,n,a))return null;let s=dl(i);if(!s)return null;let c=new e.Token(`text`,``,0);return r(c,s,i)}))}}}}let i=ke(n.map(e=>e.path));for(let e of n){let t=i.get(e.path)??e.path;e.applyLabel(t+e.reference.slice(e.path.length))}}),gu(e),e.core.ruler.after(`linkify`,`web-link-classes`,e=>{for(let t of au(e.tokens)){let n=0;for(let r=0;r<t.length;r++){let i=t[r];if(i?.type===`link_close`){n=Math.max(0,n-1);continue}if(i?.type===`code_inline`&&n===0){let n=i.content,a=Iu.test(n)?null:Eu(n);if(!a||!ie(a.hostname))continue;let o=new e.Token(`text`,``,0);o.content=n,i=new e.Token(`link_open`,`a`,1),i.markup=Fu,i.attrSet(`href`,o.content),t.splice(r,1,i,o,new e.Token(`link_close`,`a`,-1))}if(i?.type!==`link_open`)continue;n+=1;let a=String(i.attrGet(`href`)??``),o=a?Eu(a):null;if(!o)continue;let s=i.markup===`linkify`||i.markup===`autolink`||i.markup===Fu,c=o.hostname.toLowerCase(),l=ie(c),u=l?qc(a):null;s&&i.attrJoin(`class`,Pu);let d=null;for(let e=r+1;e<t.length;e++){let n=t[e];if(!n||n.type===`link_close`)break;if((n.type===`text`||n.type===`code_inline`)&&n.content.trim()!==``){d=n;break}}if(l&&d){i.attrJoin(`class`,Nu);let e=u??Kc(o),n=d.type===`text`&&t[r+1]===d&&t[r+2]?.type===`link_close`?d.content:null,c=e&&(s||n===`#${e.number}`||n===`${e.owner}/${e.repo}#${e.number}`);c?(i.attrJoin(`class`,`markdown-github-item`),i.attrSet(`data-github-kind`,e.kind),d.content=Uc(e)):s&&(d.content=Du(o)),!u&&(s||c)&&i.attrSet(`title`,a)}if(!l&&d&&e.env.linkFavicons){let n=new e.Token(`link_favicon`,`img`,0);n.meta={hostname:c},t.splice(r+1,0,n),r+=1}}}}),lu(e),e.core.ruler.after(`inline`,`task-lists`,e=>{for(let[t,n]of e.tokens.entries()){let r=e.tokens[t-2],i=n.children,a=i?.[0];if(n.type!==`inline`||e.tokens[t-1]?.type!==`paragraph_open`||r?.type!==`list_item_open`||!/^\[[ xX]\] /.test(n.content)||!i||!a)continue;let o=new e.Token(`html_inline`,``,0);o.content=`<input class="task-list-item-checkbox"${n.content[1]===` `?``:` checked=""`} disabled="" type="checkbox">`,o.meta={taskListPlugin:!0},a.content=a.content.slice(3),i.unshift(o),n.content=n.content.slice(3),r.attrSet(`class`,`task-list-item`);for(let n=t-3;n>=0;n--){let t=e.tokens[n];if(t?.level===r.level-1){t.attrSet(`class`,`contains-task-list`);break}}}}),e.renderer.rules.html_block=(e,t,n,r)=>Cu(e,t,r?.progressBars===!0,!0),e.renderer.rules.html_inline=(e,t,n,r)=>{let i=e[t];return i?.meta?.taskListPlugin===!0?i.content:Cu(e,t,r?.progressBars===!0,!1)},e.renderer.rules.link_favicon=(e,t)=>{let n=e[t]?.meta?.hostname;return typeof n==`string`?`<img class="markdown-link-favicon" data-link-favicon-host="${O(n)}" width="16" height="16" loading="lazy" decoding="async" alt="" role="presentation">`:``},e.renderer.rules.fence=e.renderer.rules.code_block=(e,t,n,r)=>{let i=e[t];if(!i)return``;let a=i.type===`fence`,o=a&&i.info.trim().split(/\s+/)[0]||``,s=a&&r?.streamingOpenFence===!0&&e.findLastIndex(({nesting:e})=>e!==-1)===t,c=sn(i.content,o,r,{copyText:dn(i.content),highlight:!s});return o.toLowerCase()===`mermaid`&&!s?`<div class="markdown-mermaid">${c}</div>`:c},Ol(e),e.core.ruler.before(`text_join`,`hex-colors`,e=>{if(e.env.mode===`message`)for(let t of au(e.tokens)){let n=0;for(let r=0;r<t.length;r+=1){let i=t[r];(i.type===`link_open`||i.type===`link_close`)&&(n+=i.nesting),i.type===`text`&&!i.meta?.githubItemReference&&n===0&&i.content.includes(`#`)&&(r=ou(e,t,r,Au,t=>{let n=t.index+t[0].length;if(!iu(i.content,t.index,n)||/^[.-]\w/u.test(i.content.slice(n)))return null;let r=new e.Token(`hex_color`,``,0);return r.content=t[0],[r]}))}}}),e.renderer.rules.hex_color=(e,t)=>{let n=e[t].content;return`<span class="markdown-hex-color"><img class="markdown-hex-color__swatch" src="data:image/svg+xml,${encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="${n}" d="M0 0h16v16H0z"/></svg>`)}" alt="" aria-hidden="true">${n}</span>`},e}var ku,Au,ju,Mu,Nu,Pu,Fu,Iu,Lu;function Ru(){return(Ru=e((()=>{Ic(),Ll(),Ee(),Jc(),al(),vn(),ru(),Tl(),fu(),kl(),Su(),ai(),ku=`[Audio transcript (machine-generated, untrusted)]: "`,Au=/#(?:[\da-f]{8}|[\da-f]{6}|[\da-f]{4}|[\da-f]{3})(?![\da-f])/gi,ju=/^(?!(?:https?|mailto):)[a-z][a-z0-9+.-]*:/i,Mu=RegExp(`[\\u2E80-\\u2FFF\\u3000-\\u303F\\u3040-\\u309F\\u30A0-\\u30FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uAC00-\\uD7AF\\uF900-\\uFAFF\\uFF01-\\uFF60]`),Nu=`markdown-github-link`,Pu=`markdown-bare-url`,Fu=`code-span-url`,Iu=/[\s\p{Cc}]/u,Lu=/^(?:<progress(?:\s[^<>]*)?>\s*(?:<\/progress>)?|<\/progress>)$/iu})))()}function zu(e,t,n){let r=t+1,i=e[r]===`/`;i&&(r+=1);let a=Vu.find(t=>{let n=r+t.name.length;return t.pattern.test(e.slice(r,n))&&!Hu.test(e[n]??``)});if(!a)return null;let o=a.name,s=r+o.length;if(i){for(let t=s;t<n;t+=1)if(!Uu.test(e[t]??``))return null}return{start:t,end:n+1,isClosing:i,name:o}}function Bu(e){let t=[],n=0,r=e.indexOf(`>`);for(;n<e.length;){let i=e.indexOf(`<`,n);if(i===-1)break;for(;r!==-1&&r<i;)r=e.indexOf(`>`,r+1);if(r===-1)break;let a=zu(e,i,r);a&&t.push(a),n=i+1}let i=new Map;for(let e of t)if(e.isClosing){let t=i.get(e.name)??[];t.push(e),i.set(e.name,t)}let a=``,o=0;for(let n of t){if(n.isClosing||n.start<o)continue;let t=i.get(n.name);if(!t)continue;let r=0,s=t.length;for(;r<s;){let e=r+Math.floor((s-r)/2);t[e].start>=n.end?s=e:r=e+1}let c=t[r];c&&(a+=e.slice(o,n.start),o=c.end)}return o===0?e:a+e.slice(o)}var Vu,Hu,Uu;function Wu(){return(Wu=e((()=>{Vu=[{name:`script`,pattern:/^script$/iu},{name:`style`,pattern:/^style$/iu},{name:`iframe`,pattern:/^iframe$/iu},{name:`object`,pattern:/^object$/iu},{name:`template`,pattern:/^template$/iu}],Hu=/^\w$/iu,Uu=/^\s$/u})))()}function Gu(e){if(b(e)!==null)return!0;let t=Ku();return!t||e!==t&&!e.startsWith(`${t}/`)?!1:b(e,t)!==null}function Ku(){return typeof window>`u`?``:x(window.location.pathname)[0]}function qu(e){return e.split(`/`).filter(Boolean)}function Ju(e){let t=qu(e),n=qu(Ku());return n.length===0||n.some((e,n)=>t[n]!==e)?t:t.slice(n.length)}function Yu(e){if(e.includes(`__openclaw__`)||e.includes(`__openclaw`))return!0;let t=e[0];return!t||cd.has(t)?!0:ld.some(t=>t.every((t,n)=>e[n]===t))}function Xu(e,t){if(sd.has(e))return!0;let n=t[0];return n?od.has(n):!1}function Zu(e){let t=e.trim();if(!t.startsWith(`/`)||t.startsWith(`//`))return e;try{let n=new URL(t,id);if(n.origin!==id)return e;let r=n.pathname.replace(/\/+$/,``)||`/`,i=qu(r);return i[0]===`plugins`&&ad.has(i[1]??``)?n.href:Gu(r)||Yu(Ju(r))?e:Xu(r,i)?n.href:e}catch{return e}}function Qu(e,t=!1){let n=t?nd:td,r=rd.get(n);if(r)return r;let i=Vr(window);return i.setConfig(n),i.addHook(`afterSanitizeAttributes`,e),rd.set(n,i),i}var $u,ed,td,nd,rd,id,ad,od,sd,cd,ld;function ud(){return(ud=e((()=>{Hr(),r(),o(),p(),$u=`a.b.blockquote.br.button.code.del.details.div.em.h1.h2.h3.h4.hr.i.input.li.ol.openclaw-person-reference.p.pre.s.span.strong.summary.table.tbody.td.th.thead.tr.ul.img`.split(`.`),ed=`checked.profile-id.label.class.disabled.href.open.rel.target.tabindex.title.start.src.alt.data-code.data-code-encoding.data-code-highlight.data-file-kind.data-file-line.data-file-path.data-file-document-relative.data-link-favicon-host.data-session-key.data-session-href.data-table-interactions.type.aria-expanded.aria-label.aria-pressed.role`.split(`.`),td={ALLOWED_TAGS:$u,ALLOWED_ATTR:ed,ADD_DATA_URI_TAGS:[`img`]},nd={...td,ALLOWED_TAGS:[...$u,`progress`],ALLOWED_ATTR:[...ed,`value`,`max`]},rd=new Map,id=`https://docs.openclaw.ai`,ad=new Set([`architecture-internals`,`codex-harness`,`codex-harness-reference`,`codex-harness-runtime`,`google-meet`,`hooks`,`knowledge`,`manifest`,`reference`,`sdk-agent-harness`,`sdk-channel-plugins`,`sdk-entrypoints`,`sdk-migration`,`sdk-overview`,`sdk-provider-plugins`,`sdk-runtime`,`voice-call`]),od=new Set(`agent-runtime-architecture.announcements.auth-credential-semantics.automation.brave-search.channels.ci.clawhub.cli.concepts.date-time.debug.diagnostics.gateway.help.index.install.logging.maturity-scorecard.network.nodes.openclaw-agent-runtime.perplexity.plan.platforms.plugins.prose.providers.refactor.reference.security.specs.start.tools.tts.vps.web`.split(`.`)),sd=new Set(`/AGENTS.default,/RELEASING,/agent,/agent-loop,/agent-send,/agent-workspace,/android,/anthropic,/architecture,/audio,/auth-monitoring,/azure,/background-process,/bash,/bonjour,/browser,/browser-linux-troubleshooting,/bun,/camera,/clawd,/clawdhub,/compaction,/configuration,/context,/context-engine,/control-ui,/cron,/cron-jobs,/cron-vs-heartbeat,/dashboard,/device-models,/discord,/discovery,/docker,/doctor,/duckduckgo-search,/elevated,/exa-search,/experiments/plans/cron-add-hardening,/experiments/plans/group-policy-hardening,/faq,/gateway-lock,/gcp,/gemini-search,/getting-started,/glm,/gmail-pubsub,/grammy,/grok-search,/group-messages,/groups,/health,/heartbeat,/hubs,/images,/imessage,/ios,/kimi-search,/line,/linux,/location,/location-command,/lore,/mac/bun,/mac/canvas,/mac/child-process,/mac/dev-setup,/mac/health,/mac/icon,/mac/logging,/mac/menu-bar,/mac/peekaboo,/mac/permissions,/mac/release,/mac/remote,/mac/signing,/mac/skills,/mac/voice-overlay,/mac/voicewake,/mac/webchat,/mac/xpc,/macos,/mattermost,/mcp,/message,/messages,/minimax,/mistral,/model,/model-failover,/models,/moonshot,/multi-agent,/nix,/northflank,/oauth,/onboarding,/openai,/opencode,/opencode-go,/openrouter,/pairing,/pi,/pi-dev,/plugin,/podman,/poll,/presence,/provider-routing,/qianfan,/queue,/quickstart,/railway,/remote,/remote-gateway-readme,/render,/rpc,/sandbox,/sandboxing,/session,/session-tool,/sessions,/setup,/showcase,/signal,/skill-workshop,/skills,/skills-config,/slack,/slash-commands,/subagents,/tailscale,/talk,/telegram,/templates/AGENTS,/templates/BOOT,/templates/BOOTSTRAP,/templates/HEARTBEAT,/templates/IDENTITY,/templates/SOUL,/templates/TOOLS,/templates/USER,/test,/thinking,/timezone,/troubleshooting,/tui,/typebox,/updating,/voicewake,/web-fetch,/webchat,/webhook,/whatsapp,/windows,/wizard,/xiaomi,/zai`.split(`,`)),cd=new Set([`__openclaw`,`__openclaw__`,`_next`,`api`,`assets`,`avatar`,`manifest.json`,`media`,`res`,`socket.io`,`static`,`ws`,...u]),ld=[[`plugins`,`diffs`],[`plugins`,`diffs-language-pack`]]})))()}function dd(e){return e?md.get(e)?.rendered?.html??``:``}function fd(e){if(!e)return;let t=md.get(e)??{};return md.delete(e),md.set(e,t),_e(md,pd),t}var pd,md;function hd(){return(hd=e((()=>{pd=8,md=new Map})))()}function gd(e){let t=e.truncated?`\n\n${w(`chat.markdown.truncated`,{total:String(e.total),shown:String(e.text.length)})}`:``;return`${e.text}${t}`}function _d(e){if(e.nodeType===Node.TEXT_NODE)return!!e.textContent?.trim();if(!(e instanceof Element)||e.getAttribute(`aria-hidden`)?.trim().toLowerCase()===`true`)return!1;if(e.matches(`img[alt]`))return!!e.getAttribute(`alt`)?.trim();if(e.matches(`progress`)){let t=e.getAttribute(`aria-valuetext`);return t===null?e.hasAttribute(`value`)||e.hasAttribute(`aria-valuenow`)||!!(e.getAttribute(`aria-label`)?.trim()||e.getAttribute(`title`)?.trim()):!!t.trim()}return[...e.childNodes].some(_d)}function vd(e){if(!(e instanceof HTMLAnchorElement))return;let t=e.getAttribute(`href`);if(!t)return;if(fl(t)){e.removeAttribute(`href`);return}let n=Zu(t);n!==t&&e.setAttribute(`href`,n);try{let t=new URL(n,document.baseURI);if(t.protocol!==`http:`&&t.protocol!==`https:`&&t.protocol!==`mailto:`){e.removeAttribute(`href`);return}if(qc(t.href))for(let t of[e,...e.querySelectorAll(`[title]`)]){let e=t.getAttribute(`title`),n=!t.matches(`progress`)&&_d(t);e&&!n&&!t.getAttribute(`aria-label`)?.trim()&&t.setAttribute(`aria-label`,e),t.removeAttribute(`title`)}if(t.origin===window.location.origin&&Gu(t.pathname)){e.removeAttribute(`rel`),e.removeAttribute(`target`);return}}catch{}e.setAttribute(`rel`,`noreferrer noopener`),e.setAttribute(`target`,`_blank`)}function yd(e,t,n,r){let i=Qu(vd,t.progressBars),a=t.mode===`document`,o=a?{text:e,truncated:!1,total:e.length}:E(e,Td),s=t.progressBars?Bu(gd(o)):gd(o);if(n??Ut(o.text))return i.sanitize(sn(s,``,t,{blockArt:!0}));if(!a&&o.text.length>4e4)return i.sanitize(Cd(s,t));let c;try{if(r){let e=Ad.parse(s,t),n=r(e,t,i,vd);if(n){let e=document.createElement(`template`);return e.content.append(n),{html:e.innerHTML,fragment:e.content}}c=Ad.renderer.render(e,Ad.options,t)}else c=Ad.render(s,t)}catch(e){console.warn(`[markdown] md.render failed, falling back to plain text:`,e),c=Cd(s,t)}return i.sanitize(c)}function bd(e,t){return Qu(vd).sanitize(sn(e.text,`json`,Mt(t),{json:e}).replaceAll(`\r`,` `)).replaceAll(`\r`,` `)}function xd(e,t={}){let n=Mt(t),r=n.mode===`document`||e.length<=4e4?El(e,n.humanMentions,Ad.utils.normalizeReference):{source:e,tokens:[]};n.humanMentionTokens=r.tokens;let i=Ht(Lc(r.source));if(!i.trim())return``;if(i.length>Dd)return Vc(yd(i,n));let a=`${Sd(n)}\0${i}`,o=Od.get(a);return(!o||o.highlighting!==void 0&&o.highlighting!==qt())&&(o={html:Vc(yd(i,n))},kd.test(o.html)&&(o.highlighting=qt())),Od.delete(a),Od.set(a,o),_e(Od,Ed),o.html}function Sd(e){return`${l.getLocale()}\0${e.assistantTranscriptRoleHeaders}\0${e.codeBlockChrome}\0${e.codeBlockInteraction}\0${e.fileLinks}\0${e.documentFileLinks}\0${e.interactiveImages}\0${e.linkFavicons}\0${e.progressBars}\0${e.mode}\0${e.remoteImages}\0${e.sessionLinks}\0${e.tableInteractions}\0${JSON.stringify(e.humanMentionTokens??[])}`}function Cd(e,t){return rl(Dl(Ht(e),t.humanMentionTokens),t.assistantTranscriptRoleHeaders)}function wd(e,t){if(!kd.test(e)||!Jt())return[e,``];let n=dd(t),r=e.startsWith(n)?n:``;return[r,e.slice(r.length)]}var Td,Ed,Dd,Od,kd,Ad;function jd(){return(jd=e((()=>{Bc(),ee(),ge(),Jc(),al(),vn(),Tl(),kl(),Ru(),Wu(),Pt(),ud(),hd(),F(),Td=14e4,Ed=500,Dd=5e4,Od=new Map,kd=/<pre><code(?! class="markdown-block-art")/u,Ad=Ou()})))()}var Md,Nd;function Pd(){return(Pd=e((()=>{m(),Md={chat:{detailPanel:{close:`Close sidebar`,copyPath:`Copy path`,copyRelativePath:`Copy relative path`,downloadToView:`Download this file to view it on your device.`,discard:`Discard`,editFile:`Edit file`,downloadFile:`Download file`,downloading:`Downloading…`,downloadFailed:`Could not download this file: {error}. Try again.`,searchInFile:`Search in file`,showInFiles:`Show in Files`,toggleTree:`Toggle file tree`,unavailable:`Unable to open`,attachmentOffline:`You're offline. Reconnect, then open this attachment link again.`,attachmentUnavailable:`This attachment is unavailable in this chat. Ask the sender to share it again.`,outsideSessionBoundary:`This file is outside {session}'s workspace, and you can't open it.`,assetsUnavailable:`Some assets couldn't be loaded ({count})`,previousMatch:`Previous match`,nextMatch:`Next match`,overwrite:`Overwrite`,viewRawText:`View Raw Text`,viewSource:`Source`,preview:`Preview`,highlightedSource:`Highlighted source`,plainSource:`Plain source`,readingMode:`Reading mode`,syntaxHighlighting:`Syntax highlighting`,wrapLines:`Wrap lines`,attachToSession:`Attach to session`,fileActions:`File actions`,moreFileActions:`More file actions`,openInEditor:`Open in editor`,renderedMarkdown:`Rendered Markdown`,renderedMarkdownHint:`Sanitized rich-text preview for quick reading.`,noPreviewableMarkdown:`No previewable markdown content.`,noContent:`No content available`,fullContentOversized:`Full content is unavailable because the stored transcript entry is too large to return safely.`,fullContentNotVisible:`Full content is unavailable because this transcript entry does not have a visible WebChat projection.`,fullContentUnavailable:`Full content is no longer available for this transcript entry.`,copyContents:`Copy file contents`,fileChanged:`File changed on disk since it was loaded.`,renderPreview:`Render preview`,imagePreview:`Image preview`,file:`File`,markdownPreview:`Markdown preview`,toolDetails:`Tool details`,reloadFailed:`Failed to reload the latest file.`,reloadBlocked:`Save or discard your file edits before reloading.`,draftRecovery:{review:`Review file drafts`,description:`Copy or download unsaved edits before discarding them. This only changes drafts in this tab, not files on disk. After resolving all drafts, try Refresh again.`,copy:`Copy {name}`,download:`Download {name}`,discard:`Discard {name}`,keep:`Keep drafts`,changed:`These edits changed. Close this dialog and review the drafts again.`,copyFailed:`Could not copy the edits. Select the text or download the draft instead.`},overwriteLoadFailed:`Failed to load the latest file before overwriting.`,fullContentLoadFailed:`Failed to load full content: {error}`}},filePreview:{skill:{title:`Skill file preview`,source:`Skill source`,open:`Open full file`,loading:`Loading skill file…`,unavailable:`Skill file unavailable`,unavailableHint:`The skill may have moved or is not installed for this agent.`,lines:`L1–{count} / {total}`},bundle:{binary:`This binary file is included in the bundle but cannot be displayed as text.`,"too-large":`This file exceeds the preview limit. Its contents have not been truncated or loaded.`,unavailable:`This file could not be read safely or is unavailable. Close and reopen the skill to try again.`,incomplete:`Some bundle content is unavailable. Select a file to see its status.`},listLabel:`Files`,searchPlaceholder:`Search files…`,readOnly:`read-only`,emptyTitle:`No files match`,emptySubtitle:`Try another file name or content search.`,copyFile:`Copy file`,fileCount:`{count} files`,filteredFileCount:`{count}/{total} files`,noMatches:`No files match.`,navigate:`navigate`,kind:{text:`Text`,shell:`Shell`,file:`File`}}},Nd=Object.assign(()=>{Object.assign(s.chat.detailPanel,Md.chat.detailPanel),Object.assign(s.filePreview,Md.filePreview)},{catalog:Md})})))()}export{ai as $,kl as A,Qe as At,Hc as B,au as C,Pt as Ct,ru as D,jt as Dt,Jl as E,wt as Et,Zc as F,Ic as G,Bc as H,Xc as I,ga as J,ma as K,Uc as L,Tl as M,sl as N,Vl as O,$e as Ot,cl as P,$r as Q,Jc as R,su as S,Nt as St,ql as T,Tt,Lc as U,Vc as V,Fc as W,Yi as X,Ji as Y,Xr as Z,vu as _,F as _t,gd as a,Vr as at,bu as b,Vt as bt,wd as c,nn as ct,xd as d,dn as dt,qr as et,hd as f,cn as ft,Su as g,en as gt,Ru as h,Zt as ht,Td as i,Hr as it,El as j,Ze as jt,Ul as k,nt as kt,yd as l,vn as lt,Ou as m,Jt as mt,Nd as n,Ur as nt,jd as o,Qt as ot,fd as p,rn as pt,ha as q,kd as r,Wr as rt,Sd as s,tn as st,Pd as t,Zr as tt,bd as u,ln as ut,yu as v,Ut as vt,ou as w,Mt as wt,hu as x,Ft as xt,_u as y,Ht as yt,qc as z};