You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/1543.99dfd883.async.js

1383 lines
1.9 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

!(function(){var ac=Object.defineProperty,lc=Object.defineProperties;var uc=Object.getOwnPropertyDescriptors;var aa=Object.getOwnPropertySymbols;var Yl=Object.prototype.hasOwnProperty,Kl=Object.prototype.propertyIsEnumerable;var Xl=(bt,mt,Ce)=>mt in bt?ac(bt,mt,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):bt[mt]=Ce,Ji=(bt,mt)=>{for(var Ce in mt||(mt={}))Yl.call(mt,Ce)&&Xl(bt,Ce,mt[Ce]);if(aa)for(var Ce of aa(mt))Kl.call(mt,Ce)&&Xl(bt,Ce,mt[Ce]);return bt},Ia=(bt,mt)=>lc(bt,uc(mt));var Ql=(bt,mt)=>{var Ce={};for(var ye in bt)Yl.call(bt,ye)&&mt.indexOf(ye)<0&&(Ce[ye]=bt[ye]);if(bt!=null&&aa)for(var ye of aa(bt))mt.indexOf(ye)<0&&Kl.call(bt,ye)&&(Ce[ye]=bt[ye]);return Ce};(self.webpackChunk=self.webpackChunk||[]).push([[1543],{38470:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return ut}});var ye=Ce(33885),ze=Ce(54476),a=Ce(76190),he=Ce(42978),de=Ce(75931),ee=Ce(59301),oe=Ce(43403),ne=Ce(65030),te=Ce(92310),se=Ce.n(te),z=Ce(34280),x=Ce(18929);function b($e){return $e!==null&&(0,a.Z)($e)==="object"}function E($e,Je,Xe){if($e===!1||Je===!1&&(!b($e)||!$e.closeIcon))return null;var Qe=typeof Je!="boolean"?Je:void 0;if(b($e)){var st;return(0,ye.Z)((0,ye.Z)({},$e),{},{closeIcon:(st=$e.closeIcon)!==null&&st!==void 0?st:Qe})}return Xe||$e||Je?{closeIcon:Qe}:"empty"}function re($e,Je,Xe,Qe){return ee.useMemo(function(){var st=E($e,Je,!1),rt=E(Xe,Qe,!0);return st!=="empty"?st:rt},[Xe,Qe,$e,Je])}var ae=Ce(6089);function le($e){var Je=window.innerWidth||document.documentElement.clientWidth,Xe=window.innerHeight||document.documentElement.clientHeight,Qe=$e.getBoundingClientRect(),st=Qe.top,rt=Qe.right,pt=Qe.bottom,ft=Qe.left;return st>=0&&ft>=0&&rt<=Je&&pt<=Xe}function fe($e,Je,Xe){var Qe;return(Qe=Xe!=null?Xe:Je)!==null&&Qe!==void 0?Qe:$e===null?"center":"bottom"}function ce($e){return typeof $e=="number"&&!Number.isNaN($e)}function ue($e,Je,Xe,Qe){var st=(0,ee.useState)(void 0),rt=(0,he.Z)(st,2),pt=rt[0],ft=rt[1];(0,z.Z)(function(){var dt=typeof $e=="function"?$e():$e;ft(dt||null)});var qe=(0,ee.useState)(null),Ie=(0,he.Z)(qe,2),at=Ie[0],Be=Ie[1],et=(0,ae.Z)(function(){if(pt){!le(pt)&&Je&&pt.scrollIntoView(Qe);var dt=pt.getBoundingClientRect(),Ve=dt.left,Ne=dt.top,Ye=dt.width,ot=dt.height,Ue={left:Ve,top:Ne,width:Ye,height:ot,radius:0};Be(function(Le){return JSON.stringify(Le)!==JSON.stringify(Ue)?Ue:Le})}else Be(null)}),vt=function(Ve){var Ne;return(Ne=Array.isArray(Xe==null?void 0:Xe.offset)?Xe==null?void 0:Xe.offset[Ve]:Xe==null?void 0:Xe.offset)!==null&&Ne!==void 0?Ne:6};(0,z.Z)(function(){return et(),window.addEventListener("resize",et),function(){window.removeEventListener("resize",et)}},[pt,Je,et]);var gt=(0,ee.useMemo)(function(){if(!at)return at;var dt=vt(0),Ve=vt(1),Ne=ce(Xe==null?void 0:Xe.radius)?Xe==null?void 0:Xe.radius:2;return{left:at.left-dt,top:at.top-Ve,width:at.width+dt*2,height:at.height+Ve*2,radius:Ne}},[at,Xe]);return[gt,pt]}var ge=Ce(80402),_e={fill:"transparent",pointerEvents:"auto"},we=function(Je){var Xe=Je.prefixCls,Qe=Je.rootClassName,st=Je.pos,rt=Je.showMask,pt=Je.style,ft=pt===void 0?{}:pt,qe=Je.fill,Ie=qe===void 0?"rgba(0,0,0,0.5)":qe,at=Je.open,Be=Je.animated,et=Je.zIndex,vt=Je.disabledInteraction,gt=(0,ge.Z)(),dt="".concat(Xe,"-mask-").concat(gt),Ve=(0,a.Z)(Be)==="object"?Be==null?void 0:Be.placeholder:Be,Ne=typeof navigator!="undefined"&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ye=Ne?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"};return ee.createElement(oe.Z,{open:at,autoLock:!0},ee.createElement("div",{className:se()("".concat(Xe,"-mask"),Qe),style:(0,ye.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:et,pointerEvents:st&&!vt?"none":"auto"},ft)},rt?ee.createElement("svg",{style:{width:"100%",height:"100%"}},ee.createElement("defs",null,ee.createElement("mask",{id:dt},ee.createElement("rect",(0,ze.Z)({x:"0",y:"0"},Ye,{fill:"white"})),st&&ee.createElement("rect",{x:st.left,y:st.top,rx:st.radius,width:st.width,height:st.height,fill:"black",className:Ve?"".concat(Xe,"-placeholder-animated"):""}))),ee.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:Ie,mask:"url(#".concat(dt,")")}),st&&ee.createElement(ee.Fragment,null,ee.createElement("rect",(0,ze.Z)({},_e,{x:"0",y:"0",width:"100%",height:st.top})),ee.createElement("rect",(0,ze.Z)({},_e,{x:"0",y:"0",width:st.left,height:"100%"})),ee.createElement("rect",(0,ze.Z)({},_e,{x:"0",y:st.top+st.height,width:"100%",height:"calc(100vh - ".concat(st.top+st.height,"px)")})),ee.createElement("rect",(0,ze.Z)({},_e,{x:st.left+st.width,y:"0",width:"calc(100vw - ".concat(st.left+st.width,"px)"),height:"100%"})))):null))},xe=we,ve={adjustX:1,adjustY:1},Se=[0,0],be={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function Ae(){var $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Je={};return Object.keys(be).forEach(function(Xe){Je[Xe]=(0,ye.Z)((0,ye.Z)({},be[Xe]),{},{autoArrow:$e,targetOffset:Se})}),Je}var Te=Ae(),je=Ce(94480),ke=Ce(26112);function Pe($e){var Je,Xe=$e.prefixCls,Qe=$e.current,st=$e.total,rt=$e.title,pt=$e.description,ft=$e.onClose,qe=$e.onPrev,Ie=$e.onNext,at=$e.onFinish,Be=$e.className,et=$e.closable,vt=(0,ke.Z)(et||{},!0),gt=(Je=et==null?void 0:et.closeIcon)!==null&&Je!==void 0?Je:ee.createElement("span",{className:"".concat(Xe,"-close-x")},"\xD7"),dt=!!et;return ee.createElement("div",{className:se()("".concat(Xe,"-content"),Be)},ee.createElement("div",{className:"".concat(Xe,"-inner")},dt&&ee.createElement("button",(0,ze.Z)({type:"button",onClick:ft,"aria-label":"Close"},vt,{className:"".concat(Xe,"-close")}),gt),ee.createElement("div",{className:"".concat(Xe,"-header")},ee.createElement("div",{className:"".concat(Xe,"-title")},rt)),ee.createElement("div",{className:"".concat(Xe,"-description")},pt),ee.createElement("div",{className:"".concat(Xe,"-footer")},ee.createElement("div",{className:"".concat(Xe,"-sliders")},st>1?(0,je.Z)(Array.from({length:st}).keys()).map(function(Ve,Ne){return ee.createElement("span",{key:Ve,className:Ne===Qe?"active":""})}):null),ee.createElement("div",{className:"".concat(Xe,"-buttons")},Qe!==0?ee.createElement("button",{className:"".concat(Xe,"-prev-btn"),onClick:qe},"Prev"):null,Qe===st-1?ee.createElement("button",{className:"".concat(Xe,"-finish-btn"),onClick:at},"Finish"):ee.createElement("button",{className:"".concat(Xe,"-next-btn"),onClick:Ie},"Next")))))}var Oe=function(Je){var Xe=Je.current,Qe=Je.renderPanel;return ee.createElement(ee.Fragment,null,typeof Qe=="function"?Qe(Je,Xe):ee.createElement(Pe,Je))},He=Oe,Ge=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon","closable","builtinPlacements","disabledInteraction"],tt={left:"50%",top:"50%",width:1,height:1},Me={block:"center",inline:"center"},We=function(Je){var Xe=Je.prefixCls,Qe=Xe===void 0?"rc-tour":Xe,st=Je.steps,rt=st===void 0?[]:st,pt=Je.defaultCurrent,ft=Je.current,qe=Je.onChange,Ie=Je.onClose,at=Je.onFinish,Be=Je.open,et=Je.mask,vt=et===void 0?!0:et,gt=Je.arrow,dt=gt===void 0?!0:gt,Ve=Je.rootClassName,Ne=Je.placement,Ye=Je.renderPanel,ot=Je.gap,Ue=Je.animated,Le=Je.scrollIntoViewOptions,De=Le===void 0?Me:Le,Ze=Je.zIndex,lt=Ze===void 0?1001:Ze,Fe=Je.closeIcon,yt=Je.closable,xt=Je.builtinPlacements,jt=Je.disabledInteraction,Tt=(0,de.Z)(Je,Ge),wt=ee.useRef(),It=(0,x.Z)(0,{value:ft,defaultValue:pt}),Bt=(0,he.Z)(It,2),Wt=Bt[0],Qt=Bt[1],dr=(0,x.Z)(void 0,{value:Be,postState:function(Mr){return Wt<0||Wt>=rt.length?!1:Mr!=null?Mr:!0}}),lr=(0,he.Z)(dr,2),Or=lr[0],Yr=lr[1],rn=ee.useState(Or),zr=(0,he.Z)(rn,2),Wr=zr[0],sn=zr[1],bn=ee.useRef(Or);(0,z.Z)(function(){Or&&(bn.current||Qt(0),sn(!0)),bn.current=Or},[Or]);var Ir=rt[Wt]||{},Nn=Ir.target,ai=Ir.placement,hr=Ir.style,br=Ir.arrow,Kt=Ir.className,$t=Ir.mask,Gt=Ir.scrollIntoViewOptions,Xt=Gt===void 0?Me:Gt,tr=Ir.closeIcon,pr=Ir.closable,Dt=re(pr,tr,yt,Fe),Mt=Or&&($t!=null?$t:vt),St=Xt!=null?Xt:De,Ct=ue(Nn,Be,ot,St),Rt=(0,he.Z)(Ct,2),Nt=Rt[0],kt=Rt[1],Et=fe(kt,Ne,ai),zt=kt?typeof br=="undefined"?dt:br:!1,Ut=(0,a.Z)(zt)==="object"?zt.pointAtCenter:!1;(0,z.Z)(function(){var kr;(kr=wt.current)===null||kr===void 0||kr.forceAlign()},[Ut,Wt]);var Jt=function(Mr){Qt(Mr),qe==null||qe(Mr)},er=(0,ee.useMemo)(function(){return xt?typeof xt=="function"?xt({arrowPointAtCenter:Ut}):xt:Ae(Ut)},[xt,Ut]);if(kt===void 0||!Wr)return null;var wr=function(){Yr(!1),Ie==null||Ie(Wt)},Tr=function(){return ee.createElement(He,(0,ze.Z)({arrow:zt,key:"content",prefixCls:Qe,total:rt.length,renderPanel:Ye,onPrev:function(){Jt(Wt-1)},onNext:function(){Jt(Wt+1)},onClose:wr,current:Wt,onFinish:function(){wr(),at==null||at()}},rt[Wt],{closable:Dt}))},Cr=typeof Mt=="boolean"?Mt:!!Mt,Ft=typeof Mt=="boolean"?void 0:Mt,nr=function(Mr){return Mr||kt||document.body};return ee.createElement(ee.Fragment,null,ee.createElement(xe,{zIndex:lt,prefixCls:Qe,pos:Nt,showMask:Cr,style:Ft==null?void 0:Ft.style,fill:Ft==null?void 0:Ft.color,open:Or,animated:Ue,rootClassName:Ve,disabledInteraction:jt}),ee.createElement(ne.Z,(0,ze.Z)({},Tt,{builtinPlacements:er,ref:wt,popupStyle:hr,popupPlacement:Et,popupVisible:Or,popupClassName:se()(Ve,Kt),prefixCls:Qe,popup:Tr,forceRender:!1,destroyPopupOnHide:!0,zIndex:lt,getTriggerDOMNode:nr,arrow:!!zt}),ee.createElement(oe.Z,{open:Or,autoLock:!0},ee.createElement("div",{className:se()(Ve,"".concat(Qe,"-target-placeholder")),style:(0,ye.Z)((0,ye.Z)({},Nt||tt),{},{position:"fixed",pointerEvents:"none"})}))))},it=We,ut=it},4887:function(){"use strict"},27431:function(bt,mt){"use strict";mt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},70122:function(){"use strict"},21485:function(bt,mt,Ce){"use strict";var ye=Ce(59301),ze=Object.defineProperty,a=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ee=(te,se,z)=>se in te?ze(te,se,{enumerable:!0,configurable:!0,writable:!0,value:z}):te[se]=z,oe=(te,se)=>{for(var z in se||(se={}))he.call(se,z)&&ee(te,z,se[z]);if(a)for(var z of a(se))de.call(se,z)&&ee(te,z,se[z]);return te};const ne=te=>React.createElement("svg",oe({className:"left_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},te),React.createElement("path",{d:"M0 512a512 512 0 1 0 1024 0A512 512 0 1 0 0 512Z",fill:"#EBEFF7"}),React.createElement("path",{d:"m368.333 487.526 24.78-24.524L591.31 267.008c14.848-14.694 34.713-14.694 49.561 0a37.376 37.376 0 0 1-4.966 48.998L437.76 512l198.195 195.994c14.848 14.694 14.848 34.304 0 48.998-14.848 14.694-34.662 14.694-49.51 0L388.096 560.998l-19.814-24.524A37.222 37.222 0 0 1 358.4 512c0-9.78 0-14.694 9.933-24.474z",fill:"#AAAFB9"}));mt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTAgNTEyYTUxMiA1MTIgMCAxIDAgMTAyNCAwQTUxMiA1MTIgMCAxIDAgMCA1MTJaIiBmaWxsPSIjRUJFRkY3Ii8+PHBhdGggZD0ibTM2OC4zMzMgNDg3LjUyNiAyNC43OC0yNC41MjRMNTkxLjMxIDI2Ny4wMDhjMTQuODQ4LTE0LjY5NCAzNC43MTMtMTQuNjk0IDQ5LjU2MSAwYTM3LjM3NiAzNy4zNzYgMCAwIDEtNC45NjYgNDguOTk4TDQzNy43NiA1MTJsMTk4LjE5NSAxOTUuOTk0YzE0Ljg0OCAxNC42OTQgMTQuODQ4IDM0LjMwNCAwIDQ4Ljk5OC0xNC44NDggMTQuNjk0LTM0LjY2MiAxNC42OTQtNDkuNTEgMEwzODguMDk2IDU2MC45OThsLTE5LjgxNC0yNC41MjRBMzcuMjIyIDM3LjIyMiAwIDAgMSAzNTguNCA1MTJjMC05Ljc4IDAtMTQuNjk0IDkuOTMzLTI0LjQ3NHoiIGZpbGw9IiNBQUFGQjkiLz48L3N2Zz4="},43849:function(bt,mt,Ce){"use strict";var ye=Ce(59301),ze=Object.defineProperty,a=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ee=(te,se,z)=>se in te?ze(te,se,{enumerable:!0,configurable:!0,writable:!0,value:z}):te[se]=z,oe=(te,se)=>{for(var z in se||(se={}))he.call(se,z)&&ee(te,z,se[z]);if(a)for(var z of a(se))de.call(se,z)&&ee(te,z,se[z]);return te};const ne=te=>React.createElement("svg",oe({width:20,height:20,xmlns:"http://www.w3.org/2000/svg"},te),React.createElement("title",null,"\u5411\u53F3\u5907\u4EFD"),React.createElement("g",{transform:"matrix(-1 0 0 1 20 0)",fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#EBEFF7",cx:10,cy:10,r:10}),React.createElement("path",{d:"m12.459 9.522-.484-.479-3.872-3.828c-.29-.287-.678-.287-.968 0a.73.73 0 0 0 .097.957L11.103 10l-3.871 3.828c-.29.287-.29.67 0 .957.29.287.677.287.968 0l3.871-3.828.388-.479a.727.727 0 0 0 .193-.478c0-.191 0-.287-.193-.478Z",fill:"#3061D0",fillRule:"nonzero"})));mt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMjAgMCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBmaWxsPSIjRUJFRkY3IiBjeD0iMTAiIGN5PSIxMCIgcj0iMTAiLz48cGF0aCBkPSJtMTIuNDU5IDkuNTIyLS40ODQtLjQ3OS0zLjg3Mi0zLjgyOGMtLjI5LS4yODctLjY3OC0uMjg3LS45NjggMGEuNzMuNzMgMCAwIDAgLjA5Ny45NTdMMTEuMTAzIDEwbC0zLjg3MSAzLjgyOGMtLjI5LjI4Ny0uMjkuNjcgMCAuOTU3LjI5LjI4Ny42NzcuMjg3Ljk2OCAwbDMuODcxLTMuODI4LjM4OC0uNDc5YS43MjcuNzI3IDAgMCAwIC4xOTMtLjQ3OGMwLS4xOTEgMC0uMjg3LS4xOTMtLjQ3OFoiIGZpbGw9IiMzMDYxRDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4="},3050:function(bt,mt,Ce){"use strict";var ye=Ce(59301),ze=Object.defineProperty,a=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ee=(te,se,z)=>se in te?ze(te,se,{enumerable:!0,configurable:!0,writable:!0,value:z}):te[se]=z,oe=(te,se)=>{for(var z in se||(se={}))he.call(se,z)&&ee(te,z,se[z]);if(a)for(var z of a(se))de.call(se,z)&&ee(te,z,se[z]);return te};const ne=te=>React.createElement("svg",oe({className:"right_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},te),React.createElement("path",{d:"M0 512a512 512 0 1 0 1024 0A512 512 0 1 0 0 512Z",fill:"#EBEFF7"}),React.createElement("path",{d:"m903.782 51.2 51.2 51.2-51.2-51.2zm51.2 0-51.2 51.2 51.2-51.2z"}),React.createElement("path",{d:"m637.9 487.526-24.78-24.524-198.246-195.994c-14.848-14.694-34.714-14.694-49.562 0a37.376 37.376 0 0 0 4.966 48.998L568.474 512 370.278 707.994c-14.848 14.694-14.848 34.304 0 48.998 14.848 14.694 34.663 14.694 49.562 0l198.195-195.994 19.866-24.524A37.222 37.222 0 0 0 647.782 512c0-9.78 0-14.694-9.881-24.474z",fill:"#AAAFB9"}));mt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTAgNTEyYTUxMiA1MTIgMCAxIDAgMTAyNCAwQTUxMiA1MTIgMCAxIDAgMCA1MTJaIiBmaWxsPSIjRUJFRkY3Ii8+PHBhdGggZD0ibTkwMy43ODIgNTEuMiA1MS4yIDUxLjItNTEuMi01MS4yem01MS4yIDAtNTEuMiA1MS4yIDUxLjItNTEuMnoiLz48cGF0aCBkPSJtNjM3LjkgNDg3LjUyNi0yNC43OC0yNC41MjQtMTk4LjI0Ni0xOTUuOTk0Yy0xNC44NDgtMTQuNjk0LTM0LjcxNC0xNC42OTQtNDkuNTYyIDBhMzcuMzc2IDM3LjM3NiAwIDAgMCA0Ljk2NiA0OC45OThMNTY4LjQ3NCA1MTIgMzcwLjI3OCA3MDcuOTk0Yy0xNC44NDggMTQuNjk0LTE0Ljg0OCAzNC4zMDQgMCA0OC45OTggMTQuODQ4IDE0LjY5NCAzNC42NjMgMTQuNjk0IDQ5LjU2MiAwbDE5OC4xOTUtMTk1Ljk5NCAxOS44NjYtMjQuNTI0QTM3LjIyMiAzNy4yMjIgMCAwIDAgNjQ3Ljc4MiA1MTJjMC05Ljc4IDAtMTQuNjk0LTkuODgxLTI0LjQ3NHoiIGZpbGw9IiNBQUFGQjkiLz48L3N2Zz4="},68832:function(bt,mt,Ce){"use strict";var ye=Ce(59301),ze=Object.defineProperty,a=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ee=(te,se,z)=>se in te?ze(te,se,{enumerable:!0,configurable:!0,writable:!0,value:z}):te[se]=z,oe=(te,se)=>{for(var z in se||(se={}))he.call(se,z)&&ee(te,z,se[z]);if(a)for(var z of a(se))de.call(se,z)&&ee(te,z,se[z]);return te};const ne=te=>React.createElement("svg",oe({width:20,height:20,xmlns:"http://www.w3.org/2000/svg"},te),React.createElement("title",null,"\u5411\u53F3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#EBEFF7",cx:10,cy:10,r:10}),React.createElement("path",{d:"m12.459 9.522-.484-.479-3.872-3.828c-.29-.287-.678-.287-.968 0a.73.73 0 0 0 .097.957L11.103 10l-3.871 3.828c-.29.287-.29.67 0 .957.29.287.677.287.968 0l3.871-3.828.388-.479a.727.727 0 0 0 .193-.478c0-.191 0-.287-.193-.478Z",fill:"#3061D0",fillRule:"nonzero"})));mt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNFQkVGRjciIGN4PSIxMCIgY3k9IjEwIiByPSIxMCIvPjxwYXRoIGQ9Im0xMi40NTkgOS41MjItLjQ4NC0uNDc5LTMuODcyLTMuODI4Yy0uMjktLjI4Ny0uNjc4LS4yODctLjk2OCAwYS43My43MyAwIDAgMCAuMDk3Ljk1N0wxMS4xMDMgMTBsLTMuODcxIDMuODI4Yy0uMjkuMjg3LS4yOS42NyAwIC45NTcuMjkuMjg3LjY3Ny4yODcuOTY4IDBsMy44NzEtMy44MjguMzg4LS40NzlhLjcyNy43MjcgMCAwIDAgLjE5My0uNDc4YzAtLjE5MSAwLS4yODctLjE5My0uNDc4WiIgZmlsbD0iIzMwNjFEMCIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg=="},63089:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var bt={},mt="5.0",Ce={},ye=null,ze=!1,a=!1,he=null,de=!1,ee=null,oe=null,ne=0;ne<arguments.length;ne++){var te=arguments[ne];if(te!==null)switch(typeof te){case"number":mt=te.toFixed(1);break;case"string":te.match(new RegExp("^[0-9]\\.[0-9]+$"))?mt=te:he=te;break;case"object":typeof te.is3D!="undefined"?ye=te:Ce=te;break;case"boolean":ze=te,a=!0;break}}ye===null&&(ye={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},Ce.material_id!==void 0&&!a&&(ze=!0)),he!==null&&Ce.id===void 0&&(Ce.id=he);var se="",z="",x=!1,b=null,E=null,re=null,ae=!1,le=null,fe=null,ce=null,ue=null,ge=null;Ce.height!==void 0&&(Ce.height=Math.round(Ce.height)),Ce.width!==void 0&&(Ce.width=Math.round(Ce.width));var _e=function(Je){return parseFloat(Je)>4?parseFloat(Je):5};bt.setHTML5Codebase=function(Je,Xe){oe=Je,it(Je,Xe)},bt.setJavaCodebase=bt.setJavaCodebaseVersion=bt.isCompiledInstalled=bt.setPreCompiledScriptPath=bt.setPreCompiledResourcePath=function(){},bt.setHTML5CodebaseVersion=function(Je,Xe){var Qe=parseFloat(Je);if(Qe!==NaN&&Qe<5){console.log("The GeoGebra HTML5 codebase version "+Qe+" is deprecated. Using version latest instead.");return}ee=Je,We(Je,Xe)},bt.getHTML5CodebaseVersion=function(){return E},bt.getParameters=function(){return Ce},bt.setFontsCSSURL=function(Je){ue=Je},bt.setGiacJSURL=function(Je){},bt.setJNLPFile=function(Je){se=Je},bt.setJNLPBaseDir=function(Je){},bt.inject=function(){function Je(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Xe="auto",Qe=Ce.id,st,rt=!1,pt=0;pt<arguments.length;pt++){var ft=arguments[pt];typeof ft=="string"?(ft=ft.toLowerCase(),ft.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Xe=ft:Qe=arguments[pt]):typeof ft=="boolean"?rt=ft:ft instanceof HTMLElement&&(st=ft)}qe();function qe(){if(!de){setTimeout(qe,200);return}Xe=tt(Xe);var Ie=st||document.getElementById(Qe);if(!Ie){console.log("possibly bug on ajax loading? ");return}if(bt.removeExistingApplet(Ie,!1),Ce.width===void 0&&Ie.clientWidth&&(Ce.width=Ie.clientWidth),Ce.height===void 0&&Ie.clientHeight&&(Ce.height=Ie.clientHeight),!(Ce.width&&Ce.height)&&Xe==="html5"&&(delete Ce.width,delete Ce.height),b=Xe,Xe==="screenshot")ke(Ie,Ce);else{var at=!1;Ce.hasOwnProperty("playButton")&&Ce.playButton||Ce.hasOwnProperty("clickToLoad")&&Ce.clickToLoad?at=!0:Ce.hasOwnProperty("playButtonAutoDecide")&&Ce.playButtonAutoDecide&&(at=(!we()||Je())&&xe()),at?(b="screenshot",Oe(Ie,Ce,rt,Xe)):je(Ie,Ce,rt)}}};function we(){try{return window.self!==window.top}catch(Je){return!0}}function xe(){return Ce.hasOwnProperty("screenshotGenerator")&&Ce.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}bt.getViews=function(){return ye},bt.isJavaInstalled=function(){return!1};var ve=function(Je){var Xe=function(pt){var ft=JSON.parse(pt),qe=function(Be){return Be.type=="G"||Be.type=="E"},Ie=ft.elements?ft.elements.filter(qe)[0]:ft;if(!Ie||!Ie.url){Qe();return}Ce.fileName=Ie.url,Se(Ie.settings||{}),ye.is3D=!0;var at="https://www.geogebra.org/images/";bt.setPreviewImage(le||Ie.previewUrl,at+"GeoGebra_loading.png",at+"applet_play.png"),Je()},Qe=function(){Ce.onError&&Ce.onError(),ut("Error: Fetching material (id "+Ce.material_id+") failed.",Ce)},st=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",rt="/materials/"+Ce.material_id+"?scope=basic";be("https://"+st+"/api/proxy.php?path="+encodeURIComponent(rt),Xe,Qe)};function Se(Je){var Xe=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Qe){Je[Qe]=!!Je[Qe]}),Xe.forEach(function(Qe){Ce[Qe]===void 0&&Je[Qe]!==void 0&&(Ce[Qe]=Je[Qe])}),Ce.showToolBarHelp===void 0&&(Ce.showToolBarHelp=Ce.showToolBar)}function be(Je,Xe,Qe){var st=new XMLHttpRequest;st.open("GET",Je),st.onload=function(){Xe(st.responseText)},st.onerror=Qe,st.send()}bt.isHTML5Installed=function(){return!0},bt.getLoadedAppletType=function(){return b},bt.setPreviewImage=function(Je,Xe,Qe){le=Je,fe=Xe,ce=Qe},bt.removeExistingApplet=function(Je,Xe){var Qe;typeof Je=="string"&&(Je=document.getElementById(Je)),b=null;var st=null;for(Qe=0;Qe<Je.childNodes.length;Qe++){var rt=Je.childNodes[Qe],pt=rt.className;pt==="applet_screenshot"?Xe?(rt.style.display="block",b="screenshot"):rt.style.display="none":pt!=="applet_scaler prerender"&&(Je.removeChild(rt),st=pt&&pt.indexOf("appletParameters")!=-1?rt.id:null,Qe--)}var ft=Ce.id!==void 0?Ce.id:st,qe=window[ft];qe&&typeof qe.getBase64=="function"&&(qe.remove(),window[ft]=null)},bt.refreshHitPoints=function(){if(_e(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Je=bt.getAppletObject();return Je&&typeof Je.recalculateEnvironments=="function"?(Je.recalculateEnvironments(),!0):!1},bt.startAnimation=function(){var Je=bt.getAppletObject();return Je&&typeof Je.startAnimation=="function"?(Je.startAnimation(),!0):!1},bt.stopAnimation=function(){var Je=bt.getAppletObject();return Je&&typeof Je.stopAnimation=="function"?(Je.stopAnimation(),!0):!1},bt.getAppletObject=function(){var Je=Ce.id!==void 0?Ce.id:"ggbApplet";return window[Je]},bt.resize=function(){};var Ae=function(Je,Xe,Qe){var st=document.createElement("param");st.setAttribute("name",Xe),st.setAttribute("value",Qe),Je.appendChild(st)},Te=function(Je){return Je&&Je!=="false"},je=function(Je,Xe,Qe){_e(E)<=4.2&&(Qe=!0);var st=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==E||ggbHTML5LoadedCodebaseIsWebSimple&&!ae)&&(st=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var rt=document.createElement("div");rt.classList.add("appletParameters","notranslate");var pt=Xe.width,ft=Xe.height;if(Xe.disableAutoScale=Xe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Xe.disableAutoScale,Xe.width!==void 0)if(_e(E)<=4.4)Te(Xe.showToolBar)&&(Xe.height-=7),Te(Xe.showAlgebraInput)&&(Xe.height-=37),Xe.width<605&&Te(Xe.showToolBar)&&(Xe.width=605,pt=605);else{var qe=100;(Te(Xe.showToolBar)||Te(Xe.showMenuBar))&&(Xe.hasOwnProperty("customToolBar")&&(Xe.customToolbar=Xe.customToolBar),qe=Te(Xe.showMenuBar)?245:155),pt<qe&&(Xe.width=qe,pt=qe)}rt.style.border="none",rt.style.display="inline-block";for(var Ie in Xe)Xe.hasOwnProperty(Ie)&&Ie!=="appletOnLoad"&&rt.setAttribute("data-param-"+Ie,Xe[Ie]);ue&&rt.setAttribute("data-param-fontscssurl",ue),bt.resize=function(){GGBAppletUtils.responsiveResize(Je,Xe)},window.addEventListener("resize",function(De){bt.resize()});var at=typeof Xe.appletOnLoad=="function"?Xe.appletOnLoad:function(){};if(!Qe&&Xe.width!==void 0){Xe.hasOwnProperty("showSplash")||rt.setAttribute("data-param-showSplash","false");var Be=Je.querySelector(".applet_scaler.prerender"),et=Be!==null;if(et)var vt=Be.querySelector(".ggb_preview");else{var vt=Ge(pt,ft,Xe.borderColor,!1);Be=document.createElement("div"),Be.className="applet_scaler",Be.style.position="relative",Be.style.display="block",Be.style.width=pt+"px",Be.style.height=ft+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Be,"66%"),_e(E)>=5?(Xe.appletOnLoad=function(De){var Ze=Je.querySelector(".ggb_preview");Ze&&Ze.parentNode.removeChild(Ze),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Be),window.GGBT_wsf_view&&$(window).trigger("resize"),at(De)},et||Be.appendChild(vt)):rt.appendChild(vt),Be.appendChild(rt),et||Je.appendChild(Be),setTimeout(function(){bt.resize()},1)}else{var gt=document.createElement("div");gt.className="applet_scaler",gt.style.position="relative",gt.style.display="block",gt.appendChild(rt),Je.appendChild(gt),Xe.appletOnLoad=function(De){bt.resize(),at(De)}}function dt(De,Ze){Ze&&typeof Ze.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(De,Ze.appletOnLoad):renderGGBElement(De),ut("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ze)}function Ve(De,Ze){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:De,params:Ze}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(lt){dt(lt.article,lt.params)}),html5AppletsToProcess=null)},_e(E)<5&&(De.className+=" geogebraweb")):dt(De,Ze)}if(st){scriptLoadStarted=!0;for(var Ne=0;Ne<rt.childNodes.length;Ne++){var Ye=rt.childNodes[Ne].tagName;Ye==="TABLE"&&(rt.removeChild(rt.childNodes[Ne]),Ne--)}if(ggbHTML5LoadedScript!==null){var ot=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ot!=null&&ot.parentNode.removeChild(ot)}var Ue=document.createElement("script"),Le=function(){Ve(rt,Xe)};Ue.src=z+re,ggbHTML5LoadedCodebaseIsWebSimple=ae,ggbHTML5LoadedCodebaseVersion=E,ggbHTML5LoadedScript=Ue.src,ut("GeoGebra HTML5 codebase loaded: '"+z+"'.",Xe),!oe&&(!ee||ee=="5.0")?(ae?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Le()):z.requirejs?__webpack_require__.e(6954).then(function(){var De=[__webpack_require__(76954)];Le.apply(null,De)}.bind(this)).catch(__webpack_require__.oe):(Ue.onload=Le,Je.appendChild(Ue))}else Ve(rt,Xe);Xe.height=ft,Xe.width=pt},ke=function(Je,Xe,Qe){var st=Ge(Xe.width,Xe.height,Xe.borderColor,Qe),rt=document.createElement("div");rt.style.position="relative",rt.style.display="block",rt.style.width=Xe.width+"px",rt.style.height=Xe.height+"px",rt.className="applet_screenshot applet_scaler"+(Qe?" applet_screenshot_play":""),rt.appendChild(st);var pt=GGBAppletUtils.getScale(Xe,Je,Qe);Qe?(Je.appendChild(He()),window.GGBT_wsf_view||(Je.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(rt,"66%"),Je.appendChild(rt),pt!==1&&!isNaN(pt)&&(GGBAppletUtils.scaleElement(rt,pt),rt.style.width=Xe.width+"px",rt.style.height=Xe.height+"px",rt.parentNode.style.width=Xe.width*pt+"px",rt.parentNode.style.height=Xe.height*pt+"px"),bt.resize=function(){Pe(Je,st,rt,Qe)},window.addEventListener("resize",function(ft){bt.resize()}),bt.resize()};function Pe(Je,Xe,Qe,st){if(Je.contains(Xe)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Je.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Je)}var rt=GGBAppletUtils.getScale(Ce,Je,st);Qe.parentNode!==null&&(!isNaN(rt)&&rt!==1?(GGBAppletUtils.scaleElement(Qe,rt),Qe.parentNode.style.width=Ce.width*rt+"px",Qe.parentNode.style.height=Ce.height*rt+"px"):(GGBAppletUtils.scaleElement(Qe,1),Qe.parentNode.style.width=Ce.width+"px",Qe.parentNode.style.height=Ce.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Je),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}bt.onExitFullscreen=function(Je,Xe){Xe.appendChild(Je)};var Oe=function(Je,Xe,Qe,st){ke(Je,Xe,!0);for(var rt=function(){var qe=[];for(ft=0;ft<Je.childNodes.length;ft++)qe.push(Je.childNodes[ft]);if(window.GGBT_wsf_view){var Ie=window.GGBT_wsf_view.renderFullScreen(Je,Xe.id),at=document.getElementById("fullscreencontainer"),Be=jQuery(Je).find(".fullscreencontent");Be.length>0?(Ie.remove(),Be.attr("id","fullscreencontent").show(),jQuery(at).append(Be),window.dispatchEvent(new Event("resize"))):je(Ie,Xe,!1),window.GGBT_wsf_view.launchFullScreen(at)}else b=st,je(Je,Xe,!1);if(!window.GGBT_wsf_view)for(ft=0;ft<qe.length;ft++)Je.removeChild(qe[ft])},pt=Je.getElementsByClassName("ggb_preview_play"),ft=0;ft<pt.length;ft++)pt[ft].addEventListener("click",rt,!1),pt[ft].addEventListener("ontouchstart",rt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Je),xe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},He=function(){var Je=document.createElement("div");if(Je.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Xe='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Qe=document.createElement("style");Qe.styleSheet?Qe.styleSheet.cssText=Xe:Qe.appendChild(document.createTextNode(Xe)),document.getElementsByTagName("head")[0].appendChild(Qe)}return Je},Ge=function(Je,Xe,Qe,st){var rt=document.createElement("div");rt.className="ggb_preview",rt.style.position="absolute",rt.style.zIndex="90",rt.style.width=Je-2+"px",rt.style.height=Xe-2+"px",rt.style.top="0px",rt.style.left="0px",rt.style.overflow="hidden",rt.style.backgroundColor="white";var pt="lightgrey";Qe!==void 0&&(Qe==="none"?pt="transparent":pt=Qe),rt.style.border="1px solid "+pt;var ft=document.createElement("img");if(ft.style.position="relative",ft.style.zIndex="1000",ft.style.top="-1px",ft.style.left="-1px",le!==null&&ft.setAttribute("src",le),ft.style.opacity=.7,fe!==null){var qe,Ie,at;if(!st){qe=document.createElement("img"),qe.style.position="absolute",qe.style.zIndex="1001",qe.style.opacity=1,ft.style.opacity=.3,Ie=360,Ie>Je/4*3&&(Ie=Je/4*3),at=Ie/5.8,qe.setAttribute("src",fe),qe.setAttribute("width",Ie),qe.setAttribute("height",at);var Be=(Je-Ie)/2,et=(Xe-at)/2;qe.style.left=Be+"px",qe.style.top=et+"px",rt.appendChild(qe)}}return rt.appendChild(ft),rt},tt=function(Je){return Je=Je.toLowerCase(),Je==="html5"||Je==="screenshot"?Je:"html5"},Me=["web","webSimple","web3d","tablet","tablet3d","phone"],We=function(Je,Xe){if(E=Je,Xe){it(E,!0);return}var Qe=!ze;if(Qe){var st=_e(E);!isNaN(st)&&st<4.4&&(Qe=!1)}var rt,pt;window.location.protocol.substr(0,4)==="http"?rt=window.location.protocol:rt="http:";var ft=E.indexOf("//");ft>0?pt=E:ft===0?pt=rt+E:pt="https://www.geogebra.org/apps/5.2.814.0/";for(var qe in Me)if(E.slice(Me[qe].length*-1)===Me[qe]||E.slice((Me[qe].length+1)*-1)===Me[qe]+"/"){it(pt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Qe&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Te(Ce.showToolBar)&&!Te(Ce.showMenuBar)&&!Te(Ce.showAlgebraInput)&&!Te(Ce.enableRightClick)&&(!Ce.appName||Ce.appName=="classic")?pt+="webSimple/":pt+="web3d/",it(pt,!1)},it=function(Je,Xe){if(Je.requirejs){z=Je;return}Je.slice(-1)!=="/"&&(Je+="/"),z=Je,Xe===null&&(Xe=Je.indexOf("http")===-1),x=Xe,re="web.nocache.js",ae=!1;var Qe=z.split("/");Qe.length>1&&(!Xe&&Qe[Qe.length-2]==="webSimple"?(re="webSimple.nocache.js",ae=!0):Me.indexOf(Qe[Qe.length-2])>=0&&(re=Qe[Qe.length-2]+".nocache.js")),Qe=Je.split("/"),E=Qe[Qe.length-3],E.substr(0,4)==="test"?E=E.substr(4,1)+"."+E.substr(5,1):(E.substr(0,3)==="war"||E.substr(0,4)==="beta")&&(E="5.0");var st=parseFloat(E);st!==NaN&&st<5&&Je.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+st+" is deprecated. Using version latest instead."),We("5.0",Xe))},ut=function(Je,Xe){window.console&&window.console.log&&(!Xe||typeof Xe.showLogging=="undefined"||Xe.showLogging&&Xe.showLogging!=="false")&&console.log(Je)};Ce.material_id!==void 0?ve($e):$e();function $e(){var Je=mt;ee!==null?Je=ee:parseFloat(Je)<5&&(Je="5.0"),We(Je,!1),oe!==null&&it(oe,x),de=!0}return bt},GGBAppletUtils=function(){"use strict";function bt(){return window.GGBT_wsf_edit!==void 0}function mt(de,ee){ee!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+ee+","+ee+")",de.style.webkitTransform="scale("+ee+","+ee+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function Ce(de,ee,oe,ne,te,se){var z=null;if(se!=null&&se!="")for(var x=de.parentNode;x!=null;)if((" "+x.className+" ").indexOf(" "+se+" ")>-1){z=x;break}else x=x.parentNode;var b=0,E=0,re=0,ae=0,le=0,fe=0,ce=0;if(z)b=z.offsetWidth,E=Math.max(ne?z.offsetWidth:0,z.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(b=Math.min(window.innerWidth,document.documentElement.clientWidth),E=Math.min(window.innerHeight,document.documentElement.clientHeight),re=b):(b=window.innerWidth,E=window.innerHeight,re=window.innerWidth),de){var ue=de.getBoundingClientRect();ue.left>0&&ue.left<=b&&(te===void 0||!te)&&(document.dir==="rtl"?(le=b-ue.width-ue.left,fe=re<=480?10:30):(fe=ue.left,le=re<=480?10:30),ae=fe+le)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ge=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ae=40,ce=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ae=0,ce=40)}}return de&&((oe===void 0||!oe)&&ee>0&&ee+ae<b?b=ee:b-=ae,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe===void 0||!oe)&&(E-=ce)),{width:b,height:E}}function ye(de,ee,oe,ne,te){if(de.isScreenshoGenerator)return 1;var se=ne!==void 0&&ne,z=de.noScaleMargin!=null&&de.noScaleMargin,x=function(ge){return ge&&ge!=="false"},b=x(de.autoHeight),E=Ce(ee,de.width,oe,b,se&&window.GGBT_wsf_view||z,te),re=parseInt(E.width),ae=de.width,le=de.height;if(ae===void 0){var fe=ee.querySelector(".appletParameters");fe&&(ae=fe.offsetWidth,le=fe.offsetHeight)}var ce=re/ae,ue=se?1:E.height/le;return oe!==void 0&&!oe&&(ce=Math.min(1,ce),ue=Math.min(1,ue)),Math.min(ce,ue)}function ze(de,ee,oe){var ne=1,te,se=!1;if(de.hasOwnProperty("allowUpscale")&&(se=de.allowUpscale),de.hasOwnProperty("scale")&&(ne=parseFloat(de.scale),(isNaN(ne)||ne===null||ne===0)&&(ne=1),ne>1&&(se=!0)),ee&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))te=ye(de,ee,se,oe,de.scaleContainerClass);else return ne;return se&&(!de.hasOwnProperty("scale")||ne===1)?te:Math.min(ne,te)}function a(de){var ee=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ne=de.getBoundingClientRect(),te=(ee-ne.width)/2,se=(oe-ne.height)/2;se<0&&(se=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(te<40?de.style.left="40px":de.style.left=te+"px",de.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?de.style.top="40px":de.style.top=se+"px",de.style.left=te+"px")}function he(de,ee){var oe=de.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ee.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ne=ze(ee,de);bt()&&oe.setAttribute("data-param-scale",ne);for(var te=null,se=0;se<de.childNodes.length;se++)if(de.childNodes[se].className!==void 0&&de.childNodes[se].className.match(/^applet_scaler/)){te=de.childNodes[se];break}if(te!==null&&te.querySelector(".noscale")!==null)return;var z=ee.id!==void 0?ee.id:"ggbApplet",x=window[z];(x==null||!x.recalculateEnvironments)&&te!==null&&!te.className.match(/fullscreen/)&&(te.parentNode.style.transform="",!isNaN(ne)&&ne!==1?(te.parentNode.style.width=ee.width*ne+"px",te.parentNode.style.height=ee.height*ne+"px",mt(te,ne)):(mt(te,1),te.parentNode.style.width=ee.width+"px",te.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&a(de),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(oe).parents(".content-added-content"))}}return{responsiveResize:he,isFlexibleWorksheetEditor:bt,positionCenter:a,getScale:ze,scaleElement:mt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var bt=n.location.search;return bt.indexOf(J)!=-1||bt.indexOf(K)!=-1}function q(bt,mt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(bt){var mt=s[L].bindings;s[L].bindings=function(){for(var Ce=mt?mt():{},ye=bt[webModule.__softPermutationId],ze=O;ze<ye.length;ze++){var a=ye[ze];Ce[a[O]]=a[P]}return Ce}};var t;function u(){return v(),t}function v(){if(!t){var bt=o.createElement(Q);if(bt.id=L,bt.style.cssText=R+S,bt.tabIndex=-1,o.body.appendChild(bt),t=bt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var mt=document.compatMode==U?V:W;t.write(mt+X),t.close()}}}function w(bt){function mt(ye){function ze(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var a=ze();if(a){ye();return}function he(){if(!a){if(!ze())return;a=!0,ye(),o.removeEventListener&&o.removeEventListener(Z,he,!1),de&&clearInterval(de)}}o.addEventListener&&o.addEventListener(Z,he,!1);var de=setInterval(function(){he()},$)}function Ce(ye){var ze=u(),a=ze.body,he=ze.createElement(_);he.language=ab,he.crossOrigin=W,he.src=ye,webModule.__errFn&&(he.onerror=function(){webModule.__errFn(L,new Error(bb+ye))}),a.appendChild(he)}mt(function(){Ce(bt)})}webModule.__startLoadingFragment=function(bt){return C(bt)},webModule.__installRunAsyncCode=function(bt){var mt=u(),Ce=mt.body,ye=mt.createElement(_);ye.language=ab,ye.text=bt,Ce.appendChild(ye),Ce.removeChild(ye)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(bt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(bt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(bt){var mt=c[bt];return mt==null?null:mt},r=d,webModule.__errFn=e}function B(){function bt(de){var ee=de.lastIndexOf(rb);ee==-1&&(ee=de.length);var oe=de.indexOf(sb);oe==-1&&(oe=de.length);var ne=de.lastIndexOf(tb,Math.min(oe,ee));return ne>=O?de.substring(O,ne+P):W}function mt(de){if(!de.match(/^\w+:\/\//)){var ee=o.createElement(ub);ee.src=de+vb,de=bt(ee.src)}return de}function Ce(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function ye(){for(var de=o.getElementsByTagName(_),ee=O;ee<de.length;++ee)if(de[ee].src.indexOf(xb)!=-1)return bt(de[ee].src);return W}function ze(){var de=o.getElementsByTagName(yb);return de.length>O?de[de.length-P].href:W}function a(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var he=Ce();return he==W&&(he=ye()),he==W&&(he=ze()),he==W&&a()&&(he=bt(o.location.href)),he=mt(he),he}function C(bt){return bt.match(/^\//)||bt.match(/^[a-zA-Z]+:\/\//)?bt:webModule.__moduleBase+bt}function D(){var bt=[],mt=O,Ce=[],ye=[];function ze(de){var ee=ye[de](),oe=Ce[de];if(ee in oe)return ee;var ne=[];for(var te in oe)ne[oe[te]]=te;throw r&&r(de,ne,ee),null}if(__gwt_isKnownPropertyValue=function(de,ee){return ee in Ce[de]},webModule.__getPropMap=function(){var de={};for(var ee in Ce)Ce.hasOwnProperty(ee)&&(de[ee]=ze(ee));return de},webModule.__computePropValue=ze,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var a;try{a=Cb;var he=a.indexOf(Db);he!=-1&&(mt=parseInt(a.substring(he+P),$),a=a.substring(O,he))}catch(de){}return webModule.__softPermutationId=mt,C(a+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},88457:function(bt,mt,Ce){"use strict";Ce.d(mt,{Ax:function(){return he},Ds:function(){return de},KI:function(){return oe},SI:function(){return a},f1:function(){return ze}});var ye=Ce(78323);function ze(ne){let te=!0;if(ne.length>0){for(let se=0;se<ne.length;se++)if(ne[se].compile_success==0||!ne[se].compile_success){te=!1;break}}else te=!1;return te}function a(ne,te=""){let se=[];for(let z=0;z<ne.length;z++){let x=ne[z],b=te?`${te}/${x.name}`:`${x.name}`;se.push({title:x.name,type:x.type,isLeaf:x.type!=="tree",key:b})}return se}function he(ne,te,se){for(let z=0;z<ne.length;z++){let x=ne[z];if(x.key===te){x.children=se;break}x.children&&he(x.children,te,se)}return ne}function de(ne,te,se){let z;return function(){let x=this,b=arguments,E=function(){z=null,se||ne.apply(x,b)},re=se&&!z;clearTimeout(z),z=setTimeout(E,te),re&&ne.apply(x,b)}}const ee=!0,oe=ye.Z.API_SERVER},75353:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return E}});var ye=Ce(99571),ze=Ce(59301),a=Object.defineProperty,he=Object.defineProperties,de=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,te=(re,ae,le)=>ae in re?a(re,ae,{enumerable:!0,configurable:!0,writable:!0,value:le}):re[ae]=le,se=(re,ae)=>{for(var le in ae||(ae={}))oe.call(ae,le)&&te(re,le,ae[le]);if(ee)for(var le of ee(ae))ne.call(ae,le)&&te(re,le,ae[le]);return re},z=(re,ae)=>he(re,de(ae)),x=(re,ae)=>{var le={};for(var fe in re)oe.call(re,fe)&&ae.indexOf(fe)<0&&(le[fe]=re[fe]);if(re!=null&&ee)for(var fe of ee(re))ae.indexOf(fe)<0&&ne.call(re,fe)&&(le[fe]=re[fe]);return le},b=(re,ae,le)=>new Promise((fe,ce)=>{var ue=we=>{try{_e(le.next(we))}catch(xe){ce(xe)}},ge=we=>{try{_e(le.throw(we))}catch(xe){ce(xe)}},_e=we=>we.done?fe(we.value):Promise.resolve(we.value).then(ue,ge);_e((le=le.apply(re,ae)).next())});const E=re=>{var ae=re,{children:le}=ae,fe=x(ae,["children"]);const[ce,ue]=(0,ze.useState)(!1);return ze.createElement(ye.ZP,z(se({},fe),{loading:ce,onClick:ge=>b(void 0,null,function*(){try{ue(!0),yield fe.onClick(ge),ue(!1)}catch(_e){console.error(_e),ue(!1)}})}),le)}},12306:function(bt,mt,Ce){"use strict";var ye=Ce(86204),ze=Ce.n(ye),a=Object.defineProperty,he=(ne,te,se)=>te in ne?a(ne,te,{enumerable:!0,configurable:!0,writable:!0,value:se}):ne[te]=se,de=(ne,te,se)=>he(ne,typeof te!="symbol"?te+"":te,se),ee=(ne,te,se)=>new Promise((z,x)=>{var b=ae=>{try{re(se.next(ae))}catch(le){x(le)}},E=ae=>{try{re(se.throw(ae))}catch(le){x(le)}},re=ae=>ae.done?z(ae.value):Promise.resolve(ae.value).then(b,E);re((se=se.apply(ne,te)).next())});class oe extends ye.EventEmitter{constructor(te,se){super(),de(this,"url"),de(this,"body"),de(this,"fullContent",""),de(this,"controller",null),de(this,"buffer",""),this.url=te,this.body=se}startStream(){return ee(this,null,function*(){this.controller=new AbortController;const{signal:te}=this.controller;try{const se=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:te});if(!se.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${se.status}`);const z=se.headers.get("content-type");if(!z)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(z.includes("application/json")){const E=yield se.json();this.emit("error",E);return}if(!z.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const x=se.body.getReader(),b=new TextDecoder("utf-8");for(;;){const{done:E,value:re}=yield x.read();if(E)break;const ae=b.decode(re,{stream:!0});this.buffer+=ae;const le=this.buffer.split(`
`);this.buffer=le.pop()||"";for(const fe of le)if(fe.startsWith("data:")){const ce=fe.slice(5).trim();if(ce==="[DONE]")break;try{const ue=JSON.parse(ce);ue.data&&this.handleData(ue.data)}catch(ue){this.buffer=fe+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ue)}}}this.emit("done",this.fullContent)}catch(se){se.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",se.message)}})}handleData(te){te.content&&(this.fullContent+=te.content,this.emit("data",{chunk:te,full:this.fullContent}))}cancelRequest(){var te;(te=this.controller)==null||te.abort()}}mt.Z=oe},93056:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return st}});var ye=Ce(59301),ze=Ce(92310),a=Ce.n(ze),he={agent:"agent___exMfN",add:"add___cWyoE",imgUpLoad:"imgUpLoad___Wg61u",tip:"tip___WGAb5"},de=Ce(28284),ee=Ce(6767),oe=Ce(14566),ne=Ce(25399),te=Ce(75727),se=Ce(62957),z=Ce(77019),x=Ce(99571),b=Ce(54172),E=Ce(82326),re=Ce(37568),ae=Ce(5269),le=Ce(62673),fe=Ce(47889),ce=Ce(13922),ue=Ce(57193),ge=Ce(71951),_e=Ce(19248),we=Ce(78323),xe=Ce(95392),ve=Ce(13747),Se=Ce(89392),be=Object.defineProperty,Ae=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,ke=(rt,pt,ft)=>pt in rt?be(rt,pt,{enumerable:!0,configurable:!0,writable:!0,value:ft}):rt[pt]=ft,Pe=(rt,pt)=>{for(var ft in pt||(pt={}))Te.call(pt,ft)&&ke(rt,ft,pt[ft]);if(Ae)for(var ft of Ae(pt))je.call(pt,ft)&&ke(rt,ft,pt[ft]);return rt},Oe=(rt,pt)=>{var ft={};for(var qe in rt)Te.call(rt,qe)&&pt.indexOf(qe)<0&&(ft[qe]=rt[qe]);if(rt!=null&&Ae)for(var qe of Ae(rt))pt.indexOf(qe)<0&&je.call(rt,qe)&&(ft[qe]=rt[qe]);return ft},He=(rt,pt,ft)=>new Promise((qe,Ie)=>{var at=vt=>{try{et(ft.next(vt))}catch(gt){Ie(gt)}},Be=vt=>{try{et(ft.throw(vt))}catch(gt){Ie(gt)}},et=vt=>vt.done?qe(vt.value):Promise.resolve(vt.value).then(at,Be);et((ft=ft.apply(rt,pt)).next())});const Ge=rt=>{var pt=rt,{user:ft,pathsDetail:qe,onOk:Ie,dispatch:at}=pt,Be=Oe(pt,["user","pathsDetail","onOk","dispatch"]),et;const[vt,gt]=(0,ye.useState)({}),[dt]=(0,xe.useSearchParams)(),[Ve]=de.default.useForm(),[Ne,Ye]=(0,ye.useState)([]),[ot,Ue]=(0,ye.useState)({page:1,per_page:15,agent_type:"",status:"enabled",deployable_id:((et=qe==null?void 0:qe.detail)==null?void 0:et.id)||dt.get("subject_id"),creation_type:"by_user",deployable_type:"Subject",keyword:""}),[Le,De]=(0,ye.useState)([]);function Ze(){return He(this,null,function*(){let lt=yield(0,ue.ZP)("/api/ai/agents.json",{method:"get",params:ot});(lt==null?void 0:lt.status)===0&&Ye(lt==null?void 0:lt.data)})}return(0,ye.useEffect)(()=>{qe.actionTabs.key==="\u667A\u80FD\u52A9\u6559\u9009\u7528"&&Ze()},[qe.actionTabs.key,ot]),ye.createElement(se.default,{centered:!0,title:"\u9009\u7528\u667A\u80FD\u4F53",open:qe.actionTabs.key==="\u667A\u80FD\u52A9\u6559\u9009\u7528",width:500,onCancel:()=>{at({type:"pathsDetail/setActionTabs",payload:{}})},onOk:()=>He(void 0,null,function*(){if((Le==null?void 0:Le.length)===0){ee.ZP.info("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u667A\u80FD\u4F53");return}(yield Ie({agent_ids:Le})).status===0&&De([])})},ye.createElement(de.default,{layout:"inline",size:"large",style:{justifyContent:"end"},form:Ve,initialValues:{deployable_type:""},onValuesChange:(0,Se.debounce)((lt,Fe)=>{ot.page=1,ot.per_page=20,Ue(Pe(Pe({},ot),Fe))},300)},ye.createElement("div",{style:{textAlign:"end"}})),ye.createElement(b.default,{style:{marginTop:20},scroll:{y:400},rowSelection:{type:"checkbox",onChange(lt,Fe,yt){De(lt)},getCheckboxProps:lt=>{var Fe;return{disabled:(Fe=lt==null?void 0:lt.agent_application_info)==null?void 0:Fe.subject_assistant}},selectedRowKeys:Le},rowKey:lt=>lt==null?void 0:lt.id,pagination:!1,columns:[{title:"\u5E8F\u53F7",dataIndex:"deployable_name",render:(lt,Fe,yt)=>`${(ot.page-1)*ot.per_page+yt+1}`,width:50},{title:"\u667A\u80FD\u4F53\u540D\u79F0",dataIndex:"name"}],dataSource:Ne==null?void 0:Ne.agents}),ye.createElement(ve.Z,{style:{marginTop:20},pageSize:ot.per_page,current:ot.page,onChange:(lt,Fe)=>{ot.page=lt,ot.per_page=Fe,Ue(Pe({},ot))},hideOnSinglePage:!0,total:Ne==null?void 0:Ne.total_count}))};var tt=(0,xe.connect)(({user:rt,pathsDetail:pt})=>({user:rt,pathsDetail:pt}))(Ge),Me=Object.defineProperty,We=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,$e=(rt,pt,ft)=>pt in rt?Me(rt,pt,{enumerable:!0,configurable:!0,writable:!0,value:ft}):rt[pt]=ft,Je=(rt,pt)=>{for(var ft in pt||(pt={}))it.call(pt,ft)&&$e(rt,ft,pt[ft]);if(We)for(var ft of We(pt))ut.call(pt,ft)&&$e(rt,ft,pt[ft]);return rt},Xe=(rt,pt,ft)=>new Promise((qe,Ie)=>{var at=vt=>{try{et(ft.next(vt))}catch(gt){Ie(gt)}},Be=vt=>{try{et(ft.throw(vt))}catch(gt){Ie(gt)}},et=vt=>vt.done?qe(vt.value):Promise.resolve(vt.value).then(at,Be);et((ft=ft.apply(rt,pt)).next())}),st=({className:rt,style:pt={},addStyle:ft={},buttonMaxWidth:qe,buttonMaxCount:Ie=3,buttonAutoWidth:at,value:Be,data:et,url:vt,onChange:gt,getIAData:dt,queryInfo:Ve,showParams:Ne=!1})=>{var Ye,ot;const Ue=(0,xe.useDispatch)(),Le=(0,xe.useSelector)(hr=>hr==null?void 0:hr.shixunsDetail),De=(0,xe.useSelector)(hr=>hr==null?void 0:hr.pathsDetail),[Ze]=de.default.useForm(),[lt,Fe]=(0,ye.useState)(),[yt,xt]=(0,ye.useState)(!1),[jt,Tt]=(0,ye.useState)(!1),[wt,It]=(0,ye.useState)(!1),[Bt,Wt]=(0,ye.useState)(null),[Qt,dr]=(0,ye.useState)([]),[lr,Or]=(0,ye.useState)([]),Yr={Course:"\u4EC5\u8BFE\u5802\u6559\u5E08\u53EF\u89C1",Subject:"\u4EC5\u6559\u5B66\u56E2\u961F\u53EF\u89C1",Shixun:"\u4EC5\u534F\u4F5C\u8005\u53EF\u89C1"};(0,ye.useEffect)(()=>{Le.actionTabs.key=="\u7F16\u8F91\u667A\u80FD\u5E94\u7528"?ai(Le.actionTabs.params):Le.actionTabs.key=="\u6DFB\u52A0\u667A\u80FD\u5E94\u7528"&&(Ze.setFieldsValue({open_range:0}),Fe({open_range:0}))},[Le.actionTabs.key]);const rn={fileList:lr,maxCount:1,accept:".jpg,.png",withCredentials:!0,showUploadList:!1,beforeUpload:hr=>{const br=hr.size/1024/1024/100;return br>2||br==0?(ee.ZP.error(`${hr.name} \u56FE\u7247\u65E0\u6CD5\u4E0A\u4F20\u3002${br==0?"\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A":"\u8D85\u8FC7\u56FE\u7247\u5927\u5C0F\u9650\u5236(200MB)"}`),oe.default.LIST_IGNORE):!0},onRemove:hr=>{Or([])},onChange:hr=>{var br,Kt,$t;Ze.setFieldsValue({attachment_id:""}),["uploading","done","removed"].includes(hr.file.status)&&(Or(hr.fileList),Ze.setFieldsValue({attachment_id:($t=(Kt=(br=hr.fileList)==null?void 0:br[0])==null?void 0:Kt.response)==null?void 0:$t.id}))},action:`${we.Z.API_SERVER}/api/attachments.json`},zr=()=>{var hr,br;return ye.createElement("div",{className:he.imgUpLoad},ye.createElement("img",{src:we.Z.API_SERVER+"/api/attachments/"+((br=(hr=lr==null?void 0:lr[0])==null?void 0:hr.response)==null?void 0:br.id),alt:"avatar",style:{width:"100%"}}),ye.createElement("div",null,ye.createElement(_e.Z,{onClick:()=>{Or([]),Ze.setFieldsValue({attachment_id:""})},style:{fontSize:"16px",color:"red"}})))},Wr=[{title:"\u5E94\u7528\u540D\u79F0",dataIndex:"name",width:280,ellipsis:{showTitle:!1},render:(hr,br)=>ye.createElement(ne.Z,{title:hr},hr)},{title:"\u5E94\u7528\u7C7B\u578B",dataIndex:"application_type",render:(hr,br)=>(br==null?void 0:br.application_type)==="chat_assistant"?"\u804A\u5929\u52A9\u624B":(br==null?void 0:br.application_type)==="text_generation"?"\u6587\u672C\u751F\u6210":"\u5DE5\u4F5C\u6D41"},{title:"API\u79D8\u94A5",dataIndex:"api_key",width:280,ellipsis:{showTitle:!1},render:(hr,br)=>ye.createElement(ne.Z,{title:hr,placement:"topLeft"},hr)},{title:"\u667A\u80FD\u4F53\u5E73\u53F0",dataIndex:"platform",render:(hr,br)=>(br==null?void 0:br.platform)==="dify"?"Dify":"\u667A\u80FD\u5DE5\u5382"},{title:"\u64CD\u4F5C",width:100,align:"right",render:(hr,br)=>ye.createElement(ye.Fragment,null,!(br!=null&&br.agent_type)&&ye.createElement("span",{onClick:()=>{Ue({type:"shixunsDetail/setActionTabs",payload:{key:"\u7F16\u8F91\u667A\u80FD\u5E94\u7528",params:br}})},className:"current c-light-primary mr15"},"\u7F16\u8F91"),ye.createElement("span",{onClick:()=>{br!=null&&br.agent_type?Nn(br):Ir(br)},className:"current c-red"},"\u79FB\u51FA"))}],sn=()=>Xe(void 0,null,function*(){var hr;const br=yield(0,ue.ZP)("/api/ai/intelligent_applications/get_platform.json",{method:"get"});(br==null?void 0:br.code)===0&&dr((hr=br==null?void 0:br.data)==null?void 0:hr.platforms)}),bn=hr=>Xe(void 0,null,function*(){It(!0);const br=Je(Je({},hr),Ve),Kt=yield(0,ue.ZP)(`/api/ai/intelligent_applications${Bt?"/"+Bt.id:""}.json`,{method:Bt?"put":"post",body:br});(Kt==null?void 0:Kt.status)===0&&(ee.ZP.success(Bt?"\u7F16\u8F91\u6210\u529F":"\u6DFB\u52A0\u6210\u529F"),Ue({type:"shixunsDetail/setActionTabs",payload:{}}),dt()),It(!1)}),Ir=hr=>Xe(void 0,null,function*(){Tt(!0);const br=yield(0,ue.ZP)(`/api/ai/intelligent_applications/${hr==null?void 0:hr.id}.json`,{method:"delete"});(br==null?void 0:br.status)===0&&(ee.ZP.success("\u79FB\u9664\u6210\u529F"),dt()),Tt(!1)}),Nn=hr=>Xe(void 0,null,function*(){Tt(!0);let br=yield(0,ue.ZP)("/api/ai/agents/set_agent_applications.json",{method:"post",body:{subject_assistant:!1,agent_ids:[hr==null?void 0:hr.id]}});(br==null?void 0:br.status)===0&&(ee.ZP.success("\u79FB\u9664\u6210\u529F"),dt()),Tt(!1)}),ai=hr=>Xe(void 0,null,function*(){Wt(hr),Ze.setFieldsValue(Je({},hr)),Fe(Je({},hr)),hr!=null&&hr.attachment&&Or([{response:hr==null?void 0:hr.attachment}])});return ye.createElement(ye.Fragment,null,ye.createElement(te.Z,{disabled:Ve.item_type==="Course",menu:{items:[{key:"2",label:ye.createElement("a",{onClick:hr=>{var br;hr.stopPropagation(),Ue({type:"pathsDetail/setActionTabs",payload:{key:"\u667A\u80FD\u52A9\u6559\u9009\u7528",deployable_type:"Subject",deployable_id:(br=De==null?void 0:De.detail)==null?void 0:br.id}})}},"\u9009\u7528\u667A\u80FD\u4F53")},{key:"3",label:ye.createElement("a",{onClick:hr=>{hr.stopPropagation(),sn(),xt(!0)}},"\u7BA1\u7406\u81EA\u5B9A\u4E49\u667A\u80FD\u5E94\u7528")}]}},ye.createElement("div",{className:a()(he.agent,rt),style:pt},ye.createElement(ne.Z,{title:Ve.item_type==="Course"&&"\u7BA1\u7406\u81EA\u5B9A\u4E49\u667A\u80FD\u5E94\u7528"},ye.createElement("div",{className:he.add,style:ft,onClick:()=>{Ve.item_type==="Course"&&(sn(),xt(!0))}},ye.createElement("i",{className:"iconfont icon-tianjiadaohang"}))))),De.actionTabs.key==="\u667A\u80FD\u52A9\u6559\u9009\u7528"&&ye.createElement(tt,{onOk:hr=>Xe(void 0,null,function*(){let br=yield(0,ue.ZP)("/api/ai/agents/set_agent_applications.json",{method:"post",body:Je({subject_assistant:!0},hr)});return(br==null?void 0:br.status)===0&&(ee.ZP.info("\u9009\u7528\u6210\u529F"),Ue({type:"pathsDetail/setActionTabs",payload:{}}),dt()),br})}),ye.createElement(se.default,{zIndex:1e3,width:900,centered:!0,title:"\u7BA1\u7406\u81EA\u5B9A\u4E49\u667A\u80FD\u5E94\u7528",open:yt,footer:null,onCancel:()=>xt(!1)},ye.createElement(z.Z,{align:"middle"},ye.createElement(x.ZP,{onClick:()=>{if((et==null?void 0:et.length)>=Ie){ee.ZP.warning("\u6700\u591A\u540C\u65F6\u652F\u6301\u6DFB\u52A03\u4E2A\u5E94\u7528");return}Ue({type:"shixunsDetail/setActionTabs",payload:{key:"\u6DFB\u52A0\u667A\u80FD\u5E94\u7528"}})},type:"primary"},"\u7ACB\u5373\u6DFB\u52A0"),ye.createElement("div",{className:"ml10 c-grey-666 font14"},"\u60A8\u53EF\u4EE5\u6DFB\u52A0\u5DF2\u5728\u667A\u80FD\u4F53\u5E73\u53F0\u521B\u5EFA\u5B8C\u6210\u7684\u667A\u80FD\u5E94\u7528")),(et==null?void 0:et.length)>0?ye.createElement(b.default,{className:"mt20",style:{marginBottom:15},pagination:!1,dataSource:et,loading:jt,columns:Wr}):ye.createElement(ce.Z,{customText:"\u6682\u672A\u6DFB\u52A0\u81EA\u5B9A\u4E49\u7684\u667A\u80FD\u5E94\u7528~",styles:{margin:"50px auto"}})),ye.createElement(se.default,{zIndex:1001,width:530,centered:!0,title:ye.createElement(z.Z,{align:"middle"},ye.createElement("b",{className:"font16 c-black"},Le.actionTabs.key)),open:["\u7F16\u8F91\u667A\u80FD\u5E94\u7528","\u6DFB\u52A0\u667A\u80FD\u5E94\u7528"].includes(Le.actionTabs.key),confirmLoading:wt,onCancel:()=>{Ue({type:"shixunsDetail/setActionTabs",payload:{}})},onOk:()=>Ze.submit(),afterClose:()=>{Ze.resetFields(),Wt(null),Or([])}},ye.createElement(de.default,{form:Ze,className:"mt10",labelCol:{span:5},wrapperCol:{span:20},onFinish:bn,colon:!1,size:"large",labelAlign:"right",onValuesChange:()=>Fe(Je({},Ze.getFieldsValue()))},ye.createElement(de.default.Item,{label:"\u667A\u80FD\u4F53\u5E73\u53F0",name:"platform",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u667A\u80FD\u4F53\u5E73\u53F0"}]},ye.createElement(E.default,{placeholder:"\u8BF7\u9009\u62E9\u5E94\u7528\u7C7B\u578B"},Qt==null?void 0:Qt.map(hr=>ye.createElement(E.default.Option,{key:hr==null?void 0:hr.value,value:hr==null?void 0:hr.value},hr==null?void 0:hr.name)))),ye.createElement(de.default.Item,{label:"\u5E94\u7528\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D\u79F0"}]},ye.createElement(re.default,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D\u79F0\uFF0C\u6700\u5927\u652F\u630120\u4E2A\u5B57\u7B26",maxLength:20})),ye.createElement(de.default.Item,{name:"attachment_id",label:"\u5E94\u7528\u56FE\u6807",rules:[{required:!1,message:"\u8BF7\u4E0A\u4F20\u5E94\u7528\u56FE\u6807"}]},ye.createElement("div",{className:he.upload},ye.createElement(oe.default,Je({},rn),ye.createElement(z.Z,{wrap:!1,align:"middle"},ye.createElement(ge.op,{style:{borderRadius:"2px"},icon:ye.createElement("i",{className:"iconfont icon-shangchuan3"})},"\u70B9\u51FB\u4E0A\u4F20"),ye.createElement(ae.Z,{style:{marginLeft:"14px",color:"#999999"},onClick:hr=>{hr.preventDefault(),hr.stopPropagation()}},"\u652F\u6301jpg/png\uFF0C\u4E0D\u4E0A\u4F20\u5219\u4F7F\u7528\u9ED8\u8BA4\u56FE\u6807"))),((ot=(Ye=lr==null?void 0:lr[0])==null?void 0:Ye.response)==null?void 0:ot.id)&&zr())),ye.createElement(de.default.Item,{label:"\u5E94\u7528\u7C7B\u578B",name:"application_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5E94\u7528\u7C7B\u578B"}]},ye.createElement(E.default,{placeholder:"\u8BF7\u9009\u62E9\u5E94\u7528\u7C7B\u578B"},ye.createElement(E.default.Option,{value:"chat_assistant"},"\u804A\u5929\u52A9\u624B"),(lt==null?void 0:lt.platform)=="dify"&&ye.createElement(E.default.Option,{value:"text_generation"},"\u6587\u672C\u751F\u6210"),ye.createElement(E.default.Option,{value:"workflow"},"\u5DE5\u4F5C\u6D41"))),Ne&&ye.createElement(de.default.Item,{name:"built_variable",label:ye.createElement("div",null,ye.createElement("span",null,"\u53C2\u6570"),ye.createElement(ne.Z,{title:"\u64CD\u4F5C\u8BF4\u660E: \u52FE\u9009\u540E\uFF0C\u8C03\u7528\u667A\u80FD\u4F53\u65F6\u5C06\u9ED8\u8BA4\u643A\u5E26\u5BF9\u5E94\u7684\u5B9E\u9A8C\u4FE1\u606F\uFF0C\u53EF\u5728\u667A\u80FD\u4F53\u4E2D\u901A\u8FC7\u81EA\u5B9A\u4E49\u53C2\u6570\u8FDB\u884C\u5F15\u5165"},ye.createElement("i",{className:"iconfont icon-tishixiaowenhao ml5"})))},ye.createElement(le.default.Group,{options:[{label:"\u9898\u76EE\u63CF\u8FF0\uFF08question_description\uFF09",value:"question_description"},{label:"\u6D4B\u8BD5\u96C6\uFF08test_sets\uFF09",value:"test_sets"},{label:"\u4EE3\u7801\u6587\u4EF6\uFF08code_files\uFF09",value:"code_files"}]})),ye.createElement(de.default.Item,{label:"\u516C\u5F00\u8303\u56F4",name:"open_range"},ye.createElement(fe.ZP.Group,{options:[{value:0,label:Yr[Ve==null?void 0:Ve.item_type]},{value:1,label:"\u6240\u6709\u4EBA\u53EF\u89C1"}]})),ye.createElement(de.default.Item,{className:"mb0",label:"API\u79D8\u94A5",name:"api_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165API\u79D8\u94A5"}]},ye.createElement(re.default,{placeholder:"\u8BF7\u8F93\u5165API\u79D8\u94A5"})),ye.createElement("div",{className:he.tip},ye.createElement("i",{className:"iconfont icon-tishi9"}),ye.createElement("span",null,"\u8BF7\u52A1\u5FC5\u4FDD\u8BC1\u79D8\u94A5\u6B63\u786E\uFF0C\u5426\u5219\u53EF\u80FD\u65E0\u6CD5\u6B63\u5E38\u4F7F\u7528\u667A\u80FD\u5E94\u7528")))))}},35992:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return b}});var ye=Ce(59301),ze=Ce(30641),a=Ce(77019),he=Ce(5269),de={smartWrp:"smartWrp___NjRcB"},ee=Ce(95440),oe=Ce(71951),ne=Ce(75353),te=Ce(59301),se=(E,re,ae)=>new Promise((le,fe)=>{var ce=_e=>{try{ge(ae.next(_e))}catch(we){fe(we)}},ue=_e=>{try{ge(ae.throw(_e))}catch(we){fe(we)}},ge=_e=>_e.done?le(_e.value):Promise.resolve(_e.value).then(ce,ue);ge((ae=ae.apply(E,re)).next())});const z=`<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>\u5FEB\u901F\u6392\u5E8F\u6F14\u793A</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 20px;
}
.array-container {
display: flex;
justify-content: center;
align-items: flex-end;
height: 300px;
margin-top: 20px;
}
.bar {
width: 30px;
margin: 0 2px;
background-color: #4caf50;
color: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 5px;
transition: all 0.3s ease;
}
.bar.sorted {
background-color: #ff9800;
}
.bar.pivot {
background-color: #f44336;
}
</style>
</head>
<body>
<h1>\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A</h1>
<button id="start-sort">\u5F00\u59CB\u6392\u5E8F</button>
<div class="array-container" id="array-container"></div>
<script>
const array = [34, 7, 23, 32, 5, 62]; // \u56FA\u5B9A\u6570\u7EC4
let bars = [];
// \u521D\u59CB\u5316\u6570\u7EC4\u663E\u793A
function initArrayDisplay() {
const container = document.getElementById('array-container');
container.innerHTML = '';
bars = array.map(value => {
const bar = document.createElement('div');
bar.className = 'bar';
bar.style.height = \`\${value * 5}px\`;
bar.textContent = value;
container.appendChild(bar);
return bar;
});
}
// \u9AD8\u4EAE\u67D0\u4E2A\u8303\u56F4\u5185\u7684\u67F1\u5B50
function highlightBars(indices, className) {
indices.forEach(index => bars[index].classList.add(className));
}
// \u79FB\u9664\u9AD8\u4EAE
function removeHighlightBars(indices, className) {
indices.forEach(index => bars[index].classList.remove(className));
}
// \u5FEB\u901F\u6392\u5E8F\u4E3B\u51FD\u6570
async function quickSort(arr, left = 0, right = arr.length - 1) {
if (left >= right) return;
const pivotIndex = await partition(arr, left, right);
await quickSort(arr, left, pivotIndex - 1);
await quickSort(arr, pivotIndex + 1, right);
}
// \u5206\u533A\u51FD\u6570
async function partition(arr, left, right) {
const pivot = arr[right];
let i = left - 1;
highlightBars([right], 'pivot'); // \u9AD8\u4EAE\u57FA\u51C6\u503C
for (let j = left; j < right; j++) {
highlightBars([j], 'sorted'); // \u9AD8\u4EAE\u5F53\u524D\u6BD4\u8F83\u5143\u7D20
await sleep(500);
if (arr[j] <= pivot) {
i++;
[arr[i], arr[j]] = [arr[j], arr[i]];
// \u66F4\u65B0\u67F1\u5B50\u9AD8\u5EA6
bars[i].style.height = \`\${arr[i] * 5}px\`;
bars[i].textContent = arr[i];
bars[j].style.height = \`\${arr[j] * 5}px\`;
bars[j].textContent = arr[j];
await sleep(500);
}
removeHighlightBars([j], 'sorted'); // \u79FB\u9664\u9AD8\u4EAE
}
// \u5C06\u57FA\u51C6\u503C\u653E\u5230\u6B63\u786E\u4F4D\u7F6E
[arr[i + 1], arr[right]] = [arr[right], arr[i + 1]];
bars[i + 1].style.height = \`\${arr[i + 1] * 5}px\`;
bars[i + 1].textContent = arr[i + 1];
bars[right].style.height = \`\${arr[right] * 5}px\`;
bars[right].textContent = arr[right];
removeHighlightBars([right], 'pivot'); // \u79FB\u9664\u57FA\u51C6\u503C\u9AD8\u4EAE
highlightBars([i + 1], 'sorted'); // \u9AD8\u4EAE\u6700\u7EC8\u4F4D\u7F6E
await sleep(500);
removeHighlightBars([i + 1], 'sorted');
return i + 1;
}
// \u5EF6\u8FDF\u51FD\u6570
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
// \u5F00\u59CB\u6392\u5E8F\u6309\u94AE\u70B9\u51FB\u4E8B\u4EF6
document.getElementById('start-sort').addEventListener('click', () => {
quickSort(array);
});
// \u521D\u59CB\u5316\u9875\u9762
initArrayDisplay();
<\/script>
</body>
</html>`;function x({open:E=!0,onChange:re,defaultValue:ae,placement:le,width:fe,height:ce,extra:ue,onDynamic:ge,onOpenChange:_e,showExtra:we=!0}){const xe=(0,ye.useRef)(null),ve=(0,ye.useRef)(null),[Se,be]=(0,ye.useState)(ae||""),[Ae,Te]=(0,ye.useState)(ae||""),[je,ke]=(0,ye.useState)(!!E),[Pe,Oe]=(0,ye.useState)(1),He={selectOnLineNumbers:!0};(0,ye.useEffect)(()=>{E&&(be(ae),Te(ae),ke(!0))},[E,ae]),(0,ye.useEffect)(()=>{Se!==""&&(clearTimeout(ve.current),ve.current=setTimeout(()=>{const tt=document.createElement("iframe");if(tt.style.width="100%",tt.style.height="100%",tt.style.border="0",xe.current){xe.current.innerHTML="",xe.current.appendChild(tt);const Me=tt.contentDocument||tt.contentWindow.document;Me.open(),Me.write(Se),Me.close()}},1e3))},[E,Se]);const Ge=tt=>{be(tt),re==null||re(tt,Ae)};return te.createElement(ze.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:je,width:"100%",height:ce||"100vh",rootClassName:de.smartWrp,destroyOnClose:!0,onClose:()=>{ke(!1),_e==null||_e(Se)},extra:we&&te.createElement("div",null,te.createElement(oe.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:Pe,onChange:tt=>Oe(tt)}),te.createElement(ne.Z,{type:"primary",className:"ml20",onClick:()=>se(this,null,function*(){yield ge(Se,()=>{ke(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},te.createElement(a.Z,{className:"h100"},te.createElement(he.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:Pe===1?"block":"none"}},te.createElement("div",{className:"h100",ref:xe})),te.createElement(he.Z,{flex:"1",style:{display:Pe===2?"block":"none"}},te.createElement(ee.ZP,{height:"90vh",value:ae,language:"html",theme:"vs",showMiniMap:!1,options:He,onChange:Ge}))))}var b=x},57942:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return Se}});var ye=Ce(59301),ze=Ce(97831),a=Ce(66328),he=Ce(3977),de=Ce(18369),ee=Ce(56102),oe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},ne=Ce(6767),te=Ce(90083),se=Ce(95827),z=Ce(30084),x=Ce(10787),b=Ce(79562),E=Ce(35992),re=Object.defineProperty,ae=Object.defineProperties,le=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,ge=(be,Ae,Te)=>Ae in be?re(be,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Te}):be[Ae]=Te,_e=(be,Ae)=>{for(var Te in Ae||(Ae={}))ce.call(Ae,Te)&&ge(be,Te,Ae[Te]);if(fe)for(var Te of fe(Ae))ue.call(Ae,Te)&&ge(be,Te,Ae[Te]);return be},we=(be,Ae)=>ae(be,le(Ae)),xe=(be,Ae)=>{var Te={};for(var je in be)ce.call(be,je)&&Ae.indexOf(je)<0&&(Te[je]=be[je]);if(be!=null&&fe)for(var je of fe(be))Ae.indexOf(je)<0&&ue.call(be,je)&&(Te[je]=be[je]);return Te},Se=({onFinish:be,value:Ae,streamingStatus:Te,cancelIndex:je,loadImage:ke,onDynamic:Pe,isHiddenHtml:Oe})=>{const[He,Ge]=(0,ye.useState)(""),[tt,Me]=(0,ye.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[We,it]=(0,ye.useState)(0),[ut,$e]=(0,ye.useState)(!1),Je=st=>{const rt=/(```[\s\S]*?```|`[^`]*`)/g;let pt=0,ft="",qe=null;const Ie=at=>(at=at.replace(/\$\$([\s\S]*?)\$\$/g,(Be,et)=>{const vt=et.trim();return`<mathx data-text="${vt}">$$${vt}$$</mathx>`}),at=at.replace(/\\\[([\s\S]*?[\\_^{}][\s\S]*?)\\\]/g,(Be,et)=>{const vt=et.trim();return`<mathx data-text="${vt}">$$${vt}$$</mathx>`}),at=at.replace(/\\\(([\s\S]*?)\\\)/g,(Be,et)=>{const vt=et.trim();return`<mathx data-text="${vt}">$${vt}$</mathx>`}),at=at.replace(/\$(?!\$)([^\n$]+?)\$(?!\$)/g,(Be,et)=>{const vt=et.trim();return`<mathx data-text="${vt}">$${vt}$</mathx>`}),at);for(;(qe=rt.exec(st))!==null;)qe.index>pt&&(ft+=Ie(st.slice(pt,qe.index))),ft+=qe[0],pt=qe.index+qe[0].length;return pt<st.length&&(ft+=Ie(st.slice(pt))),ft},Xe=()=>{$e(!0),be==null||be()};(0,ye.useEffect)(()=>{const st=ke?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
${Ae}`:Ae,rt=Je(st);if(!ut)if(ke||!Te||je>0){Ge(rt),it(rt.length),(!Te||je>0)&&!ke&&Xe();return}else if((rt==null?void 0:rt.length)<4)Ge(rt),it(rt.length);else if(We<rt.length){const pt=rt.length-We,ft=setInterval(()=>{Ge(rt.slice(0,We+2)),it(qe=>qe+2)},pt>10?Math.max(500/(pt/2),20):50);return()=>clearInterval(ft)}else Te||Xe()},[Ae,Te,je,ke,We]);const Qe=(0,ye.useMemo)(()=>ye.createElement("section",{className:`${oe.answer} fadeIn animated edu_md`},ye.createElement(ze.UG,{remarkPlugins:[z.Z,x.Z],rehypePlugins:[se.Z,he.Z],components:{code(st){var rt=st,{node:pt,inline:ft,className:qe,children:Ie}=rt,at=xe(rt,["node","inline","className","children"]);const Be=/language-(\w+)/.exec(qe||""),et=String(Ie).trim();return ft||!Be?ye.createElement("code",_e({className:qe},at),Ie):ye.createElement("code",{className:oe.codeCopy,"data-text":`\`\`\`${Be?Be[1]:""}
${Ie}
\`\`\``},!Oe&&ye.createElement(ee.CopyToClipboard,{text:et,onCopy:()=>ne.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement("button",null,"\u590D\u5236")),!Oe&&Be[1]==="html"&&ut&&ye.createElement("button",{className:oe.runCode,onClick:()=>{Me(_e({},we(_e({},tt),{open:++tt.open,defaultValue:et,language:Be[1]})))}},"\u8FD0\u884CHTML"),ye.createElement(a.Z,_e({wrapLongLines:!0,style:de.Z,language:Be[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},at),et))},img({node:st}){var rt;const pt=(rt=st.properties)==null?void 0:rt.src;return ye.createElement(te.Z,{src:pt,width:320,"data-text":pt,onLoad:()=>ke&&setTimeout(()=>Xe(),500)})},a:st=>{var rt=st,{node:pt}=rt,ft=xe(rt,["node"]);return ye.createElement("a",we(_e({},ft),{target:"_blank",rel:"noopener noreferrer"}))}}},ut?He:`${He}__`)),[He,ut]);return ye.createElement(ye.Fragment,null,ye.createElement(E.Z,{defaultValue:tt.defaultValue,open:tt.open,language:tt.language,height:tt.height,onChange:(st,rt)=>{Ge(He.replaceAll(rt,st))},onDynamic:Pe}),Qe)}},67269:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return oe}});var ye=Ce(59301),ze=Ce(63949),a={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj",extraNode:"extraNode___tnBrt",specialImg:"specialImg___yAPav",bubble:"bubble___qNdfF",upImg:"upImg___Mx6QM"},he=Ce(78323),de=Ce(37166),oe=({src:ne,onClick:te,topPercentage:se=.62,draggableExtraNode:z,showAvatarEditData:x})=>{var b;const E=(0,ye.useRef)(null),re=(0,ye.useRef)(!1),ae=(0,ye.useRef)(!1),[le,fe]=(0,ye.useState)(window.innerHeight*se),[ce,ue]=(0,ye.useState)(!1),ge=10;return(0,ye.useEffect)(()=>{if(E.current){let _e=function(be){var Ae;re.current=!0,Se=be.pageY,ve=be.pageY-(((Ae=E.current)==null?void 0:Ae.getBoundingClientRect().top)||0),(0,ze.kk)("none"),document.onselectstart=function(){return!1}},we=function(){re.current&&!ae.current&&te&&te(),re.current=!1,ae.current=!1,(0,ze.kk)("auto"),document.onselectstart=null},xe=function(be){var Ae;if(re.current){const je=be.pageY-ve,ke=window.innerHeight-(((Ae=E.current)==null?void 0:Ae.offsetHeight)||0)-50,Pe=50;if(!ae.current&&Math.abs(Se-be.pageY)>ge&&(ae.current=!0),ae.current){let Oe=Math.max(Pe,Math.min(je,ke));fe(Oe)}}},ve=0,Se=0;return E.current.addEventListener("mousedown",_e),document.addEventListener("mousemove",xe),document.addEventListener("mouseup",we),()=>{var be,Ae;(Ae=(be=E==null?void 0:E.current)==null?void 0:be.removeEventListener)==null||Ae.call(be,"mousedown",_e),document.removeEventListener("mousemove",xe),document.removeEventListener("mouseup",we)}}},[te]),(0,ye.useEffect)(()=>{const _e=()=>{fe(window.innerHeight*se)};return window.addEventListener("resize",_e),()=>{window.removeEventListener("resize",_e)}},[se]),ye.createElement("div",{className:a.draggableImage,style:{top:`${le}px`,display:ce?"none":"block",cursor:re.current?"grabbing":"grab"},ref:E},z&&ye.createElement("div",{className:a.extraNode,onMouseUp:_e=>_e.stopPropagation(),onMouseDownCapture:_e=>_e.stopPropagation()},z),x!=null&&x.nickname?ye.createElement("div",{className:a.specialImg},ye.createElement("div",{className:a.bubble},x==null?void 0:x.nickname),ye.createElement("img",{className:a.upImg,src:x!=null&&x.headImgId?((b=he.Z)==null?void 0:b.API_SERVER)+"/api/attachments/"+(x==null?void 0:x.headImgId):de,width:60,draggable:"false"})):ye.createElement("img",{className:a.img,src:ne,width:60,draggable:"false"}),ye.createElement("i",{className:`iconfont icon-tupianguanbi ${a.close}`,onMouseUp:_e=>{_e.stopPropagation(),ue(!0)}}))}},8930:function(bt,mt,Ce){"use strict";Ce.d(mt,{r:function(){return le}});var ye=Ce(59301),ze=Ce(44104),a=Ce(62957),he=Ce(63949),de=Ce(78323),ee=Ce(71951),oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABb0lEQVR4AZxQPUsDQRSc3Xx4Fy9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9KIEZBm4jCiayIoSW+BQlLDiC2oiHGtU8MaegL/frJq8SDfHrmBh7RQ9g+qL1MC7FYwtYI7XqW0i7brh06tE5P+wMV5malRgSzGCXOM2aaqPHXnPiOqC2aTD08fGO5Cq7uWxJRXQ8wq5lNpA5n+QwYE7uAIAAP//pt/DRgAAAAZJREFUAwBZyguAkhNiOwAAAABJRU5ErkJggg==",te=Ce(57193),se=Ce(56656),z=Ce.n(se),x=Ce(64270),b=Ce.n(x),E=Ce(57942),re=Ce(4676),ae=(fe,ce,ue)=>new Promise((ge,_e)=>{var we=Se=>{try{ve(ue.next(Se))}catch(be){_e(be)}},xe=Se=>{try{ve(ue.throw(Se))}catch(be){_e(be)}},ve=Se=>Se.done?ge(Se.value):Promise.resolve(Se.value).then(we,xe);ve((ue=ue.apply(fe,ce)).next())});const le=fe=>{const ce=[{key:"markdown",name:"\u5BFC\u51FA\u4E3AMarkdown",icon:oe},{key:"word",name:"\u5BFC\u51FA\u4E3AWord",icon:ne}],ue=be=>be==null?"":String(be).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;"),ge=be=>ae(void 0,null,function*(){return new Promise(Ae=>{const Te=document.createElement("div");Te.style.position="fixed",Te.style.left="-9999px",Te.style.top="0",Te.style.width="720px",document.body.appendChild(Te);let je=null,ke=!1;const Pe=be==null?void 0:be.trim().startsWith("<img");try{if(Pe){Te.innerHTML=be?`<p style="color:#434D6C;">\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A</p>${be}`:"";const it=Te.querySelector("img");if(it){it.addEventListener("load",()=>{try{const $e=document.createElement("canvas");$e.width=320,$e.height=320;const Je=$e.getContext("2d");Je&&Je.drawImage(it,0,0);const Xe=$e.toDataURL("image/png");it.src=Xe}catch($e){console.error("\u56FE\u7247\u8F6C base64 \u5931\u8D25",$e)}const ut=Te.innerHTML;Te.parentNode&&Te.parentNode.removeChild(Te),Ae(ut)}),it.addEventListener("error",()=>{const ut=Te.innerHTML;Te.parentNode&&Te.parentNode.removeChild(Te),Ae(ut)});return}else{const ut=Te.innerHTML;Te.parentNode&&Te.parentNode.removeChild(Te),Ae(ut);return}}else if(re.render)re.render(ye.createElement(E.Z,{value:be,streamingStatus:!1}),Te);else{Te.innerText=be!=null?be:"";const it=Te.innerHTML;document.body.removeChild(Te),Ae(it);return}}catch(it){console.error("[exportHistory] render Answer failed:",it),Te.innerText=typeof be=="string"?be:String(be!=null?be:"");const ut=Te.innerHTML;try{ke&&je&&je.unmount?je.unmount():re.unmountComponentAtNode&&re.unmountComponentAtNode(Te)}catch($e){}document.body.removeChild(Te),Ae(ut);return}let Oe=Date.now();const He=new MutationObserver(()=>{Oe=Date.now()});He.observe(Te,{childList:!0,subtree:!0,attributes:!0,characterData:!0});const Ge=350,tt=6e3,Me=Date.now(),We=()=>{const it=Date.now();if(it-Oe>Ge){He.disconnect();const ut=Te.innerHTML;try{ke&&je&&je.unmount?je.unmount():re.unmountComponentAtNode&&re.unmountComponentAtNode(Te)}catch($e){}Te.parentNode&&Te.parentNode.removeChild(Te),Ae(ut);return}if(it-Me>tt){He.disconnect();const ut=Te.innerHTML;try{ke&&je&&je.unmount?je.unmount():re.unmountComponentAtNode&&re.unmountComponentAtNode(Te)}catch($e){}Te.parentNode&&Te.parentNode.removeChild(Te),Ae(ut);return}setTimeout(We,Ge)};setTimeout(We,Ge)})}),_e=be=>z()(be).format("YYYY-MM-DD HH:mm:ss"),we=(be,Ae,Te)=>ae(void 0,null,function*(){return(yield Promise.all(be.map(ke=>ae(void 0,null,function*(){var Pe,Oe;let He="";try{He=yield ge(ke.answer)}catch(Ge){console.error("[exportHistory] renderAnswer error:",Ge),He=ue(String((Pe=ke.answer)!=null?Pe:""))}return`
<div class="message">
<p class="user-name">${ue(Ae)}<span class="timestamp">${_e(ke.updated_at)}</span></p>
<pre class="code">${ue((Oe=ke.question)!=null?Oe:"")}</pre>
</div>
<div class="message">
<p class="user-name">${ue(Te)}</p>
<div class="code">${He}</div>
</div>
`})))).join("")}),xe=be=>ae(void 0,null,function*(){const Ae=yield we(be.data,be.my_user_name,be.user_name),Te=`export-id-${String(Math.random()).slice(-6)}`,je=`
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
.wrap {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
padding: 20px 20px 0 20px;
background-color: #f9f9f9;
position:fixed;
left: 0;
top: 0;
z-index: 100;
width: 100vw;
height: 100vh;
overflow: auto;
box-sizing: border-box;
}
.message {
margin-bottom: 20px;
padding: 10px;
border-radius: 5px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.user-name {
font-size: 14px;
font-weight: bold;
color: #333;
margin: 0;
}
.timestamp {
display: block;
font-size: 12px;
color: #666;
margin-top: 5px;
}
pre.code {
background-color: #f5f5f5;
padding: 10px;
border-radius: 5px;
overflow-x: auto;
white-space: pre-wrap;
word-wrap: break-word;
margin: 10px 0 0;
}
.code > .animated {
animation-duration: 0s;
}
.code > img {
width: 320px;
}
</style>
</head>
<body>
<div class='wrap' id='${Te}'>
${Ae}
</div>
</body>
</html>
`,ke=document.createElement("div");ke.innerHTML=je.replace(/box-shadow/g,"// box-shadow"),document.body.appendChild(ke);const Pe=document.getElementById(Te);if(!Pe){console.error("PDF \u5143\u7D20\u672A\u627E\u5230"),ke.parentNode&&ke.parentNode.removeChild(ke);return}Pe.style.width="auto",Pe.style.height="auto",Pe.style.position="initial";try{const He=(yield b()(Pe,{useCORS:!0,backgroundColor:"#fff"})).toDataURL("image/png"),Ge=document.createElement("a");Ge.href=He,Ge.download=`\u5386\u53F2\u5BF9\u8BDD-${be.my_user_name}-${z()().format("YYYYMMDDHHmmss")}.png`,Ge.click()}catch(Oe){console.error("[exportHistory] html2canvas error:",Oe)}finally{ke.parentNode&&ke.parentNode.removeChild(ke)}});let ve="markdown";const Se=()=>{const[be,Ae]=(0,ye.useState)(ve);return ve=be,ye.createElement(ze.Z,{size:30},ce.map(Te=>ye.createElement(ee.op,{key:Te.key,style:be===Te.key?{border:"1px solid #165dff",color:"#165dff"}:{},onClick:()=>Ae(Te.key),shape:"default",icon:ye.createElement("img",{src:Te.icon})},Te.name)))};a.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4",width:538,cancelText:"\u53D6\u6D88",title:"\u5BFC\u51FA\u5386\u53F2\u5BF9\u8BDD",content:ye.createElement(Se,null),onOk:()=>ae(void 0,null,function*(){var be,Ae,Te;if(ve==="image"){const ke=yield(0,te.ZP)(`/api/course_qna_sessions/${fe}.json`,{method:"get"});if((ke==null?void 0:ke.status)===0){const Pe=(Ae=(be=ke==null?void 0:ke.data)==null?void 0:be.messages)==null?void 0:Ae.map(He=>({updated_at:He.updated_at,question:He.question,answer:He.answer})),Oe={my_user_name:(Te=ke==null?void 0:ke.data)==null?void 0:Te.user_name,user_name:"AI\u56DE\u7B54",data:Pe};yield xe(Oe)}return}const je=`${de.Z.API_SERVER}/api/course_qna_sessions/${fe}/download_chat_data.json?file_type=${ve}`;(0,he.Nd)(null,je)})})}},99330:function(bt,mt,Ce){"use strict";var ye=Ce(59301),ze=Object.defineProperty,a=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ee=(x,b,E)=>b in x?ze(x,b,{enumerable:!0,configurable:!0,writable:!0,value:E}):x[b]=E,oe=(x,b)=>{for(var E in b||(b={}))he.call(b,E)&&ee(x,E,b[E]);if(a)for(var E of a(b))de.call(b,E)&&ee(x,E,b[E]);return x},ne=(x,b)=>{var E={};for(var re in x)he.call(x,re)&&b.indexOf(re)<0&&(E[re]=x[re]);if(x!=null&&a)for(var re of a(x))b.indexOf(re)<0&&de.call(x,re)&&(E[re]=x[re]);return E};const te=Ce(20441),se={};te.keys().forEach(x=>{const b=x.replace("./","").replace(".svg","");se[b]=te(x)});const z=x=>{var b=x,{filename:E}=b,re=ne(b,["filename"]),ae;const le=((ae=E==null?void 0:E.split(".").pop())==null?void 0:ae.toLowerCase())||"unknown",fe=se[le]||se.default;return ye.createElement("img",oe({src:fe,alt:le},re))};mt.Z=z},20310:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return pr}});var ye=Ce(59301),ze=Ce(30641),a=Ce(6767),he=Ce(14566),de=Ce(62957),ee=Ce(25399),oe=Ce(37568),ne=Ce(99571),te=Ce(29787),se=Ce(584),z=Ce(93725),x=Ce(75727),b=Ce(37639),E=Ce(92310),re=Ce.n(E),ae=Ce(57942),le=Ce(92857),fe=Ce(99217),ce={loadingPic:"loadingPic___sQWGQ",loading:"loading___ss_U1",dot:"dot___eTny8","dot-fade":"dot-fade___gzUhM",wrap:"wrap___SoLR4",chatContainer:"chatContainer___bSpXP",footerContainer:"footerContainer___IbaJq",btnWrp:"btnWrp___z89PH",btn:"btn___VK3Di",btnActive:"btnActive___en_8L",inputContainer:"inputContainer___q_PRC",uploadBtn:"uploadBtn___fY3BV",sendBtn:"sendBtn____aYXt",sendBtnDisabled:"sendBtnDisabled____WhtC",cancelBtn:"cancelBtn___I91qC",lineFour:"lineFour___t_eBm",fullIcon:"fullIcon___WYjW2",footerContainerSelected:"footerContainerSelected___TV_oq",full:"full___h1vtm",li:"li___DXR9A",avatarIcon:"avatarIcon___EYoqp",img:"img___wrenL",content:"content___NK_Ew",borderBox:"borderBox___UVtN4",text:"text___d_gYw",fileWrap:"fileWrap___kbAp0",file:"file___R5FNg",fileName:"fileName___oTYTw",source:"source___JD93j",action:"action___CTh1w",disabledInput:"disabledInput___rMs3e",backBottom:"backBottom___VIz5U",head:"head___vWC9s",title:"title___l1GaK",headBtn:"headBtn___fGGSq",menuWarp:"menuWarp___Py4k9",menu:"menu___Rpj4l",menuText:"menuText___zGoGw",menuDel:"menuDel___qa0au",active:"active___n_Cfs",draggableWrap:"draggableWrap___u95gi",modal:"modal___Q60Fu",footer:"footer___lxKwN",main:"main____xLI7",files:"files___U6HeB",fileDel:"fileDel___HitRv",inputWrap:"inputWrap___ydzLc",btnWrap:"btnWrap___ENcDO",btnDisabled:"btnDisabled___AFYEZ",uploadDisabledBtn:"uploadDisabledBtn___LslUe"},ue=Ce(57193),ge=Ce(63949),_e=Ce(67269),we=Ce(37166),xe=Ce(28984),ve=Ce(71986),Se=Ce(78323),be=Ce(56102),Ae=Ce(12306),Te=Ce(99330),je=Ce(12911),ke=Ce.n(je),Pe=Ce(37712),Oe=Ce(4676),He=function(){return He=Object.assign||function(Dt){for(var Mt,St=1,Ct=arguments.length;St<Ct;St++){Mt=arguments[St];for(var Rt in Mt)Object.prototype.hasOwnProperty.call(Mt,Rt)&&(Dt[Rt]=Mt[Rt])}return Dt},He.apply(this,arguments)},Ge={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},tt={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},Me={width:"20px",height:"20px",position:"absolute",zIndex:1},We={top:He(He({},Ge),{top:"-5px"}),right:He(He({},tt),{left:void 0,right:"-5px"}),bottom:He(He({},Ge),{top:void 0,bottom:"-5px"}),left:He(He({},tt),{left:"-5px"}),topRight:He(He({},Me),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:He(He({},Me),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:He(He({},Me),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:He(He({},Me),{left:"-10px",top:"-10px",cursor:"nw-resize"})},it=(0,ye.memo)(function(Dt){var Mt=Dt.onResizeStart,St=Dt.direction,Ct=Dt.children,Rt=Dt.replaceStyles,Nt=Dt.className,kt=(0,ye.useCallback)(function(Ut){Mt(Ut,St)},[Mt,St]),Et=(0,ye.useCallback)(function(Ut){Mt(Ut,St)},[Mt,St]),zt=(0,ye.useMemo)(function(){return He(He({position:"absolute",userSelect:"none"},We[St]),Rt!=null?Rt:{})},[Rt,St]);return(0,Pe.jsx)("div",{className:Nt||void 0,style:zt,onMouseDown:kt,onTouchStart:Et,children:Ct})}),ut=function(){var Dt=function(Mt,St){return Dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ct,Rt){Ct.__proto__=Rt}||function(Ct,Rt){for(var Nt in Rt)Object.prototype.hasOwnProperty.call(Rt,Nt)&&(Ct[Nt]=Rt[Nt])},Dt(Mt,St)};return function(Mt,St){if(typeof St!="function"&&St!==null)throw new TypeError("Class extends value "+String(St)+" is not a constructor or null");Dt(Mt,St);function Ct(){this.constructor=Mt}Mt.prototype=St===null?Object.create(St):(Ct.prototype=St.prototype,new Ct)}}(),$e=function(){return $e=Object.assign||function(Dt){for(var Mt,St=1,Ct=arguments.length;St<Ct;St++){Mt=arguments[St];for(var Rt in Mt)Object.prototype.hasOwnProperty.call(Mt,Rt)&&(Dt[Rt]=Mt[Rt])}return Dt},$e.apply(this,arguments)},Je={width:"auto",height:"auto"},Xe=function(Dt,Mt,St){return Math.max(Math.min(Dt,St),Mt)},Qe=function(Dt,Mt,St){var Ct=Math.round(Dt/Mt);return Ct*Mt+St*(Ct-1)},st=function(Dt,Mt){return new RegExp(Dt,"i").test(Mt)},rt=function(Dt){return!!(Dt.touches&&Dt.touches.length)},pt=function(Dt){return!!((Dt.clientX||Dt.clientX===0)&&(Dt.clientY||Dt.clientY===0))},ft=function(Dt,Mt,St){St===void 0&&(St=0);var Ct=Mt.reduce(function(Nt,kt,Et){return Math.abs(kt-Dt)<Math.abs(Mt[Nt]-Dt)?Et:Nt},0),Rt=Math.abs(Mt[Ct]-Dt);return St===0||Rt<St?Mt[Ct]:Dt},qe=function(Dt){return Dt=Dt.toString(),Dt==="auto"||Dt.endsWith("px")||Dt.endsWith("%")||Dt.endsWith("vh")||Dt.endsWith("vw")||Dt.endsWith("vmax")||Dt.endsWith("vmin")?Dt:"".concat(Dt,"px")},Ie=function(Dt,Mt,St,Ct){if(Dt&&typeof Dt=="string"){if(Dt.endsWith("px"))return Number(Dt.replace("px",""));if(Dt.endsWith("%")){var Rt=Number(Dt.replace("%",""))/100;return Mt*Rt}if(Dt.endsWith("vw")){var Rt=Number(Dt.replace("vw",""))/100;return St*Rt}if(Dt.endsWith("vh")){var Rt=Number(Dt.replace("vh",""))/100;return Ct*Rt}}return Dt},at=function(Dt,Mt,St,Ct,Rt,Nt,kt){return Ct=Ie(Ct,Dt.width,Mt,St),Rt=Ie(Rt,Dt.height,Mt,St),Nt=Ie(Nt,Dt.width,Mt,St),kt=Ie(kt,Dt.height,Mt,St),{maxWidth:typeof Ct=="undefined"?void 0:Number(Ct),maxHeight:typeof Rt=="undefined"?void 0:Number(Rt),minWidth:typeof Nt=="undefined"?void 0:Number(Nt),minHeight:typeof kt=="undefined"?void 0:Number(kt)}},Be=function(Dt){return Array.isArray(Dt)?Dt:[Dt,Dt]},et=["as","ref","style","className","grid","gridGap","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],vt="__resizable_base__",gt=function(Dt){ut(Mt,Dt);function Mt(St){var Ct,Rt,Nt,kt,Et=Dt.call(this,St)||this;return Et.ratio=1,Et.resizable=null,Et.parentLeft=0,Et.parentTop=0,Et.resizableLeft=0,Et.resizableRight=0,Et.resizableTop=0,Et.resizableBottom=0,Et.targetLeft=0,Et.targetTop=0,Et.delta={width:0,height:0},Et.appendBase=function(){if(!Et.resizable||!Et.window)return null;var zt=Et.parentNode;if(!zt)return null;var Ut=Et.window.document.createElement("div");return Ut.style.width="100%",Ut.style.height="100%",Ut.style.position="absolute",Ut.style.transform="scale(0, 0)",Ut.style.left="0",Ut.style.flex="0 0 100%",Ut.classList?Ut.classList.add(vt):Ut.className+=vt,zt.appendChild(Ut),Ut},Et.removeBase=function(zt){var Ut=Et.parentNode;Ut&&Ut.removeChild(zt)},Et.state={isResizing:!1,width:(Rt=(Ct=Et.propsSize)===null||Ct===void 0?void 0:Ct.width)!==null&&Rt!==void 0?Rt:"auto",height:(kt=(Nt=Et.propsSize)===null||Nt===void 0?void 0:Nt.height)!==null&&kt!==void 0?kt:"auto",direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},Et.onResizeStart=Et.onResizeStart.bind(Et),Et.onMouseMove=Et.onMouseMove.bind(Et),Et.onMouseUp=Et.onMouseUp.bind(Et),Et}return Object.defineProperty(Mt.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(Mt.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(Mt.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||Je},enumerable:!1,configurable:!0}),Object.defineProperty(Mt.prototype,"size",{get:function(){var St=0,Ct=0;if(this.resizable&&this.window){var Rt=this.resizable.offsetWidth,Nt=this.resizable.offsetHeight,kt=this.resizable.style.position;kt!=="relative"&&(this.resizable.style.position="relative"),St=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:Rt,Ct=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:Nt,this.resizable.style.position=kt}return{width:St,height:Ct}},enumerable:!1,configurable:!0}),Object.defineProperty(Mt.prototype,"sizeStyle",{get:function(){var St=this,Ct=this.props.size,Rt=function(Et){var zt;if(typeof St.state[Et]=="undefined"||St.state[Et]==="auto")return"auto";if(St.propsSize&&St.propsSize[Et]&&(!((zt=St.propsSize[Et])===null||zt===void 0)&&zt.toString().endsWith("%"))){if(St.state[Et].toString().endsWith("%"))return St.state[Et].toString();var Ut=St.getParentSize(),Jt=Number(St.state[Et].toString().replace("px","")),er=Jt/Ut[Et]*100;return"".concat(er,"%")}return qe(St.state[Et])},Nt=Ct&&typeof Ct.width!="undefined"&&!this.state.isResizing?qe(Ct.width):Rt("width"),kt=Ct&&typeof Ct.height!="undefined"&&!this.state.isResizing?qe(Ct.height):Rt("height");return{width:Nt,height:kt}},enumerable:!1,configurable:!0}),Mt.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var St=this.appendBase();if(!St)return{width:0,height:0};var Ct=!1,Rt=this.parentNode.style.flexWrap;Rt!=="wrap"&&(Ct=!0,this.parentNode.style.flexWrap="wrap"),St.style.position="relative",St.style.minWidth="100%",St.style.minHeight="100%";var Nt={width:St.offsetWidth,height:St.offsetHeight};return Ct&&(this.parentNode.style.flexWrap=Rt),this.removeBase(St),Nt},Mt.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},Mt.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},Mt.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var St=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:St.flexBasis!=="auto"?St.flexBasis:void 0})}},Mt.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},Mt.prototype.createSizeForCssProperty=function(St,Ct){var Rt=this.propsSize&&this.propsSize[Ct];return this.state[Ct]==="auto"&&this.state.original[Ct]===St&&(typeof Rt=="undefined"||Rt==="auto")?"auto":St},Mt.prototype.calculateNewMaxFromBoundary=function(St,Ct){var Rt=this.props.boundsByDirection,Nt=this.state.direction,kt=Rt&&st("left",Nt),Et=Rt&&st("top",Nt),zt,Ut;if(this.props.bounds==="parent"){var Jt=this.parentNode;Jt&&(zt=kt?this.resizableRight-this.parentLeft:Jt.offsetWidth+(this.parentLeft-this.resizableLeft),Ut=Et?this.resizableBottom-this.parentTop:Jt.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(zt=kt?this.resizableRight:this.window.innerWidth-this.resizableLeft,Ut=Et?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(zt=kt?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),Ut=Et?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return zt&&Number.isFinite(zt)&&(St=St&&St<zt?St:zt),Ut&&Number.isFinite(Ut)&&(Ct=Ct&&Ct<Ut?Ct:Ut),{maxWidth:St,maxHeight:Ct}},Mt.prototype.calculateNewSizeFromDirection=function(St,Ct){var Rt=this.props.scale||1,Nt=Be(this.props.resizeRatio||1),kt=Nt[0],Et=Nt[1],zt=this.state,Ut=zt.direction,Jt=zt.original,er=this.props,wr=er.lockAspectRatio,Tr=er.lockAspectRatioExtraHeight,Cr=er.lockAspectRatioExtraWidth,Ft=Jt.width,nr=Jt.height,kr=Tr||0,Mr=Cr||0;return st("right",Ut)&&(Ft=Jt.width+(St-Jt.x)*kt/Rt,wr&&(nr=(Ft-Mr)/this.ratio+kr)),st("left",Ut)&&(Ft=Jt.width-(St-Jt.x)*kt/Rt,wr&&(nr=(Ft-Mr)/this.ratio+kr)),st("bottom",Ut)&&(nr=Jt.height+(Ct-Jt.y)*Et/Rt,wr&&(Ft=(nr-kr)*this.ratio+Mr)),st("top",Ut)&&(nr=Jt.height-(Ct-Jt.y)*Et/Rt,wr&&(Ft=(nr-kr)*this.ratio+Mr)),{newWidth:Ft,newHeight:nr}},Mt.prototype.calculateNewSizeFromAspectRatio=function(St,Ct,Rt,Nt){var kt=this.props,Et=kt.lockAspectRatio,zt=kt.lockAspectRatioExtraHeight,Ut=kt.lockAspectRatioExtraWidth,Jt=typeof Nt.width=="undefined"?10:Nt.width,er=typeof Rt.width=="undefined"||Rt.width<0?St:Rt.width,wr=typeof Nt.height=="undefined"?10:Nt.height,Tr=typeof Rt.height=="undefined"||Rt.height<0?Ct:Rt.height,Cr=zt||0,Ft=Ut||0;if(Et){var nr=(wr-Cr)*this.ratio+Ft,kr=(Tr-Cr)*this.ratio+Ft,Mr=(Jt-Ft)/this.ratio+Cr,Pr=(er-Ft)/this.ratio+Cr,gr=Math.max(Jt,nr),Dr=Math.min(er,kr),rr=Math.max(wr,Mr),Zt=Math.min(Tr,Pr);St=Xe(St,gr,Dr),Ct=Xe(Ct,rr,Zt)}else St=Xe(St,Jt,er),Ct=Xe(Ct,wr,Tr);return{newWidth:St,newHeight:Ct}},Mt.prototype.setBoundingClientRect=function(){var St=1/(this.props.scale||1);if(this.props.bounds==="parent"){var Ct=this.parentNode;if(Ct){var Rt=Ct.getBoundingClientRect();this.parentLeft=Rt.left*St,this.parentTop=Rt.top*St}}if(this.props.bounds&&typeof this.props.bounds!="string"){var Nt=this.props.bounds.getBoundingClientRect();this.targetLeft=Nt.left*St,this.targetTop=Nt.top*St}if(this.resizable){var kt=this.resizable.getBoundingClientRect(),Et=kt.left,zt=kt.top,Ut=kt.right,Jt=kt.bottom;this.resizableLeft=Et*St,this.resizableRight=Ut*St,this.resizableTop=zt*St,this.resizableBottom=Jt*St}},Mt.prototype.onResizeStart=function(St,Ct){if(!(!this.resizable||!this.window)){var Rt=0,Nt=0;if(St.nativeEvent&&pt(St.nativeEvent)?(Rt=St.nativeEvent.clientX,Nt=St.nativeEvent.clientY):St.nativeEvent&&rt(St.nativeEvent)&&(Rt=St.nativeEvent.touches[0].clientX,Nt=St.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var kt=this.props.onResizeStart(St,Ct,this.resizable);if(kt===!1)return}this.props.size&&(typeof this.props.size.height!="undefined"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width!="undefined"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var Et,zt=this.window.getComputedStyle(this.resizable);if(zt.flexBasis!=="auto"){var Ut=this.parentNode;if(Ut){var Jt=this.window.getComputedStyle(Ut).flexDirection;this.flexDir=Jt.startsWith("row")?"row":"column",Et=zt.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var er={original:{x:Rt,y:Nt,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:$e($e({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(St.target).cursor||"auto"}),direction:Ct,flexBasis:Et};this.setState(er)}},Mt.prototype.onMouseMove=function(St){var Ct=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&rt(St))try{St.preventDefault(),St.stopPropagation()}catch(Oi){}var Rt=this.props,Nt=Rt.maxWidth,kt=Rt.maxHeight,Et=Rt.minWidth,zt=Rt.minHeight,Ut=rt(St)?St.touches[0].clientX:St.clientX,Jt=rt(St)?St.touches[0].clientY:St.clientY,er=this.state,wr=er.direction,Tr=er.original,Cr=er.width,Ft=er.height,nr=this.getParentSize(),kr=at(nr,this.window.innerWidth,this.window.innerHeight,Nt,kt,Et,zt);Nt=kr.maxWidth,kt=kr.maxHeight,Et=kr.minWidth,zt=kr.minHeight;var Mr=this.calculateNewSizeFromDirection(Ut,Jt),Pr=Mr.newHeight,gr=Mr.newWidth,Dr=this.calculateNewMaxFromBoundary(Nt,kt);this.props.snap&&this.props.snap.x&&(gr=ft(gr,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(Pr=ft(Pr,this.props.snap.y,this.props.snapGap));var rr=this.calculateNewSizeFromAspectRatio(gr,Pr,{width:Dr.maxWidth,height:Dr.maxHeight},{width:Et,height:zt});if(gr=rr.newWidth,Pr=rr.newHeight,this.props.grid){var Zt=Qe(gr,this.props.grid[0],this.props.gridGap?this.props.gridGap[0]:0),Fr=Qe(Pr,this.props.grid[1],this.props.gridGap?this.props.gridGap[1]:0),Br=this.props.snapGap||0,Kr=Br===0||Math.abs(Zt-gr)<=Br?Zt:gr,pn=Br===0||Math.abs(Fr-Pr)<=Br?Fr:Pr;gr=Kr,Pr=pn}var $r={width:gr-Tr.width,height:Pr-Tr.height};if(this.delta=$r,Cr&&typeof Cr=="string"){if(Cr.endsWith("%")){var en=gr/nr.width*100;gr="".concat(en,"%")}else if(Cr.endsWith("vw")){var Fn=gr/this.window.innerWidth*100;gr="".concat(Fn,"vw")}else if(Cr.endsWith("vh")){var Qr=gr/this.window.innerHeight*100;gr="".concat(Qr,"vh")}}if(Ft&&typeof Ft=="string"){if(Ft.endsWith("%")){var en=Pr/nr.height*100;Pr="".concat(en,"%")}else if(Ft.endsWith("vw")){var Fn=Pr/this.window.innerWidth*100;Pr="".concat(Fn,"vw")}else if(Ft.endsWith("vh")){var Qr=Pr/this.window.innerHeight*100;Pr="".concat(Qr,"vh")}}var Gr={width:this.createSizeForCssProperty(gr,"width"),height:this.createSizeForCssProperty(Pr,"height")};this.flexDir==="row"?Gr.flexBasis=Gr.width:this.flexDir==="column"&&(Gr.flexBasis=Gr.height);var Mn=this.state.width!==Gr.width,Vn=this.state.height!==Gr.height,$n=this.state.flexBasis!==Gr.flexBasis,Zn=Mn||Vn||$n;Zn&&(0,Oe.flushSync)(function(){Ct.setState(Gr)}),this.props.onResize&&Zn&&this.props.onResize(St,wr,this.resizable,$r)}},Mt.prototype.onMouseUp=function(St){var Ct,Rt,Nt=this.state,kt=Nt.isResizing,Et=Nt.direction,zt=Nt.original;!kt||!this.resizable||(this.props.onResizeStop&&this.props.onResizeStop(St,Et,this.resizable,this.delta),this.props.size&&this.setState({width:(Ct=this.props.size.width)!==null&&Ct!==void 0?Ct:"auto",height:(Rt=this.props.size.height)!==null&&Rt!==void 0?Rt:"auto"}),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:$e($e({},this.state.backgroundStyle),{cursor:"auto"})}))},Mt.prototype.updateSize=function(St){var Ct,Rt;this.setState({width:(Ct=St.width)!==null&&Ct!==void 0?Ct:"auto",height:(Rt=St.height)!==null&&Rt!==void 0?Rt:"auto"})},Mt.prototype.renderResizer=function(){var St=this,Ct=this.props,Rt=Ct.enable,Nt=Ct.handleStyles,kt=Ct.handleClasses,Et=Ct.handleWrapperStyle,zt=Ct.handleWrapperClass,Ut=Ct.handleComponent;if(!Rt)return null;var Jt=Object.keys(Rt).map(function(er){return Rt[er]!==!1?(0,Pe.jsx)(it,{direction:er,onResizeStart:St.onResizeStart,replaceStyles:Nt&&Nt[er],className:kt&&kt[er],children:Ut&&Ut[er]?Ut[er]:null},er):null});return(0,Pe.jsx)("div",{className:zt,style:Et,children:Jt})},Mt.prototype.render=function(){var St=this,Ct=Object.keys(this.props).reduce(function(kt,Et){return et.indexOf(Et)!==-1||(kt[Et]=St.props[Et]),kt},{}),Rt=$e($e($e({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(Rt.flexBasis=this.state.flexBasis);var Nt=this.props.as||"div";return(0,Pe.jsxs)(Nt,$e({style:Rt,className:this.props.className},Ct,{ref:function(kt){kt&&(St.resizable=kt)},children:[this.state.isResizing&&(0,Pe.jsx)("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer()]}))},Mt.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],gridGap:[0,0],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},Mt}(ye.PureComponent);var dt=function(Dt,Mt){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(St,Ct){St.__proto__=Ct}||function(St,Ct){for(var Rt in Ct)Ct.hasOwnProperty(Rt)&&(St[Rt]=Ct[Rt])},dt(Dt,Mt)};function Ve(Dt,Mt){dt(Dt,Mt);function St(){this.constructor=Dt}Dt.prototype=Mt===null?Object.create(Mt):(St.prototype=Mt.prototype,new St)}var Ne=function(){return Ne=Object.assign||function(Mt){for(var St,Ct=1,Rt=arguments.length;Ct<Rt;Ct++){St=arguments[Ct];for(var Nt in St)Object.prototype.hasOwnProperty.call(St,Nt)&&(Mt[Nt]=St[Nt])}return Mt},Ne.apply(this,arguments)};function Ye(Dt,Mt){var St={};for(var Ct in Dt)Object.prototype.hasOwnProperty.call(Dt,Ct)&&Mt.indexOf(Ct)<0&&(St[Ct]=Dt[Ct]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,Ct=Object.getOwnPropertySymbols(Dt);Rt<Ct.length;Rt++)Mt.indexOf(Ct[Rt])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Ct[Rt])&&(St[Ct[Rt]]=Dt[Ct[Rt]]);return St}var ot={width:"auto",height:"auto",display:"inline-block",position:"absolute",top:0,left:0},Ue=function(Dt){return{bottom:Dt,bottomLeft:Dt,bottomRight:Dt,left:Dt,right:Dt,top:Dt,topLeft:Dt,topRight:Dt}},Le=function(Dt){Ve(Mt,Dt);function Mt(St){var Ct=Dt.call(this,St)||this;return Ct.resizingPosition={x:0,y:0},Ct.offsetFromParent={left:0,top:0},Ct.resizableElement={current:null},Ct.originalPosition={x:0,y:0},Ct.state={resizing:!1,bounds:{top:0,right:0,bottom:0,left:0},maxWidth:St.maxWidth,maxHeight:St.maxHeight},Ct.onResizeStart=Ct.onResizeStart.bind(Ct),Ct.onResize=Ct.onResize.bind(Ct),Ct.onResizeStop=Ct.onResizeStop.bind(Ct),Ct.onDragStart=Ct.onDragStart.bind(Ct),Ct.onDrag=Ct.onDrag.bind(Ct),Ct.onDragStop=Ct.onDragStop.bind(Ct),Ct.getMaxSizesFromProps=Ct.getMaxSizesFromProps.bind(Ct),Ct}return Mt.prototype.componentDidMount=function(){this.updateOffsetFromParent();var St=this.offsetFromParent,Ct=St.left,Rt=St.top,Nt=this.getDraggablePosition(),kt=Nt.x,Et=Nt.y;this.draggable.setState({x:kt-Ct,y:Et-Rt}),this.forceUpdate()},Mt.prototype.getDraggablePosition=function(){var St=this.draggable.state,Ct=St.x,Rt=St.y;return{x:Ct,y:Rt}},Mt.prototype.getParent=function(){return this.resizable&&this.resizable.parentNode},Mt.prototype.getParentSize=function(){return this.resizable.getParentSize()},Mt.prototype.getMaxSizesFromProps=function(){var St=typeof this.props.maxWidth=="undefined"?Number.MAX_SAFE_INTEGER:this.props.maxWidth,Ct=typeof this.props.maxHeight=="undefined"?Number.MAX_SAFE_INTEGER:this.props.maxHeight;return{maxWidth:St,maxHeight:Ct}},Mt.prototype.getSelfElement=function(){return this.resizable&&this.resizable.resizable},Mt.prototype.getOffsetHeight=function(St){var Ct=this.props.scale;switch(this.props.bounds){case"window":return window.innerHeight/Ct;case"body":return document.body.offsetHeight/Ct;default:return St.offsetHeight}},Mt.prototype.getOffsetWidth=function(St){var Ct=this.props.scale;switch(this.props.bounds){case"window":return window.innerWidth/Ct;case"body":return document.body.offsetWidth/Ct;default:return St.offsetWidth}},Mt.prototype.onDragStart=function(St,Ct){this.props.onDragStart&&this.props.onDragStart(St,Ct);var Rt=this.getDraggablePosition();if(this.originalPosition=Rt,!!this.props.bounds){var Nt=this.getParent(),kt=this.props.scale,Et;if(this.props.bounds==="parent")Et=Nt;else if(this.props.bounds==="body"){var zt=Nt.getBoundingClientRect(),Ut=zt.left,Jt=zt.top,er=document.body.getBoundingClientRect(),wr=-(Ut-Nt.offsetLeft*kt-er.left)/kt,Tr=-(Jt-Nt.offsetTop*kt-er.top)/kt,Cr=(document.body.offsetWidth-this.resizable.size.width*kt)/kt+wr,Ft=(document.body.offsetHeight-this.resizable.size.height*kt)/kt+Tr;return this.setState({bounds:{top:Tr,right:Cr,bottom:Ft,left:wr}})}else if(this.props.bounds==="window"){if(!this.resizable)return;var nr=Nt.getBoundingClientRect(),kr=nr.left,Mr=nr.top,Pr=-(kr-Nt.offsetLeft*kt)/kt,gr=-(Mr-Nt.offsetTop*kt)/kt,Cr=(window.innerWidth-this.resizable.size.width*kt)/kt+Pr,Ft=(window.innerHeight-this.resizable.size.height*kt)/kt+gr;return this.setState({bounds:{top:gr,right:Cr,bottom:Ft,left:Pr}})}else typeof this.props.bounds=="string"?Et=document.querySelector(this.props.bounds):this.props.bounds instanceof HTMLElement&&(Et=this.props.bounds);if(!(!(Et instanceof HTMLElement)||!(Nt instanceof HTMLElement))){var Dr=Et.getBoundingClientRect(),rr=Dr.left,Zt=Dr.top,Fr=Nt.getBoundingClientRect(),Br=Fr.left,Kr=Fr.top,pn=(rr-Br)/kt,$r=Zt-Kr;if(this.resizable){this.updateOffsetFromParent();var en=this.offsetFromParent;this.setState({bounds:{top:$r-en.top,right:pn+(Et.offsetWidth-this.resizable.size.width)-en.left/kt,bottom:$r+(Et.offsetHeight-this.resizable.size.height)-en.top,left:pn-en.left/kt}})}}}},Mt.prototype.onDrag=function(St,Ct){if(this.props.onDrag){var Rt=this.offsetFromParent,Nt=Rt.left,kt=Rt.top;if(!this.props.dragAxis||this.props.dragAxis==="both")return this.props.onDrag(St,Ne(Ne({},Ct),{x:Ct.x+Nt,y:Ct.y+kt}));if(this.props.dragAxis==="x")return this.props.onDrag(St,Ne(Ne({},Ct),{x:Ct.x+Nt,y:this.originalPosition.y+kt,deltaY:0}));if(this.props.dragAxis==="y")return this.props.onDrag(St,Ne(Ne({},Ct),{x:this.originalPosition.x+Nt,y:Ct.y+kt,deltaX:0}))}},Mt.prototype.onDragStop=function(St,Ct){if(this.props.onDragStop){var Rt=this.offsetFromParent,Nt=Rt.left,kt=Rt.top;if(!this.props.dragAxis||this.props.dragAxis==="both")return this.props.onDragStop(St,Ne(Ne({},Ct),{x:Ct.x+Nt,y:Ct.y+kt}));if(this.props.dragAxis==="x")return this.props.onDragStop(St,Ne(Ne({},Ct),{x:Ct.x+Nt,y:this.originalPosition.y+kt,deltaY:0}));if(this.props.dragAxis==="y")return this.props.onDragStop(St,Ne(Ne({},Ct),{x:this.originalPosition.x+Nt,y:Ct.y+kt,deltaX:0}))}},Mt.prototype.onResizeStart=function(St,Ct,Rt){St.stopPropagation(),this.setState({resizing:!0});var Nt=this.props.scale,kt=this.offsetFromParent,Et=this.getDraggablePosition();if(this.resizingPosition={x:Et.x+kt.left,y:Et.y+kt.top},this.originalPosition=Et,this.props.bounds){var zt=this.getParent(),Ut=void 0;this.props.bounds==="parent"?Ut=zt:this.props.bounds==="body"?Ut=document.body:this.props.bounds==="window"?Ut=window:typeof this.props.bounds=="string"?Ut=document.querySelector(this.props.bounds):this.props.bounds instanceof HTMLElement&&(Ut=this.props.bounds);var Jt=this.getSelfElement();if(Jt instanceof Element&&(Ut instanceof HTMLElement||Ut===window)&&zt instanceof HTMLElement){var er=this.getMaxSizesFromProps(),wr=er.maxWidth,Tr=er.maxHeight,Cr=this.getParentSize();if(wr&&typeof wr=="string")if(wr.endsWith("%")){var Ft=Number(wr.replace("%",""))/100;wr=Cr.width*Ft}else wr.endsWith("px")&&(wr=Number(wr.replace("px","")));if(Tr&&typeof Tr=="string")if(Tr.endsWith("%")){var Ft=Number(Tr.replace("%",""))/100;Tr=Cr.height*Ft}else Tr.endsWith("px")&&(Tr=Number(Tr.replace("px","")));var nr=Jt.getBoundingClientRect(),kr=nr.left,Mr=nr.top,Pr=this.props.bounds==="window"?{left:0,top:0}:Ut.getBoundingClientRect(),gr=Pr.left,Dr=Pr.top,rr=this.getOffsetWidth(Ut),Zt=this.getOffsetHeight(Ut),Fr=Ct.toLowerCase().endsWith("left"),Br=Ct.toLowerCase().endsWith("right"),Kr=Ct.startsWith("top"),pn=Ct.startsWith("bottom");if((Fr||Kr)&&this.resizable){var $r=(kr-gr)/Nt+this.resizable.size.width;this.setState({maxWidth:$r>Number(wr)?wr:$r})}if(Br||this.props.lockAspectRatio&&!Fr&&!Kr){var $r=rr+(gr-kr)/Nt;this.setState({maxWidth:$r>Number(wr)?wr:$r})}if((Kr||Fr)&&this.resizable){var $r=(Mr-Dr)/Nt+this.resizable.size.height;this.setState({maxHeight:$r>Number(Tr)?Tr:$r})}if(pn||this.props.lockAspectRatio&&!Kr&&!Fr){var $r=Zt+(Dr-Mr)/Nt;this.setState({maxHeight:$r>Number(Tr)?Tr:$r})}}}else this.setState({maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight});this.props.onResizeStart&&this.props.onResizeStart(St,Ct,Rt)},Mt.prototype.onResize=function(St,Ct,Rt,Nt){var kt=this,Et={x:this.originalPosition.x,y:this.originalPosition.y},zt=-Nt.width,Ut=-Nt.height,Jt=["top","left","topLeft","bottomLeft","topRight"];Jt.includes(Ct)&&(Ct==="bottomLeft"?Et.x+=zt:(Ct==="topRight"||(Et.x+=zt),Et.y+=Ut));var er=this.draggable.state;(Et.x!==er.x||Et.y!==er.y)&&(0,Oe.flushSync)(function(){kt.draggable.setState(Et)}),this.updateOffsetFromParent();var wr=this.offsetFromParent,Tr=this.getDraggablePosition().x+wr.left,Cr=this.getDraggablePosition().y+wr.top;this.resizingPosition={x:Tr,y:Cr},this.props.onResize&&this.props.onResize(St,Ct,Rt,Nt,{x:Tr,y:Cr})},Mt.prototype.onResizeStop=function(St,Ct,Rt,Nt){this.setState({resizing:!1});var kt=this.getMaxSizesFromProps(),Et=kt.maxWidth,zt=kt.maxHeight;this.setState({maxWidth:Et,maxHeight:zt}),this.props.onResizeStop&&this.props.onResizeStop(St,Ct,Rt,Nt,this.resizingPosition)},Mt.prototype.updateSize=function(St){this.resizable&&this.resizable.updateSize({width:St.width,height:St.height})},Mt.prototype.updatePosition=function(St){this.draggable.setState(St)},Mt.prototype.updateOffsetFromParent=function(){var St=this.props.scale,Ct=this.getParent(),Rt=this.getSelfElement();if(!Ct||Rt===null)return{top:0,left:0};var Nt=Ct.getBoundingClientRect(),kt=Nt.left,Et=Nt.top,zt=Rt.getBoundingClientRect(),Ut=this.getDraggablePosition(),Jt=Ct.scrollLeft,er=Ct.scrollTop;this.offsetFromParent={left:zt.left-kt+Jt-Ut.x*St,top:zt.top-Et+er-Ut.y*St}},Mt.prototype.render=function(){var St=this,Ct=this.props,Rt=Ct.disableDragging,Nt=Ct.style,kt=Ct.dragHandleClassName,Et=Ct.position,zt=Ct.onMouseDown,Ut=Ct.onMouseUp,Jt=Ct.dragAxis,er=Ct.dragGrid,wr=Ct.bounds,Tr=Ct.enableUserSelectHack,Cr=Ct.cancel,Ft=Ct.children,nr=Ct.onResizeStart,kr=Ct.onResize,Mr=Ct.onResizeStop,Pr=Ct.onDragStart,gr=Ct.onDrag,Dr=Ct.onDragStop,rr=Ct.resizeHandleStyles,Zt=Ct.resizeHandleClasses,Fr=Ct.resizeHandleComponent,Br=Ct.enableResizing,Kr=Ct.resizeGrid,pn=Ct.resizeHandleWrapperClass,$r=Ct.resizeHandleWrapperStyle,en=Ct.scale,Fn=Ct.allowAnyClick,Qr=Ct.dragPositionOffset,Gr=Ye(Ct,["disableDragging","style","dragHandleClassName","position","onMouseDown","onMouseUp","dragAxis","dragGrid","bounds","enableUserSelectHack","cancel","children","onResizeStart","onResize","onResizeStop","onDragStart","onDrag","onDragStop","resizeHandleStyles","resizeHandleClasses","resizeHandleComponent","enableResizing","resizeGrid","resizeHandleWrapperClass","resizeHandleWrapperStyle","scale","allowAnyClick","dragPositionOffset"]),Mn=this.props.default?Ne({},this.props.default):void 0;delete Gr.default;var Vn=Rt||kt?{cursor:"auto"}:{cursor:"move"},$n=Ne(Ne(Ne({},ot),Vn),Nt),Zn=this.offsetFromParent,Oi=Zn.left,Ci=Zn.top,vi;Et&&(vi={x:Et.x-Oi,y:Et.y-Ci});var un=this.state.resizing?void 0:vi,li=this.state.resizing?"both":Jt;return(0,ye.createElement)(ke(),{ref:function(Hn){Hn&&(St.draggable=Hn)},handle:kt?".".concat(kt):void 0,defaultPosition:Mn,onMouseDown:zt,onMouseUp:Ut,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,axis:li,disabled:Rt,grid:er,bounds:wr?this.state.bounds:void 0,position:un,enableUserSelectHack:Tr,cancel:Cr,scale:en,allowAnyClick:Fn,nodeRef:this.resizableElement,positionOffset:Qr},(0,ye.createElement)(gt,Ne({},Gr,{ref:function(Hn){Hn&&(St.resizable=Hn,St.resizableElement.current=Hn.resizable)},defaultSize:Mn,size:this.props.size,enable:typeof Br=="boolean"?Ue(Br):Br,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,style:$n,minWidth:this.props.minWidth,minHeight:this.props.minHeight,maxWidth:this.state.resizing?this.state.maxWidth:this.props.maxWidth,maxHeight:this.state.resizing?this.state.maxHeight:this.props.maxHeight,grid:Kr,handleWrapperClass:pn,handleWrapperStyle:$r,lockAspectRatio:this.props.lockAspectRatio,lockAspectRatioExtraWidth:this.props.lockAspectRatioExtraWidth,lockAspectRatioExtraHeight:this.props.lockAspectRatioExtraHeight,handleStyles:rr,handleClasses:Zt,handleComponent:Fr,scale:this.props.scale}),Ft))},Mt.defaultProps={maxWidth:Number.MAX_SAFE_INTEGER,maxHeight:Number.MAX_SAFE_INTEGER,scale:1,onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},onDragStart:function(){},onDrag:function(){},onDragStop:function(){}},Mt}(ye.PureComponent),De=Ce(8930),Ze=Object.defineProperty,lt=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable,Tt=(Dt,Mt,St)=>Mt in Dt?Ze(Dt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:St}):Dt[Mt]=St,wt=(Dt,Mt)=>{for(var St in Mt||(Mt={}))xt.call(Mt,St)&&Tt(Dt,St,Mt[St]);if(yt)for(var St of yt(Mt))jt.call(Mt,St)&&Tt(Dt,St,Mt[St]);return Dt},It=(Dt,Mt)=>lt(Dt,Fe(Mt)),Bt=(Dt,Mt,St)=>new Promise((Ct,Rt)=>{var Nt=zt=>{try{Et(St.next(zt))}catch(Ut){Rt(Ut)}},kt=zt=>{try{Et(St.throw(zt))}catch(Ut){Rt(Ut)}},Et=zt=>zt.done?Ct(zt.value):Promise.resolve(zt.value).then(Nt,kt);Et((St=St.apply(Dt,Mt)).next())}),Qt=({title:Dt="\u5934\u6B4CAI",placeholder:Mt,hideUpload:St,hideInputBox:Ct,aiIcon:Rt=we,userIcon:Nt=xe,dragIcon:kt=ve,children:Et,fetchUrl:zt,fetchData:Ut={},extraAnswerAction:Jt,showDefaultTips:er=!0,onOpen:wr,onClose:Tr,loadingOption:Cr,showPreference:Ft=!1,initMessage:nr,customRequest:kr,visible:Mr,width:Pr=1200,isCheckRestrictNumber:gr=!1,headNode:Dr,headFunctionNode:rr,showRedraw:Zt,showEdit:Fr,promptPropName:Br="prompt",topPercentage:Kr,showSwitchingModel:pn=!1,showImageGenerator:$r=!1,showLookHistory:en=!1,fetchListObject:Fn,customPreference:Qr,customDataNode:Gr,showAddSession:Mn,historyId:Vn,draggableExtraNode:$n,drawerExtraNode:Zn,menuExtraFunctionNode:Oi,showSceneAwareness:Ci=!1,showThiking:vi=!1,ReactComponent:un=ze.Z,topFunctionNode:li,footerContainerStyle:Hn,chatContainerStyle:Pn={},showCodePreview:ui=!1,showSource:Ei=!0,onSendMessage:ei,onDynamic:Ai=()=>{},setSelectItem:ji,isPath:ti=!1,BottomNode:gi,BOttomNodeName:qi})=>{var Ti,Rn;const[Un,_n]=(0,ye.useState)(!1),[Xn,Ar]=(0,ye.useState)("qwen-plus-latest"),[Nr,Hr]=(0,ye.useState)([]),[mn,an]=(0,ye.useState)([]),[Zr,dn]=(0,ye.useState)(!1),[Ui,cr]=(0,ye.useState)(!1),[sr,fr]=(0,ye.useState)(!1),[Ht,yr]=(0,ye.useState)([]),[Rr,on]=(0,ye.useState)(""),[Xr,Jr]=(0,ye.useState)(0),[vn,yi]=(0,ye.useState)(void 0),[On,ki]=(0,ye.useState)(!1),[ri,Li]=(0,ye.useState)(null),[$i,eo]=(0,ye.useState)(""),wn=(0,ye.useRef)(),zi=(0,ye.useRef)(null),Ur=(0,ye.useRef)(null),[bi,ci]=(0,ye.useState)(!1),[ni,Ao]=(0,ye.useState)(!1),[to,ii]=(0,ye.useState)(!1),[fi,ln]=(0,ye.useState)(!1),[ro,es]=(0,ye.useState)(!1),[no,ts]=(0,ye.useState)(0),Wi=(0,ye.useRef)(null),To=(0,ye.useRef)(!1),ko=(0,ye.useRef)(null),[Pi,rs]=(0,ye.useState)(void 0),[la,Ls]=(0,ye.useState)(!0),[Ps,ua]=(0,ye.useState)(Pr-28),[Do,Ri]=(0,ye.useState)(!1),[ns,is]=(0,ye.useState)(!0),[Mo,wi]=(0,ye.useState)([]),di=(0,ye.useRef)([]),po=(0,ye.useRef)(null),os=(0,ye.useRef)(null),Oo=(0,ye.useRef)(!1),jo=Ps-22,ss=Rr==null?void 0:Rr.split(`
`).length,{onAdd:as,onGetList:io,onListClick:xi,onListDelete:Rs,onListDealData:Is}=Fn||{},Lo=50,Po=10,ca={maxCount:Lo,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:Nr,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.xlsx,.xls",beforeUpload:Ot=>Bt(void 0,null,function*(){var ar,vr,Sr,jr;const Er=(jr=(Sr=(vr=(ar=Ot==null?void 0:Ot.name)==null?void 0:ar.split("."))==null?void 0:vr.slice(-1))==null?void 0:Sr[0])==null?void 0:jr.toLowerCase(),Cn=["doc","docx","md","pdf","txt","xlsx","xls"].includes(Er);return Ot.size==0?(a.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),he.default.LIST_IGNORE):Cn?Ot.size/1024/1024>100?(a.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),he.default.LIST_IGNORE):!0:(a.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001xlsx\u3001xls\u6587\u4EF6"),he.default.LIST_IGNORE)}),onChange:({fileList:Ot})=>{Hr(Ot)},action:`${(Ti=Se.Z)==null?void 0:Ti.API_SERVER}/api/intelligent_imports/upload_file.json`},Bs={maxCount:Po,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:mn,multiple:!0,accept:".jpg,.png,",beforeUpload:Ot=>{var ar,vr,Sr,jr;const Er=(jr=(Sr=(vr=(ar=Ot==null?void 0:Ot.name)==null?void 0:ar.split("."))==null?void 0:vr.slice(-1))==null?void 0:Sr[0])==null?void 0:jr.toLowerCase(),Cn=["jpg","png"].includes(Er);return Ot.size==0?(a.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),he.default.LIST_IGNORE):Cn?Ot.size/1024/1024>10?(a.ZP.warning("\u4E0A\u4F20\u7684\u56FE\u7247\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),he.default.LIST_IGNORE):!0:(a.ZP.warning("\u76EE\u524D\u652F\u6301jpg\u3001png"),he.default.LIST_IGNORE)},onChange:({fileList:Ot})=>{an(Ot)},action:`${(Rn=Se.Z)==null?void 0:Rn.API_SERVER}/api/ai/generals/update_file.json`};(0,ye.useEffect)(()=>{if(!Ht.length||!wn.current)return;const Ot=Ht[Ht.length-1];Ot!=null&&Ot.loading&&(wn.current.scrollTop=wn.current.scrollHeight)},[Ht.length]),(0,ye.useEffect)(()=>{if(!wn.current||!Wi.current)return;const Ot=new IntersectionObserver(([ar])=>{var vr,Sr,jr,Er;if(!document.contains(ar.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((vr=ar.rootBounds)==null?void 0:vr.width)===0&&((Sr=ar.rootBounds)==null?void 0:Sr.height)===0){console.log("root\uFF08\u6EDA\u52A8\u5BB9\u5668\uFF09\u65E0\u6548\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664");return}if(((jr=ar.boundingClientRect)==null?void 0:jr.width)===0&&((Er=ar.boundingClientRect)==null?void 0:Er.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}Ls(ar.isIntersecting)},{root:wn.current,rootMargin:"70px",threshold:0});return Ot.observe(Wi.current),()=>{Wi.current&&Ot.unobserve(Wi.current)}},[wn.current,Wi.current]),(0,ye.useEffect)(()=>{if(!bi)return;const Ot=wn.current,ar=ko.current;To.current=!1;let vr=Ot.scrollTop;const Sr=()=>{const{scrollTop:Er,scrollHeight:tn,clientHeight:Cn}=Ot;Er>vr?Er+Cn>=tn-50&&(Ot.scrollTop=Ot.scrollHeight,To.current=!1):Er<vr&&(To.current=!0),vr=Er};Ot.addEventListener("scroll",Sr);const jr=new ResizeObserver(()=>{To.current||(Ot.scrollTop=Ot.scrollHeight)});return jr.observe(ar),()=>{var Er;jr.unobserve(ar),(Er=Ot==null?void 0:Ot.removeEventListener)==null||Er.call(Ot,"scroll",Sr)}},[bi]),(0,ye.useEffect)(()=>{!bi&&di.current.length&&(yr([...Ht,...di.current]),di.current=[])},[bi]),(0,ye.useEffect)(()=>{if(!wn.current)return;const Ot=new ResizeObserver(()=>{var ar;wn.current&&ua((ar=wn.current)==null?void 0:ar.offsetWidth)});return Ot.observe(wn.current),()=>{wn.current&&Ot.unobserve(wn.current)}},[wn.current]),(0,ye.useEffect)(()=>{typeof Mr=="boolean"&&_n(Mr)},[Mr]),(0,ye.useEffect)(()=>{var Ot;if(zi.current&&ri!==null){zi.current.focus();const ar=(Ot=zi.current.resizableTextArea)==null?void 0:Ot.textArea;ar&&(ar.selectionStart=ar.selectionEnd=ar.value.length)}},[ri]),(0,ye.useEffect)(()=>{ss<5&&ki(!1)},[ss]),(0,ye.useEffect)(()=>{Un&&nr&&(yr(Ii(nr)),dn(!0),jn(nr,{history:[]})),Un&&(Gi(),Vn?Ni(Vn):Mn&&!Pi&&Bo()),Un||Si()},[Un]);const Ii=(Ot="",ar=[],vr=[])=>{const Sr=Date.now();return[{text:Ot,key:Sr,sender:"user",fileList:ar,imageList:vr,show:!0},{loading:!0,key:Sr,sender:"AI",show:!0,model:Ut!=null&&Ut.application_id?"other":Xn,imageGenerator:fi,thinkingEnabled:ni,codePreview:to}]},Si=()=>{eo(""),Li(null),Hr([]),an([]),on("")},ls=()=>{if(wr){wr({chatData:Ht,setChatData:yr,setLoading:dn,getData:jn,renderChatItems:Ii,handleAdd:Bo,identifier:Pi});return}_n(!0)},us=()=>{if(is(!0),Tr){Tr();return}_n(!1)},Ns=()=>{ki(!On)},Gi=()=>Bt(void 0,null,function*(){if(!gr)return;const Ot=yield(0,ue.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Ot==null?void 0:Ot.status)===0&&(Ot==null?void 0:Ot.total_number)!==-1&&(Jr((Ot==null?void 0:Ot.total_number)-(Ot==null?void 0:Ot.remaining_number)),yi(Ot==null?void 0:Ot.total_number))}),Fs=()=>{de.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:ye.createElement("div",null,ye.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u7528",vn,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},oo=Ot=>Ot.reduce((vr,Sr)=>{if(Sr.sender==="user"){const jr=Ot.find(Er=>Er.key===Sr.key&&Er.sender==="AI");jr&&(jr!=null&&jr.text)&&!(jr!=null&&jr.error)&&vr.push({question:Sr.text,answer:jr.text})}return vr},[]),jn=(...Ot)=>Bt(void 0,[...Ot],function*(ar="",vr={},Sr=Ht){if(kr&&(yield kr({mes:ar,setChatData:yr,fileList:Nr,body:vr,checkNum:Gi,setLoading:dn,bodyChatData:Sr,setTyping:ci,setImageGenerator:ln,renderChatItems:Ii})),!kr){const jr=Nr==null?void 0:Nr.map(cn=>{var zn;return(zn=cn==null?void 0:cn.response)==null?void 0:zn.file_id}),Er=mn==null?void 0:mn.map(cn=>{var zn;return(zn=cn==null?void 0:cn.response)==null?void 0:zn.data}),tn=vr.history||oo(Sr),Cn=wt(wt({identifier:Pi,response_mode:"streaming",model:Xn,scene_awareness:ro,thinking_enabled:ni,image_generator:fi,code_preview:to,file_ids:jr,image_list:Er,history:tn,[Br]:ar},Ut),vr),Yn=Object.fromEntries(Object.entries(Cn).filter(([cn,zn])=>zn!==void 0));Ur.current=new Ae.Z(Se.Z.API_SERVER+zt,Yn),yield new Promise((cn,zn)=>{let go=null,Fo=null;Ur.current.on("data",Zi=>{ci(!0);const{chunk:{content:Xi,type:_i,created:Fi,msg:Ho}}=Zi,yo=Ho==="error";_i==="thinking"&&(go=go||Fi,yr(bo=>[...bo].map((Yi,ds)=>ds===bo.length-1?It(wt({},Yi),{reasoning:(Yi.reasoning||"")+Xi,loading:!1,hideAnswer:!0,error:yo}):Yi))),_i==="text"&&(Fo=Fo||Fi,yr(bo=>[...bo].map((Yi,ds)=>ds===bo.length-1?It(wt({},Yi),{text:(Yi.text||"")+Xi,loading:!1,startTime:go,endTime:Fo,error:yo}):Yi)))}),Ur.current.on("done",()=>{cn()}),Ur.current.on("error",Zi=>{let Xi="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(Zi)==="[object Object]"&&Zi.status===-9&&(Xi=Zi==null?void 0:Zi.message),yr(_i=>[..._i].map((Fi,Ho)=>Ho===_i.length-1?It(wt({},Fi),{text:Xi,loading:!1,error:!0}):Fi)),cn()}),Ur.current.on("cancelled",()=>{cn()}),Ur.current.startStream()})}Gi(),dn(!1)}),Hs=Ot=>{on(Ot.target.value)},Ro=(Ot,ar)=>{if(Si(),dn(!0),Ot==="edit"){di.current=Ht.slice(ar+2);const vr=Ht.splice(ar),{fileList:Sr=[],imageList:jr=[]}=(vr==null?void 0:vr[0])||{},Er=Sr.map(Yn=>{var cn;return(cn=Yn.response)==null?void 0:cn.file_id}),tn=jr.map(Yn=>{var cn;return(cn=Yn.response)==null?void 0:cn.data}),Cn={history:oo(Ht),file_ids:Er,image_list:tn,edit:!0};yr([...Ht,...Ii($i,Sr,jr)]),jn($i,Cn,Ht)}if(Ot==="redraw"){di.current=Ht.slice(ar+1);const vr=Ht.splice(ar-1),{text:Sr,fileList:jr=[],imageList:Er=[]}=(vr==null?void 0:vr[0])||{},tn=jr.map(cn=>{var zn;return(zn=cn.response)==null?void 0:zn.file_id}),Cn=Er.map(cn=>{var zn;return(zn=cn.response)==null?void 0:zn.data}),Yn={history:oo(Ht),file_ids:tn,image_list:Cn,edit:!0};yr([...Ht,...Ii(Sr,jr,Er)]),jn(Sr,Yn,Ht)}},Io=()=>{if(Rr.trim()!==""){Si(),dn(!0);const Ot=Nr.filter(vr=>vr.status==="done"),ar=mn.filter(vr=>vr.status==="done");yr([...Ht,...Ii(Rr,Ot,ar)]),jn(Rr)}},Us=Ot=>{if(Ot.shiftKey){if(Ot.key==="Enter")return}else if(Ot.key==="Enter"){if(Ot.preventDefault(),vo||Oo.current)return;Io()}},zs=(Ot,ar)=>{let vr=!1;Fr===!0?vr=!0:Fr==="last"&&(vr=Ht.reduce((tn,Cn,Yn)=>Cn.sender==="user"?Yn:tn,-1)===ar);const Sr=ar===ri,jr=[...(Ot==null?void 0:Ot.fileList)||[],...(Ot==null?void 0:Ot.imageList)||[]];return ye.createElement("div",{className:ce.li,style:wt({width:jo},Pn)},ye.createElement("div",{className:ce.avatarIcon},ye.createElement("img",{className:ce.img,src:Nt})),ye.createElement("div",{className:ce.content},!!(jr!=null&&jr.length)&&ye.createElement("div",{className:ce.fileWrap},jr==null?void 0:jr.map((Er,tn)=>ye.createElement("div",{key:tn,className:ce.file},ye.createElement(Te.Z,{filename:Er==null?void 0:Er.name,className:"mr10",width:24}),ye.createElement("aside",null,ye.createElement(ee.Z,{title:Er==null?void 0:Er.name},ye.createElement("div",{className:ce.fileName},Er==null?void 0:Er.name)),ye.createElement("div",{className:"c-grey-999 font12"},(0,ge.RD)(Er==null?void 0:Er.size)))))),ye.createElement("div",{className:ce.borderBox},Sr?ye.createElement(oe.default.TextArea,{value:$i,ref:zi,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:Er=>eo(Er.target.value)}):ye.createElement("div",{className:ce.text},Ot==null?void 0:Ot.text)),Sr?ye.createElement("div",{className:ce.action},ye.createElement(ne.ZP,{onClick:()=>{eo(""),Li(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(ne.ZP,{disabled:!$i.trim(),onClick:()=>Ro("edit",ar),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:ce.action},ye.createElement(be.CopyToClipboard,{text:(Ot==null?void 0:Ot.text)||"",onCopy:()=>a.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(ee.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),vr&&!Zr&&ye.createElement(ee.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{Li(ar),eo((Ot==null?void 0:Ot.text)||"")},className:"iconfont icon-bianji10 font14"})))))},cs=(Ot,ar)=>{console.log(Ot);let vr=!1;Zt===!0?vr=!0:Zt==="last"&&(vr=Ht.reduce((Er,tn,Cn)=>tn.sender==="AI"?Cn:Er,-1)===ar);let Sr="";return Ot!=null&&Ot.source?Sr=Ot==null?void 0:Ot.source:(Ot==null?void 0:Ot.model)==="deepseek-r1"?Sr="\u7531deepseek\u751F\u6210":(Ot==null?void 0:Ot.model)==="qwen-plus-latest"&&(Sr="\u7531\u901A\u4E49\u5343\u95EE\u751F\u6210"),ye.createElement("div",{className:ce.li,style:wt({width:jo},Pn)},ye.createElement("div",{className:ce.avatarIcon},ye.createElement("img",{className:ce.img,src:Rt})),ye.createElement("div",{className:ce.content},ye.createElement("div",{className:ce.borderBox},Ot.loading&&ye.createElement(ye.Fragment,null,Ot!=null&&Ot.imageGenerator?ye.createElement("div",{className:ce.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ye.createElement("div",{className:"ai-loading"})):!(Ot!=null&&Ot.thinkingEnabled)&&ye.createElement("div",null,ye.createElement("div",{className:ce.loading},ye.createElement("div",{className:ce.dot}),ye.createElement("div",{className:ce.dot}),ye.createElement("div",{className:ce.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(Cr==null?void 0:Cr.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002"))),(Ot==null?void 0:Ot.thinkingEnabled)&&ye.createElement(le.Z,{time:Ot==null?void 0:Ot.time,cancelIndex:no,loading:Ot.loading,streamingStatus:!(Ot!=null&&Ot.text),onFinish:()=>{ts(0),yr(jr=>[...jr].map((Er,tn)=>tn===jr.length-1?It(wt({},Er),{hideAnswer:!1,time:Er.startTime?Er.endTime-Er.startTime:null}):Er))},value:Ot==null?void 0:Ot.reasoning}),!!(Ot!=null&&Ot.text)&&!Ot.hideAnswer&&ye.createElement(ae.Z,{onDynamic:Ai,cancelIndex:no,streamingStatus:Zr,loadImage:!!(Ot!=null&&Ot.imageGenerator),onFinish:()=>Bt(void 0,null,function*(){ts(0),setTimeout(()=>ci(!1),0)}),value:Ot==null?void 0:Ot.text})),Ei&&!(Ot!=null&&Ot.application_id)&&(Ot==null?void 0:Ot.model)!="other"&&!!(Ot!=null&&Ot.text)&&Sr&&ye.createElement("div",{className:ce.source},Sr),ye.createElement("div",{className:ce.action},Jt==null?void 0:Jt(Ot,ar,hi),!(Ot!=null&&Ot.imageGenerator)&&ye.createElement(be.CopyToClipboard,{text:String((Ot==null?void 0:Ot.text)||""),onCopy:()=>a.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement(ee.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Ft&&!Zr&&ye.createElement(ye.Fragment,null,ye.createElement(ee.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:Ot!=null&&Ot.like?{color:"#FA8D30"}:{},onClick:()=>Ws("like",!(Ot!=null&&Ot.like),ar),className:"iconfot icon-yijiejue font15"})),ye.createElement(ee.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:Ot!=null&&Ot.dislike?{color:"#e86d7c"}:{},onClick:()=>Ws("dislike",!(Ot!=null&&Ot.dislike),ar),className:"iconfot icon-weijiejuezhengchang font15"}))),vr&&!Zr&&ye.createElement(ee.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>Ro("redraw",ar),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},Ws=(Ot,ar,vr)=>Bt(void 0,null,function*(){if(Qr){const Sr=Ht.slice(0,vr+1),Er=oo(Sr).length;yield Qr({type:Ot,value:ar,index:vr,identifier:Pi,objectIndex:Er})}yr(Sr=>(Sr[vr][Ot]=ar,ar&&(Sr[vr][Ot==="like"?"dislike":"like"]=!1),[...Sr]))}),fa=()=>{var Ot,ar;ts(1),(ar=(Ot=Ur.current)==null?void 0:Ot.cancelRequest)==null||ar.call(Ot),dn(!1),ci(!1)},Bo=()=>Bt(void 0,null,function*(){var Ot,ar,vr;ji({}),(ar=(Ot=Ur.current)==null?void 0:Ot.cancelRequest)==null||ar.call(Ot),Si(),yr([]),dn(!0);const Sr=yield as();(Sr==null?void 0:Sr.status)===0&&rs((vr=Sr==null?void 0:Sr.data)==null?void 0:vr.identifier),dn(!1),ci(!1)}),Bi=()=>Bt(void 0,null,function*(){var Ot;fr(!0);const ar=yield io();(ar==null?void 0:ar.status)===0&&wi(((Ot=ar==null?void 0:ar.data)==null?void 0:Ot.list)||[]),fr(!1)}),Ni=(...Ot)=>Bt(void 0,[...Ot],function*(ar=Pi){var vr,Sr,jr,Er;ji({}),(Sr=(vr=Ur.current)==null?void 0:vr.cancelRequest)==null||Sr.call(vr),Si(),cr(!0);const tn=yield xi(ar);if(tn.status===0){const Cn=Is(((jr=tn==null?void 0:tn.data)==null?void 0:jr.messages)||[]);yr(Cn),cr(!1),rs((Er=tn==null?void 0:tn.data)==null?void 0:Er.identifier);return}yr([]),cr(!1)}),so=(Ot,ar)=>Bt(void 0,null,function*(){(yield Rs(Ot)).status===0&&(a.ZP.success("\u5220\u9664\u6210\u529F"),ar===Pi&&Bo(),Bi())}),fs=()=>ye.createElement("div",{className:ce.menuWarp},ye.createElement("h4",null,"\u5386\u53F2\u5BF9\u8BDD"),ye.createElement(te.Z,{spinning:sr},!Mo.length&&ye.createElement(se.Z,{style:{width:250,paddingBottom:30},image:se.Z.PRESENTED_IMAGE_SIMPLE}),!!Mo.length&&ye.createElement("div",{className:ce.menu},Mo.map(function(Ot,ar){return ye.createElement("aside",{className:re()(Pi===Ot.identifier&&ce.active),key:Ot.id,onClick:()=>Ni(Ot.id)},ye.createElement("div",{className:ce.menuText},ye.createElement(ee.Z,{title:Ot==null?void 0:Ot.question},ye.createElement("span",null,Ot==null?void 0:Ot.question)),Oi&&Oi(Ot)),ye.createElement("div",{className:ce.menuDel,onClick:vr=>vr.stopPropagation()},ye.createElement("i",{onClick:()=>(0,De.r)(Ot.id),className:"iconfont icon-daochubeifen primary-hover font14"})),ye.createElement("div",{className:ce.menuDel,onClick:vr=>vr.stopPropagation()},ye.createElement(z.Z,{title:"\u63D0\u793A",description:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u672C\u6761\u5BF9\u8BDD\u5417\uFF1F",onConfirm:()=>so(Ot.id,Ot.identifier),okText:"\u786E\u8BA4",zIndex:1100,cancelText:"\u53D6\u6D88"},ye.createElement("i",{className:"iconfont icon-shanchu14 delete-hover font14"}))))})))),No=Ot=>{if(Ot==="file"){if(mn.length){de.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u56FE\u7247\uFF0C\u4E0A\u4F20\u6587\u4EF6\u540E\u56FE\u7247\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{an([]),po.current.upload.uploader.fileInput.click()}});return}po.current.upload.uploader.fileInput.click()}if(Ot==="image"){if(Nr.length){de.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u6587\u4EF6\uFF0C\u4E0A\u4F20\u56FE\u7247\u540E\u6587\u4EF6\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{Hr([]),os.current.upload.uploader.fileInput.click()}});return}os.current.upload.uploader.fileInput.click()}},mo=[...Nr,...mn],vo=mo.some(Ot=>Ot.status==="uploading")||Zr||bi,Vi=Xr>=vn,hi={chatData:Ht,stream:Ur,isDisabledNum:Vi,isDisAbledUpload:vo,checkNumModal:Fs,checkNum:Gi,onClose:us,setChatData:yr,setLoading:dn,getData:jn,clearStatus:Si,typing:bi,setImageGenerator:ln,renderChatItems:Ii,setSceneAwareness:es,setIdentifier:rs,setCodePreview:ii,setTyping:ci,onMenuClick:Ni};return ye.createElement(ye.Fragment,null,Et?ye.createElement("div",{onClick:ls},Et):Et!==null&&!Un&&ye.createElement(_e.Z,{draggableExtraNode:$n,showAvatarEditData:{nickname:"\u5B9E\u9A8C\u52A9\u6559",headImgId:null},src:kt,onClick:ls,topPercentage:Kr}),Un&&ye.createElement("div",{className:ce.draggableWrap},ye.createElement(Le,{dragHandleClassName:ce.title,bounds:"parent",minHeight:400,maxHeight:window.innerHeight-40,minWidth:736,maxWidth:window.innerWidth-40,default:{x:window.innerWidth-756,y:20,width:736,height:window.innerHeight-40}},ye.createElement("div",{className:ce.modal},ye.createElement("div",{className:ce.head},ye.createElement("div",{className:ce.title},ye.createElement("b",{className:"c-grey-333 font16"},"\u5B9E\u9A8C\u52A9\u6559"),ye.createElement("span",{className:"c-grey-333 font14"},"\uFF08\u70B9\u51FB\u53EF\u62D6\u52A8\u7A97\u53E3\uFF09")),Zn,pn&&ye.createElement(fe.Z,{value:Xn,onChange:Ot=>{Ao(!1),ln(!1),Ar(Ot),an([]),Hr([])}}),en&&ye.createElement(ye.Fragment,null,ye.createElement(x.Z,{className:"ml10",dropdownRender:fs,onOpenChange:Ot=>{Ot&&Bi()},placement:"bottomRight",arrow:{pointAtCenter:!0}},ye.createElement("div",{className:ce.headBtn},ye.createElement("i",{className:"icon-lishiduihua1 font14"})))),Mn&&ye.createElement(ye.Fragment,null,ye.createElement(ee.Z,{title:"\u65B0\u5EFA\u5BF9\u8BDD"},ye.createElement("div",{className:ce.headBtn,onClick:Bo},ye.createElement("i",{className:"icon-xinjianduihua font14"}))),ye.createElement("div",{style:{height:10,width:1,background:"#D8D8D8"}})),ye.createElement(ee.Z,{title:"\u6536\u8D77\u7A97\u53E3"},ye.createElement("div",{className:ce.headBtn,onClick:us},ye.createElement("i",{className:"icon-suoxiaochuangkou font14"})))),ye.createElement("div",{className:re()(ce.wrap,Un&&"body-overflow-hidden")},ye.createElement("div",{ref:wn,className:ce.chatContainer},!ti&&(li==null?void 0:li(hi)),er&&ye.createElement("div",{className:`${ce.li} mb20`,style:wt({width:jo},Pn)},ye.createElement("div",{className:ce.avatarIcon},ye.createElement("img",{className:ce.img,src:Rt})),ye.createElement("div",{className:ce.content},ye.createElement("div",{className:ce.borderBox},Dr,rr==null?void 0:rr(hi)))),ti&&(Ht==null?void 0:Ht.length)<=0&&ye.createElement("div",{style:{textAlign:"center"}},Dr,ye.createElement("div",{style:{height:20,width:1}}),ti&&(li==null?void 0:li(hi))),ye.createElement("div",{ref:ko},ye.createElement(te.Z,{spinning:Ui,className:"mt20"},Ht==null?void 0:Ht.map((Ot,ar)=>ye.createElement(ye.Fragment,{key:Ot.key+ar},Ot.show&&ye.createElement(ye.Fragment,null,Ot.sender==="user"&&zs(Ot,ar),Ot.sender==="AI"&&cs(Ot,ar),Gr&&!["AI","user"].includes(Ot.sender)&&Gr(Ot,ar,{width:jo})))))),!la&&ye.createElement("div",{className:ce.backBottom,onClick:()=>{wn.current.scrollTop=wn.current.scrollHeight}},ye.createElement("i",{className:"iconfont icon-huidaodibu"})),ye.createElement("div",{ref:Wi,className:"pl20"})),ti&&(Ht==null?void 0:Ht.length)>0&&ye.createElement("div",{style:{display:"flex",gap:20,marginLeft:20,marginBottom:10}},qi&&ye.createElement(ne.ZP,{style:{height:34,borderRadius:20,width:102},ghost:!0,type:"primary"},qi),ye.createElement(b.Z,{zIndex:1e3,placement:"topLeft",content:ye.createElement("div",{style:{width:530}},gi==null?void 0:gi(hi)),title:"\u667A\u80FD\u5DE5\u5177"}," ",ye.createElement(ne.ZP,{style:{height:34,borderRadius:20,width:102},icon:ye.createElement("i",{className:"iconfont icon-qita"}),type:"primary",ghost:!0},"\u667A\u80FD\u5DE5\u5177"))),!Ct&&ye.createElement("div",{className:ce.footer},ye.createElement("div",{className:ce.main},!!mo.length&&ye.createElement("div",{className:ce.files},mo==null?void 0:mo.map((Ot,ar)=>ye.createElement("div",{key:ar,className:ce.file},ye.createElement(te.Z,{size:"small",spinning:(Ot==null?void 0:Ot.status)==="uploading"},ye.createElement(Te.Z,{filename:Ot==null?void 0:Ot.name,className:"block",width:24})),ye.createElement("aside",null,ye.createElement(ee.Z,{title:Ot==null?void 0:Ot.name},ye.createElement("div",{className:ce.fileName},Ot==null?void 0:Ot.name)),ye.createElement("div",{className:"c-grey-999 font12"},(0,ge.RD)(Ot==null?void 0:Ot.size))),ye.createElement("i",{onClick:()=>{Hr(vr=>vr.filter(Sr=>Sr.uid!==Ot.uid)),an(vr=>vr.filter(Sr=>Sr.uid!==Ot.uid))},className:`aitubiao icon-tupianguanbi ${ce.fileDel}`})))),ye.createElement("div",{className:ce.inputWrap},ye.createElement(oe.default.TextArea,{placeholder:Mt||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u95EE\u9898\u5427\uFF0CShift+Enter\u6362\u884C\uFF5E",value:Rr,bordered:!1,onChange:Hs,onPressEnter:Us,onCompositionStart:()=>{Oo.current=!0},onCompositionEnd:()=>{Oo.current=!1}}),ye.createElement("div",{className:ce.action},ye.createElement("div",{className:ce.btnWrap},Ci&&ye.createElement(ee.Z,{title:"\u667A\u80FD\u611F\u77E5\u5F53\u524D\u60C5\u5883\uFF0C\u63D0\u4F9B\u9488\u5BF9\u6027\u89E3\u7B54"},ye.createElement("div",{onClick:()=>es(!ro),className:re()(ce.btn,ro&&ce.btnActive)},ye.createElement("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"\u573A\u666F\u611F\u77E5")),Xn==="deepseek-r1"&&vi&&ye.createElement(ee.Z,{title:"\u8C03\u7528\u65B0\u6A21\u578B DeepSeek-R1\uFF0C\u89E3\u51B3\u63A8\u7406\u95EE\u9898"},ye.createElement("div",{onClick:()=>Ao(!ni),className:re()(ce.btn,ni&&ce.btnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10 font14"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),$r&&Xn==="qwen-plus-latest"&&ye.createElement("div",{onClick:()=>ln(!fi),className:re()(ce.btn,fi&&ce.btnActive)},ye.createElement("i",{className:"aitubiao icon-tuxiangshengcheng1 mr10 font14"}),"\u56FE\u50CF\u751F\u6210")),!St&&ye.createElement(ye.Fragment,null,Xn==="qwen-plus-latest"&&ye.createElement(he.default,wt({ref:os},Bs),ye.createElement(ee.Z,{title:mn.length>=Po?"\u4E0A\u4F20\u7684\u6570\u91CF\u5DF2\u5230\u8FBE\u9650\u5236":"\u6DFB\u52A0\u56FE\u7247"},ye.createElement("div",{onClick:()=>!(mn.length>=Po)&&No("image"),className:mn.length>=Po?ce.uploadDisabledBtn:ce.uploadBtn},ye.createElement("i",{className:"aitubiao icon-tupianshangchuan font14"})))),ye.createElement(he.default,wt({ref:po},ca),ye.createElement(ee.Z,{title:Nr.length>=Lo?"\u4E0A\u4F20\u7684\u6570\u91CF\u5DF2\u5230\u8FBE\u9650\u5236":ye.createElement("div",null,ye.createElement("b",null,"\u4E0A\u4F20\u9644\u4EF6\uFF08\u4EC5\u8BC6\u522B\u6587\u5B57\uFF09"),ye.createElement("div",null,"\u6700\u591A 50 \u4E2A\uFF0C\u6BCF\u4E2A 100 MB\uFF0C\u652F\u6301\u5404\u7C7B\u578B\u6587\u6863"))},ye.createElement("div",{onClick:()=>!(Nr.length>=Lo)&&No("file"),className:Nr.length>=Lo?ce.uploadDisabledBtn:ce.uploadBtn},ye.createElement("i",{className:"aitubiao icon-fujian3 font14"}))))),ye.createElement("div",{className:"mr13"}),bi?ye.createElement(ee.Z,{title:"\u505C\u6B62\u751F\u6210"},ye.createElement("div",{className:`iconfont icon-tingzhihuida ${ce.cancelBtn}`,onClick:fa})):ye.createElement(ne.ZP,{className:(Rr==null?void 0:Rr.trim())===""?ce.sendBtnDisabled:ce.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 font14 c-white"}),disabled:vo,onClick:Io}))))))))))},dr={bigTipsBox:"bigTipsBox___XRGyw",bigTips:"bigTips___uPRW3",item:"item___KMGDu",editBtn:"editBtn___JiZpD",active:"active___EX5N5",PrevNext:"PrevNext____kcgs",img:"img___X2ms3",imgHover:"imgHover___wIHti",LeftButton:"LeftButton___P5Wge",RightButton:"RightButton___NAbBu"},lr=Ce(93056),Or=Ce(21485),Yr=Ce(3050),rn=Ce(43849),zr=Ce(68832),Wr=Ce(86784),sn=Ce(95392),bn=Object.defineProperty,Ir=Object.defineProperties,Nn=Object.getOwnPropertyDescriptors,ai=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,Kt=(Dt,Mt,St)=>Mt in Dt?bn(Dt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:St}):Dt[Mt]=St,$t=(Dt,Mt)=>{for(var St in Mt||(Mt={}))hr.call(Mt,St)&&Kt(Dt,St,Mt[St]);if(ai)for(var St of ai(Mt))br.call(Mt,St)&&Kt(Dt,St,Mt[St]);return Dt},Gt=(Dt,Mt)=>Ir(Dt,Nn(Mt)),Xt=(Dt,Mt,St)=>new Promise((Ct,Rt)=>{var Nt=zt=>{try{Et(St.next(zt))}catch(Ut){Rt(Ut)}},kt=zt=>{try{Et(St.throw(zt))}catch(Ut){Rt(Ut)}},Et=zt=>zt.done?Ct(zt.value):Promise.resolve(zt.value).then(Nt,kt);Et((St=St.apply(Dt,Mt)).next())}),pr=({description:Dt,code:Mt,showData:St={},sendParams:Ct={},allShow:Rt=!1,draggableExtraNode:Nt,singleControl:kt=!1})=>{var Et,zt;const Ut=(0,sn.useDispatch)(),[Jt,er]=(0,ye.useState)({}),[wr,Tr]=(0,ye.useState)([]),[Cr,Ft]=(0,ye.useState)(null),[nr,kr]=(0,ye.useState)(!1),[Mr,Pr]=(0,ye.useState)(!0),[gr,Dr]=(0,ye.useState)(0),rr=6,Zt=(0,ye.useRef)(null),[Fr,Br]=(0,ye.useState)([]),[Kr,pn]=(0,ye.useState)(""),[$r,en]=(0,ye.useState)(!0),[Fn,Qr]=(0,ye.useState)(!0),[Gr,Mn]=(0,ye.useState)(!0),[Vn,$n]=(0,ye.useState)(!1),[Zn,Oi]=(0,ye.useState)(null),[Ci,vi]=(0,ye.useState)(!1),[un]=(0,sn.useSearchParams)(),[li,Hn]=(0,ye.useState)(null),[Pn,ui]=(0,ye.useState)(),Ei=Ar=>{if(!Zt.current)return;const Nr=Zt.current,Hr=Nr.children;if(Hr.length===0)return;const Zr=Hr[0].getBoundingClientRect().width+22,dn=Nr.scrollLeft;Ar==="left"?Nr.scrollTo({left:Math.max(0,dn-Zr),behavior:"smooth"}):Nr.scrollTo({left:dn+Zr,behavior:"smooth"}),setTimeout(()=>{ei()},50)},ei=()=>{if(!Zt.current)return;const Ar=Zt.current,Nr=Ar.scrollWidth-Ar.clientWidth;if(console.log(Ar.scrollWidth),console.log(Ar.clientWidth),console.log(Ar.scrollLeft),Nr<=0){kr(!1),Pr(!1);return}kr(Ar.scrollLeft>1),Pr(Ar.scrollLeft<Nr-1)};(0,ye.useEffect)(()=>{const Ar=Zt.current;if(Ar){const Nr=()=>{requestAnimationFrame(ei)};Ar.addEventListener("scroll",Nr),ei();const Hr=new ResizeObserver(()=>{ei()});return Hr.observe(Ar),()=>{Ar.removeEventListener("scroll",Nr),Hr.disconnect()}}},[Zt.current]);const Ai=[{img:Ce(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:Dt,show:St==null?void 0:St.ai_exam_question,type:1},{img:Ce(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:Mt,show:St==null?void 0:St.ai_syntax_check,type:5},{img:Ce(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:Dt,query:Mt,show:St==null?void 0:St.ai_code_diagnosis,width:21,type:2},{img:Ce(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:Dt,query:Mt,show:St==null?void 0:St.ai_guidance,type:3},{img:Ce(9515),name:"\u4EE3\u7801\u8BC4\u4EF7",des:"\u4ECE\u591A\u4E2A\u7EF4\u5EA6\u5BF9\u4EE3\u7801\u8FDB\u884C\u8BC4\u4EF7\uFF0C\u4E86\u89E3\u4EE3\u7801\u7F3A\u9677",description:Dt,query:Mt,show:St==null?void 0:St.ai_code_evaluation,type:9},{img:Ce(43214),name:"\u4EE3\u7801\u4F18\u5316",des:"\u5BF9\u4EE3\u7801\u8FDB\u884C\u667A\u80FD\u4F18\u5316\uFF0C\u5E2E\u52A9\u63D0\u5347\u4EE3\u7801\u8D28\u91CF",description:Dt,query:Mt,show:St==null?void 0:St.ai_code_optimization,type:7},{img:Ce(54269),name:"\u4EE3\u7801\u6CE8\u91CA",des:"\u81EA\u52A8\u5BF9\u5DF2\u6709\u4EE3\u7801\u6DFB\u52A0\u6CE8\u91CA",description:Dt,query:Mt,show:St==null?void 0:St.ai_code_comment,type:8},kt&&{img:Ce(36645),name:"\u6284\u88AD\u68C0\u6D4B",des:"\u667A\u80FD\u8054\u7F51\u641C\u7D22\uFF0C\u67E5\u627E\u7591\u4F3C\u6284\u88AD\u7684\u94FE\u63A5",description:Dt,query:Mt,show:St==null?void 0:St.ai_code_comment,type:13,width:25,custom_agent_name:"code_plagiarism"}].filter(Ar=>!!Ar);(0,ye.useEffect)(()=>{(Ct==null?void 0:Ct.source)=="shixun"&&(ji(),ti())},[]);const ji=()=>Xt(void 0,null,function*(){var Ar,Nr,Hr,mn;const an=yield(0,ue.ZP)("/api/ai/intelligent_applications.json",{method:"get",params:{item_type:"Shixun",item_id:Ct==null?void 0:Ct.shixun_id}});if((an==null?void 0:an.status)===0&&(Br(((Ar=an==null?void 0:an.data)==null?void 0:Ar.list)||[]),pn(((Nr=an==null?void 0:an.data)==null?void 0:Nr.local_ai_model_url)||""),ei()),un.get("subject_id")){const Zr=yield(0,ue.ZP)("/api/ai/agents.json",{method:"get",params:{page:1,per_page:1e3,application_type:"subject_shixun",deployable_id:un.get("subject_id"),deployable_type:"Subject",item_type:"Subject",item_id:un.get("subject_id")}});(Zr==null?void 0:Zr.status)===0&&(Br([...(Hr=an==null?void 0:an.data)==null?void 0:Hr.list,...(mn=Zr==null?void 0:Zr.data)==null?void 0:mn.agents]),ei())}}),ti=()=>Xt(void 0,null,function*(){const Ar=yield(0,ue.ZP)("/api/ai/intelligent_applications/teacher_permission.json",{method:"get",params:{item_type:"Shixun",item_id:Ct==null?void 0:Ct.shixun_id}});(Ar==null?void 0:Ar.status)==0&&vi(Ar==null?void 0:Ar.permission)}),gi=Ar=>{Ft(Ar),Oi(Ar),en(!Ar),Qr(!Ar),Mn(!Ar),$n(!!Ar)},qi=Ar=>Xt(void 0,null,function*(){if(!un.get("subject_id"))return;const Nr=yield(0,ue.ZP)("/api/ai/agents/click.json",{method:"post",body:{deployable_type:"Subject",deployable_id:un.get("subject_id")||"",id:Ar}})}),Ti=Ar=>{const{setChatData:Nr,setLoading:Hr,getData:mn,clearStatus:an,typing:Zr,setImageGenerator:dn,renderChatItems:Ui,setSceneAwareness:cr,setIdentifier:sr}=Ar;let fr=Ai;return Rt||(fr=Ai.filter(Ht=>Ht.show)),ye.createElement("div",{style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:20,marginRight:20,paddingLeft:20}},ye.createElement("div",{className:dr.bigTipsBox,style:{width:"100%",marginRight:10}},ye.createElement("div",{ref:Zt,className:dr.bigTips,style:{display:"flex",width:"100%",position:"relative",flexWrap:"wrap",gap:20,overflow:"auto"}},fr.map((Ht,yr)=>ye.createElement(ee.Z,{key:yr,title:Ht.des},ye.createElement("div",{onClick:()=>Xt(void 0,null,function*(){var Rr;if(gi(null),Zr){a.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}cr(!1),dn(!1),Hr(!0),an(),er(Ht);const on=Ui(Ht.query);on[0].show=!1,on[1].imageGenerator=!1,Nr(on);const Xr=yield Xn.onAdd(),Jr=(Rr=Xr==null?void 0:Xr.data)==null?void 0:Rr.identifier;sr(Jr),mn("",Gt($t({type:Ht.type,description:Ht.description,application_id:null,query:Ht.query,file_ids:[],history:[],is_chat:Ht.type===13,image_generator:!1,scene_awareness:!1,identifier:Jr,custom_agent_name:Ht.custom_agent_name},Ct),{prompt:St==null?void 0:St.ai_code_evaluation_promote}))}),className:dr.item,style:{flex:"0 0 auto"}},ye.createElement("img",{src:Ht.img,width:Ht.width,alt:Ht.name}),ye.createElement("span",null,Ht.name)))),Fr.map(Ht=>{var yr;return ye.createElement(ee.Z,{key:Ht.id,title:Ht!=null&&Ht.agent_type?Ht==null?void 0:Ht.description:`${Ht.name}\uFF0C\u9009\u4E2D\u4E4B\u540E\u4E0B\u65B9\u667A\u80FD\u95EE\u7B54\u5C06\u4F7F\u7528\u5BF9\u5E94\u7684\u80FD\u529B`},ye.createElement("div",{className:`${dr.item} ${Cr===Ht.id?dr.active:""}`,key:Ht.id,style:{flex:"0 0 auto"},onClick:()=>{Cr===Ht.id?(Hn(null),gi(null),ui(null)):(ui(Ht.name),Ht!=null&&Ht.agent_type?(Hn(Ht.id),Ft(Ht.id),$n(!!Ht.id),qi(Ht.id)):(Hn(null),gi(Ht.id)))}},(Ht==null?void 0:Ht.can_edit)&&!(Ht!=null&&Ht.agent_type)&&ye.createElement("i",{className:`iconfont icon-bianjidaibeijing ${dr.editBtn}`,onClick:Rr=>{Rr.stopPropagation(),Ut({type:"shixunsDetail/setActionTabs",payload:{key:"\u7F16\u8F91\u667A\u80FD\u5E94\u7528",params:Ht}})}}),ye.createElement("img",{src:Ht!=null&&Ht.agent_type?Se.Z.API_SERVER+((yr=Ht==null?void 0:Ht.icon)==null?void 0:yr.url):Ht.attachment_id?`${Se.Z.API_SERVER}/api/attachments/${Ht.attachment_id}`:Wr,width:24,height:24,alt:Ht.name}),ye.createElement("span",null,Ht.name)))}),Ci&&ye.createElement(lr.Z,{data:Fr,getIAData:()=>ji(),url:Kr,className:dr.inlineAgent,queryInfo:{item_type:"Shixun",item_id:Ct==null?void 0:Ct.shixun_id},showParams:!0}))),ye.createElement("div",{className:dr.PrevNext},nr&&ye.createElement("div",{className:dr.LeftButton,onClick:Ht=>{Ht.stopPropagation(),Ei("left")}},ye.createElement("img",{src:Or.Z,alt:"Previous",className:dr.img}),ye.createElement("img",{src:rn.Z,alt:"Previous",className:dr.imgHover})),Mr&&ye.createElement("div",{className:dr.RightButton,onClick:Ht=>{Ht.stopPropagation(),Ei("right")}},ye.createElement("img",{src:Yr.Z,alt:"Next",className:dr.img}),ye.createElement("img",{src:zr.Z,alt:"Next",className:dr.imgHover}))))},Rn=Ar=>Xt(void 0,[Ar],function*({type:Nr,value:Hr,index:mn,identifier:an,objectIndex:Zr}){const dn={index:Zr,identifier:an};if(Nr==="like"&&(yield(0,ue.ZP)("/api/course_qna_records/like.json",{method:"post",body:dn})).status!==0||Nr==="dislike"&&(yield(0,ue.ZP)("/api/course_qna_records/dislike.json",{method:"post",body:dn})).status!==0)return Promise.reject()}),Un=Ar=>{let Nr=[];return Ar==null||Ar.forEach(Hr=>{var mn;const an=Hr.id,Zr=Hr.think?{reasoning:Hr.think,thinkingEnabled:!0}:{},dn=[{text:Hr.question,key:an,sender:"user",fileList:[],show:!0},Gt($t({key:an,loading:!1,sender:"AI",show:!0,source:Hr.answer_source,text:Hr.answer,like:Hr.like,dislike:Hr.dislike,time:Hr.think_time,id:Hr.id,imageGenerator:((mn=Hr==null?void 0:Hr.answer)==null?void 0:mn.slice(0,4))==="<img"},Zr),{application_id:Hr.application_id})];Nr=[...Nr,...dn]}),Nr},_n=(Ct==null?void 0:Ct.source)==="hack"?"Hack":"Shixun",Xn={onAdd:()=>(0,ue.ZP)("/api/course_qna_sessions/create_session.json",{method:"get"}),onGetList:()=>(0,ue.ZP)("/api/course_qna_sessions.json",{method:"get",params:{questionable_type:_n,by_self:!0}}),onListClick:Ar=>(0,ue.ZP)(`/api/course_qna_sessions/${Ar}.json`,{method:"get"}),onListDelete:Ar=>(0,ue.ZP)(`/api/course_qna_sessions/${Ar}.json`,{method:"delete"}),onListDealData:Un};return ye.createElement(Qt,{title:"\u5B9E\u9A8C\u52A9\u6559",hideInputBox:Rt?!1:!(St!=null&&St.ai_q_and_a),topFunctionNode:Ti,showSwitchingModel:!0,showImageGenerator:Gr,showSceneAwareness:$r,showThiking:Fn,hideUpload:Vn,showPreference:!0,showLookHistory:!0,showAddSession:!0,setSelectItem:er,fetchListObject:Xn,customPreference:Rn,BottomNode:Ti,BOttomNodeName:Pn,showDefaultTips:!1,isPath:!0,fetchData:Gt($t(Gt($t({},Ct),{questionable_type:_n,is_chat:!0}),Jt.type===13?{custom_agent_name:"code_plagiarism"}:{}),{application_id:Zn,agent_id:li,subject_id:un.get("subject_id")||((zt=(Et=un.get("backUrl"))==null?void 0:Et.split("/"))==null?void 0:zt[2])||"",course_id:un.get("coursesId")||"",homework_common_id:un.get("homework_common_id")||""}),headNode:ye.createElement("div",{className:"font14",style:{color:"#434D6C",lineHeight:1.8}},ye.createElement("div",null,"\u55E8\uFF0C\u6211\u662F\u60A8\u7684\u5B9E\u9A8C\u52A9\u6559\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B"),ye.createElement("div",null,"\u60A8\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528\u6211\u63D0\u4F9B\u7684\u505A\u9898\u5DE5\u5177\u6216\u8005\u4E0E\u6211\u8FDB\u884C\u5BF9\u8BDD\u95EE\u7B54\uFF0C\u671F\u5F85\u4E0E\u60A8\u643A\u624B\u5171\u8FDB\uFF0C\u9AD8\u6548\u3001\u4F18\u8D28\u5730\u5B8C\u6210\u6BCF\u4E00\u9879\u4EFB\u52A1!")),topPercentage:(Ct==null?void 0:Ct.source)==="hack"?.52:void 0,fetchUrl:"/api/stream/intelligent_imports/chat_messages.json",draggableExtraNode:Nt})}},99217:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return _e}});var ye=Ce(59301),ze={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},a=Ce(44104),he=Object.defineProperty,de=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ne=(we,xe,ve)=>xe in we?he(we,xe,{enumerable:!0,configurable:!0,writable:!0,value:ve}):we[xe]=ve,te=(we,xe)=>{for(var ve in xe||(xe={}))ee.call(xe,ve)&&ne(we,ve,xe[ve]);if(de)for(var ve of de(xe))oe.call(xe,ve)&&ne(we,ve,xe[ve]);return we};const se=we=>React.createElement("svg",te({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},we),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",x=Object.defineProperty,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ae=(we,xe,ve)=>xe in we?x(we,xe,{enumerable:!0,configurable:!0,writable:!0,value:ve}):we[xe]=ve,le=(we,xe)=>{for(var ve in xe||(xe={}))E.call(xe,ve)&&ae(we,ve,xe[ve]);if(b)for(var ve of b(xe))re.call(xe,ve)&&ae(we,ve,xe[ve]);return we};const fe=we=>React.createElement("svg",le({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},we),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var ce="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04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jE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",ue=Ce(59301),_e=({value:we,onChange:xe})=>{const[ve,Se]=(0,ye.useState)(!1),be=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-plus-latest",img:z},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:ce}],Ae=be.find(Te=>Te.key===we);return ue.createElement("div",{className:ze.select},ue.createElement(a.Z,{size:10},ue.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),ue.createElement("div",{className:ze.box,onMouseLeave:()=>Se(!1)},ue.createElement("div",{className:ze.text,onClick:()=>Se(!0)},ue.createElement("img",{src:Ae.img,width:20}),ue.createElement("span",null,Ae.name),ue.createElement("b",{className:"iconfont icon-zhankai6"})),ve&&ue.createElement("div",{className:ze.itemWrap},ue.createElement("aside",null,be.map(Te=>ue.createElement("div",{key:Te.key,className:`${ze.item} ${Te.key===we?ze.active:""}`,onClick:je=>{je.stopPropagation(),xe(Te.key),Se(!1)}},ue.createElement("img",{src:Te.img,width:20}),ue.createElement("span",null,Te.name))))))))}},92857:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return oe}});var ye=Ce(59301),ze={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},a=Ce(29787),he=Ce(59301),de=(ne,te,se)=>new Promise((z,x)=>{var b=ae=>{try{re(se.next(ae))}catch(le){x(le)}},E=ae=>{try{re(se.throw(ae))}catch(le){x(le)}},re=ae=>ae.done?z(ae.value):Promise.resolve(ae.value).then(b,E);re((se=se.apply(ne,te)).next())}),oe=({value:ne="",streamingStatus:te,onFinish:se,cancelIndex:z,time:x,loading:b,loadAll:E})=>{const[re,ae]=(0,ye.useState)(""),[le,fe]=(0,ye.useState)(!0),ce=(0,ye.useRef)(ne),ue=(0,ye.useRef)(te),ge=(0,ye.useRef)(0),_e=(0,ye.useRef)(null),[we,xe]=(0,ye.useState)(!1),ve=70;(0,ye.useEffect)(()=>{ue.current=te},[te]),(0,ye.useEffect)(()=>{ce.current=ne},[ne]),(0,ye.useEffect)(()=>{if(!te){ae(ce.current);return}return xe(!0),_e.current=setInterval(Se,ve),()=>{clearInterval(_e.current)}},[]),(0,ye.useEffect)(()=>{we&&(ae(ce.current),clearInterval(_e.current),xe(!1),se())},[z]);const Se=()=>de(void 0,null,function*(){const be=ce.current[ge.current];be!==void 0?(ae(Ae=>Ae+be),ge.current++,clearInterval(_e.current),_e.current=setInterval(Se,280/(ce.current.length-ge.current))):ue.current===!1&&(ae(ce.current),clearInterval(_e.current),xe(!1),se())});return he.createElement("div",{className:`${ze.reasoning} fadeIn animated`},he.createElement("div",{className:ze.btn,onClick:()=>fe(!le)},he.createElement("i",{className:"iconfont icon-shendusikao"}),x?he.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",x," \u79D2\uFF09"):he.createElement("span",null,"\u601D\u8003\u4E2D..."),le?he.createElement("b",{className:"iconfont icon-shouqi6"}):he.createElement("b",{className:"iconfont icon-zhankai6"})),b&&he.createElement(a.Z,{spinning:!0,className:"mt20"}),le&&!b&&he.createElement("div",{className:ze.content},re,we?he.createElement("span",{className:"aiBlink"},"__"):""))}},50601:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return Te},U:function(){return Se}});var ye=Ce(59301),ze=Ce(11938),a=Ce(62957),he=Ce(54172),de=Ce(91415),ee=Ce(75823),oe=Ce(56656),ne=Ce.n(oe),te={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+vNRzWahnHwLwHuYID7ERWkWUk540k7yNZDZi6kp0OqHIa2RFT1OSa+/H2u7kP/MYxzflQv8hLgDga4X5Ghi6epYAJpIAtk5kB6JpRlIWqPqBp0THrlP7v6D/37UY2mYRz8S4A7KOBmZNjzdAK4lACXhuwCKJ8KzgOuetAx5cJ/drkPvAS4g5zPlwB3MMA9NSPDQ08/TbkxXAYyx0L55MSHi7ZF5Jxj8nn/4qrf9/Fh3ORH9SIvAe5ggLv17Czttz9FJvIMl4XssZCelAAu3x5Rg2Py+f/qqt/7saMaTcM4+JcAdzDA/ejUSrhHgBsf+3CVVZBZ5AEnkyqGwzH1wg+7yn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7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",x=Ce(63949),b=Ce(95392),E=Ce(93448),re=Ce(59301),ae=Object.defineProperty,le=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,_e=(je,ke,Pe)=>ke in je?ae(je,ke,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):je[ke]=Pe,we=(je,ke)=>{for(var Pe in ke||(ke={}))ue.call(ke,Pe)&&_e(je,Pe,ke[Pe]);if(ce)for(var Pe of ce(ke))ge.call(ke,Pe)&&_e(je,Pe,ke[Pe]);return je},xe=(je,ke)=>le(je,fe(ke)),ve=(je,ke,Pe)=>new Promise((Oe,He)=>{var Ge=We=>{try{Me(Pe.next(We))}catch(it){He(it)}},tt=We=>{try{Me(Pe.throw(We))}catch(it){He(it)}},Me=We=>We.done?Oe(We.value):Promise.resolve(We.value).then(Ge,tt);Me((Pe=Pe.apply(je,ke)).next())});const Se=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:be}=ze.default,Ae=({exercise:je,socket:ke,dispatch:Pe,onStartScreenshot:Oe,onCloseScreenshot:He,handleToDetail:Ge})=>{const[tt,Me]=a.default.useModal(),We=(0,ye.useRef)(),[it,ut]=(0,ye.useState)(!0),$e=(0,ye.useRef)(!1),Je=(0,b.useParams)();(0,ye.useEffect)(()=>{var Ye,ot,Ue;if(document.addEventListener((0,de.gH)(),Ve,!1),window.addEventListener("blur",gt,!1),(Ye=je.exerciseUserInfo)!=null&&Ye.screen_open&&(0,de.vp)()&&ut(!1),(ot=je.exerciseUserInfo)!=null&&ot.screen_open&&!(0,de.vp)()){(0,x.RG)(" ",!0);const Le=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?je.exerciseUserInfo.screen_sec+3:je.exerciseUserInfo.screen_sec+10+1;We.current=a.default.info({icon:null,centered:!0,width:444,title:(0,E._V)(E.CP.recordScreen1),keyboard:!1,content:re.createElement("div",null,(0,E._V)(E.CP.recordScreen2),re.createElement("span",{style:{color:"#FF9849"}},je.exerciseUserInfo.screen_num-je.exerciseUserInfo.used_screen_num),(0,E._V)(E.CP.recordScreen3)),okText:re.createElement("span",null,(0,E._V)(E.CP.recordScreen4),"\uFF08",re.createElement("span",{style:{display:"inline-block"}},re.createElement(be,{onFinish:()=>ve(void 0,null,function*(){var De;const Ze=yield dt();(De=We.current)==null||De.destroy(),Ze.used_screen_num&&Be(Ze.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+Le*1e3})),"S\uFF09"),onOk:()=>{var De;(0,x.RG)(" ",!0),(De=We.current)==null||De.destroy(),ut(!1),(0,de.Dj)(document.body),document.getElementById("root").addEventListener("click",Qe,!1)}})}return(Ue=je.exerciseUserInfo)!=null&&Ue.screen_open&&!(0,de.vp)()||document.getElementById("root").addEventListener("click",Qe,!1),()=>{document.getElementById("root").removeEventListener("click",Qe,!1),document.removeEventListener((0,de.gH)(),Ve,!1),window.removeEventListener("blur",gt,!1)}},[]),(0,ye.useEffect)(()=>{setTimeout(()=>{je.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Qe,!1),document.removeEventListener((0,de.gH)(),Ve,!1))},500),st()},[je.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{je.exerciseUserInfo.used_screen_num>je.exerciseUserInfo.screen_num&&et()},500)},[je.exerciseUserInfo]);const Xe=()=>ve(void 0,null,function*(){const Ye=yield dt();setTimeout(()=>{var ot,Ue;(ot=We.current)==null||ot.destroy(),We.current=a.default.info({okText:re.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:re.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",re.createElement("span",{className:"c-red"},Ye.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",re.createElement("span",{className:"c-red"},(Ue=je.exerciseUserInfo)==null?void 0:Ue.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>ve(void 0,null,function*(){(0,de.Dj)(document.body)})})},1e3)}),Qe=Ye=>{!(0,de.vp)()&&Ye.target.nodeName!=="A"&&Ye.target.nodeName!=="BUTTON"&&Ye.target.innerHTML!=="\u786E \u5B9A"&&(0,de.Dj)(document.body)},st=()=>ve(void 0,null,function*(){const Ye=yield Pe({type:"exercise/getExerciseUserInfo",payload:we({},Je)});return Ye==null?void 0:Ye.data}),rt=Ye=>ve(void 0,null,function*(){var ot;if((ot=je.exerciseUserInfo)!=null&&ot.screen_at){const Le=yield(0,ee.ck)(xe(we({},Je),{reset:!0}));if((Le==null?void 0:Le.status)===-6)return}const Ue=yield(0,ee.oy)({id:Je.categoryId});if(Ue!=null&&Ue.is_commit){a.default.destroyAll(),yield pt(),vt(!0);return}else Be(Ye+1)}),pt=()=>ve(void 0,null,function*(){var Ye;const ot=ne()(),Ue=je.exerciseUserInfo.screen_sec;if(Ie.current.length>0){const Le=ot.format("YYYY-MM-DD HH:mm:ss");let De=Math.floor(ot.diff(ne()(Ie.current[0].start))/1e3);const Ze=Ie.current.length;De/Ue>>0>Ze&&(De=(Ze+1)*Ue-1),yield(0,ee.P8)(Je.categoryId,{exercise_user_id:(Ye=je.exerciseUserInfo)==null?void 0:Ye.exercise_user_id,time:Le,time_long:De,count:Ze})}Ie.current=[]}),ft=(0,ye.useRef)(0),qe=(0,ye.useRef)(0),Ie=(0,ye.useRef)([]),at=(0,ye.useRef)(!1),Be=Ye=>ve(void 0,null,function*(){var ot;$e.current||(Oe(),a.default.destroyAll(),ft.current=ne()().valueOf(),at.current=!0,We.current=a.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:te.exitFullScreenModalWrapper,okText:re.createElement("span",null,(0,E._V)(E.CP.recordScreen8)),content:re.createElement("div",{className:te.exitFullScreenModal},re.createElement("img",{src:se,alt:"",className:te.warningIcon}),re.createElement("div",{className:te.warningText,style:{marginBottom:50,fontWeight:500}},(0,E._V)(E.CP.recordScreen9)),re.createElement("div",{style:{marginBottom:40}},(0,E._V)(E.CP.recordScreen10)),re.createElement("div",{style:{marginBottom:40}},(0,E._V)(E.CP.recordScreen11),re.createElement("span",{className:te.warningText},((ot=je.exerciseUserInfo)==null?void 0:ot.screen_num)+1),(0,E._V)(E.CP.recordScreen12),re.createElement("span",{className:te.warningText,style:{fontWeight:600}},(0,E._V)(E.CP.recordScreen13)),",",(0,E._V)(E.CP.recordScreen14),re.createElement("span",{className:te.warningText},Ye-1),(0,E._V)(E.CP.recordScreen15)),re.createElement("div",null,re.createElement("span",null,re.createElement(be,{className:te.countdownWrapper,onFinish:()=>{qe.current=ne()().valueOf(),Ie.current.push({start:ft.current,end:qe.current}),rt(Ye)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(je.exerciseUserInfo.screen_sec+1)*1e3}),(0,E._V)(E.CP.recordScreen25)),(0,E._V)(E.CP.recordScreen16))),onOk:()=>{(0,x.RG)(" ",!0),pt(),(0,de.Dj)(document.body),He(),We.current.destroy(),at.current=!1}}))}),et=()=>ve(void 0,null,function*(){a.default.destroyAll(),(yield(0,ee.VL)({categoryId:Je.categoryId,commit_method:1}))&&vt()}),vt=(Ye=!1)=>ve(void 0,null,function*(){var ot,Ue;if(document.removeEventListener((0,de.gH)(),Ve,!1),(0,de.BU)(),a.default.destroyAll(),$e.current=!0,Ye){const Le=yield(0,ee.Yu)(Je.categoryId,{exercise_user_id:(ot=je.exerciseUserInfo)==null?void 0:ot.exercise_user_id});tt.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:te.forcedModalWrapper,centered:!0,content:re.createElement("div",{className:te.forcedModalContent},re.createElement("img",{src:z,alt:""}),re.createElement("div",{className:te.forcedText},(0,E._V)(E.CP.recordScreen17)),re.createElement("div",{className:te.screenNumText},(0,E._V)(E.CP.recordScreen18),(Ue=je.exerciseUserInfo)==null?void 0:Ue.screen_num,(0,E._V)(E.CP.recordScreen19)),re.createElement(he.default,{dataSource:Le==null?void 0:Le.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,E._V)(E.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,E._V)(E.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,E._V)(E.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{He(),Ge()},onOk:()=>{b.history.push(`/classrooms/${Je.coursesId}/exercisenotice/${Je.categoryId}/users/${Je.login}?isShowApply=true`)}})}else tt.info({content:re.createElement("div",{className:"tc font16"},(0,E._V)(E.CP.recordScreen23),re.createElement("br",null),(0,E._V)(E.CP.recordScreen24)),onOk:()=>{Ge()}})}),gt=Ye=>{(0,de.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!at.current&&(0,de.BU)()},dt=()=>ve(void 0,null,function*(){var Ye;if((Ye=je.exerciseUserInfo)!=null&&Ye.screen_at){const Le=yield(0,ee.ck)(xe(we({},Je),{reset:!0}));if((Le==null?void 0:Le.status)===-6)return}const ot=yield(0,ee.oy)({id:Je.categoryId});if(ot!=null&&ot.is_commit){vt();return}return yield st()}),Ve=()=>ve(void 0,null,function*(){var Ye;if((0,x.RG)(" ",!0),(0,de.vp)()){if((Ye=je.exerciseUserInfo)!=null&&Ye.screen_at){var ot=yield(0,ee.ck)(xe(we({},Je),{reset:!0}));if((ot==null?void 0:ot.status)===-6)return}}else if(!at.current){var ot=yield(0,ee.ck)(we({},Je));if((ot==null?void 0:ot.status)===-6)return;const Le=yield st();Be(Le.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Ne=()=>ve(void 0,null,function*(){(0,ee.ck)(we({},Je));const Ye=yield st();Be(Ye.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return re.createElement("div",null,Me)};var Te=(0,b.connect)(({exercise:je,globalSetting:ke})=>({globalSetting:ke,exercise:je}))(Ae)},38241:function(bt,mt,Ce){"use strict";Ce.d(mt,{X:function(){return he},y:function(){return a}});var ye=Ce(59301),ze=Ce(6767);const a=de=>{(0,ye.useEffect)(()=>{if(de){const ee=ne=>{ne.key==="F12"&&(ne.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},oe=ne=>{ne.preventDefault()};return document.addEventListener("keydown",ee),document.addEventListener("contextmenu",oe),()=>{document.removeEventListener("keydown",ee),document.removeEventListener("contextmenu",oe)}}},[de])},he=()=>{const[de,ee]=(0,ye.useState)(!1),oe=ne=>{const{keyCode:te,ctrlKey:se,metaKey:z,type:x}=ne;(x==="paste"||(te===67||te===86)&&(z||se))&&(ze.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ne.preventDefault(),ne.stopPropagation())};return(0,ye.useEffect)(()=>(de&&(window.addEventListener("keydown",oe,!0),window.addEventListener("paste",oe,!0)),()=>{window.removeEventListener("keydown",oe,!0),window.removeEventListener("paste",oe,!0)}),[de]),{setOpenDisableCopyAndPaste:ee,disableCopyAndPaste:de}}},54344:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return ot}});var ye=Ce(59301),ze={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},a=Ce(92310),he=Ce.n(a),de=Ce(29787);var ee=function(Ue,Le){return(ee=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(De,Ze){De.__proto__=Ze}||function(De,Ze){for(var lt in Ze)Object.prototype.hasOwnProperty.call(Ze,lt)&&(De[lt]=Ze[lt])})(Ue,Le)};function oe(Ue,Le){function De(){this.constructor=Ue}ee(Ue,Le),Ue.prototype=Le===null?Object.create(Le):(De.prototype=Le.prototype,new De)}function ne(Ue,Le,De,Ze){return new(De||(De=Promise))(function(lt,Fe){function yt(Tt){try{jt(Ze.next(Tt))}catch(wt){Fe(wt)}}function xt(Tt){try{jt(Ze.throw(Tt))}catch(wt){Fe(wt)}}function jt(Tt){var wt;Tt.done?lt(Tt.value):(wt=Tt.value,wt instanceof De?wt:new De(function(It){It(wt)})).then(yt,xt)}jt((Ze=Ze.apply(Ue,Le||[])).next())})}function te(Ue,Le){var De,Ze,lt,Fe,yt={label:0,sent:function(){if(1&lt[0])throw lt[1];return lt[1]},trys:[],ops:[]};return Fe={next:xt(0),throw:xt(1),return:xt(2)},typeof Symbol=="function"&&(Fe[Symbol.iterator]=function(){return this}),Fe;function xt(jt){return function(Tt){return function(wt){if(De)throw new TypeError("Generator is already executing.");for(;yt;)try{if(De=1,Ze&&(lt=2&wt[0]?Ze.return:wt[0]?Ze.throw||((lt=Ze.return)&&lt.call(Ze),0):Ze.next)&&!(lt=lt.call(Ze,wt[1])).done)return lt;switch(Ze=0,lt&&(wt=[2&wt[0],lt.value]),wt[0]){case 0:case 1:lt=wt;break;case 4:return yt.label++,{value:wt[1],done:!1};case 5:yt.label++,Ze=wt[1],wt=[0];continue;case 7:wt=yt.ops.pop(),yt.trys.pop();continue;default:if(lt=yt.trys,!((lt=lt.length>0&&lt[lt.length-1])||wt[0]!==6&&wt[0]!==2)){yt=0;continue}if(wt[0]===3&&(!lt||wt[1]>lt[0]&&wt[1]<lt[3])){yt.label=wt[1];break}if(wt[0]===6&&yt.label<lt[1]){yt.label=lt[1],lt=wt;break}if(lt&&yt.label<lt[2]){yt.label=lt[2],yt.ops.push(wt);break}lt[2]&&yt.ops.pop(),yt.trys.pop();continue}wt=Le.call(Ue,yt)}catch(It){wt=[6,It],Ze=0}finally{De=lt=0}if(5&wt[0])throw wt[1];return{value:wt[0]?wt[1]:void 0,done:!0}}([jt,Tt])}}}function se(){for(var Ue=0,Le=0,De=arguments.length;Le<De;Le++)Ue+=arguments[Le].length;var Ze=Array(Ue),lt=0;for(Le=0;Le<De;Le++)for(var Fe=arguments[Le],yt=0,xt=Fe.length;yt<xt;yt++,lt++)Ze[lt]=Fe[yt];return Ze}var z=function(){function Ue(){}return Ue.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Ue.setAttributes=function(Le,De){for(var Ze=0,lt=De;Ze<lt.length;Ze++){var Fe=lt[Ze],yt=Fe[0],xt=Fe[1];Le.setAttribute(yt,xt)}},Ue.createRect=function(Le,De,Ze){var lt=document.createElementNS("http://www.w3.org/2000/svg","rect");return lt.setAttribute("width",Le.toString()),lt.setAttribute("height",De.toString()),Ze&&Ue.setAttributes(lt,Ze),lt},Ue.createLine=function(Le,De,Ze,lt,Fe){var yt=document.createElementNS("http://www.w3.org/2000/svg","line");return yt.setAttribute("x1",Le.toString()),yt.setAttribute("y1",De.toString()),yt.setAttribute("x2",Ze.toString()),yt.setAttribute("y2",lt.toString()),Fe&&Ue.setAttributes(yt,Fe),yt},Ue.createPolygon=function(Le,De){var Ze=document.createElementNS("http://www.w3.org/2000/svg","polygon");return Ze.setAttribute("points",Le),De&&Ue.setAttributes(Ze,De),Ze},Ue.createCircle=function(Le,De){var Ze=document.createElementNS("http://www.w3.org/2000/svg","circle");return Ze.setAttribute("cx",(Le/2).toString()),Ze.setAttribute("cy",(Le/2).toString()),Ze.setAttribute("r",Le.toString()),De&&Ue.setAttributes(Ze,De),Ze},Ue.createEllipse=function(Le,De,Ze){var lt=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return lt.setAttribute("cx",(Le/2).toString()),lt.setAttribute("cy",(De/2).toString()),lt.setAttribute("rx",(Le/2).toString()),lt.setAttribute("ry",(De/2).toString()),Ze&&Ue.setAttributes(lt,Ze),lt},Ue.createGroup=function(Le){var De=document.createElementNS("http://www.w3.org/2000/svg","g");return Le&&Ue.setAttributes(De,Le),De},Ue.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Ue.createMarker=function(Le,De,Ze,lt,Fe,yt,xt){var jt=document.createElementNS("http://www.w3.org/2000/svg","marker");return Ue.setAttributes(jt,[["id",Le],["orient",De],["markerWidth",Ze.toString()],["markerHeight",lt.toString()],["refX",Fe.toString()],["refY",yt.toString()]]),jt.appendChild(xt),jt},Ue.createText=function(Le){var De=document.createElementNS("http://www.w3.org/2000/svg","text");return De.setAttribute("x","0"),De.setAttribute("y","0"),Le&&Ue.setAttributes(De,Le),De},Ue.createTSpan=function(Le,De){var Ze=document.createElementNS("http://www.w3.org/2000/svg","tspan");return Ze.textContent=Le,De&&Ue.setAttributes(Ze,De),Ze},Ue.createImage=function(Le){var De=document.createElementNS("http://www.w3.org/2000/svg","image");return Le&&Ue.setAttributes(De,Le),De},Ue.createPoint=function(Le,De){var Ze=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return Ze.x=Le,Ze.y=De,Ze},Ue.createPath=function(Le,De){var Ze=document.createElementNS("http://www.w3.org/2000/svg","path");return Ze.setAttribute("d",Le),De&&Ue.setAttributes(Ze,De),Ze},Ue}(),x=function(){function Ue(){}return Ue.addKey=function(Le){Ue.key=Le},Object.defineProperty(Ue,"isLicensed",{get:function(){return!!Ue.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Ue.key)},enumerable:!1,configurable:!0}),Ue}(),b=function(){function Ue(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Ue.prototype.rasterize=function(Le,De,Ze){var lt=this;return new Promise(function(Fe){var yt=Ze!==void 0?Ze:document.createElement("canvas");Le===null&&(lt.markersOnly=!0,lt.naturalSize=!1);var xt=document.createElementNS("http://www.w3.org/2000/svg","svg");xt.setAttribute("xmlns","http://www.w3.org/2000/svg"),xt.setAttribute("width",De.width.baseVal.valueAsString),xt.setAttribute("height",De.height.baseVal.valueAsString),xt.setAttribute("viewBox","0 0 "+De.viewBox.baseVal.width.toString()+" "+De.viewBox.baseVal.height.toString()),xt.innerHTML=De.innerHTML,lt.naturalSize===!0?(xt.width.baseVal.value=Le.naturalWidth,xt.height.baseVal.value=Le.naturalHeight):lt.width!==void 0&&lt.height!==void 0&&(xt.width.baseVal.value=lt.width,xt.height.baseVal.value=lt.height),yt.width=xt.width.baseVal.value,yt.height=xt.height.baseVal.value;var jt=xt.outerHTML,Tt=yt.getContext("2d");lt.markersOnly!==!0&&Tt.drawImage(Le,0,0,yt.width,yt.height);var wt=window.URL,It=new Image(yt.width,yt.height);It.setAttribute("crossOrigin","anonymous");var Bt=new Blob([jt],{type:"image/svg+xml"}),Wt=wt.createObjectURL(Bt);It.onload=function(){Tt.drawImage(It,0,0),wt.revokeObjectURL(Wt);var Qt=yt.toDataURL(lt.imageType,lt.imageQuality);Fe(Qt)},It.src=Wt})},Ue}(),E=function(){},re=function(){function Ue(Le){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+Le+"_"}return Object.defineProperty(Ue.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Ue.prototype.addClass=function(Le){return this.styleSheet===void 0&&this.addStyleSheet(),Le.name=""+this.classNamePrefix+Le.localName,this.classes.push(Le),this.styleSheet.sheet.insertRule("."+Le.name+" {"+Le.style+"}",this.styleSheet.sheet.cssRules.length),Le},Ue.prototype.addRule=function(Le){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(Le),this.styleSheet.sheet.insertRule(Le.selector+" {"+Le.style+"}",this.styleSheet.sheet.cssRules.length)},Ue.prototype.addStyleSheet=function(){var Le;this.styleSheet=document.createElement("style"),((Le=this.styleSheetRoot)!==null&&Le!==void 0?Le:document.head).appendChild(this.styleSheet),this.addRule(new ae("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new ae("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new ae("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new le("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new le("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},Ue.prototype.removeStyleSheet=function(){var Le;this.styleSheet&&(((Le=this.styleSheetRoot)!==null&&Le!==void 0?Le:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Ue}(),ae=function(Ue,Le){this.selector=Ue,this.style=Le},le=function(Ue,Le){this.localName=Ue,this.style=Le},fe=function(){function Ue(Le,De,Ze,lt,Fe){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=Le,this.displayMode=De,this.markerItems=Ze,this.uiStyleSettings=lt,this.styles=Fe,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Ue.prototype.show=function(Le){var De=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=Le,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var Ze=document.createElement("div");Ze.className=this.toolbarBlockStyleClass.name,Ze.style.whiteSpace="nowrap",this.uiContainer.appendChild(Ze),this.addActionButton(Ze,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(Ze,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(Ze,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(Ze,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(Ze,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(Ze,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(Ze,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(Ze,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(Fe){var yt=document.createElement("div");yt.className=""+De.toolbarButtonStyleClass.name,yt.setAttribute("data-type-name",Fe.typeName),yt.innerHTML=Fe.icon,yt.addEventListener("click",function(){De.markerToolbarButtonClicked(yt,Fe)}),De.buttons.push(yt),De.markerButtons.push(yt)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var lt=document.createElement("div");lt.className=this.toolbarBlockStyleClass.name,lt.style.whiteSpace="nowrap",lt.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(lt),this.addActionButton(lt,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(lt,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Ue.prototype.addButtonClickListener=function(Le){this.buttonClickListeners.push(Le)},Ue.prototype.removeButtonClickListener=function(Le){this.buttonClickListeners.indexOf(Le)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(Le),1)},Ue.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Ue.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var Le=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var De=0;De<this.markerButtons.length;De++)De<Le||De===Le&&this.markerButtons.length-1===Le?this.markerButtonBlock.appendChild(this.markerButtons[De]):(De===Le&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[De]))}},Ue.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},Ue.prototype.resetButtonStyles=function(){var Le=this;this.buttons.forEach(function(De){De.className=De.className.replace(Le.uiStyleSettings.toolbarButtonStyleColorsClassName?Le.uiStyleSettings.toolbarButtonStyleColorsClassName:Le.toolbarButtonStyleColorsClass.name,"").trim(),De.className=De.className.replace(Le.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?Le.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:Le.toolbarActiveButtonStyleColorsClass.name,"").trim(),De.className+=" "+(Le.uiStyleSettings.toolbarButtonStyleColorsClassName?Le.uiStyleSettings.toolbarButtonStyleColorsClassName:Le.toolbarButtonStyleColorsClass.name)})},Ue.prototype.addActionButton=function(Le,De,Ze){var lt=this,Fe=document.createElement("div");switch(Fe.className=""+this.toolbarButtonStyleClass.name,Fe.innerHTML=De,Fe.setAttribute("data-action",Ze),Fe.addEventListener("click",function(){lt.actionToolbarButtonClicked(Fe,Ze)}),Ze){case"select":Fe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":Fe.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":Fe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":Fe.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":Fe.style.fill=this.uiStyleSettings.closeButtonColor}Le.appendChild(Fe),this.buttons.push(Fe)},Ue.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new le("toolbar",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
height: `+this.uiStyleSettings.toolbarHeight+`px;
box-sizing: content-box;
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolbarStyleColorsClass=this.styles.addClass(new le("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new le("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new le("toolbar-overflow-block",`
position: absolute;
top: `+this.uiStyleSettings.toolbarHeight+`px;
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
z-index: 10;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new le("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var Le=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new le("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*Le)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*Le)+`px;
padding: `+Le+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new le("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new le("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new ae("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new ae("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},Ue.prototype.markerToolbarButtonClicked=function(Le,De){this.setActiveButton(Le),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Ze){return Ze("marker",De)}),this.markerButtonOverflowBlock.style.display="none"},Ue.prototype.actionToolbarButtonClicked=function(Le,De){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Ze){return Ze("action",De)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Ue.prototype.setActiveButton=function(Le){this.resetButtonStyles(),Le.className=Le.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),Le.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Ue.prototype.setActiveMarkerButton=function(Le){var De=this.markerButtons.find(function(Ze){return Ze.getAttribute("data-type-name")===Le});De&&this.setActiveButton(De)},Ue.prototype.setCurrentMarker=function(Le){var De=this;this.currentMarker=Le,this.buttons.filter(function(Ze){return/delete|notes/.test(Ze.getAttribute("data-action"))}).forEach(function(Ze){De.currentMarker===void 0?(Ze.style.fillOpacity="0.4",Ze.style.pointerEvents="none"):(Ze.style.fillOpacity="1",Ze.style.pointerEvents="all")})},Ue}(),ce=function(){function Ue(Le,De,Ze,lt){this.panels=[],this.panelButtons=[],this.markerjsContainer=Le,this.displayMode=De,this.uiStyleSettings=Ze,this.styles=lt,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Ue.prototype.addStyles=function(){var Le;this.toolboxStyleClass=this.styles.addClass(new le("toolbox",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
font-family: sans-serif;
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
box-sizing: content-box;
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolboxStyleColorsClass=this.styles.addClass(new le("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var De=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new le("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new le("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new le("toolbox-panel-row",`
display: flex;
`+(this.displayMode==="inline"?"position: absolute;":"")+`
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
cursor: default;
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
`+(this.displayMode==="inline"?"width: 100%;":"")+`
box-sizing: content-box;
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new le("toolbox-panel-row_colors",`
background-color: `+((Le=this.uiStyleSettings.toolboxBackgroundColor)!==null&&Le!==void 0?Le:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new le("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*De)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*De)+`px;
padding: `+De+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new le("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new le("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new ae("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new ae("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},Ue.prototype.show=function(Le){var De;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=Le,this.uiContainer.className=this.toolboxStyleClass.name+" "+((De=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&De!==void 0?De:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Ue.prototype.setPanelButtons=function(Le){var De,Ze,lt=this;this.panels=Le,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((De=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&De!==void 0?De:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((Ze=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&Ze!==void 0?Ze:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(Fe){var yt;Fe.uiStyleSettings=lt.uiStyleSettings;var xt=document.createElement("div");xt.className=lt.toolboxButtonStyleClass.name+" "+((yt=lt.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&yt!==void 0?yt:lt.toolboxButtonStyleColorsClass.name),xt.innerHTML=Fe.icon,xt.title=Fe.title,xt.addEventListener("click",function(){lt.panelButtonClick(Fe)}),lt.panelButtons.push(xt),lt.buttonRow.appendChild(xt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Ue.prototype.panelButtonClick=function(Le){var De=this,Ze=-1;if(Le!==this.activePanel){Ze=this.panels.indexOf(Le),this.panelRow.innerHTML="";var lt=Le.getUi();lt.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(lt),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=Le}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){De.displayMode==="inline"?De.panelRow.style.display="none":De.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(Fe,yt){var xt,jt;Fe.className=De.toolboxButtonStyleClass.name+" "+(yt===Ze?""+((xt=De.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&xt!==void 0?xt:De.toolboxActiveButtonStyleColorsClass.name):""+((jt=De.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&jt!==void 0?jt:De.toolboxButtonStyleColorsClass.name))})},Ue}(),ue=function(Ue,Le){this.title=Ue,this.icon=Le},ge=function(Ue){function Le(De,Ze,lt,Fe){var yt=Ue.call(this,De,Fe||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return yt.colors=[],yt.addTransparent=!1,yt.colorBoxes=[],yt.colors=Ze,yt.currentColor=lt,yt.setCurrentColor=yt.setCurrentColor.bind(yt),yt.getColorBox=yt.getColorBox.bind(yt),yt}return oe(Le,Ue),Le.prototype.getUi=function(){var De=this,Ze=document.createElement("div");return Ze.style.overflow="hidden",Ze.style.whiteSpace="nowrap",this.colors.forEach(function(lt){var Fe=De.getColorBox(lt);Ze.appendChild(Fe),De.colorBoxes.push(Fe)}),Ze},Le.prototype.getColorBox=function(De){var Ze=this,lt=this.uiStyleSettings.toolbarHeight/4,Fe=this.uiStyleSettings.toolbarHeight-lt,yt=document.createElement("div");yt.style.display="inline-block",yt.style.boxSizing="content-box",yt.style.width=Fe-2+"px",yt.style.height=Fe-2+"px",yt.style.padding="1px",yt.style.marginRight="2px",yt.style.marginBottom="2px",yt.style.borderWidth="2px",yt.style.borderStyle="solid",yt.style.borderRadius=(Fe+2)/2+"px",yt.style.borderColor=De===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",yt.addEventListener("click",function(){Ze.setCurrentColor(De,yt)});var xt=document.createElement("div");return xt.style.display="inline-block",xt.style.width=Fe-2+"px",xt.style.height=Fe-2+"px",xt.style.backgroundColor=De,xt.style.borderRadius=Fe/2+"px",De==="transparent"&&(xt.style.fill=this.uiStyleSettings.toolboxAccentColor,xt.innerHTML=`<svg viewBox="0 0 24 24">
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
</svg>`),yt.appendChild(xt),yt},Le.prototype.setCurrentColor=function(De,Ze){var lt=this;this.currentColor=De,this.colorBoxes.forEach(function(Fe){Fe.style.borderColor=Fe===Ze?lt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(De)},Le}(ue),_e=function(){function Ue(Le,De,Ze){this._state="new",this._isSelected=!1,this._container=Le,this._overlayContainer=De,this.globalSettings=Ze,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ue.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ue.prototype.ownsTarget=function(Le){return!1},Object.defineProperty(Ue.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ue.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ue.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ue.prototype.pointerDown=function(Le,De){},Ue.prototype.dblClick=function(Le,De){},Ue.prototype.manipulate=function(Le){},Ue.prototype.pointerUp=function(Le){this.stateChanged()},Ue.prototype.dispose=function(){},Ue.prototype.addMarkerVisualToContainer=function(Le){this.container.childNodes.length>0?this.container.insertBefore(Le,this.container.childNodes[0]):this.container.appendChild(Le)},Ue.prototype.getState=function(){return{typeName:Ue.typeName,state:this.state,notes:this.notes}},Ue.prototype.restoreState=function(Le){this._state=Le.state,this.notes=Le.notes},Ue.prototype.scale=function(Le,De){},Ue.prototype.colorChanged=function(Le){this.onColorChanged&&this.onColorChanged(Le),this.stateChanged()},Ue.prototype.fillColorChanged=function(Le){this.onFillColorChanged&&this.onFillColorChanged(Le),this.stateChanged()},Ue.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var Le=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),Le.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(Le)&&this.onStateChanged(this)}},Ue.typeName="MarkerBase",Ue}(),we=function(){function Ue(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ue.prototype.findGripByVisual=function(Le){return this.topLeft.ownsTarget(Le)?this.topLeft:this.topCenter.ownsTarget(Le)?this.topCenter:this.topRight.ownsTarget(Le)?this.topRight:this.centerLeft.ownsTarget(Le)?this.centerLeft:this.centerRight.ownsTarget(Le)?this.centerRight:this.bottomLeft.ownsTarget(Le)?this.bottomLeft:this.bottomCenter.ownsTarget(Le)?this.bottomCenter:this.bottomRight.ownsTarget(Le)?this.bottomRight:void 0},Ue}(),xe=function(){function Ue(){this.GRIP_SIZE=10,this.visual=z.createGroup(),this.visual.appendChild(z.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(z.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Ue.prototype.ownsTarget=function(Le){return Le===this.visual||Le===this.visual.childNodes[0]||Le===this.visual.childNodes[1]},Ue}(),ve=function(){function Ue(){}return Ue.toITransformMatrix=function(Le){return{a:Le.a,b:Le.b,c:Le.c,d:Le.d,e:Le.e,f:Le.f}},Ue.toSVGMatrix=function(Le,De){return Le.a=De.a,Le.b=De.b,Le.c=De.c,Le.d=De.d,Le.e=De.e,Le.f=De.f,Le},Ue}(),Se=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.left=0,Fe.top=0,Fe.width=0,Fe.height=0,Fe.defaultSize={x:50,y:20},Fe.offsetX=0,Fe.offsetY=0,Fe.rotationAngle=0,Fe.CB_DISTANCE=10,Fe._suppressMarkerCreateEvent=!1,Fe.container.transform.baseVal.appendItem(z.createTransform()),Fe.setupControlBox(),Fe}return oe(Le,Ue),Object.defineProperty(Le.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(Le.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(Le.prototype,"visual",{get:function(){return this._visual},set:function(De){this._visual=De;var Ze=z.createTransform();this._visual.transform.baseVal.appendItem(Ze)},enumerable:!1,configurable:!0}),Le.prototype.ownsTarget=function(De){return!!Ue.prototype.ownsTarget.call(this,De)||!!(this.controlGrips.findGripByVisual(De)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(De))},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.state==="new"&&(this.left=De.x,this.top=De.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var lt=this.unrotatePoint(De);if(this.manipulationStartX=lt.x,this.manipulationStartY=lt.y,this.offsetX=lt.x-this.left,this.offsetY=lt.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Ze),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Ze)){this.activeGrip=this.rotatorGrip;var Fe=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Fe.x-this.width/2,this.top=Fe.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var yt=this.container.transform.baseVal.getItem(0);yt.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(yt,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},Le.prototype.pointerUp=function(De){var Ze=this.state;Ue.prototype.pointerUp.call(this,De),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(De),this._state="select",Ze==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},Le.prototype.moveVisual=function(De){this.visual.style.transform="translate("+De.x+"px, "+De.y+"px)"},Le.prototype.manipulate=function(De){var Ze=this.unrotatePoint(De);this.state==="creating"?this.resize(De):this.state==="move"?(this.left=this.manipulationStartLeft+(Ze.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Ze.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Ze):this.state==="rotate"&&this.rotate(De)},Le.prototype.resize=function(De){var Ze=this.manipulationStartLeft,lt=this.manipulationStartWidth,Fe=this.manipulationStartTop,yt=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Ze=this.manipulationStartLeft+De.x-this.manipulationStartX,lt=this.manipulationStartWidth+this.manipulationStartLeft-Ze;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:lt=this.manipulationStartWidth+De.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Fe=this.manipulationStartTop+De.y-this.manipulationStartY,yt=this.manipulationStartHeight+this.manipulationStartTop-Fe;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:yt=this.manipulationStartHeight+De.y-this.manipulationStartY}lt>=0?(this.left=Ze,this.width=lt):(this.left=Ze+lt,this.width=-lt),yt>=0?(this.top=Fe,this.height=yt):(this.top=Fe+yt,this.height=-yt),this.setSize()},Le.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},Le.prototype.rotate=function(De){if(Math.abs(De.x-this.centerX)>.1){var Ze=Math.sign(De.x-this.centerX);this.rotationAngle=180*Math.atan((De.y-this.centerY)/(De.x-this.centerX))/Math.PI+90*Ze,this.applyRotation()}},Le.prototype.applyRotation=function(){var De=this.container.transform.baseVal.getItem(0);De.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(De,0)},Le.prototype.rotatePoint=function(De){if(this.rotationAngle===0)return De;var Ze=this.container.getCTM(),lt=z.createPoint(De.x,De.y);return{x:(lt=lt.matrixTransform(Ze)).x,y:lt.y}},Le.prototype.unrotatePoint=function(De){if(this.rotationAngle===0)return De;var Ze=this.container.getCTM();Ze=Ze.inverse();var lt=z.createPoint(De.x,De.y);return{x:(lt=lt.matrixTransform(Ze)).x,y:lt.y}},Le.prototype.select=function(){Ue.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Le.prototype.deselect=function(){Ue.prototype.deselect.call(this),this.controlBox.style.display="none"},Le.prototype.setupControlBox=function(){this.controlBox=z.createGroup();var De=z.createTransform();De.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(De),this.container.appendChild(this.controlBox),this.controlRect=z.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=z.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new we,this.addControlGrips(),this.controlBox.style.display="none"},Le.prototype.adjustControlBox=function(){var De=this.controlBox.transform.baseVal.getItem(0);De.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(De,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},Le.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},Le.prototype.createGrip=function(){var De=new xe;return De.visual.transform.baseVal.appendItem(z.createTransform()),this.controlBox.appendChild(De.visual),De},Le.prototype.positionGrips=function(){var De=this.controlGrips.topLeft.GRIP_SIZE,Ze=-De/2,lt=Ze,Fe=(this.width+this.CB_DISTANCE)/2-De/2,yt=(this.height+this.CB_DISTANCE)/2-De/2,xt=this.height+this.CB_DISTANCE-De/2,jt=this.width+this.CB_DISTANCE-De/2;this.positionGrip(this.controlGrips.topLeft.visual,Ze,lt),this.positionGrip(this.controlGrips.topCenter.visual,Fe,lt),this.positionGrip(this.controlGrips.topRight.visual,jt,lt),this.positionGrip(this.controlGrips.centerLeft.visual,Ze,yt),this.positionGrip(this.controlGrips.centerRight.visual,jt,yt),this.positionGrip(this.controlGrips.bottomLeft.visual,Ze,xt),this.positionGrip(this.controlGrips.bottomCenter.visual,Fe,xt),this.positionGrip(this.controlGrips.bottomRight.visual,jt,xt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Fe,lt-3*this.CB_DISTANCE)},Le.prototype.positionGrip=function(De,Ze,lt){var Fe=De.transform.baseVal.getItem(0);Fe.setTranslate(Ze,lt),De.transform.baseVal.replaceItem(Fe,0)},Le.prototype.hideControlBox=function(){this.controlBox.style.display="none"},Le.prototype.showControlBox=function(){this.controlBox.style.display=""},Le.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:ve.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:ve.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Ue.prototype.getState.call(this))},Le.prototype.restoreState=function(De){Ue.prototype.restoreState.call(this,De);var Ze=De;this.left=Ze.left,this.top=Ze.top,this.width=Ze.width,this.height=Ze.height,this.rotationAngle=Ze.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(ve.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Ze.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(ve.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Ze.containerTransformMatrix))},Le.prototype.scale=function(De,Ze){Ue.prototype.scale.call(this,De,Ze);var lt=this.rotatePoint({x:this.left,y:this.top}),Fe=this.unrotatePoint({x:lt.x*De,y:lt.y*Ze});this.left=Fe.x,this.top=Fe.y,this.width=this.width*De,this.height=this.height*Ze,this.adjustControlBox()},Le}(_e),be=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.fillColor="transparent",Fe.strokeColor="transparent",Fe.strokeWidth=0,Fe.strokeDasharray="",Fe.opacity=1,Fe.setStrokeColor=Fe.setStrokeColor.bind(Fe),Fe.setFillColor=Fe.setFillColor.bind(Fe),Fe.setStrokeWidth=Fe.setStrokeWidth.bind(Fe),Fe.setStrokeDasharray=Fe.setStrokeDasharray.bind(Fe),Fe.createVisual=Fe.createVisual.bind(Fe),Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){return!(!Ue.prototype.ownsTarget.call(this,De)&&De!==this.visual)},Le.prototype.createVisual=function(){this.visual=z.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.state==="new"&&(this.createVisual(),this.moveVisual(De),this._state="creating")},Le.prototype.manipulate=function(De){Ue.prototype.manipulate.call(this,De)},Le.prototype.resize=function(De){Ue.prototype.resize.call(this,De),this.setSize()},Le.prototype.setSize=function(){Ue.prototype.setSize.call(this),z.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},Le.prototype.pointerUp=function(De){Ue.prototype.pointerUp.call(this,De),this.setSize()},Le.prototype.setStrokeColor=function(De){this.strokeColor=De,this.visual&&z.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(De),this.stateChanged()},Le.prototype.setFillColor=function(De){this.fillColor=De,this.visual&&z.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},Le.prototype.setStrokeWidth=function(De){this.strokeWidth=De,this.visual&&z.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Le.prototype.setStrokeDasharray=function(De){this.strokeDasharray=De,this.visual&&z.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Le.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ue.prototype.getState.call(this))},Le.prototype.restoreState=function(De){var Ze=De;this.fillColor=Ze.fillColor,this.strokeColor=Ze.strokeColor,this.strokeWidth=Ze.strokeWidth,this.strokeDasharray=Ze.strokeDasharray,this.opacity=Ze.opacity,this.createVisual(),Ue.prototype.restoreState.call(this,De),this.setSize()},Le.prototype.scale=function(De,Ze){Ue.prototype.scale.call(this,De,Ze),this.setSize()},Le.title="Rectangle marker",Le}(Se),Ae=function(Ue){function Le(De,Ze,lt,Fe){var yt=Ue.call(this,De,Fe||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return yt.widths=[],yt.widthBoxes=[],yt.widths=Ze,yt.currentWidth=lt,yt.setCurrentWidth=yt.setCurrentWidth.bind(yt),yt}return oe(Le,Ue),Le.prototype.getUi=function(){var De=this,Ze=document.createElement("div");return Ze.style.display="flex",Ze.style.overflow="hidden",Ze.style.flexGrow="2",this.widths.forEach(function(lt){var Fe=document.createElement("div");Fe.style.display="flex",Fe.style.flexGrow="2",Fe.style.alignItems="center",Fe.style.justifyContent="space-between",Fe.style.padding="5px",Fe.style.borderWidth="2px",Fe.style.borderStyle="solid",Fe.style.borderColor=lt===De.currentWidth?De.uiStyleSettings.toolboxAccentColor:"transparent",Fe.addEventListener("click",function(){De.setCurrentWidth(lt,Fe)}),Ze.appendChild(Fe);var yt=document.createElement("div");yt.innerText=lt.toString(),yt.style.marginRight="5px",Fe.appendChild(yt);var xt=document.createElement("div");xt.style.minHeight="20px",xt.style.flexGrow="2",xt.style.display="flex",xt.style.alignItems="center";var jt=document.createElement("hr");jt.style.minWidth="20px",jt.style.border="0px",jt.style.borderTop=lt+"px solid "+De.uiStyleSettings.toolboxColor,jt.style.flexGrow="2",xt.appendChild(jt),Fe.appendChild(xt),De.widthBoxes.push(Fe)}),Ze},Le.prototype.setCurrentWidth=function(De,Ze){var lt=this;this.currentWidth=De,this.widthBoxes.forEach(function(Fe){Fe.style.borderColor=Fe===Ze?lt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},Le}(ue),Te=function(Ue){function Le(De,Ze,lt,Fe){var yt=Ue.call(this,De,Fe||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return yt.styles=[],yt.styleBoxes=[],yt.styles=Ze,yt.currentStyle=lt,yt.setCurrentStyle=yt.setCurrentStyle.bind(yt),yt}return oe(Le,Ue),Le.prototype.getUi=function(){var De=this,Ze=document.createElement("div");return Ze.style.display="flex",Ze.style.overflow="hidden",Ze.style.flexGrow="2",this.styles.forEach(function(lt){var Fe=document.createElement("div");Fe.style.display="flex",Fe.style.alignItems="center",Fe.style.justifyContent="space-between",Fe.style.padding="5px",Fe.style.borderWidth="2px",Fe.style.borderStyle="solid",Fe.style.overflow="hidden",Fe.style.maxWidth=100/De.styles.length-5+"%",Fe.style.borderColor=lt===De.currentStyle?De.uiStyleSettings.toolboxAccentColor:"transparent",Fe.addEventListener("click",function(){De.setCurrentStyle(lt,Fe)}),Ze.appendChild(Fe);var yt=document.createElement("div");yt.style.minHeight="20px",yt.style.flexGrow="2",yt.style.overflow="hidden";var xt=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+De.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(lt!==""?'stroke-dasharray="'+lt+'"':"")+` />
</svg>`;yt.innerHTML=xt,Fe.appendChild(yt),De.styleBoxes.push(Fe)}),Ze},Le.prototype.setCurrentStyle=function(De,Ze){var lt=this;this.currentStyle=De,this.styleBoxes.forEach(function(Fe){Fe.style.borderColor=Fe===Ze?lt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},Le}(ue),je=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.strokeColor=lt.defaultColor,Fe.strokeWidth=lt.defaultStrokeWidth,Fe.strokeDasharray=lt.defaultStrokeDasharray,Fe.strokePanel=new ge("Line color",lt.defaultColorSet,lt.defaultColor),Fe.strokePanel.onColorChanged=Fe.setStrokeColor,Fe.strokeWidthPanel=new Ae("Line width",lt.defaultStrokeWidths,lt.defaultStrokeWidth),Fe.strokeWidthPanel.onWidthChanged=Fe.setStrokeWidth,Fe.strokeStylePanel=new Te("Line style",lt.defaultStrokeDasharrays,lt.defaultStrokeDasharray),Fe.strokeStylePanel.onStyleChanged=Fe.setStrokeDasharray,Fe}return oe(Le,Ue),Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Ue.prototype.getState.call(this);return De.typeName=Le.typeName,De},Le.typeName="FrameMarker",Le.title="Frame marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',Le}(be),ke=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Pe=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.x1=0,Fe.y1=0,Fe.x2=0,Fe.y2=0,Fe.defaultLength=50,Fe.manipulationStartX=0,Fe.manipulationStartY=0,Fe.manipulationStartX1=0,Fe.manipulationStartY1=0,Fe.manipulationStartX2=0,Fe.manipulationStartY2=0,Fe.setupControlBox(),Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){return!!Ue.prototype.ownsTarget.call(this,De)||!(!this.grip1.ownsTarget(De)&&!this.grip2.ownsTarget(De))},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.manipulationStartX=De.x,this.manipulationStartY=De.y,this.state==="new"&&(this.x1=De.x,this.y1=De.y,this.x2=De.x,this.y2=De.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(Ze)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Ze)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},Le.prototype.pointerUp=function(De){var Ze=this.state;Ue.prototype.pointerUp.call(this,De),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(De),this._state="select",Ze==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},Le.prototype.adjustVisual=function(){},Le.prototype.manipulate=function(De){this.state==="creating"?this.resize(De):this.state==="move"?(this.x1=this.manipulationStartX1+De.x-this.manipulationStartX,this.y1=this.manipulationStartY1+De.y-this.manipulationStartY,this.x2=this.manipulationStartX2+De.x-this.manipulationStartX,this.y2=this.manipulationStartY2+De.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(De)},Le.prototype.resize=function(De){switch(this.activeGrip){case this.grip1:this.x1=De.x,this.y1=De.y;break;case this.grip2:case void 0:this.x2=De.x,this.y2=De.y}this.adjustVisual(),this.adjustControlBox()},Le.prototype.select=function(){Ue.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Le.prototype.deselect=function(){Ue.prototype.deselect.call(this),this.controlBox.style.display="none"},Le.prototype.setupControlBox=function(){this.controlBox=z.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},Le.prototype.adjustControlBox=function(){this.positionGrips()},Le.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},Le.prototype.createGrip=function(){var De=new xe;return De.visual.transform.baseVal.appendItem(z.createTransform()),this.controlBox.appendChild(De.visual),De},Le.prototype.positionGrips=function(){var De=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-De/2,this.y1-De/2),this.positionGrip(this.grip2.visual,this.x2-De/2,this.y2-De/2)},Le.prototype.positionGrip=function(De,Ze,lt){var Fe=De.transform.baseVal.getItem(0);Fe.setTranslate(Ze,lt),De.transform.baseVal.replaceItem(Fe,0)},Le.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ue.prototype.getState.call(this))},Le.prototype.restoreState=function(De){Ue.prototype.restoreState.call(this,De);var Ze=De;this.x1=Ze.x1,this.y1=Ze.y1,this.x2=Ze.x2,this.y2=Ze.y2},Le.prototype.scale=function(De,Ze){Ue.prototype.scale.call(this,De,Ze),this.x1=this.x1*De,this.y1=this.y1*Ze,this.x2=this.x2*De,this.y2=this.y2*Ze,this.adjustVisual(),this.adjustControlBox()},Le}(_e),Oe=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.strokeColor="transparent",Fe.strokeWidth=0,Fe.strokeDasharray="",Fe.setStrokeColor=Fe.setStrokeColor.bind(Fe),Fe.setStrokeWidth=Fe.setStrokeWidth.bind(Fe),Fe.setStrokeDasharray=Fe.setStrokeDasharray.bind(Fe),Fe.strokeColor=lt.defaultColor,Fe.strokeWidth=lt.defaultStrokeWidth,Fe.strokeDasharray=lt.defaultStrokeDasharray,Fe.strokePanel=new ge("Line color",lt.defaultColorSet,lt.defaultColor),Fe.strokePanel.onColorChanged=Fe.setStrokeColor,Fe.strokeWidthPanel=new Ae("Line width",lt.defaultStrokeWidths,lt.defaultStrokeWidth),Fe.strokeWidthPanel.onWidthChanged=Fe.setStrokeWidth,Fe.strokeStylePanel=new Te("Line style",lt.defaultStrokeDasharrays,lt.defaultStrokeDasharray),Fe.strokeStylePanel.onStyleChanged=Fe.setStrokeDasharray,Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){return!(!Ue.prototype.ownsTarget.call(this,De)&&De!==this.visual&&De!==this.selectorLine&&De!==this.visibleLine)},Le.prototype.createVisual=function(){this.visual=z.createGroup(),this.selectorLine=z.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=z.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},Le.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),z.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),z.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),z.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Le.prototype.setStrokeColor=function(De){this.strokeColor=De,this.adjustVisual(),this.colorChanged(De)},Le.prototype.setStrokeWidth=function(De){this.strokeWidth=De,this.adjustVisual()},Le.prototype.setStrokeDasharray=function(De){this.strokeDasharray=De,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ue.prototype.getState.call(this));return De.typeName=Le.typeName,De},Le.prototype.restoreState=function(De){Ue.prototype.restoreState.call(this,De);var Ze=De;this.strokeColor=Ze.strokeColor,this.strokeWidth=Ze.strokeWidth,this.strokeDasharray=Ze.strokeDasharray,this.createVisual(),this.adjustVisual()},Le.typeName="LineMarker",Le.title="Line marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',Le}(Pe),He=function(Ue){function Le(De,Ze,lt,Fe){var yt=Ue.call(this,De,Fe||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return yt.fonts=[],yt.fontBoxes=[],yt.fonts=Ze,yt.currentFont=lt,yt.setCurrentFont=yt.setCurrentFont.bind(yt),yt}return oe(Le,Ue),Le.prototype.getUi=function(){var De=this,Ze=document.createElement("div");return Ze.style.overflow="hidden",Ze.style.flexGrow="2",this.fonts.forEach(function(lt){var Fe=document.createElement("div");Fe.style.display="inline-block",Fe.style.alignItems="center",Fe.style.justifyContent="space-between",Fe.style.padding="5px",Fe.style.borderWidth="2px",Fe.style.borderStyle="solid",Fe.style.overflow="hidden",Fe.style.maxWidth=100/De.fonts.length-5+"%",Fe.style.borderColor=lt===De.currentFont?De.uiStyleSettings.toolboxAccentColor:"transparent",Fe.addEventListener("click",function(){De.setCurrentFont(lt,Fe)}),Ze.appendChild(Fe);var yt=document.createElement("div");yt.style.display="flex",yt.style.minHeight="20px",yt.style.flexGrow="2",yt.style.fontFamily=lt,yt.style.overflow="hidden";var xt=document.createElement("div");xt.style.whiteSpace="nowrap",xt.style.overflow="hidden",xt.style.textOverflow="ellipsis",xt.innerHTML="The quick brown fox jumps over the lazy dog",yt.appendChild(xt),Fe.appendChild(yt),De.fontBoxes.push(Fe)}),Ze},Le.prototype.setCurrentFont=function(De,Ze){var lt=this;this.currentFont=De,this.fontBoxes.forEach(function(Fe){Fe.style.borderColor=Fe===Ze?lt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},Le}(ue),Ge=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.color="transparent",Fe.padding=5,Fe.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Fe.text=Fe.DEFAULT_TEXT,Fe.isMoved=!1,Fe.color=lt.defaultColor,Fe.fontFamily=lt.defaultFontFamily,Fe.defaultSize={x:100,y:30},Fe.setColor=Fe.setColor.bind(Fe),Fe.setFont=Fe.setFont.bind(Fe),Fe.renderText=Fe.renderText.bind(Fe),Fe.sizeText=Fe.sizeText.bind(Fe),Fe.textEditDivClicked=Fe.textEditDivClicked.bind(Fe),Fe.showTextEditor=Fe.showTextEditor.bind(Fe),Fe.setSize=Fe.setSize.bind(Fe),Fe.positionTextEditor=Fe.positionTextEditor.bind(Fe),Fe.colorPanel=new ge("Color",lt.defaultColorSet,lt.defaultColor),Fe.colorPanel.onColorChanged=Fe.setColor,Fe.fontFamilyPanel=new He("Font",lt.defaultFontFamilies,lt.defaultFontFamily),Fe.fontFamilyPanel.onFontChanged=Fe.setFont,Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){if(Ue.prototype.ownsTarget.call(this,De)||De===this.visual||De===this.textElement||De===this.bgRectangle)return!0;var Ze=!1;return this.textElement.childNodes.forEach(function(lt){lt===De&&(Ze=!0)}),Ze},Le.prototype.createVisual=function(){this.visual=z.createGroup(),this.bgRectangle=z.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=z.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(z.createTransform()),this.textElement.transform.baseVal.appendItem(z.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.isMoved=!1,this.pointerDownPoint=De,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(De),this._state="creating")},Le.prototype.renderText=function(){var De=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(Ze){De.textElement.appendChild(z.createTSpan(Ze.trim()===""?" ":Ze.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},Le.prototype.getTextScale=function(){var De=this.textElement.getBBox(),Ze=1;if(De.width>0&&De.height>0){var lt=(1*this.width-this.width*this.padding*2/100)/De.width,Fe=(1*this.height-this.height*this.padding*2/100)/De.height;Ze=Math.min(lt,Fe)}return Ze},Le.prototype.getTextPosition=function(De){var Ze=this.textElement.getBBox(),lt=0,Fe=0;return Ze.width>0&&Ze.height>0&&(lt=(this.width-Ze.width*De)/2,Fe=this.height/2-Ze.height*De/2),{x:lt,y:Fe}},Le.prototype.sizeText=function(){var De=this.textElement.getBBox(),Ze=this.getTextScale(),lt=this.getTextPosition(Ze);lt.y-=De.y*Ze,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+lt.x+"px, "+lt.y+"px) scale("+Ze+", "+Ze+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(lt.x,lt.y),this.textElement.transform.baseVal.getItem(1).setScale(Ze,Ze))},Le.prototype.manipulate=function(De){Ue.prototype.manipulate.call(this,De),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(De.x-this.pointerDownPoint.x)>5||Math.abs(De.y-this.pointerDownPoint.y)>5)},Le.prototype.resize=function(De){Ue.prototype.resize.call(this,De),this.isMoved=!0,this.setSize(),this.sizeText()},Le.prototype.setSize=function(){Ue.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(z.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),z.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},Le.prototype.pointerUp=function(De){var Ze=this.state;Ze==="creating"&&(this._suppressMarkerCreateEvent=!0),Ue.prototype.pointerUp.call(this,De),this.setSize(),(Ze==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},Le.prototype.showTextEditor=function(){var De=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(Ze){Ze.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Ze=Number.parseFloat(De.textEditor.style.fontSize);De.textEditor.clientWidth>=Number.parseInt(De.textEditor.style.maxWidth)&&Ze>.9;)Ze-=.1,De.textEditor.style.fontSize=Math.max(Ze,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Ze){Ze.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Ze){if(Ze.clipboardData){var lt=Ze.clipboardData.getData("text"),Fe=window.getSelection();if(!Fe.rangeCount)return!1;Fe.deleteFromDocument(),Fe.getRangeAt(0).insertNode(document.createTextNode(lt)),Ze.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){De.textEditDivClicked(De.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},Le.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var De=this.getTextScale(),Ze=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),lt=this.textElement.getBBox(),Fe={x:lt.width*De,y:lt.height*De};Ze.x-=Fe.x/2,Ze.y-=Fe.y/2,this.textEditor.style.top=Ze.y+"px",this.textEditor.style.left=Ze.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Ze.x+"px",this.textEditor.style.fontSize=Math.max(16*De,12)+"px",this.textElement.style.display="none"}},Le.prototype.textEditDivClicked=function(De){this.text=De.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},Le.prototype.select=function(){Ue.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},Le.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ue.prototype.deselect.call(this)},Le.prototype.dblClick=function(De,Ze){Ue.prototype.dblClick.call(this,De,Ze),this.showTextEditor()},Le.prototype.setColor=function(De){this.textElement&&z.setAttributes(this.textElement,[["fill",De]]),this.color=De,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(De)},Le.prototype.setFont=function(De){this.textElement&&z.setAttributes(this.textElement,[["font-family",De]]),this.fontFamily=De,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},Le.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},Le.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ue.prototype.getState.call(this));return De.typeName=Le.typeName,De},Le.prototype.restoreState=function(De){var Ze=De;this.color=Ze.color,this.fontFamily=Ze.fontFamily,this.padding=Ze.padding,this.text=Ze.text,this.createVisual(),Ue.prototype.restoreState.call(this,De),this.setSize()},Le.prototype.scale=function(De,Ze){Ue.prototype.scale.call(this,De,Ze),this.setSize(),this.sizeText(),this.positionTextEditor()},Le.typeName="TextMarker",Le.title="Text marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',Le}(Se),tt=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.color="transparent",Fe.lineWidth=3,Fe.drawing=!1,Fe.pixelRatio=1,Fe.color=lt.defaultColor,Fe.lineWidth=lt.defaultStrokeWidth,Fe.pixelRatio=lt.freehandPixelRatio,Fe.setColor=Fe.setColor.bind(Fe),Fe.addCanvas=Fe.addCanvas.bind(Fe),Fe.finishCreation=Fe.finishCreation.bind(Fe),Fe.setLineWidth=Fe.setLineWidth.bind(Fe),Fe.colorPanel=new ge("Color",lt.defaultColorSet,lt.defaultColor),Fe.colorPanel.onColorChanged=Fe.setColor,Fe.lineWidthPanel=new Ae("Line width",lt.defaultStrokeWidths,lt.defaultStrokeWidth),Fe.lineWidthPanel.onWidthChanged=Fe.setLineWidth,Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){return!(!Ue.prototype.ownsTarget.call(this,De)&&De!==this.visual&&De!==this.drawingImage)},Le.prototype.createVisual=function(){this.visual=z.createGroup(),this.drawingImage=z.createImage(),this.visual.appendChild(this.drawingImage);var De=z.createTransform();this.visual.transform.baseVal.appendItem(De),this.addMarkerVisualToContainer(this.visual)},Le.prototype.pointerDown=function(De,Ze){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(De.x,De.y),this.drawing=!0):Ue.prototype.pointerDown.call(this,De,Ze)},Le.prototype.manipulate=function(De){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(De.x,De.y),this.canvasContext.stroke()):Ue.prototype.manipulate.call(this,De)},Le.prototype.resize=function(De){Ue.prototype.resize.call(this,De),z.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),z.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},Le.prototype.pointerUp=function(De){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ue.prototype.pointerUp.call(this,De)},Le.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},Le.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ue.prototype.select.call(this)},Le.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ue.prototype.deselect.call(this)},Le.prototype.finishCreation=function(){for(var De=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Ze=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],lt=Ze[0],Fe=Ze[1],yt=Ze[2],xt=Ze[3],jt=!1,Tt=0;Tt<this.canvasElement.height;Tt++)for(var wt=0;wt<this.canvasElement.width;wt++)De.data[Tt*this.canvasElement.width*4+4*wt+3]>0&&(jt=!0,Tt<Fe&&(Fe=Tt),wt<lt&&(lt=wt),Tt>xt&&(xt=Tt),wt>yt&&(yt=wt));if(jt){this.left=lt/this.pixelRatio,this.top=Fe/this.pixelRatio,this.width=(yt-lt)/this.pixelRatio,this.height=(xt-Fe)/this.pixelRatio;var It=document.createElement("canvas");It.width=yt-lt,It.height=xt-Fe,It.getContext("2d").putImageData(this.canvasContext.getImageData(lt,Fe,yt-lt,xt-Fe),0,0),this.drawingImgUrl=It.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},Le.prototype.setDrawingImage=function(){z.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),z.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},Le.prototype.setColor=function(De){this.color=De,this.colorChanged(De)},Le.prototype.setLineWidth=function(De){this.lineWidth=De},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Object.assign({drawingImgUrl:this.drawingImgUrl},Ue.prototype.getState.call(this));return De.typeName=Le.typeName,De},Le.prototype.restoreState=function(De){this.createVisual(),Ue.prototype.restoreState.call(this,De),this.drawingImgUrl=De.drawingImgUrl,this.setDrawingImage()},Le.prototype.scale=function(De,Ze){Ue.prototype.scale.call(this,De,Ze),this.setDrawingImage()},Le.typeName="FreehandMarker",Le.title="Freehand marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',Le}(Se),Me=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,lt||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return Fe.typeBoxes=[],Fe.currentType=Ze,Fe.setCurrentType=Fe.setCurrentType.bind(Fe),Fe}return oe(Le,Ue),Le.prototype.getUi=function(){var De=this,Ze=document.createElement("div");Ze.style.display="flex",Ze.style.overflow="hidden",Ze.style.flexGrow="2";for(var lt=function(xt){var jt="both";switch(xt){case 0:jt="both";break;case 1:jt="start";break;case 2:jt="end";break;case 3:jt="none"}var Tt=document.createElement("div");if(Tt.style.display="flex",Tt.style.flexGrow="2",Tt.style.alignItems="center",Tt.style.justifyContent="space-between",Tt.style.padding="5px",Tt.style.borderWidth="2px",Tt.style.borderStyle="solid",Tt.style.borderColor=jt===Fe.currentType?Fe.uiStyleSettings.toolboxAccentColor:"transparent",Tt.addEventListener("click",function(){De.setCurrentType(jt,Tt)}),Ze.appendChild(Tt),jt==="both"||jt==="start"){var wt=document.createElement("div");wt.style.display="flex",wt.style.alignItems="center",wt.style.minHeight="20px",wt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,5 10,0 10,10" fill="`+(Fe.uiStyleSettings!==void 0?Fe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,wt.style.marginLeft="5px",Tt.appendChild(wt)}var It=document.createElement("div");It.style.display="flex",It.style.alignItems="center",It.style.minHeight="20px",It.style.flexGrow="2";var Bt=document.createElement("hr");if(Bt.style.minWidth="20px",Bt.style.border="0px",Bt.style.borderTop="3px solid "+(Fe.uiStyleSettings!==void 0?Fe.uiStyleSettings.toolboxColor:"#eeeeee"),Bt.style.flexGrow="2",It.appendChild(Bt),Tt.appendChild(It),jt==="both"||jt==="end"){var Wt=document.createElement("div");Wt.style.display="flex",Wt.style.alignItems="center",Wt.style.minHeight="20px",Wt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 10,5 0,10" fill="`+(Fe.uiStyleSettings!==void 0?Fe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Wt.style.marginRight="5px",Tt.appendChild(Wt)}Fe.typeBoxes.push(Tt)},Fe=this,yt=0;yt<4;yt++)lt(yt);return Ze},Le.prototype.setCurrentType=function(De,Ze){var lt=this;this.currentType=De,this.typeBoxes.forEach(function(Fe){Fe.style.borderColor=Fe===Ze?lt.uiStyleSettings!==void 0?lt.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},Le}(ue),We=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.arrowType="end",Fe.arrowBaseHeight=10,Fe.arrowBaseWidth=10,Fe.getArrowPoints=Fe.getArrowPoints.bind(Fe),Fe.setArrowType=Fe.setArrowType.bind(Fe),Fe.arrowTypePanel=new Me("Arrow type","end"),Fe.arrowTypePanel.onArrowTypeChanged=Fe.setArrowType,Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){return!(!Ue.prototype.ownsTarget.call(this,De)&&De!==this.arrow1&&De!==this.arrow2)},Le.prototype.getArrowPoints=function(De,Ze){var lt=this.arrowBaseWidth+2*this.strokeWidth,Fe=this.arrowBaseHeight+2*this.strokeWidth;return De-lt/2+","+(Ze+Fe/2)+" "+De+","+(Ze-Fe/2)+" "+(De+lt/2)+","+(Ze+Fe/2)},Le.prototype.createTips=function(){this.arrow1=z.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(z.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=z.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(z.createTransform()),this.visual.appendChild(this.arrow2)},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.state==="creating"&&this.createTips()},Le.prototype.adjustVisual=function(){if(Ue.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",z.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),z.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var De=0;Math.abs(this.x1-this.x2)>.1&&(De=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Ze=this.arrow1.transform.baseVal.getItem(0);Ze.setRotate(De,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Ze,0);var lt=this.arrow2.transform.baseVal.getItem(0);lt.setRotate(De+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(lt,0)}},Le.prototype.setArrowType=function(De){this.arrowType=De,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Object.assign({arrowType:this.arrowType},Ue.prototype.getState.call(this));return De.typeName=Le.typeName,De},Le.prototype.restoreState=function(De){Ue.prototype.restoreState.call(this,De);var Ze=De;this.arrowType=Ze.arrowType,this.createTips(),this.adjustVisual()},Le.typeName="ArrowMarker",Le.title="Arrow marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',Le}(Oe),it=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.fillColor=lt.defaultFillColor,Fe.strokeWidth=0,Fe.fillPanel=new ge("Color",lt.defaultColorSet,lt.defaultFillColor),Fe.fillPanel.onColorChanged=Fe.setFillColor,Fe}return oe(Le,Ue),Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Ue.prototype.getState.call(this);return De.typeName=Le.typeName,De},Le.typeName="CoverMarker",Le.title="Cover marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',Le}(be),ut=function(Ue){function Le(De,Ze,lt,Fe){var yt=Ue.call(this,De,Fe||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return yt.opacities=[],yt.opacityBoxes=[],yt.opacities=Ze,yt.currentOpacity=lt,yt.setCurrentOpacity=yt.setCurrentOpacity.bind(yt),yt}return oe(Le,Ue),Le.prototype.getUi=function(){var De=this,Ze=document.createElement("div");return Ze.style.display="flex",Ze.style.overflow="hidden",Ze.style.flexGrow="2",Ze.style.justifyContent="space-between",this.opacities.forEach(function(lt){var Fe=document.createElement("div");Fe.style.display="flex",Fe.style.alignItems="center",Fe.style.justifyContent="center",Fe.style.padding="5px",Fe.style.borderWidth="2px",Fe.style.borderStyle="solid",Fe.style.borderColor=lt===De.currentOpacity?De.uiStyleSettings.toolboxAccentColor:"transparent",Fe.addEventListener("click",function(){De.setCurrentOpacity(lt,Fe)}),Ze.appendChild(Fe);var yt=document.createElement("div");yt.innerText=100*lt+"%",Fe.appendChild(yt),De.opacityBoxes.push(Fe)}),Ze},Le.prototype.setCurrentOpacity=function(De,Ze){var lt=this;this.currentOpacity=De,this.opacityBoxes.forEach(function(Fe){Fe.style.borderColor=Fe===Ze?lt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},Le}(ue),$e=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.setOpacity=Fe.setOpacity.bind(Fe),Fe.fillColor=lt.defaultHighlightColor,Fe.strokeWidth=0,Fe.opacity=lt.defaultHighlightOpacity,Fe.fillPanel=new ge("Color",lt.defaultColorSet,Fe.fillColor),Fe.fillPanel.onColorChanged=Fe.setFillColor,Fe.opacityPanel=new ut("Opacity",lt.defaultOpacitySteps,Fe.opacity),Fe.opacityPanel.onOpacityChanged=Fe.setOpacity,Fe}return oe(Le,Ue),Le.prototype.setOpacity=function(De){this.opacity=De,this.visual&&z.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Ue.prototype.getState.call(this);return De.typeName=Le.typeName,De},Le.typeName="HighlightMarker",Le.title="Highlight marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',Le}(it),Je='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',Xe='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',Qe=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.bgColor="transparent",Fe.tipPosition={x:0,y:0},Fe.tipBase1Position={x:0,y:0},Fe.tipBase2Position={x:0,y:0},Fe.tipMoving=!1,Fe.color=lt.defaultStrokeColor,Fe.bgColor=lt.defaultFillColor,Fe.fontFamily=lt.defaultFontFamily,Fe.defaultSize={x:100,y:30},Fe.setBgColor=Fe.setBgColor.bind(Fe),Fe.getTipPoints=Fe.getTipPoints.bind(Fe),Fe.positionTip=Fe.positionTip.bind(Fe),Fe.setTipPoints=Fe.setTipPoints.bind(Fe),Fe.colorPanel=new ge("Text color",lt.defaultColorSet,Fe.color,Je),Fe.colorPanel.onColorChanged=Fe.setColor,Fe.bgColorPanel=new ge("Fill color",lt.defaultColorSet,Fe.bgColor,Xe),Fe.bgColorPanel.onColorChanged=Fe.setBgColor,Fe.fontFamilyPanel=new He("Font",lt.defaultFontFamilies,lt.defaultFontFamily),Fe.fontFamilyPanel.onFontChanged=Fe.setFont,Fe.tipGrip=new xe,Fe.tipGrip.visual.transform.baseVal.appendItem(z.createTransform()),Fe.controlBox.appendChild(Fe.tipGrip.visual),Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){return Ue.prototype.ownsTarget.call(this,De)||this.tipGrip.ownsTarget(De)||this.tip===De},Le.prototype.createTip=function(){z.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=z.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},Le.prototype.pointerDown=function(De,Ze){this.state==="new"&&Ue.prototype.pointerDown.call(this,De,Ze),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Ze)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ue.prototype.pointerDown.call(this,De,Ze)},Le.prototype.pointerUp=function(De){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ue.prototype.pointerUp.call(this,De);else{var Ze=this.state==="creating";Ue.prototype.pointerUp.call(this,De),this.setTipPoints(Ze),this.positionTip()}},Le.prototype.manipulate=function(De){if(this.tipMoving){var Ze=this.unrotatePoint(De);this.tipPosition={x:Ze.x-this.manipulationStartLeft,y:Ze.y-this.manipulationStartTop},this.positionTip()}else Ue.prototype.manipulate.call(this,De)},Le.prototype.setBgColor=function(De){this.bgRectangle&&this.tip&&(z.setAttributes(this.bgRectangle,[["fill",De]]),z.setAttributes(this.tip,[["fill",De]])),this.bgColor=De,this.fillColorChanged(De)},Le.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},Le.prototype.setTipPoints=function(De){De===void 0&&(De=!1);var Ze=Math.min(this.height/2,15),lt=this.height/5;De&&(this.tipPosition={x:Ze+lt/2,y:this.height+20});var Fe=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?Fe<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(lt=this.width/5,Ze=Math.min(this.width/2,15),this.tipBase1Position={x:Ze,y:0},this.tipBase2Position={x:Ze+lt,y:0}):(this.tipBase1Position={x:0,y:Ze},this.tipBase2Position={x:0,y:Ze+lt}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?Fe<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(lt=this.width/5,Ze=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Ze-lt,y:0},this.tipBase2Position={x:this.width-Ze,y:0}):(this.tipBase1Position={x:this.width,y:Ze},this.tipBase2Position={x:this.width,y:Ze+lt}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?Fe<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(lt=this.width/5,Ze=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Ze-lt,y:this.height},this.tipBase2Position={x:this.width-Ze,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-Ze-lt},this.tipBase2Position={x:this.width,y:this.height-Ze}):Fe<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(lt=this.width/5,Ze=Math.min(this.width/2,15),this.tipBase1Position={x:Ze,y:this.height},this.tipBase2Position={x:Ze+lt,y:this.height}):(this.tipBase1Position={x:0,y:this.height-Ze},this.tipBase2Position={x:0,y:this.height-Ze-lt})},Le.prototype.resize=function(De){Ue.prototype.resize.call(this,De),this.positionTip()},Le.prototype.positionTip=function(){z.setAttributes(this.tip,[["points",this.getTipPoints()]]);var De=this.tipGrip.visual.transform.baseVal.getItem(0);De.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(De,0)},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),Le.prototype.select=function(){this.positionTip(),Ue.prototype.select.call(this)},Le.prototype.getState=function(){var De=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Ue.prototype.getState.call(this));return De.typeName=Le.typeName,De},Le.prototype.restoreState=function(De){var Ze=De;this.bgColor=Ze.bgColor,this.tipPosition=Ze.tipPosition,Ue.prototype.restoreState.call(this,De),this.createTip(),this.setTipPoints()},Le.prototype.scale=function(De,Ze){Ue.prototype.scale.call(this,De,Ze),this.tipPosition={x:this.tipPosition.x*De,y:this.tipPosition.y*Ze},this.positionTip()},Le.typeName="CalloutMarker",Le.title="Callout marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',Le}(Ge),st=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.fillColor="transparent",Fe.strokeColor="transparent",Fe.strokeWidth=0,Fe.strokeDasharray="",Fe.opacity=1,Fe.strokeColor=lt.defaultColor,Fe.strokeWidth=lt.defaultStrokeWidth,Fe.strokeDasharray=lt.defaultStrokeDasharray,Fe.fillColor=lt.defaultFillColor,Fe.setStrokeColor=Fe.setStrokeColor.bind(Fe),Fe.setFillColor=Fe.setFillColor.bind(Fe),Fe.setStrokeWidth=Fe.setStrokeWidth.bind(Fe),Fe.setStrokeDasharray=Fe.setStrokeDasharray.bind(Fe),Fe.setOpacity=Fe.setOpacity.bind(Fe),Fe.createVisual=Fe.createVisual.bind(Fe),Fe.strokePanel=new ge("Line color",se(lt.defaultColorSet,["transparent"]),lt.defaultColor),Fe.strokePanel.onColorChanged=Fe.setStrokeColor,Fe.fillPanel=new ge("Fill color",se(lt.defaultColorSet,["transparent"]),Fe.fillColor,Xe),Fe.fillPanel.onColorChanged=Fe.setFillColor,Fe.strokeWidthPanel=new Ae("Line width",lt.defaultStrokeWidths,lt.defaultStrokeWidth),Fe.strokeWidthPanel.onWidthChanged=Fe.setStrokeWidth,Fe.strokeStylePanel=new Te("Line style",lt.defaultStrokeDasharrays,lt.defaultStrokeDasharray),Fe.strokeStylePanel.onStyleChanged=Fe.setStrokeDasharray,Fe.opacityPanel=new ut("Opacity",lt.defaultOpacitySteps,Fe.opacity),Fe.opacityPanel.onOpacityChanged=Fe.setOpacity,Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){return!(!Ue.prototype.ownsTarget.call(this,De)&&De!==this.visual)},Le.prototype.createVisual=function(){this.visual=z.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.state==="new"&&(this.createVisual(),this.moveVisual(De),this._state="creating")},Le.prototype.manipulate=function(De){Ue.prototype.manipulate.call(this,De)},Le.prototype.resize=function(De){Ue.prototype.resize.call(this,De),this.setSize()},Le.prototype.setSize=function(){Ue.prototype.setSize.call(this),z.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},Le.prototype.pointerUp=function(De){Ue.prototype.pointerUp.call(this,De),this.setSize()},Le.prototype.setStrokeColor=function(De){this.strokeColor=De,this.visual&&z.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(De),this.stateChanged()},Le.prototype.setFillColor=function(De){this.fillColor=De,this.visual&&z.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(De),this.stateChanged()},Le.prototype.setStrokeWidth=function(De){this.strokeWidth=De,this.visual&&z.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Le.prototype.setStrokeDasharray=function(De){this.strokeDasharray=De,this.visual&&z.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Le.prototype.setOpacity=function(De){this.opacity=De,this.visual&&z.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ue.prototype.getState.call(this));return De.typeName=Le.typeName,De},Le.prototype.restoreState=function(De){var Ze=De;this.fillColor=Ze.fillColor,this.strokeColor=Ze.strokeColor,this.strokeWidth=Ze.strokeWidth,this.strokeDasharray=Ze.strokeDasharray,this.opacity=Ze.opacity,this.createVisual(),Ue.prototype.restoreState.call(this,De),this.setSize()},Le.prototype.scale=function(De,Ze){Ue.prototype.scale.call(this,De,Ze),this.setSize()},Le.typeName="EllipseMarker",Le.title="Ellipse marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',Le}(Se),rt=function(Ue){function Le(De,Ze,lt){return Ue.call(this,De,Ze,lt)||this}return oe(Le,Ue),Object.defineProperty(Le.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),Le.prototype.ownsTarget=function(De){return!(!Ue.prototype.ownsTarget.call(this,De)&&De!==this.tip1&&De!==this.tip2)},Le.prototype.createTips=function(){this.tip1=z.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(z.createTransform()),this.visual.appendChild(this.tip1),this.tip2=z.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(z.createTransform()),this.visual.appendChild(this.tip2)},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.state==="creating"&&this.createTips()},Le.prototype.adjustVisual=function(){if(Ue.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(z.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),z.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var De=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Ze=this.tip1.transform.baseVal.getItem(0);Ze.setRotate(De,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Ze,0);var lt=this.tip2.transform.baseVal.getItem(0);lt.setRotate(De+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(lt,0)}},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Ue.prototype.getState.call(this);return De.typeName=Le.typeName,De},Le.prototype.restoreState=function(De){Ue.prototype.restoreState.call(this,De),this.createTips(),this.adjustVisual()},Le.typeName="MeasurementMarker",Le.title="Measurement marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',Le}(Oe),pt=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.strokePanel.colors=lt.defaultColorSet,Fe.fillColor="transparent",Fe}return oe(Le,Ue),Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Ue.prototype.getState.call(this);return De.typeName=Le.typeName,De},Le.typeName="EllipseFrameMarker",Le.title="Ellipse frame marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',Le}(st),ft=function(){function Ue(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ue.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ue.prototype.addUndoStep=function(Le){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(Le)||(this.undoStack.push(Le),JSON.stringify(this.lastRedoStep)!==JSON.stringify(Le)&&this.redoStack.splice(0,this.redoStack.length))},Ue.prototype.replaceLastUndoStep=function(Le){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=Le)},Ue.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ue.prototype.undo=function(){if(this.undoStack.length>1){var Le=this.undoStack.pop();return Le!==void 0&&this.redoStack.push(Le),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ue.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ue}(),qe=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.strokeColor="transparent",Fe.strokeWidth=0,Fe.strokeDasharray="",Fe.curveX=0,Fe.curveY=0,Fe.manipulationStartCurveX=0,Fe.manipulationStartCurveY=0,Fe.setStrokeColor=Fe.setStrokeColor.bind(Fe),Fe.setStrokeWidth=Fe.setStrokeWidth.bind(Fe),Fe.setStrokeDasharray=Fe.setStrokeDasharray.bind(Fe),Fe.positionGrips=Fe.positionGrips.bind(Fe),Fe.addControlGrips=Fe.addControlGrips.bind(Fe),Fe.adjustVisual=Fe.adjustVisual.bind(Fe),Fe.setupControlBox=Fe.setupControlBox.bind(Fe),Fe.resize=Fe.resize.bind(Fe),Fe.strokeColor=lt.defaultColor,Fe.strokeWidth=lt.defaultStrokeWidth,Fe.strokeDasharray=lt.defaultStrokeDasharray,Fe.strokePanel=new ge("Line color",lt.defaultColorSet,lt.defaultColor),Fe.strokePanel.onColorChanged=Fe.setStrokeColor,Fe.strokeWidthPanel=new Ae("Line width",lt.defaultStrokeWidths,lt.defaultStrokeWidth),Fe.strokeWidthPanel.onWidthChanged=Fe.setStrokeWidth,Fe.strokeStylePanel=new Te("Line style",lt.defaultStrokeDasharrays,lt.defaultStrokeDasharray),Fe.strokeStylePanel.onStyleChanged=Fe.setStrokeDasharray,Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){return!(!Ue.prototype.ownsTarget.call(this,De)&&De!==this.visual&&De!==this.selectorCurve&&De!==this.visibleCurve&&!this.curveGrip.ownsTarget(De))},Le.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},Le.prototype.createVisual=function(){this.visual=z.createGroup(),this.selectorCurve=z.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=z.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=De.x,this.curveY=De.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Ze)&&(this.activeGrip=this.curveGrip,this._state="resize")},Le.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),z.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),z.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),z.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Le.prototype.setupControlBox=function(){Ue.prototype.setupControlBox.call(this),this.curveControlLine1=z.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=z.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},Le.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ue.prototype.addControlGrips.call(this)},Le.prototype.positionGrips=function(){Ue.prototype.positionGrips.call(this);var De=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-De/2,this.curveY-De/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},Le.prototype.manipulate=function(De){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+De.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+De.y-this.manipulationStartY),Ue.prototype.manipulate.call(this,De)},Le.prototype.resize=function(De){this.activeGrip===this.curveGrip&&(this.curveX=De.x,this.curveY=De.y),Ue.prototype.resize.call(this,De),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},Le.prototype.setStrokeColor=function(De){this.strokeColor=De,this.adjustVisual(),this.colorChanged(De)},Le.prototype.setStrokeWidth=function(De){this.strokeWidth=De,this.adjustVisual()},Le.prototype.setStrokeDasharray=function(De){this.strokeDasharray=De,this.adjustVisual()},Le.prototype.scale=function(De,Ze){this.curveX=this.curveX*De,this.curveY=this.curveY*Ze,Ue.prototype.scale.call(this,De,Ze)},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ue.prototype.getState.call(this));return De.typeName=Le.typeName,De},Le.prototype.restoreState=function(De){Ue.prototype.restoreState.call(this,De);var Ze=De;this.strokeColor=Ze.strokeColor,this.strokeWidth=Ze.strokeWidth,this.strokeDasharray=Ze.strokeDasharray,this.curveX=Ze.curveX,this.curveY=Ze.curveY,this.createVisual(),this.adjustVisual()},Le.typeName="CurveMarker",Le.title="Curve marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',Le}(Pe),Ie=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,Ze,lt)||this;return Fe.fillColor="transparent",Fe.strokeColor="transparent",Fe.strokeWidth=0,Fe.strokeDasharray="",Fe.textColor="transparent",Fe.fontSize="1rem",Fe.isMoved=!1,Fe.captionText="Caption",Fe.PADDING=5,Fe.captionBoxWidth=0,Fe.captionBoxHeight=0,Fe.strokeColor=lt.defaultColor,Fe.strokeWidth=lt.defaultStrokeWidth,Fe.strokeDasharray=lt.defaultStrokeDasharray,Fe.fillColor=lt.defaultFillColor,Fe.textColor=lt.defaultStrokeColor,Fe.fontFamily=lt.defaultFontFamily,Fe.fontSize=lt.defaultCaptionFontSize,Fe.captionText=lt.defaultCaptionText,Fe.setStrokeColor=Fe.setStrokeColor.bind(Fe),Fe.setFillColor=Fe.setFillColor.bind(Fe),Fe.setStrokeWidth=Fe.setStrokeWidth.bind(Fe),Fe.setStrokeDasharray=Fe.setStrokeDasharray.bind(Fe),Fe.createVisual=Fe.createVisual.bind(Fe),Fe.sizeCaption=Fe.sizeCaption.bind(Fe),Fe.setCaptionText=Fe.setCaptionText.bind(Fe),Fe.showTextEditor=Fe.showTextEditor.bind(Fe),Fe.positionTextEditor=Fe.positionTextEditor.bind(Fe),Fe.finishTextEditing=Fe.finishTextEditing.bind(Fe),Fe.setFont=Fe.setFont.bind(Fe),Fe.setTextColor=Fe.setTextColor.bind(Fe),Fe.strokePanel=new ge("Line color",se(lt.defaultColorSet,["transparent"]),Fe.strokeColor),Fe.strokePanel.onColorChanged=Fe.setStrokeColor,Fe.fillPanel=new ge("Fill color",se(lt.defaultColorSet,["transparent"]),Fe.fillColor,Xe),Fe.fillPanel.onColorChanged=Fe.setFillColor,Fe.strokeWidthPanel=new Ae("Line width",lt.defaultStrokeWidths,lt.defaultStrokeWidth),Fe.strokeWidthPanel.onWidthChanged=Fe.setStrokeWidth,Fe.strokeStylePanel=new Te("Line style",lt.defaultStrokeDasharrays,lt.defaultStrokeDasharray),Fe.strokeStylePanel.onStyleChanged=Fe.setStrokeDasharray,Fe.fontFamilyPanel=new He("Font",lt.defaultFontFamilies,lt.defaultFontFamily),Fe.fontFamilyPanel.onFontChanged=Fe.setFont,Fe.textColorPanel=new ge("Text color",lt.defaultColorSet,Fe.textColor,Je),Fe.textColorPanel.onColorChanged=Fe.setTextColor,Fe}return oe(Le,Ue),Le.prototype.ownsTarget=function(De){return!(!Ue.prototype.ownsTarget.call(this,De)&&De!==this.visual&&De!==this.frame&&De!==this.captionBg&&De!==this.captionElement)},Le.prototype.createVisual=function(){this.visual=z.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=z.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=z.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=z.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},Le.prototype.setCaptionText=function(De){this.captionText=De,this.captionElement.textContent=this.captionText,this.sizeCaption()},Le.prototype.pointerDown=function(De,Ze){Ue.prototype.pointerDown.call(this,De,Ze),this.isMoved=!1,this.pointerDownPoint=De,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(De),this._state="creating")},Le.prototype.manipulate=function(De){Ue.prototype.manipulate.call(this,De),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(De.x-this.pointerDownPoint.x)>5||Math.abs(De.y-this.pointerDownPoint.y)>5)},Le.prototype.resize=function(De){Ue.prototype.resize.call(this,De),this.setSize()},Le.prototype.sizeCaption=function(){var De=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=De.width+2*this.PADDING,this.captionBoxHeight=De.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),z.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),z.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},Le.prototype.showTextEditor=function(){var De=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(Ze){Ze.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Ze){Ze.key==="Enter"&&De.finishTextEditing(De.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Ze){Ze.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){De.finishTextEditing(De.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){De.finishTextEditing(De.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},Le.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},Le.prototype.finishTextEditing=function(De){this.setCaptionText(De.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},Le.prototype.setFont=function(De){this.captionElement&&z.setAttributes(this.captionElement,[["font-family",De]]),this.fontFamily=De,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},Le.prototype.setTextColor=function(De){this.captionElement&&z.setAttributes(this.captionElement,[["fill",De]]),this.textColor=De,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},Le.prototype.setSize=function(){Ue.prototype.setSize.call(this),z.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},Le.prototype.pointerUp=function(De){Ue.prototype.pointerUp.call(this,De),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},Le.prototype.dblClick=function(De,Ze){Ue.prototype.dblClick.call(this,De,Ze),this.showTextEditor()},Le.prototype.setStrokeColor=function(De){this.strokeColor=De,this.frame&&z.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(De),this.stateChanged()},Le.prototype.setFillColor=function(De){this.fillColor=De,this.captionBg&&z.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(De),this.stateChanged()},Le.prototype.setStrokeWidth=function(De){this.strokeWidth=De,this.frame&&z.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Le.prototype.setStrokeDasharray=function(De){this.strokeDasharray=De,this.frame&&z.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(Le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),Le.prototype.getState=function(){var De=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Ue.prototype.getState.call(this));return De.typeName=this.typeName,De},Le.prototype.restoreState=function(De){var Ze=De;this.fillColor=Ze.fillColor,this.strokeColor=Ze.strokeColor,this.strokeWidth=Ze.strokeWidth,this.strokeDasharray=Ze.strokeDasharray,this.textColor=Ze.textColor,this.fontFamily=Ze.fontFamily,this.captionText=Ze.captionText,this.fontSize=Ze.fontSize,this.createVisual(),Ue.prototype.restoreState.call(this,De),this.setSize()},Le.prototype.scale=function(De,Ze){Ue.prototype.scale.call(this,De,Ze),this.setSize()},Le.typeName="CaptionFrameMarker",Le.title="Caption frame marker",Le.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',Le}(Se),at=function(){function Ue(Le,De){De===void 0&&(De=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=Le,this.cancelable=De}return Object.defineProperty(Ue.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ue.prototype.preventDefault=function(){this._defaultPrevented=!0},Ue}(),Be=function(Ue){function Le(De,Ze,lt){var Fe=Ue.call(this,De,!1)||this;return Fe.dataUrl=Ze,Fe.state=lt,Fe}return oe(Le,Ue),Le}(at),et=function(Ue){function Le(De,Ze,lt){lt===void 0&&(lt=!1);var Fe=Ue.call(this,De,lt)||this;return Fe.marker=Ze,Fe}return oe(Le,Ue),Le}(at),vt=function(){function Ue(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Ue.prototype.addEventListener=function(Le,De){this[Le].push(De)},Ue.prototype.removeEventListener=function(Le,De){var Ze=this[Le].indexOf(De);Ze>-1&&this[Le].splice(Ze,1)},Ue}(),gt=function(){function Ue(Le){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new ke,this._isOpen=!1,this.undoRedoManager=new ft,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new vt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ue.instanceCounter++,this.styles=new re(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=Le,this.targetRoot=document.body,this.width=Le.clientWidth,this.height=Le.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Ue.prototype,"ALL_MARKER_TYPES",{get:function(){return[je,tt,We,Ge,pt,st,$e,Qe,rt,it,Oe,qe,Ie]},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[je,tt,We,Ge,st,$e,Qe]},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"BASIC_MARKER_TYPES",{get:function(){return[je,tt,We,Ge,$e]},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(Le){var De=this;this._availableMarkerTypes.splice(0),Le.forEach(function(Ze){if(typeof Ze=="string"){var lt=De.ALL_MARKER_TYPES.find(function(Fe){return Fe.typeName===Ze});lt!==void 0&&De._availableMarkerTypes.push(lt)}else De._availableMarkerTypes.push(Ze)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(Le){this._zoomLevel=Le,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Ue.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ue.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),x.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ue.prototype.show=function(){var Le=this;this.styles.styleSheetRoot===void 0&&E.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=E.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(De){return De(new at(Le))})},Ue.prototype.render=function(){return ne(this,void 0,void 0,function(){var Le;return te(this,function(De){switch(De.label){case 0:return this.setCurrentMarker(),(Le=new b).naturalSize=this.renderAtNaturalSize,Le.imageType=this.renderImageType,Le.imageQuality=this.renderImageQuality,Le.markersOnly=this.renderMarkersOnly,Le.width=this.renderWidth,Le.height=this.renderHeight,[4,Le.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return De.sent(),[4,Le.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,De.sent()]}})})},Ue.prototype.close=function(Le){var De=this;if(Le===void 0&&(Le=!1),this.isOpen){var Ze=!1;Le||this.eventListeners.beforeclose.forEach(function(lt){var Fe=new at(De,!0);lt(Fe),Fe.defaultPrevented&&(Ze=!0)}),Ze||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(lt){return lt(new at(De))}),this.detachEvents(),this._isOpen=!1)}},Ue.prototype.addMarkersToToolbar=function(){for(var Le,De=[],Ze=0;Ze<arguments.length;Ze++)De[Ze]=arguments[Ze];(Le=this._availableMarkerTypes).push.apply(Le,De)},Ue.prototype.addRenderEventListener=function(Le){this.addEventListener("render",function(De){Le(De.dataUrl,De.state)})},Ue.prototype.removeRenderEventListener=function(Le){},Ue.prototype.addCloseEventListener=function(Le){this.addEventListener("close",function(){Le()})},Ue.prototype.removeCloseEventListener=function(Le){},Ue.prototype.setupResizeObserver=function(){var Le=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){Le.resize(Le.target.clientWidth,Le.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return Le.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Ue.prototype.onPopupTargetResize=function(){var Le=1*this.target.clientWidth/this.target.clientHeight,De=this.editorCanvas.clientWidth/Le>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*Le:this.editorCanvas.clientWidth,Ze=De<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/Le;this.resize(De,Ze)},Ue.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Ue.prototype.resize=function(Le,De){this._isResizing=!0;var Ze=Le/this.imageWidth,lt=De/this.imageHeight;this.imageWidth=Math.round(Le),this.imageHeight=Math.round(De),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(Ze,lt),this._isResizing=!1},Ue.prototype.scaleMarkers=function(Le,De){var Ze,lt=this;this._currentMarker&&this._currentMarker instanceof Ge?this._currentMarker.scale(Le,De):(Ze=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(Fe){Fe!==lt._currentMarker&&Fe.scale(Le,De)}),Ze!==void 0&&this.setCurrentMarker(Ze)},Ue.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},Ue.prototype.setTopLeft=function(){var Le=this.editingTarget.getBoundingClientRect(),De=this.editorCanvas.getBoundingClientRect();this.left=Le.left-De.left,this.top=Le.top-De.top},Ue.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},Ue.prototype.addDefs=function(){for(var Le,De=[],Ze=0;Ze<arguments.length;Ze++)De[Ze]=arguments[Ze];this.defs=z.createDefs(),this.addDefsToImage(),(Le=this.defs).append.apply(Le,De)},Ue.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Ue.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},Ue.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Ue.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Ue.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},Ue.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Ue.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},Ue.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var Le=document.createElement("a");Le.href="https://markerjs.com/",Le.target="_blank",Le.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',Le.title="Powered by marker.js",Le.style.display="grid",Le.style.alignItems="center",Le.style.justifyItems="center",Le.style.padding="3px",Le.style.width="20px",Le.style.height="20px",this.logoUI.appendChild(Le),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ue.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Ue.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Ue.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ue.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var Le=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Le+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new fe(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new ce(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Ue.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Ue.prototype.removeMarker=function(Le){this.markerImage.removeChild(Le.container),this.markers.indexOf(Le)>-1&&this.markers.splice(this.markers.indexOf(Le),1),Le.dispose()},Ue.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Ue.prototype.toolbarButtonClicked=function(Le,De){if(Le==="marker"&&De!==void 0)this.createNewMarker(De);else if(Le==="action")switch(De){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Ue.prototype.deleteSelectedMarker=function(){var Le=this;if(this._currentMarker!==void 0){var De=!1;if(this.eventListeners.markerbeforedelete.forEach(function(lt){var Fe=new et(Le,Le._currentMarker,!0);lt(Fe),Fe.defaultPrevented&&(De=!0)}),!De){var Ze=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(lt){return lt(new et(Le,Ze))})}}},Ue.prototype.clear=function(){var Le=this,De=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(yt){var xt=new et(Le,void 0,!0);yt(xt),xt.defaultPrevented&&(De=!0)}),!De)){this.setCurrentMarker();for(var Ze=function(yt){var xt=lt.markers[yt];lt.setCurrentMarker(lt.markers[yt]),lt._currentMarker.dispose(),lt.markerImage.removeChild(lt._currentMarker.container),lt.markers.splice(lt.markers.indexOf(lt._currentMarker),1),lt.eventListeners.markerdelete.forEach(function(jt){return jt(new et(Le,xt))})},lt=this,Fe=this.markers.length-1;Fe>=0;Fe--)Ze(Fe);this.addUndoStep()}},Object.defineProperty(Ue.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ue.prototype.showNotesEditor=function(){var Le;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(Le=this._currentMarker.notes)!==null&&Le!==void 0?Le:"",this.overlayContainer.appendChild(this.notesArea))},Ue.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Ue.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ue.prototype.addUndoStep=function(){var Le=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var De=this.getState(),Ze=this.undoRedoManager.getLastUndoStep();if(!Ze||Ze.width===De.width&&Ze.height===De.height){var lt=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(De),lt<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(Fe){return Fe(new at(Le))})}else this.undoRedoManager.replaceLastUndoStep(De),this.eventListeners.statechange.forEach(function(Fe){return Fe(new at(Le))})}},Ue.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Ue.prototype.undoStep=function(){var Le=this,De=this.undoRedoManager.undo();De!==void 0&&(this.restoreState(De),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Ze){return Ze(new at(Le))}))},Ue.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Ue.prototype.redoStep=function(){var Le=this,De=this.undoRedoManager.redo();De!==void 0&&(this.restoreState(De),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Ze){return Ze(new at(Le))}))},Ue.prototype.stepZoom=function(){var Le=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=Le<this.zoomSteps.length-1?this.zoomSteps[Le+1]:this.zoomSteps[0]},Ue.prototype.panTo=function(Le){this.contentDiv.scrollBy({left:this.prevPanPoint.x-Le.x,top:this.prevPanPoint.y-Le.y}),this.prevPanPoint=Le},Ue.prototype.startRenderAndClose=function(){return ne(this,void 0,void 0,function(){var Le,De,Ze=this;return te(this,function(lt){switch(lt.label){case 0:return[4,this.render()];case 1:return Le=lt.sent(),De=this.getState(),this.eventListeners.render.forEach(function(Fe){return Fe(new Be(Ze,Le,De))}),this.close(!0),[2]}})})},Ue.prototype.getState=function(Le){Le===!0&&this.setCurrentMarker();var De={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(Ze){return De.markers.push(Ze.getState())}),De},Ue.prototype.restoreState=function(Le){var De=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);Le.markers.forEach(function(Ze){var lt=De._availableMarkerTypes.find(function(yt){return yt.typeName===Ze.typeName});if(lt!==void 0){var Fe=De.addNewMarker(lt);Fe.restoreState(Ze),De.markers.push(Fe)}}),Le.width&&Le.height&&(Le.width!==this.imageWidth||Le.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/Le.width,this.imageHeight/Le.height),this.eventListeners.restorestate.forEach(function(Ze){return Ze(new at(De))})},Ue.prototype.addNewMarker=function(Le){var De=z.createGroup();return this.markerImage.appendChild(De),new Le(De,this.overlayContainer,this.settings)},Ue.prototype.createNewMarker=function(Le){var De,Ze=this;(De=typeof Le=="string"?this._availableMarkerTypes.find(function(lt){return lt.typeName===Le}):Le)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(De),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(De.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(lt){return lt(new et(Ze,Ze._currentMarker))}))},Ue.prototype.markerCreated=function(Le){var De=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(Le),this.setCurrentMarker(Le),Le instanceof tt&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(tt):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(Ze){return Ze(new et(De,De._currentMarker))})},Ue.prototype.colorChanged=function(Le){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=Le,this.settings.defaultStrokeColor=Le)},Ue.prototype.fillColorChanged=function(Le){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=Le)},Ue.prototype.markerStateChanged=function(Le){var De=this;this.eventListeners.markerchange.forEach(function(Ze){return Ze(new et(De,Le))})},Ue.prototype.setCurrentMarker=function(Le){var De=this;this._currentMarker!==Le&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(Ze){return Ze(new et(De,De._currentMarker))})),this._currentMarker=Le,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(Ze){return Ze(new et(De,De._currentMarker))}))},Ue.prototype.onPointerDown=function(Le){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||Le.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var De=this.markers.find(function(Ze){return Ze.ownsTarget(Le.target)});De!==void 0?(this.setCurrentMarker(De),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(Le.clientX,Le.clientY),Le.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:Le.clientX,y:Le.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(Le.clientX,Le.clientY))},Ue.prototype.onDblClick=function(Le){if(this._isFocused||this.focus(),this.mode==="select"){var De=this.markers.find(function(Ze){return Ze.ownsTarget(Le.target)});De!==void 0&&De!==this._currentMarker&&this.setCurrentMarker(De),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(Le.clientX,Le.clientY),Le.target):this.setCurrentMarker()}},Ue.prototype.onPointerMove=function(Le){this.touchPoints!==1&&Le.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||Le.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(Le.clientX,Le.clientY)):this.zoomLevel>1&&this.panTo({x:Le.clientX,y:Le.clientY}))},Ue.prototype.onPointerUp=function(Le){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(Le.clientX,Le.clientY)),this.isDragging=!1,this.addUndoStep()},Ue.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ue.prototype.onKeyUp=function(Le){this._currentMarker===void 0||this.notesArea!==void 0||Le.key!=="Delete"&&Le.key!=="Backspace"||this.deleteSelectedMarker()},Ue.prototype.clientToLocalCoordinates=function(Le,De){var Ze=this.markerImage.getBoundingClientRect();return{x:(Le-Ze.left)/this.zoomLevel,y:(De-Ze.top)/this.zoomLevel}},Ue.prototype.onWindowResize=function(){this.positionUI()},Ue.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var Le=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Le+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Ue.prototype.addLicenseKey=function(Le){x.addKey(Le)},Ue.prototype.addEventListener=function(Le,De){this.eventListeners.addEventListener(Le,De)},Ue.prototype.removeEventListener=function(Le,De){this.eventListeners.removeEventListener(Le,De)},Ue.prototype.renderState=function(Le){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(Le),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ue.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ue.prototype.focus=function(){var Le=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(De){return De(new at(Le))}))},Ue.prototype.blur=function(){var Le=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(De){return De(new at(Le))}))},Ue.instanceCounter=0,Ue}(),dt=Ce(57193),Ve=Ce(63949),Ne=(Ue,Le,De)=>new Promise((Ze,lt)=>{var Fe=jt=>{try{xt(De.next(jt))}catch(Tt){lt(Tt)}},yt=jt=>{try{xt(De.throw(jt))}catch(Tt){lt(Tt)}},xt=jt=>jt.done?Ze(jt.value):Promise.resolve(jt.value).then(Fe,yt);xt((De=De.apply(Ue,Le)).next())}),ot=({data:Ue,className:Le,fullWidth:De,style:Ze={},onClose:lt,onOk:Fe,showFullTools:yt,noAssociationId:xt})=>{const jt=(0,ye.useRef)(null),Tt=(0,ye.useRef)(null),wt=(0,ye.useRef)(null),It=(0,ye.useRef)(null),[Bt,Wt]=(0,ye.useState)(!1),[Qt,dr]=(0,ye.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ye.useEffect)(()=>(wt.current||(wt.current=document.createElement("style"),document.head.appendChild(wt.current)),Ue!=null&&Ue.visible?(document.body.setAttribute("data-custom","y-hidden"),wt.current.innerHTML=" html { overflow-y: hidden; }",Ue!=null&&Ue.src&&lr()):(document.body.removeAttribute("data-custom"),wt.current&&(document.head.removeChild(wt.current),wt.current=null)),()=>{document.body.removeAttribute("data-custom"),wt.current&&(document.head.removeChild(wt.current),wt.current=null)}),[Ue==null?void 0:Ue.visible]);const lr=()=>Ne(void 0,null,function*(){Wt(!0),dr("\u6B63\u5728\u52A0\u8F7D\u4E2D");const zr=yield(0,Ve.ZJ)(Ue==null?void 0:Ue.src);jt.current.src="",jt.current.src=zr,jt.current.onload=function(){rn()},Wt(!1),dr("")}),Or=zr=>Ne(void 0,null,function*(){Wt(!0),dr("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Wr=yield(0,dt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ue.title,file:zr.dataUrl}});Wr!=null&&Wr.id&&!xt?(yield(0,dt.ZP)(`/api/attachments/${Ue.id}/add_subitem.json`,{method:"post",body:{subitem_id:Wr==null?void 0:Wr.id,settings:JSON.stringify(zr.state)}})).status===0&&Fe():Wr!=null&&Wr.id&&Fe(Wr),Wt(!1),dr("")}),Yr=()=>{const zr=document.querySelector('a[href="https://markerjs.com/"]');zr&&zr.parentNode&&(zr.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(sn=>{const bn=document.querySelector(sn.name);bn&&bn.setAttribute("title",sn.title)})},rn=()=>{Tt.current=new gt(jt.current),Tt.current.targetRoot=It.current,Tt.current.addEventListener("render",Or),Tt.current.addEventListener("beforeclose",lt),yt&&(Tt.current.availableMarkerTypes=Tt.current.ALL_MARKER_TYPES,Tt.current.uiStyleSettings.redoButtonVisible=!0,Tt.current.uiStyleSettings.notesButtonVisible=!0,Tt.current.uiStyleSettings.zoomButtonVisible=!0,Tt.current.uiStyleSettings.zoomOutButtonVisible=!0,Tt.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Tt.current.uiStyleSettings,Tt.current.show(),Ue!=null&&Ue.snapshotData&&Tt.current.restoreState(Ue.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Yr()},300)};return ye.createElement(ye.Fragment,null,(Ue==null?void 0:Ue.visible)&&ye.createElement(de.Z,{spinning:Bt,tip:Qt,style:{position:"absolute",width:"100vw"}},ye.createElement("div",{ref:It,className:he()(ze.imageDimensions,Le,De?ze.fullWidth:""),style:Ze},ye.createElement("img",{className:ze.img,ref:jt}))))}},24638:function(bt,mt,Ce){"use strict";var ye=Ce(59301),ze=Ce(77019),a=Ce(5269),he=Ce(20554),de=Ce(99571),ee=Ce(97231),oe=Ce(27431),ne=Ce(48136),te=Ce(59301);const se=(0,ye.forwardRef)(({callback:z,showSaveButton:x,value:b=""},E)=>{const re=(0,ye.useRef)(),ae=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],le=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],fe=ge=>{re.current.setValue(re.current.getValue()+" "+ge.value+" ")},ce=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:te.createElement(ze.Z,{className:oe.Z.lists,gutter:[10,10]},ae.map((ge,_e)=>te.createElement(a.Z,{flex:"110px",className:oe.Z.item},te.createElement("div",null,te.createElement(ee.Z,{value:`$$${ge.value}$$`}),ge.name),te.createElement("div",{className:oe.Z.children},ge.children.map((we,xe)=>te.createElement("div",{key:xe},te.createElement("h1",null,we.name),te.createElement(ze.Z,{gutter:[10,10]},we.data.map((ve,Se)=>te.createElement(a.Z,{key:Se,onClick:()=>fe(ve),className:oe.Z.diamond},te.createElement(ee.Z,{value:"`$$"+ve.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:te.createElement(ze.Z,{className:oe.Z.lists,gutter:[10,10]},le.map((ge,_e)=>te.createElement(a.Z,{flex:"110px",className:oe.Z.item},te.createElement("div",null,te.createElement(ee.Z,{value:"`$$"+ge.value+"$$`"}),ge.name),te.createElement("div",{className:oe.Z.children},ge.children.map((we,xe)=>te.createElement("div",{key:xe},we.name&&te.createElement("h1",null,we.name),te.createElement(ze.Z,{gutter:[10,10]},we.data.map((ve,Se)=>te.createElement(a.Z,{key:Se,onClick:()=>fe(ve),className:oe.Z.diamond},te.createElement(ee.Z,{value:"`$$"+ve.value+"$$`"}))))))))))}],ue=()=>{var ge=document.createElement("div");ge.innerHTML=re.current.getValue();var _e=ge.innerText;return z&&z(_e),_e};return(0,ye.useImperativeHandle)(E,()=>({getData:ue})),te.createElement("div",{className:oe.Z.mathWrap},te.createElement(he.default,{defaultActiveKey:"1",items:ce}),te.createElement("math-field",{locale:"zh_cn",className:oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:re,style:{width:800,marginTop:30,fontSize:18}},b||""),x&&te.createElement("div",{className:oe.Z.button},te.createElement(de.ZP,{size:"large",onClick:ue,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});mt.Z=se},13922:function(bt,mt,Ce){"use strict";var ye=Ce(59301),ze=Ce(93314),a=Ce(99571),he=Object.defineProperty,de=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,se=(E,re,ae)=>re in E?he(E,re,{enumerable:!0,configurable:!0,writable:!0,value:ae}):E[re]=ae,z=(E,re)=>{for(var ae in re||(re={}))ne.call(re,ae)&&se(E,ae,re[ae]);if(oe)for(var ae of oe(re))te.call(re,ae)&&se(E,ae,re[ae]);return E},x=(E,re)=>de(E,ee(re));const b=({img:E,buttonProps:re={},styles:ae={},customText:le,ButtonText:fe,ButtonClick:ce,Buttonclass:ue,ButtonTwo:ge,imgStyles:_e,loading:we=!1,className:xe=""})=>ye.createElement("section",{className:`tc animated fadeIn ${xe}`,style:z({color:"#999",margin:"100px auto",visibility:we?"hidden":"visible"},ae)},ye.createElement("img",{src:E||ze,style:x(z({},_e),{pointerEvents:"none",userSelect:"none"})}),ye.createElement("p",{className:"mt20 font14"},le||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),fe&&ye.createElement(a.ZP,z({className:ue,onClick:ce},re),fe),ge&&ge);mt.Z=b},9931:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return ue}});var ye=Ce(59301),ze={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},a=Ce(99571),he=Ce(70557),de=Ce(95440),ee=Ce(25399),oe=Ce(63949),ne=Ce(75823),te=Ce(13922),se=Ce(78323),z=Ce(14084),x=Ce(59301),b=Object.defineProperty,E=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(ge,_e,we)=>_e in ge?b(ge,_e,{enumerable:!0,configurable:!0,writable:!0,value:we}):ge[_e]=we,fe=(ge,_e)=>{for(var we in _e||(_e={}))re.call(_e,we)&&le(ge,we,_e[we]);if(E)for(var we of E(_e))ae.call(_e,we)&&le(ge,we,_e[we]);return ge},ce=(ge,_e,we)=>new Promise((xe,ve)=>{var Se=Te=>{try{Ae(we.next(Te))}catch(je){ve(je)}},be=Te=>{try{Ae(we.throw(Te))}catch(je){ve(je)}},Ae=Te=>Te.done?xe(Te.value):Promise.resolve(Te.value).then(Se,be);Ae((we=we.apply(ge,_e)).next())}),ue=({editOffice:ge="view",data:_e,issaver:we,onSaver:xe,theme:ve,type:Se,filename:be,monacoEditor:Ae,className:Te,style:je,close:ke,onClose:Pe,hasMask:Oe,disabledDownload:He,onImgDimensions:Ge,showNodata:tt,recordInfo:Me})=>{const[We,it]=(0,ye.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[ut,$e]=(0,ye.useState)(""),[Je,Xe]=(0,ye.useState)(),Qe=window.ENV==="build"?"/react/build":"",st=location.host.startsWith("localhost")?se.Z.PROXY_SERVER:se.Z.API_SERVER,pt=10*(1024*1024),ft=(0,ye.useRef)();_e!=null&&_e.startsWith("/api")&&Se!=="txt"&&(_e=se.Z.API_SERVER+_e);const qe=vt=>vt.substring(vt.lastIndexOf("/")+1).split(".").pop();be&&Ae&&(Ae.filename=be),(0,ye.useEffect)(()=>{var vt,gt;const dt=(gt=(vt=document.cookie)==null?void 0:vt.replace(/\s/g,""))==null?void 0:gt.split(";");dt==null||dt.map(Ve=>{let Ne=Ve.split("=");Ne[0]==="_educoder_session"&&$e(Ne[1])})},[]),(0,ye.useEffect)(()=>{Se==="office"&&(_e.indexOf("bigfilescdn.")>-1||_e.indexOf("bigfiles1")>-1?Xe({url:_e,fileType:qe(_e),model:_e.indexOf("model=edit")?"edit":"view"}):at())},[Se,_e]);function Ie(vt){return ce(this,null,function*(){vt.data.type==="pdfdata"&&(xe(vt.data.data),window.removeEventListener("message",Ie,!1)),console.log("mess---:",vt.data)})}const at=()=>ce(void 0,null,function*(){console.log("data:",_e);let vt=_e;_e.startsWith("http")||(vt=location.origin+vt);let gt=new URL(vt).pathname.split("/").pop();const dt=yield(0,ne.gJ)({attachment_id:gt});dt.url=st+dt.url,Xe(dt)}),Be=()=>{if(_e.startsWith("http")||_e.startsWith("blob:")){et();return}(0,oe.Sv)(be||"educoder",_e,be)},et=()=>{Me&&(0,z.fc)({id:Me==null?void 0:Me.id,watch_type:1,course_id:Me==null?void 0:Me.course_id}),(0,oe.Nd)(be||"educoder",decodeURIComponent(_e))};return x.createElement("div",{style:fe({},je||{}),className:`${Oe&&ze.bgBlack} ${Se?ze.wrp:"hide"}`},ke&&x.createElement("div",{className:ze.close,ref:ft},!!Ge&&x.createElement(ee.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ft.current},x.createElement("span",{onClick:()=>{Pe(),Ge()}},x.createElement("i",{className:"icon-yulanpizhu"}))),!He&&x.createElement(ee.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ft.current},x.createElement("span",{onClick:et},x.createElement("i",{className:"icon-quxiaozhiding"}))),we&&x.createElement(ee.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ft.current},x.createElement("span",{className:"",onClick:()=>{const vt=document.getElementById("pdfiframe");window.addEventListener("message",Ie,!1),setTimeout(()=>{vt.contentWindow.postMessage("getData","*")},300)}},x.createElement("i",{className:"icon-baocun"}))),x.createElement(ee.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ft.current},x.createElement("span",{className:"",onClick:()=>{Pe()}},x.createElement("i",{className:"icon-guanbi1"})))),x.createElement("div",{className:`${ze[Te]} ${Te} ${ze.monaco} ${Se==="txt"?"show":"hide"}`},Se==="txt"&&x.createElement(x.Fragment,null,x.createElement(de.ZP,fe({},Ae)))),Se==="audio"&&x.createElement("audio",{src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${_e}`,autoPlay:!0}),Se==="video"&&x.createElement(x.Fragment,null,(_e==null?void 0:_e.indexOf("http"))>-1?x.createElement("video",{controls:!0,src:`${_e}`,autoPlay:!0}):x.createElement("video",{controls:!0,src:`data:video/mp4;base64,${_e}`,autoPlay:!0})),Se==="office"&&Je&&x.createElement("iframe",{src:`${Qe}/office.html?key=${Je.key}&url=${btoa(Je.url)}&callbackUrl=${st+(Je.callbackUrl||"")}&fileType=${Je.fileType}&title=${Je.title||""}&model=${ge}&officeServer=${se.Z.ONLYOFFICE}&disabledDownload=${!!He}`}),Se==="html"&&x.createElement("iframe",{src:_e+"&disposition=inline"}),Se==="pdf"&&x.createElement("iframe",{id:"pdfiframe",src:`${Qe}/js/pdfview/index.html?filename=${be||"educoder.pdf"}&url=${encodeURIComponent(_e)}&disabledDownload=${!!He}&model=${ge}`}),Se==="image"&&x.createElement("img",{src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:image/png;base64,"}${_e}`}),(Se==="other"||Se==="download")&&x.createElement(x.Fragment,null,tt?x.createElement(te.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:x.createElement(a.ZP,{icon:x.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Be,disabled:He},"\u4E0B\u8F7D")}):x.createElement(a.ZP,{type:"primary",size:"middle",onClick:Be,disabled:He},x.createElement(he.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Se==="flowChart"&&x.createElement("div",{className:"embed"},x.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${_e||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},97231:function(bt,mt,Ce){"use strict";Ce.d(mt,{z:function(){return Ae},Z:function(){return Te}});var ye=Ce(59301),ze=Ce(79562),a=Ce(901),he=Ce(64018),de=Ce(80360),ee=Ce(78323),oe=Ce(63949),ne=Ce(15342),te=Ce(44104),se=Ce(99571),z=Ce(1012),x=Ce(9931),b=Ce(59301),re=({html:je})=>{const ke=(0,ye.useRef)(null),Pe=(0,ye.useRef)(null),Oe=`.markdown-body p {
margin: 0 0 16px 0 !important;
line-height: 28px;
white-space: pre-wrap;
}
ol,
ul,
li {
list-style-type: none
}
ol,
ul,
dl {
margin-bottom: 0px;
}
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
word-break: break-word;
font-size: 16px;
line-height: 1.6;
white-space: normal;
word-wrap: break-word;
position: relative;
}
.markdown-body ul>li {
list-style-type: disc;
}
.markdown-body ol>li {
list-style-type: decimal;
}
.markdown-body a {
background: transparent;
}
.markdown-body a:active,
.markdown-body a:hover {
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-body img {
border: 0;
}
.markdown-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
font-size: 1em;
}
.markdown-body input {
color: inherit;
font: inherit;
margin: 0;
}
.markdown-body html input[disabled] {
cursor: default;
}
.markdown-body input {
line-height: normal;
}
.markdown-body input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
.markdown-body table {
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.markdown-body * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
}
.markdown-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before {
display: table;
content: "";
}
.markdown-body hr:after {
display: table;
clear: both;
content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
font-size: 30px;
}
.markdown-body h2 {
font-size: 21px;
}
.markdown-body h3 {
font-size: 16px;
}
.markdown-body h4 {
font-size: 14px;
}
.markdown-body h5 {
font-size: 12px;
}
.markdown-body h6 {
font-size: 11px;
}
.markdown-body blockquote {
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.linenums,
ol.linenums {
padding: 16px 0 0 56px !important;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
}
.markdown-body ol ol,
.markdown-body ul ol {
list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
list-style-type: lower-alpha;
}
.markdown-body dd {
margin-left: 0;
}
.markdown-body code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body .anchor {
position: absolute;
top: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
display: inline-block;
}
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
line-height: 1;
}
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
line-height: 1;
}
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
}
.markdown-body h3 .anchor {
line-height: 1.2;
}
.markdown-body h4 {
font-size: 1.25em;
}
.markdown-body h4 .anchor {
line-height: 1.2;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h5 .anchor {
line-height: 1.1;
}
.markdown-body h6 {
font-size: 1em;
color: #777;
}
.markdown-body h6 .anchor {
line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
.markdown-body table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
.markdown-body table th {
font-weight: bold;
text-align: revert;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown-body img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
.markdown-body code:has(.katex) {
background-color: transparent;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\\00a0";
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-body .highlight {
margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
}
.markdown-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-mdh,
.markdown-body .pl-mm,
.markdown-body .pl-mp,
.markdown-body .pl-mr,
.markdown-body .pl-s1 .pl-v,
.markdown-body .pl-s3,
.markdown-body .pl-sc,
.markdown-body .pl-sv {
color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
}
.markdown-body .pl-s1 .pl-s2,
.markdown-body .pl-smi,
.markdown-body .pl-smp,
.markdown-body .pl-stj,
.markdown-body .pl-vo,
.markdown-body .pl-vpf {
color: #333;
}
.markdown-body .pl-ent {
color: #63a35c;
}
.markdown-body .pl-k,
.markdown-body .pl-s,
.markdown-body .pl-st {
color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s1,
.markdown-body .pl-s1 .pl-pse .pl-s2,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre,
.markdown-body .pl-src {
color: #df5000;
}
.markdown-body .pl-mo,
.markdown-body .pl-v {
color: #1d3e81;
}
.markdown-body .pl-id {
color: #b52a1d;
}
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
font-weight: bold;
}
.markdown-body .pl-ml {
color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
}
.markdown-body .pl-mq {
color: #008080;
}
.markdown-body .pl-mi {
color: #333;
font-style: italic;
}
.markdown-body .pl-mb {
color: #333;
font-weight: bold;
}
.markdown-body .pl-md,
.markdown-body .pl-mdhf {
background-color: #ffecec;
color: #bd2c00;
}
.markdown-body .pl-mdht,
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
}
.markdown-body .pl-mdr {
color: #795da3;
font-weight: bold;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .task-list-item {
list-style-type: none;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}
/*! Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln {
color: #000
}
/* plain text */
@media screen {
.str {
color: #080
}
/* string content */
.kwd {
color: #008
}
/* a keyword */
.com {
color: #800
}
/* a comment */
.typ {
color: #606
}
/* a type name */
.lit {
color: #066
}
/* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun,
.opn,
.clo {
color: #660
}
.tag {
color: #008
}
/* a markup tag name */
.atn {
color: #606
}
/* a markup attribute name */
.atv {
color: #080
}
/* a markup attribute value */
.dec,
.var {
color: #606
}
/* a declaration; a variable name */
.fun {
color: red
}
/* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print,
projection {
.str {
color: #060
}
.kwd {
color: #006;
font-weight: bold
}
.com {
color: #600;
font-style: italic
}
.typ {
color: #404;
font-weight: bold
}
.lit {
color: #044
}
.pun,
.opn,
.clo {
color: #440
}
.tag {
color: #006;
font-weight: bold
}
.atn {
color: #404
}
.atv {
color: #060
}
}
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
padding: 2px;
/* border: 1px solid #888 */
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0
}
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
list-style-type: none
}
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
background: #eee
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}`;return(0,ye.useEffect)(()=>{const He=ke.current.attachShadow({mode:"open"});Pe.current=document.createElement("div"),Pe.current.className="markdown-body",Pe.current.innerHTML=je,He.appendChild(Pe.current);const Ge=document.createElement("style");return Ge.textContent=Oe,He.appendChild(Ge),()=>{He.innerHTML=""}},[]),(0,ye.useEffect)(()=>{Pe.current&&(Pe.current.innerHTML=je)},[je]),b.createElement("div",{ref:ke})};function ae(je){const ke=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],Pe=new RegExp(`\\b(${ke.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return je.replace(Pe,"").trim()}var le={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},fe=Object.defineProperty,ce=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,_e=(je,ke,Pe)=>ke in je?fe(je,ke,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):je[ke]=Pe,we=(je,ke)=>{for(var Pe in ke||(ke={}))ue.call(ke,Pe)&&_e(je,Pe,ke[Pe]);if(ce)for(var Pe of ce(ke))ge.call(ke,Pe)&&_e(je,Pe,ke[Pe]);return je};const xe="@\u2581\u2581@",ve="@\u2581@",Se=/<pre[^>]*>/g;function be(je){let ke=document.createElement("div");return ke.innerHTML=je,ke.childNodes.length===0?"":ke.childNodes[0].nodeValue}const Ae=(je,ke)=>{je=je||"";const Pe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Oe=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,He=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ge=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ke?je.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Pe,(tt,Me,We,it,ut,$e,Je)=>{const Xe=Me||it||$e,Qe=We||ut||Je||"?";return ee.Z.API_SERVER+"/api/attachments/"+Xe+Qe+"&t="+(0,oe.Jn)(Xe,Date.now())+(tt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(je=je.replace(Ge,(tt,Me,We,it,ut,$e,Je)=>{const Xe=Me||it||$e,Qe=We||ut||Je||"?";return ee.Z.API_SERVER+"/attachments/download/"+Xe+Qe+"&t="+(0,oe.Jn)(Xe,Date.now())+(tt.indexOf(")")>-1?")":"&")}).replace(Pe,(tt,Me,We,it,ut,$e,Je)=>{const Xe=Me||it||$e,Qe=We||ut||Je||"?";return ee.Z.API_SERVER+"/api/attachments/"+Xe+Qe+"&t="+(0,oe.Jn)(Xe,Date.now())+(tt.indexOf(")")>-1?")":"&")}).replace(Oe,(tt,Me,We,it,ut)=>{const $e=Me||it,Je=We||ut||"";return'"'+ee.Z.API_SERVER+"/api/attachments/"+$e+Je+$e+Je+"&t="+(0,oe.Jn)($e,Date.now())}).replace(He,(tt,Me,We,it,ut)=>{const $e=Me||it,Je=We||ut||"";return"("+ee.Z.API_SERVER+"/files/uploads/"+$e+Je+$e+Je+"&t="+(0,oe.Jn)($e,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),je)};var Te=({value:je="",edit:ke=!1,className:Pe,showTextOnly:Oe,showLines:He,style:Ge={},stylesPrev:tt={},highlightKeywords:Me,showProgramFill:We,isProgramFill:it,disabledFill:ut=!1,programFillValue:$e,openEditor:Je=()=>{},onFillChange:Xe=rt=>{},onFillBlur:Qe=()=>{},onFillFocus:st=()=>{}})=>{let rt=ae(String(je||""));const pt=(0,ye.useRef)(),ft=(0,ye.useRef)(),[qe,Ie]=(0,ye.useState)(""),[at,Be]=(0,ye.useState)("office"),[et,vt]=(0,ye.useState)([]),gt=(0,ye.useRef)("a"+(0,z.Z)()),dt={},Ve=wt=>/<style[\s\S]*?>/i.test(wt||""),Ne=(wt,It,Bt)=>{const Wt=document.createElement(wt===ve?"input":"textarea");Wt.style.width="100%",Wt.style.height=wt===ve?"40px":"151px",Wt.rows=5,Wt.spellcheck=!1,Wt.name="edu-program-fill",Wt.placeholder="\u8BF7\u8F93\u5165",Wt.dataset.id=It;const Qt=Object.keys(dt).length;return dt[Qt]=Wt,`<span class="edu-program-fill-wrap ${wt===ve?"":"show"}" style="width:${wt===ve?"600px":"100%"}" title=${Bt||""}><span>${Wt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Ye(wt){return wt=wt.replace(/!\[.*?\]\(.*?\)/g,""),wt=wt.replace(/\[.*?\]\(.*?\)/g,""),wt=wt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),wt=wt.replace(/<embed.*?>/g,""),wt=wt.replace(/<img.*?>/g,""),wt=wt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),wt=wt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),wt=wt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),wt=wt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),wt}const ot=wt=>!Oe&&Ve(rt)?wt:wt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(It,Bt){let Wt=Bt.replace(/(\n|\r)/g,"").split("}"),Qt=[];return Wt.map(dr=>{dr!=""&&Qt.push(`.${gt.current} ${dr}`)}),`<style>${Qt.join("}")}</style>`}),Ue=(0,ye.useMemo)(()=>{try{const Wt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Qt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,dr=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,lr=/\(\/attachments\/download\//g;rt=rt.replace(lr,"("+ee.Z.API_SERVER+"/attachments/download/").replace(Wt,"("+ee.Z.API_SERVER+"/api/attachments/").replace(Qt,'"'+ee.Z.API_SERVER+"/api/attachments/").replace(dr,'"'+ee.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),pt.current.style.display="none"}catch(Wt){}if(We){let Wt=-1;return rt=rt.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Qt,dr,lr){var Or;return++Wt,Ne(Qt,Wt,(Or=$e==null?void 0:$e[Wt])==null?void 0:Or.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${ot(rt||"")}</pre>`}let wt=ot(rt);wt=(0,a.ZP)(wt);const It=(0,a.ez)();rt.match(/\[TOC\]/)&&(wt=wt.replace("<p>[TOC]</p>",(0,a.Qv)()),(0,a.Iy)()),wt=wt.replace(/(__special_katext_id_\d+__)/g,(Wt,Qt)=>{const{type:dr,expression:lr}=It[Qt];return(0,ne.renderToString)(be(lr)||"",{displayMode:dr==="block",throwOnError:!1,output:"html"})}),wt=wt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,a.AL)();const Bt=document.createElement("div");if(Bt.innerHTML=wt,Oe)return Bt.innerText;if(Me){const Wt=Me.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return lt(Bt,Wt),Bt.innerHTML}return setTimeout(()=>xt(),500),Bt.innerHTML},[rt,Me]);(0,ye.useEffect)(()=>{Fe.current&&Fe.current.querySelectorAll(["input","textarea"]).forEach(It=>{It.oninput=Le,It.onblur=De,It.onfocus=Ze})},[et]),(0,ye.useEffect)(()=>{var wt,It,Bt,Wt,Qt;if($e!=null&&$e.length)try{const dr=Fe.current.querySelectorAll(".edu-program-fill-score"),lr=Fe.current.querySelectorAll('[name="edu-program-fill"]');for(const[Or,Yr]of lr.entries())Yr.value=((wt=$e==null?void 0:$e[Or])==null?void 0:wt.value)||"",((It=$e==null?void 0:$e[Or])==null?void 0:It.type)==="warning"?Yr.className="program-fill-warning":((Bt=$e==null?void 0:$e[Or])==null?void 0:Bt.type)==="success"?Yr.className="program-fill-success":Yr.className="";for(const[Or,Yr]of dr.entries())Yr.innerHTML=(Wt=$e==null?void 0:$e[Or])!=null&&Wt.score?`${(Qt=$e==null?void 0:$e[Or])==null?void 0:Qt.score}\u5206`:"";vt($e)}catch(dr){console.log(dr,"error")}},[$e]);const Le=wt=>{et[wt.target.dataset.id]=et[wt.target.dataset.id]||{},et[wt.target.dataset.id].value=wt.target.value,vt([...et]),Xe(et,wt.target.dataset.id)},De=wt=>{et[wt.target.dataset.id]=et[wt.target.dataset.id]||{},et[wt.target.dataset.id].value=wt.target.value,vt([...et]),Qe(et,wt.target.dataset.id)},Ze=wt=>{et[wt.target.dataset.id]=et[wt.target.dataset.id]||{},et[wt.target.dataset.id].value=wt.target.value,vt([...et]),st(et,wt.target.dataset.id)};function lt(wt,It){return wt.childNodes.forEach(Bt=>{var Wt;if(Bt.childNodes.length>0)lt(Bt,It);else if(Bt.nodeName!=="IMG")if(Bt.innerHTML)Bt.innerHTML=(Wt=Bt.innerHTML)==null?void 0:Wt.replace(new RegExp(It,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Qt=document.createElement("span");Qt.innerHTML=Bt.textContent.replace(new RegExp(It,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Bt.replaceWith(Qt)}})}const Fe=(0,ye.useRef)();a.jb.WebkitLineClamp=He,He&&(Ge=we(we({},Ge),a.jb));function yt(wt){let It=wt.target;if(It.tagName.toUpperCase()==="A"){let Bt=It.getAttribute("href");if(Bt.indexOf("office")>-1)wt.preventDefault(),Ie(Bt),Be("office");else if(Bt.indexOf("application/pdf")>-1)wt.preventDefault(),Ie(Bt),Be("pdf");else if(Bt.indexOf("text/html")>-1)wt.preventDefault(),Ie(Bt),Be("html");else if(Bt.startsWith("#")){wt.preventDefault();let Wt=document.getElementById(Bt.replace("#",""));Wt&&Wt.scrollIntoView(!0)}}}const xt=()=>{var wt;const It=(wt=Fe.current)==null?void 0:wt.querySelectorAll("video");It==null||It.forEach(Bt=>{if(Bt.oncontextmenu=()=>!1,Bt.src.indexOf(".m3u8")>-1&&!Bt.canPlayType("application/vnd.apple.mpegurl")){if(de.ZP.isSupported()){var Wt=new de.ZP;Wt.loadSource(Bt.src),Wt.attachMedia(Bt)}}})};(0,ye.useEffect)(()=>{if(Fe.current&&Ue&&Ue.match(Se)&&window.PR.prettyPrint(),Fe.current)return Fe.current.addEventListener("click",yt),()=>{var wt;(wt=Fe.current)==null||wt.removeEventListener("click",yt),(0,a.AL)(),(0,a.Iy)()}},[Ue,Fe.current,yt]);const jt=wt=>{wt.target.nodeName==="IMG"&&wt.target.className.indexOf("draw-flowchart")>-1?(pt.current.style.zIndex=1,pt.current.style.display="flex",pt.current.style.width=wt.target.clientWidth+"px",pt.current.style.height=wt.target.clientHeight+"px",pt.current.style.top=wt.target.offsetTop+"px",pt.current.style.left=wt.target.offsetLeft+"px",wt.target.id&&(ft.current=wt.target.id)):pt.current.style.display="none"},Tt=()=>{pt.current.style.display="none"};return(0,ye.useEffect)(()=>{var wt;const It=Bt=>{Bt.preventDefault(),Bt.clipboardData.setData("text",window.getSelection().toString())};return(wt=Fe.current)==null||wt.addEventListener("copy",It),()=>{var Bt;(Bt=Fe.current)==null||Bt.removeEventListener("copy",It)}},[Fe.current]),ye.createElement("div",{style:{position:"relative"},onMouseLeave:Tt},Oe&&ye.createElement("div",{ref:Fe,className:`${le.mdBody} `},Ue),!Oe&&!Ve(Ue)&&ye.createElement("div",{ref:Fe,style:we({},Ge),onMouseOver:jt,className:`${Pe||""} ${ut?"disabled-fill":""} markdown-body ${le.mdBody} ${gt.current}`,dangerouslySetInnerHTML:{__html:Ue}}),!Oe&&Ve(Ue)&&ye.createElement(re,{html:Ue}),ye.createElement("div",{ref:pt,className:`${le.button} ${ke?"":le.previewFlowChart}`},ye.createElement(te.Z,null,ye.createElement(se.ZP,{onClick:()=>{ke?Je(ft.current):(Ie(ft.current),Be("flowChart"))}},ke?"\u7F16\u8F91":"\u9884\u89C8"))),ye.createElement(x.Z,{close:!0,data:qe,type:qe!=null&&qe.length?at:"",style:we({},tt),onClose:()=>Ie("")}))}},35191:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return he}});var ye=Ce(95392),ze={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},a=Ce(59301),he=({message:de,className:ee,children:oe,style:ne={}})=>a.createElement("div",{className:`custom-spinner ${ze.idsRingWrapper} ${ee}`},a.createElement("div",{className:ze.ldsRing},a.createElement("div",null),a.createElement("div",null),a.createElement("div",null),a.createElement("div",null)),de?a.createElement("p",{style:ne},de):null,oe,a.createElement(ye.Outlet,null))},7181:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return ee}});var ye=Ce(59301),ze={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},a=Ce(92310),he=Ce.n(a),ee=({className:oe,style:ne={},leftNode:te,leftTitle:se="\u81EA\u6D4B\u8F93\u5165",rightNode:z,rightTitle:x="\u8FD0\u884C\u7ED3\u679C"})=>ye.createElement("div",{className:he()(ze.result,oe),style:ne},ye.createElement("div",{className:ze.left},ye.createElement("div",{className:ze.title},ye.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ye.createElement("span",null,se)),ye.createElement("div",{className:ze.leftNode},te)),ye.createElement("div",{className:ze.right},ye.createElement("div",{className:ze.title},ye.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ye.createElement("span",null,x)),ye.createElement("div",{className:ze.rightNode},z)))},96345:function(bt,mt,Ce){"use strict";var ye=Ce(59301),ze=Ce(59301);const a=({text:he,speed:de=100})=>{const[ee,oe]=(0,ye.useState)(""),ne=(0,ye.useRef)(0);return(0,ye.useEffect)(()=>{oe(""),ne.current=0;const te=setInterval(()=>{ne.current<he.length?(oe(se=>se+he.charAt(ne.current)),ne.current+=1):clearInterval(te)},de);return()=>{clearInterval(te)}},[he]),ze.createElement("div",{className:"c-black"},ee)};mt.Z=a},79633:function(bt,mt,Ce){"use strict";Ce.d(mt,{cT:function(){return Se},pe:function(){return we}});var ye=Ce(59301),ze=Ce(14566),a=Ce(6767),he=Ce(57193),de=Ce(28209),ee=Ce.n(de),oe=Ce(1012),ne=Ce(95392),te=Ce(47257),se=Ce.n(te),z=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(Ae,Te,je)=>Te in Ae?z(Ae,Te,{enumerable:!0,configurable:!0,writable:!0,value:je}):Ae[Te]=je,fe=(Ae,Te)=>{for(var je in Te||(Te={}))re.call(Te,je)&&le(Ae,je,Te[je]);if(E)for(var je of E(Te))ae.call(Te,je)&&le(Ae,je,Te[je]);return Ae},ce=(Ae,Te)=>x(Ae,b(Te)),ue=(Ae,Te)=>{var je={};for(var ke in Ae)re.call(Ae,ke)&&Te.indexOf(ke)<0&&(je[ke]=Ae[ke]);if(Ae!=null&&E)for(var ke of E(Ae))Te.indexOf(ke)<0&&ae.call(Ae,ke)&&(je[ke]=Ae[ke]);return je},ge=(Ae,Te,je)=>new Promise((ke,Pe)=>{var Oe=tt=>{try{Ge(je.next(tt))}catch(Me){Pe(Me)}},He=tt=>{try{Ge(je.throw(tt))}catch(Me){Pe(Me)}},Ge=tt=>tt.done?ke(tt.value):Promise.resolve(tt.value).then(Oe,He);Ge((je=je.apply(Ae,Te)).next())});const{Dragger:_e}=ze.default,we=Ae=>{const Te="bf3c199c2470cb477d907b1e0917c17b",je="5183666c72eec9e4";var ke=ee().enc.Utf8.parse(Te);let Pe=ee().enc.Utf8.parse(je);var Oe=ee().AES.decrypt(Ae,ke,{iv:Pe,mode:ee().mode.CBC});return Oe.toString(ee().enc.Utf8)};let xe;const ve=Ae=>ge(void 0,[Ae],function*({identifier:Te,oldFilename:je,newFilename:ke}){var Pe,Oe,He,Ge,tt,Me;const We=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});We.data=JSON.parse(we(We.data));const it=new OSS({endpoint:(Pe=We==null?void 0:We.data)==null?void 0:Pe.end_point,region:(Oe=We==null?void 0:We.data)==null?void 0:Oe.region,accessKeyId:(He=We==null?void 0:We.data)==null?void 0:He.access_key_id,accessKeySecret:(Ge=We==null?void 0:We.data)==null?void 0:Ge.access_key_secret,bucket:(tt=We==null?void 0:We.data)==null?void 0:tt.bucket,stsToken:(Me=We==null?void 0:We.data)==null?void 0:Me.security_token});return new Promise((ut,$e)=>{console.log(11111,`${Te}/${je}`,`${Te}/${ke}`,We.data),it.copy(`/${Te}/${je}`,`/${Te}/${ke}`).then(Je=>{console.log("\u62F7\u8D1D\u6210\u529F",Je)}).catch(Je=>{console.log(Je)})})}),Se=(Ae,Te,je)=>ge(void 0,null,function*(){var ke,Pe,Oe,He,Ge,tt;Te.file_name=Ae.name;const Me=yield(0,he.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",we(Me.data)),Me.data=JSON.parse(we(Me.data));const We=Ae.name.split(".");We.pop();const it=Te.realFileName?We.join(""):(0,oe.Z)(),ut=new(se())({endpoint:(ke=Me==null?void 0:Me.data)==null?void 0:ke.end_point,region:(Pe=Me==null?void 0:Me.data)==null?void 0:Pe.region,accessKeyId:(Oe=Me==null?void 0:Me.data)==null?void 0:Oe.access_key_id,accessKeySecret:(He=Me==null?void 0:Me.data)==null?void 0:He.access_key_secret,bucket:(Ge=Me==null?void 0:Me.data)==null?void 0:Ge.bucket,stsToken:(tt=Me==null?void 0:Me.data)==null?void 0:tt.security_token});return new Promise(($e,Je)=>{var Xe;ut.multipartUpload(`${it}`,new Blob([Ae],{type:Ae.type}),ce(fe({timeout:200*1e3,partSize:102400},je),{callback:{url:(Xe=Me==null?void 0:Me.data)==null?void 0:Xe.callback_url,host:Me==null?void 0:Me.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,he.rz)(Te)}})).then(function(Qe){var st;Ae.response=(st=Qe.data)==null?void 0:st.data,$e(Qe==null?void 0:Qe.data)}).catch(function(Qe){Je(Qe),console.log("err:",Qe)})})}),be=Ae=>{var Te=Ae,{user:je,cancelUpload:ke}=Te,Pe=ue(Te,["user","cancelUpload"]);const[Oe,He]=(0,ye.useState)([]);let[Ge,tt]=(0,ye.useState)();const Me={onRemove:it=>{He([...Oe.filter(ut=>ut.name!==it.name)]),Pe.onChange(Oe.filter(ut=>ut.name!==it.name))},disabled:Pe.disabled,multiple:!0,fileList:Oe==null?void 0:Oe.map(it=>it.file),customRequest:()=>{},beforeUpload:it=>ge(void 0,null,function*(){let ut=Pe.maxSize||1073741824;if(Oe.filter($e=>$e.name===it.name).length){a.ZP.info(`${it.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(it==null?void 0:it.size)>ut?(a.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${ut/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(Oe.push({name:it.name,file:it}),He([...Oe]),Pe.onChange(Oe),!1)})},We=(it,ut)=>ge(void 0,null,function*(){var $e,Je,Xe,Qe,st,rt;ut.file_name=it.name;const pt=it.name,ft=yield(0,he.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(ft.data=JSON.parse(we(ft.data)),(ft==null?void 0:ft.status)!==0){Oe[Oe.findIndex(at=>at.name===pt)].status="error",Oe[Oe.findIndex(at=>at.name===pt)].file.status="error",Pe.onChange(Oe),a.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Ge=new(se())({endpoint:($e=ft==null?void 0:ft.data)==null?void 0:$e.end_point,region:(Je=ft==null?void 0:ft.data)==null?void 0:Je.region,accessKeyId:(Xe=ft==null?void 0:ft.data)==null?void 0:Xe.access_key_id,accessKeySecret:(Qe=ft==null?void 0:ft.data)==null?void 0:Qe.access_key_secret,bucket:(st=ft==null?void 0:ft.data)==null?void 0:st.bucket,stsToken:(rt=ft==null?void 0:ft.data)==null?void 0:rt.security_token}),console.log(it,"file"),tt(Ge);const qe=it.name.split(".");qe.pop();const Ie=pt.indexOf(".")>-1?ut.realFileName?qe.join("."):(0,oe.Z)():pt;return new Promise((at,Be)=>{var et;try{Ge.multipartUpload(`${Pe.identifier}/${Ie}${pt.indexOf(".")>-1?"."+pt.split(".").pop():""}`,new Blob([it.file],{type:it.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(vt,gt,dt)=>{try{console.log("\u8FDB\u5EA6",vt,gt,dt);const Ve=Oe.findIndex(Ne=>Ne.name===pt);Oe[Ve].file.percent=vt*100,Oe[Ve].tempCheckpoint=gt,He([...Oe])}catch(Ve){}},checkpoint:Oe[Oe.findIndex(vt=>vt.name===pt)].tempCheckpoint,callback:{customValue:{id:pt+""},url:(et=ft==null?void 0:ft.data)==null?void 0:et.callback_url,host:ft==null?void 0:ft.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,he.rz)(ut)}}).then(function(vt){var gt,dt,Ve;const Ne=Oe.findIndex(ot=>ot.name===pt);let Ye="done";if(((gt=vt.data)==null?void 0:gt.status)===0){it.response=(dt=vt.data)==null?void 0:dt.data;const ot=Oe.findIndex(Ue=>Ue.name===pt);Oe[ot].status="done",Oe[ot].file.status="done"}else a.ZP.warning((Ve=vt.data)==null?void 0:Ve.message),Ye="error";Oe[Ne].status=Ye,Oe[Ne].file.status=Ye,Pe.onChange(Oe),at(vt==null?void 0:vt.data)}).catch(function(vt){Oe[Oe.findIndex(gt=>gt.name===pt)].status="error",Oe[Oe.findIndex(gt=>gt.name===pt)].file.status="error",a.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),He([...Oe]),Pe.onChange(Oe),Be(vt),console.log("err:",vt)})}catch(vt){}})});return(0,ye.useEffect)(()=>{Oe.every(it=>it==="done"||it==="error")&&Pe.onComplete(Oe)},[Oe]),(0,ye.useEffect)(()=>{ke&&(Ge==null||Ge.cancel())},[ke]),(0,ye.useEffect)(()=>{Pe.uploading&&Oe.map(it=>ge(void 0,null,function*(){var ut;if((!it.status||it.status==="error")&&!ke){it.status="uploading",it.file.status="uploading";const $e=yield We(it,{login:(ut=je==null?void 0:je.userInfo)==null?void 0:ut.login,container_type:Pe.container_type,container_id:Pe.container_id,description:Pe.description,realFileName:Pe.realFileName})}}))},[Pe.uploading]),ye.createElement(_e,ce(fe({},Me),{height:Pe.height,className:Pe.className}),ye.createElement("p",{className:"ant-upload-hint"},Pe.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};mt.ZP=(0,ne.connect)(({loading:Ae,globalSetting:Te,user:je})=>({globalSetting:Te,loading:Ae.models.competitions,user:je}))(be)},48775:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return he}});var ye=Ce(59301),ze=Ce(27035),a=Ce(90083),he=()=>{const[de,ee]=(0,ye.useState)(""),[oe,ne]=(0,ye.useState)(0);let[te,se]=(0,ye.useState)(),[z,x]=(0,ye.useState)();const[b,E]=(0,ye.useState)(!1),re=(0,ye.useRef)("");(0,ye.useEffect)(()=>ze.Z.subscribe("preview-image",Se=>{ee(Se),console.log(we.current)}),[]),(0,ye.useEffect)(()=>(document.addEventListener("keydown",ae),()=>{document.removeEventListener("keydown",ae)}),[]),(0,ye.useEffect)(()=>{re.current=de},[de]);function ae(ve){console.log("e====",ve),ve.keyCode==27&&re.current&&le()}function le(){document.body.style.overflow="auto",se(void 0),x(void 0),ne(0),ee("")}function fe(){ne(oe+90)}function ce(){te=we.current.width*1.1,z=we.current.height*1.1,x(z),se(te)}function ue(){te=we.current.width/1.1,z=we.current.height/1.1,x(z),se(te)}const ge=(0,ye.useRef)(),_e=(0,ye.useRef)(),we=(0,ye.useRef)(),xe=ve=>{(ve.nativeEvent.target===ge.current||ve.nativeEvent.target===_e.current)&&le()};return ye.createElement(ye.Fragment,null,de?ye.createElement("div",null,ye.createElement("div",{className:"preview-wrp-group",ref:_e},ye.createElement(a.Z,{className:"image-preview",src:de,style:{display:"none"},preview:{visible:!0,src:de,onVisibleChange:ve=>{ee("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},99678:function(bt,mt,Ce){"use strict";Ce.d(mt,{h:function(){return ge},Z:function(){return ue}});var ye=Ce(59301),ze=Ce(82326),a=Ce(28284),he=Ce(99571),de=Ce(89780),ee=Ce.n(de),oe=Ce(4887),ne=Object.defineProperty,te=Object.defineProperties,se=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(_e,we,xe)=>we in _e?ne(_e,we,{enumerable:!0,configurable:!0,writable:!0,value:xe}):_e[we]=xe,re=(_e,we)=>{for(var xe in we||(we={}))x.call(we,xe)&&E(_e,xe,we[xe]);if(z)for(var xe of z(we))b.call(we,xe)&&E(_e,xe,we[xe]);return _e},ae=(_e,we)=>te(_e,se(we));const le=ze.default.Option,fe={labelCol:{span:4},wrapperCol:{span:20}},ce={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};var ue=({callback:_e,onCancel:we})=>{const[xe,ve]=(0,ye.useState)("python");function Se(Ae){ve(ce[Ae][1])}function be(Ae){_e(Ae)}return ye.createElement(a.default,ae(re({},fe),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),ye.createElement(a.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ye.createElement(ze.default,{getPopupContainer:Ae=>Ae.parentNode,onChange:Se},Object.keys(ce).map(Ae=>ye.createElement(le,{key:Ae,value:Ae},ce[Ae][0])))),ye.createElement(a.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ye.createElement(ge,{mode:xe})),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(he.ZP,{type:"ghost",onClick:we},"\u53D6\u6D88")))};function ge({value:_e,onChange:we,mode:xe,options:ve={}}){const Se=(0,ye.useRef)(),[be,Ae]=(0,ye.useState)();return(0,ye.useEffect)(()=>{if(be){let Te=function(je){const ke=je.getValue();we&&we(ke)};return be.on("change",Te),()=>{be.off("change",Te)}}},[be,we]),(0,ye.useEffect)(()=>{be&&be.setOption("mode",xe)},[be,xe]),(0,ye.useEffect)(()=>{be&&(_e!==be.getValue()||_e==="")&&setTimeout(()=>{be.setValue(_e||"")},300)},[be,_e]),(0,ye.useEffect)(()=>{if(Se.current&&!be){const Te=ee().fromTextArea(Se.current,re({mode:xe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ve));Ae(Te)}},[Se.current,be]),ye.createElement("div",{className:"my-codemirror-container"},ye.createElement("textarea",{ref:Se}))}},17949:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return $t}});var ye=Ce(59301),ze=Ce(95392),a=Ce(89780),he=Ce.n(a),de=Ce(76374),ee=Ce(4887),oe=Ce(6313),ne=Ce(25717),te=Ce(99498),se=Ce(25419),z=Ce(67549),x=Ce(97231),b=({value:Gt="",className:Xt,showTextOnly:tr,showLines:pr,style:Dt={}})=>{const Mt=(0,ye.useMemo)(()=>"",[Gt]);return ye.createElement(ye.Fragment,null,ye.createElement("div",{dangerouslySetInnerHTML:{__html:Mt}}))},E=Object.defineProperty,re=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,ue=(Gt,Xt,tr)=>Xt in Gt?E(Gt,Xt,{enumerable:!0,configurable:!0,writable:!0,value:tr}):Gt[Xt]=tr,ge=(Gt,Xt)=>{for(var tr in Xt||(Xt={}))fe.call(Xt,tr)&&ue(Gt,tr,Xt[tr]);if(le)for(var tr of le(Xt))ce.call(Xt,tr)&&ue(Gt,tr,Xt[tr]);return Gt},_e=(Gt,Xt)=>re(Gt,ae(Xt));let we=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function xe({onActionCallback:Gt,title:Xt,icon:tr,actionName:pr,className:Dt="",children:Mt}){function St(){Gt(pr)}return ye.createElement("a",{title:Xt,className:Dt,onClick:St},ye.createElement("i",{className:`${tr}`}),Mt)}var ve=({watch:Gt,showNullButton:Xt,showNullProgramButton:tr,onActionCallback:pr,fullScreen:Dt,insertTemp:Mt,hidetoolBar:St,extraUse:Ct})=>{const Rt=[...we,{title:`${Gt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Gt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ye.createElement("ul",{className:"markdown-toolbar-container"},!St&&Rt.map((Nt,kt)=>ye.createElement("li",{key:kt},Nt.actionName?ye.createElement(xe,_e(ge({},Nt),{onActionCallback:pr})):ye.createElement("span",{className:"v-line"}))),Xt?ye.createElement("li",null,ye.createElement(xe,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:pr},ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,tr?ye.createElement(ye.Fragment,null,ye.createElement("li",null,ye.createElement(xe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:pr},ye.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),ye.createElement("li",null,ye.createElement(xe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:pr},ye.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Mt&&ye.createElement("li",null,ye.createElement(xe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Mt}`,onActionCallback:pr},ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ct&&ye.createElement("li",null,Ct),ye.createElement("li",{className:"btn-full-screen"},ye.createElement(xe,{icon:`${Dt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Dt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:pr})))},Se=Ce(81123),be=Ce(28284),Ae=Ce(37568),Te=Ce(99571),je=Object.defineProperty,ke=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,tt=(Gt,Xt,tr)=>Xt in Gt?je(Gt,Xt,{enumerable:!0,configurable:!0,writable:!0,value:tr}):Gt[Xt]=tr,Me=(Gt,Xt)=>{for(var tr in Xt||(Xt={}))He.call(Xt,tr)&&tt(Gt,tr,Xt[tr]);if(Oe)for(var tr of Oe(Xt))Ge.call(Xt,tr)&&tt(Gt,tr,Xt[tr]);return Gt},We=(Gt,Xt)=>ke(Gt,Pe(Xt));const it={labelCol:{span:4},wrapperCol:{span:20}};var ut=({callback:Gt,onCancel:Xt})=>{function tr(pr){Gt(pr)}return ye.createElement(be.default,We(Me({},it),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:tr,style:{width:500}}),ye.createElement(be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ye.createElement(Ae.default,null)),ye.createElement(be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ye.createElement(Ae.default,null)),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Te.ZP,{type:"ghost",onClick:Xt},"\u53D6\u6D88")))},$e=Ce(99678),Je=Ce(90443),Xe=Ce(62957),Qe=Ce(77019),st=Ce(54344),rt=Ce(59301),pt=({callback:Gt,onCancel:Xt})=>{const tr=document.createElement("canvas"),pr=tr.getContext("2d");tr.width=1e3,tr.height=800,pr.fillStyle="#ffffff",pr.fillRect(0,0,tr.width,tr.height);const Dt=tr.toDataURL("image/png");return rt.createElement(Xe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},rt.createElement(Qe.Z,{style:{height:"100vh"}},rt.createElement(st.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Dt,visible:!0,title:String(Date.now())},onOk:Mt=>{Gt({src:Mt.url})},onClose:Xt})))},ft=Ce(30641),qe=Ce(5269),Ie=Ce(6767),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},Be=Ce(59301),vt=(0,ye.forwardRef)(({onCancel:Gt,editImgId:Xt,callback:tr},pr)=>{let Dt=(0,ye.useRef)(),Mt=(0,ye.useRef)(),St=(0,ye.useRef)(),Ct=(0,ye.useRef)(!1);const Rt=(0,ye.useRef)(!1);console.log("ref:",pr);const[Nt,kt]=(0,ye.useState)(0),[Et,zt]=(0,ye.useState)("100vh");return(0,ye.useEffect)(()=>{kt(1)},[]),(0,ye.useImperativeHandle)(pr,()=>({setHeight:zt})),Be.createElement("div",{ref:Rt,className:"body-overflow-initial"},Be.createElement(ft.Z,{width:"100vw",height:Et,footer:null,closable:!0,placement:"bottom",open:!!Nt,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${at.drawerWrap}`,onClose:()=>{window.saveDrawData(Ut=>{tr({src:`/api/attachments/${Ut}`,id:Ut})})},title:Be.createElement(Qe.Z,{align:"middle"},Be.createElement(qe.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Be.createElement(qe.Z,{onClick:()=>{zt(Et==="60px"?"100vh":"60px")}},Be.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),Be.createElement(qe.Z,{onClick:()=>{window.saveDrawData(Ut=>{if(Ut===null){Ie.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Ie.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),tr({src:`/api/attachments/${Ut}`,id:Ut,disabledClose:!0})})}},Be.createElement(Te.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},Be.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Xt||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Mt})))}),gt=Ce(78323),dt=Ce(47889),Ve=Ce(1439);const Ne=dt.ZP.Group,Ye={margin:"0 8px"};var ot=({callback:Gt,onCancel:Xt})=>{function tr(pr){Gt(pr)}return ye.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:tr},ye.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ye.createElement("span",{style:Ye},"\u5355\u5143\u683C\u6570\uFF1A"),ye.createElement("span",{style:Ye},"\u884C\u6570"),ye.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ye.createElement(Ve.Z,null)),ye.createElement("span",{style:Ye},"\u5217\u6570"),ye.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ye.createElement(Ve.Z,null))),ye.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ye.createElement("span",{style:Ye},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ye.createElement(be.default.Item,{name:"align"},ye.createElement(Ne,null,ye.createElement(dt.ZP,{value:"default"},ye.createElement("i",{className:"fa fa-align-justify"})),ye.createElement(dt.ZP,{value:"left"},ye.createElement("i",{className:"fa fa-align-left"})),ye.createElement(dt.ZP,{value:"center"},ye.createElement("i",{className:"fa fa-align-center"})),ye.createElement(dt.ZP,{value:"right"},ye.createElement("i",{className:"fa fa-align-right"}))))),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Te.ZP,{type:"ghost",onClick:Xt},"\u53D6\u6D88")))},Ue=Ce(71411),Le=Ce(63089),De=Ce.n(Le),lt=(0,ye.forwardRef)(({use3d:Gt,width:Xt,height:tr,callback:pr,showSaveButton:Dt},Mt)=>{const St=(0,ye.useRef)(),Ct=(0,ye.useRef)(),[Rt,Nt]=(0,ye.useState)(!1),kt=(0,ye.useRef)({id:St,appName:"graphing",width:Xt||1e3,height:tr||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ye.useEffect)(()=>{Ct.current=new(De())(kt.current,!0),window.onload=function(){Ct.current.inject("applet_container")}},[]);const Et=()=>{var zt=window.ggbApplet.getPNGBase64(1,!0,72);return pr&&pr(zt),zt};return(0,ye.useEffect)(()=>{kt.current.appName=Rt?"3D":"graphing",Ct.current.inject("applet_container")},[Rt]),(0,ye.useEffect)(()=>{Nt(Gt)},[Gt]),(0,ye.useImperativeHandle)(Mt,()=>({getImgData:Et})),ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:St}),ye.createElement(Qe.Z,{align:"middle"},ye.createElement(qe.Z,{flex:1},ye.createElement(Ue.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Rt,onChange:zt=>Nt(zt)})),ye.createElement(qe.Z,null,ye.createElement(Te.ZP,{size:"large",onClick:Et,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Fe=Ce(24638);const yt="link",xt="upload-image",jt="add-flowchart",Tt="draw-image",wt="add-flowchart",It="code-block",Bt="add-table",Wt="------------",Qt={default:Wt,left:`:${Wt}`,center:`:${Wt}:`,right:`${Wt}:`};var dr=Ce(66991),lr=Ce(63949);function Or(){}let Yr=0;const rn=1e4,zr="\u2581",Wr="@\u2581\u2581@",sn="@\u2581@",bn=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Ir=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Nn(Gt){return/^\d+$/.test(Gt)?`${Gt}px`:Gt}const hr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",br={[hr+"-B"]:"bold",[hr+"-I"]:"italic"},Kt={[yt]:"\u6DFB\u52A0\u94FE\u63A5",[It]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[xt]:"\u6DFB\u52A0\u56FE\u7247",[Tt]:"\u6DFB\u52A0\u753B\u56FE",[jt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Bt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var $t=({defaultValue:Gt="",onChange:Xt,width:tr="100%",height:pr=400,miniToolbar:Dt=!1,isFocus:Mt=!1,watch:St,insertTemp:Ct,mode:Rt="markdown",id:Nt="markdown-editor-id",showResizeBar:kt=!1,noStorage:Et=!1,showNullButton:zt=!1,showNullProgramButton:Ut=!1,hidetoolBar:Jt=!1,fullScreen:er=!1,onBlur:wr,onCMBeforeChange:Tr,onFullScreen:Cr,className:Ft="",disablePaste:nr=!1,disabled:kr=!1,disabledFill:Mr=!1,placeholder:Pr="",values:gr="",extraUse:Dr,onAddBlank:rr})=>{const[Zt,Fr]=(0,ye.useState)(null),[Br,Kr]=(0,ye.useState)(Gt),[pn,$r]=(0,ye.useState)(St),[en,Fn]=(0,ye.useState)(er),[Qr,Gr]=(0,ye.useState)(""),[Mn,Vn]=(0,ye.useState)(0),[$n,Zn]=(0,ye.useState)(pr),[Oi,Ci]=(0,ye.useState)(!1),[vi,un]=(0,ye.useState)(0),[li,Hn]=(0,ye.useState)(0),Pn=(0,ye.useRef)(),ui=(0,ye.useRef)(),Ei=(0,ye.useRef)(),ei=(0,ye.useRef)(),Ai=(0,ye.useRef)(),ji=(0,ye.useRef)(),ti=(0,ze.useDispatch)();(0,ye.useEffect)(()=>{const cr=window.scrollY||window.pageYOffset;Kr(gr),Zt==null||Zt.setValue(gr),window.scrollTo(0,cr)},[gr]),(0,ye.useEffect)(()=>{Cr==null||Cr(en)},[en]),(0,ye.useEffect)(()=>{if(Pn.current){let cr=function(fr,Ht){var yr;if(nr){Ht.preventDefault();return}const Rr=Ht.clipboardData;if(Rr){const on=Rr.types.toString(),Xr=Rr.items;if(on==="Files"||Rr.types.indexOf("Files")>-1){if(Ht.preventDefault(),Rt=="stex")return;try{let Jr=Xr[1];((yr=Xr[0])==null?void 0:yr.kind)==="file"&&(Jr=Xr[0]);const vn=Jr.getAsFile(),yi=vn.name.split(".").pop();(0,Je.I)(vn,On=>{var ki,ri,Li;On.id?((ki=vn==null?void 0:vn.type)==null?void 0:ki.indexOf("image"))>-1?sr.replaceSelection(`<img width="100%" src="/api/attachments/${On.id}?type=${On.content_type})" alt="" />`):((ri=vn==null?void 0:vn.type)==null?void 0:ri.indexOf("video"))>-1?sr.replaceSelection(`<video width="100%" controls src="/api/attachments/${On.id}"></video>`):((Li=vn==null?void 0:vn.type)==null?void 0:Li.indexOf("pdf"))>-1?sr.replaceSelection(`<a href="/api/attachments/${On.id}?type=${vn.type}&disposition=inline" target="_blank">${vn.name}</a>`):Ir.includes(yi)?sr.replaceSelection(`<a href="/api/attachments/${On.id}?type=office&disposition=inline" target="_blank">${vn.name}</a>`):sr.replaceSelection(`[${vn.name}](/api/attachments/${On.id}?type=${On.content_type})`):(On==null?void 0:On.status)===401&&(document.location.href="/user/login")})}catch(Jr){Ie.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const sr=he().fromTextArea(Pn.current,{mode:Rt,lineNumbers:!Dt,lineWrapping:!0,value:Gt,autoCloseTags:!0,autoCloseBrackets:!0});return sr.on("keyup",function(fr,Ht){Ht.keyCode===8&&(fr.getValue()==""?sr.setOption("placeholder",Pr):sr.setOption("placeholder",null))}),sr.on("keydown",function(fr,Ht){if(Ht.keyCode===8){var yr=qi(fr);yr&&Ht.preventDefault()}}),Mt&&sr.focus(),sr.on("paste",cr),kr&&sr.on("beforeChange",function(fr,Ht){(Ht.origin==="paste"||Ht.origin==="+input")&&Ht.cancel()}),Fr(sr),()=>{sr.off("paste",cr)}}},[]);const gi=(0,ye.useCallback)(()=>{if(ui.current)try{}catch(cr){console.log(cr,"---- to set md editor body height")}},[$n,ui,en]);(0,ye.useEffect)(()=>{function cr(){let sr=new de.Z(fr=>{for(let Ht of fr)(Ht.target.offsetHeight>0||Ht.target.offsetWidth>0)&&(gi(),Zt.setSize("100%","100%"),Zt.refresh())});return sr.observe(Pn.current.parentElement),sr}if(Zt){const sr=cr();return()=>{var fr,Ht;(fr=Pn.current)!=null&&fr.parentElement&&sr.unobserve((Ht=Pn.current)==null?void 0:Ht.parentElement)}}},[Zt,gi]),(0,ye.useEffect)(()=>{if(Zt){let cr=[];for(const[sr,fr]of Object.entries(br)){let Ht={[sr]:()=>{Ti(fr)}};cr.push(Ht),Zt.addKeyMap(Ht)}return()=>{for(let sr of cr)Zt.removeKeyMap(sr)}}},[Zt]),(0,ye.useEffect)(()=>{er!==en&&Fn(er)},[er]),(0,dr.Z)(()=>{if(!Et&&Mn>0){let cr=new Date().getTime(),sr=window.sessionStorage.getItem(Nt);cr>=Mn+rn&&(!sr||sr!==Br)&&(window.sessionStorage.setItem(Nt,Br),Ci(!0))}},rn),(0,ye.useEffect)(()=>{$r(St)},[Zt,St]),(0,ye.useEffect)(()=>{Zt&&Mt&&Zt.focus()},[Zt,Mt]),(0,ye.useEffect)(()=>{if(pn&&Zt){let cr=function(fr){let Ht=fr.target;if(ei.current){let yr=Ht.scrollTop/Ht.scrollHeight;ei.current.scrollTop=ei.current.scrollHeight*yr}};const sr=Zt.getScrollerElement();return sr.addEventListener("scroll",cr),()=>{sr.removeEventListener("scroll",cr)}}},[Zt,pn]),(0,ye.useEffect)(()=>{if(Zt&&Tr){let cr=function(sr,fr){Tr(sr,fr)};return Zt.on("beforeChange",cr),()=>{Zt.off("beforeChange",cr)}}},[Zt,Tr]),(0,ye.useEffect)(()=>{if(Zt&&wr){let cr=function(){wr(Zt.getValue())};return Zt.on("blur",cr),()=>{Zt.off("blur",cr)}}},[Zt,wr]);function qi(cr,sr){var fr=cr.getDoc(),Ht=fr.getCursor(),yr=fr.getLine(Ht.line),Rr=yr.charAt(Ht.ch-1),on=yr.lastIndexOf("@\u2581@",Ht.ch),Xr=yr.lastIndexOf("@\u2581\u2581@",Ht.ch),Jr=on>Xr?on:Xr,vn=on>Xr?3:4;if(Wr.indexOf(Rr)===-1)return null;if(console.log("change1:",sr,cr,yr,Ht,Jr,on,Xr,Rr),Jr>=0&&Ht.ch-Jr<5){var yi=Jr+vn;return fr.replaceRange("",{line:Ht.line,ch:Jr},{line:Ht.line,ch:yi}),{line:Ht.line,ch:yi}}return null}(0,ye.useEffect)(()=>{if(Zt){let cr=function(sr,fr){const Ht=sr.getValue();Kr(Ht),Vn(new Date().getTime()),sr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Xt&&(Ut?Xt(Ht,mn(Ht)):Xt(Ht))};return Zt.on("change",cr),()=>{Zt.off("change",cr)}}},[Zt,Xt]),(0,ye.useEffect)(()=>{if(Zt)if(Gt==null)Zt.setValue(""),Kr("");else{const cr=window.scrollY||window.pageYOffset;Gt!==Zt.getValue()&&(Zt.setValue(Gt),Kr(Gt),Zt.setCursor(kr?1:Zt.lineCount(),0),window.scrollTo(0,cr))}},[Zt,Gt]);const Ti=(0,ye.useCallback)(cr=>{const sr=Zt.getCursor(),fr=Zt.getSelection();let Ht=fr.split(`
`);switch(cr){case"bold":return Zt.replaceSelection("**"+fr+"**"),fr===""&&Zt.setCursor(sr.line,sr.ch+2),Zt.focus();case"italic":return Zt.replaceSelection("*"+fr+"*"),fr===""&&Zt.setCursor(sr.line,sr.ch+1),Zt.focus();case"code":return Zt.replaceSelection("`"+fr+"`"),fr===""&&Zt.setCursor(sr.line,sr.ch+1),Zt.focus();case"inline-latex":return(0,lr.Ye)(ti)?void 0:(Gr("inline-latex"),Zt.focus());case"latex":return Zt.replaceSelection("```latex\n"+fr+"\n```"),Zt.setCursor(sr.line+1,fr.length+1),Zt.focus();case"line-break":return Zt.replaceSelection(`<br/>
`),Zt.focus();case"list-ul":return fr===""?Zt.replaceSelection("- "+fr):Zt.replaceSelection(Ht.map(yr=>yr===""?"":`- ${yr}`).join(`
`)),Zt.focus();case"list-ol":return fr===""?Zt.replaceSelection("1. "+fr):Zt.replaceSelection(Ht.map((yr,Rr)=>yr===""?"":`${Rr+1}. ${yr}`).join(`
`)),Zt.focus();case"add-null-ch":rr==null||rr();return;case"add-signal":return fr===""&&Zt.setCursor(sr.line,sr.ch),Zt.replaceSelection(sn),Zt.focus();case"add-multiple":return fr===""&&Zt.setCursor(sr.line,sr.ch),Zt.replaceSelection(Wr),Zt.focus();case"inster-template-1":return fr===""&&Zt.setCursor(sr.line,sr.ch),Zt.replaceSelection(bn),Zt.focus();case"eraser":return Zt.setValue(""),Zt.focus();case"trigger-watch":return $r(!pn),Zt.focus();case"trigger-full-screen":return Fn(!en),Zt.focus();case yt:Gr(yt);return;case It:Gr(It);return;case xt:Gr(xt);return;case Tt:Gr(Tt);return;case"maths-latex":if((0,lr.Ye)(ti))return;Gr("maths-latex");return;case jt:Ai.current="",sessionStorage.removeItem("file_id"),Gr(jt);return;case Bt:Gr(Bt);return;default:throw new Error}},[Zt,pn,en]),Rn=(0,ye.useCallback)((cr,sr)=>{var fr,Ht,yr,Rr,on,Xr;cr!=null&&cr.disabledClose||Gr("");const{src:Jr,alt:vn,id:yi}=cr||{};switch(Qr){case yt:const{title:$i,link:eo}=cr;return Zt.replaceSelection(`[${$i}](${eo})`),Zt.focus();case It:const{language:wn,content:zi}=cr;return Zt.replaceSelection(["```"+wn,zi,"```"].join(`
`)),Zt.focus();case"maths-latex":for(var On=atob(cr),ki=new Uint8Array(On.length),ri=0;ri<On.length;ri++)ki[ri]=On.charCodeAt(ri);var Li=new Blob([ki],{type:"image/png"});(0,Je.I)(Li,ii=>{ii.id?Zt.replaceSelection(`![,](/api/attachments/${ii.id}?type=${ii.content_type})`):(ii==null?void 0:ii.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,lr.Ye)(ti))return;Zt.replaceSelection("`$$"+cr+"$$`");break;case wt:if(!yi)return;Zt.getValue().indexOf(Jr)===-1?Zt.replaceSelection(`<center><img id="${yi}" width="80%" src="${Jr}" class="draw-flowchart" alt="${vn||""}" /></center>`):document.getElementById(yi).src=gt.Z.API_SERVER+Jr+"?t="+Date.now();break;case xt:case Tt:const Ur=sr,bi=(yr=(Ht=(fr=Ur==null?void 0:Ur.name)==null?void 0:fr.split("."))==null?void 0:Ht.pop)==null?void 0:yr.call(Ht);return((Rr=Ur==null?void 0:Ur.type)==null?void 0:Rr.indexOf("image"))>-1||!(Ur!=null&&Ur.type)?Ur!=null&&Ur.align||Ur!=null&&Ur.width?Zt.replaceSelection(`<p style="text-align:${Ur.align||"initial"}"><img width="${Ur.width?Ur.width+"%":"initial"}" src="${Jr}" alt="${vn||""}" /></p>`):Zt.replaceSelection(`<img width="100%" src="${Jr}" alt="${vn||""}" />`):((on=Ur==null?void 0:Ur.type)==null?void 0:on.indexOf("video"))>-1?Zt.replaceSelection(`<video width="100%" controls src="${Jr}"></video>`):((Xr=Ur==null?void 0:Ur.type)==null?void 0:Xr.indexOf("pdf"))>-1?Zt.replaceSelection(`<a href="${Jr}?type=${Ur.type}&disposition=inline" target="_blank">${Ur.name}</a>`):Ir.includes(bi)?Zt.replaceSelection(`<a href="${Jr}?type=office&disposition=inline" target="_blank">${Ur.name}</a>`):Zt.replaceSelection(`[${Ur.name}](${Jr})`),Zt.focus();case Bt:const{row:ci,col:ni,align:Ao}=cr;let to=`
`;for(let ii=0;ii<ci;ii++){let fi=[],ln=[];for(let ro=0;ro<ni;ro++)ii===1&&ln.push(Qt[Ao]),fi.push(" ");ii===1&&(to+=`| ${ln.join(" | ")} |
`),to+=`| ${fi.join(ni===1?"":" | ")} |
`}return Zt.replaceSelection(to+`
`),Zt.focus();default:throw new Error}},[Zt,Qr]),Un=(0,ye.useMemo)(()=>{switch(Qr){case yt:return ye.createElement(ut,{callback:Rn,onCancel:_n});case It:return ye.createElement($e.Z,{callback:Rn,onCancel:_n});case xt:return ye.createElement(Je.Z,{callback:Rn,onCancel:_n});case jt:return ye.createElement(vt,{editImgId:Ai.current,callback:Rn,onCancel:_n});case Bt:return ye.createElement(ot,{callback:Rn,onCancel:_n});case"maths-latex":return ye.createElement(lt,{showSaveButton:!0,callback:Rn});case"inline-latex":return ye.createElement(Fe.Z,{showSaveButton:!0,callback:Rn});default:return null}},[Qr]);function _n(){Gr("")}(0,ye.useEffect)(()=>{if(Ei.current){let cr=function(on){yr=!0,Rr=on.pageY},sr=function(){yr=!1},fr=function(on){if(yr){let Xr=on.pageY-Rr;Xr<0&&(Xr=0),Xr>300&&(Xr=300);let Jr=pr+Xr+"px";Zn(Jr)}},Ht=Ei.current,yr=!1,Rr=0;return Ht.addEventListener("mousedown",cr),document.addEventListener("mousemove",fr),document.addEventListener("mouseup",sr),()=>{Ht.removeEventListener("mousedown",cr),document.removeEventListener("mousemove",fr),document.removeEventListener("mouseup",sr)}}},[Zt,Ei]),(0,ye.useEffect)(()=>{Zn(pr)},[pr]);const Xn=Nn(tr),Ar=Nn($n),Nr={width:Xn,height:Ar},Hr=(0,ye.useMemo)(()=>{if(Mn){let cr=new Date(Mn),sr=cr.getHours(),fr=cr.getMinutes(),Ht=cr.getSeconds();return sr=sr<10?"0"+sr:sr,fr=fr<10?"0"+fr:fr,Ht=Ht<10?"0"+Ht:Ht,`${sr}:${fr}:${Ht}`}return 0},[Mn]),mn=cr=>{const sr=[];if(Ut){let fr=-1;cr=cr.replace(/(@▁▁@|@▁@)/g,function(Ht,yr,Rr){sr.push({multiLine:Ht!==sn})})}return sr};function an(){window.sessionStorage.removeItem(Nt),Ci(!1),Vn(0)}function Zr(){Ci(!1),Vn(0),Zt.setValue(window.sessionStorage.getItem(Nt))}(0,ye.useEffect)(()=>{Kt[Qr]&&Qr!==Tt&&Qr!==jt&&setTimeout(()=>{const cr=document.getElementsByClassName("markdown-popup-form")[0],sr=window.innerWidth/2-cr.offsetWidth/2,fr=window.innerHeight/2-cr.offsetHeight/2;un(sr),Hn(fr)},0)},[Qr]);const dn=cr=>{cr.preventDefault();const sr=cr.clientX-vi,fr=cr.clientY-li;document.body.onmousemove=Ht=>{let yr=Ht.clientX-sr,Rr=Ht.clientY-fr;const on=document.getElementsByClassName("markdown-popup-form")[0],Xr=window.innerWidth-on.offsetWidth,Jr=window.innerHeight-on.offsetHeight;yr=Math.max(0,Math.min(yr,Xr)),Rr=Math.max(0,Math.min(Rr,Jr)),Ui(Ht.clientX,Ht.clientY,sr,fr)&&(un(yr),Hn(Rr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ui=(cr,sr,fr,Ht)=>{const yr=document.body.clientHeight,Rr=document.body.clientWidth;return cr<20&&fr>cr||cr>Rr-20&&fr<cr||sr<20&&Ht>sr||sr>yr-20&&Ht<sr?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"markdown-editor-wrapper",ref:ui},ye.createElement("div",{className:`markdown-editor-container ${Ft} ${pn?"on-preview":""} ${Dt?"mini":""} ${en?"full-screen":""}`,style:Nr},ye.createElement(ve,{insertTemp:Ct,watch:pn,fullScreen:en,showNullButton:zt,showNullProgramButton:Ut,onActionCallback:Ti,hidetoolBar:Jt,extraUse:Dr}),ye.createElement("div",{className:"markdown-editor-body"},ye.createElement("div",{className:"codemirror-container"},ye.createElement("textarea",{ref:Pn,placeholder:Pr})),pn?ye.createElement("div",{ref:ei,className:"preview-container"},Rt==="stex"&&ye.createElement(b,{value:Br}),Rt!=="stex"&&ye.createElement(x.Z,{edit:!0,disabledFill:Mr,showProgramFill:Ut,value:Br,openEditor:cr=>{var sr;Ai.current=cr,(sr=ji.current)==null||sr.setHeight("100vh"),setTimeout(()=>{Gr("add-flowchart")},150)}})):null))),kt?ye.createElement("a",{ref:Ei,className:"editor-resize"}):null,Qr===Tt&&ye.createElement(pt,{callback:Rn,onCancel:_n}),Qr===jt&&ye.createElement(vt,{ref:ji,editImgId:Ai.current,callback:Rn,onCancel:_n}),ye.createElement(Se.Z,null,Kt[Qr]&&Qr!==Tt&&Qr!==jt?ye.createElement(Xe.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:vi,top:li},title:ye.createElement("div",{style:{cursor:"move"},onMouseDown:dn},Kt[Qr]),open:!0,onCancel:_n,footer:null,destroyOnClose:!0,width:Qr===jt?"1200px":null,height:Qr===jt?"80vh":null,className:"markdown-popup-form"},Un):null))}},90443:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return we},I:function(){return ve}});var ye=Ce(28284),ze=Ce(6767),a=Ce(37568),he=Ce(44104),de=Ce(1439),ee=Ce(47889),oe=Ce(99571),ne=Ce(88457),te=Ce(59301),se=Ce(59301),z=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(Se,be,Ae)=>be in Se?z(Se,be,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Se[be]=Ae,fe=(Se,be)=>{for(var Ae in be||(be={}))re.call(be,Ae)&&le(Se,Ae,be[Ae]);if(E)for(var Ae of E(be))ae.call(be,Ae)&&le(Se,Ae,be[Ae]);return Se},ce=(Se,be)=>x(Se,b(be));const{useForm:ue}=ye.default,ge={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var we=({callback:Se,onCancel:be})=>{const[Ae]=ue();let Te=(0,te.useRef)();function je(Oe){Te.current.width=Ae.getFieldValue("width"),Te.current.align=Ae.getFieldValue("align"),Se(Oe,Te.current)}function ke(Oe,He){if(Oe.status===-1){ze.ZP.error(Oe.message);return}Ae.setFieldsValue({src:`/api/attachments/${Oe.id}`,type:He.type})}function Pe(Oe){let He=Oe.target.files[0];Te.current=He,ve(He,ke)}return se.createElement(ye.default,ce(fe({form:Ae},_e),{className:"upload-image-panel",onFinish:je,style:{width:470,overflow:"hidden"}}),se.createElement(ye.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},se.createElement("div",{className:"flex-container"},se.createElement(ye.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},se.createElement(a.default,{style:ge})),se.createElement(xe,{onFileChange:Pe}))),se.createElement(ye.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},se.createElement(a.default,{style:{width:264}})),se.createElement(ye.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},se.createElement(he.Z,null,se.createElement(ye.default.Item,{name:"width",style:{margin:0}},se.createElement(de.Z,{style:{width:264}})),se.createElement("span",{className:"ml8"},"%"))),se.createElement(ye.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},se.createElement(ee.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),se.createElement("aside",null,se.createElement(ye.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},se.createElement(oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(oe.ZP,{type:"default",onClick:be},"\u53D6\u6D88"))))};function xe({onFileChange:Se}){return se.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",se.createElement("input",{type:"file",onChange:Se}))}function ve(Se,be){if(!Se)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ae=new FormData;Ae.append("editormd-image-file",Se),Ae.append("file_param_name","editormd-image-file"),Ae.append("byxhr","true");var Te=new window.XMLHttpRequest;Te.withCredentials=!0,Te.addEventListener("load",function(je){be(JSON.parse(je.target.responseText),Se)},!1),Te.addEventListener("error",function(je){console.error(je)},!1),Te.open("POST",`${ne.KI}/api/attachments.json`),Te.send(Ae)}},81123:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return a}});var ye=Ce(59301),ze=Ce(4676);class a extends ye.Component{constructor(de){super(de);const ee=window.document;this.node=ee.createElement("div"),ee.body.appendChild(this.node)}render(){const{children:de}=this.props;return(0,ze.createPortal)(de,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},95440:function(bt,mt,Ce){"use strict";Ce.d(mt,{SV:function(){return pt},ZP:function(){return rt}});var ye=Ce(59301),ze=Ce(76374);const a={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},he={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},de={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std",content:["using namespace std"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},ee={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},oe={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var ne=Ce(53184),te=Ce.n(ne),se=(ft,qe,Ie)=>new Promise((at,Be)=>{var et=dt=>{try{gt(Ie.next(dt))}catch(Ve){Be(Ve)}},vt=dt=>{try{gt(Ie.throw(dt))}catch(Ve){Be(Ve)}},gt=dt=>dt.done?at(dt.value):Promise.resolve(dt.value).then(et,vt);gt((Ie=Ie.apply(ft,qe)).next())});const z={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},x=(ft,qe,Ie,at)=>{const Be=qe.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Ie.lineNumber,endColumn:Ie.column});return Array.from(new Set(Be.match(/\b\w{2,}\b/g)||[])).map(vt=>({label:vt,kind:ft.languages.CompletionItemKind.Text,insertText:vt,range:at}))},b=(ft,qe,Ie,at)=>{ft.languages.registerCompletionItemProvider(qe,{provideCompletionItems(Be,et){const vt=Be.getWordUntilPosition(et),gt={startLineNumber:et.lineNumber,endLineNumber:et.lineNumber,startColumn:vt.startColumn,endColumn:vt.endColumn},dt=Be.getLineContent(et.lineNumber).substring(vt.startColumn-2,vt.endColumn);return{suggestions:[...x(ft,Be,et,gt),...Ie.map(Ne=>({label:Ne,kind:ft.languages.CompletionItemKind.Keyword,documentation:Ne,insertText:Ne,insertTextRules:ft.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:gt})),...at.map(Ne=>({label:Ne.label,kind:ft.languages.CompletionItemKind.Snippet,documentation:Ne.content,insertText:dt.startsWith("#")?Ne.content.replace(/#/,""):Ne.content,insertTextRules:ft.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:gt}))]}}})};var E=ft=>{z.languages.forEach(qe=>{ft.languages.registerDocumentFormattingEditProvider(qe,{provideDocumentFormattingEdits(Ie){return se(this,null,function*(){const at=te()(Ie.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:Ie.getFullModelRange(),text:at}]})}})}),b(ft,"java",he.keywords,he.quickKey),b(ft,"cpp",de.keywords,de.quickKey),b(ft,"c",a.keywords,[]),b(ft,"python",ee.keywords,ee.quickKey),b(ft,"scala",oe.keywords,oe.quickKey)};const re="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ae=Object.defineProperty,le=(ft,qe,Ie)=>qe in ft?ae(ft,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):ft[qe]=Ie,fe=(ft,qe,Ie)=>le(ft,typeof qe!="symbol"?qe+"":qe,Ie);const ce=class Jl{constructor(qe,Ie,at){this.placeholder=qe,this.editor=Ie,this.monaco=at,Ie.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Jl.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};fe(ce,"ID","editor.widget.placeholderHint");var ge=ce,_e=Ce(96236),we=Ce(6767),xe=Ce(25399),ve=Ce(89392),Se=Ce(27035),be=Ce(56102),Ae=Object.defineProperty,Te=Object.defineProperties,je=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,He=(ft,qe,Ie)=>qe in ft?Ae(ft,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):ft[qe]=Ie,Ge=(ft,qe)=>{for(var Ie in qe||(qe={}))Pe.call(qe,Ie)&&He(ft,Ie,qe[Ie]);if(ke)for(var Ie of ke(qe))Oe.call(qe,Ie)&&He(ft,Ie,qe[Ie]);return ft},tt=(ft,qe)=>Te(ft,je(qe)),Me=(ft,qe)=>{var Ie={};for(var at in ft)Pe.call(ft,at)&&qe.indexOf(at)<0&&(Ie[at]=ft[at]);if(ft!=null&&ke)for(var at of ke(ft))qe.indexOf(at)<0&&Oe.call(ft,at)&&(Ie[at]=ft[at]);return Ie},We=(ft,qe,Ie)=>new Promise((at,Be)=>{var et=dt=>{try{gt(Ie.next(dt))}catch(Ve){Be(Ve)}},vt=dt=>{try{gt(Ie.throw(dt))}catch(Ve){Be(Ve)}},gt=dt=>dt.done?at(dt.value):Promise.resolve(dt.value).then(et,vt);gt((Ie=Ie.apply(ft,qe)).next())});function it(ft){return/^\d+$/.test(ft)?`${ft}px`:ft}function ut(){}let $e=!1;const Je={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Xe(ft=[]){let qe=ft;if(Array.isArray(ft)){for(let Ie=0;Ie<ft.length;Ie++){let at=Je[ft[Ie]];if(at)return at}return qe[0]}return Je[qe]||qe}let Qe=null;const st=()=>We(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ft){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ft)}});var rt=ft=>{var qe=ft,{width:Ie="100%",height:at="100%",value:Be,language:et="javascript",style:vt={},options:gt={},overrideServices:dt={},theme:Ve="vs-dark",onEditBlur:Ne,isCopy:Ye=!1,onSave:ot,autoHeight:Ue=!1,forbidCopy:Le=!1,onChange:De=ut,editorDidMount:Ze=ut,onFocus:lt=ut,onBreakPoint:Fe=ut,breakPointValue:yt=[],filename:xt="educoder.txt",errorLine:jt,errorContent:Tt="",highlightLine:wt,openBreakPoint:It=!1,placeholder:Bt="",showMiniMap:Wt=!0}=qe,Qt=Me(qe,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const dr=(0,ye.useRef)(),lr=(0,ye.useRef)({}),Or=(0,ye.useRef)(),Yr=(0,ye.useRef)(),rn=(0,ye.useRef)([]),zr=(0,ye.useRef)(!1),Wr=(0,ye.useRef)(),sn=(0,ye.useRef)(),bn=(0,ye.useRef)(!1),[Ir,Nn]=(0,ye.useState)(!1);function ai(){let kt;return dr.current&&(kt=new ze.Z(Et=>{for(let zt of Et)(zt.target.offsetHeight>0||zt.target.offsetWidth>0)&&lr.current.instance.layout()}),kt.observe(dr.current)),kt}function hr(){we.ZP.warning({content:decodeURIComponent(re),key:"monaco-editor-tip"})}const br=()=>{let kt=lr.current.instance;if(Be!=null&&kt&&Ir){const Et=kt.getModel();Et&&Be!==Et.getValue()&&($e=!0,Et.setValue(Be),kt.layout(),$e=!1)}};(0,ye.useEffect)(()=>{const kt=Se.Z.subscribe("formatDocument",Et=>{var zt;let Ut=lr.current.instance;(zt=Ut==null?void 0:Ut.getAction)==null||zt.call(Ut,"editor.action.formatDocument").run()});return window.updateMonacoValue=Et=>{De(Et)},kt},[]),(0,ye.useEffect)(()=>{var kt;let Et=lr.current.instance;Yr.current&&clearTimeout(Yr.current),Yr.current=setTimeout(()=>{br()},500),Be&&(Be!=null&&Be.length)&&((kt=Et==null?void 0:Et.updateOptions)==null||kt.call(Et,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Be.split(/\r\n|\r|\n/g).length))+3,5)}))},[Be,Ir,lr.current]),(0,ye.useEffect)(()=>{if(jt&&lr.current&&lr.current.instance){let Et=lr.current.instance;Et.changeViewZones(function(zt){var Ut=document.createElement("div");Ut.style.padding="10px 20px",Ut.style.width="calc(100% - 20px)",Ut.className="my-error-line-wrp",Ut.innerHTML=Tt,zt.addZone({afterLineNumber:jt||11,heightInLines:3,domNode:Ut})});var kt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Et.addOverlayWidget(kt),Et.revealPositionInCenter({lineNumber:20,column:1})}},[jt,lr.current,Ir]);const Kt=(kt="",Et)=>{if(!kt||kt.trim()==="")return!0;const Ut=lr.current.instance.getModel().getLineTokens(Et);let Jt=!1;for(let er=0;er<2;er++)Ut.getStandardTokenType(er)===1&&(Jt=!0);return Jt};(0,ye.useEffect)(()=>{var kt;const Et=(kt=lr.current)==null?void 0:kt.instance;if(Et&&Ir&&Le){const zt=Et.onDidBlurEditorWidget(()=>{bn.current=!1}),Ut=Et.onDidFocusEditorText(()=>{bn.current=!0});return()=>{zt.dispose(),Ut.dispose()}}},[lr.current,Ir,Le]),(0,ye.useEffect)(()=>{var kt;if((kt=lr.current)!=null&&kt.instance&&Ir&&It){let Et=lr.current.instance,zt=Et.getModel();if(!zt)return;(()=>{var gr;let Dr=[],rr=[];const Zt=zt.getAllDecorations();for(let Br of Zt)Br.options.className==="highlighted-line"&&(Dr.push((gr=Br==null?void 0:Br.range)==null?void 0:gr.startLineNumber),rr.push(Br==null?void 0:Br.id));if(wt===Dr[0])return;zt.deltaDecorations(rr,[]);const Fr=zt.getLineCount();wt&&wt<=Fr&&(Et.deltaDecorations([],[{range:new Qe.Range(wt,1,wt,zt.getLineMaxColumn(wt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Et.revealLineInCenter(wt))})();const Jt=(gr=!1)=>{var Dr;let rr=[],Zt=[];const Fr=zt.getAllDecorations();for(let Br of Fr)Br.options.linesDecorationsClassName==="breakpoints-select"&&(rr.push((Dr=Br==null?void 0:Br.range)==null?void 0:Dr.startLineNumber),Zt.push(Br==null?void 0:Br.id));if(gr)return{lines:rr,ids:Zt};Fe(rr)},er=gr=>We(void 0,null,function*(){let Dr={range:new Qe.Range(gr,1,gr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield zt.deltaDecorations([],[Dr]),Jt()}),wr=gr=>We(void 0,null,function*(){let Dr=[];const rr=Et.getLineDecorations(gr);for(let Zt of rr)Zt.options.linesDecorationsClassName==="breakpoints-select"&&Dr.push(Zt.id);yield zt.deltaDecorations(Dr,[]),Jt()}),Tr=gr=>{let Dr=Et.getLineDecorations(gr);for(let rr of Dr)if(rr.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,ve.isEqual)(yt,Jt(!0).lines)){zt.deltaDecorations(Jt(!0).ids,[]);const gr=yt.map(Dr=>({range:new Qe.Range(Dr,1,Dr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));zt.deltaDecorations([],gr)}const Cr=Et.onDidChangeModelContent(gr=>{let Dr=Et.getPosition();if(Dr){let rr=Dr.lineNumber;clearTimeout(sn.current),sn.current=setTimeout(()=>{Kt(zt.getLineContent(rr),rr)?wr(rr):Tr(rr)?(wr(rr),er(rr)):Jt()},100)}}),Ft=Et.onMouseDown(gr=>{var Dr,rr,Zt;if(gr.target.detail&&((Zt=(rr=(Dr=gr.target)==null?void 0:Dr.element)==null?void 0:rr.className)!=null&&Zt.includes("line-numbers"))){let Fr=gr.target.position.lineNumber;if(Kt(zt.getLineContent(Fr),Fr))return;Tr(Fr)?wr(Fr):er(Fr)}}),nr=gr=>{let Dr={range:new Qe.Range(gr,1,gr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};rn.current=Et.deltaDecorations(rn.current,[Dr])},kr=()=>{rn.current=Et.deltaDecorations(rn.current,[])},Mr=Et.onMouseMove(gr=>{var Dr,rr,Zt;if(kr(),gr.target.detail&&((Zt=(rr=(Dr=gr.target)==null?void 0:Dr.element)==null?void 0:rr.className)!=null&&Zt.includes("line-numbers"))){let Fr=gr.target.position.lineNumber;if(Kt(zt.getLineContent(Fr),Fr))return;nr(Fr)}}),Pr=Et.onMouseLeave(()=>{kr()});return()=>{Cr.dispose(),Ft.dispose(),Mr.dispose(),Pr.dispose()}}},[lr.current,Ir,yt,wt,It,et]),(0,ye.useEffect)(()=>{var kt;(kt=lr.current)!=null&&kt.instance&&It&&lr.current.instance.setPosition({lineNumber:0,column:0})},[wt]);function $t(){let kt=lr.current.instance;if(kt){const Et=kt.getSelection(),zt=lr.current.pastePos||{},Ut=new Qe.Range(zt.startLineNumber||Et.endLineNumber,zt.startColumn||Et.endColumn,zt.endLineNumber||Et.endLineNumber,zt.endColumn||Et.endColumn);setTimeout(()=>{kt.executeEdits("",[{range:Ut,text:""}])},300)}}function Gt(kt){(window.navigator.platform.match("Mac")?kt.metaKey:kt.ctrlKey)&&kt.keyCode==83&&(kt.preventDefault(),ot())}const Xt=()=>{if(Ue&&lr.current.instance){const kt=lr.current.instance.getContentHeight();Rt(kt<at?at:kt)}else Rt(at)};function tr(kt){var Et=document.createEvent("MouseEvents");Et.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),kt.dispatchEvent(Et)}const pr=kt=>{if(!bn.current)return;const{keyCode:Et,ctrlKey:zt,metaKey:Ut,target:Jt,type:er}=kt;return(er==="paste"||(Et===67||Et===86)&&(Ut||zt))&&Jt.nodeName==="TEXTAREA"&&(hr(),kt.preventDefault()),!1};function Dt(kt,Et){var zt=window.URL||window.webkitURL||window,Ut=new Blob([Et]),Jt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Jt.href=zt.createObjectURL(Ut),Jt.download=kt,tr(Jt)}(0,ye.useEffect)(()=>{Xt()},[Xt]),(0,ye.useEffect)(()=>{dr.current&&!Ir&&Promise.all([Ce.e(8909),Ce.e(4100)]).then(Ce.bind(Ce,71448)).then(kt=>{try{Qe=kt,lr.current.instance=Qe.editor.create(dr.current,{value:Be,language:Xe(et),theme:Ve,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Wt||!1}},dt);const Et=lr.current.instance;let Jt=[..._e.BH._menuItems].find(Cr=>Cr[0]._debugName=="EditorContext")[1],er=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],wr=(Cr,Ft)=>{var nr,kr;let Mr=Cr._first;do Ft.includes((kr=(nr=Mr.element)==null?void 0:nr.command)==null?void 0:kr.id)&&Cr._remove(Mr);while(Mr=Mr.next)};if(Ze(Et,Qe),setTimeout(()=>{Xt(),lr.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Dt(xt||"educoder.txt",Et.getValue())}})},500),lr.current.subscription=Et.onDidChangeModelContent(Cr=>{zr.current?clearTimeout(Wr.current):(Xt(),De(Et.getValue(),Cr)),Wr.current=setTimeout(()=>{zr.current=!1},500)}),window.Monaco||E(Qe,Xe(et)),Le&&(wr(Jt,er),dr.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",pr),window.removeEventListener("paste",pr),window.addEventListener("keydown",pr),window.addEventListener("paste",pr)),window.Monaco=Qe,Ne&&Et.onDidBlurEditorWidget(()=>{Ne(Et.getValue())}),lt&&Et.onDidFocusEditorText(()=>{Le&&st(),lt(Et.getValue())}),Le){st();try{Et.onDidPaste(Cr=>{const Ft=Et.getSelection(),nr=lr.current.pastePos||{},kr=new Qe.Range(nr.startLineNumber||Ft.endLineNumber,nr.startColumn||Ft.endColumn,nr.endLineNumber||Ft.endLineNumber,nr.endColumn||Ft.endColumn);Et.executeEdits("",[{range:Cr.range,text:""}])})}catch(Cr){}}let Tr=ai();return Bt&&typeof Bt=="string"&&new ge(Bt,Et,Qe),Nn(!0),()=>{const Cr=lr.current.instance;Cr.dispose();const Ft=Cr.getModel();Ft&&Ft.dispose(),lr.current.subscription&&lr.current.subscription.dispose(),Tr.unobserve(dr.current)}}catch(Et){}})},[]),(0,ye.useEffect)(()=>{if(lr.current.instance&&Ir)return document.addEventListener("keydown",Gt,!1),()=>{document.removeEventListener("keydown",Gt)}},[ot,Ir]),(0,ye.useEffect)(()=>{let kt=lr.current.instance;if(kt&&Ir){let Et=Xe(et);Qe.editor.setModelLanguage(kt.getModel(),Et)}},[et,Ir]),(0,ye.useEffect)(()=>{lr.current.instance&&Ir&&Qe.editor.setTheme(Ve)},[Ve,Ir]),(0,ye.useEffect)(()=>{let kt=lr.current.instance;Or.current=gt,kt&&Ir&&(kt.updateOptions(Ge({},gt)),setTimeout(()=>{kt.getModel().updateOptions(Ge({},gt))},200))},[JSON.stringify(gt),Ir]),(0,ye.useEffect)(()=>{let kt=lr.current.instance;kt&&Ir&&kt.layout()},[Ie,at,Ir]);const[Mt,St]=(0,ye.useState)(it(Ie)),[Ct,Rt]=(0,ye.useState)(it(at)),Nt=tt(Ge({},vt),{width:Mt,height:Ct,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:dr,style:Nt},Ye&&ye.createElement(be.CopyToClipboard,{text:Be,onCopy:()=>we.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(xe.Z,{title:"\u590D\u5236\u4EE3\u7801"},ye.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ye.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function pt({width:ft="100%",height:qe="100%",original:Ie,modified:at,language:Be,options:et={}}){const vt=(0,ye.useRef)(),[gt,dt]=(0,ye.useState)(null);function Ve(Ue){let Le;return vt.current&&(Le=new ze.Z(De=>{for(let Ze of De)(Ze.target.offsetHeight>0||Ze.target.offsetWidth>0)&&Ue.layout()}),Le.observe(vt.current)),Le}(0,ye.useEffect)(()=>(vt.current&&Promise.all([Ce.e(8909),Ce.e(9404)]).then(Ce.bind(Ce,2550)).then(Ue=>{Qe=Ue;const Le=Qe.editor.createDiffEditor(vt.current,tt(Ge({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},et),{wordWrap:!0}));dt(Le);let De=Ve(Le);return()=>{Le.dispose();const Ze=Le.getModel();Ze&&Ze.dispose(),De.unobserve(vt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ye.useEffect)(()=>{gt&&gt.setModel({original:Qe.editor.createModel(Ie,Be),modified:Qe.editor.createModel(at,Be)})},[Ie,at,Be,gt]);const Ne=it(ft),Ye=it(qe),ot={width:Ne,height:Ye};return ye.createElement("div",{className:"my-diff-editor",ref:vt,style:ot})}},11979:function(bt,mt,Ce){"use strict";var ye=Ce(70122),ze=Ce(82326),a=Ce(71411),he=Ce(59301);const de=ze.default.Option;mt.Z=({isTheoretical:ee,onFontSizeChange:oe,cmFontSize:ne,cmCodeMode:te,autoFormat:se,onCodeModeChange:z,onTabToSpace:x,onAutoFormat:b,formatDocument:E,className:re="",tabToSpace:ae,children:le,code_editor:fe,challenge:ce,shixun_environment_id:ue,shixun_environments:ge})=>{var _e;const we={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"},xe=(_e=ge==null?void 0:ge.find(ve=>ve.shixun_environment_id===ue))==null?void 0:_e.program_language;return console.log("----",xe,ge,ue,fe),he.createElement("div",{className:`tpi-code-setting ${re}`},he.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),he.createElement(ze.default,{bordered:!1,size:"small",value:te,onChange:z},he.createElement(de,{value:"vs"},"\u767D\u8272\u80CC\u666F"),he.createElement(de,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ee&&he.createElement(he.Fragment,null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),he.createElement(ze.default,{bordered:!1,size:"small",value:ne,onChange:oe},he.createElement(de,{value:12},"12px"),he.createElement(de,{value:14},"14px"),he.createElement(de,{value:16},"16px"),he.createElement(de,{value:18},"18px"),he.createElement(de,{value:20},"20px"),he.createElement(de,{value:22},"22px"))),he.createElement("div",{className:"file-item"},he.createElement("b",null,"Tab\u8F6C\u6362"),he.createElement(a.Z,{checked:ae,onChange:x})),he.createElement("div",{className:"file-item",onClick:E},he.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ee&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),he.createElement("span",null,"Ctrl + S")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),he.createElement("span",null,"F1 / Alt + F1")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),he.createElement("span",null,"Ctrl + ]/[")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),he.createElement("span",null,"Ctrl + Shift + \\")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),he.createElement("span",null,"Home")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),he.createElement("span",null,"End"))),le),!ee&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,xe&&he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u7F16\u7A0B\u8BED\u8A00"),he.createElement("span",null,xe)),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),he.createElement("span",null,we[ce==null?void 0:ce.difficulty])),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),he.createElement("span",null,fe==null?void 0:fe.name)),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),he.createElement("span",null,fe!=null&&fe.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},47140:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return x}});var ye={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7"},ze=Ce(29787),a=Ce(25399),he=Ce(60242),de=Ce(92310),ee=Ce.n(de),oe=Ce(63949),ne=Ce(13922),te=Ce(81779),se=Ce(59301),x=({className:b,dataSource:E=[],col:re=4,right:ae,bottom:le=23,precision:fe=0,wrapWidth:ce=1200,trackEventItems:ue,loading:ge,onRemove:_e=()=>{},isCurrent:we=!0,showProgress:xe=!1,showAlias:ve=!1})=>{const Se=Math.floor((ce-(re-1)*ae)/re),be=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return se.createElement(ze.Z,{spinning:ge},se.createElement("div",{className:ee()(ye.list,b)},!!(E!=null&&E.length)&&(E==null?void 0:E.map((Ae,Te)=>{var je,ke,Pe,Oe,He,Ge,tt,Me,We;const{name:it,id:ut,identifier:$e,featured:Je,school_name:Xe,image_url:Qe,excellent:st,is_plan:rt}=Ae;return se.createElement("div",{key:ut,className:we&&xe?ye.wrapisCurrent:ye.wrap,style:{width:Se,marginRight:(1+Te)%re===0?0:ae+fe,marginBottom:le}},se.createElement("a",{className:ye.li,onClick:pt=>{pt.preventDefault(),pt.stopPropagation(),ue&&(0,oe.L9)([ue]),(0,oe.xg)(`/paths/${$e}`)}},se.createElement("div",{className:ye.img},se.createElement("img",{className:ye.cover,src:`${Qe}`}),we&&(0,te.bg)()&&(Ae==null?void 0:Ae.studying)&&se.createElement("div",{className:`${ye.movebq} user-path-items`,onClick:pt=>{pt.stopPropagation(),_e(Ae)}},se.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),se.createElement("span",{className:"c-red"},"\u79FB\u9664")),(je=Ae==null?void 0:Ae.subject_tags)==null?void 0:je.map((pt,ft)=>{var qe,Ie;if(ft===0){const Be=(qe=be.find(et=>et.name==pt))==null?void 0:qe.swimg;return se.createElement("img",{className:ye.sign,src:Be,style:{left:"-4px"}})}const at=(Ie=be.find(Be=>Be.name==pt))==null?void 0:Ie.ptimg;return se.createElement("img",{className:ye.sign,src:at,style:{left:`${48+52*(ft-1)+2*ft}px`}})}),se.createElement("div",{className:ye.tagsDom},se.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(Ae==null?void 0:Ae.excellent)&&se.createElement("div",{className:ye.bq},"\u5F00\u653E\u8BFE\u7A0B"),((ke=Ae==null?void 0:Ae.custom_tags)==null?void 0:ke.length)>0&&se.createElement(a.Z,{title:(Pe=Ae==null?void 0:Ae.custom_tags)==null?void 0:Pe.slice(-1)},se.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},se.createElement("span",{className:"multi-llipsis1e text-10px"},(Oe=Ae==null?void 0:Ae.custom_tags)==null?void 0:Oe.slice(-1))))))),se.createElement("div",{className:ye.name},se.createElement(a.Z,{title:ve&&(Ae!=null&&Ae.excellent_alias_name)?se.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${it}`,se.createElement("br",null),se.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ae==null?void 0:Ae.excellent_alias_name}`)):it},se.createElement("span",{className:ye.e},ve&&(Ae==null?void 0:Ae.excellent_alias_name)||it))),we&&xe&&((He=Ae==null?void 0:Ae.progress)==null?void 0:He.all_score)!=0&&se.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},se.createElement(he.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Ge=Ae==null?void 0:Ae.progress)==null?void 0:Ge.my_score)/((tt=Ae==null?void 0:Ae.progress)==null?void 0:tt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Me=Ae==null?void 0:Ae.progress)==null?void 0:Me.my_score,"/",(We=Ae==null?void 0:Ae.progress)==null?void 0:We.all_score),(!we||!xe)&&se.createElement(a.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Xe}`},se.createElement("div",{className:ye.unit},se.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Xe)),(!we||!xe)&&se.createElement("div",{className:ye.tags},se.createElement("div",null,se.createElement(a.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),se.createElement("span",null,Ae.stages_count))),se.createElement(a.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),se.createElement("span",null,Ae.members_count)))))))})),!E.length&&se.createElement(ne.Z,null)))}},71951:function(bt,mt,Ce){"use strict";Ce.d(mt,{jL:function(){return de},w9:function(){return it},QD:function(){return jt},cQ:function(){return He.Z},op:function(){return De},O5:function(){return br},_b:function(){return Qt},t7:function(){return fe},Gi:function(){return st},YG:function(){return Xe},qp:function(){return z},vr:function(){return It},qE:function(){return Fe},Je:function(){return ge},wb:function(){return Oe},cq:function(){return at},tp:function(){return E}});var ye=Ce(59301),ze={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237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du2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",de=({dataSource:Kt=[],img:$t,imgWidth:Gt=346,title:Xt,sunTitle:tr,bannerExtraContent:pr})=>ye.createElement("div",{className:ze.banner},ye.createElement("div",{className:ze.content},ye.createElement("aside",null,ye.createElement("p",null,ye.createElement("b",null,Xt),ye.createElement("span",null,tr)),Kt.length>0&&ye.createElement("div",{className:ze.btns},Kt.map((Dt,Mt)=>ye.createElement("div",{key:Mt,onClick:Dt.click},Dt.name,Dt.sign?ye.createElement("img",{src:a,width:39}):null))),pr),$t&&ye.createElement("img",{style:{marginTop:33,marginRight:38},src:$t,width:Gt}))),ee={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},oe=Ce(92310),ne=Ce.n(oe),te=Ce(89392),z=({dataSource:Kt=[],value:$t,onChange:Gt,onTitleChange:Xt,className:tr,title:pr,titleWidth:Dt=41,style:Mt={},fontColor:St="#6A7283",showCount:Ct})=>{const[Rt,Nt]=(0,ye.useState)(1),[kt,Et]=(0,ye.useState)(!1),zt=(0,ye.useRef)(null),Ut=(0,ye.useRef)(null);return(0,ye.useEffect)(()=>{var Jt;Kt.length!==0&&(((Jt=zt==null?void 0:zt.current)==null?void 0:Jt.clientHeight)>97?Nt(1):Nt(0)),Kt.length===0&&Nt(0),Et(!1)},[Kt]),ye.createElement("div",{className:ne()(ee.row,tr,"fadeIn","animated"),style:Mt},ye.createElement("div",{onClick:(0,te.throttle)(()=>Xt==null?void 0:Xt(),2e3),style:{width:Dt,marginTop:kt?12:4},className:`${ee.title} ${Xt?"current":""}`},pr),ye.createElement("div",{className:kt?`${ee.tagsWrap} ${ee.tagsBorderWrap}`:ee.tagsWrap},ye.createElement("div",{className:ee.bar,ref:Ut,style:Rt>0?{height:Rt===1?97:"auto",overflow:Rt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ye.createElement("div",{className:ee.tag,ref:zt},Kt==null?void 0:Kt.map(Jt=>ye.createElement("span",{onClick:()=>Gt(Jt.id),key:Jt.id,style:{color:St},className:$t===Jt.id?ee.active:""},ye.createElement("span",{title:Jt.name,className:ee.name},Jt.name),!!Ct&&ye.createElement("span",{className:ee.num},Jt.count))))),!!Rt&&ye.createElement(ye.Fragment,null,Rt===1?ye.createElement("div",{onClick:()=>{var Jt;Nt(2),((Jt=zt==null?void 0:zt.current)==null?void 0:Jt.clientHeight)>245?Et(!0):Et(!1)},className:ee.action},"\u5C55\u5F00",ye.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ye.createElement("div",{onClick:()=>{Ut.current.scrollTop=0,Nt(1),Et(!1)},className:ee.action},"\u6536\u8D77",ye.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},x={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},E=({dataSource:Kt=[],value:$t,onChange:Gt,className:Xt,style:tr={}})=>ye.createElement("div",{style:tr,className:ne()(x.tabs,Xt)},Kt.map(pr=>ye.createElement("span",{onClick:()=>Gt(pr.id),className:$t===pr.id?x.active:"",key:pr.id},pr.name))),re={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ae=Ce(37568),fe=({dataSource:Kt=[],value:$t="",onChange:Gt,onInputChange:Xt=()=>{},className:tr,style:pr={},placeholder:Dt,allowClear:Mt=!1})=>{var St;const[Ct,Rt]=(0,ye.useState)(""),[Nt,kt]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var Ut;let Jt=$t;(Ut=JSON.stringify($t))!=null&&Ut.includes("{")&&(Rt($t.id),Jt=$t.value||"");try{kt(decodeURIComponent(Jt||""))}catch(er){kt(decodeURIComponent(Jt||""))}},[$t]);const Et=()=>{Gt(encodeURIComponent(Nt),Ct||null)},zt=Ut=>{Ut!==Ct&&(Rt(Ut),Gt(encodeURIComponent(Nt),Ut))};return ye.createElement("div",{className:ne()(re.input,tr),style:pr},!!Kt.length&&ye.createElement("div",{className:re.dropdown},ye.createElement("div",{className:re.text},(St=Kt.find(Ut=>Ut.id===Ct))==null?void 0:St.name,ye.createElement("i",{className:"iconfont icon-zhankai4"}),ye.createElement("b",{className:re.b1}),ye.createElement("b",{className:re.b2})),ye.createElement("div",{className:re.menu},Kt.map((Ut,Jt)=>ye.createElement("div",{key:Jt,onClick:()=>zt(Ut.id)},Ut.name)))),ye.createElement(ae.default,{onPressEnter:Et,value:Nt,onChange:Ut=>{kt(Ut.target.value),Xt(encodeURIComponent(Ut.target.value),Ct||null)},placeholder:Dt,variant:"borderless",allowClear:Mt,onClear:()=>Gt("",Ct||null)}),ye.createElement("i",{onClick:Et,className:"iconfont icon-sousuo9 font14 current"}))},ce={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},ge=({value:Kt,onChange:$t,className:Gt,total:Xt,pageSize:tr,style:pr={}})=>{const Dt=Kt<2,Mt=Kt>=Math.ceil(Xt/tr);return Xt<=tr?ye.createElement(ye.Fragment,null):ye.createElement("div",{className:ne()(ce.quickPager,Gt),style:pr},ye.createElement("div",{onClick:()=>{Dt||$t(Kt-1,"prev")},className:Dt?ce.disabled:""},"\u4E0A\u4E00\u9875"),ye.createElement("div",{onClick:()=>{Mt||$t(Kt+1,"next")},className:Mt?ce.disabled:""},"\u4E0B\u4E00\u9875"))},_e={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},we=Ce(29787),xe=Ce(25399),ve=Ce(58018),Se=Ce(78323),be=Ce(63949),Ae=Ce(96908),Te=Ce(57177),je=Ce(81378),ke=Ce(13922),Oe=({className:Kt,dataSource:$t=[],col:Gt=4,right:Xt,bottom:tr=23,precision:pr=0,wrapWidth:Dt=1200,trackEventItems:Mt,loading:St})=>{const Ct=Math.floor((Dt-(Gt-1)*Xt)/Gt);return ye.createElement(we.Z,{spinning:St},ye.createElement("div",{className:ne()(_e.list,Kt)},!!$t.length&&$t.map((Rt,Nt)=>{const{name:kt,id:Et,identifier:zt,power:Ut,cover_image_id:Jt,pic:er}=Rt;return ye.createElement("div",{className:_e.wrap,key:Et,style:{width:Ct,marginRight:(1+Nt)%Gt===0?0:Xt+pr,marginBottom:tr}},ye.createElement("a",{target:"_blank",href:`/shixuns/${zt}/challenges`,className:_e.li,onClick:wr=>{wr.preventDefault(),Mt&&(0,be.L9)([Mt]),Ut&&(0,be.xg)(`/shixuns/${zt}/challenges`)}},ye.createElement("div",{className:_e.img},ye.createElement("img",{className:_e.cover,src:`${er}`}),Rt.is_jupyter&&ye.createElement("img",{className:_e.sign,src:Ae}),Rt.is_jupyter_lab&&ye.createElement("img",{className:_e.sign,src:Te}),Rt.is_unity_3d&&ye.createElement("img",{className:_e.sign,src:je})),ye.createElement("div",{className:_e.name},ye.createElement(xe.Z,{title:kt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ye.createElement("span",{className:_e.e},kt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ye.createElement("div",{className:_e.tags},ye.createElement(xe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ye.createElement("span",null,Rt.challenges_count))),!!Rt.myshixuns_count&&ye.createElement(xe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ye.createElement("span",null,Rt.myshixuns_count))),ye.createElement(xe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ye.createElement("span",null,ye.createElement("span",null,Rt.level))),ye.createElement("div",{className:_e.rate},ye.createElement(ve.Z,{allowHalf:!0,disabled:!0,defaultValue:Rt.score_info}),ye.createElement("span",null,"\xA0",Rt.score_info?`${Rt.score_info}\u5206`:"5\u5206")))),!Ut&&ye.createElement("div",{className:_e.lockWrap},ye.createElement("img",{src:`${Se.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ye.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!$t.length&&ye.createElement(ke.Z,null)))},He=Ce(47140),Ge={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8K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xCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Me=Ce(59301),it=({className:Kt,dataSource:$t=[],col:Gt=4,right:Xt,bottom:tr=23,precision:pr=0,wrapWidth:Dt=1200,trackEventItems:Mt,loading:St,handleVery:Ct=()=>!0})=>{const Rt=Math.floor((Dt-(Gt-1)*Xt)/Gt);return Me.createElement(we.Z,{spinning:St},Me.createElement("div",{className:ne()(Ge.list,Kt)},!!$t.length&&$t.map((Nt,kt)=>{const{subject_identifier:Et,id:zt,identifier:Ut,power:Jt}=Nt,er=Nt.is_public!=0&&Nt.is_public;return Me.createElement("div",{className:Ge.wrap,key:zt,style:{width:Rt,marginRight:(1+kt)%Gt===0?0:Xt+pr,marginBottom:tr}},Me.createElement("a",{className:Ge.li,onClick:wr=>{wr.preventDefault(),Ct(Nt==null?void 0:Nt.first_category_url)&&(Mt&&(0,be.L9)([Mt]),(0,be.xg)(Nt.first_category_url))}},Me.createElement("div",{className:Ge.top},Me.createElement(xe.Z,{title:Nt.name},Me.createElement("div",{className:Ge.name},Nt.name)),Me.createElement("img",{className:Ge.img,src:Se.Z.IMG_SERVER+"/images/"+Nt.avatar_url}),Me.createElement("div",{className:Ge.text,title:Nt.creator},Nt.creator),Et&&Me.createElement("div",{className:Ge.btns},Me.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Me.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),er&&Me.createElement("div",{className:Ge.sign},"\u516C\u5F00")),Me.createElement("div",{className:Ge.bottom},Nt.visits>0&&Me.createElement(xe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Me.createElement("span",null,Me.createElement("i",{className:"iconfont icon-liulanyan"}),Me.createElement("span",null,Nt.visits))),Nt.course_members_count>0&&Me.createElement(xe.Z,{title:"\u6210\u5458",placement:"bottom"},Me.createElement("span",null,Me.createElement("i",{className:"iconfont icon-chengyuan"}),Nt.course_members_count)),Nt.tasks_count>0&&Me.createElement(xe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Me.createElement("span",null,Me.createElement("i",{className:"iconfont icon-zuoye"}),Nt.tasks_count)),Nt.is_end?Me.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Me.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Nt.is_accessible&&Me.createElement("div",{className:Ge.lockWrap},Me.createElement("img",{src:`${Se.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Me.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!$t.length&&Me.createElement(ke.Z,null)))},ut={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},$e=Ce(95392),Xe=({dataSource:Kt=[],value:$t,onChange:Gt,className:Xt,style:tr={},tabBarExtraContent:pr})=>ye.createElement("div",{className:ne()(ut.tabs,Xt),style:tr},ye.createElement("div",{className:ut.tabsWrap},Kt.map((Dt,Mt)=>!(Dt!=null&&Dt.hide)&&ye.createElement("aside",{className:ut.tab,onClick:()=>{Gt(Dt.id),Dt.link&&$e.history.push(Dt.link)},key:Mt},ye.createElement("div",{className:$t===Dt.id?ut.active:""},Dt.name),(Dt==null?void 0:Dt.resetCount)==null&&(Dt==null?void 0:Dt.total)!==void 0&&ye.createElement("span",null,"\uFF08",Dt==null?void 0:Dt.total,"\uFF09"),(Dt==null?void 0:Dt.resetCount)!==void 0&&(Dt==null?void 0:Dt.total)!==void 0&&ye.createElement(xe.Z,{title:(Dt==null?void 0:Dt.tip)!=null?Dt==null?void 0:Dt.tip:""},ye.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ye.createElement("span",{style:{color:"#000"}},Dt==null?void 0:Dt.resetCount),"/",ye.createElement("span",null,Dt==null?void 0:Dt.total),"\uFF09"))))),ye.createElement("div",{className:ut.tabBar},pr)),st=({className:Kt,style:$t={},children:Gt})=>ye.createElement("div",{className:ne()(Kt),style:$t},Gt),rt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},pt=Ce(75727),ft=Ce(93041);const qe=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var at=({sortValue:Kt,dropValue:$t,className:Gt,onSort:Xt,onDrop:tr,dataSource:pr=qe})=>{var Dt;return ye.createElement("div",{className:ne()(rt.orderWrap,Gt)},ye.createElement(pt.Z,{dropdownRender:()=>ye.createElement(ft.default,null,pr.map((Mt,St)=>ye.createElement(ft.default.Item,{key:St,onClick:()=>tr(Mt.id)},Mt.name)))},ye.createElement("span",{className:rt.orderTextWrap},(Dt=pr.find(Mt=>$t===Mt.id))==null?void 0:Dt.name)),ye.createElement("span",{className:rt.orderIconWrap},ye.createElement("span",{className:rt.orderAsc},ye.createElement("i",{className:Kt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${rt.cursorPointer} ${rt.active}`:`iconfont icon-sanjiaoxing-up font12 ${rt.cursorPointer}`,onClick:()=>Xt(Kt==="asc"?"desc":"asc")})),ye.createElement("span",{className:rt.orderDesc},ye.createElement("i",{className:Kt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${rt.cursorPointer} ${rt.active}`:`iconfont icon-sanjiaoxing-down font12 ${rt.cursorPointer}`,onClick:()=>Xt(Kt==="asc"?"desc":"asc")}))))},Be={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},et=Ce(99571),vt=Object.defineProperty,gt=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ne=(Kt,$t,Gt)=>$t in Kt?vt(Kt,$t,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Kt[$t]=Gt,Ye=(Kt,$t)=>{for(var Gt in $t||($t={}))dt.call($t,Gt)&&Ne(Kt,Gt,$t[Gt]);if(gt)for(var Gt of gt($t))Ve.call($t,Gt)&&Ne(Kt,Gt,$t[Gt]);return Kt},ot=(Kt,$t)=>{var Gt={};for(var Xt in Kt)dt.call(Kt,Xt)&&$t.indexOf(Xt)<0&&(Gt[Xt]=Kt[Xt]);if(Kt!=null&&gt)for(var Xt of gt(Kt))$t.indexOf(Xt)<0&&Ve.call(Kt,Xt)&&(Gt[Xt]=Kt[Xt]);return Gt},Ue=(Kt,$t,Gt)=>new Promise((Xt,tr)=>{var pr=St=>{try{Mt(Gt.next(St))}catch(Ct){tr(Ct)}},Dt=St=>{try{Mt(Gt.throw(St))}catch(Ct){tr(Ct)}},Mt=St=>St.done?Xt(St.value):Promise.resolve(St.value).then(pr,Dt);Mt((Gt=Gt.apply(Kt,$t)).next())}),De=Kt=>{var $t=Kt,{className:Gt,style:Xt,children:tr,loading:pr=!1,openLoading:Dt,onClick:Mt=()=>{},size:St="middle",shape:Ct="round"}=$t,Rt=ot($t,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Nt,kt]=(0,ye.useState)(!1);return ye.createElement(et.ZP,Ye({onClick:(0,te.throttle)(Et=>Ue(void 0,null,function*(){Dt&&kt(!0);try{yield Mt(Et)}catch(zt){console.log("error",zt)}Dt&&kt(!1)}),2e3,{leading:!0,trailing:!1}),className:ne()(Be.btn,Be[`${St}-${Ct}`],Gt),style:Xt,size:St,shape:Ct,loading:Nt||pr},Rt),tr)},Ze={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Fe=({className:Kt,style:$t,children:Gt=null,onClick:Xt,title:tr})=>ye.createElement("div",{className:ne()(Ze.head,Kt),style:$t},ye.createElement("span",{className:"primary-hover",onClick:Xt},ye.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ye.createElement("b",{title:tr},tr),ye.createElement("div",{className:Ze.node},Gt)),yt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},jt=({confirmShow:Kt=!0,confirmTitle:$t,confirmClick:Gt,cancelShow:Xt=!0,cancelTitle:tr,cancelClick:pr,className:Dt,style:Mt,confirmLoading:St=!1})=>ye.createElement("div",{className:ne()(yt.btns,Dt),style:Mt},Kt&&ye.createElement(et.ZP,{loading:St,onClick:Gt,type:"primary",className:yt.confirm},$t),Xt&&ye.createElement(et.ZP,{onClick:pr,className:yt.cancel},tr)),Tt={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},It=({className:Kt,style:$t={},LeftContent:Gt,children:Xt,RightContent:tr})=>ye.createElement("div",{className:ne()(Tt.fixedBottom,Kt),style:$t},ye.createElement("div",{className:Tt.wrap},ye.createElement("div",{className:Tt.left},Gt),ye.createElement("div",{className:Tt.center},Xt),ye.createElement("div",{className:Tt.right},tr))),Bt={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Qt=({className:Kt,style:$t={},dataSource:Gt=[]})=>ye.createElement("div",{className:ne()(Bt.crumbs,Kt),style:$t},Gt.map((Xt,tr)=>tr<Gt.length-1?ye.createElement(ye.Fragment,{key:tr},Xt.path||Xt.onClick?ye.createElement("span",{className:Bt.hover,onClick:Xt!=null&&Xt.onClick?Xt.onClick:()=>$e.history.push(Xt.path)},Xt.name):ye.createElement("span",null,Xt.name),ye.createElement("span",null,"\xA0",">","\xA0")):ye.createElement("span",{key:tr,style:{color:"#5F6368"}},Xt.name))),dr=Ce(11938),lr=Object.defineProperty,Or=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,rn=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Wr=Object.prototype.propertyIsEnumerable,sn=(Kt,$t,Gt)=>$t in Kt?lr(Kt,$t,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Kt[$t]=Gt,bn=(Kt,$t)=>{for(var Gt in $t||($t={}))zr.call($t,Gt)&&sn(Kt,Gt,$t[Gt]);if(rn)for(var Gt of rn($t))Wr.call($t,Gt)&&sn(Kt,Gt,$t[Gt]);return Kt},Ir=(Kt,$t)=>Or(Kt,Yr($t)),Nn=(Kt,$t)=>{var Gt={};for(var Xt in Kt)zr.call(Kt,Xt)&&$t.indexOf(Xt)<0&&(Gt[Xt]=Kt[Xt]);if(Kt!=null&&rn)for(var Xt of rn(Kt))$t.indexOf(Xt)<0&&Wr.call(Kt,Xt)&&(Gt[Xt]=Kt[Xt]);return Gt};const{Countdown:ai}=dr.default;var br=Kt=>{var $t=Kt,{onChange:Gt}=$t,Xt=Nn($t,["onChange"]);const[tr,pr]=(0,ye.useState)(null);(0,ye.useEffect)(()=>{typeof tr=="number"&&tr>=0&&Gt(tr)},[tr]);const Dt=Mt=>{const St=Math.floor(Mt/1e3);pr(St)};return ye.createElement(ai,Ir(bn({},Xt),{onChange:Dt}))}},66991:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return ze}});var ye=Ce(59301);function ze(a,he){const de=(0,ye.useRef)();(0,ye.useEffect)(()=>{de.current=a}),(0,ye.useEffect)(()=>{function ee(){de.current()}if(he!==null){let oe=setInterval(ee,he);return()=>clearInterval(oe)}},[he])}},58382:function(bt,mt,Ce){"use strict";var ye=Ce(59301),ze=Ce(11938),a=Ce(1439),he=Ce(28284),de=Ce(62957),ee=Ce(29787),oe=Ce(54172),ne=Ce(37568),te=Ce(77019),se=Ce(5269),z=Ce(99571),x=Ce(75823),b=Ce(56656),E=Ce.n(b),re=Ce(95392),ae=Ce(63949),le=Ce(2398),fe=Ce(81779),ce=Ce(90036),ue=Ce(59301),ge=(ve,Se,be)=>new Promise((Ae,Te)=>{var je=Oe=>{try{Pe(be.next(Oe))}catch(He){Te(He)}},ke=Oe=>{try{Pe(be.throw(Oe))}catch(He){Te(He)}},Pe=Oe=>Oe.done?Ae(Oe.value):Promise.resolve(Oe.value).then(je,ke);Pe((be=be.apply(ve,Se)).next())});const{Countdown:_e}=ze.default,we=({value:ve,onChange:Se,MaxMinutes:be})=>ue.createElement(ue.Fragment,null,ue.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",ue.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",ue.createElement("br",null)),ue.createElement(a.Z,{value:ve,onChange:Se,min:0,precision:0,max:be,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${be}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),xe=({exercise:ve,successCb:Se,dispatch:be})=>{var Ae,Te,je,ke;const Pe=(0,re.useParams)(),[Oe]=he.default.useForm(),He=he.default.useWatch("time",Oe),[Ge,tt]=(0,ye.useState)(!1),Me=(0,ye.useRef)(),{actionTabs:We}=ve,[it,ut]=(0,ye.useState)(),[,$e,Je,Xe]=(0,ce.U)(x.n7,{id:Pe.categoryId}),[,Qe,st]=(0,ce.U)(x.Cd,{});(0,ye.useEffect)(()=>{ve.actionTabs.key==="student-unlock"&&(tt(!1),Oe.resetFields())},[ve.actionTabs.key]);const rt=()=>new Promise(gt=>ge(void 0,null,function*(){var dt,Ve;return Me.current=yield(0,le.y)({ip_limit:(dt=We==null?void 0:We.exerciseParams)==null?void 0:dt.ip_limit,ip_bind:(Ve=We==null?void 0:We.exerciseParams)==null?void 0:Ve.ip_bind_type}),gt()})),pt=()=>ge(void 0,null,function*(){var gt,dt,Ve,Ne,Ye;yield Oe.validateFields();const ot=Oe.getFieldsValue();if(tt(!0),(((gt=We==null?void 0:We.exerciseParams)==null?void 0:gt.ip_limit)!=="no"||(dt=We==null?void 0:We.exerciseParams)!=null&&dt.ip_bind_type)&&(yield rt()),(yield(0,x.ZD)((Ve=We==null?void 0:We.exerciseParams)==null?void 0:Ve.id,{exercise_user_id:(Ne=We==null?void 0:We.exerciseParams)==null?void 0:Ne.exercise_user_id,unlock_key:ot.unlock_key,time:ot.time,ip:Me.current})).status===0){if(Se){be({type:"exercise/setActionTabs",payload:{}}),Se();return}const Le=We==null?void 0:We.exerciseParams;(0,ae.nr)({inner_ip:Le.inner_ip,public_ip:Le.public_ip,open_camera:Le.open_camera,ip_limit:Le.ip_limit,ip_bind:Le.ip_bind,ip_bind_type:Le.ip_bind_type,exercise_tips:Le.exercise_tips,exerciseId:Le.id,screen_open:Le.screen_open,screen_num:Le.screen_num,screen_sec:Le.screen_sec,coursesId:Pe.coursesId,login:(Ye=(0,fe.eY)())==null?void 0:Ye.login,history,identity_verify:Le.identity_verify,open_phone_video_recording:Le.open_phone_video_recording,current_status:Le.current_status}),be({type:"exercise/setActionTabs",payload:{}})}tt(!1)}),ft=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:gt=>ue.createElement("span",{className:gt.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},gt)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:gt=>ue.createElement("span",{className:gt.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},gt)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],qe=((Ae=We==null?void 0:We.exerciseParams)==null?void 0:Ae.errorMessage)&&typeof((Te=We==null?void 0:We.exerciseParams)==null?void 0:Te.errorMessage)=="object";(0,ye.useEffect)(()=>{ve.actionTabs.key==="student-unlock"&&ge(void 0,null,function*(){const gt=yield st(Pe);yield Je({}),gt.status||ut(gt)})},[ve.actionTabs.key]);const{time:Ie,end_time:at}=(it==null?void 0:it.exercise)||{},Be=Xe!=null&&Xe.user_end_time?E()(Xe==null?void 0:Xe.user_end_time).add(1,"minutes"):E()(),et=E()(Xe==null?void 0:Xe.user_total_end_time)>Be?Math.round(E().duration(E()(Xe==null?void 0:Xe.user_total_end_time).diff(Be.startOf("minute"))).asMinutes()):0,vt=((Xe==null?void 0:Xe.student_left_minutes)||0)+(He||0);return ue.createElement(ue.Fragment,null,ue.createElement(de.default,{width:514,centered:!0,closable:!!((je=We==null?void 0:We.exerciseParams)!=null&&je.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:ve.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{be({type:"exercise/setActionTabs",payload:{}})}},ue.createElement(ee.Z,{spinning:$e||Qe},qe&&ue.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!qe&&ue.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),qe&&ue.createElement(oe.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((ke=We==null?void 0:We.exerciseParams)==null?void 0:ke.errorMessage)||{}],columns:ft}),ue.createElement("div",{className:""},ue.createElement(he.default,{form:Oe,layout:"vertical",autoComplete:"off"},ue.createElement(he.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ue.createElement(ne.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Ie!==-1?ue.createElement(ue.Fragment,null,ue.createElement(he.default.Item,{name:"time",label:ue.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",ue.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",E()(Xe==null?void 0:Xe.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},ue.createElement(we,{MaxMinutes:et})),ue.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ue.createElement("span",{className:"ml5"},$e||Qe?"--":vt),"\u5206\u949F",vt!==0&&(Xe==null?void 0:Xe.user_end_time)&&ue.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ue.createElement("span",{className:"ml5"},E()(Xe==null?void 0:Xe.user_end_time).add(He||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):ue.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",E()(at).format("YYYY-MM-DD HH:mm")))),ue.createElement(te.Z,{justify:"space-between",align:"middle"},ue.createElement(se.Z,null),ue.createElement(se.Z,null,ue.createElement(z.ZP,{loading:Ge,onClick:pt},"\u8FDB\u5165\u8003\u8BD5"))))))};mt.Z=(0,re.connect)(({exercise:ve})=>({exercise:ve}))(xe)},63386:function(bt,mt,Ce){"use strict";Ce.d(mt,{Z:function(){return b}});var ye=Ce(59301),ze=Ce(6767),a=Ce(25399),he=Ce(29787),de=Ce(77019),ee=Ce(5269),oe=Ce(13747),ne=Ce(99571),te=Ce(17949),se=Ce(57193),z=Ce(97231),x=(re,ae,le)=>new Promise((fe,ce)=>{var ue=we=>{try{_e(le.next(we))}catch(xe){ce(xe)}},ge=we=>{try{_e(le.throw(we))}catch(xe){ce(xe)}},_e=we=>we.done?fe(we.value):Promise.resolve(we.value).then(ue,ge);_e((le=le.apply(re,ae)).next())}),b=({id:re,activeDiscussIndex:ae,onReplyDiscuss:le,adminOrOperator:fe})=>{const[ce,ue]=(0,ye.useState)(""),[ge,_e]=(0,ye.useState)(!1);function we(ve){ue(ve)}function xe(){if(!ce){ze.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}le(re,ce),ue("")}return(0,ye.useEffect)(()=>{ae!=re&&_e(!1)},[ae]),ye.createElement("div",{key:re,className:"discuss-item-editor",style:{display:ae===re?"block":"none",width:"100%"}},ye.createElement(te.Z,{miniToolbar:!0,startInit:ae===re,defaultValue:ce,id:re,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:we,extraUse:fe&&ye.createElement(a.Z,{color:"#fff",open:ge,destroyTooltipOnHide:!0,title:E({id:re,isOpen:ge,activeDiscussIndex:ae,onChange:we,setIsOpen:_e}),overlayStyle:{maxWidth:600}},ye.createElement("a",{title:ge?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>_e(!ge)},ye.createElement("i",{className:"iconfont icon-dianzan11"})))}),ye.createElement("a",{onClick:xe,className:"btn-send"},"\u53D1\u9001"))};const E=re=>{const[ae,le]=(0,ye.useState)(!1),[fe,ce]=(0,ye.useState)([]),[ue,ge]=(0,ye.useState)(1);(0,ye.useEffect)(()=>{re!=null&&re.isOpen?_e():(ge(1),ce([]))},[re==null?void 0:re.isOpen]);const _e=()=>x(void 0,null,function*(){le(!0);const we=yield(0,se.ZP)(`/api/discusses/${re==null?void 0:re.id}/recommend_answer.json`,{method:"get"});(we==null?void 0:we.status)==0&&ce(we==null?void 0:we.answer),le(!1)});return ye.createElement(he.Z,{spinning:ae},ye.createElement("div",{style:{color:"#000"}},ye.createElement(z.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(fe==null?void 0:fe[ue-1])||""}),ye.createElement(de.Z,{justify:"end",align:"middle"},ye.createElement(ee.Z,null,ye.createElement(oe.Z,{simple:!0,current:ue,pageSize:1,total:(fe==null?void 0:fe.length)||0,onChange:we=>{ge(we)}})),ye.createElement(ee.Z,null,ye.createElement(ne.ZP,{onClick:()=>x(void 0,null,function*(){re==null||re.onChange(fe==null?void 0:fe[ue-1]),re==null||re.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},93448:function(bt,mt,Ce){"use strict";Ce.d(mt,{CP:function(){return a},_V:function(){return ee}});var ye=Ce(28209),ze=Ce.n(ye);const a={secret:ye.enc.Utf8.parse("0a18e199b87f1a8d"),iv:ye.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},he={exam:a};function de(oe="",ne="exam"){const{secret:te,iv:se}=he[ne];return AES.encrypt(oe,te,{iv:se,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ee(oe="",ne="exam"){const{secret:te,iv:se}=he[ne];return ye.AES.decrypt(oe,te,{iv:se,mode:ze().mode.CBC,padding:ze().pad.Pkcs7}).toString(ye.enc.Utf8)}},91415:function(bt,mt,Ce){"use strict";Ce.d(mt,{BU:function(){return ze},Dj:function(){return ye},gH:function(){return a},vp:function(){return he}});function ye(de){try{de.mozRequestFullScreen?de.mozRequestFullScreen():de.webkitRequestFullScreen&&de.webkitRequestFullScreen()}catch(ee){console.log(ee,":e")}}function ze(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const a=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function he(){var de=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ee=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",de),window.isFullScreen?window.isFullScreen:de!=null}},90036:function(bt,mt,Ce){"use strict";Ce.d(mt,{U:function(){return te}});var ye=Ce(59301),ze=Object.defineProperty,a=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ee=(se,z,x)=>z in se?ze(se,z,{enumerable:!0,configurable:!0,writable:!0,value:x}):se[z]=x,oe=(se,z)=>{for(var x in z||(z={}))he.call(z,x)&&ee(se,x,z[x]);if(a)for(var x of a(z))de.call(z,x)&&ee(se,x,z[x]);return se},ne=(se,z,x)=>new Promise((b,E)=>{var re=fe=>{try{le(x.next(fe))}catch(ce){E(ce)}},ae=fe=>{try{le(x.throw(fe))}catch(ce){E(ce)}},le=fe=>fe.done?b(fe.value):Promise.resolve(fe.value).then(re,ae);le((x=x.apply(se,z)).next())});function te(se,z){const[x,b]=(0,ye.useState)(z),[E,re]=(0,ye.useState)(!1),[ae,le]=(0,ye.useState)();return[x,E,(ce,ue=!1)=>ne(this,null,function*(){const ge=ue?z:oe(oe({},x),ce);re(!0),b(ge);const _e=yield se(ge);return re(!1),le(_e),_e}),ae,le]}},46553:function(bt,mt,Ce){"use strict";Ce.d(mt,{_:function(){return a}});var ye=Ce(59301),ze=Ce(62957);const a=he=>{var de,ee;const oe=(0,ye.useRef)([]),ne=()=>{for(const te of oe.current)clearTimeout(te);oe.current=[]};return(0,ye.useEffect)(()=>{var te,se,z,x,b,E;if(ne(),(te=he==null?void 0:he.exercise)!=null&&te.left_time&&((z=(se=he==null?void 0:he.exercise)==null?void 0:se.exercise_events)==null?void 0:z.length)>0){for(const re of(x=he==null?void 0:he.exercise)==null?void 0:x.exercise_events)if(((b=he==null?void 0:he.exercise)==null?void 0:b.left_time)>(re==null?void 0:re.reminder_time)*60){let ae=(((E=he==null?void 0:he.exercise)==null?void 0:E.left_time)-(re==null?void 0:re.reminder_time)*60)*1e3;ae=ae>2147483647?2147483647:ae;const le=setTimeout(()=>{ze.default.info({content:`${re==null?void 0:re.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},ae);oe.current.push(le)}}},[(de=he==null?void 0:he.exercise)==null?void 0:de.left_time,(ee=he==null?void 0:he.exercise)==null?void 0:ee.exercise_events]),ne}},901:function(bt,mt,Ce){"use strict";Ce.d(mt,{AL:function(){return ge},Iy:function(){return z},Qv:function(){return E},ez:function(){return ue},jb:function(){return x}});var ye=Ce(32834),ze=Ce.n(ye),a=Ce(11690),he=Ce.n(a);let de=1;function ee(Se,be){const Ae=Se.match(/^(\s+)(?:```)/);if(Ae===null)return be;const Te=Ae[1];return be.split(`
`).map(je=>{const ke=je.match(/^\s+/);if(ke===null)return je;const[Pe]=ke;return Pe.length>=Te.length?je.slice(Te.length):je}).join(`
`)}let oe=[],ne=["<ul>"];const te=new(ze()).Renderer,se=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function z(){oe.length=0,ne=["<ul>"]}const x={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function b(Se,be,Ae,Te){if(be>=Se.length||Se[be].level<=Ae)return be;var je=Se[be];Te.push("<li><a href='#"+de+je.anchor+"'>"+je.text+"</a>"),be++;var ke=[];return be=b(Se,be,je.level,ke),ke.length>0&&(Te.push("<ul>"),ke.forEach(function(Pe){Te.push(Pe)}),Te.push("</ul>")),Te.push("</li>"),be=b(Se,be,Ae,Te),be}function E(){return b(oe,0,0,ne),ne.push("</ul>"),ne.join("")}const re={heading(Se){const be=se.exec(Se);if(de+=1,be)return{type:"heading",raw:be[0],depth:be[1].length,text:be[2]}},fences(Se){const be=this.rules.block.fences.exec(Se);if(be){const Ae=be[0];let Te=ee(Ae,be[3]||"");const je=be[2]?be[2].trim():be[2];if(["latex","katex","math"].indexOf(je)>=0){const ke=fe(),Pe=Te;Te=ke,ce[ke]={type:"block",expression:Pe}}return{type:"code",raw:Ae,lang:je,text:Te}}}},ae=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let le=0;const fe=()=>`__special_katext_id_${le++}__`;let ce={};function ue(){return ce}function ge(){le=0,ce={}}function _e(Se){return Se=Se.replace(ae,(be,Ae)=>{const Te=fe();return ce[Te]={type:"inline",expression:Ae},Te}),Se}const we=te.listitem;te.listitem=function(Se){return we(_e(Se))};const xe=te.paragraph;te.paragraph=function(Se){return xe(_e(Se))};const ve=te.tablecell;te.tablecell=function(Se,be){return ve(_e(Se),be)},te.code=function(Se,be,Ae){const Te=(be||"").match(/\S*/)[0];return Te?["latex","katex","math"].indexOf(Te)>=0?`<p class='editormd-tex'>${Se}</p>`:`<pre class="prettyprint linenums"><code class="language-${be}">${Ae?Se:(0,a.escape)(Se,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(Ae?Se:(0,a.escape)(Se,!0))+"</code></pre>"},te.heading=function(Se,be,Ae){let Te=this.options.headerPrefix+Ae.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return oe.push({anchor:Te,level:be,text:Se}),"<h"+be+' id="'+de+Te+'">'+Se+"</h"+be+">"},ze().setOptions({silent:!0,gfm:!0,pedantic:!1}),ze().use({tokenizer:re,renderer:te}),mt.ZP=ze()},83090:function(bt,mt,Ce){"use strict";Ce.d(mt,{G:function(){return de},t:function(){return he}});var ye=Ce(7062),ze=Ce.n(ye);const a=null;function he(ee,oe){let ne=ze().get("__ec");ne||(ne={}),ne[ee]=oe,ze().set("__ec",ne)}function de(ee,oe){let ne=ze().get("__ec");return ne?ne[ee]===void 0?oe:ne[ee]:oe}},47257:function(bt){(function(mt){(function(Ce){if(1)bt.exports=Ce();else var ye})(function(){var Ce,ye,ze;return function(){function a(he,de,ee){function oe(se,z){if(!de[se]){if(!he[se]){var x=void 0;if(!z&&x)return require(se,!0);if(ne)return ne(se,!0);var b=new Error("Cannot find module '"+se+"'");throw b.code="MODULE_NOT_FOUND",b}var E=de[se]={exports:{}};he[se][0].call(E.exports,function(re){var ae=he[se][1][re];return oe(ae||re)},E,E.exports,a,he,de,ee)}return de[se].exports}for(var ne=void 0,te=0;te<ee.length;te++)oe(ee[te]);return oe}return a}()({1:[function(a,he,de){"use strict";var ee=a("./browser/client");ee.Buffer=a("buffer").Buffer,ee.urllib=a("../shims/xhr"),ee.version=a("./browser/version").version,he.exports=ee},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.array.slice.js");var te=a("assert"),se=a("../common/utils/checkBucketName"),z=se.checkBucketName,x=de;function b(re){return Array.isArray?Array.isArray(re):Object.prototype.toString.call(re)==="[object Array]"}function E(re){return re?b(re)?re:[re]:[]}x.useBucket=function(ae){return z(ae),this.options.bucket=ae,this},x.setBucket=function(ae){return z(ae),this.options.bucket=ae,this},x.getBucket=function(){return this.options.bucket},x.deleteBucket=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce){var ue,ge;return oe.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return ue=this._bucketRequestParams("DELETE",fe,"",ce),we.next=3,this.request(ue);case 3:if(ge=we.sent,!(ge.status===200||ge.status===204)){we.next=6;break}return we.abrupt("return",{res:ge.res});case 6:return we.next=8,this.requestError(ge);case 8:throw we.sent;case 9:case"end":return we.stop()}},le,this)}));function ae(le,fe){return re.apply(this,arguments)}return ae}(),x.putBucketACL=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce,ue){var ge,_e;return oe.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ge=this._bucketRequestParams("PUT",fe,"acl",ue),ge.headers={"x-oss-acl":ce},ge.successStatuses=[200],xe.next=5,this.request(ge);case 5:return _e=xe.sent,xe.abrupt("return",{bucket:_e.headers.location&&_e.headers.location.substring(1)||null,res:_e.res});case 7:case"end":return xe.stop()}},le,this)}));function ae(le,fe,ce){return re.apply(this,arguments)}return ae}(),x.getBucketACL=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce){var ue,ge;return oe.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return ue=this._bucketRequestParams("GET",fe,"acl",ce),ue.successStatuses=[200],ue.xmlResponse=!0,we.next=5,this.request(ue);case 5:return ge=we.sent,we.abrupt("return",{acl:ge.data.AccessControlList.Grant,owner:{id:ge.data.Owner.ID,displayName:ge.data.Owner.DisplayName},res:ge.res});case 7:case"end":return we.stop()}},le,this)}));function ae(le,fe){return re.apply(this,arguments)}return ae}(),x.putBucketLogging=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce,ue){var ge,_e,we;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ge=this._bucketRequestParams("PUT",fe,"logging",ue),_e=`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(fe,`</TargetBucket>
`),ce&&(_e+="<TargetPrefix>".concat(ce,`</TargetPrefix>
`)),_e+=`</LoggingEnabled>
</BucketLoggingStatus>`,ge.content=_e,ge.mime="xml",ge.successStatuses=[200],ve.next=9,this.request(ge);case 9:return we=ve.sent,ve.abrupt("return",{res:we.res});case 11:case"end":return ve.stop()}},le,this)}));function ae(le,fe,ce){return re.apply(this,arguments)}return ae}(),x.getBucketLogging=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce){var ue,ge,_e;return oe.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ue=this._bucketRequestParams("GET",fe,"logging",ce),ue.successStatuses=[200],ue.xmlResponse=!0,xe.next=5,this.request(ue);case 5:return ge=xe.sent,_e=ge.data.LoggingEnabled,xe.abrupt("return",{enable:!!_e,prefix:_e&&_e.TargetPrefix||null,res:ge.res});case 8:case"end":return xe.stop()}},le,this)}));function ae(le,fe){return re.apply(this,arguments)}return ae}(),x.deleteBucketLogging=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce){var ue,ge;return oe.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return ue=this._bucketRequestParams("DELETE",fe,"logging",ce),ue.successStatuses=[204,200],we.next=4,this.request(ue);case 4:return ge=we.sent,we.abrupt("return",{res:ge.res});case 6:case"end":return we.stop()}},le,this)}));function ae(le,fe){return re.apply(this,arguments)}return ae}(),x.putBucketCORS=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce,ue){var ge,_e,we,xe,ve,Se,be,Ae,Te,je;return oe.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:for(ce=ce||[],te(ce.length,"rules is required"),ce.forEach(function(Oe){te(Oe.allowedOrigin,"allowedOrigin is required"),te(Oe.allowedMethod,"allowedMethod is required")}),ge=this._bucketRequestParams("PUT",fe,"cors",ue),_e=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,we=function(He){_e+="<AllowedOrigin>".concat(He,"</AllowedOrigin>")},xe=function(He){_e+="<AllowedMethod>".concat(He,"</AllowedMethod>")},ve=function(He){_e+="<AllowedHeader>".concat(He,"</AllowedHeader>")},Se=function(He){_e+="<ExposeHeader>".concat(He,"</ExposeHeader>")},be=0,Ae=ce.length;be<Ae;be++)Te=ce[be],_e+="<CORSRule>",E(Te.allowedOrigin).forEach(we),E(Te.allowedMethod).forEach(xe),E(Te.allowedHeader).forEach(ve),E(Te.exposeHeader).forEach(Se),Te.maxAgeSeconds&&(_e+="<MaxAgeSeconds>".concat(Te.maxAgeSeconds,"</MaxAgeSeconds>")),_e+="</CORSRule>";return _e+="</CORSConfiguration>",ge.content=_e,ge.mime="xml",ge.successStatuses=[200],Pe.next=16,this.request(ge);case 16:return je=Pe.sent,Pe.abrupt("return",{res:je.res});case 18:case"end":return Pe.stop()}},le,this)}));function ae(le,fe,ce){return re.apply(this,arguments)}return ae}(),x.getBucketCORS=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce){var ue,ge,_e,we;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ue=this._bucketRequestParams("GET",fe,"cors",ce),ue.successStatuses=[200],ue.xmlResponse=!0,ve.next=5,this.request(ue);case 5:return ge=ve.sent,_e=[],ge.data&&ge.data.CORSRule&&(we=ge.data.CORSRule,b(we)||(we=[we]),we.forEach(function(Se){var be={};Object.keys(Se).forEach(function(Ae){be[Ae.slice(0,1).toLowerCase()+Ae.slice(1,Ae.length)]=Se[Ae]}),_e.push(be)})),ve.abrupt("return",{rules:_e,res:ge.res});case 9:case"end":return ve.stop()}},le,this)}));function ae(le,fe){return re.apply(this,arguments)}return ae}(),x.deleteBucketCORS=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce){var ue,ge;return oe.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return ue=this._bucketRequestParams("DELETE",fe,"cors",ce),ue.successStatuses=[204],we.next=4,this.request(ue);case 4:return ge=we.sent,we.abrupt("return",{res:ge.res});case 6:case"end":return we.stop()}},le,this)}));function ae(le,fe){return re.apply(this,arguments)}return ae}(),x.putBucketReferer=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce,ue,ge){var _e,we,xe,ve;return oe.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(_e=this._bucketRequestParams("PUT",fe,"referer",ge),we=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,we+=" <AllowEmptyReferer>".concat(ce?"true":"false",`</AllowEmptyReferer>
`),ue&&ue.length>0){for(we+=` <RefererList>
`,xe=0;xe<ue.length;xe++)we+=" <Referer>".concat(ue[xe],`</Referer>
`);we+=` </RefererList>
`}else we+=` <RefererList />
`;return we+="</RefererConfiguration>",_e.content=we,_e.mime="xml",_e.successStatuses=[200],be.next=10,this.request(_e);case 10:return ve=be.sent,be.abrupt("return",{res:ve.res});case 12:case"end":return be.stop()}},le,this)}));function ae(le,fe,ce,ue){return re.apply(this,arguments)}return ae}(),x.getBucketReferer=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce){var ue,ge,_e;return oe.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ue=this._bucketRequestParams("GET",fe,"referer",ce),ue.successStatuses=[200],ue.xmlResponse=!0,xe.next=5,this.request(ue);case 5:return ge=xe.sent,_e=ge.data.RefererList.Referer||null,_e&&(b(_e)||(_e=[_e])),xe.abrupt("return",{allowEmpty:ge.data.AllowEmptyReferer==="true",referers:_e,res:ge.res});case 9:case"end":return xe.stop()}},le,this)}));function ae(le,fe){return re.apply(this,arguments)}return ae}(),x.deleteBucketReferer=function(){var re=(0,ne.default)(oe.default.mark(function le(fe,ce){return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ge.next=2,this.putBucketReferer(fe,!0,null,ce);case 2:return ge.abrupt("return",ge.sent);case 3:case"end":return ge.stop()}},le,this)}));function ae(le,fe){return re.apply(this,arguments)}return ae}(),x._bucketRequestParams=function(ae,le,fe,ce){return{method:ae,bucket:le,subres:fe,timeout:ce&&ce.timeout,ctx:ce&&ce.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(a,he,de){(function(ee,oe){(function(){"use strict";var ne=a("@babel/runtime/helpers/interopRequireDefault"),te=ne(a("@babel/runtime/regenerator")),se=ne(a("@babel/runtime/helpers/asyncToGenerator"));a("core-js/modules/es.function.name.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.split.js"),a("core-js/modules/es.object.assign.js"),a("core-js/modules/es.array.includes.js"),a("core-js/modules/es.string.replace.js"),a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.symbol.js"),a("core-js/modules/es.symbol.description.js"),a("core-js/modules/es.array.slice.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.promise.js"),a("core-js/modules/es.regexp.to-string.js");var z=a("debug")("ali-oss"),x=a("xml2js"),b=a("agentkeepalive"),E=a("merge-descriptors"),re=a("platform"),ae=a("utility"),le=a("urllib"),fe=a("./version"),ce=a("bowser"),ue=a("../common/signUtils"),ge=a("../common/client/initOptions"),_e=a("../common/utils/createRequest"),we=_e.createRequest,xe=a("../common/utils/encoder"),ve=xe.encoder,Se=a("../common/client/getReqUrl"),be=Se.getReqUrl,Ae=a("../common/utils/setSTSToken"),Te=Ae.setSTSToken,je=a("../common/utils/retry"),ke=je.retry,Pe=a("../common/utils/isFunction"),Oe=Pe.isFunction,He=new b;function Ge(){var $e=re.name,Je=re.version;$e&&$e.toLowerCase&&$e.toLowerCase()==="ie"&&Je.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function tt(){return location&&location.protocol==="https:"}function Me($e,Je){if(Ge(),!(this instanceof Me))return new Me($e,Je);$e&&$e.inited?this.options=$e:this.options=Me.initOptions($e),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=le,this.agent=this.options.agent||He),this.ctx=Je,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}he.exports=Me,Me.initOptions=function(Je){Je.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Xe=Object.assign({secure:tt(),useFetch:!1},Je);return ge(Xe)};var We=Me.prototype;We.debug=z,E(We,a("./object")),E(We,a("./bucket")),E(We,a("../common/bucket/getBucketWebsite")),E(We,a("../common/bucket/putBucketWebsite")),E(We,a("../common/bucket/deleteBucketWebsite")),E(We,a("../common/bucket/getBucketLifecycle")),E(We,a("../common/bucket/putBucketLifecycle")),E(We,a("../common/bucket/deleteBucketLifecycle")),E(We,a("../common/bucket/putBucketVersioning")),E(We,a("../common/bucket/getBucketVersioning")),E(We,a("../common/bucket/getBucketInventory")),E(We,a("../common/bucket/deleteBucketInventory")),E(We,a("../common/bucket/listBucketInventory")),E(We,a("../common/bucket/putBucketInventory")),E(We,a("../common/bucket/abortBucketWorm")),E(We,a("../common/bucket/completeBucketWorm")),E(We,a("../common/bucket/extendBucketWorm")),E(We,a("../common/bucket/getBucketWorm")),E(We,a("../common/bucket/initiateBucketWorm")),E(We,a("./managed-upload")),E(We,a("../common/multipart-copy")),E(We,a("../common/multipart")),E(We,a("../common/parallel")),We.signature=function(Je){return this.debug("authorization stringToSign: %s",Je,"info"),ue.computeSignature(this.options.accessKeySecret,Je,this.options.headerEncoding)},We._getReqUrl=be,We.authorization=function(Je,Xe,Qe,st){var rt=ue.buildCanonicalString(Je.toUpperCase(),Xe,{headers:st,parameters:Qe});return ue.authorization(this.options.accessKeyId,this.options.accessKeySecret,rt,this.options.headerEncoding)},We.request=function(){var $e=(0,se.default)(te.default.mark(function Je(Xe){var Qe=this;return te.default.wrap(function(rt){for(;;)switch(rt.prev=rt.next){case 0:if(!this.options.retryMax){rt.next=6;break}return rt.next=3,ke(it.bind(this),this.options.retryMax,{errorHandler:function(ft){var qe=function(at){if(Xe.stream)return!1;var Be=[-1,-2].includes(at.status),et=Qe.options.requestErrorRetryHandle||function(){return!0};return Be&&et(at)};return!!qe(ft)}})(Xe);case 3:return rt.abrupt("return",rt.sent);case 6:return rt.abrupt("return",it.call(this,Xe));case 7:case"end":return rt.stop()}},Je,this)}));return function(Je){return $e.apply(this,arguments)}}();function it($e){return ut.apply(this,arguments)}function ut(){return ut=(0,se.default)(te.default.mark(function $e(Je){var Xe,Qe,st,rt,pt,ft;return te.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:if(!(this.options.stsToken&&Oe(this.options.refreshSTSToken))){Ie.next=3;break}return Ie.next=3,Te.call(this);case 3:return Xe=we.call(this,Je),this.options.useFetch||(Xe.params.mode="disable-fetch"),rt=!!Je.stream,Ie.prev=6,Ie.next=9,this.urllib.request(Xe.url,Xe.params);case 9:Qe=Ie.sent,this.debug("response %s %s, got %s, headers: %j",Je.method,Xe.url,Qe.status,Qe.headers,"info"),Ie.next=16;break;case 13:Ie.prev=13,Ie.t0=Ie.catch(6),st=Ie.t0;case 16:if(!(Qe&&Je.successStatuses&&Je.successStatuses.indexOf(Qe.status)===-1)){Ie.next=28;break}return Ie.next=19,this.requestError(Qe);case 19:if(pt=Ie.sent,!(pt.code==="RequestTimeTooSkewed"&&!rt)){Ie.next=25;break}return this.options.amendTimeSkewed=+new Date(pt.serverTime)-new Date,Ie.next=24,this.request(Je);case 24:return Ie.abrupt("return",Ie.sent);case 25:pt.params=Je,Ie.next=32;break;case 28:if(!st){Ie.next=32;break}return Ie.next=31,this.requestError(st);case 31:pt=Ie.sent;case 32:if(!pt){Ie.next=34;break}throw pt;case 34:if(!Je.xmlResponse){Ie.next=39;break}return Ie.next=37,this.parseXML(Qe.data);case 37:ft=Ie.sent,Qe.data=ft;case 39:return Ie.abrupt("return",Qe);case 40:case"end":return Ie.stop()}},$e,this,[[6,13]])})),ut.apply(this,arguments)}We._getResource=function(Je){var Xe="/";return Je.bucket&&(Xe+="".concat(Je.bucket,"/")),Je.object&&(Xe+=ve(Je.object,this.options.headerEncoding)),Xe},We._escape=function(Je){return ae.encodeURIComponent(Je).replace(/%2F/g,"/")},We._getUserAgent=function(){var Je=oe&&oe.browser?"js":"nodejs",Xe="aliyun-sdk-".concat(Je,"/").concat(fe.version),Qe=re.description;return!Qe&&oe&&(Qe="Node.js ".concat(oe.version.slice(1)," on ").concat(oe.platform," ").concat(oe.arch)),this._checkUserAgent("".concat(Xe," ").concat(Qe))},We._checkUserAgent=function(Je){var Xe=Je.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return Xe},We.checkBrowserAndVersion=function(Je,Xe){return ce.name===Je&&ce.version.split(".")[0]===Xe},We.parseXML=function(Je){return new Promise(function(Xe,Qe){ee.isBuffer(Je)&&(Je=Je.toString()),x.parseString(Je,{explicitRoot:!1,explicitArray:!1},function(st,rt){st?Qe(st):Xe(rt)})})},We.requestError=function(){var $e=(0,se.default)(te.default.mark(function Xe(Qe){var st,rt,pt,ft;return te.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:if(st=null,!(!Qe.data||!Qe.data.length)){Ie.next=5;break}Qe.status===-1||Qe.status===-2?(st=new Error(Qe.message),st.name=Qe.name,st.status=Qe.status,st.code=Qe.name):(Qe.status===404?(st=new Error("Object not exists"),st.name="NoSuchKeyError",st.status=404,st.code="NoSuchKey"):Qe.status===412?(st=new Error("Pre condition failed"),st.name="PreconditionFailedError",st.status=412,st.code="PreconditionFailed"):(st=new Error("Unknow error, status: ".concat(Qe.status)),st.name="UnknownError",st.status=Qe.status),st.requestId=Qe.headers["x-oss-request-id"],st.host=""),Ie.next=32;break;case 5:return rt=String(Qe.data),this.debug("request response error data: %s",rt,"error"),Ie.prev=7,Ie.next=10,this.parseXML(rt);case 10:if(Ie.t0=Ie.sent,Ie.t0){Ie.next=13;break}Ie.t0={};case 13:pt=Ie.t0,Ie.next=23;break;case 16:return Ie.prev=16,Ie.t1=Ie.catch(7),this.debug(rt,"error"),Ie.t1.message+=`
raw xml: `.concat(rt),Ie.t1.status=Qe.status,Ie.t1.requestId=Qe.headers["x-oss-request-id"],Ie.abrupt("return",Ie.t1);case 23:ft=pt.Message||"unknow request error, status: ".concat(Qe.status),pt.Condition&&(ft+=" (condition: ".concat(pt.Condition,")")),st=new Error(ft),st.name=pt.Code?"".concat(pt.Code,"Error"):"UnknownError",st.status=Qe.status,st.code=pt.Code,st.requestId=pt.RequestId,st.hostId=pt.HostId,st.serverTime=pt.ServerTime;case 32:return this.debug("generate error %j",st,"error"),Ie.abrupt("return",st);case 34:case"end":return Ie.stop()}},Xe,this,[[7,16]])}));function Je(Xe){return $e.apply(this,arguments)}return Je}()}).call(this)}).call(this,{isBuffer:a("../../node_modules/is-buffer/index.js")},a("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(a,he,de){(function(ee){(function(){"use strict";var oe=a("@babel/runtime/helpers/interopRequireDefault"),ne=oe(a("@babel/runtime/regenerator"));a("core-js/modules/es.function.name.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.promise.js"),a("core-js/modules/es.array.from.js"),a("core-js/modules/es.string.iterator.js"),a("core-js/modules/es.array.map.js"),a("core-js/modules/es.array.filter.js"),a("core-js/modules/es.array.find.js"),a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.regexp.to-string.js"),a("core-js/modules/es.array.slice.js"),a("core-js/modules/es.array.iterator.js"),a("core-js/modules/es.array-buffer.slice.js"),a("core-js/modules/es.typed-array.uint8-array.js"),a("core-js/modules/es.typed-array.copy-within.js"),a("core-js/modules/es.typed-array.every.js"),a("core-js/modules/es.typed-array.fill.js"),a("core-js/modules/es.typed-array.filter.js"),a("core-js/modules/es.typed-array.find.js"),a("core-js/modules/es.typed-array.find-index.js"),a("core-js/modules/es.typed-array.for-each.js"),a("core-js/modules/es.typed-array.includes.js"),a("core-js/modules/es.typed-array.index-of.js"),a("core-js/modules/es.typed-array.iterator.js"),a("core-js/modules/es.typed-array.join.js"),a("core-js/modules/es.typed-array.last-index-of.js"),a("core-js/modules/es.typed-array.map.js"),a("core-js/modules/es.typed-array.reduce.js"),a("core-js/modules/es.typed-array.reduce-right.js"),a("core-js/modules/es.typed-array.reverse.js"),a("core-js/modules/es.typed-array.set.js"),a("core-js/modules/es.typed-array.slice.js"),a("core-js/modules/es.typed-array.some.js"),a("core-js/modules/es.typed-array.sort.js"),a("core-js/modules/es.typed-array.subarray.js"),a("core-js/modules/es.typed-array.to-locale-string.js"),a("core-js/modules/es.typed-array.to-string.js");var te=oe(a("@babel/runtime/helpers/asyncToGenerator")),se=a("util"),z=a("path"),x=a("mime"),b=a("copy-to"),E=a("../common/utils/isBlob"),re=E.isBlob,ae=a("../common/utils/isFile"),le=ae.isFile,fe=a("../common/utils/isBuffer"),ce=fe.isBuffer,ue=de;ue.multipartUpload=function(){var ve=(0,te.default)(ne.default.mark(function be(Ae,Te){var je,ke,Pe,Oe,He,Ge,tt,Me,We,it=arguments;return ne.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:if(je=it.length>2&&it[2]!==void 0?it[2]:{},this.resetCancelFlag(),je.disabledMD5=je.disabledMD5===void 0?!0:!!je.disabledMD5,!(je.checkpoint&&je.checkpoint.uploadId)){$e.next=8;break}return Te&&le(Te)&&(je.checkpoint.file=Te),$e.next=7,this._resumeMultipart(je.checkpoint,je);case 7:return $e.abrupt("return",$e.sent);case 8:return ke=102400,je.mime||(le(Te)?je.mime=x.getType(z.extname(Te.name)):re(Te)?je.mime=Te.type:ce(Te)?je.mime="":je.mime=x.getType(z.extname(Te))),je.headers=je.headers||{},this._convertMetaToHeaders(je.meta,je.headers),$e.next=14,this._getFileSize(Te);case 14:if(Pe=$e.sent,!(Pe<ke)){$e.next=26;break}return je.contentLength=Pe,$e.next=19,this.put(Ae,Te,je);case 19:if(Oe=$e.sent,!(je&&je.progress)){$e.next=23;break}return $e.next=23,je.progress(1);case 23:return He={res:Oe.res,bucket:this.options.bucket,name:Ae,etag:Oe.res.headers.etag},(je.headers&&je.headers["x-oss-callback"]||je.callback)&&(He.data=Oe.data),$e.abrupt("return",He);case 26:if(!(je.partSize&&parseInt(je.partSize,10)!==je.partSize)){$e.next=28;break}throw new Error("partSize must be int number");case 28:if(!(je.partSize&&je.partSize<ke)){$e.next=30;break}throw new Error("partSize must not be smaller than ".concat(ke));case 30:return $e.next=32,this.initMultipartUpload(Ae,je);case 32:if(Ge=$e.sent,tt=Ge.uploadId,Me=this._getPartSize(Pe,je.partSize),We={file:Te,name:Ae,fileSize:Pe,partSize:Me,uploadId:tt,doneParts:[]},!(je&&je.progress)){$e.next=39;break}return $e.next=39,je.progress(0,We,Ge.res);case 39:return $e.next=41,this._resumeMultipart(We,je);case 41:return $e.abrupt("return",$e.sent);case 42:case"end":return $e.stop()}},be,this)}));function Se(be,Ae){return ve.apply(this,arguments)}return Se}(),ue._resumeMultipart=function(){var ve=(0,te.default)(ne.default.mark(function be(Ae,Te){var je,ke,Pe,Oe,He,Ge,tt,Me,We,it,ut,$e,Je,Xe,Qe,st,rt,pt,ft;return ne.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:if(je=this,!this.isCancel()){Ie.next=3;break}throw this._makeCancelEvent();case 3:return ke=Ae.file,Pe=Ae.fileSize,Oe=Ae.partSize,He=Ae.uploadId,Ge=Ae.doneParts,tt=Ae.name,Me=[],Ge.length>0&&b(Ge).to(Me),We=this._divideParts(Pe,Oe),it=We.length,ut=!1,$e=function(Be,et){return new Promise(function(){var vt=(0,te.default)(ne.default.mark(function gt(dt,Ve){var Ne,Ye,ot,Ue,Le;return ne.default.wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:if(Ze.prev=0,Be.isCancel()){Ze.next=29;break}return Ne=We[et-1],Ze.next=5,Be._createBuffer(ke,Ne.start,Ne.end);case 5:return Ye=Ze.sent,ot={content:Ye,size:Ne.end-Ne.start},Ze.prev=7,Ze.next=10,Be._uploadPart(tt,He,et,ot,Te);case 10:Ue=Ze.sent,Ze.next=18;break;case 13:if(Ze.prev=13,Ze.t0=Ze.catch(7),Ze.t0.status!==404){Ze.next=17;break}throw Be._makeAbortEvent();case 17:throw Ze.t0;case 18:if(!(!Be.isCancel()&&!ut)){Ze.next=26;break}if(Ae.doneParts.push({number:et,etag:Ue.res.headers.etag}),!Te.progress){Ze.next=23;break}return Ze.next=23,Te.progress(Ge.length/(it+1),Ae,Ue.res);case 23:dt({number:et,etag:Ue.res.headers.etag}),Ze.next=27;break;case 26:dt();case 27:Ze.next=30;break;case 29:dt();case 30:Ze.next=41;break;case 32:Ze.prev=32,Ze.t1=Ze.catch(0),Le=new Error,Le.name=Ze.t1.name,Le.message=Ze.t1.message,Le.stack=Ze.t1.stack,Le.partNum=et,b(Ze.t1).to(Le),Ve(Le);case 41:case"end":return Ze.stop()}},gt,null,[[0,32],[7,13]])}));return function(gt,dt){return vt.apply(this,arguments)}}())},Je=Array.from(new Array(it),function(at,Be){return Be+1}),Xe=Me.map(function(at){return at.number}),Qe=Je.filter(function(at){return Xe.indexOf(at)<0}),st=5,rt=Te.parallel||st,Ie.next=17,this._parallel(Qe,rt,function(at){return new Promise(function(Be,et){$e(je,at).then(function(vt){vt&&Me.push(vt),Be()}).catch(function(vt){et(vt)})})});case 17:if(pt=Ie.sent,ut=!0,ft=pt.find(function(at){return at.name==="abort"}),!ft){Ie.next=22;break}throw ft;case 22:if(!this.isCancel()){Ie.next=25;break}throw $e=null,this._makeCancelEvent();case 25:if(!(pt&&pt.length>0)){Ie.next=28;break}throw pt[0].message="Failed to upload some parts with error: ".concat(pt[0].toString()," part_num: ").concat(pt[0].partNum),pt[0];case 28:return Ie.next=30,this.completeMultipartUpload(tt,He,Me,Te);case 30:return Ie.abrupt("return",Ie.sent);case 31:case"end":return Ie.stop()}},be,this)}));function Se(be,Ae){return ve.apply(this,arguments)}return Se}(),ue._getFileSize=function(){var ve=(0,te.default)(ne.default.mark(function be(Ae){return ne.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(!ce(Ae)){je.next=4;break}return je.abrupt("return",Ae.length);case 4:if(!(re(Ae)||le(Ae))){je.next=6;break}return je.abrupt("return",Ae.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return je.stop()}},be)}));function Se(be){return ve.apply(this,arguments)}return Se}();var ge=a("stream"),_e=ge.Readable;function we(ve,Se){if(!(this instanceof we))return new we(ve,Se);_e.call(this,Se),this.file=ve,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}se.inherits(we,_e),we.prototype.readFileAndPush=function(Se){if(this.fileBuffer)for(var be=!0;be&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Ae=this.start,Te=Ae+Se;Te=Te>this.fileBuffer.length?this.fileBuffer.length:Te,this.start=Te,be=this.push(this.fileBuffer.slice(Ae,Te))}},we.prototype._read=function(Se){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var be=16*1024;Se=Se||be;var Ae=this;this.reader.onload=function(je){Ae.fileBuffer=ee.from(new Uint8Array(je.target.result)),Ae.file=null,Ae.readFileAndPush(Se)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Se)};function xe(ve){return ve.arrayBuffer?ve.arrayBuffer():new Promise(function(Se,be){var Ae=new FileReader;Ae.onload=function(Te){Se(Te.target.result)},Ae.onerror=function(Te){be(Te)},Ae.readAsArrayBuffer(ve)})}ue._createBuffer=function(){var ve=(0,te.default)(ne.default.mark(function be(Ae,Te,je){var ke,Pe;return ne.default.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:if(!(re(Ae)||le(Ae))){He.next=8;break}return ke=Ae.slice(Te,je),He.next=4,xe(ke);case 4:return Pe=He.sent,He.abrupt("return",ee.from(Pe));case 8:if(!ce(Ae)){He.next=12;break}return He.abrupt("return",Ae.subarray(Te,je));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return He.stop()}},be)}));function Se(be,Ae,Te){return ve.apply(this,arguments)}return Se}(),ue._getPartSize=function(Se,be){var Ae=1e4,Te=1*1024*1024;be||(be=Te);var je=Math.ceil(Se/Ae);return be<je&&(be=je,console.warn("partSize has been set to ".concat(be,", because the partSize you provided causes partNumber to be greater than 10,000"))),be},ue._divideParts=function(Se,be){for(var Ae=Math.ceil(Se/be),Te=[],je=0;je<Ae;je++){var ke=be*je,Pe=Math.min(ke+be,Se);Te.push({start:ke,end:Pe})}return Te}}).call(this)}).call(this,a("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault");a("core-js/modules/es.function.name.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.regexp.to-string.js"),a("core-js/modules/es.array.map.js"),a("core-js/modules/es.number.constructor.js"),a("core-js/modules/es.object.assign.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.replace.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.promise.js");var oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("fs"),se=a("copy-to"),z=a("path"),x=a("mime"),b=a("../common/callback"),E=a("merge-descriptors"),re=a("../common/utils/isBlob"),ae=re.isBlob,le=a("../common/utils/isFile"),fe=le.isFile,ce=a("../common/utils/isBuffer"),ue=ce.isBuffer,ge=a("../common/utils/obj2xml"),_e=ge.obj2xml,we=de;we.append=function(){var xe=(0,ne.default)(oe.default.mark(function Se(be,Ae,Te){var je;return oe.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return Te=Te||{},Te.position===void 0&&(Te.position="0"),Te.subres={append:"",position:Te.position},Te.method="POST",Pe.next=6,this.put(be,Ae,Te);case 6:return je=Pe.sent,je.nextAppendPosition=je.res.headers["x-oss-next-append-position"],Pe.abrupt("return",je);case 9:case"end":return Pe.stop()}},Se,this)}));function ve(Se,be,Ae){return xe.apply(this,arguments)}return ve}(),we.put=function(){var xe=(0,ne.default)(oe.default.mark(function Se(be,Ae,Te){var je,ke,Pe,Oe,He;return oe.default.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(Te=Te||{},Te.disabledMD5=Te.disabledMD5===void 0?!0:!!Te.disabledMD5,Te.headers=Te.headers||{},be=this._objectName(be),!ue(Ae)){tt.next=8;break}je=Ae,tt.next=19;break;case 8:if(!(ae(Ae)||fe(Ae))){tt.next=18;break}return Te.mime||(fe(Ae)?Te.mime=x.getType(z.extname(Ae.name)):Te.mime=Ae.type),tt.next=12,this._createBuffer(Ae,0,Ae.size);case 12:return je=tt.sent,tt.next=15,this._getFileSize(Ae);case 15:Te.contentLength=tt.sent,tt.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(Te.meta,Te.headers),ke=Te.method||"PUT",Pe=this._objectRequestParams(ke,be,Te),b.encodeCallback(Pe,Te),Pe.mime=Te.mime,Pe.disabledMD5=Te.disabledMD5,Pe.content=je,Pe.successStatuses=[200],tt.next=29,this.request(Pe);case 29:return Oe=tt.sent,He={name:be,url:this._objectUrl(be),res:Oe.res},Pe.headers&&Pe.headers["x-oss-callback"]&&(He.data=JSON.parse(Oe.data.toString())),tt.abrupt("return",He);case 33:case"end":return tt.stop()}},Se,this)}));function ve(Se,be,Ae){return xe.apply(this,arguments)}return ve}(),we.putStream=function(){var xe=(0,ne.default)(oe.default.mark(function Se(be,Ae,Te){var je,ke,Pe,Oe;return oe.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:return Te=Te||{},Te.headers=Te.headers||{},be=this._objectName(be),Te.contentLength?Te.headers["Content-Length"]=Te.contentLength:Te.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(Te.meta,Te.headers),je=Te.method||"PUT",ke=this._objectRequestParams(je,be,Te),b.encodeCallback(ke,Te),ke.mime=Te.mime,ke.stream=Ae,ke.successStatuses=[200],Ge.next=13,this.request(ke);case 13:return Pe=Ge.sent,Oe={name:be,url:this._objectUrl(be),res:Pe.res},ke.headers&&ke.headers["x-oss-callback"]&&(Oe.data=JSON.parse(Pe.data.toString())),Ge.abrupt("return",Oe);case 17:case"end":return Ge.stop()}},Se,this)}));function ve(Se,be,Ae){return xe.apply(this,arguments)}return ve}(),E(we,a("../common/object/copyObject")),E(we,a("../common/object/getObjectTagging")),E(we,a("../common/object/putObjectTagging")),E(we,a("../common/object/deleteObjectTagging")),E(we,a("../common/image")),E(we,a("../common/object/getBucketVersions")),E(we,a("../common/object/getACL")),E(we,a("../common/object/putACL")),E(we,a("../common/object/head")),E(we,a("../common/object/delete")),E(we,a("../common/object/get")),E(we,a("../common/object/putSymlink")),E(we,a("../common/object/getSymlink")),E(we,a("../common/object/deleteMulti")),E(we,a("../common/object/getObjectMeta")),E(we,a("../common/object/getObjectUrl")),E(we,a("../common/object/generateObjectUrl")),E(we,a("../common/object/signatureUrl")),E(we,a("../common/object/asyncSignatureUrl")),we.putMeta=function(){var xe=(0,ne.default)(oe.default.mark(function Se(be,Ae,Te){var je;return oe.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return Pe.next=2,this.copy(be,be,{meta:Ae||{},timeout:Te&&Te.timeout,ctx:Te&&Te.ctx});case 2:return je=Pe.sent,Pe.abrupt("return",je);case 4:case"end":return Pe.stop()}},Se,this)}));function ve(Se,be,Ae){return xe.apply(this,arguments)}return ve}(),we.list=function(){var xe=(0,ne.default)(oe.default.mark(function Se(be,Ae){var Te,je,ke,Pe,Oe;return oe.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:return Te=this._objectRequestParams("GET","",Ae),Te.query=be,Te.xmlResponse=!0,Te.successStatuses=[200],Ge.next=6,this.request(Te);case 6:return je=Ge.sent,ke=je.data.Contents||[],Pe=this,ke&&(Array.isArray(ke)||(ke=[ke]),ke=ke.map(function(tt){return{name:tt.Key,url:Pe._objectUrl(tt.Key),lastModified:tt.LastModified,etag:tt.ETag,type:tt.Type,size:Number(tt.Size),storageClass:tt.StorageClass,owner:{id:tt.Owner.ID,displayName:tt.Owner.DisplayName}}})),Oe=je.data.CommonPrefixes||null,Oe&&(Array.isArray(Oe)||(Oe=[Oe]),Oe=Oe.map(function(tt){return tt.Prefix})),Ge.abrupt("return",{res:je.res,objects:ke,prefixes:Oe,nextMarker:je.data.NextMarker||null,isTruncated:je.data.IsTruncated==="true"});case 13:case"end":return Ge.stop()}},Se,this)}));function ve(Se,be){return xe.apply(this,arguments)}return ve}(),we.listV2=function(){var xe=(0,ne.default)(oe.default.mark(function Se(be){var Ae,Te,je,ke,Pe,Oe,He,Ge=arguments;return oe.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Ae=Ge.length>1&&Ge[1]!==void 0?Ge[1]:{},Te=be["continuation-token"]||be.continuationToken,Te&&(Ae.subres=Object.assign({"continuation-token":Te},Ae.subres)),je=this._objectRequestParams("GET","",Ae),je.query=Object.assign({"list-type":2},be),delete je.query["continuation-token"],delete je.query.continuationToken,je.xmlResponse=!0,je.successStatuses=[200],Me.next=11,this.request(je);case 11:return ke=Me.sent,Pe=ke.data.Contents||[],Oe=this,Pe&&(Array.isArray(Pe)||(Pe=[Pe]),Pe=Pe.map(function(We){var it=null;return We.Owner&&(it={id:We.Owner.ID,displayName:We.Owner.DisplayName}),{name:We.Key,url:Oe._objectUrl(We.Key),lastModified:We.LastModified,etag:We.ETag,type:We.Type,size:Number(We.Size),storageClass:We.StorageClass,owner:it}})),He=ke.data.CommonPrefixes||null,He&&(Array.isArray(He)||(He=[He]),He=He.map(function(We){return We.Prefix})),Me.abrupt("return",{res:ke.res,objects:Pe,prefixes:He,isTruncated:ke.data.IsTruncated==="true",keyCount:+ke.data.KeyCount,continuationToken:ke.data.ContinuationToken||null,nextContinuationToken:ke.data.NextContinuationToken||null});case 18:case"end":return Me.stop()}},Se,this)}));function ve(Se){return xe.apply(this,arguments)}return ve}(),we.restore=function(){var xe=(0,ne.default)(oe.default.mark(function Se(be){var Ae,Te,je,ke,Pe=arguments;return oe.default.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:return Ae=Pe.length>1&&Pe[1]!==void 0?Pe[1]:{type:"Archive"},Ae=Ae||{},Ae.subres=Object.assign({restore:""},Ae.subres),Ae.versionId&&(Ae.subres.versionId=Ae.versionId),Te=this._objectRequestParams("POST",be,Ae),Ae.type==="ColdArchive"&&(je={RestoreRequest:{Days:Ae.Days?Ae.Days:2,JobParameters:{Tier:Ae.JobParameters?Ae.JobParameters:"Standard"}}},Te.content=_e(je,{headers:!0}),Te.mime="xml"),Te.successStatuses=[202],He.next=9,this.request(Te);case 9:return ke=He.sent,He.abrupt("return",{res:ke.res});case 11:case"end":return He.stop()}},Se,this)}));function ve(Se){return xe.apply(this,arguments)}return ve}(),we._objectUrl=function(ve){return this._getReqUrl({bucket:this.options.bucket,object:ve})},we._objectRequestParams=function(ve,Se,be){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");be=be||{},Se=this._objectName(Se);var Ae={object:Se,bucket:this.options.bucket,method:ve,subres:be&&be.subres,timeout:be&&be.timeout,ctx:be&&be.ctx};return be.headers&&(Ae.headers={},se(be.headers).to(Ae.headers)),Ae},we._objectName=function(ve){return ve.replace(/^\/+/,"")},we._convertMetaToHeaders=function(ve,Se){ve&&Object.keys(ve).forEach(function(be){Se["x-oss-meta-".concat(be)]=ve[be]})},we._deleteFileSafe=function(ve){var Se=this;return new Promise(function(be){te.exists(ve,function(Ae){Ae?te.unlink(ve,function(Te){Te&&Se.debug("unlink %j error: %s",ve,Te,"error"),be()}):be()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(a,he,de){"use strict";de.version="6.18.1"},{}],7:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.abortBucketWorm=void 0;var te=a("../utils/checkBucketName");function se(x,b){return z.apply(this,arguments)}function z(){return z=(0,ne.default)(oe.default.mark(function x(b,E){var re,ae;return oe.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return te.checkBucketName(b),re=this._bucketRequestParams("DELETE",b,"worm",E),fe.next=4,this.request(re);case 4:return ae=fe.sent,fe.abrupt("return",{res:ae.res,status:ae.status});case 6:case"end":return fe.stop()}},x,this)})),z.apply(this,arguments)}de.abortBucketWorm=se},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.completeBucketWorm=void 0;var te=a("../utils/checkBucketName");function se(x,b,E){return z.apply(this,arguments)}function z(){return z=(0,ne.default)(oe.default.mark(function x(b,E,re){var ae,le;return oe.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return te.checkBucketName(b),ae=this._bucketRequestParams("POST",b,{wormId:E},re),ce.next=4,this.request(ae);case 4:return le=ce.sent,ce.abrupt("return",{res:le.res,status:le.status});case 6:case"end":return ce.stop()}},x,this)})),z.apply(this,arguments)}de.completeBucketWorm=se},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.deleteBucketInventory=void 0;var te=a("../utils/checkBucketName");function se(x,b){return z.apply(this,arguments)}function z(){return z=(0,ne.default)(oe.default.mark(function x(b,E){var re,ae,le,fe,ce=arguments;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return re=ce.length>2&&ce[2]!==void 0?ce[2]:{},ae=Object.assign({inventory:"",inventoryId:E},re.subres),te.checkBucketName(b),le=this._bucketRequestParams("DELETE",b,ae,re),le.successStatuses=[204],ge.next=7,this.request(le);case 7:return fe=ge.sent,ge.abrupt("return",{status:fe.status,res:fe.res});case 9:case"end":return ge.stop()}},x,this)})),z.apply(this,arguments)}de.deleteBucketInventory=se},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkBucketName"),se=te.checkBucketName,z=de;z.deleteBucketLifecycle=function(){var x=(0,ne.default)(oe.default.mark(function E(re,ae){var le,fe;return oe.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return se(re),le=this._bucketRequestParams("DELETE",re,"lifecycle",ae),le.successStatuses=[204],ue.next=5,this.request(le);case 5:return fe=ue.sent,ue.abrupt("return",{res:fe.res});case 7:case"end":return ue.stop()}},E,this)}));function b(E,re){return x.apply(this,arguments)}return b}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkBucketName"),se=te.checkBucketName,z=de;z.deleteBucketWebsite=function(){var x=(0,ne.default)(oe.default.mark(function E(re,ae){var le,fe;return oe.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return se(re),le=this._bucketRequestParams("DELETE",re,"website",ae),le.successStatuses=[204],ue.next=5,this.request(le);case 5:return fe=ue.sent,ue.abrupt("return",{res:fe.res});case 7:case"end":return ue.stop()}},E,this)}));function b(E,re){return x.apply(this,arguments)}return b}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.extendBucketWorm=void 0;var te=a("../utils/checkBucketName"),se=a("../utils/obj2xml");function z(b,E,re,ae){return x.apply(this,arguments)}function x(){return x=(0,ne.default)(oe.default.mark(function b(E,re,ae,le){var fe,ce,ue;return oe.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return te.checkBucketName(E),fe=this._bucketRequestParams("POST",E,{wormExtend:"",wormId:re},le),ce={ExtendWormConfiguration:{RetentionPeriodInDays:ae}},fe.mime="xml",fe.content=se.obj2xml(ce,{headers:!0}),fe.successStatuses=[200],_e.next=8,this.request(fe);case 8:return ue=_e.sent,_e.abrupt("return",{res:ue.res,status:ue.status});case 10:case"end":return _e.stop()}},b,this)})),x.apply(this,arguments)}de.extendBucketWorm=z},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketInventory=void 0;var te=a("../utils/checkBucketName"),se=a("../utils/formatInventoryConfig");function z(b,E){return x.apply(this,arguments)}function x(){return x=(0,ne.default)(oe.default.mark(function b(E,re){var ae,le,fe,ce,ue=arguments;return oe.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return ae=ue.length>2&&ue[2]!==void 0?ue[2]:{},le=Object.assign({inventory:"",inventoryId:re},ae.subres),te.checkBucketName(E),fe=this._bucketRequestParams("GET",E,le,ae),fe.successStatuses=[200],fe.xmlResponse=!0,_e.next=8,this.request(fe);case 8:return ce=_e.sent,_e.abrupt("return",{status:ce.status,res:ce.res,inventory:se.formatInventoryConfig(ce.data)});case 10:case"end":return _e.stop()}},b,this)})),x.apply(this,arguments)}de.getBucketInventory=z},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.array.map.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkBucketName"),se=te.checkBucketName,z=a("../utils/isArray"),x=z.isArray,b=a("../utils/formatObjKey"),E=b.formatObjKey,re=de;re.getBucketLifecycle=function(){var ae=(0,ne.default)(oe.default.mark(function fe(ce,ue){var ge,_e,we;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return se(ce),ge=this._bucketRequestParams("GET",ce,"lifecycle",ue),ge.successStatuses=[200],ge.xmlResponse=!0,ve.next=6,this.request(ge);case 6:return _e=ve.sent,we=_e.data.Rule||null,we&&(x(we)||(we=[we]),we=we.map(function(Se){return Se.ID&&(Se.id=Se.ID,delete Se.ID),Se.Tag&&!x(Se.Tag)&&(Se.Tag=[Se.Tag]),E(Se,"firstLowerCase")})),ve.abrupt("return",{rules:we,res:_e.res});case 10:case"end":return ve.stop()}},fe,this)}));function le(fe,ce){return ae.apply(this,arguments)}return le}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkBucketName"),se=te.checkBucketName,z=de;z.getBucketVersioning=function(){var x=(0,ne.default)(oe.default.mark(function E(re,ae){var le,fe,ce;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return se(re),le=this._bucketRequestParams("GET",re,"versioning",ae),le.xmlResponse=!0,le.successStatuses=[200],ge.next=6,this.request(le);case 6:return fe=ge.sent,ce=fe.data.Status,ge.abrupt("return",{status:fe.status,versionStatus:ce,res:fe.res});case 9:case"end":return ge.stop()}},E,this)}));function b(E,re){return x.apply(this,arguments)}return b}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkBucketName"),se=te.checkBucketName,z=a("../utils/isObject"),x=z.isObject,b=de;b.getBucketWebsite=function(){var E=(0,ne.default)(oe.default.mark(function ae(le,fe){var ce,ue,ge;return oe.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return se(le),ce=this._bucketRequestParams("GET",le,"website",fe),ce.successStatuses=[200],ce.xmlResponse=!0,we.next=6,this.request(ce);case 6:return ue=we.sent,ge=[],ue.data.RoutingRules&&ue.data.RoutingRules.RoutingRule&&(x(ue.data.RoutingRules.RoutingRule)?ge=[ue.data.RoutingRules.RoutingRule]:ge=ue.data.RoutingRules.RoutingRule),we.abrupt("return",{index:ue.data.IndexDocument&&ue.data.IndexDocument.Suffix||"",supportSubDir:ue.data.IndexDocument&&ue.data.IndexDocument.SupportSubDir||"false",type:ue.data.IndexDocument&&ue.data.IndexDocument.Type,routingRules:ge,error:ue.data.ErrorDocument&&ue.data.ErrorDocument.Key||null,res:ue.res});case 10:case"end":return we.stop()}},ae,this)}));function re(ae,le){return E.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketWorm=void 0;var te=a("../utils/checkBucketName"),se=a("../utils/dataFix");function z(b,E){return x.apply(this,arguments)}function x(){return x=(0,ne.default)(oe.default.mark(function b(E,re){var ae,le;return oe.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return te.checkBucketName(E),ae=this._bucketRequestParams("GET",E,"worm",re),ae.successStatuses=[200],ae.xmlResponse=!0,ce.next=6,this.request(ae);case 6:return le=ce.sent,se.dataFix(le.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),ce.abrupt("return",Object.assign(Object.assign({},le.data),{res:le.res,status:le.status}));case 9:case"end":return ce.stop()}},b,this)})),x.apply(this,arguments)}de.getBucketWorm=z},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.initiateBucketWorm=void 0;var te=a("../utils/obj2xml"),se=a("../utils/checkBucketName");function z(b,E,re){return x.apply(this,arguments)}function x(){return x=(0,ne.default)(oe.default.mark(function b(E,re,ae){var le,fe,ce;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return se.checkBucketName(E),le=this._bucketRequestParams("POST",E,"worm",ae),fe={InitiateWormConfiguration:{RetentionPeriodInDays:re}},le.mime="xml",le.content=te.obj2xml(fe,{headers:!0}),le.successStatuses=[200],ge.next=8,this.request(le);case 8:return ce=ge.sent,ge.abrupt("return",{res:ce.res,wormId:ce.res.headers["x-oss-worm-id"],status:ce.status});case 10:case"end":return ge.stop()}},b,this)})),x.apply(this,arguments)}de.initiateBucketWorm=z},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.listBucketInventory=void 0;var te=a("../utils/checkBucketName"),se=a("../utils/formatInventoryConfig");function z(b){return x.apply(this,arguments)}function x(){return x=(0,ne.default)(oe.default.mark(function b(E){var re,ae,le,fe,ce,ue,ge,_e,we=arguments;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return re=we.length>1&&we[1]!==void 0?we[1]:{},ae=re.continuationToken,le=Object.assign({inventory:""},ae&&{"continuation-token":ae},re.subres),te.checkBucketName(E),fe=this._bucketRequestParams("GET",E,le,re),fe.successStatuses=[200],fe.xmlResponse=!0,ve.next=9,this.request(fe);case 9:return ce=ve.sent,ue=ce.data,ge=ce.res,_e=ce.status,ve.abrupt("return",{isTruncated:ue.IsTruncated==="true",nextContinuationToken:ue.NextContinuationToken,inventoryList:se.formatInventoryConfig(ue.InventoryConfiguration,!0),status:_e,res:ge});case 12:case"end":return ve.stop()}},b,this)})),x.apply(this,arguments)}de.listBucketInventory=z},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js"),a("core-js/modules/es.array.concat.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.putBucketInventory=void 0;var te=a("../utils/checkBucketName"),se=a("../utils/obj2xml");function z(b,E){return x.apply(this,arguments)}function x(){return x=(0,ne.default)(oe.default.mark(function b(E,re){var ae,le,fe,ce,ue,ge,_e,we,xe,ve,Se,be=arguments;return oe.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return ae=be.length>2&&be[2]!==void 0?be[2]:{},le=Object.assign({inventory:"",inventoryId:re.id},ae.subres),te.checkBucketName(E),fe=re.OSSBucketDestination,ce=re.optionalFields,ue=re.includedObjectVersions,ge="acs:oss:::",_e="acs:ram::".concat(fe.accountId,":role/"),we={InventoryConfiguration:{Id:re.id,IsEnabled:re.isEnabled,Filter:{Prefix:re.prefix||""},Destination:{OSSBucketDestination:{Format:fe.format,AccountId:fe.accountId,RoleArn:"".concat(_e).concat(fe.rolename),Bucket:"".concat(ge).concat(fe.bucket),Prefix:fe.prefix||"",Encryption:fe.encryption||""}},Schedule:{Frequency:re.frequency},IncludedObjectVersions:ue,OptionalFields:{Field:(ce==null?void 0:ce.field)||[]}}},xe=se.obj2xml(we,{headers:!0,firstUpperCase:!0}),ve=this._bucketRequestParams("PUT",E,le,ae),ve.successStatuses=[200],ve.mime="xml",ve.content=xe,Te.next=14,this.request(ve);case 14:return Se=Te.sent,Te.abrupt("return",{status:Se.status,res:Se.res});case 16:case"end":return Te.stop()}},b,this)})),x.apply(this,arguments)}de.putBucketInventory=z},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.array.includes.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkBucketName"),se=te.checkBucketName,z=a("../utils/isArray"),x=z.isArray,b=a("../utils/deepCopy"),E=b.deepCopy,re=a("../utils/isObject"),ae=re.isObject,le=a("../utils/obj2xml"),fe=le.obj2xml,ce=a("../utils/checkObjectTag"),ue=ce.checkObjectTag,ge=a("../utils/getStrBytesCount"),_e=ge.getStrBytesCount,we=de;we.putBucketLifecycle=function(){var Ae=(0,ne.default)(oe.default.mark(function je(ke,Pe,Oe){var He,Ge,tt,Me,We;return oe.default.wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:if(se(ke),x(Pe)){ut.next=3;break}throw new Error("rules must be Array");case 3:return He=this._bucketRequestParams("PUT",ke,"lifecycle",Oe),Ge=[],tt={LifecycleConfiguration:{Rule:Ge}},Pe.forEach(function($e){xe($e),be($e),$e.id&&($e.ID=$e.id,delete $e.id),Ge.push($e)}),Me=fe(tt,{headers:!0,firstUpperCase:!0}),He.content=Me,He.mime="xml",He.successStatuses=[200],ut.next=13,this.request(He);case 13:return We=ut.sent,ut.abrupt("return",{res:We.res});case 15:case"end":return ut.stop()}},je,this)}));function Te(je,ke,Pe){return Ae.apply(this,arguments)}return Te}();function xe(Ae){Ae.days&&(Ae.expiration={days:Ae.days}),Ae.date&&(Ae.expiration={createdBeforeDate:Ae.date})}function ve(Ae,Te){var je=Ae.days,ke=Ae.createdBeforeDate;if(!je&&!ke)throw new Error("".concat(Te," must includes days or createdBeforeDate"));if(je&&!/^[1-9][0-9]*$/.test(je))throw new Error("days must be a positive integer");if(ke&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(ke))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Se(Ae){if(!x(Ae)&&!ae(Ae))throw new Error("tag must be Object or Array");Ae=ae(Ae)?[Ae]:Ae;var Te={},je=E(Ae);je.forEach(function(ke){Te[ke.key]=ke.value}),ue(Te)}function be(Ae){if(Ae.id&&_e(Ae.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Ae.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Ae.status))throw new Error("Status must be Enabled or Disabled");if(Ae.transition){if(!["IA","Archive"].includes(Ae.transition.storageClass))throw new Error("StorageClass must be IA or Archive");ve(Ae.transition,"Transition")}if(Ae.expiration){if(!Ae.expiration.expiredObjectDeleteMarker)ve(Ae.expiration,"Expiration");else if(Ae.expiration.days||Ae.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Ae.abortMultipartUpload&&ve(Ae.abortMultipartUpload,"AbortMultipartUpload"),!Ae.expiration&&!Ae.abortMultipartUpload&&!Ae.transition&&!Ae.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Ae.tag){if(Ae.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Se(Ae.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.array.includes.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkBucketName"),se=te.checkBucketName,z=a("../utils/obj2xml"),x=z.obj2xml,b=de;b.putBucketVersioning=function(){var E=(0,ne.default)(oe.default.mark(function ae(le,fe){var ce,ue,ge,_e,we=arguments;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:if(ce=we.length>2&&we[2]!==void 0?we[2]:{},se(le),["Enabled","Suspended"].includes(fe)){ve.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ue=this._bucketRequestParams("PUT",le,"versioning",ce),ge={VersioningConfiguration:{Status:fe}},ue.mime="xml",ue.content=x(ge,{headers:!0}),ve.next=10,this.request(ue);case 10:return _e=ve.sent,ve.abrupt("return",{res:_e.res,status:_e.status});case 12:case"end":return ve.stop()}},ae,this)}));function re(ae,le){return E.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkBucketName"),se=te.checkBucketName,z=a("../utils/obj2xml"),x=z.obj2xml,b=a("../utils/isArray"),E=b.isArray,re=de;re.putBucketWebsite=function(){var ae=(0,ne.default)(oe.default.mark(function fe(ce){var ue,ge,_e,we,xe,ve,Se,be=arguments;return oe.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(ue=be.length>1&&be[1]!==void 0?be[1]:{},ge=be.length>2?be[2]:void 0,se(ce),_e=this._bucketRequestParams("PUT",ce,"website",ge),we={Suffix:ue.index||"index.html"},xe={IndexDocument:we},ve={WebsiteConfiguration:xe},ue.supportSubDir&&(we.SupportSubDir=ue.supportSubDir),ue.type&&(we.Type=ue.type),ue.error&&(xe.ErrorDocument={Key:ue.error}),ue.routingRules===void 0){Te.next=14;break}if(E(ue.routingRules)){Te.next=13;break}throw new Error("RoutingRules must be Array");case 13:xe.RoutingRules={RoutingRule:ue.routingRules};case 14:return ve=x(ve),_e.content=ve,_e.mime="xml",_e.successStatuses=[200],Te.next=20,this.request(_e);case 20:return Se=Te.sent,Te.abrupt("return",{res:Se.res});case 22:case"end":return Te.stop()}},fe,this)}));function le(fe){return ae.apply(this,arguments)}return le}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(a,he,de){(function(ee){(function(){"use strict";a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.regexp.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),de.encodeCallback=function(ne,te){if(ne.headers=ne.headers||{},!Object.prototype.hasOwnProperty.call(ne.headers,"x-oss-callback")&&te.callback){var se={callbackUrl:encodeURI(te.callback.url),callbackBody:te.callback.body};te.callback.host&&(se.callbackHost=te.callback.host),te.callback.contentType&&(se.callbackBodyType=te.callback.contentType);var z=ee.from(JSON.stringify(se)).toString("base64");if(ne.headers["x-oss-callback"]=z,te.callback.customValue){var x={};Object.keys(te.callback.customValue).forEach(function(b){x["x:".concat(b)]=te.callback.customValue[b].toString()}),ne.headers["x-oss-callback-var"]=ee.from(JSON.stringify(x)).toString("base64")}}}}).call(this)}).call(this,a("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(a,he,de){"use strict";a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.replace.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js");var ee=function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(de,"__esModule",{value:!0}),de.getReqUrl=void 0;var oe=ee(a("copy-to")),ne=ee(a("url")),te=ee(a("merge-descriptors")),se=ee(a("is-type-of")),z=a("../utils/isIP"),x=a("../utils/checkConfigValid");function b(E){var re={},ae=this.options.cname;x.checkConfigValid(this.options.endpoint,"endpoint"),oe.default(this.options.endpoint,!1).to(re),E.bucket&&!ae&&!z.isIP(re.hostname)&&!this.options.sldEnable&&(re.host="".concat(E.bucket,".").concat(re.host));var le="/";E.bucket&&this.options.sldEnable&&(le+="".concat(E.bucket,"/")),E.object&&(le+=this._escape(E.object).replace(/\+/g,"%2B")),re.pathname=le;var fe={};if(E.query&&te.default(fe,E.query),E.subres){var ce={};se.default.string(E.subres)?ce[E.subres]="":se.default.array(E.subres)?E.subres.forEach(function(ue){ce[ue]=""}):ce=E.subres,te.default(fe,ce)}return re.query=fe,ne.default.format(re)}de.getReqUrl=b},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(a,he,de){"use strict";a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.object.assign.js"),a("core-js/modules/es.string.trim.js");var ee=a("humanize-ms"),oe=a("url"),ne=a("../utils/checkBucketName"),te=ne.checkBucketName,se=a("../utils/setRegion"),z=se.setRegion,x=a("../utils/checkConfigValid"),b=x.checkConfigValid;function E(re,ae){b(re,"endpoint");var le=oe.parse(re);if(le.protocol||(le=oe.parse("http".concat(ae?"s":"","://").concat(re))),le.protocol!=="http:"&&le.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return le}he.exports=function(re){if(!re||!re.accessKeyId||!re.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");re.stsToken&&!re.refreshSTSToken&&!re.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),re.bucket&&te(re.bucket);var ae=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},re);if(ae.accessKeyId=ae.accessKeyId.trim(),ae.accessKeySecret=ae.accessKeySecret.trim(),ae.timeout&&(ae.timeout=ee(ae.timeout)),ae.endpoint)ae.endpoint=E(ae.endpoint,ae.secure);else if(ae.region)ae.endpoint=z(ae.region,ae.internal,ae.secure);else throw new Error("require options.endpoint or options.region");return ae.inited=!0,ae}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(a,he,de){"use strict";var ee=a("merge-descriptors"),oe=de;ee(oe,a("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.array.concat.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkBucketName"),se=te.checkBucketName,z=a("querystring"),x=a("js-base64"),b=x.Base64.encode,E=de;E.processObjectSave=function(){var ae=(0,ne.default)(oe.default.mark(function fe(ce,ue,ge,_e){var we,xe,ve,Se;return oe.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return re(ce,"sourceObject"),re(ue,"targetObject"),re(ge,"process"),ue=this._objectName(ue),_e&&se(_e),we=this._objectRequestParams("POST",ce,{subres:"x-oss-process"}),xe=_e?",b_".concat(b(_e)):"",ue=b(ue),ve={"x-oss-process":"".concat(ge,"|sys/saveas,o_").concat(ue).concat(xe)},we.content=z.stringify(ve),Ae.next=12,this.request(we);case 12:return Se=Ae.sent,Ae.abrupt("return",{res:Se.res,status:Se.res.status});case 14:case"end":return Ae.stop()}},fe,this)}));function le(fe,ce,ue,ge){return ae.apply(this,arguments)}return le}();function re(ae,le){if(!ae)throw new Error("".concat(le," is required"));if(typeof ae!="string")throw new Error("".concat(le," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.function.name.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.promise.js"),a("core-js/modules/es.array.from.js"),a("core-js/modules/es.string.iterator.js"),a("core-js/modules/es.array.map.js"),a("core-js/modules/es.array.filter.js"),a("core-js/modules/es.array.find.js"),a("core-js/modules/es.regexp.to-string.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("debug")("ali-oss:multipart-copy"),se=a("copy-to"),z=de;z.uploadPartCopy=function(){var x=(0,ne.default)(oe.default.mark(function E(re,ae,le,fe,ce){var ue,ge,_e,we,xe,ve=arguments;return oe.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ue=ve.length>5&&ve[5]!==void 0?ve[5]:{},ue.headers=ue.headers||{},ge=ue.versionId||ue.subres&&ue.subres.versionId||null,ge?_e="/".concat(ce.sourceBucketName,"/").concat(encodeURIComponent(ce.sourceKey),"?versionId=").concat(ge):_e="/".concat(ce.sourceBucketName,"/").concat(encodeURIComponent(ce.sourceKey)),ue.headers["x-oss-copy-source"]=_e,fe&&(ue.headers["x-oss-copy-source-range"]="bytes=".concat(fe)),ue.subres={partNumber:le,uploadId:ae},we=this._objectRequestParams("PUT",re,ue),we.mime=ue.mime,we.successStatuses=[200],be.next=12,this.request(we);case 12:return xe=be.sent,be.abrupt("return",{name:re,etag:xe.res.headers.etag,res:xe.res});case 14:case"end":return be.stop()}},E,this)}));function b(E,re,ae,le,fe){return x.apply(this,arguments)}return b}(),z.multipartUploadCopy=function(){var x=(0,ne.default)(oe.default.mark(function E(re,ae){var le,fe,ce,ue,ge,_e,we,xe,ve,Se,be,Ae,Te=arguments;return oe.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return le=Te.length>2&&Te[2]!==void 0?Te[2]:{},this.resetCancelFlag(),fe=le.versionId,ce=fe===void 0?null:fe,ue={versionId:ce},ke.next=6,this._getObjectMeta(ae.sourceBucketName,ae.sourceKey,ue);case 6:if(ge=ke.sent,_e=ge.res.headers["content-length"],ae.startOffset=ae.startOffset||0,ae.endOffset=ae.endOffset||_e,!(le.checkpoint&&le.checkpoint.uploadId)){ke.next=14;break}return ke.next=13,this._resumeMultipartCopy(le.checkpoint,ae,le);case 13:return ke.abrupt("return",ke.sent);case 14:if(we=102400,xe=ae.endOffset-ae.startOffset,!(xe<we)){ke.next=18;break}throw new Error("copySize must not be smaller than ".concat(we));case 18:if(!(le.partSize&&le.partSize<we)){ke.next=20;break}throw new Error("partSize must not be smaller than ".concat(we));case 20:return ke.next=22,this.initMultipartUpload(re,le);case 22:if(ve=ke.sent,Se=ve.uploadId,be=this._getPartSize(xe,le.partSize),Ae={name:re,copySize:xe,partSize:be,uploadId:Se,doneParts:[]},!(le&&le.progress)){ke.next=29;break}return ke.next=29,le.progress(0,Ae,ve.res);case 29:return ke.next=31,this._resumeMultipartCopy(Ae,ae,le);case 31:return ke.abrupt("return",ke.sent);case 32:case"end":return ke.stop()}},E,this)}));function b(E,re){return x.apply(this,arguments)}return b}(),z._resumeMultipartCopy=function(){var x=(0,ne.default)(oe.default.mark(function E(re,ae,le){var fe,ce,ue,ge,_e,we,xe,ve,Se,be,Ae,Te,je,ke,Pe,Oe,He,Ge,tt,Me,We;return oe.default.wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:if(!this.isCancel()){ut.next=2;break}throw this._makeCancelEvent();case 2:if(fe=le.versionId,ce=fe===void 0?null:fe,ue={versionId:ce},ge=re.copySize,_e=re.partSize,we=re.uploadId,xe=re.doneParts,ve=re.name,Se=this._divideMultipartCopyParts(ge,_e,ae.startOffset),be=Se.length,Ae={headers:{}},le.copyheaders&&se(le.copyheaders).to(Ae.headers),ce&&se(ue).to(Ae),Te=function(Je,Xe,Qe){return new Promise(function(){var st=(0,ne.default)(oe.default.mark(function rt(pt,ft){var qe,Ie,at;return oe.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(et.prev=0,Je.isCancel()){et.next=22;break}return qe=Se[Xe-1],Ie="".concat(qe.start,"-").concat(qe.end-1),et.prev=4,et.next=7,Je.uploadPartCopy(ve,we,Xe,Ie,Qe,Ae);case 7:at=et.sent,et.next=15;break;case 10:if(et.prev=10,et.t0=et.catch(4),et.t0.status!==404){et.next=14;break}throw Je._makeAbortEvent();case 14:throw et.t0;case 15:if(Je.isCancel()){et.next=22;break}if(te("content-range ".concat(at.res.headers["content-range"])),xe.push({number:Xe,etag:at.res.headers.etag}),re.doneParts=xe,!(le&&le.progress)){et.next=22;break}return et.next=22,le.progress(xe.length/be,re,at.res);case 22:pt(),et.next=29;break;case 25:et.prev=25,et.t1=et.catch(0),et.t1.partNum=Xe,ft(et.t1);case 29:case"end":return et.stop()}},rt,null,[[0,25],[4,10]])}));return function(rt,pt){return st.apply(this,arguments)}}())},je=Array.from(new Array(be),function($e,Je){return Je+1}),ke=xe.map(function($e){return $e.number}),Pe=je.filter(function($e){return ke.indexOf($e)<0}),Oe=5,He=le.parallel||Oe,!(this.checkBrowserAndVersion("Internet Explorer","10")||He===1)){ut.next=28;break}Ge=0;case 18:if(!(Ge<Pe.length)){ut.next=26;break}if(!this.isCancel()){ut.next=21;break}throw this._makeCancelEvent();case 21:return ut.next=23,Te(this,Pe[Ge],ae);case 23:Ge++,ut.next=18;break;case 26:ut.next=40;break;case 28:return ut.next=30,this._parallelNode(Pe,He,Te,ae);case 30:if(tt=ut.sent,Me=tt.find(function($e){return $e.name==="abort"}),!Me){ut.next=34;break}throw Me;case 34:if(!this.isCancel()){ut.next=36;break}throw this._makeCancelEvent();case 36:if(!(tt&&tt.length>0)){ut.next=40;break}throw We=tt[0],We.message="Failed to copy some parts with error: ".concat(We.toString()," part_num: ").concat(We.partNum),We;case 40:return ut.next=42,this.completeMultipartUpload(ve,we,xe,le);case 42:return ut.abrupt("return",ut.sent);case 43:case"end":return ut.stop()}},E,this)}));function b(E,re,ae){return x.apply(this,arguments)}return b}(),z._divideMultipartCopyParts=function(b,E,re){for(var ae=Math.ceil(b/E),le=[],fe=0;fe<ae;fe++){var ce=E*fe+re,ue=Math.min(ce+E,b+re);le.push({start:ce,end:ue})}return le},z._getObjectMeta=function(){var x=(0,ne.default)(oe.default.mark(function E(re,ae,le){var fe,ce;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return fe=this.getBucket(),this.setBucket(re),ge.next=4,this.head(ae,le);case 4:return ce=ge.sent,this.setBucket(fe),ge.abrupt("return",ce);case 7:case"end":return ge.stop()}},E,this)}));function b(E,re,ae){return x.apply(this,arguments)}return b}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,debug:465}],30:[function(a,he,de){(function(ee){(function(){"use strict";var oe=a("@babel/runtime/helpers/interopRequireDefault"),ne=oe(a("@babel/runtime/regenerator"));a("core-js/modules/es.array.map.js"),a("core-js/modules/es.array.filter.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.array.sort.js"),a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.regexp.to-string.js");var te=oe(a("@babel/runtime/helpers/asyncToGenerator")),se=a("copy-to"),z=a("./callback"),x=a("./utils/deepCopy"),b=x.deepCopyWith,E=a("./utils/isBuffer"),re=E.isBuffer,ae=a("./utils/omit"),le=ae.omit,fe=de;fe.listUploads=function(){var ce=(0,te.default)(ne.default.mark(function ge(_e,we){var xe,ve,Se,be;return ne.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return we=we||{},xe={},se(we).to(xe),xe.subres="uploads",ve=this._objectRequestParams("GET","",xe),ve.query=_e,ve.xmlResponse=!0,ve.successStatuses=[200],Te.next=10,this.request(ve);case 10:return Se=Te.sent,be=Se.data.Upload||[],Array.isArray(be)||(be=[be]),be=be.map(function(je){return{name:je.Key,uploadId:je.UploadId,initiated:je.Initiated}}),Te.abrupt("return",{res:Se.res,uploads:be,bucket:Se.data.Bucket,nextKeyMarker:Se.data.NextKeyMarker,nextUploadIdMarker:Se.data.NextUploadIdMarker,isTruncated:Se.data.IsTruncated==="true"});case 15:case"end":return Te.stop()}},ge,this)}));function ue(ge,_e){return ce.apply(this,arguments)}return ue}(),fe.listParts=function(){var ce=(0,te.default)(ne.default.mark(function ge(_e,we,xe,ve){var Se,be,Ae;return ne.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return ve=ve||{},Se={},se(ve).to(Se),Se.subres={uploadId:we},be=this._objectRequestParams("GET",_e,Se),be.query=xe,be.xmlResponse=!0,be.successStatuses=[200],je.next=10,this.request(be);case 10:return Ae=je.sent,je.abrupt("return",{res:Ae.res,uploadId:Ae.data.UploadId,bucket:Ae.data.Bucket,name:Ae.data.Key,partNumberMarker:Ae.data.PartNumberMarker,nextPartNumberMarker:Ae.data.NextPartNumberMarker,maxParts:Ae.data.MaxParts,isTruncated:Ae.data.IsTruncated,parts:Ae.data.Part||[]});case 12:case"end":return je.stop()}},ge,this)}));function ue(ge,_e,we,xe){return ce.apply(this,arguments)}return ue}(),fe.abortMultipartUpload=function(){var ce=(0,te.default)(ne.default.mark(function ge(_e,we,xe){var ve,Se,be;return ne.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return this._stop(),xe=xe||{},ve={},se(xe).to(ve),ve.subres={uploadId:we},Se=this._objectRequestParams("DELETE",_e,ve),Se.successStatuses=[204],Te.next=9,this.request(Se);case 9:return be=Te.sent,Te.abrupt("return",{res:be.res});case 11:case"end":return Te.stop()}},ge,this)}));function ue(ge,_e,we){return ce.apply(this,arguments)}return ue}(),fe.initMultipartUpload=function(){var ce=(0,te.default)(ne.default.mark(function ge(_e,we){var xe,ve,Se;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return we=we||{},xe={},se(we).to(xe),xe.headers=xe.headers||{},this._convertMetaToHeaders(we.meta,xe.headers),xe.subres="uploads",ve=this._objectRequestParams("POST",_e,xe),ve.mime=we.mime,ve.xmlResponse=!0,ve.successStatuses=[200],Ae.next=12,this.request(ve);case 12:return Se=Ae.sent,Ae.abrupt("return",{res:Se.res,bucket:Se.data.Bucket,name:Se.data.Key,uploadId:Se.data.UploadId});case 14:case"end":return Ae.stop()}},ge,this)}));function ue(ge,_e){return ce.apply(this,arguments)}return ue}(),fe.uploadPart=function(){var ce=(0,te.default)(ne.default.mark(function ge(_e,we,xe,ve,Se,be,Ae){var Te,je;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(Te={size:be-Se},je=ee&&ee.browser,!je){Pe.next=8;break}return Pe.next=5,this._createBuffer(ve,Se,be);case 5:Te.content=Pe.sent,Pe.next=11;break;case 8:return Pe.next=10,this._createStream(ve,Se,be);case 10:Te.stream=Pe.sent;case 11:return Pe.next=13,this._uploadPart(_e,we,xe,Te,Ae);case 13:return Pe.abrupt("return",Pe.sent);case 14:case"end":return Pe.stop()}},ge,this)}));function ue(ge,_e,we,xe,ve,Se,be){return ce.apply(this,arguments)}return ue}(),fe.completeMultipartUpload=function(){var ce=(0,te.default)(ne.default.mark(function ge(_e,we,xe,ve){var Se,be,Ae,Te,je,ke,Pe,Oe;return ne.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:for(Se=xe.concat().sort(function(tt,Me){return tt.number-Me.number}).filter(function(tt,Me,We){return!Me||tt.number!==We[Me-1].number}),be=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,Ae=0;Ae<Se.length;Ae++)Te=Se[Ae],be+=`<Part>
`,be+="<PartNumber>".concat(Te.number,`</PartNumber>
`),be+="<ETag>".concat(Te.etag,`</ETag>
`),be+=`</Part>
`;return be+="</CompleteMultipartUpload>",ve=ve||{},je={},je=b(ve,function(tt){if(re(tt))return null}),je.subres={uploadId:we},je.headers=le(je.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),ke=this._objectRequestParams("POST",_e,je),z.encodeCallback(ke,je),ke.mime="xml",ke.content=be,ke.headers&&ke.headers["x-oss-callback"]||(ke.xmlResponse=!0),ke.successStatuses=[200],Ge.next=17,this.request(ke);case 17:if(Pe=Ge.sent,!ve.progress){Ge.next=21;break}return Ge.next=21,ve.progress(1,null,Pe.res);case 21:return Oe={res:Pe.res,bucket:ke.bucket,name:_e,etag:Pe.res.headers.etag},ke.headers&&ke.headers["x-oss-callback"]&&(Oe.data=JSON.parse(Pe.data.toString())),Ge.abrupt("return",Oe);case 24:case"end":return Ge.stop()}},ge,this)}));function ue(ge,_e,we,xe){return ce.apply(this,arguments)}return ue}(),fe._uploadPart=function(){var ce=(0,te.default)(ne.default.mark(function ge(_e,we,xe,ve,Se){var be,Ae,Te,je;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return Se=Se||{},be={},se(Se).to(be),be.headers=be.headers||{},be.headers["Content-Length"]=ve.size,be.headers=le(be.headers,["x-oss-server-side-encryption"]),be.subres={partNumber:xe,uploadId:we},Ae=this._objectRequestParams("PUT",_e,be),Ae.mime=be.mime,Te=ee&&ee.browser,Te?Ae.content=ve.content:Ae.stream=ve.stream,Ae.successStatuses=[200],Ae.disabledMD5=Se.disabledMD5,Pe.next=15,this.request(Ae);case 15:if(je=Pe.sent,je.res.headers.etag){Pe.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 18:return ve.stream&&(ve.stream=null,Ae.stream=null),Pe.abrupt("return",{name:_e,etag:je.res.headers.etag,res:je.res});case 20:case"end":return Pe.stop()}},ge,this)}));function ue(ge,_e,we,xe,ve){return ce.apply(this,arguments)}return ue}()}).call(this)}).call(this,a("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator")),ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("url"),se=a("utility"),z=a("copy-to"),x=a("../../common/signUtils"),b=a("../utils/isIP"),E=b.isIP,re=a("../utils/setSTSToken"),ae=re.setSTSToken,le=a("../utils/isFunction"),fe=le.isFunction,ce=de;ce.asyncSignatureUrl=function(){var ue=(0,ne.default)(oe.default.mark(function _e(we,xe){var ve,Se,be,Ae,Te;return oe.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(!E(this.options.endpoint.hostname)){ke.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(xe=xe||{},we=this._objectName(we),xe.method=xe.method||"GET",ve=se.timestamp()+(xe.expires||1800),Se={bucket:this.options.bucket,object:we},be=this._getResource(Se),!(this.options.stsToken&&fe(this.options.refreshSTSToken))){ke.next=11;break}return ke.next=11,ae.call(this);case 11:return this.options.stsToken&&(xe["security-token"]=this.options.stsToken),Ae=x._signatureForURL(this.options.accessKeySecret,xe,be,ve),Te=te.parse(this._getReqUrl(Se)),Te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ve,Signature:Ae.Signature},z(Ae.subResource).to(Te.query),ke.abrupt("return",Te.format());case 17:case"end":return ke.stop()}},_e,this)}));function ge(_e,we){return ue.apply(this,arguments)}return ge}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.array.find.js"),a("core-js/modules/es.array.includes.js"),a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.replace.js");var ne=ee(a("@babel/runtime/helpers/typeof")),te=ee(a("@babel/runtime/helpers/asyncToGenerator")),se=a("../utils/checkBucketName"),z=se.checkBucketName,x=de,b=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];x.copy=function(){var E=(0,te.default)(oe.default.mark(function ae(le,fe,ce,ue){var ge,_e,we;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return(0,ne.default)(ce)==="object"&&(ue=ce),ue=ue||{},ue.headers=ue.headers||{},Object.keys(ue.headers).forEach(function(Se){ue.headers["x-oss-copy-source-".concat(Se.toLowerCase())]=ue.headers[Se]}),(ue.meta||Object.keys(ue.headers).find(function(Se){return b.includes(Se.toLowerCase())}))&&(ue.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ue.meta,ue.headers),fe=this._getSourceName(fe,ce),ue.versionId&&(fe="".concat(fe,"?versionId=").concat(ue.versionId)),ue.headers["x-oss-copy-source"]=fe,ge=this._objectRequestParams("PUT",le,ue),ge.xmlResponse=!0,ge.successStatuses=[200,304],ve.next=14,this.request(ge);case 14:return _e=ve.sent,we=_e.data,we&&(we={etag:we.ETag,lastModified:we.LastModified}),ve.abrupt("return",{data:we,res:_e.res});case 18:case"end":return ve.stop()}},ae,this)}));function re(ae,le,fe,ce){return E.apply(this,arguments)}return re}(),x._getSourceName=function(re,ae){return typeof ae=="string"?re=this._objectName(re):re[0]!=="/"?ae=this.options.bucket:(ae=re.replace(/\/(.+?)(\/.*)/,"$1"),re=re.replace(/(\/.+?\/)(.*)/,"$2")),z(ae),re=encodeURIComponent(re),re="/".concat(ae,"/").concat(re),re}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=de;te.delete=function(){var se=(0,ne.default)(oe.default.mark(function x(b){var E,re,ae,le=arguments;return oe.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return E=le.length>1&&le[1]!==void 0?le[1]:{},E.subres=Object.assign({},E.subres),E.versionId&&(E.subres.versionId=E.versionId),re=this._objectRequestParams("DELETE",b,E),re.successStatuses=[204],ce.next=7,this.request(re);case 7:return ae=ce.sent,ce.abrupt("return",{res:ae.res});case 9:case"end":return ce.stop()}},x,this)}));function z(x){return se.apply(this,arguments)}return z}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("utility"),se=a("../utils/obj2xml"),z=se.obj2xml,x=de;x.deleteMulti=function(){var b=(0,ne.default)(oe.default.mark(function re(ae){var le,fe,ce,ue,ge,_e,we,xe,ve,Se,be,Ae,Te,je=arguments;return oe.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(le=je.length>1&&je[1]!==void 0?je[1]:{},fe=[],!(!ae||!ae.length)){Pe.next=4;break}throw new Error("names is required");case 4:for(ce=0;ce<ae.length;ce++)ue={},typeof ae[ce]=="string"?ue.Key=te.escape(this._objectName(ae[ce])):(ge=ae[ce],_e=ge.key,we=ge.versionId,ue.Key=te.escape(this._objectName(_e)),ue.VersionId=we),fe.push(ue);return xe={Delete:{Quiet:!!le.quiet,Object:fe}},ve=z(xe,{headers:!0}),le.subres=Object.assign({delete:""},le.subres),le.versionId&&(le.subres.versionId=le.versionId),Se=this._objectRequestParams("POST","",le),Se.mime="xml",Se.content=ve,Se.xmlResponse=!0,Se.successStatuses=[200],Pe.next=16,this.request(Se);case 16:return be=Pe.sent,Ae=be.data,Te=Ae&&Ae.Deleted||null,Te&&(Array.isArray(Te)||(Te=[Te])),Pe.abrupt("return",{res:be.res,deleted:Te||[]});case 21:case"end":return Pe.stop()}},re,this)}));function E(re){return b.apply(this,arguments)}return E}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=de;te.deleteObjectTagging=function(){var se=(0,ne.default)(oe.default.mark(function x(b){var E,re,ae,le=arguments;return oe.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return E=le.length>1&&le[1]!==void 0?le[1]:{},E.subres=Object.assign({tagging:""},E.subres),E.versionId&&(E.subres.versionId=E.versionId),b=this._objectName(b),re=this._objectRequestParams("DELETE",b,E),re.successStatuses=[204],ce.next=8,this.request(re);case 8:return ae=ce.sent,ce.abrupt("return",{status:ae.status,res:ae.res});case 10:case"end":return ce.stop()}},x,this)}));function z(x){return se.apply(this,arguments)}return z}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(a,he,de){"use strict";a("core-js/modules/es.array.concat.js");var ee=a("url"),oe=a("../utils/isIP"),ne=oe.isIP,te=de;te.generateObjectUrl=function(z,x){if(ne(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(x)x[x.length-1]!=="/"&&(x+="/");else{x=this.options.endpoint.format();var b=ee.parse(x),E=this.options.bucket;b.hostname="".concat(E,".").concat(b.hostname),b.host="".concat(E,".").concat(b.host),x=b.format()}return x+this._escape(this._objectName(z))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(a,he,de){(function(ee){(function(){"use strict";var oe=a("@babel/runtime/helpers/interopRequireDefault"),ne=oe(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var te=oe(a("@babel/runtime/helpers/asyncToGenerator")),se=a("fs"),z=a("is-type-of"),x=de;x.get=function(){var b=(0,te.default)(ne.default.mark(function re(ae,le){var fe,ce,ue,ge,_e,we,xe,ve,Se=arguments;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return fe=Se.length>2&&Se[2]!==void 0?Se[2]:{},ce=null,ue=!1,z.writableStream(le)?ce=le:z.string(le)?(ce=se.createWriteStream(le),ue=!0):fe=le,fe=fe||{},ge=ee&&ee.browser,_e=fe.responseCacheControl===null?"":"no-cache",we=ge&&_e?{"response-cache-control":_e}:{},fe.subres=Object.assign(we,fe.subres),fe.versionId&&(fe.subres.versionId=fe.versionId),fe.process&&(fe.subres["x-oss-process"]=fe.process),Ae.prev=11,ve=this._objectRequestParams("GET",ae,fe),ve.writeStream=ce,ve.successStatuses=[200,206,304],Ae.next=17,this.request(ve);case 17:xe=Ae.sent,ue&&ce.destroy(),Ae.next=28;break;case 21:if(Ae.prev=21,Ae.t0=Ae.catch(11),!ue){Ae.next=27;break}return ce.destroy(),Ae.next=27,this._deleteFileSafe(le);case 27:throw Ae.t0;case 28:return Ae.abrupt("return",{res:xe.res,content:xe.data});case 29:case"end":return Ae.stop()}},re,this,[[11,21]])}));function E(re,ae){return b.apply(this,arguments)}return E}()}).call(this)}).call(this,a("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=de;te.getACL=function(){var se=(0,ne.default)(oe.default.mark(function x(b){var E,re,ae,le=arguments;return oe.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return E=le.length>1&&le[1]!==void 0?le[1]:{},E.subres=Object.assign({acl:""},E.subres),E.versionId&&(E.subres.versionId=E.versionId),b=this._objectName(b),re=this._objectRequestParams("GET",b,E),re.successStatuses=[200],re.xmlResponse=!0,ce.next=9,this.request(re);case 9:return ae=ce.sent,ce.abrupt("return",{acl:ae.data.AccessControlList.Grant,owner:{id:ae.data.Owner.ID,displayName:ae.data.Owner.DisplayName},res:ae.res});case 11:case"end":return ce.stop()}},x,this)}));function z(x){return se.apply(this,arguments)}return z}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.replace.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.object.assign.js"),a("core-js/modules/es.array.map.js"),a("core-js/modules/es.number.constructor.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=de,se=a("../utils/isObject"),z=se.isObject,x=a("../utils/isArray"),b=x.isArray;te.getBucketVersions=E,te.listObjectVersions=E;function E(){return re.apply(this,arguments)}function re(){return re=(0,ne.default)(oe.default.mark(function fe(){var ce,ue,ge,_e,we,xe,ve,Se,be=arguments;return oe.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(ce=be.length>0&&be[0]!==void 0?be[0]:{},ue=be.length>1&&be[1]!==void 0?be[1]:{},!(ce.versionIdMarker&&ce.keyMarker===void 0)){Te.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ue.subres=Object.assign({versions:""},ue.subres),ue.versionId&&(ue.subres.versionId=ue.versionId),ge=this._objectRequestParams("GET","",ue),ge.xmlResponse=!0,ge.successStatuses=[200],ge.query=le(ce),Te.next=12,this.request(ge);case 12:return _e=Te.sent,we=_e.data.Version||[],xe=_e.data.DeleteMarker||[],ve=this,we&&(Array.isArray(we)||(we=[we]),we=we.map(function(je){return{name:je.Key,url:ve._objectUrl(je.Key),lastModified:je.LastModified,isLatest:je.IsLatest==="true",versionId:je.VersionId,etag:je.ETag,type:je.Type,size:Number(je.Size),storageClass:je.StorageClass,owner:{id:je.Owner.ID,displayName:je.Owner.DisplayName}}})),xe&&(b(xe)||(xe=[xe]),xe=xe.map(function(je){return{name:je.Key,lastModified:je.LastModified,versionId:je.VersionId,owner:{id:je.Owner.ID,displayName:je.Owner.DisplayName}}})),Se=_e.data.CommonPrefixes||null,Se&&(b(Se)||(Se=[Se]),Se=Se.map(function(je){return je.Prefix})),Te.abrupt("return",{res:_e.res,objects:we,deleteMarker:xe,prefixes:Se,nextMarker:_e.data.NextKeyMarker||null,NextVersionIdMarker:_e.data.NextVersionIdMarker||null,nextKeyMarker:_e.data.NextKeyMarker||null,nextVersionIdMarker:_e.data.NextVersionIdMarker||null,isTruncated:_e.data.IsTruncated==="true"});case 21:case"end":return Te.stop()}},fe,this)})),re.apply(this,arguments)}function ae(fe){return fe.replace(/([A-Z])/g,"-$1").toLowerCase()}function le(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ce={};return z(fe)&&Object.keys(fe).forEach(function(ue){ce[ae(ue)]=fe[ue]}),ce}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=de;te.getObjectMeta=function(){var se=(0,ne.default)(oe.default.mark(function x(b,E){var re,ae;return oe.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return E=E||{},b=this._objectName(b),E.subres=Object.assign({objectMeta:""},E.subres),E.versionId&&(E.subres.versionId=E.versionId),re=this._objectRequestParams("HEAD",b,E),re.successStatuses=[200],fe.next=8,this.request(re);case 8:return ae=fe.sent,fe.abrupt("return",{status:ae.status,res:ae.res});case 10:case"end":return fe.stop()}},x,this)}));function z(x,b){return se.apply(this,arguments)}return z}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=de,se=a("../utils/isObject"),z=se.isObject;te.getObjectTagging=function(){var x=(0,ne.default)(oe.default.mark(function E(re){var ae,le,fe,ce,ue,ge,_e=arguments;return oe.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ae=_e.length>1&&_e[1]!==void 0?_e[1]:{},ae.subres=Object.assign({tagging:""},ae.subres),ae.versionId&&(ae.subres.versionId=ae.versionId),re=this._objectName(re),le=this._objectRequestParams("GET",re,ae),le.successStatuses=[200],xe.next=8,this.request(le);case 8:return fe=xe.sent,xe.next=11,this.parseXML(fe.data);case 11:return ce=xe.sent,ue=ce.TagSet.Tag,ue=ue&&z(ue)?[ue]:ue||[],ge={},ue.forEach(function(ve){ge[ve.Key]=ve.Value}),xe.abrupt("return",{status:fe.status,res:fe.res,tag:ge});case 17:case"end":return xe.stop()}},E,this)}));function b(E){return x.apply(this,arguments)}return b}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(a,he,de){"use strict";var ee=a("../utils/isIP"),oe=ee.isIP,ne=de;ne.getObjectUrl=function(se,z){if(oe(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return z?z[z.length-1]!=="/"&&(z+="/"):z=this.options.endpoint.format(),z+this._escape(this._objectName(se))}},{"../utils/isIP":69}],43:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=de;te.getSymlink=function(){var se=(0,ne.default)(oe.default.mark(function x(b){var E,re,ae,le,fe=arguments;return oe.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return E=fe.length>1&&fe[1]!==void 0?fe[1]:{},E.subres=Object.assign({symlink:""},E.subres),E.versionId&&(E.subres.versionId=E.versionId),b=this._objectName(b),re=this._objectRequestParams("GET",b,E),re.successStatuses=[200],ue.next=8,this.request(re);case 8:return ae=ue.sent,le=ae.res.headers["x-oss-symlink-target"],ue.abrupt("return",{targetName:decodeURIComponent(le),res:ae.res});case 11:case"end":return ue.stop()}},x,this)}));function z(x){return se.apply(this,arguments)}return z}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/checkEnv"),se=te.checkEnv,z=de;z.head=function(){var x=(0,ne.default)(oe.default.mark(function E(re){var ae,le,fe,ce,ue=arguments;return oe.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return ae=ue.length>1&&ue[1]!==void 0?ue[1]:{},se("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),ae.subres=Object.assign({},ae.subres),ae.versionId&&(ae.subres.versionId=ae.versionId),le=this._objectRequestParams("HEAD",re,ae),le.successStatuses=[200,304],_e.next=8,this.request(le);case 8:return fe=_e.sent,ce={meta:null,res:fe.res,status:fe.status},fe.status===200&&Object.keys(fe.headers).forEach(function(we){we.indexOf("x-oss-meta-")===0&&(ce.meta||(ce.meta={}),ce.meta[we.substring(11)]=fe.headers[we])}),_e.abrupt("return",ce);case 12:case"end":return _e.stop()}},E,this)}));function b(E){return x.apply(this,arguments)}return b}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=de;te.putACL=function(){var se=(0,ne.default)(oe.default.mark(function x(b,E,re){var ae,le;return oe.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return re=re||{},re.subres=Object.assign({acl:""},re.subres),re.versionId&&(re.subres.versionId=re.versionId),re.headers=re.headers||{},re.headers["x-oss-object-acl"]=E,b=this._objectName(b),ae=this._objectRequestParams("PUT",b,re),ae.successStatuses=[200],ce.next=10,this.request(ae);case 10:return le=ce.sent,ce.abrupt("return",{res:le.res});case 12:case"end":return ce.stop()}},x,this)}));function z(x,b,E){return se.apply(this,arguments)}return z}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js"),a("core-js/modules/es.array.map.js"),a("core-js/modules/es.object.keys.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("../utils/obj2xml"),se=te.obj2xml,z=a("../utils/checkObjectTag"),x=z.checkObjectTag,b=de;b.putObjectTagging=function(){var E=(0,ne.default)(oe.default.mark(function ae(le,fe){var ce,ue,ge,_e,we=arguments;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ce=we.length>2&&we[2]!==void 0?we[2]:{},x(fe),ce.subres=Object.assign({tagging:""},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),le=this._objectName(le),ue=this._objectRequestParams("PUT",le,ce),ue.successStatuses=[200],fe=Object.keys(fe).map(function(Se){return{Key:Se,Value:fe[Se]}}),ge={Tagging:{TagSet:{Tag:fe}}},ue.mime="xml",ue.content=se(ge),ve.next=13,this.request(ue);case 13:return _e=ve.sent,ve.abrupt("return",{res:_e.res,status:_e.status});case 15:case"end":return ve.stop()}},ae,this)}));function re(ae,le){return E.apply(this,arguments)}return re}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=de;te.putSymlink=function(){var se=(0,ne.default)(oe.default.mark(function x(b,E,re){var ae,le;return oe.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return re=re||{},re.headers=re.headers||{},E=this._escape(this._objectName(E)),this._convertMetaToHeaders(re.meta,re.headers),re.headers["x-oss-symlink-target"]=E,re.subres=Object.assign({symlink:""},re.subres),re.versionId&&(re.subres.versionId=re.versionId),re.storageClass&&(re.headers["x-oss-storage-class"]=re.storageClass),b=this._objectName(b),ae=this._objectRequestParams("PUT",b,re),ae.successStatuses=[200],ce.next=13,this.request(ae);case 13:return le=ce.sent,ce.abrupt("return",{res:le.res});case 15:case"end":return ce.stop()}},x,this)}));function z(x,b,E){return se.apply(this,arguments)}return z}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(a,he,de){"use strict";var ee=a("url"),oe=a("utility"),ne=a("copy-to"),te=a("../../common/signUtils"),se=a("../utils/isIP"),z=se.isIP,x=de;x.signatureUrl=function(E,re){if(z(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");re=re||{},E=this._objectName(E),re.method=re.method||"GET";var ae=oe.timestamp()+(re.expires||1800),le={bucket:this.options.bucket,object:E},fe=this._getResource(le);this.options.stsToken&&(re["security-token"]=this.options.stsToken);var ce=te._signatureForURL(this.options.accessKeySecret,re,fe,ae),ue=ee.parse(this._getReqUrl(le));return ue.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ae,Signature:ce.Signature},ne(ce.subResource).to(ue.query),ue.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.array.iterator.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.promise.js"),a("core-js/modules/es.string.iterator.js"),a("core-js/modules/web.dom-collections.iterator.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.function.name.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator")),te=a("./utils/isArray"),se=te.isArray,z=de;z._parallelNode=function(){var x=(0,ne.default)(oe.default.mark(function E(re,ae,le,fe){var ce,ue,ge,_e,we,xe,ve,Se;return oe.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:ce=this,ue=[],ge=[],_e=re.length/ae,we=re.length%ae,xe=we===0?_e:(re.length-we)/ae+1,ve=1,Se=0;case 8:if(!(Se<re.length)){Ae.next=26;break}if(!ce.isCancel()){Ae.next=11;break}return Ae.abrupt("break",26);case 11:if(fe?ge.push(le(ce,re[Se],fe)):ge.push(le(ce,re[Se])),!(ge.length===ae||ve===xe&&Se===re.length-1)){Ae.next=23;break}return Ae.prev=13,ve+=1,Ae.next=17,Promise.all(ge);case 17:Ae.next=22;break;case 19:Ae.prev=19,Ae.t0=Ae.catch(13),ue.push(Ae.t0);case 22:ge=[];case 23:Se++,Ae.next=8;break;case 26:return Ae.abrupt("return",ue);case 27:case"end":return Ae.stop()}},E,this,[[13,19]])}));function b(E,re,ae,le){return x.apply(this,arguments)}return b}(),z._parallel=function(b,E,re){var ae=this;return new Promise(function(le){var fe=[];if(E<=0||!b){le(fe);return}function ce(Ae){return function(){if(Ae===null)throw new Error("Callback was already called.");var Te=Ae;Ae=null;for(var je=arguments.length,ke=new Array(je),Pe=0;Pe<je;Pe++)ke[Pe]=arguments[Pe];Te.apply(this,ke)}}function ue(Ae){var Te=-1,je=Ae.length;return function(){return++Te<je&&!ae.isCancel()?{value:Ae[Te],key:Te}:null}}var ge=ue(b),_e=!1,we=0,xe=!1;function ve(Ae){we-=1,Ae?(_e=!0,fe.push(Ae),le(fe)):_e&&we<=0?(_e=!0,le(fe)):xe||(ae.isCancel()?le(fe):be())}function Se(Ae,Te){re(Ae).then(function(je){Te(null,je)}).catch(function(je){Te(je)})}function be(){for(xe=!0;we<E&&!_e&&!ae.isCancel();){var Ae=ge();if(Ae===null||fe.length>0){_e=!0,we<=0&&le(fe);return}we+=1,Se(Ae.value,ce(ve))}xe=!1}be()})},z.cancel=function(b){this.options.cancelFlag=!0,se(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(E){if(E.destroyed===!1){var re={name:"cancel",message:"cancel"};E.destroy(re)}}),this.multipartUploadStreams=[],b&&this.abortMultipartUpload(b.name,b.uploadId,b.options)},z.isCancel=function(){return this.options.cancelFlag},z.resetCancelFlag=function(){this.options.cancelFlag=!1},z._stop=function(){this.options.cancelFlag=!0},z._makeCancelEvent=function(){var b={status:0,name:"cancel"};return b},z._makeAbortEvent=function(){var b={status:0,name:"abort",message:"upload task has been abort"};return b}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(a,he,de){(function(ee){(function(){"use strict";a("core-js/modules/es.string.trim.js"),a("core-js/modules/es.array.sort.js"),a("core-js/modules/es.array.join.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.regexp.to-string.js");var oe=a("./../../shims/crypto/crypto.js"),ne=a("is-type-of"),te=a("./utils/lowercaseKeyHeader"),se=te.lowercaseKeyHeader;de.buildCanonicalizedResource=function(x,b){var E="".concat(x),re="?";if(ne.string(b)&&b.trim()!=="")E+=re+b;else if(ne.array(b))b.sort(),E+=re+b.join("&");else if(b){var ae=function(ce,ue){return ce[0]>ue[0]?1:ce[0]<ue[0]?-1:0},le=function(ce){E+=re+ce,(b[ce]||b[ce]===0)&&(E+="=".concat(b[ce])),re="&"};Object.keys(b).sort(ae).forEach(le)}return E},de.buildCanonicalString=function(x,b,E,re){E=E||{};var ae=se(E.headers),le="x-oss-",fe=[],ce={},ue=[x.toUpperCase(),ae["content-md5"]||"",ae["content-type"],re||ae["x-oss-date"]];return Object.keys(ae).forEach(function(ge){var _e=ge.toLowerCase();_e.indexOf(le)===0&&(ce[_e]=String(ae[ge]).trim())}),Object.keys(ce).sort().forEach(function(ge){fe.push("".concat(ge,":").concat(ce[ge]))}),ue=ue.concat(fe),ue.push(this.buildCanonicalizedResource(b,E.parameters)),ue.join(`
`)},de.computeSignature=function(x,b){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",re=oe.createHmac("sha1",x);return re.update(ee.from(b,E)).digest("base64")},de.authorization=function(x,b,E,re){return"OSS ".concat(x,":").concat(this.computeSignature(b,E,re))},de._signatureForURL=function(x){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=arguments.length>2?arguments[2]:void 0,re=arguments.length>3?arguments[3]:void 0,ae=arguments.length>4?arguments[4]:void 0,le={},fe=b.subResource,ce=fe===void 0?{}:fe;if(b.process){var ue="x-oss-process";ce[ue]=b.process}if(b.trafficLimit){var ge="x-oss-traffic-limit";ce[ge]=b.trafficLimit}if(b.response&&Object.keys(b.response).forEach(function(ve){var Se="response-".concat(ve.toLowerCase());ce[Se]=b.response[ve]}),Object.keys(b).forEach(function(ve){var Se=ve.toLowerCase(),be=b[ve];Se.indexOf("x-oss-")===0?le[Se]=be:(Se.indexOf("content-md5")===0||Se.indexOf("content-type")===0)&&(le[ve]=be)}),Object.prototype.hasOwnProperty.call(b,"security-token")&&(ce["security-token"]=b["security-token"]),Object.prototype.hasOwnProperty.call(b,"callback")){var _e={callbackUrl:encodeURI(b.callback.url),callbackBody:b.callback.body};if(b.callback.host&&(_e.callbackHost=b.callback.host),b.callback.contentType&&(_e.callbackBodyType=b.callback.contentType),ce.callback=ee.from(JSON.stringify(_e)).toString("base64"),b.callback.customValue){var we={};Object.keys(b.callback.customValue).forEach(function(ve){we["x:".concat(ve)]=b.callback.customValue[ve]}),ce["callback-var"]=ee.from(JSON.stringify(we)).toString("base64")}}var xe=this.buildCanonicalString(b.method,E,{headers:le,parameters:ce},re.toString());return{Signature:this.computeSignature(x,xe,ae),subResource:ce}}}).call(this)}).call(this,a("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(a,he,de){"use strict";a("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkBucketName=void 0,de.checkBucketName=function(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ne=oe?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ne.test(ee))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(a,he,de){"use strict";a("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkConfigValid=void 0;var ee={endpoint:oe,region:/^[a-zA-Z0-9\-_]+$/};function oe(ne){return typeof ne=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ne):ne.host?/^[a-zA-Z0-9._:/-]+$/.test(ne.host):!1}de.checkConfigValid=function(ne,te){if(ee[te]){var se=!0;if(ee[te]instanceof Function?se=ee[te](ne):se=ee[te].test(ne),!se)throw new Error("The ".concat(te," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(a,he,de){(function(ee){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.checkEnv=void 0;function oe(ne){ee.browser&&console.warn(ne)}de.checkEnv=oe}).call(this)}).call(this,a("_process"))},{_process:467}],54:[function(a,he,de){"use strict";a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.object.entries.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkObjectTag=void 0;var ee=a("./checkValid"),oe=ee.checkValid,ne=a("./isObject"),te=ne.isObject,se=[{validator:function(E){if(typeof E!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],z={key:[].concat(se,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(se,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function x(b){if(!te(b))throw new Error("tag must be Object");var E=Object.entries(b);if(E.length>10)throw new Error("maximum of 10 tags for a object");var re=["key","value"];E.forEach(function(ae){ae.forEach(function(le,fe){oe(le,z[re[fe]])})})}de.checkObjectTag=x},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(a,he,de){"use strict";a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkValid=void 0;function ee(oe,ne){ne.forEach(function(te){if(te.validator)te.validator(oe);else if(te.pattern&&!te.pattern.test(oe))throw new Error(te.msg)})}de.checkValid=ee},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(a,he,de){(function(ee){(function(){"use strict";a("core-js/modules/es.array.includes.js"),a("core-js/modules/es.string.includes.js"),a("core-js/modules/es.object.assign.js"),a("core-js/modules/es.array.concat.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.createRequest=void 0;var oe=a("./../../../shims/crypto/crypto.js"),ne=a("debug")("ali-oss"),te=a("mime"),se=a("dateformat"),z=a("copy-to"),x=a("path"),b=a("./encoder"),E=b.encoder,re=a("./isIP"),ae=re.isIP,le=a("./setRegion"),fe=le.setRegion,ce=a("../client/getReqUrl"),ue=ce.getReqUrl,ge=a("./isDingTalk"),_e=ge.isDingTalk;function we(Se,be){return Se[be]||Se[be.toLowerCase()]}function xe(Se,be){delete Se[be],delete Se[be.toLowerCase()]}function ve(Se){var be=new Date;this.options.amendTimeSkewed&&(be=+new Date+this.options.amendTimeSkewed);var Ae={"x-oss-date":se(be,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Ae["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Ae["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Ae,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Ae["x-oss-security-token"]=this.options.stsToken),z(Se.headers).to(Ae),we(Ae,"Content-Type")||(Se.mime&&Se.mime.indexOf("/")>0?Ae["Content-Type"]=Se.mime:_e()?Ae["Content-Type"]="application/octet-stream":Ae["Content-Type"]=te.getType(Se.mime||x.extname(Se.object||""))),we(Ae,"Content-Type")||xe(Ae,"Content-Type"),Se.content&&(Se.disabledMD5||(!Se.headers||!Se.headers["Content-MD5"]?Ae["Content-MD5"]=oe.createHash("md5").update(ee.from(Se.content,"utf8")).digest("base64"):Ae["Content-MD5"]=Se.headers["Content-MD5"]),Ae["Content-Length"]||(Ae["Content-Length"]=Se.content.length));var Te=Object.prototype.hasOwnProperty;for(var je in Ae)Ae[je]&&Te.call(Ae,je)&&(Ae[je]=E(String(Ae[je]),this.options.headerEncoding));var ke=this._getResource(Se);if(Ae.authorization=this.authorization(Se.method,ke,Se.subres,Ae,this.options.headerEncoding),ae(this.options.endpoint.hostname)){var Pe=this.options,Oe=Pe.region,He=Pe.internal,Ge=Pe.secure,tt=fe(Oe,He,Ge);Ae.host="".concat(Se.bucket,".").concat(tt.host)}var Me=ue.bind(this)(Se);ne("request %s %s, with headers %j, !!stream: %s",Se.method,Me,Ae,!!Se.stream);var We=Se.timeout||this.options.timeout,it={method:Se.method,content:Se.content,stream:Se.stream,headers:Ae,timeout:We,writeStream:Se.writeStream,customResponse:Se.customResponse,ctx:Se.ctx||this.ctx};return this.agent&&(it.agent=this.agent),this.httpsAgent&&(it.httpsAgent=this.httpsAgent),it.enableProxy=!!this.options.enableProxy,it.proxy=this.options.proxy?this.options.proxy:null,{url:Me,params:it}}de.createRequest=ve}).call(this)}).call(this,a("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(a,he,de){"use strict";a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.entries.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.replace.js"),a("core-js/modules/es.array.includes.js"),a("core-js/modules/es.object.keys.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.dataFix=void 0;var ee=a("./isObject"),oe=["true","TRUE","1",1],ne=["false","FALSE","0",0];function te(x,b,E){if(ee.isObject(x)){var re=b.remove,ae=re===void 0?[]:re,le=b.rename,fe=le===void 0?{}:le,ce=b.camel,ue=ce===void 0?[]:ce,ge=b.bool,_e=ge===void 0?[]:ge,we=b.lowerFirst,xe=we===void 0?!1:we;return ae.forEach(function(ve){return delete x[ve]}),Object.entries(fe).forEach(function(ve){x[ve[0]]&&(x[ve[1]]||(x[ve[1]]=x[ve[0]],delete x[ve[0]]))}),ue.forEach(function(ve){if(x[ve]){var Se=ve.replace(/^(.)/,function(be){return be.toLowerCase()}).replace(/-(\w)/g,function(be,Ae){return Ae.toUpperCase()});x[Se]||(x[Se]=x[ve])}}),_e.forEach(function(ve){x[ve]=se(x[ve])}),typeof E=="function"&&E(x),z(x,xe),te}}de.dataFix=te;function se(x){return x?oe.includes(x)?!0:ne.includes(x)?!1:x:!1}function z(x,b){b&&Object.keys(x).forEach(function(E){var re=E.replace(/^\w/,function(ae){return ae.toLowerCase()});typeof x[re]=="undefined"&&(x[re]=x[E],delete x[E])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault");a("core-js/modules/es.array.slice.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js");var oe=ee(a("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.deepCopyWith=de.deepCopy=void 0;var ne=a("./isBuffer");de.deepCopy=function(te){if(te===null||(0,oe.default)(te)!=="object")return te;if(ne.isBuffer(te))return te.slice();var se=Array.isArray(te)?[]:{};return Object.keys(te).forEach(function(z){se[z]=de.deepCopy(te[z])}),se},de.deepCopyWith=function(te,se){function z(x,b,E){var re=se(x,b,E);if(re!==void 0)return re;if(x===null||(0,oe.default)(x)!=="object")return x;if(ne.isBuffer(x))return x.slice();var ae=Array.isArray(x)?[]:{};return Object.keys(x).forEach(function(le){ae[le]=z(x[le],le,x)}),ae}return se?z(te,"",null):de.deepCopy(te)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(a,he,de){(function(ee){(function(){"use strict";a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.encoder=void 0;function oe(ne){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return te==="utf-8"?ne:ee.from(ne).toString("latin1")}de.encoder=oe}).call(this)}).call(this,a("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(a,he,de){"use strict";a("core-js/modules/es.array.map.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.replace.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.formatInventoryConfig=void 0;var ee=a("../utils/dataFix"),oe=a("../utils/isObject"),ne=a("../utils/isArray"),te=a("../utils/formatObjKey");function se(x){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return b&&oe.isObject(x)&&(x=[x]),ne.isArray(x)?x=x.map(z):x=z(x),x}de.formatInventoryConfig=se;function z(x){return ee.dataFix(x,{bool:["IsEnabled"]},function(b){var E,re;b.prefix=b.Filter.Prefix,delete b.Filter,b.OSSBucketDestination=b.Destination.OSSBucketDestination,b.OSSBucketDestination.rolename=b.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete b.OSSBucketDestination.RoleArn,b.OSSBucketDestination.bucket=b.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete b.OSSBucketDestination.Bucket,delete b.Destination,b.frequency=b.Schedule.Frequency,delete b.Schedule.Frequency,!((E=b==null?void 0:b.OptionalFields)===null||E===void 0)&&E.Field&&!ne.isArray((re=b.OptionalFields)===null||re===void 0?void 0:re.Field)&&(b.OptionalFields.Field=[b.OptionalFields.Field])}),x=te.formatObjKey(x,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),x}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault");a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.array.includes.js"),a("core-js/modules/es.string.includes.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.replace.js");var oe=ee(a("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.formatObjKey=void 0;function ne(se,z,x){if(se===null||(0,oe.default)(se)!=="object")return se;var b;if(Array.isArray(se)){b=[];for(var E=0;E<se.length;E++)b.push(ne(se[E],z,x))}else b={},Object.keys(se).forEach(function(re){b[te(re,z,x)]=ne(se[re],z,x)});return b}de.formatObjKey=ne;function te(se,z,x){return x&&x.exclude&&x.exclude.includes(se)||(z==="firstUpperCase"?se=se.replace(/^./,function(b){return b.toUpperCase()}):z==="firstLowerCase"&&(se=se.replace(/^./,function(b){return b.toLowerCase()}))),se}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[function(a,he,de){"use strict";a("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.getStrBytesCount=void 0;function ee(oe){for(var ne=0,te=0;te<oe.length;te++){var se=oe.charAt(te);/^[\u00-\uff]$/.test(se)?ne+=1:ne+=2}return ne}de.getStrBytesCount=ee},{"core-js/modules/es.regexp.exec.js":300}],63:[function(a,he,de){"use strict";a("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isArray=void 0,de.isArray=function(ee){return Object.prototype.toString.call(ee)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(a,he,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBlob=void 0;function ee(oe){return typeof Blob!="undefined"&&oe instanceof Blob}de.isBlob=ee},{}],65:[function(a,he,de){(function(ee){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBuffer=void 0;function oe(ne){return ee.isBuffer(ne)}de.isBuffer=oe}).call(this)}).call(this,{isBuffer:a("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(a,he,de){(function(ee){(function(){"use strict";a("core-js/modules/es.array.includes.js"),a("core-js/modules/es.string.includes.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isDingTalk=void 0;function oe(){return!!(ee.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}de.isDingTalk=oe}).call(this)}).call(this,a("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[function(a,he,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFile=void 0,de.isFile=function(ee){return typeof File!="undefined"&&ee instanceof File}},{}],68:[function(a,he,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFunction=void 0,de.isFunction=function(ee){return typeof ee=="function"}},{}],69:[function(a,he,de){"use strict";a("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isIP=void 0,de.isIP=function(ee){var oe=/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-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return oe.test(ee)||ne.test(ee)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(a,he,de){"use strict";a("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isObject=void 0,de.isObject=function(ee){return Object.prototype.toString.call(ee)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(a,he,de){"use strict";a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.lowercaseKeyHeader=void 0;var ee=a("./isObject");function oe(ne){var te={};return ee.isObject(ne)&&Object.keys(ne).forEach(function(se){te[se.toLowerCase()]=ne[se]}),te}de.lowercaseKeyHeader=oe},{"./isObject":70,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],72:[function(a,he,de){"use strict";a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.replace.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.array.join.js"),a("core-js/modules/es.array.map.js"),a("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.obj2xml=void 0;var ee=a("./formatObjKey");function oe(te){return Object.prototype.toString.call(te).replace(/(.*? |])/g,"").toLowerCase()}function ne(te,se){var z="";return se&&se.headers&&(z=`<?xml version="1.0" encoding="UTF-8"?>
`),se&&se.firstUpperCase&&(te=ee.formatObjKey(te,"firstUpperCase")),oe(te)==="object"?Object.keys(te).forEach(function(x){oe(te[x])!=="undefined"&&oe(te[x])!=="null"&&(oe(te[x])==="string"||oe(te[x])==="number"?z+="<".concat(x,">").concat(te[x],"</").concat(x,">"):oe(te[x])==="object"?z+="<".concat(x,">").concat(ne(te[x]),"</").concat(x,">"):oe(te[x])==="array"?z+=te[x].map(function(b){return"<".concat(x,">").concat(ne(b),"</").concat(x,">")}).join(""):z+="<".concat(x,">").concat(te[x].toString(),"</").concat(x,">"))}):z+=te.toString(),z}de.obj2xml=ne},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(a,he,de){"use strict";a("core-js/modules/es.array.slice.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.function.name.js"),a("core-js/modules/es.array.from.js"),a("core-js/modules/es.string.iterator.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.symbol.js"),a("core-js/modules/es.symbol.description.js"),a("core-js/modules/es.symbol.iterator.js"),a("core-js/modules/es.array.iterator.js"),a("core-js/modules/web.dom-collections.iterator.js"),a("core-js/modules/es.object.assign.js");function ee(se,z){var x=typeof Symbol!="undefined"&&se[Symbol.iterator]||se["@@iterator"];if(!x){if(Array.isArray(se)||(x=oe(se))||z&&se&&typeof se.length=="number"){x&&(se=x);var b=0,E=function(){};return{s:E,n:function(){return b>=se.length?{done:!0}:{done:!1,value:se[b++]}},e:function(ce){throw ce},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var re=!0,ae=!1,le;return{s:function(){x=x.call(se)},n:function(){var ce=x.next();return re=ce.done,ce},e:function(ce){ae=!0,le=ce},f:function(){try{!re&&x.return!=null&&x.return()}finally{if(ae)throw le}}}}function oe(se,z){if(se){if(typeof se=="string")return ne(se,z);var x=Object.prototype.toString.call(se).slice(8,-1);if(x==="Object"&&se.constructor&&(x=se.constructor.name),x==="Map"||x==="Set")return Array.from(se);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return ne(se,z)}}function ne(se,z){(z==null||z>se.length)&&(z=se.length);for(var x=0,b=new Array(z);x<z;x++)b[x]=se[x];return b}Object.defineProperty(de,"__esModule",{value:!0}),de.omit=void 0;function te(se,z){var x=Object.assign({},se),b=ee(z),E;try{for(b.s();!(E=b.n()).done;){var re=E.value;delete x[re]}}catch(ae){b.e(ae)}finally{b.f()}return x}de.omit=te},{"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.iterator.js":312,"core-js/modules/es.symbol.js":313,"core-js/modules/web.dom-collections.iterator.js":340}],74:[function(a,he,de){"use strict";a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.promise.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.retry=void 0;function ee(oe,ne){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},se=0,z=te.retryDelay,x=z===void 0?500:z,b=te.errorHandler,E=b===void 0?function(){return!0}:b,re=function ae(){for(var le=arguments.length,fe=new Array(le),ce=0;ce<le;ce++)fe[ce]=arguments[ce];return new Promise(function(ue,ge){oe.apply(void 0,fe).then(function(_e){se=0,ue(_e)}).catch(function(_e){se<ne&&E(_e)?(se++,setTimeout(function(){ue(ae.apply(void 0,fe))},x)):(se=0,ge(_e))})})};return re}de.retry=ee},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(a,he,de){"use strict";var ee=function(se){return se&&se.__esModule?se:{default:se}};Object.defineProperty(de,"__esModule",{value:!0}),de.setRegion=void 0;var oe=ee(a("url")),ne=a("./checkConfigValid");function te(se){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ne.checkConfigValid(se,"region");var b=x?"https://":"http://",E=z?"-internal.aliyuncs.com":".aliyuncs.com",re="vpc100-oss-cn-";return se.substr(0,re.length)===re&&(E=".aliyuncs.com"),oe.default.parse(b+se+E)}de.setRegion=te},{"./checkConfigValid":52,url:472}],76:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/regenerator"));a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.array.find.js"),a("core-js/modules/es.object.assign.js");var ne=ee(a("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.checkCredentials=de.setSTSToken=void 0;var te=a("./formatObjKey");function se(){return z.apply(this,arguments)}function z(){return z=(0,ne.default)(oe.default.mark(function b(){var E,re;return oe.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(this.options||(this.options={}),E=new Date,!this.stsTokenFreshTime){le.next=14;break}if(!(+E-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){le.next=12;break}return this.stsTokenFreshTime=E,le.next=7,this.options.refreshSTSToken();case 7:re=le.sent,re=te.formatObjKey(re,"firstLowerCase"),re.securityToken&&(re.stsToken=re.securityToken),x(re),Object.assign(this.options,re);case 12:le.next=15;break;case 14:this.stsTokenFreshTime=E;case 15:return le.abrupt("return",null);case 16:case"end":return le.stop()}},b,this)})),z.apply(this,arguments)}de.setSTSToken=se;function x(b){var E=["accessKeySecret","accessKeyId","stsToken"],re=Object.keys(b);E.forEach(function(ae){if(!re.find(function(le){return le===ae}))throw Error("refreshSTSToken must return contains ".concat(ae))})}de.checkCredentials=x},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(a,he,de){function ee(ne,te,se,z,x,b,E){try{var re=ne[b](E),ae=re.value}catch(le){se(le);return}re.done?te(ae):Promise.resolve(ae).then(z,x)}function oe(ne){return function(){var te=this,se=arguments;return new Promise(function(z,x){var b=ne.apply(te,se);function E(ae){ee(b,z,x,E,re,"next",ae)}function re(ae){ee(b,z,x,E,re,"throw",ae)}E(void 0)})}}he.exports=oe,he.exports.__esModule=!0,he.exports.default=he.exports},{}],78:[function(a,he,de){function ee(oe){return oe&&oe.__esModule?oe:{default:oe}}he.exports=ee,he.exports.__esModule=!0,he.exports.default=he.exports},{}],79:[function(a,he,de){function ee(oe){"@babel/helpers - typeof";return he.exports=ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ne){return typeof ne}:function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},he.exports.__esModule=!0,he.exports.default=he.exports,ee(oe)}he.exports=ee,he.exports.__esModule=!0,he.exports.default=he.exports},{}],80:[function(a,he,de){he.exports=a("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(a,he,de){he.exports=ee,he.exports.HttpsAgent=ee;function ee(){}},{}],82:[function(a,he,de){(function(ee){(function(){"use strict";var oe=a("object-assign");function ne(Oe,He){if(Oe===He)return 0;for(var Ge=Oe.length,tt=He.length,Me=0,We=Math.min(Ge,tt);Me<We;++Me)if(Oe[Me]!==He[Me]){Ge=Oe[Me],tt=He[Me];break}return Ge<tt?-1:tt<Ge?1:0}function te(Oe){return ee.Buffer&&typeof ee.Buffer.isBuffer=="function"?ee.Buffer.isBuffer(Oe):!!(Oe!=null&&Oe._isBuffer)}var se=a("util/"),z=Object.prototype.hasOwnProperty,x=Array.prototype.slice,b=function(){return function(){}.name==="foo"}();function E(Oe){return Object.prototype.toString.call(Oe)}function re(Oe){return te(Oe)||typeof ee.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Oe):Oe?!!(Oe instanceof DataView||Oe.buffer&&Oe.buffer instanceof ArrayBuffer):!1}var ae=he.exports=we,le=/\s*function\s+([^\(\s]*)\s*/;function fe(Oe){if(se.isFunction(Oe)){if(b)return Oe.name;var He=Oe.toString(),Ge=He.match(le);return Ge&&Ge[1]}}ae.AssertionError=function(He){this.name="AssertionError",this.actual=He.actual,this.expected=He.expected,this.operator=He.operator,He.message?(this.message=He.message,this.generatedMessage=!1):(this.message=ge(this),this.generatedMessage=!0);var Ge=He.stackStartFunction||_e;if(Error.captureStackTrace)Error.captureStackTrace(this,Ge);else{var tt=new Error;if(tt.stack){var Me=tt.stack,We=fe(Ge),it=Me.indexOf(`
`+We);if(it>=0){var ut=Me.indexOf(`
`,it+1);Me=Me.substring(ut+1)}this.stack=Me}}},se.inherits(ae.AssertionError,Error);function ce(Oe,He){return typeof Oe=="string"?Oe.length<He?Oe:Oe.slice(0,He):Oe}function ue(Oe){if(b||!se.isFunction(Oe))return se.inspect(Oe);var He=fe(Oe),Ge=He?": "+He:"";return"[Function"+Ge+"]"}function ge(Oe){return ce(ue(Oe.actual),128)+" "+Oe.operator+" "+ce(ue(Oe.expected),128)}function _e(Oe,He,Ge,tt,Me){throw new ae.AssertionError({message:Ge,actual:Oe,expected:He,operator:tt,stackStartFunction:Me})}ae.fail=_e;function we(Oe,He){Oe||_e(Oe,!0,He,"==",ae.ok)}ae.ok=we,ae.equal=function(He,Ge,tt){He!=Ge&&_e(He,Ge,tt,"==",ae.equal)},ae.notEqual=function(He,Ge,tt){He==Ge&&_e(He,Ge,tt,"!=",ae.notEqual)},ae.deepEqual=function(He,Ge,tt){xe(He,Ge,!1)||_e(He,Ge,tt,"deepEqual",ae.deepEqual)},ae.deepStrictEqual=function(He,Ge,tt){xe(He,Ge,!0)||_e(He,Ge,tt,"deepStrictEqual",ae.deepStrictEqual)};function xe(Oe,He,Ge,tt){if(Oe===He)return!0;if(te(Oe)&&te(He))return ne(Oe,He)===0;if(se.isDate(Oe)&&se.isDate(He))return Oe.getTime()===He.getTime();if(se.isRegExp(Oe)&&se.isRegExp(He))return Oe.source===He.source&&Oe.global===He.global&&Oe.multiline===He.multiline&&Oe.lastIndex===He.lastIndex&&Oe.ignoreCase===He.ignoreCase;if((Oe===null||typeof Oe!="object")&&(He===null||typeof He!="object"))return Ge?Oe===He:Oe==He;if(re(Oe)&&re(He)&&E(Oe)===E(He)&&!(Oe instanceof Float32Array||Oe instanceof Float64Array))return ne(new Uint8Array(Oe.buffer),new Uint8Array(He.buffer))===0;if(te(Oe)!==te(He))return!1;tt=tt||{actual:[],expected:[]};var Me=tt.actual.indexOf(Oe);return Me!==-1&&Me===tt.expected.indexOf(He)?!0:(tt.actual.push(Oe),tt.expected.push(He),Se(Oe,He,Ge,tt))}function ve(Oe){return Object.prototype.toString.call(Oe)=="[object Arguments]"}function Se(Oe,He,Ge,tt){if(Oe==null||He===null||He===void 0)return!1;if(se.isPrimitive(Oe)||se.isPrimitive(He))return Oe===He;if(Ge&&Object.getPrototypeOf(Oe)!==Object.getPrototypeOf(He))return!1;var Me=ve(Oe),We=ve(He);if(Me&&!We||!Me&&We)return!1;if(Me)return Oe=x.call(Oe),He=x.call(He),xe(Oe,He,Ge);var it=Pe(Oe),ut=Pe(He),$e,Je;if(it.length!==ut.length)return!1;for(it.sort(),ut.sort(),Je=it.length-1;Je>=0;Je--)if(it[Je]!==ut[Je])return!1;for(Je=it.length-1;Je>=0;Je--)if($e=it[Je],!xe(Oe[$e],He[$e],Ge,tt))return!1;return!0}ae.notDeepEqual=function(He,Ge,tt){xe(He,Ge,!1)&&_e(He,Ge,tt,"notDeepEqual",ae.notDeepEqual)},ae.notDeepStrictEqual=be;function be(Oe,He,Ge){xe(Oe,He,!0)&&_e(Oe,He,Ge,"notDeepStrictEqual",be)}ae.strictEqual=function(He,Ge,tt){He!==Ge&&_e(He,Ge,tt,"===",ae.strictEqual)},ae.notStrictEqual=function(He,Ge,tt){He===Ge&&_e(He,Ge,tt,"!==",ae.notStrictEqual)};function Ae(Oe,He){if(!Oe||!He)return!1;if(Object.prototype.toString.call(He)=="[object RegExp]")return He.test(Oe);try{if(Oe instanceof He)return!0}catch(Ge){}return Error.isPrototypeOf(He)?!1:He.call({},Oe)===!0}function Te(Oe){var He;try{Oe()}catch(Ge){He=Ge}return He}function je(Oe,He,Ge,tt){var Me;if(typeof He!="function")throw new TypeError('"block" argument must be a function');typeof Ge=="string"&&(tt=Ge,Ge=null),Me=Te(He),tt=(Ge&&Ge.name?" ("+Ge.name+").":".")+(tt?" "+tt:"."),Oe&&!Me&&_e(Me,Ge,"Missing expected exception"+tt);var We=typeof tt=="string",it=!Oe&&se.isError(Me),ut=!Oe&&Me&&!Ge;if((it&&We&&Ae(Me,Ge)||ut)&&_e(Me,Ge,"Got unwanted exception"+tt),Oe&&Me&&Ge&&!Ae(Me,Ge)||!Oe&&Me)throw Me}ae.throws=function(Oe,He,Ge){je(!0,Oe,He,Ge)},ae.doesNotThrow=function(Oe,He,Ge){je(!1,Oe,He,Ge)},ae.ifError=function(Oe){if(Oe)throw Oe};function ke(Oe,He){Oe||_e(Oe,!0,He,"==",ke)}ae.strict=oe(ke,ae,{equal:ae.strictEqual,deepEqual:ae.deepStrictEqual,notEqual:ae.notStrictEqual,notDeepEqual:ae.notDeepStrictEqual}),ae.strict.strict=ae.strict;var Pe=Object.keys||function(Oe){var He=[];for(var Ge in Oe)z.call(Oe,Ge)&&He.push(Ge);return He}}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(a,he,de){typeof Object.create=="function"?he.exports=function(oe,ne){oe.super_=ne,oe.prototype=Object.create(ne.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}})}:he.exports=function(oe,ne){oe.super_=ne;var te=function(){};te.prototype=ne.prototype,oe.prototype=new te,oe.prototype.constructor=oe}},{}],84:[function(a,he,de){he.exports=function(oe){return oe&&typeof oe=="object"&&typeof oe.copy=="function"&&typeof oe.fill=="function"&&typeof oe.readUInt8=="function"}},{}],85:[function(a,he,de){(function(ee,oe){(function(){var ne=/%[sdj%]/g;de.format=function(ut){if(!Se(ut)){for(var $e=[],Je=0;Je<arguments.length;Je++)$e.push(z(arguments[Je]));return $e.join(" ")}for(var Je=1,Xe=arguments,Qe=Xe.length,st=String(ut).replace(ne,function(pt){if(pt==="%%")return"%";if(Je>=Qe)return pt;switch(pt){case"%s":return String(Xe[Je++]);case"%d":return Number(Xe[Je++]);case"%j":try{return JSON.stringify(Xe[Je++])}catch(ft){return"[Circular]"}default:return pt}}),rt=Xe[Je];Je<Qe;rt=Xe[++Je])we(rt)||!je(rt)?st+=" "+rt:st+=" "+z(rt);return st},de.deprecate=function(ut,$e){if(Ae(oe.process))return function(){return de.deprecate(ut,$e).apply(this,arguments)};if(ee.noDeprecation===!0)return ut;var Je=!1;function Xe(){if(!Je){if(ee.throwDeprecation)throw new Error($e);ee.traceDeprecation?console.trace($e):console.error($e),Je=!0}return ut.apply(this,arguments)}return Xe};var te={},se;de.debuglog=function(ut){if(Ae(se)&&(se=ee.env.NODE_DEBUG||""),ut=ut.toUpperCase(),!te[ut])if(new RegExp("\\b"+ut+"\\b","i").test(se)){var $e=ee.pid;te[ut]=function(){var Je=de.format.apply(de,arguments);console.error("%s %d: %s",ut,$e,Je)}}else te[ut]=function(){};return te[ut]};function z(ut,$e){var Je={seen:[],stylize:b};return arguments.length>=3&&(Je.depth=arguments[2]),arguments.length>=4&&(Je.colors=arguments[3]),_e($e)?Je.showHidden=$e:$e&&de._extend(Je,$e),Ae(Je.showHidden)&&(Je.showHidden=!1),Ae(Je.depth)&&(Je.depth=2),Ae(Je.colors)&&(Je.colors=!1),Ae(Je.customInspect)&&(Je.customInspect=!0),Je.colors&&(Je.stylize=x),re(Je,ut,Je.depth)}de.inspect=z,z.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},z.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function x(ut,$e){var Je=z.styles[$e];return Je?"\x1B["+z.colors[Je][0]+"m"+ut+"\x1B["+z.colors[Je][1]+"m":ut}function b(ut,$e){return ut}function E(ut){var $e={};return ut.forEach(function(Je,Xe){$e[Je]=!0}),$e}function re(ut,$e,Je){if(ut.customInspect&&$e&&Oe($e.inspect)&&$e.inspect!==de.inspect&&!($e.constructor&&$e.constructor.prototype===$e)){var Xe=$e.inspect(Je,ut);return Se(Xe)||(Xe=re(ut,Xe,Je)),Xe}var Qe=ae(ut,$e);if(Qe)return Qe;var st=Object.keys($e),rt=E(st);if(ut.showHidden&&(st=Object.getOwnPropertyNames($e)),Pe($e)&&(st.indexOf("message")>=0||st.indexOf("description")>=0))return le($e);if(st.length===0){if(Oe($e)){var pt=$e.name?": "+$e.name:"";return ut.stylize("[Function"+pt+"]","special")}if(Te($e))return ut.stylize(RegExp.prototype.toString.call($e),"regexp");if(ke($e))return ut.stylize(Date.prototype.toString.call($e),"date");if(Pe($e))return le($e)}var ft="",qe=!1,Ie=["{","}"];if(ge($e)&&(qe=!0,Ie=["[","]"]),Oe($e)){var at=$e.name?": "+$e.name:"";ft=" [Function"+at+"]"}if(Te($e)&&(ft=" "+RegExp.prototype.toString.call($e)),ke($e)&&(ft=" "+Date.prototype.toUTCString.call($e)),Pe($e)&&(ft=" "+le($e)),st.length===0&&(!qe||$e.length==0))return Ie[0]+ft+Ie[1];if(Je<0)return Te($e)?ut.stylize(RegExp.prototype.toString.call($e),"regexp"):ut.stylize("[Object]","special");ut.seen.push($e);var Be;return qe?Be=fe(ut,$e,Je,rt,st):Be=st.map(function(et){return ce(ut,$e,Je,rt,et,qe)}),ut.seen.pop(),ue(Be,ft,Ie)}function ae(ut,$e){if(Ae($e))return ut.stylize("undefined","undefined");if(Se($e)){var Je="'"+JSON.stringify($e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ut.stylize(Je,"string")}if(ve($e))return ut.stylize(""+$e,"number");if(_e($e))return ut.stylize(""+$e,"boolean");if(we($e))return ut.stylize("null","null")}function le(ut){return"["+Error.prototype.toString.call(ut)+"]"}function fe(ut,$e,Je,Xe,Qe){for(var st=[],rt=0,pt=$e.length;rt<pt;++rt)it($e,String(rt))?st.push(ce(ut,$e,Je,Xe,String(rt),!0)):st.push("");return Qe.forEach(function(ft){ft.match(/^\d+$/)||st.push(ce(ut,$e,Je,Xe,ft,!0))}),st}function ce(ut,$e,Je,Xe,Qe,st){var rt,pt,ft;if(ft=Object.getOwnPropertyDescriptor($e,Qe)||{value:$e[Qe]},ft.get?ft.set?pt=ut.stylize("[Getter/Setter]","special"):pt=ut.stylize("[Getter]","special"):ft.set&&(pt=ut.stylize("[Setter]","special")),it(Xe,Qe)||(rt="["+Qe+"]"),pt||(ut.seen.indexOf(ft.value)<0?(we(Je)?pt=re(ut,ft.value,null):pt=re(ut,ft.value,Je-1),pt.indexOf(`
`)>-1&&(st?pt=pt.split(`
`).map(function(qe){return" "+qe}).join(`
`).substr(2):pt=`
`+pt.split(`
`).map(function(qe){return" "+qe}).join(`
`))):pt=ut.stylize("[Circular]","special")),Ae(rt)){if(st&&Qe.match(/^\d+$/))return pt;rt=JSON.stringify(""+Qe),rt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(rt=rt.substr(1,rt.length-2),rt=ut.stylize(rt,"name")):(rt=rt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),rt=ut.stylize(rt,"string"))}return rt+": "+pt}function ue(ut,$e,Je){var Xe=0,Qe=ut.reduce(function(st,rt){return Xe++,rt.indexOf(`
`)>=0&&Xe++,st+rt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Qe>60?Je[0]+($e===""?"":$e+`
`)+" "+ut.join(`,
`)+" "+Je[1]:Je[0]+$e+" "+ut.join(", ")+" "+Je[1]}function ge(ut){return Array.isArray(ut)}de.isArray=ge;function _e(ut){return typeof ut=="boolean"}de.isBoolean=_e;function we(ut){return ut===null}de.isNull=we;function xe(ut){return ut==null}de.isNullOrUndefined=xe;function ve(ut){return typeof ut=="number"}de.isNumber=ve;function Se(ut){return typeof ut=="string"}de.isString=Se;function be(ut){return typeof ut=="symbol"}de.isSymbol=be;function Ae(ut){return ut===void 0}de.isUndefined=Ae;function Te(ut){return je(ut)&&Ge(ut)==="[object RegExp]"}de.isRegExp=Te;function je(ut){return typeof ut=="object"&&ut!==null}de.isObject=je;function ke(ut){return je(ut)&&Ge(ut)==="[object Date]"}de.isDate=ke;function Pe(ut){return je(ut)&&(Ge(ut)==="[object Error]"||ut instanceof Error)}de.isError=Pe;function Oe(ut){return typeof ut=="function"}de.isFunction=Oe;function He(ut){return ut===null||typeof ut=="boolean"||typeof ut=="number"||typeof ut=="string"||typeof ut=="symbol"||typeof ut=="undefined"}de.isPrimitive=He,de.isBuffer=a("./support/isBuffer");function Ge(ut){return Object.prototype.toString.call(ut)}function tt(ut){return ut<10?"0"+ut.toString(10):ut.toString(10)}var Me=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function We(){var ut=new Date,$e=[tt(ut.getHours()),tt(ut.getMinutes()),tt(ut.getSeconds())].join(":");return[ut.getDate(),Me[ut.getMonth()],$e].join(" ")}de.log=function(){console.log("%s - %s",We(),de.format.apply(de,arguments))},de.inherits=a("inherits"),de._extend=function(ut,$e){if(!$e||!je($e))return ut;for(var Je=Object.keys($e),Xe=Je.length;Xe--;)ut[Je[Xe]]=$e[Je[Xe]];return ut};function it(ut,$e){return Object.prototype.hasOwnProperty.call(ut,$e)}}).call(this)}).call(this,a("_process"),typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(a,he,de){(function(ee){(function(){"use strict";var oe=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ne=typeof globalThis=="undefined"?ee:globalThis;he.exports=function(){for(var se=[],z=0;z<oe.length;z++)typeof ne[oe[z]]=="function"&&(se[se.length]=oe[z]);return se}}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(a,he,de){"use strict";de.byteLength=b,de.toByteArray=re,de.fromByteArray=fe;for(var ee=[],oe=[],ne=typeof Uint8Array!="undefined"?Uint8Array:Array,te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=0,z=te.length;se<z;++se)ee[se]=te[se],oe[te.charCodeAt(se)]=se;oe[45]=62,oe[95]=63;function x(ce){var ue=ce.length;if(ue%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ge=ce.indexOf("=");ge===-1&&(ge=ue);var _e=ge===ue?0:4-ge%4;return[ge,_e]}function b(ce){var ue=x(ce),ge=ue[0],_e=ue[1];return(ge+_e)*3/4-_e}function E(ce,ue,ge){return(ue+ge)*3/4-ge}function re(ce){var ue,ge=x(ce),_e=ge[0],we=ge[1],xe=new ne(E(ce,_e,we)),ve=0,Se=we>0?_e-4:_e,be;for(be=0;be<Se;be+=4)ue=oe[ce.charCodeAt(be)]<<18|oe[ce.charCodeAt(be+1)]<<12|oe[ce.charCodeAt(be+2)]<<6|oe[ce.charCodeAt(be+3)],xe[ve++]=ue>>16&255,xe[ve++]=ue>>8&255,xe[ve++]=ue&255;return we===2&&(ue=oe[ce.charCodeAt(be)]<<2|oe[ce.charCodeAt(be+1)]>>4,xe[ve++]=ue&255),we===1&&(ue=oe[ce.charCodeAt(be)]<<10|oe[ce.charCodeAt(be+1)]<<4|oe[ce.charCodeAt(be+2)]>>2,xe[ve++]=ue>>8&255,xe[ve++]=ue&255),xe}function ae(ce){return ee[ce>>18&63]+ee[ce>>12&63]+ee[ce>>6&63]+ee[ce&63]}function le(ce,ue,ge){for(var _e,we=[],xe=ue;xe<ge;xe+=3)_e=(ce[xe]<<16&16711680)+(ce[xe+1]<<8&65280)+(ce[xe+2]&255),we.push(ae(_e));return we.join("")}function fe(ce){for(var ue,ge=ce.length,_e=ge%3,we=[],xe=16383,ve=0,Se=ge-_e;ve<Se;ve+=xe)we.push(le(ce,ve,ve+xe>Se?Se:ve+xe));return _e===1?(ue=ce[ge-1],we.push(ee[ue>>2]+ee[ue<<4&63]+"==")):_e===2&&(ue=(ce[ge-2]<<8)+ce[ge-1],we.push(ee[ue>>10]+ee[ue>>4&63]+ee[ue<<2&63]+"=")),we.join("")}},{}],88:[function(a,he,de){(function(ee,oe,ne){typeof he!="undefined"&&he.exports?he.exports=ne():typeof Ce=="function"&&Ce.amd?Ce(oe,ne):ee[oe]=ne()})(this,"bowser",function(){var ee=!0;function oe(E){function re($e){var Je=E.match($e);return Je&&Je.length>1&&Je[1]||""}function ae($e){var Je=E.match($e);return Je&&Je.length>1&&Je[2]||""}var le=re(/(ipod|iphone|ipad)/i).toLowerCase(),fe=/like android/i.test(E),ce=!fe&&/android/i.test(E),ue=/nexus\s*[0-6]\s*/i.test(E),ge=!ue&&/nexus\s*[0-9]+/i.test(E),_e=/CrOS/.test(E),we=/silk/i.test(E),xe=/sailfish/i.test(E),ve=/tizen/i.test(E),Se=/(web|hpw)(o|0)s/i.test(E),be=/windows phone/i.test(E),Ae=/SamsungBrowser/i.test(E),Te=!be&&/windows/i.test(E),je=!le&&!we&&/macintosh/i.test(E),ke=!ce&&!xe&&!ve&&!Se&&/linux/i.test(E),Pe=ae(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Oe=re(/version\/(\d+(\.\d+)?)/i),He=/tablet/i.test(E)&&!/tablet pc/i.test(E),Ge=!He&&/[^-]mobi/i.test(E),tt=/xbox/i.test(E),Me;/opera/i.test(E)?Me={name:"Opera",opera:ee,version:Oe||re(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(E)?Me={name:"Opera",opera:ee,version:re(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Oe}:/SamsungBrowser/i.test(E)?Me={name:"Samsung Internet for Android",samsungBrowser:ee,version:Oe||re(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(E)?Me={name:"NAVER Whale browser",whale:ee,version:re(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(E)?Me={name:"MZ Browser",mzbrowser:ee,version:re(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(E)?Me={name:"Opera Coast",coast:ee,version:Oe||re(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(E)?Me={name:"Focus",focus:ee,version:re(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(E)?Me={name:"Yandex Browser",yandexbrowser:ee,version:Oe||re(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(E)?Me={name:"UC Browser",ucbrowser:ee,version:re(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(E)?Me={name:"Maxthon",maxthon:ee,version:re(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(E)?Me={name:"Epiphany",epiphany:ee,version:re(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(E)?Me={name:"Puffin",puffin:ee,version:re(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(E)?Me={name:"Sleipnir",sleipnir:ee,version:re(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(E)?Me={name:"K-Meleon",kMeleon:ee,version:re(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:be?(Me={name:"Windows Phone",osname:"Windows Phone",windowsphone:ee},Pe?(Me.msedge=ee,Me.version=Pe):(Me.msie=ee,Me.version=re(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(E)?Me={name:"Internet Explorer",msie:ee,version:re(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:_e?Me={name:"Chrome",osname:"Chrome OS",chromeos:ee,chromeBook:ee,chrome:ee,version:re(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(E)?Me={name:"Microsoft Edge",msedge:ee,version:Pe}:/vivaldi/i.test(E)?Me={name:"Vivaldi",vivaldi:ee,version:re(/vivaldi\/(\d+(\.\d+)?)/i)||Oe}:xe?Me={name:"Sailfish",osname:"Sailfish OS",sailfish:ee,version:re(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(E)?Me={name:"SeaMonkey",seamonkey:ee,version:re(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(E)?(Me={name:"Firefox",firefox:ee,version:re(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(E)&&(Me.firefoxos=ee,Me.osname="Firefox OS")):we?Me={name:"Amazon Silk",silk:ee,version:re(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(E)?Me={name:"PhantomJS",phantom:ee,version:re(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(E)?Me={name:"SlimerJS",slimer:ee,version:re(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(E)||/rim\stablet/i.test(E)?Me={name:"BlackBerry",osname:"BlackBerry OS",blackberry:ee,version:Oe||re(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Se?(Me={name:"WebOS",osname:"WebOS",webos:ee,version:Oe||re(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(E)&&(Me.touchpad=ee)):/bada/i.test(E)?Me={name:"Bada",osname:"Bada",bada:ee,version:re(/dolfin\/(\d+(\.\d+)?)/i)}:ve?Me={name:"Tizen",osname:"Tizen",tizen:ee,version:re(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Oe}:/qupzilla/i.test(E)?Me={name:"QupZilla",qupzilla:ee,version:re(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Oe}:/chromium/i.test(E)?Me={name:"Chromium",chromium:ee,version:re(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Oe}:/chrome|crios|crmo/i.test(E)?Me={name:"Chrome",chrome:ee,version:re(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:ce?Me={name:"Android",version:Oe}:/safari|applewebkit/i.test(E)?(Me={name:"Safari",safari:ee},Oe&&(Me.version=Oe)):le?(Me={name:le=="iphone"?"iPhone":le=="ipad"?"iPad":"iPod"},Oe&&(Me.version=Oe)):/googlebot/i.test(E)?Me={name:"Googlebot",googlebot:ee,version:re(/googlebot\/(\d+(\.\d+))/i)||Oe}:Me={name:re(/^(.*)\/(.*) /),version:ae(/^(.*)\/(.*) /)},!Me.msedge&&/(apple)?webkit/i.test(E)?(/(apple)?webkit\/537\.36/i.test(E)?(Me.name=Me.name||"Blink",Me.blink=ee):(Me.name=Me.name||"Webkit",Me.webkit=ee),!Me.version&&Oe&&(Me.version=Oe)):!Me.opera&&/gecko\//i.test(E)&&(Me.name=Me.name||"Gecko",Me.gecko=ee,Me.version=Me.version||re(/gecko\/(\d+(\.\d+)?)/i)),!Me.windowsphone&&(ce||Me.silk)?(Me.android=ee,Me.osname="Android"):!Me.windowsphone&&le?(Me[le]=ee,Me.ios=ee,Me.osname="iOS"):je?(Me.mac=ee,Me.osname="macOS"):tt?(Me.xbox=ee,Me.osname="Xbox"):Te?(Me.windows=ee,Me.osname="Windows"):ke&&(Me.linux=ee,Me.osname="Linux");function We($e){switch($e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var it="";Me.windows?it=We(re(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Me.windowsphone?it=re(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Me.mac?(it=re(/Mac OS X (\d+([_\.\s]\d+)*)/i),it=it.replace(/[_\s]/g,".")):le?(it=re(/os (\d+([_\s]\d+)*) like mac os x/i),it=it.replace(/[_\s]/g,".")):ce?it=re(/android[ \/-](\d+(\.\d+)*)/i):Me.webos?it=re(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Me.blackberry?it=re(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Me.bada?it=re(/bada\/(\d+(\.\d+)*)/i):Me.tizen&&(it=re(/tizen[\/\s](\d+(\.\d+)*)/i)),it&&(Me.osversion=it);var ut=!Me.windows&&it.split(".")[0];return He||ge||le=="ipad"||ce&&(ut==3||ut>=4&&!Ge)||Me.silk?Me.tablet=ee:(Ge||le=="iphone"||le=="ipod"||ce||ue||Me.blackberry||Me.webos||Me.bada)&&(Me.mobile=ee),Me.msedge||Me.msie&&Me.version>=10||Me.yandexbrowser&&Me.version>=15||Me.vivaldi&&Me.version>=1||Me.chrome&&Me.version>=20||Me.samsungBrowser&&Me.version>=4||Me.whale&&z([Me.version,"1.0"])===1||Me.mzbrowser&&z([Me.version,"6.0"])===1||Me.focus&&z([Me.version,"1.0"])===1||Me.firefox&&Me.version>=20||Me.safari&&Me.version>=6||Me.opera&&Me.version>=10||Me.ios&&Me.osversion&&Me.osversion.split(".")[0]>=6||Me.blackberry&&Me.version>=10.1||Me.chromium&&Me.version>=20?Me.a=ee:Me.msie&&Me.version<10||Me.chrome&&Me.version<20||Me.firefox&&Me.version<20||Me.safari&&Me.version<6||Me.opera&&Me.version<10||Me.ios&&Me.osversion&&Me.osversion.split(".")[0]<6||Me.chromium&&Me.version<20?Me.c=ee:Me.x=ee,Me}var ne=oe(typeof navigator!="undefined"&&navigator.userAgent||"");ne.test=function(E){for(var re=0;re<E.length;++re){var ae=E[re];if(typeof ae=="string"&&ae in ne)return!0}return!1};function te(E){return E.split(".").length}function se(E,re){var ae=[],le;if(Array.prototype.map)return Array.prototype.map.call(E,re);for(le=0;le<E.length;le++)ae.push(re(E[le]));return ae}function z(E){for(var re=Math.max(te(E[0]),te(E[1])),ae=se(E,function(le){var fe=re-te(le);return le=le+new Array(fe+1).join(".0"),se(le.split("."),function(ce){return new Array(20-ce.length).join("0")+ce}).reverse()});--re>=0;){if(ae[0][re]>ae[1][re])return 1;if(ae[0][re]===ae[1][re]){if(re===0)return 0}else return-1}}function x(E,re,ae){var le=ne;typeof re=="string"&&(ae=re,re=void 0),re===void 0&&(re=!1),ae&&(le=oe(ae));var fe=""+le.version;for(var ce in E)if(E.hasOwnProperty(ce)&&le[ce]){if(typeof E[ce]!="string")throw new Error("Browser version in the minVersion map should be a string: "+ce+": "+String(E));return z([fe,E[ce]])<0}return re}function b(E,re,ae){return!x(E,re,ae)}return ne.isUnsupportedBrowser=x,ne.compareVersions=z,ne.check=b,ne._detect=oe,ne.detect=oe,ne})},{}],89:[function(a,he,de){},{}],90:[function(a,he,de){(function(ee){(function(){"use strict";var oe=a("base64-js"),ne=a("ieee754");de.Buffer=x,de.SlowBuffer=_e,de.INSPECT_MAX_BYTES=50;var te=2147483647;de.kMaxLength=te,x.TYPED_ARRAY_SUPPORT=se(),!x.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function se(){try{var Ve=new Uint8Array(1);return Ve.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ve.foo()===42}catch(Ne){return!1}}Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}});function z(Ve){if(Ve>te)throw new RangeError('The value "'+Ve+'" is invalid for option "size"');var Ne=new Uint8Array(Ve);return Ne.__proto__=x.prototype,Ne}function x(Ve,Ne,Ye){if(typeof Ve=="number"){if(typeof Ne=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ae(Ve)}return b(Ve,Ne,Ye)}typeof Symbol!="undefined"&&Symbol.species!=null&&x[Symbol.species]===x&&Object.defineProperty(x,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),x.poolSize=8192;function b(Ve,Ne,Ye){if(typeof Ve=="string")return le(Ve,Ne);if(ArrayBuffer.isView(Ve))return fe(Ve);if(Ve==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ve);if(gt(Ve,ArrayBuffer)||Ve&&gt(Ve.buffer,ArrayBuffer))return ce(Ve,Ne,Ye);if(typeof Ve=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ot=Ve.valueOf&&Ve.valueOf();if(ot!=null&&ot!==Ve)return x.from(ot,Ne,Ye);var Ue=ue(Ve);if(Ue)return Ue;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ve[Symbol.toPrimitive]=="function")return x.from(Ve[Symbol.toPrimitive]("string"),Ne,Ye);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ve)}x.from=function(Ve,Ne,Ye){return b(Ve,Ne,Ye)},x.prototype.__proto__=Uint8Array.prototype,x.__proto__=Uint8Array;function E(Ve){if(typeof Ve!="number")throw new TypeError('"size" argument must be of type number');if(Ve<0)throw new RangeError('The value "'+Ve+'" is invalid for option "size"')}function re(Ve,Ne,Ye){return E(Ve),Ve<=0?z(Ve):Ne!==void 0?typeof Ye=="string"?z(Ve).fill(Ne,Ye):z(Ve).fill(Ne):z(Ve)}x.alloc=function(Ve,Ne,Ye){return re(Ve,Ne,Ye)};function ae(Ve){return E(Ve),z(Ve<0?0:ge(Ve)|0)}x.allocUnsafe=function(Ve){return ae(Ve)},x.allocUnsafeSlow=function(Ve){return ae(Ve)};function le(Ve,Ne){if((typeof Ne!="string"||Ne==="")&&(Ne="utf8"),!x.isEncoding(Ne))throw new TypeError("Unknown encoding: "+Ne);var Ye=we(Ve,Ne)|0,ot=z(Ye),Ue=ot.write(Ve,Ne);return Ue!==Ye&&(ot=ot.slice(0,Ue)),ot}function fe(Ve){for(var Ne=Ve.length<0?0:ge(Ve.length)|0,Ye=z(Ne),ot=0;ot<Ne;ot+=1)Ye[ot]=Ve[ot]&255;return Ye}function ce(Ve,Ne,Ye){if(Ne<0||Ve.byteLength<Ne)throw new RangeError('"offset" is outside of buffer bounds');if(Ve.byteLength<Ne+(Ye||0))throw new RangeError('"length" is outside of buffer bounds');var ot;return Ne===void 0&&Ye===void 0?ot=new Uint8Array(Ve):Ye===void 0?ot=new Uint8Array(Ve,Ne):ot=new Uint8Array(Ve,Ne,Ye),ot.__proto__=x.prototype,ot}function ue(Ve){if(x.isBuffer(Ve)){var Ne=ge(Ve.length)|0,Ye=z(Ne);return Ye.length===0||Ve.copy(Ye,0,0,Ne),Ye}if(Ve.length!==void 0)return typeof Ve.length!="number"||dt(Ve.length)?z(0):fe(Ve);if(Ve.type==="Buffer"&&Array.isArray(Ve.data))return fe(Ve.data)}function ge(Ve){if(Ve>=te)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+te.toString(16)+" bytes");return Ve|0}function _e(Ve){return+Ve!=Ve&&(Ve=0),x.alloc(+Ve)}x.isBuffer=function(Ne){return Ne!=null&&Ne._isBuffer===!0&&Ne!==x.prototype},x.compare=function(Ne,Ye){if(gt(Ne,Uint8Array)&&(Ne=x.from(Ne,Ne.offset,Ne.byteLength)),gt(Ye,Uint8Array)&&(Ye=x.from(Ye,Ye.offset,Ye.byteLength)),!x.isBuffer(Ne)||!x.isBuffer(Ye))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ne===Ye)return 0;for(var ot=Ne.length,Ue=Ye.length,Le=0,De=Math.min(ot,Ue);Le<De;++Le)if(Ne[Le]!==Ye[Le]){ot=Ne[Le],Ue=Ye[Le];break}return ot<Ue?-1:Ue<ot?1:0},x.isEncoding=function(Ne){switch(String(Ne).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},x.concat=function(Ne,Ye){if(!Array.isArray(Ne))throw new TypeError('"list" argument must be an Array of Buffers');if(Ne.length===0)return x.alloc(0);var ot;if(Ye===void 0)for(Ye=0,ot=0;ot<Ne.length;++ot)Ye+=Ne[ot].length;var Ue=x.allocUnsafe(Ye),Le=0;for(ot=0;ot<Ne.length;++ot){var De=Ne[ot];if(gt(De,Uint8Array)&&(De=x.from(De)),!x.isBuffer(De))throw new TypeError('"list" argument must be an Array of Buffers');De.copy(Ue,Le),Le+=De.length}return Ue};function we(Ve,Ne){if(x.isBuffer(Ve))return Ve.length;if(ArrayBuffer.isView(Ve)||gt(Ve,ArrayBuffer))return Ve.byteLength;if(typeof Ve!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ve);var Ye=Ve.length,ot=arguments.length>2&&arguments[2]===!0;if(!ot&&Ye===0)return 0;for(var Ue=!1;;)switch(Ne){case"ascii":case"latin1":case"binary":return Ye;case"utf8":case"utf-8":return Ie(Ve).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ye*2;case"hex":return Ye>>>1;case"base64":return et(Ve).length;default:if(Ue)return ot?-1:Ie(Ve).length;Ne=(""+Ne).toLowerCase(),Ue=!0}}x.byteLength=we;function xe(Ve,Ne,Ye){var ot=!1;if((Ne===void 0||Ne<0)&&(Ne=0),Ne>this.length||((Ye===void 0||Ye>this.length)&&(Ye=this.length),Ye<=0)||(Ye>>>=0,Ne>>>=0,Ye<=Ne))return"";for(Ve||(Ve="utf8");;)switch(Ve){case"hex":return ut(this,Ne,Ye);case"utf8":case"utf-8":return Ge(this,Ne,Ye);case"ascii":return We(this,Ne,Ye);case"latin1":case"binary":return it(this,Ne,Ye);case"base64":return He(this,Ne,Ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $e(this,Ne,Ye);default:if(ot)throw new TypeError("Unknown encoding: "+Ve);Ve=(Ve+"").toLowerCase(),ot=!0}}x.prototype._isBuffer=!0;function ve(Ve,Ne,Ye){var ot=Ve[Ne];Ve[Ne]=Ve[Ye],Ve[Ye]=ot}x.prototype.swap16=function(){var Ne=this.length;if(Ne%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ye=0;Ye<Ne;Ye+=2)ve(this,Ye,Ye+1);return this},x.prototype.swap32=function(){var Ne=this.length;if(Ne%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Ye=0;Ye<Ne;Ye+=4)ve(this,Ye,Ye+3),ve(this,Ye+1,Ye+2);return this},x.prototype.swap64=function(){var Ne=this.length;if(Ne%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Ye=0;Ye<Ne;Ye+=8)ve(this,Ye,Ye+7),ve(this,Ye+1,Ye+6),ve(this,Ye+2,Ye+5),ve(this,Ye+3,Ye+4);return this},x.prototype.toString=function(){var Ne=this.length;return Ne===0?"":arguments.length===0?Ge(this,0,Ne):xe.apply(this,arguments)},x.prototype.toLocaleString=x.prototype.toString,x.prototype.equals=function(Ne){if(!x.isBuffer(Ne))throw new TypeError("Argument must be a Buffer");return this===Ne?!0:x.compare(this,Ne)===0},x.prototype.inspect=function(){var Ne="",Ye=de.INSPECT_MAX_BYTES;return Ne=this.toString("hex",0,Ye).replace(/(.{2})/g,"$1 ").trim(),this.length>Ye&&(Ne+=" ... "),"<Buffer "+Ne+">"},x.prototype.compare=function(Ne,Ye,ot,Ue,Le){if(gt(Ne,Uint8Array)&&(Ne=x.from(Ne,Ne.offset,Ne.byteLength)),!x.isBuffer(Ne))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ne);if(Ye===void 0&&(Ye=0),ot===void 0&&(ot=Ne?Ne.length:0),Ue===void 0&&(Ue=0),Le===void 0&&(Le=this.length),Ye<0||ot>Ne.length||Ue<0||Le>this.length)throw new RangeError("out of range index");if(Ue>=Le&&Ye>=ot)return 0;if(Ue>=Le)return-1;if(Ye>=ot)return 1;if(Ye>>>=0,ot>>>=0,Ue>>>=0,Le>>>=0,this===Ne)return 0;for(var De=Le-Ue,Ze=ot-Ye,lt=Math.min(De,Ze),Fe=this.slice(Ue,Le),yt=Ne.slice(Ye,ot),xt=0;xt<lt;++xt)if(Fe[xt]!==yt[xt]){De=Fe[xt],Ze=yt[xt];break}return De<Ze?-1:Ze<De?1:0};function Se(Ve,Ne,Ye,ot,Ue){if(Ve.length===0)return-1;if(typeof Ye=="string"?(ot=Ye,Ye=0):Ye>2147483647?Ye=2147483647:Ye<-2147483648&&(Ye=-2147483648),Ye=+Ye,dt(Ye)&&(Ye=Ue?0:Ve.length-1),Ye<0&&(Ye=Ve.length+Ye),Ye>=Ve.length){if(Ue)return-1;Ye=Ve.length-1}else if(Ye<0)if(Ue)Ye=0;else return-1;if(typeof Ne=="string"&&(Ne=x.from(Ne,ot)),x.isBuffer(Ne))return Ne.length===0?-1:be(Ve,Ne,Ye,ot,Ue);if(typeof Ne=="number")return Ne=Ne&255,typeof Uint8Array.prototype.indexOf=="function"?Ue?Uint8Array.prototype.indexOf.call(Ve,Ne,Ye):Uint8Array.prototype.lastIndexOf.call(Ve,Ne,Ye):be(Ve,[Ne],Ye,ot,Ue);throw new TypeError("val must be string, number or Buffer")}function be(Ve,Ne,Ye,ot,Ue){var Le=1,De=Ve.length,Ze=Ne.length;if(ot!==void 0&&(ot=String(ot).toLowerCase(),ot==="ucs2"||ot==="ucs-2"||ot==="utf16le"||ot==="utf-16le")){if(Ve.length<2||Ne.length<2)return-1;Le=2,De/=2,Ze/=2,Ye/=2}function lt(Tt,wt){return Le===1?Tt[wt]:Tt.readUInt16BE(wt*Le)}var Fe;if(Ue){var yt=-1;for(Fe=Ye;Fe<De;Fe++)if(lt(Ve,Fe)===lt(Ne,yt===-1?0:Fe-yt)){if(yt===-1&&(yt=Fe),Fe-yt+1===Ze)return yt*Le}else yt!==-1&&(Fe-=Fe-yt),yt=-1}else for(Ye+Ze>De&&(Ye=De-Ze),Fe=Ye;Fe>=0;Fe--){for(var xt=!0,jt=0;jt<Ze;jt++)if(lt(Ve,Fe+jt)!==lt(Ne,jt)){xt=!1;break}if(xt)return Fe}return-1}x.prototype.includes=function(Ne,Ye,ot){return this.indexOf(Ne,Ye,ot)!==-1},x.prototype.indexOf=function(Ne,Ye,ot){return Se(this,Ne,Ye,ot,!0)},x.prototype.lastIndexOf=function(Ne,Ye,ot){return Se(this,Ne,Ye,ot,!1)};function Ae(Ve,Ne,Ye,ot){Ye=Number(Ye)||0;var Ue=Ve.length-Ye;ot?(ot=Number(ot),ot>Ue&&(ot=Ue)):ot=Ue;var Le=Ne.length;ot>Le/2&&(ot=Le/2);for(var De=0;De<ot;++De){var Ze=parseInt(Ne.substr(De*2,2),16);if(dt(Ze))return De;Ve[Ye+De]=Ze}return De}function Te(Ve,Ne,Ye,ot){return vt(Ie(Ne,Ve.length-Ye),Ve,Ye,ot)}function je(Ve,Ne,Ye,ot){return vt(at(Ne),Ve,Ye,ot)}function ke(Ve,Ne,Ye,ot){return je(Ve,Ne,Ye,ot)}function Pe(Ve,Ne,Ye,ot){return vt(et(Ne),Ve,Ye,ot)}function Oe(Ve,Ne,Ye,ot){return vt(Be(Ne,Ve.length-Ye),Ve,Ye,ot)}x.prototype.write=function(Ne,Ye,ot,Ue){if(Ye===void 0)Ue="utf8",ot=this.length,Ye=0;else if(ot===void 0&&typeof Ye=="string")Ue=Ye,ot=this.length,Ye=0;else if(isFinite(Ye))Ye=Ye>>>0,isFinite(ot)?(ot=ot>>>0,Ue===void 0&&(Ue="utf8")):(Ue=ot,ot=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Le=this.length-Ye;if((ot===void 0||ot>Le)&&(ot=Le),Ne.length>0&&(ot<0||Ye<0)||Ye>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ue||(Ue="utf8");for(var De=!1;;)switch(Ue){case"hex":return Ae(this,Ne,Ye,ot);case"utf8":case"utf-8":return Te(this,Ne,Ye,ot);case"ascii":return je(this,Ne,Ye,ot);case"latin1":case"binary":return ke(this,Ne,Ye,ot);case"base64":return Pe(this,Ne,Ye,ot);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oe(this,Ne,Ye,ot);default:if(De)throw new TypeError("Unknown encoding: "+Ue);Ue=(""+Ue).toLowerCase(),De=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function He(Ve,Ne,Ye){return Ne===0&&Ye===Ve.length?oe.fromByteArray(Ve):oe.fromByteArray(Ve.slice(Ne,Ye))}function Ge(Ve,Ne,Ye){Ye=Math.min(Ve.length,Ye);for(var ot=[],Ue=Ne;Ue<Ye;){var Le=Ve[Ue],De=null,Ze=Le>239?4:Le>223?3:Le>191?2:1;if(Ue+Ze<=Ye){var lt,Fe,yt,xt;switch(Ze){case 1:Le<128&&(De=Le);break;case 2:lt=Ve[Ue+1],(lt&192)===128&&(xt=(Le&31)<<6|lt&63,xt>127&&(De=xt));break;case 3:lt=Ve[Ue+1],Fe=Ve[Ue+2],(lt&192)===128&&(Fe&192)===128&&(xt=(Le&15)<<12|(lt&63)<<6|Fe&63,xt>2047&&(xt<55296||xt>57343)&&(De=xt));break;case 4:lt=Ve[Ue+1],Fe=Ve[Ue+2],yt=Ve[Ue+3],(lt&192)===128&&(Fe&192)===128&&(yt&192)===128&&(xt=(Le&15)<<18|(lt&63)<<12|(Fe&63)<<6|yt&63,xt>65535&&xt<1114112&&(De=xt))}}De===null?(De=65533,Ze=1):De>65535&&(De-=65536,ot.push(De>>>10&1023|55296),De=56320|De&1023),ot.push(De),Ue+=Ze}return Me(ot)}var tt=4096;function Me(Ve){var Ne=Ve.length;if(Ne<=tt)return String.fromCharCode.apply(String,Ve);for(var Ye="",ot=0;ot<Ne;)Ye+=String.fromCharCode.apply(String,Ve.slice(ot,ot+=tt));return Ye}function We(Ve,Ne,Ye){var ot="";Ye=Math.min(Ve.length,Ye);for(var Ue=Ne;Ue<Ye;++Ue)ot+=String.fromCharCode(Ve[Ue]&127);return ot}function it(Ve,Ne,Ye){var ot="";Ye=Math.min(Ve.length,Ye);for(var Ue=Ne;Ue<Ye;++Ue)ot+=String.fromCharCode(Ve[Ue]);return ot}function ut(Ve,Ne,Ye){var ot=Ve.length;(!Ne||Ne<0)&&(Ne=0),(!Ye||Ye<0||Ye>ot)&&(Ye=ot);for(var Ue="",Le=Ne;Le<Ye;++Le)Ue+=qe(Ve[Le]);return Ue}function $e(Ve,Ne,Ye){for(var ot=Ve.slice(Ne,Ye),Ue="",Le=0;Le<ot.length;Le+=2)Ue+=String.fromCharCode(ot[Le]+ot[Le+1]*256);return Ue}x.prototype.slice=function(Ne,Ye){var ot=this.length;Ne=~~Ne,Ye=Ye===void 0?ot:~~Ye,Ne<0?(Ne+=ot,Ne<0&&(Ne=0)):Ne>ot&&(Ne=ot),Ye<0?(Ye+=ot,Ye<0&&(Ye=0)):Ye>ot&&(Ye=ot),Ye<Ne&&(Ye=Ne);var Ue=this.subarray(Ne,Ye);return Ue.__proto__=x.prototype,Ue};function Je(Ve,Ne,Ye){if(Ve%1!==0||Ve<0)throw new RangeError("offset is not uint");if(Ve+Ne>Ye)throw new RangeError("Trying to access beyond buffer length")}x.prototype.readUIntLE=function(Ne,Ye,ot){Ne=Ne>>>0,Ye=Ye>>>0,ot||Je(Ne,Ye,this.length);for(var Ue=this[Ne],Le=1,De=0;++De<Ye&&(Le*=256);)Ue+=this[Ne+De]*Le;return Ue},x.prototype.readUIntBE=function(Ne,Ye,ot){Ne=Ne>>>0,Ye=Ye>>>0,ot||Je(Ne,Ye,this.length);for(var Ue=this[Ne+--Ye],Le=1;Ye>0&&(Le*=256);)Ue+=this[Ne+--Ye]*Le;return Ue},x.prototype.readUInt8=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,1,this.length),this[Ne]},x.prototype.readUInt16LE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,2,this.length),this[Ne]|this[Ne+1]<<8},x.prototype.readUInt16BE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,2,this.length),this[Ne]<<8|this[Ne+1]},x.prototype.readUInt32LE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,4,this.length),(this[Ne]|this[Ne+1]<<8|this[Ne+2]<<16)+this[Ne+3]*16777216},x.prototype.readUInt32BE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,4,this.length),this[Ne]*16777216+(this[Ne+1]<<16|this[Ne+2]<<8|this[Ne+3])},x.prototype.readIntLE=function(Ne,Ye,ot){Ne=Ne>>>0,Ye=Ye>>>0,ot||Je(Ne,Ye,this.length);for(var Ue=this[Ne],Le=1,De=0;++De<Ye&&(Le*=256);)Ue+=this[Ne+De]*Le;return Le*=128,Ue>=Le&&(Ue-=Math.pow(2,8*Ye)),Ue},x.prototype.readIntBE=function(Ne,Ye,ot){Ne=Ne>>>0,Ye=Ye>>>0,ot||Je(Ne,Ye,this.length);for(var Ue=Ye,Le=1,De=this[Ne+--Ue];Ue>0&&(Le*=256);)De+=this[Ne+--Ue]*Le;return Le*=128,De>=Le&&(De-=Math.pow(2,8*Ye)),De},x.prototype.readInt8=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,1,this.length),this[Ne]&128?(255-this[Ne]+1)*-1:this[Ne]},x.prototype.readInt16LE=function(Ne,Ye){Ne=Ne>>>0,Ye||Je(Ne,2,this.length);var ot=this[Ne]|this[Ne+1]<<8;return ot&32768?ot|4294901760:ot},x.prototype.readInt16BE=function(Ne,Ye){Ne=Ne>>>0,Ye||Je(Ne,2,this.length);var ot=this[Ne+1]|this[Ne]<<8;return ot&32768?ot|4294901760:ot},x.prototype.readInt32LE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,4,this.length),this[Ne]|this[Ne+1]<<8|this[Ne+2]<<16|this[Ne+3]<<24},x.prototype.readInt32BE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,4,this.length),this[Ne]<<24|this[Ne+1]<<16|this[Ne+2]<<8|this[Ne+3]},x.prototype.readFloatLE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,4,this.length),ne.read(this,Ne,!0,23,4)},x.prototype.readFloatBE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,4,this.length),ne.read(this,Ne,!1,23,4)},x.prototype.readDoubleLE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,8,this.length),ne.read(this,Ne,!0,52,8)},x.prototype.readDoubleBE=function(Ne,Ye){return Ne=Ne>>>0,Ye||Je(Ne,8,this.length),ne.read(this,Ne,!1,52,8)};function Xe(Ve,Ne,Ye,ot,Ue,Le){if(!x.isBuffer(Ve))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ne>Ue||Ne<Le)throw new RangeError('"value" argument is out of bounds');if(Ye+ot>Ve.length)throw new RangeError("Index out of range")}x.prototype.writeUIntLE=function(Ne,Ye,ot,Ue){if(Ne=+Ne,Ye=Ye>>>0,ot=ot>>>0,!Ue){var Le=Math.pow(2,8*ot)-1;Xe(this,Ne,Ye,ot,Le,0)}var De=1,Ze=0;for(this[Ye]=Ne&255;++Ze<ot&&(De*=256);)this[Ye+Ze]=Ne/De&255;return Ye+ot},x.prototype.writeUIntBE=function(Ne,Ye,ot,Ue){if(Ne=+Ne,Ye=Ye>>>0,ot=ot>>>0,!Ue){var Le=Math.pow(2,8*ot)-1;Xe(this,Ne,Ye,ot,Le,0)}var De=ot-1,Ze=1;for(this[Ye+De]=Ne&255;--De>=0&&(Ze*=256);)this[Ye+De]=Ne/Ze&255;return Ye+ot},x.prototype.writeUInt8=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,1,255,0),this[Ye]=Ne&255,Ye+1},x.prototype.writeUInt16LE=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,2,65535,0),this[Ye]=Ne&255,this[Ye+1]=Ne>>>8,Ye+2},x.prototype.writeUInt16BE=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,2,65535,0),this[Ye]=Ne>>>8,this[Ye+1]=Ne&255,Ye+2},x.prototype.writeUInt32LE=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,4,4294967295,0),this[Ye+3]=Ne>>>24,this[Ye+2]=Ne>>>16,this[Ye+1]=Ne>>>8,this[Ye]=Ne&255,Ye+4},x.prototype.writeUInt32BE=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,4,4294967295,0),this[Ye]=Ne>>>24,this[Ye+1]=Ne>>>16,this[Ye+2]=Ne>>>8,this[Ye+3]=Ne&255,Ye+4},x.prototype.writeIntLE=function(Ne,Ye,ot,Ue){if(Ne=+Ne,Ye=Ye>>>0,!Ue){var Le=Math.pow(2,8*ot-1);Xe(this,Ne,Ye,ot,Le-1,-Le)}var De=0,Ze=1,lt=0;for(this[Ye]=Ne&255;++De<ot&&(Ze*=256);)Ne<0&&lt===0&&this[Ye+De-1]!==0&&(lt=1),this[Ye+De]=(Ne/Ze>>0)-lt&255;return Ye+ot},x.prototype.writeIntBE=function(Ne,Ye,ot,Ue){if(Ne=+Ne,Ye=Ye>>>0,!Ue){var Le=Math.pow(2,8*ot-1);Xe(this,Ne,Ye,ot,Le-1,-Le)}var De=ot-1,Ze=1,lt=0;for(this[Ye+De]=Ne&255;--De>=0&&(Ze*=256);)Ne<0&&lt===0&&this[Ye+De+1]!==0&&(lt=1),this[Ye+De]=(Ne/Ze>>0)-lt&255;return Ye+ot},x.prototype.writeInt8=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,1,127,-128),Ne<0&&(Ne=255+Ne+1),this[Ye]=Ne&255,Ye+1},x.prototype.writeInt16LE=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,2,32767,-32768),this[Ye]=Ne&255,this[Ye+1]=Ne>>>8,Ye+2},x.prototype.writeInt16BE=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,2,32767,-32768),this[Ye]=Ne>>>8,this[Ye+1]=Ne&255,Ye+2},x.prototype.writeInt32LE=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,4,2147483647,-2147483648),this[Ye]=Ne&255,this[Ye+1]=Ne>>>8,this[Ye+2]=Ne>>>16,this[Ye+3]=Ne>>>24,Ye+4},x.prototype.writeInt32BE=function(Ne,Ye,ot){return Ne=+Ne,Ye=Ye>>>0,ot||Xe(this,Ne,Ye,4,2147483647,-2147483648),Ne<0&&(Ne=4294967295+Ne+1),this[Ye]=Ne>>>24,this[Ye+1]=Ne>>>16,this[Ye+2]=Ne>>>8,this[Ye+3]=Ne&255,Ye+4};function Qe(Ve,Ne,Ye,ot,Ue,Le){if(Ye+ot>Ve.length)throw new RangeError("Index out of range");if(Ye<0)throw new RangeError("Index out of range")}function st(Ve,Ne,Ye,ot,Ue){return Ne=+Ne,Ye=Ye>>>0,Ue||Qe(Ve,Ne,Ye,4,34028234663852886e22,-34028234663852886e22),ne.write(Ve,Ne,Ye,ot,23,4),Ye+4}x.prototype.writeFloatLE=function(Ne,Ye,ot){return st(this,Ne,Ye,!0,ot)},x.prototype.writeFloatBE=function(Ne,Ye,ot){return st(this,Ne,Ye,!1,ot)};function rt(Ve,Ne,Ye,ot,Ue){return Ne=+Ne,Ye=Ye>>>0,Ue||Qe(Ve,Ne,Ye,8,17976931348623157e292,-17976931348623157e292),ne.write(Ve,Ne,Ye,ot,52,8),Ye+8}x.prototype.writeDoubleLE=function(Ne,Ye,ot){return rt(this,Ne,Ye,!0,ot)},x.prototype.writeDoubleBE=function(Ne,Ye,ot){return rt(this,Ne,Ye,!1,ot)},x.prototype.copy=function(Ne,Ye,ot,Ue){if(!x.isBuffer(Ne))throw new TypeError("argument should be a Buffer");if(ot||(ot=0),!Ue&&Ue!==0&&(Ue=this.length),Ye>=Ne.length&&(Ye=Ne.length),Ye||(Ye=0),Ue>0&&Ue<ot&&(Ue=ot),Ue===ot||Ne.length===0||this.length===0)return 0;if(Ye<0)throw new RangeError("targetStart out of bounds");if(ot<0||ot>=this.length)throw new RangeError("Index out of range");if(Ue<0)throw new RangeError("sourceEnd out of bounds");Ue>this.length&&(Ue=this.length),Ne.length-Ye<Ue-ot&&(Ue=Ne.length-Ye+ot);var Le=Ue-ot;if(this===Ne&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Ye,ot,Ue);else if(this===Ne&&ot<Ye&&Ye<Ue)for(var De=Le-1;De>=0;--De)Ne[De+Ye]=this[De+ot];else Uint8Array.prototype.set.call(Ne,this.subarray(ot,Ue),Ye);return Le},x.prototype.fill=function(Ne,Ye,ot,Ue){if(typeof Ne=="string"){if(typeof Ye=="string"?(Ue=Ye,Ye=0,ot=this.length):typeof ot=="string"&&(Ue=ot,ot=this.length),Ue!==void 0&&typeof Ue!="string")throw new TypeError("encoding must be a string");if(typeof Ue=="string"&&!x.isEncoding(Ue))throw new TypeError("Unknown encoding: "+Ue);if(Ne.length===1){var Le=Ne.charCodeAt(0);(Ue==="utf8"&&Le<128||Ue==="latin1")&&(Ne=Le)}}else typeof Ne=="number"&&(Ne=Ne&255);if(Ye<0||this.length<Ye||this.length<ot)throw new RangeError("Out of range index");if(ot<=Ye)return this;Ye=Ye>>>0,ot=ot===void 0?this.length:ot>>>0,Ne||(Ne=0);var De;if(typeof Ne=="number")for(De=Ye;De<ot;++De)this[De]=Ne;else{var Ze=x.isBuffer(Ne)?Ne:x.from(Ne,Ue),lt=Ze.length;if(lt===0)throw new TypeError('The value "'+Ne+'" is invalid for argument "value"');for(De=0;De<ot-Ye;++De)this[De+Ye]=Ze[De%lt]}return this};var pt=/[^+/0-9A-Za-z-_]/g;function ft(Ve){if(Ve=Ve.split("=")[0],Ve=Ve.trim().replace(pt,""),Ve.length<2)return"";for(;Ve.length%4!==0;)Ve=Ve+"=";return Ve}function qe(Ve){return Ve<16?"0"+Ve.toString(16):Ve.toString(16)}function Ie(Ve,Ne){Ne=Ne||1/0;for(var Ye,ot=Ve.length,Ue=null,Le=[],De=0;De<ot;++De){if(Ye=Ve.charCodeAt(De),Ye>55295&&Ye<57344){if(!Ue){if(Ye>56319){(Ne-=3)>-1&&Le.push(239,191,189);continue}else if(De+1===ot){(Ne-=3)>-1&&Le.push(239,191,189);continue}Ue=Ye;continue}if(Ye<56320){(Ne-=3)>-1&&Le.push(239,191,189),Ue=Ye;continue}Ye=(Ue-55296<<10|Ye-56320)+65536}else Ue&&(Ne-=3)>-1&&Le.push(239,191,189);if(Ue=null,Ye<128){if((Ne-=1)<0)break;Le.push(Ye)}else if(Ye<2048){if((Ne-=2)<0)break;Le.push(Ye>>6|192,Ye&63|128)}else if(Ye<65536){if((Ne-=3)<0)break;Le.push(Ye>>12|224,Ye>>6&63|128,Ye&63|128)}else if(Ye<1114112){if((Ne-=4)<0)break;Le.push(Ye>>18|240,Ye>>12&63|128,Ye>>6&63|128,Ye&63|128)}else throw new Error("Invalid code point")}return Le}function at(Ve){for(var Ne=[],Ye=0;Ye<Ve.length;++Ye)Ne.push(Ve.charCodeAt(Ye)&255);return Ne}function Be(Ve,Ne){for(var Ye,ot,Ue,Le=[],De=0;De<Ve.length&&!((Ne-=2)<0);++De)Ye=Ve.charCodeAt(De),ot=Ye>>8,Ue=Ye%256,Le.push(Ue),Le.push(ot);return Le}function et(Ve){return oe.toByteArray(ft(Ve))}function vt(Ve,Ne,Ye,ot){for(var Ue=0;Ue<ot&&!(Ue+Ye>=Ne.length||Ue>=Ve.length);++Ue)Ne[Ue+Ye]=Ve[Ue];return Ue}function gt(Ve,Ne){return Ve instanceof Ne||Ve!=null&&Ve.constructor!=null&&Ve.constructor.name!=null&&Ve.constructor.name===Ne.name}function dt(Ve){return Ve!==Ve}}).call(this)}).call(this,a("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(a,he,de){he.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(a,he,de){"use strict";var ee=a("get-intrinsic"),oe=a("./"),ne=oe(ee("String.prototype.indexOf"));he.exports=function(se,z){var x=ee(se,!!z);return typeof x=="function"&&ne(se,".prototype.")>-1?oe(x):x}},{"./":93,"get-intrinsic":348}],93:[function(a,he,de){"use strict";var ee=a("function-bind"),oe=a("get-intrinsic"),ne=oe("%Function.prototype.apply%"),te=oe("%Function.prototype.call%"),se=oe("%Reflect.apply%",!0)||ee.call(te,ne),z=oe("%Object.getOwnPropertyDescriptor%",!0),x=oe("%Object.defineProperty%",!0),b=oe("%Math.max%");if(x)try{x({},"a",{value:1})}catch(re){x=null}he.exports=function(ae){var le=se(ee,te,arguments);if(z&&x){var fe=z(le,"length");fe.configurable&&x(le,"length",{value:1+b(0,ae.length-(arguments.length-1))})}return le};var E=function(){return se(ee,ne,arguments)};x?x(he.exports,"apply",{value:E}):he.exports.apply=E},{"function-bind":347,"get-intrinsic":348}],94:[function(a,he,de){"use strict";var ee=Array.prototype.slice;he.exports=oe;function oe(te,se){if(!(this instanceof oe))return new oe(te,se);this.src=te,this._withAccess=se}oe.prototype.withAccess=function(te){return this._withAccess=te!==!1,this},oe.prototype.pick=function(te){return Array.isArray(te)||(te=ee.call(arguments)),te.length&&(this.keys=te),this},oe.prototype.to=function(te){if(te=te||{},!this.src)return te;var se=this.keys||Object.keys(this.src);if(!this._withAccess){for(var z=0;z<se.length;z++)x=se[z],te[x]===void 0&&(te[x]=this.src[x]);return te}for(var z=0;z<se.length;z++){var x=se[z];if(ne(te,x)){var b=this.src.__lookupGetter__(x),E=this.src.__lookupSetter__(x);b&&te.__defineGetter__(x,b),E&&te.__defineSetter__(x,E),!b&&!E&&(te[x]=this.src[x])}}return te},oe.prototype.toCover=function(te){for(var se=this.keys||Object.keys(this.src),z=0;z<se.length;z++){var x=se[z];delete te[x];var b=this.src.__lookupGetter__(x),E=this.src.__lookupSetter__(x);b&&te.__defineGetter__(x,b),E&&te.__defineSetter__(x,E),!b&&!E&&(te[x]=this.src[x])}},oe.prototype.override=oe.prototype.toCover,oe.prototype.and=function(te){var se={};return this.to(se),this.src=te,this.to(se),this.src=se,this};function ne(te,se){return te[se]===void 0&&te.__lookupGetter__(se)===void 0&&te.__lookupSetter__(se)===void 0}},{}],95:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-callable"),ne=a("../internals/try-to-string"),te=ee.TypeError;he.exports=function(se){if(oe(se))return se;throw te(ne(se)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-constructor"),ne=a("../internals/try-to-string"),te=ee.TypeError;he.exports=function(se){if(oe(se))return se;throw te(ne(se)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-callable"),ne=ee.String,te=ee.TypeError;he.exports=function(se){if(typeof se=="object"||oe(se))return se;throw te("Can't set "+ne(se)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(a,he,de){var ee=a("../internals/well-known-symbol"),oe=a("../internals/object-create"),ne=a("../internals/object-define-property"),te=ee("unscopables"),se=Array.prototype;se[te]==null&&ne.f(se,te,{configurable:!0,value:oe(null)}),he.exports=function(z){se[te][z]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(a,he,de){"use strict";var ee=a("../internals/string-multibyte").charAt;he.exports=function(oe,ne,te){return ne+(te?ee(oe,ne).length:1)}},{"../internals/string-multibyte":239}],100:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/object-is-prototype-of"),ne=ee.TypeError;he.exports=function(te,se){if(oe(se,te))return te;throw ne("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-object"),ne=ee.String,te=ee.TypeError;he.exports=function(se){if(oe(se))return se;throw te(ne(se)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(a,he,de){he.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-native"),oe=a("../internals/descriptors"),ne=a("../internals/global"),te=a("../internals/is-callable"),se=a("../internals/is-object"),z=a("../internals/has-own-property"),x=a("../internals/classof"),b=a("../internals/try-to-string"),E=a("../internals/create-non-enumerable-property"),re=a("../internals/redefine"),ae=a("../internals/object-define-property").f,le=a("../internals/object-is-prototype-of"),fe=a("../internals/object-get-prototype-of"),ce=a("../internals/object-set-prototype-of"),ue=a("../internals/well-known-symbol"),ge=a("../internals/uid"),_e=ne.Int8Array,we=_e&&_e.prototype,xe=ne.Uint8ClampedArray,ve=xe&&xe.prototype,Se=_e&&fe(_e),be=we&&fe(we),Ae=Object.prototype,Te=ne.TypeError,je=ue("toStringTag"),ke=ge("TYPED_ARRAY_TAG"),Pe=ge("TYPED_ARRAY_CONSTRUCTOR"),Oe=ee&&!!ce&&x(ne.opera)!=="Opera",He=!1,Ge,tt,Me,We={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},it={BigInt64Array:8,BigUint64Array:8},ut=function(pt){if(!se(pt))return!1;var ft=x(pt);return ft==="DataView"||z(We,ft)||z(it,ft)},$e=function(rt){if(!se(rt))return!1;var pt=x(rt);return z(We,pt)||z(it,pt)},Je=function(rt){if($e(rt))return rt;throw Te("Target is not a typed array")},Xe=function(rt){if(te(rt)&&(!ce||le(Se,rt)))return rt;throw Te(b(rt)+" is not a typed array constructor")},Qe=function(rt,pt,ft,qe){if(oe){if(ft)for(var Ie in We){var at=ne[Ie];if(at&&z(at.prototype,rt))try{delete at.prototype[rt]}catch(Be){try{at.prototype[rt]=pt}catch(et){}}}(!be[rt]||ft)&&re(be,rt,ft?pt:Oe&&we[rt]||pt,qe)}},st=function(rt,pt,ft){var qe,Ie;if(oe){if(ce){if(ft){for(qe in We)if(Ie=ne[qe],Ie&&z(Ie,rt))try{delete Ie[rt]}catch(at){}}if(!Se[rt]||ft)try{return re(Se,rt,ft?pt:Oe&&Se[rt]||pt)}catch(at){}else return}for(qe in We)Ie=ne[qe],Ie&&(!Ie[rt]||ft)&&re(Ie,rt,pt)}};for(Ge in We)tt=ne[Ge],Me=tt&&tt.prototype,Me?E(Me,Pe,tt):Oe=!1;for(Ge in it)tt=ne[Ge],Me=tt&&tt.prototype,Me&&E(Me,Pe,tt);if((!Oe||!te(Se)||Se===Function.prototype)&&(Se=function(){throw Te("Incorrect invocation")},Oe))for(Ge in We)ne[Ge]&&ce(ne[Ge],Se);if((!Oe||!be||be===Ae)&&(be=Se.prototype,Oe))for(Ge in We)ne[Ge]&&ce(ne[Ge].prototype,be);if(Oe&&fe(ve)!==be&&ce(ve,be),oe&&!z(be,je)){He=!0,ae(be,je,{get:function(){return se(this)?this[ke]:void 0}});for(Ge in We)ne[Ge]&&E(ne[Ge],ke,Ge)}he.exports={NATIVE_ARRAY_BUFFER_VIEWS:Oe,TYPED_ARRAY_CONSTRUCTOR:Pe,TYPED_ARRAY_TAG:He&&ke,aTypedArray:Je,aTypedArrayConstructor:Xe,exportTypedArrayMethod:Qe,exportTypedArrayStaticMethod:st,isView:ut,isTypedArray:$e,TypedArray:Se,TypedArrayPrototype:be}},{"../internals/array-buffer-native":102,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-define-property":198,"../internals/object-get-prototype-of":203,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/try-to-string":257,"../internals/uid":263,"../internals/well-known-symbol":268}],104:[function(a,he,de){"use strict";var ee=a("../internals/global"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/descriptors"),te=a("../internals/array-buffer-native"),se=a("../internals/function-name"),z=a("../internals/create-non-enumerable-property"),x=a("../internals/redefine-all"),b=a("../internals/fails"),E=a("../internals/an-instance"),re=a("../internals/to-integer-or-infinity"),ae=a("../internals/to-length"),le=a("../internals/to-index"),fe=a("../internals/ieee754"),ce=a("../internals/object-get-prototype-of"),ue=a("../internals/object-set-prototype-of"),ge=a("../internals/object-get-own-property-names").f,_e=a("../internals/object-define-property").f,we=a("../internals/array-fill"),xe=a("../internals/array-slice-simple"),ve=a("../internals/set-to-string-tag"),Se=a("../internals/internal-state"),be=se.PROPER,Ae=se.CONFIGURABLE,Te=Se.get,je=Se.set,ke="ArrayBuffer",Pe="DataView",Oe="prototype",He="Wrong length",Ge="Wrong index",tt=ee[ke],Me=tt,We=Me&&Me[Oe],it=ee[Pe],ut=it&&it[Oe],$e=Object.prototype,Je=ee.Array,Xe=ee.RangeError,Qe=oe(we),st=oe([].reverse),rt=fe.pack,pt=fe.unpack,ft=function(De){return[De&255]},qe=function(De){return[De&255,De>>8&255]},Ie=function(De){return[De&255,De>>8&255,De>>16&255,De>>24&255]},at=function(De){return De[3]<<24|De[2]<<16|De[1]<<8|De[0]},Be=function(De){return rt(De,23,4)},et=function(De){return rt(De,52,8)},vt=function(De,Ze){_e(De[Oe],Ze,{get:function(){return Te(this)[Ze]}})},gt=function(De,Ze,lt,Fe){var yt=le(lt),xt=Te(De);if(yt+Ze>xt.byteLength)throw Xe(Ge);var jt=Te(xt.buffer).bytes,Tt=yt+xt.byteOffset,wt=xe(jt,Tt,Tt+Ze);return Fe?wt:st(wt)},dt=function(De,Ze,lt,Fe,yt,xt){var jt=le(lt),Tt=Te(De);if(jt+Ze>Tt.byteLength)throw Xe(Ge);for(var wt=Te(Tt.buffer).bytes,It=jt+Tt.byteOffset,Bt=Fe(+yt),Wt=0;Wt<Ze;Wt++)wt[It+Wt]=Bt[xt?Wt:Ze-Wt-1]};if(!te)Me=function(Ze){E(this,We);var lt=le(Ze);je(this,{bytes:Qe(Je(lt),0),byteLength:lt}),ne||(this.byteLength=lt)},We=Me[Oe],it=function(Ze,lt,Fe){E(this,ut),E(Ze,We);var yt=Te(Ze).byteLength,xt=re(lt);if(xt<0||xt>yt)throw Xe("Wrong offset");if(Fe=Fe===void 0?yt-xt:ae(Fe),xt+Fe>yt)throw Xe(He);je(this,{buffer:Ze,byteLength:Fe,byteOffset:xt}),ne||(this.buffer=Ze,this.byteLength=Fe,this.byteOffset=xt)},ut=it[Oe],ne&&(vt(Me,"byteLength"),vt(it,"buffer"),vt(it,"byteLength"),vt(it,"byteOffset")),x(ut,{getInt8:function(Ze){return gt(this,1,Ze)[0]<<24>>24},getUint8:function(Ze){return gt(this,1,Ze)[0]},getInt16:function(Ze){var lt=gt(this,2,Ze,arguments.length>1?arguments[1]:void 0);return(lt[1]<<8|lt[0])<<16>>16},getUint16:function(Ze){var lt=gt(this,2,Ze,arguments.length>1?arguments[1]:void 0);return lt[1]<<8|lt[0]},getInt32:function(Ze){return at(gt(this,4,Ze,arguments.length>1?arguments[1]:void 0))},getUint32:function(Ze){return at(gt(this,4,Ze,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(Ze){return pt(gt(this,4,Ze,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(Ze){return pt(gt(this,8,Ze,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(Ze,lt){dt(this,1,Ze,ft,lt)},setUint8:function(Ze,lt){dt(this,1,Ze,ft,lt)},setInt16:function(Ze,lt){dt(this,2,Ze,qe,lt,arguments.length>2?arguments[2]:void 0)},setUint16:function(Ze,lt){dt(this,2,Ze,qe,lt,arguments.length>2?arguments[2]:void 0)},setInt32:function(Ze,lt){dt(this,4,Ze,Ie,lt,arguments.length>2?arguments[2]:void 0)},setUint32:function(Ze,lt){dt(this,4,Ze,Ie,lt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(Ze,lt){dt(this,4,Ze,Be,lt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(Ze,lt){dt(this,8,Ze,et,lt,arguments.length>2?arguments[2]:void 0)}});else{var Ve=be&&tt.name!==ke;if(!b(function(){tt(1)})||!b(function(){new tt(-1)})||b(function(){return new tt,new tt(1.5),new tt(NaN),Ve&&!Ae})){Me=function(Ze){return E(this,We),new tt(le(Ze))},Me[Oe]=We;for(var Ne=ge(tt),Ye=0,ot;Ne.length>Ye;)(ot=Ne[Ye++])in Me||z(Me,ot,tt[ot]);We.constructor=Me}else Ve&&Ae&&z(tt,"name",ke);ue&&ce(ut)!==$e&&ue(ut,$e);var Ue=new it(new Me(2)),Le=oe(ut.setInt8);Ue.setInt8(0,2147483648),Ue.setInt8(1,2147483649),(Ue.getInt8(0)||!Ue.getInt8(1))&&x(ut,{setInt8:function(Ze,lt){Le(this,Ze,lt<<24>>24)},setUint8:function(Ze,lt){Le(this,Ze,lt<<24>>24)}},{unsafe:!0})}ve(Me,ke),ve(it,Pe),he.exports={ArrayBuffer:Me,DataView:it}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(a,he,de){"use strict";var ee=a("../internals/to-object"),oe=a("../internals/to-absolute-index"),ne=a("../internals/length-of-array-like"),te=Math.min;he.exports=[].copyWithin||function(z,x){var b=ee(this),E=ne(b),re=oe(z,E),ae=oe(x,E),le=arguments.length>2?arguments[2]:void 0,fe=te((le===void 0?E:oe(le,E))-ae,E-re),ce=1;for(ae<re&&re<ae+fe&&(ce=-1,ae+=fe-1,re+=fe-1);fe-- >0;)ae in b?b[re]=b[ae]:delete b[re],re+=ce,ae+=ce;return b}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(a,he,de){"use strict";var ee=a("../internals/to-object"),oe=a("../internals/to-absolute-index"),ne=a("../internals/length-of-array-like");he.exports=function(se){for(var z=ee(this),x=ne(z),b=arguments.length,E=oe(b>1?arguments[1]:void 0,x),re=b>2?arguments[2]:void 0,ae=re===void 0?x:oe(re,x);ae>E;)z[E++]=se;return z}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(a,he,de){"use strict";var ee=a("../internals/array-iteration").forEach,oe=a("../internals/array-method-is-strict"),ne=oe("forEach");he.exports=ne?[].forEach:function(se){return ee(this,se,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(a,he,de){var ee=a("../internals/length-of-array-like");he.exports=function(oe,ne){for(var te=0,se=ee(ne),z=new oe(se);se>te;)z[te]=ne[te++];return z}},{"../internals/length-of-array-like":188}],109:[function(a,he,de){"use strict";var ee=a("../internals/global"),oe=a("../internals/function-bind-context"),ne=a("../internals/function-call"),te=a("../internals/to-object"),se=a("../internals/call-with-safe-iteration-closing"),z=a("../internals/is-array-iterator-method"),x=a("../internals/is-constructor"),b=a("../internals/length-of-array-like"),E=a("../internals/create-property"),re=a("../internals/get-iterator"),ae=a("../internals/get-iterator-method"),le=ee.Array;he.exports=function(ce){var ue=te(ce),ge=x(this),_e=arguments.length,we=_e>1?arguments[1]:void 0,xe=we!==void 0;xe&&(we=oe(we,_e>2?arguments[2]:void 0));var ve=ae(ue),Se=0,be,Ae,Te,je,ke,Pe;if(ve&&!(this==le&&z(ve)))for(je=re(ue,ve),ke=je.next,Ae=ge?new this:[];!(Te=ne(ke,je)).done;Se++)Pe=xe?se(je,we,[Te.value,Se],!0):Te.value,E(Ae,Se,Pe);else for(be=b(ue),Ae=ge?new this(be):le(be);be>Se;Se++)Pe=xe?we(ue[Se],Se):ue[Se],E(Ae,Se,Pe);return Ae.length=Se,Ae}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(a,he,de){var ee=a("../internals/to-indexed-object"),oe=a("../internals/to-absolute-index"),ne=a("../internals/length-of-array-like"),te=function(se){return function(z,x,b){var E=ee(z),re=ne(E),ae=oe(b,re),le;if(se&&x!=x){for(;re>ae;)if(le=E[ae++],le!=le)return!0}else for(;re>ae;ae++)if((se||ae in E)&&E[ae]===x)return se||ae||0;return!se&&-1}};he.exports={includes:te(!0),indexOf:te(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(a,he,de){var ee=a("../internals/function-bind-context"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/indexed-object"),te=a("../internals/to-object"),se=a("../internals/length-of-array-like"),z=a("../internals/array-species-create"),x=oe([].push),b=function(E){var re=E==1,ae=E==2,le=E==3,fe=E==4,ce=E==6,ue=E==7,ge=E==5||ce;return function(_e,we,xe,ve){for(var Se=te(_e),be=ne(Se),Ae=ee(we,xe),Te=se(be),je=0,ke=ve||z,Pe=re?ke(_e,Te):ae||ue?ke(_e,0):void 0,Oe,He;Te>je;je++)if((ge||je in be)&&(Oe=be[je],He=Ae(Oe,je,Se),E))if(re)Pe[je]=He;else if(He)switch(E){case 3:return!0;case 5:return Oe;case 6:return je;case 2:x(Pe,Oe)}else switch(E){case 4:return!1;case 7:x(Pe,Oe)}return ce?-1:le||fe?fe:Pe}};he.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6),filterReject:b(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(a,he,de){"use strict";var ee=a("../internals/function-apply"),oe=a("../internals/to-indexed-object"),ne=a("../internals/to-integer-or-infinity"),te=a("../internals/length-of-array-like"),se=a("../internals/array-method-is-strict"),z=Math.min,x=[].lastIndexOf,b=!!x&&1/[1].lastIndexOf(1,-0)<0,E=se("lastIndexOf"),re=b||!E;he.exports=re?function(le){if(b)return ee(x,this,arguments)||0;var fe=oe(this),ce=te(fe),ue=ce-1;for(arguments.length>1&&(ue=z(ue,ne(arguments[1]))),ue<0&&(ue=ce+ue);ue>=0;ue--)if(ue in fe&&fe[ue]===le)return ue||0;return-1}:x},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(a,he,de){var ee=a("../internals/fails"),oe=a("../internals/well-known-symbol"),ne=a("../internals/engine-v8-version"),te=oe("species");he.exports=function(se){return ne>=51||!ee(function(){var z=[],x=z.constructor={};return x[te]=function(){return{foo:1}},z[se](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(a,he,de){"use strict";var ee=a("../internals/fails");he.exports=function(oe,ne){var te=[][oe];return!!te&&ee(function(){te.call(null,ne||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/a-callable"),ne=a("../internals/to-object"),te=a("../internals/indexed-object"),se=a("../internals/length-of-array-like"),z=ee.TypeError,x=function(b){return function(E,re,ae,le){oe(re);var fe=ne(E),ce=te(fe),ue=se(fe),ge=b?ue-1:0,_e=b?-1:1;if(ae<2)for(;;){if(ge in ce){le=ce[ge],ge+=_e;break}if(ge+=_e,b?ge<0:ue<=ge)throw z("Reduce of empty array with no initial value")}for(;b?ge>=0:ue>ge;ge+=_e)ge in ce&&(le=re(le,ce[ge],ge,fe));return le}};he.exports={left:x(!1),right:x(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/to-absolute-index"),ne=a("../internals/length-of-array-like"),te=a("../internals/create-property"),se=ee.Array,z=Math.max;he.exports=function(x,b,E){for(var re=ne(x),ae=oe(b,re),le=oe(E===void 0?re:E,re),fe=se(z(le-ae,0)),ce=0;ae<le;ae++,ce++)te(fe,ce,x[ae]);return fe.length=ce,fe}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(a,he,de){var ee=a("../internals/function-uncurry-this");he.exports=ee([].slice)},{"../internals/function-uncurry-this":157}],118:[function(a,he,de){var ee=a("../internals/array-slice-simple"),oe=Math.floor,ne=function(z,x){var b=z.length,E=oe(b/2);return b<8?te(z,x):se(z,ne(ee(z,0,E),x),ne(ee(z,E),x),x)},te=function(z,x){for(var b=z.length,E=1,re,ae;E<b;){for(ae=E,re=z[E];ae&&x(z[ae-1],re)>0;)z[ae]=z[--ae];ae!==E++&&(z[ae]=re)}return z},se=function(z,x,b,E){for(var re=x.length,ae=b.length,le=0,fe=0;le<re||fe<ae;)z[le+fe]=le<re&&fe<ae?E(x[le],b[fe])<=0?x[le++]:b[fe++]:le<re?x[le++]:b[fe++];return z};he.exports=ne},{"../internals/array-slice-simple":116}],119:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-array"),ne=a("../internals/is-constructor"),te=a("../internals/is-object"),se=a("../internals/well-known-symbol"),z=se("species"),x=ee.Array;he.exports=function(b){var E;return oe(b)&&(E=b.constructor,ne(E)&&(E===x||oe(E.prototype))?E=void 0:te(E)&&(E=E[z],E===null&&(E=void 0))),E===void 0?x:E}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(a,he,de){var ee=a("../internals/array-species-constructor");he.exports=function(oe,ne){return new(ee(oe))(ne===0?0:ne)}},{"../internals/array-species-constructor":119}],121:[function(a,he,de){var ee=a("../internals/an-object"),oe=a("../internals/iterator-close");he.exports=function(ne,te,se,z){try{return z?te(ee(se)[0],se[1]):te(se)}catch(x){oe(ne,"throw",x)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(a,he,de){var ee=a("../internals/well-known-symbol"),oe=ee("iterator"),ne=!1;try{var te=0,se={next:function(){return{done:!!te++}},return:function(){ne=!0}};se[oe]=function(){return this},Array.from(se,function(){throw 2})}catch(z){}he.exports=function(z,x){if(!x&&!ne)return!1;var b=!1;try{var E={};E[oe]=function(){return{next:function(){return{done:b=!0}}}},z(E)}catch(re){}return b}},{"../internals/well-known-symbol":268}],123:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=ee({}.toString),ne=ee("".slice);he.exports=function(te){return ne(oe(te),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/to-string-tag-support"),ne=a("../internals/is-callable"),te=a("../internals/classof-raw"),se=a("../internals/well-known-symbol"),z=se("toStringTag"),x=ee.Object,b=te(function(){return arguments}())=="Arguments",E=function(re,ae){try{return re[ae]}catch(le){}};he.exports=oe?te:function(re){var ae,le,fe;return re===void 0?"Undefined":re===null?"Null":typeof(le=E(ae=x(re),z))=="string"?le:b?te(ae):(fe=te(ae))=="Object"&&ne(ae.callee)?"Arguments":fe}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(a,he,de){var ee=a("../internals/has-own-property"),oe=a("../internals/own-keys"),ne=a("../internals/object-get-own-property-descriptor"),te=a("../internals/object-define-property");he.exports=function(se,z,x){for(var b=oe(z),E=te.f,re=ne.f,ae=0;ae<b.length;ae++){var le=b[ae];!ee(se,le)&&!(x&&ee(x,le))&&E(se,le,re(z,le))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(a,he,de){var ee=a("../internals/well-known-symbol"),oe=ee("match");he.exports=function(ne){var te=/./;try{"/./"[ne](te)}catch(se){try{return te[oe]=!1,"/./"[ne](te)}catch(z){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(a,he,de){var ee=a("../internals/fails");he.exports=!ee(function(){function oe(){}return oe.prototype.constructor=null,Object.getPrototypeOf(new oe)!==oe.prototype})},{"../internals/fails":150}],128:[function(a,he,de){"use strict";var ee=a("../internals/iterators-core").IteratorPrototype,oe=a("../internals/object-create"),ne=a("../internals/create-property-descriptor"),te=a("../internals/set-to-string-tag"),se=a("../internals/iterators"),z=function(){return this};he.exports=function(x,b,E,re){var ae=b+" Iterator";return x.prototype=oe(ee,{next:ne(+!re,E)}),te(x,ae,!1,!0),se[ae]=z,x}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(a,he,de){var ee=a("../internals/descriptors"),oe=a("../internals/object-define-property"),ne=a("../internals/create-property-descriptor");he.exports=ee?function(te,se,z){return oe.f(te,se,ne(1,z))}:function(te,se,z){return te[se]=z,te}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(a,he,de){he.exports=function(ee,oe){return{enumerable:!(ee&1),configurable:!(ee&2),writable:!(ee&4),value:oe}}},{}],131:[function(a,he,de){"use strict";var ee=a("../internals/to-property-key"),oe=a("../internals/object-define-property"),ne=a("../internals/create-property-descriptor");he.exports=function(te,se,z){var x=ee(se);x in te?oe.f(te,x,ne(0,z)):te[x]=z}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/function-call"),ne=a("../internals/is-pure"),te=a("../internals/function-name"),se=a("../internals/is-callable"),z=a("../internals/create-iterator-constructor"),x=a("../internals/object-get-prototype-of"),b=a("../internals/object-set-prototype-of"),E=a("../internals/set-to-string-tag"),re=a("../internals/create-non-enumerable-property"),ae=a("../internals/redefine"),le=a("../internals/well-known-symbol"),fe=a("../internals/iterators"),ce=a("../internals/iterators-core"),ue=te.PROPER,ge=te.CONFIGURABLE,_e=ce.IteratorPrototype,we=ce.BUGGY_SAFARI_ITERATORS,xe=le("iterator"),ve="keys",Se="values",be="entries",Ae=function(){return this};he.exports=function(Te,je,ke,Pe,Oe,He,Ge){z(ke,je,Pe);var tt=function(rt){if(rt===Oe&&$e)return $e;if(!we&&rt in it)return it[rt];switch(rt){case ve:return function(){return new ke(this,rt)};case Se:return function(){return new ke(this,rt)};case be:return function(){return new ke(this,rt)}}return function(){return new ke(this)}},Me=je+" Iterator",We=!1,it=Te.prototype,ut=it[xe]||it["@@iterator"]||Oe&&it[Oe],$e=!we&&ut||tt(Oe),Je=je=="Array"&&it.entries||ut,Xe,Qe,st;if(Je&&(Xe=x(Je.call(new Te)),Xe!==Object.prototype&&Xe.next&&(!ne&&x(Xe)!==_e&&(b?b(Xe,_e):se(Xe[xe])||ae(Xe,xe,Ae)),E(Xe,Me,!0,!0),ne&&(fe[Me]=Ae))),ue&&Oe==Se&&ut&&ut.name!==Se&&(!ne&&ge?re(it,"name",Se):(We=!0,$e=function(){return oe(ut,this)})),Oe)if(Qe={values:tt(Se),keys:He?$e:tt(ve),entries:tt(be)},Ge)for(st in Qe)(we||We||!(st in it))&&ae(it,st,Qe[st]);else ee({target:je,proto:!0,forced:we||We},Qe);return(!ne||Ge)&&it[xe]!==$e&&ae(it,xe,$e,{name:Oe}),fe[je]=$e,Qe}},{"../internals/create-iterator-constructor":128,"../internals/create-non-enumerable-property":129,"../internals/export":149,"../internals/function-call":155,"../internals/function-name":156,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/well-known-symbol":268}],133:[function(a,he,de){var ee=a("../internals/path"),oe=a("../internals/has-own-property"),ne=a("../internals/well-known-symbol-wrapped"),te=a("../internals/object-define-property").f;he.exports=function(se){var z=ee.Symbol||(ee.Symbol={});oe(z,se)||te(z,se,{value:ne.f(se)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(a,he,de){var ee=a("../internals/fails");he.exports=!ee(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-object"),ne=ee.document,te=oe(ne)&&oe(ne.createElement);he.exports=function(se){return te?ne.createElement(se):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(a,he,de){he.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],137:[function(a,he,de){var ee=a("../internals/document-create-element"),oe=ee("span").classList,ne=oe&&oe.constructor&&oe.constructor.prototype;he.exports=ne===Object.prototype?void 0:ne},{"../internals/document-create-element":135}],138:[function(a,he,de){var ee=a("../internals/engine-user-agent"),oe=ee.match(/firefox\/(\d+)/i);he.exports=!!oe&&+oe[1]},{"../internals/engine-user-agent":145}],139:[function(a,he,de){he.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(a,he,de){var ee=a("../internals/engine-user-agent");he.exports=/MSIE|Trident/.test(ee)},{"../internals/engine-user-agent":145}],141:[function(a,he,de){var ee=a("../internals/engine-user-agent"),oe=a("../internals/global");he.exports=/ipad|iphone|ipod/i.test(ee)&&oe.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(a,he,de){var ee=a("../internals/engine-user-agent");he.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(ee)},{"../internals/engine-user-agent":145}],143:[function(a,he,de){var ee=a("../internals/classof-raw"),oe=a("../internals/global");he.exports=ee(oe.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(a,he,de){var ee=a("../internals/engine-user-agent");he.exports=/web0s(?!.*chrome)/i.test(ee)},{"../internals/engine-user-agent":145}],145:[function(a,he,de){var ee=a("../internals/get-built-in");he.exports=ee("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/engine-user-agent"),ne=ee.process,te=ee.Deno,se=ne&&ne.versions||te&&te.version,z=se&&se.v8,x,b;z&&(x=z.split("."),b=x[0]>0&&x[0]<4?1:+(x[0]+x[1])),!b&&oe&&(x=oe.match(/Edge\/(\d+)/),(!x||x[1]>=74)&&(x=oe.match(/Chrome\/(\d+)/),x&&(b=+x[1]))),he.exports=b},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(a,he,de){var ee=a("../internals/engine-user-agent"),oe=ee.match(/AppleWebKit\/(\d+)\./);he.exports=!!oe&&+oe[1]},{"../internals/engine-user-agent":145}],148:[function(a,he,de){he.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/object-get-own-property-descriptor").f,ne=a("../internals/create-non-enumerable-property"),te=a("../internals/redefine"),se=a("../internals/set-global"),z=a("../internals/copy-constructor-properties"),x=a("../internals/is-forced");he.exports=function(b,E){var re=b.target,ae=b.global,le=b.stat,fe,ce,ue,ge,_e,we;if(ae?ce=ee:le?ce=ee[re]||se(re,{}):ce=(ee[re]||{}).prototype,ce)for(ue in E){if(_e=E[ue],b.noTargetGet?(we=oe(ce,ue),ge=we&&we.value):ge=ce[ue],fe=x(ae?ue:re+(le?".":"#")+ue,b.forced),!fe&&ge!==void 0){if(typeof _e==typeof ge)continue;z(_e,ge)}(b.sham||ge&&ge.sham)&&ne(_e,"sham",!0),te(ce,ue,_e,b)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(a,he,de){he.exports=function(ee){try{return!!ee()}catch(oe){return!0}}},{}],151:[function(a,he,de){"use strict";a("../modules/es.regexp.exec");var ee=a("../internals/function-uncurry-this"),oe=a("../internals/redefine"),ne=a("../internals/regexp-exec"),te=a("../internals/fails"),se=a("../internals/well-known-symbol"),z=a("../internals/create-non-enumerable-property"),x=se("species"),b=RegExp.prototype;he.exports=function(E,re,ae,le){var fe=se(E),ce=!te(function(){var we={};return we[fe]=function(){return 7},""[E](we)!=7}),ue=ce&&!te(function(){var we=!1,xe=/a/;return E==="split"&&(xe={},xe.constructor={},xe.constructor[x]=function(){return xe},xe.flags="",xe[fe]=/./[fe]),xe.exec=function(){return we=!0,null},xe[fe](""),!we});if(!ce||!ue||ae){var ge=ee(/./[fe]),_e=re(fe,""[E],function(we,xe,ve,Se,be){var Ae=ee(we),Te=xe.exec;return Te===ne||Te===b.exec?ce&&!be?{done:!0,value:ge(xe,ve,Se)}:{done:!0,value:Ae(ve,xe,Se)}:{done:!1}});oe(String.prototype,E,_e[0]),oe(b,fe,_e[1])}le&&z(b[fe],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(a,he,de){var ee=a("../internals/function-bind-native"),oe=Function.prototype,ne=oe.apply,te=oe.call;he.exports=typeof Reflect=="object"&&Reflect.apply||(ee?te.bind(ne):function(){return te.apply(ne,arguments)})},{"../internals/function-bind-native":154}],153:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=a("../internals/a-callable"),ne=a("../internals/function-bind-native"),te=ee(ee.bind);he.exports=function(se,z){return oe(se),z===void 0?se:ne?te(se,z):function(){return se.apply(z,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(a,he,de){var ee=a("../internals/fails");he.exports=!ee(function(){var oe=function(){}.bind();return typeof oe!="function"||oe.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(a,he,de){var ee=a("../internals/function-bind-native"),oe=Function.prototype.call;he.exports=ee?oe.bind(oe):function(){return oe.apply(oe,arguments)}},{"../internals/function-bind-native":154}],156:[function(a,he,de){var ee=a("../internals/descriptors"),oe=a("../internals/has-own-property"),ne=Function.prototype,te=ee&&Object.getOwnPropertyDescriptor,se=oe(ne,"name"),z=se&&function(){}.name==="something",x=se&&(!ee||ee&&te(ne,"name").configurable);he.exports={EXISTS:se,PROPER:z,CONFIGURABLE:x}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(a,he,de){var ee=a("../internals/function-bind-native"),oe=Function.prototype,ne=oe.bind,te=oe.call,se=ee&&ne.bind(te,te);he.exports=ee?function(z){return z&&se(z)}:function(z){return z&&function(){return te.apply(z,arguments)}}},{"../internals/function-bind-native":154}],158:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-callable"),ne=function(te){return oe(te)?te:void 0};he.exports=function(te,se){return arguments.length<2?ne(ee[te]):ee[te]&&ee[te][se]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(a,he,de){var ee=a("../internals/classof"),oe=a("../internals/get-method"),ne=a("../internals/iterators"),te=a("../internals/well-known-symbol"),se=te("iterator");he.exports=function(z){if(z!=null)return oe(z,se)||oe(z,"@@iterator")||ne[ee(z)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/function-call"),ne=a("../internals/a-callable"),te=a("../internals/an-object"),se=a("../internals/try-to-string"),z=a("../internals/get-iterator-method"),x=ee.TypeError;he.exports=function(b,E){var re=arguments.length<2?z(b):E;if(ne(re))return te(oe(re,b));throw x(se(b)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(a,he,de){var ee=a("../internals/a-callable");he.exports=function(oe,ne){var te=oe[ne];return te==null?void 0:ee(te)}},{"../internals/a-callable":95}],162:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=a("../internals/to-object"),ne=Math.floor,te=ee("".charAt),se=ee("".replace),z=ee("".slice),x=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,b=/\$([$&'`]|\d{1,2})/g;he.exports=function(E,re,ae,le,fe,ce){var ue=ae+E.length,ge=le.length,_e=b;return fe!==void 0&&(fe=oe(fe),_e=x),se(ce,_e,function(we,xe){var ve;switch(te(xe,0)){case"$":return"$";case"&":return E;case"`":return z(re,0,ae);case"'":return z(re,ue);case"<":ve=fe[z(xe,1,-1)];break;default:var Se=+xe;if(Se===0)return we;if(Se>ge){var be=ne(Se/10);return be===0?we:be<=ge?le[be-1]===void 0?te(xe,1):le[be-1]+te(xe,1):we}ve=le[Se-1]}return ve===void 0?"":ve})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(a,he,de){(function(ee){(function(){var oe=function(ne){return ne&&ne.Math==Math&&ne};he.exports=oe(typeof globalThis=="object"&&globalThis)||oe(typeof window=="object"&&window)||oe(typeof self=="object"&&self)||oe(typeof ee=="object"&&ee)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=a("../internals/to-object"),ne=ee({}.hasOwnProperty);he.exports=Object.hasOwn||function(se,z){return ne(oe(se),z)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(a,he,de){he.exports={}},{}],166:[function(a,he,de){var ee=a("../internals/global");he.exports=function(oe,ne){var te=ee.console;te&&te.error&&(arguments.length==1?te.error(oe):te.error(oe,ne))}},{"../internals/global":163}],167:[function(a,he,de){var ee=a("../internals/get-built-in");he.exports=ee("document","documentElement")},{"../internals/get-built-in":158}],168:[function(a,he,de){var ee=a("../internals/descriptors"),oe=a("../internals/fails"),ne=a("../internals/document-create-element");he.exports=!ee&&!oe(function(){return Object.defineProperty(ne("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(a,he,de){var ee=a("../internals/global"),oe=ee.Array,ne=Math.abs,te=Math.pow,se=Math.floor,z=Math.log,x=Math.LN2,b=function(re,ae,le){var fe=oe(le),ce=le*8-ae-1,ue=(1<<ce)-1,ge=ue>>1,_e=ae===23?te(2,-24)-te(2,-77):0,we=re<0||re===0&&1/re<0?1:0,xe=0,ve,Se,be;for(re=ne(re),re!=re||re===1/0?(Se=re!=re?1:0,ve=ue):(ve=se(z(re)/x),be=te(2,-ve),re*be<1&&(ve--,be*=2),ve+ge>=1?re+=_e/be:re+=_e*te(2,1-ge),re*be>=2&&(ve++,be/=2),ve+ge>=ue?(Se=0,ve=ue):ve+ge>=1?(Se=(re*be-1)*te(2,ae),ve=ve+ge):(Se=re*te(2,ge-1)*te(2,ae),ve=0));ae>=8;)fe[xe++]=Se&255,Se/=256,ae-=8;for(ve=ve<<ae|Se,ce+=ae;ce>0;)fe[xe++]=ve&255,ve/=256,ce-=8;return fe[--xe]|=we*128,fe},E=function(re,ae){var le=re.length,fe=le*8-ae-1,ce=(1<<fe)-1,ue=ce>>1,ge=fe-7,_e=le-1,we=re[_e--],xe=we&127,ve;for(we>>=7;ge>0;)xe=xe*256+re[_e--],ge-=8;for(ve=xe&(1<<-ge)-1,xe>>=-ge,ge+=ae;ge>0;)ve=ve*256+re[_e--],ge-=8;if(xe===0)xe=1-ue;else{if(xe===ce)return ve?NaN:we?-1/0:1/0;ve=ve+te(2,ae),xe=xe-ue}return(we?-1:1)*ve*te(2,xe-ae)};he.exports={pack:b,unpack:E}},{"../internals/global":163}],170:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/fails"),te=a("../internals/classof-raw"),se=ee.Object,z=oe("".split);he.exports=ne(function(){return!se("z").propertyIsEnumerable(0)})?function(x){return te(x)=="String"?z(x,""):se(x)}:se},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(a,he,de){var ee=a("../internals/is-callable"),oe=a("../internals/is-object"),ne=a("../internals/object-set-prototype-of");he.exports=function(te,se,z){var x,b;return ne&&ee(x=se.constructor)&&x!==z&&oe(b=x.prototype)&&b!==z.prototype&&ne(te,b),te}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=a("../internals/is-callable"),ne=a("../internals/shared-store"),te=ee(Function.toString);oe(ne.inspectSource)||(ne.inspectSource=function(se){return te(se)}),he.exports=ne.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(a,he,de){var ee=a("../internals/native-weak-map"),oe=a("../internals/global"),ne=a("../internals/function-uncurry-this"),te=a("../internals/is-object"),se=a("../internals/create-non-enumerable-property"),z=a("../internals/has-own-property"),x=a("../internals/shared-store"),b=a("../internals/shared-key"),E=a("../internals/hidden-keys"),re="Object already initialized",ae=oe.TypeError,le=oe.WeakMap,fe,ce,ue,ge=function(Ae){return ue(Ae)?ce(Ae):fe(Ae,{})},_e=function(Ae){return function(Te){var je;if(!te(Te)||(je=ce(Te)).type!==Ae)throw ae("Incompatible receiver, "+Ae+" required");return je}};if(ee||x.state){var we=x.state||(x.state=new le),xe=ne(we.get),ve=ne(we.has),Se=ne(we.set);fe=function(Ae,Te){if(ve(we,Ae))throw new ae(re);return Te.facade=Ae,Se(we,Ae,Te),Te},ce=function(Ae){return xe(we,Ae)||{}},ue=function(Ae){return ve(we,Ae)}}else{var be=b("state");E[be]=!0,fe=function(Ae,Te){if(z(Ae,be))throw new ae(re);return Te.facade=Ae,se(Ae,be,Te),Te},ce=function(Ae){return z(Ae,be)?Ae[be]:{}},ue=function(Ae){return z(Ae,be)}}he.exports={set:fe,get:ce,has:ue,enforce:ge,getterFor:_e}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(a,he,de){var ee=a("../internals/well-known-symbol"),oe=a("../internals/iterators"),ne=ee("iterator"),te=Array.prototype;he.exports=function(se){return se!==void 0&&(oe.Array===se||te[ne]===se)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(a,he,de){var ee=a("../internals/classof-raw");he.exports=Array.isArray||function(ne){return ee(ne)=="Array"}},{"../internals/classof-raw":123}],176:[function(a,he,de){he.exports=function(ee){return typeof ee=="function"}},{}],177:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=a("../internals/fails"),ne=a("../internals/is-callable"),te=a("../internals/classof"),se=a("../internals/get-built-in"),z=a("../internals/inspect-source"),x=function(){},b=[],E=se("Reflect","construct"),re=/^\s*(?:class|function)\b/,ae=ee(re.exec),le=!re.exec(x),fe=function(ge){if(!ne(ge))return!1;try{return E(x,b,ge),!0}catch(_e){return!1}},ce=function(ge){if(!ne(ge))return!1;switch(te(ge)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return le||!!ae(re,z(ge))}catch(_e){return!0}};ce.sham=!0,he.exports=!E||oe(function(){var ue;return fe(fe.call)||!fe(Object)||!fe(function(){ue=!0})||ue})?ce:fe},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(a,he,de){var ee=a("../internals/fails"),oe=a("../internals/is-callable"),ne=/#|\.prototype\./,te=function(E,re){var ae=z[se(E)];return ae==b?!0:ae==x?!1:oe(re)?ee(re):!!re},se=te.normalize=function(E){return String(E).replace(ne,".").toLowerCase()},z=te.data={},x=te.NATIVE="N",b=te.POLYFILL="P";he.exports=te},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(a,he,de){var ee=a("../internals/is-object"),oe=Math.floor;he.exports=Number.isInteger||function(te){return!ee(te)&&isFinite(te)&&oe(te)===te}},{"../internals/is-object":180}],180:[function(a,he,de){var ee=a("../internals/is-callable");he.exports=function(oe){return typeof oe=="object"?oe!==null:ee(oe)}},{"../internals/is-callable":176}],181:[function(a,he,de){he.exports=!1},{}],182:[function(a,he,de){var ee=a("../internals/is-object"),oe=a("../internals/classof-raw"),ne=a("../internals/well-known-symbol"),te=ne("match");he.exports=function(se){var z;return ee(se)&&((z=se[te])!==void 0?!!z:oe(se)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/get-built-in"),ne=a("../internals/is-callable"),te=a("../internals/object-is-prototype-of"),se=a("../internals/use-symbol-as-uid"),z=ee.Object;he.exports=se?function(x){return typeof x=="symbol"}:function(x){var b=oe("Symbol");return ne(b)&&te(b.prototype,z(x))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/function-bind-context"),ne=a("../internals/function-call"),te=a("../internals/an-object"),se=a("../internals/try-to-string"),z=a("../internals/is-array-iterator-method"),x=a("../internals/length-of-array-like"),b=a("../internals/object-is-prototype-of"),E=a("../internals/get-iterator"),re=a("../internals/get-iterator-method"),ae=a("../internals/iterator-close"),le=ee.TypeError,fe=function(ue,ge){this.stopped=ue,this.result=ge},ce=fe.prototype;he.exports=function(ue,ge,_e){var we=_e&&_e.that,xe=!!(_e&&_e.AS_ENTRIES),ve=!!(_e&&_e.IS_ITERATOR),Se=!!(_e&&_e.INTERRUPTED),be=oe(ge,we),Ae,Te,je,ke,Pe,Oe,He,Ge=function(Me){return Ae&&ae(Ae,"normal",Me),new fe(!0,Me)},tt=function(Me){return xe?(te(Me),Se?be(Me[0],Me[1],Ge):be(Me[0],Me[1])):Se?be(Me,Ge):be(Me)};if(ve)Ae=ue;else{if(Te=re(ue),!Te)throw le(se(ue)+" is not iterable");if(z(Te)){for(je=0,ke=x(ue);ke>je;je++)if(Pe=tt(ue[je]),Pe&&b(ce,Pe))return Pe;return new fe(!1)}Ae=E(ue,Te)}for(Oe=Ae.next;!(He=ne(Oe,Ae)).done;){try{Pe=tt(He.value)}catch(Me){ae(Ae,"throw",Me)}if(typeof Pe=="object"&&Pe&&b(ce,Pe))return Pe}return new fe(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(a,he,de){var ee=a("../internals/function-call"),oe=a("../internals/an-object"),ne=a("../internals/get-method");he.exports=function(te,se,z){var x,b;oe(te);try{if(x=ne(te,"return"),!x){if(se==="throw")throw z;return z}x=ee(x,te)}catch(E){b=!0,x=E}if(se==="throw")throw z;if(b)throw x;return oe(x),z}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(a,he,de){"use strict";var ee=a("../internals/fails"),oe=a("../internals/is-callable"),ne=a("../internals/object-create"),te=a("../internals/object-get-prototype-of"),se=a("../internals/redefine"),z=a("../internals/well-known-symbol"),x=a("../internals/is-pure"),b=z("iterator"),E=!1,re,ae,le;[].keys&&(le=[].keys(),"next"in le?(ae=te(te(le)),ae!==Object.prototype&&(re=ae)):E=!0);var fe=re==null||ee(function(){var ce={};return re[b].call(ce)!==ce});fe?re={}:x&&(re=ne(re)),oe(re[b])||se(re,b,function(){return this}),he.exports={IteratorPrototype:re,BUGGY_SAFARI_ITERATORS:E}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(a,he,de){arguments[4][165][0].apply(de,arguments)},{dup:165}],188:[function(a,he,de){var ee=a("../internals/to-length");he.exports=function(oe){return ee(oe.length)}},{"../internals/to-length":249}],189:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/function-bind-context"),ne=a("../internals/object-get-own-property-descriptor").f,te=a("../internals/task").set,se=a("../internals/engine-is-ios"),z=a("../internals/engine-is-ios-pebble"),x=a("../internals/engine-is-webos-webkit"),b=a("../internals/engine-is-node"),E=ee.MutationObserver||ee.WebKitMutationObserver,re=ee.document,ae=ee.process,le=ee.Promise,fe=ne(ee,"queueMicrotask"),ce=fe&&fe.value,ue,ge,_e,we,xe,ve,Se,be;ce||(ue=function(){var Ae,Te;for(b&&(Ae=ae.domain)&&Ae.exit();ge;){Te=ge.fn,ge=ge.next;try{Te()}catch(je){throw ge?we():_e=void 0,je}}_e=void 0,Ae&&Ae.enter()},!se&&!b&&!x&&E&&re?(xe=!0,ve=re.createTextNode(""),new E(ue).observe(ve,{characterData:!0}),we=function(){ve.data=xe=!xe}):!z&&le&&le.resolve?(Se=le.resolve(void 0),Se.constructor=le,be=oe(Se.then,Se),we=function(){be(ue)}):b?we=function(){ae.nextTick(ue)}:(te=oe(te,ee),we=function(){te(ue)})),he.exports=ce||function(Ae){var Te={fn:Ae,next:void 0};_e&&(_e.next=Te),ge||(ge=Te,we()),_e=Te}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(a,he,de){var ee=a("../internals/native-symbol");he.exports=ee&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(a,he,de){var ee=a("../internals/engine-v8-version"),oe=a("../internals/fails");he.exports=!!Object.getOwnPropertySymbols&&!oe(function(){var ne=Symbol();return!String(ne)||!(Object(ne)instanceof Symbol)||!Symbol.sham&&ee&&ee<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-callable"),ne=a("../internals/inspect-source"),te=ee.WeakMap;he.exports=oe(te)&&/native code/.test(ne(te))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(a,he,de){"use strict";var ee=a("../internals/a-callable"),oe=function(ne){var te,se;this.promise=new ne(function(z,x){if(te!==void 0||se!==void 0)throw TypeError("Bad Promise constructor");te=z,se=x}),this.resolve=ee(te),this.reject=ee(se)};he.exports.f=function(ne){return new oe(ne)}},{"../internals/a-callable":95}],194:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-regexp"),ne=ee.TypeError;he.exports=function(te){if(oe(te))throw ne("The method doesn't accept regular expressions");return te}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(a,he,de){"use strict";var ee=a("../internals/descriptors"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/function-call"),te=a("../internals/fails"),se=a("../internals/object-keys"),z=a("../internals/object-get-own-property-symbols"),x=a("../internals/object-property-is-enumerable"),b=a("../internals/to-object"),E=a("../internals/indexed-object"),re=Object.assign,ae=Object.defineProperty,le=oe([].concat);he.exports=!re||te(function(){if(ee&&re({b:1},re(ae({},"a",{enumerable:!0,get:function(){ae(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var fe={},ce={},ue=Symbol(),ge="abcdefghijklmnopqrst";return fe[ue]=7,ge.split("").forEach(function(_e){ce[_e]=_e}),re({},fe)[ue]!=7||se(re({},ce)).join("")!=ge})?function(ce,ue){for(var ge=b(ce),_e=arguments.length,we=1,xe=z.f,ve=x.f;_e>we;)for(var Se=E(arguments[we++]),be=xe?le(se(Se),xe(Se)):se(Se),Ae=be.length,Te=0,je;Ae>Te;)je=be[Te++],(!ee||ne(ve,Se,je))&&(ge[je]=Se[je]);return ge}:re},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(a,he,de){var ee=a("../internals/an-object"),oe=a("../internals/object-define-properties"),ne=a("../internals/enum-bug-keys"),te=a("../internals/hidden-keys"),se=a("../internals/html"),z=a("../internals/document-create-element"),x=a("../internals/shared-key"),b=">",E="<",re="prototype",ae="script",le=x("IE_PROTO"),fe=function(){},ce=function(xe){return E+ae+b+xe+E+"/"+ae+b},ue=function(xe){xe.write(ce("")),xe.close();var ve=xe.parentWindow.Object;return xe=null,ve},ge=function(){var xe=z("iframe"),ve="java"+ae+":",Se;return xe.style.display="none",se.appendChild(xe),xe.src=String(ve),Se=xe.contentWindow.document,Se.open(),Se.write(ce("document.F=Object")),Se.close(),Se.F},_e,we=function(){try{_e=new ActiveXObject("htmlfile")}catch(ve){}we=typeof document!="undefined"?document.domain&&_e?ue(_e):ge():ue(_e);for(var xe=ne.length;xe--;)delete we[re][ne[xe]];return we()};te[le]=!0,he.exports=Object.create||function(ve,Se){var be;return ve!==null?(fe[re]=ee(ve),be=new fe,fe[re]=null,be[le]=ve):be=we(),Se===void 0?be:oe.f(be,Se)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(a,he,de){var ee=a("../internals/descriptors"),oe=a("../internals/v8-prototype-define-bug"),ne=a("../internals/object-define-property"),te=a("../internals/an-object"),se=a("../internals/to-indexed-object"),z=a("../internals/object-keys");de.f=ee&&!oe?Object.defineProperties:function(b,E){te(b);for(var re=se(E),ae=z(E),le=ae.length,fe=0,ce;le>fe;)ne.f(b,ce=ae[fe++],re[ce]);return b}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/descriptors"),ne=a("../internals/ie8-dom-define"),te=a("../internals/v8-prototype-define-bug"),se=a("../internals/an-object"),z=a("../internals/to-property-key"),x=ee.TypeError,b=Object.defineProperty,E=Object.getOwnPropertyDescriptor,re="enumerable",ae="configurable",le="writable";de.f=oe?te?function(ce,ue,ge){if(se(ce),ue=z(ue),se(ge),typeof ce=="function"&&ue==="prototype"&&"value"in ge&&le in ge&&!ge[le]){var _e=E(ce,ue);_e&&_e[le]&&(ce[ue]=ge.value,ge={configurable:ae in ge?ge[ae]:_e[ae],enumerable:re in ge?ge[re]:_e[re],writable:!1})}return b(ce,ue,ge)}:b:function(ce,ue,ge){if(se(ce),ue=z(ue),se(ge),ne)try{return b(ce,ue,ge)}catch(_e){}if("get"in ge||"set"in ge)throw x("Accessors not supported");return"value"in ge&&(ce[ue]=ge.value),ce}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(a,he,de){var ee=a("../internals/descriptors"),oe=a("../internals/function-call"),ne=a("../internals/object-property-is-enumerable"),te=a("../internals/create-property-descriptor"),se=a("../internals/to-indexed-object"),z=a("../internals/to-property-key"),x=a("../internals/has-own-property"),b=a("../internals/ie8-dom-define"),E=Object.getOwnPropertyDescriptor;de.f=ee?E:function(ae,le){if(ae=se(ae),le=z(le),b)try{return E(ae,le)}catch(fe){}if(x(ae,le))return te(!oe(ne.f,ae,le),ae[le])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(a,he,de){var ee=a("../internals/classof-raw"),oe=a("../internals/to-indexed-object"),ne=a("../internals/object-get-own-property-names").f,te=a("../internals/array-slice-simple"),se=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],z=function(x){try{return ne(x)}catch(b){return te(se)}};he.exports.f=function(b){return se&&ee(b)=="Window"?z(b):ne(oe(b))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(a,he,de){var ee=a("../internals/object-keys-internal"),oe=a("../internals/enum-bug-keys"),ne=oe.concat("length","prototype");de.f=Object.getOwnPropertyNames||function(se){return ee(se,ne)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(a,he,de){de.f=Object.getOwnPropertySymbols},{}],203:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/has-own-property"),ne=a("../internals/is-callable"),te=a("../internals/to-object"),se=a("../internals/shared-key"),z=a("../internals/correct-prototype-getter"),x=se("IE_PROTO"),b=ee.Object,E=b.prototype;he.exports=z?b.getPrototypeOf:function(re){var ae=te(re);if(oe(ae,x))return ae[x];var le=ae.constructor;return ne(le)&&ae instanceof le?le.prototype:ae instanceof b?E:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(a,he,de){var ee=a("../internals/function-uncurry-this");he.exports=ee({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=a("../internals/has-own-property"),ne=a("../internals/to-indexed-object"),te=a("../internals/array-includes").indexOf,se=a("../internals/hidden-keys"),z=ee([].push);he.exports=function(x,b){var E=ne(x),re=0,ae=[],le;for(le in E)!oe(se,le)&&oe(E,le)&&z(ae,le);for(;b.length>re;)oe(E,le=b[re++])&&(~te(ae,le)||z(ae,le));return ae}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(a,he,de){var ee=a("../internals/object-keys-internal"),oe=a("../internals/enum-bug-keys");he.exports=Object.keys||function(te){return ee(te,oe)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(a,he,de){"use strict";var ee={}.propertyIsEnumerable,oe=Object.getOwnPropertyDescriptor,ne=oe&&!ee.call({1:2},1);de.f=ne?function(se){var z=oe(this,se);return!!z&&z.enumerable}:ee},{}],208:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=a("../internals/an-object"),ne=a("../internals/a-possible-prototype");he.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var te=!1,se={},z;try{z=ee(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),z(se,[]),te=se instanceof Array}catch(x){}return function(b,E){return oe(b),ne(E),te?z(b,E):b.__proto__=E,b}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(a,he,de){var ee=a("../internals/descriptors"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/object-keys"),te=a("../internals/to-indexed-object"),se=a("../internals/object-property-is-enumerable").f,z=oe(se),x=oe([].push),b=function(E){return function(re){for(var ae=te(re),le=ne(ae),fe=le.length,ce=0,ue=[],ge;fe>ce;)ge=le[ce++],(!ee||z(ae,ge))&&x(ue,E?[ge,ae[ge]]:ae[ge]);return ue}};he.exports={entries:b(!0),values:b(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(a,he,de){"use strict";var ee=a("../internals/to-string-tag-support"),oe=a("../internals/classof");he.exports=ee?{}.toString:function(){return"[object "+oe(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/function-call"),ne=a("../internals/is-callable"),te=a("../internals/is-object"),se=ee.TypeError;he.exports=function(z,x){var b,E;if(x==="string"&&ne(b=z.toString)&&!te(E=oe(b,z))||ne(b=z.valueOf)&&!te(E=oe(b,z))||x!=="string"&&ne(b=z.toString)&&!te(E=oe(b,z)))return E;throw se("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(a,he,de){var ee=a("../internals/get-built-in"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/object-get-own-property-names"),te=a("../internals/object-get-own-property-symbols"),se=a("../internals/an-object"),z=oe([].concat);he.exports=ee("Reflect","ownKeys")||function(b){var E=ne.f(se(b)),re=te.f;return re?z(E,re(b)):E}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(a,he,de){var ee=a("../internals/global");he.exports=ee},{"../internals/global":163}],214:[function(a,he,de){he.exports=function(ee){try{return{error:!1,value:ee()}}catch(oe){return{error:!0,value:oe}}}},{}],215:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/promise-native-constructor"),ne=a("../internals/is-callable"),te=a("../internals/is-forced"),se=a("../internals/inspect-source"),z=a("../internals/well-known-symbol"),x=a("../internals/engine-is-browser"),b=a("../internals/is-pure"),E=a("../internals/engine-v8-version"),re=oe&&oe.prototype,ae=z("species"),le=!1,fe=ne(ee.PromiseRejectionEvent),ce=te("Promise",function(){var ue=se(oe),ge=ue!==String(oe);if(!ge&&E===66||b&&!(re.catch&&re.finally))return!0;if(E>=51&&/native code/.test(ue))return!1;var _e=new oe(function(ve){ve(1)}),we=function(ve){ve(function(){},function(){})},xe=_e.constructor={};return xe[ae]=we,le=_e.then(function(){})instanceof we,le?!ge&&x&&!fe:!0});he.exports={CONSTRUCTOR:ce,REJECTION_EVENT:fe,SUBCLASSING:le}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(a,he,de){var ee=a("../internals/global");he.exports=ee.Promise},{"../internals/global":163}],217:[function(a,he,de){var ee=a("../internals/an-object"),oe=a("../internals/is-object"),ne=a("../internals/new-promise-capability");he.exports=function(te,se){if(ee(te),oe(se)&&se.constructor===te)return se;var z=ne.f(te),x=z.resolve;return x(se),z.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(a,he,de){var ee=a("../internals/promise-native-constructor"),oe=a("../internals/check-correctness-of-iteration"),ne=a("../internals/promise-constructor-detection").CONSTRUCTOR;he.exports=ne||!oe(function(te){ee.all(te).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(a,he,de){var ee=a("../internals/object-define-property").f;he.exports=function(oe,ne,te){te in oe||ee(oe,te,{configurable:!0,get:function(){return ne[te]},set:function(se){ne[te]=se}})}},{"../internals/object-define-property":198}],220:[function(a,he,de){var ee=function(){this.head=null,this.tail=null};ee.prototype={add:function(oe){var ne={item:oe,next:null};this.head?this.tail.next=ne:this.head=ne,this.tail=ne},get:function(){var oe=this.head;if(oe)return this.head=oe.next,this.tail===oe&&(this.tail=null),oe.item}},he.exports=ee},{}],221:[function(a,he,de){var ee=a("../internals/redefine");he.exports=function(oe,ne,te){for(var se in ne)ee(oe,se,ne[se],te);return oe}},{"../internals/redefine":222}],222:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/is-callable"),ne=a("../internals/has-own-property"),te=a("../internals/create-non-enumerable-property"),se=a("../internals/set-global"),z=a("../internals/inspect-source"),x=a("../internals/internal-state"),b=a("../internals/function-name").CONFIGURABLE,E=x.get,re=x.enforce,ae=String(String).split("String");(he.exports=function(le,fe,ce,ue){var ge=ue?!!ue.unsafe:!1,_e=ue?!!ue.enumerable:!1,we=ue?!!ue.noTargetGet:!1,xe=ue&&ue.name!==void 0?ue.name:fe,ve;if(oe(ce)&&(String(xe).slice(0,7)==="Symbol("&&(xe="["+String(xe).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ne(ce,"name")||b&&ce.name!==xe)&&te(ce,"name",xe),ve=re(ce),ve.source||(ve.source=ae.join(typeof xe=="string"?xe:""))),le===ee){_e?le[fe]=ce:se(fe,ce);return}else ge?!we&&le[fe]&&(_e=!0):delete le[fe];_e?le[fe]=ce:te(le,fe,ce)})(Function.prototype,"toString",function(){return oe(this)&&E(this).source||z(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/function-call"),ne=a("../internals/an-object"),te=a("../internals/is-callable"),se=a("../internals/classof-raw"),z=a("../internals/regexp-exec"),x=ee.TypeError;he.exports=function(b,E){var re=b.exec;if(te(re)){var ae=oe(re,b,E);return ae!==null&&ne(ae),ae}if(se(b)==="RegExp")return oe(z,b,E);throw x("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(a,he,de){"use strict";var ee=a("../internals/function-call"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/to-string"),te=a("../internals/regexp-flags"),se=a("../internals/regexp-sticky-helpers"),z=a("../internals/shared"),x=a("../internals/object-create"),b=a("../internals/internal-state").get,E=a("../internals/regexp-unsupported-dot-all"),re=a("../internals/regexp-unsupported-ncg"),ae=z("native-string-replace",String.prototype.replace),le=RegExp.prototype.exec,fe=le,ce=oe("".charAt),ue=oe("".indexOf),ge=oe("".replace),_e=oe("".slice),we=function(){var be=/a/,Ae=/b*/g;return ee(le,be,"a"),ee(le,Ae,"a"),be.lastIndex!==0||Ae.lastIndex!==0}(),xe=se.BROKEN_CARET,ve=/()??/.exec("")[1]!==void 0,Se=we||ve||xe||E||re;Se&&(fe=function(Ae){var Te=this,je=b(Te),ke=ne(Ae),Pe=je.raw,Oe,He,Ge,tt,Me,We,it;if(Pe)return Pe.lastIndex=Te.lastIndex,Oe=ee(fe,Pe,ke),Te.lastIndex=Pe.lastIndex,Oe;var ut=je.groups,$e=xe&&Te.sticky,Je=ee(te,Te),Xe=Te.source,Qe=0,st=ke;if($e&&(Je=ge(Je,"y",""),ue(Je,"g")===-1&&(Je+="g"),st=_e(ke,Te.lastIndex),Te.lastIndex>0&&(!Te.multiline||Te.multiline&&ce(ke,Te.lastIndex-1)!==`
`)&&(Xe="(?: "+Xe+")",st=" "+st,Qe++),He=new RegExp("^(?:"+Xe+")",Je)),ve&&(He=new RegExp("^"+Xe+"$(?!\\s)",Je)),we&&(Ge=Te.lastIndex),tt=ee(le,$e?He:Te,st),$e?tt?(tt.input=_e(tt.input,Qe),tt[0]=_e(tt[0],Qe),tt.index=Te.lastIndex,Te.lastIndex+=tt[0].length):Te.lastIndex=0:we&&tt&&(Te.lastIndex=Te.global?tt.index+tt[0].length:Ge),ve&&tt&&tt.length>1&&ee(ae,tt[0],He,function(){for(Me=1;Me<arguments.length-2;Me++)arguments[Me]===void 0&&(tt[Me]=void 0)}),tt&&ut)for(tt.groups=We=x(null),Me=0;Me<ut.length;Me++)it=ut[Me],We[it[0]]=tt[it[1]];return tt}),he.exports=fe},{"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/internal-state":173,"../internals/object-create":196,"../internals/regexp-flags":225,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/shared":237,"../internals/to-string":256}],225:[function(a,he,de){"use strict";var ee=a("../internals/an-object");he.exports=function(){var oe=ee(this),ne="";return oe.hasIndices&&(ne+="d"),oe.global&&(ne+="g"),oe.ignoreCase&&(ne+="i"),oe.multiline&&(ne+="m"),oe.dotAll&&(ne+="s"),oe.unicode&&(ne+="u"),oe.sticky&&(ne+="y"),ne}},{"../internals/an-object":101}],226:[function(a,he,de){var ee=a("../internals/function-call"),oe=a("../internals/has-own-property"),ne=a("../internals/object-is-prototype-of"),te=a("../internals/regexp-flags"),se=RegExp.prototype;he.exports=function(z){var x=z.flags;return x===void 0&&!("flags"in se)&&!oe(z,"flags")&&ne(se,z)?ee(te,z):x}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(a,he,de){var ee=a("../internals/fails"),oe=a("../internals/global"),ne=oe.RegExp,te=ee(function(){var x=ne("a","y");return x.lastIndex=2,x.exec("abcd")!=null}),se=te||ee(function(){return!ne("a","y").sticky}),z=te||ee(function(){var x=ne("^r","gy");return x.lastIndex=2,x.exec("str")!=null});he.exports={BROKEN_CARET:z,MISSED_STICKY:se,UNSUPPORTED_Y:te}},{"../internals/fails":150,"../internals/global":163}],228:[function(a,he,de){var ee=a("../internals/fails"),oe=a("../internals/global"),ne=oe.RegExp;he.exports=ee(function(){var te=ne(".","s");return!(te.dotAll&&te.exec(`
`)&&te.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(a,he,de){var ee=a("../internals/fails"),oe=a("../internals/global"),ne=oe.RegExp;he.exports=ee(function(){var te=ne("(?<a>b)","g");return te.exec("b").groups.a!=="b"||"b".replace(te,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(a,he,de){var ee=a("../internals/global"),oe=ee.TypeError;he.exports=function(ne){if(ne==null)throw oe("Can't call method on "+ne);return ne}},{"../internals/global":163}],231:[function(a,he,de){he.exports=Object.is||function(oe,ne){return oe===ne?oe!==0||1/oe===1/ne:oe!=oe&&ne!=ne}},{}],232:[function(a,he,de){var ee=a("../internals/global"),oe=Object.defineProperty;he.exports=function(ne,te){try{oe(ee,ne,{value:te,configurable:!0,writable:!0})}catch(se){ee[ne]=te}return te}},{"../internals/global":163}],233:[function(a,he,de){"use strict";var ee=a("../internals/get-built-in"),oe=a("../internals/object-define-property"),ne=a("../internals/well-known-symbol"),te=a("../internals/descriptors"),se=ne("species");he.exports=function(z){var x=ee(z),b=oe.f;te&&x&&!x[se]&&b(x,se,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(a,he,de){var ee=a("../internals/object-define-property").f,oe=a("../internals/has-own-property"),ne=a("../internals/well-known-symbol"),te=ne("toStringTag");he.exports=function(se,z,x){se&&!x&&(se=se.prototype),se&&!oe(se,te)&&ee(se,te,{configurable:!0,value:z})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(a,he,de){var ee=a("../internals/shared"),oe=a("../internals/uid"),ne=ee("keys");he.exports=function(te){return ne[te]||(ne[te]=oe(te))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/set-global"),ne="__core-js_shared__",te=ee[ne]||oe(ne,{});he.exports=te},{"../internals/global":163,"../internals/set-global":232}],237:[function(a,he,de){var ee=a("../internals/is-pure"),oe=a("../internals/shared-store");(he.exports=function(ne,te){return oe[ne]||(oe[ne]=te!==void 0?te:{})})("versions",[]).push({version:"3.22.1",mode:ee?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(a,he,de){var ee=a("../internals/an-object"),oe=a("../internals/a-constructor"),ne=a("../internals/well-known-symbol"),te=ne("species");he.exports=function(se,z){var x=ee(se).constructor,b;return x===void 0||(b=ee(x)[te])==null?z:oe(b)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=a("../internals/to-integer-or-infinity"),ne=a("../internals/to-string"),te=a("../internals/require-object-coercible"),se=ee("".charAt),z=ee("".charCodeAt),x=ee("".slice),b=function(E){return function(re,ae){var le=ne(te(re)),fe=oe(ae),ce=le.length,ue,ge;return fe<0||fe>=ce?E?"":void 0:(ue=z(le,fe),ue<55296||ue>56319||fe+1===ce||(ge=z(le,fe+1))<56320||ge>57343?E?se(le,fe):ue:E?x(le,fe,fe+2):(ue-55296<<10)+(ge-56320)+65536)}};he.exports={codeAt:b(!1),charAt:b(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(a,he,de){var ee=a("../internals/function-name").PROPER,oe=a("../internals/fails"),ne=a("../internals/whitespaces"),te="\u200B\x85\u180E";he.exports=function(se){return oe(function(){return!!ne[se]()||te[se]()!==te||ee&&ne[se].name!==se})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=a("../internals/require-object-coercible"),ne=a("../internals/to-string"),te=a("../internals/whitespaces"),se=ee("".replace),z="["+te+"]",x=RegExp("^"+z+z+"*"),b=RegExp(z+z+"*$"),E=function(re){return function(ae){var le=ne(oe(ae));return re&1&&(le=se(le,x,"")),re&2&&(le=se(le,b,"")),le}};he.exports={start:E(1),end:E(2),trim:E(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(a,he,de){var ee=a("../internals/function-call"),oe=a("../internals/get-built-in"),ne=a("../internals/well-known-symbol"),te=a("../internals/redefine");he.exports=function(){var se=oe("Symbol"),z=se&&se.prototype,x=z&&z.valueOf,b=ne("toPrimitive");z&&!z[b]&&te(z,b,function(E){return ee(x,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/function-apply"),ne=a("../internals/function-bind-context"),te=a("../internals/is-callable"),se=a("../internals/has-own-property"),z=a("../internals/fails"),x=a("../internals/html"),b=a("../internals/array-slice"),E=a("../internals/document-create-element"),re=a("../internals/validate-arguments-length"),ae=a("../internals/engine-is-ios"),le=a("../internals/engine-is-node"),fe=ee.setImmediate,ce=ee.clearImmediate,ue=ee.process,ge=ee.Dispatch,_e=ee.Function,we=ee.MessageChannel,xe=ee.String,ve=0,Se={},be="onreadystatechange",Ae,Te,je,ke;try{Ae=ee.location}catch(tt){}var Pe=function(tt){if(se(Se,tt)){var Me=Se[tt];delete Se[tt],Me()}},Oe=function(tt){return function(){Pe(tt)}},He=function(tt){Pe(tt.data)},Ge=function(tt){ee.postMessage(xe(tt),Ae.protocol+"//"+Ae.host)};(!fe||!ce)&&(fe=function(Me){re(arguments.length,1);var We=te(Me)?Me:_e(Me),it=b(arguments,1);return Se[++ve]=function(){oe(We,void 0,it)},Te(ve),ve},ce=function(Me){delete Se[Me]},le?Te=function(tt){ue.nextTick(Oe(tt))}:ge&&ge.now?Te=function(tt){ge.now(Oe(tt))}:we&&!ae?(je=new we,ke=je.port2,je.port1.onmessage=He,Te=ne(ke.postMessage,ke)):ee.addEventListener&&te(ee.postMessage)&&!ee.importScripts&&Ae&&Ae.protocol!=="file:"&&!z(Ge)?(Te=Ge,ee.addEventListener("message",He,!1)):be in E("script")?Te=function(tt){x.appendChild(E("script"))[be]=function(){x.removeChild(this),Pe(tt)}}:Te=function(tt){setTimeout(Oe(tt),0)}),he.exports={set:fe,clear:ce}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(a,he,de){var ee=a("../internals/function-uncurry-this");he.exports=ee(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(a,he,de){var ee=a("../internals/to-integer-or-infinity"),oe=Math.max,ne=Math.min;he.exports=function(te,se){var z=ee(te);return z<0?oe(z+se,0):ne(z,se)}},{"../internals/to-integer-or-infinity":248}],246:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/to-integer-or-infinity"),ne=a("../internals/to-length"),te=ee.RangeError;he.exports=function(se){if(se===void 0)return 0;var z=oe(se),x=ne(z);if(z!==x)throw te("Wrong length or index");return x}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(a,he,de){var ee=a("../internals/indexed-object"),oe=a("../internals/require-object-coercible");he.exports=function(ne){return ee(oe(ne))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(a,he,de){var ee=Math.ceil,oe=Math.floor;he.exports=function(ne){var te=+ne;return te!==te||te===0?0:(te>0?oe:ee)(te)}},{}],249:[function(a,he,de){var ee=a("../internals/to-integer-or-infinity"),oe=Math.min;he.exports=function(ne){return ne>0?oe(ee(ne),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/require-object-coercible"),ne=ee.Object;he.exports=function(te){return ne(oe(te))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/to-positive-integer"),ne=ee.RangeError;he.exports=function(te,se){var z=oe(te);if(z%se)throw ne("Wrong offset");return z}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/to-integer-or-infinity"),ne=ee.RangeError;he.exports=function(te){var se=oe(te);if(se<0)throw ne("The argument can't be less than 0");return se}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/function-call"),ne=a("../internals/is-object"),te=a("../internals/is-symbol"),se=a("../internals/get-method"),z=a("../internals/ordinary-to-primitive"),x=a("../internals/well-known-symbol"),b=ee.TypeError,E=x("toPrimitive");he.exports=function(re,ae){if(!ne(re)||te(re))return re;var le=se(re,E),fe;if(le){if(ae===void 0&&(ae="default"),fe=oe(le,re,ae),!ne(fe)||te(fe))return fe;throw b("Can't convert object to primitive value")}return ae===void 0&&(ae="number"),z(re,ae)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(a,he,de){var ee=a("../internals/to-primitive"),oe=a("../internals/is-symbol");he.exports=function(ne){var te=ee(ne,"string");return oe(te)?te:te+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(a,he,de){var ee=a("../internals/well-known-symbol"),oe=ee("toStringTag"),ne={};ne[oe]="z",he.exports=String(ne)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/classof"),ne=ee.String;he.exports=function(te){if(oe(te)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ne(te)}},{"../internals/classof":124,"../internals/global":163}],257:[function(a,he,de){var ee=a("../internals/global"),oe=ee.String;he.exports=function(ne){try{return oe(ne)}catch(te){return"Object"}}},{"../internals/global":163}],258:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/global"),ne=a("../internals/function-call"),te=a("../internals/descriptors"),se=a("../internals/typed-array-constructors-require-wrappers"),z=a("../internals/array-buffer-view-core"),x=a("../internals/array-buffer"),b=a("../internals/an-instance"),E=a("../internals/create-property-descriptor"),re=a("../internals/create-non-enumerable-property"),ae=a("../internals/is-integral-number"),le=a("../internals/to-length"),fe=a("../internals/to-index"),ce=a("../internals/to-offset"),ue=a("../internals/to-property-key"),ge=a("../internals/has-own-property"),_e=a("../internals/classof"),we=a("../internals/is-object"),xe=a("../internals/is-symbol"),ve=a("../internals/object-create"),Se=a("../internals/object-is-prototype-of"),be=a("../internals/object-set-prototype-of"),Ae=a("../internals/object-get-own-property-names").f,Te=a("../internals/typed-array-from"),je=a("../internals/array-iteration").forEach,ke=a("../internals/set-species"),Pe=a("../internals/object-define-property"),Oe=a("../internals/object-get-own-property-descriptor"),He=a("../internals/internal-state"),Ge=a("../internals/inherit-if-required"),tt=He.get,Me=He.set,We=Pe.f,it=Oe.f,ut=Math.round,$e=oe.RangeError,Je=x.ArrayBuffer,Xe=Je.prototype,Qe=x.DataView,st=z.NATIVE_ARRAY_BUFFER_VIEWS,rt=z.TYPED_ARRAY_CONSTRUCTOR,pt=z.TYPED_ARRAY_TAG,ft=z.TypedArray,qe=z.TypedArrayPrototype,Ie=z.aTypedArrayConstructor,at=z.isTypedArray,Be="BYTES_PER_ELEMENT",et="Wrong length",vt=function(ot,Ue){Ie(ot);for(var Le=0,De=Ue.length,Ze=new ot(De);De>Le;)Ze[Le]=Ue[Le++];return Ze},gt=function(ot,Ue){We(ot,Ue,{get:function(){return tt(this)[Ue]}})},dt=function(ot){var Ue;return Se(Xe,ot)||(Ue=_e(ot))=="ArrayBuffer"||Ue=="SharedArrayBuffer"},Ve=function(ot,Ue){return at(ot)&&!xe(Ue)&&Ue in ot&&ae(+Ue)&&Ue>=0},Ne=function(Ue,Le){return Le=ue(Le),Ve(Ue,Le)?E(2,Ue[Le]):it(Ue,Le)},Ye=function(Ue,Le,De){return Le=ue(Le),Ve(Ue,Le)&&we(De)&&ge(De,"value")&&!ge(De,"get")&&!ge(De,"set")&&!De.configurable&&(!ge(De,"writable")||De.writable)&&(!ge(De,"enumerable")||De.enumerable)?(Ue[Le]=De.value,Ue):We(Ue,Le,De)};te?(st||(Oe.f=Ne,Pe.f=Ye,gt(qe,"buffer"),gt(qe,"byteOffset"),gt(qe,"byteLength"),gt(qe,"length")),ee({target:"Object",stat:!0,forced:!st},{getOwnPropertyDescriptor:Ne,defineProperty:Ye}),he.exports=function(ot,Ue,Le){var De=ot.match(/\d+$/)[0]/8,Ze=ot+(Le?"Clamped":"")+"Array",lt="get"+ot,Fe="set"+ot,yt=oe[Ze],xt=yt,jt=xt&&xt.prototype,Tt={},wt=function(Wt,Qt){var dr=tt(Wt);return dr.view[lt](Qt*De+dr.byteOffset,!0)},It=function(Wt,Qt,dr){var lr=tt(Wt);Le&&(dr=(dr=ut(dr))<0?0:dr>255?255:dr&255),lr.view[Fe](Qt*De+lr.byteOffset,dr,!0)},Bt=function(Wt,Qt){We(Wt,Qt,{get:function(){return wt(this,Qt)},set:function(dr){return It(this,Qt,dr)},enumerable:!0})};st?se&&(xt=Ue(function(Wt,Qt,dr,lr){return b(Wt,jt),Ge(function(){return we(Qt)?dt(Qt)?lr!==void 0?new yt(Qt,ce(dr,De),lr):dr!==void 0?new yt(Qt,ce(dr,De)):new yt(Qt):at(Qt)?vt(xt,Qt):ne(Te,xt,Qt):new yt(fe(Qt))}(),Wt,xt)}),be&&be(xt,ft),je(Ae(yt),function(Wt){Wt in xt||re(xt,Wt,yt[Wt])}),xt.prototype=jt):(xt=Ue(function(Wt,Qt,dr,lr){b(Wt,jt);var Or=0,Yr=0,rn,zr,Wr;if(!we(Qt))Wr=fe(Qt),zr=Wr*De,rn=new Je(zr);else if(dt(Qt)){rn=Qt,Yr=ce(dr,De);var sn=Qt.byteLength;if(lr===void 0){if(sn%De||(zr=sn-Yr,zr<0))throw $e(et)}else if(zr=le(lr)*De,zr+Yr>sn)throw $e(et);Wr=zr/De}else return at(Qt)?vt(xt,Qt):ne(Te,xt,Qt);for(Me(Wt,{buffer:rn,byteOffset:Yr,byteLength:zr,length:Wr,view:new Qe(rn)});Or<Wr;)Bt(Wt,Or++)}),be&&be(xt,ft),jt=xt.prototype=ve(qe)),jt.constructor!==xt&&re(jt,"constructor",xt),re(jt,rt,xt),pt&&re(jt,pt,Ze),Tt[Ze]=xt,ee({global:!0,forced:xt!=yt,sham:!st},Tt),Be in xt||re(xt,Be,De),Be in jt||re(jt,Be,De),ke(Ze)}):he.exports=function(){}},{"../internals/an-instance":100,"../internals/array-buffer":104,"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-integral-number":179,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/object-create":196,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/set-species":233,"../internals/to-index":246,"../internals/to-length":249,"../internals/to-offset":251,"../internals/to-property-key":254,"../internals/typed-array-constructors-require-wrappers":259,"../internals/typed-array-from":261}],259:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/fails"),ne=a("../internals/check-correctness-of-iteration"),te=a("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,se=ee.ArrayBuffer,z=ee.Int8Array;he.exports=!te||!oe(function(){z(1)})||!oe(function(){new z(-1)})||!ne(function(x){new z,new z(null),new z(1.5),new z(x)},!0)||oe(function(){return new z(new se(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(a,he,de){var ee=a("../internals/array-from-constructor-and-list"),oe=a("../internals/typed-array-species-constructor");he.exports=function(ne,te){return ee(oe(ne),te)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(a,he,de){var ee=a("../internals/function-bind-context"),oe=a("../internals/function-call"),ne=a("../internals/a-constructor"),te=a("../internals/to-object"),se=a("../internals/length-of-array-like"),z=a("../internals/get-iterator"),x=a("../internals/get-iterator-method"),b=a("../internals/is-array-iterator-method"),E=a("../internals/array-buffer-view-core").aTypedArrayConstructor;he.exports=function(ae){var le=ne(this),fe=te(ae),ce=arguments.length,ue=ce>1?arguments[1]:void 0,ge=ue!==void 0,_e=x(fe),we,xe,ve,Se,be,Ae;if(_e&&!b(_e))for(be=z(fe,_e),Ae=be.next,fe=[];!(Se=oe(Ae,be)).done;)fe.push(Se.value);for(ge&&ce>2&&(ue=ee(ue,arguments[2])),xe=se(fe),ve=new(E(le))(xe),we=0;xe>we;we++)ve[we]=ge?ue(fe[we],we):fe[we];return ve}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(a,he,de){var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/species-constructor"),ne=ee.TYPED_ARRAY_CONSTRUCTOR,te=ee.aTypedArrayConstructor;he.exports=function(se){return te(oe(se,se[ne]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(a,he,de){var ee=a("../internals/function-uncurry-this"),oe=0,ne=Math.random(),te=ee(1 .toString);he.exports=function(se){return"Symbol("+(se===void 0?"":se)+")_"+te(++oe+ne,36)}},{"../internals/function-uncurry-this":157}],264:[function(a,he,de){var ee=a("../internals/native-symbol");he.exports=ee&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(a,he,de){var ee=a("../internals/descriptors"),oe=a("../internals/fails");he.exports=ee&&oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(a,he,de){var ee=a("../internals/global"),oe=ee.TypeError;he.exports=function(ne,te){if(ne<te)throw oe("Not enough arguments");return ne}},{"../internals/global":163}],267:[function(a,he,de){var ee=a("../internals/well-known-symbol");de.f=ee},{"../internals/well-known-symbol":268}],268:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/shared"),ne=a("../internals/has-own-property"),te=a("../internals/uid"),se=a("../internals/native-symbol"),z=a("../internals/use-symbol-as-uid"),x=oe("wks"),b=ee.Symbol,E=b&&b.for,re=z?b:b&&b.withoutSetter||te;he.exports=function(ae){if(!ne(x,ae)||!(se||typeof x[ae]=="string")){var le="Symbol."+ae;se&&ne(b,ae)?x[ae]=b[ae]:z&&E?x[ae]=E(le):x[ae]=re(le)}return x[ae]}},{"../internals/global":163,"../internals/has-own-property":164,"../internals/native-symbol":191,"../internals/shared":237,"../internals/uid":263,"../internals/use-symbol-as-uid":264}],269:[function(a,he,de){he.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],270:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/global"),ne=a("../internals/array-buffer"),te=a("../internals/set-species"),se="ArrayBuffer",z=ne[se],x=oe[se];ee({global:!0,forced:x!==z},{ArrayBuffer:z}),te(se)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/fails"),te=a("../internals/array-buffer"),se=a("../internals/an-object"),z=a("../internals/to-absolute-index"),x=a("../internals/to-length"),b=a("../internals/species-constructor"),E=te.ArrayBuffer,re=te.DataView,ae=re.prototype,le=oe(E.prototype.slice),fe=oe(ae.getUint8),ce=oe(ae.setUint8),ue=ne(function(){return!new E(2).slice(1,void 0).byteLength});ee({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:ue},{slice:function(_e,we){if(le&&we===void 0)return le(se(this),_e);for(var xe=se(this).byteLength,ve=z(_e,xe),Se=z(we===void 0?xe:we,xe),be=new(b(this,E))(x(Se-ve)),Ae=new re(this),Te=new re(be),je=0;ve<Se;)ce(Te,je++,fe(Ae,ve++));return be}})},{"../internals/an-object":101,"../internals/array-buffer":104,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/species-constructor":238,"../internals/to-absolute-index":245,"../internals/to-length":249}],272:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/global"),ne=a("../internals/fails"),te=a("../internals/is-array"),se=a("../internals/is-object"),z=a("../internals/to-object"),x=a("../internals/length-of-array-like"),b=a("../internals/create-property"),E=a("../internals/array-species-create"),re=a("../internals/array-method-has-species-support"),ae=a("../internals/well-known-symbol"),le=a("../internals/engine-v8-version"),fe=ae("isConcatSpreadable"),ce=9007199254740991,ue="Maximum allowed index exceeded",ge=oe.TypeError,_e=le>=51||!ne(function(){var Se=[];return Se[fe]=!1,Se.concat()[0]!==Se}),we=re("concat"),xe=function(Se){if(!se(Se))return!1;var be=Se[fe];return be!==void 0?!!be:te(Se)},ve=!_e||!we;ee({target:"Array",proto:!0,forced:ve},{concat:function(be){var Ae=z(this),Te=E(Ae,0),je=0,ke,Pe,Oe,He,Ge;for(ke=-1,Oe=arguments.length;ke<Oe;ke++)if(Ge=ke===-1?Ae:arguments[ke],xe(Ge)){if(He=x(Ge),je+He>ce)throw ge(ue);for(Pe=0;Pe<He;Pe++,je++)Pe in Ge&&b(Te,je,Ge[Pe])}else{if(je>=ce)throw ge(ue);b(Te,je++,Ge)}return Te.length=je,Te}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(a,he,de){var ee=a("../internals/export"),oe=a("../internals/array-fill"),ne=a("../internals/add-to-unscopables");ee({target:"Array",proto:!0},{fill:oe}),ne("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/array-iteration").filter,ne=a("../internals/array-method-has-species-support"),te=ne("filter");ee({target:"Array",proto:!0,forced:!te},{filter:function(z){return oe(this,z,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/array-iteration").find,ne=a("../internals/add-to-unscopables"),te="find",se=!0;te in[]&&Array(1)[te](function(){se=!1}),ee({target:"Array",proto:!0,forced:se},{find:function(x){return oe(this,x,arguments.length>1?arguments[1]:void 0)}}),ne(te)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(a,he,de){var ee=a("../internals/export"),oe=a("../internals/array-from"),ne=a("../internals/check-correctness-of-iteration"),te=!ne(function(se){Array.from(se)});ee({target:"Array",stat:!0,forced:te},{from:oe})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/array-includes").includes,ne=a("../internals/add-to-unscopables");ee({target:"Array",proto:!0},{includes:function(se){return oe(this,se,arguments.length>1?arguments[1]:void 0)}}),ne("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(a,he,de){"use strict";var ee=a("../internals/to-indexed-object"),oe=a("../internals/add-to-unscopables"),ne=a("../internals/iterators"),te=a("../internals/internal-state"),se=a("../internals/object-define-property").f,z=a("../internals/define-iterator"),x=a("../internals/is-pure"),b=a("../internals/descriptors"),E="Array Iterator",re=te.set,ae=te.getterFor(E);he.exports=z(Array,"Array",function(fe,ce){re(this,{type:E,target:ee(fe),index:0,kind:ce})},function(){var fe=ae(this),ce=fe.target,ue=fe.kind,ge=fe.index++;return!ce||ge>=ce.length?(fe.target=void 0,{value:void 0,done:!0}):ue=="keys"?{value:ge,done:!1}:ue=="values"?{value:ce[ge],done:!1}:{value:[ge,ce[ge]],done:!1}},"values");var le=ne.Arguments=ne.Array;if(oe("keys"),oe("values"),oe("entries"),!x&&b&&le.name!=="values")try{se(le,"name",{value:"values"})}catch(fe){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/indexed-object"),te=a("../internals/to-indexed-object"),se=a("../internals/array-method-is-strict"),z=oe([].join),x=ne!=Object,b=se("join",",");ee({target:"Array",proto:!0,forced:x||!b},{join:function(re){return z(te(this),re===void 0?",":re)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/array-iteration").map,ne=a("../internals/array-method-has-species-support"),te=ne("map");ee({target:"Array",proto:!0,forced:!te},{map:function(z){return oe(this,z,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/global"),ne=a("../internals/is-array"),te=a("../internals/is-constructor"),se=a("../internals/is-object"),z=a("../internals/to-absolute-index"),x=a("../internals/length-of-array-like"),b=a("../internals/to-indexed-object"),E=a("../internals/create-property"),re=a("../internals/well-known-symbol"),ae=a("../internals/array-method-has-species-support"),le=a("../internals/array-slice"),fe=ae("slice"),ce=re("species"),ue=oe.Array,ge=Math.max;ee({target:"Array",proto:!0,forced:!fe},{slice:function(we,xe){var ve=b(this),Se=x(ve),be=z(we,Se),Ae=z(xe===void 0?Se:xe,Se),Te,je,ke;if(ne(ve)&&(Te=ve.constructor,te(Te)&&(Te===ue||ne(Te.prototype))?Te=void 0:se(Te)&&(Te=Te[ce],Te===null&&(Te=void 0)),Te===ue||Te===void 0))return le(ve,be,Ae);for(je=new(Te===void 0?ue:Te)(ge(Ae-be,0)),ke=0;be<Ae;be++,ke++)be in ve&&E(je,ke,ve[be]);return je.length=ke,je}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/a-callable"),te=a("../internals/to-object"),se=a("../internals/length-of-array-like"),z=a("../internals/to-string"),x=a("../internals/fails"),b=a("../internals/array-sort"),E=a("../internals/array-method-is-strict"),re=a("../internals/engine-ff-version"),ae=a("../internals/engine-is-ie-or-edge"),le=a("../internals/engine-v8-version"),fe=a("../internals/engine-webkit-version"),ce=[],ue=oe(ce.sort),ge=oe(ce.push),_e=x(function(){ce.sort(void 0)}),we=x(function(){ce.sort(null)}),xe=E("sort"),ve=!x(function(){if(le)return le<70;if(!(re&&re>3)){if(ae)return!0;if(fe)return fe<603;var Ae="",Te,je,ke,Pe;for(Te=65;Te<76;Te++){switch(je=String.fromCharCode(Te),Te){case 66:case 69:case 70:case 72:ke=3;break;case 68:case 71:ke=4;break;default:ke=2}for(Pe=0;Pe<47;Pe++)ce.push({k:je+Pe,v:ke})}for(ce.sort(function(Oe,He){return He.v-Oe.v}),Pe=0;Pe<ce.length;Pe++)je=ce[Pe].k.charAt(0),Ae.charAt(Ae.length-1)!==je&&(Ae+=je);return Ae!=="DGBEFHACIJK"}}),Se=_e||!we||!xe||!ve,be=function(Ae){return function(Te,je){return je===void 0?-1:Te===void 0?1:Ae!==void 0?+Ae(Te,je)||0:z(Te)>z(je)?1:-1}};ee({target:"Array",proto:!0,forced:Se},{sort:function(Te){Te!==void 0&&ne(Te);var je=te(this);if(ve)return Te===void 0?ue(je):ue(je,Te);var ke=[],Pe=se(je),Oe,He;for(He=0;He<Pe;He++)He in je&&ge(ke,je[He]);for(b(ke,be(Te)),Oe=ke.length,He=0;He<Oe;)je[He]=ke[He++];for(;He<Pe;)delete je[He++];return je}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/global"),ne=a("../internals/to-absolute-index"),te=a("../internals/to-integer-or-infinity"),se=a("../internals/length-of-array-like"),z=a("../internals/to-object"),x=a("../internals/array-species-create"),b=a("../internals/create-property"),E=a("../internals/array-method-has-species-support"),re=E("splice"),ae=oe.TypeError,le=Math.max,fe=Math.min,ce=9007199254740991,ue="Maximum allowed length exceeded";ee({target:"Array",proto:!0,forced:!re},{splice:function(_e,we){var xe=z(this),ve=se(xe),Se=ne(_e,ve),be=arguments.length,Ae,Te,je,ke,Pe,Oe;if(be===0?Ae=Te=0:be===1?(Ae=0,Te=ve-Se):(Ae=be-2,Te=fe(le(te(we),0),ve-Se)),ve+Ae-Te>ce)throw ae(ue);for(je=x(xe,Te),ke=0;ke<Te;ke++)Pe=Se+ke,Pe in xe&&b(je,ke,xe[Pe]);if(je.length=Te,Ae<Te){for(ke=Se;ke<ve-Te;ke++)Pe=ke+Te,Oe=ke+Ae,Pe in xe?xe[Oe]=xe[Pe]:delete xe[Oe];for(ke=ve;ke>ve-Te+Ae;ke--)delete xe[ke-1]}else if(Ae>Te)for(ke=ve-Te;ke>Se;ke--)Pe=ke+Te-1,Oe=ke+Ae-1,Pe in xe?xe[Oe]=xe[Pe]:delete xe[Oe];for(ke=0;ke<Ae;ke++)xe[ke+Se]=arguments[ke+2];return xe.length=ve-Te+Ae,je}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(a,he,de){var ee=a("../internals/descriptors"),oe=a("../internals/function-name").EXISTS,ne=a("../internals/function-uncurry-this"),te=a("../internals/object-define-property").f,se=Function.prototype,z=ne(se.toString),x=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,b=ne(x.exec),E="name";ee&&!oe&&te(se,E,{configurable:!0,get:function(){try{return b(x,z(this))[1]}catch(re){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(a,he,de){var ee=a("../internals/export"),oe=a("../internals/get-built-in"),ne=a("../internals/function-apply"),te=a("../internals/function-call"),se=a("../internals/function-uncurry-this"),z=a("../internals/fails"),x=a("../internals/is-array"),b=a("../internals/is-callable"),E=a("../internals/is-object"),re=a("../internals/is-symbol"),ae=a("../internals/array-slice"),le=a("../internals/native-symbol"),fe=oe("JSON","stringify"),ce=se(/./.exec),ue=se("".charAt),ge=se("".charCodeAt),_e=se("".replace),we=se(1 .toString),xe=/[\uD800-\uDFFF]/g,ve=/^[\uD800-\uDBFF]$/,Se=/^[\uDC00-\uDFFF]$/,be=!le||z(function(){var ke=oe("Symbol")();return fe([ke])!="[null]"||fe({a:ke})!="{}"||fe(Object(ke))!="{}"}),Ae=z(function(){return fe("\uDF06\uD834")!=='"\\udf06\\ud834"'||fe("\uDEAD")!=='"\\udead"'}),Te=function(ke,Pe){var Oe=ae(arguments),He=Pe;if(!(!E(Pe)&&ke===void 0||re(ke)))return x(Pe)||(Pe=function(Ge,tt){if(b(He)&&(tt=te(He,this,Ge,tt)),!re(tt))return tt}),Oe[1]=Pe,ne(fe,null,Oe)},je=function(ke,Pe,Oe){var He=ue(Oe,Pe-1),Ge=ue(Oe,Pe+1);return ce(ve,ke)&&!ce(Se,Ge)||ce(Se,ke)&&!ce(ve,He)?"\\u"+we(ge(ke,0),16):ke};fe&&ee({target:"JSON",stat:!0,forced:be||Ae},{stringify:function(Pe,Oe,He){var Ge=ae(arguments),tt=ne(be?Te:fe,null,Ge);return Ae&&typeof tt=="string"?_e(tt,xe,je):tt}})},{"../internals/array-slice":117,"../internals/export":149,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/is-array":175,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/native-symbol":191}],286:[function(a,he,de){"use strict";var ee=a("../internals/descriptors"),oe=a("../internals/global"),ne=a("../internals/function-uncurry-this"),te=a("../internals/is-forced"),se=a("../internals/redefine"),z=a("../internals/has-own-property"),x=a("../internals/inherit-if-required"),b=a("../internals/object-is-prototype-of"),E=a("../internals/is-symbol"),re=a("../internals/to-primitive"),ae=a("../internals/fails"),le=a("../internals/object-get-own-property-names").f,fe=a("../internals/object-get-own-property-descriptor").f,ce=a("../internals/object-define-property").f,ue=a("../internals/this-number-value"),ge=a("../internals/string-trim").trim,_e="Number",we=oe[_e],xe=we.prototype,ve=oe.TypeError,Se=ne("".slice),be=ne("".charCodeAt),Ae=function(He){var Ge=re(He,"number");return typeof Ge=="bigint"?Ge:Te(Ge)},Te=function(He){var Ge=re(He,"number"),tt,Me,We,it,ut,$e,Je,Xe;if(E(Ge))throw ve("Cannot convert a Symbol value to a number");if(typeof Ge=="string"&&Ge.length>2){if(Ge=ge(Ge),tt=be(Ge,0),tt===43||tt===45){if(Me=be(Ge,2),Me===88||Me===120)return NaN}else if(tt===48){switch(be(Ge,1)){case 66:case 98:We=2,it=49;break;case 79:case 111:We=8,it=55;break;default:return+Ge}for(ut=Se(Ge,2),$e=ut.length,Je=0;Je<$e;Je++)if(Xe=be(ut,Je),Xe<48||Xe>it)return NaN;return parseInt(ut,We)}}return+Ge};if(te(_e,!we(" 0o1")||!we("0b1")||we("+0x1"))){for(var je=function(Ge){var tt=arguments.length<1?0:we(Ae(Ge)),Me=this;return b(xe,Me)&&ae(function(){ue(Me)})?x(Object(tt),Me,je):tt},ke=ee?le(we):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Pe=0,Oe;ke.length>Pe;Pe++)z(we,Oe=ke[Pe])&&!z(je,Oe)&&ce(je,Oe,fe(we,Oe));je.prototype=xe,xe.constructor=je,se(oe,_e,je)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(a,he,de){var ee=a("../internals/export"),oe=a("../internals/object-assign");ee({target:"Object",stat:!0,forced:Object.assign!==oe},{assign:oe})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(a,he,de){var ee=a("../internals/export"),oe=a("../internals/object-to-array").entries;ee({target:"Object",stat:!0},{entries:function(te){return oe(te)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(a,he,de){var ee=a("../internals/export"),oe=a("../internals/native-symbol"),ne=a("../internals/fails"),te=a("../internals/object-get-own-property-symbols"),se=a("../internals/to-object"),z=!oe||ne(function(){te.f(1)});ee({target:"Object",stat:!0,forced:z},{getOwnPropertySymbols:function(b){var E=te.f;return E?E(se(b)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(a,he,de){var ee=a("../internals/export"),oe=a("../internals/to-object"),ne=a("../internals/object-keys"),te=a("../internals/fails"),se=te(function(){ne(1)});ee({target:"Object",stat:!0,forced:se},{keys:function(x){return ne(oe(x))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(a,he,de){var ee=a("../internals/to-string-tag-support"),oe=a("../internals/redefine"),ne=a("../internals/object-to-string");ee||oe(Object.prototype,"toString",ne,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/function-call"),ne=a("../internals/a-callable"),te=a("../internals/new-promise-capability"),se=a("../internals/perform"),z=a("../internals/iterate"),x=a("../internals/promise-statics-incorrect-iteration");ee({target:"Promise",stat:!0,forced:x},{all:function(E){var re=this,ae=te.f(re),le=ae.resolve,fe=ae.reject,ce=se(function(){var ue=ne(re.resolve),ge=[],_e=0,we=1;z(E,function(xe){var ve=_e++,Se=!1;we++,oe(ue,re,xe).then(function(be){Se||(Se=!0,ge[ve]=be,--we||le(ge))},fe)}),--we||le(ge)});return ce.error&&fe(ce.value),ae.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/is-pure"),ne=a("../internals/promise-constructor-detection").CONSTRUCTOR,te=a("../internals/promise-native-constructor"),se=a("../internals/get-built-in"),z=a("../internals/is-callable"),x=a("../internals/redefine"),b=te&&te.prototype;if(ee({target:"Promise",proto:!0,forced:ne,real:!0},{catch:function(re){return this.then(void 0,re)}}),!oe&&z(te)){var E=se("Promise").prototype.catch;b.catch!==E&&x(b,"catch",E,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/is-pure"),ne=a("../internals/engine-is-node"),te=a("../internals/global"),se=a("../internals/function-call"),z=a("../internals/redefine"),x=a("../internals/redefine-all"),b=a("../internals/object-set-prototype-of"),E=a("../internals/set-to-string-tag"),re=a("../internals/set-species"),ae=a("../internals/a-callable"),le=a("../internals/is-callable"),fe=a("../internals/is-object"),ce=a("../internals/an-instance"),ue=a("../internals/species-constructor"),ge=a("../internals/task").set,_e=a("../internals/microtask"),we=a("../internals/host-report-errors"),xe=a("../internals/perform"),ve=a("../internals/queue"),Se=a("../internals/internal-state"),be=a("../internals/promise-native-constructor"),Ae=a("../internals/promise-constructor-detection"),Te=a("../internals/new-promise-capability"),je="Promise",ke=Ae.CONSTRUCTOR,Pe=Ae.REJECTION_EVENT,Oe=Ae.SUBCLASSING,He=Se.getterFor(je),Ge=Se.set,tt=be&&be.prototype,Me=be,We=tt,it=te.TypeError,ut=te.document,$e=te.process,Je=Te.f,Xe=Je,Qe=!!(ut&&ut.createEvent&&te.dispatchEvent),st="unhandledrejection",rt="rejectionhandled",pt=0,ft=1,qe=2,Ie=1,at=2,Be,et,vt,gt,dt=function(Fe){var yt;return fe(Fe)&&le(yt=Fe.then)?yt:!1},Ve=function(Fe,yt){var xt=yt.value,jt=yt.state==ft,Tt=jt?Fe.ok:Fe.fail,wt=Fe.resolve,It=Fe.reject,Bt=Fe.domain,Wt,Qt,dr;try{Tt?(jt||(yt.rejection===at&&Le(yt),yt.rejection=Ie),Tt===!0?Wt=xt:(Bt&&Bt.enter(),Wt=Tt(xt),Bt&&(Bt.exit(),dr=!0)),Wt===Fe.promise?It(it("Promise-chain cycle")):(Qt=dt(Wt))?se(Qt,Wt,wt,It):wt(Wt)):It(xt)}catch(lr){Bt&&!dr&&Bt.exit(),It(lr)}},Ne=function(Fe,yt){Fe.notified||(Fe.notified=!0,_e(function(){for(var xt=Fe.reactions,jt;jt=xt.get();)Ve(jt,Fe);Fe.notified=!1,yt&&!Fe.rejection&&ot(Fe)}))},Ye=function(Fe,yt,xt){var jt,Tt;Qe?(jt=ut.createEvent("Event"),jt.promise=yt,jt.reason=xt,jt.initEvent(Fe,!1,!0),te.dispatchEvent(jt)):jt={promise:yt,reason:xt},!Pe&&(Tt=te["on"+Fe])?Tt(jt):Fe===st&&we("Unhandled promise rejection",xt)},ot=function(Fe){se(ge,te,function(){var yt=Fe.facade,xt=Fe.value,jt=Ue(Fe),Tt;if(jt&&(Tt=xe(function(){ne?$e.emit("unhandledRejection",xt,yt):Ye(st,yt,xt)}),Fe.rejection=ne||Ue(Fe)?at:Ie,Tt.error))throw Tt.value})},Ue=function(Fe){return Fe.rejection!==Ie&&!Fe.parent},Le=function(Fe){se(ge,te,function(){var yt=Fe.facade;ne?$e.emit("rejectionHandled",yt):Ye(rt,yt,Fe.value)})},De=function(Fe,yt,xt){return function(jt){Fe(yt,jt,xt)}},Ze=function(Fe,yt,xt){Fe.done||(Fe.done=!0,xt&&(Fe=xt),Fe.value=yt,Fe.state=qe,Ne(Fe,!0))},lt=function(Fe,yt,xt){if(!Fe.done){Fe.done=!0,xt&&(Fe=xt);try{if(Fe.facade===yt)throw it("Promise can't be resolved itself");var jt=dt(yt);jt?_e(function(){var Tt={done:!1};try{se(jt,yt,De(lt,Tt,Fe),De(Ze,Tt,Fe))}catch(wt){Ze(Tt,wt,Fe)}}):(Fe.value=yt,Fe.state=ft,Ne(Fe,!1))}catch(Tt){Ze({done:!1},Tt,Fe)}}};if(ke&&(Me=function(yt){ce(this,We),ae(yt),se(Be,this);var xt=He(this);try{yt(De(lt,xt),De(Ze,xt))}catch(jt){Ze(xt,jt)}},We=Me.prototype,Be=function(yt){Ge(this,{type:je,done:!1,notified:!1,parent:!1,reactions:new ve,rejection:!1,state:pt,value:void 0})},Be.prototype=x(We,{then:function(yt,xt){var jt=He(this),Tt=Je(ue(this,Me));return jt.parent=!0,Tt.ok=le(yt)?yt:!0,Tt.fail=le(xt)&&xt,Tt.domain=ne?$e.domain:void 0,jt.state==pt?jt.reactions.add(Tt):_e(function(){Ve(Tt,jt)}),Tt.promise}}),et=function(){var Fe=new Be,yt=He(Fe);this.promise=Fe,this.resolve=De(lt,yt),this.reject=De(Ze,yt)},Te.f=Je=function(Fe){return Fe===Me||Fe===vt?new et(Fe):Xe(Fe)},!oe&&le(be)&&tt!==Object.prototype)){gt=tt.then,Oe||z(tt,"then",function(yt,xt){var jt=this;return new Me(function(Tt,wt){se(gt,jt,Tt,wt)}).then(yt,xt)},{unsafe:!0});try{delete tt.constructor}catch(Fe){}b&&b(tt,We)}ee({global:!0,wrap:!0,forced:ke},{Promise:Me}),E(Me,je,!1,!0),re(je)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(a,he,de){a("../modules/es.promise.constructor"),a("../modules/es.promise.all"),a("../modules/es.promise.catch"),a("../modules/es.promise.race"),a("../modules/es.promise.reject"),a("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/function-call"),ne=a("../internals/a-callable"),te=a("../internals/new-promise-capability"),se=a("../internals/perform"),z=a("../internals/iterate"),x=a("../internals/promise-statics-incorrect-iteration");ee({target:"Promise",stat:!0,forced:x},{race:function(E){var re=this,ae=te.f(re),le=ae.reject,fe=se(function(){var ce=ne(re.resolve);z(E,function(ue){oe(ce,re,ue).then(ae.resolve,le)})});return fe.error&&le(fe.value),ae.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/function-call"),ne=a("../internals/new-promise-capability"),te=a("../internals/promise-constructor-detection").CONSTRUCTOR;ee({target:"Promise",stat:!0,forced:te},{reject:function(z){var x=ne.f(this);return oe(x.reject,void 0,z),x.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/get-built-in"),ne=a("../internals/is-pure"),te=a("../internals/promise-native-constructor"),se=a("../internals/promise-constructor-detection").CONSTRUCTOR,z=a("../internals/promise-resolve"),x=oe("Promise"),b=ne&&!se;ee({target:"Promise",stat:!0,forced:ne||se},{resolve:function(re){return z(b&&this===x?te:this,re)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(a,he,de){var ee=a("../internals/descriptors"),oe=a("../internals/global"),ne=a("../internals/function-uncurry-this"),te=a("../internals/is-forced"),se=a("../internals/inherit-if-required"),z=a("../internals/create-non-enumerable-property"),x=a("../internals/object-get-own-property-names").f,b=a("../internals/object-is-prototype-of"),E=a("../internals/is-regexp"),re=a("../internals/to-string"),ae=a("../internals/regexp-get-flags"),le=a("../internals/regexp-sticky-helpers"),fe=a("../internals/proxy-accessor"),ce=a("../internals/redefine"),ue=a("../internals/fails"),ge=a("../internals/has-own-property"),_e=a("../internals/internal-state").enforce,we=a("../internals/set-species"),xe=a("../internals/well-known-symbol"),ve=a("../internals/regexp-unsupported-dot-all"),Se=a("../internals/regexp-unsupported-ncg"),be=xe("match"),Ae=oe.RegExp,Te=Ae.prototype,je=oe.SyntaxError,ke=ne(Te.exec),Pe=ne("".charAt),Oe=ne("".replace),He=ne("".indexOf),Ge=ne("".slice),tt=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Me=/a/g,We=/a/g,it=new Ae(Me)!==Me,ut=le.MISSED_STICKY,$e=le.UNSUPPORTED_Y,Je=ee&&(!it||ut||ve||Se||ue(function(){return We[be]=!1,Ae(Me)!=Me||Ae(We)==We||Ae(Me,"i")!="/a/i"})),Xe=function(ft){for(var qe=ft.length,Ie=0,at="",Be=!1,et;Ie<=qe;Ie++){if(et=Pe(ft,Ie),et==="\\"){at+=et+Pe(ft,++Ie);continue}!Be&&et==="."?at+="[\\s\\S]":(et==="["?Be=!0:et==="]"&&(Be=!1),at+=et)}return at},Qe=function(ft){for(var qe=ft.length,Ie=0,at="",Be=[],et={},vt=!1,gt=!1,dt=0,Ve="",Ne;Ie<=qe;Ie++){if(Ne=Pe(ft,Ie),Ne==="\\")Ne=Ne+Pe(ft,++Ie);else if(Ne==="]")vt=!1;else if(!vt)switch(!0){case Ne==="[":vt=!0;break;case Ne==="(":ke(tt,Ge(ft,Ie+1))&&(Ie+=2,gt=!0),at+=Ne,dt++;continue;case(Ne===">"&&gt):if(Ve===""||ge(et,Ve))throw new je("Invalid capture group name");et[Ve]=!0,Be[Be.length]=[Ve,dt],gt=!1,Ve="";continue}gt?Ve+=Ne:at+=Ne}return[at,Be]};if(te("RegExp",Je)){for(var st=function(qe,Ie){var at=b(Te,this),Be=E(qe),et=Ie===void 0,vt=[],gt=qe,dt,Ve,Ne,Ye,ot,Ue;if(!at&&Be&&et&&qe.constructor===st)return qe;if((Be||b(Te,qe))&&(qe=qe.source,et&&(Ie=ae(gt))),qe=qe===void 0?"":re(qe),Ie=Ie===void 0?"":re(Ie),gt=qe,ve&&"dotAll"in Me&&(Ve=!!Ie&&He(Ie,"s")>-1,Ve&&(Ie=Oe(Ie,/s/g,""))),dt=Ie,ut&&"sticky"in Me&&(Ne=!!Ie&&He(Ie,"y")>-1,Ne&&$e&&(Ie=Oe(Ie,/y/g,""))),Se&&(Ye=Qe(qe),qe=Ye[0],vt=Ye[1]),ot=se(Ae(qe,Ie),at?this:Te,st),(Ve||Ne||vt.length)&&(Ue=_e(ot),Ve&&(Ue.dotAll=!0,Ue.raw=st(Xe(qe),dt)),Ne&&(Ue.sticky=!0),vt.length&&(Ue.groups=vt)),qe!==gt)try{z(ot,"source",gt===""?"(?:)":gt)}catch(Le){}return ot},rt=x(Ae),pt=0;rt.length>pt;)fe(st,Ae,rt[pt++]);Te.constructor=st,st.prototype=Te,ce(oe,"RegExp",st)}we("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/regexp-exec");ee({target:"RegExp",proto:!0,forced:/./.exec!==oe},{exec:oe})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(a,he,de){"use strict";var ee=a("../internals/function-name").PROPER,oe=a("../internals/redefine"),ne=a("../internals/an-object"),te=a("../internals/to-string"),se=a("../internals/fails"),z=a("../internals/regexp-get-flags"),x="toString",b=RegExp.prototype,E=b[x],re=se(function(){return E.call({source:"a",flags:"b"})!="/a/b"}),ae=ee&&E.name!=x;(re||ae)&&oe(RegExp.prototype,x,function(){var fe=ne(this),ce=te(fe.source),ue=te(z(fe));return"/"+ce+"/"+ue},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/not-a-regexp"),te=a("../internals/require-object-coercible"),se=a("../internals/to-string"),z=a("../internals/correct-is-regexp-logic"),x=oe("".indexOf);ee({target:"String",proto:!0,forced:!z("includes")},{includes:function(E){return!!~x(se(te(this)),se(ne(E)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(a,he,de){"use strict";var ee=a("../internals/string-multibyte").charAt,oe=a("../internals/to-string"),ne=a("../internals/internal-state"),te=a("../internals/define-iterator"),se="String Iterator",z=ne.set,x=ne.getterFor(se);te(String,"String",function(b){z(this,{type:se,string:oe(b),index:0})},function(){var E=x(this),re=E.string,ae=E.index,le;return ae>=re.length?{value:void 0,done:!0}:(le=ee(re,ae),E.index+=le.length,{value:le,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(a,he,de){"use strict";var ee=a("../internals/function-call"),oe=a("../internals/fix-regexp-well-known-symbol-logic"),ne=a("../internals/an-object"),te=a("../internals/to-length"),se=a("../internals/to-string"),z=a("../internals/require-object-coercible"),x=a("../internals/get-method"),b=a("../internals/advance-string-index"),E=a("../internals/regexp-exec-abstract");oe("match",function(re,ae,le){return[function(ce){var ue=z(this),ge=ce==null?void 0:x(ce,re);return ge?ee(ge,ce,ue):new RegExp(ce)[re](se(ue))},function(fe){var ce=ne(this),ue=se(fe),ge=le(ae,ce,ue);if(ge.done)return ge.value;if(!ce.global)return E(ce,ue);var _e=ce.unicode;ce.lastIndex=0;for(var we=[],xe=0,ve;(ve=E(ce,ue))!==null;){var Se=se(ve[0]);we[xe]=Se,Se===""&&(ce.lastIndex=b(ue,te(ce.lastIndex),_e)),xe++}return xe===0?null:we}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(a,he,de){"use strict";var ee=a("../internals/function-apply"),oe=a("../internals/function-call"),ne=a("../internals/function-uncurry-this"),te=a("../internals/fix-regexp-well-known-symbol-logic"),se=a("../internals/fails"),z=a("../internals/an-object"),x=a("../internals/is-callable"),b=a("../internals/to-integer-or-infinity"),E=a("../internals/to-length"),re=a("../internals/to-string"),ae=a("../internals/require-object-coercible"),le=a("../internals/advance-string-index"),fe=a("../internals/get-method"),ce=a("../internals/get-substitution"),ue=a("../internals/regexp-exec-abstract"),ge=a("../internals/well-known-symbol"),_e=ge("replace"),we=Math.max,xe=Math.min,ve=ne([].concat),Se=ne([].push),be=ne("".indexOf),Ae=ne("".slice),Te=function(Oe){return Oe===void 0?Oe:String(Oe)},je=function(){return"a".replace(/./,"$0")==="$0"}(),ke=function(){return/./[_e]?/./[_e]("a","$0")==="":!1}(),Pe=!se(function(){var Oe=/./;return Oe.exec=function(){var He=[];return He.groups={a:"7"},He},"".replace(Oe,"$<a>")!=="7"});te("replace",function(Oe,He,Ge){var tt=ke?"$":"$0";return[function(We,it){var ut=ae(this),$e=We==null?void 0:fe(We,_e);return $e?oe($e,We,ut,it):oe(He,re(ut),We,it)},function(Me,We){var it=z(this),ut=re(Me);if(typeof We=="string"&&be(We,tt)===-1&&be(We,"$<")===-1){var $e=Ge(He,it,ut,We);if($e.done)return $e.value}var Je=x(We);Je||(We=re(We));var Xe=it.global;if(Xe){var Qe=it.unicode;it.lastIndex=0}for(var st=[];;){var rt=ue(it,ut);if(rt===null||(Se(st,rt),!Xe))break;var pt=re(rt[0]);pt===""&&(it.lastIndex=le(ut,E(it.lastIndex),Qe))}for(var ft="",qe=0,Ie=0;Ie<st.length;Ie++){rt=st[Ie];for(var at=re(rt[0]),Be=we(xe(b(rt.index),ut.length),0),et=[],vt=1;vt<rt.length;vt++)Se(et,Te(rt[vt]));var gt=rt.groups;if(Je){var dt=ve([at],et,Be,ut);gt!==void 0&&Se(dt,gt);var Ve=re(ee(We,void 0,dt))}else Ve=ce(at,ut,Be,et,gt,We);Be>=qe&&(ft+=Ae(ut,qe,Be)+Ve,qe=Be+at.length)}return ft+Ae(ut,qe)}]},!Pe||!je||ke)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(a,he,de){"use strict";var ee=a("../internals/function-call"),oe=a("../internals/fix-regexp-well-known-symbol-logic"),ne=a("../internals/an-object"),te=a("../internals/require-object-coercible"),se=a("../internals/same-value"),z=a("../internals/to-string"),x=a("../internals/get-method"),b=a("../internals/regexp-exec-abstract");oe("search",function(E,re,ae){return[function(fe){var ce=te(this),ue=fe==null?void 0:x(fe,E);return ue?ee(ue,fe,ce):new RegExp(fe)[E](z(ce))},function(le){var fe=ne(this),ce=z(le),ue=ae(re,fe,ce);if(ue.done)return ue.value;var ge=fe.lastIndex;se(ge,0)||(fe.lastIndex=0);var _e=b(fe,ce);return se(fe.lastIndex,ge)||(fe.lastIndex=ge),_e===null?-1:_e.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(a,he,de){"use strict";var ee=a("../internals/function-apply"),oe=a("../internals/function-call"),ne=a("../internals/function-uncurry-this"),te=a("../internals/fix-regexp-well-known-symbol-logic"),se=a("../internals/is-regexp"),z=a("../internals/an-object"),x=a("../internals/require-object-coercible"),b=a("../internals/species-constructor"),E=a("../internals/advance-string-index"),re=a("../internals/to-length"),ae=a("../internals/to-string"),le=a("../internals/get-method"),fe=a("../internals/array-slice-simple"),ce=a("../internals/regexp-exec-abstract"),ue=a("../internals/regexp-exec"),ge=a("../internals/regexp-sticky-helpers"),_e=a("../internals/fails"),we=ge.UNSUPPORTED_Y,xe=4294967295,ve=Math.min,Se=[].push,be=ne(/./.exec),Ae=ne(Se),Te=ne("".slice),je=!_e(function(){var ke=/(?:)/,Pe=ke.exec;ke.exec=function(){return Pe.apply(this,arguments)};var Oe="ab".split(ke);return Oe.length!==2||Oe[0]!=="a"||Oe[1]!=="b"});te("split",function(ke,Pe,Oe){var He;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?He=function(Ge,tt){var Me=ae(x(this)),We=tt===void 0?xe:tt>>>0;if(We===0)return[];if(Ge===void 0)return[Me];if(!se(Ge))return oe(Pe,Me,Ge,We);for(var it=[],ut=(Ge.ignoreCase?"i":"")+(Ge.multiline?"m":"")+(Ge.unicode?"u":"")+(Ge.sticky?"y":""),$e=0,Je=new RegExp(Ge.source,ut+"g"),Xe,Qe,st;(Xe=oe(ue,Je,Me))&&(Qe=Je.lastIndex,!(Qe>$e&&(Ae(it,Te(Me,$e,Xe.index)),Xe.length>1&&Xe.index<Me.length&&ee(Se,it,fe(Xe,1)),st=Xe[0].length,$e=Qe,it.length>=We)));)Je.lastIndex===Xe.index&&Je.lastIndex++;return $e===Me.length?(st||!be(Je,""))&&Ae(it,""):Ae(it,Te(Me,$e)),it.length>We?fe(it,0,We):it}:"0".split(void 0,0).length?He=function(Ge,tt){return Ge===void 0&&tt===0?[]:oe(Pe,this,Ge,tt)}:He=Pe,[function(tt,Me){var We=x(this),it=tt==null?void 0:le(tt,ke);return it?oe(it,tt,We,Me):oe(He,ae(We),tt,Me)},function(Ge,tt){var Me=z(this),We=ae(Ge),it=Oe(He,Me,We,tt,He!==Pe);if(it.done)return it.value;var ut=b(Me,RegExp),$e=Me.unicode,Je=(Me.ignoreCase?"i":"")+(Me.multiline?"m":"")+(Me.unicode?"u":"")+(we?"g":"y"),Xe=new ut(we?"^(?:"+Me.source+")":Me,Je),Qe=tt===void 0?xe:tt>>>0;if(Qe===0)return[];if(We.length===0)return ce(Xe,We)===null?[We]:[];for(var st=0,rt=0,pt=[];rt<We.length;){Xe.lastIndex=we?0:rt;var ft=ce(Xe,we?Te(We,rt):We),qe;if(ft===null||(qe=ve(re(Xe.lastIndex+(we?rt:0)),We.length))===st)rt=E(We,rt,$e);else{if(Ae(pt,Te(We,st,rt)),pt.length===Qe)return pt;for(var Ie=1;Ie<=ft.length-1;Ie++)if(Ae(pt,ft[Ie]),pt.length===Qe)return pt;rt=st=qe}}return Ae(pt,Te(We,st)),pt}]},!je,we)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/array-slice-simple":116,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/is-regexp":182,"../internals/regexp-exec":224,"../internals/regexp-exec-abstract":223,"../internals/regexp-sticky-helpers":227,"../internals/require-object-coercible":230,"../internals/species-constructor":238,"../internals/to-length":249,"../internals/to-string":256}],308:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/string-trim").trim,ne=a("../internals/string-trim-forced");ee({target:"String",proto:!0,forced:ne("trim")},{trim:function(){return oe(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/global"),ne=a("../internals/function-call"),te=a("../internals/function-uncurry-this"),se=a("../internals/is-pure"),z=a("../internals/descriptors"),x=a("../internals/native-symbol"),b=a("../internals/fails"),E=a("../internals/has-own-property"),re=a("../internals/object-is-prototype-of"),ae=a("../internals/an-object"),le=a("../internals/to-indexed-object"),fe=a("../internals/to-property-key"),ce=a("../internals/to-string"),ue=a("../internals/create-property-descriptor"),ge=a("../internals/object-create"),_e=a("../internals/object-keys"),we=a("../internals/object-get-own-property-names"),xe=a("../internals/object-get-own-property-names-external"),ve=a("../internals/object-get-own-property-symbols"),Se=a("../internals/object-get-own-property-descriptor"),be=a("../internals/object-define-property"),Ae=a("../internals/object-define-properties"),Te=a("../internals/object-property-is-enumerable"),je=a("../internals/redefine"),ke=a("../internals/shared"),Pe=a("../internals/shared-key"),Oe=a("../internals/hidden-keys"),He=a("../internals/uid"),Ge=a("../internals/well-known-symbol"),tt=a("../internals/well-known-symbol-wrapped"),Me=a("../internals/define-well-known-symbol"),We=a("../internals/symbol-define-to-primitive"),it=a("../internals/set-to-string-tag"),ut=a("../internals/internal-state"),$e=a("../internals/array-iteration").forEach,Je=Pe("hidden"),Xe="Symbol",Qe="prototype",st=ut.set,rt=ut.getterFor(Xe),pt=Object[Qe],ft=oe.Symbol,qe=ft&&ft[Qe],Ie=oe.TypeError,at=oe.QObject,Be=Se.f,et=be.f,vt=xe.f,gt=Te.f,dt=te([].push),Ve=ke("symbols"),Ne=ke("op-symbols"),Ye=ke("wks"),ot=!at||!at[Qe]||!at[Qe].findChild,Ue=z&&b(function(){return ge(et({},"a",{get:function(){return et(this,"a",{value:7}).a}})).a!=7})?function(Tt,wt,It){var Bt=Be(pt,wt);Bt&&delete pt[wt],et(Tt,wt,It),Bt&&Tt!==pt&&et(pt,wt,Bt)}:et,Le=function(Tt,wt){var It=Ve[Tt]=ge(qe);return st(It,{type:Xe,tag:Tt,description:wt}),z||(It.description=wt),It},De=function(wt,It,Bt){wt===pt&&De(Ne,It,Bt),ae(wt);var Wt=fe(It);return ae(Bt),E(Ve,Wt)?(Bt.enumerable?(E(wt,Je)&&wt[Je][Wt]&&(wt[Je][Wt]=!1),Bt=ge(Bt,{enumerable:ue(0,!1)})):(E(wt,Je)||et(wt,Je,ue(1,{})),wt[Je][Wt]=!0),Ue(wt,Wt,Bt)):et(wt,Wt,Bt)},Ze=function(wt,It){ae(wt);var Bt=le(It),Wt=_e(Bt).concat(jt(Bt));return $e(Wt,function(Qt){(!z||ne(Fe,Bt,Qt))&&De(wt,Qt,Bt[Qt])}),wt},lt=function(wt,It){return It===void 0?ge(wt):Ze(ge(wt),It)},Fe=function(wt){var It=fe(wt),Bt=ne(gt,this,It);return this===pt&&E(Ve,It)&&!E(Ne,It)?!1:Bt||!E(this,It)||!E(Ve,It)||E(this,Je)&&this[Je][It]?Bt:!0},yt=function(wt,It){var Bt=le(wt),Wt=fe(It);if(!(Bt===pt&&E(Ve,Wt)&&!E(Ne,Wt))){var Qt=Be(Bt,Wt);return Qt&&E(Ve,Wt)&&!(E(Bt,Je)&&Bt[Je][Wt])&&(Qt.enumerable=!0),Qt}},xt=function(wt){var It=vt(le(wt)),Bt=[];return $e(It,function(Wt){!E(Ve,Wt)&&!E(Oe,Wt)&&dt(Bt,Wt)}),Bt},jt=function(Tt){var wt=Tt===pt,It=vt(wt?Ne:le(Tt)),Bt=[];return $e(It,function(Wt){E(Ve,Wt)&&(!wt||E(pt,Wt))&&dt(Bt,Ve[Wt])}),Bt};x||(ft=function(){if(re(qe,this))throw Ie("Symbol is not a constructor");var wt=!arguments.length||arguments[0]===void 0?void 0:ce(arguments[0]),It=He(wt),Bt=function(Wt){this===pt&&ne(Bt,Ne,Wt),E(this,Je)&&E(this[Je],It)&&(this[Je][It]=!1),Ue(this,It,ue(1,Wt))};return z&&ot&&Ue(pt,It,{configurable:!0,set:Bt}),Le(It,wt)},qe=ft[Qe],je(qe,"toString",function(){return rt(this).tag}),je(ft,"withoutSetter",function(Tt){return Le(He(Tt),Tt)}),Te.f=Fe,be.f=De,Ae.f=Ze,Se.f=yt,we.f=xe.f=xt,ve.f=jt,tt.f=function(Tt){return Le(Ge(Tt),Tt)},z&&(et(qe,"description",{configurable:!0,get:function(){return rt(this).description}}),se||je(pt,"propertyIsEnumerable",Fe,{unsafe:!0}))),ee({global:!0,wrap:!0,forced:!x,sham:!x},{Symbol:ft}),$e(_e(Ye),function(Tt){Me(Tt)}),ee({target:Xe,stat:!0,forced:!x},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),ee({target:"Object",stat:!0,forced:!x,sham:!z},{create:lt,defineProperty:De,defineProperties:Ze,getOwnPropertyDescriptor:yt}),ee({target:"Object",stat:!0,forced:!x},{getOwnPropertyNames:xt}),We(),it(ft,Xe),Oe[Je]=!0},{"../internals/an-object":101,"../internals/array-iteration":111,"../internals/create-property-descriptor":130,"../internals/define-well-known-symbol":133,"../internals/descriptors":134,"../internals/export":149,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/native-symbol":191,"../internals/object-create":196,"../internals/object-define-properties":197,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-names-external":200,"../internals/object-get-own-property-symbols":202,"../internals/object-is-prototype-of":204,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/shared":237,"../internals/shared-key":235,"../internals/symbol-define-to-primitive":242,"../internals/to-indexed-object":247,"../internals/to-property-key":254,"../internals/to-string":256,"../internals/uid":263,"../internals/well-known-symbol":268,"../internals/well-known-symbol-wrapped":267}],310:[function(a,he,de){"use strict";var ee=a("../internals/export"),oe=a("../internals/descriptors"),ne=a("../internals/global"),te=a("../internals/function-uncurry-this"),se=a("../internals/has-own-property"),z=a("../internals/is-callable"),x=a("../internals/object-is-prototype-of"),b=a("../internals/to-string"),E=a("../internals/object-define-property").f,re=a("../internals/copy-constructor-properties"),ae=ne.Symbol,le=ae&&ae.prototype;if(oe&&z(ae)&&(!("description"in le)||ae().description!==void 0)){var fe={},ce=function(){var be=arguments.length<1||arguments[0]===void 0?void 0:b(arguments[0]),Ae=x(le,this)?new ae(be):be===void 0?ae():ae(be);return be===""&&(fe[Ae]=!0),Ae};re(ce,ae),ce.prototype=le,le.constructor=ce;var ue=String(ae("test"))=="Symbol(test)",ge=te(le.toString),_e=te(le.valueOf),we=/^Symbol\((.*)\)[^)]+$/,xe=te("".replace),ve=te("".slice);E(le,"description",{configurable:!0,get:function(){var be=_e(this),Ae=ge(be);if(se(fe,be))return"";var Te=ue?ve(Ae,7,-1):xe(Ae,we,"$1");return Te===""?void 0:Te}}),ee({global:!0,forced:!0},{Symbol:ce})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(a,he,de){var ee=a("../internals/export"),oe=a("../internals/get-built-in"),ne=a("../internals/has-own-property"),te=a("../internals/to-string"),se=a("../internals/shared"),z=a("../internals/native-symbol-registry"),x=se("string-to-symbol-registry"),b=se("symbol-to-string-registry");ee({target:"Symbol",stat:!0,forced:!z},{for:function(E){var re=te(E);if(ne(x,re))return x[re];var ae=oe("Symbol")(re);return x[re]=ae,b[ae]=re,ae}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/has-own-property":164,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/to-string":256}],312:[function(a,he,de){var ee=a("../internals/define-well-known-symbol");ee("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(a,he,de){a("../modules/es.symbol.constructor"),a("../modules/es.symbol.for"),a("../modules/es.symbol.key-for"),a("../modules/es.json.stringify"),a("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(a,he,de){var ee=a("../internals/export"),oe=a("../internals/has-own-property"),ne=a("../internals/is-symbol"),te=a("../internals/try-to-string"),se=a("../internals/shared"),z=a("../internals/native-symbol-registry"),x=se("symbol-to-string-registry");ee({target:"Symbol",stat:!0,forced:!z},{keyFor:function(E){if(!ne(E))throw TypeError(te(E)+" is not a symbol");if(oe(x,E))return x[E]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(a,he,de){"use strict";var ee=a("../internals/function-uncurry-this"),oe=a("../internals/array-buffer-view-core"),ne=a("../internals/array-copy-within"),te=ee(ne),se=oe.aTypedArray,z=oe.exportTypedArrayMethod;z("copyWithin",function(b,E){return te(se(this),b,E,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-iteration").every,ne=ee.aTypedArray,te=ee.exportTypedArrayMethod;te("every",function(z){return oe(ne(this),z,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/function-call"),ne=a("../internals/array-fill"),te=ee.aTypedArray,se=ee.exportTypedArrayMethod;se("fill",function(x){var b=arguments.length;return oe(ne,te(this),x,b>1?arguments[1]:void 0,b>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-iteration").filter,ne=a("../internals/typed-array-from-species-and-list"),te=ee.aTypedArray,se=ee.exportTypedArrayMethod;se("filter",function(x){var b=oe(te(this),x,arguments.length>1?arguments[1]:void 0);return ne(this,b)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-iteration").findIndex,ne=ee.aTypedArray,te=ee.exportTypedArrayMethod;te("findIndex",function(z){return oe(ne(this),z,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-iteration").find,ne=ee.aTypedArray,te=ee.exportTypedArrayMethod;te("find",function(z){return oe(ne(this),z,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-iteration").forEach,ne=ee.aTypedArray,te=ee.exportTypedArrayMethod;te("forEach",function(z){oe(ne(this),z,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-includes").includes,ne=ee.aTypedArray,te=ee.exportTypedArrayMethod;te("includes",function(z){return oe(ne(this),z,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-includes").indexOf,ne=ee.aTypedArray,te=ee.exportTypedArrayMethod;te("indexOf",function(z){return oe(ne(this),z,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(a,he,de){"use strict";var ee=a("../internals/global"),oe=a("../internals/fails"),ne=a("../internals/function-uncurry-this"),te=a("../internals/array-buffer-view-core"),se=a("../modules/es.array.iterator"),z=a("../internals/well-known-symbol"),x=z("iterator"),b=ee.Uint8Array,E=ne(se.values),re=ne(se.keys),ae=ne(se.entries),le=te.aTypedArray,fe=te.exportTypedArrayMethod,ce=b&&b.prototype,ue=!oe(function(){ce[x].call([1])}),ge=!!ce&&ce.values&&ce[x]===ce.values&&ce.values.name==="values",_e=function(){return E(le(this))};fe("entries",function(){return ae(le(this))},ue),fe("keys",function(){return re(le(this))},ue),fe("values",_e,ue||!ge,{name:"values"}),fe(x,_e,ue||!ge,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/function-uncurry-this"),ne=ee.aTypedArray,te=ee.exportTypedArrayMethod,se=oe([].join);te("join",function(x){return se(ne(this),x)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/function-apply"),ne=a("../internals/array-last-index-of"),te=ee.aTypedArray,se=ee.exportTypedArrayMethod;se("lastIndexOf",function(x){var b=arguments.length;return oe(ne,te(this),b>1?[x,arguments[1]]:[x])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-iteration").map,ne=a("../internals/typed-array-species-constructor"),te=ee.aTypedArray,se=ee.exportTypedArrayMethod;se("map",function(x){return oe(te(this),x,arguments.length>1?arguments[1]:void 0,function(b,E){return new(ne(b))(E)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-reduce").right,ne=ee.aTypedArray,te=ee.exportTypedArrayMethod;te("reduceRight",function(z){var x=arguments.length;return oe(ne(this),z,x,x>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-reduce").left,ne=ee.aTypedArray,te=ee.exportTypedArrayMethod;te("reduce",function(z){var x=arguments.length;return oe(ne(this),z,x,x>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=ee.aTypedArray,ne=ee.exportTypedArrayMethod,te=Math.floor;ne("reverse",function(){for(var z=this,x=oe(z).length,b=te(x/2),E=0,re;E<b;)re=z[E],z[E++]=z[--x],z[x]=re;return z})},{"../internals/array-buffer-view-core":103}],331:[function(a,he,de){"use strict";var ee=a("../internals/global"),oe=a("../internals/function-call"),ne=a("../internals/array-buffer-view-core"),te=a("../internals/length-of-array-like"),se=a("../internals/to-offset"),z=a("../internals/to-object"),x=a("../internals/fails"),b=ee.RangeError,E=ee.Int8Array,re=E&&E.prototype,ae=re&&re.set,le=ne.aTypedArray,fe=ne.exportTypedArrayMethod,ce=!x(function(){var ge=new Uint8ClampedArray(2);return oe(ae,ge,{length:1,0:3},1),ge[1]!==3}),ue=ce&&ne.NATIVE_ARRAY_BUFFER_VIEWS&&x(function(){var ge=new E(2);return ge.set(1),ge.set("2",1),ge[0]!==0||ge[1]!==2});fe("set",function(_e){le(this);var we=se(arguments.length>1?arguments[1]:void 0,1),xe=z(_e);if(ce)return oe(ae,this,xe,we);var ve=this.length,Se=te(xe),be=0;if(Se+we>ve)throw b("Wrong length");for(;be<Se;)this[we+be]=xe[be++]},!ce||ue)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-call":155,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-offset":251}],332:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/typed-array-species-constructor"),ne=a("../internals/fails"),te=a("../internals/array-slice"),se=ee.aTypedArray,z=ee.exportTypedArrayMethod,x=ne(function(){new Int8Array(1).slice()});z("slice",function(E,re){for(var ae=te(se(this),E,re),le=oe(this),fe=0,ce=ae.length,ue=new le(ce);ce>fe;)ue[fe]=ae[fe++];return ue},x)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/array-iteration").some,ne=ee.aTypedArray,te=ee.exportTypedArrayMethod;te("some",function(z){return oe(ne(this),z,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(a,he,de){"use strict";var ee=a("../internals/global"),oe=a("../internals/function-uncurry-this"),ne=a("../internals/fails"),te=a("../internals/a-callable"),se=a("../internals/array-sort"),z=a("../internals/array-buffer-view-core"),x=a("../internals/engine-ff-version"),b=a("../internals/engine-is-ie-or-edge"),E=a("../internals/engine-v8-version"),re=a("../internals/engine-webkit-version"),ae=z.aTypedArray,le=z.exportTypedArrayMethod,fe=ee.Uint16Array,ce=fe&&oe(fe.prototype.sort),ue=!!ce&&!(ne(function(){ce(new fe(2),null)})&&ne(function(){ce(new fe(2),{})})),ge=!!ce&&!ne(function(){if(E)return E<74;if(x)return x<67;if(b)return!0;if(re)return re<602;var we=new fe(516),xe=Array(516),ve,Se;for(ve=0;ve<516;ve++)Se=ve%4,we[ve]=515-ve,xe[ve]=ve-2*Se+3;for(ce(we,function(be,Ae){return(be/4|0)-(Ae/4|0)}),ve=0;ve<516;ve++)if(we[ve]!==xe[ve])return!0}),_e=function(we){return function(xe,ve){return we!==void 0?+we(xe,ve)||0:ve!==ve?-1:xe!==xe?1:xe===0&&ve===0?1/xe>0&&1/ve<0?1:-1:xe>ve}};le("sort",function(xe){return xe!==void 0&&te(xe),ge?ce(this,xe):se(ae(this),_e(xe))},!ge||ue)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core"),oe=a("../internals/to-length"),ne=a("../internals/to-absolute-index"),te=a("../internals/typed-array-species-constructor"),se=ee.aTypedArray,z=ee.exportTypedArrayMethod;z("subarray",function(b,E){var re=se(this),ae=re.length,le=ne(b,ae),fe=te(re);return new fe(re.buffer,re.byteOffset+le*re.BYTES_PER_ELEMENT,oe((E===void 0?ae:ne(E,ae))-le))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(a,he,de){"use strict";var ee=a("../internals/global"),oe=a("../internals/function-apply"),ne=a("../internals/array-buffer-view-core"),te=a("../internals/fails"),se=a("../internals/array-slice"),z=ee.Int8Array,x=ne.aTypedArray,b=ne.exportTypedArrayMethod,E=[].toLocaleString,re=!!z&&te(function(){E.call(new z(1))}),ae=te(function(){return[1,2].toLocaleString()!=new z([1,2]).toLocaleString()})||!te(function(){z.prototype.toLocaleString.call([1,2])});b("toLocaleString",function(){return oe(E,re?se(x(this)):x(this),se(arguments))},ae)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(a,he,de){"use strict";var ee=a("../internals/array-buffer-view-core").exportTypedArrayMethod,oe=a("../internals/fails"),ne=a("../internals/global"),te=a("../internals/function-uncurry-this"),se=ne.Uint8Array,z=se&&se.prototype||{},x=[].toString,b=te([].join);oe(function(){x.call({})})&&(x=function(){return b(this)});var E=z.toString!=x;ee("toString",x,E)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(a,he,de){var ee=a("../internals/typed-array-constructor");ee("Uint8",function(oe){return function(te,se,z){return oe(this,te,se,z)}})},{"../internals/typed-array-constructor":258}],339:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/dom-iterables"),ne=a("../internals/dom-token-list-prototype"),te=a("../internals/array-for-each"),se=a("../internals/create-non-enumerable-property"),z=function(b){if(b&&b.forEach!==te)try{se(b,"forEach",te)}catch(E){b.forEach=te}};for(var x in oe)oe[x]&&z(ee[x]&&ee[x].prototype);z(ne)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(a,he,de){var ee=a("../internals/global"),oe=a("../internals/dom-iterables"),ne=a("../internals/dom-token-list-prototype"),te=a("../modules/es.array.iterator"),se=a("../internals/create-non-enumerable-property"),z=a("../internals/well-known-symbol"),x=z("iterator"),b=z("toStringTag"),E=te.values,re=function(le,fe){if(le){if(le[x]!==E)try{se(le,x,E)}catch(ue){le[x]=E}if(le[b]||se(le,b,fe),oe[fe]){for(var ce in te)if(le[ce]!==te[ce])try{se(le,ce,te[ce])}catch(ue){le[ce]=te[ce]}}}};for(var ae in oe)re(ee[ae]&&ee[ae].prototype,ae);re(ne,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(a,he,de){function ee(ge){return Array.isArray?Array.isArray(ge):ue(ge)==="[object Array]"}de.isArray=ee;function oe(ge){return typeof ge=="boolean"}de.isBoolean=oe;function ne(ge){return ge===null}de.isNull=ne;function te(ge){return ge==null}de.isNullOrUndefined=te;function se(ge){return typeof ge=="number"}de.isNumber=se;function z(ge){return typeof ge=="string"}de.isString=z;function x(ge){return typeof ge=="symbol"}de.isSymbol=x;function b(ge){return ge===void 0}de.isUndefined=b;function E(ge){return ue(ge)==="[object RegExp]"}de.isRegExp=E;function re(ge){return typeof ge=="object"&&ge!==null}de.isObject=re;function ae(ge){return ue(ge)==="[object Date]"}de.isDate=ae;function le(ge){return ue(ge)==="[object Error]"||ge instanceof Error}de.isError=le;function fe(ge){return typeof ge=="function"}de.isFunction=fe;function ce(ge){return ge===null||typeof ge=="boolean"||typeof ge=="number"||typeof ge=="string"||typeof ge=="symbol"||typeof ge=="undefined"}de.isPrimitive=ce,de.isBuffer=a("buffer").Buffer.isBuffer;function ue(ge){return Object.prototype.toString.call(ge)}},{buffer:90}],342:[function(a,he,de){(function(ee){"use strict";var oe=function(){var x=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,b=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,E=/[^-+\dA-Z]/g;return function(re,ae,le,fe){if(arguments.length===1&&z(re)==="string"&&!/\d/.test(re)&&(ae=re,re=void 0),re=re||new Date,re instanceof Date||(re=new Date(re)),isNaN(re))throw TypeError("Invalid date");ae=String(oe.masks[ae]||ae||oe.masks.default);var ce=ae.slice(0,4);(ce==="UTC:"||ce==="GMT:")&&(ae=ae.slice(4),le=!0,ce==="GMT:"&&(fe=!0));var ue=le?"getUTC":"get",ge=re[ue+"Date"](),_e=re[ue+"Day"](),we=re[ue+"Month"](),xe=re[ue+"FullYear"](),ve=re[ue+"Hours"](),Se=re[ue+"Minutes"](),be=re[ue+"Seconds"](),Ae=re[ue+"Milliseconds"](),Te=le?0:re.getTimezoneOffset(),je=te(re),ke=se(re),Pe={d:ge,dd:ne(ge),ddd:oe.i18n.dayNames[_e],dddd:oe.i18n.dayNames[_e+7],m:we+1,mm:ne(we+1),mmm:oe.i18n.monthNames[we],mmmm:oe.i18n.monthNames[we+12],yy:String(xe).slice(2),yyyy:xe,h:ve%12||12,hh:ne(ve%12||12),H:ve,HH:ne(ve),M:Se,MM:ne(Se),s:be,ss:ne(be),l:ne(Ae,3),L:ne(Math.round(Ae/10)),t:ve<12?"a":"p",tt:ve<12?"am":"pm",T:ve<12?"A":"P",TT:ve<12?"AM":"PM",Z:fe?"GMT":le?"UTC":(String(re).match(b)||[""]).pop().replace(E,""),o:(Te>0?"-":"+")+ne(Math.floor(Math.abs(Te)/60)*100+Math.abs(Te)%60,4),S:["th","st","nd","rd"][ge%10>3?0:(ge%100-ge%10!=10)*ge%10],W:je,N:ke};return ae.replace(x,function(Oe){return Oe in Pe?Pe[Oe]:Oe.slice(1,Oe.length-1)})}}();oe.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},oe.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function ne(x,b){for(x=String(x),b=b||2;x.length<b;)x="0"+x;return x}function te(x){var b=new Date(x.getFullYear(),x.getMonth(),x.getDate());b.setDate(b.getDate()-(b.getDay()+6)%7+3);var E=new Date(b.getFullYear(),0,4);E.setDate(E.getDate()-(E.getDay()+6)%7+3);var re=b.getTimezoneOffset()-E.getTimezoneOffset();b.setHours(b.getHours()-re);var ae=(b-E)/(864e5*7);return 1+Math.floor(ae)}function se(x){var b=x.getDay();return b===0&&(b=7),b}function z(x){return x===null?"null":x===void 0?"undefined":typeof x!="object"?typeof x:Array.isArray(x)?"array":{}.toString.call(x).slice(8,-1).toLowerCase()}typeof Ce=="function"&&Ce.amd?Ce(function(){return oe}):typeof de=="object"?he.exports=oe:ee.dateFormat=oe})(this)},{}],343:[function(a,he,de){"use strict";var ee=/["'&<>]/;he.exports=oe;function oe(ne){var te=""+ne,se=ee.exec(te);if(!se)return te;var z,x="",b=0,E=0;for(b=se.index;b<te.length;b++){switch(te.charCodeAt(b)){case 34:z="&quot;";break;case 38:z="&amp;";break;case 39:z="&#39;";break;case 60:z="&lt;";break;case 62:z="&gt;";break;default:continue}E!==b&&(x+=te.substring(E,b)),E=b+1,x+=z}return E!==b?x+te.substring(E,b):x}},{}],344:[function(a,he,de){"use strict";var ee=typeof Reflect=="object"?Reflect:null,oe=ee&&typeof ee.apply=="function"?ee.apply:function(be,Ae,Te){return Function.prototype.apply.call(be,Ae,Te)},ne;ee&&typeof ee.ownKeys=="function"?ne=ee.ownKeys:Object.getOwnPropertySymbols?ne=function(be){return Object.getOwnPropertyNames(be).concat(Object.getOwnPropertySymbols(be))}:ne=function(be){return Object.getOwnPropertyNames(be)};function te(Se){console&&console.warn&&console.warn(Se)}var se=Number.isNaN||function(be){return be!==be};function z(){z.init.call(this)}he.exports=z,he.exports.once=we,z.EventEmitter=z,z.prototype._events=void 0,z.prototype._eventsCount=0,z.prototype._maxListeners=void 0;var x=10;function b(Se){if(typeof Se!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Se)}Object.defineProperty(z,"defaultMaxListeners",{enumerable:!0,get:function(){return x},set:function(Se){if(typeof Se!="number"||Se<0||se(Se))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Se+".");x=Se}}),z.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},z.prototype.setMaxListeners=function(be){if(typeof be!="number"||be<0||se(be))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+be+".");return this._maxListeners=be,this};function E(Se){return Se._maxListeners===void 0?z.defaultMaxListeners:Se._maxListeners}z.prototype.getMaxListeners=function(){return E(this)},z.prototype.emit=function(be){for(var Ae=[],Te=1;Te<arguments.length;Te++)Ae.push(arguments[Te]);var je=be==="error",ke=this._events;if(ke!==void 0)je=je&&ke.error===void 0;else if(!je)return!1;if(je){var Pe;if(Ae.length>0&&(Pe=Ae[0]),Pe instanceof Error)throw Pe;var Oe=new Error("Unhandled error."+(Pe?" ("+Pe.message+")":""));throw Oe.context=Pe,Oe}var He=ke[be];if(He===void 0)return!1;if(typeof He=="function")oe(He,this,Ae);else for(var Ge=He.length,tt=ue(He,Ge),Te=0;Te<Ge;++Te)oe(tt[Te],this,Ae);return!0};function re(Se,be,Ae,Te){var je,ke,Pe;if(b(Ae),ke=Se._events,ke===void 0?(ke=Se._events=Object.create(null),Se._eventsCount=0):(ke.newListener!==void 0&&(Se.emit("newListener",be,Ae.listener?Ae.listener:Ae),ke=Se._events),Pe=ke[be]),Pe===void 0)Pe=ke[be]=Ae,++Se._eventsCount;else if(typeof Pe=="function"?Pe=ke[be]=Te?[Ae,Pe]:[Pe,Ae]:Te?Pe.unshift(Ae):Pe.push(Ae),je=E(Se),je>0&&Pe.length>je&&!Pe.warned){Pe.warned=!0;var Oe=new Error("Possible EventEmitter memory leak detected. "+Pe.length+" "+String(be)+" listeners added. Use emitter.setMaxListeners() to increase limit");Oe.name="MaxListenersExceededWarning",Oe.emitter=Se,Oe.type=be,Oe.count=Pe.length,te(Oe)}return Se}z.prototype.addListener=function(be,Ae){return re(this,be,Ae,!1)},z.prototype.on=z.prototype.addListener,z.prototype.prependListener=function(be,Ae){return re(this,be,Ae,!0)};function ae(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function le(Se,be,Ae){var Te={fired:!1,wrapFn:void 0,target:Se,type:be,listener:Ae},je=ae.bind(Te);return je.listener=Ae,Te.wrapFn=je,je}z.prototype.once=function(be,Ae){return b(Ae),this.on(be,le(this,be,Ae)),this},z.prototype.prependOnceListener=function(be,Ae){return b(Ae),this.prependListener(be,le(this,be,Ae)),this},z.prototype.removeListener=function(be,Ae){var Te,je,ke,Pe,Oe;if(b(Ae),je=this._events,je===void 0)return this;if(Te=je[be],Te===void 0)return this;if(Te===Ae||Te.listener===Ae)--this._eventsCount===0?this._events=Object.create(null):(delete je[be],je.removeListener&&this.emit("removeListener",be,Te.listener||Ae));else if(typeof Te!="function"){for(ke=-1,Pe=Te.length-1;Pe>=0;Pe--)if(Te[Pe]===Ae||Te[Pe].listener===Ae){Oe=Te[Pe].listener,ke=Pe;break}if(ke<0)return this;ke===0?Te.shift():ge(Te,ke),Te.length===1&&(je[be]=Te[0]),je.removeListener!==void 0&&this.emit("removeListener",be,Oe||Ae)}return this},z.prototype.off=z.prototype.removeListener,z.prototype.removeAllListeners=function(be){var Ae,Te,je;if(Te=this._events,Te===void 0)return this;if(Te.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Te[be]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Te[be]),this;if(arguments.length===0){var ke=Object.keys(Te),Pe;for(je=0;je<ke.length;++je)Pe=ke[je],Pe!=="removeListener"&&this.removeAllListeners(Pe);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Ae=Te[be],typeof Ae=="function")this.removeListener(be,Ae);else if(Ae!==void 0)for(je=Ae.length-1;je>=0;je--)this.removeListener(be,Ae[je]);return this};function fe(Se,be,Ae){var Te=Se._events;if(Te===void 0)return[];var je=Te[be];return je===void 0?[]:typeof je=="function"?Ae?[je.listener||je]:[je]:Ae?_e(je):ue(je,je.length)}z.prototype.listeners=function(be){return fe(this,be,!0)},z.prototype.rawListeners=function(be){return fe(this,be,!1)},z.listenerCount=function(Se,be){return typeof Se.listenerCount=="function"?Se.listenerCount(be):ce.call(Se,be)},z.prototype.listenerCount=ce;function ce(Se){var be=this._events;if(be!==void 0){var Ae=be[Se];if(typeof Ae=="function")return 1;if(Ae!==void 0)return Ae.length}return 0}z.prototype.eventNames=function(){return this._eventsCount>0?ne(this._events):[]};function ue(Se,be){for(var Ae=new Array(be),Te=0;Te<be;++Te)Ae[Te]=Se[Te];return Ae}function ge(Se,be){for(;be+1<Se.length;be++)Se[be]=Se[be+1];Se.pop()}function _e(Se){for(var be=new Array(Se.length),Ae=0;Ae<be.length;++Ae)be[Ae]=Se[Ae].listener||Se[Ae];return be}function we(Se,be){return new Promise(function(Ae,Te){function je(Pe){Se.removeListener(be,ke),Te(Pe)}function ke(){typeof Se.removeListener=="function"&&Se.removeListener("error",je),Ae([].slice.call(arguments))}ve(Se,be,ke,{once:!0}),be!=="error"&&xe(Se,je,{once:!0})})}function xe(Se,be,Ae){typeof Se.on=="function"&&ve(Se,"error",be,Ae)}function ve(Se,be,Ae,Te){if(typeof Se.on=="function")Te.once?Se.once(be,Ae):Se.on(be,Ae);else if(typeof Se.addEventListener=="function")Se.addEventListener(be,function je(ke){Te.once&&Se.removeEventListener(be,je),Ae(ke)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Se)}},{}],345:[function(a,he,de){"use strict";var ee=a("is-callable"),oe=Object.prototype.toString,ne=Object.prototype.hasOwnProperty,te=function(E,re,ae){for(var le=0,fe=E.length;le<fe;le++)ne.call(E,le)&&(ae==null?re(E[le],le,E):re.call(ae,E[le],le,E))},se=function(E,re,ae){for(var le=0,fe=E.length;le<fe;le++)ae==null?re(E.charAt(le),le,E):re.call(ae,E.charAt(le),le,E)},z=function(E,re,ae){for(var le in E)ne.call(E,le)&&(ae==null?re(E[le],le,E):re.call(ae,E[le],le,E))},x=function(E,re,ae){if(!ee(re))throw new TypeError("iterator must be a function");var le;arguments.length>=3&&(le=ae),oe.call(E)==="[object Array]"?te(E,re,le):typeof E=="string"?se(E,re,le):z(E,re,le)};he.exports=x},{"is-callable":367}],346:[function(a,he,de){"use strict";var ee="Function.prototype.bind called on incompatible ",oe=Array.prototype.slice,ne=Object.prototype.toString,te="[object Function]";he.exports=function(z){var x=this;if(typeof x!="function"||ne.call(x)!==te)throw new TypeError(ee+x);for(var b=oe.call(arguments,1),E,re=function(){if(this instanceof E){var ue=x.apply(this,b.concat(oe.call(arguments)));return Object(ue)===ue?ue:this}else return x.apply(z,b.concat(oe.call(arguments)))},ae=Math.max(0,x.length-b.length),le=[],fe=0;fe<ae;fe++)le.push("$"+fe);if(E=Function("binder","return function ("+le.join(",")+"){ return binder.apply(this,arguments); }")(re),x.prototype){var ce=function(){};ce.prototype=x.prototype,E.prototype=new ce,ce.prototype=null}return E}},{}],347:[function(a,he,de){"use strict";var ee=a("./implementation");he.exports=Function.prototype.bind||ee},{"./implementation":346}],348:[function(a,he,de){"use strict";var ee,oe=SyntaxError,ne=Function,te=TypeError,se=function(He){try{return ne('"use strict"; return ('+He+").constructor;")()}catch(Ge){}},z=Object.getOwnPropertyDescriptor;if(z)try{z({},"")}catch(He){z=null}var x=function(){throw new te},b=z?function(){try{return arguments.callee,x}catch(He){try{return z(arguments,"callee").get}catch(Ge){return x}}}():x,E=a("has-symbols")(),re=a("has-proto")(),ae=Object.getPrototypeOf||(re?function(He){return He.__proto__}:null),le={},fe=typeof Uint8Array=="undefined"||!ae?ee:ae(Uint8Array),ce={"%AggregateError%":typeof AggregateError=="undefined"?ee:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?ee:ArrayBuffer,"%ArrayIteratorPrototype%":E&&ae?ae([][Symbol.iterator]()):ee,"%AsyncFromSyncIteratorPrototype%":ee,"%AsyncFunction%":le,"%AsyncGenerator%":le,"%AsyncGeneratorFunction%":le,"%AsyncIteratorPrototype%":le,"%Atomics%":typeof Atomics=="undefined"?ee:Atomics,"%BigInt%":typeof BigInt=="undefined"?ee:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?ee:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?ee:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?ee:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?ee:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?ee:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?ee:FinalizationRegistry,"%Function%":ne,"%GeneratorFunction%":le,"%Int8Array%":typeof Int8Array=="undefined"?ee:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?ee:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?ee:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&ae?ae(ae([][Symbol.iterator]())):ee,"%JSON%":typeof JSON=="object"?JSON:ee,"%Map%":typeof Map=="undefined"?ee:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!E||!ae?ee:ae(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?ee:Promise,"%Proxy%":typeof Proxy=="undefined"?ee:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?ee:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?ee:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!E||!ae?ee:ae(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?ee:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&ae?ae(""[Symbol.iterator]()):ee,"%Symbol%":E?Symbol:ee,"%SyntaxError%":oe,"%ThrowTypeError%":b,"%TypedArray%":fe,"%TypeError%":te,"%Uint8Array%":typeof Uint8Array=="undefined"?ee:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?ee:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?ee:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?ee:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?ee:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?ee:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?ee:WeakSet};if(ae)try{null.error}catch(He){var ue=ae(ae(He));ce["%Error.prototype%"]=ue}var ge=function He(Ge){var tt;if(Ge==="%AsyncFunction%")tt=se("async function () {}");else if(Ge==="%GeneratorFunction%")tt=se("function* () {}");else if(Ge==="%AsyncGeneratorFunction%")tt=se("async function* () {}");else if(Ge==="%AsyncGenerator%"){var Me=He("%AsyncGeneratorFunction%");Me&&(tt=Me.prototype)}else if(Ge==="%AsyncIteratorPrototype%"){var We=He("%AsyncGenerator%");We&&ae&&(tt=ae(We.prototype))}return ce[Ge]=tt,tt},_e={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},we=a("function-bind"),xe=a("has"),ve=we.call(Function.call,Array.prototype.concat),Se=we.call(Function.apply,Array.prototype.splice),be=we.call(Function.call,String.prototype.replace),Ae=we.call(Function.call,String.prototype.slice),Te=we.call(Function.call,RegExp.prototype.exec),je=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ke=/\\(\\)?/g,Pe=function(Ge){var tt=Ae(Ge,0,1),Me=Ae(Ge,-1);if(tt==="%"&&Me!=="%")throw new oe("invalid intrinsic syntax, expected closing `%`");if(Me==="%"&&tt!=="%")throw new oe("invalid intrinsic syntax, expected opening `%`");var We=[];return be(Ge,je,function(it,ut,$e,Je){We[We.length]=$e?be(Je,ke,"$1"):ut||it}),We},Oe=function(Ge,tt){var Me=Ge,We;if(xe(_e,Me)&&(We=_e[Me],Me="%"+We[0]+"%"),xe(ce,Me)){var it=ce[Me];if(it===le&&(it=ge(Me)),typeof it=="undefined"&&!tt)throw new te("intrinsic "+Ge+" exists, but is not available. Please file an issue!");return{alias:We,name:Me,value:it}}throw new oe("intrinsic "+Ge+" does not exist!")};he.exports=function(Ge,tt){if(typeof Ge!="string"||Ge.length===0)throw new te("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof tt!="boolean")throw new te('"allowMissing" argument must be a boolean');if(Te(/^%?[^%]*%?$/,Ge)===null)throw new oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Me=Pe(Ge),We=Me.length>0?Me[0]:"",it=Oe("%"+We+"%",tt),ut=it.name,$e=it.value,Je=!1,Xe=it.alias;Xe&&(We=Xe[0],Se(Me,ve([0,1],Xe)));for(var Qe=1,st=!0;Qe<Me.length;Qe+=1){var rt=Me[Qe],pt=Ae(rt,0,1),ft=Ae(rt,-1);if((pt==='"'||pt==="'"||pt==="`"||ft==='"'||ft==="'"||ft==="`")&&pt!==ft)throw new oe("property names with quotes must have matching quotes");if((rt==="constructor"||!st)&&(Je=!0),We+="."+rt,ut="%"+We+"%",xe(ce,ut))$e=ce[ut];else if($e!=null){if(!(rt in $e)){if(!tt)throw new te("base intrinsic for "+Ge+" exists, but the property is not available.");return}if(z&&Qe+1>=Me.length){var qe=z($e,rt);st=!!qe,st&&"get"in qe&&!("originalValue"in qe.get)?$e=qe.get:$e=$e[rt]}else st=xe($e,rt),$e=$e[rt];st&&!Je&&(ce[ut]=$e)}}return $e}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(a,he,de){"use strict";var ee=a("get-intrinsic"),oe=ee("%Object.getOwnPropertyDescriptor%",!0);if(oe)try{oe([],"length")}catch(ne){oe=null}he.exports=oe},{"get-intrinsic":348}],350:[function(a,he,de){"use strict";var ee={foo:{}},oe=Object;he.exports=function(){return{__proto__:ee}.foo===ee.foo&&!({__proto__:null}instanceof oe)}},{}],351:[function(a,he,de){"use strict";var ee=typeof Symbol!="undefined"&&Symbol,oe=a("./shams");he.exports=function(){return typeof ee!="function"||typeof Symbol!="function"||typeof ee("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:oe()}},{"./shams":352}],352:[function(a,he,de){"use strict";he.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var oe={},ne=Symbol("test"),te=Object(ne);if(typeof ne=="string"||Object.prototype.toString.call(ne)!=="[object Symbol]"||Object.prototype.toString.call(te)!=="[object Symbol]")return!1;var se=42;oe[ne]=se;for(ne in oe)return!1;if(typeof Object.keys=="function"&&Object.keys(oe).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(oe).length!==0)return!1;var z=Object.getOwnPropertySymbols(oe);if(z.length!==1||z[0]!==ne||!Object.prototype.propertyIsEnumerable.call(oe,ne))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var x=Object.getOwnPropertyDescriptor(oe,ne);if(x.value!==se||x.enumerable!==!0)return!1}return!0}},{}],353:[function(a,he,de){"use strict";var ee=a("has-symbols/shams");he.exports=function(){return ee()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(a,he,de){"use strict";var ee=a("function-bind");he.exports=ee.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(a,he,de){var ee=a("http"),oe=a("url"),ne=he.exports;for(var te in ee)ee.hasOwnProperty(te)&&(ne[te]=ee[te]);ne.request=function(z,x){return z=se(z),ee.request.call(this,z,x)},ne.get=function(z,x){return z=se(z),ee.get.call(this,z,x)};function se(z){if(typeof z=="string"&&(z=oe.parse(z)),z.protocol||(z.protocol="https:"),z.protocol!=="https:")throw new Error('Protocol "'+z.protocol+'" not supported. Expected "https:"');return z}},{http:468,url:472}],356:[function(a,he,de){"use strict";var ee=a("util"),oe=a("ms");he.exports=function(ne){if(typeof ne=="number")return ne;var te=oe(ne);if(te===void 0){var se=new Error(ee.format("humanize-ms(%j) result undefined",ne));console.warn(se.stack)}return te}},{ms:376,util:419}],357:[function(a,he,de){de.read=function(ee,oe,ne,te,se){var z,x,b=se*8-te-1,E=(1<<b)-1,re=E>>1,ae=-7,le=ne?se-1:0,fe=ne?-1:1,ce=ee[oe+le];for(le+=fe,z=ce&(1<<-ae)-1,ce>>=-ae,ae+=b;ae>0;z=z*256+ee[oe+le],le+=fe,ae-=8);for(x=z&(1<<-ae)-1,z>>=-ae,ae+=te;ae>0;x=x*256+ee[oe+le],le+=fe,ae-=8);if(z===0)z=1-re;else{if(z===E)return x?NaN:(ce?-1:1)*(1/0);x=x+Math.pow(2,te),z=z-re}return(ce?-1:1)*x*Math.pow(2,z-te)},de.write=function(ee,oe,ne,te,se,z){var x,b,E,re=z*8-se-1,ae=(1<<re)-1,le=ae>>1,fe=se===23?Math.pow(2,-24)-Math.pow(2,-77):0,ce=te?0:z-1,ue=te?1:-1,ge=oe<0||oe===0&&1/oe<0?1:0;for(oe=Math.abs(oe),isNaN(oe)||oe===1/0?(b=isNaN(oe)?1:0,x=ae):(x=Math.floor(Math.log(oe)/Math.LN2),oe*(E=Math.pow(2,-x))<1&&(x--,E*=2),x+le>=1?oe+=fe/E:oe+=fe*Math.pow(2,1-le),oe*E>=2&&(x++,E/=2),x+le>=ae?(b=0,x=ae):x+le>=1?(b=(oe*E-1)*Math.pow(2,se),x=x+le):(b=oe*Math.pow(2,le-1)*Math.pow(2,se),x=0));se>=8;ee[ne+ce]=b&255,ce+=ue,b/=256,se-=8);for(x=x<<se|b,re+=se;re>0;ee[ne+ce]=x&255,ce+=ue,x/=256,re-=8);ee[ne+ce-ue]|=ge*128}},{}],358:[function(a,he,de){"use strict";var ee=[a("./nextTick"),a("./queueMicrotask"),a("./mutation.js"),a("./messageChannel"),a("./stateChange"),a("./timeout")],oe,ne,te=-1,se=[],z=!1;function x(){!oe||!ne||(oe=!1,ne.length?se=ne.concat(se):te=-1,se.length&&b())}function b(){if(!oe){z=!1,oe=!0;for(var ce=se.length,ue=setTimeout(x);ce;){for(ne=se,se=[];ne&&++te<ce;)ne[te].run();te=-1,ce=se.length}ne=null,te=-1,oe=!1,clearTimeout(ue)}}for(var E,re=-1,ae=ee.length;++re<ae;)if(ee[re]&&ee[re].test&&ee[re].test()){E=ee[re].install(b);break}function le(ce,ue){this.fun=ce,this.array=ue}le.prototype.run=function(){var ce=this.fun,ue=this.array;switch(ue.length){case 0:return ce();case 1:return ce(ue[0]);case 2:return ce(ue[0],ue[1]);case 3:return ce(ue[0],ue[1],ue[2]);default:return ce.apply(null,ue)}},he.exports=fe;function fe(ce){var ue=new Array(arguments.length-1);if(arguments.length>1)for(var ge=1;ge<arguments.length;ge++)ue[ge-1]=arguments[ge];se.push(new le(ce,ue)),!z&&!oe&&(z=!0,E())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(a,he,de){(function(ee){(function(){"use strict";de.test=function(){return ee.setImmediate?!1:typeof ee.MessageChannel!="undefined"},de.install=function(oe){var ne=new ee.MessageChannel;return ne.port1.onmessage=oe,function(){ne.port2.postMessage(0)}}}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(a,he,de){(function(ee){(function(){"use strict";var oe=ee.MutationObserver||ee.WebKitMutationObserver;de.test=function(){return oe},de.install=function(ne){var te=0,se=new oe(ne),z=ee.document.createTextNode("");return se.observe(z,{characterData:!0}),function(){z.data=te=++te%2}}}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(a,he,de){(function(ee){(function(){"use strict";de.test=function(){return typeof ee.queueMicrotask=="function"},de.install=function(oe){return function(){ee.queueMicrotask(oe)}}}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(a,he,de){(function(ee){(function(){"use strict";de.test=function(){return"document"in ee&&"onreadystatechange"in ee.document.createElement("script")},de.install=function(oe){return function(){var ne=ee.document.createElement("script");return ne.onreadystatechange=function(){oe(),ne.onreadystatechange=null,ne.parentNode.removeChild(ne),ne=null},ee.document.documentElement.appendChild(ne),oe}}}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(a,he,de){"use strict";de.test=function(){return!0},de.install=function(ee){return function(){setTimeout(ee,0)}}},{}],364:[function(a,he,de){typeof Object.create=="function"?he.exports=function(oe,ne){ne&&(oe.super_=ne,oe.prototype=Object.create(ne.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}}))}:he.exports=function(oe,ne){if(ne){oe.super_=ne;var te=function(){};te.prototype=ne.prototype,oe.prototype=new te,oe.prototype.constructor=oe}}},{}],365:[function(a,he,de){"use strict";var ee=a("has-tostringtag/shams")(),oe=a("call-bind/callBound"),ne=oe("Object.prototype.toString"),te=function(b){return ee&&b&&typeof b=="object"&&Symbol.toStringTag in b?!1:ne(b)==="[object Arguments]"},se=function(b){return te(b)?!0:b!==null&&typeof b=="object"&&typeof b.length=="number"&&b.length>=0&&ne(b)!=="[object Array]"&&ne(b.callee)==="[object Function]"},z=function(){return te(arguments)}();te.isLegacyArguments=se,he.exports=z?te:se},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(a,he,de){he.exports=function(ne){return ne!=null&&(ee(ne)||oe(ne)||!!ne._isBuffer)};function ee(ne){return!!ne.constructor&&typeof ne.constructor.isBuffer=="function"&&ne.constructor.isBuffer(ne)}function oe(ne){return typeof ne.readFloatLE=="function"&&typeof ne.slice=="function"&&ee(ne.slice(0,0))}},{}],367:[function(a,he,de){"use strict";var ee=Function.prototype.toString,oe=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ne,te;if(typeof oe=="function"&&typeof Object.defineProperty=="function")try{ne=Object.defineProperty({},"length",{get:function(){throw te}}),te={},oe(function(){throw 42},null,ne)}catch(xe){xe!==te&&(oe=null)}else oe=null;var se=/^\s*class\b/,z=function(ve){try{var Se=ee.call(ve);return se.test(Se)}catch(be){return!1}},x=function(ve){try{return z(ve)?!1:(ee.call(ve),!0)}catch(Se){return!1}},b=Object.prototype.toString,E="[object Object]",re="[object Function]",ae="[object GeneratorFunction]",le="[object HTMLAllCollection]",fe="[object HTML document.all class]",ce="[object HTMLCollection]",ue=typeof Symbol=="function"&&!!Symbol.toStringTag,ge=!(0 in[,]),_e=function(){return!1};if(typeof document=="object"){var we=document.all;b.call(we)===b.call(document.all)&&(_e=function(ve){if((ge||!ve)&&(typeof ve=="undefined"||typeof ve=="object"))try{var Se=b.call(ve);return(Se===le||Se===fe||Se===ce||Se===E)&&ve("")==null}catch(be){}return!1})}he.exports=oe?function(ve){if(_e(ve))return!0;if(!ve||typeof ve!="function"&&typeof ve!="object")return!1;try{oe(ve,null,ne)}catch(Se){if(Se!==te)return!1}return!z(ve)&&x(ve)}:function(ve){if(_e(ve))return!0;if(!ve||typeof ve!="function"&&typeof ve!="object")return!1;if(ue)return x(ve);if(z(ve))return!1;var Se=b.call(ve);return Se!==re&&Se!==ae&&!/^\[object HTML/.test(Se)?!1:x(ve)}},{}],368:[function(a,he,de){"use strict";var ee=Object.prototype.toString,oe=Function.prototype.toString,ne=/^\s*(?:function)?\*/,te=a("has-tostringtag/shams")(),se=Object.getPrototypeOf,z=function(){if(!te)return!1;try{return Function("return function*() {}")()}catch(b){}},x;he.exports=function(E){if(typeof E!="function")return!1;if(ne.test(oe.call(E)))return!0;if(!te){var re=ee.call(E);return re==="[object GeneratorFunction]"}if(!se)return!1;if(typeof x=="undefined"){var ae=z();x=ae?se(ae):!1}return se(E)===x}},{"has-tostringtag/shams":353}],369:[function(a,he,de){"use strict";var ee=a("which-typed-array");he.exports=function(ne){return!!ee(ne)}},{"which-typed-array":420}],370:[function(a,he,de){var ee={}.toString;he.exports=Array.isArray||function(oe){return ee.call(oe)=="[object Array]"}},{}],371:[function(a,he,de){(function(ee){(function(){(function(oe,ne){typeof de=="object"&&typeof he!="undefined"?he.exports=ne(oe):typeof Ce=="function"&&Ce.amd?Ce(ne):ne(oe)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee!="undefined"?ee:this,function(oe){"use strict";oe=oe||{};var ne=oe.Base64,te="2.6.4",se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",z=function(Ge){for(var tt={},Me=0,We=Ge.length;Me<We;Me++)tt[Ge.charAt(Me)]=Me;return tt}(se),x=String.fromCharCode,b=function(Ge){if(Ge.length<2){var tt=Ge.charCodeAt(0);return tt<128?Ge:tt<2048?x(192|tt>>>6)+x(128|tt&63):x(224|tt>>>12&15)+x(128|tt>>>6&63)+x(128|tt&63)}else{var tt=65536+(Ge.charCodeAt(0)-55296)*1024+(Ge.charCodeAt(1)-56320);return x(240|tt>>>18&7)+x(128|tt>>>12&63)+x(128|tt>>>6&63)+x(128|tt&63)}},E=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,re=function(Ge){return Ge.replace(E,b)},ae=function(Ge){var tt=[0,2,1][Ge.length%3],Me=Ge.charCodeAt(0)<<16|(Ge.length>1?Ge.charCodeAt(1):0)<<8|(Ge.length>2?Ge.charCodeAt(2):0),We=[se.charAt(Me>>>18),se.charAt(Me>>>12&63),tt>=2?"=":se.charAt(Me>>>6&63),tt>=1?"=":se.charAt(Me&63)];return We.join("")},le=oe.btoa&&typeof oe.btoa=="function"?function(Ge){return oe.btoa(Ge)}:function(Ge){if(Ge.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ge.replace(/[\s\S]{1,3}/g,ae)},fe=function(Ge){return le(re(String(Ge)))},ce=function(Ge){return Ge.replace(/[+\/]/g,function(tt){return tt=="+"?"-":"_"}).replace(/=/g,"")},ue=function(Ge,tt){return tt?ce(fe(Ge)):fe(Ge)},ge=function(Ge){return ue(Ge,!0)},_e;oe.Uint8Array&&(_e=function(Ge,tt){for(var Me="",We=0,it=Ge.length;We<it;We+=3){var ut=Ge[We],$e=Ge[We+1],Je=Ge[We+2],Xe=ut<<16|$e<<8|Je;Me+=se.charAt(Xe>>>18)+se.charAt(Xe>>>12&63)+(typeof $e!="undefined"?se.charAt(Xe>>>6&63):"=")+(typeof Je!="undefined"?se.charAt(Xe&63):"=")}return tt?ce(Me):Me});var we=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,xe=function(Ge){switch(Ge.length){case 4:var tt=(7&Ge.charCodeAt(0))<<18|(63&Ge.charCodeAt(1))<<12|(63&Ge.charCodeAt(2))<<6|63&Ge.charCodeAt(3),Me=tt-65536;return x((Me>>>10)+55296)+x((Me&1023)+56320);case 3:return x((15&Ge.charCodeAt(0))<<12|(63&Ge.charCodeAt(1))<<6|63&Ge.charCodeAt(2));default:return x((31&Ge.charCodeAt(0))<<6|63&Ge.charCodeAt(1))}},ve=function(Ge){return Ge.replace(we,xe)},Se=function(Ge){var tt=Ge.length,Me=tt%4,We=(tt>0?z[Ge.charAt(0)]<<18:0)|(tt>1?z[Ge.charAt(1)]<<12:0)|(tt>2?z[Ge.charAt(2)]<<6:0)|(tt>3?z[Ge.charAt(3)]:0),it=[x(We>>>16),x(We>>>8&255),x(We&255)];return it.length-=[0,0,2,1][Me],it.join("")},be=oe.atob&&typeof oe.atob=="function"?function(Ge){return oe.atob(Ge)}:function(Ge){return Ge.replace(/\S{1,4}/g,Se)},Ae=function(Ge){return be(String(Ge).replace(/[^A-Za-z0-9\+\/]/g,""))},Te=function(Ge){return ve(be(Ge))},je=function(Ge){return String(Ge).replace(/[-_]/g,function(tt){return tt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ke=function(Ge){return Te(je(Ge))},Pe;oe.Uint8Array&&(Pe=function(Ge){return Uint8Array.from(Ae(je(Ge)),function(tt){return tt.charCodeAt(0)})});var Oe=function(){var Ge=oe.Base64;return oe.Base64=ne,Ge};if(oe.Base64={VERSION:te,atob:Ae,btoa:le,fromBase64:ke,toBase64:ue,utob:re,encode:ue,encodeURI:ge,btou:ve,decode:ke,noConflict:Oe,fromUint8Array:_e,toUint8Array:Pe},typeof Object.defineProperty=="function"){var He=function(Ge){return{value:Ge,enumerable:!1,writable:!0,configurable:!0}};oe.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",He(function(){return ke(this)})),Object.defineProperty(String.prototype,"toBase64",He(function(Ge){return ue(this,Ge)})),Object.defineProperty(String.prototype,"toBase64URI",He(function(){return ue(this,!0)}))}}return oe.Meteor&&(Base64=oe.Base64),typeof he!="undefined"&&he.exports?he.exports.Base64=oe.Base64:typeof Ce=="function"&&Ce.amd&&Ce([],function(){return oe.Base64}),{Base64:oe.Base64}})}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(a,he,de){"use strict";he.exports=oe;var ee=Object.prototype.hasOwnProperty;function oe(ne,te,se){if(!ne)throw new TypeError("argument dest is required");if(!te)throw new TypeError("argument src is required");return se===void 0&&(se=!0),Object.getOwnPropertyNames(te).forEach(function(x){if(!(!se&&ee.call(ne,x))){var b=Object.getOwnPropertyDescriptor(te,x);Object.defineProperty(ne,x,b)}}),ne}},{}],373:[function(a,he,de){"use strict";a("core-js/modules/es.array.map.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.replace.js"),a("core-js/modules/es.regexp.constructor.js"),a("core-js/modules/es.regexp.to-string.js");function ee(){this._types=Object.create(null),this._extensions=Object.create(null);for(var oe=0;oe<arguments.length;oe++)this.define(arguments[oe]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}ee.prototype.define=function(oe,ne){for(var te in oe){var se=oe[te].map(function(E){return E.toLowerCase()});te=te.toLowerCase();for(var z=0;z<se.length;z++){var x=se[z];if(x[0]!=="*"){if(!ne&&x in this._types)throw new Error('Attempt to change mapping for "'+x+'" extension from "'+this._types[x]+'" to "'+te+'". Pass `force=true` to allow this, otherwise remove "'+x+'" from the list of extensions for "'+te+'".');this._types[x]=te}}if(ne||!this._extensions[te]){var b=se[0];this._extensions[te]=b[0]!=="*"?b:b.substr(1)}}},ee.prototype.getType=function(oe){oe=String(oe);var ne=oe.replace(/^.*[/\\]/,"").toLowerCase(),te=ne.replace(/^.*\./,"").toLowerCase(),se=ne.length<oe.length,z=te.length<ne.length-1;return(z||!se)&&this._types[te]||null},ee.prototype.getExtension=function(oe){return oe=/^\s*([^;\s]*)/.test(oe)&&RegExp.$1,oe&&this._extensions[oe.toLowerCase()]||null},he.exports=ee},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(a,he,de){"use strict";var ee=a("./Mime");he.exports=new ee(a("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(a,he,de){"use strict";he.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],376:[function(a,he,de){var ee=1e3,oe=ee*60,ne=oe*60,te=ne*24,se=te*7,z=te*365.25;he.exports=function(ae,le){le=le||{};var fe=typeof ae;if(fe==="string"&&ae.length>0)return x(ae);if(fe==="number"&&isFinite(ae))return le.long?E(ae):b(ae);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(ae))};function x(ae){if(ae=String(ae),!(ae.length>100)){var le=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(ae);if(le){var fe=parseFloat(le[1]),ce=(le[2]||"ms").toLowerCase();switch(ce){case"years":case"year":case"yrs":case"yr":case"y":return fe*z;case"weeks":case"week":case"w":return fe*se;case"days":case"day":case"d":return fe*te;case"hours":case"hour":case"hrs":case"hr":case"h":return fe*ne;case"minutes":case"minute":case"mins":case"min":case"m":return fe*oe;case"seconds":case"second":case"secs":case"sec":case"s":return fe*ee;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return fe;default:return}}}}function b(ae){var le=Math.abs(ae);return le>=te?Math.round(ae/te)+"d":le>=ne?Math.round(ae/ne)+"h":le>=oe?Math.round(ae/oe)+"m":le>=ee?Math.round(ae/ee)+"s":ae+"ms"}function E(ae){var le=Math.abs(ae);return le>=te?re(ae,le,te,"day"):le>=ne?re(ae,le,ne,"hour"):le>=oe?re(ae,le,oe,"minute"):le>=ee?re(ae,le,ee,"second"):ae+" ms"}function re(ae,le,fe,ce){var ue=le>=fe*1.5;return Math.round(ae/fe)+" "+ce+(ue?"s":"")}},{}],377:[function(a,he,de){"use strict";var ee=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;function te(z){if(z==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(z)}function se(){try{if(!Object.assign)return!1;var z=new String("abc");if(z[5]="de",Object.getOwnPropertyNames(z)[0]==="5")return!1;for(var x={},b=0;b<10;b++)x["_"+String.fromCharCode(b)]=b;var E=Object.getOwnPropertyNames(x).map(function(ae){return x[ae]});if(E.join("")!=="0123456789")return!1;var re={};return"abcdefghijklmnopqrst".split("").forEach(function(ae){re[ae]=ae}),Object.keys(Object.assign({},re)).join("")==="abcdefghijklmnopqrst"}catch(ae){return!1}}he.exports=se()?Object.assign:function(z,x){for(var b,E=te(z),re,ae=1;ae<arguments.length;ae++){b=Object(arguments[ae]);for(var le in b)oe.call(b,le)&&(E[le]=b[le]);if(ee){re=ee(b);for(var fe=0;fe<re.length;fe++)ne.call(b,re[fe])&&(E[re[fe]]=b[re[fe]])}}return E}},{}],378:[function(a,he,de){(function(ee){(function(){"use strict";function oe(z){if(typeof z!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(z))}function ne(z,x){for(var b="",E=0,re=-1,ae=0,le,fe=0;fe<=z.length;++fe){if(fe<z.length)le=z.charCodeAt(fe);else{if(le===47)break;le=47}if(le===47){if(!(re===fe-1||ae===1))if(re!==fe-1&&ae===2){if(b.length<2||E!==2||b.charCodeAt(b.length-1)!==46||b.charCodeAt(b.length-2)!==46){if(b.length>2){var ce=b.lastIndexOf("/");if(ce!==b.length-1){ce===-1?(b="",E=0):(b=b.slice(0,ce),E=b.length-1-b.lastIndexOf("/")),re=fe,ae=0;continue}}else if(b.length===2||b.length===1){b="",E=0,re=fe,ae=0;continue}}x&&(b.length>0?b+="/..":b="..",E=2)}else b.length>0?b+="/"+z.slice(re+1,fe):b=z.slice(re+1,fe),E=fe-re-1;re=fe,ae=0}else le===46&&ae!==-1?++ae:ae=-1}return b}function te(z,x){var b=x.dir||x.root,E=x.base||(x.name||"")+(x.ext||"");return b?b===x.root?b+E:b+z+E:E}var se={resolve:function(){for(var x="",b=!1,E,re=arguments.length-1;re>=-1&&!b;re--){var ae;re>=0?ae=arguments[re]:(E===void 0&&(E=ee.cwd()),ae=E),oe(ae),ae.length!==0&&(x=ae+"/"+x,b=ae.charCodeAt(0)===47)}return x=ne(x,!b),b?x.length>0?"/"+x:"/":x.length>0?x:"."},normalize:function(x){if(oe(x),x.length===0)return".";var b=x.charCodeAt(0)===47,E=x.charCodeAt(x.length-1)===47;return x=ne(x,!b),x.length===0&&!b&&(x="."),x.length>0&&E&&(x+="/"),b?"/"+x:x},isAbsolute:function(x){return oe(x),x.length>0&&x.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var x,b=0;b<arguments.length;++b){var E=arguments[b];oe(E),E.length>0&&(x===void 0?x=E:x+="/"+E)}return x===void 0?".":se.normalize(x)},relative:function(x,b){if(oe(x),oe(b),x===b||(x=se.resolve(x),b=se.resolve(b),x===b))return"";for(var E=1;E<x.length&&x.charCodeAt(E)===47;++E);for(var re=x.length,ae=re-E,le=1;le<b.length&&b.charCodeAt(le)===47;++le);for(var fe=b.length,ce=fe-le,ue=ae<ce?ae:ce,ge=-1,_e=0;_e<=ue;++_e){if(_e===ue){if(ce>ue){if(b.charCodeAt(le+_e)===47)return b.slice(le+_e+1);if(_e===0)return b.slice(le+_e)}else ae>ue&&(x.charCodeAt(E+_e)===47?ge=_e:_e===0&&(ge=0));break}var we=x.charCodeAt(E+_e),xe=b.charCodeAt(le+_e);if(we!==xe)break;we===47&&(ge=_e)}var ve="";for(_e=E+ge+1;_e<=re;++_e)(_e===re||x.charCodeAt(_e)===47)&&(ve.length===0?ve+="..":ve+="/..");return ve.length>0?ve+b.slice(le+ge):(le+=ge,b.charCodeAt(le)===47&&++le,b.slice(le))},_makeLong:function(x){return x},dirname:function(x){if(oe(x),x.length===0)return".";for(var b=x.charCodeAt(0),E=b===47,re=-1,ae=!0,le=x.length-1;le>=1;--le)if(b=x.charCodeAt(le),b===47){if(!ae){re=le;break}}else ae=!1;return re===-1?E?"/":".":E&&re===1?"//":x.slice(0,re)},basename:function(x,b){if(b!==void 0&&typeof b!="string")throw new TypeError('"ext" argument must be a string');oe(x);var E=0,re=-1,ae=!0,le;if(b!==void 0&&b.length>0&&b.length<=x.length){if(b.length===x.length&&b===x)return"";var fe=b.length-1,ce=-1;for(le=x.length-1;le>=0;--le){var ue=x.charCodeAt(le);if(ue===47){if(!ae){E=le+1;break}}else ce===-1&&(ae=!1,ce=le+1),fe>=0&&(ue===b.charCodeAt(fe)?--fe===-1&&(re=le):(fe=-1,re=ce))}return E===re?re=ce:re===-1&&(re=x.length),x.slice(E,re)}else{for(le=x.length-1;le>=0;--le)if(x.charCodeAt(le)===47){if(!ae){E=le+1;break}}else re===-1&&(ae=!1,re=le+1);return re===-1?"":x.slice(E,re)}},extname:function(x){oe(x);for(var b=-1,E=0,re=-1,ae=!0,le=0,fe=x.length-1;fe>=0;--fe){var ce=x.charCodeAt(fe);if(ce===47){if(!ae){E=fe+1;break}continue}re===-1&&(ae=!1,re=fe+1),ce===46?b===-1?b=fe:le!==1&&(le=1):b!==-1&&(le=-1)}return b===-1||re===-1||le===0||le===1&&b===re-1&&b===E+1?"":x.slice(b,re)},format:function(x){if(x===null||typeof x!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof x);return te("/",x)},parse:function(x){oe(x);var b={root:"",dir:"",base:"",ext:"",name:""};if(x.length===0)return b;var E=x.charCodeAt(0),re=E===47,ae;re?(b.root="/",ae=1):ae=0;for(var le=-1,fe=0,ce=-1,ue=!0,ge=x.length-1,_e=0;ge>=ae;--ge){if(E=x.charCodeAt(ge),E===47){if(!ue){fe=ge+1;break}continue}ce===-1&&(ue=!1,ce=ge+1),E===46?le===-1?le=ge:_e!==1&&(_e=1):le!==-1&&(_e=-1)}return le===-1||ce===-1||_e===0||_e===1&&le===ce-1&&le===fe+1?ce!==-1&&(fe===0&&re?b.base=b.name=x.slice(1,ce):b.base=b.name=x.slice(fe,ce)):(fe===0&&re?(b.name=x.slice(1,le),b.base=x.slice(1,ce)):(b.name=x.slice(fe,le),b.base=x.slice(fe,ce)),b.ext=x.slice(le,ce)),fe>0?b.dir=x.slice(0,fe-1):re&&(b.dir="/"),b},sep:"/",delimiter:":",win32:null,posix:null};se.posix=se,he.exports=se}).call(this)}).call(this,a("_process"))},{_process:467}],379:[function(a,he,de){(function(ee){(function(){(function(){"use strict";var oe={function:!0,object:!0},ne=oe[typeof window]&&window||this,te=ne,se=oe[typeof de]&&de,z=oe[typeof he]&&he&&!he.nodeType&&he,x=se&&z&&typeof ee=="object"&&ee;x&&(x.global===x||x.window===x||x.self===x)&&(ne=x);var b=Math.pow(2,53)-1,E=/\bOpera/,re=this,ae=Object.prototype,le=ae.hasOwnProperty,fe=ae.toString;function ce(ke){return ke=String(ke),ke.charAt(0).toUpperCase()+ke.slice(1)}function ue(ke,Pe,Oe){var He={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return Pe&&Oe&&/^Win/i.test(ke)&&!/^Windows Phone /i.test(ke)&&(He=He[/[\d.]+$/.exec(ke)])&&(ke="Windows "+He),ke=String(ke),Pe&&Oe&&(ke=ke.replace(RegExp(Pe,"i"),Oe)),ke=_e(ke.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),ke}function ge(ke,Pe){var Oe=-1,He=ke?ke.length:0;if(typeof He=="number"&&He>-1&&He<=b)for(;++Oe<He;)Pe(ke[Oe],Oe,ke);else we(ke,Pe)}function _e(ke){return ke=Ae(ke),/^(?:webOS|i(?:OS|P))/.test(ke)?ke:ce(ke)}function we(ke,Pe){for(var Oe in ke)le.call(ke,Oe)&&Pe(ke[Oe],Oe,ke)}function xe(ke){return ke==null?ce(ke):fe.call(ke).slice(8,-1)}function ve(ke,Pe){var Oe=ke!=null?typeof ke[Pe]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Oe)&&(Oe=="object"?!!ke[Pe]:!0)}function Se(ke){return String(ke).replace(/([ -])(?!$)/g,"$1?")}function be(ke,Pe){var Oe=null;return ge(ke,function(He,Ge){Oe=Pe(Oe,He,Ge,ke)}),Oe}function Ae(ke){return String(ke).replace(/^ +| +$/g,"")}function Te(ke){var Pe=ne,Oe=ke&&typeof ke=="object"&&xe(ke)!="String";Oe&&(Pe=ke,ke=null);var He=Pe.navigator||{},Ge=He.userAgent||"";ke||(ke=Ge);var tt=Oe||re==te,Me=Oe?!!He.likeChrome:/\bChrome\b/.test(ke)&&!/internal|\n/i.test(fe.toString()),We="Object",it=Oe?We:"ScriptBridgingProxyObject",ut=Oe?We:"Environment",$e=Oe&&Pe.java?"JavaPackage":xe(Pe.java),Je=Oe?We:"RuntimeObject",Xe=/\bJava/.test($e)&&Pe.java,Qe=Xe&&xe(Pe.environment)==ut,st=Xe?"a":"\u03B1",rt=Xe?"b":"\u03B2",pt=Pe.document||{},ft=Pe.operamini||Pe.opera,qe=E.test(qe=Oe&&ft?ft["[[Class]]"]:xe(ft))?qe:ft=null,Ie,at=ke,Be=[],et=null,vt=ke==Ge,gt=vt&&ft&&typeof ft.version=="function"&&ft.version(),dt,Ve=Le([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Ne=Ze(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),Ye=Fe([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),ot=De({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),Ue=lt(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function Le(Tt){return be(Tt,function(wt,It){return wt||RegExp("\\b"+(It.pattern||Se(It))+"\\b","i").exec(ke)&&(It.label||It)})}function De(Tt){return be(Tt,function(wt,It,Bt){return wt||(It[Ye]||It[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ye)]||RegExp("\\b"+Se(Bt)+"(?:\\b|\\w*\\d)","i").exec(ke))&&Bt})}function Ze(Tt){return be(Tt,function(wt,It){return wt||RegExp("\\b"+(It.pattern||Se(It))+"\\b","i").exec(ke)&&(It.label||It)})}function lt(Tt){return be(Tt,function(wt,It){var Bt=It.pattern||Se(It);return!wt&&(wt=RegExp("\\b"+Bt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(ke))&&(wt=ue(wt,Bt,It.label||It)),wt})}function Fe(Tt){return be(Tt,function(wt,It){var Bt=It.pattern||Se(It);return!wt&&(wt=RegExp("\\b"+Bt+" *\\d+[.\\w_]*","i").exec(ke)||RegExp("\\b"+Bt+" *\\w+-[\\w]*","i").exec(ke)||RegExp("\\b"+Bt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(ke))&&((wt=String(It.label&&!RegExp(Bt,"i").test(It.label)?It.label:wt).split("/"))[1]&&!/[\d.]+/.test(wt[0])&&(wt[0]+=" "+wt[1]),It=It.label||It,wt=_e(wt[0].replace(RegExp(Bt,"i"),It).replace(RegExp("; *(?:"+It+"[_-])?","i")," ").replace(RegExp("("+It+")[-_.]?(\\w)","i"),"$1 $2"))),wt})}function yt(Tt){return be(Tt,function(wt,It){return wt||(RegExp(It+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(ke)||0)[1]||null})}function xt(){return this.description||""}if(Ve&&(Ve=[Ve]),/\bAndroid\b/.test(Ue)&&!Ye&&(Ie=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(ke))&&(Ye=Ae(Ie[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),ot&&!Ye?Ye=Fe([ot]):ot&&Ye&&(Ye=Ye.replace(RegExp("^("+Se(ot)+")[-_.\\s]","i"),ot+" ").replace(RegExp("^("+Se(ot)+")[-_.]?(\\w)","i"),ot+" $2")),(Ie=/\bGoogle TV\b/.exec(Ye))&&(Ye=Ie[0]),/\bSimulator\b/i.test(ke)&&(Ye=(Ye?Ye+" ":"")+"Simulator"),Ne=="Opera Mini"&&/\bOPiOS\b/.test(ke)&&Be.push("running in Turbo/Uncompressed mode"),Ne=="IE"&&/\blike iPhone OS\b/.test(ke)?(Ie=Te(ke.replace(/like iPhone OS/,"")),ot=Ie.manufacturer,Ye=Ie.product):/^iP/.test(Ye)?(Ne||(Ne="Safari"),Ue="iOS"+((Ie=/ OS ([\d_]+)/i.exec(ke))?" "+Ie[1].replace(/_/g,"."):"")):Ne=="Konqueror"&&/^Linux\b/i.test(Ue)?Ue="Kubuntu":ot&&ot!="Google"&&(/Chrome/.test(Ne)&&!/\bMobile Safari\b/i.test(ke)||/\bVita\b/.test(Ye))||/\bAndroid\b/.test(Ue)&&/^Chrome/.test(Ne)&&/\bVersion\//i.test(ke)?(Ne="Android Browser",Ue=/\bAndroid\b/.test(Ue)?Ue:"Android"):Ne=="Silk"?(/\bMobi/i.test(ke)||(Ue="Android",Be.unshift("desktop mode")),/Accelerated *= *true/i.test(ke)&&Be.unshift("accelerated")):Ne=="UC Browser"&&/\bUCWEB\b/.test(ke)?Be.push("speed mode"):Ne=="PaleMoon"&&(Ie=/\bFirefox\/([\d.]+)\b/.exec(ke))?Be.push("identifying as Firefox "+Ie[1]):Ne=="Firefox"&&(Ie=/\b(Mobile|Tablet|TV)\b/i.exec(ke))?(Ue||(Ue="Firefox OS"),Ye||(Ye=Ie[1])):!Ne||(Ie=!/\bMinefield\b/i.test(ke)&&/\b(?:Firefox|Safari)\b/.exec(Ne))?(Ne&&!Ye&&/[\/,]|^[^(]+?\)/.test(ke.slice(ke.indexOf(Ie+"/")+8))&&(Ne=null),(Ie=Ye||ot||Ue)&&(Ye||ot||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Ue))&&(Ne=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Ue)?Ue:Ie)+" Browser")):Ne=="Electron"&&(Ie=(/\bChrome\/([\d.]+)\b/.exec(ke)||0)[1])&&Be.push("Chromium "+Ie),gt||(gt=yt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",Se(Ne),"(?:Firefox|Minefield|NetFront)"])),(Ie=Ve=="iCab"&&parseFloat(gt)>3&&"WebKit"||/\bOpera\b/.test(Ne)&&(/\bOPR\b/.test(ke)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(ke)&&!/^(?:Trident|EdgeHTML)$/.test(Ve)&&"WebKit"||!Ve&&/\bMSIE\b/i.test(ke)&&(Ue=="Mac OS"?"Tasman":"Trident")||Ve=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ne)&&"NetFront")&&(Ve=[Ie]),Ne=="IE"&&(Ie=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(ke)||0)[1])?(Ne+=" Mobile",Ue="Windows Phone "+(/\+$/.test(Ie)?Ie:Ie+".x"),Be.unshift("desktop mode")):/\bWPDesktop\b/i.test(ke)?(Ne="IE Mobile",Ue="Windows Phone 8.x",Be.unshift("desktop mode"),gt||(gt=(/\brv:([\d.]+)/.exec(ke)||0)[1])):Ne!="IE"&&Ve=="Trident"&&(Ie=/\brv:([\d.]+)/.exec(ke))&&(Ne&&Be.push("identifying as "+Ne+(gt?" "+gt:"")),Ne="IE",gt=Ie[1]),vt){if(ve(Pe,"global"))if(Xe&&(Ie=Xe.lang.System,at=Ie.getProperty("os.arch"),Ue=Ue||Ie.getProperty("os.name")+" "+Ie.getProperty("os.version")),Qe){try{gt=Pe.require("ringo/engine").version.join("."),Ne="RingoJS"}catch(Tt){(Ie=Pe.system)&&Ie.global.system==Pe.system&&(Ne="Narwhal",Ue||(Ue=Ie[0].os||null))}Ne||(Ne="Rhino")}else typeof Pe.process=="object"&&!Pe.process.browser&&(Ie=Pe.process)&&(typeof Ie.versions=="object"&&(typeof Ie.versions.electron=="string"?(Be.push("Node "+Ie.versions.node),Ne="Electron",gt=Ie.versions.electron):typeof Ie.versions.nw=="string"&&(Be.push("Chromium "+gt,"Node "+Ie.versions.node),Ne="NW.js",gt=Ie.versions.nw)),Ne||(Ne="Node.js",at=Ie.arch,Ue=Ie.platform,gt=/[\d.]+/.exec(Ie.version),gt=gt?gt[0]:null));else xe(Ie=Pe.runtime)==it?(Ne="Adobe AIR",Ue=Ie.flash.system.Capabilities.os):xe(Ie=Pe.phantom)==Je?(Ne="PhantomJS",gt=(Ie=Ie.version||null)&&Ie.major+"."+Ie.minor+"."+Ie.patch):typeof pt.documentMode=="number"&&(Ie=/\bTrident\/(\d+)/i.exec(ke))?(gt=[gt,pt.documentMode],(Ie=+Ie[1]+4)!=gt[1]&&(Be.push("IE "+gt[1]+" mode"),Ve&&(Ve[1]=""),gt[1]=Ie),gt=Ne=="IE"?String(gt[1].toFixed(1)):gt[0]):typeof pt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ne)&&(Be.push("masking as "+Ne+" "+gt),Ne="IE",gt="11.0",Ve=["Trident"],Ue="Windows");Ue=Ue&&_e(Ue)}if(gt&&(Ie=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(gt)||/(?:alpha|beta)(?: ?\d)?/i.exec(ke+";"+(vt&&He.appMinorVersion))||/\bMinefield\b/i.test(ke)&&"a")&&(et=/b/i.test(Ie)?"beta":"alpha",gt=gt.replace(RegExp(Ie+"\\+?$"),"")+(et=="beta"?rt:st)+(/\d+\+?/.exec(Ie)||"")),Ne=="Fennec"||Ne=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Ue))Ne="Firefox Mobile";else if(Ne=="Maxthon"&&gt)gt=gt.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ye))Ye=="Xbox 360"&&(Ue=null),Ye=="Xbox 360"&&/\bIEMobile\b/.test(ke)&&Be.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ne)||Ne&&!Ye&&!/Browser|Mobi/.test(Ne))&&(Ue=="Windows CE"||/Mobi/i.test(ke)))Ne+=" Mobile";else if(Ne=="IE"&&vt)try{Pe.external===null&&Be.unshift("platform preview")}catch(Tt){Be.unshift("embedded")}else(/\bBlackBerry\b/.test(Ye)||/\bBB10\b/.test(ke))&&(Ie=(RegExp(Ye.replace(/ +/g," *")+"/([.\\d]+)","i").exec(ke)||0)[1]||gt)?(Ie=[Ie,/BB10/.test(ke)],Ue=(Ie[1]?(Ye=null,ot="BlackBerry"):"Device Software")+" "+Ie[0],gt=null):this!=we&&Ye!="Wii"&&(vt&&ft||/Opera/.test(Ne)&&/\b(?:MSIE|Firefox)\b/i.test(ke)||Ne=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Ue)||Ne=="IE"&&(Ue&&!/^Win/.test(Ue)&&gt>5.5||/\bWindows XP\b/.test(Ue)&&gt>8||gt==8&&!/\bTrident\b/.test(ke)))&&!E.test(Ie=Te.call(we,ke.replace(E,"")+";"))&&Ie.name&&(Ie="ing as "+Ie.name+((Ie=Ie.version)?" "+Ie:""),E.test(Ne)?(/\bIE\b/.test(Ie)&&Ue=="Mac OS"&&(Ue=null),Ie="identify"+Ie):(Ie="mask"+Ie,qe?Ne=_e(qe.replace(/([a-z])([A-Z])/g,"$1 $2")):Ne="Opera",/\bIE\b/.test(Ie)&&(Ue=null),vt||(gt=null)),Ve=["Presto"],Be.push(Ie));(Ie=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(ke)||0)[1])&&(Ie=[parseFloat(Ie.replace(/\.(\d)$/,".0$1")),Ie],Ne=="Safari"&&Ie[1].slice(-1)=="+"?(Ne="WebKit Nightly",et="alpha",gt=Ie[1].slice(0,-1)):(gt==Ie[1]||gt==(Ie[2]=(/\bSafari\/([\d.]+\+?)/i.exec(ke)||0)[1]))&&(gt=null),Ie[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(ke)||0)[1],Ie[0]==537.36&&Ie[2]==537.36&&parseFloat(Ie[1])>=28&&Ve=="WebKit"&&(Ve=["Blink"]),!vt||!Me&&!Ie[1]?(Ve&&(Ve[1]="like Safari"),Ie=(Ie=Ie[0],Ie<400?1:Ie<500?2:Ie<526?3:Ie<533?4:Ie<534?"4+":Ie<535?5:Ie<537?6:Ie<538?7:Ie<601?8:Ie<602?9:Ie<604?10:Ie<606?11:Ie<608?12:"12")):(Ve&&(Ve[1]="like Chrome"),Ie=Ie[1]||(Ie=Ie[0],Ie<530?1:Ie<532?2:Ie<532.05?3:Ie<533?4:Ie<534.03?5:Ie<534.07?6:Ie<534.1?7:Ie<534.13?8:Ie<534.16?9:Ie<534.24?10:Ie<534.3?11:Ie<535.01?12:Ie<535.02?"13+":Ie<535.07?15:Ie<535.11?16:Ie<535.19?17:Ie<536.05?18:Ie<536.1?19:Ie<537.01?20:Ie<537.11?"21+":Ie<537.13?23:Ie<537.18?24:Ie<537.24?25:Ie<537.36?26:Ve!="Blink"?"27":"28")),Ve&&(Ve[1]+=" "+(Ie+=typeof Ie=="number"?".x":/[.+]/.test(Ie)?"":"+")),Ne=="Safari"&&(!gt||parseInt(gt)>45)?gt=Ie:Ne=="Chrome"&&/\bHeadlessChrome/i.test(ke)&&Be.unshift("headless")),Ne=="Opera"&&(Ie=/\bzbov|zvav$/.exec(Ue))?(Ne+=" ",Be.unshift("desktop mode"),Ie=="zvav"?(Ne+="Mini",gt=null):Ne+="Mobile",Ue=Ue.replace(RegExp(" *"+Ie+"$"),"")):Ne=="Safari"&&/\bChrome\b/.exec(Ve&&Ve[1])?(Be.unshift("desktop mode"),Ne="Chrome Mobile",gt=null,/\bOS X\b/.test(Ue)?(ot="Apple",Ue="iOS 4.3+"):Ue=null):/\bSRWare Iron\b/.test(Ne)&&!gt&&(gt=yt("Chrome")),gt&&gt.indexOf(Ie=/[\d.]+$/.exec(Ue))==0&&ke.indexOf("/"+Ie+"-")>-1&&(Ue=Ae(Ue.replace(Ie,""))),Ue&&Ue.indexOf(Ne)!=-1&&!RegExp(Ne+" OS").test(Ue)&&(Ue=Ue.replace(RegExp(" *"+Se(Ne)+" *"),"")),Ve&&!/\b(?:Avant|Nook)\b/.test(Ne)&&(/Browser|Lunascape|Maxthon/.test(Ne)||Ne!="Safari"&&/^iOS/.test(Ue)&&/\bSafari\b/.test(Ve[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Ne)&&Ve[1])&&(Ie=Ve[Ve.length-1])&&Be.push(Ie),Be.length&&(Be=["("+Be.join("; ")+")"]),ot&&Ye&&Ye.indexOf(ot)<0&&Be.push("on "+ot),Ye&&Be.push((/^on /.test(Be[Be.length-1])?"":"on ")+Ye),Ue&&(Ie=/ ([\d.+]+)$/.exec(Ue),dt=Ie&&Ue.charAt(Ue.length-Ie[0].length-1)=="/",Ue={architecture:32,family:Ie&&!dt?Ue.replace(Ie[0],""):Ue,version:Ie?Ie[1]:null,toString:function(){var Tt=this.version;return this.family+(Tt&&!dt?" "+Tt:"")+(this.architecture==64?" 64-bit":"")}}),(Ie=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(at))&&!/\bi686\b/i.test(at)?(Ue&&(Ue.architecture=64,Ue.family=Ue.family.replace(RegExp(" *"+Ie),"")),Ne&&(/\bWOW64\b/i.test(ke)||vt&&/\w(?:86|32)$/.test(He.cpuClass||He.platform)&&!/\bWin64; x64\b/i.test(ke))&&Be.unshift("32-bit")):Ue&&/^OS X/.test(Ue.family)&&Ne=="Chrome"&&parseFloat(gt)>=39&&(Ue.architecture=64),ke||(ke=null);var jt={};return jt.description=ke,jt.layout=Ve&&Ve[0],jt.manufacturer=ot,jt.name=Ne,jt.prerelease=et,jt.product=Ye,jt.ua=ke,jt.version=Ne&&gt,jt.os=Ue||{architecture:null,family:null,version:null,toString:function(){return"null"}},jt.parse=Te,jt.toString=xt,jt.version&&Be.unshift(gt),jt.name&&Be.unshift(Ne),Ue&&Ne&&!(Ue==String(Ue).split(" ")[0]&&(Ue==Ne.split(" ")[0]||Ye))&&Be.push(Ye?"("+Ue+")":"on "+Ue),Be.length&&(jt.description=Be.join(" ")),jt}var je=Te();typeof Ce=="function"&&typeof Ce.amd=="object"&&Ce.amd?(ne.platform=je,Ce(function(){return je})):se&&z?we(je,function(ke,Pe){se[Pe]=ke}):ne.platform=je}).call(this)}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(a,he,de){(function(ee){(function(){"use strict";typeof ee=="undefined"||!ee.version||ee.version.indexOf("v0.")===0||ee.version.indexOf("v1.")===0&&ee.version.indexOf("v1.8.")!==0?he.exports={nextTick:oe}:he.exports=ee;function oe(ne,te,se,z){if(typeof ne!="function")throw new TypeError('"callback" argument must be a function');var x=arguments.length,b,E;switch(x){case 0:case 1:return ee.nextTick(ne);case 2:return ee.nextTick(function(){ne.call(null,te)});case 3:return ee.nextTick(function(){ne.call(null,te,se)});case 4:return ee.nextTick(function(){ne.call(null,te,se,z)});default:for(b=new Array(x-1),E=0;E<b.length;)b[E++]=arguments[E];return ee.nextTick(function(){ne.apply(null,b)})}}}).call(this)}).call(this,a("_process"))},{_process:467}],381:[function(a,he,de){var ee=he.exports={},oe,ne;function te(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?oe=setTimeout:oe=te}catch(ge){oe=te}try{typeof clearTimeout=="function"?ne=clearTimeout:ne=se}catch(ge){ne=se}})();function z(ge){if(oe===setTimeout)return setTimeout(ge,0);if((oe===te||!oe)&&setTimeout)return oe=setTimeout,setTimeout(ge,0);try{return oe(ge,0)}catch(_e){try{return oe.call(null,ge,0)}catch(we){return oe.call(this,ge,0)}}}function x(ge){if(ne===clearTimeout)return clearTimeout(ge);if((ne===se||!ne)&&clearTimeout)return ne=clearTimeout,clearTimeout(ge);try{return ne(ge)}catch(_e){try{return ne.call(null,ge)}catch(we){return ne.call(this,ge)}}}var b=[],E=!1,re,ae=-1;function le(){!E||!re||(E=!1,re.length?b=re.concat(b):ae=-1,b.length&&fe())}function fe(){if(!E){var ge=z(le);E=!0;for(var _e=b.length;_e;){for(re=b,b=[];++ae<_e;)re&&re[ae].run();ae=-1,_e=b.length}re=null,E=!1,x(ge)}}ee.nextTick=function(ge){var _e=new Array(arguments.length-1);if(arguments.length>1)for(var we=1;we<arguments.length;we++)_e[we-1]=arguments[we];b.push(new ce(ge,_e)),b.length===1&&!E&&z(fe)};function ce(ge,_e){this.fun=ge,this.array=_e}ce.prototype.run=function(){this.fun.apply(null,this.array)},ee.title="browser",ee.browser=!0,ee.env={},ee.argv=[],ee.version="",ee.versions={};function ue(){}ee.on=ue,ee.addListener=ue,ee.once=ue,ee.off=ue,ee.removeListener=ue,ee.removeAllListeners=ue,ee.emit=ue,ee.prependListener=ue,ee.prependOnceListener=ue,ee.listeners=function(ge){return[]},ee.binding=function(ge){throw new Error("process.binding is not supported")},ee.cwd=function(){return"/"},ee.chdir=function(ge){throw new Error("process.chdir is not supported")},ee.umask=function(){return 0}},{}],382:[function(a,he,de){(function(ee){(function(){(function(oe){var ne=typeof de=="object"&&de&&!de.nodeType&&de,te=typeof he=="object"&&he&&!he.nodeType&&he,se=typeof ee=="object"&&ee;(se.global===se||se.window===se||se.self===se)&&(oe=se);var z,x=2147483647,b=36,E=1,re=26,ae=38,le=700,fe=72,ce=128,ue="-",ge=/^xn--/,_e=/[^\x20-\x7E]/,we=/[\x2E\u3002\uFF0E\uFF61]/g,xe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ve=b-E,Se=Math.floor,be=String.fromCharCode,Ae;function Te($e){throw new RangeError(xe[$e])}function je($e,Je){for(var Xe=$e.length,Qe=[];Xe--;)Qe[Xe]=Je($e[Xe]);return Qe}function ke($e,Je){var Xe=$e.split("@"),Qe="";Xe.length>1&&(Qe=Xe[0]+"@",$e=Xe[1]),$e=$e.replace(we,".");var st=$e.split("."),rt=je(st,Je).join(".");return Qe+rt}function Pe($e){for(var Je=[],Xe=0,Qe=$e.length,st,rt;Xe<Qe;)st=$e.charCodeAt(Xe++),st>=55296&&st<=56319&&Xe<Qe?(rt=$e.charCodeAt(Xe++),(rt&64512)==56320?Je.push(((st&1023)<<10)+(rt&1023)+65536):(Je.push(st),Xe--)):Je.push(st);return Je}function Oe($e){return je($e,function(Je){var Xe="";return Je>65535&&(Je-=65536,Xe+=be(Je>>>10&1023|55296),Je=56320|Je&1023),Xe+=be(Je),Xe}).join("")}function He($e){return $e-48<10?$e-22:$e-65<26?$e-65:$e-97<26?$e-97:b}function Ge($e,Je){return $e+22+75*($e<26)-((Je!=0)<<5)}function tt($e,Je,Xe){var Qe=0;for($e=Xe?Se($e/le):$e>>1,$e+=Se($e/Je);$e>ve*re>>1;Qe+=b)$e=Se($e/ve);return Se(Qe+(ve+1)*$e/($e+ae))}function Me($e){var Je=[],Xe=$e.length,Qe,st=0,rt=ce,pt=fe,ft,qe,Ie,at,Be,et,vt,gt,dt;for(ft=$e.lastIndexOf(ue),ft<0&&(ft=0),qe=0;qe<ft;++qe)$e.charCodeAt(qe)>=128&&Te("not-basic"),Je.push($e.charCodeAt(qe));for(Ie=ft>0?ft+1:0;Ie<Xe;){for(at=st,Be=1,et=b;Ie>=Xe&&Te("invalid-input"),vt=He($e.charCodeAt(Ie++)),(vt>=b||vt>Se((x-st)/Be))&&Te("overflow"),st+=vt*Be,gt=et<=pt?E:et>=pt+re?re:et-pt,!(vt<gt);et+=b)dt=b-gt,Be>Se(x/dt)&&Te("overflow"),Be*=dt;Qe=Je.length+1,pt=tt(st-at,Qe,at==0),Se(st/Qe)>x-rt&&Te("overflow"),rt+=Se(st/Qe),st%=Qe,Je.splice(st++,0,rt)}return Oe(Je)}function We($e){var Je,Xe,Qe,st,rt,pt,ft,qe,Ie,at,Be,et=[],vt,gt,dt,Ve;for($e=Pe($e),vt=$e.length,Je=ce,Xe=0,rt=fe,pt=0;pt<vt;++pt)Be=$e[pt],Be<128&&et.push(be(Be));for(Qe=st=et.length,st&&et.push(ue);Qe<vt;){for(ft=x,pt=0;pt<vt;++pt)Be=$e[pt],Be>=Je&&Be<ft&&(ft=Be);for(gt=Qe+1,ft-Je>Se((x-Xe)/gt)&&Te("overflow"),Xe+=(ft-Je)*gt,Je=ft,pt=0;pt<vt;++pt)if(Be=$e[pt],Be<Je&&++Xe>x&&Te("overflow"),Be==Je){for(qe=Xe,Ie=b;at=Ie<=rt?E:Ie>=rt+re?re:Ie-rt,!(qe<at);Ie+=b)Ve=qe-at,dt=b-at,et.push(be(Ge(at+Ve%dt,0))),qe=Se(Ve/dt);et.push(be(Ge(qe,0))),rt=tt(Xe,gt,Qe==st),Xe=0,++Qe}++Xe,++Je}return et.join("")}function it($e){return ke($e,function(Je){return ge.test(Je)?Me(Je.slice(4).toLowerCase()):Je})}function ut($e){return ke($e,function(Je){return _e.test(Je)?"xn--"+We(Je):Je})}if(z={version:"1.4.1",ucs2:{decode:Pe,encode:Oe},decode:Me,encode:We,toASCII:ut,toUnicode:it},typeof Ce=="function"&&typeof Ce.amd=="object"&&Ce.amd)Ce("punycode",function(){return z});else if(ne&&te)if(he.exports==ne)te.exports=z;else for(Ae in z)z.hasOwnProperty(Ae)&&(ne[Ae]=z[Ae]);else oe.punycode=z})(this)}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(a,he,de){"use strict";function ee(ne,te){return Object.prototype.hasOwnProperty.call(ne,te)}he.exports=function(ne,te,se,z){te=te||"&",se=se||"=";var x={};if(typeof ne!="string"||ne.length===0)return x;var b=/\+/g;ne=ne.split(te);var E=1e3;z&&typeof z.maxKeys=="number"&&(E=z.maxKeys);var re=ne.length;E>0&&re>E&&(re=E);for(var ae=0;ae<re;++ae){var le=ne[ae].replace(b,"%20"),fe=le.indexOf(se),ce,ue,ge,_e;fe>=0?(ce=le.substr(0,fe),ue=le.substr(fe+1)):(ce=le,ue=""),ge=decodeURIComponent(ce),_e=decodeURIComponent(ue),ee(x,ge)?oe(x[ge])?x[ge].push(_e):x[ge]=[x[ge],_e]:x[ge]=_e}return x};var oe=Array.isArray||function(ne){return Object.prototype.toString.call(ne)==="[object Array]"}},{}],384:[function(a,he,de){"use strict";var ee=function(se){switch(typeof se){case"string":return se;case"boolean":return se?"true":"false";case"number":return isFinite(se)?se:"";default:return""}};he.exports=function(se,z,x,b){return z=z||"&",x=x||"=",se===null&&(se=void 0),typeof se=="object"?ne(te(se),function(E){var re=encodeURIComponent(ee(E))+x;return oe(se[E])?ne(se[E],function(ae){return re+encodeURIComponent(ee(ae))}).join(z):re+encodeURIComponent(ee(se[E]))}).join(z):b?encodeURIComponent(ee(b))+x+encodeURIComponent(ee(se)):""};var oe=Array.isArray||function(se){return Object.prototype.toString.call(se)==="[object Array]"};function ne(se,z){if(se.map)return se.map(z);for(var x=[],b=0;b<se.length;b++)x.push(z(se[b],b));return x}var te=Object.keys||function(se){var z=[];for(var x in se)Object.prototype.hasOwnProperty.call(se,x)&&z.push(x);return z}},{}],385:[function(a,he,de){"use strict";de.decode=de.parse=a("./decode"),de.encode=de.stringify=a("./encode")},{"./decode":383,"./encode":384}],386:[function(a,he,de){"use strict";var ee=a("process-nextick-args"),oe=Object.keys||function(le){var fe=[];for(var ce in le)fe.push(ce);return fe};he.exports=E;var ne=Object.create(a("core-util-is"));ne.inherits=a("inherits");var te=a("./_stream_readable"),se=a("./_stream_writable");ne.inherits(E,te);for(var z=oe(se.prototype),x=0;x<z.length;x++){var b=z[x];E.prototype[b]||(E.prototype[b]=se.prototype[b])}function E(le){if(!(this instanceof E))return new E(le);te.call(this,le),se.call(this,le),le&&le.readable===!1&&(this.readable=!1),le&&le.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,le&&le.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",re)}Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function re(){this.allowHalfOpen||this._writableState.ended||ee.nextTick(ae,this)}function ae(le){le.end()}Object.defineProperty(E.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(le){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=le,this._writableState.destroyed=le)}}),E.prototype._destroy=function(le,fe){this.push(null),this.end(),ee.nextTick(fe,le)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(a,he,de){"use strict";he.exports=ne;var ee=a("./_stream_transform"),oe=Object.create(a("core-util-is"));oe.inherits=a("inherits"),oe.inherits(ne,ee);function ne(te){if(!(this instanceof ne))return new ne(te);ee.call(this,te)}ne.prototype._transform=function(te,se,z){z(null,te)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(a,he,de){(function(ee,oe){(function(){"use strict";var ne=a("process-nextick-args");he.exports=be;var te=a("isarray"),se;be.ReadableState=Se;var z=a("events").EventEmitter,x=function(Be,et){return Be.listeners(et).length},b=a("./internal/streams/stream"),E=a("safe-buffer").Buffer,re=oe.Uint8Array||function(){};function ae(Be){return E.from(Be)}function le(Be){return E.isBuffer(Be)||Be instanceof re}var fe=Object.create(a("core-util-is"));fe.inherits=a("inherits");var ce=a("util"),ue=void 0;ce&&ce.debuglog?ue=ce.debuglog("stream"):ue=function(){};var ge=a("./internal/streams/BufferList"),_e=a("./internal/streams/destroy"),we;fe.inherits(be,b);var xe=["error","close","destroy","pause","resume"];function ve(Be,et,vt){if(typeof Be.prependListener=="function")return Be.prependListener(et,vt);!Be._events||!Be._events[et]?Be.on(et,vt):te(Be._events[et])?Be._events[et].unshift(vt):Be._events[et]=[vt,Be._events[et]]}function Se(Be,et){se=se||a("./_stream_duplex"),Be=Be||{};var vt=et instanceof se;this.objectMode=!!Be.objectMode,vt&&(this.objectMode=this.objectMode||!!Be.readableObjectMode);var gt=Be.highWaterMark,dt=Be.readableHighWaterMark,Ve=this.objectMode?16:16*1024;gt||gt===0?this.highWaterMark=gt:vt&&(dt||dt===0)?this.highWaterMark=dt:this.highWaterMark=Ve,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new ge,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=Be.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Be.encoding&&(we||(we=a("string_decoder/").StringDecoder),this.decoder=new we(Be.encoding),this.encoding=Be.encoding)}function be(Be){if(se=se||a("./_stream_duplex"),!(this instanceof be))return new be(Be);this._readableState=new Se(Be,this),this.readable=!0,Be&&(typeof Be.read=="function"&&(this._read=Be.read),typeof Be.destroy=="function"&&(this._destroy=Be.destroy)),b.call(this)}Object.defineProperty(be.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Be){this._readableState&&(this._readableState.destroyed=Be)}}),be.prototype.destroy=_e.destroy,be.prototype._undestroy=_e.undestroy,be.prototype._destroy=function(Be,et){this.push(null),et(Be)},be.prototype.push=function(Be,et){var vt=this._readableState,gt;return vt.objectMode?gt=!0:typeof Be=="string"&&(et=et||vt.defaultEncoding,et!==vt.encoding&&(Be=E.from(Be,et),et=""),gt=!0),Ae(this,Be,et,!1,gt)},be.prototype.unshift=function(Be){return Ae(this,Be,null,!0,!1)};function Ae(Be,et,vt,gt,dt){var Ve=Be._readableState;if(et===null)Ve.reading=!1,Ge(Be,Ve);else{var Ne;dt||(Ne=je(Ve,et)),Ne?Be.emit("error",Ne):Ve.objectMode||et&&et.length>0?(typeof et!="string"&&!Ve.objectMode&&Object.getPrototypeOf(et)!==E.prototype&&(et=ae(et)),gt?Ve.endEmitted?Be.emit("error",new Error("stream.unshift() after end event")):Te(Be,Ve,et,!0):Ve.ended?Be.emit("error",new Error("stream.push() after EOF")):(Ve.reading=!1,Ve.decoder&&!vt?(et=Ve.decoder.write(et),Ve.objectMode||et.length!==0?Te(Be,Ve,et,!1):We(Be,Ve)):Te(Be,Ve,et,!1))):gt||(Ve.reading=!1)}return ke(Ve)}function Te(Be,et,vt,gt){et.flowing&&et.length===0&&!et.sync?(Be.emit("data",vt),Be.read(0)):(et.length+=et.objectMode?1:vt.length,gt?et.buffer.unshift(vt):et.buffer.push(vt),et.needReadable&&tt(Be)),We(Be,et)}function je(Be,et){var vt;return!le(et)&&typeof et!="string"&&et!==void 0&&!Be.objectMode&&(vt=new TypeError("Invalid non-string/buffer chunk")),vt}function ke(Be){return!Be.ended&&(Be.needReadable||Be.length<Be.highWaterMark||Be.length===0)}be.prototype.isPaused=function(){return this._readableState.flowing===!1},be.prototype.setEncoding=function(Be){return we||(we=a("string_decoder/").StringDecoder),this._readableState.decoder=new we(Be),this._readableState.encoding=Be,this};var Pe=8388608;function Oe(Be){return Be>=Pe?Be=Pe:(Be--,Be|=Be>>>1,Be|=Be>>>2,Be|=Be>>>4,Be|=Be>>>8,Be|=Be>>>16,Be++),Be}function He(Be,et){return Be<=0||et.length===0&&et.ended?0:et.objectMode?1:Be!==Be?et.flowing&&et.length?et.buffer.head.data.length:et.length:(Be>et.highWaterMark&&(et.highWaterMark=Oe(Be)),Be<=et.length?Be:et.ended?et.length:(et.needReadable=!0,0))}be.prototype.read=function(Be){ue("read",Be),Be=parseInt(Be,10);var et=this._readableState,vt=Be;if(Be!==0&&(et.emittedReadable=!1),Be===0&&et.needReadable&&(et.length>=et.highWaterMark||et.ended))return ue("read: emitReadable",et.length,et.ended),et.length===0&&et.ended?qe(this):tt(this),null;if(Be=He(Be,et),Be===0&&et.ended)return et.length===0&&qe(this),null;var gt=et.needReadable;ue("need readable",gt),(et.length===0||et.length-Be<et.highWaterMark)&&(gt=!0,ue("length less than watermark",gt)),et.ended||et.reading?(gt=!1,ue("reading or ended",gt)):gt&&(ue("do read"),et.reading=!0,et.sync=!0,et.length===0&&(et.needReadable=!0),this._read(et.highWaterMark),et.sync=!1,et.reading||(Be=He(vt,et)));var dt;return Be>0?dt=st(Be,et):dt=null,dt===null?(et.needReadable=!0,Be=0):et.length-=Be,et.length===0&&(et.ended||(et.needReadable=!0),vt!==Be&&et.ended&&qe(this)),dt!==null&&this.emit("data",dt),dt};function Ge(Be,et){if(!et.ended){if(et.decoder){var vt=et.decoder.end();vt&&vt.length&&(et.buffer.push(vt),et.length+=et.objectMode?1:vt.length)}et.ended=!0,tt(Be)}}function tt(Be){var et=Be._readableState;et.needReadable=!1,et.emittedReadable||(ue("emitReadable",et.flowing),et.emittedReadable=!0,et.sync?ne.nextTick(Me,Be):Me(Be))}function Me(Be){ue("emit readable"),Be.emit("readable"),Qe(Be)}function We(Be,et){et.readingMore||(et.readingMore=!0,ne.nextTick(it,Be,et))}function it(Be,et){for(var vt=et.length;!et.reading&&!et.flowing&&!et.ended&&et.length<et.highWaterMark&&(ue("maybeReadMore read 0"),Be.read(0),vt!==et.length);)vt=et.length;et.readingMore=!1}be.prototype._read=function(Be){this.emit("error",new Error("_read() is not implemented"))},be.prototype.pipe=function(Be,et){var vt=this,gt=this._readableState;switch(gt.pipesCount){case 0:gt.pipes=Be;break;case 1:gt.pipes=[gt.pipes,Be];break;default:gt.pipes.push(Be);break}gt.pipesCount+=1,ue("pipe count=%d opts=%j",gt.pipesCount,et);var dt=(!et||et.end!==!1)&&Be!==ee.stdout&&Be!==ee.stderr,Ve=dt?Ye:xt;gt.endEmitted?ne.nextTick(Ve):vt.once("end",Ve),Be.on("unpipe",Ne);function Ne(jt,Tt){ue("onunpipe"),jt===vt&&Tt&&Tt.hasUnpiped===!1&&(Tt.hasUnpiped=!0,Le())}function Ye(){ue("onend"),Be.end()}var ot=ut(vt);Be.on("drain",ot);var Ue=!1;function Le(){ue("cleanup"),Be.removeListener("close",Fe),Be.removeListener("finish",yt),Be.removeListener("drain",ot),Be.removeListener("error",lt),Be.removeListener("unpipe",Ne),vt.removeListener("end",Ye),vt.removeListener("end",xt),vt.removeListener("data",Ze),Ue=!0,gt.awaitDrain&&(!Be._writableState||Be._writableState.needDrain)&&ot()}var De=!1;vt.on("data",Ze);function Ze(jt){ue("ondata"),De=!1;var Tt=Be.write(jt);Tt===!1&&!De&&((gt.pipesCount===1&&gt.pipes===Be||gt.pipesCount>1&&at(gt.pipes,Be)!==-1)&&!Ue&&(ue("false write response, pause",vt._readableState.awaitDrain),vt._readableState.awaitDrain++,De=!0),vt.pause())}function lt(jt){ue("onerror",jt),xt(),Be.removeListener("error",lt),x(Be,"error")===0&&Be.emit("error",jt)}ve(Be,"error",lt);function Fe(){Be.removeListener("finish",yt),xt()}Be.once("close",Fe);function yt(){ue("onfinish"),Be.removeListener("close",Fe),xt()}Be.once("finish",yt);function xt(){ue("unpipe"),vt.unpipe(Be)}return Be.emit("pipe",vt),gt.flowing||(ue("pipe resume"),vt.resume()),Be};function ut(Be){return function(){var et=Be._readableState;ue("pipeOnDrain",et.awaitDrain),et.awaitDrain&&et.awaitDrain--,et.awaitDrain===0&&x(Be,"data")&&(et.flowing=!0,Qe(Be))}}be.prototype.unpipe=function(Be){var et=this._readableState,vt={hasUnpiped:!1};if(et.pipesCount===0)return this;if(et.pipesCount===1)return Be&&Be!==et.pipes?this:(Be||(Be=et.pipes),et.pipes=null,et.pipesCount=0,et.flowing=!1,Be&&Be.emit("unpipe",this,vt),this);if(!Be){var gt=et.pipes,dt=et.pipesCount;et.pipes=null,et.pipesCount=0,et.flowing=!1;for(var Ve=0;Ve<dt;Ve++)gt[Ve].emit("unpipe",this,vt);return this}var Ne=at(et.pipes,Be);return Ne===-1?this:(et.pipes.splice(Ne,1),et.pipesCount-=1,et.pipesCount===1&&(et.pipes=et.pipes[0]),Be.emit("unpipe",this,vt),this)},be.prototype.on=function(Be,et){var vt=b.prototype.on.call(this,Be,et);if(Be==="data")this._readableState.flowing!==!1&&this.resume();else if(Be==="readable"){var gt=this._readableState;!gt.endEmitted&&!gt.readableListening&&(gt.readableListening=gt.needReadable=!0,gt.emittedReadable=!1,gt.reading?gt.length&&tt(this):ne.nextTick($e,this))}return vt},be.prototype.addListener=be.prototype.on;function $e(Be){ue("readable nexttick read 0"),Be.read(0)}be.prototype.resume=function(){var Be=this._readableState;return Be.flowing||(ue("resume"),Be.flowing=!0,Je(this,Be)),this};function Je(Be,et){et.resumeScheduled||(et.resumeScheduled=!0,ne.nextTick(Xe,Be,et))}function Xe(Be,et){et.reading||(ue("resume read 0"),Be.read(0)),et.resumeScheduled=!1,et.awaitDrain=0,Be.emit("resume"),Qe(Be),et.flowing&&!et.reading&&Be.read(0)}be.prototype.pause=function(){return ue("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ue("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Qe(Be){var et=Be._readableState;for(ue("flow",et.flowing);et.flowing&&Be.read()!==null;);}be.prototype.wrap=function(Be){var et=this,vt=this._readableState,gt=!1;Be.on("end",function(){if(ue("wrapped end"),vt.decoder&&!vt.ended){var Ne=vt.decoder.end();Ne&&Ne.length&&et.push(Ne)}et.push(null)}),Be.on("data",function(Ne){if(ue("wrapped data"),vt.decoder&&(Ne=vt.decoder.write(Ne)),!(vt.objectMode&&Ne==null)&&!(!vt.objectMode&&(!Ne||!Ne.length))){var Ye=et.push(Ne);Ye||(gt=!0,Be.pause())}});for(var dt in Be)this[dt]===void 0&&typeof Be[dt]=="function"&&(this[dt]=function(Ne){return function(){return Be[Ne].apply(Be,arguments)}}(dt));for(var Ve=0;Ve<xe.length;Ve++)Be.on(xe[Ve],this.emit.bind(this,xe[Ve]));return this._read=function(Ne){ue("wrapped _read",Ne),gt&&(gt=!1,Be.resume())},this},Object.defineProperty(be.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),be._fromList=st;function st(Be,et){if(et.length===0)return null;var vt;return et.objectMode?vt=et.buffer.shift():!Be||Be>=et.length?(et.decoder?vt=et.buffer.join(""):et.buffer.length===1?vt=et.buffer.head.data:vt=et.buffer.concat(et.length),et.buffer.clear()):vt=rt(Be,et.buffer,et.decoder),vt}function rt(Be,et,vt){var gt;return Be<et.head.data.length?(gt=et.head.data.slice(0,Be),et.head.data=et.head.data.slice(Be)):Be===et.head.data.length?gt=et.shift():gt=vt?pt(Be,et):ft(Be,et),gt}function pt(Be,et){var vt=et.head,gt=1,dt=vt.data;for(Be-=dt.length;vt=vt.next;){var Ve=vt.data,Ne=Be>Ve.length?Ve.length:Be;if(Ne===Ve.length?dt+=Ve:dt+=Ve.slice(0,Be),Be-=Ne,Be===0){Ne===Ve.length?(++gt,vt.next?et.head=vt.next:et.head=et.tail=null):(et.head=vt,vt.data=Ve.slice(Ne));break}++gt}return et.length-=gt,dt}function ft(Be,et){var vt=E.allocUnsafe(Be),gt=et.head,dt=1;for(gt.data.copy(vt),Be-=gt.data.length;gt=gt.next;){var Ve=gt.data,Ne=Be>Ve.length?Ve.length:Be;if(Ve.copy(vt,vt.length-Be,0,Ne),Be-=Ne,Be===0){Ne===Ve.length?(++dt,gt.next?et.head=gt.next:et.head=et.tail=null):(et.head=gt,gt.data=Ve.slice(Ne));break}++dt}return et.length-=dt,vt}function qe(Be){var et=Be._readableState;if(et.length>0)throw new Error('"endReadable()" called on non-empty stream');et.endEmitted||(et.ended=!0,ne.nextTick(Ie,et,Be))}function Ie(Be,et){!Be.endEmitted&&Be.length===0&&(Be.endEmitted=!0,et.readable=!1,et.emit("end"))}function at(Be,et){for(var vt=0,gt=Be.length;vt<gt;vt++)if(Be[vt]===et)return vt;return-1}}).call(this)}).call(this,a("_process"),typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(a,he,de){"use strict";he.exports=te;var ee=a("./_stream_duplex"),oe=Object.create(a("core-util-is"));oe.inherits=a("inherits"),oe.inherits(te,ee);function ne(x,b){var E=this._transformState;E.transforming=!1;var re=E.writecb;if(!re)return this.emit("error",new Error("write callback called multiple times"));E.writechunk=null,E.writecb=null,b!=null&&this.push(b),re(x);var ae=this._readableState;ae.reading=!1,(ae.needReadable||ae.length<ae.highWaterMark)&&this._read(ae.highWaterMark)}function te(x){if(!(this instanceof te))return new te(x);ee.call(this,x),this._transformState={afterTransform:ne.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,x&&(typeof x.transform=="function"&&(this._transform=x.transform),typeof x.flush=="function"&&(this._flush=x.flush)),this.on("prefinish",se)}function se(){var x=this;typeof this._flush=="function"?this._flush(function(b,E){z(x,b,E)}):z(this,null,null)}te.prototype.push=function(x,b){return this._transformState.needTransform=!1,ee.prototype.push.call(this,x,b)},te.prototype._transform=function(x,b,E){throw new Error("_transform() is not implemented")},te.prototype._write=function(x,b,E){var re=this._transformState;if(re.writecb=E,re.writechunk=x,re.writeencoding=b,!re.transforming){var ae=this._readableState;(re.needTransform||ae.needReadable||ae.length<ae.highWaterMark)&&this._read(ae.highWaterMark)}},te.prototype._read=function(x){var b=this._transformState;b.writechunk!==null&&b.writecb&&!b.transforming?(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform)):b.needTransform=!0},te.prototype._destroy=function(x,b){var E=this;ee.prototype._destroy.call(this,x,function(re){b(re),E.emit("close")})};function z(x,b,E){if(b)return x.emit("error",b);if(E!=null&&x.push(E),x._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(x._transformState.transforming)throw new Error("Calling transform done when still transforming");return x.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(a,he,de){(function(ee,oe,ne){(function(){"use strict";var te=a("process-nextick-args");he.exports=ve;function se(Xe,Qe,st){this.chunk=Xe,this.encoding=Qe,this.callback=st,this.next=null}function z(Xe){var Qe=this;this.next=null,this.entry=null,this.finish=function(){Je(Qe,Xe)}}var x=!ee.browser&&["v0.10","v0.9."].indexOf(ee.version.slice(0,5))>-1?ne:te.nextTick,b;ve.WritableState=we;var E=Object.create(a("core-util-is"));E.inherits=a("inherits");var re={deprecate:a("util-deprecate")},ae=a("./internal/streams/stream"),le=a("safe-buffer").Buffer,fe=oe.Uint8Array||function(){};function ce(Xe){return le.from(Xe)}function ue(Xe){return le.isBuffer(Xe)||Xe instanceof fe}var ge=a("./internal/streams/destroy");E.inherits(ve,ae);function _e(){}function we(Xe,Qe){b=b||a("./_stream_duplex"),Xe=Xe||{};var st=Qe instanceof b;this.objectMode=!!Xe.objectMode,st&&(this.objectMode=this.objectMode||!!Xe.writableObjectMode);var rt=Xe.highWaterMark,pt=Xe.writableHighWaterMark,ft=this.objectMode?16:16*1024;rt||rt===0?this.highWaterMark=rt:st&&(pt||pt===0)?this.highWaterMark=pt:this.highWaterMark=ft,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var qe=Xe.decodeStrings===!1;this.decodeStrings=!qe,this.defaultEncoding=Xe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ie){Oe(Qe,Ie)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new z(this)}we.prototype.getBuffer=function(){for(var Qe=this.bufferedRequest,st=[];Qe;)st.push(Qe),Qe=Qe.next;return st},function(){try{Object.defineProperty(we.prototype,"buffer",{get:re.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Xe){}}();var xe;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(xe=Function.prototype[Symbol.hasInstance],Object.defineProperty(ve,Symbol.hasInstance,{value:function(Xe){return xe.call(this,Xe)?!0:this!==ve?!1:Xe&&Xe._writableState instanceof we}})):xe=function(Xe){return Xe instanceof this};function ve(Xe){if(b=b||a("./_stream_duplex"),!xe.call(ve,this)&&!(this instanceof b))return new ve(Xe);this._writableState=new we(Xe,this),this.writable=!0,Xe&&(typeof Xe.write=="function"&&(this._write=Xe.write),typeof Xe.writev=="function"&&(this._writev=Xe.writev),typeof Xe.destroy=="function"&&(this._destroy=Xe.destroy),typeof Xe.final=="function"&&(this._final=Xe.final)),ae.call(this)}ve.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Se(Xe,Qe){var st=new Error("write after end");Xe.emit("error",st),te.nextTick(Qe,st)}function be(Xe,Qe,st,rt){var pt=!0,ft=!1;return st===null?ft=new TypeError("May not write null values to stream"):typeof st!="string"&&st!==void 0&&!Qe.objectMode&&(ft=new TypeError("Invalid non-string/buffer chunk")),ft&&(Xe.emit("error",ft),te.nextTick(rt,ft),pt=!1),pt}ve.prototype.write=function(Xe,Qe,st){var rt=this._writableState,pt=!1,ft=!rt.objectMode&&ue(Xe);return ft&&!le.isBuffer(Xe)&&(Xe=ce(Xe)),typeof Qe=="function"&&(st=Qe,Qe=null),ft?Qe="buffer":Qe||(Qe=rt.defaultEncoding),typeof st!="function"&&(st=_e),rt.ended?Se(this,st):(ft||be(this,rt,Xe,st))&&(rt.pendingcb++,pt=Te(this,rt,ft,Xe,Qe,st)),pt},ve.prototype.cork=function(){var Xe=this._writableState;Xe.corked++},ve.prototype.uncork=function(){var Xe=this._writableState;Xe.corked&&(Xe.corked--,!Xe.writing&&!Xe.corked&&!Xe.finished&&!Xe.bufferProcessing&&Xe.bufferedRequest&&tt(this,Xe))},ve.prototype.setDefaultEncoding=function(Qe){if(typeof Qe=="string"&&(Qe=Qe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Qe+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Qe);return this._writableState.defaultEncoding=Qe,this};function Ae(Xe,Qe,st){return!Xe.objectMode&&Xe.decodeStrings!==!1&&typeof Qe=="string"&&(Qe=le.from(Qe,st)),Qe}Object.defineProperty(ve.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Te(Xe,Qe,st,rt,pt,ft){if(!st){var qe=Ae(Qe,rt,pt);rt!==qe&&(st=!0,pt="buffer",rt=qe)}var Ie=Qe.objectMode?1:rt.length;Qe.length+=Ie;var at=Qe.length<Qe.highWaterMark;if(at||(Qe.needDrain=!0),Qe.writing||Qe.corked){var Be=Qe.lastBufferedRequest;Qe.lastBufferedRequest={chunk:rt,encoding:pt,isBuf:st,callback:ft,next:null},Be?Be.next=Qe.lastBufferedRequest:Qe.bufferedRequest=Qe.lastBufferedRequest,Qe.bufferedRequestCount+=1}else je(Xe,Qe,!1,Ie,rt,pt,ft);return at}function je(Xe,Qe,st,rt,pt,ft,qe){Qe.writelen=rt,Qe.writecb=qe,Qe.writing=!0,Qe.sync=!0,st?Xe._writev(pt,Qe.onwrite):Xe._write(pt,ft,Qe.onwrite),Qe.sync=!1}function ke(Xe,Qe,st,rt,pt){--Qe.pendingcb,st?(te.nextTick(pt,rt),te.nextTick(ut,Xe,Qe),Xe._writableState.errorEmitted=!0,Xe.emit("error",rt)):(pt(rt),Xe._writableState.errorEmitted=!0,Xe.emit("error",rt),ut(Xe,Qe))}function Pe(Xe){Xe.writing=!1,Xe.writecb=null,Xe.length-=Xe.writelen,Xe.writelen=0}function Oe(Xe,Qe){var st=Xe._writableState,rt=st.sync,pt=st.writecb;if(Pe(st),Qe)ke(Xe,st,rt,Qe,pt);else{var ft=Me(st);!ft&&!st.corked&&!st.bufferProcessing&&st.bufferedRequest&&tt(Xe,st),rt?x(He,Xe,st,ft,pt):He(Xe,st,ft,pt)}}function He(Xe,Qe,st,rt){st||Ge(Xe,Qe),Qe.pendingcb--,rt(),ut(Xe,Qe)}function Ge(Xe,Qe){Qe.length===0&&Qe.needDrain&&(Qe.needDrain=!1,Xe.emit("drain"))}function tt(Xe,Qe){Qe.bufferProcessing=!0;var st=Qe.bufferedRequest;if(Xe._writev&&st&&st.next){var rt=Qe.bufferedRequestCount,pt=new Array(rt),ft=Qe.corkedRequestsFree;ft.entry=st;for(var qe=0,Ie=!0;st;)pt[qe]=st,st.isBuf||(Ie=!1),st=st.next,qe+=1;pt.allBuffers=Ie,je(Xe,Qe,!0,Qe.length,pt,"",ft.finish),Qe.pendingcb++,Qe.lastBufferedRequest=null,ft.next?(Qe.corkedRequestsFree=ft.next,ft.next=null):Qe.corkedRequestsFree=new z(Qe),Qe.bufferedRequestCount=0}else{for(;st;){var at=st.chunk,Be=st.encoding,et=st.callback,vt=Qe.objectMode?1:at.length;if(je(Xe,Qe,!1,vt,at,Be,et),st=st.next,Qe.bufferedRequestCount--,Qe.writing)break}st===null&&(Qe.lastBufferedRequest=null)}Qe.bufferedRequest=st,Qe.bufferProcessing=!1}ve.prototype._write=function(Xe,Qe,st){st(new Error("_write() is not implemented"))},ve.prototype._writev=null,ve.prototype.end=function(Xe,Qe,st){var rt=this._writableState;typeof Xe=="function"?(st=Xe,Xe=null,Qe=null):typeof Qe=="function"&&(st=Qe,Qe=null),Xe!=null&&this.write(Xe,Qe),rt.corked&&(rt.corked=1,this.uncork()),!rt.ending&&!rt.finished&&$e(this,rt,st)};function Me(Xe){return Xe.ending&&Xe.length===0&&Xe.bufferedRequest===null&&!Xe.finished&&!Xe.writing}function We(Xe,Qe){Xe._final(function(st){Qe.pendingcb--,st&&Xe.emit("error",st),Qe.prefinished=!0,Xe.emit("prefinish"),ut(Xe,Qe)})}function it(Xe,Qe){!Qe.prefinished&&!Qe.finalCalled&&(typeof Xe._final=="function"?(Qe.pendingcb++,Qe.finalCalled=!0,te.nextTick(We,Xe,Qe)):(Qe.prefinished=!0,Xe.emit("prefinish")))}function ut(Xe,Qe){var st=Me(Qe);return st&&(it(Xe,Qe),Qe.pendingcb===0&&(Qe.finished=!0,Xe.emit("finish"))),st}function $e(Xe,Qe,st){Qe.ending=!0,ut(Xe,Qe),st&&(Qe.finished?te.nextTick(st):Xe.once("finish",st)),Qe.ended=!0,Xe.writable=!1}function Je(Xe,Qe,st){var rt=Xe.entry;for(Xe.entry=null;rt;){var pt=rt.callback;Qe.pendingcb--,pt(st),rt=rt.next}Qe.corkedRequestsFree?Qe.corkedRequestsFree.next=Xe:Qe.corkedRequestsFree=Xe}Object.defineProperty(ve.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Xe){this._writableState&&(this._writableState.destroyed=Xe)}}),ve.prototype.destroy=ge.destroy,ve.prototype._undestroy=ge.undestroy,ve.prototype._destroy=function(Xe,Qe){this.end(),Qe(Xe)}}).call(this)}).call(this,a("_process"),typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},a("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[function(a,he,de){"use strict";function ee(se,z){if(!(se instanceof z))throw new TypeError("Cannot call a class as a function")}var oe=a("safe-buffer").Buffer,ne=a("util");function te(se,z,x){se.copy(z,x)}he.exports=function(){function se(){ee(this,se),this.head=null,this.tail=null,this.length=0}return se.prototype.push=function(x){var b={data:x,next:null};this.length>0?this.tail.next=b:this.head=b,this.tail=b,++this.length},se.prototype.unshift=function(x){var b={data:x,next:this.head};this.length===0&&(this.tail=b),this.head=b,++this.length},se.prototype.shift=function(){if(this.length!==0){var x=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,x}},se.prototype.clear=function(){this.head=this.tail=null,this.length=0},se.prototype.join=function(x){if(this.length===0)return"";for(var b=this.head,E=""+b.data;b=b.next;)E+=x+b.data;return E},se.prototype.concat=function(x){if(this.length===0)return oe.alloc(0);if(this.length===1)return this.head.data;for(var b=oe.allocUnsafe(x>>>0),E=this.head,re=0;E;)te(E.data,b,re),re+=E.data.length,E=E.next;return b},se}(),ne&&ne.inspect&&ne.inspect.custom&&(he.exports.prototype[ne.inspect.custom]=function(){var se=ne.inspect({length:this.length});return this.constructor.name+" "+se})},{"safe-buffer":396,util:89}],392:[function(a,he,de){"use strict";var ee=a("process-nextick-args");function oe(se,z){var x=this,b=this._readableState&&this._readableState.destroyed,E=this._writableState&&this._writableState.destroyed;return b||E?(z?z(se):se&&(!this._writableState||!this._writableState.errorEmitted)&&ee.nextTick(te,this,se),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(se||null,function(re){!z&&re?(ee.nextTick(te,x,re),x._writableState&&(x._writableState.errorEmitted=!0)):z&&z(re)}),this)}function ne(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function te(se,z){se.emit("error",z)}he.exports={destroy:oe,undestroy:ne}},{"process-nextick-args":380}],393:[function(a,he,de){he.exports=a("events").EventEmitter},{events:344}],394:[function(a,he,de){de=he.exports=a("./lib/_stream_readable.js"),de.Stream=de,de.Readable=de,de.Writable=a("./lib/_stream_writable.js"),de.Duplex=a("./lib/_stream_duplex.js"),de.Transform=a("./lib/_stream_transform.js"),de.PassThrough=a("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(a,he,de){var ee=function(oe){"use strict";var ne=Object.prototype,te=ne.hasOwnProperty,se,z=typeof Symbol=="function"?Symbol:{},x=z.iterator||"@@iterator",b=z.asyncIterator||"@@asyncIterator",E=z.toStringTag||"@@toStringTag";function re(it,ut,$e){return Object.defineProperty(it,ut,{value:$e,enumerable:!0,configurable:!0,writable:!0}),it[ut]}try{re({},"")}catch(it){re=function(ut,$e,Je){return ut[$e]=Je}}function ae(it,ut,$e,Je){var Xe=ut&&ut.prototype instanceof we?ut:we,Qe=Object.create(Xe.prototype),st=new tt(Je||[]);return Qe._invoke=Pe(it,$e,st),Qe}oe.wrap=ae;function le(it,ut,$e){try{return{type:"normal",arg:it.call(ut,$e)}}catch(Je){return{type:"throw",arg:Je}}}var fe="suspendedStart",ce="suspendedYield",ue="executing",ge="completed",_e={};function we(){}function xe(){}function ve(){}var Se={};re(Se,x,function(){return this});var be=Object.getPrototypeOf,Ae=be&&be(be(Me([])));Ae&&Ae!==ne&&te.call(Ae,x)&&(Se=Ae);var Te=ve.prototype=we.prototype=Object.create(Se);xe.prototype=ve,re(Te,"constructor",ve),re(ve,"constructor",xe),xe.displayName=re(ve,E,"GeneratorFunction");function je(it){["next","throw","return"].forEach(function(ut){re(it,ut,function($e){return this._invoke(ut,$e)})})}oe.isGeneratorFunction=function(it){var ut=typeof it=="function"&&it.constructor;return ut?ut===xe||(ut.displayName||ut.name)==="GeneratorFunction":!1},oe.mark=function(it){return Object.setPrototypeOf?Object.setPrototypeOf(it,ve):(it.__proto__=ve,re(it,E,"GeneratorFunction")),it.prototype=Object.create(Te),it},oe.awrap=function(it){return{__await:it}};function ke(it,ut){function $e(Qe,st,rt,pt){var ft=le(it[Qe],it,st);if(ft.type==="throw")pt(ft.arg);else{var qe=ft.arg,Ie=qe.value;return Ie&&typeof Ie=="object"&&te.call(Ie,"__await")?ut.resolve(Ie.__await).then(function(at){$e("next",at,rt,pt)},function(at){$e("throw",at,rt,pt)}):ut.resolve(Ie).then(function(at){qe.value=at,rt(qe)},function(at){return $e("throw",at,rt,pt)})}}var Je;function Xe(Qe,st){function rt(){return new ut(function(pt,ft){$e(Qe,st,pt,ft)})}return Je=Je?Je.then(rt,rt):rt()}this._invoke=Xe}je(ke.prototype),re(ke.prototype,b,function(){return this}),oe.AsyncIterator=ke,oe.async=function(it,ut,$e,Je,Xe){Xe===void 0&&(Xe=Promise);var Qe=new ke(ae(it,ut,$e,Je),Xe);return oe.isGeneratorFunction(ut)?Qe:Qe.next().then(function(st){return st.done?st.value:Qe.next()})};function Pe(it,ut,$e){var Je=fe;return function(Qe,st){if(Je===ue)throw new Error("Generator is already running");if(Je===ge){if(Qe==="throw")throw st;return We()}for($e.method=Qe,$e.arg=st;;){var rt=$e.delegate;if(rt){var pt=Oe(rt,$e);if(pt){if(pt===_e)continue;return pt}}if($e.method==="next")$e.sent=$e._sent=$e.arg;else if($e.method==="throw"){if(Je===fe)throw Je=ge,$e.arg;$e.dispatchException($e.arg)}else $e.method==="return"&&$e.abrupt("return",$e.arg);Je=ue;var ft=le(it,ut,$e);if(ft.type==="normal"){if(Je=$e.done?ge:ce,ft.arg===_e)continue;return{value:ft.arg,done:$e.done}}else ft.type==="throw"&&(Je=ge,$e.method="throw",$e.arg=ft.arg)}}}function Oe(it,ut){var $e=it.iterator[ut.method];if($e===se){if(ut.delegate=null,ut.method==="throw"){if(it.iterator.return&&(ut.method="return",ut.arg=se,Oe(it,ut),ut.method==="throw"))return _e;ut.method="throw",ut.arg=new TypeError("The iterator does not provide a 'throw' method")}return _e}var Je=le($e,it.iterator,ut.arg);if(Je.type==="throw")return ut.method="throw",ut.arg=Je.arg,ut.delegate=null,_e;var Xe=Je.arg;if(!Xe)return ut.method="throw",ut.arg=new TypeError("iterator result is not an object"),ut.delegate=null,_e;if(Xe.done)ut[it.resultName]=Xe.value,ut.next=it.nextLoc,ut.method!=="return"&&(ut.method="next",ut.arg=se);else return Xe;return ut.delegate=null,_e}je(Te),re(Te,E,"Generator"),re(Te,x,function(){return this}),re(Te,"toString",function(){return"[object Generator]"});function He(it){var ut={tryLoc:it[0]};1 in it&&(ut.catchLoc=it[1]),2 in it&&(ut.finallyLoc=it[2],ut.afterLoc=it[3]),this.tryEntries.push(ut)}function Ge(it){var ut=it.completion||{};ut.type="normal",delete ut.arg,it.completion=ut}function tt(it){this.tryEntries=[{tryLoc:"root"}],it.forEach(He,this),this.reset(!0)}oe.keys=function(it){var ut=[];for(var $e in it)ut.push($e);return ut.reverse(),function Je(){for(;ut.length;){var Xe=ut.pop();if(Xe in it)return Je.value=Xe,Je.done=!1,Je}return Je.done=!0,Je}};function Me(it){if(it){var ut=it[x];if(ut)return ut.call(it);if(typeof it.next=="function")return it;if(!isNaN(it.length)){var $e=-1,Je=function Xe(){for(;++$e<it.length;)if(te.call(it,$e))return Xe.value=it[$e],Xe.done=!1,Xe;return Xe.value=se,Xe.done=!0,Xe};return Je.next=Je}}return{next:We}}oe.values=Me;function We(){return{value:se,done:!0}}return tt.prototype={constructor:tt,reset:function(it){if(this.prev=0,this.next=0,this.sent=this._sent=se,this.done=!1,this.delegate=null,this.method="next",this.arg=se,this.tryEntries.forEach(Ge),!it)for(var ut in this)ut.charAt(0)==="t"&&te.call(this,ut)&&!isNaN(+ut.slice(1))&&(this[ut]=se)},stop:function(){this.done=!0;var it=this.tryEntries[0],ut=it.completion;if(ut.type==="throw")throw ut.arg;return this.rval},dispatchException:function(it){if(this.done)throw it;var ut=this;function $e(pt,ft){return Qe.type="throw",Qe.arg=it,ut.next=pt,ft&&(ut.method="next",ut.arg=se),!!ft}for(var Je=this.tryEntries.length-1;Je>=0;--Je){var Xe=this.tryEntries[Je],Qe=Xe.completion;if(Xe.tryLoc==="root")return $e("end");if(Xe.tryLoc<=this.prev){var st=te.call(Xe,"catchLoc"),rt=te.call(Xe,"finallyLoc");if(st&&rt){if(this.prev<Xe.catchLoc)return $e(Xe.catchLoc,!0);if(this.prev<Xe.finallyLoc)return $e(Xe.finallyLoc)}else if(st){if(this.prev<Xe.catchLoc)return $e(Xe.catchLoc,!0)}else if(rt){if(this.prev<Xe.finallyLoc)return $e(Xe.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(it,ut){for(var $e=this.tryEntries.length-1;$e>=0;--$e){var Je=this.tryEntries[$e];if(Je.tryLoc<=this.prev&&te.call(Je,"finallyLoc")&&this.prev<Je.finallyLoc){var Xe=Je;break}}Xe&&(it==="break"||it==="continue")&&Xe.tryLoc<=ut&&ut<=Xe.finallyLoc&&(Xe=null);var Qe=Xe?Xe.completion:{};return Qe.type=it,Qe.arg=ut,Xe?(this.method="next",this.next=Xe.finallyLoc,_e):this.complete(Qe)},complete:function(it,ut){if(it.type==="throw")throw it.arg;return it.type==="break"||it.type==="continue"?this.next=it.arg:it.type==="return"?(this.rval=this.arg=it.arg,this.method="return",this.next="end"):it.type==="normal"&&ut&&(this.next=ut),_e},finish:function(it){for(var ut=this.tryEntries.length-1;ut>=0;--ut){var $e=this.tryEntries[ut];if($e.finallyLoc===it)return this.complete($e.completion,$e.afterLoc),Ge($e),_e}},catch:function(it){for(var ut=this.tryEntries.length-1;ut>=0;--ut){var $e=this.tryEntries[ut];if($e.tryLoc===it){var Je=$e.completion;if(Je.type==="throw"){var Xe=Je.arg;Ge($e)}return Xe}}throw new Error("illegal catch attempt")},delegateYield:function(it,ut,$e){return this.delegate={iterator:Me(it),resultName:ut,nextLoc:$e},this.method==="next"&&(this.arg=se),_e}},oe}(typeof he=="object"?he.exports:{});try{regeneratorRuntime=ee}catch(oe){typeof globalThis=="object"?globalThis.regeneratorRuntime=ee:Function("r","regeneratorRuntime = r")(ee)}},{}],396:[function(a,he,de){var ee=a("buffer"),oe=ee.Buffer;function ne(se,z){for(var x in se)z[x]=se[x]}oe.from&&oe.alloc&&oe.allocUnsafe&&oe.allocUnsafeSlow?he.exports=ee:(ne(ee,de),de.Buffer=te);function te(se,z,x){return oe(se,z,x)}ne(oe,te),te.from=function(se,z,x){if(typeof se=="number")throw new TypeError("Argument must not be a number");return oe(se,z,x)},te.alloc=function(se,z,x){if(typeof se!="number")throw new TypeError("Argument must be a number");var b=oe(se);return z!==void 0?typeof x=="string"?b.fill(z,x):b.fill(z):b.fill(0),b},te.allocUnsafe=function(se){if(typeof se!="number")throw new TypeError("Argument must be a number");return oe(se)},te.allocUnsafeSlow=function(se){if(typeof se!="number")throw new TypeError("Argument must be a number");return ee.SlowBuffer(se)}},{buffer:90}],397:[function(a,he,de){(function(ee){(function(){(function(oe){oe.parser=function(qe,Ie){return new te(qe,Ie)},oe.SAXParser=te,oe.SAXStream=ae,oe.createStream=re,oe.MAX_BUFFER_LENGTH=64*1024;var ne=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];oe.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function te(qe,Ie){if(!(this instanceof te))return new te(qe,Ie);var at=this;z(at),at.q=at.c="",at.bufferCheckPosition=oe.MAX_BUFFER_LENGTH,at.opt=Ie||{},at.opt.lowercase=at.opt.lowercase||at.opt.lowercasetags,at.looseCase=at.opt.lowercase?"toLowerCase":"toUpperCase",at.tags=[],at.closed=at.closedRoot=at.sawRoot=!1,at.tag=at.error=null,at.strict=!!qe,at.noscript=!!(qe||at.opt.noscript),at.state=ke.BEGIN,at.strictEntities=at.opt.strictEntities,at.ENTITIES=at.strictEntities?Object.create(oe.XML_ENTITIES):Object.create(oe.ENTITIES),at.attribList=[],at.opt.xmlns&&(at.ns=Object.create(ge)),at.trackPosition=at.opt.position!==!1,at.trackPosition&&(at.position=at.line=at.column=0),Oe(at,"onready")}Object.create||(Object.create=function(qe){function Ie(){}Ie.prototype=qe;var at=new Ie;return at}),Object.keys||(Object.keys=function(qe){var Ie=[];for(var at in qe)qe.hasOwnProperty(at)&&Ie.push(at);return Ie});function se(qe){for(var Ie=Math.max(oe.MAX_BUFFER_LENGTH,10),at=0,Be=0,et=ne.length;Be<et;Be++){var vt=qe[ne[Be]].length;if(vt>Ie)switch(ne[Be]){case"textNode":Ge(qe);break;case"cdata":He(qe,"oncdata",qe.cdata),qe.cdata="";break;case"script":He(qe,"onscript",qe.script),qe.script="";break;default:Me(qe,"Max buffer length exceeded: "+ne[Be])}at=Math.max(at,vt)}var gt=oe.MAX_BUFFER_LENGTH-at;qe.bufferCheckPosition=gt+qe.position}function z(qe){for(var Ie=0,at=ne.length;Ie<at;Ie++)qe[ne[Ie]]=""}function x(qe){Ge(qe),qe.cdata!==""&&(He(qe,"oncdata",qe.cdata),qe.cdata=""),qe.script!==""&&(He(qe,"onscript",qe.script),qe.script="")}te.prototype={end:function(){We(this)},write:ft,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){x(this)}};var b;try{b=a("stream").Stream}catch(qe){b=function(){}}var E=oe.EVENTS.filter(function(qe){return qe!=="error"&&qe!=="end"});function re(qe,Ie){return new ae(qe,Ie)}function ae(qe,Ie){if(!(this instanceof ae))return new ae(qe,Ie);b.apply(this),this._parser=new te(qe,Ie),this.writable=!0,this.readable=!0;var at=this;this._parser.onend=function(){at.emit("end")},this._parser.onerror=function(Be){at.emit("error",Be),at._parser.error=null},this._decoder=null,E.forEach(function(Be){Object.defineProperty(at,"on"+Be,{get:function(){return at._parser["on"+Be]},set:function(et){if(!et)return at.removeAllListeners(Be),at._parser["on"+Be]=et,et;at.on(Be,et)},enumerable:!0,configurable:!1})})}ae.prototype=Object.create(b.prototype,{constructor:{value:ae}}),ae.prototype.write=function(qe){if(typeof ee=="function"&&typeof ee.isBuffer=="function"&&ee.isBuffer(qe)){if(!this._decoder){var Ie=a("string_decoder").StringDecoder;this._decoder=new Ie("utf8")}qe=this._decoder.write(qe)}return this._parser.write(qe.toString()),this.emit("data",qe),!0},ae.prototype.end=function(qe){return qe&&qe.length&&this.write(qe),this._parser.end(),!0},ae.prototype.on=function(qe,Ie){var at=this;return!at._parser["on"+qe]&&E.indexOf(qe)!==-1&&(at._parser["on"+qe]=function(){var Be=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Be.splice(0,0,qe),at.emit.apply(at,Be)}),b.prototype.on.call(at,qe,Ie)};var le="[CDATA[",fe="DOCTYPE",ce="http://www.w3.org/XML/1998/namespace",ue="http://www.w3.org/2000/xmlns/",ge={xml:ce,xmlns:ue},_e=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,we=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,xe=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,ve=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function Se(qe){return qe===" "||qe===`
`||qe==="\r"||qe===" "}function be(qe){return qe==='"'||qe==="'"}function Ae(qe){return qe===">"||Se(qe)}function Te(qe,Ie){return qe.test(Ie)}function je(qe,Ie){return!Te(qe,Ie)}var ke=0;oe.STATE={BEGIN:ke++,BEGIN_WHITESPACE:ke++,TEXT:ke++,TEXT_ENTITY:ke++,OPEN_WAKA:ke++,SGML_DECL:ke++,SGML_DECL_QUOTED:ke++,DOCTYPE:ke++,DOCTYPE_QUOTED:ke++,DOCTYPE_DTD:ke++,DOCTYPE_DTD_QUOTED:ke++,COMMENT_STARTING:ke++,COMMENT:ke++,COMMENT_ENDING:ke++,COMMENT_ENDED:ke++,CDATA:ke++,CDATA_ENDING:ke++,CDATA_ENDING_2:ke++,PROC_INST:ke++,PROC_INST_BODY:ke++,PROC_INST_ENDING:ke++,OPEN_TAG:ke++,OPEN_TAG_SLASH:ke++,ATTRIB:ke++,ATTRIB_NAME:ke++,ATTRIB_NAME_SAW_WHITE:ke++,ATTRIB_VALUE:ke++,ATTRIB_VALUE_QUOTED:ke++,ATTRIB_VALUE_CLOSED:ke++,ATTRIB_VALUE_UNQUOTED:ke++,ATTRIB_VALUE_ENTITY_Q:ke++,ATTRIB_VALUE_ENTITY_U:ke++,CLOSE_TAG:ke++,CLOSE_TAG_SAW_WHITE:ke++,SCRIPT:ke++,SCRIPT_ENDING:ke++},oe.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},oe.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(oe.ENTITIES).forEach(function(qe){var Ie=oe.ENTITIES[qe],at=typeof Ie=="number"?String.fromCharCode(Ie):Ie;oe.ENTITIES[qe]=at});for(var Pe in oe.STATE)oe.STATE[oe.STATE[Pe]]=Pe;ke=oe.STATE;function Oe(qe,Ie,at){qe[Ie]&&qe[Ie](at)}function He(qe,Ie,at){qe.textNode&&Ge(qe),Oe(qe,Ie,at)}function Ge(qe){qe.textNode=tt(qe.opt,qe.textNode),qe.textNode&&Oe(qe,"ontext",qe.textNode),qe.textNode=""}function tt(qe,Ie){return qe.trim&&(Ie=Ie.trim()),qe.normalize&&(Ie=Ie.replace(/\s+/g," ")),Ie}function Me(qe,Ie){return Ge(qe),qe.trackPosition&&(Ie+=`
Line: `+qe.line+`
Column: `+qe.column+`
Char: `+qe.c),Ie=new Error(Ie),qe.error=Ie,Oe(qe,"onerror",Ie),qe}function We(qe){return qe.sawRoot&&!qe.closedRoot&&it(qe,"Unclosed root tag"),qe.state!==ke.BEGIN&&qe.state!==ke.BEGIN_WHITESPACE&&qe.state!==ke.TEXT&&Me(qe,"Unexpected end"),Ge(qe),qe.c="",qe.closed=!0,Oe(qe,"onend"),te.call(qe,qe.strict,qe.opt),qe}function it(qe,Ie){if(typeof qe!="object"||!(qe instanceof te))throw new Error("bad call to strictFail");qe.strict&&Me(qe,Ie)}function ut(qe){qe.strict||(qe.tagName=qe.tagName[qe.looseCase]());var Ie=qe.tags[qe.tags.length-1]||qe,at=qe.tag={name:qe.tagName,attributes:{}};qe.opt.xmlns&&(at.ns=Ie.ns),qe.attribList.length=0,He(qe,"onopentagstart",at)}function $e(qe,Ie){var at=qe.indexOf(":"),Be=at<0?["",qe]:qe.split(":"),et=Be[0],vt=Be[1];return Ie&&qe==="xmlns"&&(et="xmlns",vt=""),{prefix:et,local:vt}}function Je(qe){if(qe.strict||(qe.attribName=qe.attribName[qe.looseCase]()),qe.attribList.indexOf(qe.attribName)!==-1||qe.tag.attributes.hasOwnProperty(qe.attribName)){qe.attribName=qe.attribValue="";return}if(qe.opt.xmlns){var Ie=$e(qe.attribName,!0),at=Ie.prefix,Be=Ie.local;if(at==="xmlns")if(Be==="xml"&&qe.attribValue!==ce)it(qe,"xml: prefix must be bound to "+ce+`
Actual: `+qe.attribValue);else if(Be==="xmlns"&&qe.attribValue!==ue)it(qe,"xmlns: prefix must be bound to "+ue+`
Actual: `+qe.attribValue);else{var et=qe.tag,vt=qe.tags[qe.tags.length-1]||qe;et.ns===vt.ns&&(et.ns=Object.create(vt.ns)),et.ns[Be]=qe.attribValue}qe.attribList.push([qe.attribName,qe.attribValue])}else qe.tag.attributes[qe.attribName]=qe.attribValue,He(qe,"onattribute",{name:qe.attribName,value:qe.attribValue});qe.attribName=qe.attribValue=""}function Xe(qe,Ie){if(qe.opt.xmlns){var at=qe.tag,Be=$e(qe.tagName);at.prefix=Be.prefix,at.local=Be.local,at.uri=at.ns[Be.prefix]||"",at.prefix&&!at.uri&&(it(qe,"Unbound namespace prefix: "+JSON.stringify(qe.tagName)),at.uri=Be.prefix);var et=qe.tags[qe.tags.length-1]||qe;at.ns&&et.ns!==at.ns&&Object.keys(at.ns).forEach(function(Ze){He(qe,"onopennamespace",{prefix:Ze,uri:at.ns[Ze]})});for(var vt=0,gt=qe.attribList.length;vt<gt;vt++){var dt=qe.attribList[vt],Ve=dt[0],Ne=dt[1],Ye=$e(Ve,!0),ot=Ye.prefix,Ue=Ye.local,Le=ot===""?"":at.ns[ot]||"",De={name:Ve,value:Ne,prefix:ot,local:Ue,uri:Le};ot&&ot!=="xmlns"&&!Le&&(it(qe,"Unbound namespace prefix: "+JSON.stringify(ot)),De.uri=ot),qe.tag.attributes[Ve]=De,He(qe,"onattribute",De)}qe.attribList.length=0}qe.tag.isSelfClosing=!!Ie,qe.sawRoot=!0,qe.tags.push(qe.tag),He(qe,"onopentag",qe.tag),Ie||(!qe.noscript&&qe.tagName.toLowerCase()==="script"?qe.state=ke.SCRIPT:qe.state=ke.TEXT,qe.tag=null,qe.tagName=""),qe.attribName=qe.attribValue="",qe.attribList.length=0}function Qe(qe){if(!qe.tagName){it(qe,"Weird empty close tag."),qe.textNode+="</>",qe.state=ke.TEXT;return}if(qe.script){if(qe.tagName!=="script"){qe.script+="</"+qe.tagName+">",qe.tagName="",qe.state=ke.SCRIPT;return}He(qe,"onscript",qe.script),qe.script=""}var Ie=qe.tags.length,at=qe.tagName;qe.strict||(at=at[qe.looseCase]());for(var Be=at;Ie--;){var et=qe.tags[Ie];if(et.name!==Be)it(qe,"Unexpected close tag");else break}if(Ie<0){it(qe,"Unmatched closing tag: "+qe.tagName),qe.textNode+="</"+qe.tagName+">",qe.state=ke.TEXT;return}qe.tagName=at;for(var vt=qe.tags.length;vt-- >Ie;){var gt=qe.tag=qe.tags.pop();qe.tagName=qe.tag.name,He(qe,"onclosetag",qe.tagName);var dt={};for(var Ve in gt.ns)dt[Ve]=gt.ns[Ve];var Ne=qe.tags[qe.tags.length-1]||qe;qe.opt.xmlns&&gt.ns!==Ne.ns&&Object.keys(gt.ns).forEach(function(Ye){var ot=gt.ns[Ye];He(qe,"onclosenamespace",{prefix:Ye,uri:ot})})}Ie===0&&(qe.closedRoot=!0),qe.tagName=qe.attribValue=qe.attribName="",qe.attribList.length=0,qe.state=ke.TEXT}function st(qe){var Ie=qe.entity,at=Ie.toLowerCase(),Be,et="";return qe.ENTITIES[Ie]?qe.ENTITIES[Ie]:qe.ENTITIES[at]?qe.ENTITIES[at]:(Ie=at,Ie.charAt(0)==="#"&&(Ie.charAt(1)==="x"?(Ie=Ie.slice(2),Be=parseInt(Ie,16),et=Be.toString(16)):(Ie=Ie.slice(1),Be=parseInt(Ie,10),et=Be.toString(10))),Ie=Ie.replace(/^0+/,""),isNaN(Be)||et.toLowerCase()!==Ie?(it(qe,"Invalid character entity"),"&"+qe.entity+";"):String.fromCodePoint(Be))}function rt(qe,Ie){Ie==="<"?(qe.state=ke.OPEN_WAKA,qe.startTagPosition=qe.position):Se(Ie)||(it(qe,"Non-whitespace before first tag."),qe.textNode=Ie,qe.state=ke.TEXT)}function pt(qe,Ie){var at="";return Ie<qe.length&&(at=qe.charAt(Ie)),at}function ft(qe){var Ie=this;if(this.error)throw this.error;if(Ie.closed)return Me(Ie,"Cannot write after close. Assign an onready handler.");if(qe===null)return We(Ie);typeof qe=="object"&&(qe=qe.toString());for(var at=0,Be="";Be=pt(qe,at++),Ie.c=Be,!!Be;)switch(Ie.trackPosition&&(Ie.position++,Be===`
`?(Ie.line++,Ie.column=0):Ie.column++),Ie.state){case ke.BEGIN:if(Ie.state=ke.BEGIN_WHITESPACE,Be==="\uFEFF")continue;rt(Ie,Be);continue;case ke.BEGIN_WHITESPACE:rt(Ie,Be);continue;case ke.TEXT:if(Ie.sawRoot&&!Ie.closedRoot){for(var et=at-1;Be&&Be!=="<"&&Be!=="&";)Be=pt(qe,at++),Be&&Ie.trackPosition&&(Ie.position++,Be===`
`?(Ie.line++,Ie.column=0):Ie.column++);Ie.textNode+=qe.substring(et,at-1)}Be==="<"&&!(Ie.sawRoot&&Ie.closedRoot&&!Ie.strict)?(Ie.state=ke.OPEN_WAKA,Ie.startTagPosition=Ie.position):(!Se(Be)&&(!Ie.sawRoot||Ie.closedRoot)&&it(Ie,"Text data outside of root node."),Be==="&"?Ie.state=ke.TEXT_ENTITY:Ie.textNode+=Be);continue;case ke.SCRIPT:Be==="<"?Ie.state=ke.SCRIPT_ENDING:Ie.script+=Be;continue;case ke.SCRIPT_ENDING:Be==="/"?Ie.state=ke.CLOSE_TAG:(Ie.script+="<"+Be,Ie.state=ke.SCRIPT);continue;case ke.OPEN_WAKA:if(Be==="!")Ie.state=ke.SGML_DECL,Ie.sgmlDecl="";else if(!Se(Be))if(Te(_e,Be))Ie.state=ke.OPEN_TAG,Ie.tagName=Be;else if(Be==="/")Ie.state=ke.CLOSE_TAG,Ie.tagName="";else if(Be==="?")Ie.state=ke.PROC_INST,Ie.procInstName=Ie.procInstBody="";else{if(it(Ie,"Unencoded <"),Ie.startTagPosition+1<Ie.position){var vt=Ie.position-Ie.startTagPosition;Be=new Array(vt).join(" ")+Be}Ie.textNode+="<"+Be,Ie.state=ke.TEXT}continue;case ke.SGML_DECL:(Ie.sgmlDecl+Be).toUpperCase()===le?(He(Ie,"onopencdata"),Ie.state=ke.CDATA,Ie.sgmlDecl="",Ie.cdata=""):Ie.sgmlDecl+Be==="--"?(Ie.state=ke.COMMENT,Ie.comment="",Ie.sgmlDecl=""):(Ie.sgmlDecl+Be).toUpperCase()===fe?(Ie.state=ke.DOCTYPE,(Ie.doctype||Ie.sawRoot)&&it(Ie,"Inappropriately located doctype declaration"),Ie.doctype="",Ie.sgmlDecl=""):Be===">"?(He(Ie,"onsgmldeclaration",Ie.sgmlDecl),Ie.sgmlDecl="",Ie.state=ke.TEXT):(be(Be)&&(Ie.state=ke.SGML_DECL_QUOTED),Ie.sgmlDecl+=Be);continue;case ke.SGML_DECL_QUOTED:Be===Ie.q&&(Ie.state=ke.SGML_DECL,Ie.q=""),Ie.sgmlDecl+=Be;continue;case ke.DOCTYPE:Be===">"?(Ie.state=ke.TEXT,He(Ie,"ondoctype",Ie.doctype),Ie.doctype=!0):(Ie.doctype+=Be,Be==="["?Ie.state=ke.DOCTYPE_DTD:be(Be)&&(Ie.state=ke.DOCTYPE_QUOTED,Ie.q=Be));continue;case ke.DOCTYPE_QUOTED:Ie.doctype+=Be,Be===Ie.q&&(Ie.q="",Ie.state=ke.DOCTYPE);continue;case ke.DOCTYPE_DTD:Ie.doctype+=Be,Be==="]"?Ie.state=ke.DOCTYPE:be(Be)&&(Ie.state=ke.DOCTYPE_DTD_QUOTED,Ie.q=Be);continue;case ke.DOCTYPE_DTD_QUOTED:Ie.doctype+=Be,Be===Ie.q&&(Ie.state=ke.DOCTYPE_DTD,Ie.q="");continue;case ke.COMMENT:Be==="-"?Ie.state=ke.COMMENT_ENDING:Ie.comment+=Be;continue;case ke.COMMENT_ENDING:Be==="-"?(Ie.state=ke.COMMENT_ENDED,Ie.comment=tt(Ie.opt,Ie.comment),Ie.comment&&He(Ie,"oncomment",Ie.comment),Ie.comment=""):(Ie.comment+="-"+Be,Ie.state=ke.COMMENT);continue;case ke.COMMENT_ENDED:Be!==">"?(it(Ie,"Malformed comment"),Ie.comment+="--"+Be,Ie.state=ke.COMMENT):Ie.state=ke.TEXT;continue;case ke.CDATA:Be==="]"?Ie.state=ke.CDATA_ENDING:Ie.cdata+=Be;continue;case ke.CDATA_ENDING:Be==="]"?Ie.state=ke.CDATA_ENDING_2:(Ie.cdata+="]"+Be,Ie.state=ke.CDATA);continue;case ke.CDATA_ENDING_2:Be===">"?(Ie.cdata&&He(Ie,"oncdata",Ie.cdata),He(Ie,"onclosecdata"),Ie.cdata="",Ie.state=ke.TEXT):Be==="]"?Ie.cdata+="]":(Ie.cdata+="]]"+Be,Ie.state=ke.CDATA);continue;case ke.PROC_INST:Be==="?"?Ie.state=ke.PROC_INST_ENDING:Se(Be)?Ie.state=ke.PROC_INST_BODY:Ie.procInstName+=Be;continue;case ke.PROC_INST_BODY:if(!Ie.procInstBody&&Se(Be))continue;Be==="?"?Ie.state=ke.PROC_INST_ENDING:Ie.procInstBody+=Be;continue;case ke.PROC_INST_ENDING:Be===">"?(He(Ie,"onprocessinginstruction",{name:Ie.procInstName,body:Ie.procInstBody}),Ie.procInstName=Ie.procInstBody="",Ie.state=ke.TEXT):(Ie.procInstBody+="?"+Be,Ie.state=ke.PROC_INST_BODY);continue;case ke.OPEN_TAG:Te(we,Be)?Ie.tagName+=Be:(ut(Ie),Be===">"?Xe(Ie):Be==="/"?Ie.state=ke.OPEN_TAG_SLASH:(Se(Be)||it(Ie,"Invalid character in tag name"),Ie.state=ke.ATTRIB));continue;case ke.OPEN_TAG_SLASH:Be===">"?(Xe(Ie,!0),Qe(Ie)):(it(Ie,"Forward-slash in opening tag not followed by >"),Ie.state=ke.ATTRIB);continue;case ke.ATTRIB:if(Se(Be))continue;Be===">"?Xe(Ie):Be==="/"?Ie.state=ke.OPEN_TAG_SLASH:Te(_e,Be)?(Ie.attribName=Be,Ie.attribValue="",Ie.state=ke.ATTRIB_NAME):it(Ie,"Invalid attribute name");continue;case ke.ATTRIB_NAME:Be==="="?Ie.state=ke.ATTRIB_VALUE:Be===">"?(it(Ie,"Attribute without value"),Ie.attribValue=Ie.attribName,Je(Ie),Xe(Ie)):Se(Be)?Ie.state=ke.ATTRIB_NAME_SAW_WHITE:Te(we,Be)?Ie.attribName+=Be:it(Ie,"Invalid attribute name");continue;case ke.ATTRIB_NAME_SAW_WHITE:if(Be==="=")Ie.state=ke.ATTRIB_VALUE;else{if(Se(Be))continue;it(Ie,"Attribute without value"),Ie.tag.attributes[Ie.attribName]="",Ie.attribValue="",He(Ie,"onattribute",{name:Ie.attribName,value:""}),Ie.attribName="",Be===">"?Xe(Ie):Te(_e,Be)?(Ie.attribName=Be,Ie.state=ke.ATTRIB_NAME):(it(Ie,"Invalid attribute name"),Ie.state=ke.ATTRIB)}continue;case ke.ATTRIB_VALUE:if(Se(Be))continue;be(Be)?(Ie.q=Be,Ie.state=ke.ATTRIB_VALUE_QUOTED):(it(Ie,"Unquoted attribute value"),Ie.state=ke.ATTRIB_VALUE_UNQUOTED,Ie.attribValue=Be);continue;case ke.ATTRIB_VALUE_QUOTED:if(Be!==Ie.q){Be==="&"?Ie.state=ke.ATTRIB_VALUE_ENTITY_Q:Ie.attribValue+=Be;continue}Je(Ie),Ie.q="",Ie.state=ke.ATTRIB_VALUE_CLOSED;continue;case ke.ATTRIB_VALUE_CLOSED:Se(Be)?Ie.state=ke.ATTRIB:Be===">"?Xe(Ie):Be==="/"?Ie.state=ke.OPEN_TAG_SLASH:Te(_e,Be)?(it(Ie,"No whitespace between attributes"),Ie.attribName=Be,Ie.attribValue="",Ie.state=ke.ATTRIB_NAME):it(Ie,"Invalid attribute name");continue;case ke.ATTRIB_VALUE_UNQUOTED:if(!Ae(Be)){Be==="&"?Ie.state=ke.ATTRIB_VALUE_ENTITY_U:Ie.attribValue+=Be;continue}Je(Ie),Be===">"?Xe(Ie):Ie.state=ke.ATTRIB;continue;case ke.CLOSE_TAG:if(Ie.tagName)Be===">"?Qe(Ie):Te(we,Be)?Ie.tagName+=Be:Ie.script?(Ie.script+="</"+Ie.tagName,Ie.tagName="",Ie.state=ke.SCRIPT):(Se(Be)||it(Ie,"Invalid tagname in closing tag"),Ie.state=ke.CLOSE_TAG_SAW_WHITE);else{if(Se(Be))continue;je(_e,Be)?Ie.script?(Ie.script+="</"+Be,Ie.state=ke.SCRIPT):it(Ie,"Invalid tagname in closing tag."):Ie.tagName=Be}continue;case ke.CLOSE_TAG_SAW_WHITE:if(Se(Be))continue;Be===">"?Qe(Ie):it(Ie,"Invalid characters in closing tag");continue;case ke.TEXT_ENTITY:case ke.ATTRIB_VALUE_ENTITY_Q:case ke.ATTRIB_VALUE_ENTITY_U:var gt,dt;switch(Ie.state){case ke.TEXT_ENTITY:gt=ke.TEXT,dt="textNode";break;case ke.ATTRIB_VALUE_ENTITY_Q:gt=ke.ATTRIB_VALUE_QUOTED,dt="attribValue";break;case ke.ATTRIB_VALUE_ENTITY_U:gt=ke.ATTRIB_VALUE_UNQUOTED,dt="attribValue";break}Be===";"?(Ie[dt]+=st(Ie),Ie.entity="",Ie.state=gt):Te(Ie.entity.length?ve:xe,Be)?Ie.entity+=Be:(it(Ie,"Invalid character in entity name"),Ie[dt]+="&"+Ie.entity+Be,Ie.entity="",Ie.state=gt);continue;default:throw new Error(Ie,"Unknown state: "+Ie.state)}return Ie.position>=Ie.bufferCheckPosition&&se(Ie),Ie}String.fromCodePoint||function(){var qe=String.fromCharCode,Ie=Math.floor,at=function(){var Be=16384,et=[],vt,gt,dt=-1,Ve=arguments.length;if(!Ve)return"";for(var Ne="";++dt<Ve;){var Ye=Number(arguments[dt]);if(!isFinite(Ye)||Ye<0||Ye>1114111||Ie(Ye)!==Ye)throw RangeError("Invalid code point: "+Ye);Ye<=65535?et.push(Ye):(Ye-=65536,vt=(Ye>>10)+55296,gt=Ye%1024+56320,et.push(vt,gt)),(dt+1===Ve||et.length>Be)&&(Ne+=qe.apply(null,et),et.length=0)}return Ne};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:at,configurable:!0,writable:!0}):String.fromCodePoint=at}()})(typeof de=="undefined"?this.sax={}:de)}).call(this)}).call(this,a("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(a,he,de){he.exports=ne;var ee=a("events").EventEmitter,oe=a("inherits");oe(ne,ee),ne.Readable=a("readable-stream/lib/_stream_readable.js"),ne.Writable=a("readable-stream/lib/_stream_writable.js"),ne.Duplex=a("readable-stream/lib/_stream_duplex.js"),ne.Transform=a("readable-stream/lib/_stream_transform.js"),ne.PassThrough=a("readable-stream/lib/_stream_passthrough.js"),ne.finished=a("readable-stream/lib/internal/streams/end-of-stream.js"),ne.pipeline=a("readable-stream/lib/internal/streams/pipeline.js"),ne.Stream=ne;function ne(){ee.call(this)}ne.prototype.pipe=function(te,se){var z=this;function x(ce){te.writable&&te.write(ce)===!1&&z.pause&&z.pause()}z.on("data",x);function b(){z.readable&&z.resume&&z.resume()}te.on("drain",b),!te._isStdio&&(!se||se.end!==!1)&&(z.on("end",re),z.on("close",ae));var E=!1;function re(){E||(E=!0,te.end())}function ae(){E||(E=!0,typeof te.destroy=="function"&&te.destroy())}function le(ce){if(fe(),ee.listenerCount(this,"error")===0)throw ce}z.on("error",le),te.on("error",le);function fe(){z.removeListener("data",x),te.removeListener("drain",b),z.removeListener("end",re),z.removeListener("close",ae),z.removeListener("error",le),te.removeListener("error",le),z.removeListener("end",fe),z.removeListener("close",fe),te.removeListener("close",fe)}return z.on("end",fe),z.on("close",fe),te.on("close",fe),te.emit("pipe",z),te}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(a,he,de){"use strict";function ee(b,E){b.prototype=Object.create(E.prototype),b.prototype.constructor=b,b.__proto__=E}var oe={};function ne(b,E,re){re||(re=Error);function ae(fe,ce,ue){return typeof E=="string"?E:E(fe,ce,ue)}var le=function(fe){ee(ce,fe);function ce(ue,ge,_e){return fe.call(this,ae(ue,ge,_e))||this}return ce}(re);le.prototype.name=re.name,le.prototype.code=b,oe[b]=le}function te(b,E){if(Array.isArray(b)){var re=b.length;return b=b.map(function(ae){return String(ae)}),re>2?"one of ".concat(E," ").concat(b.slice(0,re-1).join(", "),", or ")+b[re-1]:re===2?"one of ".concat(E," ").concat(b[0]," or ").concat(b[1]):"of ".concat(E," ").concat(b[0])}else return"of ".concat(E," ").concat(String(b))}function se(b,E,re){return b.substr(!re||re<0?0:+re,E.length)===E}function z(b,E,re){return(re===void 0||re>b.length)&&(re=b.length),b.substring(re-E.length,re)===E}function x(b,E,re){return typeof re!="number"&&(re=0),re+E.length>b.length?!1:b.indexOf(E,re)!==-1}ne("ERR_INVALID_OPT_VALUE",function(b,E){return'The value "'+E+'" is invalid for option "'+b+'"'},TypeError),ne("ERR_INVALID_ARG_TYPE",function(b,E,re){var ae;typeof E=="string"&&se(E,"not ")?(ae="must not be",E=E.replace(/^not /,"")):ae="must be";var le;if(z(b," argument"))le="The ".concat(b," ").concat(ae," ").concat(te(E,"type"));else{var fe=x(b,".")?"property":"argument";le='The "'.concat(b,'" ').concat(fe," ").concat(ae," ").concat(te(E,"type"))}return le+=". Received type ".concat(typeof re),le},TypeError),ne("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ne("ERR_METHOD_NOT_IMPLEMENTED",function(b){return"The "+b+" method is not implemented"}),ne("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ne("ERR_STREAM_DESTROYED",function(b){return"Cannot call "+b+" after a stream was destroyed"}),ne("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ne("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ne("ERR_STREAM_WRITE_AFTER_END","write after end"),ne("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ne("ERR_UNKNOWN_ENCODING",function(b){return"Unknown encoding: "+b},TypeError),ne("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),he.exports.codes=oe},{}],400:[function(a,he,de){(function(ee){(function(){"use strict";var oe=Object.keys||function(ae){var le=[];for(var fe in ae)le.push(fe);return le};he.exports=b;var ne=a("./_stream_readable"),te=a("./_stream_writable");a("inherits")(b,ne);for(var se=oe(te.prototype),z=0;z<se.length;z++){var x=se[z];b.prototype[x]||(b.prototype[x]=te.prototype[x])}function b(ae){if(!(this instanceof b))return new b(ae);ne.call(this,ae),te.call(this,ae),this.allowHalfOpen=!0,ae&&(ae.readable===!1&&(this.readable=!1),ae.writable===!1&&(this.writable=!1),ae.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",E)))}Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(b.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(b.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function E(){this._writableState.ended||ee.nextTick(re,this)}function re(ae){ae.end()}Object.defineProperty(b.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(le){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=le,this._writableState.destroyed=le)}})}).call(this)}).call(this,a("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(a,he,de){"use strict";he.exports=oe;var ee=a("./_stream_transform");a("inherits")(oe,ee);function oe(ne){if(!(this instanceof oe))return new oe(ne);ee.call(this,ne)}oe.prototype._transform=function(ne,te,se){se(null,ne)}},{"./_stream_transform":403,inherits:364}],402:[function(a,he,de){(function(ee,oe){(function(){"use strict";he.exports=He;var ne;He.ReadableState=Oe;var te=a("events").EventEmitter,se=function(Ve,Ne){return Ve.listeners(Ne).length},z=a("./internal/streams/stream"),x=a("buffer").Buffer,b=(typeof oe!="undefined"?oe:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function E(dt){return x.from(dt)}function re(dt){return x.isBuffer(dt)||dt instanceof b}var ae=a("util"),le;ae&&ae.debuglog?le=ae.debuglog("stream"):le=function(){};var fe=a("./internal/streams/buffer_list"),ce=a("./internal/streams/destroy"),ue=a("./internal/streams/state"),ge=ue.getHighWaterMark,_e=a("../errors").codes,we=_e.ERR_INVALID_ARG_TYPE,xe=_e.ERR_STREAM_PUSH_AFTER_EOF,ve=_e.ERR_METHOD_NOT_IMPLEMENTED,Se=_e.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,be,Ae,Te;a("inherits")(He,z);var je=ce.errorOrDestroy,ke=["error","close","destroy","pause","resume"];function Pe(dt,Ve,Ne){if(typeof dt.prependListener=="function")return dt.prependListener(Ve,Ne);!dt._events||!dt._events[Ve]?dt.on(Ve,Ne):Array.isArray(dt._events[Ve])?dt._events[Ve].unshift(Ne):dt._events[Ve]=[Ne,dt._events[Ve]]}function Oe(dt,Ve,Ne){ne=ne||a("./_stream_duplex"),dt=dt||{},typeof Ne!="boolean"&&(Ne=Ve instanceof ne),this.objectMode=!!dt.objectMode,Ne&&(this.objectMode=this.objectMode||!!dt.readableObjectMode),this.highWaterMark=ge(this,dt,"readableHighWaterMark",Ne),this.buffer=new fe,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=dt.emitClose!==!1,this.autoDestroy=!!dt.autoDestroy,this.destroyed=!1,this.defaultEncoding=dt.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,dt.encoding&&(be||(be=a("string_decoder/").StringDecoder),this.decoder=new be(dt.encoding),this.encoding=dt.encoding)}function He(dt){if(ne=ne||a("./_stream_duplex"),!(this instanceof He))return new He(dt);var Ve=this instanceof ne;this._readableState=new Oe(dt,this,Ve),this.readable=!0,dt&&(typeof dt.read=="function"&&(this._read=dt.read),typeof dt.destroy=="function"&&(this._destroy=dt.destroy)),z.call(this)}Object.defineProperty(He.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ve){this._readableState&&(this._readableState.destroyed=Ve)}}),He.prototype.destroy=ce.destroy,He.prototype._undestroy=ce.undestroy,He.prototype._destroy=function(dt,Ve){Ve(dt)},He.prototype.push=function(dt,Ve){var Ne=this._readableState,Ye;return Ne.objectMode?Ye=!0:typeof dt=="string"&&(Ve=Ve||Ne.defaultEncoding,Ve!==Ne.encoding&&(dt=x.from(dt,Ve),Ve=""),Ye=!0),Ge(this,dt,Ve,!1,Ye)},He.prototype.unshift=function(dt){return Ge(this,dt,null,!0,!1)};function Ge(dt,Ve,Ne,Ye,ot){le("readableAddChunk",Ve);var Ue=dt._readableState;if(Ve===null)Ue.reading=!1,$e(dt,Ue);else{var Le;if(ot||(Le=Me(Ue,Ve)),Le)je(dt,Le);else if(Ue.objectMode||Ve&&Ve.length>0)if(typeof Ve!="string"&&!Ue.objectMode&&Object.getPrototypeOf(Ve)!==x.prototype&&(Ve=E(Ve)),Ye)Ue.endEmitted?je(dt,new Se):tt(dt,Ue,Ve,!0);else if(Ue.ended)je(dt,new xe);else{if(Ue.destroyed)return!1;Ue.reading=!1,Ue.decoder&&!Ne?(Ve=Ue.decoder.write(Ve),Ue.objectMode||Ve.length!==0?tt(dt,Ue,Ve,!1):Qe(dt,Ue)):tt(dt,Ue,Ve,!1)}else Ye||(Ue.reading=!1,Qe(dt,Ue))}return!Ue.ended&&(Ue.length<Ue.highWaterMark||Ue.length===0)}function tt(dt,Ve,Ne,Ye){Ve.flowing&&Ve.length===0&&!Ve.sync?(Ve.awaitDrain=0,dt.emit("data",Ne)):(Ve.length+=Ve.objectMode?1:Ne.length,Ye?Ve.buffer.unshift(Ne):Ve.buffer.push(Ne),Ve.needReadable&&Je(dt)),Qe(dt,Ve)}function Me(dt,Ve){var Ne;return!re(Ve)&&typeof Ve!="string"&&Ve!==void 0&&!dt.objectMode&&(Ne=new we("chunk",["string","Buffer","Uint8Array"],Ve)),Ne}He.prototype.isPaused=function(){return this._readableState.flowing===!1},He.prototype.setEncoding=function(dt){be||(be=a("string_decoder/").StringDecoder);var Ve=new be(dt);this._readableState.decoder=Ve,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ne=this._readableState.buffer.head,Ye="";Ne!==null;)Ye+=Ve.write(Ne.data),Ne=Ne.next;return this._readableState.buffer.clear(),Ye!==""&&this._readableState.buffer.push(Ye),this._readableState.length=Ye.length,this};var We=1073741824;function it(dt){return dt>=We?dt=We:(dt--,dt|=dt>>>1,dt|=dt>>>2,dt|=dt>>>4,dt|=dt>>>8,dt|=dt>>>16,dt++),dt}function ut(dt,Ve){return dt<=0||Ve.length===0&&Ve.ended?0:Ve.objectMode?1:dt!==dt?Ve.flowing&&Ve.length?Ve.buffer.head.data.length:Ve.length:(dt>Ve.highWaterMark&&(Ve.highWaterMark=it(dt)),dt<=Ve.length?dt:Ve.ended?Ve.length:(Ve.needReadable=!0,0))}He.prototype.read=function(dt){le("read",dt),dt=parseInt(dt,10);var Ve=this._readableState,Ne=dt;if(dt!==0&&(Ve.emittedReadable=!1),dt===0&&Ve.needReadable&&((Ve.highWaterMark!==0?Ve.length>=Ve.highWaterMark:Ve.length>0)||Ve.ended))return le("read: emitReadable",Ve.length,Ve.ended),Ve.length===0&&Ve.ended?et(this):Je(this),null;if(dt=ut(dt,Ve),dt===0&&Ve.ended)return Ve.length===0&&et(this),null;var Ye=Ve.needReadable;le("need readable",Ye),(Ve.length===0||Ve.length-dt<Ve.highWaterMark)&&(Ye=!0,le("length less than watermark",Ye)),Ve.ended||Ve.reading?(Ye=!1,le("reading or ended",Ye)):Ye&&(le("do read"),Ve.reading=!0,Ve.sync=!0,Ve.length===0&&(Ve.needReadable=!0),this._read(Ve.highWaterMark),Ve.sync=!1,Ve.reading||(dt=ut(Ne,Ve)));var ot;return dt>0?ot=Be(dt,Ve):ot=null,ot===null?(Ve.needReadable=Ve.length<=Ve.highWaterMark,dt=0):(Ve.length-=dt,Ve.awaitDrain=0),Ve.length===0&&(Ve.ended||(Ve.needReadable=!0),Ne!==dt&&Ve.ended&&et(this)),ot!==null&&this.emit("data",ot),ot};function $e(dt,Ve){if(le("onEofChunk"),!Ve.ended){if(Ve.decoder){var Ne=Ve.decoder.end();Ne&&Ne.length&&(Ve.buffer.push(Ne),Ve.length+=Ve.objectMode?1:Ne.length)}Ve.ended=!0,Ve.sync?Je(dt):(Ve.needReadable=!1,Ve.emittedReadable||(Ve.emittedReadable=!0,Xe(dt)))}}function Je(dt){var Ve=dt._readableState;le("emitReadable",Ve.needReadable,Ve.emittedReadable),Ve.needReadable=!1,Ve.emittedReadable||(le("emitReadable",Ve.flowing),Ve.emittedReadable=!0,ee.nextTick(Xe,dt))}function Xe(dt){var Ve=dt._readableState;le("emitReadable_",Ve.destroyed,Ve.length,Ve.ended),!Ve.destroyed&&(Ve.length||Ve.ended)&&(dt.emit("readable"),Ve.emittedReadable=!1),Ve.needReadable=!Ve.flowing&&!Ve.ended&&Ve.length<=Ve.highWaterMark,at(dt)}function Qe(dt,Ve){Ve.readingMore||(Ve.readingMore=!0,ee.nextTick(st,dt,Ve))}function st(dt,Ve){for(;!Ve.reading&&!Ve.ended&&(Ve.length<Ve.highWaterMark||Ve.flowing&&Ve.length===0);){var Ne=Ve.length;if(le("maybeReadMore read 0"),dt.read(0),Ne===Ve.length)break}Ve.readingMore=!1}He.prototype._read=function(dt){je(this,new ve("_read()"))},He.prototype.pipe=function(dt,Ve){var Ne=this,Ye=this._readableState;switch(Ye.pipesCount){case 0:Ye.pipes=dt;break;case 1:Ye.pipes=[Ye.pipes,dt];break;default:Ye.pipes.push(dt);break}Ye.pipesCount+=1,le("pipe count=%d opts=%j",Ye.pipesCount,Ve);var ot=(!Ve||Ve.end!==!1)&&dt!==ee.stdout&&dt!==ee.stderr,Ue=ot?De:wt;Ye.endEmitted?ee.nextTick(Ue):Ne.once("end",Ue),dt.on("unpipe",Le);function Le(It,Bt){le("onunpipe"),It===Ne&&Bt&&Bt.hasUnpiped===!1&&(Bt.hasUnpiped=!0,Fe())}function De(){le("onend"),dt.end()}var Ze=rt(Ne);dt.on("drain",Ze);var lt=!1;function Fe(){le("cleanup"),dt.removeListener("close",jt),dt.removeListener("finish",Tt),dt.removeListener("drain",Ze),dt.removeListener("error",xt),dt.removeListener("unpipe",Le),Ne.removeListener("end",De),Ne.removeListener("end",wt),Ne.removeListener("data",yt),lt=!0,Ye.awaitDrain&&(!dt._writableState||dt._writableState.needDrain)&&Ze()}Ne.on("data",yt);function yt(It){le("ondata");var Bt=dt.write(It);le("dest.write",Bt),Bt===!1&&((Ye.pipesCount===1&&Ye.pipes===dt||Ye.pipesCount>1&&gt(Ye.pipes,dt)!==-1)&&!lt&&(le("false write response, pause",Ye.awaitDrain),Ye.awaitDrain++),Ne.pause())}function xt(It){le("onerror",It),wt(),dt.removeListener("error",xt),se(dt,"error")===0&&je(dt,It)}Pe(dt,"error",xt);function jt(){dt.removeListener("finish",Tt),wt()}dt.once("close",jt);function Tt(){le("onfinish"),dt.removeListener("close",jt),wt()}dt.once("finish",Tt);function wt(){le("unpipe"),Ne.unpipe(dt)}return dt.emit("pipe",Ne),Ye.flowing||(le("pipe resume"),Ne.resume()),dt};function rt(dt){return function(){var Ne=dt._readableState;le("pipeOnDrain",Ne.awaitDrain),Ne.awaitDrain&&Ne.awaitDrain--,Ne.awaitDrain===0&&se(dt,"data")&&(Ne.flowing=!0,at(dt))}}He.prototype.unpipe=function(dt){var Ve=this._readableState,Ne={hasUnpiped:!1};if(Ve.pipesCount===0)return this;if(Ve.pipesCount===1)return dt&&dt!==Ve.pipes?this:(dt||(dt=Ve.pipes),Ve.pipes=null,Ve.pipesCount=0,Ve.flowing=!1,dt&&dt.emit("unpipe",this,Ne),this);if(!dt){var Ye=Ve.pipes,ot=Ve.pipesCount;Ve.pipes=null,Ve.pipesCount=0,Ve.flowing=!1;for(var Ue=0;Ue<ot;Ue++)Ye[Ue].emit("unpipe",this,{hasUnpiped:!1});return this}var Le=gt(Ve.pipes,dt);return Le===-1?this:(Ve.pipes.splice(Le,1),Ve.pipesCount-=1,Ve.pipesCount===1&&(Ve.pipes=Ve.pipes[0]),dt.emit("unpipe",this,Ne),this)},He.prototype.on=function(dt,Ve){var Ne=z.prototype.on.call(this,dt,Ve),Ye=this._readableState;return dt==="data"?(Ye.readableListening=this.listenerCount("readable")>0,Ye.flowing!==!1&&this.resume()):dt==="readable"&&!Ye.endEmitted&&!Ye.readableListening&&(Ye.readableListening=Ye.needReadable=!0,Ye.flowing=!1,Ye.emittedReadable=!1,le("on readable",Ye.length,Ye.reading),Ye.length?Je(this):Ye.reading||ee.nextTick(ft,this)),Ne},He.prototype.addListener=He.prototype.on,He.prototype.removeListener=function(dt,Ve){var Ne=z.prototype.removeListener.call(this,dt,Ve);return dt==="readable"&&ee.nextTick(pt,this),Ne},He.prototype.removeAllListeners=function(dt){var Ve=z.prototype.removeAllListeners.apply(this,arguments);return(dt==="readable"||dt===void 0)&&ee.nextTick(pt,this),Ve};function pt(dt){var Ve=dt._readableState;Ve.readableListening=dt.listenerCount("readable")>0,Ve.resumeScheduled&&!Ve.paused?Ve.flowing=!0:dt.listenerCount("data")>0&&dt.resume()}function ft(dt){le("readable nexttick read 0"),dt.read(0)}He.prototype.resume=function(){var dt=this._readableState;return dt.flowing||(le("resume"),dt.flowing=!dt.readableListening,qe(this,dt)),dt.paused=!1,this};function qe(dt,Ve){Ve.resumeScheduled||(Ve.resumeScheduled=!0,ee.nextTick(Ie,dt,Ve))}function Ie(dt,Ve){le("resume",Ve.reading),Ve.reading||dt.read(0),Ve.resumeScheduled=!1,dt.emit("resume"),at(dt),Ve.flowing&&!Ve.reading&&dt.read(0)}He.prototype.pause=function(){return le("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(le("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function at(dt){var Ve=dt._readableState;for(le("flow",Ve.flowing);Ve.flowing&&dt.read()!==null;);}He.prototype.wrap=function(dt){var Ve=this,Ne=this._readableState,Ye=!1;dt.on("end",function(){if(le("wrapped end"),Ne.decoder&&!Ne.ended){var Le=Ne.decoder.end();Le&&Le.length&&Ve.push(Le)}Ve.push(null)}),dt.on("data",function(Le){if(le("wrapped data"),Ne.decoder&&(Le=Ne.decoder.write(Le)),!(Ne.objectMode&&Le==null)&&!(!Ne.objectMode&&(!Le||!Le.length))){var De=Ve.push(Le);De||(Ye=!0,dt.pause())}});for(var ot in dt)this[ot]===void 0&&typeof dt[ot]=="function"&&(this[ot]=function(De){return function(){return dt[De].apply(dt,arguments)}}(ot));for(var Ue=0;Ue<ke.length;Ue++)dt.on(ke[Ue],this.emit.bind(this,ke[Ue]));return this._read=function(Le){le("wrapped _read",Le),Ye&&(Ye=!1,dt.resume())},this},typeof Symbol=="function"&&(He.prototype[Symbol.asyncIterator]=function(){return Ae===void 0&&(Ae=a("./internal/streams/async_iterator")),Ae(this)}),Object.defineProperty(He.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(He.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(He.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ve){this._readableState&&(this._readableState.flowing=Ve)}}),He._fromList=Be,Object.defineProperty(He.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Be(dt,Ve){if(Ve.length===0)return null;var Ne;return Ve.objectMode?Ne=Ve.buffer.shift():!dt||dt>=Ve.length?(Ve.decoder?Ne=Ve.buffer.join(""):Ve.buffer.length===1?Ne=Ve.buffer.first():Ne=Ve.buffer.concat(Ve.length),Ve.buffer.clear()):Ne=Ve.buffer.consume(dt,Ve.decoder),Ne}function et(dt){var Ve=dt._readableState;le("endReadable",Ve.endEmitted),Ve.endEmitted||(Ve.ended=!0,ee.nextTick(vt,Ve,dt))}function vt(dt,Ve){if(le("endReadableNT",dt.endEmitted,dt.length),!dt.endEmitted&&dt.length===0&&(dt.endEmitted=!0,Ve.readable=!1,Ve.emit("end"),dt.autoDestroy)){var Ne=Ve._writableState;(!Ne||Ne.autoDestroy&&Ne.finished)&&Ve.destroy()}}typeof Symbol=="function"&&(He.from=function(dt,Ve){return Te===void 0&&(Te=a("./internal/streams/from")),Te(He,dt,Ve)});function gt(dt,Ve){for(var Ne=0,Ye=dt.length;Ne<Ye;Ne++)if(dt[Ne]===Ve)return Ne;return-1}}).call(this)}).call(this,a("_process"),typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(a,he,de){"use strict";he.exports=b;var ee=a("../errors").codes,oe=ee.ERR_METHOD_NOT_IMPLEMENTED,ne=ee.ERR_MULTIPLE_CALLBACK,te=ee.ERR_TRANSFORM_ALREADY_TRANSFORMING,se=ee.ERR_TRANSFORM_WITH_LENGTH_0,z=a("./_stream_duplex");a("inherits")(b,z);function x(ae,le){var fe=this._transformState;fe.transforming=!1;var ce=fe.writecb;if(ce===null)return this.emit("error",new ne);fe.writechunk=null,fe.writecb=null,le!=null&&this.push(le),ce(ae);var ue=this._readableState;ue.reading=!1,(ue.needReadable||ue.length<ue.highWaterMark)&&this._read(ue.highWaterMark)}function b(ae){if(!(this instanceof b))return new b(ae);z.call(this,ae),this._transformState={afterTransform:x.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,ae&&(typeof ae.transform=="function"&&(this._transform=ae.transform),typeof ae.flush=="function"&&(this._flush=ae.flush)),this.on("prefinish",E)}function E(){var ae=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(le,fe){re(ae,le,fe)}):re(this,null,null)}b.prototype.push=function(ae,le){return this._transformState.needTransform=!1,z.prototype.push.call(this,ae,le)},b.prototype._transform=function(ae,le,fe){fe(new oe("_transform()"))},b.prototype._write=function(ae,le,fe){var ce=this._transformState;if(ce.writecb=fe,ce.writechunk=ae,ce.writeencoding=le,!ce.transforming){var ue=this._readableState;(ce.needTransform||ue.needReadable||ue.length<ue.highWaterMark)&&this._read(ue.highWaterMark)}},b.prototype._read=function(ae){var le=this._transformState;le.writechunk!==null&&!le.transforming?(le.transforming=!0,this._transform(le.writechunk,le.writeencoding,le.afterTransform)):le.needTransform=!0},b.prototype._destroy=function(ae,le){z.prototype._destroy.call(this,ae,function(fe){le(fe)})};function re(ae,le,fe){if(le)return ae.emit("error",le);if(fe!=null&&ae.push(fe),ae._writableState.length)throw new se;if(ae._transformState.transforming)throw new te;return ae.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(a,he,de){(function(ee,oe){(function(){"use strict";he.exports=Oe;function ne(at,Be,et){this.chunk=at,this.encoding=Be,this.callback=et,this.next=null}function te(at){var Be=this;this.next=null,this.entry=null,this.finish=function(){Ie(Be,at)}}var se;Oe.WritableState=ke;var z={deprecate:a("util-deprecate")},x=a("./internal/streams/stream"),b=a("buffer").Buffer,E=(typeof oe!="undefined"?oe:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function re(at){return b.from(at)}function ae(at){return b.isBuffer(at)||at instanceof E}var le=a("./internal/streams/destroy"),fe=a("./internal/streams/state"),ce=fe.getHighWaterMark,ue=a("../errors").codes,ge=ue.ERR_INVALID_ARG_TYPE,_e=ue.ERR_METHOD_NOT_IMPLEMENTED,we=ue.ERR_MULTIPLE_CALLBACK,xe=ue.ERR_STREAM_CANNOT_PIPE,ve=ue.ERR_STREAM_DESTROYED,Se=ue.ERR_STREAM_NULL_VALUES,be=ue.ERR_STREAM_WRITE_AFTER_END,Ae=ue.ERR_UNKNOWN_ENCODING,Te=le.errorOrDestroy;a("inherits")(Oe,x);function je(){}function ke(at,Be,et){se=se||a("./_stream_duplex"),at=at||{},typeof et!="boolean"&&(et=Be instanceof se),this.objectMode=!!at.objectMode,et&&(this.objectMode=this.objectMode||!!at.writableObjectMode),this.highWaterMark=ce(this,at,"writableHighWaterMark",et),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var vt=at.decodeStrings===!1;this.decodeStrings=!vt,this.defaultEncoding=at.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(gt){$e(Be,gt)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=at.emitClose!==!1,this.autoDestroy=!!at.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new te(this)}ke.prototype.getBuffer=function(){for(var Be=this.bufferedRequest,et=[];Be;)et.push(Be),Be=Be.next;return et},function(){try{Object.defineProperty(ke.prototype,"buffer",{get:z.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(at){}}();var Pe;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Pe=Function.prototype[Symbol.hasInstance],Object.defineProperty(Oe,Symbol.hasInstance,{value:function(Be){return Pe.call(this,Be)?!0:this!==Oe?!1:Be&&Be._writableState instanceof ke}})):Pe=function(Be){return Be instanceof this};function Oe(at){se=se||a("./_stream_duplex");var Be=this instanceof se;if(!Be&&!Pe.call(Oe,this))return new Oe(at);this._writableState=new ke(at,this,Be),this.writable=!0,at&&(typeof at.write=="function"&&(this._write=at.write),typeof at.writev=="function"&&(this._writev=at.writev),typeof at.destroy=="function"&&(this._destroy=at.destroy),typeof at.final=="function"&&(this._final=at.final)),x.call(this)}Oe.prototype.pipe=function(){Te(this,new xe)};function He(at,Be){var et=new be;Te(at,et),ee.nextTick(Be,et)}function Ge(at,Be,et,vt){var gt;return et===null?gt=new Se:typeof et!="string"&&!Be.objectMode&&(gt=new ge("chunk",["string","Buffer"],et)),gt?(Te(at,gt),ee.nextTick(vt,gt),!1):!0}Oe.prototype.write=function(at,Be,et){var vt=this._writableState,gt=!1,dt=!vt.objectMode&&ae(at);return dt&&!b.isBuffer(at)&&(at=re(at)),typeof Be=="function"&&(et=Be,Be=null),dt?Be="buffer":Be||(Be=vt.defaultEncoding),typeof et!="function"&&(et=je),vt.ending?He(this,et):(dt||Ge(this,vt,at,et))&&(vt.pendingcb++,gt=Me(this,vt,dt,at,Be,et)),gt},Oe.prototype.cork=function(){this._writableState.corked++},Oe.prototype.uncork=function(){var at=this._writableState;at.corked&&(at.corked--,!at.writing&&!at.corked&&!at.bufferProcessing&&at.bufferedRequest&&Qe(this,at))},Oe.prototype.setDefaultEncoding=function(Be){if(typeof Be=="string"&&(Be=Be.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Be+"").toLowerCase())>-1))throw new Ae(Be);return this._writableState.defaultEncoding=Be,this},Object.defineProperty(Oe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function tt(at,Be,et){return!at.objectMode&&at.decodeStrings!==!1&&typeof Be=="string"&&(Be=b.from(Be,et)),Be}Object.defineProperty(Oe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Me(at,Be,et,vt,gt,dt){if(!et){var Ve=tt(Be,vt,gt);vt!==Ve&&(et=!0,gt="buffer",vt=Ve)}var Ne=Be.objectMode?1:vt.length;Be.length+=Ne;var Ye=Be.length<Be.highWaterMark;if(Ye||(Be.needDrain=!0),Be.writing||Be.corked){var ot=Be.lastBufferedRequest;Be.lastBufferedRequest={chunk:vt,encoding:gt,isBuf:et,callback:dt,next:null},ot?ot.next=Be.lastBufferedRequest:Be.bufferedRequest=Be.lastBufferedRequest,Be.bufferedRequestCount+=1}else We(at,Be,!1,Ne,vt,gt,dt);return Ye}function We(at,Be,et,vt,gt,dt,Ve){Be.writelen=vt,Be.writecb=Ve,Be.writing=!0,Be.sync=!0,Be.destroyed?Be.onwrite(new ve("write")):et?at._writev(gt,Be.onwrite):at._write(gt,dt,Be.onwrite),Be.sync=!1}function it(at,Be,et,vt,gt){--Be.pendingcb,et?(ee.nextTick(gt,vt),ee.nextTick(ft,at,Be),at._writableState.errorEmitted=!0,Te(at,vt)):(gt(vt),at._writableState.errorEmitted=!0,Te(at,vt),ft(at,Be))}function ut(at){at.writing=!1,at.writecb=null,at.length-=at.writelen,at.writelen=0}function $e(at,Be){var et=at._writableState,vt=et.sync,gt=et.writecb;if(typeof gt!="function")throw new we;if(ut(et),Be)it(at,et,vt,Be,gt);else{var dt=st(et)||at.destroyed;!dt&&!et.corked&&!et.bufferProcessing&&et.bufferedRequest&&Qe(at,et),vt?ee.nextTick(Je,at,et,dt,gt):Je(at,et,dt,gt)}}function Je(at,Be,et,vt){et||Xe(at,Be),Be.pendingcb--,vt(),ft(at,Be)}function Xe(at,Be){Be.length===0&&Be.needDrain&&(Be.needDrain=!1,at.emit("drain"))}function Qe(at,Be){Be.bufferProcessing=!0;var et=Be.bufferedRequest;if(at._writev&&et&&et.next){var vt=Be.bufferedRequestCount,gt=new Array(vt),dt=Be.corkedRequestsFree;dt.entry=et;for(var Ve=0,Ne=!0;et;)gt[Ve]=et,et.isBuf||(Ne=!1),et=et.next,Ve+=1;gt.allBuffers=Ne,We(at,Be,!0,Be.length,gt,"",dt.finish),Be.pendingcb++,Be.lastBufferedRequest=null,dt.next?(Be.corkedRequestsFree=dt.next,dt.next=null):Be.corkedRequestsFree=new te(Be),Be.bufferedRequestCount=0}else{for(;et;){var Ye=et.chunk,ot=et.encoding,Ue=et.callback,Le=Be.objectMode?1:Ye.length;if(We(at,Be,!1,Le,Ye,ot,Ue),et=et.next,Be.bufferedRequestCount--,Be.writing)break}et===null&&(Be.lastBufferedRequest=null)}Be.bufferedRequest=et,Be.bufferProcessing=!1}Oe.prototype._write=function(at,Be,et){et(new _e("_write()"))},Oe.prototype._writev=null,Oe.prototype.end=function(at,Be,et){var vt=this._writableState;return typeof at=="function"?(et=at,at=null,Be=null):typeof Be=="function"&&(et=Be,Be=null),at!=null&&this.write(at,Be),vt.corked&&(vt.corked=1,this.uncork()),vt.ending||qe(this,vt,et),this},Object.defineProperty(Oe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function st(at){return at.ending&&at.length===0&&at.bufferedRequest===null&&!at.finished&&!at.writing}function rt(at,Be){at._final(function(et){Be.pendingcb--,et&&Te(at,et),Be.prefinished=!0,at.emit("prefinish"),ft(at,Be)})}function pt(at,Be){!Be.prefinished&&!Be.finalCalled&&(typeof at._final=="function"&&!Be.destroyed?(Be.pendingcb++,Be.finalCalled=!0,ee.nextTick(rt,at,Be)):(Be.prefinished=!0,at.emit("prefinish")))}function ft(at,Be){var et=st(Be);if(et&&(pt(at,Be),Be.pendingcb===0&&(Be.finished=!0,at.emit("finish"),Be.autoDestroy))){var vt=at._readableState;(!vt||vt.autoDestroy&&vt.endEmitted)&&at.destroy()}return et}function qe(at,Be,et){Be.ending=!0,ft(at,Be),et&&(Be.finished?ee.nextTick(et):at.once("finish",et)),Be.ended=!0,at.writable=!1}function Ie(at,Be,et){var vt=at.entry;for(at.entry=null;vt;){var gt=vt.callback;Be.pendingcb--,gt(et),vt=vt.next}Be.corkedRequestsFree.next=at}Object.defineProperty(Oe.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Be){this._writableState&&(this._writableState.destroyed=Be)}}),Oe.prototype.destroy=le.destroy,Oe.prototype._undestroy=le.undestroy,Oe.prototype._destroy=function(at,Be){Be(at)}}).call(this)}).call(this,a("_process"),typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(a,he,de){(function(ee){(function(){"use strict";var oe;function ne(Se,be,Ae){return be=te(be),be in Se?Object.defineProperty(Se,be,{value:Ae,enumerable:!0,configurable:!0,writable:!0}):Se[be]=Ae,Se}function te(Se){var be=se(Se,"string");return typeof be=="symbol"?be:String(be)}function se(Se,be){if(typeof Se!="object"||Se===null)return Se;var Ae=Se[Symbol.toPrimitive];if(Ae!==void 0){var Te=Ae.call(Se,be||"default");if(typeof Te!="object")return Te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(be==="string"?String:Number)(Se)}var z=a("./end-of-stream"),x=Symbol("lastResolve"),b=Symbol("lastReject"),E=Symbol("error"),re=Symbol("ended"),ae=Symbol("lastPromise"),le=Symbol("handlePromise"),fe=Symbol("stream");function ce(Se,be){return{value:Se,done:be}}function ue(Se){var be=Se[x];if(be!==null){var Ae=Se[fe].read();Ae!==null&&(Se[ae]=null,Se[x]=null,Se[b]=null,be(ce(Ae,!1)))}}function ge(Se){ee.nextTick(ue,Se)}function _e(Se,be){return function(Ae,Te){Se.then(function(){if(be[re]){Ae(ce(void 0,!0));return}be[le](Ae,Te)},Te)}}var we=Object.getPrototypeOf(function(){}),xe=Object.setPrototypeOf((oe={get stream(){return this[fe]},next:function(){var be=this,Ae=this[E];if(Ae!==null)return Promise.reject(Ae);if(this[re])return Promise.resolve(ce(void 0,!0));if(this[fe].destroyed)return new Promise(function(Pe,Oe){ee.nextTick(function(){be[E]?Oe(be[E]):Pe(ce(void 0,!0))})});var Te=this[ae],je;if(Te)je=new Promise(_e(Te,this));else{var ke=this[fe].read();if(ke!==null)return Promise.resolve(ce(ke,!1));je=new Promise(this[le])}return this[ae]=je,je}},ne(oe,Symbol.asyncIterator,function(){return this}),ne(oe,"return",function(){var be=this;return new Promise(function(Ae,Te){be[fe].destroy(null,function(je){if(je){Te(je);return}Ae(ce(void 0,!0))})})}),oe),we),ve=function(be){var Ae,Te=Object.create(xe,(Ae={},ne(Ae,fe,{value:be,writable:!0}),ne(Ae,x,{value:null,writable:!0}),ne(Ae,b,{value:null,writable:!0}),ne(Ae,E,{value:null,writable:!0}),ne(Ae,re,{value:be._readableState.endEmitted,writable:!0}),ne(Ae,le,{value:function(ke,Pe){var Oe=Te[fe].read();Oe?(Te[ae]=null,Te[x]=null,Te[b]=null,ke(ce(Oe,!1))):(Te[x]=ke,Te[b]=Pe)},writable:!0}),Ae));return Te[ae]=null,z(be,function(je){if(je&&je.code!=="ERR_STREAM_PREMATURE_CLOSE"){var ke=Te[b];ke!==null&&(Te[ae]=null,Te[x]=null,Te[b]=null,ke(je)),Te[E]=je;return}var Pe=Te[x];Pe!==null&&(Te[ae]=null,Te[x]=null,Te[b]=null,Pe(ce(void 0,!0))),Te[re]=!0}),be.on("readable",ge.bind(null,Te)),Te};he.exports=ve}).call(this)}).call(this,a("_process"))},{"./end-of-stream":408,_process:467}],406:[function(a,he,de){"use strict";function ee(ue,ge){var _e=Object.keys(ue);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(ue);ge&&(we=we.filter(function(xe){return Object.getOwnPropertyDescriptor(ue,xe).enumerable})),_e.push.apply(_e,we)}return _e}function oe(ue){for(var ge=1;ge<arguments.length;ge++){var _e=arguments[ge]!=null?arguments[ge]:{};ge%2?ee(Object(_e),!0).forEach(function(we){ne(ue,we,_e[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ue,Object.getOwnPropertyDescriptors(_e)):ee(Object(_e)).forEach(function(we){Object.defineProperty(ue,we,Object.getOwnPropertyDescriptor(_e,we))})}return ue}function ne(ue,ge,_e){return ge=x(ge),ge in ue?Object.defineProperty(ue,ge,{value:_e,enumerable:!0,configurable:!0,writable:!0}):ue[ge]=_e,ue}function te(ue,ge){if(!(ue instanceof ge))throw new TypeError("Cannot call a class as a function")}function se(ue,ge){for(var _e=0;_e<ge.length;_e++){var we=ge[_e];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(ue,x(we.key),we)}}function z(ue,ge,_e){return ge&&se(ue.prototype,ge),_e&&se(ue,_e),Object.defineProperty(ue,"prototype",{writable:!1}),ue}function x(ue){var ge=b(ue,"string");return typeof ge=="symbol"?ge:String(ge)}function b(ue,ge){if(typeof ue!="object"||ue===null)return ue;var _e=ue[Symbol.toPrimitive];if(_e!==void 0){var we=_e.call(ue,ge||"default");if(typeof we!="object")return we;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ge==="string"?String:Number)(ue)}var E=a("buffer"),re=E.Buffer,ae=a("util"),le=ae.inspect,fe=le&&le.custom||"inspect";function ce(ue,ge,_e){re.prototype.copy.call(ue,ge,_e)}he.exports=function(){function ue(){te(this,ue),this.head=null,this.tail=null,this.length=0}return z(ue,[{key:"push",value:function(_e){var we={data:_e,next:null};this.length>0?this.tail.next=we:this.head=we,this.tail=we,++this.length}},{key:"unshift",value:function(_e){var we={data:_e,next:this.head};this.length===0&&(this.tail=we),this.head=we,++this.length}},{key:"shift",value:function(){if(this.length!==0){var _e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,_e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(_e){if(this.length===0)return"";for(var we=this.head,xe=""+we.data;we=we.next;)xe+=_e+we.data;return xe}},{key:"concat",value:function(_e){if(this.length===0)return re.alloc(0);for(var we=re.allocUnsafe(_e>>>0),xe=this.head,ve=0;xe;)ce(xe.data,we,ve),ve+=xe.data.length,xe=xe.next;return we}},{key:"consume",value:function(_e,we){var xe;return _e<this.head.data.length?(xe=this.head.data.slice(0,_e),this.head.data=this.head.data.slice(_e)):_e===this.head.data.length?xe=this.shift():xe=we?this._getString(_e):this._getBuffer(_e),xe}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(_e){var we=this.head,xe=1,ve=we.data;for(_e-=ve.length;we=we.next;){var Se=we.data,be=_e>Se.length?Se.length:_e;if(be===Se.length?ve+=Se:ve+=Se.slice(0,_e),_e-=be,_e===0){be===Se.length?(++xe,we.next?this.head=we.next:this.head=this.tail=null):(this.head=we,we.data=Se.slice(be));break}++xe}return this.length-=xe,ve}},{key:"_getBuffer",value:function(_e){var we=re.allocUnsafe(_e),xe=this.head,ve=1;for(xe.data.copy(we),_e-=xe.data.length;xe=xe.next;){var Se=xe.data,be=_e>Se.length?Se.length:_e;if(Se.copy(we,we.length-_e,0,be),_e-=be,_e===0){be===Se.length?(++ve,xe.next?this.head=xe.next:this.head=this.tail=null):(this.head=xe,xe.data=Se.slice(be));break}++ve}return this.length-=ve,we}},{key:fe,value:function(_e,we){return le(this,oe(oe({},we),{},{depth:0,customInspect:!1}))}}]),ue}()},{buffer:90,util:89}],407:[function(a,he,de){(function(ee){(function(){"use strict";function oe(b,E){var re=this,ae=this._readableState&&this._readableState.destroyed,le=this._writableState&&this._writableState.destroyed;return ae||le?(E?E(b):b&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ee.nextTick(z,this,b)):ee.nextTick(z,this,b)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(b||null,function(fe){!E&&fe?re._writableState?re._writableState.errorEmitted?ee.nextTick(te,re):(re._writableState.errorEmitted=!0,ee.nextTick(ne,re,fe)):ee.nextTick(ne,re,fe):E?(ee.nextTick(te,re),E(fe)):ee.nextTick(te,re)}),this)}function ne(b,E){z(b,E),te(b)}function te(b){b._writableState&&!b._writableState.emitClose||b._readableState&&!b._readableState.emitClose||b.emit("close")}function se(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function z(b,E){b.emit("error",E)}function x(b,E){var re=b._readableState,ae=b._writableState;re&&re.autoDestroy||ae&&ae.autoDestroy?b.destroy(E):b.emit("error",E)}he.exports={destroy:oe,undestroy:se,errorOrDestroy:x}}).call(this)}).call(this,a("_process"))},{_process:467}],408:[function(a,he,de){"use strict";var ee=a("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function oe(z){var x=!1;return function(){if(!x){x=!0;for(var b=arguments.length,E=new Array(b),re=0;re<b;re++)E[re]=arguments[re];z.apply(this,E)}}}function ne(){}function te(z){return z.setHeader&&typeof z.abort=="function"}function se(z,x,b){if(typeof x=="function")return se(z,null,x);x||(x={}),b=oe(b||ne);var E=x.readable||x.readable!==!1&&z.readable,re=x.writable||x.writable!==!1&&z.writable,ae=function(){z.writable||fe()},le=z._writableState&&z._writableState.finished,fe=function(){re=!1,le=!0,E||b.call(z)},ce=z._readableState&&z._readableState.endEmitted,ue=function(){E=!1,ce=!0,re||b.call(z)},ge=function(ve){b.call(z,ve)},_e=function(){var ve;if(E&&!ce)return(!z._readableState||!z._readableState.ended)&&(ve=new ee),b.call(z,ve);if(re&&!le)return(!z._writableState||!z._writableState.ended)&&(ve=new ee),b.call(z,ve)},we=function(){z.req.on("finish",fe)};return te(z)?(z.on("complete",fe),z.on("abort",_e),z.req?we():z.on("request",we)):re&&!z._writableState&&(z.on("end",ae),z.on("close",ae)),z.on("end",ue),z.on("finish",fe),x.error!==!1&&z.on("error",ge),z.on("close",_e),function(){z.removeListener("complete",fe),z.removeListener("abort",_e),z.removeListener("request",we),z.req&&z.req.removeListener("finish",fe),z.removeListener("end",ae),z.removeListener("close",ae),z.removeListener("finish",fe),z.removeListener("end",ue),z.removeListener("error",ge),z.removeListener("close",_e)}}he.exports=se},{"../../../errors":399}],409:[function(a,he,de){he.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(a,he,de){"use strict";var ee;function oe(fe){var ce=!1;return function(){ce||(ce=!0,fe.apply(void 0,arguments))}}var ne=a("../../../errors").codes,te=ne.ERR_MISSING_ARGS,se=ne.ERR_STREAM_DESTROYED;function z(fe){if(fe)throw fe}function x(fe){return fe.setHeader&&typeof fe.abort=="function"}function b(fe,ce,ue,ge){ge=oe(ge);var _e=!1;fe.on("close",function(){_e=!0}),ee===void 0&&(ee=a("./end-of-stream")),ee(fe,{readable:ce,writable:ue},function(xe){if(xe)return ge(xe);_e=!0,ge()});var we=!1;return function(xe){if(!_e&&!we){if(we=!0,x(fe))return fe.abort();if(typeof fe.destroy=="function")return fe.destroy();ge(xe||new se("pipe"))}}}function E(fe){fe()}function re(fe,ce){return fe.pipe(ce)}function ae(fe){return!fe.length||typeof fe[fe.length-1]!="function"?z:fe.pop()}function le(){for(var fe=arguments.length,ce=new Array(fe),ue=0;ue<fe;ue++)ce[ue]=arguments[ue];var ge=ae(ce);if(Array.isArray(ce[0])&&(ce=ce[0]),ce.length<2)throw new te("streams");var _e,we=ce.map(function(xe,ve){var Se=ve<ce.length-1,be=ve>0;return b(xe,Se,be,function(Ae){_e||(_e=Ae),Ae&&we.forEach(E),!Se&&(we.forEach(E),ge(_e))})});return ce.reduce(re)}he.exports=le},{"../../../errors":399,"./end-of-stream":408}],411:[function(a,he,de){"use strict";var ee=a("../../../errors").codes.ERR_INVALID_OPT_VALUE;function oe(te,se,z){return te.highWaterMark!=null?te.highWaterMark:se?te[z]:null}function ne(te,se,z,x){var b=oe(se,x,z);if(b!=null){if(!(isFinite(b)&&Math.floor(b)===b)||b<0){var E=x?z:"highWaterMark";throw new ee(E,b)}return Math.floor(b)}return te.objectMode?16:16*1024}he.exports={getHighWaterMark:ne}},{"../../../errors":399}],412:[function(a,he,de){arguments[4][393][0].apply(de,arguments)},{dup:393,events:344}],413:[function(a,he,de){"use strict";var ee=a("safe-buffer").Buffer,oe=ee.isEncoding||function(we){switch(we=""+we,we&&we.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ne(we){if(!we)return"utf8";for(var xe;;)switch(we){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return we;default:if(xe)return;we=(""+we).toLowerCase(),xe=!0}}function te(we){var xe=ne(we);if(typeof xe!="string"&&(ee.isEncoding===oe||!oe(we)))throw new Error("Unknown encoding: "+we);return xe||we}de.StringDecoder=se;function se(we){this.encoding=te(we);var xe;switch(this.encoding){case"utf16le":this.text=le,this.end=fe,xe=4;break;case"utf8":this.fillLast=E,xe=4;break;case"base64":this.text=ce,this.end=ue,xe=3;break;default:this.write=ge,this.end=_e;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ee.allocUnsafe(xe)}se.prototype.write=function(we){if(we.length===0)return"";var xe,ve;if(this.lastNeed){if(xe=this.fillLast(we),xe===void 0)return"";ve=this.lastNeed,this.lastNeed=0}else ve=0;return ve<we.length?xe?xe+this.text(we,ve):this.text(we,ve):xe||""},se.prototype.end=ae,se.prototype.text=re,se.prototype.fillLast=function(we){if(this.lastNeed<=we.length)return we.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);we.copy(this.lastChar,this.lastTotal-this.lastNeed,0,we.length),this.lastNeed-=we.length};function z(we){return we<=127?0:we>>5===6?2:we>>4===14?3:we>>3===30?4:we>>6===2?-1:-2}function x(we,xe,ve){var Se=xe.length-1;if(Se<ve)return 0;var be=z(xe[Se]);return be>=0?(be>0&&(we.lastNeed=be-1),be):--Se<ve||be===-2?0:(be=z(xe[Se]),be>=0?(be>0&&(we.lastNeed=be-2),be):--Se<ve||be===-2?0:(be=z(xe[Se]),be>=0?(be>0&&(be===2?be=0:we.lastNeed=be-3),be):0))}function b(we,xe,ve){if((xe[0]&192)!==128)return we.lastNeed=0,"\uFFFD";if(we.lastNeed>1&&xe.length>1){if((xe[1]&192)!==128)return we.lastNeed=1,"\uFFFD";if(we.lastNeed>2&&xe.length>2&&(xe[2]&192)!==128)return we.lastNeed=2,"\uFFFD"}}function E(we){var xe=this.lastTotal-this.lastNeed,ve=b(this,we,xe);if(ve!==void 0)return ve;if(this.lastNeed<=we.length)return we.copy(this.lastChar,xe,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);we.copy(this.lastChar,xe,0,we.length),this.lastNeed-=we.length}function re(we,xe){var ve=x(this,we,xe);if(!this.lastNeed)return we.toString("utf8",xe);this.lastTotal=ve;var Se=we.length-(ve-this.lastNeed);return we.copy(this.lastChar,0,Se),we.toString("utf8",xe,Se)}function ae(we){var xe=we&&we.length?this.write(we):"";return this.lastNeed?xe+"\uFFFD":xe}function le(we,xe){if((we.length-xe)%2===0){var ve=we.toString("utf16le",xe);if(ve){var Se=ve.charCodeAt(ve.length-1);if(Se>=55296&&Se<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=we[we.length-2],this.lastChar[1]=we[we.length-1],ve.slice(0,-1)}return ve}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=we[we.length-1],we.toString("utf16le",xe,we.length-1)}function fe(we){var xe=we&&we.length?this.write(we):"";if(this.lastNeed){var ve=this.lastTotal-this.lastNeed;return xe+this.lastChar.toString("utf16le",0,ve)}return xe}function ce(we,xe){var ve=(we.length-xe)%3;return ve===0?we.toString("base64",xe):(this.lastNeed=3-ve,this.lastTotal=3,ve===1?this.lastChar[0]=we[we.length-1]:(this.lastChar[0]=we[we.length-2],this.lastChar[1]=we[we.length-1]),we.toString("base64",xe,we.length-ve))}function ue(we){var xe=we&&we.length?this.write(we):"";return this.lastNeed?xe+this.lastChar.toString("base64",0,3-this.lastNeed):xe}function ge(we){return we.toString(this.encoding)}function _e(we){return we&&we.length?this.write(we):""}},{"safe-buffer":396}],414:[function(a,he,de){(function(ee,oe){(function(){var ne=a("process/browser.js").nextTick,te=Function.prototype.apply,se=Array.prototype.slice,z={},x=0;de.setTimeout=function(){return new b(te.call(setTimeout,window,arguments),clearTimeout)},de.setInterval=function(){return new b(te.call(setInterval,window,arguments),clearInterval)},de.clearTimeout=de.clearInterval=function(E){E.close()};function b(E,re){this._id=E,this._clearFn=re}b.prototype.unref=b.prototype.ref=function(){},b.prototype.close=function(){this._clearFn.call(window,this._id)},de.enroll=function(E,re){clearTimeout(E._idleTimeoutId),E._idleTimeout=re},de.unenroll=function(E){clearTimeout(E._idleTimeoutId),E._idleTimeout=-1},de._unrefActive=de.active=function(E){clearTimeout(E._idleTimeoutId);var re=E._idleTimeout;re>=0&&(E._idleTimeoutId=setTimeout(function(){E._onTimeout&&E._onTimeout()},re))},de.setImmediate=typeof ee=="function"?ee:function(E){var re=x++,ae=arguments.length<2?!1:se.call(arguments,1);return z[re]=!0,ne(function(){z[re]&&(ae?E.apply(null,ae):E.call(null),de.clearImmediate(re))}),re},de.clearImmediate=typeof oe=="function"?oe:function(E){delete z[E]}}).call(this)}).call(this,a("timers").setImmediate,a("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(a,he,de){var ee=a("buffer").Buffer;he.exports=function(oe){if(oe instanceof Uint8Array){if(oe.byteOffset===0&&oe.byteLength===oe.buffer.byteLength)return oe.buffer;if(typeof oe.buffer.slice=="function")return oe.buffer.slice(oe.byteOffset,oe.byteOffset+oe.byteLength)}if(ee.isBuffer(oe)){for(var ne=new Uint8Array(oe.length),te=oe.length,se=0;se<te;se++)ne[se]=oe[se];return ne.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(a,he,de){(function(ee){(function(){he.exports=oe;function oe(te,se){if(ne("noDeprecation"))return te;var z=!1;function x(){if(!z){if(ne("throwDeprecation"))throw new Error(se);ne("traceDeprecation")?console.trace(se):console.warn(se),z=!0}return te.apply(this,arguments)}return x}function ne(te){try{if(!ee.localStorage)return!1}catch(z){return!1}var se=ee.localStorage[te];return se==null?!1:String(se).toLowerCase()==="true"}}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(a,he,de){arguments[4][84][0].apply(de,arguments)},{dup:84}],418:[function(a,he,de){"use strict";var ee=a("is-arguments"),oe=a("is-generator-function"),ne=a("which-typed-array"),te=a("is-typed-array");function se(ot){return ot.call.bind(ot)}var z=typeof BigInt!="undefined",x=typeof Symbol!="undefined",b=se(Object.prototype.toString),E=se(Number.prototype.valueOf),re=se(String.prototype.valueOf),ae=se(Boolean.prototype.valueOf);if(z)var le=se(BigInt.prototype.valueOf);if(x)var fe=se(Symbol.prototype.valueOf);function ce(ot,Ue){if(typeof ot!="object")return!1;try{return Ue(ot),!0}catch(Le){return!1}}de.isArgumentsObject=ee,de.isGeneratorFunction=oe,de.isTypedArray=te;function ue(ot){return typeof Promise!="undefined"&&ot instanceof Promise||ot!==null&&typeof ot=="object"&&typeof ot.then=="function"&&typeof ot.catch=="function"}de.isPromise=ue;function ge(ot){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(ot):te(ot)||Qe(ot)}de.isArrayBufferView=ge;function _e(ot){return ne(ot)==="Uint8Array"}de.isUint8Array=_e;function we(ot){return ne(ot)==="Uint8ClampedArray"}de.isUint8ClampedArray=we;function xe(ot){return ne(ot)==="Uint16Array"}de.isUint16Array=xe;function ve(ot){return ne(ot)==="Uint32Array"}de.isUint32Array=ve;function Se(ot){return ne(ot)==="Int8Array"}de.isInt8Array=Se;function be(ot){return ne(ot)==="Int16Array"}de.isInt16Array=be;function Ae(ot){return ne(ot)==="Int32Array"}de.isInt32Array=Ae;function Te(ot){return ne(ot)==="Float32Array"}de.isFloat32Array=Te;function je(ot){return ne(ot)==="Float64Array"}de.isFloat64Array=je;function ke(ot){return ne(ot)==="BigInt64Array"}de.isBigInt64Array=ke;function Pe(ot){return ne(ot)==="BigUint64Array"}de.isBigUint64Array=Pe;function Oe(ot){return b(ot)==="[object Map]"}Oe.working=typeof Map!="undefined"&&Oe(new Map);function He(ot){return typeof Map=="undefined"?!1:Oe.working?Oe(ot):ot instanceof Map}de.isMap=He;function Ge(ot){return b(ot)==="[object Set]"}Ge.working=typeof Set!="undefined"&&Ge(new Set);function tt(ot){return typeof Set=="undefined"?!1:Ge.working?Ge(ot):ot instanceof Set}de.isSet=tt;function Me(ot){return b(ot)==="[object WeakMap]"}Me.working=typeof WeakMap!="undefined"&&Me(new WeakMap);function We(ot){return typeof WeakMap=="undefined"?!1:Me.working?Me(ot):ot instanceof WeakMap}de.isWeakMap=We;function it(ot){return b(ot)==="[object WeakSet]"}it.working=typeof WeakSet!="undefined"&&it(new WeakSet);function ut(ot){return it(ot)}de.isWeakSet=ut;function $e(ot){return b(ot)==="[object ArrayBuffer]"}$e.working=typeof ArrayBuffer!="undefined"&&$e(new ArrayBuffer);function Je(ot){return typeof ArrayBuffer=="undefined"?!1:$e.working?$e(ot):ot instanceof ArrayBuffer}de.isArrayBuffer=Je;function Xe(ot){return b(ot)==="[object DataView]"}Xe.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&Xe(new DataView(new ArrayBuffer(1),0,1));function Qe(ot){return typeof DataView=="undefined"?!1:Xe.working?Xe(ot):ot instanceof DataView}de.isDataView=Qe;var st=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function rt(ot){return b(ot)==="[object SharedArrayBuffer]"}function pt(ot){return typeof st=="undefined"?!1:(typeof rt.working=="undefined"&&(rt.working=rt(new st)),rt.working?rt(ot):ot instanceof st)}de.isSharedArrayBuffer=pt;function ft(ot){return b(ot)==="[object AsyncFunction]"}de.isAsyncFunction=ft;function qe(ot){return b(ot)==="[object Map Iterator]"}de.isMapIterator=qe;function Ie(ot){return b(ot)==="[object Set Iterator]"}de.isSetIterator=Ie;function at(ot){return b(ot)==="[object Generator]"}de.isGeneratorObject=at;function Be(ot){return b(ot)==="[object WebAssembly.Module]"}de.isWebAssemblyCompiledModule=Be;function et(ot){return ce(ot,E)}de.isNumberObject=et;function vt(ot){return ce(ot,re)}de.isStringObject=vt;function gt(ot){return ce(ot,ae)}de.isBooleanObject=gt;function dt(ot){return z&&ce(ot,le)}de.isBigIntObject=dt;function Ve(ot){return x&&ce(ot,fe)}de.isSymbolObject=Ve;function Ne(ot){return et(ot)||vt(ot)||gt(ot)||dt(ot)||Ve(ot)}de.isBoxedPrimitive=Ne;function Ye(ot){return typeof Uint8Array!="undefined"&&(Je(ot)||pt(ot))}de.isAnyArrayBuffer=Ye,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ot){Object.defineProperty(de,ot,{enumerable:!1,value:function(){throw new Error(ot+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(a,he,de){(function(ee){(function(){var oe=Object.getOwnPropertyDescriptors||function(st){for(var rt=Object.keys(st),pt={},ft=0;ft<rt.length;ft++)pt[rt[ft]]=Object.getOwnPropertyDescriptor(st,rt[ft]);return pt},ne=/%[sdj%]/g;de.format=function(Qe){if(!be(Qe)){for(var st=[],rt=0;rt<arguments.length;rt++)st.push(x(arguments[rt]));return st.join(" ")}for(var rt=1,pt=arguments,ft=pt.length,qe=String(Qe).replace(ne,function(at){if(at==="%%")return"%";if(rt>=ft)return at;switch(at){case"%s":return String(pt[rt++]);case"%d":return Number(pt[rt++]);case"%j":try{return JSON.stringify(pt[rt++])}catch(Be){return"[Circular]"}default:return at}}),Ie=pt[rt];rt<ft;Ie=pt[++rt])xe(Ie)||!ke(Ie)?qe+=" "+Ie:qe+=" "+x(Ie);return qe},de.deprecate=function(Qe,st){if(typeof ee!="undefined"&&ee.noDeprecation===!0)return Qe;if(typeof ee=="undefined")return function(){return de.deprecate(Qe,st).apply(this,arguments)};var rt=!1;function pt(){if(!rt){if(ee.throwDeprecation)throw new Error(st);ee.traceDeprecation?console.trace(st):console.error(st),rt=!0}return Qe.apply(this,arguments)}return pt};var te={},se=/^$/;if(ee.env.NODE_DEBUG){var z=ee.env.NODE_DEBUG;z=z.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),se=new RegExp("^"+z+"$","i")}de.debuglog=function(Qe){if(Qe=Qe.toUpperCase(),!te[Qe])if(se.test(Qe)){var st=ee.pid;te[Qe]=function(){var rt=de.format.apply(de,arguments);console.error("%s %d: %s",Qe,st,rt)}}else te[Qe]=function(){};return te[Qe]};function x(Qe,st){var rt={seen:[],stylize:E};return arguments.length>=3&&(rt.depth=arguments[2]),arguments.length>=4&&(rt.colors=arguments[3]),we(st)?rt.showHidden=st:st&&de._extend(rt,st),Te(rt.showHidden)&&(rt.showHidden=!1),Te(rt.depth)&&(rt.depth=2),Te(rt.colors)&&(rt.colors=!1),Te(rt.customInspect)&&(rt.customInspect=!0),rt.colors&&(rt.stylize=b),ae(rt,Qe,rt.depth)}de.inspect=x,x.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},x.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function b(Qe,st){var rt=x.styles[st];return rt?"\x1B["+x.colors[rt][0]+"m"+Qe+"\x1B["+x.colors[rt][1]+"m":Qe}function E(Qe,st){return Qe}function re(Qe){var st={};return Qe.forEach(function(rt,pt){st[rt]=!0}),st}function ae(Qe,st,rt){if(Qe.customInspect&&st&&He(st.inspect)&&st.inspect!==de.inspect&&!(st.constructor&&st.constructor.prototype===st)){var pt=st.inspect(rt,Qe);return be(pt)||(pt=ae(Qe,pt,rt)),pt}var ft=le(Qe,st);if(ft)return ft;var qe=Object.keys(st),Ie=re(qe);if(Qe.showHidden&&(qe=Object.getOwnPropertyNames(st)),Oe(st)&&(qe.indexOf("message")>=0||qe.indexOf("description")>=0))return fe(st);if(qe.length===0){if(He(st)){var at=st.name?": "+st.name:"";return Qe.stylize("[Function"+at+"]","special")}if(je(st))return Qe.stylize(RegExp.prototype.toString.call(st),"regexp");if(Pe(st))return Qe.stylize(Date.prototype.toString.call(st),"date");if(Oe(st))return fe(st)}var Be="",et=!1,vt=["{","}"];if(_e(st)&&(et=!0,vt=["[","]"]),He(st)){var gt=st.name?": "+st.name:"";Be=" [Function"+gt+"]"}if(je(st)&&(Be=" "+RegExp.prototype.toString.call(st)),Pe(st)&&(Be=" "+Date.prototype.toUTCString.call(st)),Oe(st)&&(Be=" "+fe(st)),qe.length===0&&(!et||st.length==0))return vt[0]+Be+vt[1];if(rt<0)return je(st)?Qe.stylize(RegExp.prototype.toString.call(st),"regexp"):Qe.stylize("[Object]","special");Qe.seen.push(st);var dt;return et?dt=ce(Qe,st,rt,Ie,qe):dt=qe.map(function(Ve){return ue(Qe,st,rt,Ie,Ve,et)}),Qe.seen.pop(),ge(dt,Be,vt)}function le(Qe,st){if(Te(st))return Qe.stylize("undefined","undefined");if(be(st)){var rt="'"+JSON.stringify(st).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Qe.stylize(rt,"string")}if(Se(st))return Qe.stylize(""+st,"number");if(we(st))return Qe.stylize(""+st,"boolean");if(xe(st))return Qe.stylize("null","null")}function fe(Qe){return"["+Error.prototype.toString.call(Qe)+"]"}function ce(Qe,st,rt,pt,ft){for(var qe=[],Ie=0,at=st.length;Ie<at;++Ie)ut(st,String(Ie))?qe.push(ue(Qe,st,rt,pt,String(Ie),!0)):qe.push("");return ft.forEach(function(Be){Be.match(/^\d+$/)||qe.push(ue(Qe,st,rt,pt,Be,!0))}),qe}function ue(Qe,st,rt,pt,ft,qe){var Ie,at,Be;if(Be=Object.getOwnPropertyDescriptor(st,ft)||{value:st[ft]},Be.get?Be.set?at=Qe.stylize("[Getter/Setter]","special"):at=Qe.stylize("[Getter]","special"):Be.set&&(at=Qe.stylize("[Setter]","special")),ut(pt,ft)||(Ie="["+ft+"]"),at||(Qe.seen.indexOf(Be.value)<0?(xe(rt)?at=ae(Qe,Be.value,null):at=ae(Qe,Be.value,rt-1),at.indexOf(`
`)>-1&&(qe?at=at.split(`
`).map(function(et){return" "+et}).join(`
`).slice(2):at=`
`+at.split(`
`).map(function(et){return" "+et}).join(`
`))):at=Qe.stylize("[Circular]","special")),Te(Ie)){if(qe&&ft.match(/^\d+$/))return at;Ie=JSON.stringify(""+ft),Ie.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ie=Ie.slice(1,-1),Ie=Qe.stylize(Ie,"name")):(Ie=Ie.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ie=Qe.stylize(Ie,"string"))}return Ie+": "+at}function ge(Qe,st,rt){var pt=0,ft=Qe.reduce(function(qe,Ie){return pt++,Ie.indexOf(`
`)>=0&&pt++,qe+Ie.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ft>60?rt[0]+(st===""?"":st+`
`)+" "+Qe.join(`,
`)+" "+rt[1]:rt[0]+st+" "+Qe.join(", ")+" "+rt[1]}de.types=a("./support/types");function _e(Qe){return Array.isArray(Qe)}de.isArray=_e;function we(Qe){return typeof Qe=="boolean"}de.isBoolean=we;function xe(Qe){return Qe===null}de.isNull=xe;function ve(Qe){return Qe==null}de.isNullOrUndefined=ve;function Se(Qe){return typeof Qe=="number"}de.isNumber=Se;function be(Qe){return typeof Qe=="string"}de.isString=be;function Ae(Qe){return typeof Qe=="symbol"}de.isSymbol=Ae;function Te(Qe){return Qe===void 0}de.isUndefined=Te;function je(Qe){return ke(Qe)&&tt(Qe)==="[object RegExp]"}de.isRegExp=je,de.types.isRegExp=je;function ke(Qe){return typeof Qe=="object"&&Qe!==null}de.isObject=ke;function Pe(Qe){return ke(Qe)&&tt(Qe)==="[object Date]"}de.isDate=Pe,de.types.isDate=Pe;function Oe(Qe){return ke(Qe)&&(tt(Qe)==="[object Error]"||Qe instanceof Error)}de.isError=Oe,de.types.isNativeError=Oe;function He(Qe){return typeof Qe=="function"}de.isFunction=He;function Ge(Qe){return Qe===null||typeof Qe=="boolean"||typeof Qe=="number"||typeof Qe=="string"||typeof Qe=="symbol"||typeof Qe=="undefined"}de.isPrimitive=Ge,de.isBuffer=a("./support/isBuffer");function tt(Qe){return Object.prototype.toString.call(Qe)}function Me(Qe){return Qe<10?"0"+Qe.toString(10):Qe.toString(10)}var We=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function it(){var Qe=new Date,st=[Me(Qe.getHours()),Me(Qe.getMinutes()),Me(Qe.getSeconds())].join(":");return[Qe.getDate(),We[Qe.getMonth()],st].join(" ")}de.log=function(){console.log("%s - %s",it(),de.format.apply(de,arguments))},de.inherits=a("inherits"),de._extend=function(Qe,st){if(!st||!ke(st))return Qe;for(var rt=Object.keys(st),pt=rt.length;pt--;)Qe[rt[pt]]=st[rt[pt]];return Qe};function ut(Qe,st){return Object.prototype.hasOwnProperty.call(Qe,st)}var $e=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;de.promisify=function(st){if(typeof st!="function")throw new TypeError('The "original" argument must be of type Function');if($e&&st[$e]){var rt=st[$e];if(typeof rt!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(rt,$e,{value:rt,enumerable:!1,writable:!1,configurable:!0}),rt}function rt(){for(var pt,ft,qe=new Promise(function(Be,et){pt=Be,ft=et}),Ie=[],at=0;at<arguments.length;at++)Ie.push(arguments[at]);Ie.push(function(Be,et){Be?ft(Be):pt(et)});try{st.apply(this,Ie)}catch(Be){ft(Be)}return qe}return Object.setPrototypeOf(rt,Object.getPrototypeOf(st)),$e&&Object.defineProperty(rt,$e,{value:rt,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(rt,oe(st))},de.promisify.custom=$e;function Je(Qe,st){if(!Qe){var rt=new Error("Promise was rejected with a falsy value");rt.reason=Qe,Qe=rt}return st(Qe)}function Xe(Qe){if(typeof Qe!="function")throw new TypeError('The "original" argument must be of type Function');function st(){for(var rt=[],pt=0;pt<arguments.length;pt++)rt.push(arguments[pt]);var ft=rt.pop();if(typeof ft!="function")throw new TypeError("The last argument must be of type Function");var qe=this,Ie=function(){return ft.apply(qe,arguments)};Qe.apply(this,rt).then(function(at){ee.nextTick(Ie.bind(null,null,at))},function(at){ee.nextTick(Je.bind(null,at,Ie))})}return Object.setPrototypeOf(st,Object.getPrototypeOf(Qe)),Object.defineProperties(st,oe(Qe)),st}de.callbackify=Xe}).call(this)}).call(this,a("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(a,he,de){(function(ee){(function(){"use strict";var oe=a("for-each"),ne=a("available-typed-arrays"),te=a("call-bind"),se=a("call-bind/callBound"),z=a("gopd"),x=se("Object.prototype.toString"),b=a("has-tostringtag/shams")(),E=typeof globalThis=="undefined"?ee:globalThis,re=ne(),ae=se("String.prototype.slice"),le=Object.getPrototypeOf,fe=se("Array.prototype.indexOf",!0)||function(we,xe){for(var ve=0;ve<we.length;ve+=1)if(we[ve]===xe)return ve;return-1},ce={__proto__:null};b&&z&&le?oe(re,function(_e){var we=new E[_e];if(Symbol.toStringTag in we){var xe=le(we),ve=z(xe,Symbol.toStringTag);if(!ve){var Se=le(xe);ve=z(Se,Symbol.toStringTag)}ce["$"+_e]=te(ve.get)}}):oe(re,function(_e){var we=new E[_e];ce["$"+_e]=te(we.slice)});var ue=function(we){var xe=!1;return oe(ce,function(ve,Se){if(!xe)try{"$"+ve(we)===Se&&(xe=ae(Se,1))}catch(be){}}),xe},ge=function(we){var xe=!1;return oe(ce,function(ve,Se){if(!xe)try{ve(we),xe=ae(Se,1)}catch(be){}}),xe};he.exports=function(we){if(!we||typeof we!="object")return!1;if(!b){var xe=ae(x(we),8,-1);return fe(re,xe)>-1?xe:xe!=="Object"?!1:ge(we)}return z?ue(we):null}}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(a,he,de){(function(){"use strict";de.stripBOM=function(ee){return ee[0]==="\uFEFF"?ee.substring(1):ee}}).call(this)},{}],422:[function(a,he,de){(function(){"use strict";var ee,oe,ne,te,se,z={}.hasOwnProperty;ee=a("xmlbuilder"),oe=a("./defaults").defaults,te=function(x){return typeof x=="string"&&(x.indexOf("&")>=0||x.indexOf(">")>=0||x.indexOf("<")>=0)},se=function(x){return"<![CDATA["+ne(x)+"]]>"},ne=function(x){return x.replace("]]>","]]]]><![CDATA[>")},de.Builder=function(){function x(b){var E,re,ae;this.options={},re=oe["0.2"];for(E in re)z.call(re,E)&&(ae=re[E],this.options[E]=ae);for(E in b)z.call(b,E)&&(ae=b[E],this.options[E]=ae)}return x.prototype.buildObject=function(b){var E,re,ae,le,fe;return E=this.options.attrkey,re=this.options.charkey,Object.keys(b).length===1&&this.options.rootName===oe["0.2"].rootName?(fe=Object.keys(b)[0],b=b[fe]):fe=this.options.rootName,ae=function(ce){return function(ue,ge){var _e,we,xe,ve,Se,be;if(typeof ge!="object")ce.options.cdata&&te(ge)?ue.raw(se(ge)):ue.txt(ge);else if(Array.isArray(ge)){for(ve in ge)if(z.call(ge,ve)){we=ge[ve];for(Se in we)xe=we[Se],ue=ae(ue.ele(Se),xe).up()}}else for(Se in ge)if(z.call(ge,Se))if(we=ge[Se],Se===E){if(typeof we=="object")for(_e in we)be=we[_e],ue=ue.att(_e,be)}else if(Se===re)ce.options.cdata&&te(we)?ue=ue.raw(se(we)):ue=ue.txt(we);else if(Array.isArray(we))for(ve in we)z.call(we,ve)&&(xe=we[ve],typeof xe=="string"?ce.options.cdata&&te(xe)?ue=ue.ele(Se).raw(se(xe)).up():ue=ue.ele(Se,xe).up():ue=ae(ue.ele(Se),xe).up());else typeof we=="object"?ue=ae(ue.ele(Se),we).up():typeof we=="string"&&ce.options.cdata&&te(we)?ue=ue.ele(Se).raw(se(we)).up():(we==null&&(we=""),ue=ue.ele(Se,we.toString()).up());return ue}}(this),le=ee.create(fe,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),ae(le,b).end(this.options.renderOpts)},x}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(a,he,de){(function(){de.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(a,he,de){(function(){"use strict";var ee,oe,ne,te,se,z,x,b,E,re=function(fe,ce){return function(){return fe.apply(ce,arguments)}},ae=function(fe,ce){for(var ue in ce)le.call(ce,ue)&&(fe[ue]=ce[ue]);function ge(){this.constructor=fe}return ge.prototype=ce.prototype,fe.prototype=new ge,fe.__super__=ce.prototype,fe},le={}.hasOwnProperty;b=a("sax"),te=a("events"),ee=a("./bom"),x=a("./processors"),E=a("timers").setImmediate,oe=a("./defaults").defaults,se=function(fe){return typeof fe=="object"&&fe!=null&&Object.keys(fe).length===0},z=function(fe,ce,ue){var ge,_e,we;for(ge=0,_e=fe.length;ge<_e;ge++)we=fe[ge],ce=we(ce,ue);return ce},ne=function(fe,ce,ue){var ge;return ge=Object.create(null),ge.value=ue,ge.writable=!0,ge.enumerable=!0,ge.configurable=!0,Object.defineProperty(fe,ce,ge)},de.Parser=function(fe){ae(ce,fe);function ce(ue){this.parseStringPromise=re(this.parseStringPromise,this),this.parseString=re(this.parseString,this),this.reset=re(this.reset,this),this.assignOrPush=re(this.assignOrPush,this),this.processAsync=re(this.processAsync,this);var ge,_e,we;if(!(this instanceof de.Parser))return new de.Parser(ue);this.options={},_e=oe["0.2"];for(ge in _e)le.call(_e,ge)&&(we=_e[ge],this.options[ge]=we);for(ge in ue)le.call(ue,ge)&&(we=ue[ge],this.options[ge]=we);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(x.normalize)),this.reset()}return ce.prototype.processAsync=function(){var ue,ge;try{return this.remaining.length<=this.options.chunkSize?(ue=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(ue),this.saxParser.close()):(ue=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(ue),E(this.processAsync))}catch(_e){if(ge=_e,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(ge)}},ce.prototype.assignOrPush=function(ue,ge,_e){return ge in ue?(ue[ge]instanceof Array||ne(ue,ge,[ue[ge]]),ue[ge].push(_e)):this.options.explicitArray?ne(ue,ge,[_e]):ne(ue,ge,_e)},ce.prototype.reset=function(){var ue,ge,_e,we;return this.removeAllListeners(),this.saxParser=b.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(xe){return function(ve){if(xe.saxParser.resume(),!xe.saxParser.errThrown)return xe.saxParser.errThrown=!0,xe.emit("error",ve)}}(this),this.saxParser.onend=function(xe){return function(){if(!xe.saxParser.ended)return xe.saxParser.ended=!0,xe.emit("end",xe.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,we=[],ue=this.options.attrkey,ge=this.options.charkey,this.saxParser.onopentag=function(xe){return function(ve){var Se,be,Ae,Te,je;if(Ae={},Ae[ge]="",!xe.options.ignoreAttrs){je=ve.attributes;for(Se in je)le.call(je,Se)&&(!(ue in Ae)&&!xe.options.mergeAttrs&&(Ae[ue]={}),be=xe.options.attrValueProcessors?z(xe.options.attrValueProcessors,ve.attributes[Se],Se):ve.attributes[Se],Te=xe.options.attrNameProcessors?z(xe.options.attrNameProcessors,Se):Se,xe.options.mergeAttrs?xe.assignOrPush(Ae,Te,be):ne(Ae[ue],Te,be))}return Ae["#name"]=xe.options.tagNameProcessors?z(xe.options.tagNameProcessors,ve.name):ve.name,xe.options.xmlns&&(Ae[xe.options.xmlnskey]={uri:ve.uri,local:ve.local}),we.push(Ae)}}(this),this.saxParser.onclosetag=function(xe){return function(){var ve,Se,be,Ae,Te,je,ke,Pe,Oe,He;if(je=we.pop(),Te=je["#name"],(!xe.options.explicitChildren||!xe.options.preserveChildrenOrder)&&delete je["#name"],je.cdata===!0&&(ve=je.cdata,delete je.cdata),Oe=we[we.length-1],je[ge].match(/^\s*$/)&&!ve?(Se=je[ge],delete je[ge]):(xe.options.trim&&(je[ge]=je[ge].trim()),xe.options.normalize&&(je[ge]=je[ge].replace(/\s{2,}/g," ").trim()),je[ge]=xe.options.valueProcessors?z(xe.options.valueProcessors,je[ge],Te):je[ge],Object.keys(je).length===1&&ge in je&&!xe.EXPLICIT_CHARKEY&&(je=je[ge])),se(je)&&(typeof xe.options.emptyTag=="function"?je=xe.options.emptyTag():je=xe.options.emptyTag!==""?xe.options.emptyTag:Se),xe.options.validator!=null&&(He="/"+function(){var Ge,tt,Me;for(Me=[],Ge=0,tt=we.length;Ge<tt;Ge++)Ae=we[Ge],Me.push(Ae["#name"]);return Me}().concat(Te).join("/"),function(){var Ge;try{return je=xe.options.validator(He,Oe&&Oe[Te],je)}catch(tt){return Ge=tt,xe.emit("error",Ge)}}()),xe.options.explicitChildren&&!xe.options.mergeAttrs&&typeof je=="object"){if(!xe.options.preserveChildrenOrder)Ae={},xe.options.attrkey in je&&(Ae[xe.options.attrkey]=je[xe.options.attrkey],delete je[xe.options.attrkey]),!xe.options.charsAsChildren&&xe.options.charkey in je&&(Ae[xe.options.charkey]=je[xe.options.charkey],delete je[xe.options.charkey]),Object.getOwnPropertyNames(je).length>0&&(Ae[xe.options.childkey]=je),je=Ae;else if(Oe){Oe[xe.options.childkey]=Oe[xe.options.childkey]||[],ke={};for(be in je)le.call(je,be)&&ne(ke,be,je[be]);Oe[xe.options.childkey].push(ke),delete je["#name"],Object.keys(je).length===1&&ge in je&&!xe.EXPLICIT_CHARKEY&&(je=je[ge])}}return we.length>0?xe.assignOrPush(Oe,Te,je):(xe.options.explicitRoot&&(Pe=je,je={},ne(je,Te,Pe)),xe.resultObject=je,xe.saxParser.ended=!0,xe.emit("end",xe.resultObject))}}(this),_e=function(xe){return function(ve){var Se,be;if(be=we[we.length-1],be)return be[ge]+=ve,xe.options.explicitChildren&&xe.options.preserveChildrenOrder&&xe.options.charsAsChildren&&(xe.options.includeWhiteChars||ve.replace(/\\n/g,"").trim()!=="")&&(be[xe.options.childkey]=be[xe.options.childkey]||[],Se={"#name":"__text__"},Se[ge]=ve,xe.options.normalize&&(Se[ge]=Se[ge].replace(/\s{2,}/g," ").trim()),be[xe.options.childkey].push(Se)),be}}(this),this.saxParser.ontext=_e,this.saxParser.oncdata=function(xe){return function(ve){var Se;if(Se=_e(ve),Se)return Se.cdata=!0}}(this)},ce.prototype.parseString=function(ue,ge){var _e;ge!=null&&typeof ge=="function"&&(this.on("end",function(we){return this.reset(),ge(null,we)}),this.on("error",function(we){return this.reset(),ge(we)}));try{return ue=ue.toString(),ue.trim()===""?(this.emit("end",null),!0):(ue=ee.stripBOM(ue),this.options.async?(this.remaining=ue,E(this.processAsync),this.saxParser):this.saxParser.write(ue).close())}catch(we){if(_e=we,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw _e}else return this.emit("error",_e),this.saxParser.errThrown=!0}},ce.prototype.parseStringPromise=function(ue){return new Promise(function(ge){return function(_e,we){return ge.parseString(ue,function(xe,ve){return xe?we(xe):_e(ve)})}}(this))},ce}(te),de.parseString=function(fe,ce,ue){var ge,_e,we;return ue!=null?(typeof ue=="function"&&(ge=ue),typeof ce=="object"&&(_e=ce)):(typeof ce=="function"&&(ge=ce),_e={}),we=new de.Parser(_e),we.parseString(fe,ge)},de.parseStringPromise=function(fe,ce){var ue,ge;return typeof ce=="object"&&(ue=ce),ge=new de.Parser(ue),ge.parseStringPromise(fe)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(a,he,de){(function(){"use strict";var ee;ee=new RegExp(/(?!xmlns)^.*:/),de.normalize=function(oe){return oe.toLowerCase()},de.firstCharLowerCase=function(oe){return oe.charAt(0).toLowerCase()+oe.slice(1)},de.stripPrefix=function(oe){return oe.replace(ee,"")},de.parseNumbers=function(oe){return isNaN(oe)||(oe=oe%1===0?parseInt(oe,10):parseFloat(oe)),oe},de.parseBooleans=function(oe){return/^(?:true|false)$/i.test(oe)&&(oe=oe.toLowerCase()==="true"),oe}}).call(this)},{}],426:[function(a,he,de){(function(){"use strict";var ee,oe,ne,te,se=function(x,b){for(var E in b)z.call(b,E)&&(x[E]=b[E]);function re(){this.constructor=x}return re.prototype=b.prototype,x.prototype=new re,x.__super__=b.prototype,x},z={}.hasOwnProperty;oe=a("./defaults"),ee=a("./builder"),ne=a("./parser"),te=a("./processors"),de.defaults=oe.defaults,de.processors=te,de.ValidationError=function(x){se(b,x);function b(E){this.message=E}return b}(Error),de.Builder=ee.Builder,de.Parser=ne.Parser,de.parseString=ne.parseString,de.parseStringPromise=ne.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(a,he,de){(function(){he.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(a,he,de){(function(){he.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(a,he,de){(function(){var ee,oe,ne,te,se,z,x,b=[].slice,E={}.hasOwnProperty;ee=function(){var re,ae,le,fe,ce,ue;if(ue=arguments[0],ce=2<=arguments.length?b.call(arguments,1):[],se(Object.assign))Object.assign.apply(null,arguments);else for(re=0,le=ce.length;re<le;re++)if(fe=ce[re],fe!=null)for(ae in fe)E.call(fe,ae)&&(ue[ae]=fe[ae]);return ue},se=function(re){return!!re&&Object.prototype.toString.call(re)==="[object Function]"},z=function(re){var ae;return!!re&&((ae=typeof re)=="function"||ae==="object")},ne=function(re){return se(Array.isArray)?Array.isArray(re):Object.prototype.toString.call(re)==="[object Array]"},te=function(re){var ae;if(ne(re))return!re.length;for(ae in re)if(E.call(re,ae))return!1;return!0},x=function(re){var ae,le;return z(re)&&(le=Object.getPrototypeOf(re))&&(ae=le.constructor)&&typeof ae=="function"&&ae instanceof ae&&Function.prototype.toString.call(ae)===Function.prototype.toString.call(Object)},oe=function(re){return se(re.valueOf)?re.valueOf():re},he.exports.assign=ee,he.exports.isFunction=se,he.exports.isObject=z,he.exports.isArray=ne,he.exports.isEmpty=te,he.exports.isPlainObject=x,he.exports.getValue=oe}).call(this)},{}],430:[function(a,he,de){(function(){he.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(a,he,de){(function(){var ee,oe,ne;ee=a("./NodeType"),ne=a("./XMLNode"),he.exports=oe=function(){function te(se,z,x){if(this.parent=se,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),z==null)throw new Error("Missing attribute name. "+this.debugInfo(z));this.name=this.stringify.name(z),this.value=this.stringify.attValue(x),this.type=ee.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(te.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(te.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(te.prototype,"textContent",{get:function(){return this.value},set:function(se){return this.value=se||""}}),Object.defineProperty(te.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(te.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(te.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(te.prototype,"specified",{get:function(){return!0}}),te.prototype.clone=function(){return Object.create(this)},te.prototype.toString=function(se){return this.options.writer.attribute(this,this.options.writer.filterOptions(se))},te.prototype.debugInfo=function(se){return se=se||this.name,se==null?"parent: <"+this.parent.name+">":"attribute: {"+se+"}, parent: <"+this.parent.name+">"},te.prototype.isEqualNode=function(se){return!(se.namespaceURI!==this.namespaceURI||se.prefix!==this.prefix||se.localName!==this.localName||se.value!==this.value)},te}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(a,he,de){(function(){var ee,oe,ne,te=function(z,x){for(var b in x)se.call(x,b)&&(z[b]=x[b]);function E(){this.constructor=z}return E.prototype=x.prototype,z.prototype=new E,z.__super__=x.prototype,z},se={}.hasOwnProperty;ee=a("./NodeType"),ne=a("./XMLCharacterData"),he.exports=oe=function(z){te(x,z);function x(b,E){if(x.__super__.constructor.call(this,b),E==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=ee.CData,this.value=this.stringify.cdata(E)}return x.prototype.clone=function(){return Object.create(this)},x.prototype.toString=function(b){return this.options.writer.cdata(this,this.options.writer.filterOptions(b))},x}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(a,he,de){(function(){var ee,oe,ne=function(se,z){for(var x in z)te.call(z,x)&&(se[x]=z[x]);function b(){this.constructor=se}return b.prototype=z.prototype,se.prototype=new b,se.__super__=z.prototype,se},te={}.hasOwnProperty;oe=a("./XMLNode"),he.exports=ee=function(se){ne(z,se);function z(x){z.__super__.constructor.call(this,x),this.value=""}return Object.defineProperty(z.prototype,"data",{get:function(){return this.value},set:function(x){return this.value=x||""}}),Object.defineProperty(z.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(z.prototype,"textContent",{get:function(){return this.value},set:function(x){return this.value=x||""}}),z.prototype.clone=function(){return Object.create(this)},z.prototype.substringData=function(x,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},z.prototype.appendData=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},z.prototype.insertData=function(x,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},z.prototype.deleteData=function(x,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},z.prototype.replaceData=function(x,b,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},z.prototype.isEqualNode=function(x){return!(!z.__super__.isEqualNode.apply(this,arguments).isEqualNode(x)||x.data!==this.data)},z}(oe)}).call(this)},{"./XMLNode":450}],434:[function(a,he,de){(function(){var ee,oe,ne,te=function(z,x){for(var b in x)se.call(x,b)&&(z[b]=x[b]);function E(){this.constructor=z}return E.prototype=x.prototype,z.prototype=new E,z.__super__=x.prototype,z},se={}.hasOwnProperty;ee=a("./NodeType"),oe=a("./XMLCharacterData"),he.exports=ne=function(z){te(x,z);function x(b,E){if(x.__super__.constructor.call(this,b),E==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=ee.Comment,this.value=this.stringify.comment(E)}return x.prototype.clone=function(){return Object.create(this)},x.prototype.toString=function(b){return this.options.writer.comment(this,this.options.writer.filterOptions(b))},x}(oe)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(a,he,de){(function(){var ee,oe,ne;oe=a("./XMLDOMErrorHandler"),ne=a("./XMLDOMStringList"),he.exports=ee=function(){function te(){var se;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new oe,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=se=Object.create(this.defaultParams)}return Object.defineProperty(te.prototype,"parameterNames",{get:function(){return new ne(Object.keys(this.defaultParams))}}),te.prototype.getParameter=function(se){return this.params.hasOwnProperty(se)?this.params[se]:null},te.prototype.canSetParameter=function(se,z){return!0},te.prototype.setParameter=function(se,z){return z!=null?this.params[se]=z:delete this.params[se]},te}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(a,he,de){(function(){var ee;he.exports=ee=function(){function oe(){}return oe.prototype.handleError=function(ne){throw new Error(ne)},oe}()}).call(this)},{}],437:[function(a,he,de){(function(){var ee;he.exports=ee=function(){function oe(){}return oe.prototype.hasFeature=function(ne,te){return!0},oe.prototype.createDocumentType=function(ne,te,se){throw new Error("This DOM method is not implemented.")},oe.prototype.createDocument=function(ne,te,se){throw new Error("This DOM method is not implemented.")},oe.prototype.createHTMLDocument=function(ne){throw new Error("This DOM method is not implemented.")},oe.prototype.getFeature=function(ne,te){throw new Error("This DOM method is not implemented.")},oe}()}).call(this)},{}],438:[function(a,he,de){(function(){var ee;he.exports=ee=function(){function oe(ne){this.arr=ne||[]}return Object.defineProperty(oe.prototype,"length",{get:function(){return this.arr.length}}),oe.prototype.item=function(ne){return this.arr[ne]||null},oe.prototype.contains=function(ne){return this.arr.indexOf(ne)!==-1},oe}()}).call(this)},{}],439:[function(a,he,de){(function(){var ee,oe,ne,te=function(z,x){for(var b in x)se.call(x,b)&&(z[b]=x[b]);function E(){this.constructor=z}return E.prototype=x.prototype,z.prototype=new E,z.__super__=x.prototype,z},se={}.hasOwnProperty;ne=a("./XMLNode"),ee=a("./NodeType"),he.exports=oe=function(z){te(x,z);function x(b,E,re,ae,le,fe){if(x.__super__.constructor.call(this,b),E==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(re==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(E));if(!ae)throw new Error("Missing DTD attribute type. "+this.debugInfo(E));if(!le)throw new Error("Missing DTD attribute default. "+this.debugInfo(E));if(le.indexOf("#")!==0&&(le="#"+le),!le.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(E));if(fe&&!le.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(E));this.elementName=this.stringify.name(E),this.type=ee.AttributeDeclaration,this.attributeName=this.stringify.name(re),this.attributeType=this.stringify.dtdAttType(ae),fe&&(this.defaultValue=this.stringify.dtdAttDefault(fe)),this.defaultValueType=le}return x.prototype.toString=function(b){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(b))},x}(ne)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(a,he,de){(function(){var ee,oe,ne,te=function(z,x){for(var b in x)se.call(x,b)&&(z[b]=x[b]);function E(){this.constructor=z}return E.prototype=x.prototype,z.prototype=new E,z.__super__=x.prototype,z},se={}.hasOwnProperty;ne=a("./XMLNode"),ee=a("./NodeType"),he.exports=oe=function(z){te(x,z);function x(b,E,re){if(x.__super__.constructor.call(this,b),E==null)throw new Error("Missing DTD element name. "+this.debugInfo());re||(re="(#PCDATA)"),Array.isArray(re)&&(re="("+re.join(",")+")"),this.name=this.stringify.name(E),this.type=ee.ElementDeclaration,this.value=this.stringify.dtdElementValue(re)}return x.prototype.toString=function(b){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(b))},x}(ne)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(a,he,de){(function(){var ee,oe,ne,te,se=function(x,b){for(var E in b)z.call(b,E)&&(x[E]=b[E]);function re(){this.constructor=x}return re.prototype=b.prototype,x.prototype=new re,x.__super__=b.prototype,x},z={}.hasOwnProperty;te=a("./Utility").isObject,ne=a("./XMLNode"),ee=a("./NodeType"),he.exports=oe=function(x){se(b,x);function b(E,re,ae,le){if(b.__super__.constructor.call(this,E),ae==null)throw new Error("Missing DTD entity name. "+this.debugInfo(ae));if(le==null)throw new Error("Missing DTD entity value. "+this.debugInfo(ae));if(this.pe=!!re,this.name=this.stringify.name(ae),this.type=ee.EntityDeclaration,!te(le))this.value=this.stringify.dtdEntityValue(le),this.internal=!0;else{if(!le.pubID&&!le.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(ae));if(le.pubID&&!le.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(ae));if(this.internal=!1,le.pubID!=null&&(this.pubID=this.stringify.dtdPubID(le.pubID)),le.sysID!=null&&(this.sysID=this.stringify.dtdSysID(le.sysID)),le.nData!=null&&(this.nData=this.stringify.dtdNData(le.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(ae))}}return Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(b.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(b.prototype,"xmlVersion",{get:function(){return null}}),b.prototype.toString=function(E){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(E))},b}(ne)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(a,he,de){(function(){var ee,oe,ne,te=function(z,x){for(var b in x)se.call(x,b)&&(z[b]=x[b]);function E(){this.constructor=z}return E.prototype=x.prototype,z.prototype=new E,z.__super__=x.prototype,z},se={}.hasOwnProperty;ne=a("./XMLNode"),ee=a("./NodeType"),he.exports=oe=function(z){te(x,z);function x(b,E,re){if(x.__super__.constructor.call(this,b),E==null)throw new Error("Missing DTD notation name. "+this.debugInfo(E));if(!re.pubID&&!re.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(E));this.name=this.stringify.name(E),this.type=ee.NotationDeclaration,re.pubID!=null&&(this.pubID=this.stringify.dtdPubID(re.pubID)),re.sysID!=null&&(this.sysID=this.stringify.dtdSysID(re.sysID))}return Object.defineProperty(x.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(x.prototype,"systemId",{get:function(){return this.sysID}}),x.prototype.toString=function(b){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(b))},x}(ne)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(a,he,de){(function(){var ee,oe,ne,te,se=function(x,b){for(var E in b)z.call(b,E)&&(x[E]=b[E]);function re(){this.constructor=x}return re.prototype=b.prototype,x.prototype=new re,x.__super__=b.prototype,x},z={}.hasOwnProperty;te=a("./Utility").isObject,ne=a("./XMLNode"),ee=a("./NodeType"),he.exports=oe=function(x){se(b,x);function b(E,re,ae,le){var fe;b.__super__.constructor.call(this,E),te(re)&&(fe=re,re=fe.version,ae=fe.encoding,le=fe.standalone),re||(re="1.0"),this.type=ee.Declaration,this.version=this.stringify.xmlVersion(re),ae!=null&&(this.encoding=this.stringify.xmlEncoding(ae)),le!=null&&(this.standalone=this.stringify.xmlStandalone(le))}return b.prototype.toString=function(E){return this.options.writer.declaration(this,this.options.writer.filterOptions(E))},b}(ne)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(a,he,de){(function(){var ee,oe,ne,te,se,z,x,b,E,re=function(le,fe){for(var ce in fe)ae.call(fe,ce)&&(le[ce]=fe[ce]);function ue(){this.constructor=le}return ue.prototype=fe.prototype,le.prototype=new ue,le.__super__=fe.prototype,le},ae={}.hasOwnProperty;E=a("./Utility").isObject,b=a("./XMLNode"),ee=a("./NodeType"),oe=a("./XMLDTDAttList"),te=a("./XMLDTDEntity"),ne=a("./XMLDTDElement"),se=a("./XMLDTDNotation"),x=a("./XMLNamedNodeMap"),he.exports=z=function(le){re(fe,le);function fe(ce,ue,ge){var _e,we,xe,ve,Se,be;if(fe.__super__.constructor.call(this,ce),this.type=ee.DocType,ce.children){for(ve=ce.children,we=0,xe=ve.length;we<xe;we++)if(_e=ve[we],_e.type===ee.Element){this.name=_e.name;break}}this.documentObject=ce,E(ue)&&(Se=ue,ue=Se.pubID,ge=Se.sysID),ge==null&&(be=[ue,ge],ge=be[0],ue=be[1]),ue!=null&&(this.pubID=this.stringify.dtdPubID(ue)),ge!=null&&(this.sysID=this.stringify.dtdSysID(ge))}return Object.defineProperty(fe.prototype,"entities",{get:function(){var ce,ue,ge,_e,we;for(_e={},we=this.children,ue=0,ge=we.length;ue<ge;ue++)ce=we[ue],ce.type===ee.EntityDeclaration&&!ce.pe&&(_e[ce.name]=ce);return new x(_e)}}),Object.defineProperty(fe.prototype,"notations",{get:function(){var ce,ue,ge,_e,we;for(_e={},we=this.children,ue=0,ge=we.length;ue<ge;ue++)ce=we[ue],ce.type===ee.NotationDeclaration&&(_e[ce.name]=ce);return new x(_e)}}),Object.defineProperty(fe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(fe.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(fe.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),fe.prototype.element=function(ce,ue){var ge;return ge=new ne(this,ce,ue),this.children.push(ge),this},fe.prototype.attList=function(ce,ue,ge,_e,we){var xe;return xe=new oe(this,ce,ue,ge,_e,we),this.children.push(xe),this},fe.prototype.entity=function(ce,ue){var ge;return ge=new te(this,!1,ce,ue),this.children.push(ge),this},fe.prototype.pEntity=function(ce,ue){var ge;return ge=new te(this,!0,ce,ue),this.children.push(ge),this},fe.prototype.notation=function(ce,ue){var ge;return ge=new se(this,ce,ue),this.children.push(ge),this},fe.prototype.toString=function(ce){return this.options.writer.docType(this,this.options.writer.filterOptions(ce))},fe.prototype.ele=function(ce,ue){return this.element(ce,ue)},fe.prototype.att=function(ce,ue,ge,_e,we){return this.attList(ce,ue,ge,_e,we)},fe.prototype.ent=function(ce,ue){return this.entity(ce,ue)},fe.prototype.pent=function(ce,ue){return this.pEntity(ce,ue)},fe.prototype.not=function(ce,ue){return this.notation(ce,ue)},fe.prototype.up=function(){return this.root()||this.documentObject},fe.prototype.isEqualNode=function(ce){return!(!fe.__super__.isEqualNode.apply(this,arguments).isEqualNode(ce)||ce.name!==this.name||ce.publicId!==this.publicId||ce.systemId!==this.systemId)},fe}(b)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(a,he,de){(function(){var ee,oe,ne,te,se,z,x,b,E=function(ae,le){for(var fe in le)re.call(le,fe)&&(ae[fe]=le[fe]);function ce(){this.constructor=ae}return ce.prototype=le.prototype,ae.prototype=new ce,ae.__super__=le.prototype,ae},re={}.hasOwnProperty;b=a("./Utility").isPlainObject,ne=a("./XMLDOMImplementation"),oe=a("./XMLDOMConfiguration"),se=a("./XMLNode"),ee=a("./NodeType"),x=a("./XMLStringifier"),z=a("./XMLStringWriter"),he.exports=te=function(ae){E(le,ae);function le(fe){le.__super__.constructor.call(this,null),this.name="#document",this.type=ee.Document,this.documentURI=null,this.domConfig=new oe,fe||(fe={}),fe.writer||(fe.writer=new z),this.options=fe,this.stringify=new x(fe)}return Object.defineProperty(le.prototype,"implementation",{value:new ne}),Object.defineProperty(le.prototype,"doctype",{get:function(){var fe,ce,ue,ge;for(ge=this.children,ce=0,ue=ge.length;ce<ue;ce++)if(fe=ge[ce],fe.type===ee.DocType)return fe;return null}}),Object.defineProperty(le.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(le.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(le.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(le.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===ee.Declaration?this.children[0].encoding:null}}),Object.defineProperty(le.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===ee.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(le.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===ee.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(le.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(le.prototype,"origin",{get:function(){return null}}),Object.defineProperty(le.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(le.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(le.prototype,"contentType",{get:function(){return null}}),le.prototype.end=function(fe){var ce;return ce={},fe?b(fe)&&(ce=fe,fe=this.options.writer):fe=this.options.writer,fe.document(this,fe.filterOptions(ce))},le.prototype.toString=function(fe){return this.options.writer.document(this,this.options.writer.filterOptions(fe))},le.prototype.createElement=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createTextNode=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createComment=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createCDATASection=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createProcessingInstruction=function(fe,ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createAttribute=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createEntityReference=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.getElementsByTagName=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.importNode=function(fe,ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createElementNS=function(fe,ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createAttributeNS=function(fe,ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.getElementsByTagNameNS=function(fe,ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.getElementById=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.adoptNode=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.renameNode=function(fe,ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.getElementsByClassName=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createEvent=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createNodeIterator=function(fe,ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createTreeWalker=function(fe,ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},le}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(a,he,de){(function(){var ee,oe,ne,te,se,z,x,b,E,re,ae,le,fe,ce,ue,ge,_e,we,xe,ve,Se,be,Ae,Te,je={}.hasOwnProperty;Te=a("./Utility"),be=Te.isObject,Se=Te.isFunction,Ae=Te.isPlainObject,ve=Te.getValue,ee=a("./NodeType"),le=a("./XMLDocument"),ce=a("./XMLElement"),te=a("./XMLCData"),se=a("./XMLComment"),ge=a("./XMLRaw"),xe=a("./XMLText"),ue=a("./XMLProcessingInstruction"),re=a("./XMLDeclaration"),ae=a("./XMLDocType"),z=a("./XMLDTDAttList"),b=a("./XMLDTDEntity"),x=a("./XMLDTDElement"),E=a("./XMLDTDNotation"),ne=a("./XMLAttribute"),we=a("./XMLStringifier"),_e=a("./XMLStringWriter"),oe=a("./WriterState"),he.exports=fe=function(){function ke(Pe,Oe,He){var Ge;this.name="?xml",this.type=ee.Document,Pe||(Pe={}),Ge={},Pe.writer?Ae(Pe.writer)&&(Ge=Pe.writer,Pe.writer=new _e):Pe.writer=new _e,this.options=Pe,this.writer=Pe.writer,this.writerOptions=this.writer.filterOptions(Ge),this.stringify=new we(Pe),this.onDataCallback=Oe||function(){},this.onEndCallback=He||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return ke.prototype.createChildNode=function(Pe){var Oe,He,Ge,tt,Me,We,it,ut;switch(Pe.type){case ee.CData:this.cdata(Pe.value);break;case ee.Comment:this.comment(Pe.value);break;case ee.Element:Ge={},it=Pe.attribs;for(He in it)je.call(it,He)&&(Oe=it[He],Ge[He]=Oe.value);this.node(Pe.name,Ge);break;case ee.Dummy:this.dummy();break;case ee.Raw:this.raw(Pe.value);break;case ee.Text:this.text(Pe.value);break;case ee.ProcessingInstruction:this.instruction(Pe.target,Pe.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Pe.constructor.name)}for(ut=Pe.children,Me=0,We=ut.length;Me<We;Me++)tt=ut[Me],this.createChildNode(tt),tt.type===ee.Element&&this.up();return this},ke.prototype.dummy=function(){return this},ke.prototype.node=function(Pe,Oe,He){var Ge;if(Pe==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(Pe));return this.openCurrent(),Pe=ve(Pe),Oe==null&&(Oe={}),Oe=ve(Oe),be(Oe)||(Ge=[Oe,He],He=Ge[0],Oe=Ge[1]),this.currentNode=new ce(this,Pe,Oe),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,He!=null&&this.text(He),this},ke.prototype.element=function(Pe,Oe,He){var Ge,tt,Me,We,it,ut;if(this.currentNode&&this.currentNode.type===ee.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Pe)||be(Pe)||Se(Pe))for(We=this.options.noValidation,this.options.noValidation=!0,ut=new le(this.options).element("TEMP_ROOT"),ut.element(Pe),this.options.noValidation=We,it=ut.children,tt=0,Me=it.length;tt<Me;tt++)Ge=it[tt],this.createChildNode(Ge),Ge.type===ee.Element&&this.up();else this.node(Pe,Oe,He);return this},ke.prototype.attribute=function(Pe,Oe){var He,Ge;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Pe));if(Pe!=null&&(Pe=ve(Pe)),be(Pe))for(He in Pe)je.call(Pe,He)&&(Ge=Pe[He],this.attribute(He,Ge));else Se(Oe)&&(Oe=Oe.apply()),this.options.keepNullAttributes&&Oe==null?this.currentNode.attribs[Pe]=new ne(this,Pe,""):Oe!=null&&(this.currentNode.attribs[Pe]=new ne(this,Pe,Oe));return this},ke.prototype.text=function(Pe){var Oe;return this.openCurrent(),Oe=new xe(this,Pe),this.onData(this.writer.text(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.cdata=function(Pe){var Oe;return this.openCurrent(),Oe=new te(this,Pe),this.onData(this.writer.cdata(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.comment=function(Pe){var Oe;return this.openCurrent(),Oe=new se(this,Pe),this.onData(this.writer.comment(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.raw=function(Pe){var Oe;return this.openCurrent(),Oe=new ge(this,Pe),this.onData(this.writer.raw(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.instruction=function(Pe,Oe){var He,Ge,tt,Me,We;if(this.openCurrent(),Pe!=null&&(Pe=ve(Pe)),Oe!=null&&(Oe=ve(Oe)),Array.isArray(Pe))for(He=0,Me=Pe.length;He<Me;He++)Ge=Pe[He],this.instruction(Ge);else if(be(Pe))for(Ge in Pe)je.call(Pe,Ge)&&(tt=Pe[Ge],this.instruction(Ge,tt));else Se(Oe)&&(Oe=Oe.apply()),We=new ue(this,Pe,Oe),this.onData(this.writer.processingInstruction(We,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},ke.prototype.declaration=function(Pe,Oe,He){var Ge;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Ge=new re(this,Pe,Oe,He),this.onData(this.writer.declaration(Ge,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.doctype=function(Pe,Oe,He){if(this.openCurrent(),Pe==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new ae(this,Oe,He),this.currentNode.rootNodeName=Pe,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},ke.prototype.dtdElement=function(Pe,Oe){var He;return this.openCurrent(),He=new x(this,Pe,Oe),this.onData(this.writer.dtdElement(He,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.attList=function(Pe,Oe,He,Ge,tt){var Me;return this.openCurrent(),Me=new z(this,Pe,Oe,He,Ge,tt),this.onData(this.writer.dtdAttList(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.entity=function(Pe,Oe){var He;return this.openCurrent(),He=new b(this,!1,Pe,Oe),this.onData(this.writer.dtdEntity(He,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.pEntity=function(Pe,Oe){var He;return this.openCurrent(),He=new b(this,!0,Pe,Oe),this.onData(this.writer.dtdEntity(He,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.notation=function(Pe,Oe){var He;return this.openCurrent(),He=new E(this,Pe,Oe),this.onData(this.writer.dtdNotation(He,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},ke.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},ke.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},ke.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},ke.prototype.openNode=function(Pe){var Oe,He,Ge,tt;if(!Pe.isOpen){if(!this.root&&this.currentLevel===0&&Pe.type===ee.Element&&(this.root=Pe),He="",Pe.type===ee.Element){this.writerOptions.state=oe.OpenTag,He=this.writer.indent(Pe,this.writerOptions,this.currentLevel)+"<"+Pe.name,tt=Pe.attribs;for(Ge in tt)je.call(tt,Ge)&&(Oe=tt[Ge],He+=this.writer.attribute(Oe,this.writerOptions,this.currentLevel));He+=(Pe.children?">":"/>")+this.writer.endline(Pe,this.writerOptions,this.currentLevel),this.writerOptions.state=oe.InsideTag}else this.writerOptions.state=oe.OpenTag,He=this.writer.indent(Pe,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Pe.rootNodeName,Pe.pubID&&Pe.sysID?He+=' PUBLIC "'+Pe.pubID+'" "'+Pe.sysID+'"':Pe.sysID&&(He+=' SYSTEM "'+Pe.sysID+'"'),Pe.children?(He+=" [",this.writerOptions.state=oe.InsideTag):(this.writerOptions.state=oe.CloseTag,He+=">"),He+=this.writer.endline(Pe,this.writerOptions,this.currentLevel);return this.onData(He,this.currentLevel),Pe.isOpen=!0}},ke.prototype.closeNode=function(Pe){var Oe;if(!Pe.isClosed)return Oe="",this.writerOptions.state=oe.CloseTag,Pe.type===ee.Element?Oe=this.writer.indent(Pe,this.writerOptions,this.currentLevel)+"</"+Pe.name+">"+this.writer.endline(Pe,this.writerOptions,this.currentLevel):Oe=this.writer.indent(Pe,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Pe,this.writerOptions,this.currentLevel),this.writerOptions.state=oe.None,this.onData(Oe,this.currentLevel),Pe.isClosed=!0},ke.prototype.onData=function(Pe,Oe){return this.documentStarted=!0,this.onDataCallback(Pe,Oe+1)},ke.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},ke.prototype.debugInfo=function(Pe){return Pe==null?"":"node: <"+Pe+">"},ke.prototype.ele=function(){return this.element.apply(this,arguments)},ke.prototype.nod=function(Pe,Oe,He){return this.node(Pe,Oe,He)},ke.prototype.txt=function(Pe){return this.text(Pe)},ke.prototype.dat=function(Pe){return this.cdata(Pe)},ke.prototype.com=function(Pe){return this.comment(Pe)},ke.prototype.ins=function(Pe,Oe){return this.instruction(Pe,Oe)},ke.prototype.dec=function(Pe,Oe,He){return this.declaration(Pe,Oe,He)},ke.prototype.dtd=function(Pe,Oe,He){return this.doctype(Pe,Oe,He)},ke.prototype.e=function(Pe,Oe,He){return this.element(Pe,Oe,He)},ke.prototype.n=function(Pe,Oe,He){return this.node(Pe,Oe,He)},ke.prototype.t=function(Pe){return this.text(Pe)},ke.prototype.d=function(Pe){return this.cdata(Pe)},ke.prototype.c=function(Pe){return this.comment(Pe)},ke.prototype.r=function(Pe){return this.raw(Pe)},ke.prototype.i=function(Pe,Oe){return this.instruction(Pe,Oe)},ke.prototype.att=function(){return this.currentNode&&this.currentNode.type===ee.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},ke.prototype.a=function(){return this.currentNode&&this.currentNode.type===ee.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},ke.prototype.ent=function(Pe,Oe){return this.entity(Pe,Oe)},ke.prototype.pent=function(Pe,Oe){return this.pEntity(Pe,Oe)},ke.prototype.not=function(Pe,Oe){return this.notation(Pe,Oe)},ke}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(a,he,de){(function(){var ee,oe,ne,te=function(z,x){for(var b in x)se.call(x,b)&&(z[b]=x[b]);function E(){this.constructor=z}return E.prototype=x.prototype,z.prototype=new E,z.__super__=x.prototype,z},se={}.hasOwnProperty;ne=a("./XMLNode"),ee=a("./NodeType"),he.exports=oe=function(z){te(x,z);function x(b){x.__super__.constructor.call(this,b),this.type=ee.Dummy}return x.prototype.clone=function(){return Object.create(this)},x.prototype.toString=function(b){return""},x}(ne)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(a,he,de){(function(){var ee,oe,ne,te,se,z,x,b,E,re=function(le,fe){for(var ce in fe)ae.call(fe,ce)&&(le[ce]=fe[ce]);function ue(){this.constructor=le}return ue.prototype=fe.prototype,le.prototype=new ue,le.__super__=fe.prototype,le},ae={}.hasOwnProperty;E=a("./Utility"),b=E.isObject,x=E.isFunction,z=E.getValue,se=a("./XMLNode"),ee=a("./NodeType"),oe=a("./XMLAttribute"),te=a("./XMLNamedNodeMap"),he.exports=ne=function(le){re(fe,le);function fe(ce,ue,ge){var _e,we,xe,ve;if(fe.__super__.constructor.call(this,ce),ue==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ue),this.type=ee.Element,this.attribs={},this.schemaTypeInfo=null,ge!=null&&this.attribute(ge),ce.type===ee.Document&&(this.isRoot=!0,this.documentObject=ce,ce.rootObject=this,ce.children)){for(ve=ce.children,we=0,xe=ve.length;we<xe;we++)if(_e=ve[we],_e.type===ee.DocType){_e.name=this.name;break}}}return Object.defineProperty(fe.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(fe.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(fe.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(fe.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(fe.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(fe.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(fe.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(fe.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new te(this.attribs)),this.attributeMap}}),fe.prototype.clone=function(){var ce,ue,ge,_e;ge=Object.create(this),ge.isRoot&&(ge.documentObject=null),ge.attribs={},_e=this.attribs;for(ue in _e)ae.call(_e,ue)&&(ce=_e[ue],ge.attribs[ue]=ce.clone());return ge.children=[],this.children.forEach(function(we){var xe;return xe=we.clone(),xe.parent=ge,ge.children.push(xe)}),ge},fe.prototype.attribute=function(ce,ue){var ge,_e;if(ce!=null&&(ce=z(ce)),b(ce))for(ge in ce)ae.call(ce,ge)&&(_e=ce[ge],this.attribute(ge,_e));else x(ue)&&(ue=ue.apply()),this.options.keepNullAttributes&&ue==null?this.attribs[ce]=new oe(this,ce,""):ue!=null&&(this.attribs[ce]=new oe(this,ce,ue));return this},fe.prototype.removeAttribute=function(ce){var ue,ge,_e;if(ce==null)throw new Error("Missing attribute name. "+this.debugInfo());if(ce=z(ce),Array.isArray(ce))for(ge=0,_e=ce.length;ge<_e;ge++)ue=ce[ge],delete this.attribs[ue];else delete this.attribs[ce];return this},fe.prototype.toString=function(ce){return this.options.writer.element(this,this.options.writer.filterOptions(ce))},fe.prototype.att=function(ce,ue){return this.attribute(ce,ue)},fe.prototype.a=function(ce,ue){return this.attribute(ce,ue)},fe.prototype.getAttribute=function(ce){return this.attribs.hasOwnProperty(ce)?this.attribs[ce].value:null},fe.prototype.setAttribute=function(ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.getAttributeNode=function(ce){return this.attribs.hasOwnProperty(ce)?this.attribs[ce]:null},fe.prototype.setAttributeNode=function(ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.removeAttributeNode=function(ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.getElementsByTagName=function(ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.getAttributeNS=function(ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.setAttributeNS=function(ce,ue,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.removeAttributeNS=function(ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.getAttributeNodeNS=function(ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.setAttributeNodeNS=function(ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.getElementsByTagNameNS=function(ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.hasAttribute=function(ce){return this.attribs.hasOwnProperty(ce)},fe.prototype.hasAttributeNS=function(ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.setIdAttribute=function(ce,ue){return this.attribs.hasOwnProperty(ce)?this.attribs[ce].isId:ue},fe.prototype.setIdAttributeNS=function(ce,ue,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.setIdAttributeNode=function(ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.getElementsByTagName=function(ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.getElementsByTagNameNS=function(ce,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.getElementsByClassName=function(ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},fe.prototype.isEqualNode=function(ce){var ue,ge,_e;if(!fe.__super__.isEqualNode.apply(this,arguments).isEqualNode(ce)||ce.namespaceURI!==this.namespaceURI||ce.prefix!==this.prefix||ce.localName!==this.localName||ce.attribs.length!==this.attribs.length)return!1;for(ue=ge=0,_e=this.attribs.length-1;0<=_e?ge<=_e:ge>=_e;ue=0<=_e?++ge:--ge)if(!this.attribs[ue].isEqualNode(ce.attribs[ue]))return!1;return!0},fe}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(a,he,de){(function(){var ee;he.exports=ee=function(){function oe(ne){this.nodes=ne}return Object.defineProperty(oe.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),oe.prototype.clone=function(){return this.nodes=null},oe.prototype.getNamedItem=function(ne){return this.nodes[ne]},oe.prototype.setNamedItem=function(ne){var te;return te=this.nodes[ne.nodeName],this.nodes[ne.nodeName]=ne,te||null},oe.prototype.removeNamedItem=function(ne){var te;return te=this.nodes[ne],delete this.nodes[ne],te||null},oe.prototype.item=function(ne){return this.nodes[Object.keys(this.nodes)[ne]]||null},oe.prototype.getNamedItemNS=function(ne,te){throw new Error("This DOM method is not implemented.")},oe.prototype.setNamedItemNS=function(ne){throw new Error("This DOM method is not implemented.")},oe.prototype.removeNamedItemNS=function(ne,te){throw new Error("This DOM method is not implemented.")},oe}()}).call(this)},{}],450:[function(a,he,de){(function(){var ee,oe,ne,te,se,z,x,b,E,re,ae,le,fe,ce,ue,ge,_e,we,xe,ve={}.hasOwnProperty;xe=a("./Utility"),we=xe.isObject,_e=xe.isFunction,ge=xe.isEmpty,ue=xe.getValue,b=null,ne=null,te=null,se=null,z=null,fe=null,ce=null,le=null,x=null,oe=null,ae=null,E=null,ee=null,he.exports=re=function(){function Se(be){this.parent=be,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,b||(b=a("./XMLElement"),ne=a("./XMLCData"),te=a("./XMLComment"),se=a("./XMLDeclaration"),z=a("./XMLDocType"),fe=a("./XMLRaw"),ce=a("./XMLText"),le=a("./XMLProcessingInstruction"),x=a("./XMLDummy"),oe=a("./NodeType"),ae=a("./XMLNodeList"),E=a("./XMLNamedNodeMap"),ee=a("./DocumentPosition"))}return Object.defineProperty(Se.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Se.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Se.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Se.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Se.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new ae(this.children)),this.childNodeList}}),Object.defineProperty(Se.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Se.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Se.prototype,"previousSibling",{get:function(){var be;return be=this.parent.children.indexOf(this),this.parent.children[be-1]||null}}),Object.defineProperty(Se.prototype,"nextSibling",{get:function(){var be;return be=this.parent.children.indexOf(this),this.parent.children[be+1]||null}}),Object.defineProperty(Se.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Se.prototype,"textContent",{get:function(){var be,Ae,Te,je,ke;if(this.nodeType===oe.Element||this.nodeType===oe.DocumentFragment){for(ke="",je=this.children,Ae=0,Te=je.length;Ae<Te;Ae++)be=je[Ae],be.textContent&&(ke+=be.textContent);return ke}else return null},set:function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Se.prototype.setParent=function(be){var Ae,Te,je,ke,Pe;for(this.parent=be,be&&(this.options=be.options,this.stringify=be.stringify),ke=this.children,Pe=[],Te=0,je=ke.length;Te<je;Te++)Ae=ke[Te],Pe.push(Ae.setParent(this));return Pe},Se.prototype.element=function(be,Ae,Te){var je,ke,Pe,Oe,He,Ge,tt,Me,We,it,ut;if(Ge=null,Ae===null&&Te==null&&(We=[{},null],Ae=We[0],Te=We[1]),Ae==null&&(Ae={}),Ae=ue(Ae),we(Ae)||(it=[Ae,Te],Te=it[0],Ae=it[1]),be!=null&&(be=ue(be)),Array.isArray(be))for(Pe=0,tt=be.length;Pe<tt;Pe++)ke=be[Pe],Ge=this.element(ke);else if(_e(be))Ge=this.element(be.apply());else if(we(be)){for(He in be)if(ve.call(be,He))if(ut=be[He],_e(ut)&&(ut=ut.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&He.indexOf(this.stringify.convertAttKey)===0)Ge=this.attribute(He.substr(this.stringify.convertAttKey.length),ut);else if(!this.options.separateArrayItems&&Array.isArray(ut)&&ge(ut))Ge=this.dummy();else if(we(ut)&&ge(ut))Ge=this.element(He);else if(!this.options.keepNullNodes&&ut==null)Ge=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(ut))for(Oe=0,Me=ut.length;Oe<Me;Oe++)ke=ut[Oe],je={},je[He]=ke,Ge=this.element(je);else we(ut)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&He.indexOf(this.stringify.convertTextKey)===0?Ge=this.element(ut):(Ge=this.element(He),Ge.element(ut)):Ge=this.element(He,ut)}else!this.options.keepNullNodes&&Te===null?Ge=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&be.indexOf(this.stringify.convertTextKey)===0?Ge=this.text(Te):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&be.indexOf(this.stringify.convertCDataKey)===0?Ge=this.cdata(Te):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&be.indexOf(this.stringify.convertCommentKey)===0?Ge=this.comment(Te):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&be.indexOf(this.stringify.convertRawKey)===0?Ge=this.raw(Te):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&be.indexOf(this.stringify.convertPIKey)===0?Ge=this.instruction(be.substr(this.stringify.convertPIKey.length),Te):Ge=this.node(be,Ae,Te);if(Ge==null)throw new Error("Could not create any elements with: "+be+". "+this.debugInfo());return Ge},Se.prototype.insertBefore=function(be,Ae,Te){var je,ke,Pe,Oe,He;if(be!=null&&be.type)return Pe=be,Oe=Ae,Pe.setParent(this),Oe?(ke=children.indexOf(Oe),He=children.splice(ke),children.push(Pe),Array.prototype.push.apply(children,He)):children.push(Pe),Pe;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(be));return ke=this.parent.children.indexOf(this),He=this.parent.children.splice(ke),je=this.parent.element(be,Ae,Te),Array.prototype.push.apply(this.parent.children,He),je},Se.prototype.insertAfter=function(be,Ae,Te){var je,ke,Pe;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(be));return ke=this.parent.children.indexOf(this),Pe=this.parent.children.splice(ke+1),je=this.parent.element(be,Ae,Te),Array.prototype.push.apply(this.parent.children,Pe),je},Se.prototype.remove=function(){var be,Ae;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return be=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[be,be-be+1].concat(Ae=[])),this.parent},Se.prototype.node=function(be,Ae,Te){var je,ke;return be!=null&&(be=ue(be)),Ae||(Ae={}),Ae=ue(Ae),we(Ae)||(ke=[Ae,Te],Te=ke[0],Ae=ke[1]),je=new b(this,be,Ae),Te!=null&&je.text(Te),this.children.push(je),je},Se.prototype.text=function(be){var Ae;return we(be)&&this.element(be),Ae=new ce(this,be),this.children.push(Ae),this},Se.prototype.cdata=function(be){var Ae;return Ae=new ne(this,be),this.children.push(Ae),this},Se.prototype.comment=function(be){var Ae;return Ae=new te(this,be),this.children.push(Ae),this},Se.prototype.commentBefore=function(be){var Ae,Te,je;return Te=this.parent.children.indexOf(this),je=this.parent.children.splice(Te),Ae=this.parent.comment(be),Array.prototype.push.apply(this.parent.children,je),this},Se.prototype.commentAfter=function(be){var Ae,Te,je;return Te=this.parent.children.indexOf(this),je=this.parent.children.splice(Te+1),Ae=this.parent.comment(be),Array.prototype.push.apply(this.parent.children,je),this},Se.prototype.raw=function(be){var Ae;return Ae=new fe(this,be),this.children.push(Ae),this},Se.prototype.dummy=function(){var be;return be=new x(this),be},Se.prototype.instruction=function(be,Ae){var Te,je,ke,Pe,Oe;if(be!=null&&(be=ue(be)),Ae!=null&&(Ae=ue(Ae)),Array.isArray(be))for(Pe=0,Oe=be.length;Pe<Oe;Pe++)Te=be[Pe],this.instruction(Te);else if(we(be))for(Te in be)ve.call(be,Te)&&(je=be[Te],this.instruction(Te,je));else _e(Ae)&&(Ae=Ae.apply()),ke=new le(this,be,Ae),this.children.push(ke);return this},Se.prototype.instructionBefore=function(be,Ae){var Te,je,ke;return je=this.parent.children.indexOf(this),ke=this.parent.children.splice(je),Te=this.parent.instruction(be,Ae),Array.prototype.push.apply(this.parent.children,ke),this},Se.prototype.instructionAfter=function(be,Ae){var Te,je,ke;return je=this.parent.children.indexOf(this),ke=this.parent.children.splice(je+1),Te=this.parent.instruction(be,Ae),Array.prototype.push.apply(this.parent.children,ke),this},Se.prototype.declaration=function(be,Ae,Te){var je,ke;return je=this.document(),ke=new se(je,be,Ae,Te),je.children.length===0?je.children.unshift(ke):je.children[0].type===oe.Declaration?je.children[0]=ke:je.children.unshift(ke),je.root()||je},Se.prototype.dtd=function(be,Ae){var Te,je,ke,Pe,Oe,He,Ge,tt,Me,We;for(je=this.document(),ke=new z(je,be,Ae),Me=je.children,Pe=Oe=0,Ge=Me.length;Oe<Ge;Pe=++Oe)if(Te=Me[Pe],Te.type===oe.DocType)return je.children[Pe]=ke,ke;for(We=je.children,Pe=He=0,tt=We.length;He<tt;Pe=++He)if(Te=We[Pe],Te.isRoot)return je.children.splice(Pe,0,ke),ke;return je.children.push(ke),ke},Se.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},Se.prototype.root=function(){var be;for(be=this;be;){if(be.type===oe.Document)return be.rootObject;if(be.isRoot)return be;be=be.parent}},Se.prototype.document=function(){var be;for(be=this;be;){if(be.type===oe.Document)return be;be=be.parent}},Se.prototype.end=function(be){return this.document().end(be)},Se.prototype.prev=function(){var be;if(be=this.parent.children.indexOf(this),be<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[be-1]},Se.prototype.next=function(){var be;if(be=this.parent.children.indexOf(this),be===-1||be===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[be+1]},Se.prototype.importDocument=function(be){var Ae;return Ae=be.root().clone(),Ae.parent=this,Ae.isRoot=!1,this.children.push(Ae),this},Se.prototype.debugInfo=function(be){var Ae,Te;return be=be||this.name,be==null&&!((Ae=this.parent)!=null&&Ae.name)?"":be==null?"parent: <"+this.parent.name+">":(Te=this.parent)!=null&&Te.name?"node: <"+be+">, parent: <"+this.parent.name+">":"node: <"+be+">"},Se.prototype.ele=function(be,Ae,Te){return this.element(be,Ae,Te)},Se.prototype.nod=function(be,Ae,Te){return this.node(be,Ae,Te)},Se.prototype.txt=function(be){return this.text(be)},Se.prototype.dat=function(be){return this.cdata(be)},Se.prototype.com=function(be){return this.comment(be)},Se.prototype.ins=function(be,Ae){return this.instruction(be,Ae)},Se.prototype.doc=function(){return this.document()},Se.prototype.dec=function(be,Ae,Te){return this.declaration(be,Ae,Te)},Se.prototype.e=function(be,Ae,Te){return this.element(be,Ae,Te)},Se.prototype.n=function(be,Ae,Te){return this.node(be,Ae,Te)},Se.prototype.t=function(be){return this.text(be)},Se.prototype.d=function(be){return this.cdata(be)},Se.prototype.c=function(be){return this.comment(be)},Se.prototype.r=function(be){return this.raw(be)},Se.prototype.i=function(be,Ae){return this.instruction(be,Ae)},Se.prototype.u=function(){return this.up()},Se.prototype.importXMLBuilder=function(be){return this.importDocument(be)},Se.prototype.replaceChild=function(be,Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeChild=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.appendChild=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.hasChildNodes=function(){return this.children.length!==0},Se.prototype.cloneNode=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isSupported=function(be,Ae){return!0},Se.prototype.hasAttributes=function(){return this.attribs.length!==0},Se.prototype.compareDocumentPosition=function(be){var Ae,Te;return Ae=this,Ae===be?0:this.document()!==be.document()?(Te=ee.Disconnected|ee.ImplementationSpecific,Math.random()<.5?Te|=ee.Preceding:Te|=ee.Following,Te):Ae.isAncestor(be)?ee.Contains|ee.Preceding:Ae.isDescendant(be)?ee.Contains|ee.Following:Ae.isPreceding(be)?ee.Preceding:ee.Following},Se.prototype.isSameNode=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupPrefix=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isDefaultNamespace=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupNamespaceURI=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isEqualNode=function(be){var Ae,Te,je;if(be.nodeType!==this.nodeType||be.children.length!==this.children.length)return!1;for(Ae=Te=0,je=this.children.length-1;0<=je?Te<=je:Te>=je;Ae=0<=je?++Te:--Te)if(!this.children[Ae].isEqualNode(be.children[Ae]))return!1;return!0},Se.prototype.getFeature=function(be,Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setUserData=function(be,Ae,Te){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getUserData=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.contains=function(be){return be?be===this||this.isDescendant(be):!1},Se.prototype.isDescendant=function(be){var Ae,Te,je,ke,Pe;for(Pe=this.children,je=0,ke=Pe.length;je<ke;je++)if(Ae=Pe[je],be===Ae||(Te=Ae.isDescendant(be),Te))return!0;return!1},Se.prototype.isAncestor=function(be){return be.isDescendant(this)},Se.prototype.isPreceding=function(be){var Ae,Te;return Ae=this.treePosition(be),Te=this.treePosition(this),Ae===-1||Te===-1?!1:Ae<Te},Se.prototype.isFollowing=function(be){var Ae,Te;return Ae=this.treePosition(be),Te=this.treePosition(this),Ae===-1||Te===-1?!1:Ae>Te},Se.prototype.treePosition=function(be){var Ae,Te;return Te=0,Ae=!1,this.foreachTreeNode(this.document(),function(je){if(Te++,!Ae&&je===be)return Ae=!0}),Ae?Te:-1},Se.prototype.foreachTreeNode=function(be,Ae){var Te,je,ke,Pe,Oe;for(be||(be=this.document()),Pe=be.children,je=0,ke=Pe.length;je<ke;je++){if(Te=Pe[je],Oe=Ae(Te))return Oe;if(Oe=this.foreachTreeNode(Te,Ae),Oe)return Oe}},Se}()}).call(this)},{"./DocumentPosition":427,"./NodeType":428,"./Utility":429,"./XMLCData":432,"./XMLComment":434,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLNamedNodeMap":449,"./XMLNodeList":451,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],451:[function(a,he,de){(function(){var ee;he.exports=ee=function(){function oe(ne){this.nodes=ne}return Object.defineProperty(oe.prototype,"length",{get:function(){return this.nodes.length||0}}),oe.prototype.clone=function(){return this.nodes=null},oe.prototype.item=function(ne){return this.nodes[ne]||null},oe}()}).call(this)},{}],452:[function(a,he,de){(function(){var ee,oe,ne,te=function(z,x){for(var b in x)se.call(x,b)&&(z[b]=x[b]);function E(){this.constructor=z}return E.prototype=x.prototype,z.prototype=new E,z.__super__=x.prototype,z},se={}.hasOwnProperty;ee=a("./NodeType"),oe=a("./XMLCharacterData"),he.exports=ne=function(z){te(x,z);function x(b,E,re){if(x.__super__.constructor.call(this,b),E==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=ee.ProcessingInstruction,this.target=this.stringify.insTarget(E),this.name=this.target,re&&(this.value=this.stringify.insValue(re))}return x.prototype.clone=function(){return Object.create(this)},x.prototype.toString=function(b){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(b))},x.prototype.isEqualNode=function(b){return!(!x.__super__.isEqualNode.apply(this,arguments).isEqualNode(b)||b.target!==this.target)},x}(oe)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(a,he,de){(function(){var ee,oe,ne,te=function(z,x){for(var b in x)se.call(x,b)&&(z[b]=x[b]);function E(){this.constructor=z}return E.prototype=x.prototype,z.prototype=new E,z.__super__=x.prototype,z},se={}.hasOwnProperty;ee=a("./NodeType"),oe=a("./XMLNode"),he.exports=ne=function(z){te(x,z);function x(b,E){if(x.__super__.constructor.call(this,b),E==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=ee.Raw,this.value=this.stringify.raw(E)}return x.prototype.clone=function(){return Object.create(this)},x.prototype.toString=function(b){return this.options.writer.raw(this,this.options.writer.filterOptions(b))},x}(oe)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(a,he,de){(function(){var ee,oe,ne,te,se=function(x,b){for(var E in b)z.call(b,E)&&(x[E]=b[E]);function re(){this.constructor=x}return re.prototype=b.prototype,x.prototype=new re,x.__super__=b.prototype,x},z={}.hasOwnProperty;ee=a("./NodeType"),te=a("./XMLWriterBase"),oe=a("./WriterState"),he.exports=ne=function(x){se(b,x);function b(E,re){this.stream=E,b.__super__.constructor.call(this,re)}return b.prototype.endline=function(E,re,ae){return E.isLastRootNode&&re.state===oe.CloseTag?"":b.__super__.endline.call(this,E,re,ae)},b.prototype.document=function(E,re){var ae,le,fe,ce,ue,ge,_e,we,xe;for(_e=E.children,le=fe=0,ue=_e.length;fe<ue;le=++fe)ae=_e[le],ae.isLastRootNode=le===E.children.length-1;for(re=this.filterOptions(re),we=E.children,xe=[],ce=0,ge=we.length;ce<ge;ce++)ae=we[ce],xe.push(this.writeChildNode(ae,re,0));return xe},b.prototype.attribute=function(E,re,ae){return this.stream.write(b.__super__.attribute.call(this,E,re,ae))},b.prototype.cdata=function(E,re,ae){return this.stream.write(b.__super__.cdata.call(this,E,re,ae))},b.prototype.comment=function(E,re,ae){return this.stream.write(b.__super__.comment.call(this,E,re,ae))},b.prototype.declaration=function(E,re,ae){return this.stream.write(b.__super__.declaration.call(this,E,re,ae))},b.prototype.docType=function(E,re,ae){var le,fe,ce,ue;if(ae||(ae=0),this.openNode(E,re,ae),re.state=oe.OpenTag,this.stream.write(this.indent(E,re,ae)),this.stream.write("<!DOCTYPE "+E.root().name),E.pubID&&E.sysID?this.stream.write(' PUBLIC "'+E.pubID+'" "'+E.sysID+'"'):E.sysID&&this.stream.write(' SYSTEM "'+E.sysID+'"'),E.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(E,re,ae)),re.state=oe.InsideTag,ue=E.children,fe=0,ce=ue.length;fe<ce;fe++)le=ue[fe],this.writeChildNode(le,re,ae+1);re.state=oe.CloseTag,this.stream.write("]")}return re.state=oe.CloseTag,this.stream.write(re.spaceBeforeSlash+">"),this.stream.write(this.endline(E,re,ae)),re.state=oe.None,this.closeNode(E,re,ae)},b.prototype.element=function(E,re,ae){var le,fe,ce,ue,ge,_e,we,xe,ve,Se;ae||(ae=0),this.openNode(E,re,ae),re.state=oe.OpenTag,this.stream.write(this.indent(E,re,ae)+"<"+E.name),ve=E.attribs;for(we in ve)z.call(ve,we)&&(le=ve[we],this.attribute(le,re,ae));if(ce=E.children.length,ue=ce===0?null:E.children[0],ce===0||E.children.every(function(be){return(be.type===ee.Text||be.type===ee.Raw)&&be.value===""}))re.allowEmpty?(this.stream.write(">"),re.state=oe.CloseTag,this.stream.write("</"+E.name+">")):(re.state=oe.CloseTag,this.stream.write(re.spaceBeforeSlash+"/>"));else if(re.pretty&&ce===1&&(ue.type===ee.Text||ue.type===ee.Raw)&&ue.value!=null)this.stream.write(">"),re.state=oe.InsideTag,re.suppressPrettyCount++,xe=!0,this.writeChildNode(ue,re,ae+1),re.suppressPrettyCount--,xe=!1,re.state=oe.CloseTag,this.stream.write("</"+E.name+">");else{for(this.stream.write(">"+this.endline(E,re,ae)),re.state=oe.InsideTag,Se=E.children,ge=0,_e=Se.length;ge<_e;ge++)fe=Se[ge],this.writeChildNode(fe,re,ae+1);re.state=oe.CloseTag,this.stream.write(this.indent(E,re,ae)+"</"+E.name+">")}return this.stream.write(this.endline(E,re,ae)),re.state=oe.None,this.closeNode(E,re,ae)},b.prototype.processingInstruction=function(E,re,ae){return this.stream.write(b.__super__.processingInstruction.call(this,E,re,ae))},b.prototype.raw=function(E,re,ae){return this.stream.write(b.__super__.raw.call(this,E,re,ae))},b.prototype.text=function(E,re,ae){return this.stream.write(b.__super__.text.call(this,E,re,ae))},b.prototype.dtdAttList=function(E,re,ae){return this.stream.write(b.__super__.dtdAttList.call(this,E,re,ae))},b.prototype.dtdElement=function(E,re,ae){return this.stream.write(b.__super__.dtdElement.call(this,E,re,ae))},b.prototype.dtdEntity=function(E,re,ae){return this.stream.write(b.__super__.dtdEntity.call(this,E,re,ae))},b.prototype.dtdNotation=function(E,re,ae){return this.stream.write(b.__super__.dtdNotation.call(this,E,re,ae))},b}(te)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(a,he,de){(function(){var ee,oe,ne=function(se,z){for(var x in z)te.call(z,x)&&(se[x]=z[x]);function b(){this.constructor=se}return b.prototype=z.prototype,se.prototype=new b,se.__super__=z.prototype,se},te={}.hasOwnProperty;oe=a("./XMLWriterBase"),he.exports=ee=function(se){ne(z,se);function z(x){z.__super__.constructor.call(this,x)}return z.prototype.document=function(x,b){var E,re,ae,le,fe;for(b=this.filterOptions(b),le="",fe=x.children,re=0,ae=fe.length;re<ae;re++)E=fe[re],le+=this.writeChildNode(E,b,0);return b.pretty&&le.slice(-b.newline.length)===b.newline&&(le=le.slice(0,-b.newline.length)),le},z}(oe)}).call(this)},{"./XMLWriterBase":458}],456:[function(a,he,de){(function(){var ee,oe=function(te,se){return function(){return te.apply(se,arguments)}},ne={}.hasOwnProperty;he.exports=ee=function(){function te(se){this.assertLegalName=oe(this.assertLegalName,this),this.assertLegalChar=oe(this.assertLegalChar,this);var z,x,b;se||(se={}),this.options=se,this.options.version||(this.options.version="1.0"),x=se.stringify||{};for(z in x)ne.call(x,z)&&(b=x[z],this[z]=b)}return te.prototype.name=function(se){return this.options.noValidation?se:this.assertLegalName(""+se||"")},te.prototype.text=function(se){return this.options.noValidation?se:this.assertLegalChar(this.textEscape(""+se||""))},te.prototype.cdata=function(se){return this.options.noValidation?se:(se=""+se||"",se=se.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(se))},te.prototype.comment=function(se){if(this.options.noValidation)return se;if(se=""+se||"",se.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+se);return this.assertLegalChar(se)},te.prototype.raw=function(se){return this.options.noValidation?se:""+se||""},te.prototype.attValue=function(se){return this.options.noValidation?se:this.assertLegalChar(this.attEscape(se=""+se||""))},te.prototype.insTarget=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},te.prototype.insValue=function(se){if(this.options.noValidation)return se;if(se=""+se||"",se.match(/\?>/))throw new Error("Invalid processing instruction value: "+se);return this.assertLegalChar(se)},te.prototype.xmlVersion=function(se){if(this.options.noValidation)return se;if(se=""+se||"",!se.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+se);return se},te.prototype.xmlEncoding=function(se){if(this.options.noValidation)return se;if(se=""+se||"",!se.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+se);return this.assertLegalChar(se)},te.prototype.xmlStandalone=function(se){return this.options.noValidation?se:se?"yes":"no"},te.prototype.dtdPubID=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},te.prototype.dtdSysID=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},te.prototype.dtdElementValue=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},te.prototype.dtdAttType=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},te.prototype.dtdAttDefault=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},te.prototype.dtdEntityValue=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},te.prototype.dtdNData=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},te.prototype.convertAttKey="@",te.prototype.convertPIKey="?",te.prototype.convertTextKey="#text",te.prototype.convertCDataKey="#cdata",te.prototype.convertCommentKey="#comment",te.prototype.convertRawKey="#raw",te.prototype.assertLegalChar=function(se){var z,x;if(this.options.noValidation)return se;if(z="",this.options.version==="1.0"){if(z=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,x=se.match(z))throw new Error("Invalid character in string: "+se+" at index "+x.index)}else if(this.options.version==="1.1"&&(z=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,x=se.match(z)))throw new Error("Invalid character in string: "+se+" at index "+x.index);return se},te.prototype.assertLegalName=function(se){var z;if(this.options.noValidation)return se;if(this.assertLegalChar(se),z=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!se.match(z))throw new Error("Invalid character in name");return se},te.prototype.textEscape=function(se){var z;return this.options.noValidation?se:(z=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(z,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},te.prototype.attEscape=function(se){var z;return this.options.noValidation?se:(z=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(z,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},te}()}).call(this)},{}],457:[function(a,he,de){(function(){var ee,oe,ne,te=function(z,x){for(var b in x)se.call(x,b)&&(z[b]=x[b]);function E(){this.constructor=z}return E.prototype=x.prototype,z.prototype=new E,z.__super__=x.prototype,z},se={}.hasOwnProperty;ee=a("./NodeType"),oe=a("./XMLCharacterData"),he.exports=ne=function(z){te(x,z);function x(b,E){if(x.__super__.constructor.call(this,b),E==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=ee.Text,this.value=this.stringify.text(E)}return Object.defineProperty(x.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(x.prototype,"wholeText",{get:function(){var b,E,re;for(re="",E=this.previousSibling;E;)re=E.data+re,E=E.previousSibling;for(re+=this.data,b=this.nextSibling;b;)re=re+b.data,b=b.nextSibling;return re}}),x.prototype.clone=function(){return Object.create(this)},x.prototype.toString=function(b){return this.options.writer.text(this,this.options.writer.filterOptions(b))},x.prototype.splitText=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.replaceWholeText=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x}(oe)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(a,he,de){(function(){var ee,oe,ne,te,se,z,x,b,E,re,ae,le,fe,ce,ue,ge,_e,we={}.hasOwnProperty;_e=a("./Utility").assign,ee=a("./NodeType"),E=a("./XMLDeclaration"),re=a("./XMLDocType"),ne=a("./XMLCData"),te=a("./XMLComment"),le=a("./XMLElement"),ce=a("./XMLRaw"),ue=a("./XMLText"),fe=a("./XMLProcessingInstruction"),ae=a("./XMLDummy"),se=a("./XMLDTDAttList"),z=a("./XMLDTDElement"),x=a("./XMLDTDEntity"),b=a("./XMLDTDNotation"),oe=a("./WriterState"),he.exports=ge=function(){function xe(ve){var Se,be,Ae;ve||(ve={}),this.options=ve,be=ve.writer||{};for(Se in be)we.call(be,Se)&&(Ae=be[Se],this["_"+Se]=this[Se],this[Se]=Ae)}return xe.prototype.filterOptions=function(ve){var Se,be,Ae,Te,je,ke,Pe,Oe;return ve||(ve={}),ve=_e({},this.options,ve),Se={writer:this},Se.pretty=ve.pretty||!1,Se.allowEmpty=ve.allowEmpty||!1,Se.indent=(be=ve.indent)!=null?be:" ",Se.newline=(Ae=ve.newline)!=null?Ae:`
`,Se.offset=(Te=ve.offset)!=null?Te:0,Se.dontPrettyTextNodes=(je=(ke=ve.dontPrettyTextNodes)!=null?ke:ve.dontprettytextnodes)!=null?je:0,Se.spaceBeforeSlash=(Pe=(Oe=ve.spaceBeforeSlash)!=null?Oe:ve.spacebeforeslash)!=null?Pe:"",Se.spaceBeforeSlash===!0&&(Se.spaceBeforeSlash=" "),Se.suppressPrettyCount=0,Se.user={},Se.state=oe.None,Se},xe.prototype.indent=function(ve,Se,be){var Ae;return!Se.pretty||Se.suppressPrettyCount?"":Se.pretty&&(Ae=(be||0)+Se.offset+1,Ae>0)?new Array(Ae).join(Se.indent):""},xe.prototype.endline=function(ve,Se,be){return!Se.pretty||Se.suppressPrettyCount?"":Se.newline},xe.prototype.attribute=function(ve,Se,be){var Ae;return this.openAttribute(ve,Se,be),Ae=" "+ve.name+'="'+ve.value+'"',this.closeAttribute(ve,Se,be),Ae},xe.prototype.cdata=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be)+"<![CDATA[",Se.state=oe.InsideTag,Ae+=ve.value,Se.state=oe.CloseTag,Ae+="]]>"+this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.comment=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be)+"<!-- ",Se.state=oe.InsideTag,Ae+=ve.value,Se.state=oe.CloseTag,Ae+=" -->"+this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.declaration=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be)+"<?xml",Se.state=oe.InsideTag,Ae+=' version="'+ve.version+'"',ve.encoding!=null&&(Ae+=' encoding="'+ve.encoding+'"'),ve.standalone!=null&&(Ae+=' standalone="'+ve.standalone+'"'),Se.state=oe.CloseTag,Ae+=Se.spaceBeforeSlash+"?>",Ae+=this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.docType=function(ve,Se,be){var Ae,Te,je,ke,Pe;if(be||(be=0),this.openNode(ve,Se,be),Se.state=oe.OpenTag,ke=this.indent(ve,Se,be),ke+="<!DOCTYPE "+ve.root().name,ve.pubID&&ve.sysID?ke+=' PUBLIC "'+ve.pubID+'" "'+ve.sysID+'"':ve.sysID&&(ke+=' SYSTEM "'+ve.sysID+'"'),ve.children.length>0){for(ke+=" [",ke+=this.endline(ve,Se,be),Se.state=oe.InsideTag,Pe=ve.children,Te=0,je=Pe.length;Te<je;Te++)Ae=Pe[Te],ke+=this.writeChildNode(Ae,Se,be+1);Se.state=oe.CloseTag,ke+="]"}return Se.state=oe.CloseTag,ke+=Se.spaceBeforeSlash+">",ke+=this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),ke},xe.prototype.element=function(ve,Se,be){var Ae,Te,je,ke,Pe,Oe,He,Ge,tt,Me,We,it,ut,$e;be||(be=0),Me=!1,We="",this.openNode(ve,Se,be),Se.state=oe.OpenTag,We+=this.indent(ve,Se,be)+"<"+ve.name,it=ve.attribs;for(tt in it)we.call(it,tt)&&(Ae=it[tt],We+=this.attribute(Ae,Se,be));if(je=ve.children.length,ke=je===0?null:ve.children[0],je===0||ve.children.every(function(Je){return(Je.type===ee.Text||Je.type===ee.Raw)&&Je.value===""}))Se.allowEmpty?(We+=">",Se.state=oe.CloseTag,We+="</"+ve.name+">"+this.endline(ve,Se,be)):(Se.state=oe.CloseTag,We+=Se.spaceBeforeSlash+"/>"+this.endline(ve,Se,be));else if(Se.pretty&&je===1&&(ke.type===ee.Text||ke.type===ee.Raw)&&ke.value!=null)We+=">",Se.state=oe.InsideTag,Se.suppressPrettyCount++,Me=!0,We+=this.writeChildNode(ke,Se,be+1),Se.suppressPrettyCount--,Me=!1,Se.state=oe.CloseTag,We+="</"+ve.name+">"+this.endline(ve,Se,be);else{if(Se.dontPrettyTextNodes){for(ut=ve.children,Pe=0,He=ut.length;Pe<He;Pe++)if(Te=ut[Pe],(Te.type===ee.Text||Te.type===ee.Raw)&&Te.value!=null){Se.suppressPrettyCount++,Me=!0;break}}for(We+=">"+this.endline(ve,Se,be),Se.state=oe.InsideTag,$e=ve.children,Oe=0,Ge=$e.length;Oe<Ge;Oe++)Te=$e[Oe],We+=this.writeChildNode(Te,Se,be+1);Se.state=oe.CloseTag,We+=this.indent(ve,Se,be)+"</"+ve.name+">",Me&&Se.suppressPrettyCount--,We+=this.endline(ve,Se,be),Se.state=oe.None}return this.closeNode(ve,Se,be),We},xe.prototype.writeChildNode=function(ve,Se,be){switch(ve.type){case ee.CData:return this.cdata(ve,Se,be);case ee.Comment:return this.comment(ve,Se,be);case ee.Element:return this.element(ve,Se,be);case ee.Raw:return this.raw(ve,Se,be);case ee.Text:return this.text(ve,Se,be);case ee.ProcessingInstruction:return this.processingInstruction(ve,Se,be);case ee.Dummy:return"";case ee.Declaration:return this.declaration(ve,Se,be);case ee.DocType:return this.docType(ve,Se,be);case ee.AttributeDeclaration:return this.dtdAttList(ve,Se,be);case ee.ElementDeclaration:return this.dtdElement(ve,Se,be);case ee.EntityDeclaration:return this.dtdEntity(ve,Se,be);case ee.NotationDeclaration:return this.dtdNotation(ve,Se,be);default:throw new Error("Unknown XML node type: "+ve.constructor.name)}},xe.prototype.processingInstruction=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be)+"<?",Se.state=oe.InsideTag,Ae+=ve.target,ve.value&&(Ae+=" "+ve.value),Se.state=oe.CloseTag,Ae+=Se.spaceBeforeSlash+"?>",Ae+=this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.raw=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be),Se.state=oe.InsideTag,Ae+=ve.value,Se.state=oe.CloseTag,Ae+=this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.text=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be),Se.state=oe.InsideTag,Ae+=ve.value,Se.state=oe.CloseTag,Ae+=this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.dtdAttList=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be)+"<!ATTLIST",Se.state=oe.InsideTag,Ae+=" "+ve.elementName+" "+ve.attributeName+" "+ve.attributeType,ve.defaultValueType!=="#DEFAULT"&&(Ae+=" "+ve.defaultValueType),ve.defaultValue&&(Ae+=' "'+ve.defaultValue+'"'),Se.state=oe.CloseTag,Ae+=Se.spaceBeforeSlash+">"+this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.dtdElement=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be)+"<!ELEMENT",Se.state=oe.InsideTag,Ae+=" "+ve.name+" "+ve.value,Se.state=oe.CloseTag,Ae+=Se.spaceBeforeSlash+">"+this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.dtdEntity=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be)+"<!ENTITY",Se.state=oe.InsideTag,ve.pe&&(Ae+=" %"),Ae+=" "+ve.name,ve.value?Ae+=' "'+ve.value+'"':(ve.pubID&&ve.sysID?Ae+=' PUBLIC "'+ve.pubID+'" "'+ve.sysID+'"':ve.sysID&&(Ae+=' SYSTEM "'+ve.sysID+'"'),ve.nData&&(Ae+=" NDATA "+ve.nData)),Se.state=oe.CloseTag,Ae+=Se.spaceBeforeSlash+">"+this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.dtdNotation=function(ve,Se,be){var Ae;return this.openNode(ve,Se,be),Se.state=oe.OpenTag,Ae=this.indent(ve,Se,be)+"<!NOTATION",Se.state=oe.InsideTag,Ae+=" "+ve.name,ve.pubID&&ve.sysID?Ae+=' PUBLIC "'+ve.pubID+'" "'+ve.sysID+'"':ve.pubID?Ae+=' PUBLIC "'+ve.pubID+'"':ve.sysID&&(Ae+=' SYSTEM "'+ve.sysID+'"'),Se.state=oe.CloseTag,Ae+=Se.spaceBeforeSlash+">"+this.endline(ve,Se,be),Se.state=oe.None,this.closeNode(ve,Se,be),Ae},xe.prototype.openNode=function(ve,Se,be){},xe.prototype.closeNode=function(ve,Se,be){},xe.prototype.openAttribute=function(ve,Se,be){},xe.prototype.closeAttribute=function(ve,Se,be){},xe}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(a,he,de){(function(){var ee,oe,ne,te,se,z,x,b,E,re;re=a("./Utility"),b=re.assign,E=re.isFunction,ne=a("./XMLDOMImplementation"),te=a("./XMLDocument"),se=a("./XMLDocumentCB"),x=a("./XMLStringWriter"),z=a("./XMLStreamWriter"),ee=a("./NodeType"),oe=a("./WriterState"),he.exports.create=function(ae,le,fe,ce){var ue,ge;if(ae==null)throw new Error("Root element needs a name.");return ce=b({},le,fe,ce),ue=new te(ce),ge=ue.element(ae),ce.headless||(ue.declaration(ce),(ce.pubID!=null||ce.sysID!=null)&&ue.dtd(ce)),ge},he.exports.begin=function(ae,le,fe){var ce;return E(ae)&&(ce=[ae,le],le=ce[0],fe=ce[1],ae={}),le?new se(ae,le,fe):new te(ae)},he.exports.stringWriter=function(ae){return new x(ae)},he.exports.streamWriter=function(ae,le){return new z(ae,le)},he.exports.implementation=new ne,he.exports.nodeType=ee,he.exports.writerState=oe}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(a,he,de){he.exports=oe;var ee=Object.prototype.hasOwnProperty;function oe(){for(var ne={},te=0;te<arguments.length;te++){var se=arguments[te];for(var z in se)ee.call(se,z)&&(ne[z]=se[z])}return ne}},{}],461:[function(a,he,de){"use strict";a("core-js/modules/es.array.fill.js"),a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.regexp.to-string.js"),a("core-js/modules/es.array.join.js"),a("core-js/modules/es.array.slice.js");var ee=a("buffer").Buffer,oe=a("./sha"),ne=a("./md5"),te={sha1:oe,md5:ne},se=64,z=ee.alloc(se);z.fill(0);function x(re,ae,le){ee.isBuffer(ae)||(ae=ee.from(ae)),ee.isBuffer(le)||(le=ee.from(le)),ae.length>se?ae=re(ae):ae.length<se&&(ae=ee.concat([ae,z],se));for(var fe=ee.alloc(se),ce=ee.alloc(se),ue=0;ue<se;ue++)fe[ue]=ae[ue]^54,ce[ue]=ae[ue]^92;var ge=re(ee.concat([fe,le]));return re(ee.concat([ce,ge]))}function b(re,ae){re=re||"sha1";var le=te[re],fe=[],ce=0;return le||E("algorithm:",re,"is not yet supported"),{update:function(ge){return ee.isBuffer(ge)||(ge=ee.from(ge)),fe.push(ge),ce+=ge.length,this},digest:function(ge){var _e=ee.concat(fe),we=ae?x(le,ae,_e):le(_e);return fe=null,ge?we.toString(ge):we}}}function E(){var re=[].slice.call(arguments).join(" ");throw new Error([re,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}de.createHash=function(re){return b(re)},de.createHmac=function(re,ae){return b(re,ae)},de.createCredentials=function(){E("sorry,createCredentials is not implemented yet")},de.createCipher=function(){E("sorry,createCipher is not implemented yet")},de.createCipheriv=function(){E("sorry,createCipheriv is not implemented yet")},de.createDecipher=function(){E("sorry,createDecipher is not implemented yet")},de.createDecipheriv=function(){E("sorry,createDecipheriv is not implemented yet")},de.createSign=function(){E("sorry,createSign is not implemented yet")},de.createVerify=function(){E("sorry,createVerify is not implemented yet")},de.createDiffieHellman=function(){E("sorry,createDiffieHellman is not implemented yet")},de.pbkdf2=function(){E("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(a,he,de){"use strict";a("core-js/modules/es.array.fill.js"),a("core-js/modules/es.array.concat.js");var ee=a("buffer").Buffer,oe=4,ne=ee.alloc(oe);ne.fill(0);var te=8;function se(b,E){if(b.length%oe!==0){var re=b.length+(oe-b.length%oe);b=ee.concat([b,ne],re)}for(var ae=[],le=E?b.readInt32BE:b.readInt32LE,fe=0;fe<b.length;fe+=oe)ae.push(le.call(b,fe));return ae}function z(b,E,re){for(var ae=ee.alloc(E),le=re?ae.writeInt32BE:ae.writeInt32LE,fe=0;fe<b.length;fe++)le.call(ae,b[fe],fe*4,!0);return ae}function x(b,E,re,ae){ee.isBuffer(b)||(b=ee.from(b));var le=E(se(b,ae),b.length*te);return z(le,re,ae)}he.exports={hash:x}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(a,he,de){"use strict";var ee=a("./helpers");function oe(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ne(ae,le){ae[le>>5]|=128<<le%32,ae[(le+64>>>9<<4)+14]=le;for(var fe=1732584193,ce=-271733879,ue=-1732584194,ge=271733878,_e=0;_e<ae.length;_e+=16){var we=fe,xe=ce,ve=ue,Se=ge;fe=se(fe,ce,ue,ge,ae[_e+0],7,-680876936),ge=se(ge,fe,ce,ue,ae[_e+1],12,-389564586),ue=se(ue,ge,fe,ce,ae[_e+2],17,606105819),ce=se(ce,ue,ge,fe,ae[_e+3],22,-1044525330),fe=se(fe,ce,ue,ge,ae[_e+4],7,-176418897),ge=se(ge,fe,ce,ue,ae[_e+5],12,1200080426),ue=se(ue,ge,fe,ce,ae[_e+6],17,-1473231341),ce=se(ce,ue,ge,fe,ae[_e+7],22,-45705983),fe=se(fe,ce,ue,ge,ae[_e+8],7,1770035416),ge=se(ge,fe,ce,ue,ae[_e+9],12,-1958414417),ue=se(ue,ge,fe,ce,ae[_e+10],17,-42063),ce=se(ce,ue,ge,fe,ae[_e+11],22,-1990404162),fe=se(fe,ce,ue,ge,ae[_e+12],7,1804603682),ge=se(ge,fe,ce,ue,ae[_e+13],12,-40341101),ue=se(ue,ge,fe,ce,ae[_e+14],17,-1502002290),ce=se(ce,ue,ge,fe,ae[_e+15],22,1236535329),fe=z(fe,ce,ue,ge,ae[_e+1],5,-165796510),ge=z(ge,fe,ce,ue,ae[_e+6],9,-1069501632),ue=z(ue,ge,fe,ce,ae[_e+11],14,643717713),ce=z(ce,ue,ge,fe,ae[_e+0],20,-373897302),fe=z(fe,ce,ue,ge,ae[_e+5],5,-701558691),ge=z(ge,fe,ce,ue,ae[_e+10],9,38016083),ue=z(ue,ge,fe,ce,ae[_e+15],14,-660478335),ce=z(ce,ue,ge,fe,ae[_e+4],20,-405537848),fe=z(fe,ce,ue,ge,ae[_e+9],5,568446438),ge=z(ge,fe,ce,ue,ae[_e+14],9,-1019803690),ue=z(ue,ge,fe,ce,ae[_e+3],14,-187363961),ce=z(ce,ue,ge,fe,ae[_e+8],20,1163531501),fe=z(fe,ce,ue,ge,ae[_e+13],5,-1444681467),ge=z(ge,fe,ce,ue,ae[_e+2],9,-51403784),ue=z(ue,ge,fe,ce,ae[_e+7],14,1735328473),ce=z(ce,ue,ge,fe,ae[_e+12],20,-1926607734),fe=x(fe,ce,ue,ge,ae[_e+5],4,-378558),ge=x(ge,fe,ce,ue,ae[_e+8],11,-2022574463),ue=x(ue,ge,fe,ce,ae[_e+11],16,1839030562),ce=x(ce,ue,ge,fe,ae[_e+14],23,-35309556),fe=x(fe,ce,ue,ge,ae[_e+1],4,-1530992060),ge=x(ge,fe,ce,ue,ae[_e+4],11,1272893353),ue=x(ue,ge,fe,ce,ae[_e+7],16,-155497632),ce=x(ce,ue,ge,fe,ae[_e+10],23,-1094730640),fe=x(fe,ce,ue,ge,ae[_e+13],4,681279174),ge=x(ge,fe,ce,ue,ae[_e+0],11,-358537222),ue=x(ue,ge,fe,ce,ae[_e+3],16,-722521979),ce=x(ce,ue,ge,fe,ae[_e+6],23,76029189),fe=x(fe,ce,ue,ge,ae[_e+9],4,-640364487),ge=x(ge,fe,ce,ue,ae[_e+12],11,-421815835),ue=x(ue,ge,fe,ce,ae[_e+15],16,530742520),ce=x(ce,ue,ge,fe,ae[_e+2],23,-995338651),fe=b(fe,ce,ue,ge,ae[_e+0],6,-198630844),ge=b(ge,fe,ce,ue,ae[_e+7],10,1126891415),ue=b(ue,ge,fe,ce,ae[_e+14],15,-1416354905),ce=b(ce,ue,ge,fe,ae[_e+5],21,-57434055),fe=b(fe,ce,ue,ge,ae[_e+12],6,1700485571),ge=b(ge,fe,ce,ue,ae[_e+3],10,-1894986606),ue=b(ue,ge,fe,ce,ae[_e+10],15,-1051523),ce=b(ce,ue,ge,fe,ae[_e+1],21,-2054922799),fe=b(fe,ce,ue,ge,ae[_e+8],6,1873313359),ge=b(ge,fe,ce,ue,ae[_e+15],10,-30611744),ue=b(ue,ge,fe,ce,ae[_e+6],15,-1560198380),ce=b(ce,ue,ge,fe,ae[_e+13],21,1309151649),fe=b(fe,ce,ue,ge,ae[_e+4],6,-145523070),ge=b(ge,fe,ce,ue,ae[_e+11],10,-1120210379),ue=b(ue,ge,fe,ce,ae[_e+2],15,718787259),ce=b(ce,ue,ge,fe,ae[_e+9],21,-343485551),fe=E(fe,we),ce=E(ce,xe),ue=E(ue,ve),ge=E(ge,Se)}return Array(fe,ce,ue,ge)}function te(ae,le,fe,ce,ue,ge){return E(re(E(E(le,ae),E(ce,ge)),ue),fe)}function se(ae,le,fe,ce,ue,ge,_e){return te(le&fe|~le&ce,ae,le,ue,ge,_e)}function z(ae,le,fe,ce,ue,ge,_e){return te(le&ce|fe&~ce,ae,le,ue,ge,_e)}function x(ae,le,fe,ce,ue,ge,_e){return te(le^fe^ce,ae,le,ue,ge,_e)}function b(ae,le,fe,ce,ue,ge,_e){return te(fe^(le|~ce),ae,le,ue,ge,_e)}function E(ae,le){var fe=(ae&65535)+(le&65535),ce=(ae>>16)+(le>>16)+(fe>>16);return ce<<16|fe&65535}function re(ae,le){return ae<<le|ae>>>32-le}he.exports=function(le){return ee.hash(le,ne,16)}},{"./helpers":462}],464:[function(a,he,de){"use strict";var ee=a("./helpers");function oe(x,b){x[b>>5]|=128<<24-b%32,x[(b+64>>9<<4)+15]=b;for(var E=Array(80),re=1732584193,ae=-271733879,le=-1732584194,fe=271733878,ce=-1009589776,ue=0;ue<x.length;ue+=16){for(var ge=re,_e=ae,we=le,xe=fe,ve=ce,Se=0;Se<80;Se++){Se<16?E[Se]=x[ue+Se]:E[Se]=z(E[Se-3]^E[Se-8]^E[Se-14]^E[Se-16],1);var be=se(se(z(re,5),ne(Se,ae,le,fe)),se(se(ce,E[Se]),te(Se)));ce=fe,fe=le,le=z(ae,30),ae=re,re=be}re=se(re,ge),ae=se(ae,_e),le=se(le,we),fe=se(fe,xe),ce=se(ce,ve)}return Array(re,ae,le,fe,ce)}function ne(x,b,E,re){return x<20?b&E|~b&re:x<40?b^E^re:x<60?b&E|b&re|E&re:b^E^re}function te(x){return x<20?1518500249:x<40?1859775393:x<60?-1894007588:-899497514}function se(x,b){var E=(x&65535)+(b&65535),re=(x>>16)+(b>>16)+(E>>16);return re<<16|E&65535}function z(x,b){return x<<b|x>>>32-b}he.exports=function(b){return ee.hash(b,oe,20,!0)}},{"./helpers":462}],465:[function(a,he,de){"use strict";he.exports=function(){return function(){}}},{}],466:[function(a,he,de){(function(ee){(function(){"use strict";var oe=a("@babel/runtime/helpers/interopRequireDefault"),ne=oe(a("@babel/runtime/helpers/typeof")),te=a("stream"),se=te.Stream,z=a("../lib/common/utils/isArray"),x=z.isArray;he.exports.string=function(re){return typeof re=="string"},he.exports.array=x,he.exports.buffer=ee.isBuffer;function b(E){return E instanceof se}he.exports.writableStream=function(re){return b(re)&&typeof re._write=="function"&&(0,ne.default)(re._writableState)==="object"}}).call(this)}).call(this,{isBuffer:a("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(a,he,de){"use strict";var ee=a("immediate"),oe=he.exports={};oe.nextTick=ee,oe.title="browser",oe.browser=!0,oe.env={},oe.argv=[],oe.version="",oe.versions={};function ne(){}oe.on=ne,oe.addListener=ne,oe.once=ne,oe.off=ne,oe.removeListener=ne,oe.removeAllListeners=ne,oe.emit=ne,oe.prependListener=ne,oe.prependOnceListener=ne,oe.listeners=function(te){return[]},oe.binding=function(te){throw new Error("process.binding is not supported")},oe.cwd=function(){return"/"},oe.chdir=function(te){throw new Error("process.chdir is not supported")},oe.umask=function(){return 0}},{immediate:358}],468:[function(a,he,de){(function(ee){(function(){"use strict";a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.search.js");var oe=a("./lib/request"),ne=a("./lib/response"),te=a("xtend"),se=a("builtin-status-codes"),z=a("url"),x=de;x.request=function(b,E){typeof b=="string"?b=z.parse(b):b=te(b);var re=ee.location.protocol.search(/^https?:$/)===-1?"http:":"",ae=b.protocol||re,le=b.hostname||b.host,fe=b.port,ce=b.path||"/";le&&le.indexOf(":")!==-1&&(le="["+le+"]"),b.url=(le?ae+"//"+le:"")+(fe?":"+fe:"")+ce,b.method=(b.method||"GET").toUpperCase(),b.headers=b.headers||{};var ue=new oe(b);return E&&ue.on("response",E),ue},x.get=function(E,re){var ae=x.request(E,re);return ae.end(),ae},x.ClientRequest=oe,x.IncomingMessage=ne.IncomingMessage,x.Agent=function(){},x.Agent.defaultMaxSockets=4,x.globalAgent=new x.Agent,x.STATUS_CODES=se,x.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(a,he,de){(function(ee){(function(){"use strict";a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.promise.js"),a("core-js/modules/es.array-buffer.constructor.js"),a("core-js/modules/es.array-buffer.slice.js"),a("core-js/modules/es.array.slice.js"),de.fetch=x(ee.fetch)&&x(ee.ReadableStream),de.writableStream=x(ee.WritableStream),de.abortController=x(ee.AbortController),de.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),de.blobConstructor=!0}catch(b){}var oe;function ne(){if(oe!==void 0)return oe;if(ee.XMLHttpRequest){oe=new ee.XMLHttpRequest;try{oe.open("GET",ee.XDomainRequest?"/":"https://example.com")}catch(b){oe=null}}else oe=null;return oe}function te(b){var E=ne();if(!E)return!1;try{return E.responseType=b,E.responseType===b}catch(re){}return!1}var se=typeof ee.ArrayBuffer!="undefined",z=se&&x(ee.ArrayBuffer.prototype.slice);de.arraybuffer=de.fetch||se&&te("arraybuffer"),de.msstream=!de.fetch&&z&&te("ms-stream"),de.mozchunkedarraybuffer=!de.fetch&&se&&te("moz-chunked-arraybuffer"),de.overrideMimeType=de.fetch||(ne()?x(ne().overrideMimeType):!1),de.vbArray=x(ee.VBArray);function x(b){return typeof b=="function"}oe=null}).call(this)}).call(this,typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(a,he,de){(function(ee,oe,ne){(function(){"use strict";a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.regexp.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.array.map.js"),a("core-js/modules/es.function.name.js"),a("core-js/modules/es.promise.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.split.js");var te=a("./capability"),se=a("inherits"),z=a("./response"),x=a("readable-stream"),b=a("to-arraybuffer"),E=z.IncomingMessage,re=z.readyStates;function ae(ue,ge){return te.fetch&&ge?"fetch":te.mozchunkedarraybuffer?"moz-chunked-arraybuffer":te.msstream?"ms-stream":te.arraybuffer&&ue?"arraybuffer":te.vbArray&&ue?"text:vbarray":"text"}var le=he.exports=function(ue){var ge=this;x.Writable.call(ge),ge._opts=ue,ge._body=[],ge._headers={},ue.auth&&ge.setHeader("Authorization","Basic "+new ne(ue.auth).toString("base64")),Object.keys(ue.headers).forEach(function(xe){ge.setHeader(xe,ue.headers[xe])});var _e,we=!0;if(ue.mode==="disable-fetch"||"requestTimeout"in ue&&!te.abortController)we=!1,_e=!0;else if(ue.mode==="prefer-streaming")_e=!1;else if(ue.mode==="allow-wrong-content-type")_e=!te.overrideMimeType;else if(!ue.mode||ue.mode==="default"||ue.mode==="prefer-fast")_e=!0;else throw new Error("Invalid value for opts.mode");ge._mode=ae(_e,we),ge._fetchTimer=null,ge.on("finish",function(){ge._onFinish()})};se(le,x.Writable),le.prototype.setHeader=function(ue,ge){var _e=this,we=ue.toLowerCase();ce.indexOf(we)===-1&&(_e._headers[we]={name:ue,value:ge})},le.prototype.getHeader=function(ue){var ge=this._headers[ue.toLowerCase()];return ge?ge.value:null},le.prototype.removeHeader=function(ue){var ge=this;delete ge._headers[ue.toLowerCase()]},le.prototype._onFinish=function(){var ue=this;if(!ue._destroyed){var ge=ue._opts,_e=ue._headers,we=null;ge.method!=="GET"&&ge.method!=="HEAD"&&(te.arraybuffer?we=b(ne.concat(ue._body)):te.blobConstructor?we=new oe.Blob(ue._body.map(function(Te){return b(Te)}),{type:(_e["content-type"]||{}).value||""}):we=ne.concat(ue._body).toString());var xe=[];if(Object.keys(_e).forEach(function(Te){var je=_e[Te].name,ke=_e[Te].value;Array.isArray(ke)?ke.forEach(function(Pe){xe.push([je,Pe])}):xe.push([je,ke])}),ue._mode==="fetch"){var ve=null,Se=null;if(te.abortController){var be=new AbortController;ve=be.signal,ue._fetchAbortController=be,"requestTimeout"in ge&&ge.requestTimeout!==0&&(ue._fetchTimer=oe.setTimeout(function(){ue.emit("requestTimeout"),ue._fetchAbortController&&ue._fetchAbortController.abort()},ge.requestTimeout))}oe.fetch(ue._opts.url,{method:ue._opts.method,headers:xe,body:we||void 0,mode:"cors",credentials:ge.withCredentials?"include":"same-origin",signal:ve}).then(function(Te){ue._fetchResponse=Te,ue._connect()},function(Te){oe.clearTimeout(ue._fetchTimer),ue._destroyed||ue.emit("error",Te)})}else{var Ae=ue._xhr=new oe.XMLHttpRequest;try{Ae.open(ue._opts.method,ue._opts.url,!0)}catch(Te){ee.nextTick(function(){ue.emit("error",Te)});return}"responseType"in Ae&&(Ae.responseType=ue._mode.split(":")[0]),"withCredentials"in Ae&&(Ae.withCredentials=!!ge.withCredentials),ue._mode==="text"&&"overrideMimeType"in Ae&&Ae.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ge&&(Ae.timeout=ge.requestTimeout,Ae.ontimeout=function(){ue.emit("requestTimeout")}),xe.forEach(function(Te){Ae.setRequestHeader(Te[0],Te[1])}),ue._response=null,Ae.onreadystatechange=function(){switch(Ae.readyState){case re.LOADING:case re.DONE:ue._onXHRProgress();break}},ue._mode==="moz-chunked-arraybuffer"&&(Ae.onprogress=function(){ue._onXHRProgress()}),Ae.onerror=function(){ue._destroyed||ue.emit("error",new Error("XHR error"))};try{Ae.send(we)}catch(Te){ee.nextTick(function(){ue.emit("error",Te)});return}}}};function fe(ue){try{var ge=ue.status;return ge!==null&&ge!==0}catch(_e){return!1}}le.prototype._onXHRProgress=function(){var ue=this;!fe(ue._xhr)||ue._destroyed||(ue._response||ue._connect(),ue._response._onXHRProgress())},le.prototype._connect=function(){var ue=this;ue._destroyed||(ue._response=new E(ue._xhr,ue._fetchResponse,ue._mode,ue._fetchTimer),ue._response.on("error",function(ge){ue.emit("error",ge)}),ue.emit("response",ue._response))},le.prototype._write=function(ue,ge,_e){var we=this;we._body.push(ue),_e()},le.prototype.abort=le.prototype.destroy=function(){var ue=this;ue._destroyed=!0,oe.clearTimeout(ue._fetchTimer),ue._response&&(ue._response._destroyed=!0),ue._xhr?ue._xhr.abort():ue._fetchAbortController&&ue._fetchAbortController.abort()},le.prototype.end=function(ue,ge,_e){var we=this;typeof ue=="function"&&(_e=ue,ue=void 0),x.Writable.prototype.end.call(we,ue,ge,_e)},le.prototype.flushHeaders=function(){},le.prototype.setTimeout=function(){},le.prototype.setNoDelay=function(){},le.prototype.setSocketKeepAlive=function(){};var ce=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,a("_process"),typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},a("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(a,he,de){(function(ee,oe,ne){(function(){"use strict";a("core-js/modules/es.object.to-string.js"),a("core-js/modules/web.dom-collections.for-each.js"),a("core-js/modules/es.promise.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.split.js"),a("core-js/modules/es.string.match.js"),a("core-js/modules/es.array.iterator.js"),a("core-js/modules/es.array-buffer.slice.js"),a("core-js/modules/es.typed-array.uint8-array.js"),a("core-js/modules/es.typed-array.copy-within.js"),a("core-js/modules/es.typed-array.every.js"),a("core-js/modules/es.typed-array.fill.js"),a("core-js/modules/es.typed-array.filter.js"),a("core-js/modules/es.typed-array.find.js"),a("core-js/modules/es.typed-array.find-index.js"),a("core-js/modules/es.typed-array.for-each.js"),a("core-js/modules/es.typed-array.includes.js"),a("core-js/modules/es.typed-array.index-of.js"),a("core-js/modules/es.typed-array.iterator.js"),a("core-js/modules/es.typed-array.join.js"),a("core-js/modules/es.typed-array.last-index-of.js"),a("core-js/modules/es.typed-array.map.js"),a("core-js/modules/es.typed-array.reduce.js"),a("core-js/modules/es.typed-array.reduce-right.js"),a("core-js/modules/es.typed-array.reverse.js"),a("core-js/modules/es.typed-array.set.js"),a("core-js/modules/es.typed-array.slice.js"),a("core-js/modules/es.typed-array.some.js"),a("core-js/modules/es.typed-array.sort.js"),a("core-js/modules/es.typed-array.subarray.js"),a("core-js/modules/es.typed-array.to-locale-string.js"),a("core-js/modules/es.typed-array.to-string.js"),a("core-js/modules/es.array.slice.js");var te=a("./capability"),se=a("inherits"),z=a("readable-stream"),x=de.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},b=de.IncomingMessage=function(E,re,ae,le){var fe=this;if(z.Readable.call(fe),fe._mode=ae,fe.headers={},fe.rawHeaders=[],fe.trailers={},fe.rawTrailers=[],fe.on("end",function(){ee.nextTick(function(){fe.emit("close")})}),ae==="fetch"){var ce=function ve(){ge.read().then(function(Se){if(!fe._destroyed){if(Se.done){oe.clearTimeout(le),fe.push(null);return}fe.push(new ne(Se.value)),ve()}}).catch(function(Se){oe.clearTimeout(le),fe._destroyed||fe.emit("error",Se)})};if(fe._fetchResponse=re,fe.url=re.url,fe.statusCode=re.status,fe.statusMessage=re.statusText,re.headers.forEach(function(ve,Se){fe.headers[Se.toLowerCase()]=ve,fe.rawHeaders.push(Se,ve)}),te.writableStream){var ue=new WritableStream({write:function(Se){return new Promise(function(be,Ae){fe._destroyed?Ae():fe.push(new ne(Se))?be():fe._resumeFetch=be})},close:function(){oe.clearTimeout(le),fe._destroyed||fe.push(null)},abort:function(Se){fe._destroyed||fe.emit("error",Se)}});try{re.body.pipeTo(ue).catch(function(ve){oe.clearTimeout(le),fe._destroyed||fe.emit("error",ve)});return}catch(ve){}}var ge=re.body.getReader();ce()}else{fe._xhr=E,fe._pos=0,fe.url=E.responseURL,fe.statusCode=E.status,fe.statusMessage=E.statusText;var _e=E.getAllResponseHeaders().split(/\r?\n/);if(_e.forEach(function(ve){var Se=ve.match(/^([^:]+):\s*(.*)/);if(Se){var be=Se[1].toLowerCase();be==="set-cookie"?(fe.headers[be]===void 0&&(fe.headers[be]=[]),fe.headers[be].push(Se[2])):fe.headers[be]!==void 0?fe.headers[be]+=", "+Se[2]:fe.headers[be]=Se[2],fe.rawHeaders.push(Se[1],Se[2])}}),fe._charset="x-user-defined",!te.overrideMimeType){var we=fe.rawHeaders["mime-type"];if(we){var xe=we.match(/;\s*charset=([^;])(;|$)/);xe&&(fe._charset=xe[1].toLowerCase())}fe._charset||(fe._charset="utf-8")}}};se(b,z.Readable),b.prototype._read=function(){var E=this,re=E._resumeFetch;re&&(E._resumeFetch=null,re())},b.prototype._onXHRProgress=function(){var E=this,re=E._xhr,ae=null;switch(E._mode){case"text:vbarray":if(re.readyState!==x.DONE)break;try{ae=new oe.VBArray(re.responseBody).toArray()}catch(ge){}if(ae!==null){E.push(new ne(ae));break}case"text":try{ae=re.responseText}catch(ge){E._mode="text:vbarray";break}if(ae.length>E._pos){var le=ae.substr(E._pos);if(E._charset==="x-user-defined"){for(var fe=new ne(le.length),ce=0;ce<le.length;ce++)fe[ce]=le.charCodeAt(ce)&255;E.push(fe)}else E.push(le,E._charset);E._pos=ae.length}break;case"arraybuffer":if(re.readyState!==x.DONE||!re.response)break;ae=re.response,E.push(new ne(new Uint8Array(ae)));break;case"moz-chunked-arraybuffer":if(ae=re.response,re.readyState!==x.LOADING||!ae)break;E.push(new ne(new Uint8Array(ae)));break;case"ms-stream":if(ae=re.response,re.readyState!==x.LOADING)break;var ue=new oe.MSStreamReader;ue.onprogress=function(){ue.result.byteLength>E._pos&&(E.push(new ne(new Uint8Array(ue.result.slice(E._pos)))),E._pos=ue.result.byteLength)},ue.onload=function(){E.push(null)},ue.readAsArrayBuffer(ae);break}E._xhr.readyState===x.DONE&&E._mode!=="ms-stream"&&E.push(null)}}).call(this)}).call(this,a("_process"),typeof mt!="undefined"?mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},a("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/helpers/typeof"));a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.search.js"),a("core-js/modules/es.array.concat.js"),a("core-js/modules/es.string.split.js"),a("core-js/modules/es.string.replace.js"),a("core-js/modules/es.array.join.js"),a("core-js/modules/es.string.trim.js"),a("core-js/modules/es.string.match.js"),a("core-js/modules/es.array.slice.js"),a("core-js/modules/es.object.keys.js"),a("core-js/modules/es.array.splice.js");var ne=a("punycode"),te=a("./util");de.parse=Se,de.resolve=Ae,de.resolveObject=Te,de.format=be,de.Url=se;function se(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var z=/^([a-z0-9.+-]+:)/i,x=/:[0-9]*$/,b=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,E=["<",">",'"',"`"," ","\r",`
`," "],re=["{","}","|","\\","^","`"].concat(E),ae=["'"].concat(re),le=["%","/","?",";","#"].concat(ae),fe=["/","?","#"],ce=255,ue=/^[+a-z0-9A-Z_-]{0,63}$/,ge=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_e={javascript:!0,"javascript:":!0},we={javascript:!0,"javascript:":!0},xe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},ve=a("querystring");function Se(je,ke,Pe){if(je&&te.isObject(je)&&je instanceof se)return je;var Oe=new se;return Oe.parse(je,ke,Pe),Oe}se.prototype.parse=function(je,ke,Pe){if(!te.isString(je))throw new TypeError("Parameter 'url' must be a string, not "+(0,oe.default)(je));var Oe=je.indexOf("?"),He=Oe!==-1&&Oe<je.indexOf("#")?"?":"#",Ge=je.split(He),tt=/\\/g;Ge[0]=Ge[0].replace(tt,"/"),je=Ge.join(He);var Me=je;if(Me=Me.trim(),!Pe&&je.split("#").length===1){var We=b.exec(Me);if(We)return this.path=Me,this.href=Me,this.pathname=We[1],We[2]?(this.search=We[2],ke?this.query=ve.parse(this.search.substr(1)):this.query=this.search.substr(1)):ke&&(this.search="",this.query={}),this}var it=z.exec(Me);if(it){it=it[0];var ut=it.toLowerCase();this.protocol=ut,Me=Me.substr(it.length)}if(Pe||it||Me.match(/^\/\/[^@\/]+@[^@\/]+/)){var $e=Me.substr(0,2)==="//";$e&&!(it&&we[it])&&(Me=Me.substr(2),this.slashes=!0)}if(!we[it]&&($e||it&&!xe[it])){for(var Je=-1,Xe=0;Xe<fe.length;Xe++){var Qe=Me.indexOf(fe[Xe]);Qe!==-1&&(Je===-1||Qe<Je)&&(Je=Qe)}var st,rt;Je===-1?rt=Me.lastIndexOf("@"):rt=Me.lastIndexOf("@",Je),rt!==-1&&(st=Me.slice(0,rt),Me=Me.slice(rt+1),this.auth=decodeURIComponent(st)),Je=-1;for(var Xe=0;Xe<le.length;Xe++){var Qe=Me.indexOf(le[Xe]);Qe!==-1&&(Je===-1||Qe<Je)&&(Je=Qe)}Je===-1&&(Je=Me.length),this.host=Me.slice(0,Je),Me=Me.slice(Je),this.parseHost(),this.hostname=this.hostname||"";var pt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!pt)for(var ft=this.hostname.split("."),Xe=0,qe=ft.length;Xe<qe;Xe++){var Ie=ft[Xe];if(Ie&&!Ie.match(ue)){for(var at="",Be=0,et=Ie.length;Be<et;Be++)Ie.charCodeAt(Be)>127?at+="x":at+=Ie[Be];if(!at.match(ue)){var vt=ft.slice(0,Xe),gt=ft.slice(Xe+1),dt=Ie.match(ge);dt&&(vt.push(dt[1]),gt.unshift(dt[2])),gt.length&&(Me="/"+gt.join(".")+Me),this.hostname=vt.join(".");break}}}this.hostname.length>ce?this.hostname="":this.hostname=this.hostname.toLowerCase(),pt||(this.hostname=ne.toASCII(this.hostname));var Ve=this.port?":"+this.port:"",Ne=this.hostname||"";this.host=Ne+Ve,this.href+=this.host,pt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Me[0]!=="/"&&(Me="/"+Me))}if(!_e[ut])for(var Xe=0,qe=ae.length;Xe<qe;Xe++){var Ye=ae[Xe];if(Me.indexOf(Ye)!==-1){var ot=encodeURIComponent(Ye);ot===Ye&&(ot=escape(Ye)),Me=Me.split(Ye).join(ot)}}var Ue=Me.indexOf("#");Ue!==-1&&(this.hash=Me.substr(Ue),Me=Me.slice(0,Ue));var Le=Me.indexOf("?");if(Le!==-1?(this.search=Me.substr(Le),this.query=Me.substr(Le+1),ke&&(this.query=ve.parse(this.query)),Me=Me.slice(0,Le)):ke&&(this.search="",this.query={}),Me&&(this.pathname=Me),xe[ut]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ve=this.pathname||"",De=this.search||"";this.path=Ve+De}return this.href=this.format(),this};function be(je){return te.isString(je)&&(je=Se(je)),je instanceof se?je.format():se.prototype.format.call(je)}se.prototype.format=function(){var je=this.auth||"";je&&(je=encodeURIComponent(je),je=je.replace(/%3A/i,":"),je+="@");var ke=this.protocol||"",Pe=this.pathname||"",Oe=this.hash||"",He=!1,Ge="";this.host?He=je+this.host:this.hostname&&(He=je+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(He+=":"+this.port)),this.query&&te.isObject(this.query)&&Object.keys(this.query).length&&(Ge=ve.stringify(this.query));var tt=this.search||Ge&&"?"+Ge||"";return ke&&ke.substr(-1)!==":"&&(ke+=":"),this.slashes||(!ke||xe[ke])&&He!==!1?(He="//"+(He||""),Pe&&Pe.charAt(0)!=="/"&&(Pe="/"+Pe)):He||(He=""),Oe&&Oe.charAt(0)!=="#"&&(Oe="#"+Oe),tt&&tt.charAt(0)!=="?"&&(tt="?"+tt),Pe=Pe.replace(/[?#]/g,function(Me){return encodeURIComponent(Me)}),tt=tt.replace("#","%23"),ke+He+Pe+tt+Oe};function Ae(je,ke){return Se(je,!1,!0).resolve(ke)}se.prototype.resolve=function(je){return this.resolveObject(Se(je,!1,!0)).format()};function Te(je,ke){return je?Se(je,!1,!0).resolveObject(ke):ke}se.prototype.resolveObject=function(je){if(te.isString(je)){var ke=new se;ke.parse(je,!1,!0),je=ke}for(var Pe=new se,Oe=Object.keys(this),He=0;He<Oe.length;He++){var Ge=Oe[He];Pe[Ge]=this[Ge]}if(Pe.hash=je.hash,je.href==="")return Pe.href=Pe.format(),Pe;if(je.slashes&&!je.protocol){for(var tt=Object.keys(je),Me=0;Me<tt.length;Me++){var We=tt[Me];We!=="protocol"&&(Pe[We]=je[We])}return xe[Pe.protocol]&&Pe.hostname&&!Pe.pathname&&(Pe.path=Pe.pathname="/"),Pe.href=Pe.format(),Pe}if(je.protocol&&je.protocol!==Pe.protocol){if(!xe[je.protocol]){for(var it=Object.keys(je),ut=0;ut<it.length;ut++){var $e=it[ut];Pe[$e]=je[$e]}return Pe.href=Pe.format(),Pe}if(Pe.protocol=je.protocol,!je.host&&!we[je.protocol]){for(var qe=(je.pathname||"").split("/");qe.length&&!(je.host=qe.shift()););je.host||(je.host=""),je.hostname||(je.hostname=""),qe[0]!==""&&qe.unshift(""),qe.length<2&&qe.unshift(""),Pe.pathname=qe.join("/")}else Pe.pathname=je.pathname;if(Pe.search=je.search,Pe.query=je.query,Pe.host=je.host||"",Pe.auth=je.auth,Pe.hostname=je.hostname||je.host,Pe.port=je.port,Pe.pathname||Pe.search){var Je=Pe.pathname||"",Xe=Pe.search||"";Pe.path=Je+Xe}return Pe.slashes=Pe.slashes||je.slashes,Pe.href=Pe.format(),Pe}var Qe=Pe.pathname&&Pe.pathname.charAt(0)==="/",st=je.host||je.pathname&&je.pathname.charAt(0)==="/",rt=st||Qe||Pe.host&&je.pathname,pt=rt,ft=Pe.pathname&&Pe.pathname.split("/")||[],qe=je.pathname&&je.pathname.split("/")||[],Ie=Pe.protocol&&!xe[Pe.protocol];if(Ie&&(Pe.hostname="",Pe.port=null,Pe.host&&(ft[0]===""?ft[0]=Pe.host:ft.unshift(Pe.host)),Pe.host="",je.protocol&&(je.hostname=null,je.port=null,je.host&&(qe[0]===""?qe[0]=je.host:qe.unshift(je.host)),je.host=null),rt=rt&&(qe[0]===""||ft[0]==="")),st)Pe.host=je.host||je.host===""?je.host:Pe.host,Pe.hostname=je.hostname||je.hostname===""?je.hostname:Pe.hostname,Pe.search=je.search,Pe.query=je.query,ft=qe;else if(qe.length)ft||(ft=[]),ft.pop(),ft=ft.concat(qe),Pe.search=je.search,Pe.query=je.query;else if(!te.isNullOrUndefined(je.search)){if(Ie){Pe.hostname=Pe.host=ft.shift();var at=Pe.host&&Pe.host.indexOf("@")>0?Pe.host.split("@"):!1;at&&(Pe.auth=at.shift(),Pe.host=Pe.hostname=at.shift())}return Pe.search=je.search,Pe.query=je.query,(!te.isNull(Pe.pathname)||!te.isNull(Pe.search))&&(Pe.path=(Pe.pathname?Pe.pathname:"")+(Pe.search?Pe.search:"")),Pe.href=Pe.format(),Pe}if(!ft.length)return Pe.pathname=null,Pe.search?Pe.path="/"+Pe.search:Pe.path=null,Pe.href=Pe.format(),Pe;for(var Be=ft.slice(-1)[0],et=(Pe.host||je.host||ft.length>1)&&(Be==="."||Be==="..")||Be==="",vt=0,gt=ft.length;gt>=0;gt--)Be=ft[gt],Be==="."?ft.splice(gt,1):Be===".."?(ft.splice(gt,1),vt++):vt&&(ft.splice(gt,1),vt--);if(!rt&&!pt)for(;vt--;vt)ft.unshift("..");rt&&ft[0]!==""&&(!ft[0]||ft[0].charAt(0)!=="/")&&ft.unshift(""),et&&ft.join("/").substr(-1)!=="/"&&ft.push("");var dt=ft[0]===""||ft[0]&&ft[0].charAt(0)==="/";if(Ie){Pe.hostname=Pe.host=dt?"":ft.length?ft.shift():"";var at=Pe.host&&Pe.host.indexOf("@")>0?Pe.host.split("@"):!1;at&&(Pe.auth=at.shift(),Pe.host=Pe.hostname=at.shift())}return rt=rt||Pe.host&&ft.length,rt&&!dt&&ft.unshift(""),ft.length?Pe.pathname=ft.join("/"):(Pe.pathname=null,Pe.path=null),(!te.isNull(Pe.pathname)||!te.isNull(Pe.search))&&(Pe.path=(Pe.pathname?Pe.pathname:"")+(Pe.search?Pe.search:"")),Pe.auth=je.auth||Pe.auth,Pe.slashes=Pe.slashes||je.slashes,Pe.href=Pe.format(),Pe},se.prototype.parseHost=function(){var je=this.host,ke=x.exec(je);ke&&(ke=ke[0],ke!==":"&&(this.port=ke.substr(1)),je=je.substr(0,je.length-ke.length)),je&&(this.hostname=je)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(a,he,de){"use strict";var ee=a("@babel/runtime/helpers/interopRequireDefault"),oe=ee(a("@babel/runtime/helpers/typeof"));he.exports={isString:function(te){return typeof te=="string"},isObject:function(te){return(0,oe.default)(te)==="object"&&te!==null},isNull:function(te){return te===null},isNullOrUndefined:function(te){return te==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(a,he,de){"use strict";a("core-js/modules/es.number.constructor.js"),de.encodeURIComponent=function(ee){try{return encodeURIComponent(ee)}catch(oe){return ee}},de.escape=a("escape-html"),de.timestamp=function(oe){if(oe){var ne=oe;return typeof ne=="string"&&(ne=Number(ne)),String(oe).length===10&&(ne*=1e3),new Date(ne)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(a,he,de){(function(ee,oe){(function(){"use strict";var ne=a("@babel/runtime/helpers/interopRequireDefault"),te=ne(a("@babel/runtime/helpers/typeof"));a("core-js/modules/es.string.trim.js"),a("core-js/modules/es.regexp.exec.js"),a("core-js/modules/es.string.split.js"),a("core-js/modules/es.object.to-string.js"),a("core-js/modules/es.promise.js"),a("core-js/modules/es.function.name.js"),a("core-js/modules/es.array.concat.js");var se=a("util"),z=a("url"),x=a("http"),b=a("https"),E=a("debug")("urllib"),re=a("humanize-ms"),ae=0,le=Math.pow(2,31)-10,fe=/^https?:\/\//i;function ce(we,xe){return we===void 0?xe:we}function ue(we){return we?we.split(";")[0].trim().toLowerCase():""}function ge(we,xe){return function(ve,Se,be){if(ve)return xe(ve);we({data:Se,status:be.statusCode,headers:be.headers,res:be})}}de.TIMEOUTS=[re("300s"),re("300s")];var _e=["json","text"];de.request=function(xe,ve,Se){return arguments.length===2&&typeof ve=="function"&&(Se=ve,ve=null),typeof Se=="function"?de.requestWithCallback(xe,ve,Se):new Promise(function(be,Ae){de.requestWithCallback(xe,ve,ge(be,Ae))})},de.requestWithCallback=function(xe,ve,Se){if(!xe||typeof xe!="string"&&(0,te.default)(xe)!=="object"){var be=se.format("expect request url to be a string or a http request options, but got %j",xe);throw new Error(be)}arguments.length===2&&typeof ve=="function"&&(Se=ve,ve=null),ve=ve||{},ae>=le&&(ae=0);var Ae=++ae;ve.requestUrls=ve.requestUrls||[];var Te={requestId:Ae,url:xe,args:ve,ctx:ve.ctx};ve.emitter&&ve.emitter.emit("request",Te),ve.timeout=ve.timeout||de.TIMEOUTS,ve.maxRedirects=ve.maxRedirects||10,ve.streaming=ve.streaming||ve.customResponse;var je=Date.now(),ke;typeof xe=="string"?(fe.test(xe)||(xe="https://"+xe),ke=z.parse(xe)):ke=xe;var Pe=(ve.type||ve.method||ke.method||"GET").toUpperCase(),Oe=ke.port||80,He=x,Ge=ce(ve.agent,de.agent),tt=ve.fixJSONCtlChars;ke.protocol==="https:"&&(He=b,Ge=ce(ve.httpsAgent,de.httpsAgent),ke.port||(Oe=443));var Me={host:ke.hostname||ke.host||"localhost",path:ke.path||"/",method:Pe,port:Oe,agent:Ge,headers:ve.headers||{},lookup:ve.lookup};Array.isArray(ve.timeout)?Me.requestTimeout=ve.timeout[ve.timeout.length-1]:typeof ve.timeout!="undefined"&&(Me.requestTimeout=ve.timeout);var We=ve.auth||ke.auth;We&&(Me.auth=We);var it=ve.content||ve.data,ut=Pe==="GET"||Pe==="HEAD"||ve.dataAsQueryString;if(!ve.content&&it&&!(typeof it=="string"||oe.isBuffer(it)))if(ut)it=ve.nestedQuerystring?qs.stringify(it):querystring.stringify(it);else{var $e=Me.headers["Content-Type"]||Me.headers["content-type"];$e||(ve.contentType==="json"?$e="application/json":$e="application/x-www-form-urlencoded",Me.headers["Content-Type"]=$e),ue($e)==="application/json"?it=JSON.stringify(it):it=ve.nestedQuerystring?qs.stringify(it):querystring.stringify(it)}ut&&it&&(Me.path+=(ke.query?"&":"?")+it,it=null);var Je=0;if(it){var Xe=it.length;oe.isBuffer(it)||(Xe=oe.byteLength(it)),Je=Me.headers["Content-Length"]=Xe}ve.dataType==="json"&&(Me.headers.Accept="application/json"),typeof ve.beforeRequest=="function"&&ve.beforeRequest(Me);var Qe=null,st=null,rt=null,pt=!1,ft=!1,qe=0,Ie=-1,at=!1,Be="",et="",vt=null;ve.timing&&(vt={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function gt(){Qe&&(clearTimeout(Qe),Qe=null)}function dt(){st&&(clearTimeout(st),st=null)}function Ve(xt,jt,Tt){if(dt(),!Se){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Ae,ee.pid,Me.method,xe),xt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),Ae,ee.pid,xt.name,xt.message,xt.stack);return}var wt=Se;Se=null;var It={};Tt&&(Ie=Tt.statusCode,It=Tt.headers);var Bt=Date.now()-je;vt&&(vt.contentDownload=Bt),E("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Bt,qe,Ie,Me.method,Me.host,Me.path,ft,vt);var Wt={status:Ie,statusCode:Ie,headers:It,size:qe,aborted:at,rt:Bt,keepAliveSocket:ft,data:jt,requestUrls:ve.requestUrls,timing:vt,remoteAddress:Be,remotePort:et};if(xt){var Qt="";Ge&&typeof Ge.getCurrentStatus=="function"&&(Qt=", agent status: "+JSON.stringify(Ge.getCurrentStatus())),xt.message+=", "+Me.method+" "+xe+" "+Ie+" (connected: "+pt+", keepalive socket: "+ft+Qt+`)
headers: `+JSON.stringify(It),xt.data=jt,xt.path=Me.path,xt.status=Ie,xt.headers=It,xt.res=Wt}wt(xt,jt,ve.streaming?Tt:Wt),ve.emitter&&(Te.url=xe,Te.socket=Fe&&Fe.connection,Te.options=Me,Te.size=Je,ve.emitter.emit("response",{requestId:Ae,error:xt,ctx:ve.ctx,req:Te,res:Wt}))}function Ne(xt){var jt=null;if(ve.followRedirect&&statuses.redirect[xt.statusCode]){ve._followRedirectCount=(ve._followRedirectCount||0)+1;var Tt=xt.headers.location;if(!Tt)jt=new Error("Got statusCode "+xt.statusCode+" but cannot resolve next location from headers"),jt.name="FollowRedirectError";else if(ve._followRedirectCount>ve.maxRedirects)jt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+xe),jt.name="MaxRedirectError";else{var wt=ve.formatRedirectUrl?ve.formatRedirectUrl(xe,Tt):z.resolve(xe,Tt);E("Request#%d %s: `redirected` from %s to %s",Ae,Me.path,xe,wt),dt(),ve.headers&&ve.headers.Host&&fe.test(Tt)&&(ve.headers.Host=null);var It=Se;return Se=null,de.requestWithCallback(wt,ve,It),{redirect:!0,error:null}}}return{redirect:!1,error:jt}}ve.gzip&&!Me.headers["Accept-Encoding"]&&!Me.headers["accept-encoding"]&&(Me.headers["Accept-Encoding"]="gzip");function Ye(xt,jt,Tt){var wt=xt.headers["content-encoding"];return Tt(null,jt,wt)}var ot=ve.writeStream;E("Request#%d %s %s with headers %j, options.path: %s",Ae,Pe,xe,Me.headers,Me.path),ve.requestUrls.push(xe);function Ue(xt){if(vt&&(vt.waiting=Date.now()-je),E("Request#%d %s `req response` event emit: status %d, headers: %j",Ae,xe,xt.statusCode,xt.headers),ve.streaming){var jt=Ne(xt);if(jt.redirect){xt.resume();return}return jt.error?(xt.resume(),Ve(jt.error,null,xt)):Ve(null,null,xt)}if(xt.on("close",function(){E("Request#%d %s: `res close` event emit, total size %d",Ae,xe,qe)}),xt.on("error",function(){E("Request#%d %s: `res error` event emit, total size %d",Ae,xe,qe)}),xt.on("aborted",function(){at=!0,E("Request#%d %s: `res aborted` event emit, total size %d",Ae,xe,qe)}),ot){var Tt=Ne(xt);if(Tt.redirect){xt.resume();return}return Tt.error?(xt.resume(),ot.end(),Ve(Tt.error,null,xt)):(ve.consumeWriteStream===!1?xt.on("end",Ve.bind(null,null,null,xt)):ot.on("close",function(){E("Request#%d %s: writeStream close event emitted",Ae,xe),Ve(rt||null,null,xt)}),xt.pipe(ot))}var wt=[];xt.on("data",function(It){E("Request#%d %s: `res data` event emit, size %d",Ae,xe,It.length),qe+=It.length,wt.push(It)}),xt.on("end",function(){var It=oe.concat(wt,qe);if(E("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Ae,xe,qe,xt._dumped),rt)return Ve(rt,It,xt);var Bt=Ne(xt);if(Bt.error)return Ve(Bt.error,It,xt);Bt.redirect||Ye(xt,It,function(Wt,Qt,dr){if(Wt)return Ve(Wt,It,xt);if(!dr&&_e.indexOf(ve.dataType)>=0){try{Qt=decodeBodyByCharset(Qt,xt)}catch(Or){return E("decodeBodyByCharset error: %s",Or),Ve(null,Qt,xt)}if(ve.dataType==="json")if(qe===0)Qt=null;else{var lr=parseJSON(Qt,tt);lr.error?Wt=lr.error:Qt=lr.data}}at&&E("Request#%d %s: Remote socket was terminated before `response.end()` was called",Ae,xe),Ve(Wt,Qt,xt)})})}var Le,De;Array.isArray(ve.timeout)?(Le=re(ve.timeout[0]),De=re(ve.timeout[1])):Le=De=re(ve.timeout),E("ConnectTimeout: %d, ResponseTimeout: %d",Le,De);function Ze(){E("Connect timer ticking, timeout: %d",Le),Qe=setTimeout(function(){Qe=null,Ie===-1&&(Ie=-2);var xt="Connect timeout for "+Le+"ms",jt="ConnectionTimeoutError";Fe.socket||(jt="SocketAssignTimeoutError",xt+=", working sockets is full"),rt=new Error(xt),rt.name=jt,rt.requestId=Ae,E("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Ae,xe,rt.name,xt,pt),yt()},Le)}function lt(){E("Response timer ticking, timeout: %d",De),st=setTimeout(function(){st=null;var xt="Response timeout for "+De+"ms",jt="ResponseTimeoutError";rt=new Error(xt),rt.name=jt,rt.requestId=Ae,E("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Ae,xe,rt.name,xt,pt),yt()},De)}var Fe;Me.mode=ve.mode?ve.mode:"";try{Fe=He.request(Me,Ue)}catch(xt){return Ve(xt)}typeof window=="undefined"?Ze():Fe.on("requestTimeout",function(){Ie===-1&&(Ie=-2);var xt="Connect timeout for "+Le+"ms",jt="ConnectionTimeoutError";rt=new Error(xt),rt.name=jt,rt.requestId=Ae,yt()});function yt(){E("Request#%d %s abort, connected: %s",Ae,xe,pt),Fe.socket||(rt.noSocket=!0,Ve(rt)),Fe.abort()}return vt&&Fe.on("finish",function(){vt.requestSent=Date.now()-je}),Fe.once("socket",function(xt){vt&&(vt.queuing=Date.now()-je);var jt=xt.readyState;if(jt==="opening"){xt.once("lookup",function(Tt,wt,It){E("Request#%d %s lookup: %s, %s, %s",Ae,xe,Tt,wt,It),vt&&(vt.dnslookup=Date.now()-je),wt&&(Be=wt)}),xt.once("connect",function(){vt&&(vt.connected=Date.now()-je),gt(),lt(),E("Request#%d %s new socket connected",Ae,xe),pt=!0,Be||(Be=xt.remoteAddress),et=xt.remotePort});return}E("Request#%d %s reuse socket connected, readyState: %s",Ae,xe,jt),pt=!0,ft=!0,Be||(Be=xt.remoteAddress),et=xt.remotePort,gt(),lt()}),Fe.on("error",function(xt){(xt.name==="Error"||xt.name==="TypeError")&&(xt.name=pt?"ResponseError":"RequestError"),xt.message+=' (req "error")',E("Request#%d %s `req error` event emit, %s: %s",Ae,xe,xt.name,xt.message),Ve(rt||xt)}),ot&&ot.once("error",function(xt){xt.message+=' (writeStream "error")',rt=xt,E("Request#%d %s `writeStream error` event emit, %s: %s",Ae,xe,xt.name,xt.message),yt()}),ve.stream?(ve.stream.pipe(Fe),ve.stream.once("error",function(xt){xt.message+=' (stream "error")',rt=xt,E("Request#%d %s `readStream error` event emit, %s: %s",Ae,xe,xt.name,xt.message),yt()})):Fe.end(it),Fe.requestId=Ae,Fe}}).call(this)}).call(this,a("_process"),a("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},57780:function(bt,mt,Ce){"use strict";Ce.r(mt),Ce.d(mt,{clsx:function(){return ze}});function ye(a){var he,de,ee="";if(typeof a=="string"||typeof a=="number")ee+=a;else if(typeof a=="object")if(Array.isArray(a))for(he=0;he<a.length;he++)a[he]&&(de=ye(a[he]))&&(ee&&(ee+=" "),ee+=de);else for(he in a)a[he]&&(ee&&(ee+=" "),ee+=he);return ee}function ze(){for(var a,he,de=0,ee="";de<arguments.length;)(a=arguments[de++])&&(he=ye(a))&&(ee&&(ee+=" "),ee+=he);return ee}mt.default=ze},99498:function(bt,mt,Ce){(function(ye){ye(Ce(89780))})(function(ye){ye.defineOption("placeholder","",function(ne,te,se){var z=se&&se!=ye.Init;if(te&&!z)ne.on("blur",de),ne.on("change",ee),ne.on("swapDoc",ee),ye.on(ne.getInputField(),"compositionupdate",ne.state.placeholderCompose=function(){he(ne)}),ee(ne);else if(!te&&z){ne.off("blur",de),ne.off("change",ee),ne.off("swapDoc",ee),ye.off(ne.getInputField(),"compositionupdate",ne.state.placeholderCompose),ze(ne);var x=ne.getWrapperElement();x.className=x.className.replace(" CodeMirror-empty","")}te&&!ne.hasFocus()&&de(ne)});function ze(ne){ne.state.placeholder&&(ne.state.placeholder.parentNode.removeChild(ne.state.placeholder),ne.state.placeholder=null)}function a(ne){ze(ne);var te=ne.state.placeholder=document.createElement("pre");te.style.cssText="height: 0; overflow: visible",te.style.direction=ne.getOption("direction"),te.className="CodeMirror-placeholder CodeMirror-line-like";var se=ne.getOption("placeholder");typeof se=="string"&&(se=document.createTextNode(se)),te.appendChild(se),ne.display.lineSpace.insertBefore(te,ne.display.lineSpace.firstChild)}function he(ne){setTimeout(function(){var te=!1,se=ne.getInputField();se.nodeName=="TEXTAREA"?te=!se.value:ne.lineCount()==1&&(te=!/[^\u200b]/.test(se.querySelector(".CodeMirror-line").textContent)),te?a(ne):ze(ne)},20)}function de(ne){oe(ne)&&a(ne)}function ee(ne){var te=ne.getWrapperElement(),se=oe(ne);te.className=te.className.replace(" CodeMirror-empty","")+(se?" CodeMirror-empty":""),se?a(ne):ze(ne)}function oe(ne){return ne.lineCount()===1&&ne.getLine(0)===""}})},25717:function(bt,mt,Ce){(function(ye){ye(Ce(89780))})(function(ye){var ze={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},a=ye.Pos;ye.defineOption("autoCloseBrackets",!1,function(re,ae,le){le&&le!=ye.Init&&(re.removeKeyMap(de),re.state.closeBrackets=null),ae&&(ee(he(ae,"pairs")),re.state.closeBrackets=ae,re.addKeyMap(de))});function he(re,ae){return ae=="pairs"&&typeof re=="string"?re:typeof re=="object"&&re[ae]!=null?re[ae]:ze[ae]}var de={Backspace:te,Enter:se};function ee(re){for(var ae=0;ae<re.length;ae++){var le=re.charAt(ae),fe="'"+le+"'";de[fe]||(de[fe]=oe(le))}}ee(ze.pairs+"`");function oe(re){return function(ae){return x(ae,re)}}function ne(re){var ae=re.state.closeBrackets;if(!ae||ae.override)return ae;var le=re.getModeAt(re.getCursor());return le.closeBrackets||ae}function te(re){var ae=ne(re);if(!ae||re.getOption("disableInput"))return ye.Pass;for(var le=he(ae,"pairs"),fe=re.listSelections(),ce=0;ce<fe.length;ce++){if(!fe[ce].empty())return ye.Pass;var ue=b(re,fe[ce].head);if(!ue||le.indexOf(ue)%2!=0)return ye.Pass}for(var ce=fe.length-1;ce>=0;ce--){var ge=fe[ce].head;re.replaceRange("",a(ge.line,ge.ch-1),a(ge.line,ge.ch+1),"+delete")}}function se(re){var ae=ne(re),le=ae&&he(ae,"explode");if(!le||re.getOption("disableInput"))return ye.Pass;for(var fe=re.listSelections(),ce=0;ce<fe.length;ce++){if(!fe[ce].empty())return ye.Pass;var ue=b(re,fe[ce].head);if(!ue||le.indexOf(ue)%2!=0)return ye.Pass}re.operation(function(){var ge=re.lineSeparator()||`
`;re.replaceSelection(ge+ge,null),re.execCommand("goCharLeft"),fe=re.listSelections();for(var _e=0;_e<fe.length;_e++){var we=fe[_e].head.line;re.indentLine(we,null,!0),re.indentLine(we+1,null,!0)}})}function z(re){var ae=ye.cmpPos(re.anchor,re.head)>0;return{anchor:new a(re.anchor.line,re.anchor.ch+(ae?-1:1)),head:new a(re.head.line,re.head.ch+(ae?1:-1))}}function x(re,ae){var le=ne(re);if(!le||re.getOption("disableInput"))return ye.Pass;var fe=he(le,"pairs"),ce=fe.indexOf(ae);if(ce==-1)return ye.Pass;for(var ue=he(le,"closeBefore"),ge=he(le,"triples"),_e=fe.charAt(ce+1)==ae,we=re.listSelections(),xe=ce%2==0,ve,Se=0;Se<we.length;Se++){var be=we[Se],Ae=be.head,Te,je=re.getRange(Ae,a(Ae.line,Ae.ch+1));if(xe&&!be.empty())Te="surround";else if((_e||!xe)&&je==ae)_e&&E(re,Ae)?Te="both":ge.indexOf(ae)>=0&&re.getRange(Ae,a(Ae.line,Ae.ch+3))==ae+ae+ae?Te="skipThree":Te="skip";else if(_e&&Ae.ch>1&&ge.indexOf(ae)>=0&&re.getRange(a(Ae.line,Ae.ch-2),Ae)==ae+ae){if(Ae.ch>2&&/\bstring/.test(re.getTokenTypeAt(a(Ae.line,Ae.ch-2))))return ye.Pass;Te="addFour"}else if(_e){var ke=Ae.ch==0?" ":re.getRange(a(Ae.line,Ae.ch-1),Ae);if(!ye.isWordChar(je)&&ke!=ae&&!ye.isWordChar(ke))Te="both";else return ye.Pass}else if(xe&&(je.length===0||/\s/.test(je)||ue.indexOf(je)>-1))Te="both";else return ye.Pass;if(!ve)ve=Te;else if(ve!=Te)return ye.Pass}var Pe=ce%2?fe.charAt(ce-1):ae,Oe=ce%2?ae:fe.charAt(ce+1);re.operation(function(){if(ve=="skip")re.execCommand("goCharRight");else if(ve=="skipThree")for(var He=0;He<3;He++)re.execCommand("goCharRight");else if(ve=="surround"){for(var Ge=re.getSelections(),He=0;He<Ge.length;He++)Ge[He]=Pe+Ge[He]+Oe;re.replaceSelections(Ge,"around"),Ge=re.listSelections().slice();for(var He=0;He<Ge.length;He++)Ge[He]=z(Ge[He]);re.setSelections(Ge)}else ve=="both"?(re.replaceSelection(Pe+Oe,null),re.triggerElectric(Pe+Oe),re.execCommand("goCharLeft")):ve=="addFour"&&(re.replaceSelection(Pe+Pe+Pe+Pe,"before"),re.execCommand("goCharRight"))})}function b(re,ae){var le=re.getRange(a(ae.line,ae.ch-1),a(ae.line,ae.ch+1));return le.length==2?le:null}function E(re,ae){var le=re.getTokenAt(a(ae.line,ae.ch+1));return/\bstring/.test(le.type)&&le.start==ae.ch&&(ae.ch==0||!/\bstring/.test(re.getTokenTypeAt(ae)))}})},6313:function(bt,mt,Ce){(function(ye){ye(Ce(89780),Ce(32855))})(function(ye){ye.defineOption("autoCloseTags",!1,function(te,se,z){if(z!=ye.Init&&z&&te.removeKeyMap("autoCloseTags"),!!se){var x={name:"autoCloseTags"};(typeof se!="object"||se.whenClosing!==!1)&&(x["'/'"]=function(b){return ee(b)}),(typeof se!="object"||se.whenOpening!==!1)&&(x["'>'"]=function(b){return he(b)}),te.addKeyMap(x)}});var ze=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],a=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function he(te){if(te.getOption("disableInput"))return ye.Pass;for(var se=te.listSelections(),z=[],x=te.getOption("autoCloseTags"),b=0;b<se.length;b++){if(!se[b].empty())return ye.Pass;var E=se[b].head,re=te.getTokenAt(E),ae=ye.innerMode(te.getMode(),re.state),le=ae.state,fe=ae.mode.xmlCurrentTag&&ae.mode.xmlCurrentTag(le),ce=fe&&fe.name;if(!ce)return ye.Pass;var ue=ae.mode.configuration=="html",ge=typeof x=="object"&&x.dontCloseTags||ue&&ze,_e=typeof x=="object"&&x.indentTags||ue&&a;re.end>E.ch&&(ce=ce.slice(0,ce.length-re.end+E.ch));var we=ce.toLowerCase();if(!ce||re.type=="string"&&(re.end!=E.ch||!/[\"\']/.test(re.string.charAt(re.string.length-1))||re.string.length==1)||re.type=="tag"&&fe.close||re.string.indexOf("/")==E.ch-re.start-1||ge&&oe(ge,we)>-1||ne(te,ae.mode.xmlCurrentContext&&ae.mode.xmlCurrentContext(le)||[],ce,E,!0))return ye.Pass;var xe=typeof x=="object"&&x.emptyTags;if(xe&&oe(xe,ce)>-1){z[b]={text:"/>",newPos:ye.Pos(E.line,E.ch+2)};continue}var ve=_e&&oe(_e,we)>-1;z[b]={indent:ve,text:">"+(ve?`
`:"")+"</"+ce+">",newPos:ve?ye.Pos(E.line+1,0):ye.Pos(E.line,E.ch+1)}}for(var Se=typeof x=="object"&&x.dontIndentOnAutoClose,b=se.length-1;b>=0;b--){var be=z[b];te.replaceRange(be.text,se[b].head,se[b].anchor,"+insert");var Ae=te.listSelections().slice(0);Ae[b]={head:be.newPos,anchor:be.newPos},te.setSelections(Ae),!Se&&be.indent&&(te.indentLine(be.newPos.line,null,!0),te.indentLine(be.newPos.line+1,null,!0))}}function de(te,se){for(var z=te.listSelections(),x=[],b=se?"/":"</",E=te.getOption("autoCloseTags"),re=typeof E=="object"&&E.dontIndentOnSlash,ae=0;ae<z.length;ae++){if(!z[ae].empty())return ye.Pass;var le=z[ae].head,fe=te.getTokenAt(le),ce=ye.innerMode(te.getMode(),fe.state),ue=ce.state;if(se&&(fe.type=="string"||fe.string.charAt(0)!="<"||fe.start!=le.ch-1))return ye.Pass;var ge,_e=ce.mode.name!="xml"&&te.getMode().name=="htmlmixed";if(_e&&ce.mode.name=="javascript")ge=b+"script";else if(_e&&ce.mode.name=="css")ge=b+"style";else{var we=ce.mode.xmlCurrentContext&&ce.mode.xmlCurrentContext(ue);if(!we||we.length&&ne(te,we,we[we.length-1],le))return ye.Pass;ge=b+we[we.length-1]}te.getLine(le.line).charAt(fe.end)!=">"&&(ge+=">"),x[ae]=ge}if(te.replaceSelections(x),z=te.listSelections(),!re)for(var ae=0;ae<z.length;ae++)(ae==z.length-1||z[ae].head.line<z[ae+1].head.line)&&te.indentLine(z[ae].head.line)}function ee(te){return te.getOption("disableInput")?ye.Pass:de(te,!0)}ye.commands.closeTag=function(te){return de(te)};function oe(te,se){if(te.indexOf)return te.indexOf(se);for(var z=0,x=te.length;z<x;++z)if(te[z]==se)return z;return-1}function ne(te,se,z,x,b){if(!ye.scanForClosingTag)return!1;var E=Math.min(te.lastLine()+1,x.line+500),re=ye.scanForClosingTag(te,x,null,E);if(!re||re.tag!=z)return!1;for(var ae=b?1:0,le=se.length-1;le>=0&&se[le]==z;le--)++ae;x=re.to;for(var le=1;le<ae;le++){var fe=ye.scanForClosingTag(te,x,null,E);if(!fe||fe.tag!=z)return!1;x=fe.to}return!0}})},32855:function(bt,mt,Ce){(function(ye){ye(Ce(89780))})(function(ye){"use strict";var ze=ye.Pos;function a(le,fe){return le.line-fe.line||le.ch-fe.ch}var he="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",de=he+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ee=new RegExp("<(/?)(["+he+"]["+de+"]*)","g");function oe(le,fe,ce,ue){this.line=fe,this.ch=ce,this.cm=le,this.text=le.getLine(fe),this.min=ue?Math.max(ue.from,le.firstLine()):le.firstLine(),this.max=ue?Math.min(ue.to-1,le.lastLine()):le.lastLine()}function ne(le,fe){var ce=le.cm.getTokenTypeAt(ze(le.line,fe));return ce&&/\btag\b/.test(ce)}function te(le){if(!(le.line>=le.max))return le.ch=0,le.text=le.cm.getLine(++le.line),!0}function se(le){if(!(le.line<=le.min))return le.text=le.cm.getLine(--le.line),le.ch=le.text.length,!0}function z(le){for(;;){var fe=le.text.indexOf(">",le.ch);if(fe==-1){if(te(le))continue;return}if(!ne(le,fe+1)){le.ch=fe+1;continue}var ce=le.text.lastIndexOf("/",fe),ue=ce>-1&&!/\S/.test(le.text.slice(ce+1,fe));return le.ch=fe+1,ue?"selfClose":"regular"}}function x(le){for(;;){var fe=le.ch?le.text.lastIndexOf("<",le.ch-1):-1;if(fe==-1){if(se(le))continue;return}if(!ne(le,fe+1)){le.ch=fe;continue}ee.lastIndex=fe,le.ch=fe;var ce=ee.exec(le.text);if(ce&&ce.index==fe)return ce}}function b(le){for(;;){ee.lastIndex=le.ch;var fe=ee.exec(le.text);if(!fe){if(te(le))continue;return}if(!ne(le,fe.index+1)){le.ch=fe.index+1;continue}return le.ch=fe.index+fe[0].length,fe}}function E(le){for(;;){var fe=le.ch?le.text.lastIndexOf(">",le.ch-1):-1;if(fe==-1){if(se(le))continue;return}if(!ne(le,fe+1)){le.ch=fe;continue}var ce=le.text.lastIndexOf("/",fe),ue=ce>-1&&!/\S/.test(le.text.slice(ce+1,fe));return le.ch=fe+1,ue?"selfClose":"regular"}}function re(le,fe){for(var ce=[];;){var ue=b(le),ge,_e=le.line,we=le.ch-(ue?ue[0].length:0);if(!ue||!(ge=z(le)))return;if(ge!="selfClose")if(ue[1]){for(var xe=ce.length-1;xe>=0;--xe)if(ce[xe]==ue[2]){ce.length=xe;break}if(xe<0&&(!fe||fe==ue[2]))return{tag:ue[2],from:ze(_e,we),to:ze(le.line,le.ch)}}else ce.push(ue[2])}}function ae(le,fe){for(var ce=[];;){var ue=E(le);if(!ue)return;if(ue=="selfClose"){x(le);continue}var ge=le.line,_e=le.ch,we=x(le);if(!we)return;if(we[1])ce.push(we[2]);else{for(var xe=ce.length-1;xe>=0;--xe)if(ce[xe]==we[2]){ce.length=xe;break}if(xe<0&&(!fe||fe==we[2]))return{tag:we[2],from:ze(le.line,le.ch),to:ze(ge,_e)}}}}ye.registerHelper("fold","xml",function(le,fe){for(var ce=new oe(le,fe.line,0);;){var ue=b(ce);if(!ue||ce.line!=fe.line)return;var ge=z(ce);if(!ge)return;if(!ue[1]&&ge!="selfClose"){var _e=ze(ce.line,ce.ch),we=re(ce,ue[2]);return we&&a(we.from,_e)>0?{from:_e,to:we.from}:null}}}),ye.findMatchingTag=function(le,fe,ce){var ue=new oe(le,fe.line,fe.ch,ce);if(!(ue.text.indexOf(">")==-1&&ue.text.indexOf("<")==-1)){var ge=z(ue),_e=ge&&ze(ue.line,ue.ch),we=ge&&x(ue);if(!(!ge||!we||a(ue,fe)>0)){var xe={from:ze(ue.line,ue.ch),to:_e,tag:we[2]};return ge=="selfClose"?{open:xe,close:null,at:"open"}:we[1]?{open:ae(ue,we[2]),close:xe,at:"close"}:(ue=new oe(le,_e.line,_e.ch,ce),{open:xe,close:re(ue,we[2]),at:"open"})}}},ye.findEnclosingTag=function(le,fe,ce,ue){for(var ge=new oe(le,fe.line,fe.ch,ce);;){var _e=ae(ge,ue);if(!_e)break;var we=new oe(le,fe.line,fe.ch,ce),xe=re(we,_e.tag);if(xe)return{open:_e,close:xe}}},ye.scanForClosingTag=function(le,fe,ce,ue){var ge=new oe(le,fe.line,fe.ch,ue?{from:0,to:ue}:null);return re(ge,ce)}})},89780:function(bt){(function(mt,Ce){bt.exports=Ce()})(this,function(){"use strict";var mt=navigator.userAgent,Ce=navigator.platform,ye=/gecko\/\d/i.test(mt),ze=/MSIE \d/.test(mt),a=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(mt),he=/Edge\/(\d+)/.exec(mt),de=ze||a||he,ee=de&&(ze?document.documentMode||6:+(he||a)[1]),oe=!he&&/WebKit\//.test(mt),ne=oe&&/Qt\/\d+\.\d+/.test(mt),te=!he&&/Chrome\//.test(mt),se=/Opera\//.test(mt),z=/Apple Computer/.test(navigator.vendor),x=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(mt),b=/PhantomJS/.test(mt),E=!he&&/AppleWebKit/.test(mt)&&/Mobile\/\w+/.test(mt),re=/Android/.test(mt),ae=E||re||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(mt),le=E||/Mac/.test(Ce),fe=/\bCrOS\b/.test(mt),ce=/win/i.test(Ce),ue=se&&mt.match(/Version\/(\d*\.\d*)/);ue&&(ue=Number(ue[1])),ue&&ue>=15&&(se=!1,oe=!0);var ge=le&&(ne||se&&(ue==null||ue<12.11)),_e=ye||de&&ee>=9;function we(y){return new RegExp("(^|\\s)"+y+"(?:$|\\s)\\s*")}var xe=function(y,ie){var me=y.className,pe=we(ie).exec(me);if(pe){var Ee=me.slice(pe.index+pe[0].length);y.className=me.slice(0,pe.index)+(Ee?pe[1]+Ee:"")}};function ve(y){for(var ie=y.childNodes.length;ie>0;--ie)y.removeChild(y.firstChild);return y}function Se(y,ie){return ve(y).appendChild(ie)}function be(y,ie,me,pe){var Ee=document.createElement(y);if(me&&(Ee.className=me),pe&&(Ee.style.cssText=pe),typeof ie=="string")Ee.appendChild(document.createTextNode(ie));else if(ie)for(var Re=0;Re<ie.length;++Re)Ee.appendChild(ie[Re]);return Ee}function Ae(y,ie,me,pe){var Ee=be(y,ie,me,pe);return Ee.setAttribute("role","presentation"),Ee}var Te;document.createRange?Te=function(y,ie,me,pe){var Ee=document.createRange();return Ee.setEnd(pe||y,me),Ee.setStart(y,ie),Ee}:Te=function(y,ie,me){var pe=document.body.createTextRange();try{pe.moveToElementText(y.parentNode)}catch(Ee){return pe}return pe.collapse(!0),pe.moveEnd("character",me),pe.moveStart("character",ie),pe};function je(y,ie){if(ie.nodeType==3&&(ie=ie.parentNode),y.contains)return y.contains(ie);do if(ie.nodeType==11&&(ie=ie.host),ie==y)return!0;while(ie=ie.parentNode)}function ke(){var y;try{y=document.activeElement}catch(ie){y=document.body||null}for(;y&&y.shadowRoot&&y.shadowRoot.activeElement;)y=y.shadowRoot.activeElement;return y}function Pe(y,ie){var me=y.className;we(ie).test(me)||(y.className+=(me?" ":"")+ie)}function Oe(y,ie){for(var me=y.split(" "),pe=0;pe<me.length;pe++)me[pe]&&!we(me[pe]).test(ie)&&(ie+=" "+me[pe]);return ie}var He=function(y){y.select()};E?He=function(y){y.selectionStart=0,y.selectionEnd=y.value.length}:de&&(He=function(y){try{y.select()}catch(ie){}});function Ge(y){var ie=Array.prototype.slice.call(arguments,1);return function(){return y.apply(null,ie)}}function tt(y,ie,me){ie||(ie={});for(var pe in y)y.hasOwnProperty(pe)&&(me!==!1||!ie.hasOwnProperty(pe))&&(ie[pe]=y[pe]);return ie}function Me(y,ie,me,pe,Ee){ie==null&&(ie=y.search(/[^\s\u00a0]/),ie==-1&&(ie=y.length));for(var Re=pe||0,Ke=Ee||0;;){var nt=y.indexOf(" ",Re);if(nt<0||nt>=ie)return Ke+(ie-Re);Ke+=nt-Re,Ke+=me-Ke%me,Re=nt+1}}var We=function(){this.id=null,this.f=null,this.time=0,this.handler=Ge(this.onTimeout,this)};We.prototype.onTimeout=function(y){y.id=0,y.time<=+new Date?y.f():setTimeout(y.handler,y.time-+new Date)},We.prototype.set=function(y,ie){this.f=ie;var me=+new Date+y;(!this.id||me<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,y),this.time=me)};function it(y,ie){for(var me=0;me<y.length;++me)if(y[me]==ie)return me;return-1}var ut=50,$e={toString:function(){return"CodeMirror.Pass"}},Je={scroll:!1},Xe={origin:"*mouse"},Qe={origin:"+move"};function st(y,ie,me){for(var pe=0,Ee=0;;){var Re=y.indexOf(" ",pe);Re==-1&&(Re=y.length);var Ke=Re-pe;if(Re==y.length||Ee+Ke>=ie)return pe+Math.min(Ke,ie-Ee);if(Ee+=Re-pe,Ee+=me-Ee%me,pe=Re+1,Ee>=ie)return pe}}var rt=[""];function pt(y){for(;rt.length<=y;)rt.push(ft(rt)+" ");return rt[y]}function ft(y){return y[y.length-1]}function qe(y,ie){for(var me=[],pe=0;pe<y.length;pe++)me[pe]=ie(y[pe],pe);return me}function Ie(y,ie,me){for(var pe=0,Ee=me(ie);pe<y.length&&me(y[pe])<=Ee;)pe++;y.splice(pe,0,ie)}function at(){}function Be(y,ie){var me;return Object.create?me=Object.create(y):(at.prototype=y,me=new at),ie&&tt(ie,me),me}var et=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function vt(y){return/\w/.test(y)||y>"\x80"&&(y.toUpperCase()!=y.toLowerCase()||et.test(y))}function gt(y,ie){return ie?ie.source.indexOf("\\w")>-1&&vt(y)?!0:ie.test(y):vt(y)}function dt(y){for(var ie in y)if(y.hasOwnProperty(ie)&&y[ie])return!1;return!0}var Ve=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ne(y){return y.charCodeAt(0)>=768&&Ve.test(y)}function Ye(y,ie,me){for(;(me<0?ie>0:ie<y.length)&&Ne(y.charAt(ie));)ie+=me;return ie}function ot(y,ie,me){for(var pe=ie>me?-1:1;;){if(ie==me)return ie;var Ee=(ie+me)/2,Re=pe<0?Math.ceil(Ee):Math.floor(Ee);if(Re==ie)return y(Re)?ie:me;y(Re)?me=Re:ie=Re+pe}}function Ue(y,ie,me,pe){if(!y)return pe(ie,me,"ltr",0);for(var Ee=!1,Re=0;Re<y.length;++Re){var Ke=y[Re];(Ke.from<me&&Ke.to>ie||ie==me&&Ke.to==ie)&&(pe(Math.max(Ke.from,ie),Math.min(Ke.to,me),Ke.level==1?"rtl":"ltr",Re),Ee=!0)}Ee||pe(ie,me,"ltr")}var Le=null;function De(y,ie,me){var pe;Le=null;for(var Ee=0;Ee<y.length;++Ee){var Re=y[Ee];if(Re.from<ie&&Re.to>ie)return Ee;Re.to==ie&&(Re.from!=Re.to&&me=="before"?pe=Ee:Le=Ee),Re.from==ie&&(Re.from!=Re.to&&me!="before"?pe=Ee:Le=Ee)}return pe!=null?pe:Le}var Ze=function(){var y="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ie="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function me(ht){return ht<=247?y.charAt(ht):1424<=ht&&ht<=1524?"R":1536<=ht&&ht<=1785?ie.charAt(ht-1536):1774<=ht&&ht<=2220?"r":8192<=ht&&ht<=8203?"w":ht==8204?"b":"L"}var pe=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Ee=/[stwN]/,Re=/[LRr]/,Ke=/[Lb1n]/,nt=/[1n]/;function ct(ht,_t,At){this.level=ht,this.from=_t,this.to=At}return function(ht,_t){var At=_t=="ltr"?"L":"R";if(ht.length==0||_t=="ltr"&&!pe.test(ht))return!1;for(var Pt=ht.length,Lt=[],Vt=0;Vt<Pt;++Vt)Lt.push(me(ht.charCodeAt(Vt)));for(var Yt=0,qt=At;Yt<Pt;++Yt){var ir=Lt[Yt];ir=="m"?Lt[Yt]=qt:qt=ir}for(var ur=0,or=At;ur<Pt;++ur){var mr=Lt[ur];mr=="1"&&or=="r"?Lt[ur]="n":Re.test(mr)&&(or=mr,mr=="r"&&(Lt[ur]="R"))}for(var _r=1,xr=Lt[0];_r<Pt-1;++_r){var Lr=Lt[_r];Lr=="+"&&xr=="1"&&Lt[_r+1]=="1"?Lt[_r]="1":Lr==","&&xr==Lt[_r+1]&&(xr=="1"||xr=="n")&&(Lt[_r]=xr),xr=Lr}for(var nn=0;nn<Pt;++nn){var kn=Lt[nn];if(kn==",")Lt[nn]="N";else if(kn=="%"){var hn=void 0;for(hn=nn+1;hn<Pt&&Lt[hn]=="%";++hn);for(var si=nn&&Lt[nn-1]=="!"||hn<Pt&&Lt[hn]=="1"?"1":"N",Qn=nn;Qn<hn;++Qn)Lt[Qn]=si;nn=hn-1}}for(var xn=0,Jn=At;xn<Pt;++xn){var Ln=Lt[xn];Jn=="L"&&Ln=="1"?Lt[xn]="L":Re.test(Ln)&&(Jn=Ln)}for(var En=0;En<Pt;++En)if(Ee.test(Lt[En])){var Sn=void 0;for(Sn=En+1;Sn<Pt&&Ee.test(Lt[Sn]);++Sn);for(var gn=(En?Lt[En-1]:At)=="L",qn=(Sn<Pt?Lt[Sn]:At)=="L",qo=gn==qn?gn?"L":"R":At,ho=En;ho<Sn;++ho)Lt[ho]=qo;En=Sn-1}for(var Bn=[],Hi,Dn=0;Dn<Pt;)if(Ke.test(Lt[Dn])){var Pa=Dn;for(++Dn;Dn<Pt&&Ke.test(Lt[Dn]);++Dn);Bn.push(new ct(0,Pa,Dn))}else{var Qi=Dn,Co=Bn.length,Eo=_t=="rtl"?1:0;for(++Dn;Dn<Pt&&Lt[Dn]!="L";++Dn);for(var Gn=Qi;Gn<Dn;)if(nt.test(Lt[Gn])){Qi<Gn&&(Bn.splice(Co,0,new ct(1,Qi,Gn)),Co+=Eo);var $o=Gn;for(++Gn;Gn<Dn&&nt.test(Lt[Gn]);++Gn);Bn.splice(Co,0,new ct(2,$o,Gn)),Co+=Eo,Qi=Gn}else++Gn;Qi<Dn&&Bn.splice(Co,0,new ct(1,Qi,Dn))}return _t=="ltr"&&(Bn[0].level==1&&(Hi=ht.match(/^\s+/))&&(Bn[0].from=Hi[0].length,Bn.unshift(new ct(0,0,Hi[0].length))),ft(Bn).level==1&&(Hi=ht.match(/\s+$/))&&(ft(Bn).to-=Hi[0].length,Bn.push(new ct(0,Pt-Hi[0].length,Pt)))),_t=="rtl"?Bn.reverse():Bn}}();function lt(y,ie){var me=y.order;return me==null&&(me=y.order=Ze(y.text,ie)),me}var Fe=[],yt=function(y,ie,me){if(y.addEventListener)y.addEventListener(ie,me,!1);else if(y.attachEvent)y.attachEvent("on"+ie,me);else{var pe=y._handlers||(y._handlers={});pe[ie]=(pe[ie]||Fe).concat(me)}};function xt(y,ie){return y._handlers&&y._handlers[ie]||Fe}function jt(y,ie,me){if(y.removeEventListener)y.removeEventListener(ie,me,!1);else if(y.detachEvent)y.detachEvent("on"+ie,me);else{var pe=y._handlers,Ee=pe&&pe[ie];if(Ee){var Re=it(Ee,me);Re>-1&&(pe[ie]=Ee.slice(0,Re).concat(Ee.slice(Re+1)))}}}function Tt(y,ie){var me=xt(y,ie);if(me.length)for(var pe=Array.prototype.slice.call(arguments,2),Ee=0;Ee<me.length;++Ee)me[Ee].apply(null,pe)}function wt(y,ie,me){return typeof ie=="string"&&(ie={type:ie,preventDefault:function(){this.defaultPrevented=!0}}),Tt(y,me||ie.type,y,ie),lr(ie)||ie.codemirrorIgnore}function It(y){var ie=y._handlers&&y._handlers.cursorActivity;if(ie)for(var me=y.curOp.cursorActivityHandlers||(y.curOp.cursorActivityHandlers=[]),pe=0;pe<ie.length;++pe)it(me,ie[pe])==-1&&me.push(ie[pe])}function Bt(y,ie){return xt(y,ie).length>0}function Wt(y){y.prototype.on=function(ie,me){yt(this,ie,me)},y.prototype.off=function(ie,me){jt(this,ie,me)}}function Qt(y){y.preventDefault?y.preventDefault():y.returnValue=!1}function dr(y){y.stopPropagation?y.stopPropagation():y.cancelBubble=!0}function lr(y){return y.defaultPrevented!=null?y.defaultPrevented:y.returnValue==!1}function Or(y){Qt(y),dr(y)}function Yr(y){return y.target||y.srcElement}function rn(y){var ie=y.which;return ie==null&&(y.button&1?ie=1:y.button&2?ie=3:y.button&4&&(ie=2)),le&&y.ctrlKey&&ie==1&&(ie=3),ie}var zr=function(){if(de&&ee<9)return!1;var y=be("div");return"draggable"in y||"dragDrop"in y}(),Wr;function sn(y){if(Wr==null){var ie=be("span","\u200B");Se(y,be("span",[ie,document.createTextNode("x")])),y.firstChild.offsetHeight!=0&&(Wr=ie.offsetWidth<=1&&ie.offsetHeight>2&&!(de&&ee<8))}var me=Wr?be("span","\u200B"):be("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return me.setAttribute("cm-text",""),me}var bn;function Ir(y){if(bn!=null)return bn;var ie=Se(y,document.createTextNode("A\u062EA")),me=Te(ie,0,1).getBoundingClientRect(),pe=Te(ie,1,2).getBoundingClientRect();return ve(y),!me||me.left==me.right?!1:bn=pe.right-me.right<3}var Nn=`
b`.split(/\n/).length!=3?function(y){for(var ie=0,me=[],pe=y.length;ie<=pe;){var Ee=y.indexOf(`
`,ie);Ee==-1&&(Ee=y.length);var Re=y.slice(ie,y.charAt(Ee-1)=="\r"?Ee-1:Ee),Ke=Re.indexOf("\r");Ke!=-1?(me.push(Re.slice(0,Ke)),ie+=Ke+1):(me.push(Re),ie=Ee+1)}return me}:function(y){return y.split(/\r\n?|\n/)},ai=window.getSelection?function(y){try{return y.selectionStart!=y.selectionEnd}catch(ie){return!1}}:function(y){var ie;try{ie=y.ownerDocument.selection.createRange()}catch(me){}return!ie||ie.parentElement()!=y?!1:ie.compareEndPoints("StartToEnd",ie)!=0},hr=function(){var y=be("div");return"oncopy"in y?!0:(y.setAttribute("oncopy","return;"),typeof y.oncopy=="function")}(),br=null;function Kt(y){if(br!=null)return br;var ie=Se(y,be("span","x")),me=ie.getBoundingClientRect(),pe=Te(ie,0,1).getBoundingClientRect();return br=Math.abs(me.left-pe.left)>1}var $t={},Gt={};function Xt(y,ie){arguments.length>2&&(ie.dependencies=Array.prototype.slice.call(arguments,2)),$t[y]=ie}function tr(y,ie){Gt[y]=ie}function pr(y){if(typeof y=="string"&&Gt.hasOwnProperty(y))y=Gt[y];else if(y&&typeof y.name=="string"&&Gt.hasOwnProperty(y.name)){var ie=Gt[y.name];typeof ie=="string"&&(ie={name:ie}),y=Be(ie,y),y.name=ie.name}else{if(typeof y=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(y))return pr("application/xml");if(typeof y=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(y))return pr("application/json")}return typeof y=="string"?{name:y}:y||{name:"null"}}function Dt(y,ie){ie=pr(ie);var me=$t[ie.name];if(!me)return Dt(y,"text/plain");var pe=me(y,ie);if(Mt.hasOwnProperty(ie.name)){var Ee=Mt[ie.name];for(var Re in Ee)Ee.hasOwnProperty(Re)&&(pe.hasOwnProperty(Re)&&(pe["_"+Re]=pe[Re]),pe[Re]=Ee[Re])}if(pe.name=ie.name,ie.helperType&&(pe.helperType=ie.helperType),ie.modeProps)for(var Ke in ie.modeProps)pe[Ke]=ie.modeProps[Ke];return pe}var Mt={};function St(y,ie){var me=Mt.hasOwnProperty(y)?Mt[y]:Mt[y]={};tt(ie,me)}function Ct(y,ie){if(ie===!0)return ie;if(y.copyState)return y.copyState(ie);var me={};for(var pe in ie){var Ee=ie[pe];Ee instanceof Array&&(Ee=Ee.concat([])),me[pe]=Ee}return me}function Rt(y,ie){for(var me;y.innerMode&&(me=y.innerMode(ie),!(!me||me.mode==y));)ie=me.state,y=me.mode;return me||{mode:y,state:ie}}function Nt(y,ie,me){return y.startState?y.startState(ie,me):!0}var kt=function(y,ie,me){this.pos=this.start=0,this.string=y,this.tabSize=ie||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=me};kt.prototype.eol=function(){return this.pos>=this.string.length},kt.prototype.sol=function(){return this.pos==this.lineStart},kt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},kt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},kt.prototype.eat=function(y){var ie=this.string.charAt(this.pos),me;if(typeof y=="string"?me=ie==y:me=ie&&(y.test?y.test(ie):y(ie)),me)return++this.pos,ie},kt.prototype.eatWhile=function(y){for(var ie=this.pos;this.eat(y););return this.pos>ie},kt.prototype.eatSpace=function(){for(var y=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>y},kt.prototype.skipToEnd=function(){this.pos=this.string.length},kt.prototype.skipTo=function(y){var ie=this.string.indexOf(y,this.pos);if(ie>-1)return this.pos=ie,!0},kt.prototype.backUp=function(y){this.pos-=y},kt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Me(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Me(this.string,this.lineStart,this.tabSize):0)},kt.prototype.indentation=function(){return Me(this.string,null,this.tabSize)-(this.lineStart?Me(this.string,this.lineStart,this.tabSize):0)},kt.prototype.match=function(y,ie,me){if(typeof y=="string"){var pe=function(Ke){return me?Ke.toLowerCase():Ke},Ee=this.string.substr(this.pos,y.length);if(pe(Ee)==pe(y))return ie!==!1&&(this.pos+=y.length),!0}else{var Re=this.string.slice(this.pos).match(y);return Re&&Re.index>0?null:(Re&&ie!==!1&&(this.pos+=Re[0].length),Re)}},kt.prototype.current=function(){return this.string.slice(this.start,this.pos)},kt.prototype.hideFirstChars=function(y,ie){this.lineStart+=y;try{return ie()}finally{this.lineStart-=y}},kt.prototype.lookAhead=function(y){var ie=this.lineOracle;return ie&&ie.lookAhead(y)},kt.prototype.baseToken=function(){var y=this.lineOracle;return y&&y.baseToken(this.pos)};function Et(y,ie){if(ie-=y.first,ie<0||ie>=y.size)throw new Error("There is no line "+(ie+y.first)+" in the document.");for(var me=y;!me.lines;)for(var pe=0;;++pe){var Ee=me.children[pe],Re=Ee.chunkSize();if(ie<Re){me=Ee;break}ie-=Re}return me.lines[ie]}function zt(y,ie,me){var pe=[],Ee=ie.line;return y.iter(ie.line,me.line+1,function(Re){var Ke=Re.text;Ee==me.line&&(Ke=Ke.slice(0,me.ch)),Ee==ie.line&&(Ke=Ke.slice(ie.ch)),pe.push(Ke),++Ee}),pe}function Ut(y,ie,me){var pe=[];return y.iter(ie,me,function(Ee){pe.push(Ee.text)}),pe}function Jt(y,ie){var me=ie-y.height;if(me)for(var pe=y;pe;pe=pe.parent)pe.height+=me}function er(y){if(y.parent==null)return null;for(var ie=y.parent,me=it(ie.lines,y),pe=ie.parent;pe;ie=pe,pe=pe.parent)for(var Ee=0;pe.children[Ee]!=ie;++Ee)me+=pe.children[Ee].chunkSize();return me+ie.first}function wr(y,ie){var me=y.first;e:do{for(var pe=0;pe<y.children.length;++pe){var Ee=y.children[pe],Re=Ee.height;if(ie<Re){y=Ee;continue e}ie-=Re,me+=Ee.chunkSize()}return me}while(!y.lines);for(var Ke=0;Ke<y.lines.length;++Ke){var nt=y.lines[Ke],ct=nt.height;if(ie<ct)break;ie-=ct}return me+Ke}function Tr(y,ie){return ie>=y.first&&ie<y.first+y.size}function Cr(y,ie){return String(y.lineNumberFormatter(ie+y.firstLineNumber))}function Ft(y,ie,me){if(me===void 0&&(me=null),!(this instanceof Ft))return new Ft(y,ie,me);this.line=y,this.ch=ie,this.sticky=me}function nr(y,ie){return y.line-ie.line||y.ch-ie.ch}function kr(y,ie){return y.sticky==ie.sticky&&nr(y,ie)==0}function Mr(y){return Ft(y.line,y.ch)}function Pr(y,ie){return nr(y,ie)<0?ie:y}function gr(y,ie){return nr(y,ie)<0?y:ie}function Dr(y,ie){return Math.max(y.first,Math.min(ie,y.first+y.size-1))}function rr(y,ie){if(ie.line<y.first)return Ft(y.first,0);var me=y.first+y.size-1;return ie.line>me?Ft(me,Et(y,me).text.length):Zt(ie,Et(y,ie.line).text.length)}function Zt(y,ie){var me=y.ch;return me==null||me>ie?Ft(y.line,ie):me<0?Ft(y.line,0):y}function Fr(y,ie){for(var me=[],pe=0;pe<ie.length;pe++)me[pe]=rr(y,ie[pe]);return me}var Br=function(y,ie){this.state=y,this.lookAhead=ie},Kr=function(y,ie,me,pe){this.state=ie,this.doc=y,this.line=me,this.maxLookAhead=pe||0,this.baseTokens=null,this.baseTokenPos=1};Kr.prototype.lookAhead=function(y){var ie=this.doc.getLine(this.line+y);return ie!=null&&y>this.maxLookAhead&&(this.maxLookAhead=y),ie},Kr.prototype.baseToken=function(y){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=y;)this.baseTokenPos+=2;var ie=this.baseTokens[this.baseTokenPos+1];return{type:ie&&ie.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-y}},Kr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Kr.fromSaved=function(y,ie,me){return ie instanceof Br?new Kr(y,Ct(y.mode,ie.state),me,ie.lookAhead):new Kr(y,Ct(y.mode,ie),me)},Kr.prototype.save=function(y){var ie=y!==!1?Ct(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Br(ie,this.maxLookAhead):ie};function pn(y,ie,me,pe){var Ee=[y.state.modeGen],Re={};Zn(y,ie.text,y.doc.mode,me,function(ht,_t){return Ee.push(ht,_t)},Re,pe);for(var Ke=me.state,nt=function(ht){me.baseTokens=Ee;var _t=y.state.overlays[ht],At=1,Pt=0;me.state=!0,Zn(y,ie.text,_t.mode,me,function(Lt,Vt){for(var Yt=At;Pt<Lt;){var qt=Ee[At];qt>Lt&&Ee.splice(At,1,Lt,Ee[At+1],qt),At+=2,Pt=Math.min(Lt,qt)}if(Vt)if(_t.opaque)Ee.splice(Yt,At-Yt,Lt,"overlay "+Vt),At=Yt+2;else for(;Yt<At;Yt+=2){var ir=Ee[Yt+1];Ee[Yt+1]=(ir?ir+" ":"")+"overlay "+Vt}},Re),me.state=Ke,me.baseTokens=null,me.baseTokenPos=1},ct=0;ct<y.state.overlays.length;++ct)nt(ct);return{styles:Ee,classes:Re.bgClass||Re.textClass?Re:null}}function $r(y,ie,me){if(!ie.styles||ie.styles[0]!=y.state.modeGen){var pe=en(y,er(ie)),Ee=ie.text.length>y.options.maxHighlightLength&&Ct(y.doc.mode,pe.state),Re=pn(y,ie,pe);Ee&&(pe.state=Ee),ie.stateAfter=pe.save(!Ee),ie.styles=Re.styles,Re.classes?ie.styleClasses=Re.classes:ie.styleClasses&&(ie.styleClasses=null),me===y.doc.highlightFrontier&&(y.doc.modeFrontier=Math.max(y.doc.modeFrontier,++y.doc.highlightFrontier))}return ie.styles}function en(y,ie,me){var pe=y.doc,Ee=y.display;if(!pe.mode.startState)return new Kr(pe,!0,ie);var Re=Oi(y,ie,me),Ke=Re>pe.first&&Et(pe,Re-1).stateAfter,nt=Ke?Kr.fromSaved(pe,Ke,Re):new Kr(pe,Nt(pe.mode),Re);return pe.iter(Re,ie,function(ct){Fn(y,ct.text,nt);var ht=nt.line;ct.stateAfter=ht==ie-1||ht%5==0||ht>=Ee.viewFrom&&ht<Ee.viewTo?nt.save():null,nt.nextLine()}),me&&(pe.modeFrontier=nt.line),nt}function Fn(y,ie,me,pe){var Ee=y.doc.mode,Re=new kt(ie,y.options.tabSize,me);for(Re.start=Re.pos=pe||0,ie==""&&Qr(Ee,me.state);!Re.eol();)Gr(Ee,Re,me.state),Re.start=Re.pos}function Qr(y,ie){if(y.blankLine)return y.blankLine(ie);if(y.innerMode){var me=Rt(y,ie);if(me.mode.blankLine)return me.mode.blankLine(me.state)}}function Gr(y,ie,me,pe){for(var Ee=0;Ee<10;Ee++){pe&&(pe[0]=Rt(y,me).mode);var Re=y.token(ie,me);if(ie.pos>ie.start)return Re}throw new Error("Mode "+y.name+" failed to advance stream.")}var Mn=function(y,ie,me){this.start=y.start,this.end=y.pos,this.string=y.current(),this.type=ie||null,this.state=me};function Vn(y,ie,me,pe){var Ee=y.doc,Re=Ee.mode,Ke;ie=rr(Ee,ie);var nt=Et(Ee,ie.line),ct=en(y,ie.line,me),ht=new kt(nt.text,y.options.tabSize,ct),_t;for(pe&&(_t=[]);(pe||ht.pos<ie.ch)&&!ht.eol();)ht.start=ht.pos,Ke=Gr(Re,ht,ct.state),pe&&_t.push(new Mn(ht,Ke,Ct(Ee.mode,ct.state)));return pe?_t:new Mn(ht,Ke,ct.state)}function $n(y,ie){if(y)for(;;){var me=y.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!me)break;y=y.slice(0,me.index)+y.slice(me.index+me[0].length);var pe=me[1]?"bgClass":"textClass";ie[pe]==null?ie[pe]=me[2]:new RegExp("(?:^|\\s)"+me[2]+"(?:$|\\s)").test(ie[pe])||(ie[pe]+=" "+me[2])}return y}function Zn(y,ie,me,pe,Ee,Re,Ke){var nt=me.flattenSpans;nt==null&&(nt=y.options.flattenSpans);var ct=0,ht=null,_t=new kt(ie,y.options.tabSize,pe),At,Pt=y.options.addModeClass&&[null];for(ie==""&&$n(Qr(me,pe.state),Re);!_t.eol();){if(_t.pos>y.options.maxHighlightLength?(nt=!1,Ke&&Fn(y,ie,pe,_t.pos),_t.pos=ie.length,At=null):At=$n(Gr(me,_t,pe.state,Pt),Re),Pt){var Lt=Pt[0].name;Lt&&(At="m-"+(At?Lt+" "+At:Lt))}if(!nt||ht!=At){for(;ct<_t.start;)ct=Math.min(_t.start,ct+5e3),Ee(ct,ht);ht=At}_t.start=_t.pos}for(;ct<_t.pos;){var Vt=Math.min(_t.pos,ct+5e3);Ee(Vt,ht),ct=Vt}}function Oi(y,ie,me){for(var pe,Ee,Re=y.doc,Ke=me?-1:ie-(y.doc.mode.innerMode?1e3:100),nt=ie;nt>Ke;--nt){if(nt<=Re.first)return Re.first;var ct=Et(Re,nt-1),ht=ct.stateAfter;if(ht&&(!me||nt+(ht instanceof Br?ht.lookAhead:0)<=Re.modeFrontier))return nt;var _t=Me(ct.text,null,y.options.tabSize);(Ee==null||pe>_t)&&(Ee=nt-1,pe=_t)}return Ee}function Ci(y,ie){if(y.modeFrontier=Math.min(y.modeFrontier,ie),!(y.highlightFrontier<ie-10)){for(var me=y.first,pe=ie-1;pe>me;pe--){var Ee=Et(y,pe).stateAfter;if(Ee&&(!(Ee instanceof Br)||pe+Ee.lookAhead<ie)){me=pe+1;break}}y.highlightFrontier=Math.min(y.highlightFrontier,me)}}var vi=!1,un=!1;function li(){vi=!0}function Hn(){un=!0}function Pn(y,ie,me){this.marker=y,this.from=ie,this.to=me}function ui(y,ie){if(y)for(var me=0;me<y.length;++me){var pe=y[me];if(pe.marker==ie)return pe}}function Ei(y,ie){for(var me,pe=0;pe<y.length;++pe)y[pe]!=ie&&(me||(me=[])).push(y[pe]);return me}function ei(y,ie){y.markedSpans=y.markedSpans?y.markedSpans.concat([ie]):[ie],ie.marker.attachLine(y)}function Ai(y,ie,me){var pe;if(y)for(var Ee=0;Ee<y.length;++Ee){var Re=y[Ee],Ke=Re.marker,nt=Re.from==null||(Ke.inclusiveLeft?Re.from<=ie:Re.from<ie);if(nt||Re.from==ie&&Ke.type=="bookmark"&&(!me||!Re.marker.insertLeft)){var ct=Re.to==null||(Ke.inclusiveRight?Re.to>=ie:Re.to>ie);(pe||(pe=[])).push(new Pn(Ke,Re.from,ct?null:Re.to))}}return pe}function ji(y,ie,me){var pe;if(y)for(var Ee=0;Ee<y.length;++Ee){var Re=y[Ee],Ke=Re.marker,nt=Re.to==null||(Ke.inclusiveRight?Re.to>=ie:Re.to>ie);if(nt||Re.from==ie&&Ke.type=="bookmark"&&(!me||Re.marker.insertLeft)){var ct=Re.from==null||(Ke.inclusiveLeft?Re.from<=ie:Re.from<ie);(pe||(pe=[])).push(new Pn(Ke,ct?null:Re.from-ie,Re.to==null?null:Re.to-ie))}}return pe}function ti(y,ie){if(ie.full)return null;var me=Tr(y,ie.from.line)&&Et(y,ie.from.line).markedSpans,pe=Tr(y,ie.to.line)&&Et(y,ie.to.line).markedSpans;if(!me&&!pe)return null;var Ee=ie.from.ch,Re=ie.to.ch,Ke=nr(ie.from,ie.to)==0,nt=Ai(me,Ee,Ke),ct=ji(pe,Re,Ke),ht=ie.text.length==1,_t=ft(ie.text).length+(ht?Ee:0);if(nt)for(var At=0;At<nt.length;++At){var Pt=nt[At];if(Pt.to==null){var Lt=ui(ct,Pt.marker);Lt?ht&&(Pt.to=Lt.to==null?null:Lt.to+_t):Pt.to=Ee}}if(ct)for(var Vt=0;Vt<ct.length;++Vt){var Yt=ct[Vt];if(Yt.to!=null&&(Yt.to+=_t),Yt.from==null){var qt=ui(nt,Yt.marker);qt||(Yt.from=_t,ht&&(nt||(nt=[])).push(Yt))}else Yt.from+=_t,ht&&(nt||(nt=[])).push(Yt)}nt&&(nt=gi(nt)),ct&&ct!=nt&&(ct=gi(ct));var ir=[nt];if(!ht){var ur=ie.text.length-2,or;if(ur>0&&nt)for(var mr=0;mr<nt.length;++mr)nt[mr].to==null&&(or||(or=[])).push(new Pn(nt[mr].marker,null,null));for(var _r=0;_r<ur;++_r)ir.push(or);ir.push(ct)}return ir}function gi(y){for(var ie=0;ie<y.length;++ie){var me=y[ie];me.from!=null&&me.from==me.to&&me.marker.clearWhenEmpty!==!1&&y.splice(ie--,1)}return y.length?y:null}function qi(y,ie,me){var pe=null;if(y.iter(ie.line,me.line+1,function(Lt){if(Lt.markedSpans)for(var Vt=0;Vt<Lt.markedSpans.length;++Vt){var Yt=Lt.markedSpans[Vt].marker;Yt.readOnly&&(!pe||it(pe,Yt)==-1)&&(pe||(pe=[])).push(Yt)}}),!pe)return null;for(var Ee=[{from:ie,to:me}],Re=0;Re<pe.length;++Re)for(var Ke=pe[Re],nt=Ke.find(0),ct=0;ct<Ee.length;++ct){var ht=Ee[ct];if(!(nr(ht.to,nt.from)<0||nr(ht.from,nt.to)>0)){var _t=[ct,1],At=nr(ht.from,nt.from),Pt=nr(ht.to,nt.to);(At<0||!Ke.inclusiveLeft&&!At)&&_t.push({from:ht.from,to:nt.from}),(Pt>0||!Ke.inclusiveRight&&!Pt)&&_t.push({from:nt.to,to:ht.to}),Ee.splice.apply(Ee,_t),ct+=_t.length-3}}return Ee}function Ti(y){var ie=y.markedSpans;if(ie){for(var me=0;me<ie.length;++me)ie[me].marker.detachLine(y);y.markedSpans=null}}function Rn(y,ie){if(ie){for(var me=0;me<ie.length;++me)ie[me].marker.attachLine(y);y.markedSpans=ie}}function Un(y){return y.inclusiveLeft?-1:0}function _n(y){return y.inclusiveRight?1:0}function Xn(y,ie){var me=y.lines.length-ie.lines.length;if(me!=0)return me;var pe=y.find(),Ee=ie.find(),Re=nr(pe.from,Ee.from)||Un(y)-Un(ie);if(Re)return-Re;var Ke=nr(pe.to,Ee.to)||_n(y)-_n(ie);return Ke||ie.id-y.id}function Ar(y,ie){var me=un&&y.markedSpans,pe;if(me)for(var Ee=void 0,Re=0;Re<me.length;++Re)Ee=me[Re],Ee.marker.collapsed&&(ie?Ee.from:Ee.to)==null&&(!pe||Xn(pe,Ee.marker)<0)&&(pe=Ee.marker);return pe}function Nr(y){return Ar(y,!0)}function Hr(y){return Ar(y,!1)}function mn(y,ie){var me=un&&y.markedSpans,pe;if(me)for(var Ee=0;Ee<me.length;++Ee){var Re=me[Ee];Re.marker.collapsed&&(Re.from==null||Re.from<ie)&&(Re.to==null||Re.to>ie)&&(!pe||Xn(pe,Re.marker)<0)&&(pe=Re.marker)}return pe}function an(y,ie,me,pe,Ee){var Re=Et(y,ie),Ke=un&&Re.markedSpans;if(Ke)for(var nt=0;nt<Ke.length;++nt){var ct=Ke[nt];if(ct.marker.collapsed){var ht=ct.marker.find(0),_t=nr(ht.from,me)||Un(ct.marker)-Un(Ee),At=nr(ht.to,pe)||_n(ct.marker)-_n(Ee);if(!(_t>=0&&At<=0||_t<=0&&At>=0)&&(_t<=0&&(ct.marker.inclusiveRight&&Ee.inclusiveLeft?nr(ht.to,me)>=0:nr(ht.to,me)>0)||_t>=0&&(ct.marker.inclusiveRight&&Ee.inclusiveLeft?nr(ht.from,pe)<=0:nr(ht.from,pe)<0)))return!0}}}function Zr(y){for(var ie;ie=Nr(y);)y=ie.find(-1,!0).line;return y}function dn(y){for(var ie;ie=Hr(y);)y=ie.find(1,!0).line;return y}function Ui(y){for(var ie,me;ie=Hr(y);)y=ie.find(1,!0).line,(me||(me=[])).push(y);return me}function cr(y,ie){var me=Et(y,ie),pe=Zr(me);return me==pe?ie:er(pe)}function sr(y,ie){if(ie>y.lastLine())return ie;var me=Et(y,ie),pe;if(!fr(y,me))return ie;for(;pe=Hr(me);)me=pe.find(1,!0).line;return er(me)+1}function fr(y,ie){var me=un&&ie.markedSpans;if(me){for(var pe=void 0,Ee=0;Ee<me.length;++Ee)if(pe=me[Ee],!!pe.marker.collapsed){if(pe.from==null)return!0;if(!pe.marker.widgetNode&&pe.from==0&&pe.marker.inclusiveLeft&&Ht(y,ie,pe))return!0}}}function Ht(y,ie,me){if(me.to==null){var pe=me.marker.find(1,!0);return Ht(y,pe.line,ui(pe.line.markedSpans,me.marker))}if(me.marker.inclusiveRight&&me.to==ie.text.length)return!0;for(var Ee=void 0,Re=0;Re<ie.markedSpans.length;++Re)if(Ee=ie.markedSpans[Re],Ee.marker.collapsed&&!Ee.marker.widgetNode&&Ee.from==me.to&&(Ee.to==null||Ee.to!=me.from)&&(Ee.marker.inclusiveLeft||me.marker.inclusiveRight)&&Ht(y,ie,Ee))return!0}function yr(y){y=Zr(y);for(var ie=0,me=y.parent,pe=0;pe<me.lines.length;++pe){var Ee=me.lines[pe];if(Ee==y)break;ie+=Ee.height}for(var Re=me.parent;Re;me=Re,Re=me.parent)for(var Ke=0;Ke<Re.children.length;++Ke){var nt=Re.children[Ke];if(nt==me)break;ie+=nt.height}return ie}function Rr(y){if(y.height==0)return 0;for(var ie=y.text.length,me,pe=y;me=Nr(pe);){var Ee=me.find(0,!0);pe=Ee.from.line,ie+=Ee.from.ch-Ee.to.ch}for(pe=y;me=Hr(pe);){var Re=me.find(0,!0);ie-=pe.text.length-Re.from.ch,pe=Re.to.line,ie+=pe.text.length-Re.to.ch}return ie}function on(y){var ie=y.display,me=y.doc;ie.maxLine=Et(me,me.first),ie.maxLineLength=Rr(ie.maxLine),ie.maxLineChanged=!0,me.iter(function(pe){var Ee=Rr(pe);Ee>ie.maxLineLength&&(ie.maxLineLength=Ee,ie.maxLine=pe)})}var Xr=function(y,ie,me){this.text=y,Rn(this,ie),this.height=me?me(this):1};Xr.prototype.lineNo=function(){return er(this)},Wt(Xr);function Jr(y,ie,me,pe){y.text=ie,y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null),y.order!=null&&(y.order=null),Ti(y),Rn(y,me);var Ee=pe?pe(y):1;Ee!=y.height&&Jt(y,Ee)}function vn(y){y.parent=null,Ti(y)}var yi={},On={};function ki(y,ie){if(!y||/^\s*$/.test(y))return null;var me=ie.addModeClass?On:yi;return me[y]||(me[y]=y.replace(/\S+/g,"cm-$&"))}function ri(y,ie){var me=Ae("span",null,null,oe?"padding-right: .1px":null),pe={pre:Ae("pre",[me],"CodeMirror-line"),content:me,col:0,pos:0,cm:y,trailingSpace:!1,splitSpaces:y.getOption("lineWrapping")};ie.measure={};for(var Ee=0;Ee<=(ie.rest?ie.rest.length:0);Ee++){var Re=Ee?ie.rest[Ee-1]:ie.line,Ke=void 0;pe.pos=0,pe.addToken=$i,Ir(y.display.measure)&&(Ke=lt(Re,y.doc.direction))&&(pe.addToken=wn(pe.addToken,Ke)),pe.map=[];var nt=ie!=y.display.externalMeasured&&er(Re);Ur(Re,pe,$r(y,Re,nt)),Re.styleClasses&&(Re.styleClasses.bgClass&&(pe.bgClass=Oe(Re.styleClasses.bgClass,pe.bgClass||"")),Re.styleClasses.textClass&&(pe.textClass=Oe(Re.styleClasses.textClass,pe.textClass||""))),pe.map.length==0&&pe.map.push(0,0,pe.content.appendChild(sn(y.display.measure))),Ee==0?(ie.measure.map=pe.map,ie.measure.cache={}):((ie.measure.maps||(ie.measure.maps=[])).push(pe.map),(ie.measure.caches||(ie.measure.caches=[])).push({}))}if(oe){var ct=pe.content.lastChild;(/\bcm-tab\b/.test(ct.className)||ct.querySelector&&ct.querySelector(".cm-tab"))&&(pe.content.className="cm-tab-wrap-hack")}return Tt(y,"renderLine",y,ie.line,pe.pre),pe.pre.className&&(pe.textClass=Oe(pe.pre.className,pe.textClass||"")),pe}function Li(y){var ie=be("span","\u2022","cm-invalidchar");return ie.title="\\u"+y.charCodeAt(0).toString(16),ie.setAttribute("aria-label",ie.title),ie}function $i(y,ie,me,pe,Ee,Re,Ke){if(ie){var nt=y.splitSpaces?eo(ie,y.trailingSpace):ie,ct=y.cm.state.specialChars,ht=!1,_t;if(!ct.test(ie))y.col+=ie.length,_t=document.createTextNode(nt),y.map.push(y.pos,y.pos+ie.length,_t),de&&ee<9&&(ht=!0),y.pos+=ie.length;else{_t=document.createDocumentFragment();for(var At=0;;){ct.lastIndex=At;var Pt=ct.exec(ie),Lt=Pt?Pt.index-At:ie.length-At;if(Lt){var Vt=document.createTextNode(nt.slice(At,At+Lt));de&&ee<9?_t.appendChild(be("span",[Vt])):_t.appendChild(Vt),y.map.push(y.pos,y.pos+Lt,Vt),y.col+=Lt,y.pos+=Lt}if(!Pt)break;At+=Lt+1;var Yt=void 0;if(Pt[0]==" "){var qt=y.cm.options.tabSize,ir=qt-y.col%qt;Yt=_t.appendChild(be("span",pt(ir),"cm-tab")),Yt.setAttribute("role","presentation"),Yt.setAttribute("cm-text"," "),y.col+=ir}else Pt[0]=="\r"||Pt[0]==`
`?(Yt=_t.appendChild(be("span",Pt[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Yt.setAttribute("cm-text",Pt[0]),y.col+=1):(Yt=y.cm.options.specialCharPlaceholder(Pt[0]),Yt.setAttribute("cm-text",Pt[0]),de&&ee<9?_t.appendChild(be("span",[Yt])):_t.appendChild(Yt),y.col+=1);y.map.push(y.pos,y.pos+1,Yt),y.pos++}}if(y.trailingSpace=nt.charCodeAt(ie.length-1)==32,me||pe||Ee||ht||Re||Ke){var ur=me||"";pe&&(ur+=pe),Ee&&(ur+=Ee);var or=be("span",[_t],ur,Re);if(Ke)for(var mr in Ke)Ke.hasOwnProperty(mr)&&mr!="style"&&mr!="class"&&or.setAttribute(mr,Ke[mr]);return y.content.appendChild(or)}y.content.appendChild(_t)}}function eo(y,ie){if(y.length>1&&!/ /.test(y))return y;for(var me=ie,pe="",Ee=0;Ee<y.length;Ee++){var Re=y.charAt(Ee);Re==" "&&me&&(Ee==y.length-1||y.charCodeAt(Ee+1)==32)&&(Re="\xA0"),pe+=Re,me=Re==" "}return pe}function wn(y,ie){return function(me,pe,Ee,Re,Ke,nt,ct){Ee=Ee?Ee+" cm-force-border":"cm-force-border";for(var ht=me.pos,_t=ht+pe.length;;){for(var At=void 0,Pt=0;Pt<ie.length&&(At=ie[Pt],!(At.to>ht&&At.from<=ht));Pt++);if(At.to>=_t)return y(me,pe,Ee,Re,Ke,nt,ct);y(me,pe.slice(0,At.to-ht),Ee,Re,null,nt,ct),Re=null,pe=pe.slice(At.to-ht),ht=At.to}}}function zi(y,ie,me,pe){var Ee=!pe&&me.widgetNode;Ee&&y.map.push(y.pos,y.pos+ie,Ee),!pe&&y.cm.display.input.needsContentAttribute&&(Ee||(Ee=y.content.appendChild(document.createElement("span"))),Ee.setAttribute("cm-marker",me.id)),Ee&&(y.cm.display.input.setUneditable(Ee),y.content.appendChild(Ee)),y.pos+=ie,y.trailingSpace=!1}function Ur(y,ie,me){var pe=y.markedSpans,Ee=y.text,Re=0;if(!pe){for(var Ke=1;Ke<me.length;Ke+=2)ie.addToken(ie,Ee.slice(Re,Re=me[Ke]),ki(me[Ke+1],ie.cm.options));return}for(var nt=Ee.length,ct=0,ht=1,_t="",At,Pt,Lt=0,Vt,Yt,qt,ir,ur;;){if(Lt==ct){Vt=Yt=qt=Pt="",ur=null,ir=null,Lt=1/0;for(var or=[],mr=void 0,_r=0;_r<pe.length;++_r){var xr=pe[_r],Lr=xr.marker;if(Lr.type=="bookmark"&&xr.from==ct&&Lr.widgetNode)or.push(Lr);else if(xr.from<=ct&&(xr.to==null||xr.to>ct||Lr.collapsed&&xr.to==ct&&xr.from==ct)){if(xr.to!=null&&xr.to!=ct&&Lt>xr.to&&(Lt=xr.to,Yt=""),Lr.className&&(Vt+=" "+Lr.className),Lr.css&&(Pt=(Pt?Pt+";":"")+Lr.css),Lr.startStyle&&xr.from==ct&&(qt+=" "+Lr.startStyle),Lr.endStyle&&xr.to==Lt&&(mr||(mr=[])).push(Lr.endStyle,xr.to),Lr.title&&((ur||(ur={})).title=Lr.title),Lr.attributes)for(var nn in Lr.attributes)(ur||(ur={}))[nn]=Lr.attributes[nn];Lr.collapsed&&(!ir||Xn(ir.marker,Lr)<0)&&(ir=xr)}else xr.from>ct&&Lt>xr.from&&(Lt=xr.from)}if(mr)for(var kn=0;kn<mr.length;kn+=2)mr[kn+1]==Lt&&(Yt+=" "+mr[kn]);if(!ir||ir.from==ct)for(var hn=0;hn<or.length;++hn)zi(ie,0,or[hn]);if(ir&&(ir.from||0)==ct){if(zi(ie,(ir.to==null?nt+1:ir.to)-ct,ir.marker,ir.from==null),ir.to==null)return;ir.to==ct&&(ir=!1)}}if(ct>=nt)break;for(var si=Math.min(nt,Lt);;){if(_t){var Qn=ct+_t.length;if(!ir){var xn=Qn>si?_t.slice(0,si-ct):_t;ie.addToken(ie,xn,At?At+Vt:Vt,qt,ct+xn.length==Lt?Yt:"",Pt,ur)}if(Qn>=si){_t=_t.slice(si-ct),ct=si;break}ct=Qn,qt=""}_t=Ee.slice(Re,Re=me[ht++]),At=ki(me[ht++],ie.cm.options)}}}function bi(y,ie,me){this.line=ie,this.rest=Ui(ie),this.size=this.rest?er(ft(this.rest))-me+1:1,this.node=this.text=null,this.hidden=fr(y,ie)}function ci(y,ie,me){for(var pe=[],Ee,Re=ie;Re<me;Re=Ee){var Ke=new bi(y.doc,Et(y.doc,Re),Re);Ee=Re+Ke.size,pe.push(Ke)}return pe}var ni=null;function Ao(y){ni?ni.ops.push(y):y.ownsGroup=ni={ops:[y],delayedCallbacks:[]}}function to(y){var ie=y.delayedCallbacks,me=0;do{for(;me<ie.length;me++)ie[me].call(null);for(var pe=0;pe<y.ops.length;pe++){var Ee=y.ops[pe];if(Ee.cursorActivityHandlers)for(;Ee.cursorActivityCalled<Ee.cursorActivityHandlers.length;)Ee.cursorActivityHandlers[Ee.cursorActivityCalled++].call(null,Ee.cm)}}while(me<ie.length)}function ii(y,ie){var me=y.ownsGroup;if(me)try{to(me)}finally{ni=null,ie(me)}}var fi=null;function ln(y,ie){var me=xt(y,ie);if(me.length){var pe=Array.prototype.slice.call(arguments,2),Ee;ni?Ee=ni.delayedCallbacks:fi?Ee=fi:(Ee=fi=[],setTimeout(ro,0));for(var Re=function(nt){Ee.push(function(){return me[nt].apply(null,pe)})},Ke=0;Ke<me.length;++Ke)Re(Ke)}}function ro(){var y=fi;fi=null;for(var ie=0;ie<y.length;++ie)y[ie]()}function es(y,ie,me,pe){for(var Ee=0;Ee<ie.changes.length;Ee++){var Re=ie.changes[Ee];Re=="text"?To(y,ie):Re=="gutter"?Pi(y,ie,me,pe):Re=="class"?ko(y,ie):Re=="widget"&&rs(y,ie,pe)}ie.changes=null}function no(y){return y.node==y.text&&(y.node=be("div",null,null,"position: relative"),y.text.parentNode&&y.text.parentNode.replaceChild(y.node,y.text),y.node.appendChild(y.text),de&&ee<8&&(y.node.style.zIndex=2)),y.node}function ts(y,ie){var me=ie.bgClass?ie.bgClass+" "+(ie.line.bgClass||""):ie.line.bgClass;if(me&&(me+=" CodeMirror-linebackground"),ie.background)me?ie.background.className=me:(ie.background.parentNode.removeChild(ie.background),ie.background=null);else if(me){var pe=no(ie);ie.background=pe.insertBefore(be("div",null,me),pe.firstChild),y.display.input.setUneditable(ie.background)}}function Wi(y,ie){var me=y.display.externalMeasured;return me&&me.line==ie.line?(y.display.externalMeasured=null,ie.measure=me.measure,me.built):ri(y,ie)}function To(y,ie){var me=ie.text.className,pe=Wi(y,ie);ie.text==ie.node&&(ie.node=pe.pre),ie.text.parentNode.replaceChild(pe.pre,ie.text),ie.text=pe.pre,pe.bgClass!=ie.bgClass||pe.textClass!=ie.textClass?(ie.bgClass=pe.bgClass,ie.textClass=pe.textClass,ko(y,ie)):me&&(ie.text.className=me)}function ko(y,ie){ts(y,ie),ie.line.wrapClass?no(ie).className=ie.line.wrapClass:ie.node!=ie.text&&(ie.node.className="");var me=ie.textClass?ie.textClass+" "+(ie.line.textClass||""):ie.line.textClass;ie.text.className=me||""}function Pi(y,ie,me,pe){if(ie.gutter&&(ie.node.removeChild(ie.gutter),ie.gutter=null),ie.gutterBackground&&(ie.node.removeChild(ie.gutterBackground),ie.gutterBackground=null),ie.line.gutterClass){var Ee=no(ie);ie.gutterBackground=be("div",null,"CodeMirror-gutter-background "+ie.line.gutterClass,"left: "+(y.options.fixedGutter?pe.fixedPos:-pe.gutterTotalWidth)+"px; width: "+pe.gutterTotalWidth+"px"),y.display.input.setUneditable(ie.gutterBackground),Ee.insertBefore(ie.gutterBackground,ie.text)}var Re=ie.line.gutterMarkers;if(y.options.lineNumbers||Re){var Ke=no(ie),nt=ie.gutter=be("div",null,"CodeMirror-gutter-wrapper","left: "+(y.options.fixedGutter?pe.fixedPos:-pe.gutterTotalWidth)+"px");if(y.display.input.setUneditable(nt),Ke.insertBefore(nt,ie.text),ie.line.gutterClass&&(nt.className+=" "+ie.line.gutterClass),y.options.lineNumbers&&(!Re||!Re["CodeMirror-linenumbers"])&&(ie.lineNumber=nt.appendChild(be("div",Cr(y.options,me),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+pe.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+y.display.lineNumInnerWidth+"px"))),Re)for(var ct=0;ct<y.display.gutterSpecs.length;++ct){var ht=y.display.gutterSpecs[ct].className,_t=Re.hasOwnProperty(ht)&&Re[ht];_t&&nt.appendChild(be("div",[_t],"CodeMirror-gutter-elt","left: "+pe.gutterLeft[ht]+"px; width: "+pe.gutterWidth[ht]+"px"))}}}function rs(y,ie,me){ie.alignable&&(ie.alignable=null);for(var pe=we("CodeMirror-linewidget"),Ee=ie.node.firstChild,Re=void 0;Ee;Ee=Re)Re=Ee.nextSibling,pe.test(Ee.className)&&ie.node.removeChild(Ee);Ls(y,ie,me)}function la(y,ie,me,pe){var Ee=Wi(y,ie);return ie.text=ie.node=Ee.pre,Ee.bgClass&&(ie.bgClass=Ee.bgClass),Ee.textClass&&(ie.textClass=Ee.textClass),ko(y,ie),Pi(y,ie,me,pe),Ls(y,ie,pe),ie.node}function Ls(y,ie,me){if(Ps(y,ie.line,ie,me,!0),ie.rest)for(var pe=0;pe<ie.rest.length;pe++)Ps(y,ie.rest[pe],ie,me,!1)}function Ps(y,ie,me,pe,Ee){if(ie.widgets)for(var Re=no(me),Ke=0,nt=ie.widgets;Ke<nt.length;++Ke){var ct=nt[Ke],ht=be("div",[ct.node],"CodeMirror-linewidget"+(ct.className?" "+ct.className:""));ct.handleMouseEvents||ht.setAttribute("cm-ignore-events","true"),ua(ct,ht,me,pe),y.display.input.setUneditable(ht),Ee&&ct.above?Re.insertBefore(ht,me.gutter||me.text):Re.appendChild(ht),ln(ct,"redraw")}}function ua(y,ie,me,pe){if(y.noHScroll){(me.alignable||(me.alignable=[])).push(ie);var Ee=pe.wrapperWidth;ie.style.left=pe.fixedPos+"px",y.coverGutter||(Ee-=pe.gutterTotalWidth,ie.style.paddingLeft=pe.gutterTotalWidth+"px"),ie.style.width=Ee+"px"}y.coverGutter&&(ie.style.zIndex=5,ie.style.position="relative",y.noHScroll||(ie.style.marginLeft=-pe.gutterTotalWidth+"px"))}function Do(y){if(y.height!=null)return y.height;var ie=y.doc.cm;if(!ie)return 0;if(!je(document.body,y.node)){var me="position: relative;";y.coverGutter&&(me+="margin-left: -"+ie.display.gutters.offsetWidth+"px;"),y.noHScroll&&(me+="width: "+ie.display.wrapper.clientWidth+"px;"),Se(ie.display.measure,be("div",[y.node],null,me))}return y.height=y.node.parentNode.offsetHeight}function Ri(y,ie){for(var me=Yr(ie);me!=y.wrapper;me=me.parentNode)if(!me||me.nodeType==1&&me.getAttribute("cm-ignore-events")=="true"||me.parentNode==y.sizer&&me!=y.mover)return!0}function ns(y){return y.lineSpace.offsetTop}function is(y){return y.mover.offsetHeight-y.lineSpace.offsetHeight}function Mo(y){if(y.cachedPaddingH)return y.cachedPaddingH;var ie=Se(y.measure,be("pre","x","CodeMirror-line-like")),me=window.getComputedStyle?window.getComputedStyle(ie):ie.currentStyle,pe={left:parseInt(me.paddingLeft),right:parseInt(me.paddingRight)};return!isNaN(pe.left)&&!isNaN(pe.right)&&(y.cachedPaddingH=pe),pe}function wi(y){return ut-y.display.nativeBarWidth}function di(y){return y.display.scroller.clientWidth-wi(y)-y.display.barWidth}function po(y){return y.display.scroller.clientHeight-wi(y)-y.display.barHeight}function os(y,ie,me){var pe=y.options.lineWrapping,Ee=pe&&di(y);if(!ie.measure.heights||pe&&ie.measure.width!=Ee){var Re=ie.measure.heights=[];if(pe){ie.measure.width=Ee;for(var Ke=ie.text.firstChild.getClientRects(),nt=0;nt<Ke.length-1;nt++){var ct=Ke[nt],ht=Ke[nt+1];Math.abs(ct.bottom-ht.bottom)>2&&Re.push((ct.bottom+ht.top)/2-me.top)}}Re.push(me.bottom-me.top)}}function Oo(y,ie,me){if(y.line==ie)return{map:y.measure.map,cache:y.measure.cache};for(var pe=0;pe<y.rest.length;pe++)if(y.rest[pe]==ie)return{map:y.measure.maps[pe],cache:y.measure.caches[pe]};for(var Ee=0;Ee<y.rest.length;Ee++)if(er(y.rest[Ee])>me)return{map:y.measure.maps[Ee],cache:y.measure.caches[Ee],before:!0}}function jo(y,ie){ie=Zr(ie);var me=er(ie),pe=y.display.externalMeasured=new bi(y.doc,ie,me);pe.lineN=me;var Ee=pe.built=ri(y,pe);return pe.text=Ee.pre,Se(y.display.lineMeasure,Ee.pre),pe}function ss(y,ie,me,pe){return xi(y,io(y,ie),me,pe)}function as(y,ie){if(ie>=y.display.viewFrom&&ie<y.display.viewTo)return y.display.view[hi(y,ie)];var me=y.display.externalMeasured;if(me&&ie>=me.lineN&&ie<me.lineN+me.size)return me}function io(y,ie){var me=er(ie),pe=as(y,me);pe&&!pe.text?pe=null:pe&&pe.changes&&(es(y,pe,me,fs(y)),y.curOp.forceUpdate=!0),pe||(pe=jo(y,ie));var Ee=Oo(pe,ie,me);return{line:ie,view:pe,rect:null,map:Ee.map,cache:Ee.cache,before:Ee.before,hasHeights:!1}}function xi(y,ie,me,pe,Ee){ie.before&&(me=-1);var Re=me+(pe||""),Ke;return ie.cache.hasOwnProperty(Re)?Ke=ie.cache[Re]:(ie.rect||(ie.rect=ie.view.text.getBoundingClientRect()),ie.hasHeights||(os(y,ie.view,ie.rect),ie.hasHeights=!0),Ke=Po(y,ie,me,pe),Ke.bogus||(ie.cache[Re]=Ke)),{left:Ke.left,right:Ke.right,top:Ee?Ke.rtop:Ke.top,bottom:Ee?Ke.rbottom:Ke.bottom}}var Rs={left:0,right:0,top:0,bottom:0};function Is(y,ie,me){for(var pe,Ee,Re,Ke,nt,ct,ht=0;ht<y.length;ht+=3)if(nt=y[ht],ct=y[ht+1],ie<nt?(Ee=0,Re=1,Ke="left"):ie<ct?(Ee=ie-nt,Re=Ee+1):(ht==y.length-3||ie==ct&&y[ht+3]>ie)&&(Re=ct-nt,Ee=Re-1,ie>=ct&&(Ke="right")),Ee!=null){if(pe=y[ht+2],nt==ct&&me==(pe.insertLeft?"left":"right")&&(Ke=me),me=="left"&&Ee==0)for(;ht&&y[ht-2]==y[ht-3]&&y[ht-1].insertLeft;)pe=y[(ht-=3)+2],Ke="left";if(me=="right"&&Ee==ct-nt)for(;ht<y.length-3&&y[ht+3]==y[ht+4]&&!y[ht+5].insertLeft;)pe=y[(ht+=3)+2],Ke="right";break}return{node:pe,start:Ee,end:Re,collapse:Ke,coverStart:nt,coverEnd:ct}}function Lo(y,ie){var me=Rs;if(ie=="left")for(var pe=0;pe<y.length&&(me=y[pe]).left==me.right;pe++);else for(var Ee=y.length-1;Ee>=0&&(me=y[Ee]).left==me.right;Ee--);return me}function Po(y,ie,me,pe){var Ee=Is(ie.map,me,pe),Re=Ee.node,Ke=Ee.start,nt=Ee.end,ct=Ee.collapse,ht;if(Re.nodeType==3){for(var _t=0;_t<4;_t++){for(;Ke&&Ne(ie.line.text.charAt(Ee.coverStart+Ke));)--Ke;for(;Ee.coverStart+nt<Ee.coverEnd&&Ne(ie.line.text.charAt(Ee.coverStart+nt));)++nt;if(de&&ee<9&&Ke==0&&nt==Ee.coverEnd-Ee.coverStart?ht=Re.parentNode.getBoundingClientRect():ht=Lo(Te(Re,Ke,nt).getClientRects(),pe),ht.left||ht.right||Ke==0)break;nt=Ke,Ke=Ke-1,ct="right"}de&&ee<11&&(ht=ca(y.display.measure,ht))}else{Ke>0&&(ct=pe="right");var At;y.options.lineWrapping&&(At=Re.getClientRects()).length>1?ht=At[pe=="right"?At.length-1:0]:ht=Re.getBoundingClientRect()}if(de&&ee<9&&!Ke&&(!ht||!ht.left&&!ht.right)){var Pt=Re.parentNode.getClientRects()[0];Pt?ht={left:Pt.left,right:Pt.left+so(y.display),top:Pt.top,bottom:Pt.bottom}:ht=Rs}for(var Lt=ht.top-ie.rect.top,Vt=ht.bottom-ie.rect.top,Yt=(Lt+Vt)/2,qt=ie.view.measure.heights,ir=0;ir<qt.length-1&&!(Yt<qt[ir]);ir++);var ur=ir?qt[ir-1]:0,or=qt[ir],mr={left:(ct=="right"?ht.right:ht.left)-ie.rect.left,right:(ct=="left"?ht.left:ht.right)-ie.rect.left,top:ur,bottom:or};return!ht.left&&!ht.right&&(mr.bogus=!0),y.options.singleCursorHeightPerLine||(mr.rtop=Lt,mr.rbottom=Vt),mr}function ca(y,ie){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Kt(y))return ie;var me=screen.logicalXDPI/screen.deviceXDPI,pe=screen.logicalYDPI/screen.deviceYDPI;return{left:ie.left*me,right:ie.right*me,top:ie.top*pe,bottom:ie.bottom*pe}}function Bs(y){if(y.measure&&(y.measure.cache={},y.measure.heights=null,y.rest))for(var ie=0;ie<y.rest.length;ie++)y.measure.caches[ie]={}}function Ii(y){y.display.externalMeasure=null,ve(y.display.lineMeasure);for(var ie=0;ie<y.display.view.length;ie++)Bs(y.display.view[ie])}function Si(y){Ii(y),y.display.cachedCharWidth=y.display.cachedTextHeight=y.display.cachedPaddingH=null,y.options.lineWrapping||(y.display.maxLineChanged=!0),y.display.lineNumChars=null}function ls(){return te&&re?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function us(){return te&&re?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Ns(y){var ie=0;if(y.widgets)for(var me=0;me<y.widgets.length;++me)y.widgets[me].above&&(ie+=Do(y.widgets[me]));return ie}function Gi(y,ie,me,pe,Ee){if(!Ee){var Re=Ns(ie);me.top+=Re,me.bottom+=Re}if(pe=="line")return me;pe||(pe="local");var Ke=yr(ie);if(pe=="local"?Ke+=ns(y.display):Ke-=y.display.viewOffset,pe=="page"||pe=="window"){var nt=y.display.lineSpace.getBoundingClientRect();Ke+=nt.top+(pe=="window"?0:us());var ct=nt.left+(pe=="window"?0:ls());me.left+=ct,me.right+=ct}return me.top+=Ke,me.bottom+=Ke,me}function Fs(y,ie,me){if(me=="div")return ie;var pe=ie.left,Ee=ie.top;if(me=="page")pe-=ls(),Ee-=us();else if(me=="local"||!me){var Re=y.display.sizer.getBoundingClientRect();pe+=Re.left,Ee+=Re.top}var Ke=y.display.lineSpace.getBoundingClientRect();return{left:pe-Ke.left,top:Ee-Ke.top}}function oo(y,ie,me,pe,Ee){return pe||(pe=Et(y.doc,ie.line)),Gi(y,pe,ss(y,pe,ie.ch,Ee),me)}function jn(y,ie,me,pe,Ee,Re){pe=pe||Et(y.doc,ie.line),Ee||(Ee=io(y,pe));function Ke(Vt,Yt){var qt=xi(y,Ee,Vt,Yt?"right":"left",Re);return Yt?qt.left=qt.right:qt.right=qt.left,Gi(y,pe,qt,me)}var nt=lt(pe,y.doc.direction),ct=ie.ch,ht=ie.sticky;if(ct>=pe.text.length?(ct=pe.text.length,ht="before"):ct<=0&&(ct=0,ht="after"),!nt)return Ke(ht=="before"?ct-1:ct,ht=="before");function _t(Vt,Yt,qt){var ir=nt[Yt],ur=ir.level==1;return Ke(qt?Vt-1:Vt,ur!=qt)}var At=De(nt,ct,ht),Pt=Le,Lt=_t(ct,At,ht=="before");return Pt!=null&&(Lt.other=_t(ct,Pt,ht!="before")),Lt}function Hs(y,ie){var me=0;ie=rr(y.doc,ie),y.options.lineWrapping||(me=so(y.display)*ie.ch);var pe=Et(y.doc,ie.line),Ee=yr(pe)+ns(y.display);return{left:me,right:me,top:Ee,bottom:Ee+pe.height}}function Ro(y,ie,me,pe,Ee){var Re=Ft(y,ie,me);return Re.xRel=Ee,pe&&(Re.outside=pe),Re}function Io(y,ie,me){var pe=y.doc;if(me+=y.display.viewOffset,me<0)return Ro(pe.first,0,null,-1,-1);var Ee=wr(pe,me),Re=pe.first+pe.size-1;if(Ee>Re)return Ro(pe.first+pe.size-1,Et(pe,Re).text.length,null,1,1);ie<0&&(ie=0);for(var Ke=Et(pe,Ee);;){var nt=Ws(y,Ke,Ee,ie,me),ct=mn(Ke,nt.ch+(nt.xRel>0||nt.outside>0?1:0));if(!ct)return nt;var ht=ct.find(1);if(ht.line==Ee)return ht;Ke=Et(pe,Ee=ht.line)}}function Us(y,ie,me,pe){pe-=Ns(ie);var Ee=ie.text.length,Re=ot(function(Ke){return xi(y,me,Ke-1).bottom<=pe},Ee,0);return Ee=ot(function(Ke){return xi(y,me,Ke).top>pe},Re,Ee),{begin:Re,end:Ee}}function zs(y,ie,me,pe){me||(me=io(y,ie));var Ee=Gi(y,ie,xi(y,me,pe),"line").top;return Us(y,ie,me,Ee)}function cs(y,ie,me,pe){return y.bottom<=me?!1:y.top>me?!0:(pe?y.left:y.right)>ie}function Ws(y,ie,me,pe,Ee){Ee-=yr(ie);var Re=io(y,ie),Ke=Ns(ie),nt=0,ct=ie.text.length,ht=!0,_t=lt(ie,y.doc.direction);if(_t){var At=(y.options.lineWrapping?Bo:fa)(y,ie,me,Re,_t,pe,Ee);ht=At.level!=1,nt=ht?At.from:At.to-1,ct=ht?At.to:At.from-1}var Pt=null,Lt=null,Vt=ot(function(_r){var xr=xi(y,Re,_r);return xr.top+=Ke,xr.bottom+=Ke,cs(xr,pe,Ee,!1)?(xr.top<=Ee&&xr.left<=pe&&(Pt=_r,Lt=xr),!0):!1},nt,ct),Yt,qt,ir=!1;if(Lt){var ur=pe-Lt.left<Lt.right-pe,or=ur==ht;Vt=Pt+(or?0:1),qt=or?"after":"before",Yt=ur?Lt.left:Lt.right}else{!ht&&(Vt==ct||Vt==nt)&&Vt++,qt=Vt==0?"after":Vt==ie.text.length?"before":xi(y,Re,Vt-(ht?1:0)).bottom+Ke<=Ee==ht?"after":"before";var mr=jn(y,Ft(me,Vt,qt),"line",ie,Re);Yt=mr.left,ir=Ee<mr.top?-1:Ee>=mr.bottom?1:0}return Vt=Ye(ie.text,Vt,1),Ro(me,Vt,qt,ir,pe-Yt)}function fa(y,ie,me,pe,Ee,Re,Ke){var nt=ot(function(At){var Pt=Ee[At],Lt=Pt.level!=1;return cs(jn(y,Ft(me,Lt?Pt.to:Pt.from,Lt?"before":"after"),"line",ie,pe),Re,Ke,!0)},0,Ee.length-1),ct=Ee[nt];if(nt>0){var ht=ct.level!=1,_t=jn(y,Ft(me,ht?ct.from:ct.to,ht?"after":"before"),"line",ie,pe);cs(_t,Re,Ke,!0)&&_t.top>Ke&&(ct=Ee[nt-1])}return ct}function Bo(y,ie,me,pe,Ee,Re,Ke){var nt=Us(y,ie,pe,Ke),ct=nt.begin,ht=nt.end;/\s/.test(ie.text.charAt(ht-1))&&ht--;for(var _t=null,At=null,Pt=0;Pt<Ee.length;Pt++){var Lt=Ee[Pt];if(!(Lt.from>=ht||Lt.to<=ct)){var Vt=Lt.level!=1,Yt=xi(y,pe,Vt?Math.min(ht,Lt.to)-1:Math.max(ct,Lt.from)).right,qt=Yt<Re?Re-Yt+1e9:Yt-Re;(!_t||At>qt)&&(_t=Lt,At=qt)}}return _t||(_t=Ee[Ee.length-1]),_t.from<ct&&(_t={from:ct,to:_t.to,level:_t.level}),_t.to>ht&&(_t={from:_t.from,to:ht,level:_t.level}),_t}var Bi;function Ni(y){if(y.cachedTextHeight!=null)return y.cachedTextHeight;if(Bi==null){Bi=be("pre",null,"CodeMirror-line-like");for(var ie=0;ie<49;++ie)Bi.appendChild(document.createTextNode("x")),Bi.appendChild(be("br"));Bi.appendChild(document.createTextNode("x"))}Se(y.measure,Bi);var me=Bi.offsetHeight/50;return me>3&&(y.cachedTextHeight=me),ve(y.measure),me||1}function so(y){if(y.cachedCharWidth!=null)return y.cachedCharWidth;var ie=be("span","xxxxxxxxxx"),me=be("pre",[ie],"CodeMirror-line-like");Se(y.measure,me);var pe=ie.getBoundingClientRect(),Ee=(pe.right-pe.left)/10;return Ee>2&&(y.cachedCharWidth=Ee),Ee||10}function fs(y){for(var ie=y.display,me={},pe={},Ee=ie.gutters.clientLeft,Re=ie.gutters.firstChild,Ke=0;Re;Re=Re.nextSibling,++Ke){var nt=y.display.gutterSpecs[Ke].className;me[nt]=Re.offsetLeft+Re.clientLeft+Ee,pe[nt]=Re.clientWidth}return{fixedPos:No(ie),gutterTotalWidth:ie.gutters.offsetWidth,gutterLeft:me,gutterWidth:pe,wrapperWidth:ie.wrapper.clientWidth}}function No(y){return y.scroller.getBoundingClientRect().left-y.sizer.getBoundingClientRect().left}function mo(y){var ie=Ni(y.display),me=y.options.lineWrapping,pe=me&&Math.max(5,y.display.scroller.clientWidth/so(y.display)-3);return function(Ee){if(fr(y.doc,Ee))return 0;var Re=0;if(Ee.widgets)for(var Ke=0;Ke<Ee.widgets.length;Ke++)Ee.widgets[Ke].height&&(Re+=Ee.widgets[Ke].height);return me?Re+(Math.ceil(Ee.text.length/pe)||1)*ie:Re+ie}}function vo(y){var ie=y.doc,me=mo(y);ie.iter(function(pe){var Ee=me(pe);Ee!=pe.height&&Jt(pe,Ee)})}function Vi(y,ie,me,pe){var Ee=y.display;if(!me&&Yr(ie).getAttribute("cm-not-content")=="true")return null;var Re,Ke,nt=Ee.lineSpace.getBoundingClientRect();try{Re=ie.clientX-nt.left,Ke=ie.clientY-nt.top}catch(At){return null}var ct=Io(y,Re,Ke),ht;if(pe&&ct.xRel>0&&(ht=Et(y.doc,ct.line).text).length==ct.ch){var _t=Me(ht,ht.length,y.options.tabSize)-ht.length;ct=Ft(ct.line,Math.max(0,Math.round((Re-Mo(y.display).left)/so(y.display))-_t))}return ct}function hi(y,ie){if(ie>=y.display.viewTo||(ie-=y.display.viewFrom,ie<0))return null;for(var me=y.display.view,pe=0;pe<me.length;pe++)if(ie-=me[pe].size,ie<0)return pe}function Ot(y,ie,me,pe){ie==null&&(ie=y.doc.first),me==null&&(me=y.doc.first+y.doc.size),pe||(pe=0);var Ee=y.display;if(pe&&me<Ee.viewTo&&(Ee.updateLineNumbers==null||Ee.updateLineNumbers>ie)&&(Ee.updateLineNumbers=ie),y.curOp.viewChanged=!0,ie>=Ee.viewTo)un&&cr(y.doc,ie)<Ee.viewTo&&vr(y);else if(me<=Ee.viewFrom)un&&sr(y.doc,me+pe)>Ee.viewFrom?vr(y):(Ee.viewFrom+=pe,Ee.viewTo+=pe);else if(ie<=Ee.viewFrom&&me>=Ee.viewTo)vr(y);else if(ie<=Ee.viewFrom){var Re=Sr(y,me,me+pe,1);Re?(Ee.view=Ee.view.slice(Re.index),Ee.viewFrom=Re.lineN,Ee.viewTo+=pe):vr(y)}else if(me>=Ee.viewTo){var Ke=Sr(y,ie,ie,-1);Ke?(Ee.view=Ee.view.slice(0,Ke.index),Ee.viewTo=Ke.lineN):vr(y)}else{var nt=Sr(y,ie,ie,-1),ct=Sr(y,me,me+pe,1);nt&&ct?(Ee.view=Ee.view.slice(0,nt.index).concat(ci(y,nt.lineN,ct.lineN)).concat(Ee.view.slice(ct.index)),Ee.viewTo+=pe):vr(y)}var ht=Ee.externalMeasured;ht&&(me<ht.lineN?ht.lineN+=pe:ie<ht.lineN+ht.size&&(Ee.externalMeasured=null))}function ar(y,ie,me){y.curOp.viewChanged=!0;var pe=y.display,Ee=y.display.externalMeasured;if(Ee&&ie>=Ee.lineN&&ie<Ee.lineN+Ee.size&&(pe.externalMeasured=null),!(ie<pe.viewFrom||ie>=pe.viewTo)){var Re=pe.view[hi(y,ie)];if(Re.node!=null){var Ke=Re.changes||(Re.changes=[]);it(Ke,me)==-1&&Ke.push(me)}}}function vr(y){y.display.viewFrom=y.display.viewTo=y.doc.first,y.display.view=[],y.display.viewOffset=0}function Sr(y,ie,me,pe){var Ee=hi(y,ie),Re,Ke=y.display.view;if(!un||me==y.doc.first+y.doc.size)return{index:Ee,lineN:me};for(var nt=y.display.viewFrom,ct=0;ct<Ee;ct++)nt+=Ke[ct].size;if(nt!=ie){if(pe>0){if(Ee==Ke.length-1)return null;Re=nt+Ke[Ee].size-ie,Ee++}else Re=nt-ie;ie+=Re,me+=Re}for(;cr(y.doc,me)!=me;){if(Ee==(pe<0?0:Ke.length-1))return null;me+=pe*Ke[Ee-(pe<0?1:0)].size,Ee+=pe}return{index:Ee,lineN:me}}function jr(y,ie,me){var pe=y.display,Ee=pe.view;Ee.length==0||ie>=pe.viewTo||me<=pe.viewFrom?(pe.view=ci(y,ie,me),pe.viewFrom=ie):(pe.viewFrom>ie?pe.view=ci(y,ie,pe.viewFrom).concat(pe.view):pe.viewFrom<ie&&(pe.view=pe.view.slice(hi(y,ie))),pe.viewFrom=ie,pe.viewTo<me?pe.view=pe.view.concat(ci(y,pe.viewTo,me)):pe.viewTo>me&&(pe.view=pe.view.slice(0,hi(y,me)))),pe.viewTo=me}function Er(y){for(var ie=y.display.view,me=0,pe=0;pe<ie.length;pe++){var Ee=ie[pe];!Ee.hidden&&(!Ee.node||Ee.changes)&&++me}return me}function tn(y){y.display.input.showSelection(y.display.input.prepareSelection())}function Cn(y,ie){ie===void 0&&(ie=!0);for(var me=y.doc,pe={},Ee=pe.cursors=document.createDocumentFragment(),Re=pe.selection=document.createDocumentFragment(),Ke=0;Ke<me.sel.ranges.length;Ke++)if(!(!ie&&Ke==me.sel.primIndex)){var nt=me.sel.ranges[Ke];if(!(nt.from().line>=y.display.viewTo||nt.to().line<y.display.viewFrom)){var ct=nt.empty();(ct||y.options.showCursorWhenSelecting)&&Yn(y,nt.head,Ee),ct||zn(y,nt,Re)}}return pe}function Yn(y,ie,me){var pe=jn(y,ie,"div",null,null,!y.options.singleCursorHeightPerLine),Ee=me.appendChild(be("div","\xA0","CodeMirror-cursor"));if(Ee.style.left=pe.left+"px",Ee.style.top=pe.top+"px",Ee.style.height=Math.max(0,pe.bottom-pe.top)*y.options.cursorHeight+"px",pe.other){var Re=me.appendChild(be("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Re.style.display="",Re.style.left=pe.other.left+"px",Re.style.top=pe.other.top+"px",Re.style.height=(pe.other.bottom-pe.other.top)*.85+"px"}}function cn(y,ie){return y.top-ie.top||y.left-ie.left}function zn(y,ie,me){var pe=y.display,Ee=y.doc,Re=document.createDocumentFragment(),Ke=Mo(y.display),nt=Ke.left,ct=Math.max(pe.sizerWidth,di(y)-pe.sizer.offsetLeft)-Ke.right,ht=Ee.direction=="ltr";function _t(or,mr,_r,xr){mr<0&&(mr=0),mr=Math.round(mr),xr=Math.round(xr),Re.appendChild(be("div",null,"CodeMirror-selected","position: absolute; left: "+or+`px;
top: `+mr+"px; width: "+(_r==null?ct-or:_r)+`px;
height: `+(xr-mr)+"px"))}function At(or,mr,_r){var xr=Et(Ee,or),Lr=xr.text.length,nn,kn;function hn(xn,Jn){return oo(y,Ft(or,xn),"div",xr,Jn)}function si(xn,Jn,Ln){var En=zs(y,xr,null,xn),Sn=Jn=="ltr"==(Ln=="after")?"left":"right",gn=Ln=="after"?En.begin:En.end-(/\s/.test(xr.text.charAt(En.end-1))?2:1);return hn(gn,Sn)[Sn]}var Qn=lt(xr,Ee.direction);return Ue(Qn,mr||0,_r==null?Lr:_r,function(xn,Jn,Ln,En){var Sn=Ln=="ltr",gn=hn(xn,Sn?"left":"right"),qn=hn(Jn-1,Sn?"right":"left"),qo=mr==null&&xn==0,ho=_r==null&&Jn==Lr,Bn=En==0,Hi=!Qn||En==Qn.length-1;if(qn.top-gn.top<=3){var Dn=(ht?qo:ho)&&Bn,Pa=(ht?ho:qo)&&Hi,Qi=Dn?nt:(Sn?gn:qn).left,Co=Pa?ct:(Sn?qn:gn).right;_t(Qi,gn.top,Co-Qi,gn.bottom)}else{var Eo,Gn,$o,Ra;Sn?(Eo=ht&&qo&&Bn?nt:gn.left,Gn=ht?ct:si(xn,Ln,"before"),$o=ht?nt:si(Jn,Ln,"after"),Ra=ht&&ho&&Hi?ct:qn.right):(Eo=ht?si(xn,Ln,"before"):nt,Gn=!ht&&qo&&Bn?ct:gn.right,$o=!ht&&ho&&Hi?nt:qn.left,Ra=ht?si(Jn,Ln,"after"):ct),_t(Eo,gn.top,Gn-Eo,gn.bottom),gn.bottom<qn.top&&_t(nt,gn.bottom,null,qn.top),_t($o,qn.top,Ra-$o,qn.bottom)}(!nn||cn(gn,nn)<0)&&(nn=gn),cn(qn,nn)<0&&(nn=qn),(!kn||cn(gn,kn)<0)&&(kn=gn),cn(qn,kn)<0&&(kn=qn)}),{start:nn,end:kn}}var Pt=ie.from(),Lt=ie.to();if(Pt.line==Lt.line)At(Pt.line,Pt.ch,Lt.ch);else{var Vt=Et(Ee,Pt.line),Yt=Et(Ee,Lt.line),qt=Zr(Vt)==Zr(Yt),ir=At(Pt.line,Pt.ch,qt?Vt.text.length+1:null).end,ur=At(Lt.line,qt?0:null,Lt.ch).start;qt&&(ir.top<ur.top-2?(_t(ir.right,ir.top,null,ir.bottom),_t(nt,ur.top,ur.left,ur.bottom)):_t(ir.right,ir.top,ur.left-ir.right,ir.bottom)),ir.bottom<ur.top&&_t(nt,ir.bottom,null,ur.top)}me.appendChild(Re)}function go(y){if(y.state.focused){var ie=y.display;clearInterval(ie.blinker);var me=!0;ie.cursorDiv.style.visibility="",y.options.cursorBlinkRate>0?ie.blinker=setInterval(function(){y.hasFocus()||_i(y),ie.cursorDiv.style.visibility=(me=!me)?"":"hidden"},y.options.cursorBlinkRate):y.options.cursorBlinkRate<0&&(ie.cursorDiv.style.visibility="hidden")}}function Fo(y){y.state.focused||(y.display.input.focus(),Xi(y))}function Zi(y){y.state.delayingBlurEvent=!0,setTimeout(function(){y.state.delayingBlurEvent&&(y.state.delayingBlurEvent=!1,_i(y))},100)}function Xi(y,ie){y.state.delayingBlurEvent&&(y.state.delayingBlurEvent=!1),y.options.readOnly!="nocursor"&&(y.state.focused||(Tt(y,"focus",y,ie),y.state.focused=!0,Pe(y.display.wrapper,"CodeMirror-focused"),!y.curOp&&y.display.selForContextMenu!=y.doc.sel&&(y.display.input.reset(),oe&&setTimeout(function(){return y.display.input.reset(!0)},20)),y.display.input.receivedFocus()),go(y))}function _i(y,ie){y.state.delayingBlurEvent||(y.state.focused&&(Tt(y,"blur",y,ie),y.state.focused=!1,xe(y.display.wrapper,"CodeMirror-focused")),clearInterval(y.display.blinker),setTimeout(function(){y.state.focused||(y.display.shift=!1)},150))}function Fi(y){for(var ie=y.display,me=ie.lineDiv.offsetTop,pe=0;pe<ie.view.length;pe++){var Ee=ie.view[pe],Re=y.options.lineWrapping,Ke=void 0,nt=0;if(!Ee.hidden){if(de&&ee<8){var ct=Ee.node.offsetTop+Ee.node.offsetHeight;Ke=ct-me,me=ct}else{var ht=Ee.node.getBoundingClientRect();Ke=ht.bottom-ht.top,!Re&&Ee.text.firstChild&&(nt=Ee.text.firstChild.getBoundingClientRect().right-ht.left-1)}var _t=Ee.line.height-Ke;if((_t>.005||_t<-.005)&&(Jt(Ee.line,Ke),Ho(Ee.line),Ee.rest))for(var At=0;At<Ee.rest.length;At++)Ho(Ee.rest[At]);if(nt>y.display.sizerWidth){var Pt=Math.ceil(nt/so(y.display));Pt>y.display.maxLineLength&&(y.display.maxLineLength=Pt,y.display.maxLine=Ee.line,y.display.maxLineChanged=!0)}}}}function Ho(y){if(y.widgets)for(var ie=0;ie<y.widgets.length;++ie){var me=y.widgets[ie],pe=me.node.parentNode;pe&&(me.height=pe.offsetHeight)}}function yo(y,ie,me){var pe=me&&me.top!=null?Math.max(0,me.top):y.scroller.scrollTop;pe=Math.floor(pe-ns(y));var Ee=me&&me.bottom!=null?me.bottom:pe+y.wrapper.clientHeight,Re=wr(ie,pe),Ke=wr(ie,Ee);if(me&&me.ensure){var nt=me.ensure.from.line,ct=me.ensure.to.line;nt<Re?(Re=nt,Ke=wr(ie,yr(Et(ie,nt))+y.wrapper.clientHeight)):Math.min(ct,ie.lastLine())>=Ke&&(Re=wr(ie,yr(Et(ie,ct))-y.wrapper.clientHeight),Ke=ct)}return{from:Re,to:Math.max(Ke,Re+1)}}function bo(y,ie){if(!wt(y,"scrollCursorIntoView")){var me=y.display,pe=me.sizer.getBoundingClientRect(),Ee=null;if(ie.top+pe.top<0?Ee=!0:ie.bottom+pe.top>(window.innerHeight||document.documentElement.clientHeight)&&(Ee=!1),Ee!=null&&!b){var Re=be("div","\u200B",null,`position: absolute;
top: `+(ie.top-me.viewOffset-ns(y.display))+`px;
height: `+(ie.bottom-ie.top+wi(y)+me.barHeight)+`px;
left: `+ie.left+"px; width: "+Math.max(2,ie.right-ie.left)+"px;");y.display.lineSpace.appendChild(Re),Re.scrollIntoView(Ee),y.display.lineSpace.removeChild(Re)}}}function Yi(y,ie,me,pe){pe==null&&(pe=0);var Ee;!y.options.lineWrapping&&ie==me&&(ie=ie.ch?Ft(ie.line,ie.sticky=="before"?ie.ch-1:ie.ch,"after"):ie,me=ie.sticky=="before"?Ft(ie.line,ie.ch+1,"before"):ie);for(var Re=0;Re<5;Re++){var Ke=!1,nt=jn(y,ie),ct=!me||me==ie?nt:jn(y,me);Ee={left:Math.min(nt.left,ct.left),top:Math.min(nt.top,ct.top)-pe,right:Math.max(nt.left,ct.left),bottom:Math.max(nt.bottom,ct.bottom)+pe};var ht=da(y,Ee),_t=y.doc.scrollTop,At=y.doc.scrollLeft;if(ht.scrollTop!=null&&(ps(y,ht.scrollTop),Math.abs(y.doc.scrollTop-_t)>1&&(Ke=!0)),ht.scrollLeft!=null&&(wo(y,ht.scrollLeft),Math.abs(y.doc.scrollLeft-At)>1&&(Ke=!0)),!Ke)break}return Ee}function ds(y,ie){var me=da(y,ie);me.scrollTop!=null&&ps(y,me.scrollTop),me.scrollLeft!=null&&wo(y,me.scrollLeft)}function da(y,ie){var me=y.display,pe=Ni(y.display);ie.top<0&&(ie.top=0);var Ee=y.curOp&&y.curOp.scrollTop!=null?y.curOp.scrollTop:me.scroller.scrollTop,Re=po(y),Ke={};ie.bottom-ie.top>Re&&(ie.bottom=ie.top+Re);var nt=y.doc.height+is(me),ct=ie.top<pe,ht=ie.bottom>nt-pe;if(ie.top<Ee)Ke.scrollTop=ct?0:ie.top;else if(ie.bottom>Ee+Re){var _t=Math.min(ie.top,(ht?nt:ie.bottom)-Re);_t!=Ee&&(Ke.scrollTop=_t)}var At=y.options.fixedGutter?0:me.gutters.offsetWidth,Pt=y.curOp&&y.curOp.scrollLeft!=null?y.curOp.scrollLeft:me.scroller.scrollLeft-At,Lt=di(y)-me.gutters.offsetWidth,Vt=ie.right-ie.left>Lt;return Vt&&(ie.right=ie.left+Lt),ie.left<10?Ke.scrollLeft=0:ie.left<Pt?Ke.scrollLeft=Math.max(0,ie.left+At-(Vt?0:10)):ie.right>Lt+Pt-3&&(Ke.scrollLeft=ie.right+(Vt?0:10)-Lt),Ke}function ha(y,ie){ie!=null&&(Gs(y),y.curOp.scrollTop=(y.curOp.scrollTop==null?y.doc.scrollTop:y.curOp.scrollTop)+ie)}function Uo(y){Gs(y);var ie=y.getCursor();y.curOp.scrollToPos={from:ie,to:ie,margin:y.options.cursorScrollMargin}}function hs(y,ie,me){(ie!=null||me!=null)&&Gs(y),ie!=null&&(y.curOp.scrollLeft=ie),me!=null&&(y.curOp.scrollTop=me)}function ql(y,ie){Gs(y),y.curOp.scrollToPos=ie}function Gs(y){var ie=y.curOp.scrollToPos;if(ie){y.curOp.scrollToPos=null;var me=Hs(y,ie.from),pe=Hs(y,ie.to);Ba(y,me,pe,ie.margin)}}function Ba(y,ie,me,pe){var Ee=da(y,{left:Math.min(ie.left,me.left),top:Math.min(ie.top,me.top)-pe,right:Math.max(ie.right,me.right),bottom:Math.max(ie.bottom,me.bottom)+pe});hs(y,Ee.scrollLeft,Ee.scrollTop)}function ps(y,ie){Math.abs(y.doc.scrollTop-ie)<2||(ye||ma(y,{top:ie}),Na(y,ie,!0),ye&&ma(y),gs(y,100))}function Na(y,ie,me){ie=Math.max(0,Math.min(y.display.scroller.scrollHeight-y.display.scroller.clientHeight,ie)),!(y.display.scroller.scrollTop==ie&&!me)&&(y.doc.scrollTop=ie,y.display.scrollbars.setScrollTop(ie),y.display.scroller.scrollTop!=ie&&(y.display.scroller.scrollTop=ie))}function wo(y,ie,me,pe){ie=Math.max(0,Math.min(ie,y.display.scroller.scrollWidth-y.display.scroller.clientWidth)),!((me?ie==y.doc.scrollLeft:Math.abs(y.doc.scrollLeft-ie)<2)&&!pe)&&(y.doc.scrollLeft=ie,Wa(y),y.display.scroller.scrollLeft!=ie&&(y.display.scroller.scrollLeft=ie),y.display.scrollbars.setScrollLeft(ie))}function ms(y){var ie=y.display,me=ie.gutters.offsetWidth,pe=Math.round(y.doc.height+is(y.display));return{clientHeight:ie.scroller.clientHeight,viewHeight:ie.wrapper.clientHeight,scrollWidth:ie.scroller.scrollWidth,clientWidth:ie.scroller.clientWidth,viewWidth:ie.wrapper.clientWidth,barLeft:y.options.fixedGutter?me:0,docHeight:pe,scrollHeight:pe+wi(y)+ie.barHeight,nativeBarWidth:ie.nativeBarWidth,gutterWidth:me}}var xo=function(y,ie,me){this.cm=me;var pe=this.vert=be("div",[be("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Ee=this.horiz=be("div",[be("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");pe.tabIndex=Ee.tabIndex=-1,y(pe),y(Ee),yt(pe,"scroll",function(){pe.clientHeight&&ie(pe.scrollTop,"vertical")}),yt(Ee,"scroll",function(){Ee.clientWidth&&ie(Ee.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,de&&ee<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};xo.prototype.update=function(y){var ie=y.scrollWidth>y.clientWidth+1,me=y.scrollHeight>y.clientHeight+1,pe=y.nativeBarWidth;if(me){this.vert.style.display="block",this.vert.style.bottom=ie?pe+"px":"0";var Ee=y.viewHeight-(ie?pe:0);this.vert.firstChild.style.height=Math.max(0,y.scrollHeight-y.clientHeight+Ee)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ie){this.horiz.style.display="block",this.horiz.style.right=me?pe+"px":"0",this.horiz.style.left=y.barLeft+"px";var Re=y.viewWidth-y.barLeft-(me?pe:0);this.horiz.firstChild.style.width=Math.max(0,y.scrollWidth-y.clientWidth+Re)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&y.clientHeight>0&&(pe==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:me?pe:0,bottom:ie?pe:0}},xo.prototype.setScrollLeft=function(y){this.horiz.scrollLeft!=y&&(this.horiz.scrollLeft=y),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},xo.prototype.setScrollTop=function(y){this.vert.scrollTop!=y&&(this.vert.scrollTop=y),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},xo.prototype.zeroWidthHack=function(){var y=le&&!x?"12px":"18px";this.horiz.style.height=this.vert.style.width=y,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new We,this.disableVert=new We},xo.prototype.enableZeroWidthBar=function(y,ie,me){y.style.pointerEvents="auto";function pe(){var Ee=y.getBoundingClientRect(),Re=me=="vert"?document.elementFromPoint(Ee.right-1,(Ee.top+Ee.bottom)/2):document.elementFromPoint((Ee.right+Ee.left)/2,Ee.bottom-1);Re!=y?y.style.pointerEvents="none":ie.set(1e3,pe)}ie.set(1e3,pe)},xo.prototype.clear=function(){var y=this.horiz.parentNode;y.removeChild(this.horiz),y.removeChild(this.vert)};var vs=function(){};vs.prototype.update=function(){return{bottom:0,right:0}},vs.prototype.setScrollLeft=function(){},vs.prototype.setScrollTop=function(){},vs.prototype.clear=function(){};function zo(y,ie){ie||(ie=ms(y));var me=y.display.barWidth,pe=y.display.barHeight;Fa(y,ie);for(var Ee=0;Ee<4&&me!=y.display.barWidth||pe!=y.display.barHeight;Ee++)me!=y.display.barWidth&&y.options.lineWrapping&&Fi(y),Fa(y,ms(y)),me=y.display.barWidth,pe=y.display.barHeight}function Fa(y,ie){var me=y.display,pe=me.scrollbars.update(ie);me.sizer.style.paddingRight=(me.barWidth=pe.right)+"px",me.sizer.style.paddingBottom=(me.barHeight=pe.bottom)+"px",me.heightForcer.style.borderBottom=pe.bottom+"px solid transparent",pe.right&&pe.bottom?(me.scrollbarFiller.style.display="block",me.scrollbarFiller.style.height=pe.bottom+"px",me.scrollbarFiller.style.width=pe.right+"px"):me.scrollbarFiller.style.display="",pe.bottom&&y.options.coverGutterNextToScrollbar&&y.options.fixedGutter?(me.gutterFiller.style.display="block",me.gutterFiller.style.height=pe.bottom+"px",me.gutterFiller.style.width=ie.gutterWidth+"px"):me.gutterFiller.style.display=""}var Ha={native:xo,null:vs};function Ua(y){y.display.scrollbars&&(y.display.scrollbars.clear(),y.display.scrollbars.addClass&&xe(y.display.wrapper,y.display.scrollbars.addClass)),y.display.scrollbars=new Ha[y.options.scrollbarStyle](function(ie){y.display.wrapper.insertBefore(ie,y.display.scrollbarFiller),yt(ie,"mousedown",function(){y.state.focused&&setTimeout(function(){return y.display.input.focus()},0)}),ie.setAttribute("cm-not-content","true")},function(ie,me){me=="horizontal"?wo(y,ie):ps(y,ie)},y),y.display.scrollbars.addClass&&Pe(y.display.wrapper,y.display.scrollbars.addClass)}var $l=0;function So(y){y.curOp={cm:y,viewChanged:!1,startHeight:y.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++$l},Ao(y.curOp)}function _o(y){var ie=y.curOp;ie&&ii(ie,function(me){for(var pe=0;pe<me.ops.length;pe++)me.ops[pe].cm.curOp=null;eu(me)})}function eu(y){for(var ie=y.ops,me=0;me<ie.length;me++)tu(ie[me]);for(var pe=0;pe<ie.length;pe++)ru(ie[pe]);for(var Ee=0;Ee<ie.length;Ee++)nu(ie[Ee]);for(var Re=0;Re<ie.length;Re++)iu(ie[Re]);for(var Ke=0;Ke<ie.length;Ke++)ou(ie[Ke])}function tu(y){var ie=y.cm,me=ie.display;au(ie),y.updateMaxLine&&on(ie),y.mustUpdate=y.viewChanged||y.forceUpdate||y.scrollTop!=null||y.scrollToPos&&(y.scrollToPos.from.line<me.viewFrom||y.scrollToPos.to.line>=me.viewTo)||me.maxLineChanged&&ie.options.lineWrapping,y.update=y.mustUpdate&&new Vs(ie,y.mustUpdate&&{top:y.scrollTop,ensure:y.scrollToPos},y.forceUpdate)}function ru(y){y.updatedDisplay=y.mustUpdate&&pa(y.cm,y.update)}function nu(y){var ie=y.cm,me=ie.display;y.updatedDisplay&&Fi(ie),y.barMeasure=ms(ie),me.maxLineChanged&&!ie.options.lineWrapping&&(y.adjustWidthTo=ss(ie,me.maxLine,me.maxLine.text.length).left+3,ie.display.sizerWidth=y.adjustWidthTo,y.barMeasure.scrollWidth=Math.max(me.scroller.clientWidth,me.sizer.offsetLeft+y.adjustWidthTo+wi(ie)+ie.display.barWidth),y.maxScrollLeft=Math.max(0,me.sizer.offsetLeft+y.adjustWidthTo-di(ie))),(y.updatedDisplay||y.selectionChanged)&&(y.preparedSelection=me.input.prepareSelection())}function iu(y){var ie=y.cm;y.adjustWidthTo!=null&&(ie.display.sizer.style.minWidth=y.adjustWidthTo+"px",y.maxScrollLeft<ie.doc.scrollLeft&&wo(ie,Math.min(ie.display.scroller.scrollLeft,y.maxScrollLeft),!0),ie.display.maxLineChanged=!1);var me=y.focus&&y.focus==ke();y.preparedSelection&&ie.display.input.showSelection(y.preparedSelection,me),(y.updatedDisplay||y.startHeight!=ie.doc.height)&&zo(ie,y.barMeasure),y.updatedDisplay&&ga(ie,y.barMeasure),y.selectionChanged&&go(ie),ie.state.focused&&y.updateInput&&ie.display.input.reset(y.typing),me&&Fo(y.cm)}function ou(y){var ie=y.cm,me=ie.display,pe=ie.doc;if(y.updatedDisplay&&za(ie,y.update),me.wheelStartX!=null&&(y.scrollTop!=null||y.scrollLeft!=null||y.scrollToPos)&&(me.wheelStartX=me.wheelStartY=null),y.scrollTop!=null&&Na(ie,y.scrollTop,y.forceScroll),y.scrollLeft!=null&&wo(ie,y.scrollLeft,!0,!0),y.scrollToPos){var Ee=Yi(ie,rr(pe,y.scrollToPos.from),rr(pe,y.scrollToPos.to),y.scrollToPos.margin);bo(ie,Ee)}var Re=y.maybeHiddenMarkers,Ke=y.maybeUnhiddenMarkers;if(Re)for(var nt=0;nt<Re.length;++nt)Re[nt].lines.length||Tt(Re[nt],"hide");if(Ke)for(var ct=0;ct<Ke.length;++ct)Ke[ct].lines.length&&Tt(Ke[ct],"unhide");me.wrapper.offsetHeight&&(pe.scrollTop=ie.display.scroller.scrollTop),y.changeObjs&&Tt(ie,"changes",ie,y.changeObjs),y.update&&y.update.finish()}function oi(y,ie){if(y.curOp)return ie();So(y);try{return ie()}finally{_o(y)}}function An(y,ie){return function(){if(y.curOp)return ie.apply(y,arguments);So(y);try{return ie.apply(y,arguments)}finally{_o(y)}}}function Wn(y){return function(){if(this.curOp)return y.apply(this,arguments);So(this);try{return y.apply(this,arguments)}finally{_o(this)}}}function Tn(y){return function(){var ie=this.cm;if(!ie||ie.curOp)return y.apply(this,arguments);So(ie);try{return y.apply(this,arguments)}finally{_o(ie)}}}function gs(y,ie){y.doc.highlightFrontier<y.display.viewTo&&y.state.highlight.set(ie,Ge(su,y))}function su(y){var ie=y.doc;if(!(ie.highlightFrontier>=y.display.viewTo)){var me=+new Date+y.options.workTime,pe=en(y,ie.highlightFrontier),Ee=[];ie.iter(pe.line,Math.min(ie.first+ie.size,y.display.viewTo+500),function(Re){if(pe.line>=y.display.viewFrom){var Ke=Re.styles,nt=Re.text.length>y.options.maxHighlightLength?Ct(ie.mode,pe.state):null,ct=pn(y,Re,pe,!0);nt&&(pe.state=nt),Re.styles=ct.styles;var ht=Re.styleClasses,_t=ct.classes;_t?Re.styleClasses=_t:ht&&(Re.styleClasses=null);for(var At=!Ke||Ke.length!=Re.styles.length||ht!=_t&&(!ht||!_t||ht.bgClass!=_t.bgClass||ht.textClass!=_t.textClass),Pt=0;!At&&Pt<Ke.length;++Pt)At=Ke[Pt]!=Re.styles[Pt];At&&Ee.push(pe.line),Re.stateAfter=pe.save(),pe.nextLine()}else Re.text.length<=y.options.maxHighlightLength&&Fn(y,Re.text,pe),Re.stateAfter=pe.line%5==0?pe.save():null,pe.nextLine();if(+new Date>me)return gs(y,y.options.workDelay),!0}),ie.highlightFrontier=pe.line,ie.modeFrontier=Math.max(ie.modeFrontier,pe.line),Ee.length&&oi(y,function(){for(var Re=0;Re<Ee.length;Re++)ar(y,Ee[Re],"text")})}}var Vs=function(y,ie,me){var pe=y.display;this.viewport=ie,this.visible=yo(pe,y.doc,ie),this.editorIsHidden=!pe.wrapper.offsetWidth,this.wrapperHeight=pe.wrapper.clientHeight,this.wrapperWidth=pe.wrapper.clientWidth,this.oldDisplayWidth=di(y),this.force=me,this.dims=fs(y),this.events=[]};Vs.prototype.signal=function(y,ie){Bt(y,ie)&&this.events.push(arguments)},Vs.prototype.finish=function(){for(var y=0;y<this.events.length;y++)Tt.apply(null,this.events[y])};function au(y){var ie=y.display;!ie.scrollbarsClipped&&ie.scroller.offsetWidth&&(ie.nativeBarWidth=ie.scroller.offsetWidth-ie.scroller.clientWidth,ie.heightForcer.style.height=wi(y)+"px",ie.sizer.style.marginBottom=-ie.nativeBarWidth+"px",ie.sizer.style.borderRightWidth=wi(y)+"px",ie.scrollbarsClipped=!0)}function lu(y){if(y.hasFocus())return null;var ie=ke();if(!ie||!je(y.display.lineDiv,ie))return null;var me={activeElt:ie};if(window.getSelection){var pe=window.getSelection();pe.anchorNode&&pe.extend&&je(y.display.lineDiv,pe.anchorNode)&&(me.anchorNode=pe.anchorNode,me.anchorOffset=pe.anchorOffset,me.focusNode=pe.focusNode,me.focusOffset=pe.focusOffset)}return me}function uu(y){if(!(!y||!y.activeElt||y.activeElt==ke())&&(y.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(y.activeElt.nodeName)&&y.anchorNode&&je(document.body,y.anchorNode)&&je(document.body,y.focusNode))){var ie=window.getSelection(),me=document.createRange();me.setEnd(y.anchorNode,y.anchorOffset),me.collapse(!1),ie.removeAllRanges(),ie.addRange(me),ie.extend(y.focusNode,y.focusOffset)}}function pa(y,ie){var me=y.display,pe=y.doc;if(ie.editorIsHidden)return vr(y),!1;if(!ie.force&&ie.visible.from>=me.viewFrom&&ie.visible.to<=me.viewTo&&(me.updateLineNumbers==null||me.updateLineNumbers>=me.viewTo)&&me.renderedView==me.view&&Er(y)==0)return!1;Ga(y)&&(vr(y),ie.dims=fs(y));var Ee=pe.first+pe.size,Re=Math.max(ie.visible.from-y.options.viewportMargin,pe.first),Ke=Math.min(Ee,ie.visible.to+y.options.viewportMargin);me.viewFrom<Re&&Re-me.viewFrom<20&&(Re=Math.max(pe.first,me.viewFrom)),me.viewTo>Ke&&me.viewTo-Ke<20&&(Ke=Math.min(Ee,me.viewTo)),un&&(Re=cr(y.doc,Re),Ke=sr(y.doc,Ke));var nt=Re!=me.viewFrom||Ke!=me.viewTo||me.lastWrapHeight!=ie.wrapperHeight||me.lastWrapWidth!=ie.wrapperWidth;jr(y,Re,Ke),me.viewOffset=yr(Et(y.doc,me.viewFrom)),y.display.mover.style.top=me.viewOffset+"px";var ct=Er(y);if(!nt&&ct==0&&!ie.force&&me.renderedView==me.view&&(me.updateLineNumbers==null||me.updateLineNumbers>=me.viewTo))return!1;var ht=lu(y);return ct>4&&(me.lineDiv.style.display="none"),cu(y,me.updateLineNumbers,ie.dims),ct>4&&(me.lineDiv.style.display=""),me.renderedView=me.view,uu(ht),ve(me.cursorDiv),ve(me.selectionDiv),me.gutters.style.height=me.sizer.style.minHeight=0,nt&&(me.lastWrapHeight=ie.wrapperHeight,me.lastWrapWidth=ie.wrapperWidth,gs(y,400)),me.updateLineNumbers=null,!0}function za(y,ie){for(var me=ie.viewport,pe=!0;;pe=!1){if(!pe||!y.options.lineWrapping||ie.oldDisplayWidth==di(y)){if(me&&me.top!=null&&(me={top:Math.min(y.doc.height+is(y.display)-po(y),me.top)}),ie.visible=yo(y.display,y.doc,me),ie.visible.from>=y.display.viewFrom&&ie.visible.to<=y.display.viewTo)break}else pe&&(ie.visible=yo(y.display,y.doc,me));if(!pa(y,ie))break;Fi(y);var Ee=ms(y);tn(y),zo(y,Ee),ga(y,Ee),ie.force=!1}ie.signal(y,"update",y),(y.display.viewFrom!=y.display.reportedViewFrom||y.display.viewTo!=y.display.reportedViewTo)&&(ie.signal(y,"viewportChange",y,y.display.viewFrom,y.display.viewTo),y.display.reportedViewFrom=y.display.viewFrom,y.display.reportedViewTo=y.display.viewTo)}function ma(y,ie){var me=new Vs(y,ie);if(pa(y,me)){Fi(y),za(y,me);var pe=ms(y);tn(y),zo(y,pe),ga(y,pe),me.finish()}}function cu(y,ie,me){var pe=y.display,Ee=y.options.lineNumbers,Re=pe.lineDiv,Ke=Re.firstChild;function nt(Vt){var Yt=Vt.nextSibling;return oe&&le&&y.display.currentWheelTarget==Vt?Vt.style.display="none":Vt.parentNode.removeChild(Vt),Yt}for(var ct=pe.view,ht=pe.viewFrom,_t=0;_t<ct.length;_t++){var At=ct[_t];if(!At.hidden)if(!At.node||At.node.parentNode!=Re){var Pt=la(y,At,ht,me);Re.insertBefore(Pt,Ke)}else{for(;Ke!=At.node;)Ke=nt(Ke);var Lt=Ee&&ie!=null&&ie<=ht&&At.lineNumber;At.changes&&(it(At.changes,"gutter")>-1&&(Lt=!1),es(y,At,ht,me)),Lt&&(ve(At.lineNumber),At.lineNumber.appendChild(document.createTextNode(Cr(y.options,ht)))),Ke=At.node.nextSibling}ht+=At.size}for(;Ke;)Ke=nt(Ke)}function va(y){var ie=y.gutters.offsetWidth;y.sizer.style.marginLeft=ie+"px"}function ga(y,ie){y.display.sizer.style.minHeight=ie.docHeight+"px",y.display.heightForcer.style.top=ie.docHeight+"px",y.display.gutters.style.height=ie.docHeight+y.display.barHeight+wi(y)+"px"}function Wa(y){var ie=y.display,me=ie.view;if(!(!ie.alignWidgets&&(!ie.gutters.firstChild||!y.options.fixedGutter))){for(var pe=No(ie)-ie.scroller.scrollLeft+y.doc.scrollLeft,Ee=ie.gutters.offsetWidth,Re=pe+"px",Ke=0;Ke<me.length;Ke++)if(!me[Ke].hidden){y.options.fixedGutter&&(me[Ke].gutter&&(me[Ke].gutter.style.left=Re),me[Ke].gutterBackground&&(me[Ke].gutterBackground.style.left=Re));var nt=me[Ke].alignable;if(nt)for(var ct=0;ct<nt.length;ct++)nt[ct].style.left=Re}y.options.fixedGutter&&(ie.gutters.style.left=pe+Ee+"px")}}function Ga(y){if(!y.options.lineNumbers)return!1;var ie=y.doc,me=Cr(y.options,ie.first+ie.size-1),pe=y.display;if(me.length!=pe.lineNumChars){var Ee=pe.measure.appendChild(be("div",[be("div",me)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Re=Ee.firstChild.offsetWidth,Ke=Ee.offsetWidth-Re;return pe.lineGutter.style.width="",pe.lineNumInnerWidth=Math.max(Re,pe.lineGutter.offsetWidth-Ke)+1,pe.lineNumWidth=pe.lineNumInnerWidth+Ke,pe.lineNumChars=pe.lineNumInnerWidth?me.length:-1,pe.lineGutter.style.width=pe.lineNumWidth+"px",va(y.display),!0}return!1}function ya(y,ie){for(var me=[],pe=!1,Ee=0;Ee<y.length;Ee++){var Re=y[Ee],Ke=null;if(typeof Re!="string"&&(Ke=Re.style,Re=Re.className),Re=="CodeMirror-linenumbers")if(ie)pe=!0;else continue;me.push({className:Re,style:Ke})}return ie&&!pe&&me.push({className:"CodeMirror-linenumbers",style:null}),me}function Va(y){var ie=y.gutters,me=y.gutterSpecs;ve(ie),y.lineGutter=null;for(var pe=0;pe<me.length;++pe){var Ee=me[pe],Re=Ee.className,Ke=Ee.style,nt=ie.appendChild(be("div",null,"CodeMirror-gutter "+Re));Ke&&(nt.style.cssText=Ke),Re=="CodeMirror-linenumbers"&&(y.lineGutter=nt,nt.style.width=(y.lineNumWidth||1)+"px")}ie.style.display=me.length?"":"none",va(y)}function ys(y){Va(y.display),Ot(y),Wa(y)}function fu(y,ie,me,pe){var Ee=this;this.input=me,Ee.scrollbarFiller=be("div",null,"CodeMirror-scrollbar-filler"),Ee.scrollbarFiller.setAttribute("cm-not-content","true"),Ee.gutterFiller=be("div",null,"CodeMirror-gutter-filler"),Ee.gutterFiller.setAttribute("cm-not-content","true"),Ee.lineDiv=Ae("div",null,"CodeMirror-code"),Ee.selectionDiv=be("div",null,null,"position: relative; z-index: 1"),Ee.cursorDiv=be("div",null,"CodeMirror-cursors"),Ee.measure=be("div",null,"CodeMirror-measure"),Ee.lineMeasure=be("div",null,"CodeMirror-measure"),Ee.lineSpace=Ae("div",[Ee.measure,Ee.lineMeasure,Ee.selectionDiv,Ee.cursorDiv,Ee.lineDiv],null,"position: relative; outline: none");var Re=Ae("div",[Ee.lineSpace],"CodeMirror-lines");Ee.mover=be("div",[Re],null,"position: relative"),Ee.sizer=be("div",[Ee.mover],"CodeMirror-sizer"),Ee.sizerWidth=null,Ee.heightForcer=be("div",null,null,"position: absolute; height: "+ut+"px; width: 1px;"),Ee.gutters=be("div",null,"CodeMirror-gutters"),Ee.lineGutter=null,Ee.scroller=be("div",[Ee.sizer,Ee.heightForcer,Ee.gutters],"CodeMirror-scroll"),Ee.scroller.setAttribute("tabIndex","-1"),Ee.wrapper=be("div",[Ee.scrollbarFiller,Ee.gutterFiller,Ee.scroller],"CodeMirror"),de&&ee<8&&(Ee.gutters.style.zIndex=-1,Ee.scroller.style.paddingRight=0),!oe&&!(ye&&ae)&&(Ee.scroller.draggable=!0),y&&(y.appendChild?y.appendChild(Ee.wrapper):y(Ee.wrapper)),Ee.viewFrom=Ee.viewTo=ie.first,Ee.reportedViewFrom=Ee.reportedViewTo=ie.first,Ee.view=[],Ee.renderedView=null,Ee.externalMeasured=null,Ee.viewOffset=0,Ee.lastWrapHeight=Ee.lastWrapWidth=0,Ee.updateLineNumbers=null,Ee.nativeBarWidth=Ee.barHeight=Ee.barWidth=0,Ee.scrollbarsClipped=!1,Ee.lineNumWidth=Ee.lineNumInnerWidth=Ee.lineNumChars=null,Ee.alignWidgets=!1,Ee.cachedCharWidth=Ee.cachedTextHeight=Ee.cachedPaddingH=null,Ee.maxLine=null,Ee.maxLineLength=0,Ee.maxLineChanged=!1,Ee.wheelDX=Ee.wheelDY=Ee.wheelStartX=Ee.wheelStartY=null,Ee.shift=!1,Ee.selForContextMenu=null,Ee.activeTouch=null,Ee.gutterSpecs=ya(pe.gutters,pe.lineNumbers),Va(Ee),me.init(Ee)}var Zs=0,pi=null;de?pi=-.53:ye?pi=15:te?pi=-.7:z&&(pi=-1/3);function Za(y){var ie=y.wheelDeltaX,me=y.wheelDeltaY;return ie==null&&y.detail&&y.axis==y.HORIZONTAL_AXIS&&(ie=y.detail),me==null&&y.detail&&y.axis==y.VERTICAL_AXIS?me=y.detail:me==null&&(me=y.wheelDelta),{x:ie,y:me}}function du(y){var ie=Za(y);return ie.x*=pi,ie.y*=pi,ie}function Xa(y,ie){var me=Za(ie),pe=me.x,Ee=me.y,Re=y.display,Ke=Re.scroller,nt=Ke.scrollWidth>Ke.clientWidth,ct=Ke.scrollHeight>Ke.clientHeight;if(pe&&nt||Ee&&ct){if(Ee&&le&&oe){e:for(var ht=ie.target,_t=Re.view;ht!=Ke;ht=ht.parentNode)for(var At=0;At<_t.length;At++)if(_t[At].node==ht){y.display.currentWheelTarget=ht;break e}}if(pe&&!ye&&!se&&pi!=null){Ee&&ct&&ps(y,Math.max(0,Ke.scrollTop+Ee*pi)),wo(y,Math.max(0,Ke.scrollLeft+pe*pi)),(!Ee||Ee&&ct)&&Qt(ie),Re.wheelStartX=null;return}if(Ee&&pi!=null){var Pt=Ee*pi,Lt=y.doc.scrollTop,Vt=Lt+Re.wrapper.clientHeight;Pt<0?Lt=Math.max(0,Lt+Pt-50):Vt=Math.min(y.doc.height,Vt+Pt+50),ma(y,{top:Lt,bottom:Vt})}Zs<20&&(Re.wheelStartX==null?(Re.wheelStartX=Ke.scrollLeft,Re.wheelStartY=Ke.scrollTop,Re.wheelDX=pe,Re.wheelDY=Ee,setTimeout(function(){if(Re.wheelStartX!=null){var Yt=Ke.scrollLeft-Re.wheelStartX,qt=Ke.scrollTop-Re.wheelStartY,ir=qt&&Re.wheelDY&&qt/Re.wheelDY||Yt&&Re.wheelDX&&Yt/Re.wheelDX;Re.wheelStartX=Re.wheelStartY=null,ir&&(pi=(pi*Zs+ir)/(Zs+1),++Zs)}},200)):(Re.wheelDX+=pe,Re.wheelDY+=Ee))}}var mi=function(y,ie){this.ranges=y,this.primIndex=ie};mi.prototype.primary=function(){return this.ranges[this.primIndex]},mi.prototype.equals=function(y){if(y==this)return!0;if(y.primIndex!=this.primIndex||y.ranges.length!=this.ranges.length)return!1;for(var ie=0;ie<this.ranges.length;ie++){var me=this.ranges[ie],pe=y.ranges[ie];if(!kr(me.anchor,pe.anchor)||!kr(me.head,pe.head))return!1}return!0},mi.prototype.deepCopy=function(){for(var y=[],ie=0;ie<this.ranges.length;ie++)y[ie]=new Vr(Mr(this.ranges[ie].anchor),Mr(this.ranges[ie].head));return new mi(y,this.primIndex)},mi.prototype.somethingSelected=function(){for(var y=0;y<this.ranges.length;y++)if(!this.ranges[y].empty())return!0;return!1},mi.prototype.contains=function(y,ie){ie||(ie=y);for(var me=0;me<this.ranges.length;me++){var pe=this.ranges[me];if(nr(ie,pe.from())>=0&&nr(y,pe.to())<=0)return me}return-1};var Vr=function(y,ie){this.anchor=y,this.head=ie};Vr.prototype.from=function(){return gr(this.anchor,this.head)},Vr.prototype.to=function(){return Pr(this.anchor,this.head)},Vr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Di(y,ie,me){var pe=y&&y.options.selectionsMayTouch,Ee=ie[me];ie.sort(function(Pt,Lt){return nr(Pt.from(),Lt.from())}),me=it(ie,Ee);for(var Re=1;Re<ie.length;Re++){var Ke=ie[Re],nt=ie[Re-1],ct=nr(nt.to(),Ke.from());if(pe&&!Ke.empty()?ct>0:ct>=0){var ht=gr(nt.from(),Ke.from()),_t=Pr(nt.to(),Ke.to()),At=nt.empty()?Ke.from()==Ke.head:nt.from()==nt.head;Re<=me&&--me,ie.splice(--Re,2,new Vr(At?_t:ht,At?ht:_t))}}return new mi(ie,me)}function ao(y,ie){return new mi([new Vr(y,ie||y)],0)}function lo(y){return y.text?Ft(y.from.line+y.text.length-1,ft(y.text).length+(y.text.length==1?y.from.ch:0)):y.to}function Ya(y,ie){if(nr(y,ie.from)<0)return y;if(nr(y,ie.to)<=0)return lo(ie);var me=y.line+ie.text.length-(ie.to.line-ie.from.line)-1,pe=y.ch;return y.line==ie.to.line&&(pe+=lo(ie).ch-ie.to.ch),Ft(me,pe)}function ba(y,ie){for(var me=[],pe=0;pe<y.sel.ranges.length;pe++){var Ee=y.sel.ranges[pe];me.push(new Vr(Ya(Ee.anchor,ie),Ya(Ee.head,ie)))}return Di(y.cm,me,y.sel.primIndex)}function Ka(y,ie,me){return y.line==ie.line?Ft(me.line,y.ch-ie.ch+me.ch):Ft(me.line+(y.line-ie.line),y.ch)}function hu(y,ie,me){for(var pe=[],Ee=Ft(y.first,0),Re=Ee,Ke=0;Ke<ie.length;Ke++){var nt=ie[Ke],ct=Ka(nt.from,Ee,Re),ht=Ka(lo(nt),Ee,Re);if(Ee=nt.to,Re=ht,me=="around"){var _t=y.sel.ranges[Ke],At=nr(_t.head,_t.anchor)<0;pe[Ke]=new Vr(At?ht:ct,At?ct:ht)}else pe[Ke]=new Vr(ct,ct)}return new mi(pe,y.sel.primIndex)}function wa(y){y.doc.mode=Dt(y.options,y.doc.modeOption),bs(y)}function bs(y){y.doc.iter(function(ie){ie.stateAfter&&(ie.stateAfter=null),ie.styles&&(ie.styles=null)}),y.doc.modeFrontier=y.doc.highlightFrontier=y.doc.first,gs(y,100),y.state.modeGen++,y.curOp&&Ot(y)}function Qa(y,ie){return ie.from.ch==0&&ie.to.ch==0&&ft(ie.text)==""&&(!y.cm||y.cm.options.wholeLineUpdateBefore)}function xa(y,ie,me,pe){function Ee(ur){return me?me[ur]:null}function Re(ur,or,mr){Jr(ur,or,mr,pe),ln(ur,"change",ur,ie)}function Ke(ur,or){for(var mr=[],_r=ur;_r<or;++_r)mr.push(new Xr(ht[_r],Ee(_r),pe));return mr}var nt=ie.from,ct=ie.to,ht=ie.text,_t=Et(y,nt.line),At=Et(y,ct.line),Pt=ft(ht),Lt=Ee(ht.length-1),Vt=ct.line-nt.line;if(ie.full)y.insert(0,Ke(0,ht.length)),y.remove(ht.length,y.size-ht.length);else if(Qa(y,ie)){var Yt=Ke(0,ht.length-1);Re(At,At.text,Lt),Vt&&y.remove(nt.line,Vt),Yt.length&&y.insert(nt.line,Yt)}else if(_t==At)if(ht.length==1)Re(_t,_t.text.slice(0,nt.ch)+Pt+_t.text.slice(ct.ch),Lt);else{var qt=Ke(1,ht.length-1);qt.push(new Xr(Pt+_t.text.slice(ct.ch),Lt,pe)),Re(_t,_t.text.slice(0,nt.ch)+ht[0],Ee(0)),y.insert(nt.line+1,qt)}else if(ht.length==1)Re(_t,_t.text.slice(0,nt.ch)+ht[0]+At.text.slice(ct.ch),Ee(0)),y.remove(nt.line+1,Vt);else{Re(_t,_t.text.slice(0,nt.ch)+ht[0],Ee(0)),Re(At,Pt+At.text.slice(ct.ch),Lt);var ir=Ke(1,ht.length-1);Vt>1&&y.remove(nt.line+1,Vt-1),y.insert(nt.line+1,ir)}ln(y,"change",y,ie)}function uo(y,ie,me){function pe(Ee,Re,Ke){if(Ee.linked)for(var nt=0;nt<Ee.linked.length;++nt){var ct=Ee.linked[nt];if(ct.doc!=Re){var ht=Ke&&ct.sharedHist;me&&!ht||(ie(ct.doc,ht),pe(ct.doc,Ee,ht))}}}pe(y,null,!0)}function Ja(y,ie){if(ie.cm)throw new Error("This document is already in use.");y.doc=ie,ie.cm=y,vo(y),wa(y),qa(y),y.options.lineWrapping||on(y),y.options.mode=ie.modeOption,Ot(y)}function qa(y){(y.doc.direction=="rtl"?Pe:xe)(y.display.lineDiv,"CodeMirror-rtl")}function pu(y){oi(y,function(){qa(y),Ot(y)})}function Xs(y){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=y||1}function Sa(y,ie){var me={from:Mr(ie.from),to:lo(ie),text:zt(y,ie.from,ie.to)};return tl(y,me,ie.from.line,ie.to.line+1),uo(y,function(pe){return tl(pe,me,ie.from.line,ie.to.line+1)},!0),me}function $a(y){for(;y.length;){var ie=ft(y);if(ie.ranges)y.pop();else break}}function mu(y,ie){if(ie)return $a(y.done),ft(y.done);if(y.done.length&&!ft(y.done).ranges)return ft(y.done);if(y.done.length>1&&!y.done[y.done.length-2].ranges)return y.done.pop(),ft(y.done)}function el(y,ie,me,pe){var Ee=y.history;Ee.undone.length=0;var Re=+new Date,Ke,nt;if((Ee.lastOp==pe||Ee.lastOrigin==ie.origin&&ie.origin&&(ie.origin.charAt(0)=="+"&&Ee.lastModTime>Re-(y.cm?y.cm.options.historyEventDelay:500)||ie.origin.charAt(0)=="*"))&&(Ke=mu(Ee,Ee.lastOp==pe)))nt=ft(Ke.changes),nr(ie.from,ie.to)==0&&nr(ie.from,nt.to)==0?nt.to=lo(ie):Ke.changes.push(Sa(y,ie));else{var ct=ft(Ee.done);for((!ct||!ct.ranges)&&Ys(y.sel,Ee.done),Ke={changes:[Sa(y,ie)],generation:Ee.generation},Ee.done.push(Ke);Ee.done.length>Ee.undoDepth;)Ee.done.shift(),Ee.done[0].ranges||Ee.done.shift()}Ee.done.push(me),Ee.generation=++Ee.maxGeneration,Ee.lastModTime=Ee.lastSelTime=Re,Ee.lastOp=Ee.lastSelOp=pe,Ee.lastOrigin=Ee.lastSelOrigin=ie.origin,nt||Tt(y,"historyAdded")}function vu(y,ie,me,pe){var Ee=ie.charAt(0);return Ee=="*"||Ee=="+"&&me.ranges.length==pe.ranges.length&&me.somethingSelected()==pe.somethingSelected()&&new Date-y.history.lastSelTime<=(y.cm?y.cm.options.historyEventDelay:500)}function gu(y,ie,me,pe){var Ee=y.history,Re=pe&&pe.origin;me==Ee.lastSelOp||Re&&Ee.lastSelOrigin==Re&&(Ee.lastModTime==Ee.lastSelTime&&Ee.lastOrigin==Re||vu(y,Re,ft(Ee.done),ie))?Ee.done[Ee.done.length-1]=ie:Ys(ie,Ee.done),Ee.lastSelTime=+new Date,Ee.lastSelOrigin=Re,Ee.lastSelOp=me,pe&&pe.clearRedo!==!1&&$a(Ee.undone)}function Ys(y,ie){var me=ft(ie);me&&me.ranges&&me.equals(y)||ie.push(y)}function tl(y,ie,me,pe){var Ee=ie["spans_"+y.id],Re=0;y.iter(Math.max(y.first,me),Math.min(y.first+y.size,pe),function(Ke){Ke.markedSpans&&((Ee||(Ee=ie["spans_"+y.id]={}))[Re]=Ke.markedSpans),++Re})}function yu(y){if(!y)return null;for(var ie,me=0;me<y.length;++me)y[me].marker.explicitlyCleared?ie||(ie=y.slice(0,me)):ie&&ie.push(y[me]);return ie?ie.length?ie:null:y}function bu(y,ie){var me=ie["spans_"+y.id];if(!me)return null;for(var pe=[],Ee=0;Ee<ie.text.length;++Ee)pe.push(yu(me[Ee]));return pe}function rl(y,ie){var me=bu(y,ie),pe=ti(y,ie);if(!me)return pe;if(!pe)return me;for(var Ee=0;Ee<me.length;++Ee){var Re=me[Ee],Ke=pe[Ee];if(Re&&Ke)e:for(var nt=0;nt<Ke.length;++nt){for(var ct=Ke[nt],ht=0;ht<Re.length;++ht)if(Re[ht].marker==ct.marker)continue e;Re.push(ct)}else Ke&&(me[Ee]=Ke)}return me}function Wo(y,ie,me){for(var pe=[],Ee=0;Ee<y.length;++Ee){var Re=y[Ee];if(Re.ranges){pe.push(me?mi.prototype.deepCopy.call(Re):Re);continue}var Ke=Re.changes,nt=[];pe.push({changes:nt});for(var ct=0;ct<Ke.length;++ct){var ht=Ke[ct],_t=void 0;if(nt.push({from:ht.from,to:ht.to,text:ht.text}),ie)for(var At in ht)(_t=At.match(/^spans_(\d+)$/))&&it(ie,Number(_t[1]))>-1&&(ft(nt)[At]=ht[At],delete ht[At])}}return pe}function _a(y,ie,me,pe){if(pe){var Ee=y.anchor;if(me){var Re=nr(ie,Ee)<0;Re!=nr(me,Ee)<0?(Ee=ie,ie=me):Re!=nr(ie,me)<0&&(ie=me)}return new Vr(Ee,ie)}else return new Vr(me||ie,ie)}function Ks(y,ie,me,pe,Ee){Ee==null&&(Ee=y.cm&&(y.cm.display.shift||y.extend)),In(y,new mi([_a(y.sel.primary(),ie,me,Ee)],0),pe)}function nl(y,ie,me){for(var pe=[],Ee=y.cm&&(y.cm.display.shift||y.extend),Re=0;Re<y.sel.ranges.length;Re++)pe[Re]=_a(y.sel.ranges[Re],ie[Re],null,Ee);var Ke=Di(y.cm,pe,y.sel.primIndex);In(y,Ke,me)}function Ca(y,ie,me,pe){var Ee=y.sel.ranges.slice(0);Ee[ie]=me,In(y,Di(y.cm,Ee,y.sel.primIndex),pe)}function il(y,ie,me,pe){In(y,ao(ie,me),pe)}function wu(y,ie,me){var pe={ranges:ie.ranges,update:function(Ee){this.ranges=[];for(var Re=0;Re<Ee.length;Re++)this.ranges[Re]=new Vr(rr(y,Ee[Re].anchor),rr(y,Ee[Re].head))},origin:me&&me.origin};return Tt(y,"beforeSelectionChange",y,pe),y.cm&&Tt(y.cm,"beforeSelectionChange",y.cm,pe),pe.ranges!=ie.ranges?Di(y.cm,pe.ranges,pe.ranges.length-1):ie}function ol(y,ie,me){var pe=y.history.done,Ee=ft(pe);Ee&&Ee.ranges?(pe[pe.length-1]=ie,Qs(y,ie,me)):In(y,ie,me)}function In(y,ie,me){Qs(y,ie,me),gu(y,y.sel,y.cm?y.cm.curOp.id:NaN,me)}function Qs(y,ie,me){(Bt(y,"beforeSelectionChange")||y.cm&&Bt(y.cm,"beforeSelectionChange"))&&(ie=wu(y,ie,me));var pe=me&&me.bias||(nr(ie.primary().head,y.sel.primary().head)<0?-1:1);sl(y,ll(y,ie,pe,!0)),!(me&&me.scroll===!1)&&y.cm&&Uo(y.cm)}function sl(y,ie){ie.equals(y.sel)||(y.sel=ie,y.cm&&(y.cm.curOp.updateInput=1,y.cm.curOp.selectionChanged=!0,It(y.cm)),ln(y,"cursorActivity",y))}function al(y){sl(y,ll(y,y.sel,null,!1))}function ll(y,ie,me,pe){for(var Ee,Re=0;Re<ie.ranges.length;Re++){var Ke=ie.ranges[Re],nt=ie.ranges.length==y.sel.ranges.length&&y.sel.ranges[Re],ct=Js(y,Ke.anchor,nt&&nt.anchor,me,pe),ht=Js(y,Ke.head,nt&&nt.head,me,pe);(Ee||ct!=Ke.anchor||ht!=Ke.head)&&(Ee||(Ee=ie.ranges.slice(0,Re)),Ee[Re]=new Vr(ct,ht))}return Ee?Di(y.cm,Ee,ie.primIndex):ie}function Go(y,ie,me,pe,Ee){var Re=Et(y,ie.line);if(Re.markedSpans)for(var Ke=0;Ke<Re.markedSpans.length;++Ke){var nt=Re.markedSpans[Ke],ct=nt.marker,ht="selectLeft"in ct?!ct.selectLeft:ct.inclusiveLeft,_t="selectRight"in ct?!ct.selectRight:ct.inclusiveRight;if((nt.from==null||(ht?nt.from<=ie.ch:nt.from<ie.ch))&&(nt.to==null||(_t?nt.to>=ie.ch:nt.to>ie.ch))){if(Ee&&(Tt(ct,"beforeCursorEnter"),ct.explicitlyCleared))if(Re.markedSpans){--Ke;continue}else break;if(!ct.atomic)continue;if(me){var At=ct.find(pe<0?1:-1),Pt=void 0;if((pe<0?_t:ht)&&(At=ul(y,At,-pe,At&&At.line==ie.line?Re:null)),At&&At.line==ie.line&&(Pt=nr(At,me))&&(pe<0?Pt<0:Pt>0))return Go(y,At,ie,pe,Ee)}var Lt=ct.find(pe<0?-1:1);return(pe<0?ht:_t)&&(Lt=ul(y,Lt,pe,Lt.line==ie.line?Re:null)),Lt?Go(y,Lt,ie,pe,Ee):null}}return ie}function Js(y,ie,me,pe,Ee){var Re=pe||1,Ke=Go(y,ie,me,Re,Ee)||!Ee&&Go(y,ie,me,Re,!0)||Go(y,ie,me,-Re,Ee)||!Ee&&Go(y,ie,me,-Re,!0);return Ke||(y.cantEdit=!0,Ft(y.first,0))}function ul(y,ie,me,pe){return me<0&&ie.ch==0?ie.line>y.first?rr(y,Ft(ie.line-1)):null:me>0&&ie.ch==(pe||Et(y,ie.line)).text.length?ie.line<y.first+y.size-1?Ft(ie.line+1,0):null:new Ft(ie.line,ie.ch+me)}function cl(y){y.setSelection(Ft(y.firstLine(),0),Ft(y.lastLine()),Je)}function fl(y,ie,me){var pe={canceled:!1,from:ie.from,to:ie.to,text:ie.text,origin:ie.origin,cancel:function(){return pe.canceled=!0}};return me&&(pe.update=function(Ee,Re,Ke,nt){Ee&&(pe.from=rr(y,Ee)),Re&&(pe.to=rr(y,Re)),Ke&&(pe.text=Ke),nt!==void 0&&(pe.origin=nt)}),Tt(y,"beforeChange",y,pe),y.cm&&Tt(y.cm,"beforeChange",y.cm,pe),pe.canceled?(y.cm&&(y.cm.curOp.updateInput=2),null):{from:pe.from,to:pe.to,text:pe.text,origin:pe.origin}}function Vo(y,ie,me){if(y.cm){if(!y.cm.curOp)return An(y.cm,Vo)(y,ie,me);if(y.cm.state.suppressEdits)return}if(!((Bt(y,"beforeChange")||y.cm&&Bt(y.cm,"beforeChange"))&&(ie=fl(y,ie,!0),!ie))){var pe=vi&&!me&&qi(y,ie.from,ie.to);if(pe)for(var Ee=pe.length-1;Ee>=0;--Ee)dl(y,{from:pe[Ee].from,to:pe[Ee].to,text:Ee?[""]:ie.text,origin:ie.origin});else dl(y,ie)}}function dl(y,ie){if(!(ie.text.length==1&&ie.text[0]==""&&nr(ie.from,ie.to)==0)){var me=ba(y,ie);el(y,ie,me,y.cm?y.cm.curOp.id:NaN),ws(y,ie,me,ti(y,ie));var pe=[];uo(y,function(Ee,Re){!Re&&it(pe,Ee.history)==-1&&(vl(Ee.history,ie),pe.push(Ee.history)),ws(Ee,ie,null,ti(Ee,ie))})}}function $s(y,ie,me){var pe=y.cm&&y.cm.state.suppressEdits;if(!(pe&&!me)){for(var Ee=y.history,Re,Ke=y.sel,nt=ie=="undo"?Ee.done:Ee.undone,ct=ie=="undo"?Ee.undone:Ee.done,ht=0;ht<nt.length&&(Re=nt[ht],!(me?Re.ranges&&!Re.equals(y.sel):!Re.ranges));ht++);if(ht!=nt.length){for(Ee.lastOrigin=Ee.lastSelOrigin=null;;)if(Re=nt.pop(),Re.ranges){if(Ys(Re,ct),me&&!Re.equals(y.sel)){In(y,Re,{clearRedo:!1});return}Ke=Re}else if(pe){nt.push(Re);return}else break;var _t=[];Ys(Ke,ct),ct.push({changes:_t,generation:Ee.generation}),Ee.generation=Re.generation||++Ee.maxGeneration;for(var At=Bt(y,"beforeChange")||y.cm&&Bt(y.cm,"beforeChange"),Pt=function(Yt){var qt=Re.changes[Yt];if(qt.origin=ie,At&&!fl(y,qt,!1))return nt.length=0,{};_t.push(Sa(y,qt));var ir=Yt?ba(y,qt):ft(nt);ws(y,qt,ir,rl(y,qt)),!Yt&&y.cm&&y.cm.scrollIntoView({from:qt.from,to:lo(qt)});var ur=[];uo(y,function(or,mr){!mr&&it(ur,or.history)==-1&&(vl(or.history,qt),ur.push(or.history)),ws(or,qt,null,rl(or,qt))})},Lt=Re.changes.length-1;Lt>=0;--Lt){var Vt=Pt(Lt);if(Vt)return Vt.v}}}}function hl(y,ie){if(ie!=0&&(y.first+=ie,y.sel=new mi(qe(y.sel.ranges,function(Ee){return new Vr(Ft(Ee.anchor.line+ie,Ee.anchor.ch),Ft(Ee.head.line+ie,Ee.head.ch))}),y.sel.primIndex),y.cm)){Ot(y.cm,y.first,y.first-ie,ie);for(var me=y.cm.display,pe=me.viewFrom;pe<me.viewTo;pe++)ar(y.cm,pe,"gutter")}}function ws(y,ie,me,pe){if(y.cm&&!y.cm.curOp)return An(y.cm,ws)(y,ie,me,pe);if(ie.to.line<y.first){hl(y,ie.text.length-1-(ie.to.line-ie.from.line));return}if(!(ie.from.line>y.lastLine())){if(ie.from.line<y.first){var Ee=ie.text.length-1-(y.first-ie.from.line);hl(y,Ee),ie={from:Ft(y.first,0),to:Ft(ie.to.line+Ee,ie.to.ch),text:[ft(ie.text)],origin:ie.origin}}var Re=y.lastLine();ie.to.line>Re&&(ie={from:ie.from,to:Ft(Re,Et(y,Re).text.length),text:[ie.text[0]],origin:ie.origin}),ie.removed=zt(y,ie.from,ie.to),me||(me=ba(y,ie)),y.cm?xu(y.cm,ie,pe):xa(y,ie,pe),Qs(y,me,Je),y.cantEdit&&Js(y,Ft(y.firstLine(),0))&&(y.cantEdit=!1)}}function xu(y,ie,me){var pe=y.doc,Ee=y.display,Re=ie.from,Ke=ie.to,nt=!1,ct=Re.line;y.options.lineWrapping||(ct=er(Zr(Et(pe,Re.line))),pe.iter(ct,Ke.line+1,function(Lt){if(Lt==Ee.maxLine)return nt=!0,!0})),pe.sel.contains(ie.from,ie.to)>-1&&It(y),xa(pe,ie,me,mo(y)),y.options.lineWrapping||(pe.iter(ct,Re.line+ie.text.length,function(Lt){var Vt=Rr(Lt);Vt>Ee.maxLineLength&&(Ee.maxLine=Lt,Ee.maxLineLength=Vt,Ee.maxLineChanged=!0,nt=!1)}),nt&&(y.curOp.updateMaxLine=!0)),Ci(pe,Re.line),gs(y,400);var ht=ie.text.length-(Ke.line-Re.line)-1;ie.full?Ot(y):Re.line==Ke.line&&ie.text.length==1&&!Qa(y.doc,ie)?ar(y,Re.line,"text"):Ot(y,Re.line,Ke.line+1,ht);var _t=Bt(y,"changes"),At=Bt(y,"change");if(At||_t){var Pt={from:Re,to:Ke,text:ie.text,removed:ie.removed,origin:ie.origin};At&&ln(y,"change",y,Pt),_t&&(y.curOp.changeObjs||(y.curOp.changeObjs=[])).push(Pt)}y.display.selForContextMenu=null}function Zo(y,ie,me,pe,Ee){var Re;pe||(pe=me),nr(pe,me)<0&&(Re=[pe,me],me=Re[0],pe=Re[1]),typeof ie=="string"&&(ie=y.splitLines(ie)),Vo(y,{from:me,to:pe,text:ie,origin:Ee})}function pl(y,ie,me,pe){me<y.line?y.line+=pe:ie<y.line&&(y.line=ie,y.ch=0)}function ml(y,ie,me,pe){for(var Ee=0;Ee<y.length;++Ee){var Re=y[Ee],Ke=!0;if(Re.ranges){Re.copied||(Re=y[Ee]=Re.deepCopy(),Re.copied=!0);for(var nt=0;nt<Re.ranges.length;nt++)pl(Re.ranges[nt].anchor,ie,me,pe),pl(Re.ranges[nt].head,ie,me,pe);continue}for(var ct=0;ct<Re.changes.length;++ct){var ht=Re.changes[ct];if(me<ht.from.line)ht.from=Ft(ht.from.line+pe,ht.from.ch),ht.to=Ft(ht.to.line+pe,ht.to.ch);else if(ie<=ht.to.line){Ke=!1;break}}Ke||(y.splice(0,Ee+1),Ee=0)}}function vl(y,ie){var me=ie.from.line,pe=ie.to.line,Ee=ie.text.length-(pe-me)-1;ml(y.done,me,pe,Ee),ml(y.undone,me,pe,Ee)}function xs(y,ie,me,pe){var Ee=ie,Re=ie;return typeof ie=="number"?Re=Et(y,Dr(y,ie)):Ee=er(ie),Ee==null?null:(pe(Re,Ee)&&y.cm&&ar(y.cm,Ee,me),Re)}function Ss(y){this.lines=y,this.parent=null;for(var ie=0,me=0;me<y.length;++me)y[me].parent=this,ie+=y[me].height;this.height=ie}Ss.prototype={chunkSize:function(){return this.lines.length},removeInner:function(y,ie){for(var me=y,pe=y+ie;me<pe;++me){var Ee=this.lines[me];this.height-=Ee.height,vn(Ee),ln(Ee,"delete")}this.lines.splice(y,ie)},collapse:function(y){y.push.apply(y,this.lines)},insertInner:function(y,ie,me){this.height+=me,this.lines=this.lines.slice(0,y).concat(ie).concat(this.lines.slice(y));for(var pe=0;pe<ie.length;++pe)ie[pe].parent=this},iterN:function(y,ie,me){for(var pe=y+ie;y<pe;++y)if(me(this.lines[y]))return!0}};function _s(y){this.children=y;for(var ie=0,me=0,pe=0;pe<y.length;++pe){var Ee=y[pe];ie+=Ee.chunkSize(),me+=Ee.height,Ee.parent=this}this.size=ie,this.height=me,this.parent=null}_s.prototype={chunkSize:function(){return this.size},removeInner:function(y,ie){this.size-=ie;for(var me=0;me<this.children.length;++me){var pe=this.children[me],Ee=pe.chunkSize();if(y<Ee){var Re=Math.min(ie,Ee-y),Ke=pe.height;if(pe.removeInner(y,Re),this.height-=Ke-pe.height,Ee==Re&&(this.children.splice(me--,1),pe.parent=null),(ie-=Re)==0)break;y=0}else y-=Ee}if(this.size-ie<25&&(this.children.length>1||!(this.children[0]instanceof Ss))){var nt=[];this.collapse(nt),this.children=[new Ss(nt)],this.children[0].parent=this}},collapse:function(y){for(var ie=0;ie<this.children.length;++ie)this.children[ie].collapse(y)},insertInner:function(y,ie,me){this.size+=ie.length,this.height+=me;for(var pe=0;pe<this.children.length;++pe){var Ee=this.children[pe],Re=Ee.chunkSize();if(y<=Re){if(Ee.insertInner(y,ie,me),Ee.lines&&Ee.lines.length>50){for(var Ke=Ee.lines.length%25+25,nt=Ke;nt<Ee.lines.length;){var ct=new Ss(Ee.lines.slice(nt,nt+=25));Ee.height-=ct.height,this.children.splice(++pe,0,ct),ct.parent=this}Ee.lines=Ee.lines.slice(0,Ke),this.maybeSpill()}break}y-=Re}},maybeSpill:function(){if(!(this.children.length<=10)){var y=this;do{var ie=y.children.splice(y.children.length-5,5),me=new _s(ie);if(y.parent){y.size-=me.size,y.height-=me.height;var Ee=it(y.parent.children,y);y.parent.children.splice(Ee+1,0,me)}else{var pe=new _s(y.children);pe.parent=y,y.children=[pe,me],y=pe}me.parent=y.parent}while(y.children.length>10);y.parent.maybeSpill()}},iterN:function(y,ie,me){for(var pe=0;pe<this.children.length;++pe){var Ee=this.children[pe],Re=Ee.chunkSize();if(y<Re){var Ke=Math.min(ie,Re-y);if(Ee.iterN(y,Ke,me))return!0;if((ie-=Ke)==0)break;y=0}else y-=Re}}};var Cs=function(y,ie,me){if(me)for(var pe in me)me.hasOwnProperty(pe)&&(this[pe]=me[pe]);this.doc=y,this.node=ie};Cs.prototype.clear=function(){var y=this.doc.cm,ie=this.line.widgets,me=this.line,pe=er(me);if(!(pe==null||!ie)){for(var Ee=0;Ee<ie.length;++Ee)ie[Ee]==this&&ie.splice(Ee--,1);ie.length||(me.widgets=null);var Re=Do(this);Jt(me,Math.max(0,me.height-Re)),y&&(oi(y,function(){gl(y,me,-Re),ar(y,pe,"widget")}),ln(y,"lineWidgetCleared",y,this,pe))}},Cs.prototype.changed=function(){var y=this,ie=this.height,me=this.doc.cm,pe=this.line;this.height=null;var Ee=Do(this)-ie;Ee&&(fr(this.doc,pe)||Jt(pe,pe.height+Ee),me&&oi(me,function(){me.curOp.forceUpdate=!0,gl(me,pe,Ee),ln(me,"lineWidgetChanged",me,y,er(pe))}))},Wt(Cs);function gl(y,ie,me){yr(ie)<(y.curOp&&y.curOp.scrollTop||y.doc.scrollTop)&&ha(y,me)}function Su(y,ie,me,pe){var Ee=new Cs(y,me,pe),Re=y.cm;return Re&&Ee.noHScroll&&(Re.display.alignWidgets=!0),xs(y,ie,"widget",function(Ke){var nt=Ke.widgets||(Ke.widgets=[]);if(Ee.insertAt==null?nt.push(Ee):nt.splice(Math.min(nt.length-1,Math.max(0,Ee.insertAt)),0,Ee),Ee.line=Ke,Re&&!fr(y,Ke)){var ct=yr(Ke)<y.scrollTop;Jt(Ke,Ke.height+Do(Ee)),ct&&ha(Re,Ee.height),Re.curOp.forceUpdate=!0}return!0}),Re&&ln(Re,"lineWidgetAdded",Re,Ee,typeof ie=="number"?ie:er(ie)),Ee}var yl=0,co=function(y,ie){this.lines=[],this.type=ie,this.doc=y,this.id=++yl};co.prototype.clear=function(){if(!this.explicitlyCleared){var y=this.doc.cm,ie=y&&!y.curOp;if(ie&&So(y),Bt(this,"clear")){var me=this.find();me&&ln(this,"clear",me.from,me.to)}for(var pe=null,Ee=null,Re=0;Re<this.lines.length;++Re){var Ke=this.lines[Re],nt=ui(Ke.markedSpans,this);y&&!this.collapsed?ar(y,er(Ke),"text"):y&&(nt.to!=null&&(Ee=er(Ke)),nt.from!=null&&(pe=er(Ke))),Ke.markedSpans=Ei(Ke.markedSpans,nt),nt.from==null&&this.collapsed&&!fr(this.doc,Ke)&&y&&Jt(Ke,Ni(y.display))}if(y&&this.collapsed&&!y.options.lineWrapping)for(var ct=0;ct<this.lines.length;++ct){var ht=Zr(this.lines[ct]),_t=Rr(ht);_t>y.display.maxLineLength&&(y.display.maxLine=ht,y.display.maxLineLength=_t,y.display.maxLineChanged=!0)}pe!=null&&y&&this.collapsed&&Ot(y,pe,Ee+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,y&&al(y.doc)),y&&ln(y,"markerCleared",y,this,pe,Ee),ie&&_o(y),this.parent&&this.parent.clear()}},co.prototype.find=function(y,ie){y==null&&this.type=="bookmark"&&(y=1);for(var me,pe,Ee=0;Ee<this.lines.length;++Ee){var Re=this.lines[Ee],Ke=ui(Re.markedSpans,this);if(Ke.from!=null&&(me=Ft(ie?Re:er(Re),Ke.from),y==-1))return me;if(Ke.to!=null&&(pe=Ft(ie?Re:er(Re),Ke.to),y==1))return pe}return me&&{from:me,to:pe}},co.prototype.changed=function(){var y=this,ie=this.find(-1,!0),me=this,pe=this.doc.cm;!ie||!pe||oi(pe,function(){var Ee=ie.line,Re=er(ie.line),Ke=as(pe,Re);if(Ke&&(Bs(Ke),pe.curOp.selectionChanged=pe.curOp.forceUpdate=!0),pe.curOp.updateMaxLine=!0,!fr(me.doc,Ee)&&me.height!=null){var nt=me.height;me.height=null;var ct=Do(me)-nt;ct&&Jt(Ee,Ee.height+ct)}ln(pe,"markerChanged",pe,y)})},co.prototype.attachLine=function(y){if(!this.lines.length&&this.doc.cm){var ie=this.doc.cm.curOp;(!ie.maybeHiddenMarkers||it(ie.maybeHiddenMarkers,this)==-1)&&(ie.maybeUnhiddenMarkers||(ie.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(y)},co.prototype.detachLine=function(y){if(this.lines.splice(it(this.lines,y),1),!this.lines.length&&this.doc.cm){var ie=this.doc.cm.curOp;(ie.maybeHiddenMarkers||(ie.maybeHiddenMarkers=[])).push(this)}},Wt(co);function Xo(y,ie,me,pe,Ee){if(pe&&pe.shared)return _u(y,ie,me,pe,Ee);if(y.cm&&!y.cm.curOp)return An(y.cm,Xo)(y,ie,me,pe,Ee);var Re=new co(y,Ee),Ke=nr(ie,me);if(pe&&tt(pe,Re,!1),Ke>0||Ke==0&&Re.clearWhenEmpty!==!1)return Re;if(Re.replacedWith&&(Re.collapsed=!0,Re.widgetNode=Ae("span",[Re.replacedWith],"CodeMirror-widget"),pe.handleMouseEvents||Re.widgetNode.setAttribute("cm-ignore-events","true"),pe.insertLeft&&(Re.widgetNode.insertLeft=!0)),Re.collapsed){if(an(y,ie.line,ie,me,Re)||ie.line!=me.line&&an(y,me.line,ie,me,Re))throw new Error("Inserting collapsed marker partially overlapping an existing one");Hn()}Re.addToHistory&&el(y,{from:ie,to:me,origin:"markText"},y.sel,NaN);var nt=ie.line,ct=y.cm,ht;if(y.iter(nt,me.line+1,function(At){ct&&Re.collapsed&&!ct.options.lineWrapping&&Zr(At)==ct.display.maxLine&&(ht=!0),Re.collapsed&&nt!=ie.line&&Jt(At,0),ei(At,new Pn(Re,nt==ie.line?ie.ch:null,nt==me.line?me.ch:null)),++nt}),Re.collapsed&&y.iter(ie.line,me.line+1,function(At){fr(y,At)&&Jt(At,0)}),Re.clearOnEnter&&yt(Re,"beforeCursorEnter",function(){return Re.clear()}),Re.readOnly&&(li(),(y.history.done.length||y.history.undone.length)&&y.clearHistory()),Re.collapsed&&(Re.id=++yl,Re.atomic=!0),ct){if(ht&&(ct.curOp.updateMaxLine=!0),Re.collapsed)Ot(ct,ie.line,me.line+1);else if(Re.className||Re.startStyle||Re.endStyle||Re.css||Re.attributes||Re.title)for(var _t=ie.line;_t<=me.line;_t++)ar(ct,_t,"text");Re.atomic&&al(ct.doc),ln(ct,"markerAdded",ct,Re)}return Re}var Es=function(y,ie){this.markers=y,this.primary=ie;for(var me=0;me<y.length;++me)y[me].parent=this};Es.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var y=0;y<this.markers.length;++y)this.markers[y].clear();ln(this,"clear")}},Es.prototype.find=function(y,ie){return this.primary.find(y,ie)},Wt(Es);function _u(y,ie,me,pe,Ee){pe=tt(pe),pe.shared=!1;var Re=[Xo(y,ie,me,pe,Ee)],Ke=Re[0],nt=pe.widgetNode;return uo(y,function(ct){nt&&(pe.widgetNode=nt.cloneNode(!0)),Re.push(Xo(ct,rr(ct,ie),rr(ct,me),pe,Ee));for(var ht=0;ht<ct.linked.length;++ht)if(ct.linked[ht].isParent)return;Ke=ft(Re)}),new Es(Re,Ke)}function bl(y){return y.findMarks(Ft(y.first,0),y.clipPos(Ft(y.lastLine())),function(ie){return ie.parent})}function Cu(y,ie){for(var me=0;me<ie.length;me++){var pe=ie[me],Ee=pe.find(),Re=y.clipPos(Ee.from),Ke=y.clipPos(Ee.to);if(nr(Re,Ke)){var nt=Xo(y,Re,Ke,pe.primary,pe.primary.type);pe.markers.push(nt),nt.parent=pe}}}function Eu(y){for(var ie=function(pe){var Ee=y[pe],Re=[Ee.primary.doc];uo(Ee.primary.doc,function(ct){return Re.push(ct)});for(var Ke=0;Ke<Ee.markers.length;Ke++){var nt=Ee.markers[Ke];it(Re,nt.doc)==-1&&(nt.parent=null,Ee.markers.splice(Ke--,1))}},me=0;me<y.length;me++)ie(me)}var Au=0,Kn=function(y,ie,me,pe,Ee){if(!(this instanceof Kn))return new Kn(y,ie,me,pe,Ee);me==null&&(me=0),_s.call(this,[new Ss([new Xr("",null)])]),this.first=me,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=me;var Re=Ft(me,0);this.sel=ao(Re),this.history=new Xs(null),this.id=++Au,this.modeOption=ie,this.lineSep=pe,this.direction=Ee=="rtl"?"rtl":"ltr",this.extend=!1,typeof y=="string"&&(y=this.splitLines(y)),xa(this,{from:Re,to:Re,text:y}),In(this,ao(Re),Je)};Kn.prototype=Be(_s.prototype,{constructor:Kn,iter:function(y,ie,me){me?this.iterN(y-this.first,ie-y,me):this.iterN(this.first,this.first+this.size,y)},insert:function(y,ie){for(var me=0,pe=0;pe<ie.length;++pe)me+=ie[pe].height;this.insertInner(y-this.first,ie,me)},remove:function(y,ie){this.removeInner(y-this.first,ie)},getValue:function(y){var ie=Ut(this,this.first,this.first+this.size);return y===!1?ie:ie.join(y||this.lineSeparator())},setValue:Tn(function(y){var ie=Ft(this.first,0),me=this.first+this.size-1;Vo(this,{from:ie,to:Ft(me,Et(this,me).text.length),text:this.splitLines(y),origin:"setValue",full:!0},!0),this.cm&&hs(this.cm,0,0),In(this,ao(ie),Je)}),replaceRange:function(y,ie,me,pe){ie=rr(this,ie),me=me?rr(this,me):ie,Zo(this,y,ie,me,pe)},getRange:function(y,ie,me){var pe=zt(this,rr(this,y),rr(this,ie));return me===!1?pe:pe.join(me||this.lineSeparator())},getLine:function(y){var ie=this.getLineHandle(y);return ie&&ie.text},getLineHandle:function(y){if(Tr(this,y))return Et(this,y)},getLineNumber:function(y){return er(y)},getLineHandleVisualStart:function(y){return typeof y=="number"&&(y=Et(this,y)),Zr(y)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(y){return rr(this,y)},getCursor:function(y){var ie=this.sel.primary(),me;return y==null||y=="head"?me=ie.head:y=="anchor"?me=ie.anchor:y=="end"||y=="to"||y===!1?me=ie.to():me=ie.from(),me},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Tn(function(y,ie,me){il(this,rr(this,typeof y=="number"?Ft(y,ie||0):y),null,me)}),setSelection:Tn(function(y,ie,me){il(this,rr(this,y),rr(this,ie||y),me)}),extendSelection:Tn(function(y,ie,me){Ks(this,rr(this,y),ie&&rr(this,ie),me)}),extendSelections:Tn(function(y,ie){nl(this,Fr(this,y),ie)}),extendSelectionsBy:Tn(function(y,ie){var me=qe(this.sel.ranges,y);nl(this,Fr(this,me),ie)}),setSelections:Tn(function(y,ie,me){if(y.length){for(var pe=[],Ee=0;Ee<y.length;Ee++)pe[Ee]=new Vr(rr(this,y[Ee].anchor),rr(this,y[Ee].head));ie==null&&(ie=Math.min(y.length-1,this.sel.primIndex)),In(this,Di(this.cm,pe,ie),me)}}),addSelection:Tn(function(y,ie,me){var pe=this.sel.ranges.slice(0);pe.push(new Vr(rr(this,y),rr(this,ie||y))),In(this,Di(this.cm,pe,pe.length-1),me)}),getSelection:function(y){for(var ie=this.sel.ranges,me,pe=0;pe<ie.length;pe++){var Ee=zt(this,ie[pe].from(),ie[pe].to());me=me?me.concat(Ee):Ee}return y===!1?me:me.join(y||this.lineSeparator())},getSelections:function(y){for(var ie=[],me=this.sel.ranges,pe=0;pe<me.length;pe++){var Ee=zt(this,me[pe].from(),me[pe].to());y!==!1&&(Ee=Ee.join(y||this.lineSeparator())),ie[pe]=Ee}return ie},replaceSelection:function(y,ie,me){for(var pe=[],Ee=0;Ee<this.sel.ranges.length;Ee++)pe[Ee]=y;this.replaceSelections(pe,ie,me||"+input")},replaceSelections:Tn(function(y,ie,me){for(var pe=[],Ee=this.sel,Re=0;Re<Ee.ranges.length;Re++){var Ke=Ee.ranges[Re];pe[Re]={from:Ke.from(),to:Ke.to(),text:this.splitLines(y[Re]),origin:me}}for(var nt=ie&&ie!="end"&&hu(this,pe,ie),ct=pe.length-1;ct>=0;ct--)Vo(this,pe[ct]);nt?ol(this,nt):this.cm&&Uo(this.cm)}),undo:Tn(function(){$s(this,"undo")}),redo:Tn(function(){$s(this,"redo")}),undoSelection:Tn(function(){$s(this,"undo",!0)}),redoSelection:Tn(function(){$s(this,"redo",!0)}),setExtending:function(y){this.extend=y},getExtending:function(){return this.extend},historySize:function(){for(var y=this.history,ie=0,me=0,pe=0;pe<y.done.length;pe++)y.done[pe].ranges||++ie;for(var Ee=0;Ee<y.undone.length;Ee++)y.undone[Ee].ranges||++me;return{undo:ie,redo:me}},clearHistory:function(){var y=this;this.history=new Xs(this.history.maxGeneration),uo(this,function(ie){return ie.history=y.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(y){return y&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(y){return this.history.generation==(y||this.cleanGeneration)},getHistory:function(){return{done:Wo(this.history.done),undone:Wo(this.history.undone)}},setHistory:function(y){var ie=this.history=new Xs(this.history.maxGeneration);ie.done=Wo(y.done.slice(0),null,!0),ie.undone=Wo(y.undone.slice(0),null,!0)},setGutterMarker:Tn(function(y,ie,me){return xs(this,y,"gutter",function(pe){var Ee=pe.gutterMarkers||(pe.gutterMarkers={});return Ee[ie]=me,!me&&dt(Ee)&&(pe.gutterMarkers=null),!0})}),clearGutter:Tn(function(y){var ie=this;this.iter(function(me){me.gutterMarkers&&me.gutterMarkers[y]&&xs(ie,me,"gutter",function(){return me.gutterMarkers[y]=null,dt(me.gutterMarkers)&&(me.gutterMarkers=null),!0})})}),lineInfo:function(y){var ie;if(typeof y=="number"){if(!Tr(this,y)||(ie=y,y=Et(this,y),!y))return null}else if(ie=er(y),ie==null)return null;return{line:ie,handle:y,text:y.text,gutterMarkers:y.gutterMarkers,textClass:y.textClass,bgClass:y.bgClass,wrapClass:y.wrapClass,widgets:y.widgets}},addLineClass:Tn(function(y,ie,me){return xs(this,y,ie=="gutter"?"gutter":"class",function(pe){var Ee=ie=="text"?"textClass":ie=="background"?"bgClass":ie=="gutter"?"gutterClass":"wrapClass";if(!pe[Ee])pe[Ee]=me;else{if(we(me).test(pe[Ee]))return!1;pe[Ee]+=" "+me}return!0})}),removeLineClass:Tn(function(y,ie,me){return xs(this,y,ie=="gutter"?"gutter":"class",function(pe){var Ee=ie=="text"?"textClass":ie=="background"?"bgClass":ie=="gutter"?"gutterClass":"wrapClass",Re=pe[Ee];if(Re)if(me==null)pe[Ee]=null;else{var Ke=Re.match(we(me));if(!Ke)return!1;var nt=Ke.index+Ke[0].length;pe[Ee]=Re.slice(0,Ke.index)+(!Ke.index||nt==Re.length?"":" ")+Re.slice(nt)||null}else return!1;return!0})}),addLineWidget:Tn(function(y,ie,me){return Su(this,y,ie,me)}),removeLineWidget:function(y){y.clear()},markText:function(y,ie,me){return Xo(this,rr(this,y),rr(this,ie),me,me&&me.type||"range")},setBookmark:function(y,ie){var me={replacedWith:ie&&(ie.nodeType==null?ie.widget:ie),insertLeft:ie&&ie.insertLeft,clearWhenEmpty:!1,shared:ie&&ie.shared,handleMouseEvents:ie&&ie.handleMouseEvents};return y=rr(this,y),Xo(this,y,y,me,"bookmark")},findMarksAt:function(y){y=rr(this,y);var ie=[],me=Et(this,y.line).markedSpans;if(me)for(var pe=0;pe<me.length;++pe){var Ee=me[pe];(Ee.from==null||Ee.from<=y.ch)&&(Ee.to==null||Ee.to>=y.ch)&&ie.push(Ee.marker.parent||Ee.marker)}return ie},findMarks:function(y,ie,me){y=rr(this,y),ie=rr(this,ie);var pe=[],Ee=y.line;return this.iter(y.line,ie.line+1,function(Re){var Ke=Re.markedSpans;if(Ke)for(var nt=0;nt<Ke.length;nt++){var ct=Ke[nt];!(ct.to!=null&&Ee==y.line&&y.ch>=ct.to||ct.from==null&&Ee!=y.line||ct.from!=null&&Ee==ie.line&&ct.from>=ie.ch)&&(!me||me(ct.marker))&&pe.push(ct.marker.parent||ct.marker)}++Ee}),pe},getAllMarks:function(){var y=[];return this.iter(function(ie){var me=ie.markedSpans;if(me)for(var pe=0;pe<me.length;++pe)me[pe].from!=null&&y.push(me[pe].marker)}),y},posFromIndex:function(y){var ie,me=this.first,pe=this.lineSeparator().length;return this.iter(function(Ee){var Re=Ee.text.length+pe;if(Re>y)return ie=y,!0;y-=Re,++me}),rr(this,Ft(me,ie))},indexFromPos:function(y){y=rr(this,y);var ie=y.ch;if(y.line<this.first||y.ch<0)return 0;var me=this.lineSeparator().length;return this.iter(this.first,y.line,function(pe){ie+=pe.text.length+me}),ie},copy:function(y){var ie=new Kn(Ut(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return ie.scrollTop=this.scrollTop,ie.scrollLeft=this.scrollLeft,ie.sel=this.sel,ie.extend=!1,y&&(ie.history.undoDepth=this.history.undoDepth,ie.setHistory(this.getHistory())),ie},linkedDoc:function(y){y||(y={});var ie=this.first,me=this.first+this.size;y.from!=null&&y.from>ie&&(ie=y.from),y.to!=null&&y.to<me&&(me=y.to);var pe=new Kn(Ut(this,ie,me),y.mode||this.modeOption,ie,this.lineSep,this.direction);return y.sharedHist&&(pe.history=this.history),(this.linked||(this.linked=[])).push({doc:pe,sharedHist:y.sharedHist}),pe.linked=[{doc:this,isParent:!0,sharedHist:y.sharedHist}],Cu(pe,bl(this)),pe},unlinkDoc:function(y){if(y instanceof fn&&(y=y.doc),this.linked)for(var ie=0;ie<this.linked.length;++ie){var me=this.linked[ie];if(me.doc==y){this.linked.splice(ie,1),y.unlinkDoc(this),Eu(bl(this));break}}if(y.history==this.history){var pe=[y.id];uo(y,function(Ee){return pe.push(Ee.id)},!0),y.history=new Xs(null),y.history.done=Wo(this.history.done,pe),y.history.undone=Wo(this.history.undone,pe)}},iterLinkedDocs:function(y){uo(this,y)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(y){return this.lineSep?y.split(this.lineSep):Nn(y)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Tn(function(y){y!="rtl"&&(y="ltr"),y!=this.direction&&(this.direction=y,this.iter(function(ie){return ie.order=null}),this.cm&&pu(this.cm))})}),Kn.prototype.eachLine=Kn.prototype.iter;var wl=0;function Tu(y){var ie=this;if(xl(ie),!(wt(ie,y)||Ri(ie.display,y))){Qt(y),de&&(wl=+new Date);var me=Vi(ie,y,!0),pe=y.dataTransfer.files;if(!(!me||ie.isReadOnly()))if(pe&&pe.length&&window.FileReader&&window.File)for(var Ee=pe.length,Re=Array(Ee),Ke=0,nt=function(){++Ke==Ee&&An(ie,function(){me=rr(ie.doc,me);var Lt={from:me,to:me,text:ie.doc.splitLines(Re.filter(function(Vt){return Vt!=null}).join(ie.doc.lineSeparator())),origin:"paste"};Vo(ie.doc,Lt),ol(ie.doc,ao(rr(ie.doc,me),rr(ie.doc,lo(Lt))))})()},ct=function(Lt,Vt){if(ie.options.allowDropFileTypes&&it(ie.options.allowDropFileTypes,Lt.type)==-1){nt();return}var Yt=new FileReader;Yt.onerror=function(){return nt()},Yt.onload=function(){var qt=Yt.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(qt)){nt();return}Re[Vt]=qt,nt()},Yt.readAsText(Lt)},ht=0;ht<pe.length;ht++)ct(pe[ht],ht);else{if(ie.state.draggingText&&ie.doc.sel.contains(me)>-1){ie.state.draggingText(y),setTimeout(function(){return ie.display.input.focus()},20);return}try{var _t=y.dataTransfer.getData("Text");if(_t){var At;if(ie.state.draggingText&&!ie.state.draggingText.copy&&(At=ie.listSelections()),Qs(ie.doc,ao(me,me)),At)for(var Pt=0;Pt<At.length;++Pt)Zo(ie.doc,"",At[Pt].anchor,At[Pt].head,"drag");ie.replaceSelection(_t,"around","paste"),ie.display.input.focus()}}catch(Lt){}}}}function ku(y,ie){if(de&&(!y.state.draggingText||+new Date-wl<100)){Or(ie);return}if(!(wt(y,ie)||Ri(y.display,ie))&&(ie.dataTransfer.setData("Text",y.getSelection()),ie.dataTransfer.effectAllowed="copyMove",ie.dataTransfer.setDragImage&&!z)){var me=be("img",null,null,"position: fixed; left: 0; top: 0;");me.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",se&&(me.width=me.height=1,y.display.wrapper.appendChild(me),me._top=me.offsetTop),ie.dataTransfer.setDragImage(me,0,0),se&&me.parentNode.removeChild(me)}}function Du(y,ie){var me=Vi(y,ie);if(me){var pe=document.createDocumentFragment();Yn(y,me,pe),y.display.dragCursor||(y.display.dragCursor=be("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),y.display.lineSpace.insertBefore(y.display.dragCursor,y.display.cursorDiv)),Se(y.display.dragCursor,pe)}}function xl(y){y.display.dragCursor&&(y.display.lineSpace.removeChild(y.display.dragCursor),y.display.dragCursor=null)}function Sl(y){if(document.getElementsByClassName){for(var ie=document.getElementsByClassName("CodeMirror"),me=[],pe=0;pe<ie.length;pe++){var Ee=ie[pe].CodeMirror;Ee&&me.push(Ee)}me.length&&me[0].operation(function(){for(var Re=0;Re<me.length;Re++)y(me[Re])})}}var _l=!1;function Mu(){_l||(Ou(),_l=!0)}function Ou(){var y;yt(window,"resize",function(){y==null&&(y=setTimeout(function(){y=null,Sl(ju)},100))}),yt(window,"blur",function(){return Sl(_i)})}function ju(y){var ie=y.display;ie.cachedCharWidth=ie.cachedTextHeight=ie.cachedPaddingH=null,ie.scrollbarsClipped=!1,y.setSize()}for(var fo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},As=0;As<10;As++)fo[As+48]=fo[As+96]=String(As);for(var ea=65;ea<=90;ea++)fo[ea]=String.fromCharCode(ea);for(var Ts=1;Ts<=12;Ts++)fo[Ts+111]=fo[Ts+63235]="F"+Ts;var Ki={};Ki.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ki.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ki.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ki.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ki.default=le?Ki.macDefault:Ki.pcDefault;function Lu(y){var ie=y.split(/-(?!$)/);y=ie[ie.length-1];for(var me,pe,Ee,Re,Ke=0;Ke<ie.length-1;Ke++){var nt=ie[Ke];if(/^(cmd|meta|m)$/i.test(nt))Re=!0;else if(/^a(lt)?$/i.test(nt))me=!0;else if(/^(c|ctrl|control)$/i.test(nt))pe=!0;else if(/^s(hift)?$/i.test(nt))Ee=!0;else throw new Error("Unrecognized modifier name: "+nt)}return me&&(y="Alt-"+y),pe&&(y="Ctrl-"+y),Re&&(y="Cmd-"+y),Ee&&(y="Shift-"+y),y}function Pu(y){var ie={};for(var me in y)if(y.hasOwnProperty(me)){var pe=y[me];if(/^(name|fallthrough|(de|at)tach)$/.test(me))continue;if(pe=="..."){delete y[me];continue}for(var Ee=qe(me.split(" "),Lu),Re=0;Re<Ee.length;Re++){var Ke=void 0,nt=void 0;Re==Ee.length-1?(nt=Ee.join(" "),Ke=pe):(nt=Ee.slice(0,Re+1).join(" "),Ke="...");var ct=ie[nt];if(!ct)ie[nt]=Ke;else if(ct!=Ke)throw new Error("Inconsistent bindings for "+nt)}delete y[me]}for(var ht in ie)y[ht]=ie[ht];return y}function Yo(y,ie,me,pe){ie=ta(ie);var Ee=ie.call?ie.call(y,pe):ie[y];if(Ee===!1)return"nothing";if(Ee==="...")return"multi";if(Ee!=null&&me(Ee))return"handled";if(ie.fallthrough){if(Object.prototype.toString.call(ie.fallthrough)!="[object Array]")return Yo(y,ie.fallthrough,me,pe);for(var Re=0;Re<ie.fallthrough.length;Re++){var Ke=Yo(y,ie.fallthrough[Re],me,pe);if(Ke)return Ke}}}function Cl(y){var ie=typeof y=="string"?y:fo[y.keyCode];return ie=="Ctrl"||ie=="Alt"||ie=="Shift"||ie=="Mod"}function El(y,ie,me){var pe=y;return ie.altKey&&pe!="Alt"&&(y="Alt-"+y),(ge?ie.metaKey:ie.ctrlKey)&&pe!="Ctrl"&&(y="Ctrl-"+y),(ge?ie.ctrlKey:ie.metaKey)&&pe!="Mod"&&(y="Cmd-"+y),!me&&ie.shiftKey&&pe!="Shift"&&(y="Shift-"+y),y}function Al(y,ie){if(se&&y.keyCode==34&&y.char)return!1;var me=fo[y.keyCode];return me==null||y.altGraphKey?!1:(y.keyCode==3&&y.code&&(me=y.code),El(me,y,ie))}function ta(y){return typeof y=="string"?Ki[y]:y}function Ko(y,ie){for(var me=y.doc.sel.ranges,pe=[],Ee=0;Ee<me.length;Ee++){for(var Re=ie(me[Ee]);pe.length&&nr(Re.from,ft(pe).to)<=0;){var Ke=pe.pop();if(nr(Ke.from,Re.from)<0){Re.from=Ke.from;break}}pe.push(Re)}oi(y,function(){for(var nt=pe.length-1;nt>=0;nt--)Zo(y.doc,"",pe[nt].from,pe[nt].to,"+delete");Uo(y)})}function Ea(y,ie,me){var pe=Ye(y.text,ie+me,me);return pe<0||pe>y.text.length?null:pe}function Aa(y,ie,me){var pe=Ea(y,ie.ch,me);return pe==null?null:new Ft(ie.line,pe,me<0?"after":"before")}function Ta(y,ie,me,pe,Ee){if(y){ie.doc.direction=="rtl"&&(Ee=-Ee);var Re=lt(me,ie.doc.direction);if(Re){var Ke=Ee<0?ft(Re):Re[0],nt=Ee<0==(Ke.level==1),ct=nt?"after":"before",ht;if(Ke.level>0||ie.doc.direction=="rtl"){var _t=io(ie,me);ht=Ee<0?me.text.length-1:0;var At=xi(ie,_t,ht).top;ht=ot(function(Pt){return xi(ie,_t,Pt).top==At},Ee<0==(Ke.level==1)?Ke.from:Ke.to-1,ht),ct=="before"&&(ht=Ea(me,ht,1))}else ht=Ee<0?Ke.to:Ke.from;return new Ft(pe,ht,ct)}}return new Ft(pe,Ee<0?me.text.length:0,Ee<0?"before":"after")}function Ru(y,ie,me,pe){var Ee=lt(ie,y.doc.direction);if(!Ee)return Aa(ie,me,pe);me.ch>=ie.text.length?(me.ch=ie.text.length,me.sticky="before"):me.ch<=0&&(me.ch=0,me.sticky="after");var Re=De(Ee,me.ch,me.sticky),Ke=Ee[Re];if(y.doc.direction=="ltr"&&Ke.level%2==0&&(pe>0?Ke.to>me.ch:Ke.from<me.ch))return Aa(ie,me,pe);var nt=function(ir,ur){return Ea(ie,ir instanceof Ft?ir.ch:ir,ur)},ct,ht=function(ir){return y.options.lineWrapping?(ct=ct||io(y,ie),zs(y,ie,ct,ir)):{begin:0,end:ie.text.length}},_t=ht(me.sticky=="before"?nt(me,-1):me.ch);if(y.doc.direction=="rtl"||Ke.level==1){var At=Ke.level==1==pe<0,Pt=nt(me,At?1:-1);if(Pt!=null&&(At?Pt<=Ke.to&&Pt<=_t.end:Pt>=Ke.from&&Pt>=_t.begin)){var Lt=At?"before":"after";return new Ft(me.line,Pt,Lt)}}var Vt=function(ir,ur,or){for(var mr=function(nn,kn){return kn?new Ft(me.line,nt(nn,1),"before"):new Ft(me.line,nn,"after")};ir>=0&&ir<Ee.length;ir+=ur){var _r=Ee[ir],xr=ur>0==(_r.level!=1),Lr=xr?or.begin:nt(or.end,-1);if(_r.from<=Lr&&Lr<_r.to||(Lr=xr?_r.from:nt(_r.to,-1),or.begin<=Lr&&Lr<or.end))return mr(Lr,xr)}},Yt=Vt(Re+pe,pe,_t);if(Yt)return Yt;var qt=pe>0?_t.end:nt(_t.begin,-1);return qt!=null&&!(pe>0&&qt==ie.text.length)&&(Yt=Vt(pe>0?0:Ee.length-1,pe,ht(qt)),Yt)?Yt:null}var ks={selectAll:cl,singleSelection:function(y){return y.setSelection(y.getCursor("anchor"),y.getCursor("head"),Je)},killLine:function(y){return Ko(y,function(ie){if(ie.empty()){var me=Et(y.doc,ie.head.line).text.length;return ie.head.ch==me&&ie.head.line<y.lastLine()?{from:ie.head,to:Ft(ie.head.line+1,0)}:{from:ie.head,to:Ft(ie.head.line,me)}}else return{from:ie.from(),to:ie.to()}})},deleteLine:function(y){return Ko(y,function(ie){return{from:Ft(ie.from().line,0),to:rr(y.doc,Ft(ie.to().line+1,0))}})},delLineLeft:function(y){return Ko(y,function(ie){return{from:Ft(ie.from().line,0),to:ie.from()}})},delWrappedLineLeft:function(y){return Ko(y,function(ie){var me=y.charCoords(ie.head,"div").top+5,pe=y.coordsChar({left:0,top:me},"div");return{from:pe,to:ie.from()}})},delWrappedLineRight:function(y){return Ko(y,function(ie){var me=y.charCoords(ie.head,"div").top+5,pe=y.coordsChar({left:y.display.lineDiv.offsetWidth+100,top:me},"div");return{from:ie.from(),to:pe}})},undo:function(y){return y.undo()},redo:function(y){return y.redo()},undoSelection:function(y){return y.undoSelection()},redoSelection:function(y){return y.redoSelection()},goDocStart:function(y){return y.extendSelection(Ft(y.firstLine(),0))},goDocEnd:function(y){return y.extendSelection(Ft(y.lastLine()))},goLineStart:function(y){return y.extendSelectionsBy(function(ie){return Tl(y,ie.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(y){return y.extendSelectionsBy(function(ie){return kl(y,ie.head)},{origin:"+move",bias:1})},goLineEnd:function(y){return y.extendSelectionsBy(function(ie){return Iu(y,ie.head.line)},{origin:"+move",bias:-1})},goLineRight:function(y){return y.extendSelectionsBy(function(ie){var me=y.cursorCoords(ie.head,"div").top+5;return y.coordsChar({left:y.display.lineDiv.offsetWidth+100,top:me},"div")},Qe)},goLineLeft:function(y){return y.extendSelectionsBy(function(ie){var me=y.cursorCoords(ie.head,"div").top+5;return y.coordsChar({left:0,top:me},"div")},Qe)},goLineLeftSmart:function(y){return y.extendSelectionsBy(function(ie){var me=y.cursorCoords(ie.head,"div").top+5,pe=y.coordsChar({left:0,top:me},"div");return pe.ch<y.getLine(pe.line).search(/\S/)?kl(y,ie.head):pe},Qe)},goLineUp:function(y){return y.moveV(-1,"line")},goLineDown:function(y){return y.moveV(1,"line")},goPageUp:function(y){return y.moveV(-1,"page")},goPageDown:function(y){return y.moveV(1,"page")},goCharLeft:function(y){return y.moveH(-1,"char")},goCharRight:function(y){return y.moveH(1,"char")},goColumnLeft:function(y){return y.moveH(-1,"column")},goColumnRight:function(y){return y.moveH(1,"column")},goWordLeft:function(y){return y.moveH(-1,"word")},goGroupRight:function(y){return y.moveH(1,"group")},goGroupLeft:function(y){return y.moveH(-1,"group")},goWordRight:function(y){return y.moveH(1,"word")},delCharBefore:function(y){return y.deleteH(-1,"codepoint")},delCharAfter:function(y){return y.deleteH(1,"char")},delWordBefore:function(y){return y.deleteH(-1,"word")},delWordAfter:function(y){return y.deleteH(1,"word")},delGroupBefore:function(y){return y.deleteH(-1,"group")},delGroupAfter:function(y){return y.deleteH(1,"group")},indentAuto:function(y){return y.indentSelection("smart")},indentMore:function(y){return y.indentSelection("add")},indentLess:function(y){return y.indentSelection("subtract")},insertTab:function(y){return y.replaceSelection(" ")},insertSoftTab:function(y){for(var ie=[],me=y.listSelections(),pe=y.options.tabSize,Ee=0;Ee<me.length;Ee++){var Re=me[Ee].from(),Ke=Me(y.getLine(Re.line),Re.ch,pe);ie.push(pt(pe-Ke%pe))}y.replaceSelections(ie)},defaultTab:function(y){y.somethingSelected()?y.indentSelection("add"):y.execCommand("insertTab")},transposeChars:function(y){return oi(y,function(){for(var ie=y.listSelections(),me=[],pe=0;pe<ie.length;pe++)if(ie[pe].empty()){var Ee=ie[pe].head,Re=Et(y.doc,Ee.line).text;if(Re){if(Ee.ch==Re.length&&(Ee=new Ft(Ee.line,Ee.ch-1)),Ee.ch>0)Ee=new Ft(Ee.line,Ee.ch+1),y.replaceRange(Re.charAt(Ee.ch-1)+Re.charAt(Ee.ch-2),Ft(Ee.line,Ee.ch-2),Ee,"+transpose");else if(Ee.line>y.doc.first){var Ke=Et(y.doc,Ee.line-1).text;Ke&&(Ee=new Ft(Ee.line,1),y.replaceRange(Re.charAt(0)+y.doc.lineSeparator()+Ke.charAt(Ke.length-1),Ft(Ee.line-1,Ke.length-1),Ee,"+transpose"))}}me.push(new Vr(Ee,Ee))}y.setSelections(me)})},newlineAndIndent:function(y){return oi(y,function(){for(var ie=y.listSelections(),me=ie.length-1;me>=0;me--)y.replaceRange(y.doc.lineSeparator(),ie[me].anchor,ie[me].head,"+input");ie=y.listSelections();for(var pe=0;pe<ie.length;pe++)y.indentLine(ie[pe].from().line,null,!0);Uo(y)})},openLine:function(y){return y.replaceSelection(`
`,"start")},toggleOverwrite:function(y){return y.toggleOverwrite()}};function Tl(y,ie){var me=Et(y.doc,ie),pe=Zr(me);return pe!=me&&(ie=er(pe)),Ta(!0,y,pe,ie,1)}function Iu(y,ie){var me=Et(y.doc,ie),pe=dn(me);return pe!=me&&(ie=er(pe)),Ta(!0,y,me,ie,-1)}function kl(y,ie){var me=Tl(y,ie.line),pe=Et(y.doc,me.line),Ee=lt(pe,y.doc.direction);if(!Ee||Ee[0].level==0){var Re=Math.max(me.ch,pe.text.search(/\S/)),Ke=ie.line==me.line&&ie.ch<=Re&&ie.ch;return Ft(me.line,Ke?0:Re,me.sticky)}return me}function ra(y,ie,me){if(typeof ie=="string"&&(ie=ks[ie],!ie))return!1;y.display.input.ensurePolled();var pe=y.display.shift,Ee=!1;try{y.isReadOnly()&&(y.state.suppressEdits=!0),me&&(y.display.shift=!1),Ee=ie(y)!=$e}finally{y.display.shift=pe,y.state.suppressEdits=!1}return Ee}function Bu(y,ie,me){for(var pe=0;pe<y.state.keyMaps.length;pe++){var Ee=Yo(ie,y.state.keyMaps[pe],me,y);if(Ee)return Ee}return y.options.extraKeys&&Yo(ie,y.options.extraKeys,me,y)||Yo(ie,y.options.keyMap,me,y)}var Nu=new We;function Ds(y,ie,me,pe){var Ee=y.state.keySeq;if(Ee){if(Cl(ie))return"handled";if(/\'$/.test(ie)?y.state.keySeq=null:Nu.set(50,function(){y.state.keySeq==Ee&&(y.state.keySeq=null,y.display.input.reset())}),Dl(y,Ee+" "+ie,me,pe))return!0}return Dl(y,ie,me,pe)}function Dl(y,ie,me,pe){var Ee=Bu(y,ie,pe);return Ee=="multi"&&(y.state.keySeq=ie),Ee=="handled"&&ln(y,"keyHandled",y,ie,me),(Ee=="handled"||Ee=="multi")&&(Qt(me),go(y)),!!Ee}function Ml(y,ie){var me=Al(ie,!0);return me?ie.shiftKey&&!y.state.keySeq?Ds(y,"Shift-"+me,ie,function(pe){return ra(y,pe,!0)})||Ds(y,me,ie,function(pe){if(typeof pe=="string"?/^go[A-Z]/.test(pe):pe.motion)return ra(y,pe)}):Ds(y,me,ie,function(pe){return ra(y,pe)}):!1}function Fu(y,ie,me){return Ds(y,"'"+me+"'",ie,function(pe){return ra(y,pe,!0)})}var ka=null;function Ol(y){var ie=this;if(!(y.target&&y.target!=ie.display.input.getField())&&(ie.curOp.focus=ke(),!wt(ie,y))){de&&ee<11&&y.keyCode==27&&(y.returnValue=!1);var me=y.keyCode;ie.display.shift=me==16||y.shiftKey;var pe=Ml(ie,y);se&&(ka=pe?me:null,!pe&&me==88&&!hr&&(le?y.metaKey:y.ctrlKey)&&ie.replaceSelection("",null,"cut")),ye&&!le&&!pe&&me==46&&y.shiftKey&&!y.ctrlKey&&document.execCommand&&document.execCommand("cut"),me==18&&!/\bCodeMirror-crosshair\b/.test(ie.display.lineDiv.className)&&Hu(ie)}}function Hu(y){var ie=y.display.lineDiv;Pe(ie,"CodeMirror-crosshair");function me(pe){(pe.keyCode==18||!pe.altKey)&&(xe(ie,"CodeMirror-crosshair"),jt(document,"keyup",me),jt(document,"mouseover",me))}yt(document,"keyup",me),yt(document,"mouseover",me)}function jl(y){y.keyCode==16&&(this.doc.sel.shift=!1),wt(this,y)}function Ll(y){var ie=this;if(!(y.target&&y.target!=ie.display.input.getField())&&!(Ri(ie.display,y)||wt(ie,y)||y.ctrlKey&&!y.altKey||le&&y.metaKey)){var me=y.keyCode,pe=y.charCode;if(se&&me==ka){ka=null,Qt(y);return}if(!(se&&(!y.which||y.which<10)&&Ml(ie,y))){var Ee=String.fromCharCode(pe==null?me:pe);Ee!="\b"&&(Fu(ie,y,Ee)||ie.display.input.onKeyPress(y))}}}var Uu=400,Da=function(y,ie,me){this.time=y,this.pos=ie,this.button=me};Da.prototype.compare=function(y,ie,me){return this.time+Uu>y&&nr(ie,this.pos)==0&&me==this.button};var Ms,Os;function zu(y,ie){var me=+new Date;return Os&&Os.compare(me,y,ie)?(Ms=Os=null,"triple"):Ms&&Ms.compare(me,y,ie)?(Os=new Da(me,y,ie),Ms=null,"double"):(Ms=new Da(me,y,ie),Os=null,"single")}function Pl(y){var ie=this,me=ie.display;if(!(wt(ie,y)||me.activeTouch&&me.input.supportsTouch())){if(me.input.ensurePolled(),me.shift=y.shiftKey,Ri(me,y)){oe||(me.scroller.draggable=!1,setTimeout(function(){return me.scroller.draggable=!0},100));return}if(!Ma(ie,y)){var pe=Vi(ie,y),Ee=rn(y),Re=pe?zu(pe,Ee):"single";window.focus(),Ee==1&&ie.state.selectingText&&ie.state.selectingText(y),!(pe&&Wu(ie,Ee,pe,Re,y))&&(Ee==1?pe?Vu(ie,pe,Re,y):Yr(y)==me.scroller&&Qt(y):Ee==2?(pe&&Ks(ie.doc,pe),setTimeout(function(){return me.input.focus()},20)):Ee==3&&(_e?ie.display.input.onContextMenu(y):Zi(ie)))}}}function Wu(y,ie,me,pe,Ee){var Re="Click";return pe=="double"?Re="Double"+Re:pe=="triple"&&(Re="Triple"+Re),Re=(ie==1?"Left":ie==2?"Middle":"Right")+Re,Ds(y,El(Re,Ee),Ee,function(Ke){if(typeof Ke=="string"&&(Ke=ks[Ke]),!Ke)return!1;var nt=!1;try{y.isReadOnly()&&(y.state.suppressEdits=!0),nt=Ke(y,me)!=$e}finally{y.state.suppressEdits=!1}return nt})}function Gu(y,ie,me){var pe=y.getOption("configureMouse"),Ee=pe?pe(y,ie,me):{};if(Ee.unit==null){var Re=fe?me.shiftKey&&me.metaKey:me.altKey;Ee.unit=Re?"rectangle":ie=="single"?"char":ie=="double"?"word":"line"}return(Ee.extend==null||y.doc.extend)&&(Ee.extend=y.doc.extend||me.shiftKey),Ee.addNew==null&&(Ee.addNew=le?me.metaKey:me.ctrlKey),Ee.moveOnDrag==null&&(Ee.moveOnDrag=!(le?me.altKey:me.ctrlKey)),Ee}function Vu(y,ie,me,pe){de?setTimeout(Ge(Fo,y),0):y.curOp.focus=ke();var Ee=Gu(y,me,pe),Re=y.doc.sel,Ke;y.options.dragDrop&&zr&&!y.isReadOnly()&&me=="single"&&(Ke=Re.contains(ie))>-1&&(nr((Ke=Re.ranges[Ke]).from(),ie)<0||ie.xRel>0)&&(nr(Ke.to(),ie)>0||ie.xRel<0)?Zu(y,pe,ie,Ee):Xu(y,pe,ie,Ee)}function Zu(y,ie,me,pe){var Ee=y.display,Re=!1,Ke=An(y,function(ht){oe&&(Ee.scroller.draggable=!1),y.state.draggingText=!1,jt(Ee.wrapper.ownerDocument,"mouseup",Ke),jt(Ee.wrapper.ownerDocument,"mousemove",nt),jt(Ee.scroller,"dragstart",ct),jt(Ee.scroller,"drop",Ke),Re||(Qt(ht),pe.addNew||Ks(y.doc,me,null,null,pe.extend),oe&&!z||de&&ee==9?setTimeout(function(){Ee.wrapper.ownerDocument.body.focus({preventScroll:!0}),Ee.input.focus()},20):Ee.input.focus())}),nt=function(ht){Re=Re||Math.abs(ie.clientX-ht.clientX)+Math.abs(ie.clientY-ht.clientY)>=10},ct=function(){return Re=!0};oe&&(Ee.scroller.draggable=!0),y.state.draggingText=Ke,Ke.copy=!pe.moveOnDrag,Ee.scroller.dragDrop&&Ee.scroller.dragDrop(),yt(Ee.wrapper.ownerDocument,"mouseup",Ke),yt(Ee.wrapper.ownerDocument,"mousemove",nt),yt(Ee.scroller,"dragstart",ct),yt(Ee.scroller,"drop",Ke),Zi(y),setTimeout(function(){return Ee.input.focus()},20)}function Rl(y,ie,me){if(me=="char")return new Vr(ie,ie);if(me=="word")return y.findWordAt(ie);if(me=="line")return new Vr(Ft(ie.line,0),rr(y.doc,Ft(ie.line+1,0)));var pe=me(y,ie);return new Vr(pe.from,pe.to)}function Xu(y,ie,me,pe){var Ee=y.display,Re=y.doc;Qt(ie);var Ke,nt,ct=Re.sel,ht=ct.ranges;if(pe.addNew&&!pe.extend?(nt=Re.sel.contains(me),nt>-1?Ke=ht[nt]:Ke=new Vr(me,me)):(Ke=Re.sel.primary(),nt=Re.sel.primIndex),pe.unit=="rectangle")pe.addNew||(Ke=new Vr(me,me)),me=Vi(y,ie,!0,!0),nt=-1;else{var _t=Rl(y,me,pe.unit);pe.extend?Ke=_a(Ke,_t.anchor,_t.head,pe.extend):Ke=_t}pe.addNew?nt==-1?(nt=ht.length,In(Re,Di(y,ht.concat([Ke]),nt),{scroll:!1,origin:"*mouse"})):ht.length>1&&ht[nt].empty()&&pe.unit=="char"&&!pe.extend?(In(Re,Di(y,ht.slice(0,nt).concat(ht.slice(nt+1)),0),{scroll:!1,origin:"*mouse"}),ct=Re.sel):Ca(Re,nt,Ke,Xe):(nt=0,In(Re,new mi([Ke],0),Xe),ct=Re.sel);var At=me;function Pt(or){if(nr(At,or)!=0)if(At=or,pe.unit=="rectangle"){for(var mr=[],_r=y.options.tabSize,xr=Me(Et(Re,me.line).text,me.ch,_r),Lr=Me(Et(Re,or.line).text,or.ch,_r),nn=Math.min(xr,Lr),kn=Math.max(xr,Lr),hn=Math.min(me.line,or.line),si=Math.min(y.lastLine(),Math.max(me.line,or.line));hn<=si;hn++){var Qn=Et(Re,hn).text,xn=st(Qn,nn,_r);nn==kn?mr.push(new Vr(Ft(hn,xn),Ft(hn,xn))):Qn.length>xn&&mr.push(new Vr(Ft(hn,xn),Ft(hn,st(Qn,kn,_r))))}mr.length||mr.push(new Vr(me,me)),In(Re,Di(y,ct.ranges.slice(0,nt).concat(mr),nt),{origin:"*mouse",scroll:!1}),y.scrollIntoView(or)}else{var Jn=Ke,Ln=Rl(y,or,pe.unit),En=Jn.anchor,Sn;nr(Ln.anchor,En)>0?(Sn=Ln.head,En=gr(Jn.from(),Ln.anchor)):(Sn=Ln.anchor,En=Pr(Jn.to(),Ln.head));var gn=ct.ranges.slice(0);gn[nt]=Yu(y,new Vr(rr(Re,En),Sn)),In(Re,Di(y,gn,nt),Xe)}}var Lt=Ee.wrapper.getBoundingClientRect(),Vt=0;function Yt(or){var mr=++Vt,_r=Vi(y,or,!0,pe.unit=="rectangle");if(_r)if(nr(_r,At)!=0){y.curOp.focus=ke(),Pt(_r);var xr=yo(Ee,Re);(_r.line>=xr.to||_r.line<xr.from)&&setTimeout(An(y,function(){Vt==mr&&Yt(or)}),150)}else{var Lr=or.clientY<Lt.top?-20:or.clientY>Lt.bottom?20:0;Lr&&setTimeout(An(y,function(){Vt==mr&&(Ee.scroller.scrollTop+=Lr,Yt(or))}),50)}}function qt(or){y.state.selectingText=!1,Vt=1/0,or&&(Qt(or),Ee.input.focus()),jt(Ee.wrapper.ownerDocument,"mousemove",ir),jt(Ee.wrapper.ownerDocument,"mouseup",ur),Re.history.lastSelOrigin=null}var ir=An(y,function(or){or.buttons===0||!rn(or)?qt(or):Yt(or)}),ur=An(y,qt);y.state.selectingText=ur,yt(Ee.wrapper.ownerDocument,"mousemove",ir),yt(Ee.wrapper.ownerDocument,"mouseup",ur)}function Yu(y,ie){var me=ie.anchor,pe=ie.head,Ee=Et(y.doc,me.line);if(nr(me,pe)==0&&me.sticky==pe.sticky)return ie;var Re=lt(Ee);if(!Re)return ie;var Ke=De(Re,me.ch,me.sticky),nt=Re[Ke];if(nt.from!=me.ch&&nt.to!=me.ch)return ie;var ct=Ke+(nt.from==me.ch==(nt.level!=1)?0:1);if(ct==0||ct==Re.length)return ie;var ht;if(pe.line!=me.line)ht=(pe.line-me.line)*(y.doc.direction=="ltr"?1:-1)>0;else{var _t=De(Re,pe.ch,pe.sticky),At=_t-Ke||(pe.ch-me.ch)*(nt.level==1?-1:1);_t==ct-1||_t==ct?ht=At<0:ht=At>0}var Pt=Re[ct+(ht?-1:0)],Lt=ht==(Pt.level==1),Vt=Lt?Pt.from:Pt.to,Yt=Lt?"after":"before";return me.ch==Vt&&me.sticky==Yt?ie:new Vr(new Ft(me.line,Vt,Yt),pe)}function Il(y,ie,me,pe){var Ee,Re;if(ie.touches)Ee=ie.touches[0].clientX,Re=ie.touches[0].clientY;else try{Ee=ie.clientX,Re=ie.clientY}catch(Pt){return!1}if(Ee>=Math.floor(y.display.gutters.getBoundingClientRect().right))return!1;pe&&Qt(ie);var Ke=y.display,nt=Ke.lineDiv.getBoundingClientRect();if(Re>nt.bottom||!Bt(y,me))return lr(ie);Re-=nt.top-Ke.viewOffset;for(var ct=0;ct<y.display.gutterSpecs.length;++ct){var ht=Ke.gutters.childNodes[ct];if(ht&&ht.getBoundingClientRect().right>=Ee){var _t=wr(y.doc,Re),At=y.display.gutterSpecs[ct];return Tt(y,me,y,_t,At.className,ie),lr(ie)}}}function Ma(y,ie){return Il(y,ie,"gutterClick",!0)}function Bl(y,ie){Ri(y.display,ie)||Ku(y,ie)||wt(y,ie,"contextmenu")||_e||y.display.input.onContextMenu(ie)}function Ku(y,ie){return Bt(y,"gutterContextMenu")?Il(y,ie,"gutterContextMenu",!1):!1}function Nl(y){y.display.wrapper.className=y.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+y.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Si(y)}var Qo={toString:function(){return"CodeMirror.Init"}},Fl={},na={};function Qu(y){var ie=y.optionHandlers;function me(pe,Ee,Re,Ke){y.defaults[pe]=Ee,Re&&(ie[pe]=Ke?function(nt,ct,ht){ht!=Qo&&Re(nt,ct,ht)}:Re)}y.defineOption=me,y.Init=Qo,me("value","",function(pe,Ee){return pe.setValue(Ee)},!0),me("mode",null,function(pe,Ee){pe.doc.modeOption=Ee,wa(pe)},!0),me("indentUnit",2,wa,!0),me("indentWithTabs",!1),me("smartIndent",!0),me("tabSize",4,function(pe){bs(pe),Si(pe),Ot(pe)},!0),me("lineSeparator",null,function(pe,Ee){if(pe.doc.lineSep=Ee,!!Ee){var Re=[],Ke=pe.doc.first;pe.doc.iter(function(ct){for(var ht=0;;){var _t=ct.text.indexOf(Ee,ht);if(_t==-1)break;ht=_t+Ee.length,Re.push(Ft(Ke,_t))}Ke++});for(var nt=Re.length-1;nt>=0;nt--)Zo(pe.doc,Ee,Re[nt],Ft(Re[nt].line,Re[nt].ch+Ee.length))}}),me("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(pe,Ee,Re){pe.state.specialChars=new RegExp(Ee.source+(Ee.test(" ")?"":"| "),"g"),Re!=Qo&&pe.refresh()}),me("specialCharPlaceholder",Li,function(pe){return pe.refresh()},!0),me("electricChars",!0),me("inputStyle",ae?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),me("spellcheck",!1,function(pe,Ee){return pe.getInputField().spellcheck=Ee},!0),me("autocorrect",!1,function(pe,Ee){return pe.getInputField().autocorrect=Ee},!0),me("autocapitalize",!1,function(pe,Ee){return pe.getInputField().autocapitalize=Ee},!0),me("rtlMoveVisually",!ce),me("wholeLineUpdateBefore",!0),me("theme","default",function(pe){Nl(pe),ys(pe)},!0),me("keyMap","default",function(pe,Ee,Re){var Ke=ta(Ee),nt=Re!=Qo&&ta(Re);nt&&nt.detach&&nt.detach(pe,Ke),Ke.attach&&Ke.attach(pe,nt||null)}),me("extraKeys",null),me("configureMouse",null),me("lineWrapping",!1,qu,!0),me("gutters",[],function(pe,Ee){pe.display.gutterSpecs=ya(Ee,pe.options.lineNumbers),ys(pe)},!0),me("fixedGutter",!0,function(pe,Ee){pe.display.gutters.style.left=Ee?No(pe.display)+"px":"0",pe.refresh()},!0),me("coverGutterNextToScrollbar",!1,function(pe){return zo(pe)},!0),me("scrollbarStyle","native",function(pe){Ua(pe),zo(pe),pe.display.scrollbars.setScrollTop(pe.doc.scrollTop),pe.display.scrollbars.setScrollLeft(pe.doc.scrollLeft)},!0),me("lineNumbers",!1,function(pe,Ee){pe.display.gutterSpecs=ya(pe.options.gutters,Ee),ys(pe)},!0),me("firstLineNumber",1,ys,!0),me("lineNumberFormatter",function(pe){return pe},ys,!0),me("showCursorWhenSelecting",!1,tn,!0),me("resetSelectionOnContextMenu",!0),me("lineWiseCopyCut",!0),me("pasteLinesPerSelection",!0),me("selectionsMayTouch",!1),me("readOnly",!1,function(pe,Ee){Ee=="nocursor"&&(_i(pe),pe.display.input.blur()),pe.display.input.readOnlyChanged(Ee)}),me("screenReaderLabel",null,function(pe,Ee){Ee=Ee===""?null:Ee,pe.display.input.screenReaderLabelChanged(Ee)}),me("disableInput",!1,function(pe,Ee){Ee||pe.display.input.reset()},!0),me("dragDrop",!0,Ju),me("allowDropFileTypes",null),me("cursorBlinkRate",530),me("cursorScrollMargin",0),me("cursorHeight",1,tn,!0),me("singleCursorHeightPerLine",!0,tn,!0),me("workTime",100),me("workDelay",100),me("flattenSpans",!0,bs,!0),me("addModeClass",!1,bs,!0),me("pollInterval",100),me("undoDepth",200,function(pe,Ee){return pe.doc.history.undoDepth=Ee}),me("historyEventDelay",1250),me("viewportMargin",10,function(pe){return pe.refresh()},!0),me("maxHighlightLength",1e4,bs,!0),me("moveInputWithCursor",!0,function(pe,Ee){Ee||pe.display.input.resetPosition()}),me("tabindex",null,function(pe,Ee){return pe.display.input.getField().tabIndex=Ee||""}),me("autofocus",null),me("direction","ltr",function(pe,Ee){return pe.doc.setDirection(Ee)},!0),me("phrases",null)}function Ju(y,ie,me){var pe=me&&me!=Qo;if(!ie!=!pe){var Ee=y.display.dragFunctions,Re=ie?yt:jt;Re(y.display.scroller,"dragstart",Ee.start),Re(y.display.scroller,"dragenter",Ee.enter),Re(y.display.scroller,"dragover",Ee.over),Re(y.display.scroller,"dragleave",Ee.leave),Re(y.display.scroller,"drop",Ee.drop)}}function qu(y){y.options.lineWrapping?(Pe(y.display.wrapper,"CodeMirror-wrap"),y.display.sizer.style.minWidth="",y.display.sizerWidth=null):(xe(y.display.wrapper,"CodeMirror-wrap"),on(y)),vo(y),Ot(y),Si(y),setTimeout(function(){return zo(y)},100)}function fn(y,ie){var me=this;if(!(this instanceof fn))return new fn(y,ie);this.options=ie=ie?tt(ie):{},tt(Fl,ie,!1);var pe=ie.value;typeof pe=="string"?pe=new Kn(pe,ie.mode,null,ie.lineSeparator,ie.direction):ie.mode&&(pe.modeOption=ie.mode),this.doc=pe;var Ee=new fn.inputStyles[ie.inputStyle](this),Re=this.display=new fu(y,pe,Ee,ie);Re.wrapper.CodeMirror=this,Nl(this),ie.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ua(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new We,keySeq:null,specialChars:null},ie.autofocus&&!ae&&Re.input.focus(),de&&ee<11&&setTimeout(function(){return me.display.input.reset(!0)},20),$u(this),Mu(),So(this),this.curOp.forceUpdate=!0,Ja(this,pe),ie.autofocus&&!ae||this.hasFocus()?setTimeout(function(){me.hasFocus()&&!me.state.focused&&Xi(me)},20):_i(this);for(var Ke in na)na.hasOwnProperty(Ke)&&na[Ke](this,ie[Ke],Qo);Ga(this),ie.finishInit&&ie.finishInit(this);for(var nt=0;nt<Oa.length;++nt)Oa[nt](this);_o(this),oe&&ie.lineWrapping&&getComputedStyle(Re.lineDiv).textRendering=="optimizelegibility"&&(Re.lineDiv.style.textRendering="auto")}fn.defaults=Fl,fn.optionHandlers=na;function $u(y){var ie=y.display;yt(ie.scroller,"mousedown",An(y,Pl)),de&&ee<11?yt(ie.scroller,"dblclick",An(y,function(ct){if(!wt(y,ct)){var ht=Vi(y,ct);if(!(!ht||Ma(y,ct)||Ri(y.display,ct))){Qt(ct);var _t=y.findWordAt(ht);Ks(y.doc,_t.anchor,_t.head)}}})):yt(ie.scroller,"dblclick",function(ct){return wt(y,ct)||Qt(ct)}),yt(ie.scroller,"contextmenu",function(ct){return Bl(y,ct)}),yt(ie.input.getField(),"contextmenu",function(ct){ie.scroller.contains(ct.target)||Bl(y,ct)});var me,pe={end:0};function Ee(){ie.activeTouch&&(me=setTimeout(function(){return ie.activeTouch=null},1e3),pe=ie.activeTouch,pe.end=+new Date)}function Re(ct){if(ct.touches.length!=1)return!1;var ht=ct.touches[0];return ht.radiusX<=1&&ht.radiusY<=1}function Ke(ct,ht){if(ht.left==null)return!0;var _t=ht.left-ct.left,At=ht.top-ct.top;return _t*_t+At*At>20*20}yt(ie.scroller,"touchstart",function(ct){if(!wt(y,ct)&&!Re(ct)&&!Ma(y,ct)){ie.input.ensurePolled(),clearTimeout(me);var ht=+new Date;ie.activeTouch={start:ht,moved:!1,prev:ht-pe.end<=300?pe:null},ct.touches.length==1&&(ie.activeTouch.left=ct.touches[0].pageX,ie.activeTouch.top=ct.touches[0].pageY)}}),yt(ie.scroller,"touchmove",function(){ie.activeTouch&&(ie.activeTouch.moved=!0)}),yt(ie.scroller,"touchend",function(ct){var ht=ie.activeTouch;if(ht&&!Ri(ie,ct)&&ht.left!=null&&!ht.moved&&new Date-ht.start<300){var _t=y.coordsChar(ie.activeTouch,"page"),At;!ht.prev||Ke(ht,ht.prev)?At=new Vr(_t,_t):!ht.prev.prev||Ke(ht,ht.prev.prev)?At=y.findWordAt(_t):At=new Vr(Ft(_t.line,0),rr(y.doc,Ft(_t.line+1,0))),y.setSelection(At.anchor,At.head),y.focus(),Qt(ct)}Ee()}),yt(ie.scroller,"touchcancel",Ee),yt(ie.scroller,"scroll",function(){ie.scroller.clientHeight&&(ps(y,ie.scroller.scrollTop),wo(y,ie.scroller.scrollLeft,!0),Tt(y,"scroll",y))}),yt(ie.scroller,"mousewheel",function(ct){return Xa(y,ct)}),yt(ie.scroller,"DOMMouseScroll",function(ct){return Xa(y,ct)}),yt(ie.wrapper,"scroll",function(){return ie.wrapper.scrollTop=ie.wrapper.scrollLeft=0}),ie.dragFunctions={enter:function(ct){wt(y,ct)||Or(ct)},over:function(ct){wt(y,ct)||(Du(y,ct),Or(ct))},start:function(ct){return ku(y,ct)},drop:An(y,Tu),leave:function(ct){wt(y,ct)||xl(y)}};var nt=ie.input.getField();yt(nt,"keyup",function(ct){return jl.call(y,ct)}),yt(nt,"keydown",An(y,Ol)),yt(nt,"keypress",An(y,Ll)),yt(nt,"focus",function(ct){return Xi(y,ct)}),yt(nt,"blur",function(ct){return _i(y,ct)})}var Oa=[];fn.defineInitHook=function(y){return Oa.push(y)};function js(y,ie,me,pe){var Ee=y.doc,Re;me==null&&(me="add"),me=="smart"&&(Ee.mode.indent?Re=en(y,ie).state:me="prev");var Ke=y.options.tabSize,nt=Et(Ee,ie),ct=Me(nt.text,null,Ke);nt.stateAfter&&(nt.stateAfter=null);var ht=nt.text.match(/^\s*/)[0],_t;if(!pe&&!/\S/.test(nt.text))_t=0,me="not";else if(me=="smart"&&(_t=Ee.mode.indent(Re,nt.text.slice(ht.length),nt.text),_t==$e||_t>150)){if(!pe)return;me="prev"}me=="prev"?ie>Ee.first?_t=Me(Et(Ee,ie-1).text,null,Ke):_t=0:me=="add"?_t=ct+y.options.indentUnit:me=="subtract"?_t=ct-y.options.indentUnit:typeof me=="number"&&(_t=ct+me),_t=Math.max(0,_t);var At="",Pt=0;if(y.options.indentWithTabs)for(var Lt=Math.floor(_t/Ke);Lt;--Lt)Pt+=Ke,At+=" ";if(Pt<_t&&(At+=pt(_t-Pt)),At!=ht)return Zo(Ee,At,Ft(ie,0),Ft(ie,ht.length),"+input"),nt.stateAfter=null,!0;for(var Vt=0;Vt<Ee.sel.ranges.length;Vt++){var Yt=Ee.sel.ranges[Vt];if(Yt.head.line==ie&&Yt.head.ch<ht.length){var qt=Ft(ie,ht.length);Ca(Ee,Vt,new Vr(qt,qt));break}}}var Mi=null;function ia(y){Mi=y}function ja(y,ie,me,pe,Ee){var Re=y.doc;y.display.shift=!1,pe||(pe=Re.sel);var Ke=+new Date-200,nt=Ee=="paste"||y.state.pasteIncoming>Ke,ct=Nn(ie),ht=null;if(nt&&pe.ranges.length>1)if(Mi&&Mi.text.join(`
`)==ie){if(pe.ranges.length%Mi.text.length==0){ht=[];for(var _t=0;_t<Mi.text.length;_t++)ht.push(Re.splitLines(Mi.text[_t]))}}else ct.length==pe.ranges.length&&y.options.pasteLinesPerSelection&&(ht=qe(ct,function(ir){return[ir]}));for(var At=y.curOp.updateInput,Pt=pe.ranges.length-1;Pt>=0;Pt--){var Lt=pe.ranges[Pt],Vt=Lt.from(),Yt=Lt.to();Lt.empty()&&(me&&me>0?Vt=Ft(Vt.line,Vt.ch-me):y.state.overwrite&&!nt?Yt=Ft(Yt.line,Math.min(Et(Re,Yt.line).text.length,Yt.ch+ft(ct).length)):nt&&Mi&&Mi.lineWise&&Mi.text.join(`
`)==ct.join(`
`)&&(Vt=Yt=Ft(Vt.line,0)));var qt={from:Vt,to:Yt,text:ht?ht[Pt%ht.length]:ct,origin:Ee||(nt?"paste":y.state.cutIncoming>Ke?"cut":"+input")};Vo(y.doc,qt),ln(y,"inputRead",y,qt)}ie&&!nt&&Ul(y,ie),Uo(y),y.curOp.updateInput<2&&(y.curOp.updateInput=At),y.curOp.typing=!0,y.state.pasteIncoming=y.state.cutIncoming=-1}function Hl(y,ie){var me=y.clipboardData&&y.clipboardData.getData("Text");if(me)return y.preventDefault(),!ie.isReadOnly()&&!ie.options.disableInput&&oi(ie,function(){return ja(ie,me,0,null,"paste")}),!0}function Ul(y,ie){if(!(!y.options.electricChars||!y.options.smartIndent))for(var me=y.doc.sel,pe=me.ranges.length-1;pe>=0;pe--){var Ee=me.ranges[pe];if(!(Ee.head.ch>100||pe&&me.ranges[pe-1].head.line==Ee.head.line)){var Re=y.getModeAt(Ee.head),Ke=!1;if(Re.electricChars){for(var nt=0;nt<Re.electricChars.length;nt++)if(ie.indexOf(Re.electricChars.charAt(nt))>-1){Ke=js(y,Ee.head.line,"smart");break}}else Re.electricInput&&Re.electricInput.test(Et(y.doc,Ee.head.line).text.slice(0,Ee.head.ch))&&(Ke=js(y,Ee.head.line,"smart"));Ke&&ln(y,"electricInput",y,Ee.head.line)}}}function zl(y){for(var ie=[],me=[],pe=0;pe<y.doc.sel.ranges.length;pe++){var Ee=y.doc.sel.ranges[pe].head.line,Re={anchor:Ft(Ee,0),head:Ft(Ee+1,0)};me.push(Re),ie.push(y.getRange(Re.anchor,Re.head))}return{text:ie,ranges:me}}function Wl(y,ie,me,pe){y.setAttribute("autocorrect",me?"":"off"),y.setAttribute("autocapitalize",pe?"":"off"),y.setAttribute("spellcheck",!!ie)}function Gl(){var y=be("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),ie=be("div",[y],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return oe?y.style.width="1000px":y.setAttribute("wrap","off"),E&&(y.style.border="1px solid black"),Wl(y),ie}function ec(y){var ie=y.optionHandlers,me=y.helpers={};y.prototype={constructor:y,focus:function(){window.focus(),this.display.input.focus()},setOption:function(pe,Ee){var Re=this.options,Ke=Re[pe];Re[pe]==Ee&&pe!="mode"||(Re[pe]=Ee,ie.hasOwnProperty(pe)&&An(this,ie[pe])(this,Ee,Ke),Tt(this,"optionChange",this,pe))},getOption:function(pe){return this.options[pe]},getDoc:function(){return this.doc},addKeyMap:function(pe,Ee){this.state.keyMaps[Ee?"push":"unshift"](ta(pe))},removeKeyMap:function(pe){for(var Ee=this.state.keyMaps,Re=0;Re<Ee.length;++Re)if(Ee[Re]==pe||Ee[Re].name==pe)return Ee.splice(Re,1),!0},addOverlay:Wn(function(pe,Ee){var Re=pe.token?pe:y.getMode(this.options,pe);if(Re.startState)throw new Error("Overlays may not be stateful.");Ie(this.state.overlays,{mode:Re,modeSpec:pe,opaque:Ee&&Ee.opaque,priority:Ee&&Ee.priority||0},function(Ke){return Ke.priority}),this.state.modeGen++,Ot(this)}),removeOverlay:Wn(function(pe){for(var Ee=this.state.overlays,Re=0;Re<Ee.length;++Re){var Ke=Ee[Re].modeSpec;if(Ke==pe||typeof pe=="string"&&Ke.name==pe){Ee.splice(Re,1),this.state.modeGen++,Ot(this);return}}}),indentLine:Wn(function(pe,Ee,Re){typeof Ee!="string"&&typeof Ee!="number"&&(Ee==null?Ee=this.options.smartIndent?"smart":"prev":Ee=Ee?"add":"subtract"),Tr(this.doc,pe)&&js(this,pe,Ee,Re)}),indentSelection:Wn(function(pe){for(var Ee=this.doc.sel.ranges,Re=-1,Ke=0;Ke<Ee.length;Ke++){var nt=Ee[Ke];if(nt.empty())nt.head.line>Re&&(js(this,nt.head.line,pe,!0),Re=nt.head.line,Ke==this.doc.sel.primIndex&&Uo(this));else{var ct=nt.from(),ht=nt.to(),_t=Math.max(Re,ct.line);Re=Math.min(this.lastLine(),ht.line-(ht.ch?0:1))+1;for(var At=_t;At<Re;++At)js(this,At,pe);var Pt=this.doc.sel.ranges;ct.ch==0&&Ee.length==Pt.length&&Pt[Ke].from().ch>0&&Ca(this.doc,Ke,new Vr(ct,Pt[Ke].to()),Je)}}}),getTokenAt:function(pe,Ee){return Vn(this,pe,Ee)},getLineTokens:function(pe,Ee){return Vn(this,Ft(pe),Ee,!0)},getTokenTypeAt:function(pe){pe=rr(this.doc,pe);var Ee=$r(this,Et(this.doc,pe.line)),Re=0,Ke=(Ee.length-1)/2,nt=pe.ch,ct;if(nt==0)ct=Ee[2];else for(;;){var ht=Re+Ke>>1;if((ht?Ee[ht*2-1]:0)>=nt)Ke=ht;else if(Ee[ht*2+1]<nt)Re=ht+1;else{ct=Ee[ht*2+2];break}}var _t=ct?ct.indexOf("overlay "):-1;return _t<0?ct:_t==0?null:ct.slice(0,_t-1)},getModeAt:function(pe){var Ee=this.doc.mode;return Ee.innerMode?y.innerMode(Ee,this.getTokenAt(pe).state).mode:Ee},getHelper:function(pe,Ee){return this.getHelpers(pe,Ee)[0]},getHelpers:function(pe,Ee){var Re=[];if(!me.hasOwnProperty(Ee))return Re;var Ke=me[Ee],nt=this.getModeAt(pe);if(typeof nt[Ee]=="string")Ke[nt[Ee]]&&Re.push(Ke[nt[Ee]]);else if(nt[Ee])for(var ct=0;ct<nt[Ee].length;ct++){var ht=Ke[nt[Ee][ct]];ht&&Re.push(ht)}else nt.helperType&&Ke[nt.helperType]?Re.push(Ke[nt.helperType]):Ke[nt.name]&&Re.push(Ke[nt.name]);for(var _t=0;_t<Ke._global.length;_t++){var At=Ke._global[_t];At.pred(nt,this)&&it(Re,At.val)==-1&&Re.push(At.val)}return Re},getStateAfter:function(pe,Ee){var Re=this.doc;return pe=Dr(Re,pe==null?Re.first+Re.size-1:pe),en(this,pe+1,Ee).state},cursorCoords:function(pe,Ee){var Re,Ke=this.doc.sel.primary();return pe==null?Re=Ke.head:typeof pe=="object"?Re=rr(this.doc,pe):Re=pe?Ke.from():Ke.to(),jn(this,Re,Ee||"page")},charCoords:function(pe,Ee){return oo(this,rr(this.doc,pe),Ee||"page")},coordsChar:function(pe,Ee){return pe=Fs(this,pe,Ee||"page"),Io(this,pe.left,pe.top)},lineAtHeight:function(pe,Ee){return pe=Fs(this,{top:pe,left:0},Ee||"page").top,wr(this.doc,pe+this.display.viewOffset)},heightAtLine:function(pe,Ee,Re){var Ke=!1,nt;if(typeof pe=="number"){var ct=this.doc.first+this.doc.size-1;pe<this.doc.first?pe=this.doc.first:pe>ct&&(pe=ct,Ke=!0),nt=Et(this.doc,pe)}else nt=pe;return Gi(this,nt,{top:0,left:0},Ee||"page",Re||Ke).top+(Ke?this.doc.height-yr(nt):0)},defaultTextHeight:function(){return Ni(this.display)},defaultCharWidth:function(){return so(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(pe,Ee,Re,Ke,nt){var ct=this.display;pe=jn(this,rr(this.doc,pe));var ht=pe.bottom,_t=pe.left;if(Ee.style.position="absolute",Ee.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Ee),ct.sizer.appendChild(Ee),Ke=="over")ht=pe.top;else if(Ke=="above"||Ke=="near"){var At=Math.max(ct.wrapper.clientHeight,this.doc.height),Pt=Math.max(ct.sizer.clientWidth,ct.lineSpace.clientWidth);(Ke=="above"||pe.bottom+Ee.offsetHeight>At)&&pe.top>Ee.offsetHeight?ht=pe.top-Ee.offsetHeight:pe.bottom+Ee.offsetHeight<=At&&(ht=pe.bottom),_t+Ee.offsetWidth>Pt&&(_t=Pt-Ee.offsetWidth)}Ee.style.top=ht+"px",Ee.style.left=Ee.style.right="",nt=="right"?(_t=ct.sizer.clientWidth-Ee.offsetWidth,Ee.style.right="0px"):(nt=="left"?_t=0:nt=="middle"&&(_t=(ct.sizer.clientWidth-Ee.offsetWidth)/2),Ee.style.left=_t+"px"),Re&&ds(this,{left:_t,top:ht,right:_t+Ee.offsetWidth,bottom:ht+Ee.offsetHeight})},triggerOnKeyDown:Wn(Ol),triggerOnKeyPress:Wn(Ll),triggerOnKeyUp:jl,triggerOnMouseDown:Wn(Pl),execCommand:function(pe){if(ks.hasOwnProperty(pe))return ks[pe].call(null,this)},triggerElectric:Wn(function(pe){Ul(this,pe)}),findPosH:function(pe,Ee,Re,Ke){var nt=1;Ee<0&&(nt=-1,Ee=-Ee);for(var ct=rr(this.doc,pe),ht=0;ht<Ee&&(ct=La(this.doc,ct,nt,Re,Ke),!ct.hitSide);++ht);return ct},moveH:Wn(function(pe,Ee){var Re=this;this.extendSelectionsBy(function(Ke){return Re.display.shift||Re.doc.extend||Ke.empty()?La(Re.doc,Ke.head,pe,Ee,Re.options.rtlMoveVisually):pe<0?Ke.from():Ke.to()},Qe)}),deleteH:Wn(function(pe,Ee){var Re=this.doc.sel,Ke=this.doc;Re.somethingSelected()?Ke.replaceSelection("",null,"+delete"):Ko(this,function(nt){var ct=La(Ke,nt.head,pe,Ee,!1);return pe<0?{from:ct,to:nt.head}:{from:nt.head,to:ct}})}),findPosV:function(pe,Ee,Re,Ke){var nt=1,ct=Ke;Ee<0&&(nt=-1,Ee=-Ee);for(var ht=rr(this.doc,pe),_t=0;_t<Ee;++_t){var At=jn(this,ht,"div");if(ct==null?ct=At.left:At.left=ct,ht=Vl(this,At,nt,Re),ht.hitSide)break}return ht},moveV:Wn(function(pe,Ee){var Re=this,Ke=this.doc,nt=[],ct=!this.display.shift&&!Ke.extend&&Ke.sel.somethingSelected();if(Ke.extendSelectionsBy(function(_t){if(ct)return pe<0?_t.from():_t.to();var At=jn(Re,_t.head,"div");_t.goalColumn!=null&&(At.left=_t.goalColumn),nt.push(At.left);var Pt=Vl(Re,At,pe,Ee);return Ee=="page"&&_t==Ke.sel.primary()&&ha(Re,oo(Re,Pt,"div").top-At.top),Pt},Qe),nt.length)for(var ht=0;ht<Ke.sel.ranges.length;ht++)Ke.sel.ranges[ht].goalColumn=nt[ht]}),findWordAt:function(pe){var Ee=this.doc,Re=Et(Ee,pe.line).text,Ke=pe.ch,nt=pe.ch;if(Re){var ct=this.getHelper(pe,"wordChars");(pe.sticky=="before"||nt==Re.length)&&Ke?--Ke:++nt;for(var ht=Re.charAt(Ke),_t=gt(ht,ct)?function(At){return gt(At,ct)}:/\s/.test(ht)?function(At){return/\s/.test(At)}:function(At){return!/\s/.test(At)&&!gt(At)};Ke>0&&_t(Re.charAt(Ke-1));)--Ke;for(;nt<Re.length&&_t(Re.charAt(nt));)++nt}return new Vr(Ft(pe.line,Ke),Ft(pe.line,nt))},toggleOverwrite:function(pe){pe!=null&&pe==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Pe(this.display.cursorDiv,"CodeMirror-overwrite"):xe(this.display.cursorDiv,"CodeMirror-overwrite"),Tt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ke()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Wn(function(pe,Ee){hs(this,pe,Ee)}),getScrollInfo:function(){var pe=this.display.scroller;return{left:pe.scrollLeft,top:pe.scrollTop,height:pe.scrollHeight-wi(this)-this.display.barHeight,width:pe.scrollWidth-wi(this)-this.display.barWidth,clientHeight:po(this),clientWidth:di(this)}},scrollIntoView:Wn(function(pe,Ee){pe==null?(pe={from:this.doc.sel.primary().head,to:null},Ee==null&&(Ee=this.options.cursorScrollMargin)):typeof pe=="number"?pe={from:Ft(pe,0),to:null}:pe.from==null&&(pe={from:pe,to:null}),pe.to||(pe.to=pe.from),pe.margin=Ee||0,pe.from.line!=null?ql(this,pe):Ba(this,pe.from,pe.to,pe.margin)}),setSize:Wn(function(pe,Ee){var Re=this,Ke=function(ct){return typeof ct=="number"||/^\d+$/.test(String(ct))?ct+"px":ct};pe!=null&&(this.display.wrapper.style.width=Ke(pe)),Ee!=null&&(this.display.wrapper.style.height=Ke(Ee)),this.options.lineWrapping&&Ii(this);var nt=this.display.viewFrom;this.doc.iter(nt,this.display.viewTo,function(ct){if(ct.widgets){for(var ht=0;ht<ct.widgets.length;ht++)if(ct.widgets[ht].noHScroll){ar(Re,nt,"widget");break}}++nt}),this.curOp.forceUpdate=!0,Tt(this,"refresh",this)}),operation:function(pe){return oi(this,pe)},startOperation:function(){return So(this)},endOperation:function(){return _o(this)},refresh:Wn(function(){var pe=this.display.cachedTextHeight;Ot(this),this.curOp.forceUpdate=!0,Si(this),hs(this,this.doc.scrollLeft,this.doc.scrollTop),va(this.display),(pe==null||Math.abs(pe-Ni(this.display))>.5||this.options.lineWrapping)&&vo(this),Tt(this,"refresh",this)}),swapDoc:Wn(function(pe){var Ee=this.doc;return Ee.cm=null,this.state.selectingText&&this.state.selectingText(),Ja(this,pe),Si(this),this.display.input.reset(),hs(this,pe.scrollLeft,pe.scrollTop),this.curOp.forceScroll=!0,ln(this,"swapDoc",this,Ee),Ee}),phrase:function(pe){var Ee=this.options.phrases;return Ee&&Object.prototype.hasOwnProperty.call(Ee,pe)?Ee[pe]:pe},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Wt(y),y.registerHelper=function(pe,Ee,Re){me.hasOwnProperty(pe)||(me[pe]=y[pe]={_global:[]}),me[pe][Ee]=Re},y.registerGlobalHelper=function(pe,Ee,Re,Ke){y.registerHelper(pe,Ee,Ke),me[pe]._global.push({pred:Re,val:Ke})}}function La(y,ie,me,pe,Ee){var Re=ie,Ke=me,nt=Et(y,ie.line),ct=Ee&&y.direction=="rtl"?-me:me;function ht(){var ur=ie.line+ct;return ur<y.first||ur>=y.first+y.size?!1:(ie=new Ft(ur,ie.ch,ie.sticky),nt=Et(y,ur))}function _t(ur){var or;if(pe=="codepoint"){var mr=nt.text.charCodeAt(ie.ch+(pe>0?0:-1));isNaN(mr)?or=null:or=new Ft(ie.line,Math.max(0,Math.min(nt.text.length,ie.ch+me*(mr>=55296&&mr<56320?2:1))),-me)}else Ee?or=Ru(y.cm,nt,ie,me):or=Aa(nt,ie,me);if(or==null)if(!ur&&ht())ie=Ta(Ee,y.cm,nt,ie.line,ct);else return!1;else ie=or;return!0}if(pe=="char"||pe=="codepoint")_t();else if(pe=="column")_t(!0);else if(pe=="word"||pe=="group")for(var At=null,Pt=pe=="group",Lt=y.cm&&y.cm.getHelper(ie,"wordChars"),Vt=!0;!(me<0&&!_t(!Vt));Vt=!1){var Yt=nt.text.charAt(ie.ch)||`
`,qt=gt(Yt,Lt)?"w":Pt&&Yt==`
`?"n":!Pt||/\s/.test(Yt)?null:"p";if(Pt&&!Vt&&!qt&&(qt="s"),At&&At!=qt){me<0&&(me=1,_t(),ie.sticky="after");break}if(qt&&(At=qt),me>0&&!_t(!Vt))break}var ir=Js(y,ie,Re,Ke,!0);return kr(Re,ir)&&(ir.hitSide=!0),ir}function Vl(y,ie,me,pe){var Ee=y.doc,Re=ie.left,Ke;if(pe=="page"){var nt=Math.min(y.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ct=Math.max(nt-.5*Ni(y.display),3);Ke=(me>0?ie.bottom:ie.top)+me*ct}else pe=="line"&&(Ke=me>0?ie.bottom+3:ie.top-3);for(var ht;ht=Io(y,Re,Ke),!!ht.outside;){if(me<0?Ke<=0:Ke>=Ee.height){ht.hitSide=!0;break}Ke+=me*5}return ht}var qr=function(y){this.cm=y,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new We,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};qr.prototype.init=function(y){var ie=this,me=this,pe=me.cm,Ee=me.div=y.lineDiv;Wl(Ee,pe.options.spellcheck,pe.options.autocorrect,pe.options.autocapitalize);function Re(nt){for(var ct=nt.target;ct;ct=ct.parentNode){if(ct==Ee)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ct.className))break}return!1}yt(Ee,"paste",function(nt){!Re(nt)||wt(pe,nt)||Hl(nt,pe)||ee<=11&&setTimeout(An(pe,function(){return ie.updateFromDOM()}),20)}),yt(Ee,"compositionstart",function(nt){ie.composing={data:nt.data,done:!1}}),yt(Ee,"compositionupdate",function(nt){ie.composing||(ie.composing={data:nt.data,done:!1})}),yt(Ee,"compositionend",function(nt){ie.composing&&(nt.data!=ie.composing.data&&ie.readFromDOMSoon(),ie.composing.done=!0)}),yt(Ee,"touchstart",function(){return me.forceCompositionEnd()}),yt(Ee,"input",function(){ie.composing||ie.readFromDOMSoon()});function Ke(nt){if(!(!Re(nt)||wt(pe,nt))){if(pe.somethingSelected())ia({lineWise:!1,text:pe.getSelections()}),nt.type=="cut"&&pe.replaceSelection("",null,"cut");else if(pe.options.lineWiseCopyCut){var ct=zl(pe);ia({lineWise:!0,text:ct.text}),nt.type=="cut"&&pe.operation(function(){pe.setSelections(ct.ranges,0,Je),pe.replaceSelection("",null,"cut")})}else return;if(nt.clipboardData){nt.clipboardData.clearData();var ht=Mi.text.join(`
`);if(nt.clipboardData.setData("Text",ht),nt.clipboardData.getData("Text")==ht){nt.preventDefault();return}}var _t=Gl(),At=_t.firstChild;pe.display.lineSpace.insertBefore(_t,pe.display.lineSpace.firstChild),At.value=Mi.text.join(`
`);var Pt=document.activeElement;He(At),setTimeout(function(){pe.display.lineSpace.removeChild(_t),Pt.focus(),Pt==Ee&&me.showPrimarySelection()},50)}}yt(Ee,"copy",Ke),yt(Ee,"cut",Ke)},qr.prototype.screenReaderLabelChanged=function(y){y?this.div.setAttribute("aria-label",y):this.div.removeAttribute("aria-label")},qr.prototype.prepareSelection=function(){var y=Cn(this.cm,!1);return y.focus=document.activeElement==this.div,y},qr.prototype.showSelection=function(y,ie){!y||!this.cm.display.view.length||((y.focus||ie)&&this.showPrimarySelection(),this.showMultipleSelections(y))},qr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},qr.prototype.showPrimarySelection=function(){var y=this.getSelection(),ie=this.cm,me=ie.doc.sel.primary(),pe=me.from(),Ee=me.to();if(ie.display.viewTo==ie.display.viewFrom||pe.line>=ie.display.viewTo||Ee.line<ie.display.viewFrom){y.removeAllRanges();return}var Re=oa(ie,y.anchorNode,y.anchorOffset),Ke=oa(ie,y.focusNode,y.focusOffset);if(!(Re&&!Re.bad&&Ke&&!Ke.bad&&nr(gr(Re,Ke),pe)==0&&nr(Pr(Re,Ke),Ee)==0)){var nt=ie.display.view,ct=pe.line>=ie.display.viewFrom&&Zl(ie,pe)||{node:nt[0].measure.map[2],offset:0},ht=Ee.line<ie.display.viewTo&&Zl(ie,Ee);if(!ht){var _t=nt[nt.length-1].measure,At=_t.maps?_t.maps[_t.maps.length-1]:_t.map;ht={node:At[At.length-1],offset:At[At.length-2]-At[At.length-3]}}if(!ct||!ht){y.removeAllRanges();return}var Pt=y.rangeCount&&y.getRangeAt(0),Lt;try{Lt=Te(ct.node,ct.offset,ht.offset,ht.node)}catch(Vt){}Lt&&(!ye&&ie.state.focused?(y.collapse(ct.node,ct.offset),Lt.collapsed||(y.removeAllRanges(),y.addRange(Lt))):(y.removeAllRanges(),y.addRange(Lt)),Pt&&y.anchorNode==null?y.addRange(Pt):ye&&this.startGracePeriod()),this.rememberSelection()}},qr.prototype.startGracePeriod=function(){var y=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){y.gracePeriod=!1,y.selectionChanged()&&y.cm.operation(function(){return y.cm.curOp.selectionChanged=!0})},20)},qr.prototype.showMultipleSelections=function(y){Se(this.cm.display.cursorDiv,y.cursors),Se(this.cm.display.selectionDiv,y.selection)},qr.prototype.rememberSelection=function(){var y=this.getSelection();this.lastAnchorNode=y.anchorNode,this.lastAnchorOffset=y.anchorOffset,this.lastFocusNode=y.focusNode,this.lastFocusOffset=y.focusOffset},qr.prototype.selectionInEditor=function(){var y=this.getSelection();if(!y.rangeCount)return!1;var ie=y.getRangeAt(0).commonAncestorContainer;return je(this.div,ie)},qr.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},qr.prototype.blur=function(){this.div.blur()},qr.prototype.getField=function(){return this.div},qr.prototype.supportsTouch=function(){return!0},qr.prototype.receivedFocus=function(){var y=this;this.selectionInEditor()?this.pollSelection():oi(this.cm,function(){return y.cm.curOp.selectionChanged=!0});function ie(){y.cm.state.focused&&(y.pollSelection(),y.polling.set(y.cm.options.pollInterval,ie))}this.polling.set(this.cm.options.pollInterval,ie)},qr.prototype.selectionChanged=function(){var y=this.getSelection();return y.anchorNode!=this.lastAnchorNode||y.anchorOffset!=this.lastAnchorOffset||y.focusNode!=this.lastFocusNode||y.focusOffset!=this.lastFocusOffset},qr.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var y=this.getSelection(),ie=this.cm;if(re&&te&&this.cm.display.gutterSpecs.length&&tc(y.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var me=oa(ie,y.anchorNode,y.anchorOffset),pe=oa(ie,y.focusNode,y.focusOffset);me&&pe&&oi(ie,function(){In(ie.doc,ao(me,pe),Je),(me.bad||pe.bad)&&(ie.curOp.selectionChanged=!0)})}}},qr.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var y=this.cm,ie=y.display,me=y.doc.sel.primary(),pe=me.from(),Ee=me.to();if(pe.ch==0&&pe.line>y.firstLine()&&(pe=Ft(pe.line-1,Et(y.doc,pe.line-1).length)),Ee.ch==Et(y.doc,Ee.line).text.length&&Ee.line<y.lastLine()&&(Ee=Ft(Ee.line+1,0)),pe.line<ie.viewFrom||Ee.line>ie.viewTo-1)return!1;var Re,Ke,nt;pe.line==ie.viewFrom||(Re=hi(y,pe.line))==0?(Ke=er(ie.view[0].line),nt=ie.view[0].node):(Ke=er(ie.view[Re].line),nt=ie.view[Re-1].node.nextSibling);var ct=hi(y,Ee.line),ht,_t;if(ct==ie.view.length-1?(ht=ie.viewTo-1,_t=ie.lineDiv.lastChild):(ht=er(ie.view[ct+1].line)-1,_t=ie.view[ct+1].node.previousSibling),!nt)return!1;for(var At=y.doc.splitLines(rc(y,nt,_t,Ke,ht)),Pt=zt(y.doc,Ft(Ke,0),Ft(ht,Et(y.doc,ht).text.length));At.length>1&&Pt.length>1;)if(ft(At)==ft(Pt))At.pop(),Pt.pop(),ht--;else if(At[0]==Pt[0])At.shift(),Pt.shift(),Ke++;else break;for(var Lt=0,Vt=0,Yt=At[0],qt=Pt[0],ir=Math.min(Yt.length,qt.length);Lt<ir&&Yt.charCodeAt(Lt)==qt.charCodeAt(Lt);)++Lt;for(var ur=ft(At),or=ft(Pt),mr=Math.min(ur.length-(At.length==1?Lt:0),or.length-(Pt.length==1?Lt:0));Vt<mr&&ur.charCodeAt(ur.length-Vt-1)==or.charCodeAt(or.length-Vt-1);)++Vt;if(At.length==1&&Pt.length==1&&Ke==pe.line)for(;Lt&&Lt>pe.ch&&ur.charCodeAt(ur.length-Vt-1)==or.charCodeAt(or.length-Vt-1);)Lt--,Vt++;At[At.length-1]=ur.slice(0,ur.length-Vt).replace(/^\u200b+/,""),At[0]=At[0].slice(Lt).replace(/\u200b+$/,"");var _r=Ft(Ke,Lt),xr=Ft(ht,Pt.length?ft(Pt).length-Vt:0);if(At.length>1||At[0]||nr(_r,xr))return Zo(y.doc,At,_r,xr,"+input"),!0},qr.prototype.ensurePolled=function(){this.forceCompositionEnd()},qr.prototype.reset=function(){this.forceCompositionEnd()},qr.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},qr.prototype.readFromDOMSoon=function(){var y=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(y.readDOMTimeout=null,y.composing)if(y.composing.done)y.composing=null;else return;y.updateFromDOM()},80))},qr.prototype.updateFromDOM=function(){var y=this;(this.cm.isReadOnly()||!this.pollContent())&&oi(this.cm,function(){return Ot(y.cm)})},qr.prototype.setUneditable=function(y){y.contentEditable="false"},qr.prototype.onKeyPress=function(y){y.charCode==0||this.composing||(y.preventDefault(),this.cm.isReadOnly()||An(this.cm,ja)(this.cm,String.fromCharCode(y.charCode==null?y.keyCode:y.charCode),0))},qr.prototype.readOnlyChanged=function(y){this.div.contentEditable=String(y!="nocursor")},qr.prototype.onContextMenu=function(){},qr.prototype.resetPosition=function(){},qr.prototype.needsContentAttribute=!0;function Zl(y,ie){var me=as(y,ie.line);if(!me||me.hidden)return null;var pe=Et(y.doc,ie.line),Ee=Oo(me,pe,ie.line),Re=lt(pe,y.doc.direction),Ke="left";if(Re){var nt=De(Re,ie.ch);Ke=nt%2?"right":"left"}var ct=Is(Ee.map,ie.ch,Ke);return ct.offset=ct.collapse=="right"?ct.end:ct.start,ct}function tc(y){for(var ie=y;ie;ie=ie.parentNode)if(/CodeMirror-gutter-wrapper/.test(ie.className))return!0;return!1}function Jo(y,ie){return ie&&(y.bad=!0),y}function rc(y,ie,me,pe,Ee){var Re="",Ke=!1,nt=y.doc.lineSeparator(),ct=!1;function ht(Lt){return function(Vt){return Vt.id==Lt}}function _t(){Ke&&(Re+=nt,ct&&(Re+=nt),Ke=ct=!1)}function At(Lt){Lt&&(_t(),Re+=Lt)}function Pt(Lt){if(Lt.nodeType==1){var Vt=Lt.getAttribute("cm-text");if(Vt){At(Vt);return}var Yt=Lt.getAttribute("cm-marker"),qt;if(Yt){var ir=y.findMarks(Ft(pe,0),Ft(Ee+1,0),ht(+Yt));ir.length&&(qt=ir[0].find(0))&&At(zt(y.doc,qt.from,qt.to).join(nt));return}if(Lt.getAttribute("contenteditable")=="false")return;var ur=/^(pre|div|p|li|table|br)$/i.test(Lt.nodeName);if(!/^br$/i.test(Lt.nodeName)&&Lt.textContent.length==0)return;ur&&_t();for(var or=0;or<Lt.childNodes.length;or++)Pt(Lt.childNodes[or]);/^(pre|p)$/i.test(Lt.nodeName)&&(ct=!0),ur&&(Ke=!0)}else Lt.nodeType==3&&At(Lt.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Pt(ie),ie!=me;)ie=ie.nextSibling,ct=!1;return Re}function oa(y,ie,me){var pe;if(ie==y.display.lineDiv){if(pe=y.display.lineDiv.childNodes[me],!pe)return Jo(y.clipPos(Ft(y.display.viewTo-1)),!0);ie=null,me=0}else for(pe=ie;;pe=pe.parentNode){if(!pe||pe==y.display.lineDiv)return null;if(pe.parentNode&&pe.parentNode==y.display.lineDiv)break}for(var Ee=0;Ee<y.display.view.length;Ee++){var Re=y.display.view[Ee];if(Re.node==pe)return nc(Re,ie,me)}}function nc(y,ie,me){var pe=y.text.firstChild,Ee=!1;if(!ie||!je(pe,ie))return Jo(Ft(er(y.line),0),!0);if(ie==pe&&(Ee=!0,ie=pe.childNodes[me],me=0,!ie)){var Re=y.rest?ft(y.rest):y.line;return Jo(Ft(er(Re),Re.text.length),Ee)}var Ke=ie.nodeType==3?ie:null,nt=ie;for(!Ke&&ie.childNodes.length==1&&ie.firstChild.nodeType==3&&(Ke=ie.firstChild,me&&(me=Ke.nodeValue.length));nt.parentNode!=pe;)nt=nt.parentNode;var ct=y.measure,ht=ct.maps;function _t(qt,ir,ur){for(var or=-1;or<(ht?ht.length:0);or++)for(var mr=or<0?ct.map:ht[or],_r=0;_r<mr.length;_r+=3){var xr=mr[_r+2];if(xr==qt||xr==ir){var Lr=er(or<0?y.line:y.rest[or]),nn=mr[_r]+ur;return(ur<0||xr!=qt)&&(nn=mr[_r+(ur?1:0)]),Ft(Lr,nn)}}}var At=_t(Ke,nt,me);if(At)return Jo(At,Ee);for(var Pt=nt.nextSibling,Lt=Ke?Ke.nodeValue.length-me:0;Pt;Pt=Pt.nextSibling){if(At=_t(Pt,Pt.firstChild,0),At)return Jo(Ft(At.line,At.ch-Lt),Ee);Lt+=Pt.textContent.length}for(var Vt=nt.previousSibling,Yt=me;Vt;Vt=Vt.previousSibling){if(At=_t(Vt,Vt.firstChild,-1),At)return Jo(Ft(At.line,At.ch+Yt),Ee);Yt+=Vt.textContent.length}}var yn=function(y){this.cm=y,this.prevInput="",this.pollingFast=!1,this.polling=new We,this.hasSelection=!1,this.composing=null};yn.prototype.init=function(y){var ie=this,me=this,pe=this.cm;this.createField(y);var Ee=this.textarea;y.wrapper.insertBefore(this.wrapper,y.wrapper.firstChild),E&&(Ee.style.width="0px"),yt(Ee,"input",function(){de&&ee>=9&&ie.hasSelection&&(ie.hasSelection=null),me.poll()}),yt(Ee,"paste",function(Ke){wt(pe,Ke)||Hl(Ke,pe)||(pe.state.pasteIncoming=+new Date,me.fastPoll())});function Re(Ke){if(!wt(pe,Ke)){if(pe.somethingSelected())ia({lineWise:!1,text:pe.getSelections()});else if(pe.options.lineWiseCopyCut){var nt=zl(pe);ia({lineWise:!0,text:nt.text}),Ke.type=="cut"?pe.setSelections(nt.ranges,null,Je):(me.prevInput="",Ee.value=nt.text.join(`
`),He(Ee))}else return;Ke.type=="cut"&&(pe.state.cutIncoming=+new Date)}}yt(Ee,"cut",Re),yt(Ee,"copy",Re),yt(y.scroller,"paste",function(Ke){if(!(Ri(y,Ke)||wt(pe,Ke))){if(!Ee.dispatchEvent){pe.state.pasteIncoming=+new Date,me.focus();return}var nt=new Event("paste");nt.clipboardData=Ke.clipboardData,Ee.dispatchEvent(nt)}}),yt(y.lineSpace,"selectstart",function(Ke){Ri(y,Ke)||Qt(Ke)}),yt(Ee,"compositionstart",function(){var Ke=pe.getCursor("from");me.composing&&me.composing.range.clear(),me.composing={start:Ke,range:pe.markText(Ke,pe.getCursor("to"),{className:"CodeMirror-composing"})}}),yt(Ee,"compositionend",function(){me.composing&&(me.poll(),me.composing.range.clear(),me.composing=null)})},yn.prototype.createField=function(y){this.wrapper=Gl(),this.textarea=this.wrapper.firstChild},yn.prototype.screenReaderLabelChanged=function(y){y?this.textarea.setAttribute("aria-label",y):this.textarea.removeAttribute("aria-label")},yn.prototype.prepareSelection=function(){var y=this.cm,ie=y.display,me=y.doc,pe=Cn(y);if(y.options.moveInputWithCursor){var Ee=jn(y,me.sel.primary().head,"div"),Re=ie.wrapper.getBoundingClientRect(),Ke=ie.lineDiv.getBoundingClientRect();pe.teTop=Math.max(0,Math.min(ie.wrapper.clientHeight-10,Ee.top+Ke.top-Re.top)),pe.teLeft=Math.max(0,Math.min(ie.wrapper.clientWidth-10,Ee.left+Ke.left-Re.left))}return pe},yn.prototype.showSelection=function(y){var ie=this.cm,me=ie.display;Se(me.cursorDiv,y.cursors),Se(me.selectionDiv,y.selection),y.teTop!=null&&(this.wrapper.style.top=y.teTop+"px",this.wrapper.style.left=y.teLeft+"px")},yn.prototype.reset=function(y){if(!(this.contextMenuPending||this.composing)){var ie=this.cm;if(ie.somethingSelected()){this.prevInput="";var me=ie.getSelection();this.textarea.value=me,ie.state.focused&&He(this.textarea),de&&ee>=9&&(this.hasSelection=me)}else y||(this.prevInput=this.textarea.value="",de&&ee>=9&&(this.hasSelection=null))}},yn.prototype.getField=function(){return this.textarea},yn.prototype.supportsTouch=function(){return!1},yn.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ae||ke()!=this.textarea))try{this.textarea.focus()}catch(y){}},yn.prototype.blur=function(){this.textarea.blur()},yn.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},yn.prototype.receivedFocus=function(){this.slowPoll()},yn.prototype.slowPoll=function(){var y=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){y.poll(),y.cm.state.focused&&y.slowPoll()})},yn.prototype.fastPoll=function(){var y=!1,ie=this;ie.pollingFast=!0;function me(){var pe=ie.poll();!pe&&!y?(y=!0,ie.polling.set(60,me)):(ie.pollingFast=!1,ie.slowPoll())}ie.polling.set(20,me)},yn.prototype.poll=function(){var y=this,ie=this.cm,me=this.textarea,pe=this.prevInput;if(this.contextMenuPending||!ie.state.focused||ai(me)&&!pe&&!this.composing||ie.isReadOnly()||ie.options.disableInput||ie.state.keySeq)return!1;var Ee=me.value;if(Ee==pe&&!ie.somethingSelected())return!1;if(de&&ee>=9&&this.hasSelection===Ee||le&&/[\uf700-\uf7ff]/.test(Ee))return ie.display.input.reset(),!1;if(ie.doc.sel==ie.display.selForContextMenu){var Re=Ee.charCodeAt(0);if(Re==8203&&!pe&&(pe="\u200B"),Re==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ke=0,nt=Math.min(pe.length,Ee.length);Ke<nt&&pe.charCodeAt(Ke)==Ee.charCodeAt(Ke);)++Ke;return oi(ie,function(){ja(ie,Ee.slice(Ke),pe.length-Ke,null,y.composing?"*compose":null),Ee.length>1e3||Ee.indexOf(`
`)>-1?me.value=y.prevInput="":y.prevInput=Ee,y.composing&&(y.composing.range.clear(),y.composing.range=ie.markText(y.composing.start,ie.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},yn.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},yn.prototype.onKeyPress=function(){de&&ee>=9&&(this.hasSelection=null),this.fastPoll()},yn.prototype.onContextMenu=function(y){var ie=this,me=ie.cm,pe=me.display,Ee=ie.textarea;ie.contextMenuPending&&ie.contextMenuPending();var Re=Vi(me,y),Ke=pe.scroller.scrollTop;if(!Re||se)return;var nt=me.options.resetSelectionOnContextMenu;nt&&me.doc.sel.contains(Re)==-1&&An(me,In)(me.doc,ao(Re),Je);var ct=Ee.style.cssText,ht=ie.wrapper.style.cssText,_t=ie.wrapper.offsetParent.getBoundingClientRect();ie.wrapper.style.cssText="position: static",Ee.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(y.clientY-_t.top-5)+"px; left: "+(y.clientX-_t.left-5)+`px;
z-index: 1000; background: `+(de?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var At;oe&&(At=window.scrollY),pe.input.focus(),oe&&window.scrollTo(null,At),pe.input.reset(),me.somethingSelected()||(Ee.value=ie.prevInput=" "),ie.contextMenuPending=Lt,pe.selForContextMenu=me.doc.sel,clearTimeout(pe.detectingSelectAll);function Pt(){if(Ee.selectionStart!=null){var Yt=me.somethingSelected(),qt="\u200B"+(Yt?Ee.value:"");Ee.value="\u21DA",Ee.value=qt,ie.prevInput=Yt?"":"\u200B",Ee.selectionStart=1,Ee.selectionEnd=qt.length,pe.selForContextMenu=me.doc.sel}}function Lt(){if(ie.contextMenuPending==Lt&&(ie.contextMenuPending=!1,ie.wrapper.style.cssText=ht,Ee.style.cssText=ct,de&&ee<9&&pe.scrollbars.setScrollTop(pe.scroller.scrollTop=Ke),Ee.selectionStart!=null)){(!de||de&&ee<9)&&Pt();var Yt=0,qt=function(){pe.selForContextMenu==me.doc.sel&&Ee.selectionStart==0&&Ee.selectionEnd>0&&ie.prevInput=="\u200B"?An(me,cl)(me):Yt++<10?pe.detectingSelectAll=setTimeout(qt,500):(pe.selForContextMenu=null,pe.input.reset())};pe.detectingSelectAll=setTimeout(qt,200)}}if(de&&ee>=9&&Pt(),_e){Or(y);var Vt=function(){jt(window,"mouseup",Vt),setTimeout(Lt,20)};yt(window,"mouseup",Vt)}else setTimeout(Lt,50)},yn.prototype.readOnlyChanged=function(y){y||this.reset(),this.textarea.disabled=y=="nocursor",this.textarea.readOnly=!!y},yn.prototype.setUneditable=function(){},yn.prototype.needsContentAttribute=!1;function ic(y,ie){if(ie=ie?tt(ie):{},ie.value=y.value,!ie.tabindex&&y.tabIndex&&(ie.tabindex=y.tabIndex),!ie.placeholder&&y.placeholder&&(ie.placeholder=y.placeholder),ie.autofocus==null){var me=ke();ie.autofocus=me==y||y.getAttribute("autofocus")!=null&&me==document.body}function pe(){y.value=nt.getValue()}var Ee;if(y.form&&(yt(y.form,"submit",pe),!ie.leaveSubmitMethodAlone)){var Re=y.form;Ee=Re.submit;try{var Ke=Re.submit=function(){pe(),Re.submit=Ee,Re.submit(),Re.submit=Ke}}catch(ct){}}ie.finishInit=function(ct){ct.save=pe,ct.getTextArea=function(){return y},ct.toTextArea=function(){ct.toTextArea=isNaN,pe(),y.parentNode.removeChild(ct.getWrapperElement()),y.style.display="",y.form&&(jt(y.form,"submit",pe),!ie.leaveSubmitMethodAlone&&typeof y.form.submit=="function"&&(y.form.submit=Ee))}},y.style.display="none";var nt=fn(function(ct){return y.parentNode.insertBefore(ct,y.nextSibling)},ie);return nt}function oc(y){y.off=jt,y.on=yt,y.wheelEventPixels=du,y.Doc=Kn,y.splitLines=Nn,y.countColumn=Me,y.findColumn=st,y.isWordChar=vt,y.Pass=$e,y.signal=Tt,y.Line=Xr,y.changeEnd=lo,y.scrollbarModel=Ha,y.Pos=Ft,y.cmpPos=nr,y.modes=$t,y.mimeModes=Gt,y.resolveMode=pr,y.getMode=Dt,y.modeExtensions=Mt,y.extendMode=St,y.copyState=Ct,y.startState=Nt,y.innerMode=Rt,y.commands=ks,y.keyMap=Ki,y.keyName=Al,y.isModifierKey=Cl,y.lookupKey=Yo,y.normalizeKeyMap=Pu,y.StringStream=kt,y.SharedTextMarker=Es,y.TextMarker=co,y.LineWidget=Cs,y.e_preventDefault=Qt,y.e_stopPropagation=dr,y.e_stop=Or,y.addClass=Pe,y.contains=je,y.rmClass=xe,y.keyNames=fo}Qu(fn),ec(fn);var sc="iter insert remove copy getEditor constructor".split(" ");for(var sa in Kn.prototype)Kn.prototype.hasOwnProperty(sa)&&it(sc,sa)<0&&(fn.prototype[sa]=function(y){return function(){return y.apply(this.doc,arguments)}}(Kn.prototype[sa]));return Wt(Kn),fn.inputStyles={textarea:yn,contenteditable:qr},fn.defineMode=function(y){!fn.defaults.mode&&y!="null"&&(fn.defaults.mode=y),Xt.apply(this,arguments)},fn.defineMIME=tr,fn.defineMode("null",function(){return{token:function(y){return y.skipToEnd()}}}),fn.defineMIME("text/plain","null"),fn.defineExtension=function(y,ie){fn.prototype[y]=ie},fn.defineDocExtension=function(y,ie){Kn.prototype[y]=ie},fn.fromTextArea=ic,oc(fn),fn.version="5.58.2",fn})},25419:function(bt,mt,Ce){(function(ye){ye(Ce(89780),Ce(15525),Ce(98101))})(function(ye){"use strict";ye.defineMode("markdown",function(ze,a){var he=ye.getMode(ze,"text/html"),de=he.name=="null";function ee(Me){if(ye.findModeByName){var We=ye.findModeByName(Me);We&&(Me=We.mime||We.mimes[0])}var it=ye.getMode(ze,Me);return it.name=="null"?null:it}a.highlightFormatting===void 0&&(a.highlightFormatting=!1),a.maxBlockquoteDepth===void 0&&(a.maxBlockquoteDepth=0),a.taskLists===void 0&&(a.taskLists=!1),a.strikethrough===void 0&&(a.strikethrough=!1),a.emoji===void 0&&(a.emoji=!1),a.fencedCodeBlockHighlighting===void 0&&(a.fencedCodeBlockHighlighting=!0),a.fencedCodeBlockDefaultMode===void 0&&(a.fencedCodeBlockDefaultMode="text/plain"),a.xml===void 0&&(a.xml=!0),a.tokenTypeOverrides===void 0&&(a.tokenTypeOverrides={});var oe={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var ne in oe)oe.hasOwnProperty(ne)&&a.tokenTypeOverrides[ne]&&(oe[ne]=a.tokenTypeOverrides[ne]);var te=/^([*\-_])(?:\s*\1){2,}\s*$/,se=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,z=/^\[(x| )\](?=\s)/i,x=a.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,b=/^ {0,3}(?:\={1,}|-{2,})\s*$/,E=/^[^#!\[\]*_\\<>` "'(~:]+/,re=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ae=/^\s*\[[^\]]+?\]:.*$/,le=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,fe=" ";function ce(Me,We,it){return We.f=We.inline=it,it(Me,We)}function ue(Me,We,it){return We.f=We.block=it,it(Me,We)}function ge(Me){return!Me||!/\S/.test(Me.string)}function _e(Me){if(Me.linkTitle=!1,Me.linkHref=!1,Me.linkText=!1,Me.em=!1,Me.strong=!1,Me.strikethrough=!1,Me.quote=0,Me.indentedCode=!1,Me.f==xe){var We=de;if(!We){var it=ye.innerMode(he,Me.htmlState);We=it.mode.name=="xml"&&it.state.tagStart===null&&!it.state.context&&it.state.tokenize.isInText}We&&(Me.f=Ae,Me.block=we,Me.htmlState=null)}return Me.trailingSpace=0,Me.trailingSpaceNewLine=!1,Me.prevLine=Me.thisLine,Me.thisLine={stream:null},null}function we(Me,We){var it=Me.column()===We.indentation,ut=ge(We.prevLine.stream),$e=We.indentedCode,Je=We.prevLine.hr,Xe=We.list!==!1,Qe=(We.listStack[We.listStack.length-1]||0)+3;We.indentedCode=!1;var st=We.indentation;if(We.indentationDiff===null&&(We.indentationDiff=We.indentation,Xe)){for(We.list=null;st<We.listStack[We.listStack.length-1];)We.listStack.pop(),We.listStack.length?We.indentation=We.listStack[We.listStack.length-1]:We.list=!1;We.list!==!1&&(We.indentationDiff=st-We.listStack[We.listStack.length-1])}var rt=!ut&&!Je&&!We.prevLine.header&&(!Xe||!$e)&&!We.prevLine.fencedCodeEnd,pt=(We.list===!1||Je||ut)&&We.indentation<=Qe&&Me.match(te),ft=null;if(We.indentationDiff>=4&&($e||We.prevLine.fencedCodeEnd||We.prevLine.header||ut))return Me.skipToEnd(),We.indentedCode=!0,oe.code;if(Me.eatSpace())return null;if(it&&We.indentation<=Qe&&(ft=Me.match(x))&&ft[1].length<=6)return We.quote=0,We.header=ft[1].length,We.thisLine.header=!0,a.highlightFormatting&&(We.formatting="header"),We.f=We.inline,Se(We);if(We.indentation<=Qe&&Me.eat(">"))return We.quote=it?1:We.quote+1,a.highlightFormatting&&(We.formatting="quote"),Me.eatSpace(),Se(We);if(!pt&&!We.setext&&it&&We.indentation<=Qe&&(ft=Me.match(se))){var qe=ft[1]?"ol":"ul";return We.indentation=st+Me.current().length,We.list=!0,We.quote=0,We.listStack.push(We.indentation),We.em=!1,We.strong=!1,We.code=!1,We.strikethrough=!1,a.taskLists&&Me.match(z,!1)&&(We.taskList=!0),We.f=We.inline,a.highlightFormatting&&(We.formatting=["list","list-"+qe]),Se(We)}else{if(it&&We.indentation<=Qe&&(ft=Me.match(re,!0)))return We.quote=0,We.fencedEndRE=new RegExp(ft[1]+"+ *$"),We.localMode=a.fencedCodeBlockHighlighting&&ee(ft[2]||a.fencedCodeBlockDefaultMode),We.localMode&&(We.localState=ye.startState(We.localMode)),We.f=We.block=ve,a.highlightFormatting&&(We.formatting="code-block"),We.code=-1,Se(We);if(We.setext||(!rt||!Xe)&&!We.quote&&We.list===!1&&!We.code&&!pt&&!ae.test(Me.string)&&(ft=Me.lookAhead(1))&&(ft=ft.match(b)))return We.setext?(We.header=We.setext,We.setext=0,Me.skipToEnd(),a.highlightFormatting&&(We.formatting="header")):(We.header=ft[0].charAt(0)=="="?1:2,We.setext=We.header),We.thisLine.header=!0,We.f=We.inline,Se(We);if(pt)return Me.skipToEnd(),We.hr=!0,We.thisLine.hr=!0,oe.hr;if(Me.peek()==="[")return ce(Me,We,Oe)}return ce(Me,We,We.inline)}function xe(Me,We){var it=he.token(Me,We.htmlState);if(!de){var ut=ye.innerMode(he,We.htmlState);(ut.mode.name=="xml"&&ut.state.tagStart===null&&!ut.state.context&&ut.state.tokenize.isInText||We.md_inside&&Me.current().indexOf(">")>-1)&&(We.f=Ae,We.block=we,We.htmlState=null)}return it}function ve(Me,We){var it=We.listStack[We.listStack.length-1]||0,ut=We.indentation<it,$e=it+3;if(We.fencedEndRE&&We.indentation<=$e&&(ut||Me.match(We.fencedEndRE))){a.highlightFormatting&&(We.formatting="code-block");var Je;return ut||(Je=Se(We)),We.localMode=We.localState=null,We.block=we,We.f=Ae,We.fencedEndRE=null,We.code=0,We.thisLine.fencedCodeEnd=!0,ut?ue(Me,We,We.block):Je}else return We.localMode?We.localMode.token(Me,We.localState):(Me.skipToEnd(),oe.code)}function Se(Me){var We=[];if(Me.formatting){We.push(oe.formatting),typeof Me.formatting=="string"&&(Me.formatting=[Me.formatting]);for(var it=0;it<Me.formatting.length;it++)We.push(oe.formatting+"-"+Me.formatting[it]),Me.formatting[it]==="header"&&We.push(oe.formatting+"-"+Me.formatting[it]+"-"+Me.header),Me.formatting[it]==="quote"&&(!a.maxBlockquoteDepth||a.maxBlockquoteDepth>=Me.quote?We.push(oe.formatting+"-"+Me.formatting[it]+"-"+Me.quote):We.push("error"))}if(Me.taskOpen)return We.push("meta"),We.length?We.join(" "):null;if(Me.taskClosed)return We.push("property"),We.length?We.join(" "):null;if(Me.linkHref?We.push(oe.linkHref,"url"):(Me.strong&&We.push(oe.strong),Me.em&&We.push(oe.em),Me.strikethrough&&We.push(oe.strikethrough),Me.emoji&&We.push(oe.emoji),Me.linkText&&We.push(oe.linkText),Me.code&&We.push(oe.code),Me.image&&We.push(oe.image),Me.imageAltText&&We.push(oe.imageAltText,"link"),Me.imageMarker&&We.push(oe.imageMarker)),Me.header&&We.push(oe.header,oe.header+"-"+Me.header),Me.quote&&(We.push(oe.quote),!a.maxBlockquoteDepth||a.maxBlockquoteDepth>=Me.quote?We.push(oe.quote+"-"+Me.quote):We.push(oe.quote+"-"+a.maxBlockquoteDepth)),Me.list!==!1){var ut=(Me.listStack.length-1)%3;ut?ut===1?We.push(oe.list2):We.push(oe.list3):We.push(oe.list1)}return Me.trailingSpaceNewLine?We.push("trailing-space-new-line"):Me.trailingSpace&&We.push("trailing-space-"+(Me.trailingSpace%2?"a":"b")),We.length?We.join(" "):null}function be(Me,We){if(Me.match(E,!0))return Se(We)}function Ae(Me,We){var it=We.text(Me,We);if(typeof it!="undefined")return it;if(We.list)return We.list=null,Se(We);if(We.taskList){var ut=Me.match(z,!0)[1]===" ";return ut?We.taskOpen=!0:We.taskClosed=!0,a.highlightFormatting&&(We.formatting="task"),We.taskList=!1,Se(We)}if(We.taskOpen=!1,We.taskClosed=!1,We.header&&Me.match(/^#+$/,!0))return a.highlightFormatting&&(We.formatting="header"),Se(We);var $e=Me.next();if(We.linkTitle){We.linkTitle=!1;var Je=$e;$e==="("&&(Je=")"),Je=(Je+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Xe="^\\s*(?:[^"+Je+"\\\\]+|\\\\\\\\|\\\\.)"+Je;if(Me.match(new RegExp(Xe),!0))return oe.linkHref}if($e==="`"){var Qe=We.formatting;a.highlightFormatting&&(We.formatting="code"),Me.eatWhile("`");var st=Me.current().length;if(We.code==0&&(!We.quote||st==1))return We.code=st,Se(We);if(st==We.code){var rt=Se(We);return We.code=0,rt}else return We.formatting=Qe,Se(We)}else if(We.code)return Se(We);if($e==="\\"&&(Me.next(),a.highlightFormatting)){var pt=Se(We),ft=oe.formatting+"-escape";return pt?pt+" "+ft:ft}if($e==="!"&&Me.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return We.imageMarker=!0,We.image=!0,a.highlightFormatting&&(We.formatting="image"),Se(We);if($e==="["&&We.imageMarker&&Me.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return We.imageMarker=!1,We.imageAltText=!0,a.highlightFormatting&&(We.formatting="image"),Se(We);if($e==="]"&&We.imageAltText){a.highlightFormatting&&(We.formatting="image");var pt=Se(We);return We.imageAltText=!1,We.image=!1,We.inline=We.f=je,pt}if($e==="["&&!We.image)return We.linkText&&Me.match(/^.*?\]/)||(We.linkText=!0,a.highlightFormatting&&(We.formatting="link")),Se(We);if($e==="]"&&We.linkText){a.highlightFormatting&&(We.formatting="link");var pt=Se(We);return We.linkText=!1,We.inline=We.f=Me.match(/\(.*?\)| ?\[.*?\]/,!1)?je:Ae,pt}if($e==="<"&&Me.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){We.f=We.inline=Te,a.highlightFormatting&&(We.formatting="link");var pt=Se(We);return pt?pt+=" ":pt="",pt+oe.linkInline}if($e==="<"&&Me.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){We.f=We.inline=Te,a.highlightFormatting&&(We.formatting="link");var pt=Se(We);return pt?pt+=" ":pt="",pt+oe.linkEmail}if(a.xml&&$e==="<"&&Me.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var qe=Me.string.indexOf(">",Me.pos);if(qe!=-1){var Ie=Me.string.substring(Me.start,qe);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ie)&&(We.md_inside=!0)}return Me.backUp(1),We.htmlState=ye.startState(he),ue(Me,We,xe)}if(a.xml&&$e==="<"&&Me.match(/^\/\w*?>/))return We.md_inside=!1,"tag";if($e==="*"||$e==="_"){for(var at=1,Be=Me.pos==1?" ":Me.string.charAt(Me.pos-2);at<3&&Me.eat($e);)at++;var et=Me.peek()||" ",vt=!/\s/.test(et)&&(!le.test(et)||/\s/.test(Be)||le.test(Be)),gt=!/\s/.test(Be)&&(!le.test(Be)||/\s/.test(et)||le.test(et)),dt=null,Ve=null;if(at%2&&(!We.em&&vt&&($e==="*"||!gt||le.test(Be))?dt=!0:We.em==$e&&gt&&($e==="*"||!vt||le.test(et))&&(dt=!1)),at>1&&(!We.strong&&vt&&($e==="*"||!gt||le.test(Be))?Ve=!0:We.strong==$e&&gt&&($e==="*"||!vt||le.test(et))&&(Ve=!1)),Ve!=null||dt!=null){a.highlightFormatting&&(We.formatting=dt==null?"strong":Ve==null?"em":"strong em"),dt===!0&&(We.em=$e),Ve===!0&&(We.strong=$e);var rt=Se(We);return dt===!1&&(We.em=!1),Ve===!1&&(We.strong=!1),rt}}else if($e===" "&&(Me.eat("*")||Me.eat("_"))){if(Me.peek()===" ")return Se(We);Me.backUp(1)}if(a.strikethrough){if($e==="~"&&Me.eatWhile($e)){if(We.strikethrough){a.highlightFormatting&&(We.formatting="strikethrough");var rt=Se(We);return We.strikethrough=!1,rt}else if(Me.match(/^[^\s]/,!1))return We.strikethrough=!0,a.highlightFormatting&&(We.formatting="strikethrough"),Se(We)}else if($e===" "&&Me.match(/^~~/,!0)){if(Me.peek()===" ")return Se(We);Me.backUp(2)}}if(a.emoji&&$e===":"&&Me.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){We.emoji=!0,a.highlightFormatting&&(We.formatting="emoji");var Ne=Se(We);return We.emoji=!1,Ne}return $e===" "&&(Me.match(/^ +$/,!1)?We.trailingSpace++:We.trailingSpace&&(We.trailingSpaceNewLine=!0)),Se(We)}function Te(Me,We){var it=Me.next();if(it===">"){We.f=We.inline=Ae,a.highlightFormatting&&(We.formatting="link");var ut=Se(We);return ut?ut+=" ":ut="",ut+oe.linkInline}return Me.match(/^[^>]+/,!0),oe.linkInline}function je(Me,We){if(Me.eatSpace())return null;var it=Me.next();return it==="("||it==="["?(We.f=We.inline=Pe(it==="("?")":"]"),a.highlightFormatting&&(We.formatting="link-string"),We.linkHref=!0,Se(We)):"error"}var ke={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Pe(Me){return function(We,it){var ut=We.next();if(ut===Me){it.f=it.inline=Ae,a.highlightFormatting&&(it.formatting="link-string");var $e=Se(it);return it.linkHref=!1,$e}return We.match(ke[Me]),it.linkHref=!0,Se(it)}}function Oe(Me,We){return Me.match(/^([^\]\\]|\\.)*\]:/,!1)?(We.f=He,Me.next(),a.highlightFormatting&&(We.formatting="link"),We.linkText=!0,Se(We)):ce(Me,We,Ae)}function He(Me,We){if(Me.match(/^\]:/,!0)){We.f=We.inline=Ge,a.highlightFormatting&&(We.formatting="link");var it=Se(We);return We.linkText=!1,it}return Me.match(/^([^\]\\]|\\.)+/,!0),oe.linkText}function Ge(Me,We){return Me.eatSpace()?null:(Me.match(/^[^\s]+/,!0),Me.peek()===void 0?We.linkTitle=!0:Me.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),We.f=We.inline=Ae,oe.linkHref+" url")}var tt={startState:function(){return{f:we,prevLine:{stream:null},thisLine:{stream:null},block:we,htmlState:null,indentation:0,inline:Ae,text:be,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Me){return{f:Me.f,prevLine:Me.prevLine,thisLine:Me.thisLine,block:Me.block,htmlState:Me.htmlState&&ye.copyState(he,Me.htmlState),indentation:Me.indentation,localMode:Me.localMode,localState:Me.localMode?ye.copyState(Me.localMode,Me.localState):null,inline:Me.inline,text:Me.text,formatting:!1,linkText:Me.linkText,linkTitle:Me.linkTitle,linkHref:Me.linkHref,code:Me.code,em:Me.em,strong:Me.strong,strikethrough:Me.strikethrough,emoji:Me.emoji,header:Me.header,setext:Me.setext,hr:Me.hr,taskList:Me.taskList,list:Me.list,listStack:Me.listStack.slice(0),quote:Me.quote,indentedCode:Me.indentedCode,trailingSpace:Me.trailingSpace,trailingSpaceNewLine:Me.trailingSpaceNewLine,md_inside:Me.md_inside,fencedEndRE:Me.fencedEndRE}},token:function(Me,We){if(We.formatting=!1,Me!=We.thisLine.stream){if(We.header=0,We.hr=!1,Me.match(/^\s*$/,!0))return _e(We),null;if(We.prevLine=We.thisLine,We.thisLine={stream:Me},We.taskList=!1,We.trailingSpace=0,We.trailingSpaceNewLine=!1,!We.localState&&(We.f=We.block,We.f!=xe)){var it=Me.match(/^\s*/,!0)[0].replace(/\t/g,fe).length;if(We.indentation=it,We.indentationDiff=null,it>0)return null}}return We.f(Me,We)},innerMode:function(Me){return Me.block==xe?{state:Me.htmlState,mode:he}:Me.localState?{state:Me.localState,mode:Me.localMode}:{state:Me,mode:tt}},indent:function(Me,We,it){return Me.block==xe&&he.indent?he.indent(Me.htmlState,We,it):Me.localState&&Me.localMode.indent?Me.localMode.indent(Me.localState,We,it):ye.Pass},blankLine:_e,getType:Se,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return tt},"xml"),ye.defineMIME("text/markdown","markdown"),ye.defineMIME("text/x-markdown","markdown")})},98101:function(bt,mt,Ce){(function(ye){ye(Ce(89780))})(function(ye){"use strict";ye.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var ze=0;ze<ye.modeInfo.length;ze++){var a=ye.modeInfo[ze];a.mimes&&(a.mime=a.mimes[0])}ye.findModeByMIME=function(he){he=he.toLowerCase();for(var de=0;de<ye.modeInfo.length;de++){var ee=ye.modeInfo[de];if(ee.mime==he)return ee;if(ee.mimes){for(var oe=0;oe<ee.mimes.length;oe++)if(ee.mimes[oe]==he)return ee}}if(/\+xml$/.test(he))return ye.findModeByMIME("application/xml");if(/\+json$/.test(he))return ye.findModeByMIME("application/json")},ye.findModeByExtension=function(he){he=he.toLowerCase();for(var de=0;de<ye.modeInfo.length;de++){var ee=ye.modeInfo[de];if(ee.ext){for(var oe=0;oe<ee.ext.length;oe++)if(ee.ext[oe]==he)return ee}}},ye.findModeByFileName=function(he){for(var de=0;de<ye.modeInfo.length;de++){var ee=ye.modeInfo[de];if(ee.file&&ee.file.test(he))return ee}var oe=he.lastIndexOf("."),ne=oe>-1&&he.substring(oe+1,he.length);if(ne)return ye.findModeByExtension(ne)},ye.findModeByName=function(he){he=he.toLowerCase();for(var de=0;de<ye.modeInfo.length;de++){var ee=ye.modeInfo[de];if(ee.name.toLowerCase()==he)return ee;if(ee.alias){for(var oe=0;oe<ee.alias.length;oe++)if(ee.alias[oe].toLowerCase()==he)return ee}}}})},67549:function(bt,mt,Ce){(function(ye){ye(Ce(89780))})(function(ye){"use strict";ye.defineMode("stex",function(ze,a){"use strict";function he(E,re){E.cmdState.push(re)}function de(E){return E.cmdState.length>0?E.cmdState[E.cmdState.length-1]:null}function ee(E){var re=E.cmdState.pop();re&&re.closeBracket()}function oe(E){for(var re=E.cmdState,ae=re.length-1;ae>=0;ae--){var le=re[ae];if(le.name!="DEFAULT")return le}return{styleIdentifier:function(){return null}}}function ne(E,re,ae){return function(){this.name=E,this.bracketNo=0,this.style=re,this.styles=ae,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var te={};te.importmodule=ne("importmodule","tag",["string","builtin"]),te.documentclass=ne("documentclass","tag",["","atom"]),te.usepackage=ne("usepackage","tag",["atom"]),te.begin=ne("begin","tag",["atom"]),te.end=ne("end","tag",["atom"]),te.label=ne("label","tag",["atom"]),te.ref=ne("ref","tag",["atom"]),te.eqref=ne("eqref","tag",["atom"]),te.cite=ne("cite","tag",["atom"]),te.bibitem=ne("bibitem","tag",["atom"]),te.Bibitem=ne("Bibitem","tag",["atom"]),te.RBibitem=ne("RBibitem","tag",["atom"]),te.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function se(E,re){E.f=re}function z(E,re){var ae;if(E.match(/^\\[a-zA-Z@]+/)){var le=E.current().slice(1);return ae=te.hasOwnProperty(le)?te[le]:te.DEFAULT,ae=new ae,he(re,ae),se(re,b),ae.style}if(E.match(/^\\[$&%#{}_]/)||E.match(/^\\[,;!\/\\]/))return"tag";if(E.match("\\["))return se(re,function(ce,ue){return x(ce,ue,"\\]")}),"keyword";if(E.match("\\("))return se(re,function(ce,ue){return x(ce,ue,"\\)")}),"keyword";if(E.match("$$"))return se(re,function(ce,ue){return x(ce,ue,"$$")}),"keyword";if(E.match("$"))return se(re,function(ce,ue){return x(ce,ue,"$")}),"keyword";var fe=E.next();if(fe=="%")return E.skipToEnd(),"comment";if(fe=="}"||fe=="]"){if(ae=de(re),ae)ae.closeBracket(fe),se(re,b);else return"error";return"bracket"}else return fe=="{"||fe=="["?(ae=te.DEFAULT,ae=new ae,he(re,ae),"bracket"):/\d/.test(fe)?(E.eatWhile(/[\w.%]/),"atom"):(E.eatWhile(/[\w\-_]/),ae=oe(re),ae.name=="begin"&&(ae.argument=E.current()),ae.styleIdentifier())}function x(E,re,ae){if(E.eatSpace())return null;if(ae&&E.match(ae))return se(re,z),"keyword";if(E.match(/^\\[a-zA-Z@]+/))return"tag";if(E.match(/^[a-zA-Z]+/))return"variable-2";if(E.match(/^\\[$&%#{}_]/)||E.match(/^\\[,;!\/]/)||E.match(/^[\^_&]/))return"tag";if(E.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(E.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var le=E.next();return le=="{"||le=="}"||le=="["||le=="]"||le=="("||le==")"?"bracket":le=="%"?(E.skipToEnd(),"comment"):"error"}function b(E,re){var ae=E.peek(),le;return ae=="{"||ae=="["?(le=de(re),le.openBracket(ae),E.eat(ae),se(re,z),"bracket"):/[ \t\r]/.test(ae)?(E.eat(ae),null):(se(re,z),ee(re),z(E,re))}return{startState:function(){var E=a.inMathMode?function(re,ae){return x(re,ae)}:z;return{cmdState:[],f:E}},copyState:function(E){return{cmdState:E.cmdState.slice(),f:E.f}},token:function(E,re){return re.f(E,re)},blankLine:function(E){E.f=z,E.cmdState.length=0},lineComment:"%"}}),ye.defineMIME("text/x-stex","stex"),ye.defineMIME("text/x-latex","stex")})},15525:function(bt,mt,Ce){(function(ye){ye(Ce(89780))})(function(ye){"use strict";var ze={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},a={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ye.defineMode("xml",function(he,de){var ee=he.indentUnit,oe={},ne=de.htmlMode?ze:a;for(var te in ne)oe[te]=ne[te];for(var te in de)oe[te]=de[te];var se,z;function x(Te,je){function ke(He){return je.tokenize=He,He(Te,je)}var Pe=Te.next();if(Pe=="<")return Te.eat("!")?Te.eat("[")?Te.match("CDATA[")?ke(re("atom","]]>")):null:Te.match("--")?ke(re("comment","-->")):Te.match("DOCTYPE",!0,!0)?(Te.eatWhile(/[\w\._\-]/),ke(ae(1))):null:Te.eat("?")?(Te.eatWhile(/[\w\._\-]/),je.tokenize=re("meta","?>"),"meta"):(se=Te.eat("/")?"closeTag":"openTag",je.tokenize=b,"tag bracket");if(Pe=="&"){var Oe;return Te.eat("#")?Te.eat("x")?Oe=Te.eatWhile(/[a-fA-F\d]/)&&Te.eat(";"):Oe=Te.eatWhile(/[\d]/)&&Te.eat(";"):Oe=Te.eatWhile(/[\w\.\-:]/)&&Te.eat(";"),Oe?"atom":"error"}else return Te.eatWhile(/[^&<]/),null}x.isInText=!0;function b(Te,je){var ke=Te.next();if(ke==">"||ke=="/"&&Te.eat(">"))return je.tokenize=x,se=ke==">"?"endTag":"selfcloseTag","tag bracket";if(ke=="=")return se="equals",null;if(ke=="<"){je.tokenize=x,je.state=ue,je.tagName=je.tagStart=null;var Pe=je.tokenize(Te,je);return Pe?Pe+" tag error":"tag error"}else return/[\'\"]/.test(ke)?(je.tokenize=E(ke),je.stringStartCol=Te.column(),je.tokenize(Te,je)):(Te.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function E(Te){var je=function(ke,Pe){for(;!ke.eol();)if(ke.next()==Te){Pe.tokenize=b;break}return"string"};return je.isInAttribute=!0,je}function re(Te,je){return function(ke,Pe){for(;!ke.eol();){if(ke.match(je)){Pe.tokenize=x;break}ke.next()}return Te}}function ae(Te){return function(je,ke){for(var Pe;(Pe=je.next())!=null;){if(Pe=="<")return ke.tokenize=ae(Te+1),ke.tokenize(je,ke);if(Pe==">")if(Te==1){ke.tokenize=x;break}else return ke.tokenize=ae(Te-1),ke.tokenize(je,ke)}return"meta"}}function le(Te,je,ke){this.prev=Te.context,this.tagName=je,this.indent=Te.indented,this.startOfLine=ke,(oe.doNotIndent.hasOwnProperty(je)||Te.context&&Te.context.noIndent)&&(this.noIndent=!0)}function fe(Te){Te.context&&(Te.context=Te.context.prev)}function ce(Te,je){for(var ke;;){if(!Te.context||(ke=Te.context.tagName,!oe.contextGrabbers.hasOwnProperty(ke)||!oe.contextGrabbers[ke].hasOwnProperty(je)))return;fe(Te)}}function ue(Te,je,ke){return Te=="openTag"?(ke.tagStart=je.column(),ge):Te=="closeTag"?_e:ue}function ge(Te,je,ke){return Te=="word"?(ke.tagName=je.current(),z="tag",ve):oe.allowMissingTagName&&Te=="endTag"?(z="tag bracket",ve(Te,je,ke)):(z="error",ge)}function _e(Te,je,ke){if(Te=="word"){var Pe=je.current();return ke.context&&ke.context.tagName!=Pe&&oe.implicitlyClosed.hasOwnProperty(ke.context.tagName)&&fe(ke),ke.context&&ke.context.tagName==Pe||oe.matchClosing===!1?(z="tag",we):(z="tag error",xe)}else return oe.allowMissingTagName&&Te=="endTag"?(z="tag bracket",we(Te,je,ke)):(z="error",xe)}function we(Te,je,ke){return Te!="endTag"?(z="error",we):(fe(ke),ue)}function xe(Te,je,ke){return z="error",we(Te,je,ke)}function ve(Te,je,ke){if(Te=="word")return z="attribute",Se;if(Te=="endTag"||Te=="selfcloseTag"){var Pe=ke.tagName,Oe=ke.tagStart;return ke.tagName=ke.tagStart=null,Te=="selfcloseTag"||oe.autoSelfClosers.hasOwnProperty(Pe)?ce(ke,Pe):(ce(ke,Pe),ke.context=new le(ke,Pe,Oe==ke.indented)),ue}return z="error",ve}function Se(Te,je,ke){return Te=="equals"?be:(oe.allowMissing||(z="error"),ve(Te,je,ke))}function be(Te,je,ke){return Te=="string"?Ae:Te=="word"&&oe.allowUnquoted?(z="string",ve):(z="error",ve(Te,je,ke))}function Ae(Te,je,ke){return Te=="string"?Ae:ve(Te,je,ke)}return{startState:function(Te){var je={tokenize:x,state:ue,indented:Te||0,tagName:null,tagStart:null,context:null};return Te!=null&&(je.baseIndent=Te),je},token:function(Te,je){if(!je.tagName&&Te.sol()&&(je.indented=Te.indentation()),Te.eatSpace())return null;se=null;var ke=je.tokenize(Te,je);return(ke||se)&&ke!="comment"&&(z=null,je.state=je.state(se||ke,Te,je),z&&(ke=z=="error"?ke+" error":z)),ke},indent:function(Te,je,ke){var Pe=Te.context;if(Te.tokenize.isInAttribute)return Te.tagStart==Te.indented?Te.stringStartCol+1:Te.indented+ee;if(Pe&&Pe.noIndent)return ye.Pass;if(Te.tokenize!=b&&Te.tokenize!=x)return ke?ke.match(/^(\s*)/)[0].length:0;if(Te.tagName)return oe.multilineTagIndentPastTag!==!1?Te.tagStart+Te.tagName.length+2:Te.tagStart+ee*(oe.multilineTagIndentFactor||1);if(oe.alignCDATA&&/<!\[CDATA\[/.test(je))return 0;var Oe=je&&/^<(\/)?([\w_:\.-]*)/.exec(je);if(Oe&&Oe[1])for(;Pe;)if(Pe.tagName==Oe[2]){Pe=Pe.prev;break}else if(oe.implicitlyClosed.hasOwnProperty(Pe.tagName))Pe=Pe.prev;else break;else if(Oe)for(;Pe;){var He=oe.contextGrabbers[Pe.tagName];if(He&&He.hasOwnProperty(Oe[2]))Pe=Pe.prev;else break}for(;Pe&&Pe.prev&&!Pe.startOfLine;)Pe=Pe.prev;return Pe?Pe.indent+ee:Te.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:oe.htmlMode?"html":"xml",helperType:oe.htmlMode?"html":"xml",skipAttribute:function(Te){Te.state==be&&(Te.state=ve)},xmlCurrentTag:function(Te){return Te.tagName?{name:Te.tagName,close:Te.type=="closeTag"}:null},xmlCurrentContext:function(Te){for(var je=[],ke=Te.context;ke;ke=ke.prev)ke.tagName&&je.push(ke.tagName);return je.reverse()}}}),ye.defineMIME("text/xml","xml"),ye.defineMIME("application/xml","xml"),ye.mimeModes.hasOwnProperty("text/html")||ye.defineMIME("text/html",{name:"xml",htmlMode:!0})})},24334:function(bt,mt,Ce){var ye,ze;(function(a,he){bt.exports=he(a)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof Ce.g!="undefined"?Ce.g:this,function(a){"use strict";a=a||{};var he=a.Base64,de="2.6.4",ee="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=function(ke){for(var Pe={},Oe=0,He=ke.length;Oe<He;Oe++)Pe[ke.charAt(Oe)]=Oe;return Pe}(ee),ne=String.fromCharCode,te=function(ke){if(ke.length<2){var Pe=ke.charCodeAt(0);return Pe<128?ke:Pe<2048?ne(192|Pe>>>6)+ne(128|Pe&63):ne(224|Pe>>>12&15)+ne(128|Pe>>>6&63)+ne(128|Pe&63)}else{var Pe=65536+(ke.charCodeAt(0)-55296)*1024+(ke.charCodeAt(1)-56320);return ne(240|Pe>>>18&7)+ne(128|Pe>>>12&63)+ne(128|Pe>>>6&63)+ne(128|Pe&63)}},se=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,z=function(ke){return ke.replace(se,te)},x=function(ke){var Pe=[0,2,1][ke.length%3],Oe=ke.charCodeAt(0)<<16|(ke.length>1?ke.charCodeAt(1):0)<<8|(ke.length>2?ke.charCodeAt(2):0),He=[ee.charAt(Oe>>>18),ee.charAt(Oe>>>12&63),Pe>=2?"=":ee.charAt(Oe>>>6&63),Pe>=1?"=":ee.charAt(Oe&63)];return He.join("")},b=a.btoa&&typeof a.btoa=="function"?function(ke){return a.btoa(ke)}:function(ke){if(ke.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ke.replace(/[\s\S]{1,3}/g,x)},E=function(ke){return b(z(String(ke)))},re=function(ke){return ke.replace(/[+\/]/g,function(Pe){return Pe=="+"?"-":"_"}).replace(/=/g,"")},ae=function(ke,Pe){return Pe?re(E(ke)):E(ke)},le=function(ke){return ae(ke,!0)},fe;a.Uint8Array&&(fe=function(ke,Pe){for(var Oe="",He=0,Ge=ke.length;He<Ge;He+=3){var tt=ke[He],Me=ke[He+1],We=ke[He+2],it=tt<<16|Me<<8|We;Oe+=ee.charAt(it>>>18)+ee.charAt(it>>>12&63)+(typeof Me!="undefined"?ee.charAt(it>>>6&63):"=")+(typeof We!="undefined"?ee.charAt(it&63):"=")}return Pe?re(Oe):Oe});var ce=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ue=function(ke){switch(ke.length){case 4:var Pe=(7&ke.charCodeAt(0))<<18|(63&ke.charCodeAt(1))<<12|(63&ke.charCodeAt(2))<<6|63&ke.charCodeAt(3),Oe=Pe-65536;return ne((Oe>>>10)+55296)+ne((Oe&1023)+56320);case 3:return ne((15&ke.charCodeAt(0))<<12|(63&ke.charCodeAt(1))<<6|63&ke.charCodeAt(2));default:return ne((31&ke.charCodeAt(0))<<6|63&ke.charCodeAt(1))}},ge=function(ke){return ke.replace(ce,ue)},_e=function(ke){var Pe=ke.length,Oe=Pe%4,He=(Pe>0?oe[ke.charAt(0)]<<18:0)|(Pe>1?oe[ke.charAt(1)]<<12:0)|(Pe>2?oe[ke.charAt(2)]<<6:0)|(Pe>3?oe[ke.charAt(3)]:0),Ge=[ne(He>>>16),ne(He>>>8&255),ne(He&255)];return Ge.length-=[0,0,2,1][Oe],Ge.join("")},we=a.atob&&typeof a.atob=="function"?function(ke){return a.atob(ke)}:function(ke){return ke.replace(/\S{1,4}/g,_e)},xe=function(ke){return we(String(ke).replace(/[^A-Za-z0-9\+\/]/g,""))},ve=function(ke){return ge(we(ke))},Se=function(ke){return String(ke).replace(/[-_]/g,function(Pe){return Pe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},be=function(ke){return ve(Se(ke))},Ae;a.Uint8Array&&(Ae=function(ke){return Uint8Array.from(xe(Se(ke)),function(Pe){return Pe.charCodeAt(0)})});var Te=function(){var ke=a.Base64;return a.Base64=he,ke};if(a.Base64={VERSION:de,atob:xe,btoa:b,fromBase64:be,toBase64:ae,utob:z,encode:ae,encodeURI:le,btou:ge,decode:be,noConflict:Te,fromUint8Array:fe,toUint8Array:Ae},typeof Object.defineProperty=="function"){var je=function(ke){return{value:ke,enumerable:!1,writable:!0,configurable:!0}};a.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",je(function(){return be(this)})),Object.defineProperty(String.prototype,"toBase64",je(function(ke){return ae(this,ke)})),Object.defineProperty(String.prototype,"toBase64URI",je(function(){return ae(this,!0)}))}}return a.Meteor&&(Base64=a.Base64),bt.exports?bt.exports.Base64=a.Base64:(ye=[],ze=function(){return a.Base64}.apply(mt,ye),ze!==void 0&&(bt.exports=ze)),{Base64:a.Base64}})},63158:function(bt,mt,Ce){"use strict";var ye=Ce(54476),ze=Ce(20068),a=Ce(42978),he=Ce(75931),de=Ce(59301),ee=Ce(92310),oe=Ce.n(ee),ne=Ce(18929),te=Ce(10228),se=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],z=de.forwardRef(function(x,b){var E,re=x.prefixCls,ae=re===void 0?"rc-switch":re,le=x.className,fe=x.checked,ce=x.defaultChecked,ue=x.disabled,ge=x.loadingIcon,_e=x.checkedChildren,we=x.unCheckedChildren,xe=x.onClick,ve=x.onChange,Se=x.onKeyDown,be=(0,he.Z)(x,se),Ae=(0,ne.Z)(!1,{value:fe,defaultValue:ce}),Te=(0,a.Z)(Ae,2),je=Te[0],ke=Te[1];function Pe(tt,Me){var We=je;return ue||(We=tt,ke(We),ve==null||ve(We,Me)),We}function Oe(tt){tt.which===te.Z.LEFT?Pe(!1,tt):tt.which===te.Z.RIGHT&&Pe(!0,tt),Se==null||Se(tt)}function He(tt){var Me=Pe(!je,tt);xe==null||xe(Me,tt)}var Ge=oe()(ae,le,(E={},(0,ze.Z)(E,"".concat(ae,"-checked"),je),(0,ze.Z)(E,"".concat(ae,"-disabled"),ue),E));return de.createElement("button",(0,ye.Z)({},be,{type:"button",role:"switch","aria-checked":je,disabled:ue,className:Ge,ref:b,onKeyDown:Oe,onClick:He}),ge,de.createElement("span",{className:"".concat(ae,"-inner")},de.createElement("span",{className:"".concat(ae,"-inner-checked")},_e),de.createElement("span",{className:"".concat(ae,"-inner-unchecked")},we)))});z.displayName="Switch",mt.Z=z},2637:function(bt,mt,Ce){"use strict";Object.defineProperty(mt,"__esModule",{value:!0}),Object.defineProperty(mt,"DraggableCore",{enumerable:!0,get:function(){return ne.default}}),mt.default=void 0;var ye=x(Ce(59301)),ze=se(Ce(12708)),a=se(Ce(4676)),he=se(Ce(57780)),de=Ce(13957),ee=Ce(60976),oe=Ce(36641),ne=se(Ce(80486)),te=se(Ce(94187));function se(fe){return fe&&fe.__esModule?fe:{default:fe}}function z(fe){if(typeof WeakMap!="function")return null;var ce=new WeakMap,ue=new WeakMap;return(z=function(ge){return ge?ue:ce})(fe)}function x(fe,ce){if(!ce&&fe&&fe.__esModule)return fe;if(fe===null||typeof fe!="object"&&typeof fe!="function")return{default:fe};var ue=z(ce);if(ue&&ue.has(fe))return ue.get(fe);var ge={},_e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var we in fe)if(we!=="default"&&Object.prototype.hasOwnProperty.call(fe,we)){var xe=_e?Object.getOwnPropertyDescriptor(fe,we):null;xe&&(xe.get||xe.set)?Object.defineProperty(ge,we,xe):ge[we]=fe[we]}return ge.default=fe,ue&&ue.set(fe,ge),ge}function b(){return b=Object.assign?Object.assign.bind():function(fe){for(var ce=1;ce<arguments.length;ce++){var ue=arguments[ce];for(var ge in ue)Object.prototype.hasOwnProperty.call(ue,ge)&&(fe[ge]=ue[ge])}return fe},b.apply(this,arguments)}function E(fe,ce,ue){return ce=re(ce),ce in fe?Object.defineProperty(fe,ce,{value:ue,enumerable:!0,configurable:!0,writable:!0}):fe[ce]=ue,fe}function re(fe){var ce=ae(fe,"string");return typeof ce=="symbol"?ce:String(ce)}function ae(fe,ce){if(typeof fe!="object"||fe===null)return fe;var ue=fe[Symbol.toPrimitive];if(ue!==void 0){var ge=ue.call(fe,ce||"default");if(typeof ge!="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ce==="string"?String:Number)(fe)}class le extends ye.Component{static getDerivedStateFromProps(ce,ue){let{position:ge}=ce,{prevPropsPosition:_e}=ue;return ge&&(!_e||ge.x!==_e.x||ge.y!==_e.y)?((0,te.default)("Draggable: getDerivedStateFromProps %j",{position:ge,prevPropsPosition:_e}),{x:ge.x,y:ge.y,prevPropsPosition:Ji({},ge)}):null}constructor(ce){super(ce),E(this,"onDragStart",(ue,ge)=>{if((0,te.default)("Draggable: onDragStart: %j",ge),this.props.onStart(ue,(0,ee.createDraggableData)(this,ge))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),E(this,"onDrag",(ue,ge)=>{if(!this.state.dragging)return!1;(0,te.default)("Draggable: onDrag: %j",ge);const _e=(0,ee.createDraggableData)(this,ge),we={x:_e.x,y:_e.y,slackX:0,slackY:0};if(this.props.bounds){const{x:ve,y:Se}=we;we.x+=this.state.slackX,we.y+=this.state.slackY;const[be,Ae]=(0,ee.getBoundPosition)(this,we.x,we.y);we.x=be,we.y=Ae,we.slackX=this.state.slackX+(ve-we.x),we.slackY=this.state.slackY+(Se-we.y),_e.x=we.x,_e.y=we.y,_e.deltaX=we.x-this.state.x,_e.deltaY=we.y-this.state.y}if(this.props.onDrag(ue,_e)===!1)return!1;this.setState(we)}),E(this,"onDragStop",(ue,ge)=>{if(!this.state.dragging||this.props.onStop(ue,(0,ee.createDraggableData)(this,ge))===!1)return!1;(0,te.default)("Draggable: onDragStop: %j",ge);const we={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:ve,y:Se}=this.props.position;we.x=ve,we.y=Se}this.setState(we)}),this.state={dragging:!1,dragged:!1,x:ce.position?ce.position.x:ce.defaultPosition.x,y:ce.position?ce.position.y:ce.defaultPosition.y,prevPropsPosition:Ji({},ce.position),slackX:0,slackY:0,isElementSVG:!1},ce.position&&!(ce.onDrag||ce.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var ce,ue;return(ce=(ue=this.props)===null||ue===void 0||(ue=ue.nodeRef)===null||ue===void 0?void 0:ue.current)!==null&&ce!==void 0?ce:a.default.findDOMNode(this)}render(){const Me=this.props,{axis:ce,bounds:ue,children:ge,defaultPosition:_e,defaultClassName:we,defaultClassNameDragging:xe,defaultClassNameDragged:ve,position:Se,positionOffset:be,scale:Ae}=Me,Te=Ql(Me,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let je={},ke=null;const Oe=!!!Se||this.state.dragging,He=Se||_e,Ge={x:(0,ee.canDragX)(this)&&Oe?this.state.x:He.x,y:(0,ee.canDragY)(this)&&Oe?this.state.y:He.y};this.state.isElementSVG?ke=(0,de.createSVGTransform)(Ge,be):je=(0,de.createCSSTransform)(Ge,be);const tt=(0,he.default)(ge.props.className||"",we,{[xe]:this.state.dragging,[ve]:this.state.dragged});return ye.createElement(ne.default,b({},Te,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),ye.cloneElement(ye.Children.only(ge),{className:tt,style:Ji(Ji({},ge.props.style),je),transform:ke}))}}mt.default=le,E(le,"displayName","Draggable"),E(le,"propTypes",Ia(Ji({},ne.default.propTypes),{axis:ze.default.oneOf(["both","x","y","none"]),bounds:ze.default.oneOfType([ze.default.shape({left:ze.default.number,right:ze.default.number,top:ze.default.number,bottom:ze.default.number}),ze.default.string,ze.default.oneOf([!1])]),defaultClassName:ze.default.string,defaultClassNameDragging:ze.default.string,defaultClassNameDragged:ze.default.string,defaultPosition:ze.default.shape({x:ze.default.number,y:ze.default.number}),positionOffset:ze.default.shape({x:ze.default.oneOfType([ze.default.number,ze.default.string]),y:ze.default.oneOfType([ze.default.number,ze.default.string])}),position:ze.default.shape({x:ze.default.number,y:ze.default.number}),className:oe.dontSetMe,style:oe.dontSetMe,transform:oe.dontSetMe})),E(le,"defaultProps",Ia(Ji({},ne.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},80486:function(bt,mt,Ce){"use strict";Object.defineProperty(mt,"__esModule",{value:!0}),mt.default=void 0;var ye=se(Ce(59301)),ze=ne(Ce(12708)),a=ne(Ce(4676)),he=Ce(13957),de=Ce(60976),ee=Ce(36641),oe=ne(Ce(94187));function ne(le){return le&&le.__esModule?le:{default:le}}function te(le){if(typeof WeakMap!="function")return null;var fe=new WeakMap,ce=new WeakMap;return(te=function(ue){return ue?ce:fe})(le)}function se(le,fe){if(!fe&&le&&le.__esModule)return le;if(le===null||typeof le!="object"&&typeof le!="function")return{default:le};var ce=te(fe);if(ce&&ce.has(le))return ce.get(le);var ue={},ge=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _e in le)if(_e!=="default"&&Object.prototype.hasOwnProperty.call(le,_e)){var we=ge?Object.getOwnPropertyDescriptor(le,_e):null;we&&(we.get||we.set)?Object.defineProperty(ue,_e,we):ue[_e]=le[_e]}return ue.default=le,ce&&ce.set(le,ue),ue}function z(le,fe,ce){return fe=x(fe),fe in le?Object.defineProperty(le,fe,{value:ce,enumerable:!0,configurable:!0,writable:!0}):le[fe]=ce,le}function x(le){var fe=b(le,"string");return typeof fe=="symbol"?fe:String(fe)}function b(le,fe){if(typeof le!="object"||le===null)return le;var ce=le[Symbol.toPrimitive];if(ce!==void 0){var ue=ce.call(le,fe||"default");if(typeof ue!="object")return ue;throw new TypeError("@@toPrimitive must return a primitive value.")}return(fe==="string"?String:Number)(le)}const E={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let re=E.mouse;class ae extends ye.Component{constructor(){super(...arguments),z(this,"dragging",!1),z(this,"lastX",NaN),z(this,"lastY",NaN),z(this,"touchIdentifier",null),z(this,"mounted",!1),z(this,"handleDragStart",fe=>{if(this.props.onMouseDown(fe),!this.props.allowAnyClick&&typeof fe.button=="number"&&fe.button!==0)return!1;const ce=this.findDOMNode();if(!ce||!ce.ownerDocument||!ce.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:ue}=ce;if(this.props.disabled||!(fe.target instanceof ue.defaultView.Node)||this.props.handle&&!(0,he.matchesSelectorAndParentsTo)(fe.target,this.props.handle,ce)||this.props.cancel&&(0,he.matchesSelectorAndParentsTo)(fe.target,this.props.cancel,ce))return;fe.type==="touchstart"&&fe.preventDefault();const ge=(0,he.getTouchIdentifier)(fe);this.touchIdentifier=ge;const _e=(0,de.getControlPosition)(fe,ge,this);if(_e==null)return;const{x:we,y:xe}=_e,ve=(0,de.createCoreData)(this,we,xe);(0,oe.default)("DraggableCore: handleDragStart: %j",ve),(0,oe.default)("calling",this.props.onStart),!(this.props.onStart(fe,ve)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,he.addUserSelectStyles)(ue),this.dragging=!0,this.lastX=we,this.lastY=xe,(0,he.addEvent)(ue,re.move,this.handleDrag),(0,he.addEvent)(ue,re.stop,this.handleDragStop))}),z(this,"handleDrag",fe=>{const ce=(0,de.getControlPosition)(fe,this.touchIdentifier,this);if(ce==null)return;let{x:ue,y:ge}=ce;if(Array.isArray(this.props.grid)){let xe=ue-this.lastX,ve=ge-this.lastY;if([xe,ve]=(0,de.snapToGrid)(this.props.grid,xe,ve),!xe&&!ve)return;ue=this.lastX+xe,ge=this.lastY+ve}const _e=(0,de.createCoreData)(this,ue,ge);if((0,oe.default)("DraggableCore: handleDrag: %j",_e),this.props.onDrag(fe,_e)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(xe){const ve=document.createEvent("MouseEvents");ve.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(ve)}return}this.lastX=ue,this.lastY=ge}),z(this,"handleDragStop",fe=>{if(!this.dragging)return;const ce=(0,de.getControlPosition)(fe,this.touchIdentifier,this);if(ce==null)return;let{x:ue,y:ge}=ce;if(Array.isArray(this.props.grid)){let ve=ue-this.lastX||0,Se=ge-this.lastY||0;[ve,Se]=(0,de.snapToGrid)(this.props.grid,ve,Se),ue=this.lastX+ve,ge=this.lastY+Se}const _e=(0,de.createCoreData)(this,ue,ge);if(this.props.onStop(fe,_e)===!1||this.mounted===!1)return!1;const xe=this.findDOMNode();xe&&this.props.enableUserSelectHack&&(0,he.removeUserSelectStyles)(xe.ownerDocument),(0,oe.default)("DraggableCore: handleDragStop: %j",_e),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,xe&&((0,oe.default)("DraggableCore: Removing handlers"),(0,he.removeEvent)(xe.ownerDocument,re.move,this.handleDrag),(0,he.removeEvent)(xe.ownerDocument,re.stop,this.handleDragStop))}),z(this,"onMouseDown",fe=>(re=E.mouse,this.handleDragStart(fe))),z(this,"onMouseUp",fe=>(re=E.mouse,this.handleDragStop(fe))),z(this,"onTouchStart",fe=>(re=E.touch,this.handleDragStart(fe))),z(this,"onTouchEnd",fe=>(re=E.touch,this.handleDragStop(fe)))}componentDidMount(){this.mounted=!0;const fe=this.findDOMNode();fe&&(0,he.addEvent)(fe,E.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const fe=this.findDOMNode();if(fe){const{ownerDocument:ce}=fe;(0,he.removeEvent)(ce,E.mouse.move,this.handleDrag),(0,he.removeEvent)(ce,E.touch.move,this.handleDrag),(0,he.removeEvent)(ce,E.mouse.stop,this.handleDragStop),(0,he.removeEvent)(ce,E.touch.stop,this.handleDragStop),(0,he.removeEvent)(fe,E.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,he.removeUserSelectStyles)(ce)}}findDOMNode(){var fe,ce;return(fe=this.props)!==null&&fe!==void 0&&fe.nodeRef?(ce=this.props)===null||ce===void 0||(ce=ce.nodeRef)===null||ce===void 0?void 0:ce.current:a.default.findDOMNode(this)}render(){return ye.cloneElement(ye.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}mt.default=ae,z(ae,"displayName","DraggableCore"),z(ae,"propTypes",{allowAnyClick:ze.default.bool,children:ze.default.node.isRequired,disabled:ze.default.bool,enableUserSelectHack:ze.default.bool,offsetParent:function(le,fe){if(le[fe]&&le[fe].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:ze.default.arrayOf(ze.default.number),handle:ze.default.string,cancel:ze.default.string,nodeRef:ze.default.object,onStart:ze.default.func,onDrag:ze.default.func,onStop:ze.default.func,onMouseDown:ze.default.func,scale:ze.default.number,className:ee.dontSetMe,style:ee.dontSetMe,transform:ee.dontSetMe}),z(ae,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},12911:function(bt,mt,Ce){"use strict";const{default:ye,DraggableCore:ze}=Ce(2637);bt.exports=ye,bt.exports.default=ye,bt.exports.DraggableCore=ze},13957:function(bt,mt,Ce){"use strict";Object.defineProperty(mt,"__esModule",{value:!0}),mt.addClassName=_e,mt.addEvent=ne,mt.addUserSelectStyles=ue,mt.createCSSTransform=re,mt.createSVGTransform=ae,mt.getTouch=fe,mt.getTouchIdentifier=ce,mt.getTranslation=le,mt.innerHeight=x,mt.innerWidth=b,mt.matchesSelector=ee,mt.matchesSelectorAndParentsTo=oe,mt.offsetXYFromParent=E,mt.outerHeight=se,mt.outerWidth=z,mt.removeClassName=we,mt.removeEvent=te,mt.removeUserSelectStyles=ge;var ye=Ce(36641),ze=he(Ce(32092));function a(xe){if(typeof WeakMap!="function")return null;var ve=new WeakMap,Se=new WeakMap;return(a=function(be){return be?Se:ve})(xe)}function he(xe,ve){if(!ve&&xe&&xe.__esModule)return xe;if(xe===null||typeof xe!="object"&&typeof xe!="function")return{default:xe};var Se=a(ve);if(Se&&Se.has(xe))return Se.get(xe);var be={},Ae=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Te in xe)if(Te!=="default"&&Object.prototype.hasOwnProperty.call(xe,Te)){var je=Ae?Object.getOwnPropertyDescriptor(xe,Te):null;je&&(je.get||je.set)?Object.defineProperty(be,Te,je):be[Te]=xe[Te]}return be.default=xe,Se&&Se.set(xe,be),be}let de="";function ee(xe,ve){return de||(de=(0,ye.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Se){return(0,ye.isFunction)(xe[Se])})),(0,ye.isFunction)(xe[de])?xe[de](ve):!1}function oe(xe,ve,Se){let be=xe;do{if(ee(be,ve))return!0;if(be===Se)return!1;be=be.parentNode}while(be);return!1}function ne(xe,ve,Se,be){if(!xe)return;const Ae=Ji({capture:!0},be);xe.addEventListener?xe.addEventListener(ve,Se,Ae):xe.attachEvent?xe.attachEvent("on"+ve,Se):xe["on"+ve]=Se}function te(xe,ve,Se,be){if(!xe)return;const Ae=Ji({capture:!0},be);xe.removeEventListener?xe.removeEventListener(ve,Se,Ae):xe.detachEvent?xe.detachEvent("on"+ve,Se):xe["on"+ve]=null}function se(xe){let ve=xe.clientHeight;const Se=xe.ownerDocument.defaultView.getComputedStyle(xe);return ve+=(0,ye.int)(Se.borderTopWidth),ve+=(0,ye.int)(Se.borderBottomWidth),ve}function z(xe){let ve=xe.clientWidth;const Se=xe.ownerDocument.defaultView.getComputedStyle(xe);return ve+=(0,ye.int)(Se.borderLeftWidth),ve+=(0,ye.int)(Se.borderRightWidth),ve}function x(xe){let ve=xe.clientHeight;const Se=xe.ownerDocument.defaultView.getComputedStyle(xe);return ve-=(0,ye.int)(Se.paddingTop),ve-=(0,ye.int)(Se.paddingBottom),ve}function b(xe){let ve=xe.clientWidth;const Se=xe.ownerDocument.defaultView.getComputedStyle(xe);return ve-=(0,ye.int)(Se.paddingLeft),ve-=(0,ye.int)(Se.paddingRight),ve}function E(xe,ve,Se){const Ae=ve===ve.ownerDocument.body?{left:0,top:0}:ve.getBoundingClientRect(),Te=(xe.clientX+ve.scrollLeft-Ae.left)/Se,je=(xe.clientY+ve.scrollTop-Ae.top)/Se;return{x:Te,y:je}}function re(xe,ve){const Se=le(xe,ve,"px");return{[(0,ze.browserPrefixToKey)("transform",ze.default)]:Se}}function ae(xe,ve){return le(xe,ve,"")}function le(xe,ve,Se){let{x:be,y:Ae}=xe,Te="translate(".concat(be).concat(Se,",").concat(Ae).concat(Se,")");if(ve){const je="".concat(typeof ve.x=="string"?ve.x:ve.x+Se),ke="".concat(typeof ve.y=="string"?ve.y:ve.y+Se);Te="translate(".concat(je,", ").concat(ke,")")+Te}return Te}function fe(xe,ve){return xe.targetTouches&&(0,ye.findInArray)(xe.targetTouches,Se=>ve===Se.identifier)||xe.changedTouches&&(0,ye.findInArray)(xe.changedTouches,Se=>ve===Se.identifier)}function ce(xe){if(xe.targetTouches&&xe.targetTouches[0])return xe.targetTouches[0].identifier;if(xe.changedTouches&&xe.changedTouches[0])return xe.changedTouches[0].identifier}function ue(xe){if(!xe)return;let ve=xe.getElementById("react-draggable-style-el");ve||(ve=xe.createElement("style"),ve.type="text/css",ve.id="react-draggable-style-el",ve.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
`,ve.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
`,xe.getElementsByTagName("head")[0].appendChild(ve)),xe.body&&_e(xe.body,"react-draggable-transparent-selection")}function ge(xe){if(xe)try{if(xe.body&&we(xe.body,"react-draggable-transparent-selection"),xe.selection)xe.selection.empty();else{const ve=(xe.defaultView||window).getSelection();ve&&ve.type!=="Caret"&&ve.removeAllRanges()}}catch(ve){}}function _e(xe,ve){xe.classList?xe.classList.add(ve):xe.className.match(new RegExp("(?:^|\\s)".concat(ve,"(?!\\S)")))||(xe.className+=" ".concat(ve))}function we(xe,ve){xe.classList?xe.classList.remove(ve):xe.className=xe.className.replace(new RegExp("(?:^|\\s)".concat(ve,"(?!\\S)"),"g"),"")}},32092:function(bt,mt){"use strict";Object.defineProperty(mt,"__esModule",{value:!0}),mt.browserPrefixToKey=ze,mt.browserPrefixToStyle=a,mt.default=void 0,mt.getPrefix=ye;const Ce=["Moz","Webkit","O","ms"];function ye(){var ee;let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ne=(ee=window.document)===null||ee===void 0||(ee=ee.documentElement)===null||ee===void 0?void 0:ee.style;if(!ne||oe in ne)return"";for(let te=0;te<Ce.length;te++)if(ze(oe,Ce[te])in ne)return Ce[te];return""}function ze(ee,oe){return oe?"".concat(oe).concat(he(ee)):ee}function a(ee,oe){return oe?"-".concat(oe.toLowerCase(),"-").concat(ee):ee}function he(ee){let oe="",ne=!0;for(let te=0;te<ee.length;te++)ne?(oe+=ee[te].toUpperCase(),ne=!1):ee[te]==="-"?ne=!0:oe+=ee[te];return oe}var de=mt.default=ye()},94187:function(bt,mt){"use strict";Object.defineProperty(mt,"__esModule",{value:!0}),mt.default=Ce;function Ce(){}},60976:function(bt,mt,Ce){"use strict";Object.defineProperty(mt,"__esModule",{value:!0}),mt.canDragX=de,mt.canDragY=ee,mt.createCoreData=ne,mt.createDraggableData=te,mt.getBoundPosition=a,mt.getControlPosition=oe,mt.snapToGrid=he;var ye=Ce(36641),ze=Ce(13957);function a(x,b,E){if(!x.props.bounds)return[b,E];let{bounds:re}=x.props;re=typeof re=="string"?re:se(re);const ae=z(x);if(typeof re=="string"){const{ownerDocument:le}=ae,fe=le.defaultView;let ce;if(re==="parent"?ce=ae.parentNode:ce=le.querySelector(re),!(ce instanceof fe.HTMLElement))throw new Error('Bounds selector "'+re+'" could not find an element.');const ue=ce,ge=fe.getComputedStyle(ae),_e=fe.getComputedStyle(ue);re={left:-ae.offsetLeft+(0,ye.int)(_e.paddingLeft)+(0,ye.int)(ge.marginLeft),top:-ae.offsetTop+(0,ye.int)(_e.paddingTop)+(0,ye.int)(ge.marginTop),right:(0,ze.innerWidth)(ue)-(0,ze.outerWidth)(ae)-ae.offsetLeft+(0,ye.int)(_e.paddingRight)-(0,ye.int)(ge.marginRight),bottom:(0,ze.innerHeight)(ue)-(0,ze.outerHeight)(ae)-ae.offsetTop+(0,ye.int)(_e.paddingBottom)-(0,ye.int)(ge.marginBottom)}}return(0,ye.isNum)(re.right)&&(b=Math.min(b,re.right)),(0,ye.isNum)(re.bottom)&&(E=Math.min(E,re.bottom)),(0,ye.isNum)(re.left)&&(b=Math.max(b,re.left)),(0,ye.isNum)(re.top)&&(E=Math.max(E,re.top)),[b,E]}function he(x,b,E){const re=Math.round(b/x[0])*x[0],ae=Math.round(E/x[1])*x[1];return[re,ae]}function de(x){return x.props.axis==="both"||x.props.axis==="x"}function ee(x){return x.props.axis==="both"||x.props.axis==="y"}function oe(x,b,E){const re=typeof b=="number"?(0,ze.getTouch)(x,b):null;if(typeof b=="number"&&!re)return null;const ae=z(E),le=E.props.offsetParent||ae.offsetParent||ae.ownerDocument.body;return(0,ze.offsetXYFromParent)(re||x,le,E.props.scale)}function ne(x,b,E){const re=!(0,ye.isNum)(x.lastX),ae=z(x);return re?{node:ae,deltaX:0,deltaY:0,lastX:b,lastY:E,x:b,y:E}:{node:ae,deltaX:b-x.lastX,deltaY:E-x.lastY,lastX:x.lastX,lastY:x.lastY,x:b,y:E}}function te(x,b){const E=x.props.scale;return{node:b.node,x:x.state.x+b.deltaX/E,y:x.state.y+b.deltaY/E,deltaX:b.deltaX/E,deltaY:b.deltaY/E,lastX:x.state.x,lastY:x.state.y}}function se(x){return{left:x.left,top:x.top,right:x.right,bottom:x.bottom}}function z(x){const b=x.findDOMNode();if(!b)throw new Error("<DraggableCore>: Unmounted during event!");return b}},36641:function(bt,mt){"use strict";Object.defineProperty(mt,"__esModule",{value:!0}),mt.dontSetMe=he,mt.findInArray=Ce,mt.int=a,mt.isFunction=ye,mt.isNum=ze;function Ce(de,ee){for(let oe=0,ne=de.length;oe<ne;oe++)if(ee.apply(ee,[de[oe],oe,de]))return de[oe]}function ye(de){return typeof de=="function"||Object.prototype.toString.call(de)==="[object Function]"}function ze(de){return typeof de=="number"&&!isNaN(de)}function a(de){return parseInt(de,10)}function he(de,ee,oe){if(de[ee])return new Error("Invalid prop ".concat(ee," passed to ").concat(oe," - do not set this, set it on the child."))}},7062:function(bt,mt,Ce){var ye=Ce(19637),ze=Ce(97573),a=[Ce(96627)];bt.exports=ye.createStore(ze,a)},96627:function(bt,mt,Ce){bt.exports=ye;function ye(){return Ce(42424),{}}},42424:function(){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(bt){return bt<10?"0"+bt:bt}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(bt){return rx_escapable.lastIndex=0,rx_escapable.test(bt)?'"'+bt.replace(rx_escapable,function(mt){var Ce=meta[mt];return typeof Ce=="string"?Ce:"\\u"+("0000"+mt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+bt+'"'}function str(bt,mt){var Ce,ye,ze,a,he=gap,de,ee=mt[bt];switch(ee&&typeof ee=="object"&&typeof ee.toJSON=="function"&&(ee=ee.toJSON(bt)),typeof rep=="function"&&(ee=rep.call(mt,bt,ee)),typeof ee){case"string":return quote(ee);case"number":return isFinite(ee)?String(ee):"null";case"boolean":case"null":return String(ee);case"object":if(!ee)return"null";if(gap+=indent,de=[],Object.prototype.toString.apply(ee)==="[object Array]"){for(a=ee.length,Ce=0;Ce<a;Ce+=1)de[Ce]=str(Ce,ee)||"null";return ze=de.length===0?"[]":gap?`[
`+gap+de.join(`,
`+gap)+`
`+he+"]":"["+de.join(",")+"]",gap=he,ze}if(rep&&typeof rep=="object")for(a=rep.length,Ce=0;Ce<a;Ce+=1)typeof rep[Ce]=="string"&&(ye=rep[Ce],ze=str(ye,ee),ze&&de.push(quote(ye)+(gap?": ":":")+ze));else for(ye in ee)Object.prototype.hasOwnProperty.call(ee,ye)&&(ze=str(ye,ee),ze&&de.push(quote(ye)+(gap?": ":":")+ze));return ze=de.length===0?"{}":gap?`{
`+gap+de.join(`,
`+gap)+`
`+he+"}":"{"+de.join(",")+"}",gap=he,ze}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(bt,mt,Ce){var ye;if(gap="",indent="",typeof Ce=="number")for(ye=0;ye<Ce;ye+=1)indent+=" ";else typeof Ce=="string"&&(indent=Ce);if(rep=mt,mt&&typeof mt!="function"&&(typeof mt!="object"||typeof mt.length!="number"))throw new Error("JSON.stringify");return str("",{"":bt})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(bt,mt){var Ce,ye,ze=bt[mt];if(ze&&typeof ze=="object")for(Ce in ze)Object.prototype.hasOwnProperty.call(ze,Ce)&&(ye=walk(ze,Ce),ye!==void 0?ze[Ce]=ye:delete ze[Ce]);return reviver.call(bt,mt,ze)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(bt){return"\\u"+("0000"+bt.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},19637:function(bt,mt,Ce){var ye=Ce(67039),ze=ye.slice,a=ye.pluck,he=ye.each,de=ye.bind,ee=ye.create,oe=ye.isList,ne=ye.isFunction,te=ye.isObject;bt.exports={createStore:x};var se={version:"2.0.12",enabled:!1,get:function(b,E){var re=this.storage.read(this._namespacePrefix+b);return this._deserialize(re,E)},set:function(b,E){return E===void 0?this.remove(b):(this.storage.write(this._namespacePrefix+b,this._serialize(E)),E)},remove:function(b){this.storage.remove(this._namespacePrefix+b)},each:function(b){var E=this;this.storage.each(function(re,ae){b.call(E,E._deserialize(re),(ae||"").replace(E._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(b){return this._namespacePrefix=="__storejs_"+b+"_"},createStore:function(){return x.apply(this,arguments)},addPlugin:function(b){this._addPlugin(b)},namespace:function(b){return x(this.storage,this.plugins,b)}};function z(){var b=typeof console=="undefined"?null:console;if(b){var E=b.warn?b.warn:b.log;E.apply(b,arguments)}}function x(b,E,re){re||(re=""),b&&!oe(b)&&(b=[b]),E&&!oe(E)&&(E=[E]);var ae=re?"__storejs_"+re+"_":"",le=re?new RegExp("^"+ae):null,fe=/^[a-zA-Z0-9_\-]*$/;if(!fe.test(re))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var ce={_namespacePrefix:ae,_namespaceRegexp:le,_testStorage:function(ge){try{var _e="__storejs__test__";ge.write(_e,_e);var we=ge.read(_e)===_e;return ge.remove(_e),we}catch(xe){return!1}},_assignPluginFnProp:function(ge,_e){var we=this[_e];this[_e]=function(){var ve=ze(arguments,0),Se=this;function be(){if(we)return he(arguments,function(Te,je){ve[je]=Te}),we.apply(Se,ve)}var Ae=[be].concat(ve);return ge.apply(Se,Ae)}},_serialize:function(ge){return JSON.stringify(ge)},_deserialize:function(ge,_e){if(!ge)return _e;var we="";try{we=JSON.parse(ge)}catch(xe){we=ge}return we!==void 0?we:_e},_addStorage:function(ge){this.enabled||this._testStorage(ge)&&(this.storage=ge,this.enabled=!0)},_addPlugin:function(ge){var _e=this;if(oe(ge)){he(ge,function(ve){_e._addPlugin(ve)});return}var we=a(this.plugins,function(ve){return ge===ve});if(!we){if(this.plugins.push(ge),!ne(ge))throw new Error("Plugins must be function values that return objects");var xe=ge.call(this);if(!te(xe))throw new Error("Plugins must return an object of function properties");he(xe,function(ve,Se){if(!ne(ve))throw new Error("Bad plugin property: "+Se+" from plugin "+ge.name+". Plugins should only return functions.");_e._assignPluginFnProp(ve,Se)})}},addStorage:function(ge){z("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(ge)}},ue=ee(ce,se,{plugins:[]});return ue.raw={},he(ue,function(ge,_e){ne(ge)&&(ue.raw[_e]=de(ue,ge))}),he(b,function(ge){ue._addStorage(ge)}),he(E,function(ge){ue._addPlugin(ge)}),ue}},67039:function(bt,mt,Ce){var ye=de(),ze=ee(),a=oe(),he=typeof window!="undefined"?window:Ce.g;bt.exports={assign:ye,create:ze,trim:a,bind:ne,slice:te,each:se,map:z,pluck:x,isList:b,isFunction:E,isObject:re,Global:he};function de(){return Object.assign?Object.assign:function(le,fe,ce,ue){for(var ge=1;ge<arguments.length;ge++)se(Object(arguments[ge]),function(_e,we){le[we]=_e});return le}}function ee(){if(Object.create)return function(fe,ce,ue,ge){var _e=te(arguments,1);return ye.apply(this,[Object.create(fe)].concat(_e))};{let le=function(){};var ae=le;return function(ce,ue,ge,_e){var we=te(arguments,1);return le.prototype=ce,ye.apply(this,[new le].concat(we))}}}function oe(){return String.prototype.trim?function(le){return String.prototype.trim.call(le)}:function(le){return le.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function ne(ae,le){return function(){return le.apply(ae,Array.prototype.slice.call(arguments,0))}}function te(ae,le){return Array.prototype.slice.call(ae,le||0)}function se(ae,le){x(ae,function(fe,ce){return le(fe,ce),!1})}function z(ae,le){var fe=b(ae)?[]:{};return x(ae,function(ce,ue){return fe[ue]=le(ce,ue),!1}),fe}function x(ae,le){if(b(ae)){for(var fe=0;fe<ae.length;fe++)if(le(ae[fe],fe))return ae[fe]}else for(var ce in ae)if(ae.hasOwnProperty(ce)&&le(ae[ce],ce))return ae[ce]}function b(ae){return ae!=null&&typeof ae!="function"&&typeof ae.length=="number"}function E(ae){return ae&&{}.toString.call(ae)==="[object Function]"}function re(ae){return ae&&{}.toString.call(ae)==="[object Object]"}},97573:function(bt,mt,Ce){bt.exports=[Ce(52496),Ce(16436),Ce(76673),Ce(35701),Ce(65578),Ce(65300)]},35701:function(bt,mt,Ce){var ye=Ce(67039),ze=ye.Global,a=ye.trim;bt.exports={name:"cookieStorage",read:de,write:oe,each:ee,remove:ne,clearAll:te};var he=ze.document;function de(z){if(!z||!se(z))return null;var x="(?:^|.*;\\s*)"+escape(z).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(he.cookie.replace(new RegExp(x),"$1"))}function ee(z){for(var x=he.cookie.split(/; ?/g),b=x.length-1;b>=0;b--)if(a(x[b])){var E=x[b].split("="),re=unescape(E[0]),ae=unescape(E[1]);z(ae,re)}}function oe(z,x){z&&(he.cookie=escape(z)+"="+escape(x)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ne(z){!z||!se(z)||(he.cookie=escape(z)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function te(){ee(function(z,x){ne(x)})}function se(z){return new RegExp("(?:^|;\\s*)"+escape(z).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(he.cookie)}},52496:function(bt,mt,Ce){var ye=Ce(67039),ze=ye.Global;bt.exports={name:"localStorage",read:he,write:de,each:ee,remove:oe,clearAll:ne};function a(){return ze.localStorage}function he(te){return a().getItem(te)}function de(te,se){return a().setItem(te,se)}function ee(te){for(var se=a().length-1;se>=0;se--){var z=a().key(se);te(he(z),z)}}function oe(te){return a().removeItem(te)}function ne(){return a().clear()}},65300:function(bt){bt.exports={name:"memoryStorage",read:Ce,write:ye,each:ze,remove:a,clearAll:he};var mt={};function Ce(de){return mt[de]}function ye(de,ee){mt[de]=ee}function ze(de){for(var ee in mt)mt.hasOwnProperty(ee)&&de(mt[ee],ee)}function a(de){delete mt[de]}function he(de){mt={}}},16436:function(bt,mt,Ce){var ye=Ce(67039),ze=ye.Global;bt.exports={name:"oldFF-globalStorage",read:he,write:de,each:ee,remove:oe,clearAll:ne};var a=ze.globalStorage;function he(te){return a[te]}function de(te,se){a[te]=se}function ee(te){for(var se=a.length-1;se>=0;se--){var z=a.key(se);te(a[z],z)}}function oe(te){return a.removeItem(te)}function ne(){ee(function(te,se){delete a[te]})}},76673:function(bt,mt,Ce){var ye=Ce(67039),ze=ye.Global;bt.exports={name:"oldIE-userDataStorage",write:oe,read:ne,each:te,remove:se,clearAll:z};var a="storejs",he=ze.document,de=E(),ee=(ze.navigator?ze.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function oe(re,ae){if(!ee){var le=b(re);de(function(fe){fe.setAttribute(le,ae),fe.save(a)})}}function ne(re){if(!ee){var ae=b(re),le=null;return de(function(fe){le=fe.getAttribute(ae)}),le}}function te(re){de(function(ae){for(var le=ae.XMLDocument.documentElement.attributes,fe=le.length-1;fe>=0;fe--){var ce=le[fe];re(ae.getAttribute(ce.name),ce.name)}})}function se(re){var ae=b(re);de(function(le){le.removeAttribute(ae),le.save(a)})}function z(){de(function(re){var ae=re.XMLDocument.documentElement.attributes;re.load(a);for(var le=ae.length-1;le>=0;le--)re.removeAttribute(ae[le].name);re.save(a)})}var x=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function b(re){return re.replace(/^\d/,"___$&").replace(x,"___")}function E(){if(!he||!he.documentElement||!he.documentElement.addBehavior)return null;var re="script",ae,le,fe;try{le=new ActiveXObject("htmlfile"),le.open(),le.write("<"+re+">document.w=window</"+re+'><iframe src="/favicon.ico"></iframe>'),le.close(),ae=le.w.frames[0].document,fe=ae.createElement("div")}catch(ce){fe=he.createElement("div"),ae=he.body}return function(ce){var ue=[].slice.call(arguments,0);ue.unshift(fe),ae.appendChild(fe),fe.addBehavior("#default#userData"),fe.load(a),ce.apply(this,ue),ae.removeChild(fe)}}},65578:function(bt,mt,Ce){var ye=Ce(67039),ze=ye.Global;bt.exports={name:"sessionStorage",read:he,write:de,each:ee,remove:oe,clearAll:ne};function a(){return ze.sessionStorage}function he(te){return a().getItem(te)}function de(te,se){return a().setItem(te,se)}function ee(te){for(var se=a().length-1;se>=0;se--){var z=a().key(se);te(he(z),z)}}function oe(te){return a().removeItem(te)}function ne(){return a().clear()}},34376:function(bt){(function(mt,Ce){if(1)bt.exports=Ce();else var ye,ze})(window,function(){return function(mt){var Ce={};function ye(ze){if(Ce[ze])return Ce[ze].exports;var a=Ce[ze]={i:ze,l:!1,exports:{}};return mt[ze].call(a.exports,a,a.exports,ye),a.l=!0,a.exports}return ye.m=mt,ye.c=Ce,ye.d=function(ze,a,he){ye.o(ze,a)||Object.defineProperty(ze,a,{enumerable:!0,get:he})},ye.r=function(ze){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(ze,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ze,"__esModule",{value:!0})},ye.t=function(ze,a){if(1&a&&(ze=ye(ze)),8&a||4&a&&typeof ze=="object"&&ze&&ze.__esModule)return ze;var he=Object.create(null);if(ye.r(he),Object.defineProperty(he,"default",{enumerable:!0,value:ze}),2&a&&typeof ze!="string")for(var de in ze)ye.d(he,de,function(ee){return ze[ee]}.bind(null,de));return he},ye.n=function(ze){var a=ze&&ze.__esModule?function(){return ze.default}:function(){return ze};return ye.d(a,"a",a),a},ye.o=function(ze,a){return Object.prototype.hasOwnProperty.call(ze,a)},ye.p="",ye(ye.s=34)}([function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.forwardEvent=Ce.EventEmitter=void 0;var ze=function(){function a(){this._listeners=[],this._disposed=!1}return Object.defineProperty(a.prototype,"event",{get:function(){var he=this;return this._event||(this._event=function(de){return he._listeners.push(de),{dispose:function(){if(!he._disposed){for(var ee=0;ee<he._listeners.length;ee++)if(he._listeners[ee]===de)return void he._listeners.splice(ee,1)}}}}),this._event},enumerable:!1,configurable:!0}),a.prototype.fire=function(he,de){for(var ee=[],oe=0;oe<this._listeners.length;oe++)ee.push(this._listeners[oe]);for(oe=0;oe<ee.length;oe++)ee[oe].call(void 0,he,de)},a.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},a}();Ce.EventEmitter=ze,Ce.forwardEvent=function(a,he){return a(function(de){return he.fire(de)})}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.IUnicodeService=Ce.IOptionsService=Ce.ILogService=Ce.IInstantiationService=Ce.IDirtyRowService=Ce.ICharsetService=Ce.ICoreService=Ce.ICoreMouseService=Ce.IBufferService=void 0;var ze=ye(14);Ce.IBufferService=ze.createDecorator("BufferService"),Ce.ICoreMouseService=ze.createDecorator("CoreMouseService"),Ce.ICoreService=ze.createDecorator("CoreService"),Ce.ICharsetService=ze.createDecorator("CharsetService"),Ce.IDirtyRowService=ze.createDecorator("DirtyRowService"),Ce.IInstantiationService=ze.createDecorator("InstantiationService"),Ce.ILogService=ze.createDecorator("LogService"),Ce.IOptionsService=ze.createDecorator("OptionsService"),Ce.IUnicodeService=ze.createDecorator("UnicodeService")},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.getDisposeArrayDisposable=Ce.disposeArray=Ce.Disposable=void 0;var ze=function(){function he(){this._disposables=[],this._isDisposed=!1}return he.prototype.dispose=function(){this._isDisposed=!0;for(var de=0,ee=this._disposables;de<ee.length;de++)ee[de].dispose();this._disposables.length=0},he.prototype.register=function(de){return this._disposables.push(de),de},he.prototype.unregister=function(de){var ee=this._disposables.indexOf(de);ee!==-1&&this._disposables.splice(ee,1)},he}();function a(he){for(var de=0,ee=he;de<ee.length;de++)ee[de].dispose();he.length=0}Ce.Disposable=ze,Ce.disposeArray=a,Ce.getDisposeArrayDisposable=function(he){return{dispose:function(){return a(he)}}}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.WHITESPACE_CELL_CODE=Ce.WHITESPACE_CELL_WIDTH=Ce.WHITESPACE_CELL_CHAR=Ce.NULL_CELL_CODE=Ce.NULL_CELL_WIDTH=Ce.NULL_CELL_CHAR=Ce.CHAR_DATA_CODE_INDEX=Ce.CHAR_DATA_WIDTH_INDEX=Ce.CHAR_DATA_CHAR_INDEX=Ce.CHAR_DATA_ATTR_INDEX=Ce.DEFAULT_ATTR=Ce.DEFAULT_COLOR=void 0,Ce.DEFAULT_COLOR=256,Ce.DEFAULT_ATTR=256|Ce.DEFAULT_COLOR<<9,Ce.CHAR_DATA_ATTR_INDEX=0,Ce.CHAR_DATA_CHAR_INDEX=1,Ce.CHAR_DATA_WIDTH_INDEX=2,Ce.CHAR_DATA_CODE_INDEX=3,Ce.NULL_CELL_CHAR="",Ce.NULL_CELL_WIDTH=1,Ce.NULL_CELL_CODE=0,Ce.WHITESPACE_CELL_CHAR=" ",Ce.WHITESPACE_CELL_WIDTH=1,Ce.WHITESPACE_CELL_CODE=32},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(ne,te){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,z){se.__proto__=z}||function(se,z){for(var x in z)z.hasOwnProperty(x)&&(se[x]=z[x])})(ne,te)},function(ne,te){function se(){this.constructor=ne}ze(ne,te),ne.prototype=te===null?Object.create(te):(se.prototype=te.prototype,new se)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CellData=void 0;var he=ye(8),de=ye(3),ee=ye(6),oe=function(ne){function te(){var se=ne!==null&&ne.apply(this,arguments)||this;return se.content=0,se.fg=0,se.bg=0,se.extended=new ee.ExtendedAttrs,se.combinedData="",se}return a(te,ne),te.fromCharData=function(se){var z=new te;return z.setFromCharData(se),z},te.prototype.isCombined=function(){return 2097152&this.content},te.prototype.getWidth=function(){return this.content>>22},te.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?he.stringFromCodePoint(2097151&this.content):""},te.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},te.prototype.setFromCharData=function(se){this.fg=se[de.CHAR_DATA_ATTR_INDEX],this.bg=0;var z=!1;if(se[de.CHAR_DATA_CHAR_INDEX].length>2)z=!0;else if(se[de.CHAR_DATA_CHAR_INDEX].length===2){var x=se[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=x&&x<=56319){var b=se[de.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=b&&b<=57343?this.content=1024*(x-55296)+b-56320+65536|se[de.CHAR_DATA_WIDTH_INDEX]<<22:z=!0}else z=!0}else this.content=se[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|se[de.CHAR_DATA_WIDTH_INDEX]<<22;z&&(this.combinedData=se[de.CHAR_DATA_CHAR_INDEX],this.content=2097152|se[de.CHAR_DATA_WIDTH_INDEX]<<22)},te.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},te}(ee.AttributeData);Ce.CellData=oe},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.ISoundService=Ce.ISelectionService=Ce.IRenderService=Ce.IMouseService=Ce.ICoreBrowserService=Ce.ICharSizeService=void 0;var ze=ye(14);Ce.ICharSizeService=ze.createDecorator("CharSizeService"),Ce.ICoreBrowserService=ze.createDecorator("CoreBrowserService"),Ce.IMouseService=ze.createDecorator("MouseService"),Ce.IRenderService=ze.createDecorator("RenderService"),Ce.ISelectionService=ze.createDecorator("SelectionService"),Ce.ISoundService=ze.createDecorator("SoundService")},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.ExtendedAttrs=Ce.AttributeData=void 0;var ze=function(){function he(){this.fg=0,this.bg=0,this.extended=new a}return he.toColorRGB=function(de){return[de>>>16&255,de>>>8&255,255&de]},he.fromColorRGB=function(de){return(255&de[0])<<16|(255&de[1])<<8|255&de[2]},he.prototype.clone=function(){var de=new he;return de.fg=this.fg,de.bg=this.bg,de.extended=this.extended.clone(),de},he.prototype.isInverse=function(){return 67108864&this.fg},he.prototype.isBold=function(){return 134217728&this.fg},he.prototype.isUnderline=function(){return 268435456&this.fg},he.prototype.isBlink=function(){return 536870912&this.fg},he.prototype.isInvisible=function(){return 1073741824&this.fg},he.prototype.isItalic=function(){return 67108864&this.bg},he.prototype.isDim=function(){return 134217728&this.bg},he.prototype.getFgColorMode=function(){return 50331648&this.fg},he.prototype.getBgColorMode=function(){return 50331648&this.bg},he.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},he.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},he.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},he.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},he.prototype.isFgDefault=function(){return(50331648&this.fg)==0},he.prototype.isBgDefault=function(){return(50331648&this.bg)==0},he.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},he.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},he.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},he.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},he.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},he.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},he.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},he.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},he.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},he.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},he.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},he}();Ce.AttributeData=ze;var a=function(){function he(de,ee){de===void 0&&(de=0),ee===void 0&&(ee=-1),this.underlineStyle=de,this.underlineColor=ee}return he.prototype.clone=function(){return new he(this.underlineStyle,this.underlineColor)},he.prototype.isEmpty=function(){return this.underlineStyle===0},he}();Ce.ExtendedAttrs=a},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.addDisposableDomListener=void 0,Ce.addDisposableDomListener=function(ze,a,he,de){ze.addEventListener(a,he,de);var ee=!1;return{dispose:function(){ee||(ee=!0,ze.removeEventListener(a,he,de))}}}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.Utf8ToUtf32=Ce.StringToUtf32=Ce.utf32ToString=Ce.stringFromCodePoint=void 0,Ce.stringFromCodePoint=function(he){return he>65535?(he-=65536,String.fromCharCode(55296+(he>>10))+String.fromCharCode(he%1024+56320)):String.fromCharCode(he)},Ce.utf32ToString=function(he,de,ee){de===void 0&&(de=0),ee===void 0&&(ee=he.length);for(var oe="",ne=de;ne<ee;++ne){var te=he[ne];te>65535?(te-=65536,oe+=String.fromCharCode(55296+(te>>10))+String.fromCharCode(te%1024+56320)):oe+=String.fromCharCode(te)}return oe};var ze=function(){function he(){this._interim=0}return he.prototype.clear=function(){this._interim=0},he.prototype.decode=function(de,ee){var oe=de.length;if(!oe)return 0;var ne=0,te=0;this._interim&&(56320<=(x=de.charCodeAt(te++))&&x<=57343?ee[ne++]=1024*(this._interim-55296)+x-56320+65536:(ee[ne++]=this._interim,ee[ne++]=x),this._interim=0);for(var se=te;se<oe;++se){var z=de.charCodeAt(se);if(55296<=z&&z<=56319){if(++se>=oe)return this._interim=z,ne;var x;56320<=(x=de.charCodeAt(se))&&x<=57343?ee[ne++]=1024*(z-55296)+x-56320+65536:(ee[ne++]=z,ee[ne++]=x)}else ee[ne++]=z}return ne},he}();Ce.StringToUtf32=ze;var a=function(){function he(){this.interim=new Uint8Array(3)}return he.prototype.clear=function(){this.interim.fill(0)},he.prototype.decode=function(de,ee){var oe=de.length;if(!oe)return 0;var ne,te,se,z,x=0,b=0,E=0;if(this.interim[0]){var re=!1,ae=this.interim[0];ae&=(224&ae)==192?31:(240&ae)==224?15:7;for(var le=0,fe=void 0;(fe=63&this.interim[++le])&&le<4;)ae<<=6,ae|=fe;for(var ce=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,ue=ce-le;E<ue;){if(E>=oe)return 0;if((192&(fe=de[E++]))!=128){E--,re=!0;break}this.interim[le++]=fe,ae<<=6,ae|=63&fe}re||(ce===2?ae<128?E--:ee[x++]=ae:ce===3?ae<2048||ae>=55296&&ae<=57343||(ee[x++]=ae):ae<65536||ae>1114111||(ee[x++]=ae)),this.interim.fill(0)}for(var ge=oe-4,_e=E;_e<oe;){for(;!(!(_e<ge)||128&(ne=de[_e])||128&(te=de[_e+1])||128&(se=de[_e+2])||128&(z=de[_e+3]));)ee[x++]=ne,ee[x++]=te,ee[x++]=se,ee[x++]=z,_e+=4;if((ne=de[_e++])<128)ee[x++]=ne;else if((224&ne)==192){if(_e>=oe)return this.interim[0]=ne,x;if((192&(te=de[_e++]))!=128){_e--;continue}if((b=(31&ne)<<6|63&te)<128){_e--;continue}ee[x++]=b}else if((240&ne)==224){if(_e>=oe)return this.interim[0]=ne,x;if((192&(te=de[_e++]))!=128){_e--;continue}if(_e>=oe)return this.interim[0]=ne,this.interim[1]=te,x;if((192&(se=de[_e++]))!=128){_e--;continue}if((b=(15&ne)<<12|(63&te)<<6|63&se)<2048||b>=55296&&b<=57343)continue;ee[x++]=b}else if((248&ne)==240){if(_e>=oe)return this.interim[0]=ne,x;if((192&(te=de[_e++]))!=128){_e--;continue}if(_e>=oe)return this.interim[0]=ne,this.interim[1]=te,x;if((192&(se=de[_e++]))!=128){_e--;continue}if(_e>=oe)return this.interim[0]=ne,this.interim[1]=te,this.interim[2]=se,x;if((192&(z=de[_e++]))!=128){_e--;continue}if((b=(7&ne)<<18|(63&te)<<12|(63&se)<<6|63&z)<65536||b>1114111)continue;ee[x++]=b}}return x},he}();Ce.Utf8ToUtf32=a},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CHAR_ATLAS_CELL_SPACING=Ce.DIM_OPACITY=Ce.INVERTED_DEFAULT_COLOR=void 0,Ce.INVERTED_DEFAULT_COLOR=257,Ce.DIM_OPACITY=.5,Ce.CHAR_ATLAS_CELL_SPACING=1},function(mt,Ce,ye){"use strict";var ze,a,he,de;function ee(ne){var te=ne.toString(16);return te.length<2?"0"+te:te}function oe(ne,te){return ne<te?(te+.05)/(ne+.05):(ne+.05)/(te+.05)}Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.contrastRatio=Ce.toPaddedHex=Ce.rgba=Ce.rgb=Ce.css=Ce.color=Ce.channels=void 0,function(ne){ne.toCss=function(te,se,z,x){return x!==void 0?"#"+ee(te)+ee(se)+ee(z)+ee(x):"#"+ee(te)+ee(se)+ee(z)},ne.toRgba=function(te,se,z,x){return x===void 0&&(x=255),(te<<24|se<<16|z<<8|x)>>>0}}(ze=Ce.channels||(Ce.channels={})),(a=Ce.color||(Ce.color={})).blend=function(ne,te){var se=(255&te.rgba)/255;if(se===1)return{css:te.css,rgba:te.rgba};var z=te.rgba>>24&255,x=te.rgba>>16&255,b=te.rgba>>8&255,E=ne.rgba>>24&255,re=ne.rgba>>16&255,ae=ne.rgba>>8&255,le=E+Math.round((z-E)*se),fe=re+Math.round((x-re)*se),ce=ae+Math.round((b-ae)*se);return{css:ze.toCss(le,fe,ce),rgba:ze.toRgba(le,fe,ce)}},a.isOpaque=function(ne){return(255&ne.rgba)==255},a.ensureContrastRatio=function(ne,te,se){var z=de.ensureContrastRatio(ne.rgba,te.rgba,se);if(z)return de.toColor(z>>24&255,z>>16&255,z>>8&255)},a.opaque=function(ne){var te=(255|ne.rgba)>>>0,se=de.toChannels(te),z=se[0],x=se[1],b=se[2];return{css:ze.toCss(z,x,b),rgba:te}},a.opacity=function(ne,te){var se=Math.round(255*te),z=de.toChannels(ne.rgba),x=z[0],b=z[1],E=z[2];return{css:ze.toCss(x,b,E,se),rgba:ze.toRgba(x,b,E,se)}},(Ce.css||(Ce.css={})).toColor=function(ne){switch(ne.length){case 7:return{css:ne,rgba:(parseInt(ne.slice(1),16)<<8|255)>>>0};case 9:return{css:ne,rgba:parseInt(ne.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(ne){function te(se,z,x){var b=se/255,E=z/255,re=x/255;return .2126*(b<=.03928?b/12.92:Math.pow((b+.055)/1.055,2.4))+.7152*(E<=.03928?E/12.92:Math.pow((E+.055)/1.055,2.4))+.0722*(re<=.03928?re/12.92:Math.pow((re+.055)/1.055,2.4))}ne.relativeLuminance=function(se){return te(se>>16&255,se>>8&255,255&se)},ne.relativeLuminance2=te}(he=Ce.rgb||(Ce.rgb={})),function(ne){function te(z,x,b){for(var E=z>>24&255,re=z>>16&255,ae=z>>8&255,le=x>>24&255,fe=x>>16&255,ce=x>>8&255,ue=oe(he.relativeLuminance2(le,ce,fe),he.relativeLuminance2(E,re,ae));ue<b&&(le>0||fe>0||ce>0);)le-=Math.max(0,Math.ceil(.1*le)),fe-=Math.max(0,Math.ceil(.1*fe)),ce-=Math.max(0,Math.ceil(.1*ce)),ue=oe(he.relativeLuminance2(le,ce,fe),he.relativeLuminance2(E,re,ae));return(le<<24|fe<<16|ce<<8|255)>>>0}function se(z,x,b){for(var E=z>>24&255,re=z>>16&255,ae=z>>8&255,le=x>>24&255,fe=x>>16&255,ce=x>>8&255,ue=oe(he.relativeLuminance2(le,ce,fe),he.relativeLuminance2(E,re,ae));ue<b&&(le<255||fe<255||ce<255);)le=Math.min(255,le+Math.ceil(.1*(255-le))),fe=Math.min(255,fe+Math.ceil(.1*(255-fe))),ce=Math.min(255,ce+Math.ceil(.1*(255-ce))),ue=oe(he.relativeLuminance2(le,ce,fe),he.relativeLuminance2(E,re,ae));return(le<<24|fe<<16|ce<<8|255)>>>0}ne.ensureContrastRatio=function(z,x,b){var E=he.relativeLuminance(z>>8),re=he.relativeLuminance(x>>8);if(oe(E,re)<b)return re<E?te(z,x,b):se(z,x,b)},ne.reduceLuminance=te,ne.increaseLuminance=se,ne.toChannels=function(z){return[z>>24&255,z>>16&255,z>>8&255,255&z]},ne.toColor=function(z,x,b){return{css:ze.toCss(z,x,b),rgba:ze.toRgba(z,x,b)}}}(de=Ce.rgba||(Ce.rgba={})),Ce.toPaddedHex=ee,Ce.contrastRatio=oe},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.isLinux=Ce.isWindows=Ce.isIphone=Ce.isIpad=Ce.isMac=Ce.isSafari=Ce.isFirefox=void 0;var ze=typeof navigator=="undefined",a=ze?"node":navigator.userAgent,he=ze?"node":navigator.platform;function de(ee,oe){return ee.indexOf(oe)>=0}Ce.isFirefox=!!~a.indexOf("Firefox"),Ce.isSafari=/^((?!chrome|android).)*safari/i.test(a),Ce.isMac=de(["Macintosh","MacIntel","MacPPC","Mac68K"],he),Ce.isIpad=he==="iPad",Ce.isIphone=he==="iPhone",Ce.isWindows=de(["Windows","Win16","Win32","WinCE"],he),Ce.isLinux=he.indexOf("Linux")>=0},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.C1=Ce.C0=void 0,function(ze){ze.NUL="\0",ze.SOH="",ze.STX="",ze.ETX="",ze.EOT="",ze.ENQ="",ze.ACK="",ze.BEL="\x07",ze.BS="\b",ze.HT=" ",ze.LF=`
`,ze.VT="\v",ze.FF="\f",ze.CR="\r",ze.SO="",ze.SI="",ze.DLE="",ze.DC1="",ze.DC2="",ze.DC3="",ze.DC4="",ze.NAK="",ze.SYN="",ze.ETB="",ze.CAN="",ze.EM="",ze.SUB="",ze.ESC="\x1B",ze.FS="",ze.GS="",ze.RS="",ze.US="",ze.SP=" ",ze.DEL="\x7F"}(Ce.C0||(Ce.C0={})),function(ze){ze.PAD="\x80",ze.HOP="\x81",ze.BPH="\x82",ze.NBH="\x83",ze.IND="\x84",ze.NEL="\x85",ze.SSA="\x86",ze.ESA="\x87",ze.HTS="\x88",ze.HTJ="\x89",ze.VTS="\x8A",ze.PLD="\x8B",ze.PLU="\x8C",ze.RI="\x8D",ze.SS2="\x8E",ze.SS3="\x8F",ze.DCS="\x90",ze.PU1="\x91",ze.PU2="\x92",ze.STS="\x93",ze.CCH="\x94",ze.MW="\x95",ze.SPA="\x96",ze.EPA="\x97",ze.SOS="\x98",ze.SGCI="\x99",ze.SCI="\x9A",ze.CSI="\x9B",ze.ST="\x9C",ze.OSC="\x9D",ze.PM="\x9E",ze.APC="\x9F"}(Ce.C1||(Ce.C1={}))},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.BaseRenderLayer=void 0;var ze=ye(3),a=ye(9),he=ye(25),de=ye(6),ee=ye(28),oe=ye(10),ne=ye(17),te=function(){function se(z,x,b,E,re,ae,le,fe){this._container=z,this._alpha=E,this._colors=re,this._rendererId=ae,this._bufferService=le,this._optionsService=fe,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+x+"-layer"),this._canvas.style.zIndex=b.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return se.prototype.dispose=function(){var z;ne.removeElementFromParent(this._canvas),(z=this._charAtlas)===null||z===void 0||z.dispose()},se.prototype._initCanvas=function(){this._ctx=ee.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},se.prototype.onOptionsChanged=function(){},se.prototype.onBlur=function(){},se.prototype.onFocus=function(){},se.prototype.onCursorMove=function(){},se.prototype.onGridChanged=function(z,x){},se.prototype.onSelectionChanged=function(z,x,b){b===void 0&&(b=!1)},se.prototype.setColors=function(z){this._refreshCharAtlas(z)},se.prototype._setTransparency=function(z){if(z!==this._alpha){var x=this._canvas;this._alpha=z,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,x),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},se.prototype._refreshCharAtlas=function(z){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=he.acquireCharAtlas(this._optionsService.options,this._rendererId,z,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},se.prototype.resize=function(z){this._scaledCellWidth=z.scaledCellWidth,this._scaledCellHeight=z.scaledCellHeight,this._scaledCharWidth=z.scaledCharWidth,this._scaledCharHeight=z.scaledCharHeight,this._scaledCharLeft=z.scaledCharLeft,this._scaledCharTop=z.scaledCharTop,this._canvas.width=z.scaledCanvasWidth,this._canvas.height=z.scaledCanvasHeight,this._canvas.style.width=z.canvasWidth+"px",this._canvas.style.height=z.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},se.prototype._fillCells=function(z,x,b,E){this._ctx.fillRect(z*this._scaledCellWidth,x*this._scaledCellHeight,b*this._scaledCellWidth,E*this._scaledCellHeight)},se.prototype._fillBottomLineAtCells=function(z,x,b){b===void 0&&(b=1),this._ctx.fillRect(z*this._scaledCellWidth,(x+1)*this._scaledCellHeight-window.devicePixelRatio-1,b*this._scaledCellWidth,window.devicePixelRatio)},se.prototype._fillLeftLineAtCell=function(z,x,b){this._ctx.fillRect(z*this._scaledCellWidth,x*this._scaledCellHeight,window.devicePixelRatio*b,this._scaledCellHeight)},se.prototype._strokeRectAtCell=function(z,x,b,E){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(z*this._scaledCellWidth+window.devicePixelRatio/2,x*this._scaledCellHeight+window.devicePixelRatio/2,b*this._scaledCellWidth-window.devicePixelRatio,E*this._scaledCellHeight-window.devicePixelRatio)},se.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},se.prototype._clearCells=function(z,x,b,E){this._alpha?this._ctx.clearRect(z*this._scaledCellWidth,x*this._scaledCellHeight,b*this._scaledCellWidth,E*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(z*this._scaledCellWidth,x*this._scaledCellHeight,b*this._scaledCellWidth,E*this._scaledCellHeight))},se.prototype._fillCharTrueColor=function(z,x,b){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(b),this._ctx.fillText(z.getChars(),x*this._scaledCellWidth+this._scaledCharLeft,b*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},se.prototype._drawChars=function(z,x,b){var E,re,ae=this._getContrastColor(z);ae||z.isFgRGB()||z.isBgRGB()?this._drawUncachedChars(z,x,b,ae):(z.isInverse()?(E=z.isBgDefault()?a.INVERTED_DEFAULT_COLOR:z.getBgColor(),re=z.isFgDefault()?a.INVERTED_DEFAULT_COLOR:z.getFgColor()):(re=z.isBgDefault()?ze.DEFAULT_COLOR:z.getBgColor(),E=z.isFgDefault()?ze.DEFAULT_COLOR:z.getFgColor()),E+=this._optionsService.options.drawBoldTextInBrightColors&&z.isBold()&&E<8?8:0,this._currentGlyphIdentifier.chars=z.getChars()||ze.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=z.getCode()||ze.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=re,this._currentGlyphIdentifier.fg=E,this._currentGlyphIdentifier.bold=!!z.isBold(),this._currentGlyphIdentifier.dim=!!z.isDim(),this._currentGlyphIdentifier.italic=!!z.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,x*this._scaledCellWidth+this._scaledCharLeft,b*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(z,x,b))},se.prototype._drawUncachedChars=function(z,x,b,E){if(this._ctx.save(),this._ctx.font=this._getFont(!!z.isBold(),!!z.isItalic()),this._ctx.textBaseline="middle",z.isInverse())if(E)this._ctx.fillStyle=E.css;else if(z.isBgDefault())this._ctx.fillStyle=oe.color.opaque(this._colors.background).css;else if(z.isBgRGB())this._ctx.fillStyle="rgb("+de.AttributeData.toColorRGB(z.getBgColor()).join(",")+")";else{var re=z.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&z.isBold()&&re<8&&(re+=8),this._ctx.fillStyle=this._colors.ansi[re].css}else if(E)this._ctx.fillStyle=E.css;else if(z.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(z.isFgRGB())this._ctx.fillStyle="rgb("+de.AttributeData.toColorRGB(z.getFgColor()).join(",")+")";else{var ae=z.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&z.isBold()&&ae<8&&(ae+=8),this._ctx.fillStyle=this._colors.ansi[ae].css}this._clipRow(b),z.isDim()&&(this._ctx.globalAlpha=a.DIM_OPACITY),this._ctx.fillText(z.getChars(),x*this._scaledCellWidth+this._scaledCharLeft,b*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},se.prototype._clipRow=function(z){this._ctx.beginPath(),this._ctx.rect(0,z*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},se.prototype._getFont=function(z,x){return(x?"italic":"")+" "+(z?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},se.prototype._getContrastColor=function(z){if(this._optionsService.options.minimumContrastRatio!==1){var x=this._colors.contrastCache.getColor(z.bg,z.fg);if(x!==void 0)return x||void 0;var b=z.getFgColor(),E=z.getFgColorMode(),re=z.getBgColor(),ae=z.getBgColorMode(),le=!!z.isInverse(),fe=!!z.isInverse();if(le){var ce=b;b=re,re=ce;var ue=E;E=ae,ae=ue}var ge=this._resolveBackgroundRgba(ae,re,le),_e=this._resolveForegroundRgba(E,b,le,fe),we=oe.rgba.ensureContrastRatio(ge,_e,this._optionsService.options.minimumContrastRatio);if(we){var xe={css:oe.channels.toCss(we>>24&255,we>>16&255,we>>8&255),rgba:we};return this._colors.contrastCache.setColor(z.bg,z.fg,xe),xe}this._colors.contrastCache.setColor(z.bg,z.fg,null)}},se.prototype._resolveBackgroundRgba=function(z,x,b){switch(z){case 16777216:case 33554432:return this._colors.ansi[x].rgba;case 50331648:return x<<8;case 0:default:return b?this._colors.foreground.rgba:this._colors.background.rgba}},se.prototype._resolveForegroundRgba=function(z,x,b,E){switch(z){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&E&&x<8&&(x+=8),this._colors.ansi[x].rgba;case 50331648:return x<<8;case 0:default:return b?this._colors.background.rgba:this._colors.foreground.rgba}},se}();Ce.BaseRenderLayer=te},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.createDecorator=Ce.getServiceDependencies=Ce.serviceRegistry=void 0;function ze(a,he,de){he.di$target===he?he.di$dependencies.push({id:a,index:de}):(he.di$dependencies=[{id:a,index:de}],he.di$target=he)}Ce.serviceRegistry=new Map,Ce.getServiceDependencies=function(a){return a.di$dependencies||[]},Ce.createDecorator=function(a){if(Ce.serviceRegistry.has(a))return Ce.serviceRegistry.get(a);var he=function(de,ee,oe){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");ze(he,de,oe)};return he.toString=function(){return a},Ce.serviceRegistry.set(a,he),he}},function(mt,Ce,ye){"use strict";function ze(a,he,de,ee){if(de===void 0&&(de=0),ee===void 0&&(ee=a.length),de>=a.length)return a;de=(a.length+de)%a.length,ee=ee>=a.length?a.length:(a.length+ee)%a.length;for(var oe=de;oe<ee;++oe)a[oe]=he;return a}Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.concat=Ce.fillFallback=Ce.fill=void 0,Ce.fill=function(a,he,de,ee){return a.fill?a.fill(he,de,ee):ze(a,he,de,ee)},Ce.fillFallback=ze,Ce.concat=function(a,he){var de=new a.constructor(a.length+he.length);return de.set(a),de.set(he,a.length),de}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.BufferLine=Ce.DEFAULT_ATTR_DATA=void 0;var ze=ye(8),a=ye(3),he=ye(4),de=ye(6);Ce.DEFAULT_ATTR_DATA=Object.freeze(new de.AttributeData);var ee=function(){function oe(ne,te,se){se===void 0&&(se=!1),this.isWrapped=se,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*ne);for(var z=te||he.CellData.fromCharData([0,a.NULL_CELL_CHAR,a.NULL_CELL_WIDTH,a.NULL_CELL_CODE]),x=0;x<ne;++x)this.setCell(x,z);this.length=ne}return oe.prototype.get=function(ne){var te=this._data[3*ne+0],se=2097151&te;return[this._data[3*ne+1],2097152&te?this._combined[ne]:se?ze.stringFromCodePoint(se):"",te>>22,2097152&te?this._combined[ne].charCodeAt(this._combined[ne].length-1):se]},oe.prototype.set=function(ne,te){this._data[3*ne+1]=te[a.CHAR_DATA_ATTR_INDEX],te[a.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[ne]=te[1],this._data[3*ne+0]=2097152|ne|te[a.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*ne+0]=te[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|te[a.CHAR_DATA_WIDTH_INDEX]<<22},oe.prototype.getWidth=function(ne){return this._data[3*ne+0]>>22},oe.prototype.hasWidth=function(ne){return 12582912&this._data[3*ne+0]},oe.prototype.getFg=function(ne){return this._data[3*ne+1]},oe.prototype.getBg=function(ne){return this._data[3*ne+2]},oe.prototype.hasContent=function(ne){return 4194303&this._data[3*ne+0]},oe.prototype.getCodePoint=function(ne){var te=this._data[3*ne+0];return 2097152&te?this._combined[ne].charCodeAt(this._combined[ne].length-1):2097151&te},oe.prototype.isCombined=function(ne){return 2097152&this._data[3*ne+0]},oe.prototype.getString=function(ne){var te=this._data[3*ne+0];return 2097152&te?this._combined[ne]:2097151&te?ze.stringFromCodePoint(2097151&te):""},oe.prototype.loadCell=function(ne,te){var se=3*ne;return te.content=this._data[se+0],te.fg=this._data[se+1],te.bg=this._data[se+2],2097152&te.content&&(te.combinedData=this._combined[ne]),268435456&te.bg&&(te.extended=this._extendedAttrs[ne]),te},oe.prototype.setCell=function(ne,te){2097152&te.content&&(this._combined[ne]=te.combinedData),268435456&te.bg&&(this._extendedAttrs[ne]=te.extended),this._data[3*ne+0]=te.content,this._data[3*ne+1]=te.fg,this._data[3*ne+2]=te.bg},oe.prototype.setCellFromCodePoint=function(ne,te,se,z,x,b){268435456&x&&(this._extendedAttrs[ne]=b),this._data[3*ne+0]=te|se<<22,this._data[3*ne+1]=z,this._data[3*ne+2]=x},oe.prototype.addCodepointToCell=function(ne,te){var se=this._data[3*ne+0];2097152&se?this._combined[ne]+=ze.stringFromCodePoint(te):(2097151&se?(this._combined[ne]=ze.stringFromCodePoint(2097151&se)+ze.stringFromCodePoint(te),se&=-2097152,se|=2097152):se=te|1<<22,this._data[3*ne+0]=se)},oe.prototype.insertCells=function(ne,te,se,z){if((ne%=this.length)&&this.getWidth(ne-1)===2&&this.setCellFromCodePoint(ne-1,0,1,(z==null?void 0:z.fg)||0,(z==null?void 0:z.bg)||0,(z==null?void 0:z.extended)||new de.ExtendedAttrs),te<this.length-ne){for(var x=new he.CellData,b=this.length-ne-te-1;b>=0;--b)this.setCell(ne+te+b,this.loadCell(ne+b,x));for(b=0;b<te;++b)this.setCell(ne+b,se)}else for(b=ne;b<this.length;++b)this.setCell(b,se);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(z==null?void 0:z.fg)||0,(z==null?void 0:z.bg)||0,(z==null?void 0:z.extended)||new de.ExtendedAttrs)},oe.prototype.deleteCells=function(ne,te,se,z){if(ne%=this.length,te<this.length-ne){for(var x=new he.CellData,b=0;b<this.length-ne-te;++b)this.setCell(ne+b,this.loadCell(ne+te+b,x));for(b=this.length-te;b<this.length;++b)this.setCell(b,se)}else for(b=ne;b<this.length;++b)this.setCell(b,se);ne&&this.getWidth(ne-1)===2&&this.setCellFromCodePoint(ne-1,0,1,(z==null?void 0:z.fg)||0,(z==null?void 0:z.bg)||0,(z==null?void 0:z.extended)||new de.ExtendedAttrs),this.getWidth(ne)!==0||this.hasContent(ne)||this.setCellFromCodePoint(ne,0,1,(z==null?void 0:z.fg)||0,(z==null?void 0:z.bg)||0,(z==null?void 0:z.extended)||new de.ExtendedAttrs)},oe.prototype.replaceCells=function(ne,te,se,z){for(ne&&this.getWidth(ne-1)===2&&this.setCellFromCodePoint(ne-1,0,1,(z==null?void 0:z.fg)||0,(z==null?void 0:z.bg)||0,(z==null?void 0:z.extended)||new de.ExtendedAttrs),te<this.length&&this.getWidth(te-1)===2&&this.setCellFromCodePoint(te,0,1,(z==null?void 0:z.fg)||0,(z==null?void 0:z.bg)||0,(z==null?void 0:z.extended)||new de.ExtendedAttrs);ne<te&&ne<this.length;)this.setCell(ne++,se)},oe.prototype.resize=function(ne,te){if(ne!==this.length){if(ne>this.length){var se=new Uint32Array(3*ne);this.length&&(3*ne<this._data.length?se.set(this._data.subarray(0,3*ne)):se.set(this._data)),this._data=se;for(var z=this.length;z<ne;++z)this.setCell(z,te)}else if(ne){(se=new Uint32Array(3*ne)).set(this._data.subarray(0,3*ne)),this._data=se;var x=Object.keys(this._combined);for(z=0;z<x.length;z++){var b=parseInt(x[z],10);b>=ne&&delete this._combined[b]}}else this._data=new Uint32Array(0),this._combined={};this.length=ne}},oe.prototype.fill=function(ne){this._combined={},this._extendedAttrs={};for(var te=0;te<this.length;++te)this.setCell(te,ne)},oe.prototype.copyFrom=function(ne){for(var te in this.length!==ne.length?this._data=new Uint32Array(ne._data):this._data.set(ne._data),this.length=ne.length,this._combined={},ne._combined)this._combined[te]=ne._combined[te];for(var te in this._extendedAttrs={},ne._extendedAttrs)this._extendedAttrs[te]=ne._extendedAttrs[te];this.isWrapped=ne.isWrapped},oe.prototype.clone=function(){var ne=new oe(0);for(var te in ne._data=new Uint32Array(this._data),ne.length=this.length,this._combined)ne._combined[te]=this._combined[te];for(var te in this._extendedAttrs)ne._extendedAttrs[te]=this._extendedAttrs[te];return ne.isWrapped=this.isWrapped,ne},oe.prototype.getTrimmedLength=function(){for(var ne=this.length-1;ne>=0;--ne)if(4194303&this._data[3*ne+0])return ne+(this._data[3*ne+0]>>22);return 0},oe.prototype.copyCellsFrom=function(ne,te,se,z,x){var b=ne._data;if(x)for(var E=z-1;E>=0;E--)for(var re=0;re<3;re++)this._data[3*(se+E)+re]=b[3*(te+E)+re];else for(E=0;E<z;E++)for(re=0;re<3;re++)this._data[3*(se+E)+re]=b[3*(te+E)+re];var ae=Object.keys(ne._combined);for(re=0;re<ae.length;re++){var le=parseInt(ae[re],10);le>=te&&(this._combined[le-te+se]=ne._combined[le])}},oe.prototype.translateToString=function(ne,te,se){ne===void 0&&(ne=!1),te===void 0&&(te=0),se===void 0&&(se=this.length),ne&&(se=Math.min(se,this.getTrimmedLength()));for(var z="";te<se;){var x=this._data[3*te+0],b=2097151&x;z+=2097152&x?this._combined[te]:b?ze.stringFromCodePoint(b):a.WHITESPACE_CELL_CHAR,te+=x>>22||1}return z},oe}();Ce.BufferLine=ee},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.removeElementFromParent=void 0,Ce.removeElementFromParent=function(){for(var ze,a=[],he=0;he<arguments.length;he++)a[he]=arguments[he];for(var de=0,ee=a;de<ee.length;de++){var oe=ee[de];(ze=oe==null?void 0:oe.parentElement)===null||ze===void 0||ze.removeChild(oe)}}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.tooMuchOutput=Ce.promptLabel=void 0,Ce.promptLabel="Terminal input",Ce.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(_e,we){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(xe,ve){xe.__proto__=ve}||function(xe,ve){for(var Se in ve)ve.hasOwnProperty(Se)&&(xe[Se]=ve[Se])})(_e,we)},function(_e,we){function xe(){this.constructor=_e}ze(_e,we),_e.prototype=we===null?Object.create(we):(xe.prototype=we.prototype,new xe)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.InputHandler=Ce.WindowsOptionsReportType=void 0;var he,de=ye(12),ee=ye(20),oe=ye(39),ne=ye(2),te=ye(15),se=ye(8),z=ye(16),x=ye(0),b=ye(3),E=ye(4),re=ye(6),ae=ye(22),le=ye(24),fe={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function ce(_e,we){if(_e>24)return we.setWinLines||!1;switch(_e){case 1:return!!we.restoreWin;case 2:return!!we.minimizeWin;case 3:return!!we.setWinPosition;case 4:return!!we.setWinSizePixels;case 5:return!!we.raiseWin;case 6:return!!we.lowerWin;case 7:return!!we.refreshWin;case 8:return!!we.setWinSizeChars;case 9:return!!we.maximizeWin;case 10:return!!we.fullscreenWin;case 11:return!!we.getWinState;case 13:return!!we.getWinPosition;case 14:return!!we.getWinSizePixels;case 15:return!!we.getScreenSizePixels;case 16:return!!we.getCellSizePixels;case 18:return!!we.getWinSizeChars;case 19:return!!we.getScreenSizeChars;case 20:return!!we.getIconTitle;case 21:return!!we.getWinTitle;case 22:return!!we.pushTitle;case 23:return!!we.popTitle;case 24:return!!we.setWinLines}return!1}(function(_e){_e[_e.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",_e[_e.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(he=Ce.WindowsOptionsReportType||(Ce.WindowsOptionsReportType={}));var ue=function(){function _e(we,xe,ve,Se){this._bufferService=we,this._coreService=xe,this._logService=ve,this._optionsService=Se,this._data=new Uint32Array(0)}return _e.prototype.hook=function(we){this._data=new Uint32Array(0)},_e.prototype.put=function(we,xe,ve){this._data=te.concat(this._data,we.subarray(xe,ve))},_e.prototype.unhook=function(we){if(we){var xe=se.utf32ToString(this._data);switch(this._data=new Uint32Array(0),xe){case'"q':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r0"q'+de.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r61;1"p'+de.C0.ESC+"\\");case"r":var ve=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r"+ve+de.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r0m"+de.C0.ESC+"\\");case" q":var Se={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return Se-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(de.C0.ESC+"P1$r"+Se+" q"+de.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",xe),this._coreService.triggerDataEvent(de.C0.ESC+"P0$r"+de.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},_e}(),ge=function(_e){function we(xe,ve,Se,be,Ae,Te,je,ke,Pe){Pe===void 0&&(Pe=new oe.EscapeSequenceParser);var Oe=_e.call(this)||this;Oe._bufferService=xe,Oe._charsetService=ve,Oe._coreService=Se,Oe._dirtyRowService=be,Oe._logService=Ae,Oe._optionsService=Te,Oe._coreMouseService=je,Oe._unicodeService=ke,Oe._parser=Pe,Oe._parseBuffer=new Uint32Array(4096),Oe._stringDecoder=new se.StringToUtf32,Oe._utf8Decoder=new se.Utf8ToUtf32,Oe._workCell=new E.CellData,Oe._windowTitle="",Oe._iconName="",Oe._windowTitleStack=[],Oe._iconNameStack=[],Oe._curAttrData=z.DEFAULT_ATTR_DATA.clone(),Oe._eraseAttrDataInternal=z.DEFAULT_ATTR_DATA.clone(),Oe._onRequestBell=new x.EventEmitter,Oe._onRequestRefreshRows=new x.EventEmitter,Oe._onRequestReset=new x.EventEmitter,Oe._onRequestScroll=new x.EventEmitter,Oe._onRequestSyncScrollBar=new x.EventEmitter,Oe._onRequestWindowsOptionsReport=new x.EventEmitter,Oe._onA11yChar=new x.EventEmitter,Oe._onA11yTab=new x.EventEmitter,Oe._onCursorMove=new x.EventEmitter,Oe._onLineFeed=new x.EventEmitter,Oe._onScroll=new x.EventEmitter,Oe._onTitleChange=new x.EventEmitter,Oe.register(Oe._parser),Oe._parser.setCsiHandlerFallback(function(Me,We){Oe._logService.debug("Unknown CSI code: ",{identifier:Oe._parser.identToString(Me),params:We.toArray()})}),Oe._parser.setEscHandlerFallback(function(Me){Oe._logService.debug("Unknown ESC code: ",{identifier:Oe._parser.identToString(Me)})}),Oe._parser.setExecuteHandlerFallback(function(Me){Oe._logService.debug("Unknown EXECUTE code: ",{code:Me})}),Oe._parser.setOscHandlerFallback(function(Me,We,it){Oe._logService.debug("Unknown OSC code: ",{identifier:Me,action:We,data:it})}),Oe._parser.setDcsHandlerFallback(function(Me,We,it){We==="HOOK"&&(it=it.toArray()),Oe._logService.debug("Unknown DCS code: ",{identifier:Oe._parser.identToString(Me),action:We,payload:it})}),Oe._parser.setPrintHandler(function(Me,We,it){return Oe.print(Me,We,it)}),Oe._parser.setCsiHandler({final:"@"},function(Me){return Oe.insertChars(Me)}),Oe._parser.setCsiHandler({intermediates:" ",final:"@"},function(Me){return Oe.scrollLeft(Me)}),Oe._parser.setCsiHandler({final:"A"},function(Me){return Oe.cursorUp(Me)}),Oe._parser.setCsiHandler({intermediates:" ",final:"A"},function(Me){return Oe.scrollRight(Me)}),Oe._parser.setCsiHandler({final:"B"},function(Me){return Oe.cursorDown(Me)}),Oe._parser.setCsiHandler({final:"C"},function(Me){return Oe.cursorForward(Me)}),Oe._parser.setCsiHandler({final:"D"},function(Me){return Oe.cursorBackward(Me)}),Oe._parser.setCsiHandler({final:"E"},function(Me){return Oe.cursorNextLine(Me)}),Oe._parser.setCsiHandler({final:"F"},function(Me){return Oe.cursorPrecedingLine(Me)}),Oe._parser.setCsiHandler({final:"G"},function(Me){return Oe.cursorCharAbsolute(Me)}),Oe._parser.setCsiHandler({final:"H"},function(Me){return Oe.cursorPosition(Me)}),Oe._parser.setCsiHandler({final:"I"},function(Me){return Oe.cursorForwardTab(Me)}),Oe._parser.setCsiHandler({final:"J"},function(Me){return Oe.eraseInDisplay(Me)}),Oe._parser.setCsiHandler({prefix:"?",final:"J"},function(Me){return Oe.eraseInDisplay(Me)}),Oe._parser.setCsiHandler({final:"K"},function(Me){return Oe.eraseInLine(Me)}),Oe._parser.setCsiHandler({prefix:"?",final:"K"},function(Me){return Oe.eraseInLine(Me)}),Oe._parser.setCsiHandler({final:"L"},function(Me){return Oe.insertLines(Me)}),Oe._parser.setCsiHandler({final:"M"},function(Me){return Oe.deleteLines(Me)}),Oe._parser.setCsiHandler({final:"P"},function(Me){return Oe.deleteChars(Me)}),Oe._parser.setCsiHandler({final:"S"},function(Me){return Oe.scrollUp(Me)}),Oe._parser.setCsiHandler({final:"T"},function(Me){return Oe.scrollDown(Me)}),Oe._parser.setCsiHandler({final:"X"},function(Me){return Oe.eraseChars(Me)}),Oe._parser.setCsiHandler({final:"Z"},function(Me){return Oe.cursorBackwardTab(Me)}),Oe._parser.setCsiHandler({final:"`"},function(Me){return Oe.charPosAbsolute(Me)}),Oe._parser.setCsiHandler({final:"a"},function(Me){return Oe.hPositionRelative(Me)}),Oe._parser.setCsiHandler({final:"b"},function(Me){return Oe.repeatPrecedingCharacter(Me)}),Oe._parser.setCsiHandler({final:"c"},function(Me){return Oe.sendDeviceAttributesPrimary(Me)}),Oe._parser.setCsiHandler({prefix:">",final:"c"},function(Me){return Oe.sendDeviceAttributesSecondary(Me)}),Oe._parser.setCsiHandler({final:"d"},function(Me){return Oe.linePosAbsolute(Me)}),Oe._parser.setCsiHandler({final:"e"},function(Me){return Oe.vPositionRelative(Me)}),Oe._parser.setCsiHandler({final:"f"},function(Me){return Oe.hVPosition(Me)}),Oe._parser.setCsiHandler({final:"g"},function(Me){return Oe.tabClear(Me)}),Oe._parser.setCsiHandler({final:"h"},function(Me){return Oe.setMode(Me)}),Oe._parser.setCsiHandler({prefix:"?",final:"h"},function(Me){return Oe.setModePrivate(Me)}),Oe._parser.setCsiHandler({final:"l"},function(Me){return Oe.resetMode(Me)}),Oe._parser.setCsiHandler({prefix:"?",final:"l"},function(Me){return Oe.resetModePrivate(Me)}),Oe._parser.setCsiHandler({final:"m"},function(Me){return Oe.charAttributes(Me)}),Oe._parser.setCsiHandler({final:"n"},function(Me){return Oe.deviceStatus(Me)}),Oe._parser.setCsiHandler({prefix:"?",final:"n"},function(Me){return Oe.deviceStatusPrivate(Me)}),Oe._parser.setCsiHandler({intermediates:"!",final:"p"},function(Me){return Oe.softReset(Me)}),Oe._parser.setCsiHandler({intermediates:" ",final:"q"},function(Me){return Oe.setCursorStyle(Me)}),Oe._parser.setCsiHandler({final:"r"},function(Me){return Oe.setScrollRegion(Me)}),Oe._parser.setCsiHandler({final:"s"},function(Me){return Oe.saveCursor(Me)}),Oe._parser.setCsiHandler({final:"t"},function(Me){return Oe.windowOptions(Me)}),Oe._parser.setCsiHandler({final:"u"},function(Me){return Oe.restoreCursor(Me)}),Oe._parser.setCsiHandler({intermediates:"'",final:"}"},function(Me){return Oe.insertColumns(Me)}),Oe._parser.setCsiHandler({intermediates:"'",final:"~"},function(Me){return Oe.deleteColumns(Me)}),Oe._parser.setExecuteHandler(de.C0.BEL,function(){return Oe.bell()}),Oe._parser.setExecuteHandler(de.C0.LF,function(){return Oe.lineFeed()}),Oe._parser.setExecuteHandler(de.C0.VT,function(){return Oe.lineFeed()}),Oe._parser.setExecuteHandler(de.C0.FF,function(){return Oe.lineFeed()}),Oe._parser.setExecuteHandler(de.C0.CR,function(){return Oe.carriageReturn()}),Oe._parser.setExecuteHandler(de.C0.BS,function(){return Oe.backspace()}),Oe._parser.setExecuteHandler(de.C0.HT,function(){return Oe.tab()}),Oe._parser.setExecuteHandler(de.C0.SO,function(){return Oe.shiftOut()}),Oe._parser.setExecuteHandler(de.C0.SI,function(){return Oe.shiftIn()}),Oe._parser.setExecuteHandler(de.C1.IND,function(){return Oe.index()}),Oe._parser.setExecuteHandler(de.C1.NEL,function(){return Oe.nextLine()}),Oe._parser.setExecuteHandler(de.C1.HTS,function(){return Oe.tabSet()}),Oe._parser.setOscHandler(0,new ae.OscHandler(function(Me){Oe.setTitle(Me),Oe.setIconName(Me)})),Oe._parser.setOscHandler(1,new ae.OscHandler(function(Me){return Oe.setIconName(Me)})),Oe._parser.setOscHandler(2,new ae.OscHandler(function(Me){return Oe.setTitle(Me)})),Oe._parser.setEscHandler({final:"7"},function(){return Oe.saveCursor()}),Oe._parser.setEscHandler({final:"8"},function(){return Oe.restoreCursor()}),Oe._parser.setEscHandler({final:"D"},function(){return Oe.index()}),Oe._parser.setEscHandler({final:"E"},function(){return Oe.nextLine()}),Oe._parser.setEscHandler({final:"H"},function(){return Oe.tabSet()}),Oe._parser.setEscHandler({final:"M"},function(){return Oe.reverseIndex()}),Oe._parser.setEscHandler({final:"="},function(){return Oe.keypadApplicationMode()}),Oe._parser.setEscHandler({final:">"},function(){return Oe.keypadNumericMode()}),Oe._parser.setEscHandler({final:"c"},function(){return Oe.fullReset()}),Oe._parser.setEscHandler({final:"n"},function(){return Oe.setgLevel(2)}),Oe._parser.setEscHandler({final:"o"},function(){return Oe.setgLevel(3)}),Oe._parser.setEscHandler({final:"|"},function(){return Oe.setgLevel(3)}),Oe._parser.setEscHandler({final:"}"},function(){return Oe.setgLevel(2)}),Oe._parser.setEscHandler({final:"~"},function(){return Oe.setgLevel(1)}),Oe._parser.setEscHandler({intermediates:"%",final:"@"},function(){return Oe.selectDefaultCharset()}),Oe._parser.setEscHandler({intermediates:"%",final:"G"},function(){return Oe.selectDefaultCharset()});var He=function(Me){Ge._parser.setEscHandler({intermediates:"(",final:Me},function(){return Oe.selectCharset("("+Me)}),Ge._parser.setEscHandler({intermediates:")",final:Me},function(){return Oe.selectCharset(")"+Me)}),Ge._parser.setEscHandler({intermediates:"*",final:Me},function(){return Oe.selectCharset("*"+Me)}),Ge._parser.setEscHandler({intermediates:"+",final:Me},function(){return Oe.selectCharset("+"+Me)}),Ge._parser.setEscHandler({intermediates:"-",final:Me},function(){return Oe.selectCharset("-"+Me)}),Ge._parser.setEscHandler({intermediates:".",final:Me},function(){return Oe.selectCharset("."+Me)}),Ge._parser.setEscHandler({intermediates:"/",final:Me},function(){return Oe.selectCharset("/"+Me)})},Ge=this;for(var tt in ee.CHARSETS)He(tt);return Oe._parser.setEscHandler({intermediates:"#",final:"8"},function(){return Oe.screenAlignmentPattern()}),Oe._parser.setErrorHandler(function(Me){return Oe._logService.error("Parsing error: ",Me),Me}),Oe._parser.setDcsHandler({intermediates:"$",final:"q"},new ue(Oe._bufferService,Oe._coreService,Oe._logService,Oe._optionsService)),Oe}return a(we,_e),Object.defineProperty(we.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),we.prototype.dispose=function(){_e.prototype.dispose.call(this)},we.prototype.parse=function(xe){var ve=this._bufferService.buffer,Se=ve.x,be=ve.y;if(this._logService.debug("parsing data",xe),this._parseBuffer.length<xe.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(xe.length,131072))),this._dirtyRowService.clearRange(),xe.length>131072)for(var Ae=0;Ae<xe.length;Ae+=131072){var Te=Ae+131072<xe.length?Ae+131072:xe.length,je=typeof xe=="string"?this._stringDecoder.decode(xe.substring(Ae,Te),this._parseBuffer):this._utf8Decoder.decode(xe.subarray(Ae,Te),this._parseBuffer);this._parser.parse(this._parseBuffer,je)}else je=typeof xe=="string"?this._stringDecoder.decode(xe,this._parseBuffer):this._utf8Decoder.decode(xe,this._parseBuffer),this._parser.parse(this._parseBuffer,je);(ve=this._bufferService.buffer).x===Se&&ve.y===be||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},we.prototype.print=function(xe,ve,Se){var be,Ae,Te=this._bufferService.buffer,je=this._charsetService.charset,ke=this._optionsService.options.screenReaderMode,Pe=this._bufferService.cols,Oe=this._coreService.decPrivateModes.wraparound,He=this._coreService.modes.insertMode,Ge=this._curAttrData,tt=Te.lines.get(Te.ybase+Te.y);this._dirtyRowService.markDirty(Te.y),Te.x&&Se-ve>0&&tt.getWidth(Te.x-1)===2&&tt.setCellFromCodePoint(Te.x-1,0,1,Ge.fg,Ge.bg,Ge.extended);for(var Me=ve;Me<Se;++Me){if(be=xe[Me],Ae=this._unicodeService.wcwidth(be),be<127&&je){var We=je[String.fromCharCode(be)];We&&(be=We.charCodeAt(0))}if(ke&&this._onA11yChar.fire(se.stringFromCodePoint(be)),Ae||!Te.x){if(Te.x+Ae-1>=Pe){if(Oe){for(;Te.x<Pe;)tt.setCellFromCodePoint(Te.x++,0,1,Ge.fg,Ge.bg,Ge.extended);Te.x=0,Te.y++,Te.y===Te.scrollBottom+1?(Te.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(Te.y>=this._bufferService.rows&&(Te.y=this._bufferService.rows-1),Te.lines.get(Te.ybase+Te.y).isWrapped=!0),tt=Te.lines.get(Te.ybase+Te.y)}else if(Te.x=Pe-1,Ae===2)continue}if(He&&(tt.insertCells(Te.x,Ae,Te.getNullCell(Ge),Ge),tt.getWidth(Pe-1)===2&&tt.setCellFromCodePoint(Pe-1,b.NULL_CELL_CODE,b.NULL_CELL_WIDTH,Ge.fg,Ge.bg,Ge.extended)),tt.setCellFromCodePoint(Te.x++,be,Ae,Ge.fg,Ge.bg,Ge.extended),Ae>0)for(;--Ae;)tt.setCellFromCodePoint(Te.x++,0,0,Ge.fg,Ge.bg,Ge.extended)}else tt.getWidth(Te.x-1)?tt.addCodepointToCell(Te.x-1,be):tt.addCodepointToCell(Te.x-2,be)}Se-ve>0&&(tt.loadCell(Te.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),Te.x<Pe&&Se-ve>0&&tt.getWidth(Te.x)===0&&!tt.hasContent(Te.x)&&tt.setCellFromCodePoint(Te.x,0,1,Ge.fg,Ge.bg,Ge.extended),this._dirtyRowService.markDirty(Te.y)},we.prototype.addCsiHandler=function(xe,ve){var Se=this;return xe.final!=="t"||xe.prefix||xe.intermediates?this._parser.addCsiHandler(xe,ve):this._parser.addCsiHandler(xe,function(be){return!ce(be.params[0],Se._optionsService.options.windowOptions)||ve(be)})},we.prototype.addDcsHandler=function(xe,ve){return this._parser.addDcsHandler(xe,new le.DcsHandler(ve))},we.prototype.addEscHandler=function(xe,ve){return this._parser.addEscHandler(xe,ve)},we.prototype.addOscHandler=function(xe,ve){return this._parser.addOscHandler(xe,new ae.OscHandler(ve))},we.prototype.bell=function(){this._onRequestBell.fire()},we.prototype.lineFeed=function(){var xe=this._bufferService.buffer;this._dirtyRowService.markDirty(xe.y),this._optionsService.options.convertEol&&(xe.x=0),xe.y++,xe.y===xe.scrollBottom+1?(xe.y--,this._onRequestScroll.fire(this._eraseAttrData())):xe.y>=this._bufferService.rows&&(xe.y=this._bufferService.rows-1),xe.x>=this._bufferService.cols&&xe.x--,this._dirtyRowService.markDirty(xe.y),this._onLineFeed.fire()},we.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},we.prototype.backspace=function(){var xe,ve=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(ve.x>0&&ve.x--);if(this._restrictCursor(this._bufferService.cols),ve.x>0)ve.x--;else if(ve.x===0&&ve.y>ve.scrollTop&&ve.y<=ve.scrollBottom&&(!((xe=ve.lines.get(ve.ybase+ve.y))===null||xe===void 0)&&xe.isWrapped)){ve.lines.get(ve.ybase+ve.y).isWrapped=!1,ve.y--,ve.x=this._bufferService.cols-1;var Se=ve.lines.get(ve.ybase+ve.y);Se.hasWidth(ve.x)&&!Se.hasContent(ve.x)&&ve.x--}this._restrictCursor()},we.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var xe=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-xe)}},we.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},we.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},we.prototype._restrictCursor=function(xe){xe===void 0&&(xe=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(xe,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},we.prototype._setCursor=function(xe,ve){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=xe,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+ve):(this._bufferService.buffer.x=xe,this._bufferService.buffer.y=ve),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},we.prototype._moveCursor=function(xe,ve){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+xe,this._bufferService.buffer.y+ve)},we.prototype.cursorUp=function(xe){var ve=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;ve>=0?this._moveCursor(0,-Math.min(ve,xe.params[0]||1)):this._moveCursor(0,-(xe.params[0]||1))},we.prototype.cursorDown=function(xe){var ve=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;ve>=0?this._moveCursor(0,Math.min(ve,xe.params[0]||1)):this._moveCursor(0,xe.params[0]||1)},we.prototype.cursorForward=function(xe){this._moveCursor(xe.params[0]||1,0)},we.prototype.cursorBackward=function(xe){this._moveCursor(-(xe.params[0]||1),0)},we.prototype.cursorNextLine=function(xe){this.cursorDown(xe),this._bufferService.buffer.x=0},we.prototype.cursorPrecedingLine=function(xe){this.cursorUp(xe),this._bufferService.buffer.x=0},we.prototype.cursorCharAbsolute=function(xe){this._setCursor((xe.params[0]||1)-1,this._bufferService.buffer.y)},we.prototype.cursorPosition=function(xe){this._setCursor(xe.length>=2?(xe.params[1]||1)-1:0,(xe.params[0]||1)-1)},we.prototype.charPosAbsolute=function(xe){this._setCursor((xe.params[0]||1)-1,this._bufferService.buffer.y)},we.prototype.hPositionRelative=function(xe){this._moveCursor(xe.params[0]||1,0)},we.prototype.linePosAbsolute=function(xe){this._setCursor(this._bufferService.buffer.x,(xe.params[0]||1)-1)},we.prototype.vPositionRelative=function(xe){this._moveCursor(0,xe.params[0]||1)},we.prototype.hVPosition=function(xe){this.cursorPosition(xe)},we.prototype.tabClear=function(xe){var ve=xe.params[0];ve===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:ve===3&&(this._bufferService.buffer.tabs={})},we.prototype.cursorForwardTab=function(xe){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var ve=xe.params[0]||1;ve--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},we.prototype.cursorBackwardTab=function(xe){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var ve=xe.params[0]||1,Se=this._bufferService.buffer;ve--;)Se.x=Se.prevStop()},we.prototype._eraseInBufferLine=function(xe,ve,Se,be){be===void 0&&(be=!1);var Ae=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+xe);Ae.replaceCells(ve,Se,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),be&&(Ae.isWrapped=!1)},we.prototype._resetBufferLine=function(xe){var ve=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+xe);ve.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),ve.isWrapped=!1},we.prototype.eraseInDisplay=function(xe){var ve;switch(this._restrictCursor(),xe.params[0]){case 0:for(ve=this._bufferService.buffer.y,this._dirtyRowService.markDirty(ve),this._eraseInBufferLine(ve++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);ve<this._bufferService.rows;ve++)this._resetBufferLine(ve);this._dirtyRowService.markDirty(ve);break;case 1:for(ve=this._bufferService.buffer.y,this._dirtyRowService.markDirty(ve),this._eraseInBufferLine(ve,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(ve+1).isWrapped=!1);ve--;)this._resetBufferLine(ve);this._dirtyRowService.markDirty(0);break;case 2:for(ve=this._bufferService.rows,this._dirtyRowService.markDirty(ve-1);ve--;)this._resetBufferLine(ve);this._dirtyRowService.markDirty(0);break;case 3:var Se=this._bufferService.buffer.lines.length-this._bufferService.rows;Se>0&&(this._bufferService.buffer.lines.trimStart(Se),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-Se,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-Se,0),this._onScroll.fire(0))}},we.prototype.eraseInLine=function(xe){switch(this._restrictCursor(),xe.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},we.prototype.insertLines=function(xe){this._restrictCursor();var ve=xe.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.y<Se.scrollTop)){for(var be=Se.ybase+Se.y,Ae=this._bufferService.rows-1-Se.scrollBottom,Te=this._bufferService.rows-1+Se.ybase-Ae+1;ve--;)Se.lines.splice(Te-1,1),Se.lines.splice(be,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.y,Se.scrollBottom),Se.x=0}},we.prototype.deleteLines=function(xe){this._restrictCursor();var ve=xe.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.y<Se.scrollTop)){var be,Ae=Se.ybase+Se.y;for(be=this._bufferService.rows-1-Se.scrollBottom,be=this._bufferService.rows-1+Se.ybase-be;ve--;)Se.lines.splice(Ae,1),Se.lines.splice(be,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.y,Se.scrollBottom),Se.x=0}},we.prototype.insertChars=function(xe){this._restrictCursor();var ve=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);ve&&(ve.insertCells(this._bufferService.buffer.x,xe.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},we.prototype.deleteChars=function(xe){this._restrictCursor();var ve=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);ve&&(ve.deleteCells(this._bufferService.buffer.x,xe.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},we.prototype.scrollUp=function(xe){for(var ve=xe.params[0]||1,Se=this._bufferService.buffer;ve--;)Se.lines.splice(Se.ybase+Se.scrollTop,1),Se.lines.splice(Se.ybase+Se.scrollBottom,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.scrollTop,Se.scrollBottom)},we.prototype.scrollDown=function(xe){for(var ve=xe.params[0]||1,Se=this._bufferService.buffer;ve--;)Se.lines.splice(Se.ybase+Se.scrollBottom,1),Se.lines.splice(Se.ybase+Se.scrollTop,0,Se.getBlankLine(z.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(Se.scrollTop,Se.scrollBottom)},we.prototype.scrollLeft=function(xe){var ve=this._bufferService.buffer;if(!(ve.y>ve.scrollBottom||ve.y<ve.scrollTop)){for(var Se=xe.params[0]||1,be=ve.scrollTop;be<=ve.scrollBottom;++be){var Ae=ve.lines.get(ve.ybase+be);Ae.deleteCells(0,Se,ve.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Ae.isWrapped=!1}this._dirtyRowService.markRangeDirty(ve.scrollTop,ve.scrollBottom)}},we.prototype.scrollRight=function(xe){var ve=this._bufferService.buffer;if(!(ve.y>ve.scrollBottom||ve.y<ve.scrollTop)){for(var Se=xe.params[0]||1,be=ve.scrollTop;be<=ve.scrollBottom;++be){var Ae=ve.lines.get(ve.ybase+be);Ae.insertCells(0,Se,ve.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Ae.isWrapped=!1}this._dirtyRowService.markRangeDirty(ve.scrollTop,ve.scrollBottom)}},we.prototype.insertColumns=function(xe){var ve=this._bufferService.buffer;if(!(ve.y>ve.scrollBottom||ve.y<ve.scrollTop)){for(var Se=xe.params[0]||1,be=ve.scrollTop;be<=ve.scrollBottom;++be){var Ae=this._bufferService.buffer.lines.get(ve.ybase+be);Ae.insertCells(ve.x,Se,ve.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Ae.isWrapped=!1}this._dirtyRowService.markRangeDirty(ve.scrollTop,ve.scrollBottom)}},we.prototype.deleteColumns=function(xe){var ve=this._bufferService.buffer;if(!(ve.y>ve.scrollBottom||ve.y<ve.scrollTop)){for(var Se=xe.params[0]||1,be=ve.scrollTop;be<=ve.scrollBottom;++be){var Ae=ve.lines.get(ve.ybase+be);Ae.deleteCells(ve.x,Se,ve.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Ae.isWrapped=!1}this._dirtyRowService.markRangeDirty(ve.scrollTop,ve.scrollBottom)}},we.prototype.eraseChars=function(xe){this._restrictCursor();var ve=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);ve&&(ve.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(xe.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},we.prototype.repeatPrecedingCharacter=function(xe){if(this._parser.precedingCodepoint){for(var ve=xe.params[0]||1,Se=new Uint32Array(ve),be=0;be<ve;++be)Se[be]=this._parser.precedingCodepoint;this.print(Se,0,Se.length)}},we.prototype.sendDeviceAttributesPrimary=function(xe){xe.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(de.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(de.C0.ESC+"[?6c"))},we.prototype.sendDeviceAttributesSecondary=function(xe){xe.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(de.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(de.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(xe.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(de.C0.ESC+"[>83;40003;0c"))},we.prototype._is=function(xe){return(this._optionsService.options.termName+"").indexOf(xe)===0},we.prototype.setMode=function(xe){for(var ve=0;ve<xe.length;ve++)switch(xe.params[ve]){case 4:this._coreService.modes.insertMode=!0}},we.prototype.setModePrivate=function(xe){for(var ve=0;ve<xe.length;ve++)switch(xe.params[ve]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,ee.DEFAULT_CHARSET),this._charsetService.setgCharset(1,ee.DEFAULT_CHARSET),this._charsetService.setgCharset(2,ee.DEFAULT_CHARSET),this._charsetService.setgCharset(3,ee.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},we.prototype.resetMode=function(xe){for(var ve=0;ve<xe.length;ve++)switch(xe.params[ve]){case 4:this._coreService.modes.insertMode=!1}},we.prototype.resetModePrivate=function(xe){for(var ve=0;ve<xe.length;ve++)switch(xe.params[ve]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),xe.params[ve]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},we.prototype._updateAttrColor=function(xe,ve,Se,be,Ae){return ve===2?(xe|=50331648,xe&=-16777216,xe|=re.AttributeData.fromColorRGB([Se,be,Ae])):ve===5&&(xe&=-50331904,xe|=33554432|255&Se),xe},we.prototype._extractColor=function(xe,ve,Se){var be=[0,0,-1,0,0,0],Ae=0,Te=0;do{if(be[Te+Ae]=xe.params[ve+Te],xe.hasSubParams(ve+Te)){var je=xe.getSubParams(ve+Te),ke=0;do be[1]===5&&(Ae=1),be[Te+ke+1+Ae]=je[ke];while(++ke<je.length&&ke+Te+1+Ae<be.length);break}if(be[1]===5&&Te+Ae>=2||be[1]===2&&Te+Ae>=5)break;be[1]&&(Ae=1)}while(++Te+ve<xe.length&&Te+Ae<be.length);for(ke=2;ke<be.length;++ke)be[ke]===-1&&(be[ke]=0);switch(be[0]){case 38:Se.fg=this._updateAttrColor(Se.fg,be[1],be[3],be[4],be[5]);break;case 48:Se.bg=this._updateAttrColor(Se.bg,be[1],be[3],be[4],be[5]);break;case 58:Se.extended=Se.extended.clone(),Se.extended.underlineColor=this._updateAttrColor(Se.extended.underlineColor,be[1],be[3],be[4],be[5])}return Te},we.prototype._processUnderline=function(xe,ve){ve.extended=ve.extended.clone(),(!~xe||xe>5)&&(xe=1),ve.extended.underlineStyle=xe,ve.fg|=268435456,xe===0&&(ve.fg&=-268435457),ve.updateExtended()},we.prototype.charAttributes=function(xe){if(xe.length===1&&xe.params[0]===0)return this._curAttrData.fg=z.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=z.DEFAULT_ATTR_DATA.bg);for(var ve,Se=xe.length,be=this._curAttrData,Ae=0;Ae<Se;Ae++)(ve=xe.params[Ae])>=30&&ve<=37?(be.fg&=-50331904,be.fg|=16777216|ve-30):ve>=40&&ve<=47?(be.bg&=-50331904,be.bg|=16777216|ve-40):ve>=90&&ve<=97?(be.fg&=-50331904,be.fg|=16777224|ve-90):ve>=100&&ve<=107?(be.bg&=-50331904,be.bg|=16777224|ve-100):ve===0?(be.fg=z.DEFAULT_ATTR_DATA.fg,be.bg=z.DEFAULT_ATTR_DATA.bg):ve===1?be.fg|=134217728:ve===3?be.bg|=67108864:ve===4?(be.fg|=268435456,this._processUnderline(xe.hasSubParams(Ae)?xe.getSubParams(Ae)[0]:1,be)):ve===5?be.fg|=536870912:ve===7?be.fg|=67108864:ve===8?be.fg|=1073741824:ve===2?be.bg|=134217728:ve===21?this._processUnderline(2,be):ve===22?(be.fg&=-134217729,be.bg&=-134217729):ve===23?be.bg&=-67108865:ve===24?be.fg&=-268435457:ve===25?be.fg&=-536870913:ve===27?be.fg&=-67108865:ve===28?be.fg&=-1073741825:ve===39?(be.fg&=-67108864,be.fg|=16777215&z.DEFAULT_ATTR_DATA.fg):ve===49?(be.bg&=-67108864,be.bg|=16777215&z.DEFAULT_ATTR_DATA.bg):ve===38||ve===48||ve===58?Ae+=this._extractColor(xe,Ae,be):ve===59?(be.extended=be.extended.clone(),be.extended.underlineColor=-1,be.updateExtended()):ve===100?(be.fg&=-67108864,be.fg|=16777215&z.DEFAULT_ATTR_DATA.fg,be.bg&=-67108864,be.bg|=16777215&z.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",ve)},we.prototype.deviceStatus=function(xe){switch(xe.params[0]){case 5:this._coreService.triggerDataEvent(de.C0.ESC+"[0n");break;case 6:var ve=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"["+ve+";"+Se+"R")}},we.prototype.deviceStatusPrivate=function(xe){switch(xe.params[0]){case 6:var ve=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"[?"+ve+";"+Se+"R")}},we.prototype.softReset=function(xe){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=z.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},we.prototype.setCursorStyle=function(xe){var ve=xe.params[0]||1;switch(ve){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var Se=ve%2==1;this._optionsService.options.cursorBlink=Se},we.prototype.setScrollRegion=function(xe){var ve,Se=xe.params[0]||1;(xe.length<2||(ve=xe.params[1])>this._bufferService.rows||ve===0)&&(ve=this._bufferService.rows),ve>Se&&(this._bufferService.buffer.scrollTop=Se-1,this._bufferService.buffer.scrollBottom=ve-1,this._setCursor(0,0))},we.prototype.windowOptions=function(xe){if(ce(xe.params[0],this._optionsService.options.windowOptions)){var ve=xe.length>1?xe.params[1]:0;switch(xe.params[0]){case 14:ve!==2&&this._onRequestWindowsOptionsReport.fire(he.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(he.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(de.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:ve!==0&&ve!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),ve!==0&&ve!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:ve!==0&&ve!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),ve!==0&&ve!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},we.prototype.saveCursor=function(xe){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},we.prototype.restoreCursor=function(xe){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},we.prototype.setTitle=function(xe){this._windowTitle=xe,this._onTitleChange.fire(xe)},we.prototype.setIconName=function(xe){this._iconName=xe},we.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},we.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},we.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},we.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,ee.DEFAULT_CHARSET)},we.prototype.selectCharset=function(xe){xe.length===2?xe[0]!=="/"&&this._charsetService.setgCharset(fe[xe[0]],ee.CHARSETS[xe[1]]||ee.DEFAULT_CHARSET):this.selectDefaultCharset()},we.prototype.index=function(){this._restrictCursor();var xe=this._bufferService.buffer;this._bufferService.buffer.y++,xe.y===xe.scrollBottom+1?(xe.y--,this._onRequestScroll.fire(this._eraseAttrData())):xe.y>=this._bufferService.rows&&(xe.y=this._bufferService.rows-1),this._restrictCursor()},we.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},we.prototype.reverseIndex=function(){this._restrictCursor();var xe=this._bufferService.buffer;if(xe.y===xe.scrollTop){var ve=xe.scrollBottom-xe.scrollTop;xe.lines.shiftElements(xe.ybase+xe.y,ve,1),xe.lines.set(xe.ybase+xe.y,xe.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(xe.scrollTop,xe.scrollBottom)}else xe.y--,this._restrictCursor()},we.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},we.prototype.reset=function(){this._curAttrData=z.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=z.DEFAULT_ATTR_DATA.clone()},we.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},we.prototype.setgLevel=function(xe){this._charsetService.setgLevel(xe)},we.prototype.screenAlignmentPattern=function(){var xe=new E.CellData;xe.content=1<<22|69,xe.fg=this._curAttrData.fg,xe.bg=this._curAttrData.bg;var ve=this._bufferService.buffer;this._setCursor(0,0);for(var Se=0;Se<this._bufferService.rows;++Se){var be=ve.ybase+ve.y+Se,Ae=ve.lines.get(be);Ae&&(Ae.fill(xe),Ae.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},we}(ne.Disposable);Ce.InputHandler=ge},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.DEFAULT_CHARSET=Ce.CHARSETS=void 0,Ce.CHARSETS={},Ce.DEFAULT_CHARSET=Ce.CHARSETS.B,Ce.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},Ce.CHARSETS.A={"#":"\xA3"},Ce.CHARSETS.B=void 0,Ce.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},Ce.CHARSETS.C=Ce.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},Ce.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},Ce.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},Ce.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},Ce.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},Ce.CHARSETS.E=Ce.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},Ce.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},Ce.CHARSETS.H=Ce.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},Ce.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.Params=void 0;var ze=function(){function a(he,de){if(he===void 0&&(he=32),de===void 0&&(de=32),this.maxLength=he,this.maxSubParamsLength=de,de>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(he),this.length=0,this._subParams=new Int32Array(de),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(he),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return a.fromArray=function(he){var de=new a;if(!he.length)return de;for(var ee=he[0]instanceof Array?1:0;ee<he.length;++ee){var oe=he[ee];if(oe instanceof Array)for(var ne=0;ne<oe.length;++ne)de.addSubParam(oe[ne]);else de.addParam(oe)}return de},a.prototype.clone=function(){var he=new a(this.maxLength,this.maxSubParamsLength);return he.params.set(this.params),he.length=this.length,he._subParams.set(this._subParams),he._subParamsLength=this._subParamsLength,he._subParamsIdx.set(this._subParamsIdx),he._rejectDigits=this._rejectDigits,he._rejectSubDigits=this._rejectSubDigits,he._digitIsSub=this._digitIsSub,he},a.prototype.toArray=function(){for(var he=[],de=0;de<this.length;++de){he.push(this.params[de]);var ee=this._subParamsIdx[de]>>8,oe=255&this._subParamsIdx[de];oe-ee>0&&he.push(Array.prototype.slice.call(this._subParams,ee,oe))}return he},a.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},a.prototype.addParam=function(he){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(he<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=he>2147483647?2147483647:he}},a.prototype.addSubParam=function(he){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(he<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=he>2147483647?2147483647:he,this._subParamsIdx[this.length-1]++}},a.prototype.hasSubParams=function(he){return(255&this._subParamsIdx[he])-(this._subParamsIdx[he]>>8)>0},a.prototype.getSubParams=function(he){var de=this._subParamsIdx[he]>>8,ee=255&this._subParamsIdx[he];return ee-de>0?this._subParams.subarray(de,ee):null},a.prototype.getSubParamsAll=function(){for(var he={},de=0;de<this.length;++de){var ee=this._subParamsIdx[de]>>8,oe=255&this._subParamsIdx[de];oe-ee>0&&(he[de]=this._subParams.slice(ee,oe))}return he},a.prototype.addDigit=function(he){var de;if(!(this._rejectDigits||!(de=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var ee=this._digitIsSub?this._subParams:this.params,oe=ee[de-1];ee[de-1]=~oe?Math.min(10*oe+he,2147483647):he}},a}();Ce.Params=ze},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.OscHandler=Ce.OscParser=void 0;var ze=ye(23),a=ye(8),he=function(){function ee(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return ee.prototype.addHandler=function(oe,ne){this._handlers[oe]===void 0&&(this._handlers[oe]=[]);var te=this._handlers[oe];return te.push(ne),{dispose:function(){var se=te.indexOf(ne);se!==-1&&te.splice(se,1)}}},ee.prototype.setHandler=function(oe,ne){this._handlers[oe]=[ne]},ee.prototype.clearHandler=function(oe){this._handlers[oe]&&delete this._handlers[oe]},ee.prototype.setHandlerFallback=function(oe){this._handlerFb=oe},ee.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ee.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},ee.prototype._start=function(){var oe=this._handlers[this._id];if(oe)for(var ne=oe.length-1;ne>=0;ne--)oe[ne].start();else this._handlerFb(this._id,"START")},ee.prototype._put=function(oe,ne,te){var se=this._handlers[this._id];if(se)for(var z=se.length-1;z>=0;z--)se[z].put(oe,ne,te);else this._handlerFb(this._id,"PUT",a.utf32ToString(oe,ne,te))},ee.prototype._end=function(oe){var ne=this._handlers[this._id];if(ne){for(var te=ne.length-1;te>=0&&ne[te].end(oe)===!1;te--);for(te--;te>=0;te--)ne[te].end(!1)}else this._handlerFb(this._id,"END",oe)},ee.prototype.start=function(){this.reset(),this._id=-1,this._state=1},ee.prototype.put=function(oe,ne,te){if(this._state!==3){if(this._state===1)for(;ne<te;){var se=oe[ne++];if(se===59){this._state=2,this._start();break}if(se<48||57<se)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+se-48}this._state===2&&te-ne>0&&this._put(oe,ne,te)}},ee.prototype.end=function(oe){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(oe)),this._id=-1,this._state=0)},ee}();Ce.OscParser=he;var de=function(){function ee(oe){this._handler=oe,this._data="",this._hitLimit=!1}return ee.prototype.start=function(){this._data="",this._hitLimit=!1},ee.prototype.put=function(oe,ne,te){this._hitLimit||(this._data+=a.utf32ToString(oe,ne,te),this._data.length>ze.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ee.prototype.end=function(oe){var ne;return this._hitLimit?ne=!1:oe&&(ne=this._handler(this._data)),this._data="",this._hitLimit=!1,ne},ee}();Ce.OscHandler=de},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.PAYLOAD_LIMIT=void 0,Ce.PAYLOAD_LIMIT=1e7},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.DcsHandler=Ce.DcsParser=void 0;var ze=ye(8),a=ye(21),he=ye(23),de=[],ee=function(){function ne(){this._handlers=Object.create(null),this._active=de,this._ident=0,this._handlerFb=function(){}}return ne.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ne.prototype.addHandler=function(te,se){this._handlers[te]===void 0&&(this._handlers[te]=[]);var z=this._handlers[te];return z.push(se),{dispose:function(){var x=z.indexOf(se);x!==-1&&z.splice(x,1)}}},ne.prototype.setHandler=function(te,se){this._handlers[te]=[se]},ne.prototype.clearHandler=function(te){this._handlers[te]&&delete this._handlers[te]},ne.prototype.setHandlerFallback=function(te){this._handlerFb=te},ne.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=de,this._ident=0},ne.prototype.hook=function(te,se){if(this.reset(),this._ident=te,this._active=this._handlers[te]||de,this._active.length)for(var z=this._active.length-1;z>=0;z--)this._active[z].hook(se);else this._handlerFb(this._ident,"HOOK",se)},ne.prototype.put=function(te,se,z){if(this._active.length)for(var x=this._active.length-1;x>=0;x--)this._active[x].put(te,se,z);else this._handlerFb(this._ident,"PUT",ze.utf32ToString(te,se,z))},ne.prototype.unhook=function(te){if(this._active.length){for(var se=this._active.length-1;se>=0&&this._active[se].unhook(te)===!1;se--);for(se--;se>=0;se--)this._active[se].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",te);this._active=de,this._ident=0},ne}();Ce.DcsParser=ee;var oe=function(){function ne(te){this._handler=te,this._data="",this._hitLimit=!1}return ne.prototype.hook=function(te){this._params=te.clone(),this._data="",this._hitLimit=!1},ne.prototype.put=function(te,se,z){this._hitLimit||(this._data+=ze.utf32ToString(te,se,z),this._data.length>he.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ne.prototype.unhook=function(te){var se;return this._hitLimit?se=!1:te&&(se=this._handler(this._data,this._params||new a.Params)),this._params=void 0,this._data="",this._hitLimit=!1,se},ne}();Ce.DcsHandler=oe},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.removeTerminalFromCache=Ce.acquireCharAtlas=void 0;var ze=ye(26),a=ye(43),he=[];Ce.acquireCharAtlas=function(de,ee,oe,ne,te){for(var se=ze.generateConfig(ne,te,de,oe),z=0;z<he.length;z++){var x=(b=he[z]).ownedBy.indexOf(ee);if(x>=0){if(ze.configEquals(b.config,se))return b.atlas;b.ownedBy.length===1?(b.atlas.dispose(),he.splice(z,1)):b.ownedBy.splice(x,1);break}}for(z=0;z<he.length;z++){var b=he[z];if(ze.configEquals(b.config,se))return b.ownedBy.push(ee),b.atlas}var E={atlas:new a.DynamicCharAtlas(document,se),config:se,ownedBy:[ee]};return he.push(E),E.atlas},Ce.removeTerminalFromCache=function(de){for(var ee=0;ee<he.length;ee++){var oe=he[ee].ownedBy.indexOf(de);if(oe!==-1){he[ee].ownedBy.length===1?(he[ee].atlas.dispose(),he.splice(ee,1)):he[ee].ownedBy.splice(oe,1);break}}}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.is256Color=Ce.configEquals=Ce.generateConfig=void 0;var ze=ye(3);Ce.generateConfig=function(a,he,de,ee){var oe={foreground:ee.foreground,background:ee.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:ee.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:a,scaledCharHeight:he,fontFamily:de.fontFamily,fontSize:de.fontSize,fontWeight:de.fontWeight,fontWeightBold:de.fontWeightBold,allowTransparency:de.allowTransparency,colors:oe}},Ce.configEquals=function(a,he){for(var de=0;de<a.colors.ansi.length;de++)if(a.colors.ansi[de].rgba!==he.colors.ansi[de].rgba)return!1;return a.devicePixelRatio===he.devicePixelRatio&&a.fontFamily===he.fontFamily&&a.fontSize===he.fontSize&&a.fontWeight===he.fontWeight&&a.fontWeightBold===he.fontWeightBold&&a.allowTransparency===he.allowTransparency&&a.scaledCharWidth===he.scaledCharWidth&&a.scaledCharHeight===he.scaledCharHeight&&a.colors.foreground===he.colors.foreground&&a.colors.background===he.colors.background},Ce.is256Color=function(a){return a<ze.DEFAULT_COLOR}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.ColorManager=Ce.DEFAULT_ANSI_COLORS=void 0;var ze=ye(10),a=ye(45),he=ze.css.toColor("#ffffff"),de=ze.css.toColor("#000000"),ee=ze.css.toColor("#ffffff"),oe=ze.css.toColor("#000000"),ne={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};Ce.DEFAULT_ANSI_COLORS=function(){for(var se=[ze.css.toColor("#2e3436"),ze.css.toColor("#cc0000"),ze.css.toColor("#4e9a06"),ze.css.toColor("#c4a000"),ze.css.toColor("#3465a4"),ze.css.toColor("#75507b"),ze.css.toColor("#06989a"),ze.css.toColor("#d3d7cf"),ze.css.toColor("#555753"),ze.css.toColor("#ef2929"),ze.css.toColor("#8ae234"),ze.css.toColor("#fce94f"),ze.css.toColor("#729fcf"),ze.css.toColor("#ad7fa8"),ze.css.toColor("#34e2e2"),ze.css.toColor("#eeeeec")],z=[0,95,135,175,215,255],x=0;x<216;x++){var b=z[x/36%6|0],E=z[x/6%6|0],re=z[x%6];se.push({css:ze.channels.toCss(b,E,re),rgba:ze.channels.toRgba(b,E,re)})}for(x=0;x<24;x++){var ae=8+10*x;se.push({css:ze.channels.toCss(ae,ae,ae),rgba:ze.channels.toRgba(ae,ae,ae)})}return se}();var te=function(){function se(z,x){this.allowTransparency=x;var b=z.createElement("canvas");b.width=1,b.height=1;var E=b.getContext("2d");if(!E)throw new Error("Could not get rendering context");this._ctx=E,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new a.ColorContrastCache,this.colors={foreground:he,background:de,cursor:ee,cursorAccent:oe,selectionTransparent:ne,selectionOpaque:ze.color.blend(de,ne),ansi:Ce.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return se.prototype.onOptionsChange=function(z){z==="minimumContrastRatio"&&this._contrastCache.clear()},se.prototype.setTheme=function(z){z===void 0&&(z={}),this.colors.foreground=this._parseColor(z.foreground,he),this.colors.background=this._parseColor(z.background,de),this.colors.cursor=this._parseColor(z.cursor,ee,!0),this.colors.cursorAccent=this._parseColor(z.cursorAccent,oe,!0),this.colors.selectionTransparent=this._parseColor(z.selection,ne,!0),this.colors.selectionOpaque=ze.color.blend(this.colors.background,this.colors.selectionTransparent),ze.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=ze.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(z.black,Ce.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(z.red,Ce.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(z.green,Ce.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(z.yellow,Ce.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(z.blue,Ce.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(z.magenta,Ce.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(z.cyan,Ce.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(z.white,Ce.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(z.brightBlack,Ce.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(z.brightRed,Ce.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(z.brightGreen,Ce.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(z.brightYellow,Ce.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(z.brightBlue,Ce.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(z.brightMagenta,Ce.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(z.brightCyan,Ce.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(z.brightWhite,Ce.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},se.prototype._parseColor=function(z,x,b){if(b===void 0&&(b=this.allowTransparency),z===void 0)return x;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=z,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+z+" is invalid using fallback "+x.css),x;this._ctx.fillRect(0,0,1,1);var E=this._ctx.getImageData(0,0,1,1).data;if(E[3]!==255){if(!b)return console.warn("Color: "+z+" is using transparency, but allowTransparency is false. Using fallback "+x.css+"."),x;var re=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(ge){return Number(ge)}),ae=re[0],le=re[1],fe=re[2],ce=re[3],ue=Math.round(255*ce);return{rgba:ze.channels.toRgba(ae,le,fe,ue),css:z}}return{css:this._ctx.fillStyle,rgba:ze.channels.toRgba(E[0],E[1],E[2],E[3])}},se}();Ce.ColorManager=te},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.throwIfFalsy=void 0,Ce.throwIfFalsy=function(ze){if(!ze)throw new Error("value must not be falsy");return ze}},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(te,se){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,x){z.__proto__=x}||function(z,x){for(var b in x)x.hasOwnProperty(b)&&(z[b]=x[b])})(te,se)},function(te,se){function z(){this.constructor=te}ze(te,se),te.prototype=se===null?Object.create(se):(z.prototype=se.prototype,new z)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CharacterJoinerRegistry=Ce.JoinedCellData=void 0;var he=ye(6),de=ye(3),ee=ye(4),oe=function(te){function se(z,x,b){var E=te.call(this)||this;return E.content=0,E.combinedData="",E.fg=z.fg,E.bg=z.bg,E.combinedData=x,E._width=b,E}return a(se,te),se.prototype.isCombined=function(){return 2097152},se.prototype.getWidth=function(){return this._width},se.prototype.getChars=function(){return this.combinedData},se.prototype.getCode=function(){return 2097151},se.prototype.setFromCharData=function(z){throw new Error("not implemented")},se.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},se}(he.AttributeData);Ce.JoinedCellData=oe;var ne=function(){function te(se){this._bufferService=se,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new ee.CellData}return te.prototype.registerCharacterJoiner=function(se){var z={id:this._nextCharacterJoinerId++,handler:se};return this._characterJoiners.push(z),z.id},te.prototype.deregisterCharacterJoiner=function(se){for(var z=0;z<this._characterJoiners.length;z++)if(this._characterJoiners[z].id===se)return this._characterJoiners.splice(z,1),!0;return!1},te.prototype.getJoinedCharacters=function(se){if(this._characterJoiners.length===0)return[];var z=this._bufferService.buffer.lines.get(se);if(!z||z.length===0)return[];for(var x=[],b=z.translateToString(!0),E=0,re=0,ae=0,le=z.getFg(0),fe=z.getBg(0),ce=0;ce<z.getTrimmedLength();ce++)if(z.loadCell(ce,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==le||this._workCell.bg!==fe){if(ce-E>1)for(var ue=this._getJoinedRanges(b,ae,re,z,E),ge=0;ge<ue.length;ge++)x.push(ue[ge]);E=ce,ae=re,le=this._workCell.fg,fe=this._workCell.bg}re+=this._workCell.getChars().length||de.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-E>1)for(ue=this._getJoinedRanges(b,ae,re,z,E),ge=0;ge<ue.length;ge++)x.push(ue[ge]);return x},te.prototype._getJoinedRanges=function(se,z,x,b,E){for(var re=se.substring(z,x),ae=this._characterJoiners[0].handler(re),le=1;le<this._characterJoiners.length;le++)for(var fe=this._characterJoiners[le].handler(re),ce=0;ce<fe.length;ce++)te._mergeRanges(ae,fe[ce]);return this._stringRangesToCellRanges(ae,b,E),ae},te.prototype._stringRangesToCellRanges=function(se,z,x){var b=0,E=!1,re=0,ae=se[b];if(ae){for(var le=x;le<this._bufferService.cols;le++){var fe=z.getWidth(le),ce=z.getString(le).length||de.WHITESPACE_CELL_CHAR.length;if(fe!==0){if(!E&&ae[0]<=re&&(ae[0]=le,E=!0),ae[1]<=re){if(ae[1]=le,!(ae=se[++b]))break;ae[0]<=re?(ae[0]=le,E=!0):E=!1}re+=ce}}ae&&(ae[1]=this._bufferService.cols)}},te._mergeRanges=function(se,z){for(var x=!1,b=0;b<se.length;b++){var E=se[b];if(x){if(z[1]<=E[0])return se[b-1][1]=z[1],se;if(z[1]<=E[1])return se[b-1][1]=Math.max(z[1],E[1]),se.splice(b,1),se;se.splice(b,1),b--}else{if(z[1]<=E[0])return se.splice(b,0,z),se;if(z[1]<=E[1])return E[0]=Math.min(z[0],E[0]),se;z[0]<E[1]&&(E[0]=Math.min(z[0],E[0]),x=!0)}}return x?se[se.length-1][1]=z[1]:se.push(z),se},te}();Ce.CharacterJoinerRegistry=ne},function(mt,Ce,ye){"use strict";function ze(a,he){var de=he.getBoundingClientRect();return[a.clientX-de.left,a.clientY-de.top]}Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.getRawByteCoords=Ce.getCoords=Ce.getCoordsRelativeToElement=void 0,Ce.getCoordsRelativeToElement=ze,Ce.getCoords=function(a,he,de,ee,oe,ne,te,se){if(oe){var z=ze(a,he);if(z)return z[0]=Math.ceil((z[0]+(se?ne/2:0))/ne),z[1]=Math.ceil(z[1]/te),z[0]=Math.min(Math.max(z[0],1),de+(se?1:0)),z[1]=Math.min(Math.max(z[1],1),ee),z}},Ce.getRawByteCoords=function(a){if(a)return{x:a[0]+32,y:a[1]+32}}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.RenderDebouncer=void 0;var ze=function(){function a(he){this._renderCallback=he}return a.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},a.prototype.refresh=function(he,de,ee){var oe=this;this._rowCount=ee,he=he!==void 0?he:0,de=de!==void 0?de:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,he):he,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,de):de,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return oe._innerRefresh()}))},a.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var he=Math.max(this._rowStart,0),de=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(he,de)}},a}();Ce.RenderDebouncer=ze},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(de,ee){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,ne){oe.__proto__=ne}||function(oe,ne){for(var te in ne)ne.hasOwnProperty(te)&&(oe[te]=ne[te])})(de,ee)},function(de,ee){function oe(){this.constructor=de}ze(de,ee),de.prototype=ee===null?Object.create(ee):(oe.prototype=ee.prototype,new oe)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.ScreenDprMonitor=void 0;var he=function(de){function ee(){var oe=de!==null&&de.apply(this,arguments)||this;return oe._currentDevicePixelRatio=window.devicePixelRatio,oe}return a(ee,de),ee.prototype.setListener=function(oe){var ne=this;this._listener&&this.clearListener(),this._listener=oe,this._outerListener=function(){ne._listener&&(ne._listener(window.devicePixelRatio,ne._currentDevicePixelRatio),ne._updateDpr())},this._updateDpr()},ee.prototype.dispose=function(){de.prototype.dispose.call(this),this.clearListener()},ee.prototype._updateDpr=function(){var oe;this._outerListener&&((oe=this._resolutionMediaMatchList)===null||oe===void 0||oe.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},ee.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},ee}(ye(2).Disposable);Ce.ScreenDprMonitor=he},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.clone=void 0,Ce.clone=function ze(a,he){if(he===void 0&&(he=5),typeof a!="object")return a;var de=Array.isArray(a)?[]:{};for(var ee in a)de[ee]=he<=1?a[ee]:a[ee]?ze(a[ee],he-1):a[ee];return de}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.Terminal=void 0;var ze=ye(4),a=ye(35),he=ye(18),de=ye(0),ee=ye(83),oe=function(){function b(E){this._core=new a.Terminal(E),this._addonManager=new ee.AddonManager}return b.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(b.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new z(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"unicode",{get:function(){return this._checkProposedApi(),new x(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"buffer",{get:function(){return this._checkProposedApi(),new te(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),b.prototype.blur=function(){this._core.blur()},b.prototype.focus=function(){this._core.focus()},b.prototype.resize=function(E,re){this._verifyIntegers(E,re),this._core.resize(E,re)},b.prototype.open=function(E){this._core.open(E)},b.prototype.attachCustomKeyEventHandler=function(E){this._core.attachCustomKeyEventHandler(E)},b.prototype.registerLinkMatcher=function(E,re,ae){return this._checkProposedApi(),this._core.registerLinkMatcher(E,re,ae)},b.prototype.deregisterLinkMatcher=function(E){this._checkProposedApi(),this._core.deregisterLinkMatcher(E)},b.prototype.registerLinkProvider=function(E){return this._checkProposedApi(),this._core.registerLinkProvider(E)},b.prototype.registerCharacterJoiner=function(E){return this._checkProposedApi(),this._core.registerCharacterJoiner(E)},b.prototype.deregisterCharacterJoiner=function(E){this._checkProposedApi(),this._core.deregisterCharacterJoiner(E)},b.prototype.registerMarker=function(E){return this._checkProposedApi(),this._verifyIntegers(E),this._core.addMarker(E)},b.prototype.addMarker=function(E){return this.registerMarker(E)},b.prototype.hasSelection=function(){return this._core.hasSelection()},b.prototype.select=function(E,re,ae){this._verifyIntegers(E,re,ae),this._core.select(E,re,ae)},b.prototype.getSelection=function(){return this._core.getSelection()},b.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},b.prototype.clearSelection=function(){this._core.clearSelection()},b.prototype.selectAll=function(){this._core.selectAll()},b.prototype.selectLines=function(E,re){this._verifyIntegers(E,re),this._core.selectLines(E,re)},b.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},b.prototype.scrollLines=function(E){this._verifyIntegers(E),this._core.scrollLines(E)},b.prototype.scrollPages=function(E){this._verifyIntegers(E),this._core.scrollPages(E)},b.prototype.scrollToTop=function(){this._core.scrollToTop()},b.prototype.scrollToBottom=function(){this._core.scrollToBottom()},b.prototype.scrollToLine=function(E){this._verifyIntegers(E),this._core.scrollToLine(E)},b.prototype.clear=function(){this._core.clear()},b.prototype.write=function(E,re){this._core.write(E,re)},b.prototype.writeUtf8=function(E,re){this._core.write(E,re)},b.prototype.writeln=function(E,re){this._core.write(E),this._core.write(`\r
`,re)},b.prototype.paste=function(E){this._core.paste(E)},b.prototype.getOption=function(E){return this._core.optionsService.getOption(E)},b.prototype.setOption=function(E,re){this._core.optionsService.setOption(E,re)},b.prototype.refresh=function(E,re){this._verifyIntegers(E,re),this._core.refresh(E,re)},b.prototype.reset=function(){this._core.reset()},b.prototype.loadAddon=function(E){return this._addonManager.loadAddon(this,E)},Object.defineProperty(b,"strings",{get:function(){return he},enumerable:!1,configurable:!0}),b.prototype._verifyIntegers=function(){for(var E=[],re=0;re<arguments.length;re++)E[re]=arguments[re];for(var ae=0,le=E;ae<le.length;ae++){var fe=le[ae];if(fe===1/0||isNaN(fe)||fe%1!=0)throw new Error("This API only accepts integers")}},b}();Ce.Terminal=oe;var ne=function(){function b(E,re){this._buffer=E,this.type=re}return b.prototype.init=function(E){return this._buffer=E,this},Object.defineProperty(b.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),b.prototype.getLine=function(E){var re=this._buffer.lines.get(E);if(re)return new se(re)},b.prototype.getNullCell=function(){return new ze.CellData},b}(),te=function(){function b(E){var re=this;this._buffers=E,this._onBufferChange=new de.EventEmitter,this._normal=new ne(this._buffers.normal,"normal"),this._alternate=new ne(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return re._onBufferChange.fire(re.active)})}return Object.defineProperty(b.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),b}(),se=function(){function b(E){this._line=E}return Object.defineProperty(b.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),b.prototype.getCell=function(E,re){if(!(E<0||E>=this._line.length))return re?(this._line.loadCell(E,re),re):this._line.loadCell(E,new ze.CellData)},b.prototype.translateToString=function(E,re,ae){return this._line.translateToString(E,re,ae)},b}(),z=function(){function b(E){this._core=E}return b.prototype.registerCsiHandler=function(E,re){return this._core.addCsiHandler(E,function(ae){return re(ae.toArray())})},b.prototype.addCsiHandler=function(E,re){return this.registerCsiHandler(E,re)},b.prototype.registerDcsHandler=function(E,re){return this._core.addDcsHandler(E,function(ae,le){return re(ae,le.toArray())})},b.prototype.addDcsHandler=function(E,re){return this.registerDcsHandler(E,re)},b.prototype.registerEscHandler=function(E,re){return this._core.addEscHandler(E,re)},b.prototype.addEscHandler=function(E,re){return this.registerEscHandler(E,re)},b.prototype.registerOscHandler=function(E,re){return this._core.addOscHandler(E,re)},b.prototype.addOscHandler=function(E,re){return this.registerOscHandler(E,re)},b}(),x=function(){function b(E){this._core=E}return b.prototype.register=function(E){this._core.unicodeService.register(E)},Object.defineProperty(b.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(E){this._core.unicodeService.activeVersion=E},enumerable:!1,configurable:!0}),b}()},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(Pe,Oe){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(He,Ge){He.__proto__=Ge}||function(He,Ge){for(var tt in Ge)Ge.hasOwnProperty(tt)&&(He[tt]=Ge[tt])})(Pe,Oe)},function(Pe,Oe){function He(){this.constructor=Pe}ze(Pe,Oe),Pe.prototype=Oe===null?Object.create(Oe):(He.prototype=Oe.prototype,new He)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.Terminal=void 0;var he=ye(36),de=ye(37),ee=ye(38),oe=ye(12),ne=ye(19),te=ye(40),se=ye(50),z=ye(51),x=ye(11),b=ye(7),E=ye(18),re=ye(54),ae=ye(55),le=ye(56),fe=ye(57),ce=ye(59),ue=ye(0),ge=ye(16),_e=ye(27),we=ye(60),xe=ye(5),ve=ye(61),Se=ye(62),be=ye(63),Ae=ye(64),Te=ye(65),je=typeof window!="undefined"?window.document:null,ke=function(Pe){function Oe(He){He===void 0&&(He={});var Ge=Pe.call(this,He)||this;return Ge.browser=x,Ge._keyDownHandled=!1,Ge._onCursorMove=new ue.EventEmitter,Ge._onKey=new ue.EventEmitter,Ge._onRender=new ue.EventEmitter,Ge._onSelectionChange=new ue.EventEmitter,Ge._onTitleChange=new ue.EventEmitter,Ge._onFocus=new ue.EventEmitter,Ge._onBlur=new ue.EventEmitter,Ge._onA11yCharEmitter=new ue.EventEmitter,Ge._onA11yTabEmitter=new ue.EventEmitter,Ge._setup(),Ge.linkifier=Ge._instantiationService.createInstance(se.Linkifier),Ge.linkifier2=Ge.register(Ge._instantiationService.createInstance(be.Linkifier2)),Ge.register(Ge._inputHandler.onRequestBell(function(){return Ge.bell()})),Ge.register(Ge._inputHandler.onRequestRefreshRows(function(tt,Me){return Ge.refresh(tt,Me)})),Ge.register(Ge._inputHandler.onRequestReset(function(){return Ge.reset()})),Ge.register(Ge._inputHandler.onRequestScroll(function(tt,Me){return Ge.scroll(tt,Me||void 0)})),Ge.register(Ge._inputHandler.onRequestWindowsOptionsReport(function(tt){return Ge._reportWindowsOptions(tt)})),Ge.register(ue.forwardEvent(Ge._inputHandler.onCursorMove,Ge._onCursorMove)),Ge.register(ue.forwardEvent(Ge._inputHandler.onTitleChange,Ge._onTitleChange)),Ge.register(ue.forwardEvent(Ge._inputHandler.onA11yChar,Ge._onA11yCharEmitter)),Ge.register(ue.forwardEvent(Ge._inputHandler.onA11yTab,Ge._onA11yTabEmitter)),Ge.register(Ge._bufferService.onResize(function(tt){return Ge._afterResize(tt.cols,tt.rows)})),Ge}return a(Oe,Pe),Object.defineProperty(Oe.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),Oe.prototype.dispose=function(){var He,Ge,tt;this._isDisposed||(Pe.prototype.dispose.call(this),(He=this._renderService)===null||He===void 0||He.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(tt=(Ge=this.element)===null||Ge===void 0?void 0:Ge.parentNode)===null||tt===void 0||tt.removeChild(this.element))},Oe.prototype._setup=function(){Pe.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(Oe.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),Oe.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},Oe.prototype._updateOptions=function(He){var Ge,tt,Me,We;switch(Pe.prototype._updateOptions.call(this,He),He){case"fontFamily":case"fontSize":(Ge=this._renderService)===null||Ge===void 0||Ge.clear(),(tt=this._charSizeService)===null||tt===void 0||tt.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(Me=this.viewport)===null||Me===void 0||Me.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new le.AccessibilityManager(this,this._renderService)):((We=this._accessibilityManager)===null||We===void 0||We.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},Oe.prototype._onTextAreaFocus=function(He){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(oe.C0.ESC+"[I"),this.updateCursorStyle(He),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},Oe.prototype.blur=function(){var He;return(He=this.textarea)===null||He===void 0?void 0:He.blur()},Oe.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(oe.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},Oe.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var He=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Ge=this._bufferService.buffer.y*He,tt=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=tt+"px",this.textarea.style.top=Ge+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=He+"px",this.textarea.style.lineHeight=He+"px",this.textarea.style.zIndex="-5"}},Oe.prototype._initGlobal=function(){var He=this;this._bindKeys(),this.register(b.addDisposableDomListener(this.element,"copy",function(tt){He.hasSelection()&&ee.copyHandler(tt,He._selectionService)}));var Ge=function(tt){return ee.handlePasteEvent(tt,He.textarea,He._coreService)};this.register(b.addDisposableDomListener(this.textarea,"paste",Ge)),this.register(b.addDisposableDomListener(this.element,"paste",Ge)),x.isFirefox?this.register(b.addDisposableDomListener(this.element,"mousedown",function(tt){tt.button===2&&ee.rightClickHandler(tt,He.textarea,He.screenElement,He._selectionService,He.options.rightClickSelectsWord)})):this.register(b.addDisposableDomListener(this.element,"contextmenu",function(tt){ee.rightClickHandler(tt,He.textarea,He.screenElement,He._selectionService,He.options.rightClickSelectsWord)})),x.isLinux&&this.register(b.addDisposableDomListener(this.element,"auxclick",function(tt){tt.button===1&&ee.moveTextAreaUnderMouseCursor(tt,He.textarea,He.screenElement)}))},Oe.prototype._bindKeys=function(){var He=this;this.register(b.addDisposableDomListener(this.textarea,"keyup",function(Ge){return He._keyUp(Ge)},!0)),this.register(b.addDisposableDomListener(this.textarea,"keydown",function(Ge){return He._keyDown(Ge)},!0)),this.register(b.addDisposableDomListener(this.textarea,"keypress",function(Ge){return He._keyPress(Ge)},!0)),this.register(b.addDisposableDomListener(this.textarea,"compositionstart",function(){return He._compositionHelper.compositionstart()})),this.register(b.addDisposableDomListener(this.textarea,"compositionupdate",function(Ge){return He._compositionHelper.compositionupdate(Ge)})),this.register(b.addDisposableDomListener(this.textarea,"compositionend",function(){return He._compositionHelper.compositionend()})),this.register(this.onRender(function(){return He._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Ge){return He._queueLinkification(Ge.start,Ge.end)}))},Oe.prototype.open=function(He){var Ge=this;if(!He)throw new Error("Terminal requires a parent element.");je.body.contains(He)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=He.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),He.appendChild(this.element);var tt=je.createDocumentFragment();this._viewportElement=je.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),tt.appendChild(this._viewportElement),this._viewportScrollArea=je.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=je.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=je.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),tt.appendChild(this.screenElement),this.textarea=je.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",E.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(b.addDisposableDomListener(this.textarea,"focus",function(it){return Ge._onTextAreaFocus(it)})),this.register(b.addDisposableDomListener(this.textarea,"blur",function(){return Ge._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Me=this._instantiationService.createInstance(Ae.CoreBrowserService,this.textarea);this._instantiationService.setService(xe.ICoreBrowserService,Me),this._charSizeService=this._instantiationService.createInstance(ve.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(xe.ICharSizeService,this._charSizeService),this._compositionView=je.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(he.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(tt),this._theme=this.options.theme||this._theme,this._colorManager=new _e.ColorManager(je,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(it){return Ge._colorManager.onOptionsChange(it)})),this._colorManager.setTheme(this._theme);var We=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(we.RenderService,We,this.rows,this.screenElement)),this._instantiationService.setService(xe.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(it){return Ge._onRender.fire(it)})),this.onResize(function(it){return Ge._renderService.resize(it.cols,it.rows)}),this._soundService=this._instantiationService.createInstance(re.SoundService),this._instantiationService.setService(xe.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(Se.MouseService),this._instantiationService.setService(xe.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(de.Viewport,function(it,ut){return Ge.scrollLines(it,ut)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Ge.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Ge._renderService.onCursorMove(),Ge._syncTextArea()})),this.register(this.onResize(function(){return Ge._renderService.onResize(Ge.cols,Ge.rows)})),this.register(this.onBlur(function(){return Ge._renderService.onBlur()})),this.register(this.onFocus(function(){return Ge._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Ge.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(z.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(xe.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(it){return Ge.scrollLines(it.amount,it.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Ge._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(it){return Ge._renderService.onSelectionChanged(it.start,it.end,it.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(it){Ge.textarea.value=it,Ge.textarea.focus(),Ge.textarea.select()})),this.register(this.onScroll(function(){Ge.viewport.syncScrollArea(),Ge._selectionService.refresh()})),this.register(b.addDisposableDomListener(this._viewportElement,"scroll",function(){return Ge._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(ae.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Ge._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(b.addDisposableDomListener(this.element,"mousedown",function(it){return Ge._selectionService.onMouseDown(it)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new le.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},Oe.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(te.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(fe.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},Oe.prototype._setTheme=function(He){var Ge,tt,Me;this._theme=He,(Ge=this._colorManager)===null||Ge===void 0||Ge.setTheme(He),(tt=this._renderService)===null||tt===void 0||tt.setColors(this._colorManager.colors),(Me=this.viewport)===null||Me===void 0||Me.onThemeChange(this._colorManager.colors)},Oe.prototype.bindMouse=function(){var He=this,Ge=this,tt=this.element;function Me(Xe){var Qe,st,rt=Ge._mouseService.getRawByteCoords(Xe,Ge.screenElement,Ge.cols,Ge.rows);if(!rt)return!1;switch(Xe.overrideType||Xe.type){case"mousemove":st=32,Xe.buttons===void 0?(Qe=3,Xe.button!==void 0&&(Qe=Xe.button<3?Xe.button:3)):Qe=1&Xe.buttons?0:4&Xe.buttons?1:2&Xe.buttons?2:3;break;case"mouseup":st=0,Qe=Xe.button<3?Xe.button:3;break;case"mousedown":st=1,Qe=Xe.button<3?Xe.button:3;break;case"wheel":Xe.deltaY!==0&&(st=Xe.deltaY<0?0:1),Qe=4;break;default:return!1}return!(st===void 0||Qe===void 0||Qe>4)&&Ge._coreMouseService.triggerMouseEvent({col:rt.x-33,row:rt.y-33,button:Qe,action:st,ctrl:Xe.ctrlKey,alt:Xe.altKey,shift:Xe.shiftKey})}var We={mouseup:null,wheel:null,mousedrag:null,mousemove:null},it=function(Xe){return Me(Xe),Xe.buttons||(He._document.removeEventListener("mouseup",We.mouseup),We.mousedrag&&He._document.removeEventListener("mousemove",We.mousedrag)),He.cancel(Xe)},ut=function(Xe){return Me(Xe),Xe.preventDefault(),He.cancel(Xe)},$e=function(Xe){Xe.buttons&&Me(Xe)},Je=function(Xe){Xe.buttons||Me(Xe)};this.register(this._coreMouseService.onProtocolChange(function(Xe){Xe?(He.optionsService.options.logLevel==="debug"&&He._logService.debug("Binding to mouse events:",He._coreMouseService.explainEvents(Xe)),He.element.classList.add("enable-mouse-events"),He._selectionService.disable()):(He._logService.debug("Unbinding from mouse events."),He.element.classList.remove("enable-mouse-events"),He._selectionService.enable()),8&Xe?We.mousemove||(tt.addEventListener("mousemove",Je),We.mousemove=Je):(tt.removeEventListener("mousemove",We.mousemove),We.mousemove=null),16&Xe?We.wheel||(tt.addEventListener("wheel",ut,{passive:!1}),We.wheel=ut):(tt.removeEventListener("wheel",We.wheel),We.wheel=null),2&Xe?We.mouseup||(We.mouseup=it):(He._document.removeEventListener("mouseup",We.mouseup),We.mouseup=null),4&Xe?We.mousedrag||(We.mousedrag=$e):(He._document.removeEventListener("mousemove",We.mousedrag),We.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(b.addDisposableDomListener(tt,"mousedown",function(Xe){if(Xe.preventDefault(),He.focus(),He._coreMouseService.areMouseEventsActive&&!He._selectionService.shouldForceSelection(Xe))return Me(Xe),We.mouseup&&He._document.addEventListener("mouseup",We.mouseup),We.mousedrag&&He._document.addEventListener("mousemove",We.mousedrag),He.cancel(Xe)})),this.register(b.addDisposableDomListener(tt,"wheel",function(Xe){if(!We.wheel){if(!He.buffer.hasScrollback){var Qe=He.viewport.getLinesScrolled(Xe);if(Qe===0)return;for(var st=oe.C0.ESC+(He._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(Xe.deltaY<0?"A":"B"),rt="",pt=0;pt<Math.abs(Qe);pt++)rt+=st;He._coreService.triggerDataEvent(rt,!0)}}},{passive:!0})),this.register(b.addDisposableDomListener(tt,"wheel",function(Xe){if(!We.wheel)return He.viewport.onWheel(Xe)?void 0:He.cancel(Xe)},{passive:!1})),this.register(b.addDisposableDomListener(tt,"touchstart",function(Xe){if(!He._coreMouseService.areMouseEventsActive)return He.viewport.onTouchStart(Xe),He.cancel(Xe)},{passive:!0})),this.register(b.addDisposableDomListener(tt,"touchmove",function(Xe){if(!He._coreMouseService.areMouseEventsActive)return He.viewport.onTouchMove(Xe)?void 0:He.cancel(Xe)},{passive:!1}))},Oe.prototype.refresh=function(He,Ge){var tt;(tt=this._renderService)===null||tt===void 0||tt.refreshRows(He,Ge)},Oe.prototype._queueLinkification=function(He,Ge){var tt;(tt=this.linkifier)===null||tt===void 0||tt.linkifyRows(He,Ge)},Oe.prototype.updateCursorStyle=function(He){this._selectionService&&this._selectionService.shouldColumnSelect(He)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},Oe.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},Oe.prototype.scrollLines=function(He,Ge){Pe.prototype.scrollLines.call(this,He,Ge),this.refresh(0,this.rows-1)},Oe.prototype.paste=function(He){ee.paste(He,this.textarea,this._coreService)},Oe.prototype.attachCustomKeyEventHandler=function(He){this._customKeyEventHandler=He},Oe.prototype.registerLinkMatcher=function(He,Ge,tt){var Me=this.linkifier.registerLinkMatcher(He,Ge,tt);return this.refresh(0,this.rows-1),Me},Oe.prototype.deregisterLinkMatcher=function(He){this.linkifier.deregisterLinkMatcher(He)&&this.refresh(0,this.rows-1)},Oe.prototype.registerLinkProvider=function(He){return this.linkifier2.registerLinkProvider(He)},Oe.prototype.registerCharacterJoiner=function(He){var Ge=this._renderService.registerCharacterJoiner(He);return this.refresh(0,this.rows-1),Ge},Oe.prototype.deregisterCharacterJoiner=function(He){this._renderService.deregisterCharacterJoiner(He)&&this.refresh(0,this.rows-1)},Object.defineProperty(Oe.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),Oe.prototype.addMarker=function(He){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+He)},Oe.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},Oe.prototype.select=function(He,Ge,tt){this._selectionService.setSelection(He,Ge,tt)},Oe.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},Oe.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},Oe.prototype.clearSelection=function(){var He;(He=this._selectionService)===null||He===void 0||He.clearSelection()},Oe.prototype.selectAll=function(){var He;(He=this._selectionService)===null||He===void 0||He.selectAll()},Oe.prototype.selectLines=function(He,Ge){var tt;(tt=this._selectionService)===null||tt===void 0||tt.selectLines(He,Ge)},Oe.prototype._keyDown=function(He){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(He)===!1)return!1;if(!this._compositionHelper.keydown(He))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var Ge=ce.evaluateKeyboardEvent(He,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(He),Ge.type===3||Ge.type===2){var tt=this.rows-1;return this.scrollLines(Ge.type===2?-tt:tt),this.cancel(He,!0)}return Ge.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,He)||(Ge.cancel&&this.cancel(He,!0),!Ge.key||(Ge.key!==oe.C0.ETX&&Ge.key!==oe.C0.CR||(this.textarea.value=""),this._onKey.fire({key:Ge.key,domEvent:He}),this._showCursor(),this._coreService.triggerDataEvent(Ge.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(He,!0)))},Oe.prototype._isThirdLevelShift=function(He,Ge){var tt=He.isMac&&!this.options.macOptionIsMeta&&Ge.altKey&&!Ge.ctrlKey&&!Ge.metaKey||He.isWindows&&Ge.altKey&&Ge.ctrlKey&&!Ge.metaKey;return Ge.type==="keypress"?tt:tt&&(!Ge.keyCode||Ge.keyCode>47)},Oe.prototype._keyUp=function(He){this._customKeyEventHandler&&this._customKeyEventHandler(He)===!1||(function(Ge){return Ge.keyCode===16||Ge.keyCode===17||Ge.keyCode===18}(He)||this.focus(),this.updateCursorStyle(He))},Oe.prototype._keyPress=function(He){var Ge;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(He)===!1)return!1;if(this.cancel(He),He.charCode)Ge=He.charCode;else if(He.which===null||He.which===void 0)Ge=He.keyCode;else{if(He.which===0||He.charCode===0)return!1;Ge=He.which}return!(!Ge||(He.altKey||He.ctrlKey||He.metaKey)&&!this._isThirdLevelShift(this.browser,He))&&(Ge=String.fromCharCode(Ge),this._onKey.fire({key:Ge,domEvent:He}),this._showCursor(),this._coreService.triggerDataEvent(Ge,!0),!0)},Oe.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},Oe.prototype.resize=function(He,Ge){He!==this.cols||Ge!==this.rows?Pe.prototype.resize.call(this,He,Ge):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},Oe.prototype._afterResize=function(He,Ge){var tt,Me;(tt=this._charSizeService)===null||tt===void 0||tt.measure(),(Me=this.viewport)===null||Me===void 0||Me.syncScrollArea(!0)},Oe.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var He=1;He<this.rows;He++)this.buffer.lines.push(this.buffer.getBlankLine(ge.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},Oe.prototype.reset=function(){var He,Ge;this.options.rows=this.rows,this.options.cols=this.cols;var tt=this._customKeyEventHandler;this._setup(),Pe.prototype.reset.call(this),(He=this._selectionService)===null||He===void 0||He.reset(),this._customKeyEventHandler=tt,this.refresh(0,this.rows-1),(Ge=this.viewport)===null||Ge===void 0||Ge.syncScrollArea()},Oe.prototype._reportWindowsOptions=function(He){if(this._renderService)switch(He){case ne.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var Ge=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),tt=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(oe.C0.ESC+"[4;"+tt+";"+Ge+"t");break;case ne.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var Me=this._renderService.dimensions.scaledCellWidth.toFixed(0),We=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(oe.C0.ESC+"[6;"+We+";"+Me+"t")}},Oe.prototype.cancel=function(He,Ge){if(this.options.cancelEvents||Ge)return He.preventDefault(),He.stopPropagation(),!1},Oe.prototype._visualBell=function(){return!1},Oe.prototype._soundBell=function(){return this.options.bellStyle==="sound"},Oe}(Te.CoreTerminal);Ce.Terminal=ke},function(mt,Ce,ye){"use strict";var ze=this&&this.__decorate||function(oe,ne,te,se){var z,x=arguments.length,b=x<3?ne:se===null?se=Object.getOwnPropertyDescriptor(ne,te):se;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(oe,ne,te,se);else for(var E=oe.length-1;E>=0;E--)(z=oe[E])&&(b=(x<3?z(b):x>3?z(ne,te,b):z(ne,te))||b);return x>3&&b&&Object.defineProperty(ne,te,b),b},a=this&&this.__param||function(oe,ne){return function(te,se){ne(te,se,oe)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CompositionHelper=void 0;var he=ye(5),de=ye(1),ee=function(){function oe(ne,te,se,z,x,b){this._textarea=ne,this._compositionView=te,this._bufferService=se,this._optionsService=z,this._charSizeService=x,this._coreService=b,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(oe.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),oe.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},oe.prototype.compositionupdate=function(ne){var te=this;this._compositionView.textContent=ne.data,this.updateCompositionElements(),setTimeout(function(){te._compositionPosition.end=te._textarea.value.length},0)},oe.prototype.compositionend=function(){this._finalizeComposition(!0)},oe.prototype.keydown=function(ne){if(this._isComposing||this._isSendingComposition){if(ne.keyCode===229||ne.keyCode===16||ne.keyCode===17||ne.keyCode===18)return!1;this._finalizeComposition(!1)}return ne.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},oe.prototype._finalizeComposition=function(ne){var te=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,ne){var se={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(te._isSendingComposition){te._isSendingComposition=!1;var x=void 0;x=te._isComposing?te._textarea.value.substring(se.start,se.end):te._textarea.value.substring(se.start),te._coreService.triggerDataEvent(x,!0)}},0)}else{this._isSendingComposition=!1;var z=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(z,!0)}},oe.prototype._handleAnyTextareaChanges=function(){var ne=this,te=this._textarea.value;setTimeout(function(){if(!ne._isComposing){var se=ne._textarea.value.replace(te,"");se.length>0&&ne._coreService.triggerDataEvent(se,!0)}},0)},oe.prototype.updateCompositionElements=function(ne){var te=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var se=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),z=this._bufferService.buffer.y*se,x=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=x+"px",this._compositionView.style.top=z+"px",this._compositionView.style.height=se+"px",this._compositionView.style.lineHeight=se+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var b=this._compositionView.getBoundingClientRect();this._textarea.style.left=x+"px",this._textarea.style.top=z+"px",this._textarea.style.width=b.width+"px",this._textarea.style.height=b.height+"px",this._textarea.style.lineHeight=b.height+"px"}ne||setTimeout(function(){return te.updateCompositionElements(!0)},0)}},oe=ze([a(2,de.IBufferService),a(3,de.IOptionsService),a(4,he.ICharSizeService),a(5,de.ICoreService)],oe)}();Ce.CompositionHelper=ee},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(z,x){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var re in E)E.hasOwnProperty(re)&&(b[re]=E[re])})(z,x)},function(z,x){function b(){this.constructor=z}ze(z,x),z.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),he=this&&this.__decorate||function(z,x,b,E){var re,ae=arguments.length,le=ae<3?x:E===null?E=Object.getOwnPropertyDescriptor(x,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")le=Reflect.decorate(z,x,b,E);else for(var fe=z.length-1;fe>=0;fe--)(re=z[fe])&&(le=(ae<3?re(le):ae>3?re(x,b,le):re(x,b))||le);return ae>3&&le&&Object.defineProperty(x,b,le),le},de=this&&this.__param||function(z,x){return function(b,E){x(b,E,z)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.Viewport=void 0;var ee=ye(2),oe=ye(7),ne=ye(5),te=ye(1),se=function(z){function x(b,E,re,ae,le,fe,ce){var ue=z.call(this)||this;return ue._scrollLines=b,ue._viewportElement=E,ue._scrollArea=re,ue._bufferService=ae,ue._optionsService=le,ue._charSizeService=fe,ue._renderService=ce,ue.scrollBarWidth=0,ue._currentRowHeight=0,ue._lastRecordedBufferLength=0,ue._lastRecordedViewportHeight=0,ue._lastRecordedBufferHeight=0,ue._lastTouchY=0,ue._lastScrollTop=0,ue._wheelPartialScroll=0,ue._refreshAnimationFrame=null,ue._ignoreNextScrollEvent=!1,ue.scrollBarWidth=ue._viewportElement.offsetWidth-ue._scrollArea.offsetWidth||15,ue.register(oe.addDisposableDomListener(ue._viewportElement,"scroll",ue._onScroll.bind(ue))),setTimeout(function(){return ue.syncScrollArea()},0),ue}return a(x,z),x.prototype.onThemeChange=function(b){this._viewportElement.style.backgroundColor=b.background.css},x.prototype._refresh=function(b){var E=this;if(b)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return E._innerRefresh()}))},x.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var b=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==b&&(this._lastRecordedBufferHeight=b,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var E=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==E&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=E),this._refreshAnimationFrame=null},x.prototype.syncScrollArea=function(b){if(b===void 0&&(b=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(b);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var E=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===E&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(b)}else this._refresh(b)},x.prototype._onScroll=function(b){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var E=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(E,!0)}},x.prototype._bubbleScroll=function(b,E){var re=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(E<0&&this._viewportElement.scrollTop!==0||E>0&&re<this._lastRecordedBufferHeight)||(b.cancelable&&b.preventDefault(),!1)},x.prototype.onWheel=function(b){var E=this._getPixelsScrolled(b);return E!==0&&(this._viewportElement.scrollTop+=E,this._bubbleScroll(b,E))},x.prototype._getPixelsScrolled=function(b){if(b.deltaY===0)return 0;var E=this._applyScrollModifier(b.deltaY,b);return b.deltaMode===WheelEvent.DOM_DELTA_LINE?E*=this._currentRowHeight:b.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(E*=this._currentRowHeight*this._bufferService.rows),E},x.prototype.getLinesScrolled=function(b){if(b.deltaY===0)return 0;var E=this._applyScrollModifier(b.deltaY,b);return b.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(E/=this._currentRowHeight+0,this._wheelPartialScroll+=E,E=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):b.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(E*=this._bufferService.rows),E},x.prototype._applyScrollModifier=function(b,E){var re=this._optionsService.options.fastScrollModifier;return re==="alt"&&E.altKey||re==="ctrl"&&E.ctrlKey||re==="shift"&&E.shiftKey?b*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:b*this._optionsService.options.scrollSensitivity},x.prototype.onTouchStart=function(b){this._lastTouchY=b.touches[0].pageY},x.prototype.onTouchMove=function(b){var E=this._lastTouchY-b.touches[0].pageY;return this._lastTouchY=b.touches[0].pageY,E!==0&&(this._viewportElement.scrollTop+=E,this._bubbleScroll(b,E))},x=he([de(3,te.IBufferService),de(4,te.IOptionsService),de(5,ne.ICharSizeService),de(6,ne.IRenderService)],x)}(ee.Disposable);Ce.Viewport=se},function(mt,Ce,ye){"use strict";function ze(ee){return ee.replace(/\r?\n/g,"\r")}function a(ee,oe){return oe?"\x1B[200~"+ee+"\x1B[201~":ee}function he(ee,oe,ne){ee=a(ee=ze(ee),ne.decPrivateModes.bracketedPasteMode),ne.triggerDataEvent(ee,!0),oe.value=""}function de(ee,oe,ne){var te=ne.getBoundingClientRect(),se=ee.clientX-te.left-10,z=ee.clientY-te.top-10;oe.style.width="20px",oe.style.height="20px",oe.style.left=se+"px",oe.style.top=z+"px",oe.style.zIndex="1000",oe.focus()}Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.rightClickHandler=Ce.moveTextAreaUnderMouseCursor=Ce.paste=Ce.handlePasteEvent=Ce.copyHandler=Ce.bracketTextForPaste=Ce.prepareTextForTerminal=void 0,Ce.prepareTextForTerminal=ze,Ce.bracketTextForPaste=a,Ce.copyHandler=function(ee,oe){ee.clipboardData&&ee.clipboardData.setData("text/plain",oe.selectionText),ee.preventDefault()},Ce.handlePasteEvent=function(ee,oe,ne){ee.stopPropagation(),ee.clipboardData&&he(ee.clipboardData.getData("text/plain"),oe,ne)},Ce.paste=he,Ce.moveTextAreaUnderMouseCursor=de,Ce.rightClickHandler=function(ee,oe,ne,te,se){de(ee,oe,ne),se&&!te.isClickInSelection(ee)&&te.selectWordAtCursor(ee),oe.value=te.selectionText,oe.select()}},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(z,x){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var re in E)E.hasOwnProperty(re)&&(b[re]=E[re])})(z,x)},function(z,x){function b(){this.constructor=z}ze(z,x),z.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.EscapeSequenceParser=Ce.VT500_TRANSITION_TABLE=Ce.TransitionTable=void 0;var he=ye(2),de=ye(15),ee=ye(21),oe=ye(22),ne=ye(24),te=function(){function z(x){this.table=new Uint8Array(x)}return z.prototype.setDefault=function(x,b){de.fill(this.table,x<<4|b)},z.prototype.add=function(x,b,E,re){this.table[b<<8|x]=E<<4|re},z.prototype.addMany=function(x,b,E,re){for(var ae=0;ae<x.length;ae++)this.table[b<<8|x[ae]]=E<<4|re},z}();Ce.TransitionTable=te,Ce.VT500_TRANSITION_TABLE=function(){var z=new te(4095),x=Array.apply(null,Array(256)).map(function(fe,ce){return ce}),b=function(fe,ce){return x.slice(fe,ce)},E=b(32,127),re=b(0,24);re.push(25),re.push.apply(re,b(28,32));var ae,le=b(0,14);for(ae in z.setDefault(1,0),z.addMany(E,0,2,0),le)z.addMany([24,26,153,154],ae,3,0),z.addMany(b(128,144),ae,3,0),z.addMany(b(144,152),ae,3,0),z.add(156,ae,0,0),z.add(27,ae,11,1),z.add(157,ae,4,8),z.addMany([152,158,159],ae,0,7),z.add(155,ae,11,3),z.add(144,ae,11,9);return z.addMany(re,0,3,0),z.addMany(re,1,3,1),z.add(127,1,0,1),z.addMany(re,8,0,8),z.addMany(re,3,3,3),z.add(127,3,0,3),z.addMany(re,4,3,4),z.add(127,4,0,4),z.addMany(re,6,3,6),z.addMany(re,5,3,5),z.add(127,5,0,5),z.addMany(re,2,3,2),z.add(127,2,0,2),z.add(93,1,4,8),z.addMany(E,8,5,8),z.add(127,8,5,8),z.addMany([156,27,24,26,7],8,6,0),z.addMany(b(28,32),8,0,8),z.addMany([88,94,95],1,0,7),z.addMany(E,7,0,7),z.addMany(re,7,0,7),z.add(156,7,0,0),z.add(127,7,0,7),z.add(91,1,11,3),z.addMany(b(64,127),3,7,0),z.addMany(b(48,60),3,8,4),z.addMany([60,61,62,63],3,9,4),z.addMany(b(48,60),4,8,4),z.addMany(b(64,127),4,7,0),z.addMany([60,61,62,63],4,0,6),z.addMany(b(32,64),6,0,6),z.add(127,6,0,6),z.addMany(b(64,127),6,0,0),z.addMany(b(32,48),3,9,5),z.addMany(b(32,48),5,9,5),z.addMany(b(48,64),5,0,6),z.addMany(b(64,127),5,7,0),z.addMany(b(32,48),4,9,5),z.addMany(b(32,48),1,9,2),z.addMany(b(32,48),2,9,2),z.addMany(b(48,127),2,10,0),z.addMany(b(48,80),1,10,0),z.addMany(b(81,88),1,10,0),z.addMany([89,90,92],1,10,0),z.addMany(b(96,127),1,10,0),z.add(80,1,11,9),z.addMany(re,9,0,9),z.add(127,9,0,9),z.addMany(b(28,32),9,0,9),z.addMany(b(32,48),9,9,12),z.addMany(b(48,60),9,8,10),z.addMany([60,61,62,63],9,9,10),z.addMany(re,11,0,11),z.addMany(b(32,128),11,0,11),z.addMany(b(28,32),11,0,11),z.addMany(re,10,0,10),z.add(127,10,0,10),z.addMany(b(28,32),10,0,10),z.addMany(b(48,60),10,8,10),z.addMany([60,61,62,63],10,0,11),z.addMany(b(32,48),10,9,12),z.addMany(re,12,0,12),z.add(127,12,0,12),z.addMany(b(28,32),12,0,12),z.addMany(b(32,48),12,9,12),z.addMany(b(48,64),12,0,11),z.addMany(b(64,127),12,12,13),z.addMany(b(64,127),10,12,13),z.addMany(b(64,127),9,12,13),z.addMany(re,13,13,13),z.addMany(E,13,13,13),z.add(127,13,0,13),z.addMany([27,156,24,26],13,14,0),z.add(160,0,2,0),z.add(160,8,5,8),z.add(160,6,0,6),z.add(160,11,0,11),z.add(160,13,13,13),z}();var se=function(z){function x(b){b===void 0&&(b=Ce.VT500_TRANSITION_TABLE);var E=z.call(this)||this;return E._transitions=b,E.initialState=0,E.currentState=E.initialState,E._params=new ee.Params,E._params.addParam(0),E._collect=0,E.precedingCodepoint=0,E._printHandlerFb=function(re,ae,le){},E._executeHandlerFb=function(re){},E._csiHandlerFb=function(re,ae){},E._escHandlerFb=function(re){},E._errorHandlerFb=function(re){return re},E._printHandler=E._printHandlerFb,E._executeHandlers=Object.create(null),E._csiHandlers=Object.create(null),E._escHandlers=Object.create(null),E._oscParser=new oe.OscParser,E._dcsParser=new ne.DcsParser,E._errorHandler=E._errorHandlerFb,E.setEscHandler({final:"\\"},function(){}),E}return a(x,z),x.prototype._identifier=function(b,E){E===void 0&&(E=[64,126]);var re=0;if(b.prefix){if(b.prefix.length>1)throw new Error("only one byte as prefix supported");if((re=b.prefix.charCodeAt(0))&&60>re||re>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(b.intermediates){if(b.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var ae=0;ae<b.intermediates.length;++ae){var le=b.intermediates.charCodeAt(ae);if(32>le||le>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");re<<=8,re|=le}}if(b.final.length!==1)throw new Error("final must be a single byte");var fe=b.final.charCodeAt(0);if(E[0]>fe||fe>E[1])throw new Error("final must be in range "+E[0]+" .. "+E[1]);return re<<=8,re|=fe},x.prototype.identToString=function(b){for(var E=[];b;)E.push(String.fromCharCode(255&b)),b>>=8;return E.reverse().join("")},x.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},x.prototype.setPrintHandler=function(b){this._printHandler=b},x.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},x.prototype.addEscHandler=function(b,E){var re=this._identifier(b,[48,126]);this._escHandlers[re]===void 0&&(this._escHandlers[re]=[]);var ae=this._escHandlers[re];return ae.push(E),{dispose:function(){var le=ae.indexOf(E);le!==-1&&ae.splice(le,1)}}},x.prototype.setEscHandler=function(b,E){this._escHandlers[this._identifier(b,[48,126])]=[E]},x.prototype.clearEscHandler=function(b){this._escHandlers[this._identifier(b,[48,126])]&&delete this._escHandlers[this._identifier(b,[48,126])]},x.prototype.setEscHandlerFallback=function(b){this._escHandlerFb=b},x.prototype.setExecuteHandler=function(b,E){this._executeHandlers[b.charCodeAt(0)]=E},x.prototype.clearExecuteHandler=function(b){this._executeHandlers[b.charCodeAt(0)]&&delete this._executeHandlers[b.charCodeAt(0)]},x.prototype.setExecuteHandlerFallback=function(b){this._executeHandlerFb=b},x.prototype.addCsiHandler=function(b,E){var re=this._identifier(b);this._csiHandlers[re]===void 0&&(this._csiHandlers[re]=[]);var ae=this._csiHandlers[re];return ae.push(E),{dispose:function(){var le=ae.indexOf(E);le!==-1&&ae.splice(le,1)}}},x.prototype.setCsiHandler=function(b,E){this._csiHandlers[this._identifier(b)]=[E]},x.prototype.clearCsiHandler=function(b){this._csiHandlers[this._identifier(b)]&&delete this._csiHandlers[this._identifier(b)]},x.prototype.setCsiHandlerFallback=function(b){this._csiHandlerFb=b},x.prototype.addDcsHandler=function(b,E){return this._dcsParser.addHandler(this._identifier(b),E)},x.prototype.setDcsHandler=function(b,E){this._dcsParser.setHandler(this._identifier(b),E)},x.prototype.clearDcsHandler=function(b){this._dcsParser.clearHandler(this._identifier(b))},x.prototype.setDcsHandlerFallback=function(b){this._dcsParser.setHandlerFallback(b)},x.prototype.addOscHandler=function(b,E){return this._oscParser.addHandler(b,E)},x.prototype.setOscHandler=function(b,E){this._oscParser.setHandler(b,E)},x.prototype.clearOscHandler=function(b){this._oscParser.clearHandler(b)},x.prototype.setOscHandlerFallback=function(b){this._oscParser.setHandlerFallback(b)},x.prototype.setErrorHandler=function(b){this._errorHandler=b},x.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},x.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},x.prototype.parse=function(b,E){for(var re=0,ae=0,le=this.currentState,fe=this._oscParser,ce=this._dcsParser,ue=this._collect,ge=this._params,_e=this._transitions.table,we=0;we<E;++we){switch((ae=_e[le<<8|((re=b[we])<160?re:160)])>>4){case 2:for(var xe=we+1;;++xe){if(xe>=E||(re=b[xe])<32||re>126&&re<160){this._printHandler(b,we,xe),we=xe-1;break}if(++xe>=E||(re=b[xe])<32||re>126&&re<160){this._printHandler(b,we,xe),we=xe-1;break}if(++xe>=E||(re=b[xe])<32||re>126&&re<160){this._printHandler(b,we,xe),we=xe-1;break}if(++xe>=E||(re=b[xe])<32||re>126&&re<160){this._printHandler(b,we,xe),we=xe-1;break}}break;case 3:this._executeHandlers[re]?this._executeHandlers[re]():this._executeHandlerFb(re),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:we,code:re,currentState:le,collect:ue,params:ge,abort:!1}).abort)return;break;case 7:for(var ve=this._csiHandlers[ue<<8|re],Se=ve?ve.length-1:-1;Se>=0&&ve[Se](ge)===!1;Se--);Se<0&&this._csiHandlerFb(ue<<8|re,ge),this.precedingCodepoint=0;break;case 8:do switch(re){case 59:ge.addParam(0);break;case 58:ge.addSubParam(-1);break;default:ge.addDigit(re-48)}while(++we<E&&(re=b[we])>47&&re<60);we--;break;case 9:ue<<=8,ue|=re;break;case 10:for(var be=this._escHandlers[ue<<8|re],Ae=be?be.length-1:-1;Ae>=0&&be[Ae]()===!1;Ae--);Ae<0&&this._escHandlerFb(ue<<8|re),this.precedingCodepoint=0;break;case 11:ge.reset(),ge.addParam(0),ue=0;break;case 12:ce.hook(ue<<8|re,ge);break;case 13:for(var Te=we+1;;++Te)if(Te>=E||(re=b[Te])===24||re===26||re===27||re>127&&re<160){ce.put(b,we,Te),we=Te-1;break}break;case 14:ce.unhook(re!==24&&re!==26),re===27&&(ae|=1),ge.reset(),ge.addParam(0),ue=0,this.precedingCodepoint=0;break;case 4:fe.start();break;case 5:for(var je=we+1;;je++)if(je>=E||(re=b[je])<32||re>127&&re<=159){fe.put(b,we,je),we=je-1;break}break;case 6:fe.end(re!==24&&re!==26),re===27&&(ae|=1),ge.reset(),ge.addParam(0),ue=0,this.precedingCodepoint=0}le=15&ae}this._collect=ue,this.currentState=le},x}(he.Disposable);Ce.EscapeSequenceParser=se},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(fe,ce){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ge){ue.__proto__=ge}||function(ue,ge){for(var _e in ge)ge.hasOwnProperty(_e)&&(ue[_e]=ge[_e])})(fe,ce)},function(fe,ce){function ue(){this.constructor=fe}ze(fe,ce),fe.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)}),he=this&&this.__decorate||function(fe,ce,ue,ge){var _e,we=arguments.length,xe=we<3?ce:ge===null?ge=Object.getOwnPropertyDescriptor(ce,ue):ge;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")xe=Reflect.decorate(fe,ce,ue,ge);else for(var ve=fe.length-1;ve>=0;ve--)(_e=fe[ve])&&(xe=(we<3?_e(xe):we>3?_e(ce,ue,xe):_e(ce,ue))||xe);return we>3&&xe&&Object.defineProperty(ce,ue,xe),xe},de=this&&this.__param||function(fe,ce){return function(ue,ge){ce(ue,ge,fe)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.Renderer=void 0;var ee=ye(41),oe=ye(47),ne=ye(48),te=ye(49),se=ye(29),z=ye(2),x=ye(5),b=ye(1),E=ye(25),re=ye(0),ae=1,le=function(fe){function ce(ue,ge,_e,we,xe,ve,Se,be,Ae){var Te=fe.call(this)||this;Te._colors=ue,Te._screenElement=ge,Te._bufferService=xe,Te._charSizeService=ve,Te._optionsService=Se,Te._id=ae++,Te._onRequestRedraw=new re.EventEmitter;var je=Te._optionsService.options.allowTransparency;return Te._characterJoinerRegistry=new se.CharacterJoinerRegistry(Te._bufferService),Te._renderLayers=[new ee.TextRenderLayer(Te._screenElement,0,Te._colors,Te._characterJoinerRegistry,je,Te._id,Te._bufferService,Se),new oe.SelectionRenderLayer(Te._screenElement,1,Te._colors,Te._id,Te._bufferService,Se),new te.LinkRenderLayer(Te._screenElement,2,Te._colors,Te._id,_e,we,Te._bufferService,Se),new ne.CursorRenderLayer(Te._screenElement,3,Te._colors,Te._id,Te._onRequestRedraw,Te._bufferService,Se,be,Ae)],Te.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},Te._devicePixelRatio=window.devicePixelRatio,Te._updateDimensions(),Te.onOptionsChanged(),Te}return a(ce,fe),Object.defineProperty(ce.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),ce.prototype.dispose=function(){for(var ue=0,ge=this._renderLayers;ue<ge.length;ue++)ge[ue].dispose();fe.prototype.dispose.call(this),E.removeTerminalFromCache(this._id)},ce.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},ce.prototype.setColors=function(ue){this._colors=ue;for(var ge=0,_e=this._renderLayers;ge<_e.length;ge++){var we=_e[ge];we.setColors(this._colors),we.reset()}},ce.prototype.onResize=function(ue,ge){this._updateDimensions();for(var _e=0,we=this._renderLayers;_e<we.length;_e++)we[_e].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},ce.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},ce.prototype.onBlur=function(){this._runOperation(function(ue){return ue.onBlur()})},ce.prototype.onFocus=function(){this._runOperation(function(ue){return ue.onFocus()})},ce.prototype.onSelectionChanged=function(ue,ge,_e){_e===void 0&&(_e=!1),this._runOperation(function(we){return we.onSelectionChanged(ue,ge,_e)})},ce.prototype.onCursorMove=function(){this._runOperation(function(ue){return ue.onCursorMove()})},ce.prototype.onOptionsChanged=function(){this._runOperation(function(ue){return ue.onOptionsChanged()})},ce.prototype.clear=function(){this._runOperation(function(ue){return ue.reset()})},ce.prototype._runOperation=function(ue){for(var ge=0,_e=this._renderLayers;ge<_e.length;ge++)ue(_e[ge])},ce.prototype.renderRows=function(ue,ge){for(var _e=0,we=this._renderLayers;_e<we.length;_e++)we[_e].onGridChanged(ue,ge)},ce.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},ce.prototype.registerCharacterJoiner=function(ue){return this._characterJoinerRegistry.registerCharacterJoiner(ue)},ce.prototype.deregisterCharacterJoiner=function(ue){return this._characterJoinerRegistry.deregisterCharacterJoiner(ue)},ce=he([de(4,b.IBufferService),de(5,x.ICharSizeService),de(6,b.IOptionsService),de(7,b.ICoreService),de(8,x.ICoreBrowserService)],ce)}(z.Disposable);Ce.Renderer=le},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(z,x){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var re in E)E.hasOwnProperty(re)&&(b[re]=E[re])})(z,x)},function(z,x){function b(){this.constructor=z}ze(z,x),z.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.TextRenderLayer=void 0;var he=ye(42),de=ye(13),ee=ye(6),oe=ye(3),ne=ye(29),te=ye(4),se=function(z){function x(b,E,re,ae,le,fe,ce,ue){var ge=z.call(this,b,"text",E,le,re,fe,ce,ue)||this;return ge._characterWidth=0,ge._characterFont="",ge._characterOverlapCache={},ge._workCell=new te.CellData,ge._state=new he.GridCache,ge._characterJoinerRegistry=ae,ge}return a(x,z),x.prototype.resize=function(b){z.prototype.resize.call(this,b);var E=this._getFont(!1,!1);this._characterWidth===b.scaledCharWidth&&this._characterFont===E||(this._characterWidth=b.scaledCharWidth,this._characterFont=E,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},x.prototype.reset=function(){this._state.clear(),this._clearAll()},x.prototype._forEachCell=function(b,E,re,ae){for(var le=b;le<=E;le++)for(var fe=le+this._bufferService.buffer.ydisp,ce=this._bufferService.buffer.lines.get(fe),ue=re?re.getJoinedCharacters(fe):[],ge=0;ge<this._bufferService.cols;ge++){ce.loadCell(ge,this._workCell);var _e=this._workCell,we=!1,xe=ge;if(_e.getWidth()!==0){if(ue.length>0&&ge===ue[0][0]){we=!0;var ve=ue.shift();_e=new ne.JoinedCellData(this._workCell,ce.translateToString(!0,ve[0],ve[1]),ve[1]-ve[0]),xe=ve[1]-1}!we&&this._isOverlapping(_e)&&xe<ce.length-1&&ce.getCodePoint(xe+1)===oe.NULL_CELL_CODE&&(_e.content&=-12582913,_e.content|=2<<22),ae(_e,ge,le),ge=xe}}},x.prototype._drawBackground=function(b,E){var re=this,ae=this._ctx,le=this._bufferService.cols,fe=0,ce=0,ue=null;ae.save(),this._forEachCell(b,E,null,function(ge,_e,we){var xe=null;ge.isInverse()?xe=ge.isFgDefault()?re._colors.foreground.css:ge.isFgRGB()?"rgb("+ee.AttributeData.toColorRGB(ge.getFgColor()).join(",")+")":re._colors.ansi[ge.getFgColor()].css:ge.isBgRGB()?xe="rgb("+ee.AttributeData.toColorRGB(ge.getBgColor()).join(",")+")":ge.isBgPalette()&&(xe=re._colors.ansi[ge.getBgColor()].css),ue===null&&(fe=_e,ce=we),we!==ce?(ae.fillStyle=ue||"",re._fillCells(fe,ce,le-fe,1),fe=_e,ce=we):ue!==xe&&(ae.fillStyle=ue||"",re._fillCells(fe,ce,_e-fe,1),fe=_e,ce=we),ue=xe}),ue!==null&&(ae.fillStyle=ue,this._fillCells(fe,ce,le-fe,1)),ae.restore()},x.prototype._drawForeground=function(b,E){var re=this;this._forEachCell(b,E,this._characterJoinerRegistry,function(ae,le,fe){if(!ae.isInvisible()&&(re._drawChars(ae,le,fe),ae.isUnderline())){if(re._ctx.save(),ae.isInverse())if(ae.isBgDefault())re._ctx.fillStyle=re._colors.background.css;else if(ae.isBgRGB())re._ctx.fillStyle="rgb("+ee.AttributeData.toColorRGB(ae.getBgColor()).join(",")+")";else{var ce=ae.getBgColor();re._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&ce<8&&(ce+=8),re._ctx.fillStyle=re._colors.ansi[ce].css}else if(ae.isFgDefault())re._ctx.fillStyle=re._colors.foreground.css;else if(ae.isFgRGB())re._ctx.fillStyle="rgb("+ee.AttributeData.toColorRGB(ae.getFgColor()).join(",")+")";else{var ue=ae.getFgColor();re._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&ue<8&&(ue+=8),re._ctx.fillStyle=re._colors.ansi[ue].css}re._fillBottomLineAtCells(le,fe,ae.getWidth()),re._ctx.restore()}})},x.prototype.onGridChanged=function(b,E){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,b,this._bufferService.cols,E-b+1),this._drawBackground(b,E),this._drawForeground(b,E))},x.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},x.prototype._isOverlapping=function(b){if(b.getWidth()!==1||b.getCode()<256)return!1;var E=b.getChars();if(this._characterOverlapCache.hasOwnProperty(E))return this._characterOverlapCache[E];this._ctx.save(),this._ctx.font=this._characterFont;var re=Math.floor(this._ctx.measureText(E).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[E]=re,re},x}(de.BaseRenderLayer);Ce.TextRenderLayer=se},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.GridCache=void 0;var ze=function(){function a(){this.cache=[]}return a.prototype.resize=function(he,de){for(var ee=0;ee<he;ee++){this.cache.length<=ee&&this.cache.push([]);for(var oe=this.cache[ee].length;oe<de;oe++)this.cache[ee].push(void 0);this.cache[ee].length=de}this.cache.length=he},a.prototype.clear=function(){for(var he=0;he<this.cache.length;he++)for(var de=0;de<this.cache[he].length;de++)this.cache[he][de]=void 0},a}();Ce.GridCache=ze},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(re,ae){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,fe){le.__proto__=fe}||function(le,fe){for(var ce in fe)fe.hasOwnProperty(ce)&&(le[ce]=fe[ce])})(re,ae)},function(re,ae){function le(){this.constructor=re}ze(re,ae),re.prototype=ae===null?Object.create(ae):(le.prototype=ae.prototype,new le)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.NoneCharAtlas=Ce.DynamicCharAtlas=Ce.getGlyphCacheKey=void 0;var he=ye(9),de=ye(44),ee=ye(27),oe=ye(46),ne=ye(11),te=ye(28),se=ye(10),z={css:"rgba(0, 0, 0, 0)",rgba:0};function x(re){return re.code<<21|re.bg<<12|re.fg<<3|(re.bold?0:4)+(re.dim?0:2)+(re.italic?0:1)}Ce.getGlyphCacheKey=x;var b=function(re){function ae(le,fe){var ce=re.call(this)||this;ce._config=fe,ce._drawToCacheCount=0,ce._glyphsWaitingOnBitmap=[],ce._bitmapCommitTimeout=null,ce._bitmap=null,ce._cacheCanvas=le.createElement("canvas"),ce._cacheCanvas.width=1024,ce._cacheCanvas.height=1024,ce._cacheCtx=te.throwIfFalsy(ce._cacheCanvas.getContext("2d",{alpha:!0}));var ue=le.createElement("canvas");ue.width=ce._config.scaledCharWidth,ue.height=ce._config.scaledCharHeight,ce._tmpCtx=te.throwIfFalsy(ue.getContext("2d",{alpha:ce._config.allowTransparency})),ce._width=Math.floor(1024/ce._config.scaledCharWidth),ce._height=Math.floor(1024/ce._config.scaledCharHeight);var ge=ce._width*ce._height;return ce._cacheMap=new oe.LRUMap(ge),ce._cacheMap.prealloc(ge),ce}return a(ae,re),ae.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},ae.prototype.beginFrame=function(){this._drawToCacheCount=0},ae.prototype.draw=function(le,fe,ce,ue){if(fe.code===32)return!0;if(!this._canCache(fe))return!1;var ge=x(fe),_e=this._cacheMap.get(ge);if(_e!=null)return this._drawFromCache(le,_e,ce,ue),!0;if(this._drawToCacheCount<100){var we=void 0;we=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var xe=this._drawToCache(fe,we);return this._cacheMap.set(ge,xe),this._drawFromCache(le,xe,ce,ue),!0}return!1},ae.prototype._canCache=function(le){return le.code<256},ae.prototype._toCoordinateX=function(le){return le%this._width*this._config.scaledCharWidth},ae.prototype._toCoordinateY=function(le){return Math.floor(le/this._width)*this._config.scaledCharHeight},ae.prototype._drawFromCache=function(le,fe,ce,ue){if(!fe.isEmpty){var ge=this._toCoordinateX(fe.index),_e=this._toCoordinateY(fe.index);le.drawImage(fe.inBitmap?this._bitmap:this._cacheCanvas,ge,_e,this._config.scaledCharWidth,this._config.scaledCharHeight,ce,ue,this._config.scaledCharWidth,this._config.scaledCharHeight)}},ae.prototype._getColorFromAnsiIndex=function(le){return le<this._config.colors.ansi.length?this._config.colors.ansi[le]:ee.DEFAULT_ANSI_COLORS[le]},ae.prototype._getBackgroundColor=function(le){return this._config.allowTransparency?z:le.bg===he.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:le.bg<256?this._getColorFromAnsiIndex(le.bg):this._config.colors.background},ae.prototype._getForegroundColor=function(le){return le.fg===he.INVERTED_DEFAULT_COLOR?se.color.opaque(this._config.colors.background):le.fg<256?this._getColorFromAnsiIndex(le.fg):this._config.colors.foreground},ae.prototype._drawToCache=function(le,fe){this._drawToCacheCount++,this._tmpCtx.save();var ce=this._getBackgroundColor(le);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=ce.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var ue=le.bold?this._config.fontWeightBold:this._config.fontWeight,ge=le.italic?"italic":"";this._tmpCtx.font=ge+" "+ue+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(le).css,le.dim&&(this._tmpCtx.globalAlpha=he.DIM_OPACITY),this._tmpCtx.fillText(le.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var _e=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),we=!1;this._config.allowTransparency||(we=function(be,Ae){for(var Te=!0,je=Ae.rgba>>>24,ke=Ae.rgba>>>16&255,Pe=Ae.rgba>>>8&255,Oe=0;Oe<be.data.length;Oe+=4)be.data[Oe]===je&&be.data[Oe+1]===ke&&be.data[Oe+2]===Pe?be.data[Oe+3]=0:Te=!1;return Te}(_e,ce));var xe=this._toCoordinateX(fe),ve=this._toCoordinateY(fe);this._cacheCtx.putImageData(_e,xe,ve);var Se={index:fe,isEmpty:we,inBitmap:!1};return this._addGlyphToBitmap(Se),Se},ae.prototype._addGlyphToBitmap=function(le){var fe=this;!("createImageBitmap"in window)||ne.isFirefox||ne.isSafari||(this._glyphsWaitingOnBitmap.push(le),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return fe._generateBitmap()},100)))},ae.prototype._generateBitmap=function(){var le=this,fe=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(ce){le._bitmap=ce;for(var ue=0;ue<fe.length;ue++)fe[ue].inBitmap=!0}),this._bitmapCommitTimeout=null},ae}(de.BaseCharAtlas);Ce.DynamicCharAtlas=b;var E=function(re){function ae(le,fe){return re.call(this)||this}return a(ae,re),ae.prototype.draw=function(le,fe,ce,ue){return!1},ae}(de.BaseCharAtlas);Ce.NoneCharAtlas=E},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.BaseCharAtlas=void 0;var ze=function(){function a(){this._didWarmUp=!1}return a.prototype.dispose=function(){},a.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},a.prototype._doWarmUp=function(){},a.prototype.beginFrame=function(){},a}();Ce.BaseCharAtlas=ze},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.ColorContrastCache=void 0;var ze=function(){function a(){this._color={},this._rgba={}}return a.prototype.clear=function(){this._color={},this._rgba={}},a.prototype.setCss=function(he,de,ee){this._rgba[he]||(this._rgba[he]={}),this._rgba[he][de]=ee},a.prototype.getCss=function(he,de){return this._rgba[he]?this._rgba[he][de]:void 0},a.prototype.setColor=function(he,de,ee){this._color[he]||(this._color[he]={}),this._color[he][de]=ee},a.prototype.getColor=function(he,de){return this._color[he]?this._color[he][de]:void 0},a}();Ce.ColorContrastCache=ze},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.LRUMap=void 0;var ze=function(){function a(he){this.capacity=he,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return a.prototype._unlinkNode=function(he){var de=he.prev,ee=he.next;he===this._head&&(this._head=ee),he===this._tail&&(this._tail=de),de!==null&&(de.next=ee),ee!==null&&(ee.prev=de)},a.prototype._appendNode=function(he){var de=this._tail;de!==null&&(de.next=he),he.prev=de,he.next=null,this._tail=he,this._head===null&&(this._head=he)},a.prototype.prealloc=function(he){for(var de=this._nodePool,ee=0;ee<he;ee++)de.push({prev:null,next:null,key:null,value:null})},a.prototype.get=function(he){var de=this._map[he];return de!==void 0?(this._unlinkNode(de),this._appendNode(de),de.value):null},a.prototype.peekValue=function(he){var de=this._map[he];return de!==void 0?de.value:null},a.prototype.peek=function(){var he=this._head;return he===null?null:he.value},a.prototype.set=function(he,de){var ee=this._map[he];if(ee!==void 0)ee=this._map[he],this._unlinkNode(ee),ee.value=de;else if(this.size>=this.capacity)ee=this._head,this._unlinkNode(ee),delete this._map[ee.key],ee.key=he,ee.value=de,this._map[he]=ee;else{var oe=this._nodePool;oe.length>0?((ee=oe.pop()).key=he,ee.value=de):ee={prev:null,next:null,key:he,value:de},this._map[he]=ee,this.size++}this._appendNode(ee)},a}();Ce.LRUMap=ze},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(de,ee){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,ne){oe.__proto__=ne}||function(oe,ne){for(var te in ne)ne.hasOwnProperty(te)&&(oe[te]=ne[te])})(de,ee)},function(de,ee){function oe(){this.constructor=de}ze(de,ee),de.prototype=ee===null?Object.create(ee):(oe.prototype=ee.prototype,new oe)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.SelectionRenderLayer=void 0;var he=function(de){function ee(oe,ne,te,se,z,x){var b=de.call(this,oe,"selection",ne,!0,te,se,z,x)||this;return b._clearState(),b}return a(ee,de),ee.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},ee.prototype.resize=function(oe){de.prototype.resize.call(this,oe),this._clearState()},ee.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},ee.prototype.onSelectionChanged=function(oe,ne,te){if(this._didStateChange(oe,ne,te,this._bufferService.buffer.ydisp))if(this._clearAll(),oe&&ne){var se=oe[1]-this._bufferService.buffer.ydisp,z=ne[1]-this._bufferService.buffer.ydisp,x=Math.max(se,0),b=Math.min(z,this._bufferService.rows-1);if(!(x>=this._bufferService.rows||b<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,te){var E=oe[0],re=ne[0]-E,ae=b-x+1;this._fillCells(E,x,re,ae)}else{E=se===x?oe[0]:0;var le=x===b?ne[0]:this._bufferService.cols;this._fillCells(E,x,le-E,1);var fe=Math.max(b-x-1,0);if(this._fillCells(0,x+1,this._bufferService.cols,fe),x!==b){var ce=z===b?ne[0]:this._bufferService.cols;this._fillCells(0,b,ce,1)}}this._state.start=[oe[0],oe[1]],this._state.end=[ne[0],ne[1]],this._state.columnSelectMode=te,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},ee.prototype._didStateChange=function(oe,ne,te,se){return!this._areCoordinatesEqual(oe,this._state.start)||!this._areCoordinatesEqual(ne,this._state.end)||te!==this._state.columnSelectMode||se!==this._state.ydisp},ee.prototype._areCoordinatesEqual=function(oe,ne){return!(!oe||!ne)&&oe[0]===ne[0]&&oe[1]===ne[1]},ee}(ye(13).BaseRenderLayer);Ce.SelectionRenderLayer=he},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(ne,te){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,z){se.__proto__=z}||function(se,z){for(var x in z)z.hasOwnProperty(x)&&(se[x]=z[x])})(ne,te)},function(ne,te){function se(){this.constructor=ne}ze(ne,te),ne.prototype=te===null?Object.create(te):(se.prototype=te.prototype,new se)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CursorRenderLayer=void 0;var he=ye(13),de=ye(4),ee=function(ne){function te(se,z,x,b,E,re,ae,le,fe){var ce=ne.call(this,se,"cursor",z,!0,x,b,re,ae)||this;return ce._onRequestRedraw=E,ce._coreService=le,ce._coreBrowserService=fe,ce._cell=new de.CellData,ce._state={x:0,y:0,isFocused:!1,style:"",width:0},ce._cursorRenderers={bar:ce._renderBarCursor.bind(ce),block:ce._renderBlockCursor.bind(ce),underline:ce._renderUnderlineCursor.bind(ce)},ce}return a(te,ne),te.prototype.resize=function(se){ne.prototype.resize.call(this,se),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},te.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},te.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},te.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},te.prototype.onOptionsChanged=function(){var se,z=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new oe(this._coreBrowserService.isFocused,function(){z._render(!0)})):((se=this._cursorBlinkStateManager)===null||se===void 0||se.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},te.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},te.prototype.onGridChanged=function(se,z){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},te.prototype._render=function(se){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var z=this._bufferService.buffer.ybase+this._bufferService.buffer.y,x=z-this._bufferService.buffer.ydisp;if(x<0||x>=this._bufferService.rows)this._clearCursor();else{var b=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(z).loadCell(b,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var E=this._optionsService.options.cursorStyle;return E&&E!=="block"?this._cursorRenderers[E](b,x,this._cell):this._renderBlurCursor(b,x,this._cell),this._ctx.restore(),this._state.x=b,this._state.y=x,this._state.isFocused=!1,this._state.style=E,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===b&&this._state.y===x&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](b,x,this._cell),this._ctx.restore(),this._state.x=b,this._state.y=x,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},te.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},te.prototype._renderBarCursor=function(se,z,x){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(se,z,this._optionsService.options.cursorWidth),this._ctx.restore()},te.prototype._renderBlockCursor=function(se,z,x){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(se,z,x.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(x,se,z),this._ctx.restore()},te.prototype._renderUnderlineCursor=function(se,z,x){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(se,z),this._ctx.restore()},te.prototype._renderBlurCursor=function(se,z,x){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(se,z,x.getWidth(),1),this._ctx.restore()},te}(he.BaseRenderLayer);Ce.CursorRenderLayer=ee;var oe=function(){function ne(te,se){this._renderCallback=se,this.isCursorVisible=!0,te&&this._restartInterval()}return Object.defineProperty(ne.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),ne.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ne.prototype.restartBlinkAnimation=function(){var te=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){te._renderCallback(),te._animationFrame=void 0})))},ne.prototype._restartInterval=function(te){var se=this;te===void 0&&(te=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(se._animationTimeRestarted){var z=600-(Date.now()-se._animationTimeRestarted);if(se._animationTimeRestarted=void 0,z>0)return void se._restartInterval(z)}se.isCursorVisible=!1,se._animationFrame=window.requestAnimationFrame(function(){se._renderCallback(),se._animationFrame=void 0}),se._blinkInterval=window.setInterval(function(){if(se._animationTimeRestarted){var x=600-(Date.now()-se._animationTimeRestarted);return se._animationTimeRestarted=void 0,void se._restartInterval(x)}se.isCursorVisible=!se.isCursorVisible,se._animationFrame=window.requestAnimationFrame(function(){se._renderCallback(),se._animationFrame=void 0})},600)},te)},ne.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ne.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},ne}()},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(ne,te){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,z){se.__proto__=z}||function(se,z){for(var x in z)z.hasOwnProperty(x)&&(se[x]=z[x])})(ne,te)},function(ne,te){function se(){this.constructor=ne}ze(ne,te),ne.prototype=te===null?Object.create(te):(se.prototype=te.prototype,new se)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.LinkRenderLayer=void 0;var he=ye(13),de=ye(9),ee=ye(26),oe=function(ne){function te(se,z,x,b,E,re,ae,le){var fe=ne.call(this,se,"link",z,!0,x,b,ae,le)||this;return E.onShowLinkUnderline(function(ce){return fe._onShowLinkUnderline(ce)}),E.onHideLinkUnderline(function(ce){return fe._onHideLinkUnderline(ce)}),re.onShowLinkUnderline(function(ce){return fe._onShowLinkUnderline(ce)}),re.onHideLinkUnderline(function(ce){return fe._onHideLinkUnderline(ce)}),fe}return a(te,ne),te.prototype.resize=function(se){ne.prototype.resize.call(this,se),this._state=void 0},te.prototype.reset=function(){this._clearCurrentLink()},te.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var se=this._state.y2-this._state.y1-1;se>0&&this._clearCells(0,this._state.y1+1,this._state.cols,se),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},te.prototype._onShowLinkUnderline=function(se){if(se.fg===de.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:se.fg&&ee.is256Color(se.fg)?this._ctx.fillStyle=this._colors.ansi[se.fg].css:this._ctx.fillStyle=this._colors.foreground.css,se.y1===se.y2)this._fillBottomLineAtCells(se.x1,se.y1,se.x2-se.x1);else{this._fillBottomLineAtCells(se.x1,se.y1,se.cols-se.x1);for(var z=se.y1+1;z<se.y2;z++)this._fillBottomLineAtCells(0,z,se.cols);this._fillBottomLineAtCells(0,se.y2,se.x2)}this._state=se},te.prototype._onHideLinkUnderline=function(se){this._clearCurrentLink()},te}(he.BaseRenderLayer);Ce.LinkRenderLayer=oe},function(mt,Ce,ye){"use strict";var ze=this&&this.__decorate||function(ne,te,se,z){var x,b=arguments.length,E=b<3?te:z===null?z=Object.getOwnPropertyDescriptor(te,se):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(ne,te,se,z);else for(var re=ne.length-1;re>=0;re--)(x=ne[re])&&(E=(b<3?x(E):b>3?x(te,se,E):x(te,se))||E);return b>3&&E&&Object.defineProperty(te,se,E),E},a=this&&this.__param||function(ne,te){return function(se,z){te(se,z,ne)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.MouseZone=Ce.Linkifier=void 0;var he=ye(0),de=ye(1),ee=function(){function ne(te,se,z){this._bufferService=te,this._logService=se,this._unicodeService=z,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new he.EventEmitter,this._onHideLinkUnderline=new he.EventEmitter,this._onLinkTooltip=new he.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(ne.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),ne.prototype.attachToDom=function(te,se){this._element=te,this._mouseZoneManager=se},ne.prototype.linkifyRows=function(te,se){var z=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=te,this._rowsToLinkify.end=se):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,te),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,se)),this._mouseZoneManager.clearAll(te,se),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return z._linkifyRows()},ne._timeBeforeLatency))},ne.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var te=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var se=te.ydisp+this._rowsToLinkify.start;if(!(se>=te.lines.length)){for(var z=te.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,x=Math.ceil(2e3/this._bufferService.cols),b=this._bufferService.buffer.iterator(!1,se,z,x,x);b.hasNext();)for(var E=b.next(),re=0;re<this._linkMatchers.length;re++)this._doLinkifyRow(E.range.first,E.content,this._linkMatchers[re]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},ne.prototype.registerLinkMatcher=function(te,se,z){if(z===void 0&&(z={}),!se)throw new Error("handler must be defined");var x={id:this._nextLinkMatcherId++,regex:te,handler:se,matchIndex:z.matchIndex,validationCallback:z.validationCallback,hoverTooltipCallback:z.tooltipCallback,hoverLeaveCallback:z.leaveCallback,willLinkActivate:z.willLinkActivate,priority:z.priority||0};return this._addLinkMatcherToList(x),x.id},ne.prototype._addLinkMatcherToList=function(te){if(this._linkMatchers.length!==0){for(var se=this._linkMatchers.length-1;se>=0;se--)if(te.priority<=this._linkMatchers[se].priority)return void this._linkMatchers.splice(se+1,0,te);this._linkMatchers.splice(0,0,te)}else this._linkMatchers.push(te)},ne.prototype.deregisterLinkMatcher=function(te){for(var se=0;se<this._linkMatchers.length;se++)if(this._linkMatchers[se].id===te)return this._linkMatchers.splice(se,1),!0;return!1},ne.prototype._doLinkifyRow=function(te,se,z){for(var x,b=this,E=new RegExp(z.regex.source,(z.regex.flags||"")+"g"),re=-1,ae=function(){var fe=x[typeof z.matchIndex!="number"?0:z.matchIndex];if(!fe)return le._logService.debug("match found without corresponding matchIndex",x,z),"break";if(re=se.indexOf(fe,re+1),E.lastIndex=re+fe.length,re<0)return"break";var ce=le._bufferService.buffer.stringIndexToBufferIndex(te,re);if(ce[0]<0)return"break";var ue=le._bufferService.buffer.lines.get(ce[0]);if(!ue)return"break";var ge=ue.getFg(ce[1]),_e=ge?ge>>9&511:void 0;z.validationCallback?z.validationCallback(fe,function(we){b._rowsTimeoutId||we&&b._addLink(ce[1],ce[0]-b._bufferService.buffer.ydisp,fe,z,_e)}):le._addLink(ce[1],ce[0]-le._bufferService.buffer.ydisp,fe,z,_e)},le=this;(x=E.exec(se))!==null&&ae()!=="break";);},ne.prototype._addLink=function(te,se,z,x,b){var E=this;if(this._mouseZoneManager&&this._element){var re=this._unicodeService.getStringCellWidth(z),ae=te%this._bufferService.cols,le=se+Math.floor(te/this._bufferService.cols),fe=(ae+re)%this._bufferService.cols,ce=le+Math.floor((ae+re)/this._bufferService.cols);fe===0&&(fe=this._bufferService.cols,ce--),this._mouseZoneManager.add(new oe(ae+1,le+1,fe+1,ce+1,function(ue){if(x.handler)return x.handler(ue,z);var ge=window.open();ge?(ge.opener=null,ge.location.href=z):console.warn("Opening link blocked as opener could not be cleared")},function(){E._onShowLinkUnderline.fire(E._createLinkHoverEvent(ae,le,fe,ce,b)),E._element.classList.add("xterm-cursor-pointer")},function(ue){E._onLinkTooltip.fire(E._createLinkHoverEvent(ae,le,fe,ce,b)),x.hoverTooltipCallback&&x.hoverTooltipCallback(ue,z,{start:{x:ae,y:le},end:{x:fe,y:ce}})},function(){E._onHideLinkUnderline.fire(E._createLinkHoverEvent(ae,le,fe,ce,b)),E._element.classList.remove("xterm-cursor-pointer"),x.hoverLeaveCallback&&x.hoverLeaveCallback()},function(ue){return!x.willLinkActivate||x.willLinkActivate(ue,z)}))}},ne.prototype._createLinkHoverEvent=function(te,se,z,x,b){return{x1:te,y1:se,x2:z,y2:x,cols:this._bufferService.cols,fg:b}},ne._timeBeforeLatency=200,ne=ze([a(0,de.IBufferService),a(1,de.ILogService),a(2,de.IUnicodeService)],ne)}();Ce.Linkifier=ee;var oe=function(ne,te,se,z,x,b,E,re,ae){this.x1=ne,this.y1=te,this.x2=se,this.y2=z,this.clickCallback=x,this.hoverCallback=b,this.tooltipCallback=E,this.leaveCallback=re,this.willLinkActivate=ae};Ce.MouseZone=oe},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(fe,ce){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ge){ue.__proto__=ge}||function(ue,ge){for(var _e in ge)ge.hasOwnProperty(_e)&&(ue[_e]=ge[_e])})(fe,ce)},function(fe,ce){function ue(){this.constructor=fe}ze(fe,ce),fe.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)}),he=this&&this.__decorate||function(fe,ce,ue,ge){var _e,we=arguments.length,xe=we<3?ce:ge===null?ge=Object.getOwnPropertyDescriptor(ce,ue):ge;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")xe=Reflect.decorate(fe,ce,ue,ge);else for(var ve=fe.length-1;ve>=0;ve--)(_e=fe[ve])&&(xe=(we<3?_e(xe):we>3?_e(ce,ue,xe):_e(ce,ue))||xe);return we>3&&xe&&Object.defineProperty(ce,ue,xe),xe},de=this&&this.__param||function(fe,ce){return function(ue,ge){ce(ue,ge,fe)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.SelectionService=void 0;var ee=ye(11),oe=ye(52),ne=ye(4),te=ye(0),se=ye(5),z=ye(1),x=ye(30),b=ye(53),E=ye(2),re="\xA0",ae=new RegExp(re,"g"),le=function(fe){function ce(ue,ge,_e,we,xe,ve,Se){var be=fe.call(this)||this;return be._element=ue,be._screenElement=ge,be._bufferService=_e,be._coreService=we,be._mouseService=xe,be._optionsService=ve,be._renderService=Se,be._dragScrollAmount=0,be._enabled=!0,be._workCell=new ne.CellData,be._mouseDownTimeStamp=0,be._onLinuxMouseSelection=be.register(new te.EventEmitter),be._onRedrawRequest=be.register(new te.EventEmitter),be._onSelectionChange=be.register(new te.EventEmitter),be._onRequestScrollLines=be.register(new te.EventEmitter),be._mouseMoveListener=function(Ae){return be._onMouseMove(Ae)},be._mouseUpListener=function(Ae){return be._onMouseUp(Ae)},be._coreService.onUserInput(function(){be.hasSelection&&be.clearSelection()}),be._trimListener=be._bufferService.buffer.lines.onTrim(function(Ae){return be._onTrim(Ae)}),be.register(be._bufferService.buffers.onBufferActivate(function(Ae){return be._onBufferActivate(Ae)})),be.enable(),be._model=new oe.SelectionModel(be._bufferService),be._activeSelectionMode=0,be}return a(ce,fe),Object.defineProperty(ce.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),ce.prototype.dispose=function(){this._removeMouseDownListeners()},ce.prototype.reset=function(){this.clearSelection()},ce.prototype.disable=function(){this.clearSelection(),this._enabled=!1},ce.prototype.enable=function(){this._enabled=!0},Object.defineProperty(ce.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"hasSelection",{get:function(){var ue=this._model.finalSelectionStart,ge=this._model.finalSelectionEnd;return!(!ue||!ge)&&(ue[0]!==ge[0]||ue[1]!==ge[1])},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"selectionText",{get:function(){var ue=this._model.finalSelectionStart,ge=this._model.finalSelectionEnd;if(!ue||!ge)return"";var _e=this._bufferService.buffer,we=[];if(this._activeSelectionMode===3){if(ue[0]===ge[0])return"";for(var xe=ue[1];xe<=ge[1];xe++){var ve=_e.translateBufferLineToString(xe,!0,ue[0],ge[0]);we.push(ve)}}else{var Se=ue[1]===ge[1]?ge[0]:void 0;for(we.push(_e.translateBufferLineToString(ue[1],!0,ue[0],Se)),xe=ue[1]+1;xe<=ge[1]-1;xe++){var be=_e.lines.get(xe);ve=_e.translateBufferLineToString(xe,!0),be&&be.isWrapped?we[we.length-1]+=ve:we.push(ve)}ue[1]!==ge[1]&&(be=_e.lines.get(ge[1]),ve=_e.translateBufferLineToString(ge[1],!0,0,ge[0]),be&&be.isWrapped?we[we.length-1]+=ve:we.push(ve))}return we.map(function(Ae){return Ae.replace(ae," ")}).join(ee.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),ce.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},ce.prototype.refresh=function(ue){var ge=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return ge._refresh()})),ee.isLinux&&ue&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},ce.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},ce.prototype.isClickInSelection=function(ue){var ge=this._getMouseBufferCoords(ue),_e=this._model.finalSelectionStart,we=this._model.finalSelectionEnd;return!!(_e&&we&&ge)&&this._areCoordsInSelection(ge,_e,we)},ce.prototype._areCoordsInSelection=function(ue,ge,_e){return ue[1]>ge[1]&&ue[1]<_e[1]||ge[1]===_e[1]&&ue[1]===ge[1]&&ue[0]>=ge[0]&&ue[0]<_e[0]||ge[1]<_e[1]&&ue[1]===_e[1]&&ue[0]<_e[0]||ge[1]<_e[1]&&ue[1]===ge[1]&&ue[0]>=ge[0]},ce.prototype.selectWordAtCursor=function(ue){var ge=this._getMouseBufferCoords(ue);ge&&(this._selectWordAt(ge,!1),this._model.selectionEnd=void 0,this.refresh(!0))},ce.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},ce.prototype.selectLines=function(ue,ge){this._model.clearSelection(),ue=Math.max(ue,0),ge=Math.min(ge,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,ue],this._model.selectionEnd=[this._bufferService.cols,ge],this.refresh(),this._onSelectionChange.fire()},ce.prototype._onTrim=function(ue){this._model.onTrim(ue)&&this.refresh()},ce.prototype._getMouseBufferCoords=function(ue){var ge=this._mouseService.getCoords(ue,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(ge)return ge[0]--,ge[1]--,ge[1]+=this._bufferService.buffer.ydisp,ge},ce.prototype._getMouseEventScrollAmount=function(ue){var ge=x.getCoordsRelativeToElement(ue,this._screenElement)[1],_e=this._renderService.dimensions.canvasHeight;return ge>=0&&ge<=_e?0:(ge>_e&&(ge-=_e),ge=Math.min(Math.max(ge,-50),50),(ge/=50)/Math.abs(ge)+Math.round(14*ge))},ce.prototype.shouldForceSelection=function(ue){return ee.isMac?ue.altKey&&this._optionsService.options.macOptionClickForcesSelection:ue.shiftKey},ce.prototype.onMouseDown=function(ue){if(this._mouseDownTimeStamp=ue.timeStamp,(ue.button!==2||!this.hasSelection)&&ue.button===0){if(!this._enabled){if(!this.shouldForceSelection(ue))return;ue.stopPropagation()}ue.preventDefault(),this._dragScrollAmount=0,this._enabled&&ue.shiftKey?this._onIncrementalClick(ue):ue.detail===1?this._onSingleClick(ue):ue.detail===2?this._onDoubleClick(ue):ue.detail===3&&this._onTripleClick(ue),this._addMouseDownListeners(),this.refresh(!0)}},ce.prototype._addMouseDownListeners=function(){var ue=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return ue._dragScroll()},50)},ce.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},ce.prototype._onIncrementalClick=function(ue){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(ue))},ce.prototype._onSingleClick=function(ue){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(ue)?3:0,this._model.selectionStart=this._getMouseBufferCoords(ue),this._model.selectionStart){this._model.selectionEnd=void 0;var ge=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);ge&&ge.length!==this._model.selectionStart[0]&&ge.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},ce.prototype._onDoubleClick=function(ue){var ge=this._getMouseBufferCoords(ue);ge&&(this._activeSelectionMode=1,this._selectWordAt(ge,!0))},ce.prototype._onTripleClick=function(ue){var ge=this._getMouseBufferCoords(ue);ge&&(this._activeSelectionMode=2,this._selectLineAt(ge[1]))},ce.prototype.shouldColumnSelect=function(ue){return ue.altKey&&!(ee.isMac&&this._optionsService.options.macOptionClickForcesSelection)},ce.prototype._onMouseMove=function(ue){if(ue.stopImmediatePropagation(),this._model.selectionStart){var ge=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(ue),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(ue),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var _e=this._bufferService.buffer;if(this._model.selectionEnd[1]<_e.lines.length){var we=_e.lines.get(this._model.selectionEnd[1]);we&&we.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}ge&&ge[0]===this._model.selectionEnd[0]&&ge[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},ce.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var ue=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(ue.ydisp+this._bufferService.rows,ue.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=ue.ydisp),this.refresh()}},ce.prototype._onMouseUp=function(ue){var ge=ue.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&ge<500&&ue.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var _e=this._mouseService.getCoords(ue,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(_e&&_e[0]!==void 0&&_e[1]!==void 0){var we=b.moveToCellSequence(_e[0]-1,_e[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(we,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},ce.prototype._onBufferActivate=function(ue){var ge=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=ue.activeBuffer.lines.onTrim(function(_e){return ge._onTrim(_e)})},ce.prototype._convertViewportColToCharacterIndex=function(ue,ge){for(var _e=ge[0],we=0;ge[0]>=we;we++){var xe=ue.loadCell(we,this._workCell).getChars().length;this._workCell.getWidth()===0?_e--:xe>1&&ge[0]!==we&&(_e+=xe-1)}return _e},ce.prototype.setSelection=function(ue,ge,_e){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[ue,ge],this._model.selectionStartLength=_e,this.refresh()},ce.prototype._getWordAt=function(ue,ge,_e,we){if(_e===void 0&&(_e=!0),we===void 0&&(we=!0),!(ue[0]>=this._bufferService.cols)){var xe=this._bufferService.buffer,ve=xe.lines.get(ue[1]);if(ve){var Se=xe.translateBufferLineToString(ue[1],!1),be=this._convertViewportColToCharacterIndex(ve,ue),Ae=be,Te=ue[0]-be,je=0,ke=0,Pe=0,Oe=0;if(Se.charAt(be)===" "){for(;be>0&&Se.charAt(be-1)===" ";)be--;for(;Ae<Se.length&&Se.charAt(Ae+1)===" ";)Ae++}else{var He=ue[0],Ge=ue[0];ve.getWidth(He)===0&&(je++,He--),ve.getWidth(Ge)===2&&(ke++,Ge++);var tt=ve.getString(Ge).length;for(tt>1&&(Oe+=tt-1,Ae+=tt-1);He>0&&be>0&&!this._isCharWordSeparator(ve.loadCell(He-1,this._workCell));){ve.loadCell(He-1,this._workCell);var Me=this._workCell.getChars().length;this._workCell.getWidth()===0?(je++,He--):Me>1&&(Pe+=Me-1,be-=Me-1),be--,He--}for(;Ge<ve.length&&Ae+1<Se.length&&!this._isCharWordSeparator(ve.loadCell(Ge+1,this._workCell));){ve.loadCell(Ge+1,this._workCell);var We=this._workCell.getChars().length;this._workCell.getWidth()===2?(ke++,Ge++):We>1&&(Oe+=We-1,Ae+=We-1),Ae++,Ge++}}Ae++;var it=be+Te-je+Pe,ut=Math.min(this._bufferService.cols,Ae-be+je+ke-Pe-Oe);if(ge||Se.slice(be,Ae).trim()!==""){if(_e&&it===0&&ve.getCodePoint(0)!==32){var $e=xe.lines.get(ue[1]-1);if($e&&ve.isWrapped&&$e.getCodePoint(this._bufferService.cols-1)!==32){var Je=this._getWordAt([this._bufferService.cols-1,ue[1]-1],!1,!0,!1);if(Je){var Xe=this._bufferService.cols-Je.start;it-=Xe,ut+=Xe}}}if(we&&it+ut===this._bufferService.cols&&ve.getCodePoint(this._bufferService.cols-1)!==32){var Qe=xe.lines.get(ue[1]+1);if(Qe&&Qe.isWrapped&&Qe.getCodePoint(0)!==32){var st=this._getWordAt([0,ue[1]+1],!1,!1,!0);st&&(ut+=st.length)}}return{start:it,length:ut}}}}},ce.prototype._selectWordAt=function(ue,ge){var _e=this._getWordAt(ue,ge);if(_e){for(;_e.start<0;)_e.start+=this._bufferService.cols,ue[1]--;this._model.selectionStart=[_e.start,ue[1]],this._model.selectionStartLength=_e.length}},ce.prototype._selectToWordAt=function(ue){var ge=this._getWordAt(ue,!0);if(ge){for(var _e=ue[1];ge.start<0;)ge.start+=this._bufferService.cols,_e--;if(!this._model.areSelectionValuesReversed())for(;ge.start+ge.length>this._bufferService.cols;)ge.length-=this._bufferService.cols,_e++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?ge.start:ge.start+ge.length,_e]}},ce.prototype._isCharWordSeparator=function(ue){return ue.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(ue.getChars())>=0},ce.prototype._selectLineAt=function(ue){var ge=this._bufferService.buffer.getWrappedRangeForLine(ue);this._model.selectionStart=[0,ge.first],this._model.selectionEnd=[this._bufferService.cols,ge.last],this._model.selectionStartLength=0},ce=he([de(2,z.IBufferService),de(3,z.ICoreService),de(4,se.IMouseService),de(5,z.IOptionsService),de(6,se.IRenderService)],ce)}(E.Disposable);Ce.SelectionService=le},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.SelectionModel=void 0;var ze=function(){function a(he){this._bufferService=he,this.isSelectAllActive=!1,this.selectionStartLength=0}return a.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(a.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var he=this.selectionStart[0]+this.selectionStartLength;return he>this._bufferService.cols?[he%this._bufferService.cols,this.selectionStart[1]+Math.floor(he/this._bufferService.cols)]:[he,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),a.prototype.areSelectionValuesReversed=function(){var he=this.selectionStart,de=this.selectionEnd;return!(!he||!de)&&(he[1]>de[1]||he[1]===de[1]&&he[0]>de[0])},a.prototype.onTrim=function(he){return this.selectionStart&&(this.selectionStart[1]-=he),this.selectionEnd&&(this.selectionEnd[1]-=he),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},a}();Ce.SelectionModel=ze},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.moveToCellSequence=void 0;var ze=ye(12);function a(te,se,z,x){var b=te-he(z,te),E=se-he(z,se);return ne(Math.abs(b-E)-function(re,ae,le){for(var fe=0,ce=re-he(le,re),ue=ae-he(le,ae),ge=0;ge<Math.abs(ce-ue);ge++){var _e=de(re,ae)==="A"?-1:1,we=le.buffer.lines.get(ce+_e*ge);we&&we.isWrapped&&fe++}return fe}(te,se,z),oe(de(te,se),x))}function he(te,se){for(var z=0,x=te.buffer.lines.get(se),b=x&&x.isWrapped;b&&se>=0&&se<te.rows;)z++,b=(x=te.buffer.lines.get(--se))&&x.isWrapped;return z}function de(te,se){return te>se?"A":"B"}function ee(te,se,z,x,b,E){for(var re=te,ae=se,le="";re!==z||ae!==x;)re+=b?1:-1,b&&re>E.cols-1?(le+=E.buffer.translateBufferLineToString(ae,!1,te,re),re=0,te=0,ae++):!b&&re<0&&(le+=E.buffer.translateBufferLineToString(ae,!1,0,te+1),te=re=E.cols-1,ae--);return le+E.buffer.translateBufferLineToString(ae,!1,te,re)}function oe(te,se){var z=se?"O":"[";return ze.C0.ESC+z+te}function ne(te,se){te=Math.floor(te);for(var z="",x=0;x<te;x++)z+=se;return z}Ce.moveToCellSequence=function(te,se,z,x){var b,E=z.buffer.x,re=z.buffer.y;if(!z.buffer.hasScrollback)return function(le,fe,ce,ue,ge,_e){return a(fe,ue,ge,_e).length===0?"":ne(ee(le,fe,le,fe-he(ge,fe),!1,ge).length,oe("D",_e))}(E,re,0,se,z,x)+a(re,se,z,x)+function(le,fe,ce,ue,ge,_e){var we;we=a(fe,ue,ge,_e).length>0?ue-he(ge,ue):fe;var xe=ue,ve=function(Se,be,Ae,Te,je,ke){var Pe;return Pe=a(Ae,Te,je,ke).length>0?Te-he(je,Te):be,Se<Ae&&Pe<=Te||Se>=Ae&&Pe<Te?"C":"D"}(le,fe,ce,ue,ge,_e);return ne(ee(le,we,ce,xe,ve==="C",ge).length,oe(ve,_e))}(E,re,te,se,z,x);if(re===se)return b=E>te?"D":"C",ne(Math.abs(E-te),oe(b,x));b=re>se?"D":"C";var ae=Math.abs(re-se);return ne(function(le,fe){return fe.cols-le}(re>se?te:E,z)+(ae-1)*z.cols+1+((re>se?E:te)-1),oe(b,x))}},function(mt,Ce,ye){"use strict";var ze=this&&this.__decorate||function(ee,oe,ne,te){var se,z=arguments.length,x=z<3?oe:te===null?te=Object.getOwnPropertyDescriptor(oe,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ee,oe,ne,te);else for(var b=ee.length-1;b>=0;b--)(se=ee[b])&&(x=(z<3?se(x):z>3?se(oe,ne,x):se(oe,ne))||x);return z>3&&x&&Object.defineProperty(oe,ne,x),x},a=this&&this.__param||function(ee,oe){return function(ne,te){oe(ne,te,ee)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.SoundService=void 0;var he=ye(1),de=function(){function ee(oe){this._optionsService=oe}return Object.defineProperty(ee,"audioContext",{get:function(){if(!ee._audioContext){var oe=window.AudioContext||window.webkitAudioContext;if(!oe)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;ee._audioContext=new oe}return ee._audioContext},enumerable:!1,configurable:!0}),ee.prototype.playBellSound=function(){var oe=ee.audioContext;if(oe){var ne=oe.createBufferSource();oe.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(te){ne.buffer=te,ne.connect(oe.destination),ne.start(0)})}},ee.prototype._base64ToArrayBuffer=function(oe){for(var ne=window.atob(oe),te=ne.length,se=new Uint8Array(te),z=0;z<te;z++)se[z]=ne.charCodeAt(z);return se.buffer},ee.prototype._removeMimeType=function(oe){return oe.split(",")[1]},ee=ze([a(0,he.IOptionsService)],ee)}();Ce.SoundService=de},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(z,x){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var re in E)E.hasOwnProperty(re)&&(b[re]=E[re])})(z,x)},function(z,x){function b(){this.constructor=z}ze(z,x),z.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),he=this&&this.__decorate||function(z,x,b,E){var re,ae=arguments.length,le=ae<3?x:E===null?E=Object.getOwnPropertyDescriptor(x,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")le=Reflect.decorate(z,x,b,E);else for(var fe=z.length-1;fe>=0;fe--)(re=z[fe])&&(le=(ae<3?re(le):ae>3?re(x,b,le):re(x,b))||le);return ae>3&&le&&Object.defineProperty(x,b,le),le},de=this&&this.__param||function(z,x){return function(b,E){x(b,E,z)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.MouseZoneManager=void 0;var ee=ye(2),oe=ye(7),ne=ye(5),te=ye(1),se=function(z){function x(b,E,re,ae,le,fe){var ce=z.call(this)||this;return ce._element=b,ce._screenElement=E,ce._bufferService=re,ce._mouseService=ae,ce._selectionService=le,ce._optionsService=fe,ce._zones=[],ce._areZonesActive=!1,ce._lastHoverCoords=[void 0,void 0],ce._initialSelectionLength=0,ce.register(oe.addDisposableDomListener(ce._element,"mousedown",function(ue){return ce._onMouseDown(ue)})),ce._mouseMoveListener=function(ue){return ce._onMouseMove(ue)},ce._mouseLeaveListener=function(ue){return ce._onMouseLeave(ue)},ce._clickListener=function(ue){return ce._onClick(ue)},ce}return a(x,z),x.prototype.dispose=function(){z.prototype.dispose.call(this),this._deactivate()},x.prototype.add=function(b){this._zones.push(b),this._zones.length===1&&this._activate()},x.prototype.clearAll=function(b,E){if(this._zones.length!==0){b&&E||(b=0,E=this._bufferService.rows-1);for(var re=0;re<this._zones.length;re++){var ae=this._zones[re];(ae.y1>b&&ae.y1<=E+1||ae.y2>b&&ae.y2<=E+1||ae.y1<b&&ae.y2>E+1)&&(this._currentZone&&this._currentZone===ae&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(re--,1))}this._zones.length===0&&this._deactivate()}},x.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},x.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},x.prototype._onMouseMove=function(b){this._lastHoverCoords[0]===b.pageX&&this._lastHoverCoords[1]===b.pageY||(this._onHover(b),this._lastHoverCoords=[b.pageX,b.pageY])},x.prototype._onHover=function(b){var E=this,re=this._findZoneEventAt(b);re!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),re&&(this._currentZone=re,re.hoverCallback&&re.hoverCallback(b),this._tooltipTimeout=window.setTimeout(function(){return E._onTooltip(b)},this._optionsService.options.linkTooltipHoverDuration)))},x.prototype._onTooltip=function(b){this._tooltipTimeout=void 0;var E=this._findZoneEventAt(b);E&&E.tooltipCallback&&E.tooltipCallback(b)},x.prototype._onMouseDown=function(b){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var E=this._findZoneEventAt(b);E!=null&&E.willLinkActivate(b)&&(b.preventDefault(),b.stopImmediatePropagation())}},x.prototype._onMouseLeave=function(b){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},x.prototype._onClick=function(b){var E=this._findZoneEventAt(b),re=this._getSelectionLength();E&&re===this._initialSelectionLength&&(E.clickCallback(b),b.preventDefault(),b.stopImmediatePropagation())},x.prototype._getSelectionLength=function(){var b=this._selectionService.selectionText;return b?b.length:0},x.prototype._findZoneEventAt=function(b){var E=this._mouseService.getCoords(b,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(E)for(var re=E[0],ae=E[1],le=0;le<this._zones.length;le++){var fe=this._zones[le];if(fe.y1===fe.y2){if(ae===fe.y1&&re>=fe.x1&&re<fe.x2)return fe}else if(ae===fe.y1&&re>=fe.x1||ae===fe.y2&&re<fe.x2||ae>fe.y1&&ae<fe.y2)return fe}},x=he([de(2,te.IBufferService),de(3,ne.IMouseService),de(4,ne.ISelectionService),de(5,te.IOptionsService)],x)}(ee.Disposable);Ce.MouseZoneManager=se},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(x,b){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,re){E.__proto__=re}||function(E,re){for(var ae in re)re.hasOwnProperty(ae)&&(E[ae]=re[ae])})(x,b)},function(x,b){function E(){this.constructor=x}ze(x,b),x.prototype=b===null?Object.create(b):(E.prototype=b.prototype,new E)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.AccessibilityManager=void 0;var he=ye(18),de=ye(11),ee=ye(31),oe=ye(7),ne=ye(2),te=ye(32),se=ye(17),z=function(x){function b(E,re){var ae=x.call(this)||this;ae._terminal=E,ae._renderService=re,ae._liveRegionLineCount=0,ae._charsToConsume=[],ae._charsToAnnounce="",ae._accessibilityTreeRoot=document.createElement("div"),ae._accessibilityTreeRoot.classList.add("xterm-accessibility"),ae._rowContainer=document.createElement("div"),ae._rowContainer.classList.add("xterm-accessibility-tree"),ae._rowContainer.setAttribute("role","list"),ae._rowElements=[];for(var le=0;le<ae._terminal.rows;le++)ae._rowElements[le]=ae._createAccessibilityTreeNode(),ae._rowContainer.appendChild(ae._rowElements[le]);if(ae._topBoundaryFocusListener=function(fe){return ae._onBoundaryFocus(fe,0)},ae._bottomBoundaryFocusListener=function(fe){return ae._onBoundaryFocus(fe,1)},ae._rowElements[0].addEventListener("focus",ae._topBoundaryFocusListener),ae._rowElements[ae._rowElements.length-1].addEventListener("focus",ae._bottomBoundaryFocusListener),ae._refreshRowsDimensions(),ae._accessibilityTreeRoot.appendChild(ae._rowContainer),ae._renderRowsDebouncer=new ee.RenderDebouncer(ae._renderRows.bind(ae)),ae._refreshRows(),ae._liveRegion=document.createElement("div"),ae._liveRegion.classList.add("live-region"),ae._liveRegion.setAttribute("aria-live","assertive"),ae._accessibilityTreeRoot.appendChild(ae._liveRegion),!ae._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return ae._terminal.element.insertAdjacentElement("afterbegin",ae._accessibilityTreeRoot),ae.register(ae._renderRowsDebouncer),ae.register(ae._terminal.onResize(function(fe){return ae._onResize(fe.rows)})),ae.register(ae._terminal.onRender(function(fe){return ae._refreshRows(fe.start,fe.end)})),ae.register(ae._terminal.onScroll(function(){return ae._refreshRows()})),ae.register(ae._terminal.onA11yChar(function(fe){return ae._onChar(fe)})),ae.register(ae._terminal.onLineFeed(function(){return ae._onChar(`
`)})),ae.register(ae._terminal.onA11yTab(function(fe){return ae._onTab(fe)})),ae.register(ae._terminal.onKey(function(fe){return ae._onKey(fe.key)})),ae.register(ae._terminal.onBlur(function(){return ae._clearLiveRegion()})),ae.register(ae._renderService.onDimensionsChange(function(){return ae._refreshRowsDimensions()})),ae._screenDprMonitor=new te.ScreenDprMonitor,ae.register(ae._screenDprMonitor),ae._screenDprMonitor.setListener(function(){return ae._refreshRowsDimensions()}),ae.register(oe.addDisposableDomListener(window,"resize",function(){return ae._refreshRowsDimensions()})),ae}return a(b,x),b.prototype.dispose=function(){x.prototype.dispose.call(this),se.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},b.prototype._onBoundaryFocus=function(E,re){var ae=E.target,le=this._rowElements[re===0?1:this._rowElements.length-2];if(ae.getAttribute("aria-posinset")!==(re===0?"1":""+this._terminal.buffer.lines.length)&&E.relatedTarget===le){var fe,ce;if(re===0?(fe=ae,ce=this._rowElements.pop(),this._rowContainer.removeChild(ce)):(fe=this._rowElements.shift(),ce=ae,this._rowContainer.removeChild(fe)),fe.removeEventListener("focus",this._topBoundaryFocusListener),ce.removeEventListener("focus",this._bottomBoundaryFocusListener),re===0){var ue=this._createAccessibilityTreeNode();this._rowElements.unshift(ue),this._rowContainer.insertAdjacentElement("afterbegin",ue)}else ue=this._createAccessibilityTreeNode(),this._rowElements.push(ue),this._rowContainer.appendChild(ue);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(re===0?-1:1),this._rowElements[re===0?1:this._rowElements.length-2].focus(),E.preventDefault(),E.stopImmediatePropagation()}},b.prototype._onResize=function(E){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var re=this._rowContainer.children.length;re<this._terminal.rows;re++)this._rowElements[re]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[re]);for(;this._rowElements.length>E;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},b.prototype._createAccessibilityTreeNode=function(){var E=document.createElement("div");return E.setAttribute("role","listitem"),E.tabIndex=-1,this._refreshRowDimensions(E),E},b.prototype._onTab=function(E){for(var re=0;re<E;re++)this._onChar(" ")},b.prototype._onChar=function(E){var re=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==E&&(this._charsToAnnounce+=E):this._charsToAnnounce+=E,E===`
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=he.tooMuchOutput)),de.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){re._accessibilityTreeRoot.appendChild(re._liveRegion)},0))},b.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,de.isMac&&se.removeElementFromParent(this._liveRegion)},b.prototype._onKey=function(E){this._clearLiveRegion(),this._charsToConsume.push(E)},b.prototype._refreshRows=function(E,re){this._renderRowsDebouncer.refresh(E,re,this._terminal.rows)},b.prototype._renderRows=function(E,re){for(var ae=this._terminal.buffer,le=ae.lines.length.toString(),fe=E;fe<=re;fe++){var ce=ae.translateBufferLineToString(ae.ydisp+fe,!0),ue=(ae.ydisp+fe+1).toString(),ge=this._rowElements[fe];ge&&(ce.length===0?ge.innerHTML="&nbsp;":ge.textContent=ce,ge.setAttribute("aria-posinset",ue),ge.setAttribute("aria-setsize",le))}this._announceCharacters()},b.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var E=0;E<this._terminal.rows;E++)this._refreshRowDimensions(this._rowElements[E])}},b.prototype._refreshRowDimensions=function(E){E.style.height=this._renderService.dimensions.actualCellHeight+"px"},b.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},b}(ne.Disposable);Ce.AccessibilityManager=z},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(ae,le){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,ce){fe.__proto__=ce}||function(fe,ce){for(var ue in ce)ce.hasOwnProperty(ue)&&(fe[ue]=ce[ue])})(ae,le)},function(ae,le){function fe(){this.constructor=ae}ze(ae,le),ae.prototype=le===null?Object.create(le):(fe.prototype=le.prototype,new fe)}),he=this&&this.__decorate||function(ae,le,fe,ce){var ue,ge=arguments.length,_e=ge<3?le:ce===null?ce=Object.getOwnPropertyDescriptor(le,fe):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_e=Reflect.decorate(ae,le,fe,ce);else for(var we=ae.length-1;we>=0;we--)(ue=ae[we])&&(_e=(ge<3?ue(_e):ge>3?ue(le,fe,_e):ue(le,fe))||_e);return ge>3&&_e&&Object.defineProperty(le,fe,_e),_e},de=this&&this.__param||function(ae,le){return function(fe,ce){le(fe,ce,ae)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.DomRenderer=void 0;var ee=ye(58),oe=ye(9),ne=ye(2),te=ye(5),se=ye(1),z=ye(0),x=ye(10),b=ye(17),E=1,re=function(ae){function le(fe,ce,ue,ge,_e,we,xe,ve,Se){var be=ae.call(this)||this;return be._colors=fe,be._element=ce,be._screenElement=ue,be._viewportElement=ge,be._linkifier=_e,be._linkifier2=we,be._charSizeService=xe,be._optionsService=ve,be._bufferService=Se,be._terminalClass=E++,be._rowElements=[],be._rowContainer=document.createElement("div"),be._rowContainer.classList.add("xterm-rows"),be._rowContainer.style.lineHeight="normal",be._rowContainer.setAttribute("aria-hidden","true"),be._refreshRowElements(be._bufferService.cols,be._bufferService.rows),be._selectionContainer=document.createElement("div"),be._selectionContainer.classList.add("xterm-selection"),be._selectionContainer.setAttribute("aria-hidden","true"),be.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},be._updateDimensions(),be._injectCss(),be._rowFactory=new ee.DomRendererRowFactory(document,be._optionsService,be._colors),be._element.classList.add("xterm-dom-renderer-owner-"+be._terminalClass),be._screenElement.appendChild(be._rowContainer),be._screenElement.appendChild(be._selectionContainer),be._linkifier.onShowLinkUnderline(function(Ae){return be._onLinkHover(Ae)}),be._linkifier.onHideLinkUnderline(function(Ae){return be._onLinkLeave(Ae)}),be._linkifier2.onShowLinkUnderline(function(Ae){return be._onLinkHover(Ae)}),be._linkifier2.onHideLinkUnderline(function(Ae){return be._onLinkLeave(Ae)}),be}return a(le,ae),Object.defineProperty(le.prototype,"onRequestRedraw",{get:function(){return new z.EventEmitter().event},enumerable:!1,configurable:!0}),le.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),b.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),ae.prototype.dispose.call(this)},le.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var fe=0,ce=this._rowElements;fe<ce.length;fe++){var ue=ce[fe];ue.style.width=this.dimensions.canvasWidth+"px",ue.style.height=this.dimensions.actualCellHeight+"px",ue.style.lineHeight=this.dimensions.actualCellHeight+"px",ue.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var ge=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=ge,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},le.prototype.setColors=function(fe){this._colors=fe,this._injectCss()},le.prototype._injectCss=function(){var fe=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var ce=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";ce+=this._terminalSelector+" span:not(."+ee.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+ee.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+ee.ITALIC_CLASS+" { font-style: italic;}",ce+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",ce+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",ce+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+ee.CURSOR_CLASS+"."+ee.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+ee.CURSOR_CLASS+"."+ee.CURSOR_BLINK_CLASS+":not(."+ee.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+ee.CURSOR_CLASS+"."+ee.CURSOR_BLINK_CLASS+"."+ee.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+ee.CURSOR_CLASS+"."+ee.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+ee.CURSOR_CLASS+"."+ee.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+ee.CURSOR_CLASS+"."+ee.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",ce+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(ue,ge){ce+=fe._terminalSelector+" .xterm-fg-"+ge+" { color: "+ue.css+"; }"+fe._terminalSelector+" .xterm-bg-"+ge+" { background-color: "+ue.css+"; }"}),ce+=this._terminalSelector+" .xterm-fg-"+oe.INVERTED_DEFAULT_COLOR+" { color: "+x.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+oe.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=ce},le.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},le.prototype._refreshRowElements=function(fe,ce){for(var ue=this._rowElements.length;ue<=ce;ue++){var ge=document.createElement("div");this._rowContainer.appendChild(ge),this._rowElements.push(ge)}for(;this._rowElements.length>ce;)this._rowContainer.removeChild(this._rowElements.pop())},le.prototype.onResize=function(fe,ce){this._refreshRowElements(fe,ce),this._updateDimensions()},le.prototype.onCharSizeChanged=function(){this._updateDimensions()},le.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},le.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},le.prototype.onSelectionChanged=function(fe,ce,ue){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(fe&&ce){var ge=fe[1]-this._bufferService.buffer.ydisp,_e=ce[1]-this._bufferService.buffer.ydisp,we=Math.max(ge,0),xe=Math.min(_e,this._bufferService.rows-1);if(!(we>=this._bufferService.rows||xe<0)){var ve=document.createDocumentFragment();if(ue)ve.appendChild(this._createSelectionElement(we,fe[0],ce[0],xe-we+1));else{var Se=ge===we?fe[0]:0,be=we===xe?ce[0]:this._bufferService.cols;ve.appendChild(this._createSelectionElement(we,Se,be));var Ae=xe-we-1;if(ve.appendChild(this._createSelectionElement(we+1,0,this._bufferService.cols,Ae)),we!==xe){var Te=_e===xe?ce[0]:this._bufferService.cols;ve.appendChild(this._createSelectionElement(xe,0,Te))}}this._selectionContainer.appendChild(ve)}}},le.prototype._createSelectionElement=function(fe,ce,ue,ge){ge===void 0&&(ge=1);var _e=document.createElement("div");return _e.style.height=ge*this.dimensions.actualCellHeight+"px",_e.style.top=fe*this.dimensions.actualCellHeight+"px",_e.style.left=ce*this.dimensions.actualCellWidth+"px",_e.style.width=this.dimensions.actualCellWidth*(ue-ce)+"px",_e},le.prototype.onCursorMove=function(){},le.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},le.prototype.clear=function(){for(var fe=0,ce=this._rowElements;fe<ce.length;fe++)ce[fe].innerHTML=""},le.prototype.renderRows=function(fe,ce){for(var ue=this._bufferService.buffer.ybase+this._bufferService.buffer.y,ge=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),_e=this._optionsService.options.cursorBlink,we=fe;we<=ce;we++){var xe=this._rowElements[we];xe.innerHTML="";var ve=we+this._bufferService.buffer.ydisp,Se=this._bufferService.buffer.lines.get(ve),be=this._optionsService.options.cursorStyle;xe.appendChild(this._rowFactory.createRow(Se,ve===ue,be,ge,_e,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(le.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),le.prototype.registerCharacterJoiner=function(fe){return-1},le.prototype.deregisterCharacterJoiner=function(fe){return!1},le.prototype._onLinkHover=function(fe){this._setCellUnderline(fe.x1,fe.x2,fe.y1,fe.y2,fe.cols,!0)},le.prototype._onLinkLeave=function(fe){this._setCellUnderline(fe.x1,fe.x2,fe.y1,fe.y2,fe.cols,!1)},le.prototype._setCellUnderline=function(fe,ce,ue,ge,_e,we){for(;fe!==ce||ue!==ge;){var xe=this._rowElements[ue];if(!xe)return;var ve=xe.children[fe];ve&&(ve.style.textDecoration=we?"underline":"none"),++fe>=_e&&(fe=0,ue++)}},le=he([de(6,te.ICharSizeService),de(7,se.IOptionsService),de(8,se.IBufferService)],le)}(ne.Disposable);Ce.DomRenderer=re},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.DomRendererRowFactory=Ce.CURSOR_STYLE_UNDERLINE_CLASS=Ce.CURSOR_STYLE_BAR_CLASS=Ce.CURSOR_STYLE_BLOCK_CLASS=Ce.CURSOR_BLINK_CLASS=Ce.CURSOR_CLASS=Ce.UNDERLINE_CLASS=Ce.ITALIC_CLASS=Ce.DIM_CLASS=Ce.BOLD_CLASS=void 0;var ze=ye(9),a=ye(3),he=ye(4),de=ye(10);Ce.BOLD_CLASS="xterm-bold",Ce.DIM_CLASS="xterm-dim",Ce.ITALIC_CLASS="xterm-italic",Ce.UNDERLINE_CLASS="xterm-underline",Ce.CURSOR_CLASS="xterm-cursor",Ce.CURSOR_BLINK_CLASS="xterm-cursor-blink",Ce.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",Ce.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",Ce.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var ee=function(){function ne(te,se,z){this._document=te,this._optionsService=se,this._colors=z,this._workCell=new he.CellData}return ne.prototype.setColors=function(te){this._colors=te},ne.prototype.createRow=function(te,se,z,x,b,E,re){for(var ae=this._document.createDocumentFragment(),le=0,fe=Math.min(te.length,re)-1;fe>=0;fe--)if(te.loadCell(fe,this._workCell).getCode()!==a.NULL_CELL_CODE||se&&fe===x){le=fe+1;break}for(fe=0;fe<le;fe++){te.loadCell(fe,this._workCell);var ce=this._workCell.getWidth();if(ce!==0){var ue=this._document.createElement("span");if(ce>1&&(ue.style.width=E*ce+"px"),se&&fe===x)switch(ue.classList.add(Ce.CURSOR_CLASS),b&&ue.classList.add(Ce.CURSOR_BLINK_CLASS),z){case"bar":ue.classList.add(Ce.CURSOR_STYLE_BAR_CLASS);break;case"underline":ue.classList.add(Ce.CURSOR_STYLE_UNDERLINE_CLASS);break;default:ue.classList.add(Ce.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&ue.classList.add(Ce.BOLD_CLASS),this._workCell.isItalic()&&ue.classList.add(Ce.ITALIC_CLASS),this._workCell.isDim()&&ue.classList.add(Ce.DIM_CLASS),this._workCell.isUnderline()&&ue.classList.add(Ce.UNDERLINE_CLASS),this._workCell.isInvisible()?ue.textContent=a.WHITESPACE_CELL_CHAR:ue.textContent=this._workCell.getChars()||a.WHITESPACE_CELL_CHAR;var ge=this._workCell.getFgColor(),_e=this._workCell.getFgColorMode(),we=this._workCell.getBgColor(),xe=this._workCell.getBgColorMode(),ve=!!this._workCell.isInverse();if(ve){var Se=ge;ge=we,we=Se;var be=_e;_e=xe,xe=be}switch(_e){case 16777216:case 33554432:this._workCell.isBold()&&ge<8&&this._optionsService.options.drawBoldTextInBrightColors&&(ge+=8),this._applyMinimumContrast(ue,this._colors.background,this._colors.ansi[ge])||ue.classList.add("xterm-fg-"+ge);break;case 50331648:var Ae=de.rgba.toColor(ge>>16&255,ge>>8&255,255&ge);this._applyMinimumContrast(ue,this._colors.background,Ae)||this._addStyle(ue,"color:#"+oe(ge.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(ue,this._colors.background,this._colors.foreground)||ve&&ue.classList.add("xterm-fg-"+ze.INVERTED_DEFAULT_COLOR)}switch(xe){case 16777216:case 33554432:ue.classList.add("xterm-bg-"+we);break;case 50331648:this._addStyle(ue,"background-color:#"+oe(we.toString(16),"0",6));break;case 0:default:ve&&ue.classList.add("xterm-bg-"+ze.INVERTED_DEFAULT_COLOR)}ae.appendChild(ue)}}return ae},ne.prototype._applyMinimumContrast=function(te,se,z){if(this._optionsService.options.minimumContrastRatio===1)return!1;var x=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return x===void 0&&(x=de.color.ensureContrastRatio(se,z,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,x!=null?x:null)),!!x&&(this._addStyle(te,"color:"+x.css),!0)},ne.prototype._addStyle=function(te,se){te.setAttribute("style",""+(te.getAttribute("style")||"")+se+";")},ne}();function oe(ne,te,se){for(;ne.length<se;)ne=te+ne;return ne}Ce.DomRendererRowFactory=ee},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.evaluateKeyboardEvent=void 0;var ze=ye(12),a={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};Ce.evaluateKeyboardEvent=function(he,de,ee,oe){var ne={type:0,cancel:!1,key:void 0},te=(he.shiftKey?1:0)|(he.altKey?2:0)|(he.ctrlKey?4:0)|(he.metaKey?8:0);switch(he.keyCode){case 0:he.key==="UIKeyInputUpArrow"?ne.key=de?ze.C0.ESC+"OA":ze.C0.ESC+"[A":he.key==="UIKeyInputLeftArrow"?ne.key=de?ze.C0.ESC+"OD":ze.C0.ESC+"[D":he.key==="UIKeyInputRightArrow"?ne.key=de?ze.C0.ESC+"OC":ze.C0.ESC+"[C":he.key==="UIKeyInputDownArrow"&&(ne.key=de?ze.C0.ESC+"OB":ze.C0.ESC+"[B");break;case 8:if(he.shiftKey){ne.key=ze.C0.BS;break}if(he.altKey){ne.key=ze.C0.ESC+ze.C0.DEL;break}ne.key=ze.C0.DEL;break;case 9:if(he.shiftKey){ne.key=ze.C0.ESC+"[Z";break}ne.key=ze.C0.HT,ne.cancel=!0;break;case 13:ne.key=he.altKey?ze.C0.ESC+ze.C0.CR:ze.C0.CR,ne.cancel=!0;break;case 27:ne.key=ze.C0.ESC,he.altKey&&(ne.key=ze.C0.ESC+ze.C0.ESC),ne.cancel=!0;break;case 37:if(he.metaKey)break;te?(ne.key=ze.C0.ESC+"[1;"+(te+1)+"D",ne.key===ze.C0.ESC+"[1;3D"&&(ne.key=ze.C0.ESC+(ee?"b":"[1;5D"))):ne.key=de?ze.C0.ESC+"OD":ze.C0.ESC+"[D";break;case 39:if(he.metaKey)break;te?(ne.key=ze.C0.ESC+"[1;"+(te+1)+"C",ne.key===ze.C0.ESC+"[1;3C"&&(ne.key=ze.C0.ESC+(ee?"f":"[1;5C"))):ne.key=de?ze.C0.ESC+"OC":ze.C0.ESC+"[C";break;case 38:if(he.metaKey)break;te?(ne.key=ze.C0.ESC+"[1;"+(te+1)+"A",ee||ne.key!==ze.C0.ESC+"[1;3A"||(ne.key=ze.C0.ESC+"[1;5A")):ne.key=de?ze.C0.ESC+"OA":ze.C0.ESC+"[A";break;case 40:if(he.metaKey)break;te?(ne.key=ze.C0.ESC+"[1;"+(te+1)+"B",ee||ne.key!==ze.C0.ESC+"[1;3B"||(ne.key=ze.C0.ESC+"[1;5B")):ne.key=de?ze.C0.ESC+"OB":ze.C0.ESC+"[B";break;case 45:he.shiftKey||he.ctrlKey||(ne.key=ze.C0.ESC+"[2~");break;case 46:ne.key=te?ze.C0.ESC+"[3;"+(te+1)+"~":ze.C0.ESC+"[3~";break;case 36:ne.key=te?ze.C0.ESC+"[1;"+(te+1)+"H":de?ze.C0.ESC+"OH":ze.C0.ESC+"[H";break;case 35:ne.key=te?ze.C0.ESC+"[1;"+(te+1)+"F":de?ze.C0.ESC+"OF":ze.C0.ESC+"[F";break;case 33:he.shiftKey?ne.type=2:ne.key=ze.C0.ESC+"[5~";break;case 34:he.shiftKey?ne.type=3:ne.key=ze.C0.ESC+"[6~";break;case 112:ne.key=te?ze.C0.ESC+"[1;"+(te+1)+"P":ze.C0.ESC+"OP";break;case 113:ne.key=te?ze.C0.ESC+"[1;"+(te+1)+"Q":ze.C0.ESC+"OQ";break;case 114:ne.key=te?ze.C0.ESC+"[1;"+(te+1)+"R":ze.C0.ESC+"OR";break;case 115:ne.key=te?ze.C0.ESC+"[1;"+(te+1)+"S":ze.C0.ESC+"OS";break;case 116:ne.key=te?ze.C0.ESC+"[15;"+(te+1)+"~":ze.C0.ESC+"[15~";break;case 117:ne.key=te?ze.C0.ESC+"[17;"+(te+1)+"~":ze.C0.ESC+"[17~";break;case 118:ne.key=te?ze.C0.ESC+"[18;"+(te+1)+"~":ze.C0.ESC+"[18~";break;case 119:ne.key=te?ze.C0.ESC+"[19;"+(te+1)+"~":ze.C0.ESC+"[19~";break;case 120:ne.key=te?ze.C0.ESC+"[20;"+(te+1)+"~":ze.C0.ESC+"[20~";break;case 121:ne.key=te?ze.C0.ESC+"[21;"+(te+1)+"~":ze.C0.ESC+"[21~";break;case 122:ne.key=te?ze.C0.ESC+"[23;"+(te+1)+"~":ze.C0.ESC+"[23~";break;case 123:ne.key=te?ze.C0.ESC+"[24;"+(te+1)+"~":ze.C0.ESC+"[24~";break;default:if(!he.ctrlKey||he.shiftKey||he.altKey||he.metaKey)if(ee&&!oe||!he.altKey||he.metaKey)ee&&!he.altKey&&!he.ctrlKey&&he.metaKey?he.keyCode===65&&(ne.type=1):he.key&&!he.ctrlKey&&!he.altKey&&!he.metaKey&&he.keyCode>=48&&he.key.length===1?ne.key=he.key:he.key&&he.ctrlKey&&he.key==="_"&&(ne.key=ze.C0.US);else{var se=a[he.keyCode],z=se&&se[he.shiftKey?1:0];if(z)ne.key=ze.C0.ESC+z;else if(he.keyCode>=65&&he.keyCode<=90){var x=he.ctrlKey?he.keyCode-64:he.keyCode+32;ne.key=ze.C0.ESC+String.fromCharCode(x)}}else he.keyCode>=65&&he.keyCode<=90?ne.key=String.fromCharCode(he.keyCode-64):he.keyCode===32?ne.key=ze.C0.NUL:he.keyCode>=51&&he.keyCode<=55?ne.key=String.fromCharCode(he.keyCode-51+27):he.keyCode===56?ne.key=ze.C0.DEL:he.keyCode===219?ne.key=ze.C0.ESC:he.keyCode===220?ne.key=ze.C0.FS:he.keyCode===221&&(ne.key=ze.C0.GS)}return ne}},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(E,re){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,le){ae.__proto__=le}||function(ae,le){for(var fe in le)le.hasOwnProperty(fe)&&(ae[fe]=le[fe])})(E,re)},function(E,re){function ae(){this.constructor=E}ze(E,re),E.prototype=re===null?Object.create(re):(ae.prototype=re.prototype,new ae)}),he=this&&this.__decorate||function(E,re,ae,le){var fe,ce=arguments.length,ue=ce<3?re:le===null?le=Object.getOwnPropertyDescriptor(re,ae):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ue=Reflect.decorate(E,re,ae,le);else for(var ge=E.length-1;ge>=0;ge--)(fe=E[ge])&&(ue=(ce<3?fe(ue):ce>3?fe(re,ae,ue):fe(re,ae))||ue);return ce>3&&ue&&Object.defineProperty(re,ae,ue),ue},de=this&&this.__param||function(E,re){return function(ae,le){re(ae,le,E)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.RenderService=void 0;var ee=ye(31),oe=ye(0),ne=ye(2),te=ye(32),se=ye(7),z=ye(1),x=ye(5),b=function(E){function re(ae,le,fe,ce,ue,ge){var _e=E.call(this)||this;if(_e._renderer=ae,_e._rowCount=le,_e._isPaused=!1,_e._needsFullRefresh=!1,_e._isNextRenderRedrawOnly=!0,_e._needsSelectionRefresh=!1,_e._canvasWidth=0,_e._canvasHeight=0,_e._selectionState={start:void 0,end:void 0,columnSelectMode:!1},_e._onDimensionsChange=new oe.EventEmitter,_e._onRender=new oe.EventEmitter,_e._onRefreshRequest=new oe.EventEmitter,_e.register({dispose:function(){return _e._renderer.dispose()}}),_e._renderDebouncer=new ee.RenderDebouncer(function(xe,ve){return _e._renderRows(xe,ve)}),_e.register(_e._renderDebouncer),_e._screenDprMonitor=new te.ScreenDprMonitor,_e._screenDprMonitor.setListener(function(){return _e.onDevicePixelRatioChange()}),_e.register(_e._screenDprMonitor),_e.register(ge.onResize(function(xe){return _e._fullRefresh()})),_e.register(ce.onOptionChange(function(){return _e._renderer.onOptionsChanged()})),_e.register(ue.onCharSizeChange(function(){return _e.onCharSizeChanged()})),_e._renderer.onRequestRedraw(function(xe){return _e.refreshRows(xe.start,xe.end,!0)}),_e.register(se.addDisposableDomListener(window,"resize",function(){return _e.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var we=new IntersectionObserver(function(xe){return _e._onIntersectionChange(xe[xe.length-1])},{threshold:0});we.observe(fe),_e.register({dispose:function(){return we.disconnect()}})}return _e}return a(re,E),Object.defineProperty(re.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),re.prototype._onIntersectionChange=function(ae){this._isPaused=ae.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},re.prototype.refreshRows=function(ae,le,fe){fe===void 0&&(fe=!1),this._isPaused?this._needsFullRefresh=!0:(fe||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(ae,le,this._rowCount))},re.prototype._renderRows=function(ae,le){this._renderer.renderRows(ae,le),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:ae,end:le}),this._isNextRenderRedrawOnly=!0},re.prototype.resize=function(ae,le){this._rowCount=le,this._fireOnCanvasResize()},re.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},re.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},re.prototype.dispose=function(){E.prototype.dispose.call(this)},re.prototype.setRenderer=function(ae){var le=this;this._renderer.dispose(),this._renderer=ae,this._renderer.onRequestRedraw(function(fe){return le.refreshRows(fe.start,fe.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},re.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},re.prototype.setColors=function(ae){this._renderer.setColors(ae),this._fullRefresh()},re.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},re.prototype.onResize=function(ae,le){this._renderer.onResize(ae,le),this._fullRefresh()},re.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},re.prototype.onBlur=function(){this._renderer.onBlur()},re.prototype.onFocus=function(){this._renderer.onFocus()},re.prototype.onSelectionChanged=function(ae,le,fe){this._selectionState.start=ae,this._selectionState.end=le,this._selectionState.columnSelectMode=fe,this._renderer.onSelectionChanged(ae,le,fe)},re.prototype.onCursorMove=function(){this._renderer.onCursorMove()},re.prototype.clear=function(){this._renderer.clear()},re.prototype.registerCharacterJoiner=function(ae){return this._renderer.registerCharacterJoiner(ae)},re.prototype.deregisterCharacterJoiner=function(ae){return this._renderer.deregisterCharacterJoiner(ae)},re=he([de(3,z.IOptionsService),de(4,x.ICharSizeService),de(5,z.IBufferService)],re)}(ne.Disposable);Ce.RenderService=b},function(mt,Ce,ye){"use strict";var ze=this&&this.__decorate||function(ne,te,se,z){var x,b=arguments.length,E=b<3?te:z===null?z=Object.getOwnPropertyDescriptor(te,se):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(ne,te,se,z);else for(var re=ne.length-1;re>=0;re--)(x=ne[re])&&(E=(b<3?x(E):b>3?x(te,se,E):x(te,se))||E);return b>3&&E&&Object.defineProperty(te,se,E),E},a=this&&this.__param||function(ne,te){return function(se,z){te(se,z,ne)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CharSizeService=void 0;var he=ye(1),de=ye(0),ee=function(){function ne(te,se,z){this._optionsService=z,this.width=0,this.height=0,this._onCharSizeChange=new de.EventEmitter,this._measureStrategy=new oe(te,se,this._optionsService)}return Object.defineProperty(ne.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),ne.prototype.measure=function(){var te=this._measureStrategy.measure();te.width===this.width&&te.height===this.height||(this.width=te.width,this.height=te.height,this._onCharSizeChange.fire())},ne=ze([a(2,he.IOptionsService)],ne)}();Ce.CharSizeService=ee;var oe=function(){function ne(te,se,z){this._document=te,this._parentElement=se,this._optionsService=z,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return ne.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var te=this._measureElement.getBoundingClientRect();return te.width!==0&&te.height!==0&&(this._result.width=te.width,this._result.height=Math.ceil(te.height)),this._result},ne}()},function(mt,Ce,ye){"use strict";var ze=this&&this.__decorate||function(oe,ne,te,se){var z,x=arguments.length,b=x<3?ne:se===null?se=Object.getOwnPropertyDescriptor(ne,te):se;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(oe,ne,te,se);else for(var E=oe.length-1;E>=0;E--)(z=oe[E])&&(b=(x<3?z(b):x>3?z(ne,te,b):z(ne,te))||b);return x>3&&b&&Object.defineProperty(ne,te,b),b},a=this&&this.__param||function(oe,ne){return function(te,se){ne(te,se,oe)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.MouseService=void 0;var he=ye(5),de=ye(30),ee=function(){function oe(ne,te){this._renderService=ne,this._charSizeService=te}return oe.prototype.getCoords=function(ne,te,se,z,x){return de.getCoords(ne,te,se,z,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,x)},oe.prototype.getRawByteCoords=function(ne,te,se,z){var x=this.getCoords(ne,te,se,z);return de.getRawByteCoords(x)},oe=ze([a(0,he.IRenderService),a(1,he.ICharSizeService)],oe)}();Ce.MouseService=ee},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(z,x){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var re in E)E.hasOwnProperty(re)&&(b[re]=E[re])})(z,x)},function(z,x){function b(){this.constructor=z}ze(z,x),z.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),he=this&&this.__decorate||function(z,x,b,E){var re,ae=arguments.length,le=ae<3?x:E===null?E=Object.getOwnPropertyDescriptor(x,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")le=Reflect.decorate(z,x,b,E);else for(var fe=z.length-1;fe>=0;fe--)(re=z[fe])&&(le=(ae<3?re(le):ae>3?re(x,b,le):re(x,b))||le);return ae>3&&le&&Object.defineProperty(x,b,le),le},de=this&&this.__param||function(z,x){return function(b,E){x(b,E,z)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.Linkifier2=void 0;var ee=ye(1),oe=ye(0),ne=ye(2),te=ye(7),se=function(z){function x(b){var E=z.call(this)||this;return E._bufferService=b,E._linkProviders=[],E._linkCacheDisposables=[],E._isMouseOut=!0,E._activeLine=-1,E._onShowLinkUnderline=E.register(new oe.EventEmitter),E._onHideLinkUnderline=E.register(new oe.EventEmitter),E.register(ne.getDisposeArrayDisposable(E._linkCacheDisposables)),E}return a(x,z),Object.defineProperty(x.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),x.prototype.registerLinkProvider=function(b){var E=this;return this._linkProviders.push(b),{dispose:function(){var re=E._linkProviders.indexOf(b);re!==-1&&E._linkProviders.splice(re,1)}}},x.prototype.attachToDom=function(b,E,re){var ae=this;this._element=b,this._mouseService=E,this._renderService=re,this.register(te.addDisposableDomListener(this._element,"mouseleave",function(){ae._isMouseOut=!0,ae._clearCurrentLink()})),this.register(te.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(te.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},x.prototype._onMouseMove=function(b){if(this._lastMouseEvent=b,this._element&&this._mouseService){var E=this._positionFromMouseEvent(b,this._element,this._mouseService);if(E){this._isMouseOut=!1;for(var re=b.composedPath(),ae=0;ae<re.length;ae++){var le=re[ae];if(le.classList.contains("xterm"))break;if(le.classList.contains("xterm-hover"))return}this._lastBufferCell&&E.x===this._lastBufferCell.x&&E.y===this._lastBufferCell.y||(this._onHover(E),this._lastBufferCell=E)}}},x.prototype._onHover=function(b){if(this._activeLine!==b.y)return this._clearCurrentLink(),void this._askForLink(b,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,b)||(this._clearCurrentLink(),this._askForLink(b,!0))},x.prototype._askForLink=function(b,E){var re=this;this._activeProviderReplies&&E||(this._activeProviderReplies=new Map,this._activeLine=b.y);var ae=!1;this._linkProviders.forEach(function(le,fe){var ce;E?!((ce=re._activeProviderReplies)===null||ce===void 0)&&ce.get(fe)&&(ae=re._checkLinkProviderResult(fe,b,ae)):le.provideLinks(b.y,function(ue){var ge,_e;if(!re._isMouseOut){var we=ue==null?void 0:ue.map(function(xe){return{link:xe}});(ge=re._activeProviderReplies)===null||ge===void 0||ge.set(fe,we),ae=re._checkLinkProviderResult(fe,b,ae),((_e=re._activeProviderReplies)===null||_e===void 0?void 0:_e.size)===re._linkProviders.length&&re._removeIntersectingLinks(b.y,re._activeProviderReplies)}})})},x.prototype._removeIntersectingLinks=function(b,E){for(var re=new Set,ae=0;ae<E.size;ae++){var le=E.get(ae);if(le)for(var fe=0;fe<le.length;fe++)for(var ce=le[fe],ue=ce.link.range.start.y<b?0:ce.link.range.start.x,ge=ce.link.range.end.y>b?this._bufferService.cols:ce.link.range.end.x,_e=ue;_e<=ge;_e++){if(re.has(_e)){le.splice(fe--,1);break}re.add(_e)}}},x.prototype._checkLinkProviderResult=function(b,E,re){var ae,le=this;if(!this._activeProviderReplies)return re;for(var fe=this._activeProviderReplies.get(b),ce=!1,ue=0;ue<b;ue++)this._activeProviderReplies.has(ue)&&!this._activeProviderReplies.get(ue)||(ce=!0);if(!ce&&fe){var ge=fe.find(function(we){return le._linkAtPosition(we.link,E)});ge&&(re=!0,this._handleNewLink(ge))}if(this._activeProviderReplies.size===this._linkProviders.length&&!re)for(ue=0;ue<this._activeProviderReplies.size;ue++){var _e=(ae=this._activeProviderReplies.get(ue))===null||ae===void 0?void 0:ae.find(function(we){return le._linkAtPosition(we.link,E)});if(_e){re=!0,this._handleNewLink(_e);break}}return re},x.prototype._onClick=function(b){if(this._element&&this._mouseService&&this._currentLink){var E=this._positionFromMouseEvent(b,this._element,this._mouseService);E&&this._linkAtPosition(this._currentLink.link,E)&&this._currentLink.link.activate(b,this._currentLink.link.text)}},x.prototype._clearCurrentLink=function(b,E){this._element&&this._currentLink&&this._lastMouseEvent&&(!b||!E||this._currentLink.link.range.start.y>=b&&this._currentLink.link.range.end.y<=E)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,ne.disposeArray(this._linkCacheDisposables))},x.prototype._handleNewLink=function(b){var E=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var re=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);re&&this._linkAtPosition(b.link,re)&&(this._currentLink=b,this._currentLink.state={decorations:{underline:b.link.decorations===void 0||b.link.decorations.underline,pointerCursor:b.link.decorations===void 0||b.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,b.link,this._lastMouseEvent),b.link.decorations={},Object.defineProperties(b.link.decorations,{pointerCursor:{get:function(){var ae,le;return(le=(ae=E._currentLink)===null||ae===void 0?void 0:ae.state)===null||le===void 0?void 0:le.decorations.pointerCursor},set:function(ae){var le,fe;!((le=E._currentLink)===null||le===void 0)&&le.state&&E._currentLink.state.decorations.pointerCursor!==ae&&(E._currentLink.state.decorations.pointerCursor=ae,E._currentLink.state.isHovered&&((fe=E._element)===null||fe===void 0||fe.classList.toggle("xterm-cursor-pointer",ae)))}},underline:{get:function(){var ae,le;return(le=(ae=E._currentLink)===null||ae===void 0?void 0:ae.state)===null||le===void 0?void 0:le.decorations.underline},set:function(ae){var le,fe,ce;!((le=E._currentLink)===null||le===void 0)&&le.state&&((ce=(fe=E._currentLink)===null||fe===void 0?void 0:fe.state)===null||ce===void 0?void 0:ce.decorations.underline)!==ae&&(E._currentLink.state.decorations.underline=ae,E._currentLink.state.isHovered&&E._fireUnderlineEvent(b.link,ae))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(ae){var le=ae.start===0?0:ae.start+1+E._bufferService.buffer.ydisp;E._clearCurrentLink(le,ae.end+1+E._bufferService.buffer.ydisp)})))}},x.prototype._linkHover=function(b,E,re){var ae;!((ae=this._currentLink)===null||ae===void 0)&&ae.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(E,!0),this._currentLink.state.decorations.pointerCursor&&b.classList.add("xterm-cursor-pointer")),E.hover&&E.hover(re,E.text)},x.prototype._fireUnderlineEvent=function(b,E){var re=b.range,ae=this._bufferService.buffer.ydisp,le=this._createLinkUnderlineEvent(re.start.x-1,re.start.y-ae-1,re.end.x,re.end.y-ae-1,void 0);(E?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(le)},x.prototype._linkLeave=function(b,E,re){var ae;!((ae=this._currentLink)===null||ae===void 0)&&ae.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(E,!1),this._currentLink.state.decorations.pointerCursor&&b.classList.remove("xterm-cursor-pointer")),E.leave&&E.leave(re,E.text)},x.prototype._linkAtPosition=function(b,E){var re=b.range.start.y===b.range.end.y,ae=b.range.start.y<E.y,le=b.range.end.y>E.y;return(re&&b.range.start.x<=E.x&&b.range.end.x>=E.x||ae&&b.range.end.x>=E.x||le&&b.range.start.x<=E.x||ae&&le)&&b.range.start.y<=E.y&&b.range.end.y>=E.y},x.prototype._positionFromMouseEvent=function(b,E,re){var ae=re.getCoords(b,E,this._bufferService.cols,this._bufferService.rows);if(ae)return{x:ae[0],y:ae[1]+this._bufferService.buffer.ydisp}},x.prototype._createLinkUnderlineEvent=function(b,E,re,ae,le){return{x1:b,y1:E,x2:re,y2:ae,cols:this._bufferService.cols,fg:le}},x=he([de(0,ee.IBufferService)],x)}(ne.Disposable);Ce.Linkifier2=se},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CoreBrowserService=void 0;var ze=function(){function a(he){this._textarea=he}return Object.defineProperty(a.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),a}();Ce.CoreBrowserService=ze},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(ue,ge){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,we){_e.__proto__=we}||function(_e,we){for(var xe in we)we.hasOwnProperty(xe)&&(_e[xe]=we[xe])})(ue,ge)},function(ue,ge){function _e(){this.constructor=ue}ze(ue,ge),ue.prototype=ge===null?Object.create(ge):(_e.prototype=ge.prototype,new _e)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CoreTerminal=void 0;var he=ye(2),de=ye(1),ee=ye(66),oe=ye(67),ne=ye(68),te=ye(74),se=ye(75),z=ye(0),x=ye(76),b=ye(77),E=ye(78),re=ye(80),ae=ye(81),le=ye(19),fe=ye(82),ce=function(ue){function ge(_e){var we=ue.call(this)||this;return we._onBinary=new z.EventEmitter,we._onData=new z.EventEmitter,we._onLineFeed=new z.EventEmitter,we._onResize=new z.EventEmitter,we._onScroll=new z.EventEmitter,we._instantiationService=new ee.InstantiationService,we.optionsService=new te.OptionsService(_e),we._instantiationService.setService(de.IOptionsService,we.optionsService),we._bufferService=we.register(we._instantiationService.createInstance(ne.BufferService)),we._instantiationService.setService(de.IBufferService,we._bufferService),we._logService=we._instantiationService.createInstance(oe.LogService),we._instantiationService.setService(de.ILogService,we._logService),we._coreService=we.register(we._instantiationService.createInstance(se.CoreService,function(){return we.scrollToBottom()})),we._instantiationService.setService(de.ICoreService,we._coreService),we._coreMouseService=we._instantiationService.createInstance(x.CoreMouseService),we._instantiationService.setService(de.ICoreMouseService,we._coreMouseService),we._dirtyRowService=we._instantiationService.createInstance(b.DirtyRowService),we._instantiationService.setService(de.IDirtyRowService,we._dirtyRowService),we.unicodeService=we._instantiationService.createInstance(E.UnicodeService),we._instantiationService.setService(de.IUnicodeService,we.unicodeService),we._charsetService=we._instantiationService.createInstance(re.CharsetService),we._instantiationService.setService(de.ICharsetService,we._charsetService),we._inputHandler=new le.InputHandler(we._bufferService,we._charsetService,we._coreService,we._dirtyRowService,we._logService,we.optionsService,we._coreMouseService,we.unicodeService),we.register(z.forwardEvent(we._inputHandler.onLineFeed,we._onLineFeed)),we.register(we._inputHandler),we.register(z.forwardEvent(we._bufferService.onResize,we._onResize)),we.register(z.forwardEvent(we._coreService.onData,we._onData)),we.register(z.forwardEvent(we._coreService.onBinary,we._onBinary)),we.register(we.optionsService.onOptionChange(function(xe){return we._updateOptions(xe)})),we._writeBuffer=new fe.WriteBuffer(function(xe){return we._inputHandler.parse(xe)}),we}return a(ge,ue),Object.defineProperty(ge.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),ge.prototype.dispose=function(){var _e;this._isDisposed||(ue.prototype.dispose.call(this),(_e=this._windowsMode)===null||_e===void 0||_e.dispose(),this._windowsMode=void 0)},ge.prototype.write=function(_e,we){this._writeBuffer.write(_e,we)},ge.prototype.writeSync=function(_e){this._writeBuffer.writeSync(_e)},ge.prototype.resize=function(_e,we){isNaN(_e)||isNaN(we)||(_e=Math.max(_e,ne.MINIMUM_COLS),we=Math.max(we,ne.MINIMUM_ROWS),this._bufferService.resize(_e,we))},ge.prototype.scroll=function(_e,we){we===void 0&&(we=!1);var xe,ve=this._bufferService.buffer;(xe=this._cachedBlankLine)&&xe.length===this.cols&&xe.getFg(0)===_e.fg&&xe.getBg(0)===_e.bg||(xe=ve.getBlankLine(_e,we),this._cachedBlankLine=xe),xe.isWrapped=we;var Se=ve.ybase+ve.scrollTop,be=ve.ybase+ve.scrollBottom;if(ve.scrollTop===0){var Ae=ve.lines.isFull;be===ve.lines.length-1?Ae?ve.lines.recycle().copyFrom(xe):ve.lines.push(xe.clone()):ve.lines.splice(be+1,0,xe.clone()),Ae?this._bufferService.isUserScrolling&&(ve.ydisp=Math.max(ve.ydisp-1,0)):(ve.ybase++,this._bufferService.isUserScrolling||ve.ydisp++)}else{var Te=be-Se+1;ve.lines.shiftElements(Se+1,Te-1,-1),ve.lines.set(be,xe.clone())}this._bufferService.isUserScrolling||(ve.ydisp=ve.ybase),this._dirtyRowService.markRangeDirty(ve.scrollTop,ve.scrollBottom),this._onScroll.fire(ve.ydisp)},ge.prototype.scrollLines=function(_e,we){var xe=this._bufferService.buffer;if(_e<0){if(xe.ydisp===0)return;this._bufferService.isUserScrolling=!0}else _e+xe.ydisp>=xe.ybase&&(this._bufferService.isUserScrolling=!1);var ve=xe.ydisp;xe.ydisp=Math.max(Math.min(xe.ydisp+_e,xe.ybase),0),ve!==xe.ydisp&&(we||this._onScroll.fire(xe.ydisp))},ge.prototype.scrollPages=function(_e){this.scrollLines(_e*(this.rows-1))},ge.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},ge.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},ge.prototype.scrollToLine=function(_e){var we=_e-this._bufferService.buffer.ydisp;we!==0&&this.scrollLines(we)},ge.prototype.addEscHandler=function(_e,we){return this._inputHandler.addEscHandler(_e,we)},ge.prototype.addDcsHandler=function(_e,we){return this._inputHandler.addDcsHandler(_e,we)},ge.prototype.addCsiHandler=function(_e,we){return this._inputHandler.addCsiHandler(_e,we)},ge.prototype.addOscHandler=function(_e,we){return this._inputHandler.addOscHandler(_e,we)},ge.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},ge.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},ge.prototype._updateOptions=function(_e){var we;switch(_e){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((we=this._windowsMode)===null||we===void 0||we.dispose(),this._windowsMode=void 0)}},ge.prototype._enableWindowsMode=function(){var _e=this;if(!this._windowsMode){var we=[];we.push(this.onLineFeed(ae.updateWindowsModeWrappedState.bind(null,this._bufferService))),we.push(this.addCsiHandler({final:"H"},function(){return ae.updateWindowsModeWrappedState(_e._bufferService),!1})),this._windowsMode={dispose:function(){for(var xe=0,ve=we;xe<ve.length;xe++)ve[xe].dispose()}}}},ge}(he.Disposable);Ce.CoreTerminal=ce},function(mt,Ce,ye){"use strict";var ze=this&&this.__spreadArrays||function(){for(var oe=0,ne=0,te=arguments.length;ne<te;ne++)oe+=arguments[ne].length;var se=Array(oe),z=0;for(ne=0;ne<te;ne++)for(var x=arguments[ne],b=0,E=x.length;b<E;b++,z++)se[z]=x[b];return se};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.InstantiationService=Ce.ServiceCollection=void 0;var a=ye(1),he=ye(14),de=function(){function oe(){for(var ne=[],te=0;te<arguments.length;te++)ne[te]=arguments[te];this._entries=new Map;for(var se=0,z=ne;se<z.length;se++){var x=z[se],b=x[0],E=x[1];this.set(b,E)}}return oe.prototype.set=function(ne,te){var se=this._entries.get(ne);return this._entries.set(ne,te),se},oe.prototype.forEach=function(ne){this._entries.forEach(function(te,se){return ne(se,te)})},oe.prototype.has=function(ne){return this._entries.has(ne)},oe.prototype.get=function(ne){return this._entries.get(ne)},oe}();Ce.ServiceCollection=de;var ee=function(){function oe(){this._services=new de,this._services.set(a.IInstantiationService,this)}return oe.prototype.setService=function(ne,te){this._services.set(ne,te)},oe.prototype.getService=function(ne){return this._services.get(ne)},oe.prototype.createInstance=function(ne){for(var te=[],se=1;se<arguments.length;se++)te[se-1]=arguments[se];for(var z=he.getServiceDependencies(ne).sort(function(fe,ce){return fe.index-ce.index}),x=[],b=0,E=z;b<E.length;b++){var re=E[b],ae=this._services.get(re.id);if(!ae)throw new Error("[createInstance] "+ne.name+" depends on UNKNOWN service "+re.id+".");x.push(ae)}var le=z.length>0?z[0].index:te.length;if(te.length!==le)throw new Error("[createInstance] First service dependency of "+ne.name+" at position "+(le+1)+" conflicts with "+te.length+" static arguments");return new(ne.bind.apply(ne,ze([void 0],ze(te,x))))},oe}();Ce.InstantiationService=ee},function(mt,Ce,ye){"use strict";var ze=this&&this.__decorate||function(te,se,z,x){var b,E=arguments.length,re=E<3?se:x===null?x=Object.getOwnPropertyDescriptor(se,z):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(te,se,z,x);else for(var ae=te.length-1;ae>=0;ae--)(b=te[ae])&&(re=(E<3?b(re):E>3?b(se,z,re):b(se,z))||re);return E>3&&re&&Object.defineProperty(se,z,re),re},a=this&&this.__param||function(te,se){return function(z,x){se(z,x,te)}},he=this&&this.__spreadArrays||function(){for(var te=0,se=0,z=arguments.length;se<z;se++)te+=arguments[se].length;var x=Array(te),b=0;for(se=0;se<z;se++)for(var E=arguments[se],re=0,ae=E.length;re<ae;re++,b++)x[b]=E[re];return x};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.LogService=Ce.LogLevel=void 0;var de,ee=ye(1);(function(te){te[te.DEBUG=0]="DEBUG",te[te.INFO=1]="INFO",te[te.WARN=2]="WARN",te[te.ERROR=3]="ERROR",te[te.OFF=4]="OFF"})(de=Ce.LogLevel||(Ce.LogLevel={}));var oe={debug:de.DEBUG,info:de.INFO,warn:de.WARN,error:de.ERROR,off:de.OFF},ne=function(){function te(se){var z=this;this._optionsService=se,this._updateLogLevel(),this._optionsService.onOptionChange(function(x){x==="logLevel"&&z._updateLogLevel()})}return te.prototype._updateLogLevel=function(){this._logLevel=oe[this._optionsService.options.logLevel]},te.prototype._evalLazyOptionalParams=function(se){for(var z=0;z<se.length;z++)typeof se[z]=="function"&&(se[z]=se[z]())},te.prototype._log=function(se,z,x){this._evalLazyOptionalParams(x),se.call.apply(se,he([console,"xterm.js: "+z],x))},te.prototype.debug=function(se){for(var z=[],x=1;x<arguments.length;x++)z[x-1]=arguments[x];this._logLevel<=de.DEBUG&&this._log(console.log,se,z)},te.prototype.info=function(se){for(var z=[],x=1;x<arguments.length;x++)z[x-1]=arguments[x];this._logLevel<=de.INFO&&this._log(console.info,se,z)},te.prototype.warn=function(se){for(var z=[],x=1;x<arguments.length;x++)z[x-1]=arguments[x];this._logLevel<=de.WARN&&this._log(console.warn,se,z)},te.prototype.error=function(se){for(var z=[],x=1;x<arguments.length;x++)z[x-1]=arguments[x];this._logLevel<=de.ERROR&&this._log(console.error,se,z)},te=ze([a(0,ee.IOptionsService)],te)}();Ce.LogService=ne},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(z,x){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var re in E)E.hasOwnProperty(re)&&(b[re]=E[re])})(z,x)},function(z,x){function b(){this.constructor=z}ze(z,x),z.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),he=this&&this.__decorate||function(z,x,b,E){var re,ae=arguments.length,le=ae<3?x:E===null?E=Object.getOwnPropertyDescriptor(x,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")le=Reflect.decorate(z,x,b,E);else for(var fe=z.length-1;fe>=0;fe--)(re=z[fe])&&(le=(ae<3?re(le):ae>3?re(x,b,le):re(x,b))||le);return ae>3&&le&&Object.defineProperty(x,b,le),le},de=this&&this.__param||function(z,x){return function(b,E){x(b,E,z)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.BufferService=Ce.MINIMUM_ROWS=Ce.MINIMUM_COLS=void 0;var ee=ye(1),oe=ye(69),ne=ye(0),te=ye(2);Ce.MINIMUM_COLS=2,Ce.MINIMUM_ROWS=1;var se=function(z){function x(b){var E=z.call(this)||this;return E._optionsService=b,E.isUserScrolling=!1,E._onResize=new ne.EventEmitter,E.cols=Math.max(b.options.cols,Ce.MINIMUM_COLS),E.rows=Math.max(b.options.rows,Ce.MINIMUM_ROWS),E.buffers=new oe.BufferSet(b,E),E}return a(x,z),Object.defineProperty(x.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){z.prototype.dispose.call(this),this.buffers.dispose()},x.prototype.resize=function(b,E){this.cols=b,this.rows=E,this.buffers.resize(b,E),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:b,rows:E})},x.prototype.reset=function(){this.buffers.dispose(),this.buffers=new oe.BufferSet(this._optionsService,this),this.isUserScrolling=!1},x=he([de(0,ee.IOptionsService)],x)}(te.Disposable);Ce.BufferService=se},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(oe,ne){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,se){te.__proto__=se}||function(te,se){for(var z in se)se.hasOwnProperty(z)&&(te[z]=se[z])})(oe,ne)},function(oe,ne){function te(){this.constructor=oe}ze(oe,ne),oe.prototype=ne===null?Object.create(ne):(te.prototype=ne.prototype,new te)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.BufferSet=void 0;var he=ye(70),de=ye(0),ee=function(oe){function ne(te,se){var z=oe.call(this)||this;return z._onBufferActivate=z.register(new de.EventEmitter),z._normal=new he.Buffer(!0,te,se),z._normal.fillViewportRows(),z._alt=new he.Buffer(!1,te,se),z._activeBuffer=z._normal,z.setupTabStops(),z}return a(ne,oe),Object.defineProperty(ne.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),ne.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},ne.prototype.activateAltBuffer=function(te){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(te),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},ne.prototype.resize=function(te,se){this._normal.resize(te,se),this._alt.resize(te,se)},ne.prototype.setupTabStops=function(te){this._normal.setupTabStops(te),this._alt.setupTabStops(te)},ne}(ye(2).Disposable);Ce.BufferSet=ee},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.BufferStringIterator=Ce.Buffer=Ce.MAX_BUFFER_SIZE=void 0;var ze=ye(71),a=ye(16),he=ye(4),de=ye(3),ee=ye(72),oe=ye(73),ne=ye(20),te=ye(6);Ce.MAX_BUFFER_SIZE=4294967295;var se=function(){function x(b,E,re){this._hasScrollback=b,this._optionsService=E,this._bufferService=re,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=a.DEFAULT_ATTR_DATA.clone(),this.savedCharset=ne.DEFAULT_CHARSET,this.markers=[],this._nullCell=he.CellData.fromCharData([0,de.NULL_CELL_CHAR,de.NULL_CELL_WIDTH,de.NULL_CELL_CODE]),this._whitespaceCell=he.CellData.fromCharData([0,de.WHITESPACE_CELL_CHAR,de.WHITESPACE_CELL_WIDTH,de.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new ze.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return x.prototype.getNullCell=function(b){return b?(this._nullCell.fg=b.fg,this._nullCell.bg=b.bg,this._nullCell.extended=b.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new te.ExtendedAttrs),this._nullCell},x.prototype.getWhitespaceCell=function(b){return b?(this._whitespaceCell.fg=b.fg,this._whitespaceCell.bg=b.bg,this._whitespaceCell.extended=b.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new te.ExtendedAttrs),this._whitespaceCell},x.prototype.getBlankLine=function(b,E){return new a.BufferLine(this._bufferService.cols,this.getNullCell(b),E)},Object.defineProperty(x.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"isCursorInViewport",{get:function(){var b=this.ybase+this.y-this.ydisp;return b>=0&&b<this._rows},enumerable:!1,configurable:!0}),x.prototype._getCorrectBufferLength=function(b){if(!this._hasScrollback)return b;var E=b+this._optionsService.options.scrollback;return E>Ce.MAX_BUFFER_SIZE?Ce.MAX_BUFFER_SIZE:E},x.prototype.fillViewportRows=function(b){if(this.lines.length===0){b===void 0&&(b=a.DEFAULT_ATTR_DATA);for(var E=this._rows;E--;)this.lines.push(this.getBlankLine(b))}},x.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new ze.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},x.prototype.resize=function(b,E){var re=this.getNullCell(a.DEFAULT_ATTR_DATA),ae=this._getCorrectBufferLength(E);if(ae>this.lines.maxLength&&(this.lines.maxLength=ae),this.lines.length>0){if(this._cols<b)for(var le=0;le<this.lines.length;le++)this.lines.get(le).resize(b,re);var fe=0;if(this._rows<E)for(var ce=this._rows;ce<E;ce++)this.lines.length<E+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new a.BufferLine(b,re)):this.ybase>0&&this.lines.length<=this.ybase+this.y+fe+1?(this.ybase--,fe++,this.ydisp>0&&this.ydisp--):this.lines.push(new a.BufferLine(b,re)));else for(ce=this._rows;ce>E;ce--)this.lines.length>E+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(ae<this.lines.maxLength){var ue=this.lines.length-ae;ue>0&&(this.lines.trimStart(ue),this.ybase=Math.max(this.ybase-ue,0),this.ydisp=Math.max(this.ydisp-ue,0),this.savedY=Math.max(this.savedY-ue,0)),this.lines.maxLength=ae}this.x=Math.min(this.x,b-1),this.y=Math.min(this.y,E-1),fe&&(this.y+=fe),this.savedX=Math.min(this.savedX,b-1),this.scrollTop=0}if(this.scrollBottom=E-1,this._isReflowEnabled&&(this._reflow(b,E),this._cols>b))for(le=0;le<this.lines.length;le++)this.lines.get(le).resize(b,re);this._cols=b,this._rows=E},Object.defineProperty(x.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),x.prototype._reflow=function(b,E){this._cols!==b&&(b>this._cols?this._reflowLarger(b,E):this._reflowSmaller(b,E))},x.prototype._reflowLarger=function(b,E){var re=ee.reflowLargerGetLinesToRemove(this.lines,this._cols,b,this.ybase+this.y,this.getNullCell(a.DEFAULT_ATTR_DATA));if(re.length>0){var ae=ee.reflowLargerCreateNewLayout(this.lines,re);ee.reflowLargerApplyNewLayout(this.lines,ae.layout),this._reflowLargerAdjustViewport(b,E,ae.countRemoved)}},x.prototype._reflowLargerAdjustViewport=function(b,E,re){for(var ae=this.getNullCell(a.DEFAULT_ATTR_DATA),le=re;le-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<E&&this.lines.push(new a.BufferLine(b,ae))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-re,0)},x.prototype._reflowSmaller=function(b,E){for(var re=this.getNullCell(a.DEFAULT_ATTR_DATA),ae=[],le=0,fe=this.lines.length-1;fe>=0;fe--){var ce=this.lines.get(fe);if(!(!ce||!ce.isWrapped&&ce.getTrimmedLength()<=b)){for(var ue=[ce];ce.isWrapped&&fe>0;)ce=this.lines.get(--fe),ue.unshift(ce);var ge=this.ybase+this.y;if(!(ge>=fe&&ge<fe+ue.length)){var _e=ue[ue.length-1].getTrimmedLength(),we=ee.reflowSmallerGetNewLineLengths(ue,this._cols,b),xe=we.length-ue.length,ve=void 0;ve=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+xe):Math.max(0,this.lines.length-this.lines.maxLength+xe);for(var Se=[],be=0;be<xe;be++){var Ae=this.getBlankLine(a.DEFAULT_ATTR_DATA,!0);Se.push(Ae)}Se.length>0&&(ae.push({start:fe+ue.length+le,newLines:Se}),le+=Se.length),ue.push.apply(ue,Se);var Te=we.length-1,je=we[Te];je===0&&(je=we[--Te]);for(var ke=ue.length-xe-1,Pe=_e;ke>=0;){var Oe=Math.min(Pe,je);if(ue[Te].copyCellsFrom(ue[ke],Pe-Oe,je-Oe,Oe,!0),(je-=Oe)===0&&(je=we[--Te]),(Pe-=Oe)===0){ke--;var He=Math.max(ke,0);Pe=ee.getWrappedLineTrimmedLength(ue,He,this._cols)}}for(be=0;be<ue.length;be++)we[be]<b&&ue[be].setCell(we[be],re);for(var Ge=xe-ve;Ge-- >0;)this.ybase===0?this.y<E-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+le)-E&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+xe,this.ybase+E-1)}}}if(ae.length>0){var tt=[],Me=[];for(be=0;be<this.lines.length;be++)Me.push(this.lines.get(be));var We=this.lines.length,it=We-1,ut=0,$e=ae[ut];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+le);var Je=0;for(be=Math.min(this.lines.maxLength-1,We+le-1);be>=0;be--)if($e&&$e.start>it+Je){for(var Xe=$e.newLines.length-1;Xe>=0;Xe--)this.lines.set(be--,$e.newLines[Xe]);be++,tt.push({index:it+1,amount:$e.newLines.length}),Je+=$e.newLines.length,$e=ae[++ut]}else this.lines.set(be,Me[it--]);var Qe=0;for(be=tt.length-1;be>=0;be--)tt[be].index+=Qe,this.lines.onInsertEmitter.fire(tt[be]),Qe+=tt[be].amount;var st=Math.max(0,We+le-this.lines.maxLength);st>0&&this.lines.onTrimEmitter.fire(st)}},x.prototype.stringIndexToBufferIndex=function(b,E,re){for(re===void 0&&(re=!1);E;){var ae=this.lines.get(b);if(!ae)return[-1,-1];for(var le=re?ae.getTrimmedLength():ae.length,fe=0;fe<le;++fe)if(ae.get(fe)[de.CHAR_DATA_WIDTH_INDEX]&&(E-=ae.get(fe)[de.CHAR_DATA_CHAR_INDEX].length||1),E<0)return[b,fe];b++}return[b,0]},x.prototype.translateBufferLineToString=function(b,E,re,ae){re===void 0&&(re=0);var le=this.lines.get(b);return le?le.translateToString(E,re,ae):""},x.prototype.getWrappedRangeForLine=function(b){for(var E=b,re=b;E>0&&this.lines.get(E).isWrapped;)E--;for(;re+1<this.lines.length&&this.lines.get(re+1).isWrapped;)re++;return{first:E,last:re}},x.prototype.setupTabStops=function(b){for(b!=null?this.tabs[b]||(b=this.prevStop(b)):(this.tabs={},b=0);b<this._cols;b+=this._optionsService.options.tabStopWidth)this.tabs[b]=!0},x.prototype.prevStop=function(b){for(b==null&&(b=this.x);!this.tabs[--b]&&b>0;);return b>=this._cols?this._cols-1:b<0?0:b},x.prototype.nextStop=function(b){for(b==null&&(b=this.x);!this.tabs[++b]&&b<this._cols;);return b>=this._cols?this._cols-1:b<0?0:b},x.prototype.addMarker=function(b){var E=this,re=new oe.Marker(b);return this.markers.push(re),re.register(this.lines.onTrim(function(ae){re.line-=ae,re.line<0&&re.dispose()})),re.register(this.lines.onInsert(function(ae){re.line>=ae.index&&(re.line+=ae.amount)})),re.register(this.lines.onDelete(function(ae){re.line>=ae.index&&re.line<ae.index+ae.amount&&re.dispose(),re.line>ae.index&&(re.line-=ae.amount)})),re.register(re.onDispose(function(){return E._removeMarker(re)})),re},x.prototype._removeMarker=function(b){this.markers.splice(this.markers.indexOf(b),1)},x.prototype.iterator=function(b,E,re,ae,le){return new z(this,b,E,re,ae,le)},x}();Ce.Buffer=se;var z=function(){function x(b,E,re,ae,le,fe){re===void 0&&(re=0),ae===void 0&&(ae=b.lines.length),le===void 0&&(le=0),fe===void 0&&(fe=0),this._buffer=b,this._trimRight=E,this._startIndex=re,this._endIndex=ae,this._startOverscan=le,this._endOverscan=fe,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return x.prototype.hasNext=function(){return this._current<this._endIndex},x.prototype.next=function(){var b=this._buffer.getWrappedRangeForLine(this._current);b.first<this._startIndex-this._startOverscan&&(b.first=this._startIndex-this._startOverscan),b.last>this._endIndex+this._endOverscan&&(b.last=this._endIndex+this._endOverscan),b.first=Math.max(b.first,0),b.last=Math.min(b.last,this._buffer.lines.length);for(var E="",re=b.first;re<=b.last;++re)E+=this._buffer.translateBufferLineToString(re,this._trimRight);return this._current=b.last+1,{range:b,content:E}},x}();Ce.BufferStringIterator=z},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CircularList=void 0;var ze=ye(0),a=function(){function he(de){this._maxLength=de,this.onDeleteEmitter=new ze.EventEmitter,this.onInsertEmitter=new ze.EventEmitter,this.onTrimEmitter=new ze.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(he.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"maxLength",{get:function(){return this._maxLength},set:function(de){if(this._maxLength!==de){for(var ee=new Array(de),oe=0;oe<Math.min(de,this.length);oe++)ee[oe]=this._array[this._getCyclicIndex(oe)];this._array=ee,this._maxLength=de,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"length",{get:function(){return this._length},set:function(de){if(de>this._length)for(var ee=this._length;ee<de;ee++)this._array[ee]=void 0;this._length=de},enumerable:!1,configurable:!0}),he.prototype.get=function(de){return this._array[this._getCyclicIndex(de)]},he.prototype.set=function(de,ee){this._array[this._getCyclicIndex(de)]=ee},he.prototype.push=function(de){this._array[this._getCyclicIndex(this._length)]=de,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},he.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(he.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),he.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},he.prototype.splice=function(de,ee){for(var oe=[],ne=2;ne<arguments.length;ne++)oe[ne-2]=arguments[ne];if(ee){for(var te=de;te<this._length-ee;te++)this._array[this._getCyclicIndex(te)]=this._array[this._getCyclicIndex(te+ee)];this._length-=ee}for(te=this._length-1;te>=de;te--)this._array[this._getCyclicIndex(te+oe.length)]=this._array[this._getCyclicIndex(te)];for(te=0;te<oe.length;te++)this._array[this._getCyclicIndex(de+te)]=oe[te];if(this._length+oe.length>this._maxLength){var se=this._length+oe.length-this._maxLength;this._startIndex+=se,this._length=this._maxLength,this.onTrimEmitter.fire(se)}else this._length+=oe.length},he.prototype.trimStart=function(de){de>this._length&&(de=this._length),this._startIndex+=de,this._length-=de,this.onTrimEmitter.fire(de)},he.prototype.shiftElements=function(de,ee,oe){if(!(ee<=0)){if(de<0||de>=this._length)throw new Error("start argument out of range");if(de+oe<0)throw new Error("Cannot shift elements in list beyond index 0");if(oe>0){for(var ne=ee-1;ne>=0;ne--)this.set(de+ne+oe,this.get(de+ne));var te=de+ee+oe-this._length;if(te>0)for(this._length+=te;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(ne=0;ne<ee;ne++)this.set(de+ne+oe,this.get(de+ne))}},he.prototype._getCyclicIndex=function(de){return(this._startIndex+de)%this._maxLength},he}();Ce.CircularList=a},function(mt,Ce,ye){"use strict";function ze(a,he,de){if(he===a.length-1)return a[he].getTrimmedLength();var ee=!a[he].hasContent(de-1)&&a[he].getWidth(de-1)===1,oe=a[he+1].getWidth(0)===2;return ee&&oe?de-1:de}Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.getWrappedLineTrimmedLength=Ce.reflowSmallerGetNewLineLengths=Ce.reflowLargerApplyNewLayout=Ce.reflowLargerCreateNewLayout=Ce.reflowLargerGetLinesToRemove=void 0,Ce.reflowLargerGetLinesToRemove=function(a,he,de,ee,oe){for(var ne=[],te=0;te<a.length-1;te++){var se=te,z=a.get(++se);if(z.isWrapped){for(var x=[a.get(te)];se<a.length&&z.isWrapped;)x.push(z),z=a.get(++se);if(ee>=te&&ee<se)te+=x.length-1;else{for(var b=0,E=ze(x,b,he),re=1,ae=0;re<x.length;){var le=ze(x,re,he),fe=le-ae,ce=de-E,ue=Math.min(fe,ce);x[b].copyCellsFrom(x[re],ae,E,ue,!1),(E+=ue)===de&&(b++,E=0),(ae+=ue)===le&&(re++,ae=0),E===0&&b!==0&&x[b-1].getWidth(de-1)===2&&(x[b].copyCellsFrom(x[b-1],de-1,E++,1,!1),x[b-1].setCell(de-1,oe))}x[b].replaceCells(E,de,oe);for(var ge=0,_e=x.length-1;_e>0&&(_e>b||x[_e].getTrimmedLength()===0);_e--)ge++;ge>0&&(ne.push(te+x.length-ge),ne.push(ge)),te+=x.length-1}}}return ne},Ce.reflowLargerCreateNewLayout=function(a,he){for(var de=[],ee=0,oe=he[ee],ne=0,te=0;te<a.length;te++)if(oe===te){var se=he[++ee];a.onDeleteEmitter.fire({index:te-ne,amount:se}),te+=se-1,ne+=se,oe=he[++ee]}else de.push(te);return{layout:de,countRemoved:ne}},Ce.reflowLargerApplyNewLayout=function(a,he){for(var de=[],ee=0;ee<he.length;ee++)de.push(a.get(he[ee]));for(ee=0;ee<de.length;ee++)a.set(ee,de[ee]);a.length=he.length},Ce.reflowSmallerGetNewLineLengths=function(a,he,de){for(var ee=[],oe=a.map(function(E,re){return ze(a,re,he)}).reduce(function(E,re){return E+re}),ne=0,te=0,se=0;se<oe;){if(oe-se<de){ee.push(oe-se);break}ne+=de;var z=ze(a,te,he);ne>z&&(ne-=z,te++);var x=a[te].getWidth(ne-1)===2;x&&ne--;var b=x?de-1:de;ee.push(b),se+=b}return ee},Ce.getWrappedLineTrimmedLength=ze},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(ee,oe){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var se in te)te.hasOwnProperty(se)&&(ne[se]=te[se])})(ee,oe)},function(ee,oe){function ne(){this.constructor=ee}ze(ee,oe),ee.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)});Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.Marker=void 0;var he=ye(0),de=function(ee){function oe(ne){var te=ee.call(this)||this;return te.line=ne,te._id=oe._nextId++,te.isDisposed=!1,te._onDispose=new he.EventEmitter,te}return a(oe,ee),Object.defineProperty(oe.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),oe.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},oe._nextId=1,oe}(ye(2).Disposable);Ce.Marker=de},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.OptionsService=Ce.DEFAULT_OPTIONS=Ce.DEFAULT_BELL_SOUND=void 0;var ze=ye(0),a=ye(11),he=ye(33);Ce.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",Ce.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:Ce.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:a.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var de=["cols","rows"],ee=function(){function oe(ne){this._onOptionChange=new ze.EventEmitter,this.options=he.clone(Ce.DEFAULT_OPTIONS);for(var te=0,se=Object.keys(ne);te<se.length;te++){var z=se[te];if(z in this.options){var x=ne[z];this.options[z]=x}}}return Object.defineProperty(oe.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),oe.prototype.setOption=function(ne,te){if(!(ne in Ce.DEFAULT_OPTIONS))throw new Error('No option with key "'+ne+'"');if(de.indexOf(ne)!==-1)throw new Error('Option "'+ne+'" can only be set in the constructor');this.options[ne]!==te&&(te=this._sanitizeAndValidateOption(ne,te),this.options[ne]!==te&&(this.options[ne]=te,this._onOptionChange.fire(ne)))},oe.prototype._sanitizeAndValidateOption=function(ne,te){switch(ne){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":te||(te=Ce.DEFAULT_OPTIONS[ne]);break;case"cursorWidth":te=Math.floor(te);case"lineHeight":case"tabStopWidth":if(te<1)throw new Error(ne+" cannot be less than 1, value: "+te);break;case"minimumContrastRatio":te=Math.max(1,Math.min(21,Math.round(10*te)/10));break;case"scrollback":if((te=Math.min(te,4294967295))<0)throw new Error(ne+" cannot be less than 0, value: "+te);break;case"fastScrollSensitivity":case"scrollSensitivity":if(te<=0)throw new Error(ne+" cannot be less than or equal to 0, value: "+te)}return te},oe.prototype.getOption=function(ne){if(!(ne in Ce.DEFAULT_OPTIONS))throw new Error('No option with key "'+ne+'"');return this.options[ne]},oe}();Ce.OptionsService=ee},function(mt,Ce,ye){"use strict";var ze,a=this&&this.__extends||(ze=function(b,E){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ae){re.__proto__=ae}||function(re,ae){for(var le in ae)ae.hasOwnProperty(le)&&(re[le]=ae[le])})(b,E)},function(b,E){function re(){this.constructor=b}ze(b,E),b.prototype=E===null?Object.create(E):(re.prototype=E.prototype,new re)}),he=this&&this.__decorate||function(b,E,re,ae){var le,fe=arguments.length,ce=fe<3?E:ae===null?ae=Object.getOwnPropertyDescriptor(E,re):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ce=Reflect.decorate(b,E,re,ae);else for(var ue=b.length-1;ue>=0;ue--)(le=b[ue])&&(ce=(fe<3?le(ce):fe>3?le(E,re,ce):le(E,re))||ce);return fe>3&&ce&&Object.defineProperty(E,re,ce),ce},de=this&&this.__param||function(b,E){return function(re,ae){E(re,ae,b)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CoreService=void 0;var ee=ye(1),oe=ye(0),ne=ye(33),te=ye(2),se=Object.freeze({insertMode:!1}),z=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),x=function(b){function E(re,ae,le,fe){var ce=b.call(this)||this;return ce._bufferService=ae,ce._logService=le,ce._optionsService=fe,ce.isCursorInitialized=!1,ce.isCursorHidden=!1,ce._onData=ce.register(new oe.EventEmitter),ce._onUserInput=ce.register(new oe.EventEmitter),ce._onBinary=ce.register(new oe.EventEmitter),ce._scrollToBottom=re,ce.register({dispose:function(){return ce._scrollToBottom=void 0}}),ce.modes=ne.clone(se),ce.decPrivateModes=ne.clone(z),ce}return a(E,b),Object.defineProperty(E.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),E.prototype.reset=function(){this.modes=ne.clone(se),this.decPrivateModes=ne.clone(z)},E.prototype.triggerDataEvent=function(re,ae){if(ae===void 0&&(ae=!1),!this._optionsService.options.disableStdin){var le=this._bufferService.buffer;le.ybase!==le.ydisp&&this._scrollToBottom(),ae&&this._onUserInput.fire(),this._logService.debug('sending data "'+re+'"',function(){return re.split("").map(function(fe){return fe.charCodeAt(0)})}),this._onData.fire(re)}},E.prototype.triggerBinaryEvent=function(re){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+re+'"',function(){return re.split("").map(function(ae){return ae.charCodeAt(0)})}),this._onBinary.fire(re))},E=he([de(1,ee.IBufferService),de(2,ee.ILogService),de(3,ee.IOptionsService)],E)}(te.Disposable);Ce.CoreService=x},function(mt,Ce,ye){"use strict";var ze=this&&this.__decorate||function(z,x,b,E){var re,ae=arguments.length,le=ae<3?x:E===null?E=Object.getOwnPropertyDescriptor(x,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")le=Reflect.decorate(z,x,b,E);else for(var fe=z.length-1;fe>=0;fe--)(re=z[fe])&&(le=(ae<3?re(le):ae>3?re(x,b,le):re(x,b))||le);return ae>3&&le&&Object.defineProperty(x,b,le),le},a=this&&this.__param||function(z,x){return function(b,E){x(b,E,z)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CoreMouseService=void 0;var he=ye(1),de=ye(0),ee={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(z){return z.button!==4&&z.action===1&&(z.ctrl=!1,z.alt=!1,z.shift=!1,!0)}},VT200:{events:19,restrict:function(z){return z.action!==32}},DRAG:{events:23,restrict:function(z){return z.action!==32||z.button!==3}},ANY:{events:31,restrict:function(z){return!0}}};function oe(z,x){var b=(z.ctrl?16:0)|(z.shift?4:0)|(z.alt?8:0);return z.button===4?(b|=64,b|=z.action):(b|=3&z.button,4&z.button&&(b|=64),8&z.button&&(b|=128),z.action===32?b|=32:z.action!==0||x||(b|=3)),b}var ne=String.fromCharCode,te={DEFAULT:function(z){var x=[oe(z,!1)+32,z.col+32,z.row+32];return x[0]>255||x[1]>255||x[2]>255?"":"\x1B[M"+ne(x[0])+ne(x[1])+ne(x[2])},SGR:function(z){var x=z.action===0&&z.button!==4?"m":"M";return"\x1B[<"+oe(z,!0)+";"+z.col+";"+z.row+x}},se=function(){function z(x,b){this._bufferService=x,this._coreService=b,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new de.EventEmitter,this._lastEvent=null;for(var E=0,re=Object.keys(ee);E<re.length;E++){var ae=re[E];this.addProtocol(ae,ee[ae])}for(var le=0,fe=Object.keys(te);le<fe.length;le++){var ce=fe[le];this.addEncoding(ce,te[ce])}this.reset()}return z.prototype.addProtocol=function(x,b){this._protocols[x]=b},z.prototype.addEncoding=function(x,b){this._encodings[x]=b},Object.defineProperty(z.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(x){if(!this._protocols[x])throw new Error('unknown protocol "'+x+'"');this._activeProtocol=x,this._onProtocolChange.fire(this._protocols[x].events)},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(x){if(!this._encodings[x])throw new Error('unknown encoding "'+x+'"');this._activeEncoding=x},enumerable:!1,configurable:!0}),z.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(z.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),z.prototype.triggerMouseEvent=function(x){if(x.col<0||x.col>=this._bufferService.cols||x.row<0||x.row>=this._bufferService.rows||x.button===4&&x.action===32||x.button===3&&x.action!==32||x.button!==4&&(x.action===2||x.action===3)||(x.col++,x.row++,x.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,x))||!this._protocols[this._activeProtocol].restrict(x))return!1;var b=this._encodings[this._activeEncoding](x);return b&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(b):this._coreService.triggerDataEvent(b,!0)),this._lastEvent=x,!0},z.prototype.explainEvents=function(x){return{down:!!(1&x),up:!!(2&x),drag:!!(4&x),move:!!(8&x),wheel:!!(16&x)}},z.prototype._compareEvents=function(x,b){return x.col===b.col&&x.row===b.row&&x.button===b.button&&x.action===b.action&&x.ctrl===b.ctrl&&x.alt===b.alt&&x.shift===b.shift},z=ze([a(0,he.IBufferService),a(1,he.ICoreService)],z)}();Ce.CoreMouseService=se},function(mt,Ce,ye){"use strict";var ze=this&&this.__decorate||function(ee,oe,ne,te){var se,z=arguments.length,x=z<3?oe:te===null?te=Object.getOwnPropertyDescriptor(oe,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ee,oe,ne,te);else for(var b=ee.length-1;b>=0;b--)(se=ee[b])&&(x=(z<3?se(x):z>3?se(oe,ne,x):se(oe,ne))||x);return z>3&&x&&Object.defineProperty(oe,ne,x),x},a=this&&this.__param||function(ee,oe){return function(ne,te){oe(ne,te,ee)}};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.DirtyRowService=void 0;var he=ye(1),de=function(){function ee(oe){this._bufferService=oe,this.clearRange()}return Object.defineProperty(ee.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),ee.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},ee.prototype.markDirty=function(oe){oe<this._start?this._start=oe:oe>this._end&&(this._end=oe)},ee.prototype.markRangeDirty=function(oe,ne){if(oe>ne){var te=oe;oe=ne,ne=te}oe<this._start&&(this._start=oe),ne>this._end&&(this._end=ne)},ee.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},ee=ze([a(0,he.IBufferService)],ee)}();Ce.DirtyRowService=de},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.UnicodeService=void 0;var ze=ye(0),a=ye(79),he=function(){function de(){this._providers=Object.create(null),this._active="",this._onChange=new ze.EventEmitter;var ee=new a.UnicodeV6;this.register(ee),this._active=ee.version,this._activeProvider=ee}return Object.defineProperty(de.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"activeVersion",{get:function(){return this._active},set:function(ee){if(!this._providers[ee])throw new Error('unknown Unicode version "'+ee+'"');this._active=ee,this._activeProvider=this._providers[ee],this._onChange.fire(ee)},enumerable:!1,configurable:!0}),de.prototype.register=function(ee){this._providers[ee.version]=ee},de.prototype.wcwidth=function(ee){return this._activeProvider.wcwidth(ee)},de.prototype.getStringCellWidth=function(ee){for(var oe=0,ne=ee.length,te=0;te<ne;++te){var se=ee.charCodeAt(te);if(55296<=se&&se<=56319){if(++te>=ne)return oe+this.wcwidth(se);var z=ee.charCodeAt(te);56320<=z&&z<=57343?se=1024*(se-55296)+z-56320+65536:oe+=this.wcwidth(z)}oe+=this.wcwidth(se)}return oe},de}();Ce.UnicodeService=he},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.UnicodeV6=void 0;var ze,a=ye(15),he=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],de=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],ee=function(){function oe(){if(this.version="6",!ze){ze=new Uint8Array(65536),a.fill(ze,1),ze[0]=0,a.fill(ze,0,1,32),a.fill(ze,0,127,160),a.fill(ze,2,4352,4448),ze[9001]=2,ze[9002]=2,a.fill(ze,2,11904,42192),ze[12351]=1,a.fill(ze,2,44032,55204),a.fill(ze,2,63744,64256),a.fill(ze,2,65040,65050),a.fill(ze,2,65072,65136),a.fill(ze,2,65280,65377),a.fill(ze,2,65504,65511);for(var ne=0;ne<he.length;++ne)a.fill(ze,0,he[ne][0],he[ne][1]+1)}}return oe.prototype.wcwidth=function(ne){return ne<32?0:ne<127?1:ne<65536?ze[ne]:function(te,se){var z,x=0,b=se.length-1;if(te<se[0][0]||te>se[b][1])return!1;for(;b>=x;)if(te>se[z=x+b>>1][1])x=z+1;else{if(!(te<se[z][0]))return!0;b=z-1}return!1}(ne,de)?0:ne>=131072&&ne<=196605||ne>=196608&&ne<=262141?2:1},oe}();Ce.UnicodeV6=ee},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CharsetService=void 0;var ze=function(){function a(){this.glevel=0,this._charsets=[]}return a.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},a.prototype.setgLevel=function(he){this.glevel=he,this.charset=this._charsets[he]},a.prototype.setgCharset=function(he,de){this._charsets[he]=de,this.glevel===he&&(this.charset=de)},a}();Ce.CharsetService=ze},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.updateWindowsModeWrappedState=void 0;var ze=ye(3);Ce.updateWindowsModeWrappedState=function(a){var he=a.buffer.lines.get(a.buffer.ybase+a.buffer.y-1),de=he==null?void 0:he.get(a.cols-1),ee=a.buffer.lines.get(a.buffer.ybase+a.buffer.y);ee&&de&&(ee.isWrapped=de[ze.CHAR_DATA_CODE_INDEX]!==ze.NULL_CELL_CODE&&de[ze.CHAR_DATA_CODE_INDEX]!==ze.WHITESPACE_CELL_CODE)}},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.WriteBuffer=void 0;var ze=function(){function a(he){this._action=he,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return a.prototype.writeSync=function(he){if(this._writeBuffer.length){for(var de=this._bufferOffset;de<this._writeBuffer.length;++de){var ee=this._writeBuffer[de],oe=this._callbacks[de];this._action(ee),oe&&oe()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(he)},a.prototype.write=function(he,de){var ee=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return ee._innerWrite()})),this._pendingData+=he.length,this._writeBuffer.push(he),this._callbacks.push(de)},a.prototype._innerWrite=function(){for(var he=this,de=Date.now();this._writeBuffer.length>this._bufferOffset;){var ee=this._writeBuffer[this._bufferOffset],oe=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(ee),this._pendingData-=ee.length,oe&&oe(),Date.now()-de>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return he._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},a}();Ce.WriteBuffer=ze},function(mt,Ce,ye){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.AddonManager=void 0;var ze=function(){function a(){this._addons=[]}return a.prototype.dispose=function(){for(var he=this._addons.length-1;he>=0;he--)this._addons[he].instance.dispose()},a.prototype.loadAddon=function(he,de){var ee=this,oe={instance:de,dispose:de.dispose,isDisposed:!1};this._addons.push(oe),de.dispose=function(){return ee._wrappedAddonDispose(oe)},de.activate(he)},a.prototype._wrappedAddonDispose=function(he){if(!he.isDisposed){for(var de=-1,ee=0;ee<this._addons.length;ee++)if(this._addons[ee]===he){de=ee;break}if(de===-1)throw new Error("Could not dispose an addon that has not been loaded");he.isDisposed=!0,he.dispose.apply(he.instance),this._addons.splice(de,1)}},a}();Ce.AddonManager=ze}])})},20441:function(bt,mt,Ce){var ye={"./aac.svg":53642,"./amr.svg":55937,"./avi.svg":38723,"./bmp.svg":65308,"./default.svg":96449,"./doc.svg":25853,"./docx.svg":5435,"./flv.svg":97803,"./gif.svg":90342,"./jpeg.svg":7555,"./jpg.svg":63687,"./m4a.svg":33776,"./md.svg":21307,"./mkv.svg":93528,"./mov.svg":90460,"./mp3.svg":78280,"./mp4.svg":50275,"./mpeg.svg":66819,"./ogg.svg":30763,"./opus.svg":85165,"./pdf.svg":3958,"./png.svg":95139,"./ppt.svg":3633,"./pptx.svg":18968,"./txt.svg":61978,"./wav.svg":44825,"./webm.svg":94424,"./wma.svg":63536,"./wmv.svg":40372,"./wps.svg":61652,"./xls.svg":95216,"./xlsx.svg":5009};function ze(he){var de=a(he);return Ce(de)}function a(he){if(!Ce.o(ye,he)){var de=new Error("Cannot find module '"+he+"'");throw de.code="MODULE_NOT_FOUND",de}return ye[he]}ze.keys=function(){return Object.keys(ye)},ze.resolve=a,bt.exports=ze,ze.id=20441},53642:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/aac.b3e9a3ba.svg"},55937:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/amr.ce411d51.svg"},38723:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/avi.d7b8adf7.svg"},65308:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/bmp.c62f88c4.svg"},96449:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/default.f48aef2c.svg"},25853:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/doc.e6c75d4c.svg"},5435:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/docx.150535e3.svg"},97803:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/flv.43967063.svg"},90342:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/gif.b2122741.svg"},7555:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/jpeg.fffee469.svg"},63687:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/jpg.2fb4a360.svg"},33776:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/m4a.7994dbc0.svg"},21307:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/md.1f56aa84.svg"},93528:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/mkv.f43ec502.svg"},90460:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/mov.1e1eebb7.svg"},78280:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/mp3.a7e45c91.svg"},50275:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/mp4.31a2d9d7.svg"},66819:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/mpeg.9a0dfa86.svg"},30763:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/ogg.0394dc54.svg"},85165:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/opus.faad335c.svg"},3958:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/pdf.5d12b224.svg"},95139:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/png.eacc8c1c.svg"},3633:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/ppt.d710530e.svg"},18968:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/pptx.d78add0d.svg"},61978:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/txt.53f7213d.svg"},44825:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/wav.a76e7dde.svg"},94424:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/webm.3a7e6ebc.svg"},63536:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/wma.a57b430b.svg"},40372:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/wmv.f22ee4a1.svg"},61652:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/wps.f48aef2c.svg"},95216:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/xls.0db636e2.svg"},5009:function(bt,mt,Ce){"use strict";bt.exports=Ce.p+"static/xlsx.5d09490a.svg"},93314:function(bt){"use strict";bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoV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},36645:function(bt){"use strict";bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAwCAYAAABe6Vn9AAAAAXNSR0IArs4c6QAACO9JREFUaAXVWWtsXEcVPnNfu+t9eZ34kXddx2lCGjlpSRPRAmmAKKL8KI0CTaC0SqmIVCi0YAlEqegPBD/4RcMrgqKC0haiglAqCOKR0BRQS0lbaPOwQ1rF77d314+9e198566vvXu966wde1uOtffeOTNn5nxzzpw5Mxa7znXudGx6ihxnAy0y3VITvZKR5Pc+sSI6sMhdl+xOcmznp0sBhkes0+S116mi7Qs96dqSGixyhUQOvWeR+yzorj6gVjOoL3enlhdULFFBWqJ+C7plUCsDckVAVQQQo6vXlEQlQFUM0Awoqe3BztSyAhMuYqGigHKg1MT1Ial9qUBVHNA0qKDU/nAyWbOIxnG7ekcAuaACamKNKS86qHcMEIOq09SaxQY1b0AhSVBQCNe8+Y8q8KOyoPwO06ad36Totwfqq6OjiaIN5snMH78s0daVCTq5eRU1BdWC9vfVxejEplV0Wyw0zT87Ok6jhjldLvXBoOos5dJigFJKDXIt/MaAQm/pJqVNi453DVOVLMFys63qG6PGdpyPg/ekjz+vYtmAInCpQ/Vx2hDS3AEOLo/SSVigWpbpfbEgscsx7a2uQjlEj3cM0ankpMubsK7uem5DEkbuvfBn2S4XwizftSxCqzH7TB+C4hsB7jaAuT1eRZaTU+JMapJGYZnDAK9d1Sg5mcV8lg0ohQX+zStD9Ma47o7/w95RehHK3xQJUl/WpE78mMZth34xkOZUh/Yti7q8Sj7KBqQ7Dp0GgH7DcvUbAcAGKB2F5V4Zy4H0FD8xPEZDaHewNkrsqpWksgGxUhzZPJf70opquiMRdnX9S3KiQOcYQB4fSpMCLP5oWNBwCQplBwUGcCfWkEcXJrO0BhZiS7wKN9wRDbpVcYA5ur6ezk1k6VB7H/VMWdSTW+p32YDOA8DNuoFZF7QCQL7fm6T/ZgxqUGXiGDYAxS+jfKg+RglFdsvzAgNrWqRGHccRoKkQM3/44oP/6ShLm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BDFm3UuXykn4Gk54WX04JICE8cI/NxowI+NRjgQYUuXGx3ObqdbPAgRgGynl4Zo6bvC+x8ZuDTLeGb+yPVMk2bGTU0A0bkMFXI/EBzIez0MKqnIBB2K8uE7llAOolslIgODIhfOZaDooRxUUElDM5S/QXknYuby5sD5+m+1bRf3DYxzAEQu6aOL99s4hS9z8OHPZM/syLu0Z89dDCMD76rPAl0VrDk4r3yEaSjnC3au6zUWGWiPbIE1ssWhicpZkOcoU7dTXIc2qPePWEDhRNlOcaA81J0UP3NRjvpYQDwnr704XCKEZOL2UNw08zMqvXAKtMCz9H9cR2EBdlxPYQv61XPg14pTdAA0o2b262/P9Yw1YXDQph5wX2kAgEDGmPuL8fmbo+830DAMAEWh/wA9Tssi7VG0sQAAAABJRU5ErkJggg=="},54269:function(bt){"use strict";bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAcZJREFUSEutlb9Lw0AUx9+1SlGLg4WWQlERiosuLnZsiZP+AcVdd93cmmzddBb/gc5Sp0I71qW7BIqVYhGMDq1IKubkHb0QL3dJ+uNNpXn3/Xzvvbt3BCLEtnlfpBCvYCqltAgUDPz9snuihy0nQQlcmInKgoIRBpECQoVFWADIB9gyH5pKx2H1kIBcwOZTXQcCrM5zhwfEAAsV5+4mEIL1dmisOavrwkoK2t8WW55eGsN+YuhKZWJ2iajc9/LHcPNhwrVlBrIxrzsewO1n3ZdHKJSIrKno6jKVh3K/7VuE3zC6PwPmNh23oZo5g6u3OxnAmBpQyxVg5DxDY9RxBRcGwF1dbOR9bqcGoBCGWH/8fy8x/Oce8xCAPcBeeINQkJcIy4Ah9gAbKqs1AhpfHR9YCZA1WeWe72DuJqvcLwQQ5H5mQC13COX+I7ulCBj99tjxFOMoeQA7y1nVRTOUo0I8SXip8ATJAHh6xBOEeewmRx12OGe01ffIIwtPUDV7rkce19MAuDjbhWhJNfyiALzCXFf5JstAp+uvqhK1JuItMSH00XecWJG/dNqaxaanJ5TCoTvwqrDdAICWtCrpuM1cqhyLO/gDpZk8IJ3d/IwAAAAASUVORK5CYII="},71986:function(bt){"use strict";bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABRCAYAAACOlsX2AAAAAXNSR0IArs4c6QAAIABJREFUeF7NmwecHlW9979nZp66fbM9vZOOJKH3FgLSNSAB5HJBEEEBr1yKF1CayEUFqVIEFQygEQg1lFAD6QXSk012N5vN9vb0KeflnHl20yEUue+E/ezDPDPnnN+/txUX/s2ZKvEeRtKfL33J7BviS7/5zbzwJfYX1AmMS8QFT6Rr4auA/WaO/G2uIhB14oePpXrI1Lt3D792+eJbOt2/c39x/iNJ2SuQWYTbBGXvtu5dIPviLgLee8P/IOWOD36b+4vzH0xIxM5H9A+UExKcf6jFg285O/K2l/U9B9/2/qTBBghYWO3qd/IiglO+Y/HUhzb6i+2uSBAsc9vdpA22CwcMNUjZsKzW20WmyvIFao9XlrpYpiRoCb4zyKAzAZ9u7nl+J9ns/V+BOO/+xB4l94eHBxhVZWCakMpI0g786a0Mv/pemPp2f/HcsODav6ezn+G6U0P85oUMx44zWV7r0h6Dn00N8spSh/59BEPLDB54I0N3Ci47LkBxjiCRgfICwfMLHT5a53LSdywSacmclT7Req4zJlsMqzCoKDRYUeeytdOjOwn79DV46xOHDU1foIQSxLn3xreJdHZl9Vp+RDDtIIvH3ra5+Nggs5c5bGr29P3Lpwa5fWZa8+uO6WGueypFMABXnRTi3ZUOW9okwysNpuxrcfesNNeeFtLvb26VVDd5xLJm4ydTgry82KGm2ePUyQGaOiWOJ5k4xCTjoEGpa8F6F1dCXhgGlRocOdbitSUOpx8Q4K4X09x1blhLRigApgG/eylNTfPuwYtzfx/bWUD1JqP6mpx9WEB/HlBqUNvsc/S9lQ4HjrC4/R8p/f93nh/hmr8kNeW/OymgwXQlJK3dkr7FBs3dkn0HmfxmZgq10XETLKq3emxo9Lh8agjDgK6kZHCZwetLHPrkCcb0N7Q0bW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7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg=="},37166:function(bt){"use strict";bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ/VwQ4obgBgGOgBiGOAiIIY4fEqoQFXoazEQIlrwnuhhKLoB8hgZXPlH/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpPYFk527KxQhfLtbGdhAZJoQiEEChC+V1AsS0sR8AU0ISB8pwLtkPg2niuTaAZa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P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},60141:function(bt){"use strict";bt.exports="data:image/gif;base64,R0lGODlh6QDIAPf/APrMTf789vrMUPvdi/zfkfi4CvvYef713fnKSfzosP7wyvrSZfjAKPzmqf3wzP767fnHPv7xzf3wzvjFOfe2BP767vi8F/i8GPvagfnGO/jDMv3uxv3svfrNUvzkov724fvWcfzinPvbhPi5DfrTZv734vi6EPzglfnKSP3tw/nJR/3qtv3nrPrRYPjAJf/++/702PvVbvrUbfrUafrQX/rOVvnLTfrWcvi+H/i7Fv7y0P3y0/3wyv3uxPzjoPzglvi/I/vejvvZfPe5D/rTaPrPWvrOVPrKSf3vyPzlpPnNU/nKRvnENfe6E/Ly8v3sv+Xl5frZf9ra2vnIQOjo6Pv7+9jY2PX19d7e3tTU1Ovr6/n5+dzc3O7u7uLi4tDQ0M7Oztvb2/j4+N3d3ezs7NHR0f7+/tXV1fHx8fDw8NLS0uHh4d/f3/jAJvb29vT09M/Pz+/v7/f39+rq6uPj49bW1vr6+uDg4NfX1+Tk5PPz89PT0+np6efn59nZ2e3t7frPWfzmqvnFN/39/fz8/P756/723/vdif3ru/745/zhmObm5vrUav3ps/zim/zdiv757Pzlpvzruvzhmfe3Bve3B/zimvvhmvnCK/jAJ//56v/9+f7z1f702vvciPvXdfnBJ/jFN/jDL/735PvZe/e7Ffzjn/e3CPznq/3twf3ruvi+IPnFNvvdjPzps/3psvrOWP702/rQXfvYevnOWfvUav3quPrWdP302//56/i9G/zejP712/778/nIQv3orfnOV/i3BvnGOv/+/frKR/////3nqv3uw/vYd/3y1frUa/713v3ruPvZevrXd/e2BvnEM//+/P7z1v///f3rufnDMPnHQPe2A/i/JPrIQvnMUP3z2PnLSv/88/e8Gv746P7uxfvUa/vgk/vglPzgk/rNVPvaffnBKf3xz/756vi6D/rSYvrVcPe4C/jENvi7E/789PrPWPnIQfzchv3tv/3svvzquf3qufi9Hfi9Hve4DPnCLvjCL/e1AM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