diff --git a/511/20241003_060423Z/index.html b/511/20241003_060423Z/index.html deleted file mode 100644 index af417f8f6..000000000 --- a/511/20241003_060423Z/index.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - -
- - - -r.ch&&Z.charCodeAt(Z.length-D-1)==j.charCodeAt(j.length-D-1);)x--,D++;v[v.length-1]=Z.slice(0,Z.length-D).replace(/^\u200b+/,""),v[0]=v[0].slice(x).replace(/\u200b+$/,"");var ge=L(l,x),ce=L(u,b.length?he(b).length-D:0);if(v.length>1||v[0]||X(ge,ce))return Qr(e.doc,v,ge,ce,"+input"),!0},je.prototype.ensurePolled=function(){this.forceCompositionEnd()},je.prototype.reset=function(){this.forceCompositionEnd()},je.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},je.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},je.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Dt(this.cm,function(){return bt(e.cm)})},je.prototype.setUneditable=function(e){e.contentEditable="false"},je.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||lt(this.cm,ao)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},je.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},je.prototype.onContextMenu=function(){},je.prototype.resetPosition=function(){},je.prototype.needsContentAttribute=!0;function da(e,t){var n=Fi(e,t.line);if(!n||n.hidden)return null;var r=ae(e.doc,t.line),i=Ro(n,r,t.line),o=We(r,e.doc.direction),l="left";if(o){var a=lr(o,t.ch);l=a%2?"right":"left"}var s=Ko(i.map,t.ch,l);return s.offset=s.collapse=="right"?s.end:s.start,s}function gu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function rn(e,t){return t&&(e.bad=!0),e}function vu(e,t,n,r,i){var o="",l=!1,a=e.doc.lineSeparator(),s=!1;function u(x){return function(D){return D.id==x}}function h(){l&&(o+=a,s&&(o+=a),l=s=!1)}function v(x){x&&(h(),o+=x)}function b(x){if(x.nodeType==1){var D=x.getAttribute("cm-text");if(D){v(D);return}var E=x.getAttribute("cm-marker"),_;if(E){var q=e.findMarks(L(r,0),L(i+1,0),u(+E));q.length&&(_=q[0].find(0))&&v(Vt(e.doc,_.from,_.to).join(a));return}if(x.getAttribute("contenteditable")=="false")return;var Z=/^(pre|div|p|li|table|br)$/i.test(x.nodeName);if(!/^br$/i.test(x.nodeName)&&x.textContent.length==0)return;Z&&h();for(var j=0;j=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),pe(i,"paste",function(l){Ze(r,l)||aa(l,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())});function o(l){if(!Ze(r,l)){if(r.somethingSelected())hi({lineWise:!1,text:r.getSelections()});else if(r.options.lineWiseCopyCut){var a=ua(r);hi({lineWise:!0,text:a.text}),l.type=="cut"?r.setSelections(a.ranges,null,Ve):(n.prevInput="",i.value=a.text.join(` -`),p(i))}else return;l.type=="cut"&&(r.state.cutIncoming=+new Date)}}pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",function(l){if(!(tr(e,l)||Ze(r,l))){if(!i.dispatchEvent){r.state.pasteIncoming=+new Date,n.focus();return}var a=new Event("paste");a.clipboardData=l.clipboardData,i.dispatchEvent(a)}}),pe(e.lineSpace,"selectstart",function(l){tr(e,l)||ht(l)}),pe(i,"compositionstart",function(){var l=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:l,range:r.markText(l,r.getCursor("to"),{className:"CodeMirror-composing"})}}),pe(i,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},$e.prototype.createField=function(e){this.wrapper=fa(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;so(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},$e.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},$e.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=tl(e);if(e.options.moveInputWithCursor){var i=Ht(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),l=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+l.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+l.left-o.left))}return r},$e.prototype.showSelection=function(e){var t=this.cm,n=t.display;Y(n.cursorDiv,e.cursors),Y(n.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},$e.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&p(this.textarea),k&&ee>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",k&&ee>=9&&(this.hasSelection=null));this.resetting=!1}},$e.prototype.getField=function(){return this.textarea},$e.prototype.supportsTouch=function(){return!1},$e.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!$||y(ye(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},$e.prototype.blur=function(){this.textarea.blur()},$e.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},$e.prototype.receivedFocus=function(){this.slowPoll()},$e.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},$e.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function n(){var r=t.poll();!r&&!e?(e=!0,t.polling.set(60,n)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,n)},$e.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||ur(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(k&&ee>=9&&this.hasSelection===i||ie&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(o==8203&&!r&&(r=""),o==8666)return this.reset(),this.cm.execCommand("undo")}for(var l=0,a=Math.min(r.length,i.length);l1e3||i.indexOf(` -`)>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},$e.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},$e.prototype.onKeyPress=function(){k&&ee>=9&&(this.hasSelection=null),this.fastPoll()},$e.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Tr(n,e),l=r.scroller.scrollTop;if(!o||P)return;var a=n.options.resetSelectionOnContextMenu;a&&n.doc.sel.contains(o)==-1&<(n,pt)(n.doc,pr(o),Ve);var s=i.style.cssText,u=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText=`position: absolute; width: 30px; height: 30px; - top: `+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+`px; - z-index: 1000; background: `+(k?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var v;U&&(v=i.ownerDocument.defaultView.scrollY),r.input.focus(),U&&i.ownerDocument.defaultView.scrollTo(null,v),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=x,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll);function b(){if(i.selectionStart!=null){var E=n.somethingSelected(),_=""+(E?i.value:"");i.value="⇚",i.value=_,t.prevInput=E?"":"",i.selectionStart=1,i.selectionEnd=_.length,r.selForContextMenu=n.doc.sel}}function x(){if(t.contextMenuPending==x&&(t.contextMenuPending=!1,t.wrapper.style.cssText=u,i.style.cssText=s,k&&ee<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=l),i.selectionStart!=null)){(!k||k&&ee<9)&&b();var E=0,_=function(){r.selForContextMenu==n.doc.sel&&i.selectionStart==0&&i.selectionEnd>0&&t.prevInput==""?lt(n,El)(n):E++<10?r.detectingSelectAll=setTimeout(_,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(_,200)}}if(k&&ee>=9&&b(),le){ar(e);var D=function(){dt(window,"mouseup",D),setTimeout(x,20)};pe(window,"mouseup",D)}else setTimeout(x,50)},$e.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},$e.prototype.setUneditable=function(){},$e.prototype.needsContentAttribute=!1;function yu(e,t){if(t=t?Se(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var n=y(ye(e));t.autofocus=n==e||e.getAttribute("autofocus")!=null&&n==document.body}function r(){e.value=a.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var l=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=l}}catch{}}t.finishInit=function(s){s.save=r,s.getTextArea=function(){return e},s.toTextArea=function(){s.toTextArea=isNaN,r(),e.parentNode.removeChild(s.getWrapperElement()),e.style.display="",e.form&&(dt(e.form,"submit",r),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=i))}},e.style.display="none";var a=Ge(function(s){return e.parentNode.insertBefore(s,e.nextSibling)},t);return a}function xu(e){e.off=dt,e.on=pe,e.wheelEventPixels=Cs,e.Doc=kt,e.splitLines=Ot,e.countColumn=Te,e.findColumn=Re,e.isWordChar=ne,e.Pass=qe,e.signal=Ye,e.Line=Hr,e.changeEnd=gr,e.scrollbarModel=al,e.Pos=L,e.cmpPos=X,e.modes=Pr,e.mimeModes=Bt,e.resolveMode=Ir,e.getMode=zr,e.modeExtensions=fr,e.extendMode=Br,e.copyState=Kt,e.startState=Wr,e.innerMode=sn,e.commands=Nn,e.keyMap=nr,e.keyName=Xl,e.isModifierKey=Ul,e.lookupKey=$r,e.normalizeKeyMap=Ys,e.StringStream=Je,e.SharedTextMarker=Fn,e.TextMarker=mr,e.LineWidget=Mn,e.e_preventDefault=ht,e.e_stopPropagation=Nr,e.e_stop=ar,e.addClass=N,e.contains=m,e.rmClass=Ae,e.keyNames=yr}fu(Ge),pu(Ge);var bu="iter insert remove copy getEditor constructor".split(" ");for(var gi in kt.prototype)kt.prototype.hasOwnProperty(gi)&&te(bu,gi)<0&&(Ge.prototype[gi]=function(e){return function(){return e.apply(this.doc,arguments)}}(kt.prototype[gi]));return Pt(kt),Ge.inputStyles={textarea:$e,contenteditable:je},Ge.defineMode=function(e){!Ge.defaults.mode&&e!="null"&&(Ge.defaults.mode=e),Wt.apply(this,arguments)},Ge.defineMIME=kr,Ge.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ge.defineMIME("text/plain","null"),Ge.defineExtension=function(e,t){Ge.prototype[e]=t},Ge.defineDocExtension=function(e,t){kt.prototype[e]=t},Ge.fromTextArea=yu,xu(Ge),Ge.version="5.65.15",Ge})}(ho)),ho.exports}var Su=Zt();const Mu=wu(Su);var Tu={exports:{}};(function(jt,Jt){(function(F){F(Zt())})(function(F){F.defineMode("css",function(le,W){var Ae=W.inline;W.propertyKeywords||(W=F.resolveMode("text/css"));var C=le.indentUnit,Y=W.tokenHooks,d=W.documentTypes||{},S=W.mediaTypes||{},w=W.mediaFeatures||{},m=W.mediaValueKeywords||{},y=W.propertyKeywords||{},N=W.nonStandardPropertyKeywords||{},re=W.fontProperties||{},p=W.counterDescriptors||{},c=W.colorKeywords||{},G=W.valueKeywords||{},ye=W.allowNested,R=W.lineComment,oe=W.supportsAtComponent===!0,Se=le.highlightNonStandardPropertyKeywords!==!1,Te,xe;function te(T,z){return Te=z,T}function Ee(T,z){var M=T.next();if(Y[M]){var Ie=Y[M](T,z);if(Ie!==!1)return Ie}if(M=="@")return T.eatWhile(/[\w\\\-]/),te("def",T.current());if(M=="="||(M=="~"||M=="|")&&T.eat("="))return te(null,"compare");if(M=='"'||M=="'")return z.tokenize=qe(M),z.tokenize(T,z);if(M=="#")return T.eatWhile(/[\w\\\-]/),te("atom","hash");if(M=="!")return T.match(/^\s*\w*/),te("keyword","important");if(/\d/.test(M)||M=="."&&T.eat(/\d/))return T.eatWhile(/[\w.%]/),te("number","unit");if(M==="-"){if(/[\d.]/.test(T.peek()))return T.eatWhile(/[\w.%]/),te("number","unit");if(T.match(/^-[\w\\\-]*/))return T.eatWhile(/[\w\\\-]/),T.match(/^\s*:/,!1)?te("variable-2","variable-definition"):te("variable-2","variable");if(T.match(/^\w+-/))return te("meta","meta")}else return/[,+>*\/]/.test(M)?te(null,"select-op"):M=="."&&T.match(/^-?[_a-z][_a-z0-9-]*/i)?te("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(M)?te(null,M):T.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(T.current())&&(z.tokenize=Ve),te("variable callee","variable")):/[\w\\\-]/.test(M)?(T.eatWhile(/[\w\\\-]/),te("property","word")):te(null,null)}function qe(T){return function(z,M){for(var Ie=!1,ne;(ne=z.next())!=null;){if(ne==T&&!Ie){T==")"&&z.backUp(1);break}Ie=!Ie&&ne=="\\"}return(ne==T||!Ie&&T!=")")&&(M.tokenize=null),te("string","string")}}function Ve(T,z){return T.next(),T.match(/^\s*[\"\')]/,!1)?z.tokenize=null:z.tokenize=qe(")"),te(null,"(")}function ct(T,z,M){this.type=T,this.indent=z,this.prev=M}function Ne(T,z,M,Ie){return T.context=new ct(M,z.indentation()+(Ie===!1?0:C),T.context),M}function Re(T){return T.context.prev&&(T.context=T.context.prev),T.context.type}function Ue(T,z,M){return Oe[M.context.type](T,z,M)}function et(T,z,M,Ie){for(var ne=Ie||1;ne>0;ne--)M.context=M.context.prev;return Ue(T,z,M)}function he(T){var z=T.current().toLowerCase();G.hasOwnProperty(z)?xe="atom":c.hasOwnProperty(z)?xe="keyword":xe="variable"}var Oe={};return Oe.top=function(T,z,M){if(T=="{")return Ne(M,z,"block");if(T=="}"&&M.context.prev)return Re(M);if(oe&&/@component/i.test(T))return Ne(M,z,"atComponentBlock");if(/^@(-moz-)?document$/i.test(T))return Ne(M,z,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(T))return Ne(M,z,"atBlock");if(/^@(font-face|counter-style)/i.test(T))return M.stateArg=T,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(T))return"keyframes";if(T&&T.charAt(0)=="@")return Ne(M,z,"at");if(T=="hash")xe="builtin";else if(T=="word")xe="tag";else{if(T=="variable-definition")return"maybeprop";if(T=="interpolation")return Ne(M,z,"interpolation");if(T==":")return"pseudo";if(ye&&T=="(")return Ne(M,z,"parens")}return M.context.type},Oe.block=function(T,z,M){if(T=="word"){var Ie=z.current().toLowerCase();return y.hasOwnProperty(Ie)?(xe="property","maybeprop"):N.hasOwnProperty(Ie)?(xe=Se?"string-2":"property","maybeprop"):ye?(xe=z.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(xe+=" error","maybeprop")}else return T=="meta"?"block":!ye&&(T=="hash"||T=="qualifier")?(xe="error","block"):Oe.top(T,z,M)},Oe.maybeprop=function(T,z,M){return T==":"?Ne(M,z,"prop"):Ue(T,z,M)},Oe.prop=function(T,z,M){if(T==";")return Re(M);if(T=="{"&&ye)return Ne(M,z,"propBlock");if(T=="}"||T=="{")return et(T,z,M);if(T=="(")return Ne(M,z,"parens");if(T=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(z.current()))xe+=" error";else if(T=="word")he(z);else if(T=="interpolation")return Ne(M,z,"interpolation");return"prop"},Oe.propBlock=function(T,z,M){return T=="}"?Re(M):T=="word"?(xe="property","maybeprop"):M.context.type},Oe.parens=function(T,z,M){return T=="{"||T=="}"?et(T,z,M):T==")"?Re(M):T=="("?Ne(M,z,"parens"):T=="interpolation"?Ne(M,z,"interpolation"):(T=="word"&&he(z),"parens")},Oe.pseudo=function(T,z,M){return T=="meta"?"pseudo":T=="word"?(xe="variable-3",M.context.type):Ue(T,z,M)},Oe.documentTypes=function(T,z,M){return T=="word"&&d.hasOwnProperty(z.current())?(xe="tag",M.context.type):Oe.atBlock(T,z,M)},Oe.atBlock=function(T,z,M){if(T=="(")return Ne(M,z,"atBlock_parens");if(T=="}"||T==";")return et(T,z,M);if(T=="{")return Re(M)&&Ne(M,z,ye?"block":"top");if(T=="interpolation")return Ne(M,z,"interpolation");if(T=="word"){var Ie=z.current().toLowerCase();Ie=="only"||Ie=="not"||Ie=="and"||Ie=="or"?xe="keyword":S.hasOwnProperty(Ie)?xe="attribute":w.hasOwnProperty(Ie)?xe="property":m.hasOwnProperty(Ie)?xe="keyword":y.hasOwnProperty(Ie)?xe="property":N.hasOwnProperty(Ie)?xe=Se?"string-2":"property":G.hasOwnProperty(Ie)?xe="atom":c.hasOwnProperty(Ie)?xe="keyword":xe="error"}return M.context.type},Oe.atComponentBlock=function(T,z,M){return T=="}"?et(T,z,M):T=="{"?Re(M)&&Ne(M,z,ye?"block":"top",!1):(T=="word"&&(xe="error"),M.context.type)},Oe.atBlock_parens=function(T,z,M){return T==")"?Re(M):T=="{"||T=="}"?et(T,z,M,2):Oe.atBlock(T,z,M)},Oe.restricted_atBlock_before=function(T,z,M){return T=="{"?Ne(M,z,"restricted_atBlock"):T=="word"&&M.stateArg=="@counter-style"?(xe="variable","restricted_atBlock_before"):Ue(T,z,M)},Oe.restricted_atBlock=function(T,z,M){return T=="}"?(M.stateArg=null,Re(M)):T=="word"?(M.stateArg=="@font-face"&&!re.hasOwnProperty(z.current().toLowerCase())||M.stateArg=="@counter-style"&&!p.hasOwnProperty(z.current().toLowerCase())?xe="error":xe="property","maybeprop"):"restricted_atBlock"},Oe.keyframes=function(T,z,M){return T=="word"?(xe="variable","keyframes"):T=="{"?Ne(M,z,"top"):Ue(T,z,M)},Oe.at=function(T,z,M){return T==";"?Re(M):T=="{"||T=="}"?et(T,z,M):(T=="word"?xe="tag":T=="hash"&&(xe="builtin"),"at")},Oe.interpolation=function(T,z,M){return T=="}"?Re(M):T=="{"||T==";"?et(T,z,M):(T=="word"?xe="variable":T!="variable"&&T!="("&&T!=")"&&(xe="error"),"interpolation")},{startState:function(T){return{tokenize:null,state:Ae?"block":"top",stateArg:null,context:new ct(Ae?"block":"top",T||0,null)}},token:function(T,z){if(!z.tokenize&&T.eatSpace())return null;var M=(z.tokenize||Ee)(T,z);return M&&typeof M=="object"&&(Te=M[1],M=M[0]),xe=M,Te!="comment"&&(z.state=Oe[z.state](Te,T,z)),xe},indent:function(T,z){var M=T.context,Ie=z&&z.charAt(0),ne=M.indent;return M.type=="prop"&&(Ie=="}"||Ie==")")&&(M=M.prev),M.prev&&(Ie=="}"&&(M.type=="block"||M.type=="top"||M.type=="interpolation"||M.type=="restricted_atBlock")?(M=M.prev,ne=M.indent):(Ie==")"&&(M.type=="parens"||M.type=="atBlock_parens")||Ie=="{"&&(M.type=="at"||M.type=="atBlock"))&&(ne=Math.max(0,M.indent-C))),ne},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:R,fold:"brace"}});function Pe(le){for(var W={},Ae=0;Ae ")):null:d.match("--")?w(be("comment","-->")):d.match("DOCTYPE",!0,!0)?(d.eatWhile(/[\w\._\-]/),w(ke(1))):null:d.eat("?")?(d.eatWhile(/[\w\._\-]/),S.tokenize=be("meta","?>"),"meta"):(ve=d.eat("/")?"closeTag":"openTag",S.tokenize=P,"tag bracket");if(m=="&"){var y;return d.eat("#")?d.eat("x")?y=d.eatWhile(/[a-fA-F\d]/)&&d.eat(";"):y=d.eatWhile(/[\d]/)&&d.eat(";"):y=d.eatWhile(/[\w\.\-:]/)&&d.eat(";"),y?"atom":"error"}else return d.eatWhile(/[^&<]/),null}H.isInText=!0;function P(d,S){var w=d.next();if(w==">"||w=="/"&&d.eat(">"))return S.tokenize=H,ve=w==">"?"endTag":"selfcloseTag","tag bracket";if(w=="=")return ve="equals",null;if(w=="<"){S.tokenize=H,S.state=Fe,S.tagName=S.tagStart=null;var m=S.tokenize(d,S);return m?m+" tag error":"tag error"}else return/[\'\"]/.test(w)?(S.tokenize=K(w),S.stringStartCol=d.column(),S.tokenize(d,S)):(d.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function K(d){var S=function(w,m){for(;!w.eol();)if(w.next()==d){m.tokenize=P;break}return"string"};return S.isInAttribute=!0,S}function be(d,S){return function(w,m){for(;!w.eol();){if(w.match(S)){m.tokenize=H;break}w.next()}return d}}function ke(d){return function(S,w){for(var m;(m=S.next())!=null;){if(m=="<")return w.tokenize=ke(d+1),w.tokenize(S,w);if(m==">")if(d==1){w.tokenize=H;break}else return w.tokenize=ke(d-1),w.tokenize(S,w)}return"meta"}}function Q(d){return d&&d.toLowerCase()}function V(d,S,w){this.prev=d.context,this.tagName=S||"",this.indent=d.indented,this.startOfLine=w,(k.doNotIndent.hasOwnProperty(S)||d.context&&d.context.noIndent)&&(this.noIndent=!0)}function $(d){d.context&&(d.context=d.context.prev)}function ie(d,S){for(var w;;){if(!d.context||(w=d.context.tagName,!k.contextGrabbers.hasOwnProperty(Q(w))||!k.contextGrabbers[Q(w)].hasOwnProperty(Q(S))))return;$(d)}}function Fe(d,S,w){return d=="openTag"?(w.tagStart=S.column(),me):d=="closeTag"?ue:Fe}function me(d,S,w){return d=="word"?(w.tagName=S.current(),O="tag",W):k.allowMissingTagName&&d=="endTag"?(O="tag bracket",W(d,S,w)):(O="error",me)}function ue(d,S,w){if(d=="word"){var m=S.current();return w.context&&w.context.tagName!=m&&k.implicitlyClosed.hasOwnProperty(Q(w.context.tagName))&&$(w),w.context&&w.context.tagName==m||k.matchClosing===!1?(O="tag",ze):(O="tag error",le)}else return k.allowMissingTagName&&d=="endTag"?(O="tag bracket",ze(d,S,w)):(O="error",le)}function ze(d,S,w){return d!="endTag"?(O="error",ze):($(w),Fe)}function le(d,S,w){return O="error",ze(d,S,w)}function W(d,S,w){if(d=="word")return O="attribute",Ae;if(d=="endTag"||d=="selfcloseTag"){var m=w.tagName,y=w.tagStart;return w.tagName=w.tagStart=null,d=="selfcloseTag"||k.autoSelfClosers.hasOwnProperty(Q(m))?ie(w,m):(ie(w,m),w.context=new V(w,m,y==w.indented)),Fe}return O="error",W}function Ae(d,S,w){return d=="equals"?C:(k.allowMissing||(O="error"),W(d,S,w))}function C(d,S,w){return d=="string"?Y:d=="word"&&k.allowUnquoted?(O="string",W):(O="error",W(d,S,w))}function Y(d,S,w){return d=="string"?Y:W(d,S,w)}return{startState:function(d){var S={tokenize:H,state:Fe,indented:d||0,tagName:null,tagStart:null,context:null};return d!=null&&(S.baseIndent=d),S},token:function(d,S){if(!S.tagName&&d.sol()&&(S.indented=d.indentation()),d.eatSpace())return null;ve=null;var w=S.tokenize(d,S);return(w||ve)&&w!="comment"&&(O=null,S.state=S.state(ve||w,d,S),O&&(w=O=="error"?w+" error":O)),w},indent:function(d,S,w){var m=d.context;if(d.tokenize.isInAttribute)return d.tagStart==d.indented?d.stringStartCol+1:d.indented+se;if(m&&m.noIndent)return F.Pass;if(d.tokenize!=P&&d.tokenize!=H)return w?w.match(/^(\s*)/)[0].length:0;if(d.tagName)return k.multilineTagIndentPastTag!==!1?d.tagStart+d.tagName.length+2:d.tagStart+se*(k.multilineTagIndentFactor||1);if(k.alignCDATA&&/$/,blockCommentStart:"",configuration:k.htmlMode?"html":"xml",helperType:k.htmlMode?"html":"xml",skipAttribute:function(d){d.state==C&&(d.state=W)},xmlCurrentTag:function(d){return d.tagName?{name:d.tagName,close:d.type=="closeTag"}:null},xmlCurrentContext:function(d){for(var S=[],w=d.context;w;w=w.prev)S.push(w.tagName);return S.reverse()}}}),F.defineMIME("text/xml","xml"),F.defineMIME("application/xml","xml"),F.mimeModes.hasOwnProperty("text/html")||F.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),pa.exports}var va={exports:{}},ma;function ka(){return ma||(ma=1,function(jt,Jt){(function(F){F(Zt())})(function(F){F.defineMode("javascript",function(Pe,I){var de=Pe.indentUnit,Me=I.statementIndent,se=I.jsonld,k=I.json||se,ee=I.trackScope!==!1,U=I.typescript,ve=I.wordCharacters||/[\w$\xa1-\uffff]/,O=function(){function f(it){return{type:it,style:"keyword"}}var g=f("keyword a"),A=f("keyword b"),B=f("keyword c"),L=f("keyword d"),X=f("operator"),_e={type:"atom",style:"atom"};return{if:f("if"),while:g,with:g,else:A,do:A,try:A,finally:A,return:L,break:L,continue:L,new:f("new"),delete:B,void:B,throw:B,debugger:f("debugger"),var:f("var"),const:f("var"),let:f("var"),function:f("function"),catch:f("catch"),for:f("for"),switch:f("switch"),case:f("case"),default:f("default"),in:X,typeof:X,instanceof:X,true:_e,false:_e,null:_e,undefined:_e,NaN:_e,Infinity:_e,this:f("this"),class:f("class"),super:f("atom"),yield:B,export:f("export"),import:f("import"),extends:B,await:B}}(),H=/[+\-*&%=<>!?|~^@]/,P=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function K(f){for(var g=!1,A,B=!1;(A=f.next())!=null;){if(!g){if(A=="/"&&!B)return;A=="["?B=!0:B&&A=="]"&&(B=!1)}g=!g&&A=="\\"}}var be,ke;function Q(f,g,A){return be=f,ke=A,g}function V(f,g){var A=f.next();if(A=='"'||A=="'")return g.tokenize=$(A),g.tokenize(f,g);if(A=="."&&f.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return Q("number","number");if(A=="."&&f.match(".."))return Q("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(A))return Q(A);if(A=="="&&f.eat(">"))return Q("=>","operator");if(A=="0"&&f.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return Q("number","number");if(/\d/.test(A))return f.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),Q("number","number");if(A=="/")return f.eat("*")?(g.tokenize=ie,ie(f,g)):f.eat("/")?(f.skipToEnd(),Q("comment","comment")):Ft(f,g,1)?(K(f),f.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),Q("regexp","string-2")):(f.eat("="),Q("operator","operator",f.current()));if(A=="`")return g.tokenize=Fe,Fe(f,g);if(A=="#"&&f.peek()=="!")return f.skipToEnd(),Q("meta","meta");if(A=="#"&&f.eatWhile(ve))return Q("variable","property");if(A=="<"&&f.match("!--")||A=="-"&&f.match("->")&&!/\S/.test(f.string.slice(0,f.start)))return f.skipToEnd(),Q("comment","comment");if(H.test(A))return(A!=">"||!g.lexical||g.lexical.type!=">")&&(f.eat("=")?(A=="!"||A=="=")&&f.eat("="):/[<>*+\-|&?]/.test(A)&&(f.eat(A),A==">"&&f.eat(A))),A=="?"&&f.eat(".")?Q("."):Q("operator","operator",f.current());if(ve.test(A)){f.eatWhile(ve);var B=f.current();if(g.lastType!="."){if(O.propertyIsEnumerable(B)){var L=O[B];return Q(L.type,L.style,B)}if(B=="async"&&f.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return Q("async","keyword",B)}return Q("variable","variable",B)}}function $(f){return function(g,A){var B=!1,L;if(se&&g.peek()=="@"&&g.match(P))return A.tokenize=V,Q("jsonld-keyword","meta");for(;(L=g.next())!=null&&!(L==f&&!B);)B=!B&&L=="\\";return B||(A.tokenize=V),Q("string","string")}}function ie(f,g){for(var A=!1,B;B=f.next();){if(B=="/"&&A){g.tokenize=V;break}A=B=="*"}return Q("comment","comment")}function Fe(f,g){for(var A=!1,B;(B=f.next())!=null;){if(!A&&(B=="`"||B=="$"&&f.eat("{"))){g.tokenize=V;break}A=!A&&B=="\\"}return Q("quasi","string-2",f.current())}var me="([{}])";function ue(f,g){g.fatArrowAt&&(g.fatArrowAt=null);var A=f.string.indexOf("=>",f.start);if(!(A<0)){if(U){var B=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(f.string.slice(f.start,A));B&&(A=B.index)}for(var L=0,X=!1,_e=A-1;_e>=0;--_e){var it=f.string.charAt(_e),xt=me.indexOf(it);if(xt>=0&&xt<3){if(!L){++_e;break}if(--L==0){it=="("&&(X=!0);break}}else if(xt>=3&&xt<6)++L;else if(ve.test(it))X=!0;else if(/["'\/`]/.test(it))for(;;--_e){if(_e==0)return;var _r=f.string.charAt(_e-1);if(_r==it&&f.string.charAt(_e-2)!="\\"){_e--;break}}else if(X&&!L){++_e;break}}X&&!L&&(g.fatArrowAt=_e)}}var ze={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function le(f,g,A,B,L,X){this.indented=f,this.column=g,this.type=A,this.prev=L,this.info=X,B!=null&&(this.align=B)}function W(f,g){if(!ee)return!1;for(var A=f.localVars;A;A=A.next)if(A.name==g)return!0;for(var B=f.context;B;B=B.prev)for(var A=B.vars;A;A=A.next)if(A.name==g)return!0}function Ae(f,g,A,B,L){var X=f.cc;for(C.state=f,C.stream=L,C.marked=null,C.cc=X,C.style=g,f.lexical.hasOwnProperty("align")||(f.lexical.align=!0);;){var _e=X.length?X.pop():k?te:Te;if(_e(A,B)){for(;X.length&&X[X.length-1].lex;)X.pop()();return C.marked?C.marked:A=="variable"&&W(f,B)?"variable-2":g}}}var C={state:null,column:null,marked:null,cc:null};function Y(){for(var f=arguments.length-1;f>=0;f--)C.cc.push(arguments[f])}function d(){return Y.apply(null,arguments),!0}function S(f,g){for(var A=g;A;A=A.next)if(A.name==f)return!0;return!1}function w(f){var g=C.state;if(C.marked="def",!!ee){if(g.context){if(g.lexical.info=="var"&&g.context&&g.context.block){var A=m(f,g.context);if(A!=null){g.context=A;return}}else if(!S(f,g.localVars)){g.localVars=new re(f,g.localVars);return}}I.globalVars&&!S(f,g.globalVars)&&(g.globalVars=new re(f,g.globalVars))}}function m(f,g){if(g)if(g.block){var A=m(f,g.prev);return A?A==g.prev?g:new N(A,g.vars,!0):null}else return S(f,g.vars)?g:new N(g.prev,new re(f,g.vars),!1);else return null}function y(f){return f=="public"||f=="private"||f=="protected"||f=="abstract"||f=="readonly"}function N(f,g,A){this.prev=f,this.vars=g,this.block=A}function re(f,g){this.name=f,this.next=g}var p=new re("this",new re("arguments",null));function c(){C.state.context=new N(C.state.context,C.state.localVars,!1),C.state.localVars=p}function G(){C.state.context=new N(C.state.context,C.state.localVars,!0),C.state.localVars=null}c.lex=G.lex=!0;function ye(){C.state.localVars=C.state.context.vars,C.state.context=C.state.context.prev}ye.lex=!0;function R(f,g){var A=function(){var B=C.state,L=B.indented;if(B.lexical.type=="stat")L=B.lexical.indented;else for(var X=B.lexical;X&&X.type==")"&&X.align;X=X.prev)L=X.indented;B.lexical=new le(L,C.stream.column(),f,null,B.lexical,g)};return A.lex=!0,A}function oe(){var f=C.state;f.lexical.prev&&(f.lexical.type==")"&&(f.indented=f.lexical.indented),f.lexical=f.lexical.prev)}oe.lex=!0;function Se(f){function g(A){return A==f?d():f==";"||A=="}"||A==")"||A=="]"?Y():d(g)}return g}function Te(f,g){return f=="var"?d(R("vardef",g),Nr,Se(";"),oe):f=="keyword a"?d(R("form"),qe,Te,oe):f=="keyword b"?d(R("form"),Te,oe):f=="keyword d"?C.stream.match(/^\s*$/,!1)?d():d(R("stat"),ct,Se(";"),oe):f=="debugger"?d(Se(";")):f=="{"?d(R("}"),G,Et,oe,ye):f==";"?d():f=="if"?(C.state.lexical.info=="else"&&C.state.cc[C.state.cc.length-1]==oe&&C.state.cc.pop()(),d(R("form"),qe,Te,oe,Or)):f=="function"?d(Ot):f=="for"?d(R("form"),G,Wn,Te,ye,oe):f=="class"||U&&g=="interface"?(C.marked="keyword",d(R("form",f=="class"?f:g),Pr,oe)):f=="variable"?U&&g=="declare"?(C.marked="keyword",d(Te)):U&&(g=="module"||g=="enum"||g=="type")&&C.stream.match(/^\s*\w/,!1)?(C.marked="keyword",g=="enum"?d(ae):g=="type"?d(_n,Se("operator"),We,Se(";")):d(R("form"),yt,Se("{"),R("}"),Et,oe,oe)):U&&g=="namespace"?(C.marked="keyword",d(R("form"),te,Te,oe)):U&&g=="abstract"?(C.marked="keyword",d(Te)):d(R("stat"),Ie):f=="switch"?d(R("form"),qe,Se("{"),R("}","switch"),G,Et,oe,oe,ye):f=="case"?d(te,Se(":")):f=="default"?d(Se(":")):f=="catch"?d(R("form"),c,xe,Te,oe,ye):f=="export"?d(R("stat"),Ir,oe):f=="import"?d(R("stat"),fr,oe):f=="async"?d(Te):g=="@"?d(te,Te):Y(R("stat"),te,Se(";"),oe)}function xe(f){if(f=="(")return d(zt,Se(")"))}function te(f,g){return Ve(f,g,!1)}function Ee(f,g){return Ve(f,g,!0)}function qe(f){return f!="("?Y():d(R(")"),ct,Se(")"),oe)}function Ve(f,g,A){if(C.state.fatArrowAt==C.stream.start){var B=A?Oe:he;if(f=="(")return d(c,R(")"),Ce(zt,")"),oe,Se("=>"),B,ye);if(f=="variable")return Y(c,yt,Se("=>"),B,ye)}var L=A?Re:Ne;return ze.hasOwnProperty(f)?d(L):f=="function"?d(Ot,L):f=="class"||U&&g=="interface"?(C.marked="keyword",d(R("form"),yi,oe)):f=="keyword c"||f=="async"?d(A?Ee:te):f=="("?d(R(")"),ct,Se(")"),oe,L):f=="operator"||f=="spread"?d(A?Ee:te):f=="["?d(R("]"),Je,oe,L):f=="{"?Lt(we,"}",null,L):f=="quasi"?Y(Ue,L):f=="new"?d(T(A)):d()}function ct(f){return f.match(/[;\}\)\],]/)?Y():Y(te)}function Ne(f,g){return f==","?d(ct):Re(f,g,!1)}function Re(f,g,A){var B=A==!1?Ne:Re,L=A==!1?te:Ee;if(f=="=>")return d(c,A?Oe:he,ye);if(f=="operator")return/\+\+|--/.test(g)||U&&g=="!"?d(B):U&&g=="<"&&C.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?d(R(">"),Ce(We,">"),oe,B):g=="?"?d(te,Se(":"),L):d(L);if(f=="quasi")return Y(Ue,B);if(f!=";"){if(f=="(")return Lt(Ee,")","call",B);if(f==".")return d(ne,B);if(f=="[")return d(R("]"),ct,Se("]"),oe,B);if(U&&g=="as")return C.marked="keyword",d(We,B);if(f=="regexp")return C.state.lastType=C.marked="operator",C.stream.backUp(C.stream.pos-C.stream.start-1),d(L)}}function Ue(f,g){return f!="quasi"?Y():g.slice(g.length-2)!="${"?d(Ue):d(ct,et)}function et(f){if(f=="}")return C.marked="string-2",C.state.tokenize=Fe,d(Ue)}function he(f){return ue(C.stream,C.state),Y(f=="{"?Te:te)}function Oe(f){return ue(C.stream,C.state),Y(f=="{"?Te:Ee)}function T(f){return function(g){return g=="."?d(f?M:z):g=="variable"&&U?d(Ct,f?Re:Ne):Y(f?Ee:te)}}function z(f,g){if(g=="target")return C.marked="keyword",d(Ne)}function M(f,g){if(g=="target")return C.marked="keyword",d(Re)}function Ie(f){return f==":"?d(oe,Te):Y(Ne,Se(";"),oe)}function ne(f){if(f=="variable")return C.marked="property",d()}function we(f,g){if(f=="async")return C.marked="property",d(we);if(f=="variable"||C.style=="keyword"){if(C.marked="property",g=="get"||g=="set")return d(fe);var A;return U&&C.state.fatArrowAt==C.stream.start&&(A=C.stream.match(/^\s*:\s*/,!1))&&(C.state.fatArrowAt=C.stream.pos+A[0].length),d(Be)}else{if(f=="number"||f=="string")return C.marked=se?"property":C.style+" property",d(Be);if(f=="jsonld-keyword")return d(Be);if(U&&y(g))return C.marked="keyword",d(we);if(f=="[")return d(te,or,Se("]"),Be);if(f=="spread")return d(Ee,Be);if(g=="*")return C.marked="keyword",d(we);if(f==":")return Y(Be)}}function fe(f){return f!="variable"?Y(Be):(C.marked="property",d(Ot))}function Be(f){if(f==":")return d(Ee);if(f=="(")return Y(Ot)}function Ce(f,g,A){function B(L,X){if(A?A.indexOf(L)>-1:L==","){var _e=C.state.lexical;return _e.info=="call"&&(_e.pos=(_e.pos||0)+1),d(function(it,xt){return it==g||xt==g?Y():Y(f)},B)}return L==g||X==g?d():A&&A.indexOf(";")>-1?Y(f):d(Se(g))}return function(L,X){return L==g||X==g?d():Y(f,B)}}function Lt(f,g,A){for(var B=3;B "),We);if(f=="quasi")return Y(dt,Nt)}function Bn(f){if(f=="=>")return d(We)}function pe(f){return f.match(/[\}\)\]]/)?d():f==","||f==";"?d(pe):Y(Qt,pe)}function Qt(f,g){if(f=="variable"||C.style=="keyword")return C.marked="property",d(Qt);if(g=="?"||f=="number"||f=="string")return d(Qt);if(f==":")return d(We);if(f=="[")return d(Se("variable"),br,Se("]"),Qt);if(f=="(")return Y(ur,Qt);if(!f.match(/[;\}\)\],]/))return d()}function dt(f,g){return f!="quasi"?Y():g.slice(g.length-2)!="${"?d(dt):d(We,Ye)}function Ye(f){if(f=="}")return C.marked="string-2",C.state.tokenize=Fe,d(dt)}function Ze(f,g){return f=="variable"&&C.stream.match(/^\s*[?:]/,!1)||g=="?"?d(Ze):f==":"?d(We):f=="spread"?d(Ze):Y(We)}function Nt(f,g){if(g=="<")return d(R(">"),Ce(We,">"),oe,Nt);if(g=="|"||f=="."||g=="&")return d(We);if(f=="[")return d(We,Se("]"),Nt);if(g=="extends"||g=="implements")return C.marked="keyword",d(We);if(g=="?")return d(We,Se(":"),We)}function Ct(f,g){if(g=="<")return d(R(">"),Ce(We,">"),oe,Nt)}function Pt(){return Y(We,ht)}function ht(f,g){if(g=="=")return d(We)}function Nr(f,g){return g=="enum"?(C.marked="keyword",d(ae)):Y(yt,or,It,mi)}function yt(f,g){if(U&&y(g))return C.marked="keyword",d(yt);if(f=="variable")return w(g),d();if(f=="spread")return d(yt);if(f=="[")return Lt(ln,"]");if(f=="{")return Lt(ar,"}")}function ar(f,g){return f=="variable"&&!C.stream.match(/^\s*:/,!1)?(w(g),d(It)):(f=="variable"&&(C.marked="property"),f=="spread"?d(yt):f=="}"?Y():f=="["?d(te,Se("]"),Se(":"),ar):d(Se(":"),yt,It))}function ln(){return Y(yt,It)}function It(f,g){if(g=="=")return d(Ee)}function mi(f){if(f==",")return d(Nr)}function Or(f,g){if(f=="keyword b"&&g=="else")return d(R("form","else"),Te,oe)}function Wn(f,g){if(g=="await")return d(Wn);if(f=="(")return d(R(")"),an,oe)}function an(f){return f=="var"?d(Nr,sr):f=="variable"?d(sr):Y(sr)}function sr(f,g){return f==")"?d():f==";"?d(sr):g=="in"||g=="of"?(C.marked="keyword",d(te,sr)):Y(te,sr)}function Ot(f,g){if(g=="*")return C.marked="keyword",d(Ot);if(f=="variable")return w(g),d(Ot);if(f=="(")return d(c,R(")"),Ce(zt,")"),oe,lr,Te,ye);if(U&&g=="<")return d(R(">"),Ce(Pt,">"),oe,Ot)}function ur(f,g){if(g=="*")return C.marked="keyword",d(ur);if(f=="variable")return w(g),d(ur);if(f=="(")return d(c,R(")"),Ce(zt,")"),oe,lr,ye);if(U&&g=="<")return d(R(">"),Ce(Pt,">"),oe,ur)}function _n(f,g){if(f=="keyword"||f=="variable")return C.marked="type",d(_n);if(g=="<")return d(R(">"),Ce(Pt,">"),oe)}function zt(f,g){return g=="@"&&d(te,zt),f=="spread"?d(zt):U&&y(g)?(C.marked="keyword",d(zt)):U&&f=="this"?d(or,It):Y(yt,or,It)}function yi(f,g){return f=="variable"?Pr(f,g):Bt(f,g)}function Pr(f,g){if(f=="variable")return w(g),d(Bt)}function Bt(f,g){if(g=="<")return d(R(">"),Ce(Pt,">"),oe,Bt);if(g=="extends"||g=="implements"||U&&f==",")return g=="implements"&&(C.marked="keyword"),d(U?We:te,Bt);if(f=="{")return d(R("}"),Wt,oe)}function Wt(f,g){if(f=="async"||f=="variable"&&(g=="static"||g=="get"||g=="set"||U&&y(g))&&C.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return C.marked="keyword",d(Wt);if(f=="variable"||C.style=="keyword")return C.marked="property",d(kr,Wt);if(f=="number"||f=="string")return d(kr,Wt);if(f=="[")return d(te,or,Se("]"),kr,Wt);if(g=="*")return C.marked="keyword",d(Wt);if(U&&f=="(")return Y(ur,Wt);if(f==";"||f==",")return d(Wt);if(f=="}")return d();if(g=="@")return d(te,Wt)}function kr(f,g){if(g=="!"||g=="?")return d(kr);if(f==":")return d(We,It);if(g=="=")return d(Ee);var A=C.state.lexical.prev,B=A&&A.info=="interface";return Y(B?ur:Ot)}function Ir(f,g){return g=="*"?(C.marked="keyword",d(Wr,Se(";"))):g=="default"?(C.marked="keyword",d(te,Se(";"))):f=="{"?d(Ce(zr,"}"),Wr,Se(";")):Y(Te)}function zr(f,g){if(g=="as")return C.marked="keyword",d(Se("variable"));if(f=="variable")return Y(Ee,zr)}function fr(f){return f=="string"?d():f=="("?Y(te):f=="."?Y(Ne):Y(Br,Kt,Wr)}function Br(f,g){return f=="{"?Lt(Br,"}"):(f=="variable"&&w(g),g=="*"&&(C.marked="keyword"),d(sn))}function Kt(f){if(f==",")return d(Br,Kt)}function sn(f,g){if(g=="as")return C.marked="keyword",d(Br)}function Wr(f,g){if(g=="from")return C.marked="keyword",d(te)}function Je(f){return f=="]"?d():Y(Ce(Ee,"]"))}function ae(){return Y(R("form"),yt,Se("{"),R("}"),Ce(Vt,"}"),oe,oe)}function Vt(){return Y(yt,It)}function un(f,g){return f.lastType=="operator"||f.lastType==","||H.test(g.charAt(0))||/[,.]/.test(g.charAt(0))}function Ft(f,g,A){return g.tokenize==V&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(g.lastType)||g.lastType=="quasi"&&/\{\s*$/.test(f.string.slice(0,f.pos-(A||0)))}return{startState:function(f){var g={tokenize:V,lastType:"sof",cc:[],lexical:new le((f||0)-de,0,"block",!1),localVars:I.localVars,context:I.localVars&&new N(null,null,!1),indented:f||0};return I.globalVars&&typeof I.globalVars=="object"&&(g.globalVars=I.globalVars),g},token:function(f,g){if(f.sol()&&(g.lexical.hasOwnProperty("align")||(g.lexical.align=!1),g.indented=f.indentation(),ue(f,g)),g.tokenize!=ie&&f.eatSpace())return null;var A=g.tokenize(f,g);return be=="comment"?A:(g.lastType=be=="operator"&&(ke=="++"||ke=="--")?"incdec":be,Ae(g,A,be,ke,f))},indent:function(f,g){if(f.tokenize==ie||f.tokenize==Fe)return F.Pass;if(f.tokenize!=V)return 0;var A=g&&g.charAt(0),B=f.lexical,L;if(!/^\s*else\b/.test(g))for(var X=f.cc.length-1;X>=0;--X){var _e=f.cc[X];if(_e==oe)B=B.prev;else if(_e!=Or&&_e!=ye)break}for(;(B.type=="stat"||B.type=="form")&&(A=="}"||(L=f.cc[f.cc.length-1])&&(L==Ne||L==Re)&&!/^[,\.=+\-*:?[\(]/.test(g));)B=B.prev;Me&&B.type==")"&&B.prev.type=="stat"&&(B=B.prev);var it=B.type,xt=A==it;return it=="vardef"?B.indented+(f.lastType=="operator"||f.lastType==","?B.info.length+1:0):it=="form"&&A=="{"?B.indented:it=="form"?B.indented+de:it=="stat"?B.indented+(un(f,g)?Me||de:0):B.info=="switch"&&!xt&&I.doubleIndentSwitch!=!1?B.indented+(/^(?:case|default)\b/.test(g)?de:2*de):B.align?B.column+(xt?0:1):B.indented+(xt?0:de)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:k?null:"/*",blockCommentEnd:k?null:"*/",blockCommentContinue:k?null:" * ",lineComment:k?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:k?"json":"javascript",jsonldMode:se,jsonMode:k,expressionAllowed:Ft,skipExpression:function(f){Ae(f,"atom","atom","true",new F.StringStream("",2,null))}}}),F.registerHelper("wordChars","javascript",/[\w$]/),F.defineMIME("text/javascript","javascript"),F.defineMIME("text/ecmascript","javascript"),F.defineMIME("application/javascript","javascript"),F.defineMIME("application/x-javascript","javascript"),F.defineMIME("application/ecmascript","javascript"),F.defineMIME("application/json",{name:"javascript",json:!0}),F.defineMIME("application/x-json",{name:"javascript",json:!0}),F.defineMIME("application/manifest+json",{name:"javascript",json:!0}),F.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),F.defineMIME("text/typescript",{name:"javascript",typescript:!0}),F.defineMIME("application/typescript",{name:"javascript",typescript:!0})})}()),va.exports}(function(jt,Jt){(function(F){F(Zt(),ba(),ka(),Lu)})(function(F){var Pe={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function I(ve,O,H){var P=ve.current(),K=P.search(O);return K>-1?ve.backUp(P.length-K):P.match(/<\/?$/)&&(ve.backUp(P.length),ve.match(O,!1)||ve.match(P)),H}var de={};function Me(ve){var O=de[ve];return O||(de[ve]=new RegExp("\\s+"+ve+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function se(ve,O){var H=ve.match(Me(O));return H?/^\s*(.*?)\s*$/.exec(H[2])[1]:""}function k(ve,O){return new RegExp((O?"^":"")+"\\s*"+ve+"\\s*>","i")}function ee(ve,O){for(var H in ve)for(var P=O[H]||(O[H]=[]),K=ve[H],be=K.length-1;be>=0;be--)P.unshift(K[be])}function U(ve,O){for(var H=0;H =0;ke--)P.script.unshift(["type",be[ke].matches,be[ke].mode]);function Q(V,$){var ie=H.token(V,$.htmlState),Fe=/\btag\b/.test(ie),me;if(Fe&&!/[<>\s\/]/.test(V.current())&&(me=$.htmlState.tagName&&$.htmlState.tagName.toLowerCase())&&P.hasOwnProperty(me))$.inTag=me+" ";else if($.inTag&&Fe&&/>$/.test(V.current())){var ue=/^([\S]+) (.*)/.exec($.inTag);$.inTag=null;var ze=V.current()==">"&&U(P[ue[1]],ue[2]),le=F.getMode(ve,ze),W=k(ue[1],!0),Ae=k(ue[1],!1);$.token=function(C,Y){return C.match(W,!1)?(Y.token=Q,Y.localState=Y.localMode=null,null):I(C,Ae,Y.localMode.token(C,Y.localState))},$.localMode=le,$.localState=F.startState(le,H.indent($.htmlState,"",""))}else $.inTag&&($.inTag+=V.current(),V.eol()&&($.inTag+=" "));return ie}return{startState:function(){var V=F.startState(H);return{token:Q,inTag:null,localMode:null,localState:null,htmlState:V}},copyState:function(V){var $;return V.localState&&($=F.copyState(V.localMode,V.localState)),{token:V.token,inTag:V.inTag,localMode:V.localMode,localState:$,htmlState:F.copyState(H,V.htmlState)}},token:function(V,$){return $.token(V,$)},indent:function(V,$,ie){return!V.localMode||/^\s*<\//.test($)?H.indent(V.htmlState,$,ie):V.localMode.indent?V.localMode.indent(V.localState,$,ie):F.Pass},innerMode:function(V){return{state:V.localState||V.htmlState,mode:V.localMode||H}}}},"xml","javascript","css"),F.defineMIME("text/html","htmlmixed")})})();ka();(function(jt,Jt){(function(F){F(Zt())})(function(F){function Pe(ee){return new RegExp("^(("+ee.join(")|(")+"))\\b")}var I=Pe(["and","or","not","is"]),de=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in","False","True"],Me=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];F.registerHelper("hintWords","python",de.concat(Me).concat(["exec","print"]));function se(ee){return ee.scopes[ee.scopes.length-1]}F.defineMode("python",function(ee,U){for(var ve="error",O=U.delimiters||U.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,H=[U.singleOperators,U.doubleOperators,U.doubleDelimiters,U.tripleDelimiters,U.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],P=0;P y?W(w):N 0&&C(S,w)&&(re+=" "+ve),re}}return ue(S,w)}function ue(S,w,m){if(S.eatSpace())return null;if(!m&&S.match(/^#.*/))return"comment";if(S.match(/^[0-9\.]/,!1)){var y=!1;if(S.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(y=!0),S.match(/^[\d_]+\.\d*/)&&(y=!0),S.match(/^\.\d+/)&&(y=!0),y)return S.eat(/J/i),"number";var N=!1;if(S.match(/^0x[0-9a-f_]+/i)&&(N=!0),S.match(/^0b[01_]+/i)&&(N=!0),S.match(/^0o[0-7_]+/i)&&(N=!0),S.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(S.eat(/J/i),N=!0),S.match(/^0(?![\dx])/i)&&(N=!0),N)return S.eat(/L/i),"number"}if(S.match($)){var re=S.current().toLowerCase().indexOf("f")!==-1;return re?(w.tokenize=ze(S.current(),w.tokenize),w.tokenize(S,w)):(w.tokenize=le(S.current(),w.tokenize),w.tokenize(S,w))}for(var p=0;p =0;)S=S.substr(1);var m=S.length==1,y="string";function N(p){return function(c,G){var ye=ue(c,G,!0);return ye=="punctuation"&&(c.current()=="{"?G.tokenize=N(p+1):c.current()=="}"&&(p>1?G.tokenize=N(p-1):G.tokenize=re)),ye}}function re(p,c){for(;!p.eol();)if(p.eatWhile(/[^'"\{\}\\]/),p.eat("\\")){if(p.next(),m&&p.eol())return y}else{if(p.match(S))return c.tokenize=w,y;if(p.match("{{"))return y;if(p.match("{",!1))return c.tokenize=N(0),p.current()?y:c.tokenize(p,c);if(p.match("}}"))return y;if(p.match("}"))return ve;p.eat(/['"]/)}if(m){if(U.singleLineStringErrors)return ve;c.tokenize=w}return y}return re.isString=!0,re}function le(S,w){for(;"rubf".indexOf(S.charAt(0).toLowerCase())>=0;)S=S.substr(1);var m=S.length==1,y="string";function N(re,p){for(;!re.eol();)if(re.eatWhile(/[^'"\\]/),re.eat("\\")){if(re.next(),m&&re.eol())return y}else{if(re.match(S))return p.tokenize=w,y;re.eat(/['"]/)}if(m){if(U.singleLineStringErrors)return ve;p.tokenize=w}return y}return N.isString=!0,N}function W(S){for(;se(S).type!="py";)S.scopes.pop();S.scopes.push({offset:se(S).offset+ee.indentUnit,type:"py",align:null})}function Ae(S,w,m){var y=S.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:S.column()+1;w.scopes.push({offset:w.indent+K,type:m,align:y})}function C(S,w){for(var m=S.indentation();w.scopes.length>1&&se(w).offset>m;){if(se(w).type!="py")return!0;w.scopes.pop()}return se(w).offset!=m}function Y(S,w){S.sol()&&(w.beginningOfLine=!0,w.dedent=!1);var m=w.tokenize(S,w),y=S.current();if(w.beginningOfLine&&y=="@")return S.match(V,!1)?"meta":Q?"operator":ve;if(/\S/.test(y)&&(w.beginningOfLine=!1),(m=="variable"||m=="builtin")&&w.lastToken=="meta"&&(m="meta"),(y=="pass"||y=="return")&&(w.dedent=!0),y=="lambda"&&(w.lambda=!0),y==":"&&!w.lambda&&se(w).type=="py"&&S.match(/^\s*(?:#|$)/,!1)&&W(w),y.length==1&&!/string|comment/.test(m)){var N="[({".indexOf(y);if(N!=-1&&Ae(S,w,"])}".slice(N,N+1)),N="])}".indexOf(y),N!=-1)if(se(w).type==y)w.indent=w.scopes.pop().offset-K;else return ve}return w.dedent&&S.eol()&&se(w).type=="py"&&w.scopes.length>1&&w.scopes.pop(),m}var d={startState:function(S){return{tokenize:me,scopes:[{offset:S||0,type:"py",align:null}],indent:S||0,lastToken:null,lambda:!1,dedent:0}},token:function(S,w){var m=w.errorToken;m&&(w.errorToken=!1);var y=Y(S,w);return y&&y!="comment"&&(w.lastToken=y=="keyword"||y=="punctuation"?S.current():y),y=="punctuation"&&(y=null),S.eol()&&w.lambda&&(w.lambda=!1),m?y+" "+ve:y},indent:function(S,w){if(S.tokenize!=me)return S.tokenize.isString?F.Pass:0;var m=se(S),y=m.type==w.charAt(0)||m.type=="py"&&!S.dedent&&/^(else:|elif |except |finally:)/.test(w);return m.align!=null?m.align-(y?1:0):m.offset-(y?K:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:`'"`},lineComment:"#",fold:"indent"};return d}),F.defineMIME("text/x-python","python");var k=function(ee){return ee.split(" ")};F.defineMIME("text/x-cython",{name:"python",extra_keywords:k("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();(function(jt,Jt){(function(F){F(Zt())})(function(F){function Pe(m,y,N,re,p,c){this.indented=m,this.column=y,this.type=N,this.info=re,this.align=p,this.prev=c}function I(m,y,N,re){var p=m.indented;return m.context&&m.context.type=="statement"&&N!="statement"&&(p=m.context.indented),m.context=new Pe(p,y,N,re,null,m.context)}function de(m){var y=m.context.type;return(y==")"||y=="]"||y=="}")&&(m.indented=m.context.indented),m.context=m.context.prev}function Me(m,y,N){if(y.prevToken=="variable"||y.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(m.string.slice(0,N))||y.typeAtEndOfLine&&m.column()==m.indentation())return!0}function se(m){for(;;){if(!m||m.type=="top")return!0;if(m.type=="}"&&m.prev.info!="namespace")return!1;m=m.prev}}F.defineMode("clike",function(m,y){var N=m.indentUnit,re=y.statementIndentUnit||N,p=y.dontAlignCalls,c=y.keywords||{},G=y.types||{},ye=y.builtin||{},R=y.blockKeywords||{},oe=y.defKeywords||{},Se=y.atoms||{},Te=y.hooks||{},xe=y.multiLineStrings,te=y.indentStatements!==!1,Ee=y.indentSwitch!==!1,qe=y.namespaceSeparator,Ve=y.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,ct=y.numberStart||/[\d\.]/,Ne=y.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,Re=y.isOperatorChar||/[+\-*&%=<>!?|\/]/,Ue=y.isIdentifierChar||/[\w\$_\xa1-\uffff]/,et=y.isReservedIdentifier||!1,he,Oe;function T(ne,we){var fe=ne.next();if(Te[fe]){var Be=Te[fe](ne,we);if(Be!==!1)return Be}if(fe=='"'||fe=="'")return we.tokenize=z(fe),we.tokenize(ne,we);if(ct.test(fe)){if(ne.backUp(1),ne.match(Ne))return"number";ne.next()}if(Ve.test(fe))return he=fe,null;if(fe=="/"){if(ne.eat("*"))return we.tokenize=M,M(ne,we);if(ne.eat("/"))return ne.skipToEnd(),"comment"}if(Re.test(fe)){for(;!ne.match(/^\/[\/*]/,!1)&&ne.eat(Re););return"operator"}if(ne.eatWhile(Ue),qe)for(;ne.match(qe);)ne.eatWhile(Ue);var Ce=ne.current();return ee(c,Ce)?(ee(R,Ce)&&(he="newstatement"),ee(oe,Ce)&&(Oe=!0),"keyword"):ee(G,Ce)?"type":ee(ye,Ce)||et&&et(Ce)?(ee(R,Ce)&&(he="newstatement"),"builtin"):ee(Se,Ce)?"atom":"variable"}function z(ne){return function(we,fe){for(var Be=!1,Ce,Lt=!1;(Ce=we.next())!=null;){if(Ce==ne&&!Be){Lt=!0;break}Be=!Be&&Ce=="\\"}return(Lt||!(Be||xe))&&(fe.tokenize=null),"string"}}function M(ne,we){for(var fe=!1,Be;Be=ne.next();){if(Be=="/"&&fe){we.tokenize=null;break}fe=Be=="*"}return"comment"}function Ie(ne,we){y.typeFirstDefinitions&&ne.eol()&&se(we.context)&&(we.typeAtEndOfLine=Me(ne,we,ne.pos))}return{startState:function(ne){return{tokenize:null,context:new Pe((ne||0)-N,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(ne,we){var fe=we.context;if(ne.sol()&&(fe.align==null&&(fe.align=!1),we.indented=ne.indentation(),we.startOfLine=!0),ne.eatSpace())return Ie(ne,we),null;he=Oe=null;var Be=(we.tokenize||T)(ne,we);if(Be=="comment"||Be=="meta")return Be;if(fe.align==null&&(fe.align=!0),he==";"||he==":"||he==","&&ne.match(/^\s*(?:\/\/.*)?$/,!1))for(;we.context.type=="statement";)de(we);else if(he=="{")I(we,ne.column(),"}");else if(he=="[")I(we,ne.column(),"]");else if(he=="(")I(we,ne.column(),")");else if(he=="}"){for(;fe.type=="statement";)fe=de(we);for(fe.type=="}"&&(fe=de(we));fe.type=="statement";)fe=de(we)}else he==fe.type?de(we):te&&((fe.type=="}"||fe.type=="top")&&he!=";"||fe.type=="statement"&&he=="newstatement")&&I(we,ne.column(),"statement",ne.current());if(Be=="variable"&&(we.prevToken=="def"||y.typeFirstDefinitions&&Me(ne,we,ne.start)&&se(we.context)&&ne.match(/^\s*\(/,!1))&&(Be="def"),Te.token){var Ce=Te.token(ne,we,Be);Ce!==void 0&&(Be=Ce)}return Be=="def"&&y.styleDefs===!1&&(Be="variable"),we.startOfLine=!1,we.prevToken=Oe?"def":Be||he,Ie(ne,we),Be},indent:function(ne,we){if(ne.tokenize!=T&&ne.tokenize!=null||ne.typeAtEndOfLine&&se(ne.context))return F.Pass;var fe=ne.context,Be=we&&we.charAt(0),Ce=Be==fe.type;if(fe.type=="statement"&&Be=="}"&&(fe=fe.prev),y.dontIndentStatements)for(;fe.type=="statement"&&y.dontIndentStatements.test(fe.info);)fe=fe.prev;if(Te.indent){var Lt=Te.indent(ne,fe,we,N);if(typeof Lt=="number")return Lt}var Et=fe.prev&&fe.prev.info=="switch";if(y.allmanIndentation&&/[{(]/.test(Be)){for(;fe.type!="top"&&fe.type!="}";)fe=fe.prev;return fe.indented}return fe.type=="statement"?fe.indented+(Be=="{"?0:re):fe.align&&(!p||fe.type!=")")?fe.column+(Ce?0:1):fe.type==")"&&!Ce?fe.indented+re:fe.indented+(Ce?0:N)+(!Ce&&Et&&!/^(?:case|default)\b/.test(we)?N:0)},electricInput:Ee?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function k(m){for(var y={},N=m.split(" "),re=0;re !?|\/#:@]/,hooks:{"@":function(m){return m.eatWhile(/[\w\$_]/),"meta"},'"':function(m,y){return m.match('""')?(y.tokenize=C,y.tokenize(m,y)):!1},"'":function(m){return m.match(/^(\\[^'\s]+|[^\\'])'/)?"string-2":(m.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(m,y){var N=y.context;return N.type=="}"&&N.align&&m.eat(">")?(y.context=new Pe(N.indented,N.column,N.type,N.info,null,N.prev),"operator"):!1},"/":function(m,y){return m.eat("*")?(y.tokenize=Y(1),y.tokenize(m,y)):!1}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});function d(m){return function(y,N){for(var re=!1,p,c=!1;!y.eol();){if(!m&&!re&&y.match('"')){c=!0;break}if(m&&y.match('"""')){c=!0;break}p=y.next(),!re&&p=="$"&&y.match("{")&&y.skipTo("}"),re=!re&&p=="\\"&&!m}return(c||!m)&&(N.tokenize=null),"string"}}Ae("text/x-kotlin",{name:"clike",keywords:k("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam value"),types:k("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:k("catch class do else finally for if where try while enum"),defKeywords:k("class val var object interface fun"),atoms:k("true false null this"),hooks:{"@":function(m){return m.eatWhile(/[\w\$_]/),"meta"},"*":function(m,y){return y.prevToken=="."?"variable":"operator"},'"':function(m,y){return y.tokenize=d(m.match('""')),y.tokenize(m,y)},"/":function(m,y){return m.eat("*")?(y.tokenize=Y(1),y.tokenize(m,y)):!1},indent:function(m,y,N,re){var p=N&&N.charAt(0);if((m.prevToken=="}"||m.prevToken==")")&&N=="")return m.indented;if(m.prevToken=="operator"&&N!="}"&&m.context.type!="}"||m.prevToken=="variable"&&p=="."||(m.prevToken=="}"||m.prevToken==")")&&p==".")return re*2+y.indented;if(y.align&&y.type=="}")return y.indented+(m.context.type==(N||"").charAt(0)?0:re)}},modeProps:{closeBrackets:{triples:'"'}}}),Ae(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:k("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:k("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:k("for while do if else struct"),builtin:k("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:k("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":$},modeProps:{fold:["brace","include"]}}),Ae("text/x-nesc",{name:"clike",keywords:k(U+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:be,blockKeywords:k(Q),atoms:k("null true false"),hooks:{"#":$},modeProps:{fold:["brace","include"]}}),Ae("text/x-objectivec",{name:"clike",keywords:k(U+" "+O),types:ke,builtin:k(H),blockKeywords:k(Q+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:k(V+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:k("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:Fe,hooks:{"#":$,"*":ie},modeProps:{fold:["brace","include"]}}),Ae("text/x-objectivec++",{name:"clike",keywords:k(U+" "+O+" "+ve),types:ke,builtin:k(H),blockKeywords:k(Q+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:k(V+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:k("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:Fe,hooks:{"#":$,"*":ie,u:ue,U:ue,L:ue,R:ue,0:me,1:me,2:me,3:me,4:me,5:me,6:me,7:me,8:me,9:me,token:function(m,y,N){if(N=="variable"&&m.peek()=="("&&(y.prevToken==";"||y.prevToken==null||y.prevToken=="}")&&ze(m.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),Ae("text/x-squirrel",{name:"clike",keywords:k("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:be,blockKeywords:k("case catch class else for foreach if switch try while"),defKeywords:k("function local class"),typeFirstDefinitions:!0,atoms:k("true false null"),hooks:{"#":$},modeProps:{fold:["brace","include"]}});var S=null;function w(m){return function(y,N){for(var re=!1,p,c=!1;!y.eol();){if(!re&&y.match('"')&&(m=="single"||y.match('""'))){c=!0;break}if(!re&&y.match("``")){S=w(m),c=!0;break}p=y.next(),re=m=="single"&&!re&&p=="\\"}return c&&(N.tokenize=null),"string"}}Ae("text/x-ceylon",{name:"clike",keywords:k("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(m){var y=m.charAt(0);return y===y.toUpperCase()&&y!==y.toLowerCase()},blockKeywords:k("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:k("class dynamic function interface module object package value"),builtin:k("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:k("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(m){return m.eatWhile(/[\w\$_]/),"meta"},'"':function(m,y){return y.tokenize=w(m.match('""')?"triple":"single"),y.tokenize(m,y)},"`":function(m,y){return!S||!m.match("`")?!1:(y.tokenize=S,S=null,y.tokenize(m,y))},"'":function(m){return m.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(m,y,N){if((N=="variable"||N=="type")&&y.prevToken==".")return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})})();var ya={exports:{}},xa;function Cu(){return xa||(xa=1,function(jt,Jt){(function(F){F(Zt())})(function(F){F.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Pe=0;Pe -1&&de.substring(k+1,de.length);if(ee)return F.findModeByExtension(ee)},F.findModeByName=function(de){de=de.toLowerCase();for(var Me=0;Me ` "'(~:]+/,be=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ke=/^\s*\[[^\]]+?\]:.*$/,Q=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\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]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,V=" ";function $(p,c,G){return c.f=c.inline=G,G(p,c)}function ie(p,c,G){return c.f=c.block=G,G(p,c)}function Fe(p){return!p||!/\S/.test(p.string)}function me(p){if(p.linkTitle=!1,p.linkHref=!1,p.linkText=!1,p.em=!1,p.strong=!1,p.strikethrough=!1,p.quote=0,p.indentedCode=!1,p.f==ze){var c=Me;if(!c){var G=F.innerMode(de,p.htmlState);c=G.mode.name=="xml"&&G.state.tagStart===null&&!G.state.context&&G.state.tokenize.isInText}c&&(p.f=C,p.block=ue,p.htmlState=null)}return p.trailingSpace=0,p.trailingSpaceNewLine=!1,p.prevLine=p.thisLine,p.thisLine={stream:null},null}function ue(p,c){var G=p.column()===c.indentation,ye=Fe(c.prevLine.stream),R=c.indentedCode,oe=c.prevLine.hr,Se=c.list!==!1,Te=(c.listStack[c.listStack.length-1]||0)+3;c.indentedCode=!1;var xe=c.indentation;if(c.indentationDiff===null&&(c.indentationDiff=c.indentation,Se)){for(c.list=null;xe =4&&(R||c.prevLine.fencedCodeEnd||c.prevLine.header||ye))return p.skipToEnd(),c.indentedCode=!0,k.code;if(p.eatSpace())return null;if(G&&c.indentation<=Te&&(qe=p.match(H))&&qe[1].length<=6)return c.quote=0,c.header=qe[1].length,c.thisLine.header=!0,I.highlightFormatting&&(c.formatting="header"),c.f=c.inline,W(c);if(c.indentation<=Te&&p.eat(">"))return c.quote=G?1:c.quote+1,I.highlightFormatting&&(c.formatting="quote"),p.eatSpace(),W(c);if(!Ee&&!c.setext&&G&&c.indentation<=Te&&(qe=p.match(ve))){var Ve=qe[1]?"ol":"ul";return c.indentation=xe+p.current().length,c.list=!0,c.quote=0,c.listStack.push(c.indentation),c.em=!1,c.strong=!1,c.code=!1,c.strikethrough=!1,I.taskLists&&p.match(O,!1)&&(c.taskList=!0),c.f=c.inline,I.highlightFormatting&&(c.formatting=["list","list-"+Ve]),W(c)}else{if(G&&c.indentation<=Te&&(qe=p.match(be,!0)))return c.quote=0,c.fencedEndRE=new RegExp(qe[1]+"+ *$"),c.localMode=I.fencedCodeBlockHighlighting&&se(qe[2]||I.fencedCodeBlockDefaultMode),c.localMode&&(c.localState=F.startState(c.localMode)),c.f=c.block=le,I.highlightFormatting&&(c.formatting="code-block"),c.code=-1,W(c);if(c.setext||(!te||!Se)&&!c.quote&&c.list===!1&&!c.code&&!Ee&&!ke.test(p.string)&&(qe=p.lookAhead(1))&&(qe=qe.match(P)))return c.setext?(c.header=c.setext,c.setext=0,p.skipToEnd(),I.highlightFormatting&&(c.formatting="header")):(c.header=qe[0].charAt(0)=="="?1:2,c.setext=c.header),c.thisLine.header=!0,c.f=c.inline,W(c);if(Ee)return p.skipToEnd(),c.hr=!0,c.thisLine.hr=!0,k.hr;if(p.peek()==="[")return $(p,c,m)}return $(p,c,c.inline)}function ze(p,c){var G=de.token(p,c.htmlState);if(!Me){var ye=F.innerMode(de,c.htmlState);(ye.mode.name=="xml"&&ye.state.tagStart===null&&!ye.state.context&&ye.state.tokenize.isInText||c.md_inside&&p.current().indexOf(">")>-1)&&(c.f=C,c.block=ue,c.htmlState=null)}return G}function le(p,c){var G=c.listStack[c.listStack.length-1]||0,ye=c.indentation =p.quote?c.push(k.formatting+"-"+p.formatting[G]+"-"+p.quote):c.push("error"))}if(p.taskOpen)return c.push("meta"),c.length?c.join(" "):null;if(p.taskClosed)return c.push("property"),c.length?c.join(" "):null;if(p.linkHref?c.push(k.linkHref,"url"):(p.strong&&c.push(k.strong),p.em&&c.push(k.em),p.strikethrough&&c.push(k.strikethrough),p.emoji&&c.push(k.emoji),p.linkText&&c.push(k.linkText),p.code&&c.push(k.code),p.image&&c.push(k.image),p.imageAltText&&c.push(k.imageAltText,"link"),p.imageMarker&&c.push(k.imageMarker)),p.header&&c.push(k.header,k.header+"-"+p.header),p.quote&&(c.push(k.quote),!I.maxBlockquoteDepth||I.maxBlockquoteDepth>=p.quote?c.push(k.quote+"-"+p.quote):c.push(k.quote+"-"+I.maxBlockquoteDepth)),p.list!==!1){var ye=(p.listStack.length-1)%3;ye?ye===1?c.push(k.list2):c.push(k.list3):c.push(k.list1)}return p.trailingSpaceNewLine?c.push("trailing-space-new-line"):p.trailingSpace&&c.push("trailing-space-"+(p.trailingSpace%2?"a":"b")),c.length?c.join(" "):null}function Ae(p,c){if(p.match(K,!0))return W(c)}function C(p,c){var G=c.text(p,c);if(typeof G<"u")return G;if(c.list)return c.list=null,W(c);if(c.taskList){var ye=p.match(O,!0)[1]===" ";return ye?c.taskOpen=!0:c.taskClosed=!0,I.highlightFormatting&&(c.formatting="task"),c.taskList=!1,W(c)}if(c.taskOpen=!1,c.taskClosed=!1,c.header&&p.match(/^#+$/,!0))return I.highlightFormatting&&(c.formatting="header"),W(c);var R=p.next();if(c.linkTitle){c.linkTitle=!1;var oe=R;R==="("&&(oe=")"),oe=(oe+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Se="^\\s*(?:[^"+oe+"\\\\]+|\\\\\\\\|\\\\.)"+oe;if(p.match(new RegExp(Se),!0))return k.linkHref}if(R==="`"){var Te=c.formatting;I.highlightFormatting&&(c.formatting="code"),p.eatWhile("`");var xe=p.current().length;if(c.code==0&&(!c.quote||xe==1))return c.code=xe,W(c);if(xe==c.code){var te=W(c);return c.code=0,te}else return c.formatting=Te,W(c)}else if(c.code)return W(c);if(R==="\\"&&(p.next(),I.highlightFormatting)){var Ee=W(c),qe=k.formatting+"-escape";return Ee?Ee+" "+qe:qe}if(R==="!"&&p.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return c.imageMarker=!0,c.image=!0,I.highlightFormatting&&(c.formatting="image"),W(c);if(R==="["&&c.imageMarker&&p.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return c.imageMarker=!1,c.imageAltText=!0,I.highlightFormatting&&(c.formatting="image"),W(c);if(R==="]"&&c.imageAltText){I.highlightFormatting&&(c.formatting="image");var Ee=W(c);return c.imageAltText=!1,c.image=!1,c.inline=c.f=d,Ee}if(R==="["&&!c.image)return c.linkText&&p.match(/^.*?\]/)||(c.linkText=!0,I.highlightFormatting&&(c.formatting="link")),W(c);if(R==="]"&&c.linkText){I.highlightFormatting&&(c.formatting="link");var Ee=W(c);return c.linkText=!1,c.inline=c.f=p.match(/\(.*?\)| ?\[.*?\]/,!1)?d:C,Ee}if(R==="<"&&p.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){c.f=c.inline=Y,I.highlightFormatting&&(c.formatting="link");var Ee=W(c);return Ee?Ee+=" ":Ee="",Ee+k.linkInline}if(R==="<"&&p.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){c.f=c.inline=Y,I.highlightFormatting&&(c.formatting="link");var Ee=W(c);return Ee?Ee+=" ":Ee="",Ee+k.linkEmail}if(I.xml&&R==="<"&&p.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ve=p.string.indexOf(">",p.pos);if(Ve!=-1){var ct=p.string.substring(p.start,Ve);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ct)&&(c.md_inside=!0)}return p.backUp(1),c.htmlState=F.startState(de),ie(p,c,ze)}if(I.xml&&R==="<"&&p.match(/^\/\w*?>/))return c.md_inside=!1,"tag";if(R==="*"||R==="_"){for(var Ne=1,Re=p.pos==1?" ":p.string.charAt(p.pos-2);Ne<3&&p.eat(R);)Ne++;var Ue=p.peek()||" ",et=!/\s/.test(Ue)&&(!Q.test(Ue)||/\s/.test(Re)||Q.test(Re)),he=!/\s/.test(Re)&&(!Q.test(Re)||/\s/.test(Ue)||Q.test(Ue)),Oe=null,T=null;if(Ne%2&&(!c.em&&et&&(R==="*"||!he||Q.test(Re))?Oe=!0:c.em==R&&he&&(R==="*"||!et||Q.test(Ue))&&(Oe=!1)),Ne>1&&(!c.strong&&et&&(R==="*"||!he||Q.test(Re))?T=!0:c.strong==R&&he&&(R==="*"||!et||Q.test(Ue))&&(T=!1)),T!=null||Oe!=null){I.highlightFormatting&&(c.formatting=Oe==null?"strong":T==null?"em":"strong em"),Oe===!0&&(c.em=R),T===!0&&(c.strong=R);var te=W(c);return Oe===!1&&(c.em=!1),T===!1&&(c.strong=!1),te}}else if(R===" "&&(p.eat("*")||p.eat("_"))){if(p.peek()===" ")return W(c);p.backUp(1)}if(I.strikethrough){if(R==="~"&&p.eatWhile(R)){if(c.strikethrough){I.highlightFormatting&&(c.formatting="strikethrough");var te=W(c);return c.strikethrough=!1,te}else if(p.match(/^[^\s]/,!1))return c.strikethrough=!0,I.highlightFormatting&&(c.formatting="strikethrough"),W(c)}else if(R===" "&&p.match("~~",!0)){if(p.peek()===" ")return W(c);p.backUp(2)}}if(I.emoji&&R===":"&&p.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){c.emoji=!0,I.highlightFormatting&&(c.formatting="emoji");var z=W(c);return c.emoji=!1,z}return R===" "&&(p.match(/^ +$/,!1)?c.trailingSpace++:c.trailingSpace&&(c.trailingSpaceNewLine=!0)),W(c)}function Y(p,c){var G=p.next();if(G===">"){c.f=c.inline=C,I.highlightFormatting&&(c.formatting="link");var ye=W(c);return ye?ye+=" ":ye="",ye+k.linkInline}return p.match(/^[^>]+/,!0),k.linkInline}function d(p,c){if(p.eatSpace())return null;var G=p.next();return G==="("||G==="["?(c.f=c.inline=w(G==="("?")":"]"),I.highlightFormatting&&(c.formatting="link-string"),c.linkHref=!0,W(c)):"error"}var S={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function w(p){return function(c,G){var ye=c.next();if(ye===p){G.f=G.inline=C,I.highlightFormatting&&(G.formatting="link-string");var R=W(G);return G.linkHref=!1,R}return c.match(S[p]),G.linkHref=!0,W(G)}}function m(p,c){return p.match(/^([^\]\\]|\\.)*\]:/,!1)?(c.f=y,p.next(),I.highlightFormatting&&(c.formatting="link"),c.linkText=!0,W(c)):$(p,c,C)}function y(p,c){if(p.match("]:",!0)){c.f=c.inline=N,I.highlightFormatting&&(c.formatting="link");var G=W(c);return c.linkText=!1,G}return p.match(/^([^\]\\]|\\.)+/,!0),k.linkText}function N(p,c){return p.eatSpace()?null:(p.match(/^[^\s]+/,!0),p.peek()===void 0?c.linkTitle=!0:p.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),c.f=c.inline=C,k.linkHref+" url")}var re={startState:function(){return{f:ue,prevLine:{stream:null},thisLine:{stream:null},block:ue,htmlState:null,indentation:0,inline:C,text:Ae,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(p){return{f:p.f,prevLine:p.prevLine,thisLine:p.thisLine,block:p.block,htmlState:p.htmlState&&F.copyState(de,p.htmlState),indentation:p.indentation,localMode:p.localMode,localState:p.localMode?F.copyState(p.localMode,p.localState):null,inline:p.inline,text:p.text,formatting:!1,linkText:p.linkText,linkTitle:p.linkTitle,linkHref:p.linkHref,code:p.code,em:p.em,strong:p.strong,strikethrough:p.strikethrough,emoji:p.emoji,header:p.header,setext:p.setext,hr:p.hr,taskList:p.taskList,list:p.list,listStack:p.listStack.slice(0),quote:p.quote,indentedCode:p.indentedCode,trailingSpace:p.trailingSpace,trailingSpaceNewLine:p.trailingSpaceNewLine,md_inside:p.md_inside,fencedEndRE:p.fencedEndRE}},token:function(p,c){if(c.formatting=!1,p!=c.thisLine.stream){if(c.header=0,c.hr=!1,p.match(/^\s*$/,!0))return me(c),null;if(c.prevLine=c.thisLine,c.thisLine={stream:p},c.taskList=!1,c.trailingSpace=0,c.trailingSpaceNewLine=!1,!c.localState&&(c.f=c.block,c.f!=ze)){var G=p.match(/^\s*/,!0)[0].replace(/\t/g,V).length;if(c.indentation=G,c.indentationDiff=null,G>0)return null}}return c.f(p,c)},innerMode:function(p){return p.block==ze?{state:p.htmlState,mode:de}:p.localState?{state:p.localState,mode:p.localMode}:{state:p,mode:re}},indent:function(p,c,G){return p.block==ze&&de.indent?de.indent(p.htmlState,c,G):p.localState&&p.localMode.indent?p.localMode.indent(p.localState,c,G):F.Pass},blankLine:me,getType:W,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return re},"xml"),F.defineMIME("text/markdown","markdown"),F.defineMIME("text/x-markdown","markdown")})})();(function(jt,Jt){(function(F){F(Zt())})(function(F){F.defineSimpleMode=function(O,H){F.defineMode(O,function(P){return F.simpleMode(P,H)})},F.simpleMode=function(O,H){Pe(H,"start");var P={},K=H.meta||{},be=!1;for(var ke in H)if(ke!=K&&H.hasOwnProperty(ke))for(var Q=P[ke]=[],V=H[ke],$=0;$ 2&&ie.token&&typeof ie.token!="string"){for(var ue=2;ue -1)return F.Pass;var ke=P.indent.length-1,Q=O[P.state];e:for(;;){for(var V=0;V {function e(s){for(const t of s.splice(0))t.dispose()}l.disposeAll=e})(d||(d={}));class a{constructor(){this._listeners=new Set,this.event=(e,s)=>{this._listeners.add(e);let t=!1;const i=this,n={dispose(){t||(t=!0,i._listeners.delete(e))}};return s&&s.push(n),n}}fire(e){const s=!this._deliveryQueue;this._deliveryQueue||(this._deliveryQueue=[]);for(const t of this._listeners)this._deliveryQueue.push({listener:t,event:e});if(s){for(let t=0;t {const i=JSON.parse(String(t.data)),{id:n,result:o,error:r,method:c,params:_}=i;if(n){const h=this._callbacks.get(n);if(!h)return;this._callbacks.delete(n),r?h.reject(new Error(r)):h.resolve(o)}else this._dispatchEvent(c,_)});const s=setInterval(()=>this._sendMessage("ping").catch(()=>{}),3e4);this._connectedPromise=new Promise((t,i)=>{this._ws.addEventListener("open",()=>t()),this._ws.addEventListener("error",i)}),this._ws.addEventListener("close",()=>{this._isClosed=!0,this._onCloseEmitter.fire(),clearInterval(s)})}isClosed(){return this._isClosed}async _sendMessage(e,s){const t=globalThis.__logForTest;t==null||t({method:e,params:s}),await this._connectedPromise;const i=++this._lastId,n={id:i,method:e,params:s};return this._ws.send(JSON.stringify(n)),new Promise((o,r)=>{this._callbacks.set(i,{resolve:o,reject:r})})}_sendMessageNoReply(e,s){this._sendMessage(e,s).catch(()=>{})}_dispatchEvent(e,s){e==="report"?this._onReportEmitter.fire(s):e==="stdio"?this._onStdioEmitter.fire(s):e==="listChanged"?this._onListChangedEmitter.fire(s):e==="testFilesChanged"?this._onTestFilesChangedEmitter.fire(s):e==="loadTraceRequested"&&this._onLoadTraceRequestedEmitter.fire(s)}async initialize(e){await this._sendMessage("initialize",e)}async ping(e){await this._sendMessage("ping",e)}async pingNoReply(e){this._sendMessageNoReply("ping",e)}async watch(e){await this._sendMessage("watch",e)}watchNoReply(e){this._sendMessageNoReply("watch",e)}async open(e){await this._sendMessage("open",e)}openNoReply(e){this._sendMessageNoReply("open",e)}async resizeTerminal(e){await this._sendMessage("resizeTerminal",e)}resizeTerminalNoReply(e){this._sendMessageNoReply("resizeTerminal",e)}async checkBrowsers(e){return await this._sendMessage("checkBrowsers",e)}async installBrowsers(e){await this._sendMessage("installBrowsers",e)}async runGlobalSetup(e){return await this._sendMessage("runGlobalSetup",e)}async runGlobalTeardown(e){return await this._sendMessage("runGlobalTeardown",e)}async startDevServer(e){return await this._sendMessage("startDevServer",e)}async stopDevServer(e){return await this._sendMessage("stopDevServer",e)}async clearCache(e){return await this._sendMessage("clearCache",e)}async listFiles(e){return await this._sendMessage("listFiles",e)}async listTests(e){return await this._sendMessage("listTests",e)}async runTests(e){return await this._sendMessage("runTests",e)}async findRelatedTestFiles(e){return await this._sendMessage("findRelatedTestFiles",e)}async stopTests(e){await this._sendMessage("stopTests",e)}stopTestsNoReply(e){this._sendMessageNoReply("stopTests",e)}async closeGracefully(e){await this._sendMessage("closeGracefully",e)}close(){try{this._ws.close()}catch{}}}export{u as T}; diff --git a/521/20241003_133906Z/trace/assets/workbench-NhP651gz.js b/521/20241003_133906Z/trace/assets/workbench-NhP651gz.js deleted file mode 100644 index 27f83f0fb..000000000 --- a/521/20241003_133906Z/trace/assets/workbench-NhP651gz.js +++ /dev/null @@ -1,69 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./codeMirrorModule-Bhx_foC8.js","../codeMirrorModule.ez37Vkbh.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -var cm=Object.defineProperty;var dm=(e,t,n)=>t in e?cm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var B=(e,t,n)=>(dm(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var I1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nd={exports:{}},Hs={},rd={exports:{}},z={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var di=Symbol.for("react.element"),hm=Symbol.for("react.portal"),pm=Symbol.for("react.fragment"),mm=Symbol.for("react.strict_mode"),gm=Symbol.for("react.profiler"),vm=Symbol.for("react.provider"),ym=Symbol.for("react.context"),wm=Symbol.for("react.forward_ref"),xm=Symbol.for("react.suspense"),Sm=Symbol.for("react.memo"),_m=Symbol.for("react.lazy"),uu=Symbol.iterator;function Em(e){return e===null||typeof e!="object"?null:(e=uu&&e[uu]||e["@@iterator"],typeof e=="function"?e:null)}var id={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sd=Object.assign,od={};function or(e,t,n){this.props=e,this.context=t,this.refs=od,this.updater=n||id}or.prototype.isReactComponent={};or.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};or.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ld(){}ld.prototype=or.prototype;function Gl(e,t,n){this.props=e,this.context=t,this.refs=od,this.updater=n||id}var Yl=Gl.prototype=new ld;Yl.constructor=Gl;sd(Yl,or.prototype);Yl.isPureReactComponent=!0;var cu=Array.isArray,ad=Object.prototype.hasOwnProperty,Jl={current:null},ud={key:!0,ref:!0,__self:!0,__source:!0};function cd(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)ad.call(t,r)&&!ud.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1 {let o=!1;return r!==void 0&&s(r),e().then(l=>{o||s(l)}),()=>{o=!0}},t),i}function _n(){const e=mt.useRef(null),[t,n]=mt.useState(new DOMRect(0,0,10,10));return mt.useLayoutEffect(()=>{const r=e.current;if(!r)return;const i=new ResizeObserver(s=>{const o=s[s.length-1];o&&o.contentRect&&n(o.contentRect)});return i.observe(r),()=>i.disconnect()},[e]),[t,e]}function Ye(e){if(e<0||!isFinite(e))return"-";if(e===0)return"0";if(e<1e3)return e.toFixed(0)+"ms";const t=e/1e3;if(t<60)return t.toFixed(1)+"s";const n=t/60;if(n<60)return n.toFixed(1)+"m";const r=n/60;return r<24?r.toFixed(1)+"h":(r/24).toFixed(1)+"d"}function Rm(e){if(e<0||!isFinite(e))return"-";if(e===0)return"0";if(e<1e3)return e.toFixed(0);const t=e/1024;if(t<1e3)return t.toFixed(1)+"K";const n=t/1024;return n<1e3?n.toFixed(1)+"M":(n/1024).toFixed(1)+"G"}function fd(e,t,n,r,i){let s=r||0,o=i!==void 0?i:e.length;for(;s >1;n(t,e[l])>=0?s=l+1:o=l}return o}function $m(e){const t=document.createElement("textarea");t.style.position="absolute",t.style.zIndex="-1000",t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}function Rr(e,t,n){e&&(t=Wr.getObject(e,t));const[r,i]=mt.useState(t),s=mt.useCallback(l=>{e&&Wr.setObject(e,l),i(l)},[e,i]);return[r,s,[r,s,n||e||""]]}class Om{getString(t,n){return localStorage[t]||n}setString(t,n){localStorage[t]=n,window.saveSettings&&window.saveSettings()}getObject(t,n){if(!localStorage[t])return n;try{return JSON.parse(localStorage[t])}catch{return n}}setObject(t,n){localStorage[t]=JSON.stringify(n),window.saveSettings&&window.saveSettings()}}const Wr=new Om,fu="\\u0000-\\u0020\\u007f-\\u009f",hd=new RegExp("(?:[a-zA-Z][a-zA-Z0-9+.-]{2,}:\\/\\/|www\\.)[^\\s"+fu+'"]{2,}[^\\s'+fu+`"')}\\],:;.!?]`,"ug");function P1(){if(document.playwrightThemeInitialized)return;document.playwrightThemeInitialized=!0,document.defaultView.addEventListener("focus",n=>{n.target.document.nodeType===Node.DOCUMENT_NODE&&document.body.classList.remove("inactive")},!1),document.defaultView.addEventListener("blur",n=>{document.body.classList.add("inactive")},!1);const e=Wr.getString("theme","light-mode"),t=window.matchMedia("(prefers-color-scheme: dark)");(e==="dark-mode"||t.matches)&&document.body.classList.add("dark-mode")}const ea=new Set;function Dm(){const e=Wr.getString("theme","light-mode");let t;e==="dark-mode"?t="light-mode":t="dark-mode",e&&document.body.classList.remove(e),document.body.classList.add(t),Wr.setString("theme",t);for(const n of ea)n(t)}function R1(e){ea.add(e)}function $1(e){ea.delete(e)}function hu(){return document.body.classList.contains("dark-mode")?"dark-mode":"light-mode"}function O1(){const[e,t]=mt.useState(hu()==="dark-mode");return[e,n=>{hu()==="dark-mode"!==n&&Dm(),t(n)},"Dark mode"]}var pd={exports:{}},Be={},md={exports:{}},gd={};/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */(function(e){function t(I,R){var D=I.length;I.push(R);e:for(;0 >>1,re=I[K];if(0>>1;K i(tt,D))wt i(on,tt)?(I[K]=on,I[wt]=D,K=wt):(I[K]=tt,I[yt]=D,K=yt);else if(wt i(on,D))I[K]=on,I[wt]=D,K=wt;else break e}}return R}function i(I,R){var D=I.sortIndex-R.sortIndex;return D!==0?D:I.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var a=[],u=[],c=1,h=null,f=3,g=!1,w=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(I){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=I)r(u),R.sortIndex=R.expirationTime,t(a,R);else break;R=n(u)}}function S(I){if(y=!1,v(I),!w)if(n(a)!==null)w=!0,Oe(C);else{var R=n(u);R!==null&&me(S,R.startTime-I)}}function C(I,R){w=!1,y&&(y=!1,p(j),j=-1),g=!0;var D=f;try{for(v(R),h=n(a);h!==null&&(!(h.expirationTime>R)||I&&!L());){var K=h.callback;if(typeof K=="function"){h.callback=null,f=h.priorityLevel;var re=K(h.expirationTime<=R);R=e.unstable_now(),typeof re=="function"?h.callback=re:h===n(a)&&r(a),v(R)}else r(a);h=n(a)}if(h!==null)var sn=!0;else{var yt=n(u);yt!==null&&me(S,yt.startTime-R),sn=!1}return sn}finally{h=null,f=D,g=!1}}var E=!1,N=null,j=-1,_=5,T=-1;function L(){return!(e.unstable_now()-T<_)}function k(){if(N!==null){var I=e.unstable_now();T=I;var R=!0;try{R=N(!0,I)}finally{R?M():(E=!1,N=null)}}else E=!1}var M;if(typeof m=="function")M=function(){m(k)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,Q=$.port2;$.port1.onmessage=k,M=function(){Q.postMessage(null)}}else M=function(){x(k,0)};function Oe(I){N=I,E||(E=!0,M())}function me(I,R){j=x(function(){I(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){w||g||(w=!0,Oe(C))},e.unstable_forceFrameRate=function(I){0>I||125K?(I.sortIndex=D,t(u,I),n(a)===null&&I===n(u)&&(y?(p(j),j=-1):y=!0,me(S,D-K))):(I.sortIndex=re,t(a,I),w||g||(w=!0,Oe(C))),I},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(I){var R=f;return function(){var D=f;f=R;try{return I.apply(this,arguments)}finally{f=D}}}})(gd);md.exports=gd;var zm=md.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var vd=b,He=zm;function A(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n "u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xo=Object.prototype.hasOwnProperty,Fm=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pu={},mu={};function Hm(e){return Xo.call(mu,e)?!0:Xo.call(pu,e)?!1:Fm.test(e)?mu[e]=!0:(pu[e]=!0,!1)}function Um(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Bm(e,t,n,r){if(t===null||typeof t>"u"||Um(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function be(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pe[e]=new be(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pe[t]=new be(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pe[e]=new be(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pe[e]=new be(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){pe[e]=new be(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pe[e]=new be(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pe[e]=new be(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pe[e]=new be(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pe[e]=new be(e,5,!1,e.toLowerCase(),null,!1,!1)});var ta=/[\-:]([a-z])/g;function na(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ta,na);pe[t]=new be(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ta,na);pe[t]=new be(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ta,na);pe[t]=new be(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pe[e]=new be(e,1,!1,e.toLowerCase(),null,!1,!1)});pe.xlinkHref=new be("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pe[e]=new be(e,1,!1,e.toLowerCase(),null,!0,!0)});function ra(e,t,n,r){var i=pe.hasOwnProperty(t)?pe[t]:null;(i!==null?i.type!==0:r||!(2 l||i[o]!==s[l]){var a=` -`+i[o].replace(" at new "," at ");return e.displayName&&a.includes(" ")&&(a=a.replace(" ",e.displayName)),a}while(1<=o&&0<=l);break}}}finally{po=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?br(e):""}function Vm(e){switch(e.tag){case 5:return br(e.type);case 16:return br("Lazy");case 13:return br("Suspense");case 19:return br("SuspenseList");case 0:case 2:case 15:return e=mo(e.type,!1),e;case 11:return e=mo(e.type.render,!1),e;case 1:return e=mo(e.type,!0),e;default:return""}}function Yo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pn:return"Fragment";case In:return"Portal";case Qo:return"Profiler";case ia:return"StrictMode";case Ko:return"Suspense";case Go:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xd:return(e.displayName||"Context")+".Consumer";case wd:return(e._context.displayName||"Context")+".Provider";case sa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oa:return t=e.displayName||null,t!==null?t:Yo(e.type)||"Memo";case Rt:t=e._payload,e=e._init;try{return Yo(e(t))}catch{}}return null}function Wm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Yo(t);case 8:return t===ia?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Jt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _d(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function qm(e){var t=_d(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ei(e){e._valueTracker||(e._valueTracker=qm(e))}function Ed(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=_d(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ds(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Jo(e,t){var n=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Td(e,t){t=t.checked,t!=null&&ra(e,"checked",t,!1)}function Zo(e,t){Td(e,t);var n=Jt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?el(e,t.type,n):t.hasOwnProperty("defaultValue")&&el(e,t.type,Jt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function el(e,t,n){(t!=="number"||ds(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Lr=Array.isArray;function Xn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i "+t.valueOf().toString()+"",t=Ti.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var $r={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Xm=["Webkit","ms","Moz","O"];Object.keys($r).forEach(function(e){Xm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$r[t]=$r[e]})});function bd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||$r.hasOwnProperty(e)&&$r[e]?(""+t).trim():t+"px"}function Ld(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=bd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Qm=J({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function rl(e,t){if(t){if(Qm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function il(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sl=null;function la(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ol=null,Qn=null,Kn=null;function Su(e){if(e=pi(e)){if(typeof ol!="function")throw Error(A(280));var t=e.stateNode;t&&(t=qs(t),ol(e.stateNode,e.type,t))}}function Ad(e){Qn?Kn?Kn.push(e):Kn=[e]:Qn=e}function jd(){if(Qn){var e=Qn,t=Kn;if(Kn=Qn=null,Su(e),t)for(e=0;e >>=0,e===0?32:31-(sg(e)/og|0)|0}var ki=64,Ni=4194304;function Ar(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ms(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~i;l!==0?r=Ar(l):(s&=o,s!==0&&(r=Ar(s)))}else o=n&~i,o!==0?r=Ar(o):s!==0&&(r=Ar(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function fi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ot(t),e[t]=n}function cg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0 =Dr),Au=" ",ju=!1;function Yd(e,t){switch(e){case"keyup":return Dg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rn=!1;function Fg(e,t){switch(e){case"compositionend":return Jd(t);case"keypress":return t.which!==32?null:(ju=!0,Au);case"textInput":return e=t.data,e===Au&&ju?null:e;default:return null}}function Hg(e,t){if(Rn)return e==="compositionend"||!ma&&Yd(e,t)?(e=Kd(),Xi=fa=Ht=null,Rn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1 =t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ru(n)}}function nf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rf(){for(var e=window,t=ds();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ds(e.document)}return t}function ga(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Gg(e){var t=rf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&nf(n.ownerDocument.documentElement,n)){if(r!==null&&ga(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=$u(n,s);var o=$u(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n =document.documentMode,$n=null,fl=null,Fr=null,hl=!1;function Ou(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;hl||$n==null||$n!==ds(r)||(r=$n,"selectionStart"in r&&ga(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fr&&Zr(Fr,r)||(Fr=r,r=ys(fl,"onSelect"),0 zn||(e.current=wl[zn],wl[zn]=null,zn--)}function U(e,t){zn++,wl[zn]=e.current,e.current=t}var Zt={},Se=nn(Zt),Pe=nn(!1),gn=Zt;function er(e,t){var n=e.type.contextTypes;if(!n)return Zt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Re(e){return e=e.childContextTypes,e!=null}function xs(){W(Pe),W(Se)}function Vu(e,t,n){if(Se.current!==Zt)throw Error(A(168));U(Se,t),U(Pe,n)}function hf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(A(108,Wm(e)||"Unknown",i));return J({},n,r)}function Ss(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zt,gn=Se.current,U(Se,e),U(Pe,Pe.current),!0}function Wu(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=hf(e,t,gn),r.__reactInternalMemoizedMergedChildContext=e,W(Pe),W(Se),U(Se,e)):W(Pe),U(Pe,n)}var kt=null,Xs=!1,Lo=!1;function pf(e){kt===null?kt=[e]:kt.push(e)}function av(e){Xs=!0,pf(e)}function rn(){if(!Lo&&kt!==null){Lo=!0;var e=0,t=H;try{var n=kt;for(H=1;e >=o,i-=o,Nt=1<<32-ot(t)+i|n<j?(_=N,N=null):_=N.sibling;var T=f(p,N,v[j],S);if(T===null){N===null&&(N=_);break}e&&N&&T.alternate===null&&t(p,N),m=s(T,m,j),E===null?C=T:E.sibling=T,E=T,N=_}if(j===v.length)return n(p,N),X&&ln(p,j),C;if(N===null){for(;j j?(_=N,N=null):_=N.sibling;var L=f(p,N,T.value,S);if(L===null){N===null&&(N=_);break}e&&N&&L.alternate===null&&t(p,N),m=s(L,m,j),E===null?C=L:E.sibling=L,E=L,N=_}if(T.done)return n(p,N),X&&ln(p,j),C;if(N===null){for(;!T.done;j++,T=v.next())T=h(p,T.value,S),T!==null&&(m=s(T,m,j),E===null?C=T:E.sibling=T,E=T);return X&&ln(p,j),C}for(N=r(p,N);!T.done;j++,T=v.next())T=g(N,p,j,T.value,S),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?j:T.key),m=s(T,m,j),E===null?C=T:E.sibling=T,E=T);return e&&N.forEach(function(k){return t(p,k)}),X&&ln(p,j),C}function x(p,m,v,S){if(typeof v=="object"&&v!==null&&v.type===Pn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case _i:e:{for(var C=v.key,E=m;E!==null;){if(E.key===C){if(C=v.type,C===Pn){if(E.tag===7){n(p,E.sibling),m=i(E,v.props.children),m.return=p,p=m;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Rt&&Ju(C)===E.type){n(p,E.sibling),m=i(E,v.props),m.ref=xr(p,E,v),m.return=p,p=m;break e}n(p,E);break}else t(p,E);E=E.sibling}v.type===Pn?(m=pn(v.props.children,p.mode,S,v.key),m.return=p,p=m):(S=ts(v.type,v.key,v.props,null,p.mode,S),S.ref=xr(p,m,v),S.return=p,p=S)}return o(p);case In:e:{for(E=v.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(p,m.sibling),m=i(m,v.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=Oo(v,p.mode,S),m.return=p,p=m}return o(p);case Rt:return E=v._init,x(p,m,E(v._payload),S)}if(Lr(v))return w(p,m,v,S);if(mr(v))return y(p,m,v,S);Ii(p,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(p,m.sibling),m=i(m,v),m.return=p,p=m):(n(p,m),m=$o(v,p.mode,S),m.return=p,p=m),o(p)):n(p,m)}return x}var nr=_f(!0),Ef=_f(!1),mi={},vt=nn(mi),ri=nn(mi),ii=nn(mi);function fn(e){if(e===mi)throw Error(A(174));return e}function ka(e,t){switch(U(ii,t),U(ri,e),U(vt,mi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:nl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=nl(t,e)}W(vt),U(vt,t)}function rr(){W(vt),W(ri),W(ii)}function Tf(e){fn(ii.current);var t=fn(vt.current),n=nl(t,e.type);t!==n&&(U(ri,e),U(vt,n))}function Na(e){ri.current===e&&(W(vt),W(ri))}var G=nn(0);function Cs(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ao=[];function Ca(){for(var e=0;e n?n:4,e(!0);var r=jo.transition;jo.transition={};try{e(!1),t()}finally{H=n,jo.transition=r}}function Ff(){return et().memoizedState}function fv(e,t,n){var r=Kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Hf(e))Uf(t,n);else if(n=yf(e,t,n,r),n!==null){var i=ke();lt(n,e,r,i),Bf(n,t,r)}}function hv(e,t,n){var r=Kt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hf(e))Uf(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,l=s(o,n);if(i.hasEagerState=!0,i.eagerState=l,at(l,o)){var a=t.interleaved;a===null?(i.next=i,Ea(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=yf(e,t,i,r),n!==null&&(i=ke(),lt(n,e,r,i),Bf(n,t,r))}}function Hf(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function Uf(e,t){Hr=bs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Bf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ua(e,n)}}var Ls={readContext:Ze,useCallback:ge,useContext:ge,useEffect:ge,useImperativeHandle:ge,useInsertionEffect:ge,useLayoutEffect:ge,useMemo:ge,useReducer:ge,useRef:ge,useState:ge,useDebugValue:ge,useDeferredValue:ge,useTransition:ge,useMutableSource:ge,useSyncExternalStore:ge,useId:ge,unstable_isNewReconciler:!1},pv={readContext:Ze,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:Ze,useEffect:ec,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Yi(4194308,4,Rf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Yi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Yi(4,2,e,t)},useMemo:function(e,t){var n=dt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=dt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=fv.bind(null,Y,e),[r.memoizedState,e]},useRef:function(e){var t=dt();return e={current:e},t.memoizedState=e},useState:Zu,useDebugValue:Ma,useDeferredValue:function(e){return dt().memoizedState=e},useTransition:function(){var e=Zu(!1),t=e[0];return e=dv.bind(null,e[1]),dt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Y,i=dt();if(X){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),ce===null)throw Error(A(349));yn&30||Cf(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,ec(Lf.bind(null,r,s,e),[e]),r.flags|=2048,li(9,bf.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=dt(),t=ce.identifierPrefix;if(X){var n=Ct,r=Nt;n=(r&~(1<<32-ot(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=si++,0 <\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[pt]=t,e[ni]=r,Jf(e,t,!1,!1),t.stateNode=e;e:{switch(o=il(n,r),n){case"dialog":V("cancel",e),V("close",e),i=r;break;case"iframe":case"object":case"embed":V("load",e),i=r;break;case"video":case"audio":for(i=0;i sr&&(t.flags|=128,r=!0,Sr(s,!1),t.lanes=4194304)}else{if(!r)if(e=Cs(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Sr(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!X)return ve(t),null}else 2*te()-s.renderingStartTime>sr&&n!==1073741824&&(t.flags|=128,r=!0,Sr(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=te(),t.sibling=null,n=G.current,U(G,r?n&1|2:n&1),t):(ve(t),null);case 22:case 23:return Da(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?De&1073741824&&(ve(t),t.subtreeFlags&6&&(t.flags|=8192)):ve(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function _v(e,t){switch(ya(t),t.tag){case 1:return Re(t.type)&&xs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rr(),W(Pe),W(Se),Ca(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Na(t),null;case 13:if(W(G),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));tr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(G),null;case 4:return rr(),null;case 10:return _a(t.type._context),null;case 22:case 23:return Da(),null;case 24:return null;default:return null}}var Ri=!1,we=!1,Ev=typeof WeakSet=="function"?WeakSet:Set,P=null;function Bn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ee(e,t,r)}else n.current=null}function jl(e,t,n){try{n()}catch(r){ee(e,t,r)}}var uc=!1;function Tv(e,t){if(pl=gs,e=rf(),ga(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,l=-1,a=-1,u=0,c=0,h=e,f=null;t:for(;;){for(var g;h!==n||i!==0&&h.nodeType!==3||(l=o+i),h!==s||r!==0&&h.nodeType!==3||(a=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(g=h.firstChild)!==null;)f=h,h=g;for(;;){if(h===e)break t;if(f===n&&++u===i&&(l=o),f===s&&++c===r&&(a=o),(g=h.nextSibling)!==null)break;h=f,f=h.parentNode}h=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ml={focusedElem:e,selectionRange:n},gs=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,x=w.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?y:rt(t.type,y),x);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(S){ee(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return w=uc,uc=!1,w}function Ur(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&jl(t,n,s)}i=i.next}while(i!==r)}}function Gs(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ml(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function th(e){var t=e.alternate;t!==null&&(e.alternate=null,th(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pt],delete t[ni],delete t[yl],delete t[ov],delete t[lv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function nh(e){return e.tag===5||e.tag===3||e.tag===4}function cc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||nh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Il(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ws));else if(r!==4&&(e=e.child,e!==null))for(Il(e,t,n),e=e.sibling;e!==null;)Il(e,t,n),e=e.sibling}function Pl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Pl(e,t,n),e=e.sibling;e!==null;)Pl(e,t,n),e=e.sibling}var de=null,it=!1;function Pt(e,t,n){for(n=n.child;n!==null;)rh(e,t,n),n=n.sibling}function rh(e,t,n){if(gt&&typeof gt.onCommitFiberUnmount=="function")try{gt.onCommitFiberUnmount(Us,n)}catch{}switch(n.tag){case 5:we||Bn(n,t);case 6:var r=de,i=it;de=null,Pt(e,t,n),de=r,it=i,de!==null&&(it?(e=de,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):de.removeChild(n.stateNode));break;case 18:de!==null&&(it?(e=de,n=n.stateNode,e.nodeType===8?bo(e.parentNode,n):e.nodeType===1&&bo(e,n),Yr(e)):bo(de,n.stateNode));break;case 4:r=de,i=it,de=n.stateNode.containerInfo,it=!0,Pt(e,t,n),de=r,it=i;break;case 0:case 11:case 14:case 15:if(!we&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&jl(n,t,o),i=i.next}while(i!==r)}Pt(e,t,n);break;case 1:if(!we&&(Bn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ee(n,t,l)}Pt(e,t,n);break;case 21:Pt(e,t,n);break;case 22:n.mode&1?(we=(r=we)||n.memoizedState!==null,Pt(e,t,n),we=r):Pt(e,t,n);break;default:Pt(e,t,n)}}function dc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ev),t.forEach(function(r){var i=Iv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r i&&(i=o),r&=~s}if(r=i,r=te()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Nv(r/1960))-r,10 e?16:e,Ut===null)var r=!1;else{if(e=Ut,Ut=null,Ms=0,F&6)throw Error(A(331));var i=F;for(F|=4,P=e.current;P!==null;){var s=P,o=s.child;if(P.flags&16){var l=s.deletions;if(l!==null){for(var a=0;a te()-$a?hn(e,0):Ra|=n),$e(e,t)}function dh(e,t){t===0&&(e.mode&1?(t=Ni,Ni<<=1,!(Ni&130023424)&&(Ni=4194304)):t=1);var n=ke();e=jt(e,t),e!==null&&(fi(e,t,n),$e(e,n))}function Mv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),dh(e,n)}function Iv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(A(314))}r!==null&&r.delete(t),dh(e,n)}var fh;fh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pe.current)Ie=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ie=!1,xv(e,t,n);Ie=!!(e.flags&131072)}else Ie=!1,X&&t.flags&1048576&&mf(t,Es,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ji(e,t),e=t.pendingProps;var i=er(t,Se.current);Yn(t,n),i=La(null,t,r,e,i,n);var s=Aa();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(r)?(s=!0,Ss(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ta(t),i.updater=Qs,t.stateNode=i,i._reactInternals=t,Tl(t,r,e,n),t=Cl(null,t,r,!0,s,n)):(t.tag=0,X&&s&&va(t),_e(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ji(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Rv(r),e=rt(r,e),i){case 0:t=Nl(null,t,r,e,n);break e;case 1:t=oc(null,t,r,e,n);break e;case 11:t=ic(null,t,r,e,n);break e;case 14:t=sc(null,t,r,rt(r.type,e),n);break e}throw Error(A(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:rt(r,i),Nl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:rt(r,i),oc(e,t,r,i,n);case 3:e:{if(Kf(t),e===null)throw Error(A(387));r=t.pendingProps,s=t.memoizedState,i=s.element,wf(e,t),Ns(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=ir(Error(A(423)),t),t=lc(e,t,r,n,i);break e}else if(r!==i){i=ir(Error(A(424)),t),t=lc(e,t,r,n,i);break e}else for(ze=qt(t.stateNode.containerInfo.firstChild),Fe=t,X=!0,st=null,n=Ef(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(tr(),r===i){t=Mt(e,t,n);break e}_e(e,t,r,n)}t=t.child}return t;case 5:return Tf(t),e===null&&Sl(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,gl(r,i)?o=null:s!==null&&gl(r,s)&&(t.flags|=32),Qf(e,t),_e(e,t,o,n),t.child;case 6:return e===null&&Sl(t),null;case 13:return Gf(e,t,n);case 4:return ka(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=nr(t,null,r,n):_e(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:rt(r,i),ic(e,t,r,i,n);case 7:return _e(e,t,t.pendingProps,n),t.child;case 8:return _e(e,t,t.pendingProps.children,n),t.child;case 12:return _e(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,U(Ts,r._currentValue),r._currentValue=o,s!==null)if(at(s.value,o)){if(s.children===i.children&&!Pe.current){t=Mt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){o=s.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(s.tag===1){a=bt(-1,n&-n),a.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),_l(s.return,n,t),l.lanes|=n;break}a=a.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(A(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),_l(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}_e(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Yn(t,n),i=Ze(i),r=r(i),t.flags|=1,_e(e,t,r,n),t.child;case 14:return r=t.type,i=rt(r,t.pendingProps),i=rt(r.type,i),sc(e,t,r,i,n);case 15:return qf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:rt(r,i),Ji(e,t),t.tag=1,Re(r)?(e=!0,Ss(t)):e=!1,Yn(t,n),Sf(t,r,i),Tl(t,r,i,n),Cl(null,t,r,!0,e,n);case 19:return Yf(e,t,n);case 22:return Xf(e,t,n)}throw Error(A(156,t.tag))};function hh(e,t){return Dd(e,t)}function Pv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ke(e,t,n,r){return new Pv(e,t,n,r)}function Fa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Rv(e){if(typeof e=="function")return Fa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===sa)return 11;if(e===oa)return 14}return 2}function Gt(e,t){var n=e.alternate;return n===null?(n=Ke(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ts(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Fa(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Pn:return pn(n.children,i,s,t);case ia:o=8,i|=8;break;case Qo:return e=Ke(12,n,t,i|2),e.elementType=Qo,e.lanes=s,e;case Ko:return e=Ke(13,n,t,i),e.elementType=Ko,e.lanes=s,e;case Go:return e=Ke(19,n,t,i),e.elementType=Go,e.lanes=s,e;case Sd:return Js(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case wd:o=10;break e;case xd:o=9;break e;case sa:o=11;break e;case oa:o=14;break e;case Rt:o=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=Ke(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function pn(e,t,n,r){return e=Ke(7,e,r,t),e.lanes=n,e}function Js(e,t,n,r){return e=Ke(22,e,r,t),e.elementType=Sd,e.lanes=n,e.stateNode={isHidden:!1},e}function $o(e,t,n){return e=Ke(6,e,null,t),e.lanes=n,e}function Oo(e,t,n){return t=Ke(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $v(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vo(0),this.expirationTimes=vo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ha(e,t,n,r,i,s,o,l,a){return e=new $v(e,t,n,l,a),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Ke(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ta(s),e}function Ov(e,t,n){var r=3 "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vh)}catch(e){console.error(e)}}vh(),pd.exports=Be;var D1=pd.exports;const en=({children:e,title:t="",icon:n,disabled:r=!1,toggled:i=!1,onClick:s=()=>{},style:o,testId:l,className:a})=>(a=(a||"")+` toolbar-button ${n}`,i&&(a+=" toggled"),d.jsxs("button",{className:a,onMouseDown:wc,onClick:s,onDoubleClick:wc,title:t,disabled:!!r,style:o,"data-testId":l,children:[n&&d.jsx("span",{className:`codicon codicon-${n}`,style:e?{marginRight:5}:{}}),e]})),wc=e=>{e.stopPropagation(),e.preventDefault()},Mr=Symbol("context"),yh=Symbol("next"),wh=Symbol("prev"),xc=Symbol("events");class z1{constructor(t){B(this,"startTime");B(this,"endTime");B(this,"browserName");B(this,"channel");B(this,"platform");B(this,"wallTime");B(this,"title");B(this,"options");B(this,"pages");B(this,"actions");B(this,"events");B(this,"stdio");B(this,"errors");B(this,"errorDescriptors");B(this,"hasSource");B(this,"hasStepData");B(this,"sdkLanguage");B(this,"testIdAttributeName");B(this,"sources");B(this,"resources");t.forEach(r=>Uv(r));const n=t.find(r=>r.origin==="library");this.browserName=(n==null?void 0:n.browserName)||"",this.sdkLanguage=n==null?void 0:n.sdkLanguage,this.channel=n==null?void 0:n.channel,this.testIdAttributeName=n==null?void 0:n.testIdAttributeName,this.platform=(n==null?void 0:n.platform)||"",this.title=(n==null?void 0:n.title)||"",this.options=(n==null?void 0:n.options)||{},this.actions=Bv(t),this.pages=[].concat(...t.map(r=>r.pages)),this.wallTime=t.map(r=>r.wallTime).reduce((r,i)=>Math.min(r||Number.MAX_VALUE,i),Number.MAX_VALUE),this.startTime=t.map(r=>r.startTime).reduce((r,i)=>Math.min(r,i),Number.MAX_VALUE),this.endTime=t.map(r=>r.endTime).reduce((r,i)=>Math.max(r,i),Number.MIN_VALUE),this.events=[].concat(...t.map(r=>r.events)),this.stdio=[].concat(...t.map(r=>r.stdio)),this.errors=[].concat(...t.map(r=>r.errors)),this.hasSource=t.some(r=>r.hasSource),this.hasStepData=t.some(r=>r.origin==="testRunner"),this.resources=[...t.map(r=>r.resources)].flat(),this.events.sort((r,i)=>r.time-i.time),this.resources.sort((r,i)=>r._monotonicTime-i._monotonicTime),this.errorDescriptors=this.hasStepData?this._errorDescriptorsFromTestRunner():this._errorDescriptorsFromActions(),this.sources=Zv(this.actions,this.errorDescriptors)}failedAction(){return this.actions.findLast(t=>t.error)}_errorDescriptorsFromActions(){var n;const t=[];for(const r of this.actions||[])(n=r.error)!=null&&n.message&&t.push({action:r,stack:r.stack,message:r.error.message});return t}_errorDescriptorsFromTestRunner(){const t=[];for(const n of this.errors||[])n.message&&t.push({stack:n.stack,message:n.message});return t}}function Uv(e){for(const n of e.pages)n[Mr]=e;for(let n=0;n =0;n--){const r=e.actions[n];r[yh]=t,r.apiName.includes("route.")||(t=r)}for(const n of e.events)n[Mr]=e;for(const n of e.resources)n[Mr]=e}function Bv(e){const t=new Map;for(const i of e){const s=i.traceUrl;let o=t.get(s);o||(o=[],t.set(s,o)),o.push(i)}const n=[];let r=0;for(const[,i]of t){t.size>1&&Vv(i,++r);const s=Wv(i);n.push(...s)}n.sort((i,s)=>s.parentId===i.callId?-1:i.parentId===s.callId?1:i.startTime-s.startTime);for(let i=1;i l.origin==="library"),r=e.filter(l=>l.origin==="testRunner");if(!r.length||!n.length)return e.map(l=>l.actions.map(a=>({...a,context:l}))).flat();const i=n.some(l=>l.actions.some(a=>!!a.stepId));for(const l of n)for(const a of l.actions){const u=i?a.stepId:`${a.apiName}@${a.wallTime}`;t.set(u,{...a,context:l})}const s=Xv(r,t,i);s&&qv(n,s);const o=new Map;for(const l of r)for(const a of l.actions){const u=i?a.callId:`${a.apiName}@${a.wallTime}`,c=t.get(u);if(c){o.set(a.callId,c.callId),a.error&&(c.error=a.error),a.attachments&&(c.attachments=a.attachments),a.parentId&&(c.parentId=o.get(a.parentId)??a.parentId),c.startTime=a.startTime,c.endTime=a.endTime;continue}a.parentId&&(a.parentId=o.get(a.parentId)??a.parentId),t.set(u,{...a,context:l})}return[...t.values()]}function qv(e,t){for(const n of e){n.startTime+=t,n.endTime+=t;for(const r of n.actions)r.startTime&&(r.startTime+=t),r.endTime&&(r.endTime+=t);for(const r of n.events)r.time+=t;for(const r of n.stdio)r.timestamp+=t;for(const r of n.pages)for(const i of r.screencastFrames)i.timestamp+=t;for(const r of n.resources)r._monotonicTime&&(r._monotonicTime+=t)}}function Xv(e,t,n){for(const r of e)for(const i of r.actions){if(!i.startTime)continue;const s=n?i.stepId:`${i.apiName}@${i.wallTime}`,o=t.get(s);if(o)return i.startTime-o.startTime}return 0}function Qv(e){const t=new Map;for(const r of e)t.set(r.callId,{id:r.callId,parent:void 0,children:[],action:r});const n={id:"",parent:void 0,children:[]};for(const r of t.values()){const i=r.action.parentId&&t.get(r.action.parentId)||n;i.children.push(r),r.parent=i}return{rootItem:n,itemMap:t}}function F1(e){return`${e.pageId||"none"}:${e.callId}`}function Rs(e){return e[Mr]}function Kv(e){return e[yh]}function Gv(e){return e[wh]}function Yv(e){let t=0,n=0;for(const r of Jv(e)){if(r.type==="console"){const i=r.messageType;i==="warning"?++n:i==="error"&&++t}r.type==="event"&&r.method==="pageError"&&++t}return{errors:t,warnings:n}}function Jv(e){let t=e[xc];if(t)return t;const n=Kv(e);return t=Rs(e).events.filter(r=>r.time>=e.startTime&&(!n||r.time {const[l,a]=Rr(s?s+"."+r+":size":void 0,Math.max(i,e)*window.devicePixelRatio),[u,c]=Rr(s?s+"."+r+":size":void 0,Math.max(i,e)*window.devicePixelRatio),[h,f]=b.useState(null),[g,w]=_n();let y;r==="vertical"?(y=u/window.devicePixelRatio,g&&g.height f({offset:r==="vertical"?m.clientY:m.clientX,size:y}),onMouseUp:()=>f(null),onMouseMove:m=>{if(!m.buttons)f(null);else if(h){const S=(r==="vertical"?m.clientY:m.clientX)-h.offset,C=n?h.size+S:h.size-S,N=m.target.parentElement.getBoundingClientRect(),j=Math.min(Math.max(i,C),(r==="vertical"?N.height:N.width)-i);r==="vertical"?c(j*window.devicePixelRatio):a(j*window.devicePixelRatio)}}})]})};function ro(e,t="'"){const n=JSON.stringify(e),r=n.substring(1,n.length-1).replace(/\\"/g,'"');if(t==="'")return t+r.replace(/[']/g,"\\'")+t;if(t==='"')return t+r.replace(/["]/g,'\\"')+t;if(t==="`")return t+r.replace(/[`]/g,"`")+t;throw new Error("Invalid escape char")}function Os(e){return e.charAt(0).toUpperCase()+e.substring(1)}function xh(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replace(/([A-Z])([A-Z][a-z])/g,"$1_$2").toLowerCase()}function Qe(e){let t="";for(let n=0;n =1&&n<=31||n>=48&&n<=57&&(t===0||t===1&&e.charCodeAt(0)===45)?"\\"+n.toString(16)+" ":t===0&&n===45&&e.length===1?"\\"+e.charAt(t):n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122?e.charAt(t):"\\"+e.charAt(t)}let un;function r0(){un=new Map}function Ue(e){let t=un==null?void 0:un.get(e);return t===void 0&&(t=e.replace(/\u200b/g,"").trim().replace(/\s+/g," "),un==null||un.set(e,t)),t}function io(e){return e.replace(/(^|[^\\])(\\\\)*\\(['"`])/g,"$1$2$3")}function Sh(e){return e.unicode||e.unicodeSets?String(e):String(e).replace(/(^|[^\\])(\\\\)*(["'`])/g,"$1$2\\$3").replace(/>>/g,"\\>\\>")}function Ge(e,t){return typeof e!="string"?Sh(e):`${JSON.stringify(e)}${t?"s":"i"}`}function Ee(e,t){return typeof e!="string"?Sh(e):`"${e.replace(/\\/g,"\\\\").replace(/["]/g,'\\"')}"${t?"s":"i"}`}function i0(e,t,n=""){if(e.length<=t)return e;const r=[...e];return r.length>t?r.slice(0,t-n.length).join("")+n:r.join("")}function Sc(e,t){return i0(e,t,"…")}function s0(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ie=function(e,t,n){return e>=t&&e<=n};function Le(e){return ie(e,48,57)}function _c(e){return Le(e)||ie(e,65,70)||ie(e,97,102)}function o0(e){return ie(e,65,90)}function l0(e){return ie(e,97,122)}function a0(e){return o0(e)||l0(e)}function u0(e){return e>=128}function rs(e){return a0(e)||u0(e)||e===95}function Ec(e){return rs(e)||Le(e)||e===45}function c0(e){return ie(e,0,8)||e===11||ie(e,14,31)||e===127}function is(e){return e===10}function St(e){return is(e)||e===9||e===32}const d0=1114111;class Wa extends Error{constructor(t){super(t),this.name="InvalidCharacterError"}}function f0(e){const t=[];for(let n=0;n =t.length?-1:t[k]},o=function(k){if(k===void 0&&(k=1),k>3)throw"Spec Error: no more than three codepoints of lookahead.";return s(n+k)},l=function(k){return k===void 0&&(k=1),n+=k,i=s(n),!0},a=function(){return n-=1,!0},u=function(k){return k===void 0&&(k=i),k===-1},c=function(){if(h(),l(),St(i)){for(;St(o());)l();return new zl}else{if(i===34)return w();if(i===35)if(Ec(o())||p(o(1),o(2))){const k=new $h("");return v(o(1),o(2),o(3))&&(k.type="id"),k.value=N(),k}else return new ye(i);else return i===36?o()===61?(l(),new v0):new ye(i):i===39?w():i===40?new jh:i===41?new Mh:i===42?o()===61?(l(),new y0):new ye(i):i===43?E()?(a(),f()):new ye(i):i===44?new Ch:i===45?E()?(a(),f()):o(1)===45&&o(2)===62?(l(2),new Th):S()?(a(),g()):new ye(i):i===46?E()?(a(),f()):new ye(i):i===58?new kh:i===59?new Nh:i===60?o(1)===33&&o(2)===45&&o(3)===45?(l(3),new Eh):new ye(i):i===64?v(o(1),o(2),o(3))?new Rh(N()):new ye(i):i===91?new Ah:i===92?m()?(a(),g()):new ye(i):i===93?new Fl:i===94?o()===61?(l(),new g0):new ye(i):i===123?new bh:i===124?o()===61?(l(),new m0):o()===124?(l(),new Ih):new ye(i):i===125?new Lh:i===126?o()===61?(l(),new p0):new ye(i):Le(i)?(a(),f()):rs(i)?(a(),g()):u()?new os:new ye(i)}},h=function(){for(;o(1)===47&&o(2)===42;)for(l(2);;)if(l(),i===42&&o()===47){l();break}else if(u())return},f=function(){const k=j();if(v(o(1),o(2),o(3))){const M=new w0;return M.value=k.value,M.repr=k.repr,M.type=k.type,M.unit=N(),M}else if(o()===37){l();const M=new Fh;return M.value=k.value,M.repr=k.repr,M}else{const M=new zh;return M.value=k.value,M.repr=k.repr,M.type=k.type,M}},g=function(){const k=N();if(k.toLowerCase()==="url"&&o()===40){for(l();St(o(1))&&St(o(2));)l();return o()===34||o()===39?new ls(k):St(o())&&(o(2)===34||o(2)===39)?new ls(k):y()}else return o()===40?(l(),new ls(k)):new Ph(k)},w=function(k){k===void 0&&(k=i);let M="";for(;l();){if(i===k||u())return new Oh(M);if(is(i))return a(),new _h;i===92?u(o())||(is(o())?l():M+=oe(x())):M+=oe(i)}throw new Error("Internal error")},y=function(){const k=new Dh("");for(;St(o());)l();if(u(o()))return k;for(;l();){if(i===41||u())return k;if(St(i)){for(;St(o());)l();return o()===41||u(o())?(l(),k):(T(),new ss)}else{if(i===34||i===39||i===40||c0(i))return T(),new ss;if(i===92)if(m())k.value+=oe(x());else return T(),new ss;else k.value+=oe(i)}}throw new Error("Internal error")},x=function(){if(l(),_c(i)){const k=[i];for(let $=0;$<5&&_c(o());$++)l(),k.push(i);St(o())&&l();let M=parseInt(k.map(function($){return String.fromCharCode($)}).join(""),16);return M>d0&&(M=65533),M}else return u()?65533:i},p=function(k,M){return!(k!==92||is(M))},m=function(){return p(i,o())},v=function(k,M,$){return k===45?rs(M)||M===45||p(M,$):rs(k)?!0:k===92?p(k,M):!1},S=function(){return v(i,o(1),o(2))},C=function(k,M,$){return k===43||k===45?!!(Le(M)||M===46&&Le($)):k===46?!!Le(M):!!Le(k)},E=function(){return C(i,o(1),o(2))},N=function(){let k="";for(;l();)if(Ec(i))k+=oe(i);else if(m())k+=oe(x());else return a(),k;throw new Error("Internal parse error")},j=function(){let k="",M="integer";for((o()===43||o()===45)&&(l(),k+=oe(i));Le(o());)l(),k+=oe(i);if(o(1)===46&&Le(o(2)))for(l(),k+=oe(i),l(),k+=oe(i),M="number";Le(o());)l(),k+=oe(i);const $=o(1),Q=o(2),Oe=o(3);if(($===69||$===101)&&Le(Q))for(l(),k+=oe(i),l(),k+=oe(i),M="number";Le(o());)l(),k+=oe(i);else if(($===69||$===101)&&(Q===43||Q===45)&&Le(Oe))for(l(),k+=oe(i),l(),k+=oe(i),l(),k+=oe(i),M="number";Le(o());)l(),k+=oe(i);const me=_(k);return{type:M,value:me,repr:k}},_=function(k){return+k},T=function(){for(;l();){if(i===41||u())return;m()&&x()}};let L=0;for(;!u(o());)if(r.push(c()),L++,L>t.length*2)throw new Error("I'm infinite-looping!");return r}class ne{constructor(){this.tokenType=""}toJSON(){return{token:this.tokenType}}toString(){return this.tokenType}toSource(){return""+this}}class _h extends ne{constructor(){super(...arguments),this.tokenType="BADSTRING"}}class ss extends ne{constructor(){super(...arguments),this.tokenType="BADURL"}}class zl extends ne{constructor(){super(...arguments),this.tokenType="WHITESPACE"}toString(){return"WS"}toSource(){return" "}}class Eh extends ne{constructor(){super(...arguments),this.tokenType="CDO"}toSource(){return""}}class kh extends ne{constructor(){super(...arguments),this.tokenType=":"}}class Nh extends ne{constructor(){super(...arguments),this.tokenType=";"}}class Ch extends ne{constructor(){super(...arguments),this.tokenType=","}}class ur extends ne{constructor(){super(...arguments),this.value="",this.mirror=""}}class bh extends ur{constructor(){super(),this.tokenType="{",this.value="{",this.mirror="}"}}class Lh extends ur{constructor(){super(),this.tokenType="}",this.value="}",this.mirror="{"}}class Ah extends ur{constructor(){super(),this.tokenType="[",this.value="[",this.mirror="]"}}class Fl extends ur{constructor(){super(),this.tokenType="]",this.value="]",this.mirror="["}}class jh extends ur{constructor(){super(),this.tokenType="(",this.value="(",this.mirror=")"}}class Mh extends ur{constructor(){super(),this.tokenType=")",this.value=")",this.mirror="("}}class p0 extends ne{constructor(){super(...arguments),this.tokenType="~="}}class m0 extends ne{constructor(){super(...arguments),this.tokenType="|="}}class g0 extends ne{constructor(){super(...arguments),this.tokenType="^="}}class v0 extends ne{constructor(){super(...arguments),this.tokenType="$="}}class y0 extends ne{constructor(){super(...arguments),this.tokenType="*="}}class Ih extends ne{constructor(){super(...arguments),this.tokenType="||"}}class os extends ne{constructor(){super(...arguments),this.tokenType="EOF"}toSource(){return""}}class ye extends ne{constructor(t){super(),this.tokenType="DELIM",this.value="",this.value=oe(t)}toString(){return"DELIM("+this.value+")"}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t}toSource(){return this.value==="\\"?`\\ -`:this.value}}class cr extends ne{constructor(){super(...arguments),this.value=""}ASCIIMatch(t){return this.value.toLowerCase()===t.toLowerCase()}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t}}class Ph extends cr{constructor(t){super(),this.tokenType="IDENT",this.value=t}toString(){return"IDENT("+this.value+")"}toSource(){return gi(this.value)}}class ls extends cr{constructor(t){super(),this.tokenType="FUNCTION",this.value=t,this.mirror=")"}toString(){return"FUNCTION("+this.value+")"}toSource(){return gi(this.value)+"("}}class Rh extends cr{constructor(t){super(),this.tokenType="AT-KEYWORD",this.value=t}toString(){return"AT("+this.value+")"}toSource(){return"@"+gi(this.value)}}class $h extends cr{constructor(t){super(),this.tokenType="HASH",this.value=t,this.type="unrestricted"}toString(){return"HASH("+this.value+")"}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t.type=this.type,t}toSource(){return this.type==="id"?"#"+gi(this.value):"#"+x0(this.value)}}class Oh extends cr{constructor(t){super(),this.tokenType="STRING",this.value=t}toString(){return'"'+Hh(this.value)+'"'}}class Dh extends cr{constructor(t){super(),this.tokenType="URL",this.value=t}toString(){return"URL("+this.value+")"}toSource(){return'url("'+Hh(this.value)+'")'}}class zh extends ne{constructor(){super(),this.tokenType="NUMBER",this.type="integer",this.repr=""}toString(){return this.type==="integer"?"INT("+this.value+")":"NUMBER("+this.value+")"}toJSON(){const t=super.toJSON();return t.value=this.value,t.type=this.type,t.repr=this.repr,t}toSource(){return this.repr}}class Fh extends ne{constructor(){super(),this.tokenType="PERCENTAGE",this.repr=""}toString(){return"PERCENTAGE("+this.value+")"}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t.repr=this.repr,t}toSource(){return this.repr+"%"}}class w0 extends ne{constructor(){super(),this.tokenType="DIMENSION",this.type="integer",this.repr="",this.unit=""}toString(){return"DIM("+this.value+","+this.unit+")"}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t.type=this.type,t.repr=this.repr,t.unit=this.unit,t}toSource(){const t=this.repr;let n=gi(this.unit);return n[0].toLowerCase()==="e"&&(n[1]==="-"||ie(n.charCodeAt(1),48,57))&&(n="\\65 "+n.slice(1,n.length)),t+n}}function gi(e){e=""+e;let t="";const n=e.charCodeAt(0);for(let r=0;r =128||i===45||i===95||ie(i,48,57)||ie(i,65,90)||ie(i,97,122)?t+=e[r]:t+="\\"+e[r]}return t}function x0(e){e=""+e;let t="";for(let n=0;n =128||r===45||r===95||ie(r,48,57)||ie(r,65,90)||ie(r,97,122)?t+=e[n]:t+="\\"+r.toString(16)+" "}return t}function Hh(e){e=""+e;let t="";for(let n=0;n _ instanceof Rh||_ instanceof _h||_ instanceof ss||_ instanceof Ih||_ instanceof Eh||_ instanceof Th||_ instanceof Nh||_ instanceof bh||_ instanceof Lh||_ instanceof Dh||_ instanceof Fh);if(r)throw new je(`Unsupported token "${r.toSource()}" while parsing selector "${e}"`);let i=0;const s=new Set;function o(){return new je(`Unexpected token "${n[i].toSource()}" while parsing selector "${e}"`)}function l(){for(;n[i]instanceof zl;)i++}function a(_=i){return n[_]instanceof Ph}function u(_=i){return n[_]instanceof Oh}function c(_=i){return n[_]instanceof zh}function h(_=i){return n[_]instanceof Ch}function f(_=i){return n[_]instanceof jh}function g(_=i){return n[_]instanceof Mh}function w(_=i){return n[_]instanceof ls}function y(_=i){return n[_]instanceof ye&&n[_].value==="*"}function x(_=i){return n[_]instanceof os}function p(_=i){return n[_]instanceof ye&&[">","+","~"].includes(n[_].value)}function m(_=i){return h(_)||g(_)||x(_)||p(_)||n[_]instanceof zl}function v(){const _=[S()];for(;l(),!!h();)i++,_.push(S());return _}function S(){return l(),c()||u()?n[i++].value:C()}function C(){const _={simples:[]};for(l(),p()?_.simples.push({selector:{functions:[{name:"scope",args:[]}]},combinator:""}):_.simples.push({selector:E(),combinator:""});;){if(l(),p())_.simples[_.simples.length-1].combinator=n[i++].value,l();else if(m())break;_.simples.push({combinator:"",selector:E()})}return _}function E(){let _="";const T=[];for(;!m();)if(a()||y())_+=n[i++].toSource();else if(n[i]instanceof $h)_+=n[i++].toSource();else if(n[i]instanceof ye&&n[i].value===".")if(i++,a())_+="."+n[i++].toSource();else throw o();else if(n[i]instanceof kh)if(i++,a())if(!t.has(n[i].value.toLowerCase()))_+=":"+n[i++].toSource();else{const L=n[i++].value.toLowerCase();T.push({name:L,args:[]}),s.add(L)}else if(w()){const L=n[i++].value.toLowerCase();if(t.has(L)?(T.push({name:L,args:v()}),s.add(L)):_+=`:${L}(${N()})`,l(),!g())throw o();i++}else throw o();else if(n[i]instanceof Ah){for(_+="[",i++;!(n[i]instanceof Fl)&&!x();)_+=n[i++].toSource();if(!(n[i]instanceof Fl))throw o();_+="]",i++}else throw o();if(!_&&!T.length)throw o();return{css:_||void 0,functions:T}}function N(){let _="",T=1;for(;!x()&&((f()||w())&&T++,g()&&T--,!!T);)_+=n[i++].toSource();return _}const j=v();if(!x())throw o();if(j.some(_=>typeof _!="object"||!("simples"in _)))throw new je(`Error while parsing selector "${e}"`);return{selector:j,names:Array.from(s)}}const Hl=new Set(["internal:has","internal:has-not","internal:and","internal:or","internal:chain","left-of","right-of","above","below","near"]),_0=new Set(["left-of","right-of","above","below","near"]),Uh=new Set(["not","is","where","has","scope","light","visible","text","text-matches","text-is","has-text","above","below","right-of","left-of","near","nth-match"]);function so(e){const t=k0(e),n=[];for(const r of t.parts){if(r.name==="css"||r.name==="css:light"){r.name==="css:light"&&(r.body=":light("+r.body+")");const i=S0(r.body,Uh);n.push({name:"css",body:i.selector,source:r.body});continue}if(Hl.has(r.name)){let i,s;try{const u=JSON.parse("["+r.body+"]");if(!Array.isArray(u)||u.length<1||u.length>2||typeof u[0]!="string")throw new je(`Malformed selector: ${r.name}=`+r.body);if(i=u[0],u.length===2){if(typeof u[1]!="number"||!_0.has(r.name))throw new je(`Malformed selector: ${r.name}=`+r.body);s=u[1]}}catch{throw new je(`Malformed selector: ${r.name}=`+r.body)}const o={name:r.name,source:r.body,body:{parsed:so(i),distance:s}},l=[...o.body.parsed.parts].reverse().find(u=>u.name==="internal:control"&&u.body==="enter-frame"),a=l?o.body.parsed.parts.indexOf(l):-1;a!==-1&&E0(o.body.parsed.parts.slice(0,a+1),n.slice(0,a+1))&&o.body.parsed.parts.splice(0,a+1),n.push(o);continue}n.push({...r,source:r.body})}if(Hl.has(n[0].name))throw new je(`"${n[0].name}" selector cannot be first`);return{capture:t.capture,parts:n}}function E0(e,t){return Sn({parts:e})===Sn({parts:t})}function Sn(e,t){return typeof e=="string"?e:e.parts.map((n,r)=>{let i=!0;!t&&r!==e.capture&&(n.name==="css"||n.name==="xpath"&&n.source.startsWith("//")||n.source.startsWith(".."))&&(i=!1);const s=i?n.name+"=":"";return`${r===e.capture?"*":""}${s}${n.source}`}).join(" >> ")}function T0(e,t){const n=(r,i)=>{for(const s of r.parts)t(s,i),Hl.has(s.name)&&n(s.body.parsed,!0)};n(e,!1)}function k0(e){let t=0,n,r=0;const i={parts:[]},s=()=>{const l=e.substring(r,t).trim(),a=l.indexOf("=");let u,c;a!==-1&&l.substring(0,a).trim().match(/^[a-zA-Z_0-9-+:*]+$/)?(u=l.substring(0,a).trim(),c=l.substring(a+1)):l.length>1&&l[0]==='"'&&l[l.length-1]==='"'||l.length>1&&l[0]==="'"&&l[l.length-1]==="'"?(u="text",c=l):/^\(*\/\//.test(l)||l.startsWith("..")?(u="xpath",c=l):(u="css",c=l);let h=!1;if(u[0]==="*"&&(h=!0,u=u.substring(1)),i.parts.push({name:u,body:c}),h){if(i.capture!==void 0)throw new je("Only one of the selectors can capture using * modifier");i.capture=i.parts.length-1}};if(!e.includes(">>"))return t=e.length,s(),i;const o=()=>{const a=e.substring(r,t).match(/^\s*text\s*=(.*)$/);return!!a&&!!a[1]};for(;t "&&e[t+1]===">"?(s(),t+=2,r=t):t++}return s(),i}function mn(e,t){let n=0,r=e.length===0;const i=()=>e[n]||"",s=()=>{const x=i();return++n,r=n>=e.length,x},o=x=>{throw r?new je(`Unexpected end of selector while parsing selector \`${e}\``):new je(`Error while parsing selector \`${e}\` - unexpected symbol "${i()}" at position ${n}`+(x?" during "+x:""))};function l(){for(;!r&&/\s/.test(i());)s()}function a(x){return x>=""||x>="0"&&x<="9"||x>="A"&&x<="Z"||x>="a"&&x<="z"||x>="0"&&x<="9"||x==="_"||x==="-"}function u(){let x="";for(l();!r&&a(i());)x+=s();return x}function c(x){let p=s();for(p!==x&&o("parsing quoted string");!r&&i()!==x;)i()==="\\"&&s(),p+=s();return i()!==x&&o("parsing quoted string"),p+=s(),p}function h(){s()!=="/"&&o("parsing regular expression");let x="",p=!1;for(;!r;){if(i()==="\\")x+=s(),r&&o("parsing regular expression");else if(p&&i()==="]")p=!1;else if(!p&&i()==="[")p=!0;else if(!p&&i()==="/")break;x+=s()}s()!=="/"&&o("parsing regular expression");let m="";for(;!r&&i().match(/[dgimsuy]/);)m+=s();try{return new RegExp(x,m)}catch(v){throw new je(`Error while parsing selector \`${e}\`: ${v.message}`)}}function f(){let x="";return l(),i()==="'"||i()==='"'?x=c(i()).slice(1,-1):x=u(),x||o("parsing property path"),x}function g(){l();let x="";return r||(x+=s()),!r&&x!=="="&&(x+=s()),["=","*=","^=","$=","|=","~="].includes(x)||o("parsing operator"),x}function w(){s();const x=[];for(x.push(f()),l();i()===".";)s(),x.push(f()),l();if(i()==="]")return s(),{name:x.join("."),jsonPath:x,op:" ",value:null,caseSensitive:!1};const p=g();let m,v=!0;if(l(),i()==="/"){if(p!=="=")throw new je(`Error while parsing selector \`${e}\` - cannot use ${p} in attribute with regular expression`);m=h()}else if(i()==="'"||i()==='"')m=c(i()).slice(1,-1),l(),i()==="i"||i()==="I"?(v=!1,s()):(i()==="s"||i()==="S")&&(v=!0,s());else{for(m="";!r&&(a(i())||i()==="+"||i()===".");)m+=s();m==="true"?m=!0:m==="false"?m=!1:t||(m=+m,Number.isNaN(m)&&o("parsing attribute value"))}if(l(),i()!=="]"&&o("parsing attribute value"),s(),p!=="="&&typeof m!="string")throw new je(`Error while parsing selector \`${e}\` - cannot use ${p} in attribute with non-string matching value - ${m}`);return{name:x.join("."),jsonPath:x,op:p,value:m,caseSensitive:v}}const y={name:"",attributes:[]};for(y.name=u(),l();i()==="[";)y.attributes.push(w()),l();if(r||o(void 0),!y.name&&!y.attributes.length)throw new je(`Error while parsing selector \`${e}\` - selector cannot be empty`);return y}function Yt(e,t,n=!1){return Bh(e,t,n)[0]}function Bh(e,t,n=!1,r=20,i){try{return jn(new M0[e](i),so(t),n,r)}catch{return[t]}}function jn(e,t,n=!1,r=20){const i=[...t.parts];for(let l=0;l e.generateLocator(u,"has",x)));continue}if(a.name==="internal:has-not"){const y=jn(e,a.body.parsed,!1,r);s.push(y.map(x=>e.generateLocator(u,"hasNot",x)));continue}if(a.name==="internal:and"){const y=jn(e,a.body.parsed,!1,r);s.push(y.map(x=>e.generateLocator(u,"and",x)));continue}if(a.name==="internal:or"){const y=jn(e,a.body.parsed,!1,r);s.push(y.map(x=>e.generateLocator(u,"or",x)));continue}if(a.name==="internal:chain"){const y=jn(e,a.body.parsed,!1,r);s.push(y.map(x=>e.generateLocator(u,"chain",x)));continue}if(a.name==="internal:label"){const{exact:y,text:x}=Tr(a.body);s.push([e.generateLocator(u,"label",x,{exact:y})]);continue}if(a.name==="internal:role"){const y=mn(a.body,!0),x={attrs:[]};for(const p of y.attributes)p.name==="name"?(x.exact=p.caseSensitive,x.name=p.value):(p.name==="level"&&typeof p.value=="string"&&(p.value=+p.value),x.attrs.push({name:p.name==="include-hidden"?"includeHidden":p.name,value:p.value}));s.push([e.generateLocator(u,"role",y.name,x)]);continue}if(a.name==="internal:testid"){const y=mn(a.body,!0),{value:x}=y.attributes[0];s.push([e.generateLocator(u,"test-id",x)]);continue}if(a.name==="internal:attr"){const y=mn(a.body,!0),{name:x,value:p,caseSensitive:m}=y.attributes[0],v=p,S=!!m;if(x==="placeholder"){s.push([e.generateLocator(u,"placeholder",v,{exact:S})]);continue}if(x==="alt"){s.push([e.generateLocator(u,"alt",v,{exact:S})]);continue}if(x==="title"){s.push([e.generateLocator(u,"title",v,{exact:S})]);continue}}let c="default";const h=i[l+1];h&&h.name==="internal:control"&&h.body==="enter-frame"&&(c="frame",o="frame-locator",l++);const f=Sn({parts:[a]}),g=e.generateLocator(u,c,f);if(c==="default"&&h&&["internal:has-text","internal:has-not-text"].includes(h.name)){const{exact:y,text:x}=Tr(h.body);if(!y){const p=e.generateLocator("locator",h.name==="internal:has-text"?"has-text":"has-not-text",x,{exact:y}),m={};h.name==="internal:has-text"?m.hasText=x:m.hasNotText=x;const v=e.generateLocator(u,"default",f,m);s.push([e.chainLocators([g,p]),v]),l++;continue}}let w;if(["xpath","css"].includes(a.name)){const y=Sn({parts:[a]},!0);w=e.generateLocator(u,c,y)}s.push([g,w].filter(Boolean))}return N0(e,s,r)}function N0(e,t,n){const r=t.map(()=>""),i=[],s=o=>{if(o===t.length)return i.push(e.chainLocators(r)),r.length JSON.parse(r));for(let r=0;r {w==null||w(S)},[w,S]),b.useEffect(()=>{const E=v.current;if(!E)return;const N=()=>{Tc.set(e,E.scrollTop)};return E.addEventListener("scroll",N,{passive:!0}),()=>E.removeEventListener("scroll",N)},[e]),b.useEffect(()=>{v.current&&(v.current.scrollTop=Tc.get(e)||0)},[e]),d.jsx("div",{className:"list-view vbox "+e+"-list-view",role:t.length>0?"list":void 0,"data-testid":p||e+"-list",children:d.jsxs("div",{className:"list-view-content",tabIndex:0,onKeyDown:E=>{var T;if(u&&E.key==="Enter"){c==null||c(u,t.indexOf(u));return}if(E.key!=="ArrowDown"&&E.key!=="ArrowUp"&&E.key!=="ArrowLeft"&&E.key!=="ArrowRight")return;if(E.stopPropagation(),E.preventDefault(),u&&E.key==="ArrowLeft"){f==null||f(u,t.indexOf(u));return}if(u&&E.key==="ArrowRight"){g==null||g(u,t.indexOf(u));return}const N=u?t.indexOf(u):-1;let j=N;E.key==="ArrowDown"&&(N===-1?j=0:j=Math.min(N+1,t.length-1)),E.key==="ArrowUp"&&(N===-1?j=t.length-1:j=Math.max(N-1,0));const _=(T=v.current)==null?void 0:T.children.item(j);I0(_||void 0),w==null||w(void 0),h==null||h(t[j],j)},ref:v,children:[x&&t.length===0&&d.jsx("div",{className:"list-view-empty",children:x}),t.map((E,N)=>{const j=u===E?" selected":"",_=!m&&S===E?" highlighted":"",T=s!=null&&s(E,N)?" error":"",L=o!=null&&o(E,N)?" warning":"",k=l!=null&&l(E,N)?" info":"",M=(a==null?void 0:a(E,N))||0,$=r(E,N);return d.jsxs("div",{onDoubleClick:()=>c==null?void 0:c(E,N),role:"listitem",className:"list-view-entry"+j+_+T+L+k,onClick:()=>h==null?void 0:h(E,N),onMouseEnter:()=>C(E),onMouseLeave:()=>C(void 0),children:[M?new Array(M).fill(0).map(()=>d.jsx("div",{className:"list-view-indent"})):void 0,i&&d.jsx("div",{className:"codicon "+(i(E,N)||"codicon-blank"),style:{minWidth:16,marginRight:4},onDoubleClick:Q=>{Q.preventDefault(),Q.stopPropagation()},onClick:Q=>{Q.stopPropagation(),Q.preventDefault(),y==null||y(E,N)}}),typeof $=="string"?d.jsx("div",{style:{textOverflow:"ellipsis",overflow:"hidden"},children:$}):$]},(n==null?void 0:n(E,N))||N)})]})})}function I0(e){e&&(e!=null&&e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!1):e==null||e.scrollIntoView())}const P0=vi;function R0({name:e,rootItem:t,render:n,icon:r,isError:i,isVisible:s,selectedItem:o,onAccepted:l,onSelected:a,onHighlighted:u,treeState:c,setTreeState:h,noItemsMessage:f,dataTestId:g,autoExpandDepth:w}){const y=b.useMemo(()=>$0(t,o,c.expandedItems,w||0),[t,o,c,w]),x=b.useMemo(()=>{if(!s)return[...y.keys()];const p=new Map,m=S=>{const C=p.get(S);if(C!==void 0)return C;let E=S.children.some(j=>m(j));for(const j of S.children){const _=m(j);E=E||_}const N=s(S)||E;return p.set(S,N),N};for(const S of y.keys())m(S);const v=[];for(const S of y.keys())s(S)&&v.push(S);return v},[y,s]);return d.jsx(P0,{name:e,items:x,id:p=>p.id,dataTestId:g||e+"-tree",render:p=>{const m=n(p);return d.jsxs(d.Fragment,{children:[r&&d.jsx("div",{className:"codicon "+(r(p)||"blank"),style:{minWidth:16,marginRight:4}}),typeof m=="string"?d.jsx("div",{style:{textOverflow:"ellipsis",overflow:"hidden"},children:m}):m]})},icon:p=>{const m=y.get(p).expanded;if(typeof m=="boolean")return m?"codicon-chevron-down":"codicon-chevron-right"},isError:p=>(i==null?void 0:i(p))||!1,indent:p=>y.get(p).depth,selectedItem:o,onAccepted:p=>l==null?void 0:l(p),onSelected:p=>a==null?void 0:a(p),onHighlighted:p=>u==null?void 0:u(p),onLeftArrow:p=>{const{expanded:m,parent:v}=y.get(p);m?(c.expandedItems.set(p.id,!1),h({...c})):v&&(a==null||a(v))},onRightArrow:p=>{p.children.length&&(c.expandedItems.set(p.id,!0),h({...c}))},onIconClicked:p=>{const{expanded:m}=y.get(p);if(m){for(let v=o;v;v=v.parent)if(v===p){a==null||a(p);break}c.expandedItems.set(p.id,!1)}else c.expandedItems.set(p.id,!0);h({...c})},noItemsMessage:f})}function $0(e,t,n,r){const i=new Map,s=new Set;for(let l=t==null?void 0:t.parent;l;l=l.parent)s.add(l.id);const o=(l,a)=>{for(const u of l.children){const c=s.has(u.id)||n.get(u.id),h=r>a&&i.size<25&&c!==!1,f=u.children.length?c??h:void 0;i.set(u,{depth:a,expanded:f,parent:e===l?null:l}),f&&o(u,a+1)}};return o(e,0),i}const O0=R0,D0=({actions:e,selectedAction:t,selectedTime:n,setSelectedTime:r,sdkLanguage:i,onSelected:s,onHighlighted:o,revealConsole:l,isLive:a})=>{const[u,c]=b.useState({expandedItems:new Map}),{rootItem:h,itemMap:f}=b.useMemo(()=>Qv(e),[e]),{selectedItem:g}=b.useMemo(()=>({selectedItem:t?f.get(t.callId):void 0}),[f,t]);return d.jsxs("div",{className:"vbox",children:[n&&d.jsxs("div",{className:"action-list-show-all",onClick:()=>r(void 0),children:[d.jsx("span",{className:"codicon codicon-triangle-left"}),"Show all"]}),d.jsx(O0,{name:"actions",rootItem:h,treeState:u,setTreeState:c,selectedItem:g,onSelected:w=>s(w.action),onHighlighted:w=>o(w==null?void 0:w.action),onAccepted:w=>r({minimum:w.action.startTime,maximum:w.action.endTime}),isError:w=>{var y,x;return!!((x=(y=w.action)==null?void 0:y.error)!=null&&x.message)},isVisible:w=>!n||w.action.startTime<=n.maximum&&w.action.endTime>=n.minimum,render:w=>qa(w.action,{sdkLanguage:i,revealConsole:l,isLive:a,showDuration:!0,showBadges:!0})})]})},qa=(e,t)=>{const{sdkLanguage:n,revealConsole:r,isLive:i,showDuration:s,showBadges:o}=t,{errors:l,warnings:a}=Yv(e),u=e.params.selector?Yt(n||"javascript",e.params.selector):void 0;let c="";return e.endTime?c=Ye(e.endTime-e.startTime):e.error?c="Timed out":i||(c="-"),d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"action-title",title:e.apiName,children:[d.jsx("span",{children:e.apiName}),u&&d.jsx("div",{className:"action-selector",title:u,children:u}),e.method==="goto"&&e.params.url&&d.jsx("div",{className:"action-url",title:e.params.url,children:e.params.url}),e.class==="APIRequestContext"&&e.params.url&&d.jsx("div",{className:"action-url",title:e.params.url,children:z0(e.params.url)})]}),(s||o)&&d.jsx("div",{className:"spacer"}),s&&d.jsx("div",{className:"action-duration",children:c||d.jsx("span",{className:"codicon codicon-loading"})}),o&&d.jsxs("div",{className:"action-icons",onClick:()=>r==null?void 0:r(),children:[!!l&&d.jsxs("div",{className:"action-icon",children:[d.jsx("span",{className:"codicon codicon-error"}),d.jsx("span",{className:"action-icon-value",children:l})]}),!!a&&d.jsxs("div",{className:"action-icon",children:[d.jsx("span",{className:"codicon codicon-warning"}),d.jsx("span",{className:"action-icon-value",children:a})]})]})]})};function z0(e){try{const t=new URL(e);return t.pathname+t.search}catch{return e}}const Vh=({value:e,description:t})=>{const[n,r]=b.useState("copy"),i=b.useCallback(()=>{navigator.clipboard.writeText(e).then(()=>{r("check"),setTimeout(()=>{r("copy")},3e3)},()=>{r("close")})},[e]);return d.jsx(en,{title:t||"Copy",icon:n,onClick:i})},kn=({text:e})=>d.jsx("div",{className:"fill",style:{display:"flex",alignItems:"center",justifyContent:"center",fontSize:24,fontWeight:"bold",opacity:.5},children:e}),F0=({action:e,sdkLanguage:t})=>{if(!e)return d.jsx(kn,{text:"No action selected"});const n={...e.params};delete n.info;const r=Object.keys(n),i=e.startTime+(e.context.wallTime-e.context.startTime),s=new Date(i).toLocaleString(),o=e.endTime?Ye(e.endTime-e.startTime):"Timed Out";return d.jsxs("div",{className:"call-tab",children:[d.jsx("div",{className:"call-line",children:e.apiName}),d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"call-section",children:"Time"}),s&&d.jsxs("div",{className:"call-line",children:["wall time:",d.jsx("span",{className:"call-value datetime",title:s,children:s})]}),d.jsxs("div",{className:"call-line",children:["duration:",d.jsx("span",{className:"call-value datetime",title:o,children:o})]})]}),!!r.length&&d.jsx("div",{className:"call-section",children:"Parameters"}),!!r.length&&r.map((l,a)=>kc(Nc(e,l,n[l],t),"param-"+a)),!!e.result&&d.jsx("div",{className:"call-section",children:"Return value"}),!!e.result&&Object.keys(e.result).map((l,a)=>kc(Nc(e,l,e.result[l],t),"result-"+a))]})};function kc(e,t){let n=e.text.replace(/\n/g,"↵");return e.type==="string"&&(n=`"${n}"`),d.jsxs("div",{className:"call-line",children:[e.name,":",d.jsx("span",{className:`call-value ${e.type}`,title:e.text,children:n}),["string","number","object","locator"].includes(e.type)&&d.jsx(Vh,{value:e.text})]},t)}function Nc(e,t,n,r){const i=e.method.includes("eval")||e.method==="waitForFunction";if(t==="files")return{text:" ",type:"string",name:t};if((t==="eventInit"||t==="expectedValue"||t==="arg"&&i)&&(n=Ds(n.value,new Array(10).fill({handle:" "}))),(t==="value"&&i||t==="received"&&e.method==="expect")&&(n=Ds(n,new Array(10).fill({handle:" "}))),t==="selector")return{text:Yt(r||"javascript",e.params.selector),type:"locator",name:"locator"};const s=typeof n;return s!=="object"||n===null?{text:String(n),type:s,name:t}:n.guid?{text:" ",type:"handle",name:t}:{text:JSON.stringify(n).slice(0,1e3),type:"object",name:t}}function Ds(e,t){if(e.n!==void 0)return e.n;if(e.s!==void 0)return e.s;if(e.b!==void 0)return e.b;if(e.v!==void 0){if(e.v==="undefined")return;if(e.v==="null")return null;if(e.v==="NaN")return NaN;if(e.v==="Infinity")return 1/0;if(e.v==="-Infinity")return-1/0;if(e.v==="-0")return-0}if(e.d!==void 0)return new Date(e.d);if(e.r!==void 0)return new RegExp(e.r.p,e.r.f);if(e.a!==void 0)return e.a.map(n=>Ds(n,t));if(e.o!==void 0){const n={};for(const{k:r,v:i}of e.o)n[r]=Ds(i,t);return n}return e.h!==void 0?t===void 0?"