t.viewTo-1)return!1;var o,l,a;r.line==t.viewFrom||(o=Sr(e,r.line))==0?(l=f(t.view[0].line),a=t.view[0].node):(l=f(t.view[o].line),a=t.view[o-1].node.nextSibling);var s=Sr(e,i.line),u,d;if(s==t.view.length-1?(u=t.viewTo-1,d=t.lineDiv.lastChild):(u=f(t.view[s+1].line)-1,d=t.view[s+1].node.previousSibling),!a)return!1;for(var p=e.doc.splitLines(du(e,a,d,l,u)),m=Zt(e.doc,k(l,0),k(u,U(e.doc,u).text.length));p.length>1&&m.length>1;)if(re(p)==re(m))p.pop(),m.pop(),u--;else if(p[0]==m[0])p.shift(),m.shift(),l++;else break;for(var y=0,S=0,N=p[0],z=m[0],P=Math.min(N.length,z.length);yr.ch&&W.charCodeAt(W.length-S-1)==E.charCodeAt(E.length-S-1);)y--,S++;p[p.length-1]=W.slice(0,W.length-S).replace(/^\u200b+/,""),p[0]=p[0].slice(y).replace(/\u200b+$/,"");var Q=k(l,y),Z=k(u,m.length?re(m).length-S:0);if(p.length>1||p[0]||I(Q,Z))return Qr(e.doc,p,Q,Z,"+input"),!0},Pe.prototype.ensurePolled=function(){this.forceCompositionEnd()},Pe.prototype.reset=function(){this.forceCompositionEnd()},Pe.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Pe.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))},Pe.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Mt(this.cm,function(){return bt(e.cm)})},Pe.prototype.setUneditable=function(e){e.contentEditable="false"},Pe.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||rt(this.cm,ao)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},Pe.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Pe.prototype.onContextMenu=function(){},Pe.prototype.resetPosition=function(){},Pe.prototype.needsContentAttribute=!0;function ca(e,t){var n=Di(e,t.line);if(!n||n.hidden)return null;var r=U(e.doc,t.line),i=Bo(n,r,t.line),o=ke(r,e.doc.direction),l="left";if(o){var a=nr(o,t.ch);l=a%2?"right":"left"}var s=Uo(i.map,t.ch,l);return s.offset=s.collapse=="right"?s.end:s.start,s}function cu(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 du(e,t,n,r,i){var o="",l=!1,a=e.doc.lineSeparator(),s=!1;function u(y){return function(S){return S.id==y}}function d(){l&&(o+=a,s&&(o+=a),l=s=!1)}function p(y){y&&(d(),o+=y)}function m(y){if(y.nodeType==1){var S=y.getAttribute("cm-text");if(S){p(S);return}var N=y.getAttribute("cm-marker"),z;if(N){var P=e.findMarks(k(r,0),k(i+1,0),u(+N));P.length&&(z=P[0].find(0))&&p(Zt(e.doc,z.from,z.to).join(a));return}if(y.getAttribute("contenteditable")=="false")return;var W=/^(pre|div|p|li|table|br)$/i.test(y.nodeName);if(!/^br$/i.test(y.nodeName)&&y.textContent.length==0)return;W&&d();for(var E=0;E=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),J(i,"paste",function(l){qe(r,l)||la(l,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())});function o(l){if(!qe(r,l)){if(r.somethingSelected())hi({lineWise:!1,text:r.getSelections()});else if(r.options.lineWiseCopyCut){var a=sa(r);hi({lineWise:!0,text:a.text}),l.type=="cut"?r.setSelections(a.ranges,null,st):(n.prevInput="",i.value=a.text.join(`
+`),$(i))}else return;l.type=="cut"&&(r.state.cutIncoming=+new Date)}}J(i,"cut",o),J(i,"copy",o),J(e.scroller,"paste",function(l){if(!(Vt(e,l)||qe(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)}}),J(e.lineSpace,"selectstart",function(l){Vt(e,l)||ft(l)}),J(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"})}}),J(i,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},Ye.prototype.createField=function(e){this.wrapper=ua(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;so(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},Ye.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ye.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=el(e);if(e.options.moveInputWithCursor){var i=Bt(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},Ye.prototype.showSelection=function(e){var t=this.cm,n=t.display;H(n.cursorDiv,e.cursors),H(n.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ye.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&&$(this.textarea),M&&j>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",M&&j>=9&&(this.hasSelection=null));this.resetting=!1}},Ye.prototype.getField=function(){return this.textarea},Ye.prototype.supportsTouch=function(){return!1},Ye.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!oe||g(ze(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},Ye.prototype.blur=function(){this.textarea.blur()},Ye.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ye.prototype.receivedFocus=function(){this.slowPoll()},Ye.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ye.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)},Ye.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||lr(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(M&&j>=9&&this.hasSelection===i||xe&&/[\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},Ye.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ye.prototype.onKeyPress=function(){M&&j>=9&&(this.hasSelection=null),this.fastPoll()},Ye.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=kr(n,e),l=r.scroller.scrollTop;if(!o||ce)return;var a=n.options.resetSelectionOnContextMenu;a&&n.doc.sel.contains(o)==-1&&rt(n,ct)(n.doc,cr(o),st);var s=i.style.cssText,u=t.wrapper.style.cssText,d=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText=`position: absolute; width: 30px; height: 30px;
+ top: `+(e.clientY-d.top-5)+"px; left: "+(e.clientX-d.left-5)+`px;
+ z-index: 1000; background: `+(M?"rgba(255, 255, 255, .05)":"transparent")+`;
+ outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var p;_&&(p=i.ownerDocument.defaultView.scrollY),r.input.focus(),_&&i.ownerDocument.defaultView.scrollTo(null,p),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=y,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll);function m(){if(i.selectionStart!=null){var N=n.somethingSelected(),z=""+(N?i.value:"");i.value="⇚",i.value=z,t.prevInput=N?"":"",i.selectionStart=1,i.selectionEnd=z.length,r.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=u,i.style.cssText=s,M&&j<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=l),i.selectionStart!=null)){(!M||M&&j<9)&&m();var N=0,z=function(){r.selForContextMenu==n.doc.sel&&i.selectionStart==0&&i.selectionEnd>0&&t.prevInput==""?rt(n,Al)(n):N++<10?r.detectingSelectAll=setTimeout(z,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(z,200)}}if(M&&j>=9&&m(),ee){ir(e);var S=function(){ut(window,"mouseup",S),setTimeout(y,20)};J(window,"mouseup",S)}else setTimeout(y,50)},Ye.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},Ye.prototype.setUneditable=function(){},Ye.prototype.needsContentAttribute=!1;function pu(e,t){if(t=t?de(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=g(ze(e));t.autofocus=n==e||e.getAttribute("autofocus")!=null&&n==document.body}function r(){e.value=a.getValue()}var i;if(e.form&&(J(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&&(ut(e.form,"submit",r),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=i))}},e.style.display="none";var a=Be(function(s){return e.parentNode.insertBefore(s,e.nextSibling)},t);return a}function vu(e){e.off=ut,e.on=J,e.wheelEventPixels=ks,e.Doc=xt,e.splitLines=Pt,e.countColumn=he,e.findColumn=Ke,e.isWordChar=R,e.Pass=Ct,e.signal=Ge,e.Line=Br,e.changeEnd=dr,e.scrollbarModel=ll,e.Pos=k,e.cmpPos=I,e.modes=Er,e.mimeModes=Wt,e.resolveMode=Ir,e.getMode=Fr,e.modeExtensions=ar,e.extendMode=Wr,e.copyState=Ut,e.startState=_r,e.innerMode=sn,e.commands=zn,e.keyMap=er,e.keyName=jl,e.isModifierKey=Gl,e.lookupKey=$r,e.normalizeKeyMap=Gs,e.StringStream=je,e.SharedTextMarker=Dn,e.TextMarker=pr,e.LineWidget=Nn,e.e_preventDefault=ft,e.e_stopPropagation=zr,e.e_stop=ir,e.addClass=D,e.contains=v,e.rmClass=me,e.keyNames=vr}lu(Be),fu(Be);var gu="iter insert remove copy getEditor constructor".split(" ");for(var vi in xt.prototype)xt.prototype.hasOwnProperty(vi)&&G(gu,vi)<0&&(Be.prototype[vi]=function(e){return function(){return e.apply(this.doc,arguments)}}(xt.prototype[vi]));return Et(xt),Be.inputStyles={textarea:Ye,contenteditable:Pe},Be.defineMode=function(e){!Be.defaults.mode&&e!="null"&&(Be.defaults.mode=e),_t.apply(this,arguments)},Be.defineMIME=br,Be.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Be.defineMIME("text/plain","null"),Be.defineExtension=function(e,t){Be.prototype[e]=t},Be.defineDocExtension=function(e,t){xt.prototype[e]=t},Be.fromTextArea=pu,vu(Be),Be.version="5.65.15",Be})})(ga);var Ar=ga.exports;const Su=yu(Ar);var bu={exports:{}};(function(yr,Or){(function(F){F(Ar)})(function(F){F.defineMode("css",function(ee,X){var me=X.inline;X.propertyKeywords||(X=F.resolveMode("text/css"));var T=ee.indentUnit,H=X.tokenHooks,c=X.documentTypes||{},x=X.mediaTypes||{},b=X.mediaFeatures||{},v=X.mediaValueKeywords||{},g=X.propertyKeywords||{},D=X.nonStandardPropertyKeywords||{},K=X.fontProperties||{},$=X.counterDescriptors||{},pe=X.colorKeywords||{},Re=X.valueKeywords||{},ze=X.allowNested,le=X.lineComment,te=X.supportsAtComponent===!0,de=ee.highlightNonStandardPropertyKeywords!==!1,he,ue;function G(w,A){return he=A,w}function Ve(w,A){var C=w.next();if(H[C]){var be=H[C](w,A);if(be!==!1)return be}if(C=="@")return w.eatWhile(/[\w\\\-]/),G("def",w.current());if(C=="="||(C=="~"||C=="|")&&w.eat("="))return G(null,"compare");if(C=='"'||C=="'")return A.tokenize=Ct(C),A.tokenize(w,A);if(C=="#")return w.eatWhile(/[\w\\\-]/),G("atom","hash");if(C=="!")return w.match(/^\s*\w*/),G("keyword","important");if(/\d/.test(C)||C=="."&&w.eat(/\d/))return w.eatWhile(/[\w.%]/),G("number","unit");if(C==="-"){if(/[\d.]/.test(w.peek()))return w.eatWhile(/[\w.%]/),G("number","unit");if(w.match(/^-[\w\\\-]*/))return w.eatWhile(/[\w\\\-]/),w.match(/^\s*:/,!1)?G("variable-2","variable-definition"):G("variable-2","variable");if(w.match(/^\w+-/))return G("meta","meta")}else return/[,+>*\/]/.test(C)?G(null,"select-op"):C=="."&&w.match(/^-?[_a-z][_a-z0-9-]*/i)?G("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(C)?G(null,C):w.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(w.current())&&(A.tokenize=st),G("variable callee","variable")):/[\w\\\-]/.test(C)?(w.eatWhile(/[\w\\\-]/),G("property","word")):G(null,null)}function Ct(w){return function(A,C){for(var be=!1,R;(R=A.next())!=null;){if(R==w&&!be){w==")"&&A.backUp(1);break}be=!be&&R=="\\"}return(R==w||!be&&w!=")")&&(C.tokenize=null),G("string","string")}}function st(w,A){return w.next(),w.match(/^\s*[\"\')]/,!1)?A.tokenize=null:A.tokenize=Ct(")"),G(null,"(")}function gt(w,A,C){this.type=w,this.indent=A,this.prev=C}function Le(w,A,C,be){return w.context=new gt(C,A.indentation()+(be===!1?0:T),w.context),C}function Ke(w){return w.context.prev&&(w.context=w.context.prev),w.context.type}function lt(w,A,C){return Ne[C.context.type](w,A,C)}function ht(w,A,C,be){for(var R=be||1;R>0;R--)C.context=C.context.prev;return lt(w,A,C)}function re(w){var A=w.current().toLowerCase();Re.hasOwnProperty(A)?ue="atom":pe.hasOwnProperty(A)?ue="keyword":ue="variable"}var Ne={};return Ne.top=function(w,A,C){if(w=="{")return Le(C,A,"block");if(w=="}"&&C.context.prev)return Ke(C);if(te&&/@component/i.test(w))return Le(C,A,"atComponentBlock");if(/^@(-moz-)?document$/i.test(w))return Le(C,A,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(w))return Le(C,A,"atBlock");if(/^@(font-face|counter-style)/i.test(w))return C.stateArg=w,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(w))return"keyframes";if(w&&w.charAt(0)=="@")return Le(C,A,"at");if(w=="hash")ue="builtin";else if(w=="word")ue="tag";else{if(w=="variable-definition")return"maybeprop";if(w=="interpolation")return Le(C,A,"interpolation");if(w==":")return"pseudo";if(ze&&w=="(")return Le(C,A,"parens")}return C.context.type},Ne.block=function(w,A,C){if(w=="word"){var be=A.current().toLowerCase();return g.hasOwnProperty(be)?(ue="property","maybeprop"):D.hasOwnProperty(be)?(ue=de?"string-2":"property","maybeprop"):ze?(ue=A.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ue+=" error","maybeprop")}else return w=="meta"?"block":!ze&&(w=="hash"||w=="qualifier")?(ue="error","block"):Ne.top(w,A,C)},Ne.maybeprop=function(w,A,C){return w==":"?Le(C,A,"prop"):lt(w,A,C)},Ne.prop=function(w,A,C){if(w==";")return Ke(C);if(w=="{"&&ze)return Le(C,A,"propBlock");if(w=="}"||w=="{")return ht(w,A,C);if(w=="(")return Le(C,A,"parens");if(w=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(A.current()))ue+=" error";else if(w=="word")re(A);else if(w=="interpolation")return Le(C,A,"interpolation");return"prop"},Ne.propBlock=function(w,A,C){return w=="}"?Ke(C):w=="word"?(ue="property","maybeprop"):C.context.type},Ne.parens=function(w,A,C){return w=="{"||w=="}"?ht(w,A,C):w==")"?Ke(C):w=="("?Le(C,A,"parens"):w=="interpolation"?Le(C,A,"interpolation"):(w=="word"&&re(A),"parens")},Ne.pseudo=function(w,A,C){return w=="meta"?"pseudo":w=="word"?(ue="variable-3",C.context.type):lt(w,A,C)},Ne.documentTypes=function(w,A,C){return w=="word"&&c.hasOwnProperty(A.current())?(ue="tag",C.context.type):Ne.atBlock(w,A,C)},Ne.atBlock=function(w,A,C){if(w=="(")return Le(C,A,"atBlock_parens");if(w=="}"||w==";")return ht(w,A,C);if(w=="{")return Ke(C)&&Le(C,A,ze?"block":"top");if(w=="interpolation")return Le(C,A,"interpolation");if(w=="word"){var be=A.current().toLowerCase();be=="only"||be=="not"||be=="and"||be=="or"?ue="keyword":x.hasOwnProperty(be)?ue="attribute":b.hasOwnProperty(be)?ue="property":v.hasOwnProperty(be)?ue="keyword":g.hasOwnProperty(be)?ue="property":D.hasOwnProperty(be)?ue=de?"string-2":"property":Re.hasOwnProperty(be)?ue="atom":pe.hasOwnProperty(be)?ue="keyword":ue="error"}return C.context.type},Ne.atComponentBlock=function(w,A,C){return w=="}"?ht(w,A,C):w=="{"?Ke(C)&&Le(C,A,ze?"block":"top",!1):(w=="word"&&(ue="error"),C.context.type)},Ne.atBlock_parens=function(w,A,C){return w==")"?Ke(C):w=="{"||w=="}"?ht(w,A,C,2):Ne.atBlock(w,A,C)},Ne.restricted_atBlock_before=function(w,A,C){return w=="{"?Le(C,A,"restricted_atBlock"):w=="word"&&C.stateArg=="@counter-style"?(ue="variable","restricted_atBlock_before"):lt(w,A,C)},Ne.restricted_atBlock=function(w,A,C){return w=="}"?(C.stateArg=null,Ke(C)):w=="word"?(C.stateArg=="@font-face"&&!K.hasOwnProperty(A.current().toLowerCase())||C.stateArg=="@counter-style"&&!$.hasOwnProperty(A.current().toLowerCase())?ue="error":ue="property","maybeprop"):"restricted_atBlock"},Ne.keyframes=function(w,A,C){return w=="word"?(ue="variable","keyframes"):w=="{"?Le(C,A,"top"):lt(w,A,C)},Ne.at=function(w,A,C){return w==";"?Ke(C):w=="{"||w=="}"?ht(w,A,C):(w=="word"?ue="tag":w=="hash"&&(ue="builtin"),"at")},Ne.interpolation=function(w,A,C){return w=="}"?Ke(C):w=="{"||w==";"?ht(w,A,C):(w=="word"?ue="variable":w!="variable"&&w!="("&&w!=")"&&(ue="error"),"interpolation")},{startState:function(w){return{tokenize:null,state:me?"block":"top",stateArg:null,context:new gt(me?"block":"top",w||0,null)}},token:function(w,A){if(!A.tokenize&&w.eatSpace())return null;var C=(A.tokenize||Ve)(w,A);return C&&typeof C=="object"&&(he=C[1],C=C[0]),ue=C,he!="comment"&&(A.state=Ne[A.state](he,w,A)),ue},indent:function(w,A){var C=w.context,be=A&&A.charAt(0),R=C.indent;return C.type=="prop"&&(be=="}"||be==")")&&(C=C.prev),C.prev&&(be=="}"&&(C.type=="block"||C.type=="top"||C.type=="interpolation"||C.type=="restricted_atBlock")?(C=C.prev,R=C.indent):(be==")"&&(C.type=="parens"||C.type=="atBlock_parens")||be=="{"&&(C.type=="at"||C.type=="atBlock"))&&(R=Math.max(0,C.indent-T))),R},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:le,fold:"brace"}});function Ee(ee){for(var X={},me=0;me")):null:c.match("--")?b(Te("comment","-->")):c.match("DOCTYPE",!0,!0)?(c.eatWhile(/[\w\._\-]/),b(Oe(1))):null:c.eat("?")?(c.eatWhile(/[\w\._\-]/),x.tokenize=Te("meta","?>"),"meta"):(ie=c.eat("/")?"closeTag":"openTag",x.tokenize=ce,"tag bracket");if(v=="&"){var g;return c.eat("#")?c.eat("x")?g=c.eatWhile(/[a-fA-F\d]/)&&c.eat(";"):g=c.eatWhile(/[\d]/)&&c.eat(";"):g=c.eatWhile(/[\w\.\-:]/)&&c.eat(";"),g?"atom":"error"}else return c.eatWhile(/[^&<]/),null}se.isInText=!0;function ce(c,x){var b=c.next();if(b==">"||b=="/"&&c.eat(">"))return x.tokenize=se,ie=b==">"?"endTag":"selfcloseTag","tag bracket";if(b=="=")return ie="equals",null;if(b=="<"){x.tokenize=se,x.state=_e,x.tagName=x.tagStart=null;var v=x.tokenize(c,x);return v?v+" tag error":"tag error"}else return/[\'\"]/.test(b)?(x.tokenize=Ie(b),x.stringStartCol=c.column(),x.tokenize(c,x)):(c.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ie(c){var x=function(b,v){for(;!b.eol();)if(b.next()==c){v.tokenize=ce;break}return"string"};return x.isInAttribute=!0,x}function Te(c,x){return function(b,v){for(;!b.eol();){if(b.match(x)){v.tokenize=se;break}b.next()}return c}}function Oe(c){return function(x,b){for(var v;(v=x.next())!=null;){if(v=="<")return b.tokenize=Oe(c+1),b.tokenize(x,b);if(v==">")if(c==1){b.tokenize=se;break}else return b.tokenize=Oe(c-1),b.tokenize(x,b)}return"meta"}}function ae(c){return c&&c.toLowerCase()}function V(c,x,b){this.prev=c.context,this.tagName=x||"",this.indent=c.indented,this.startOfLine=b,(M.doNotIndent.hasOwnProperty(x)||c.context&&c.context.noIndent)&&(this.noIndent=!0)}function oe(c){c.context&&(c.context=c.context.prev)}function xe(c,x){for(var b;;){if(!c.context||(b=c.context.tagName,!M.contextGrabbers.hasOwnProperty(ae(b))||!M.contextGrabbers[ae(b)].hasOwnProperty(ae(x))))return;oe(c)}}function _e(c,x,b){return c=="openTag"?(b.tagStart=x.column(),ye):c=="closeTag"?Me:_e}function ye(c,x,b){return c=="word"?(b.tagName=x.current(),q="tag",X):M.allowMissingTagName&&c=="endTag"?(q="tag bracket",X(c,x,b)):(q="error",ye)}function Me(c,x,b){if(c=="word"){var v=x.current();return b.context&&b.context.tagName!=v&&M.implicitlyClosed.hasOwnProperty(ae(b.context.tagName))&&oe(b),b.context&&b.context.tagName==v||M.matchClosing===!1?(q="tag",He):(q="tag error",ee)}else return M.allowMissingTagName&&c=="endTag"?(q="tag bracket",He(c,x,b)):(q="error",ee)}function He(c,x,b){return c!="endTag"?(q="error",He):(oe(b),_e)}function ee(c,x,b){return q="error",He(c,x,b)}function X(c,x,b){if(c=="word")return q="attribute",me;if(c=="endTag"||c=="selfcloseTag"){var v=b.tagName,g=b.tagStart;return b.tagName=b.tagStart=null,c=="selfcloseTag"||M.autoSelfClosers.hasOwnProperty(ae(v))?xe(b,v):(xe(b,v),b.context=new V(b,v,g==b.indented)),_e}return q="error",X}function me(c,x,b){return c=="equals"?T:(M.allowMissing||(q="error"),X(c,x,b))}function T(c,x,b){return c=="string"?H:c=="word"&&M.allowUnquoted?(q="string",X):(q="error",X(c,x,b))}function H(c,x,b){return c=="string"?H:X(c,x,b)}return{startState:function(c){var x={tokenize:se,state:_e,indented:c||0,tagName:null,tagStart:null,context:null};return c!=null&&(x.baseIndent=c),x},token:function(c,x){if(!x.tagName&&c.sol()&&(x.indented=c.indentation()),c.eatSpace())return null;ie=null;var b=x.tokenize(c,x);return(b||ie)&&b!="comment"&&(q=null,x.state=x.state(ie||b,c,x),q&&(b=q=="error"?b+" error":q)),b},indent:function(c,x,b){var v=c.context;if(c.tokenize.isInAttribute)return c.tagStart==c.indented?c.stringStartCol+1:c.indented+Ce;if(v&&v.noIndent)return F.Pass;if(c.tokenize!=ce&&c.tokenize!=se)return b?b.match(/^(\s*)/)[0].length:0;if(c.tagName)return M.multilineTagIndentPastTag!==!1?c.tagStart+c.tagName.length+2:c.tagStart+Ce*(M.multilineTagIndentFactor||1);if(M.alignCDATA&&/$/,blockCommentStart:"",configuration:M.htmlMode?"html":"xml",helperType:M.htmlMode?"html":"xml",skipAttribute:function(c){c.state==T&&(c.state=X)},xmlCurrentTag:function(c){return c.tagName?{name:c.tagName,close:c.type=="closeTag"}:null},xmlCurrentContext:function(c){for(var x=[],b=c.context;b;b=b.prev)x.push(b.tagName);return x.reverse()}}}),F.defineMIME("text/xml","xml"),F.defineMIME("application/xml","xml"),F.mimeModes.hasOwnProperty("text/html")||F.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),da.exports}var pa={exports:{}},va;function ya(){return va||(va=1,function(yr,Or){(function(F){F(Ar)})(function(F){F.defineMode("javascript",function(Ee,Se){var We=Ee.indentUnit,Qe=Se.statementIndent,Ce=Se.jsonld,M=Se.json||Ce,j=Se.trackScope!==!1,_=Se.typescript,ie=Se.wordCharacters||/[\w$\xa1-\uffff]/,q=function(){function f(et){return{type:et,style:"keyword"}}var h=f("keyword a"),L=f("keyword b"),O=f("keyword c"),k=f("keyword d"),I=f("operator"),De={type:"atom",style:"atom"};return{if:f("if"),while:h,with:h,else:L,do:L,try:L,finally:L,return:k,break:k,continue:k,new:f("new"),delete:O,void:O,throw:O,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:I,typeof:I,instanceof:I,true:De,false:De,null:De,undefined:De,NaN:De,Infinity:De,this:f("this"),class:f("class"),super:f("atom"),yield:O,export:f("export"),import:f("import"),extends:O,await:O}}(),se=/[+\-*&%=<>!?|~^@]/,ce=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Ie(f){for(var h=!1,L,O=!1;(L=f.next())!=null;){if(!h){if(L=="/"&&!O)return;L=="["?O=!0:O&&L=="]"&&(O=!1)}h=!h&&L=="\\"}}var Te,Oe;function ae(f,h,L){return Te=f,Oe=L,h}function V(f,h){var L=f.next();if(L=='"'||L=="'")return h.tokenize=oe(L),h.tokenize(f,h);if(L=="."&&f.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return ae("number","number");if(L=="."&&f.match(".."))return ae("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(L))return ae(L);if(L=="="&&f.eat(">"))return ae("=>","operator");if(L=="0"&&f.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return ae("number","number");if(/\d/.test(L))return f.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),ae("number","number");if(L=="/")return f.eat("*")?(h.tokenize=xe,xe(f,h)):f.eat("/")?(f.skipToEnd(),ae("comment","comment")):Dt(f,h,1)?(Ie(f),f.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),ae("regexp","string-2")):(f.eat("="),ae("operator","operator",f.current()));if(L=="`")return h.tokenize=_e,_e(f,h);if(L=="#"&&f.peek()=="!")return f.skipToEnd(),ae("meta","meta");if(L=="#"&&f.eatWhile(ie))return ae("variable","property");if(L=="<"&&f.match("!--")||L=="-"&&f.match("->")&&!/\S/.test(f.string.slice(0,f.start)))return f.skipToEnd(),ae("comment","comment");if(se.test(L))return(L!=">"||!h.lexical||h.lexical.type!=">")&&(f.eat("=")?(L=="!"||L=="=")&&f.eat("="):/[<>*+\-|&?]/.test(L)&&(f.eat(L),L==">"&&f.eat(L))),L=="?"&&f.eat(".")?ae("."):ae("operator","operator",f.current());if(ie.test(L)){f.eatWhile(ie);var O=f.current();if(h.lastType!="."){if(q.propertyIsEnumerable(O)){var k=q[O];return ae(k.type,k.style,O)}if(O=="async"&&f.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return ae("async","keyword",O)}return ae("variable","variable",O)}}function oe(f){return function(h,L){var O=!1,k;if(Ce&&h.peek()=="@"&&h.match(ce))return L.tokenize=V,ae("jsonld-keyword","meta");for(;(k=h.next())!=null&&!(k==f&&!O);)O=!O&&k=="\\";return O||(L.tokenize=V),ae("string","string")}}function xe(f,h){for(var L=!1,O;O=f.next();){if(O=="/"&&L){h.tokenize=V;break}L=O=="*"}return ae("comment","comment")}function _e(f,h){for(var L=!1,O;(O=f.next())!=null;){if(!L&&(O=="`"||O=="$"&&f.eat("{"))){h.tokenize=V;break}L=!L&&O=="\\"}return ae("quasi","string-2",f.current())}var ye="([{}])";function Me(f,h){h.fatArrowAt&&(h.fatArrowAt=null);var L=f.string.indexOf("=>",f.start);if(!(L<0)){if(_){var O=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(f.string.slice(f.start,L));O&&(L=O.index)}for(var k=0,I=!1,De=L-1;De>=0;--De){var et=f.string.charAt(De),mt=ye.indexOf(et);if(mt>=0&&mt<3){if(!k){++De;break}if(--k==0){et=="("&&(I=!0);break}}else if(mt>=3&&mt<6)++k;else if(ie.test(et))I=!0;else if(/["'\/`]/.test(et))for(;;--De){if(De==0)return;var Hr=f.string.charAt(De-1);if(Hr==et&&f.string.charAt(De-2)!="\\"){De--;break}}else if(I&&!k){++De;break}}I&&!k&&(h.fatArrowAt=De)}}var He={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function ee(f,h,L,O,k,I){this.indented=f,this.column=h,this.type=L,this.prev=k,this.info=I,O!=null&&(this.align=O)}function X(f,h){if(!j)return!1;for(var L=f.localVars;L;L=L.next)if(L.name==h)return!0;for(var O=f.context;O;O=O.prev)for(var L=O.vars;L;L=L.next)if(L.name==h)return!0}function me(f,h,L,O,k){var I=f.cc;for(T.state=f,T.stream=k,T.marked=null,T.cc=I,T.style=h,f.lexical.hasOwnProperty("align")||(f.lexical.align=!0);;){var De=I.length?I.pop():M?G:he;if(De(L,O)){for(;I.length&&I[I.length-1].lex;)I.pop()();return T.marked?T.marked:L=="variable"&&X(f,O)?"variable-2":h}}}var T={state:null,column:null,marked:null,cc:null};function H(){for(var f=arguments.length-1;f>=0;f--)T.cc.push(arguments[f])}function c(){return H.apply(null,arguments),!0}function x(f,h){for(var L=h;L;L=L.next)if(L.name==f)return!0;return!1}function b(f){var h=T.state;if(T.marked="def",!!j){if(h.context){if(h.lexical.info=="var"&&h.context&&h.context.block){var L=v(f,h.context);if(L!=null){h.context=L;return}}else if(!x(f,h.localVars)){h.localVars=new K(f,h.localVars);return}}Se.globalVars&&!x(f,h.globalVars)&&(h.globalVars=new K(f,h.globalVars))}}function v(f,h){if(h)if(h.block){var L=v(f,h.prev);return L?L==h.prev?h:new D(L,h.vars,!0):null}else return x(f,h.vars)?h:new D(h.prev,new K(f,h.vars),!1);else return null}function g(f){return f=="public"||f=="private"||f=="protected"||f=="abstract"||f=="readonly"}function D(f,h,L){this.prev=f,this.vars=h,this.block=L}function K(f,h){this.name=f,this.next=h}var $=new K("this",new K("arguments",null));function pe(){T.state.context=new D(T.state.context,T.state.localVars,!1),T.state.localVars=$}function Re(){T.state.context=new D(T.state.context,T.state.localVars,!0),T.state.localVars=null}pe.lex=Re.lex=!0;function ze(){T.state.localVars=T.state.context.vars,T.state.context=T.state.context.prev}ze.lex=!0;function le(f,h){var L=function(){var O=T.state,k=O.indented;if(O.lexical.type=="stat")k=O.lexical.indented;else for(var I=O.lexical;I&&I.type==")"&&I.align;I=I.prev)k=I.indented;O.lexical=new ee(k,T.stream.column(),f,null,O.lexical,h)};return L.lex=!0,L}function te(){var f=T.state;f.lexical.prev&&(f.lexical.type==")"&&(f.indented=f.lexical.indented),f.lexical=f.lexical.prev)}te.lex=!0;function de(f){function h(L){return L==f?c():f==";"||L=="}"||L==")"||L=="]"?H():c(h)}return h}function he(f,h){return f=="var"?c(le("vardef",h),zr,de(";"),te):f=="keyword a"?c(le("form"),Ct,he,te):f=="keyword b"?c(le("form"),he,te):f=="keyword d"?T.stream.match(/^\s*$/,!1)?c():c(le("stat"),gt,de(";"),te):f=="debugger"?c(de(";")):f=="{"?c(le("}"),Re,Ot,te,ze):f==";"?c():f=="if"?(T.state.lexical.info=="else"&&T.state.cc[T.state.cc.length-1]==te&&T.state.cc.pop()(),c(le("form"),Ct,he,te,Pr)):f=="function"?c(Pt):f=="for"?c(le("form"),Re,_n,he,ze,te):f=="class"||_&&h=="interface"?(T.marked="keyword",c(le("form",f=="class"?f:h),Er,te)):f=="variable"?_&&h=="declare"?(T.marked="keyword",c(he)):_&&(h=="module"||h=="enum"||h=="type")&&T.stream.match(/^\s*\w/,!1)?(T.marked="keyword",h=="enum"?c(U):h=="type"?c(Hn,de("operator"),ke,de(";")):c(le("form"),yt,de("{"),le("}"),Ot,te,te)):_&&h=="namespace"?(T.marked="keyword",c(le("form"),G,he,te)):_&&h=="abstract"?(T.marked="keyword",c(he)):c(le("stat"),be):f=="switch"?c(le("form"),Ct,de("{"),le("}","switch"),Re,Ot,te,te,ze):f=="case"?c(G,de(":")):f=="default"?c(de(":")):f=="catch"?c(le("form"),pe,ue,he,te,ze):f=="export"?c(le("stat"),Ir,te):f=="import"?c(le("stat"),ar,te):f=="async"?c(he):h=="@"?c(G,he):H(le("stat"),G,de(";"),te)}function ue(f){if(f=="(")return c(Ft,de(")"))}function G(f,h){return st(f,h,!1)}function Ve(f,h){return st(f,h,!0)}function Ct(f){return f!="("?H():c(le(")"),gt,de(")"),te)}function st(f,h,L){if(T.state.fatArrowAt==T.stream.start){var O=L?Ne:re;if(f=="(")return c(pe,le(")"),ve(Ft,")"),te,de("=>"),O,ze);if(f=="variable")return H(pe,yt,de("=>"),O,ze)}var k=L?Ke:Le;return He.hasOwnProperty(f)?c(k):f=="function"?c(Pt,k):f=="class"||_&&h=="interface"?(T.marked="keyword",c(le("form"),mi,te)):f=="keyword c"||f=="async"?c(L?Ve:G):f=="("?c(le(")"),gt,de(")"),te,k):f=="operator"||f=="spread"?c(L?Ve:G):f=="["?c(le("]"),je,te,k):f=="{"?Tt(ne,"}",null,k):f=="quasi"?H(lt,k):f=="new"?c(w(L)):c()}function gt(f){return f.match(/[;\}\)\],]/)?H():H(G)}function Le(f,h){return f==","?c(gt):Ke(f,h,!1)}function Ke(f,h,L){var O=L==!1?Le:Ke,k=L==!1?G:Ve;if(f=="=>")return c(pe,L?Ne:re,ze);if(f=="operator")return/\+\+|--/.test(h)||_&&h=="!"?c(O):_&&h=="<"&&T.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?c(le(">"),ve(ke,">"),te,O):h=="?"?c(G,de(":"),k):c(k);if(f=="quasi")return H(lt,O);if(f!=";"){if(f=="(")return Tt(Ve,")","call",O);if(f==".")return c(R,O);if(f=="[")return c(le("]"),gt,de("]"),te,O);if(_&&h=="as")return T.marked="keyword",c(ke,O);if(f=="regexp")return T.state.lastType=T.marked="operator",T.stream.backUp(T.stream.pos-T.stream.start-1),c(k)}}function lt(f,h){return f!="quasi"?H():h.slice(h.length-2)!="${"?c(lt):c(gt,ht)}function ht(f){if(f=="}")return T.marked="string-2",T.state.tokenize=_e,c(lt)}function re(f){return Me(T.stream,T.state),H(f=="{"?he:G)}function Ne(f){return Me(T.stream,T.state),H(f=="{"?he:Ve)}function w(f){return function(h){return h=="."?c(f?C:A):h=="variable"&&_?c(Lt,f?Ke:Le):H(f?Ve:G)}}function A(f,h){if(h=="target")return T.marked="keyword",c(Le)}function C(f,h){if(h=="target")return T.marked="keyword",c(Ke)}function be(f){return f==":"?c(te,he):H(Le,de(";"),te)}function R(f){if(f=="variable")return T.marked="property",c()}function ne(f,h){if(f=="async")return T.marked="property",c(ne);if(f=="variable"||T.style=="keyword"){if(T.marked="property",h=="get"||h=="set")return c(Y);var L;return _&&T.state.fatArrowAt==T.stream.start&&(L=T.stream.match(/^\s*:\s*/,!1))&&(T.state.fatArrowAt=T.stream.pos+L[0].length),c(we)}else{if(f=="number"||f=="string")return T.marked=Ce?"property":T.style+" property",c(we);if(f=="jsonld-keyword")return c(we);if(_&&g(h))return T.marked="keyword",c(ne);if(f=="[")return c(G,rr,de("]"),we);if(f=="spread")return c(Ve,we);if(h=="*")return T.marked="keyword",c(ne);if(f==":")return H(we)}}function Y(f){return f!="variable"?H(we):(T.marked="property",c(Pt))}function we(f){if(f==":")return c(Ve);if(f=="(")return H(Pt)}function ve(f,h,L){function O(k,I){if(L?L.indexOf(k)>-1:k==","){var De=T.state.lexical;return De.info=="call"&&(De.pos=(De.pos||0)+1),c(function(et,mt){return et==h||mt==h?H():H(f)},O)}return k==h||I==h?c():L&&L.indexOf(";")>-1?H(f):c(de(h))}return function(k,I){return k==h||I==h?c():H(f,O)}}function Tt(f,h,L){for(var O=3;O"),ke);if(f=="quasi")return H(ut,zt)}function Wn(f){if(f=="=>")return c(ke)}function J(f){return f.match(/[\}\)\]]/)?c():f==","||f==";"?c(J):H(Yt,J)}function Yt(f,h){if(f=="variable"||T.style=="keyword")return T.marked="property",c(Yt);if(h=="?"||f=="number"||f=="string")return c(Yt);if(f==":")return c(ke);if(f=="[")return c(de("variable"),mr,de("]"),Yt);if(f=="(")return H(lr,Yt);if(!f.match(/[;\}\)\],]/))return c()}function ut(f,h){return f!="quasi"?H():h.slice(h.length-2)!="${"?c(ut):c(ke,Ge)}function Ge(f){if(f=="}")return T.marked="string-2",T.state.tokenize=_e,c(ut)}function qe(f,h){return f=="variable"&&T.stream.match(/^\s*[?:]/,!1)||h=="?"?c(qe):f==":"?c(ke):f=="spread"?c(qe):H(ke)}function zt(f,h){if(h=="<")return c(le(">"),ve(ke,">"),te,zt);if(h=="|"||f=="."||h=="&")return c(ke);if(f=="[")return c(ke,de("]"),zt);if(h=="extends"||h=="implements")return T.marked="keyword",c(ke);if(h=="?")return c(ke,de(":"),ke)}function Lt(f,h){if(h=="<")return c(le(">"),ve(ke,">"),te,zt)}function Et(){return H(ke,ft)}function ft(f,h){if(h=="=")return c(ke)}function zr(f,h){return h=="enum"?(T.marked="keyword",c(U)):H(yt,rr,It,yi)}function yt(f,h){if(_&&g(h))return T.marked="keyword",c(yt);if(f=="variable")return b(h),c();if(f=="spread")return c(yt);if(f=="[")return Tt(ln,"]");if(f=="{")return Tt(ir,"}")}function ir(f,h){return f=="variable"&&!T.stream.match(/^\s*:/,!1)?(b(h),c(It)):(f=="variable"&&(T.marked="property"),f=="spread"?c(yt):f=="}"?H():f=="["?c(G,de("]"),de(":"),ir):c(de(":"),yt,It))}function ln(){return H(yt,It)}function It(f,h){if(h=="=")return c(Ve)}function yi(f){if(f==",")return c(zr)}function Pr(f,h){if(f=="keyword b"&&h=="else")return c(le("form","else"),he,te)}function _n(f,h){if(h=="await")return c(_n);if(f=="(")return c(le(")"),an,te)}function an(f){return f=="var"?c(zr,or):f=="variable"?c(or):H(or)}function or(f,h){return f==")"?c():f==";"?c(or):h=="in"||h=="of"?(T.marked="keyword",c(G,or)):H(G,or)}function Pt(f,h){if(h=="*")return T.marked="keyword",c(Pt);if(f=="variable")return b(h),c(Pt);if(f=="(")return c(pe,le(")"),ve(Ft,")"),te,nr,he,ze);if(_&&h=="<")return c(le(">"),ve(Et,">"),te,Pt)}function lr(f,h){if(h=="*")return T.marked="keyword",c(lr);if(f=="variable")return b(h),c(lr);if(f=="(")return c(pe,le(")"),ve(Ft,")"),te,nr,ze);if(_&&h=="<")return c(le(">"),ve(Et,">"),te,lr)}function Hn(f,h){if(f=="keyword"||f=="variable")return T.marked="type",c(Hn);if(h=="<")return c(le(">"),ve(Et,">"),te)}function Ft(f,h){return h=="@"&&c(G,Ft),f=="spread"?c(Ft):_&&g(h)?(T.marked="keyword",c(Ft)):_&&f=="this"?c(rr,It):H(yt,rr,It)}function mi(f,h){return f=="variable"?Er(f,h):Wt(f,h)}function Er(f,h){if(f=="variable")return b(h),c(Wt)}function Wt(f,h){if(h=="<")return c(le(">"),ve(Et,">"),te,Wt);if(h=="extends"||h=="implements"||_&&f==",")return h=="implements"&&(T.marked="keyword"),c(_?ke:G,Wt);if(f=="{")return c(le("}"),_t,te)}function _t(f,h){if(f=="async"||f=="variable"&&(h=="static"||h=="get"||h=="set"||_&&g(h))&&T.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return T.marked="keyword",c(_t);if(f=="variable"||T.style=="keyword")return T.marked="property",c(br,_t);if(f=="number"||f=="string")return c(br,_t);if(f=="[")return c(G,rr,de("]"),br,_t);if(h=="*")return T.marked="keyword",c(_t);if(_&&f=="(")return H(lr,_t);if(f==";"||f==",")return c(_t);if(f=="}")return c();if(h=="@")return c(G,_t)}function br(f,h){if(h=="!"||h=="?")return c(br);if(f==":")return c(ke,It);if(h=="=")return c(Ve);var L=T.state.lexical.prev,O=L&&L.info=="interface";return H(O?lr:Pt)}function Ir(f,h){return h=="*"?(T.marked="keyword",c(_r,de(";"))):h=="default"?(T.marked="keyword",c(G,de(";"))):f=="{"?c(ve(Fr,"}"),_r,de(";")):H(he)}function Fr(f,h){if(h=="as")return T.marked="keyword",c(de("variable"));if(f=="variable")return H(Ve,Fr)}function ar(f){return f=="string"?c():f=="("?H(G):f=="."?H(Le):H(Wr,Ut,_r)}function Wr(f,h){return f=="{"?Tt(Wr,"}"):(f=="variable"&&b(h),h=="*"&&(T.marked="keyword"),c(sn))}function Ut(f){if(f==",")return c(Wr,Ut)}function sn(f,h){if(h=="as")return T.marked="keyword",c(Wr)}function _r(f,h){if(h=="from")return T.marked="keyword",c(G)}function je(f){return f=="]"?c():H(ve(Ve,"]"))}function U(){return H(le("form"),yt,de("{"),le("}"),ve(Zt,"}"),te,te)}function Zt(){return H(yt,It)}function un(f,h){return f.lastType=="operator"||f.lastType==","||se.test(h.charAt(0))||/[,.]/.test(h.charAt(0))}function Dt(f,h,L){return h.tokenize==V&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(h.lastType)||h.lastType=="quasi"&&/\{\s*$/.test(f.string.slice(0,f.pos-(L||0)))}return{startState:function(f){var h={tokenize:V,lastType:"sof",cc:[],lexical:new ee((f||0)-We,0,"block",!1),localVars:Se.localVars,context:Se.localVars&&new D(null,null,!1),indented:f||0};return Se.globalVars&&typeof Se.globalVars=="object"&&(h.globalVars=Se.globalVars),h},token:function(f,h){if(f.sol()&&(h.lexical.hasOwnProperty("align")||(h.lexical.align=!1),h.indented=f.indentation(),Me(f,h)),h.tokenize!=xe&&f.eatSpace())return null;var L=h.tokenize(f,h);return Te=="comment"?L:(h.lastType=Te=="operator"&&(Oe=="++"||Oe=="--")?"incdec":Te,me(h,L,Te,Oe,f))},indent:function(f,h){if(f.tokenize==xe||f.tokenize==_e)return F.Pass;if(f.tokenize!=V)return 0;var L=h&&h.charAt(0),O=f.lexical,k;if(!/^\s*else\b/.test(h))for(var I=f.cc.length-1;I>=0;--I){var De=f.cc[I];if(De==te)O=O.prev;else if(De!=Pr&&De!=ze)break}for(;(O.type=="stat"||O.type=="form")&&(L=="}"||(k=f.cc[f.cc.length-1])&&(k==Le||k==Ke)&&!/^[,\.=+\-*:?[\(]/.test(h));)O=O.prev;Qe&&O.type==")"&&O.prev.type=="stat"&&(O=O.prev);var et=O.type,mt=L==et;return et=="vardef"?O.indented+(f.lastType=="operator"||f.lastType==","?O.info.length+1:0):et=="form"&&L=="{"?O.indented:et=="form"?O.indented+We:et=="stat"?O.indented+(un(f,h)?Qe||We:0):O.info=="switch"&&!mt&&Se.doubleIndentSwitch!=!1?O.indented+(/^(?:case|default)\b/.test(h)?We:2*We):O.align?O.column+(mt?0:1):O.indented+(mt?0:We)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:M?null:"/*",blockCommentEnd:M?null:"*/",blockCommentContinue:M?null:" * ",lineComment:M?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:M?"json":"javascript",jsonldMode:Ce,jsonMode:M,expressionAllowed:Dt,skipExpression:function(f){me(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})})}()),pa.exports}(function(yr,Or){(function(F){F(Ar,wu(),ya(),xu)})(function(F){var Ee={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 Se(ie,q,se){var ce=ie.current(),Ie=ce.search(q);return Ie>-1?ie.backUp(ce.length-Ie):ce.match(/<\/?$/)&&(ie.backUp(ce.length),ie.match(q,!1)||ie.match(ce)),se}var We={};function Qe(ie){var q=We[ie];return q||(We[ie]=new RegExp("\\s+"+ie+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function Ce(ie,q){var se=ie.match(Qe(q));return se?/^\s*(.*?)\s*$/.exec(se[2])[1]:""}function M(ie,q){return new RegExp((q?"^":"")+"\\s*"+ie+"\\s*>","i")}function j(ie,q){for(var se in ie)for(var ce=q[se]||(q[se]=[]),Ie=ie[se],Te=Ie.length-1;Te>=0;Te--)ce.unshift(Ie[Te])}function _(ie,q){for(var se=0;se=0;Oe--)ce.script.unshift(["type",Te[Oe].matches,Te[Oe].mode]);function ae(V,oe){var xe=se.token(V,oe.htmlState),_e=/\btag\b/.test(xe),ye;if(_e&&!/[<>\s\/]/.test(V.current())&&(ye=oe.htmlState.tagName&&oe.htmlState.tagName.toLowerCase())&&ce.hasOwnProperty(ye))oe.inTag=ye+" ";else if(oe.inTag&&_e&&/>$/.test(V.current())){var Me=/^([\S]+) (.*)/.exec(oe.inTag);oe.inTag=null;var He=V.current()==">"&&_(ce[Me[1]],Me[2]),ee=F.getMode(ie,He),X=M(Me[1],!0),me=M(Me[1],!1);oe.token=function(T,H){return T.match(X,!1)?(H.token=ae,H.localState=H.localMode=null,null):Se(T,me,H.localMode.token(T,H.localState))},oe.localMode=ee,oe.localState=F.startState(ee,se.indent(oe.htmlState,"",""))}else oe.inTag&&(oe.inTag+=V.current(),V.eol()&&(oe.inTag+=" "));return xe}return{startState:function(){var V=F.startState(se);return{token:ae,inTag:null,localMode:null,localState:null,htmlState:V}},copyState:function(V){var oe;return V.localState&&(oe=F.copyState(V.localMode,V.localState)),{token:V.token,inTag:V.inTag,localMode:V.localMode,localState:oe,htmlState:F.copyState(se,V.htmlState)}},token:function(V,oe){return oe.token(V,oe)},indent:function(V,oe,xe){return!V.localMode||/^\s*<\//.test(oe)?se.indent(V.htmlState,oe,xe):V.localMode.indent?V.localMode.indent(V.localState,oe,xe):F.Pass},innerMode:function(V){return{state:V.localState||V.htmlState,mode:V.localMode||se}}}},"xml","javascript","css"),F.defineMIME("text/html","htmlmixed")})})();ya();(function(yr,Or){(function(F){F(Ar)})(function(F){function Ee(j){return new RegExp("^(("+j.join(")|(")+"))\\b")}var Se=Ee(["and","or","not","is"]),We=["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"],Qe=["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",We.concat(Qe).concat(["exec","print"]));function Ce(j){return j.scopes[j.scopes.length-1]}F.defineMode("python",function(j,_){for(var ie="error",q=_.delimiters||_.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,se=[_.singleOperators,_.doubleOperators,_.doubleDelimiters,_.tripleDelimiters,_.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],ce=0;ceg?X(b):D0&&T(x,b)&&(K+=" "+ie),K}}return Me(x,b)}function Me(x,b,v){if(x.eatSpace())return null;if(!v&&x.match(/^#.*/))return"comment";if(x.match(/^[0-9\.]/,!1)){var g=!1;if(x.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(g=!0),x.match(/^[\d_]+\.\d*/)&&(g=!0),x.match(/^\.\d+/)&&(g=!0),g)return x.eat(/J/i),"number";var D=!1;if(x.match(/^0x[0-9a-f_]+/i)&&(D=!0),x.match(/^0b[01_]+/i)&&(D=!0),x.match(/^0o[0-7_]+/i)&&(D=!0),x.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(x.eat(/J/i),D=!0),x.match(/^0(?![\dx])/i)&&(D=!0),D)return x.eat(/L/i),"number"}if(x.match(oe)){var K=x.current().toLowerCase().indexOf("f")!==-1;return K?(b.tokenize=He(x.current(),b.tokenize),b.tokenize(x,b)):(b.tokenize=ee(x.current(),b.tokenize),b.tokenize(x,b))}for(var $=0;$=0;)x=x.substr(1);var v=x.length==1,g="string";function D($){return function(pe,Re){var ze=Me(pe,Re,!0);return ze=="punctuation"&&(pe.current()=="{"?Re.tokenize=D($+1):pe.current()=="}"&&($>1?Re.tokenize=D($-1):Re.tokenize=K)),ze}}function K($,pe){for(;!$.eol();)if($.eatWhile(/[^'"\{\}\\]/),$.eat("\\")){if($.next(),v&&$.eol())return g}else{if($.match(x))return pe.tokenize=b,g;if($.match("{{"))return g;if($.match("{",!1))return pe.tokenize=D(0),$.current()?g:pe.tokenize($,pe);if($.match("}}"))return g;if($.match("}"))return ie;$.eat(/['"]/)}if(v){if(_.singleLineStringErrors)return ie;pe.tokenize=b}return g}return K.isString=!0,K}function ee(x,b){for(;"rubf".indexOf(x.charAt(0).toLowerCase())>=0;)x=x.substr(1);var v=x.length==1,g="string";function D(K,$){for(;!K.eol();)if(K.eatWhile(/[^'"\\]/),K.eat("\\")){if(K.next(),v&&K.eol())return g}else{if(K.match(x))return $.tokenize=b,g;K.eat(/['"]/)}if(v){if(_.singleLineStringErrors)return ie;$.tokenize=b}return g}return D.isString=!0,D}function X(x){for(;Ce(x).type!="py";)x.scopes.pop();x.scopes.push({offset:Ce(x).offset+j.indentUnit,type:"py",align:null})}function me(x,b,v){var g=x.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:x.column()+1;b.scopes.push({offset:b.indent+Ie,type:v,align:g})}function T(x,b){for(var v=x.indentation();b.scopes.length>1&&Ce(b).offset>v;){if(Ce(b).type!="py")return!0;b.scopes.pop()}return Ce(b).offset!=v}function H(x,b){x.sol()&&(b.beginningOfLine=!0,b.dedent=!1);var v=b.tokenize(x,b),g=x.current();if(b.beginningOfLine&&g=="@")return x.match(V,!1)?"meta":ae?"operator":ie;if(/\S/.test(g)&&(b.beginningOfLine=!1),(v=="variable"||v=="builtin")&&b.lastToken=="meta"&&(v="meta"),(g=="pass"||g=="return")&&(b.dedent=!0),g=="lambda"&&(b.lambda=!0),g==":"&&!b.lambda&&Ce(b).type=="py"&&x.match(/^\s*(?:#|$)/,!1)&&X(b),g.length==1&&!/string|comment/.test(v)){var D="[({".indexOf(g);if(D!=-1&&me(x,b,"])}".slice(D,D+1)),D="])}".indexOf(g),D!=-1)if(Ce(b).type==g)b.indent=b.scopes.pop().offset-Ie;else return ie}return b.dedent&&x.eol()&&Ce(b).type=="py"&&b.scopes.length>1&&b.scopes.pop(),v}var c={startState:function(x){return{tokenize:ye,scopes:[{offset:x||0,type:"py",align:null}],indent:x||0,lastToken:null,lambda:!1,dedent:0}},token:function(x,b){var v=b.errorToken;v&&(b.errorToken=!1);var g=H(x,b);return g&&g!="comment"&&(b.lastToken=g=="keyword"||g=="punctuation"?x.current():g),g=="punctuation"&&(g=null),x.eol()&&b.lambda&&(b.lambda=!1),v?g+" "+ie:g},indent:function(x,b){if(x.tokenize!=ye)return x.tokenize.isString?F.Pass:0;var v=Ce(x),g=v.type==b.charAt(0)||v.type=="py"&&!x.dedent&&/^(else:|elif |except |finally:)/.test(b);return v.align!=null?v.align-(g?1:0):v.offset-(g?Ie:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:`'"`},lineComment:"#",fold:"indent"};return c}),F.defineMIME("text/x-python","python");var M=function(j){return j.split(" ")};F.defineMIME("text/x-cython",{name:"python",extra_keywords:M("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();(function(yr,Or){(function(F){F(Ar)})(function(F){function Ee(v,g,D,K,$,pe){this.indented=v,this.column=g,this.type=D,this.info=K,this.align=$,this.prev=pe}function Se(v,g,D,K){var $=v.indented;return v.context&&v.context.type=="statement"&&D!="statement"&&($=v.context.indented),v.context=new Ee($,g,D,K,null,v.context)}function We(v){var g=v.context.type;return(g==")"||g=="]"||g=="}")&&(v.indented=v.context.indented),v.context=v.context.prev}function Qe(v,g,D){if(g.prevToken=="variable"||g.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(v.string.slice(0,D))||g.typeAtEndOfLine&&v.column()==v.indentation())return!0}function Ce(v){for(;;){if(!v||v.type=="top")return!0;if(v.type=="}"&&v.prev.info!="namespace")return!1;v=v.prev}}F.defineMode("clike",function(v,g){var D=v.indentUnit,K=g.statementIndentUnit||D,$=g.dontAlignCalls,pe=g.keywords||{},Re=g.types||{},ze=g.builtin||{},le=g.blockKeywords||{},te=g.defKeywords||{},de=g.atoms||{},he=g.hooks||{},ue=g.multiLineStrings,G=g.indentStatements!==!1,Ve=g.indentSwitch!==!1,Ct=g.namespaceSeparator,st=g.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,gt=g.numberStart||/[\d\.]/,Le=g.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,Ke=g.isOperatorChar||/[+\-*&%=<>!?|\/]/,lt=g.isIdentifierChar||/[\w\$_\xa1-\uffff]/,ht=g.isReservedIdentifier||!1,re,Ne;function w(R,ne){var Y=R.next();if(he[Y]){var we=he[Y](R,ne);if(we!==!1)return we}if(Y=='"'||Y=="'")return ne.tokenize=A(Y),ne.tokenize(R,ne);if(gt.test(Y)){if(R.backUp(1),R.match(Le))return"number";R.next()}if(st.test(Y))return re=Y,null;if(Y=="/"){if(R.eat("*"))return ne.tokenize=C,C(R,ne);if(R.eat("/"))return R.skipToEnd(),"comment"}if(Ke.test(Y)){for(;!R.match(/^\/[\/*]/,!1)&&R.eat(Ke););return"operator"}if(R.eatWhile(lt),Ct)for(;R.match(Ct);)R.eatWhile(lt);var ve=R.current();return j(pe,ve)?(j(le,ve)&&(re="newstatement"),j(te,ve)&&(Ne=!0),"keyword"):j(Re,ve)?"type":j(ze,ve)||ht&&ht(ve)?(j(le,ve)&&(re="newstatement"),"builtin"):j(de,ve)?"atom":"variable"}function A(R){return function(ne,Y){for(var we=!1,ve,Tt=!1;(ve=ne.next())!=null;){if(ve==R&&!we){Tt=!0;break}we=!we&&ve=="\\"}return(Tt||!(we||ue))&&(Y.tokenize=null),"string"}}function C(R,ne){for(var Y=!1,we;we=R.next();){if(we=="/"&&Y){ne.tokenize=null;break}Y=we=="*"}return"comment"}function be(R,ne){g.typeFirstDefinitions&&R.eol()&&Ce(ne.context)&&(ne.typeAtEndOfLine=Qe(R,ne,R.pos))}return{startState:function(R){return{tokenize:null,context:new Ee((R||0)-D,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(R,ne){var Y=ne.context;if(R.sol()&&(Y.align==null&&(Y.align=!1),ne.indented=R.indentation(),ne.startOfLine=!0),R.eatSpace())return be(R,ne),null;re=Ne=null;var we=(ne.tokenize||w)(R,ne);if(we=="comment"||we=="meta")return we;if(Y.align==null&&(Y.align=!0),re==";"||re==":"||re==","&&R.match(/^\s*(?:\/\/.*)?$/,!1))for(;ne.context.type=="statement";)We(ne);else if(re=="{")Se(ne,R.column(),"}");else if(re=="[")Se(ne,R.column(),"]");else if(re=="(")Se(ne,R.column(),")");else if(re=="}"){for(;Y.type=="statement";)Y=We(ne);for(Y.type=="}"&&(Y=We(ne));Y.type=="statement";)Y=We(ne)}else re==Y.type?We(ne):G&&((Y.type=="}"||Y.type=="top")&&re!=";"||Y.type=="statement"&&re=="newstatement")&&Se(ne,R.column(),"statement",R.current());if(we=="variable"&&(ne.prevToken=="def"||g.typeFirstDefinitions&&Qe(R,ne,R.start)&&Ce(ne.context)&&R.match(/^\s*\(/,!1))&&(we="def"),he.token){var ve=he.token(R,ne,we);ve!==void 0&&(we=ve)}return we=="def"&&g.styleDefs===!1&&(we="variable"),ne.startOfLine=!1,ne.prevToken=Ne?"def":we||re,be(R,ne),we},indent:function(R,ne){if(R.tokenize!=w&&R.tokenize!=null||R.typeAtEndOfLine&&Ce(R.context))return F.Pass;var Y=R.context,we=ne&&ne.charAt(0),ve=we==Y.type;if(Y.type=="statement"&&we=="}"&&(Y=Y.prev),g.dontIndentStatements)for(;Y.type=="statement"&&g.dontIndentStatements.test(Y.info);)Y=Y.prev;if(he.indent){var Tt=he.indent(R,Y,ne,D);if(typeof Tt=="number")return Tt}var Ot=Y.prev&&Y.prev.info=="switch";if(g.allmanIndentation&&/[{(]/.test(we)){for(;Y.type!="top"&&Y.type!="}";)Y=Y.prev;return Y.indented}return Y.type=="statement"?Y.indented+(we=="{"?0:K):Y.align&&(!$||Y.type!=")")?Y.column+(ve?0:1):Y.type==")"&&!ve?Y.indented+K:Y.indented+(ve?0:D)+(!ve&&Ot&&!/^(?:case|default)\b/.test(ne)?D:0)},electricInput:Ve?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function M(v){for(var g={},D=v.split(" "),K=0;K!?|\/#:@]/,hooks:{"@":function(v){return v.eatWhile(/[\w\$_]/),"meta"},'"':function(v,g){return v.match('""')?(g.tokenize=T,g.tokenize(v,g)):!1},"'":function(v){return v.match(/^(\\[^'\s]+|[^\\'])'/)?"string-2":(v.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(v,g){var D=g.context;return D.type=="}"&&D.align&&v.eat(">")?(g.context=new Ee(D.indented,D.column,D.type,D.info,null,D.prev),"operator"):!1},"/":function(v,g){return v.eat("*")?(g.tokenize=H(1),g.tokenize(v,g)):!1}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});function c(v){return function(g,D){for(var K=!1,$,pe=!1;!g.eol();){if(!v&&!K&&g.match('"')){pe=!0;break}if(v&&g.match('"""')){pe=!0;break}$=g.next(),!K&&$=="$"&&g.match("{")&&g.skipTo("}"),K=!K&&$=="\\"&&!v}return(pe||!v)&&(D.tokenize=null),"string"}}me("text/x-kotlin",{name:"clike",keywords:M("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:M("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:M("catch class do else finally for if where try while enum"),defKeywords:M("class val var object interface fun"),atoms:M("true false null this"),hooks:{"@":function(v){return v.eatWhile(/[\w\$_]/),"meta"},"*":function(v,g){return g.prevToken=="."?"variable":"operator"},'"':function(v,g){return g.tokenize=c(v.match('""')),g.tokenize(v,g)},"/":function(v,g){return v.eat("*")?(g.tokenize=H(1),g.tokenize(v,g)):!1},indent:function(v,g,D,K){var $=D&&D.charAt(0);if((v.prevToken=="}"||v.prevToken==")")&&D=="")return v.indented;if(v.prevToken=="operator"&&D!="}"&&v.context.type!="}"||v.prevToken=="variable"&&$=="."||(v.prevToken=="}"||v.prevToken==")")&&$==".")return K*2+g.indented;if(g.align&&g.type=="}")return g.indented+(v.context.type==(D||"").charAt(0)?0:K)}},modeProps:{closeBrackets:{triples:'"'}}}),me(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:M("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:M("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:M("for while do if else struct"),builtin:M("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:M("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:{"#":oe},modeProps:{fold:["brace","include"]}}),me("text/x-nesc",{name:"clike",keywords:M(_+" 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:Te,blockKeywords:M(ae),atoms:M("null true false"),hooks:{"#":oe},modeProps:{fold:["brace","include"]}}),me("text/x-objectivec",{name:"clike",keywords:M(_+" "+q),types:Oe,builtin:M(se),blockKeywords:M(ae+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:M(V+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:M("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:_e,hooks:{"#":oe,"*":xe},modeProps:{fold:["brace","include"]}}),me("text/x-objectivec++",{name:"clike",keywords:M(_+" "+q+" "+ie),types:Oe,builtin:M(se),blockKeywords:M(ae+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:M(V+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:M("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:_e,hooks:{"#":oe,"*":xe,u:Me,U:Me,L:Me,R:Me,0:ye,1:ye,2:ye,3:ye,4:ye,5:ye,6:ye,7:ye,8:ye,9:ye,token:function(v,g,D){if(D=="variable"&&v.peek()=="("&&(g.prevToken==";"||g.prevToken==null||g.prevToken=="}")&&He(v.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),me("text/x-squirrel",{name:"clike",keywords:M("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:Te,blockKeywords:M("case catch class else for foreach if switch try while"),defKeywords:M("function local class"),typeFirstDefinitions:!0,atoms:M("true false null"),hooks:{"#":oe},modeProps:{fold:["brace","include"]}});var x=null;function b(v){return function(g,D){for(var K=!1,$,pe=!1;!g.eol();){if(!K&&g.match('"')&&(v=="single"||g.match('""'))){pe=!0;break}if(!K&&g.match("``")){x=b(v),pe=!0;break}$=g.next(),K=v=="single"&&!K&&$=="\\"}return pe&&(D.tokenize=null),"string"}}me("text/x-ceylon",{name:"clike",keywords:M("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(v){var g=v.charAt(0);return g===g.toUpperCase()&&g!==g.toLowerCase()},blockKeywords:M("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:M("class dynamic function interface module object package value"),builtin:M("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:M("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(v){return v.eatWhile(/[\w\$_]/),"meta"},'"':function(v,g){return g.tokenize=b(v.match('""')?"triple":"single"),g.tokenize(v,g)},"`":function(v,g){return!x||!v.match("`")?!1:(g.tokenize=x,x=null,g.tokenize(v,g))},"'":function(v){return v.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(v,g,D){if((D=="variable"||D=="type")&&g.prevToken==".")return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})})();export{Su as default};
diff --git a/reports/1569/merge/8276581324/1/trace/assets/wsPort-1c3b5f20.js b/reports/1569/merge/8276581324/1/trace/assets/wsPort-1c3b5f20.js
new file mode 100644
index 0000000..0217bec
--- /dev/null
+++ b/reports/1569/merge/8276581324/1/trace/assets/wsPort-1c3b5f20.js
@@ -0,0 +1,57 @@
+var kp=Object.defineProperty;var Tp=(e,t,n)=>t in e?kp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ae=(e,t,n)=>(Tp(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 _w=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Np(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ac={exports:{}},Ls={},Mc={exports:{}},D={};/**
+ * @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 ri=Symbol.for("react.element"),Cp=Symbol.for("react.portal"),bp=Symbol.for("react.fragment"),Lp=Symbol.for("react.strict_mode"),Ap=Symbol.for("react.profiler"),Mp=Symbol.for("react.provider"),Pp=Symbol.for("react.context"),Ip=Symbol.for("react.forward_ref"),Rp=Symbol.for("react.suspense"),$p=Symbol.for("react.memo"),Op=Symbol.for("react.lazy"),za=Symbol.iterator;function zp(e){return e===null||typeof e!="object"?null:(e=za&&e[za]||e["@@iterator"],typeof e=="function"?e:null)}var Pc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ic=Object.assign,Rc={};function Zn(e,t,n){this.props=e,this.context=t,this.refs=Rc,this.updater=n||Pc}Zn.prototype.isReactComponent={};Zn.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")};Zn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function $c(){}$c.prototype=Zn.prototype;function Il(e,t,n){this.props=e,this.context=t,this.refs=Rc,this.updater=n||Pc}var Rl=Il.prototype=new $c;Rl.constructor=Il;Ic(Rl,Zn.prototype);Rl.isPureReactComponent=!0;var Da=Array.isArray,Oc=Object.prototype.hasOwnProperty,$l={current:null},zc={key:!0,ref:!0,__self:!0,__source:!0};function Dc(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)Oc.call(t,r)&&!zc.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 ii(){const e=on.useRef(null),[t,n]=on.useState(new DOMRect(0,0,10,10));return on.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 Ke(e){if(!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 Kp(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 Uc(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 Gp(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 Zi(e,t){const n=e?zr.getObject(e,t):t,[r,i]=on.useState(n);return[r,o=>{e&&zr.setObject(e,o),i(o)}]}class Jp{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 zr=new Jp;function Ew(){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=zr.getString("theme","light-mode"),t=window.matchMedia("(prefers-color-scheme: dark)");(e==="dark-mode"||t.matches)&&document.body.classList.add("dark-mode")}const Dl=new Set;function kw(){const e=zr.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),zr.setString("theme",t);for(const n of Dl)n(t)}function Tw(e){Dl.add(e)}function Nw(e){Dl.delete(e)}function Cw(){return document.body.classList.contains("dark-mode")?"dark-mode":"light-mode"}var Hc={exports:{}},Ve={},Vc={exports:{}},Bc={};/**
+ * @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,z){var O=I.length;I.push(z);e:for(;0>>1,te=I[X];if(0>>1;Xi(Yt,O))vti(_n,Yt)?(I[X]=_n,I[vt]=O,X=vt):(I[X]=Yt,I[gt]=O,X=gt);else if(vti(_n,O))I[X]=_n,I[vt]=O,X=vt;else break e}}return z}function i(I,z){var O=I.sortIndex-z.sortIndex;return O!==0?O:I.id-z.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,p=null,d=3,v=!1,w=!1,S=!1,x=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(I){for(var z=n(u);z!==null;){if(z.callback===null)r(u);else if(z.startTime<=I)r(u),z.sortIndex=z.expirationTime,t(a,z);else break;z=n(u)}}function _(I){if(S=!1,g(I),!w)if(n(a)!==null)w=!0,be(k);else{var z=n(u);z!==null&&Le(_,z.startTime-I)}}function k(I,z){w=!1,S&&(S=!1,h(E),E=-1),v=!0;var O=d;try{for(g(z),p=n(a);p!==null&&(!(p.expirationTime>z)||I&&!$());){var X=p.callback;if(typeof X=="function"){p.callback=null,d=p.priorityLevel;var te=X(p.expirationTime<=z);z=e.unstable_now(),typeof te=="function"?p.callback=te:p===n(a)&&r(a),g(z)}else r(a);p=n(a)}if(p!==null)var Sn=!0;else{var gt=n(u);gt!==null&&Le(_,gt.startTime-z),Sn=!1}return Sn}finally{p=null,d=O,v=!1}}var N=!1,C=null,E=-1,y=5,M=-1;function $(){return!(e.unstable_now()-MI||125X?(I.sortIndex=O,t(u,I),n(a)===null&&I===n(u)&&(S?(h(E),E=-1):S=!0,Le(_,O-X))):(I.sortIndex=te,t(a,I),w||v||(w=!0,be(k))),I},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(I){var z=d;return function(){var O=d;d=z;try{return I.apply(this,arguments)}finally{d=O}}}})(Bc);Vc.exports=Bc;var Yp=Vc.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 jc=A,He=Yp;function b(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"),Ao=Object.prototype.hasOwnProperty,Zp=/^[: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]*$/,Ua={},Ha={};function em(e){return Ao.call(Ha,e)?!0:Ao.call(Ua,e)?!1:Zp.test(e)?Ha[e]=!0:(Ua[e]=!0,!1)}function tm(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 nm(e,t,n,r){if(t===null||typeof t>"u"||tm(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 Ce(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 Ce(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 Ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pe[e]=new Ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pe[e]=new Ce(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 Ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pe[e]=new Ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pe[e]=new Ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pe[e]=new Ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pe[e]=new Ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fl=/[\-:]([a-z])/g;function Ul(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(Fl,Ul);pe[t]=new Ce(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(Fl,Ul);pe[t]=new Ce(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(Fl,Ul);pe[t]=new Ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pe[e]=new Ce(e,1,!1,e.toLowerCase(),null,!1,!1)});pe.xlinkHref=new Ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pe[e]=new Ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hl(e,t,n,r){var i=pe.hasOwnProperty(t)?pe[t]:null;(i!==null?i.type!==0:r||!(2l||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{eo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_r(e):""}function rm(e){switch(e.tag){case 5:return _r(e.type);case 16:return _r("Lazy");case 13:return _r("Suspense");case 19:return _r("SuspenseList");case 0:case 2:case 15:return e=to(e.type,!1),e;case 11:return e=to(e.type.render,!1),e;case 1:return e=to(e.type,!0),e;default:return""}}function Ro(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 bn:return"Fragment";case Cn:return"Portal";case Mo:return"Profiler";case Vl:return"StrictMode";case Po:return"Suspense";case Io:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Xc:return(e.displayName||"Context")+".Consumer";case Wc:return(e._context.displayName||"Context")+".Provider";case Bl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jl:return t=e.displayName||null,t!==null?t:Ro(e.type)||"Memo";case Mt:t=e._payload,e=e._init;try{return Ro(e(t))}catch{}}return null}function im(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 Ro(t);case 8:return t===Vl?"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 qt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Kc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sm(e){var t=Kc(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 mi(e){e._valueTracker||(e._valueTracker=sm(e))}function Gc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Kc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function es(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 $o(e,t){var n=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ba(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=qt(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 Jc(e,t){t=t.checked,t!=null&&Hl(e,"checked",t,!1)}function Oo(e,t){Jc(e,t);var n=qt(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")?zo(e,t.type,n):t.hasOwnProperty("defaultValue")&&zo(e,t.type,qt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ja(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 zo(e,t,n){(t!=="number"||es(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Er=Array.isArray;function Hn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=gi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var br={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},om=["Webkit","ms","Moz","O"];Object.keys(br).forEach(function(e){om.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),br[t]=br[e]})});function td(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||br.hasOwnProperty(e)&&br[e]?(""+t).trim():t+"px"}function nd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=td(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var lm=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 Uo(e,t){if(t){if(lm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(b(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(b(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(b(61))}if(t.style!=null&&typeof t.style!="object")throw Error(b(62))}}function Ho(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 Vo=null;function ql(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Bo=null,Vn=null,Bn=null;function Xa(e){if(e=li(e)){if(typeof Bo!="function")throw Error(b(280));var t=e.stateNode;t&&(t=Rs(t),Bo(e.stateNode,e.type,t))}}function rd(e){Vn?Bn?Bn.push(e):Bn=[e]:Vn=e}function id(){if(Vn){var e=Vn,t=Bn;if(Bn=Vn=null,Xa(e),t)for(e=0;e>>=0,e===0?32:31-(wm(e)/ym|0)|0}var vi=64,wi=4194304;function kr(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 is(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=kr(l):(s&=o,s!==0&&(r=kr(s)))}else o=n&~i,o!==0?r=kr(o):s!==0&&(r=kr(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;0n;n++)t.push(e);return t}function si(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-st(t),e[t]=n}function Em(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=Ar),nu=String.fromCharCode(32),ru=!1;function kd(e,t){switch(e){case"keyup":return Jm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Td(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function Zm(e,t){switch(e){case"compositionend":return Td(t);case"keypress":return t.which!==32?null:(ru=!0,nu);case"textInput":return e=t.data,e===nu&&ru?null:e;default:return null}}function eg(e,t){if(Ln)return e==="compositionend"||!Zl&&kd(e,t)?(e=_d(),Fi=Gl=zt=null,Ln=!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=lu(n)}}function Ld(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ld(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ad(){for(var e=window,t=es();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=es(e.document)}return t}function ea(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 ug(e){var t=Ad(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ld(n.ownerDocument.documentElement,n)){if(r!==null&&ea(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=au(n,s);var o=au(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,An=null,Ko=null,Pr=null,Go=!1;function uu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Go||An==null||An!==es(r)||(r=An,"selectionStart"in r&&ea(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}),Pr&&qr(Pr,r)||(Pr=r,r=ls(Ko,"onSelect"),0In||(e.current=nl[In],nl[In]=null,In--)}function V(e,t){In++,nl[In]=e.current,e.current=t}var Wt={},xe=Gt(Wt),$e=Gt(!1),hn=Wt;function Qn(e,t){var n=e.type.contextTypes;if(!n)return Wt;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 Oe(e){return e=e.childContextTypes,e!=null}function us(){q($e),q(xe)}function gu(e,t,n){if(xe.current!==Wt)throw Error(b(168));V(xe,t),V($e,n)}function Fd(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(b(108,im(e)||"Unknown",i));return J({},n,r)}function cs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wt,hn=xe.current,V(xe,e),V($e,$e.current),!0}function vu(e,t,n){var r=e.stateNode;if(!r)throw Error(b(169));n?(e=Fd(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,q($e),q(xe),V(xe,e)):q($e),V($e,n)}var St=null,$s=!1,go=!1;function Ud(e){St===null?St=[e]:St.push(e)}function Sg(e){$s=!0,Ud(e)}function Jt(){if(!go&&St!==null){go=!0;var e=0,t=H;try{var n=St;for(H=1;e>=o,i-=o,Et=1<<32-st(t)+i|n<E?(y=C,C=null):y=C.sibling;var M=d(h,C,g[E],_);if(M===null){C===null&&(C=y);break}e&&C&&M.alternate===null&&t(h,C),f=s(M,f,E),N===null?k=M:N.sibling=M,N=M,C=y}if(E===g.length)return n(h,C),W&&en(h,E),k;if(C===null){for(;EE?(y=C,C=null):y=C.sibling;var $=d(h,C,M.value,_);if($===null){C===null&&(C=y);break}e&&C&&$.alternate===null&&t(h,C),f=s($,f,E),N===null?k=$:N.sibling=$,N=$,C=y}if(M.done)return n(h,C),W&&en(h,E),k;if(C===null){for(;!M.done;E++,M=g.next())M=p(h,M.value,_),M!==null&&(f=s(M,f,E),N===null?k=M:N.sibling=M,N=M);return W&&en(h,E),k}for(C=r(h,C);!M.done;E++,M=g.next())M=v(C,h,E,M.value,_),M!==null&&(e&&M.alternate!==null&&C.delete(M.key===null?E:M.key),f=s(M,f,E),N===null?k=M:N.sibling=M,N=M);return e&&C.forEach(function(T){return t(h,T)}),W&&en(h,E),k}function x(h,f,g,_){if(typeof g=="object"&&g!==null&&g.type===bn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case pi:e:{for(var k=g.key,N=f;N!==null;){if(N.key===k){if(k=g.type,k===bn){if(N.tag===7){n(h,N.sibling),f=i(N,g.props.children),f.return=h,h=f;break e}}else if(N.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Mt&&ku(k)===N.type){n(h,N.sibling),f=i(N,g.props),f.ref=hr(h,N,g),f.return=h,h=f;break e}n(h,N);break}else t(h,N);N=N.sibling}g.type===bn?(f=an(g.props.children,h.mode,_,g.key),f.return=h,h=f):(_=Wi(g.type,g.key,g.props,null,h.mode,_),_.ref=hr(h,f,g),_.return=h,h=_)}return o(h);case Cn:e:{for(N=g.key;f!==null;){if(f.key===N)if(f.tag===4&&f.stateNode.containerInfo===g.containerInfo&&f.stateNode.implementation===g.implementation){n(h,f.sibling),f=i(f,g.children||[]),f.return=h,h=f;break e}else{n(h,f);break}else t(h,f);f=f.sibling}f=Eo(g,h.mode,_),f.return=h,h=f}return o(h);case Mt:return N=g._init,x(h,f,N(g._payload),_)}if(Er(g))return w(h,f,g,_);if(lr(g))return S(h,f,g,_);ki(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,f!==null&&f.tag===6?(n(h,f.sibling),f=i(f,g),f.return=h,h=f):(n(h,f),f=_o(g,h.mode,_),f.return=h,h=f),o(h)):n(h,f)}return x}var Gn=Wd(!0),Xd=Wd(!1),ai={},pt=Gt(ai),Kr=Gt(ai),Gr=Gt(ai);function sn(e){if(e===ai)throw Error(b(174));return e}function aa(e,t){switch(V(Gr,t),V(Kr,e),V(pt,ai),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Fo(t,e)}q(pt),V(pt,t)}function Jn(){q(pt),q(Kr),q(Gr)}function Qd(e){sn(Gr.current);var t=sn(pt.current),n=Fo(t,e.type);t!==n&&(V(Kr,e),V(pt,n))}function ua(e){Kr.current===e&&(q(pt),q(Kr))}var K=Gt(0);function gs(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 vo=[];function ca(){for(var e=0;en?n:4,e(!0);var r=wo.transition;wo.transition={};try{e(!1),t()}finally{H=n,wo.transition=r}}function cf(){return Ze().memoizedState}function Tg(e,t,n){var r=jt(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},df(e)?ff(t,n):(hf(e,t,n),n=Te(),e=Je(e,r,n),e!==null&&pf(e,t,r))}function Ng(e,t,n){var r=jt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(df(e))ff(t,i);else{hf(e,t,i);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,lt(l,o))return}catch{}finally{}n=Te(),e=Je(e,r,n),e!==null&&pf(e,t,r)}}function df(e){var t=e.alternate;return e===G||t!==null&&t===G}function ff(e,t){Ir=vs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hf(e,t,n){Mf(e)?(e=t.interleaved,e===null?(n.next=n,it===null?it=[t]:it.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(e=t.pending,e===null?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function pf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xl(e,n)}}var ws={readContext:Ye,useCallback:me,useContext:me,useEffect:me,useImperativeHandle:me,useInsertionEffect:me,useLayoutEffect:me,useMemo:me,useReducer:me,useRef:me,useState:me,useDebugValue:me,useDeferredValue:me,useTransition:me,useMutableSource:me,useSyncExternalStore:me,useId:me,unstable_isNewReconciler:!1},Cg={readContext:Ye,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:Ye,useEffect:Nu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bi(4194308,4,sf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(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=Tg.bind(null,G,e),[r.memoizedState,e]},useRef:function(e){var t=dt();return e={current:e},t.memoizedState=e},useState:Tu,useDebugValue:ma,useDeferredValue:function(e){return dt().memoizedState=e},useTransition:function(){var e=Tu(!1),t=e[0];return e=kg.bind(null,e[1]),dt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=G,i=dt();if(W){if(n===void 0)throw Error(b(407));n=n()}else{if(n=t(),le===null)throw Error(b(349));mn&30||Jd(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,Nu(Zd.bind(null,r,s,e),[e]),r.flags|=2048,Zr(9,Yd.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=dt(),t=le.identifierPrefix;if(W){var n=kt,r=Et;n=(r&~(1<<32-st(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Jr++,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[ft]=t,e[Qr]=r,vf(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ho(n,r),n){case"dialog":j("cancel",e),j("close",e),i=r;break;case"iframe":case"object":case"embed":j("load",e),i=r;break;case"video":case"audio":for(i=0;iYn&&(t.flags|=128,r=!0,pr(s,!1),t.lanes=4194304)}else{if(!r)if(e=gs(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),pr(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!W)return ge(t),null}else 2*Z()-s.renderingStartTime>Yn&&n!==1073741824&&(t.flags|=128,r=!0,pr(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=Z(),t.sibling=null,n=K.current,V(K,r?n&1|2:n&1),t):(ge(t),null);case 22:case 23:return Sa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Fe&1073741824&&(ge(t),t.subtreeFlags&6&&(t.flags|=8192)):ge(t),null;case 24:return null;case 25:return null}throw Error(b(156,t.tag))}var Pg=Lt.ReactCurrentOwner,Re=!1;function _e(e,t,n,r){t.child=e===null?Xd(t,null,n,r):Gn(t,e.child,n,r)}function Au(e,t,n,r,i){n=n.render;var s=t.ref;return qn(t,i),r=fa(e,t,n,r,s,i),n=ha(),e!==null&&!Re?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,bt(e,t,i)):(W&&n&&sa(t),t.flags|=1,_e(e,t,r,i),t.child)}function Mu(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Ea(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,xf(e,t,s,r,i)):(e=Wi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:qr,n(o,r)&&e.ref===t.ref)return bt(e,t,i)}return t.flags|=1,e=Xt(s,r),e.ref=t.ref,e.return=t,t.child=e}function xf(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(qr(s,r)&&e.ref===t.ref)if(Re=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(Re=!0);else return t.lanes=e.lanes,bt(e,t,i)}return cl(e,t,n,r,i)}function Sf(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},V(Dn,Fe),Fe|=n;else if(n&1073741824)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,V(Dn,Fe),Fe|=r;else return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,V(Dn,Fe),Fe|=e,null;else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,V(Dn,Fe),Fe|=r;return _e(e,t,i,n),t.child}function _f(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function cl(e,t,n,r,i){var s=Oe(n)?hn:xe.current;return s=Qn(t,s),qn(t,i),n=fa(e,t,n,r,s,i),r=ha(),e!==null&&!Re?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,bt(e,t,i)):(W&&r&&sa(t),t.flags|=1,_e(e,t,n,i),t.child)}function Pu(e,t,n,r,i){if(Oe(n)){var s=!0;cs(t)}else s=!1;if(qn(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Bd(t,n,r),sl(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var a=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ye(u):(u=Oe(n)?hn:xe.current,u=Qn(t,u));var c=n.getDerivedStateFromProps,p=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";p||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Su(t,o,r,u),Pt=!1;var d=t.memoizedState;o.state=d,hs(t,r,o,i),a=t.memoizedState,l!==r||d!==a||$e.current||Pt?(typeof c=="function"&&(il(t,n,c,r),a=t.memoizedState),(l=Pt||xu(t,n,l,r,d,a,u))?(p||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),o.props=r,o.state=a,o.context=u,r=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Hd(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:tt(t.type,l),o.props=u,p=t.pendingProps,d=o.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ye(a):(a=Oe(n)?hn:xe.current,a=Qn(t,a));var v=n.getDerivedStateFromProps;(c=typeof v=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==p||d!==a)&&Su(t,o,r,a),Pt=!1,d=t.memoizedState,o.state=d,hs(t,r,o,i);var w=t.memoizedState;l!==p||d!==w||$e.current||Pt?(typeof v=="function"&&(il(t,n,v,r),w=t.memoizedState),(u=Pt||xu(t,n,u,r,d,w,a)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,a),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,a)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=a,r=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return dl(e,t,n,r,s,i)}function dl(e,t,n,r,i,s){_f(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&vu(t,n,!1),bt(e,t,s);r=t.stateNode,Pg.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Gn(t,e.child,null,s),t.child=Gn(t,null,l,s)):_e(e,t,l,s),t.memoizedState=r.state,i&&vu(t,n,!0),t.child}function Ef(e){var t=e.stateNode;t.pendingContext?gu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gu(e,t.context,!1),aa(e,t.containerInfo)}function Iu(e,t,n,r,i){return Kn(),la(i),t.flags|=256,_e(e,t,n,r),t.child}var Ti={dehydrated:null,treeContext:null,retryLane:0};function Ni(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ru(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function kf(e,t,n){var r=t.pendingProps,i=K.current,s=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),V(K,i&1),e===null)return ll(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=Es(i,r,0,null),e=an(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ni(n),t.memoizedState=Ti,e):fl(t,i));if(i=e.memoizedState,i!==null){if(l=i.dehydrated,l!==null){if(o)return t.flags&256?(t.flags&=-257,Ci(e,t,n,Error(b(422)))):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Es({mode:"visible",children:r.children},i,0,null),s=an(s,i,n,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Gn(t,e.child,null,n),t.child.memoizedState=Ni(n),t.memoizedState=Ti,s);if(!(t.mode&1))t=Ci(e,t,n,null);else if(l.data==="$!")t=Ci(e,t,n,Error(b(419)));else if(r=(n&e.childLanes)!==0,Re||r){if(r=le,r!==null){switch(n&-n){case 4:s=2;break;case 16:s=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}r=s&(r.suspendedLanes|n)?0:s,r!==0&&r!==i.retryLane&&(i.retryLane=r,Je(e,r,-1))}_a(),t=Ci(e,t,n,Error(b(421)))}else l.data==="$?"?(t.flags|=128,t.child=e.child,t=jg.bind(null,e),l._reactRetry=t,t=null):(n=i.treeContext,Ie=_t(l.nextSibling),Ue=t,W=!0,rt=null,n!==null&&(qe[We++]=Et,qe[We++]=kt,qe[We++]=pn,Et=n.id,kt=n.overflow,pn=t),t=fl(t,t.pendingProps.children),t.flags|=4096);return t}return s?(r=Ou(e,t,r.children,r.fallback,n),s=t.child,i=e.child.memoizedState,s.memoizedState=i===null?Ni(n):Ru(i,n),s.childLanes=e.childLanes&~n,t.memoizedState=Ti,r):(n=$u(e,t,r.children,n),t.memoizedState=null,n)}return s?(r=Ou(e,t,r.children,r.fallback,n),s=t.child,i=e.child.memoizedState,s.memoizedState=i===null?Ni(n):Ru(i,n),s.childLanes=e.childLanes&~n,t.memoizedState=Ti,r):(n=$u(e,t,r.children,n),t.memoizedState=null,n)}function fl(e,t){return t=Es({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function $u(e,t,n,r){var i=e.child;return e=i.sibling,n=Xt(i,{mode:"visible",children:n}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function Ou(e,t,n,r,i){var s=t.mode;e=e.child;var o=e.sibling,l={mode:"hidden",children:n};return!(s&1)&&t.child!==e?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=Xt(e,l),n.subtreeFlags=e.subtreeFlags&14680064),o!==null?r=Xt(o,r):(r=an(r,s,i,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Ci(e,t,n,r){return r!==null&&la(r),Gn(t,e.child,null,n),e=fl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function zu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),rl(e.return,t,n)}function So(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Tf(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(_e(e,t,r.children,n),r=K.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&zu(e,n,t);else if(e.tag===19)zu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(V(K,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&gs(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),So(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&gs(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}So(t,!0,n,null,s);break;case"together":So(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function bt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),gn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(b(153));if(t.child!==null){for(e=t.child,n=Xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ig(e,t,n){switch(t.tag){case 3:Ef(t),Kn();break;case 5:Qd(t);break;case 1:Oe(t.type)&&cs(t);break;case 4:aa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;V(ds,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(V(K,K.current&1),t.flags|=128,null):n&t.child.childLanes?kf(e,t,n):(V(K,K.current&1),e=bt(e,t,n),e!==null?e.sibling:null);V(K,K.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Tf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),V(K,K.current),r)break;return null;case 22:case 23:return t.lanes=0,Sf(e,t,n)}return bt(e,t,n)}function Rg(e,t){switch(oa(t),t.tag){case 1:return Oe(t.type)&&us(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jn(),q($e),q(xe),ca(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ua(t),null;case 13:if(q(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(b(340));Kn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return q(K),null;case 4:return Jn(),null;case 10:return ra(t.type._context),null;case 22:case 23:return Sa(),null;case 24:return null;default:return null}}var bi=!1,we=!1,$g=typeof WeakSet=="function"?WeakSet:Set,R=null;function zn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Y(e,t,r)}else n.current=null}function hl(e,t,n){try{n()}catch(r){Y(e,t,r)}}var Du=!1;function Og(e,t){if(Jo=ss,e=Ad(),ea(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,p=e,d=null;t:for(;;){for(var v;p!==n||i!==0&&p.nodeType!==3||(l=o+i),p!==s||r!==0&&p.nodeType!==3||(a=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(v=p.firstChild)!==null;)d=p,p=v;for(;;){if(p===e)break t;if(d===n&&++u===i&&(l=o),d===s&&++c===r&&(a=o),(v=p.nextSibling)!==null)break;p=d,d=p.parentNode}p=v}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Yo={focusedElem:e,selectionRange:n},ss=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;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 S=w.memoizedProps,x=w.memoizedState,h=t.stateNode,f=h.getSnapshotBeforeUpdate(t.elementType===t.type?S:tt(t.type,S),x);h.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var g=t.stateNode.containerInfo;if(g.nodeType===1)g.textContent="";else if(g.nodeType===9){var _=g.body;_!=null&&(_.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(b(163))}}catch(k){Y(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return w=Du,Du=!1,w}function Rr(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&&hl(t,n,s)}i=i.next}while(i!==r)}}function Ds(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 pl(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 Nf(e){var t=e.alternate;t!==null&&(e.alternate=null,Nf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ft],delete t[Qr],delete t[tl],delete t[yg],delete t[xg])),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 Cf(e){return e.tag===5||e.tag===3||e.tag===4}function Fu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Cf(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 ml(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=as));else if(r!==4&&(e=e.child,e!==null))for(ml(e,t,n),e=e.sibling;e!==null;)ml(e,t,n),e=e.sibling}function gl(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(gl(e,t,n),e=e.sibling;e!==null;)gl(e,t,n),e=e.sibling}var de=null,nt=!1;function At(e,t,n){for(n=n.child;n!==null;)bf(e,t,n),n=n.sibling}function bf(e,t,n){if(ht&&typeof ht.onCommitFiberUnmount=="function")try{ht.onCommitFiberUnmount(As,n)}catch{}switch(n.tag){case 5:we||zn(n,t);case 6:var r=de,i=nt;de=null,At(e,t,n),de=r,nt=i,de!==null&&(nt?(e=de,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):de.removeChild(n.stateNode));break;case 18:de!==null&&(nt?(e=de,n=n.stateNode,e.nodeType===8?mo(e.parentNode,n):e.nodeType===1&&mo(e,n),Br(e)):mo(de,n.stateNode));break;case 4:r=de,i=nt,de=n.stateNode.containerInfo,nt=!0,At(e,t,n),de=r,nt=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)&&hl(n,t,o),i=i.next}while(i!==r)}At(e,t,n);break;case 1:if(!we&&(zn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Y(n,t,l)}At(e,t,n);break;case 21:At(e,t,n);break;case 22:n.mode&1?(we=(r=we)||n.memoizedState!==null,At(e,t,n),we=r):At(e,t,n);break;default:At(e,t,n)}}function Uu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $g),t.forEach(function(r){var i=qg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function et(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~s}if(r=i,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Dg(r/1960))-r,10e?16:e,Dt===null)var r=!1;else{if(e=Dt,Dt=null,Ss=0,F&6)throw Error(b(331));var i=F;for(F|=4,R=e.current;R!==null;){var s=R,o=s.child;if(R.flags&16){var l=s.deletions;if(l!==null){for(var a=0;aZ()-ya?ln(e,0):wa|=n),ze(e,t)}function zf(e,t){t===0&&(e.mode&1?(t=wi,wi<<=1,!(wi&130023424)&&(wi=4194304)):t=1);var n=Te();e=Us(e,t),e!==null&&(si(e,t,n),ze(e,n))}function jg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zf(e,n)}function qg(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(b(314))}r!==null&&r.delete(t),zf(e,n)}var Df;Df=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$e.current)Re=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Re=!1,Ig(e,t,n);Re=!!(e.flags&131072)}else Re=!1,W&&t.flags&1048576&&jd(t,ms,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var i=Qn(t,xe.current);qn(t,n),i=fa(null,t,r,e,i,n);var s=ha();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,Oe(r)?(s=!0,cs(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ia(t),i.updater=Os,t.stateNode=i,i._reactInternals=t,sl(t,r,e,n),t=dl(null,t,r,!0,s,n)):(t.tag=0,W&&s&&sa(t),_e(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Xg(r),e=tt(r,e),i){case 0:t=cl(null,t,r,e,n);break e;case 1:t=Pu(null,t,r,e,n);break e;case 11:t=Au(null,t,r,e,n);break e;case 14:t=Mu(null,t,r,tt(r.type,e),n);break e}throw Error(b(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),cl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),Pu(e,t,r,i,n);case 3:e:{if(Ef(t),e===null)throw Error(b(387));r=t.pendingProps,s=t.memoizedState,i=s.element,Hd(e,t),hs(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=Error(b(423)),t=Iu(e,t,r,n,i);break e}else if(r!==i){i=Error(b(424)),t=Iu(e,t,r,n,i);break e}else for(Ie=_t(t.stateNode.containerInfo.firstChild),Ue=t,W=!0,rt=null,n=Xd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Kn(),r===i){t=bt(e,t,n);break e}_e(e,t,r,n)}t=t.child}return t;case 5:return Qd(t),e===null&&ll(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Zo(r,i)?o=null:s!==null&&Zo(r,s)&&(t.flags|=32),_f(e,t),_e(e,t,o,n),t.child;case 6:return e===null&&ll(t),null;case 13:return kf(e,t,n);case 4:return aa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Gn(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:tt(r,i),Au(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,V(ds,r._currentValue),r._currentValue=o,s!==null)if(lt(s.value,o)){if(s.children===i.children&&!$e.current){t=bt(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=Tt(-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),rl(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(b(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),rl(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,qn(t,n),i=Ye(i),r=r(i),t.flags|=1,_e(e,t,r,n),t.child;case 14:return r=t.type,i=tt(r,t.pendingProps),i=tt(r.type,i),Mu(e,t,r,i,n);case 15:return xf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Oe(r)?(e=!0,cs(t)):e=!1,qn(t,n),Bd(t,r,i),sl(t,r,i,n),dl(null,t,r,!0,e,n);case 19:return Tf(e,t,n);case 22:return Sf(e,t,n)}throw Error(b(156,t.tag))};function Ff(e,t){return dd(e,t)}function Wg(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 Qe(e,t,n,r){return new Wg(e,t,n,r)}function Ea(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Xg(e){if(typeof e=="function")return Ea(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Bl)return 11;if(e===jl)return 14}return 2}function Xt(e,t){var n=e.alternate;return n===null?(n=Qe(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 Wi(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Ea(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case bn:return an(n.children,i,s,t);case Vl:o=8,i|=8;break;case Mo:return e=Qe(12,n,t,i|2),e.elementType=Mo,e.lanes=s,e;case Po:return e=Qe(13,n,t,i),e.elementType=Po,e.lanes=s,e;case Io:return e=Qe(19,n,t,i),e.elementType=Io,e.lanes=s,e;case Qc:return Es(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wc:o=10;break e;case Xc:o=9;break e;case Bl:o=11;break e;case jl:o=14;break e;case Mt:o=16,r=null;break e}throw Error(b(130,e==null?e:typeof e,""))}return t=Qe(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function an(e,t,n,r){return e=Qe(7,e,r,t),e.lanes=n,e}function Es(e,t,n,r){return e=Qe(22,e,r,t),e.elementType=Qc,e.lanes=n,e.stateNode={},e}function _o(e,t,n){return e=Qe(6,e,null,t),e.lanes=n,e}function Eo(e,t,n){return t=Qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qg(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=ro(0),this.expirationTimes=ro(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ro(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ka(e,t,n,r,i,s,o,l,a){return e=new Qg(e,t,n,l,a),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Qe(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ia(s),e}function Kg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bf)}catch(e){console.error(e)}}Bf(),Hc.exports=Ve;var bw=Hc.exports;const un=({children:e,title:t="",icon:n,disabled:r=!1,toggled:i=!1,onClick:s=()=>{},style:o})=>{let l=`toolbar-button ${n}`;return i&&(l+=" toggled"),L("button",{className:l,onMouseDown:Qu,onClick:s,onDoubleClick:Qu,title:t,disabled:!!r,style:o,children:[n&&m("span",{className:`codicon codicon-${n}`,style:e?{marginRight:5}:{}}),e]})},Qu=e=>{e.stopPropagation(),e.preventDefault()},Xi=Symbol("context"),jf=Symbol("next"),qf=Symbol("prev"),Ku=Symbol("events");class Lw{constructor(t){ae(this,"startTime");ae(this,"endTime");ae(this,"browserName");ae(this,"channel");ae(this,"platform");ae(this,"wallTime");ae(this,"title");ae(this,"options");ae(this,"pages");ae(this,"actions");ae(this,"events");ae(this,"stdio");ae(this,"hasSource");ae(this,"sdkLanguage");ae(this,"testIdAttributeName");ae(this,"sources");ae(this,"resources");t.forEach(r=>e1(r));const n=t.find(r=>r.isPrimary);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.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.pages=[].concat(...t.map(r=>r.pages)),this.actions=t1(t),this.events=[].concat(...t.map(r=>r.events)),this.stdio=[].concat(...t.map(r=>r.stdio)),this.hasSource=t.some(r=>r.hasSource),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.sources=l1(this.actions)}failedAction(){return this.actions.findLast(t=>t.error)}}function e1(e){for(const n of e.pages)n[Xi]=e;for(let n=0;n=0;n--){const r=e.actions[n];r[jf]=t,r.apiName.includes("route.")||(t=r)}for(const n of e.events)n[Xi]=e}function t1(e){const t=new Map;let n=0;const r=e.filter(l=>l.isPrimary),i=e.filter(l=>!l.isPrimary);for(const l of r){for(const a of l.actions)t.set(`${a.apiName}@${a.wallTime}`,{...a,context:l});!n&&l.actions.length&&(n=l.actions[0].startTime-l.actions[0].wallTime)}const s=new Map;for(const l of i)for(const a of l.actions){if(n){const p=a.endTime-a.startTime;a.startTime&&(a.startTime=a.wallTime+n),a.endTime&&(a.endTime=a.startTime+p)}const u=`${a.apiName}@${a.wallTime}`,c=t.get(u);if(c&&c.apiName===a.apiName){s.set(a.callId,c.callId),a.error&&(c.error=a.error),a.attachments&&(c.attachments=a.attachments),a.parentId&&(c.parentId=s.get(a.parentId)??a.parentId);continue}a.parentId&&(a.parentId=s.get(a.parentId)??a.parentId),t.set(u,{...a,context:l})}const o=[...t.values()];o.sort((l,a)=>a.parentId===l.callId?-1:l.parentId===a.callId?1:l.wallTime-a.wallTime||l.startTime-a.startTime);for(let l=1;lr.time>=e.startTime&&(!n||r.time{const[l,a]=Zi(s?s+"."+r+":size":void 0,Math.max(i,e)*window.devicePixelRatio),[u,c]=Zi(s?s+"."+r+":size":void 0,Math.max(i,e)*window.devicePixelRatio),[p,d]=A.useState(null),[v,w]=ii();let S;r==="vertical"?(S=u/window.devicePixelRatio,v&&v.heightd({offset:r==="vertical"?f.clientY:f.clientX,size:S}),onMouseUp:()=>d(null),onMouseMove:f=>{if(!f.buttons)d(null);else if(p){const _=(r==="vertical"?f.clientY:f.clientX)-p.offset,k=n?p.size+_:p.size-_,C=f.target.parentElement.getBoundingClientRect(),E=Math.min(Math.max(i,k),(r==="vertical"?C.height:C.width)-i);r==="vertical"?c(E*window.devicePixelRatio):a(E*window.devicePixelRatio)}}})]})};function qs(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 Ts(e){return e.charAt(0).toUpperCase()+e.substring(1)}function Wf(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replace(/([A-Z])([A-Z][a-z])/g,"$1_$2").toLowerCase()}function Xe(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)}function ce(e){return e.replace(/\u200b/g,"").trim().replace(/\s+/g," ")}function Ws(e){return e.replace(/(^|[^\\])(\\\\)*\\(['"`])/g,"$1$2$3")}function Xf(e){return e.unicode||e.unicodeSets?String(e):String(e).replace(/(^|[^\\])(\\\\)*(["'`])/g,"$1$2\\$3").replace(/>>/g,"\\>\\>")}function ot(e,t){return typeof e!="string"?Xf(e):`${JSON.stringify(e)}${t?"s":"i"}`}function Ee(e,t){return typeof e!="string"?Xf(e):`"${e.replace(/\\/g,"\\\\").replace(/["]/g,'\\"')}"${t?"s":"i"}`}function c1(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 Gu(e,t){return c1(e,t,"…")}const ne=function(e,t,n){return e>=t&&e<=n};function Ae(e){return ne(e,48,57)}function Ju(e){return Ae(e)||ne(e,65,70)||ne(e,97,102)}function d1(e){return ne(e,65,90)}function f1(e){return ne(e,97,122)}function h1(e){return d1(e)||f1(e)}function p1(e){return e>=128}function Qi(e){return h1(e)||p1(e)||e===95}function Yu(e){return Qi(e)||Ae(e)||e===45}function m1(e){return ne(e,0,8)||e===11||ne(e,14,31)||e===127}function Ki(e){return e===10}function wt(e){return Ki(e)||e===9||e===32}const g1=1114111;class ba extends Error{constructor(t){super(t),this.name="InvalidCharacterError"}}function v1(e){const t=[];for(let n=0;n=t.length?-1:t[T]},o=function(T){if(T===void 0&&(T=1),T>3)throw"Spec Error: no more than three codepoints of lookahead.";return s(n+T)},l=function(T){return T===void 0&&(T=1),n+=T,i=s(n),!0},a=function(){return n-=1,!0},u=function(T){return T===void 0&&(T=i),T===-1},c=function(){if(p(),l(),wt(i)){for(;wt(o());)l();return new El}else{if(i===34)return w();if(i===35)if(Yu(o())||h(o(1),o(2))){const T=new ah("");return g(o(1),o(2),o(3))&&(T.type="id"),T.value=C(),T}else return new ve(i);else return i===36?o()===61?(l(),new _1):new ve(i):i===39?w():i===40?new rh:i===41?new ih:i===42?o()===61?(l(),new E1):new ve(i):i===43?N()?(a(),d()):new ve(i):i===44?new Zf:i===45?N()?(a(),d()):o(1)===45&&o(2)===62?(l(2),new Gf):_()?(a(),v()):new ve(i):i===46?N()?(a(),d()):new ve(i):i===58?new Jf:i===59?new Yf:i===60?o(1)===33&&o(2)===45&&o(3)===45?(l(3),new Kf):new ve(i):i===64?g(o(1),o(2),o(3))?new lh(C()):new ve(i):i===91?new nh:i===92?f()?(a(),v()):new ve(i):i===93?new kl:i===94?o()===61?(l(),new S1):new ve(i):i===123?new eh:i===124?o()===61?(l(),new x1):o()===124?(l(),new sh):new ve(i):i===125?new th:i===126?o()===61?(l(),new y1):new ve(i):Ae(i)?(a(),d()):Qi(i)?(a(),v()):u()?new Ji:new ve(i)}},p=function(){for(;o(1)===47&&o(2)===42;)for(l(2);;)if(l(),i===42&&o()===47){l();break}else if(u())return},d=function(){const T=E();if(g(o(1),o(2),o(3))){const P=new k1;return P.value=T.value,P.repr=T.repr,P.type=T.type,P.unit=C(),P}else if(o()===37){l();const P=new fh;return P.value=T.value,P.repr=T.repr,P}else{const P=new dh;return P.value=T.value,P.repr=T.repr,P.type=T.type,P}},v=function(){const T=C();if(T.toLowerCase()==="url"&&o()===40){for(l();wt(o(1))&&wt(o(2));)l();return o()===34||o()===39?new Yi(T):wt(o())&&(o(2)===34||o(2)===39)?new Yi(T):S()}else return o()===40?(l(),new Yi(T)):new oh(T)},w=function(T){T===void 0&&(T=i);let P="";for(;l();){if(i===T||u())return new uh(P);if(Ki(i))return a(),new Qf;i===92?u(o())||(Ki(o())?l():P+=ie(x())):P+=ie(i)}throw new Error("Internal error")},S=function(){const T=new ch("");for(;wt(o());)l();if(u(o()))return T;for(;l();){if(i===41||u())return T;if(wt(i)){for(;wt(o());)l();return o()===41||u(o())?(l(),T):(M(),new Gi)}else{if(i===34||i===39||i===40||m1(i))return M(),new Gi;if(i===92)if(f())T.value+=ie(x());else return M(),new Gi;else T.value+=ie(i)}}throw new Error("Internal error")},x=function(){if(l(),Ju(i)){const T=[i];for(let U=0;U<5&&Ju(o());U++)l(),T.push(i);wt(o())&&l();let P=parseInt(T.map(function(U){return String.fromCharCode(U)}).join(""),16);return P>g1&&(P=65533),P}else return u()?65533:i},h=function(T,P){return!(T!==92||Ki(P))},f=function(){return h(i,o())},g=function(T,P,U){return T===45?Qi(P)||P===45||h(P,U):Qi(T)?!0:T===92?h(T,P):!1},_=function(){return g(i,o(1),o(2))},k=function(T,P,U){return T===43||T===45?!!(Ae(P)||P===46&&Ae(U)):T===46?!!Ae(P):!!Ae(T)},N=function(){return k(i,o(1),o(2))},C=function(){let T="";for(;l();)if(Yu(i))T+=ie(i);else if(f())T+=ie(x());else return a(),T;throw new Error("Internal parse error")},E=function(){let T="",P="integer";for((o()===43||o()===45)&&(l(),T+=ie(i));Ae(o());)l(),T+=ie(i);if(o(1)===46&&Ae(o(2)))for(l(),T+=ie(i),l(),T+=ie(i),P="number";Ae(o());)l(),T+=ie(i);const U=o(1),je=o(2),be=o(3);if((U===69||U===101)&&Ae(je))for(l(),T+=ie(i),l(),T+=ie(i),P="number";Ae(o());)l(),T+=ie(i);else if((U===69||U===101)&&(je===43||je===45)&&Ae(be))for(l(),T+=ie(i),l(),T+=ie(i),l(),T+=ie(i),P="number";Ae(o());)l(),T+=ie(i);const Le=y(T);return{type:P,value:Le,repr:T}},y=function(T){return+T},M=function(){for(;l();){if(i===41||u())return;f()&&x()}};let $=0;for(;!u(o());)if(r.push(c()),$++,$>t.length*2)throw new Error("I'm infinite-looping!");return r}class ee{constructor(){this.tokenType=""}toJSON(){return{token:this.tokenType}}toString(){return this.tokenType}toSource(){return""+this}}class Qf extends ee{constructor(){super(...arguments),this.tokenType="BADSTRING"}}class Gi extends ee{constructor(){super(...arguments),this.tokenType="BADURL"}}class El extends ee{constructor(){super(...arguments),this.tokenType="WHITESPACE"}toString(){return"WS"}toSource(){return" "}}class Kf extends ee{constructor(){super(...arguments),this.tokenType="CDO"}toSource(){return""}}class Jf extends ee{constructor(){super(...arguments),this.tokenType=":"}}class Yf extends ee{constructor(){super(...arguments),this.tokenType=";"}}class Zf extends ee{constructor(){super(...arguments),this.tokenType=","}}class nr extends ee{constructor(){super(...arguments),this.value="",this.mirror=""}}class eh extends nr{constructor(){super(),this.tokenType="{",this.value="{",this.mirror="}"}}class th extends nr{constructor(){super(),this.tokenType="}",this.value="}",this.mirror="{"}}class nh extends nr{constructor(){super(),this.tokenType="[",this.value="[",this.mirror="]"}}class kl extends nr{constructor(){super(),this.tokenType="]",this.value="]",this.mirror="["}}class rh extends nr{constructor(){super(),this.tokenType="(",this.value="(",this.mirror=")"}}class ih extends nr{constructor(){super(),this.tokenType=")",this.value=")",this.mirror="("}}class y1 extends ee{constructor(){super(...arguments),this.tokenType="~="}}class x1 extends ee{constructor(){super(...arguments),this.tokenType="|="}}class S1 extends ee{constructor(){super(...arguments),this.tokenType="^="}}class _1 extends ee{constructor(){super(...arguments),this.tokenType="$="}}class E1 extends ee{constructor(){super(...arguments),this.tokenType="*="}}class sh extends ee{constructor(){super(...arguments),this.tokenType="||"}}class Ji extends ee{constructor(){super(...arguments),this.tokenType="EOF"}toSource(){return""}}class ve extends ee{constructor(t){super(),this.tokenType="DELIM",this.value="",this.value=ie(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 rr extends ee{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 oh extends rr{constructor(t){super(),this.tokenType="IDENT",this.value=t}toString(){return"IDENT("+this.value+")"}toSource(){return ui(this.value)}}class Yi extends rr{constructor(t){super(),this.tokenType="FUNCTION",this.value=t,this.mirror=")"}toString(){return"FUNCTION("+this.value+")"}toSource(){return ui(this.value)+"("}}class lh extends rr{constructor(t){super(),this.tokenType="AT-KEYWORD",this.value=t}toString(){return"AT("+this.value+")"}toSource(){return"@"+ui(this.value)}}class ah extends rr{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"?"#"+ui(this.value):"#"+T1(this.value)}}class uh extends rr{constructor(t){super(),this.tokenType="STRING",this.value=t}toString(){return'"'+hh(this.value)+'"'}}class ch extends rr{constructor(t){super(),this.tokenType="URL",this.value=t}toString(){return"URL("+this.value+")"}toSource(){return'url("'+hh(this.value)+'")'}}class dh extends ee{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 ee{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 k1 extends ee{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=ui(this.unit);return n[0].toLowerCase()==="e"&&(n[1]==="-"||ne(n.charCodeAt(1),48,57))&&(n="\\65 "+n.slice(1,n.length)),t+n}}function ui(e){e=""+e;let t="";const n=e.charCodeAt(0);for(let r=0;r=128||i===45||i===95||ne(i,48,57)||ne(i,65,90)||ne(i,97,122)?t+=e[r]:t+="\\"+e[r]}return t}function T1(e){e=""+e;let t="";for(let n=0;n=128||r===45||r===95||ne(r,48,57)||ne(r,65,90)||ne(r,97,122)?t+=e[n]:t+="\\"+r.toString(16)+" "}return t}function hh(e){e=""+e;let t="";for(let n=0;ny instanceof lh||y instanceof Qf||y instanceof Gi||y instanceof sh||y instanceof Kf||y instanceof Gf||y instanceof Yf||y instanceof eh||y instanceof th||y instanceof ch||y instanceof fh);if(r)throw new Pe(`Unsupported token "${r.toSource()}" while parsing selector "${e}"`);let i=0;const s=new Set;function o(){return new Pe(`Unexpected token "${n[i].toSource()}" while parsing selector "${e}"`)}function l(){for(;n[i]instanceof El;)i++}function a(y=i){return n[y]instanceof oh}function u(y=i){return n[y]instanceof uh}function c(y=i){return n[y]instanceof dh}function p(y=i){return n[y]instanceof Zf}function d(y=i){return n[y]instanceof rh}function v(y=i){return n[y]instanceof ih}function w(y=i){return n[y]instanceof Yi}function S(y=i){return n[y]instanceof ve&&n[y].value==="*"}function x(y=i){return n[y]instanceof Ji}function h(y=i){return n[y]instanceof ve&&[">","+","~"].includes(n[y].value)}function f(y=i){return p(y)||v(y)||x(y)||h(y)||n[y]instanceof El}function g(){const y=[_()];for(;l(),!!p();)i++,y.push(_());return y}function _(){return l(),c()||u()?n[i++].value:k()}function k(){const y={simples:[]};for(l(),h()?y.simples.push({selector:{functions:[{name:"scope",args:[]}]},combinator:""}):y.simples.push({selector:N(),combinator:""});;){if(l(),h())y.simples[y.simples.length-1].combinator=n[i++].value,l();else if(f())break;y.simples.push({combinator:"",selector:N()})}return y}function N(){let y="";const M=[];for(;!f();)if(a()||S())y+=n[i++].toSource();else if(n[i]instanceof ah)y+=n[i++].toSource();else if(n[i]instanceof ve&&n[i].value===".")if(i++,a())y+="."+n[i++].toSource();else throw o();else if(n[i]instanceof Jf)if(i++,a())if(!t.has(n[i].value.toLowerCase()))y+=":"+n[i++].toSource();else{const $=n[i++].value.toLowerCase();M.push({name:$,args:[]}),s.add($)}else if(w()){const $=n[i++].value.toLowerCase();if(t.has($)?(M.push({name:$,args:g()}),s.add($)):y+=`:${$}(${C()})`,l(),!v())throw o();i++}else throw o();else if(n[i]instanceof nh){for(y+="[",i++;!(n[i]instanceof kl)&&!x();)y+=n[i++].toSource();if(!(n[i]instanceof kl))throw o();y+="]",i++}else throw o();if(!y&&!M.length)throw o();return{css:y||void 0,functions:M}}function C(){let y="",M=1;for(;!x()&&((d()||w())&&M++,v()&&M--,!!M);)y+=n[i++].toSource();return y}const E=g();if(!x())throw o();if(E.some(y=>typeof y!="object"||!("simples"in y)))throw new Pe(`Error while parsing selector "${e}"`);return{selector:E,names:Array.from(s)}}const Tl=new Set(["internal:has","internal:has-not","internal:and","internal:or","internal:chain","left-of","right-of","above","below","near"]),C1=new Set(["left-of","right-of","above","below","near"]),ph=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 ti(e){const t=A1(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=N1(r.body,ph);n.push({name:"css",body:i.selector,source:r.body});continue}if(Tl.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 Pe(`Malformed selector: ${r.name}=`+r.body);if(i=u[0],u.length===2){if(typeof u[1]!="number"||!C1.has(r.name))throw new Pe(`Malformed selector: ${r.name}=`+r.body);s=u[1]}}catch{throw new Pe(`Malformed selector: ${r.name}=`+r.body)}const o={name:r.name,source:r.body,body:{parsed:ti(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&&b1(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(Tl.has(n[0].name))throw new Pe(`"${n[0].name}" selector cannot be first`);return{capture:t.capture,parts:n}}function b1(e,t){return wn({parts:e})===wn({parts:t})}function wn(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 L1(e,t){const n=(r,i)=>{for(const s of r.parts)t(s,i),Tl.has(s.name)&&n(s.body.parsed,!0)};n(e,!1)}function A1(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 p=!1;if(u[0]==="*"&&(p=!0,u=u.substring(1)),i.parts.push({name:u,body:c}),p){if(i.capture!==void 0)throw new Pe("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 cn(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 Pe(`Unexpected end of selector while parsing selector \`${e}\``):new Pe(`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 h=s();for(h!==x&&o("parsing quoted string");!r&&i()!==x;)i()==="\\"&&s(),h+=s();return i()!==x&&o("parsing quoted string"),h+=s(),h}function p(){s()!=="/"&&o("parsing regular expression");let x="",h=!1;for(;!r;){if(i()==="\\")x+=s(),r&&o("parsing regular expression");else if(h&&i()==="]")h=!1;else if(!h&&i()==="[")h=!0;else if(!h&&i()==="/")break;x+=s()}s()!=="/"&&o("parsing regular expression");let f="";for(;!r&&i().match(/[dgimsuy]/);)f+=s();try{return new RegExp(x,f)}catch(g){throw new Pe(`Error while parsing selector \`${e}\`: ${g.message}`)}}function d(){let x="";return l(),i()==="'"||i()==='"'?x=c(i()).slice(1,-1):x=u(),x||o("parsing property path"),x}function v(){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(d()),l();i()===".";)s(),x.push(d()),l();if(i()==="]")return s(),{name:x.join("."),jsonPath:x,op:"",value:null,caseSensitive:!1};const h=v();let f,g=!0;if(l(),i()==="/"){if(h!=="=")throw new Pe(`Error while parsing selector \`${e}\` - cannot use ${h} in attribute with regular expression`);f=p()}else if(i()==="'"||i()==='"')f=c(i()).slice(1,-1),l(),i()==="i"||i()==="I"?(g=!1,s()):(i()==="s"||i()==="S")&&(g=!0,s());else{for(f="";!r&&(a(i())||i()==="+"||i()===".");)f+=s();f==="true"?f=!0:f==="false"?f=!1:t||(f=+f,Number.isNaN(f)&&o("parsing attribute value"))}if(l(),i()!=="]"&&o("parsing attribute value"),s(),h!=="="&&typeof f!="string")throw new Pe(`Error while parsing selector \`${e}\` - cannot use ${h} in attribute with non-string matching value - ${f}`);return{name:x.join("."),jsonPath:x,op:h,value:f,caseSensitive:g}}const S={name:"",attributes:[]};for(S.name=u(),l();i()==="[";)S.attributes.push(w()),l();if(r||o(void 0),!S.name&&!S.attributes.length)throw new Pe(`Error while parsing selector \`${e}\` - selector cannot be empty`);return S}function Qt(e,t,n=!1,r=!1){return mh(e,t,n,r)[0]}function mh(e,t,n=!1,r=!1,i=20,s){if(r)try{return nn(new Zu[e](s),ti(t),n,i)}catch{return[t]}else return nn(new Zu[e](s),ti(t),n,i)}function nn(e,t,n=!1,r=20){const i=[...t.parts];for(let l=0;le.generateLocator(u,"has",x)));continue}if(a.name==="internal:has-not"){const S=nn(e,a.body.parsed,!1,r);s.push(S.map(x=>e.generateLocator(u,"hasNot",x)));continue}if(a.name==="internal:and"){const S=nn(e,a.body.parsed,!1,r);s.push(S.map(x=>e.generateLocator(u,"and",x)));continue}if(a.name==="internal:or"){const S=nn(e,a.body.parsed,!1,r);s.push(S.map(x=>e.generateLocator(u,"or",x)));continue}if(a.name==="internal:chain"){const S=nn(e,a.body.parsed,!1,r);s.push(S.map(x=>e.generateLocator(u,"chain",x)));continue}if(a.name==="internal:label"){const{exact:S,text:x}=vr(a.body);s.push([e.generateLocator(u,"label",x,{exact:S})]);continue}if(a.name==="internal:role"){const S=cn(a.body,!0),x={attrs:[]};for(const h of S.attributes)h.name==="name"?(x.exact=h.caseSensitive,x.name=h.value):(h.name==="level"&&typeof h.value=="string"&&(h.value=+h.value),x.attrs.push({name:h.name==="include-hidden"?"includeHidden":h.name,value:h.value}));s.push([e.generateLocator(u,"role",S.name,x)]);continue}if(a.name==="internal:testid"){const S=cn(a.body,!0),{value:x}=S.attributes[0];s.push([e.generateLocator(u,"test-id",x)]);continue}if(a.name==="internal:attr"){const S=cn(a.body,!0),{name:x,value:h,caseSensitive:f}=S.attributes[0],g=h,_=!!f;if(x==="placeholder"){s.push([e.generateLocator(u,"placeholder",g,{exact:_})]);continue}if(x==="alt"){s.push([e.generateLocator(u,"alt",g,{exact:_})]);continue}if(x==="title"){s.push([e.generateLocator(u,"title",g,{exact:_})]);continue}}let c="default";const p=i[l+1];p&&p.name==="internal:control"&&p.body==="enter-frame"&&(c="frame",o="frame-locator",l++);const d=wn({parts:[a]}),v=e.generateLocator(u,c,d);if(c==="default"&&p&&["internal:has-text","internal:has-not-text"].includes(p.name)){const{exact:S,text:x}=vr(p.body);if(!S){const h=e.generateLocator("locator",p.name==="internal:has-text"?"has-text":"has-not-text",x,{exact:S}),f={};p.name==="internal:has-text"?f.hasText=x:f.hasNotText=x;const g=e.generateLocator(u,"default",d,f);s.push([e.chainLocators([v,h]),g]),l++;continue}}let w;if(["xpath","css"].includes(a.name)){const S=wn({parts:[a]},!0);w=e.generateLocator(u,c,S)}s.push([v,w].filter(Boolean))}return M1(e,s,r)}function M1(e,t,n){const r=t.map(()=>""),i=[],s=o=>{if(o===t.length)return i.push(e.chainLocators(r)),r.lengthJSON.parse(r));for(let r=0;r{v==null||v(g)},[v,g]),A.useEffect(()=>{const k=f.current;if(!k)return;const N=()=>{ec.set(e,k.scrollTop)};return k.addEventListener("scroll",N,{passive:!0}),()=>k.removeEventListener("scroll",N)},[e]),A.useEffect(()=>{f.current&&(f.current.scrollTop=ec.get(e)||0)},[e]),m("div",{className:"list-view vbox",role:t.length>0?"list":void 0,"data-testid":x||e+"-list",children:L("div",{className:"list-view-content",tabIndex:0,onDoubleClick:()=>a&&(u==null?void 0:u(a,t.indexOf(a))),onKeyDown:k=>{var y;if(a&&k.key==="Enter"){u==null||u(a,t.indexOf(a));return}if(k.key!=="ArrowDown"&&k.key!=="ArrowUp"&&k.key!=="ArrowLeft"&&k.key!=="ArrowRight")return;if(k.stopPropagation(),k.preventDefault(),a&&k.key==="ArrowLeft"){p==null||p(a,t.indexOf(a));return}if(a&&k.key==="ArrowRight"){d==null||d(a,t.indexOf(a));return}const N=a?t.indexOf(a):-1;let C=N;k.key==="ArrowDown"&&(N===-1?C=0:C=Math.min(N+1,t.length-1)),k.key==="ArrowUp"&&(N===-1?C=t.length-1:C=Math.max(N-1,0));const E=(y=f.current)==null?void 0:y.children.item(C);z1(E||void 0),v==null||v(void 0),c==null||c(t[C],C)},ref:f,children:[S&&t.length===0&&m("div",{className:"list-view-empty",children:S}),t.map((k,N)=>{const C=a===k?" selected":"",E=!h&&g===k?" highlighted":"",y=s!=null&&s(k,N)?" error":"",M=o!=null&&o(k,N)?" warning":"",$=(l==null?void 0:l(k,N))||0,T=r(k,N);return L("div",{role:"listitem",className:"list-view-entry"+C+E+y+M,onClick:()=>c==null?void 0:c(k,N),onMouseEnter:()=>_(k),onMouseLeave:()=>_(void 0),children:[$?new Array($).fill(0).map(()=>m("div",{className:"list-view-indent"})):void 0,i&&m("div",{className:"codicon "+(i(k,N)||"codicon-blank"),style:{minWidth:16,marginRight:4},onDoubleClick:P=>{P.preventDefault(),P.stopPropagation()},onClick:P=>{P.stopPropagation(),P.preventDefault(),w==null||w(k,N)}}),typeof T=="string"?m("div",{style:{textOverflow:"ellipsis",overflow:"hidden"},children:T}):T]},(n==null?void 0:n(k,N))||N)})]})})}function z1(e){e&&(e!=null&&e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!1):e==null||e.scrollIntoView())}const D1=ci;function F1({name:e,rootItem:t,render:n,icon:r,isError:i,isVisible:s,selectedItem:o,onAccepted:l,onSelected:a,onHighlighted:u,treeState:c,setTreeState:p,noItemsMessage:d,dataTestId:v,autoExpandDepth:w}){const S=A.useMemo(()=>U1(t,o,c.expandedItems,w||0),[t,o,c,w]),x=A.useMemo(()=>{if(!s)return[...S.keys()];const h=new Map,f=_=>{const k=h.get(_);if(k!==void 0)return k;let N=_.children.some(E=>f(E));for(const E of _.children){const y=f(E);N=N||y}const C=s(_)||N;return h.set(_,C),C};for(const _ of S.keys())f(_);const g=[];for(const _ of S.keys())s(_)&&g.push(_);return g},[S,s]);return m(D1,{name:e,items:x,id:h=>h.id,dataTestId:v||e+"-tree",render:h=>{const f=n(h);return L(mt,{children:[r&&m("div",{className:"codicon "+(r(h)||"blank"),style:{minWidth:16,marginRight:4}}),typeof f=="string"?m("div",{style:{textOverflow:"ellipsis",overflow:"hidden"},children:f}):f]})},icon:h=>{const f=S.get(h).expanded;if(typeof f=="boolean")return f?"codicon-chevron-down":"codicon-chevron-right"},isError:h=>(i==null?void 0:i(h))||!1,indent:h=>S.get(h).depth,selectedItem:o,onAccepted:h=>l==null?void 0:l(h),onSelected:h=>a==null?void 0:a(h),onHighlighted:h=>u==null?void 0:u(h),onLeftArrow:h=>{const{expanded:f,parent:g}=S.get(h);f?(c.expandedItems.set(h.id,!1),p({...c})):g&&(a==null||a(g))},onRightArrow:h=>{h.children.length&&(c.expandedItems.set(h.id,!0),p({...c}))},onIconClicked:h=>{const{expanded:f}=S.get(h);if(f){for(let g=o;g;g=g.parent)if(g===h){a==null||a(h);break}c.expandedItems.set(h.id,!1)}else c.expandedItems.set(h.id,!0);p({...c})},noItemsMessage:d})}function U1(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),p=r>a&&i.size<25&&c!==!1,d=u.children.length?c??p:void 0;i.set(u,{depth:a,expanded:d,parent:e===l?null:l}),d&&o(u,a+1)}};return o(e,0),i}const H1=F1,V1=({actions:e,selectedAction:t,selectedTime:n,setSelectedTime:r,sdkLanguage:i,onSelected:s,onHighlighted:o,revealConsole:l,isLive:a})=>{const[u,c]=A.useState({expandedItems:new Map}),{rootItem:p,itemMap:d}=A.useMemo(()=>n1(e),[e]),{selectedItem:v}=A.useMemo(()=>({selectedItem:t?d.get(t.callId):void 0}),[d,t]);return L("div",{className:"vbox",children:[n&&L("div",{className:"action-list-show-all",onClick:()=>r(void 0),children:[m("span",{className:"codicon codicon-triangle-left"}),"Show all"]}),m(H1,{name:"actions",rootItem:p,treeState:u,setTreeState:c,selectedItem:v,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 S,x;return!!((x=(S=w.action)==null?void 0:S.error)!=null&&x.message)},isVisible:w=>!n||w.action.startTime<=n.maximum&&w.action.endTime>=n.minimum,render:w=>La(w.action,{sdkLanguage:i,revealConsole:l,isLive:a,showDuration:!0,showBadges:!0})})]})},La=(e,t)=>{const{sdkLanguage:n,revealConsole:r,isLive:i,showDuration:s,showBadges:o}=t,{errors:l,warnings:a}=s1(e),u=e.params.selector?Qt(n||"javascript",e.params.selector,!1,!0):void 0;let c="";return e.endTime?c=Ke(e.endTime-e.startTime):e.error?c="Timed out":i||(c="-"),L(mt,{children:[L("div",{className:"action-title",title:e.apiName,children:[m("span",{children:e.apiName}),u&&m("div",{className:"action-selector",title:u,children:u}),e.method==="goto"&&e.params.url&&m("div",{className:"action-url",title:e.params.url,children:e.params.url})]}),(s||o)&&m("div",{className:"spacer"}),s&&m("div",{className:"action-duration",children:c||m("span",{className:"codicon codicon-loading"})}),o&&L("div",{className:"action-icons",onClick:()=>r==null?void 0:r(),children:[!!l&&L("div",{className:"action-icon",children:[m("span",{className:"codicon codicon-error"}),m("span",{className:"action-icon-value",children:l})]}),!!a&&L("div",{className:"action-icon",children:[m("span",{className:"codicon codicon-warning"}),m("span",{className:"action-icon-value",children:a})]})]})]})};const B1=({value:e})=>{const[t,n]=A.useState("codicon-clippy"),r=A.useCallback(()=>{navigator.clipboard.writeText(e).then(()=>{n("codicon-check"),setTimeout(()=>{n("codicon-clippy")},3e3)},()=>{n("codicon-close")})},[e]);return m("span",{className:`copy-icon codicon ${t}`,onClick:r})},ir=({text:e})=>m("div",{className:"fill",style:{display:"flex",alignItems:"center",justifyContent:"center",fontSize:24,fontWeight:"bold",opacity:.5},children:e}),j1=({action:e,sdkLanguage:t})=>{if(!e)return m(ir,{text:"No action selected"});const n={...e.params};delete n.info;const r=Object.keys(n),i=e.wallTime?new Date(e.wallTime).toLocaleString():null,s=e.endTime?Ke(e.endTime-e.startTime):"Timed Out";return L("div",{className:"call-tab",children:[m("div",{className:"call-line",children:e.apiName}),L(mt,{children:[m("div",{className:"call-section",children:"Time"}),i&&L("div",{className:"call-line",children:["wall time:",m("span",{className:"call-value datetime",title:i,children:i})]}),L("div",{className:"call-line",children:["duration:",m("span",{className:"call-value datetime",title:s,children:s})]})]}),!!r.length&&m("div",{className:"call-section",children:"Parameters"}),!!r.length&&r.map((o,l)=>tc(nc(e,o,n[o],t),"param-"+l)),!!e.result&&m("div",{className:"call-section",children:"Return value"}),!!e.result&&Object.keys(e.result).map((o,l)=>tc(nc(e,o,e.result[o],t),"result-"+l))]})};function tc(e,t){let n=e.text.replace(/\n/g,"↵");return e.type==="string"&&(n=`"${n}"`),L("div",{className:"call-line",children:[e.name,":",m("span",{className:`call-value ${e.type}`,title:e.text,children:n}),["string","number","object","locator"].includes(e.type)&&m(B1,{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=Ns(n.value,new Array(10).fill({handle:""}))),(t==="value"&&i||t==="received"&&e.method==="expect")&&(n=Ns(n,new Array(10).fill({handle:""}))),t==="selector")return{text:Qt(r||"javascript",e.params.selector,!1,!0),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 Ns(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=>Ns(n,t));if(e.o!==void 0){const n={};for(const{k:r,v:i}of e.o)n[r]=Ns(i,t);return n}return e.h!==void 0?t===void 0?"