diff --git a/static/web/404.html b/static/web/404.html index ec2c032c6..45ad4f8e1 100644 --- a/static/web/404.html +++ b/static/web/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/404/index.html b/static/web/404/index.html index ec2c032c6..45ad4f8e1 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/_next/static/Xhj8zLeO6eFxqn63Y_nlC/_buildManifest.js b/static/web/_next/static/SQ78DH8_CU4REfQ7D2WVk/_buildManifest.js similarity index 97% rename from static/web/_next/static/Xhj8zLeO6eFxqn63Y_nlC/_buildManifest.js rename to static/web/_next/static/SQ78DH8_CU4REfQ7D2WVk/_buildManifest.js index a28f3fc80..b1846c4f9 100644 --- a/static/web/_next/static/Xhj8zLeO6eFxqn63Y_nlC/_buildManifest.js +++ b/static/web/_next/static/SQ78DH8_CU4REfQ7D2WVk/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,b,h,o,m,u,k,r,g,j,p,l,_,w,v,y){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[a,s,c,t,n,f,o,r,g,"static/chunks/8980-ed3298b2bcefdc65.js",b,"static/css/cffc98a5ffdc74a3.css","static/chunks/pages/index-621691175474ffbc.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[a,s,c,e,i,t,n,d,h,o,"static/chunks/8676-9693205d9b48d90d.js","static/chunks/pages/admin-9743bab3e8215a95.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-647bf15770f8de69.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-6130c774a7acaaaa.js"],"/admin/chat/messages":[j,a,s,c,e,i,n,p,"static/chunks/pages/admin/chat/messages-7a31c7f626fb8bec.js"],"/admin/chat/users":[j,a,s,c,e,i,t,n,p,"static/chunks/pages/admin/chat/users-39fb6345a4973ccf.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-2d8f314ed2c642bf.js"],"/admin/config-federation":["static/chunks/1829-0eb93b8278101717.js","static/chunks/pages/admin/config-federation-b722e1bc8f0608b4.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-2462c2f26ef3ddf1.js"],"/admin/config-public-details":["static/chunks/4ad82c5e-36e71da4442aa09e.js",a,s,c,e,m,"static/chunks/1140-3badda529c932b4b.js","static/chunks/pages/admin/config-public-details-4fca601eff1151f7.js"],"/admin/config-server-details":[l,"static/chunks/pages/admin/config-server-details-a148074a13faf6b7.js"],"/admin/config-social-items":[a,s,c,e,"static/chunks/pages/admin/config-social-items-ce13bfc436b5d6a9.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-36a2bd13af05ae97.js"],"/admin/config-video":[a,s,c,e,l,"static/chunks/7326-d1457038bcb2631e.js","static/chunks/pages/admin/config-video-130a2f37c23239cf.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-78fd66c12ca134fb.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-3ec562a4246409e8.js"],"/admin/hardware-info":[u,i,t,d,h,k,m,"static/chunks/pages/admin/hardware-info-46d48f624d002e29.js"],"/admin/help":[t,d,r,"static/chunks/3206-f2cb6647feba06a7.js","static/chunks/pages/admin/help-05438b314b61d45b.js"],"/admin/logs":[a,s,c,e,i,o,"static/chunks/pages/admin/logs-27fd8a9785eb4444.js"],"/admin/stream-health":[u,i,t,d,h,k,"static/chunks/2934-7e53ecb633cea33f.js","static/chunks/pages/admin/stream-health-b0b8adb3104c1426.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-45eeb5cd16bd7089.js","static/chunks/pages/admin/upgrade-f2dff185555ce8b4.js"],"/admin/viewer-info":[u,a,s,c,e,i,t,n,d,h,k,m,"static/chunks/pages/admin/viewer-info-91f77ca6adbf9cd7.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-f4de58dc6d71d032.js"],"/embed/chat/readonly":[_,w,f,v,b,y,"static/css/17f627d7855ca35b.css","static/chunks/pages/embed/chat/readonly-8691c428580148c9.js"],"/embed/chat/readwrite":[_,w,s,f,v,"static/chunks/911-ab40692bfb30c49e.js",b,y,"static/css/055d67bfc0fcb262.css","static/chunks/pages/embed/chat/readwrite-085229ff1a723635.js"],"/embed/video":["static/chunks/d6e1aeb5-10235c1a69554191.js",n,f,"static/css/7c735c05af084bb2.css","static/chunks/7902-45536fa617d228c5.js",g,b,"static/chunks/2239-2c6cff0493dc29f4.js","static/css/df2265f42be36c15.css","static/chunks/pages/embed/video-79fec247758d49b8.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-9cbfaf7acb4d3371.js","static/chunks/8939-eda7d68f97fec02a.js","static/chunks/4267-1777f44d4766c201.js","static/chunks/3626-984008629d4162ee.js","static/chunks/8091-a6f276da992f1283.js","static/chunks/4381-8950542b0a2e52d1.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5315-f2b245b2b53141f8.js","static/chunks/6395-982bd92523d8632a.js","static/chunks/7466-c4f45184a343459a.js","static/chunks/4763-9e9e95131bc3a2f7.js","static/chunks/5360-e0e4b550194b07d1.js","static/chunks/7910-c08e4804be2001d2.js","static/chunks/3fff1979-8d1696e6e8bf7bc8.js","static/chunks/2139-45d397b25adef6af.js","static/chunks/250-63001d9dd7b0e717.js","static/chunks/2858-8831bf0d6fe371bc.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/7635-7a16767323b61021.js","static/chunks/3286-ce799b633708bdb2.js","static/chunks/d3048c20-459c4b438d0161cb.js","static/chunks/d2094a0f-43945b499b1f7318.js","static/chunks/2852-9d898f87c57f0684.js","static/chunks/4977-f274a74efdb43a9d.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,b,h,o,m,u,k,r,g,j,p,l,_,w,v,y){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[a,s,c,t,n,f,o,r,g,"static/chunks/8980-ed3298b2bcefdc65.js",b,"static/css/cffc98a5ffdc74a3.css","static/chunks/pages/index-621691175474ffbc.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[a,s,c,e,i,t,n,d,h,o,"static/chunks/8676-9693205d9b48d90d.js","static/chunks/pages/admin-9743bab3e8215a95.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-647bf15770f8de69.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-6130c774a7acaaaa.js"],"/admin/chat/messages":[j,a,s,c,e,i,n,p,"static/chunks/pages/admin/chat/messages-7a31c7f626fb8bec.js"],"/admin/chat/users":[j,a,s,c,e,i,t,n,p,"static/chunks/pages/admin/chat/users-39fb6345a4973ccf.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-2d8f314ed2c642bf.js"],"/admin/config-federation":["static/chunks/1829-0eb93b8278101717.js","static/chunks/pages/admin/config-federation-b722e1bc8f0608b4.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-2462c2f26ef3ddf1.js"],"/admin/config-public-details":["static/chunks/4ad82c5e-36e71da4442aa09e.js",a,s,c,e,m,"static/chunks/1140-77f02eb4c7e9a4af.js","static/chunks/pages/admin/config-public-details-4fca601eff1151f7.js"],"/admin/config-server-details":[l,"static/chunks/pages/admin/config-server-details-a148074a13faf6b7.js"],"/admin/config-social-items":[a,s,c,e,"static/chunks/pages/admin/config-social-items-ce13bfc436b5d6a9.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-36a2bd13af05ae97.js"],"/admin/config-video":[a,s,c,e,l,"static/chunks/7326-d1457038bcb2631e.js","static/chunks/pages/admin/config-video-130a2f37c23239cf.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-78fd66c12ca134fb.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-3ec562a4246409e8.js"],"/admin/hardware-info":[u,i,t,d,h,k,m,"static/chunks/pages/admin/hardware-info-46d48f624d002e29.js"],"/admin/help":[t,d,r,"static/chunks/3206-f2cb6647feba06a7.js","static/chunks/pages/admin/help-05438b314b61d45b.js"],"/admin/logs":[a,s,c,e,i,o,"static/chunks/pages/admin/logs-27fd8a9785eb4444.js"],"/admin/stream-health":[u,i,t,d,h,k,"static/chunks/2934-7e53ecb633cea33f.js","static/chunks/pages/admin/stream-health-b0b8adb3104c1426.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-45eeb5cd16bd7089.js","static/chunks/pages/admin/upgrade-f2dff185555ce8b4.js"],"/admin/viewer-info":[u,a,s,c,e,i,t,n,d,h,k,m,"static/chunks/pages/admin/viewer-info-91f77ca6adbf9cd7.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-f4de58dc6d71d032.js"],"/embed/chat/readonly":[_,w,f,v,b,y,"static/css/17f627d7855ca35b.css","static/chunks/pages/embed/chat/readonly-8691c428580148c9.js"],"/embed/chat/readwrite":[_,w,s,f,v,"static/chunks/911-ab40692bfb30c49e.js",b,y,"static/css/055d67bfc0fcb262.css","static/chunks/pages/embed/chat/readwrite-085229ff1a723635.js"],"/embed/video":["static/chunks/d6e1aeb5-10235c1a69554191.js",n,f,"static/css/7c735c05af084bb2.css","static/chunks/7902-45536fa617d228c5.js",g,b,"static/chunks/2239-2c6cff0493dc29f4.js","static/css/df2265f42be36c15.css","static/chunks/pages/embed/video-79fec247758d49b8.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-9cbfaf7acb4d3371.js","static/chunks/8939-eda7d68f97fec02a.js","static/chunks/4267-1777f44d4766c201.js","static/chunks/3626-984008629d4162ee.js","static/chunks/8091-a6f276da992f1283.js","static/chunks/4381-8950542b0a2e52d1.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5315-f2b245b2b53141f8.js","static/chunks/6395-982bd92523d8632a.js","static/chunks/7466-c4f45184a343459a.js","static/chunks/4763-9e9e95131bc3a2f7.js","static/chunks/5360-e0e4b550194b07d1.js","static/chunks/7910-c08e4804be2001d2.js","static/chunks/3fff1979-8d1696e6e8bf7bc8.js","static/chunks/2139-45d397b25adef6af.js","static/chunks/250-63001d9dd7b0e717.js","static/chunks/2858-8831bf0d6fe371bc.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/7635-7a16767323b61021.js","static/chunks/3286-ce799b633708bdb2.js","static/chunks/d3048c20-459c4b438d0161cb.js","static/chunks/d2094a0f-43945b499b1f7318.js","static/chunks/2852-9d898f87c57f0684.js","static/chunks/4977-f274a74efdb43a9d.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/Xhj8zLeO6eFxqn63Y_nlC/_ssgManifest.js b/static/web/_next/static/SQ78DH8_CU4REfQ7D2WVk/_ssgManifest.js similarity index 100% rename from static/web/_next/static/Xhj8zLeO6eFxqn63Y_nlC/_ssgManifest.js rename to static/web/_next/static/SQ78DH8_CU4REfQ7D2WVk/_ssgManifest.js diff --git a/static/web/_next/static/chunks/1140-3badda529c932b4b.js b/static/web/_next/static/chunks/1140-77f02eb4c7e9a4af.js similarity index 63% rename from static/web/_next/static/chunks/1140-3badda529c932b4b.js rename to static/web/_next/static/chunks/1140-77f02eb4c7e9a4af.js index 57740aeec..7562340d8 100644 --- a/static/web/_next/static/chunks/1140-3badda529c932b4b.js +++ b/static/web/_next/static/chunks/1140-77f02eb4c7e9a4af.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1140],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},o=n(42135),a=function(e,t){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};a.displayName="DeleteOutlined";var l=r.forwardRef(a)},88484:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},o=n(42135),a=function(e,t){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};a.displayName="UploadOutlined";var l=r.forwardRef(a)},58909:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var i=n(35524),r=n(47421),s=n(59119),o=(e=>{var{theme:t,settings:n,styles:i}=e,o={"&":{backgroundColor:n.background,color:n.foreground},".cm-gutters":{}};n.gutterBackground&&(o[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(o[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(o[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(o[".cm-content"]={caretColor:n.caret},o[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret}),n.lineHighlight&&(o[".cm-activeLine"]={backgroundColor:n.lineHighlight},o[".cm-activeLineGutter"]={backgroundColor:n.lineHighlight}),n.selection&&(o["&.cm-focused .cm-selectionBackground .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, ::selection"]={backgroundColor:n.selection}),n.selectionMatch&&(o["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var a=r.tk.theme(o,{dark:"dark"===t}),l=s.Qf.define(i);return[a,(0,s.nF)(l)]})({theme:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",lineHighlight:"#00000012"},styles:[{tag:[i.pJ.meta,i.pJ.comment],color:"#804000"},{tag:[i.pJ.keyword,i.pJ.strong],color:"#0000FF"},{tag:[i.pJ.number],color:"#FF0080"},{tag:[i.pJ.string],color:"#FF0080"},{tag:[i.pJ.variableName],color:"#006600"},{tag:[i.pJ.escape],color:"#33CC33"},{tag:[i.pJ.tagName],color:"#1C02FF"},{tag:[i.pJ.heading],color:"#0C07FF"},{tag:[i.pJ.quote],color:"#000000"},{tag:[i.pJ.list],color:"#B90690"},{tag:[i.pJ.documentMeta],color:"#888888"},{tag:[i.pJ.function(i.pJ.variableName)],color:"#0000A2"},{tag:[i.pJ.definition(i.pJ.typeName),i.pJ.typeName],color:"#6D79DE"}]})},87685:function(e,t,n){"use strict";n.d(t,{ZP:function(){return nD}});var i=n(87462),r=n(63366),s=n(67294),o=n(78120),a=n(47421),l=n(59119),c=n(41113);let h=e=>{let t=p(e.state);return t.line?u(e):!!t.block&&d(e)};function O(e,t){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=e(t,n);return!!r&&(i(n.update(r)),!0)}}let u=O(function(e,t,n=t.selection.ranges){let i=[],r=-1;for(let{from:s,to:o}of n){let a=i.length,l=1e9;for(let c=s;c<=o;){let h=t.doc.lineAt(c);if(h.from>r&&(s==o||o>h.from)){r=h.from;let O=p(t,c).line;if(!O)continue;let u=/^\s*/.exec(h.text)[0].length,f=u==h.length,d=h.text.slice(u,u+O.length)==O?u:-1;ue.comment<0&&(!e.empty||e.single))){let g=[];for(let{line:Q,token:b,indent:x,empty:k,single:y}of i)(y||!k)&&g.push({from:Q.from+x,insert:b+" "});let v=t.changes(g);return{changes:v,selection:t.selection.map(v,1)}}if(1!=e&&i.some(e=>e.comment>=0)){let $=[];for(let{line:S,comment:w,token:T}of i)if(w>=0){let P=S.from+w,R=P+T.length;" "==S.text[R-S.from]&&R++,$.push({from:P,to:R})}return{changes:$}}return null},0),f=O(m,0),d=O((e,t)=>m(e,t,function(e){let t=[];for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),r=n.to<=i.to?i:e.doc.lineAt(n.to),s=t.length-1;s>=0&&t[s].to>i.from?t[s].to=r.to:t.push({from:i.from,to:r.to})}return t}(t)),0);function p(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function m(e,t,n=t.selection.ranges){let i=n.map(e=>p(t,e.from).block);if(!i.every(e=>e))return null;let r=n.map((e,n)=>(function(e,{open:t,close:n},i,r){let s,o,a=e.sliceDoc(i-50,i),l=e.sliceDoc(r,r+50),c=/\s*$/.exec(a)[0].length,h=/^\s*/.exec(l)[0].length,O=a.length-c;if(a.slice(O-t.length,O)==t&&l.slice(h,h+n.length)==n)return{open:{pos:i-c,margin:c&&1},close:{pos:r+h,margin:h&&1}};r-i<=100?s=o=e.sliceDoc(i,r):(s=e.sliceDoc(i,i+50),o=e.sliceDoc(r-50,r));let u=/^\s*/.exec(s)[0].length,f=/\s*$/.exec(o)[0].length,d=o.length-f-n.length;return s.slice(u,u+t.length)==t&&o.slice(d,d+n.length)==n?{open:{pos:i+u+t.length,margin:/\s/.test(s.charAt(u+t.length))?1:0},close:{pos:r-f-n.length,margin:/\s/.test(o.charAt(d-1))?1:0}}:null})(t,i[n],e.from,e.to));if(2!=e&&!r.every(e=>e))return{changes:t.changes(n.map((e,t)=>r[t]?[]:[{from:e.from,insert:i[t].open+" "},{from:e.to,insert:" "+i[t].close}]))};if(1!=e&&r.some(e=>e)){let s=[];for(let o=0,a;o(0,o.BO)(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}),k=o.QQ.define({create:()=>W.empty,update(e,t){let n=t.state.facet(x),i=t.annotation(g);if(i){var r;let s;let a=t.docChanged?o.jT.single((r=t.changes,s=0,r.iterChangedRanges((e,t)=>s=t),s)):void 0,l=T.fromTransaction(t,a),c=i.side,h=0==c?e.undone:e.done;return h=l?P(h,h.length,n.minDepth,l):Z(h,t.startState.selection),new W(0==c?i.rest:h,0==c?h:i.rest)}let O=t.annotation(Q);if(("full"==O||"before"==O)&&(e=e.isolate()),!1===t.annotation(o.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let u=T.fromTransaction(t),f=t.annotation(o.YW.time),d=t.annotation(o.YW.userEvent);return u?e=e.addChanges(u,f,d,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,f,d,n.newGroupDelay)),("full"==O||"after"==O)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new W(e.done.map(T.fromJSON),e.undone.map(T.fromJSON))});function y(e,t){return function({state:n,dispatch:i}){if(!t&&n.readOnly)return!1;let r=n.field(k,!1);if(!r)return!1;let s=r.pop(e,n,t);return!!s&&(i(s),!0)}}let v=y(0,!1),$=y(1,!1),S=y(0,!0),w=y(1,!0);class T{constructor(e,t,n,i,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(e){return new T(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new T(e.changes&&o.as.fromJSON(e.changes),[],e.mapped&&o.n0.fromJSON(e.mapped),e.startSelection&&o.jT.fromJSON(e.startSelection),e.selectionsAfter.map(o.jT.fromJSON))}static fromTransaction(e,t){let n=C;for(let i of e.startState.facet(b)){let r=i(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new T(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,C)}static selection(e){return new T(void 0,C,void 0,void 0,e)}}function P(e,t,n,i){let r=e.slice(t+1>n+20?t-n-1:0,t);return r.push(i),r}function R(e,t){return e.length?t.length?e.concat(t):e:t}let C=[];function Z(e,t){if(!e.length)return[T.selection([t])];{let n=e[e.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return i.length&&i[i.length-1].eq(t)?e:(i.push(t),P(e,e.length-1,1e9,n.setSelAfter(i)))}}function X(e,t){if(!e.length)return e;let n=e.length,i=C;for(;n;){let r=function(e,t,n){let i=R(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):C,n);if(!e.changes)return T.selection(i);let r=e.changes.map(t),s=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(s):s;return new T(r,o.Py.mapEffects(e.effects,t),a,e.startSelection.map(s),i)}(e[n-1],t,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=e.slice(0,n);return s[n-1]=r,s}t=r.mapped,n--,i=r.selectionsAfter}return i.length?[T.selection(i)]:C}let j=/^(input\.type|delete)($|\.)/;class W{constructor(e,t,n=0,i){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new W(this.done,this.undone):this}addChanges(e,t,n,i,r){var s,o;let a,l,c=this.done,h=c[c.length-1];return c=h&&h.changes&&!h.changes.empty&&e.changes&&(!n||j.test(n))&&(!h.selectionsAfter.length&&t-this.prevTimea.push(e,t)),o.iterChangedRanges((e,t,n,i)=>{for(let r=0;r=s&&n<=o&&(l=!0)}}),l)||"input.type.compose"==n)?P(c,c.length-1,r,new T(e.changes.compose(h.changes),R(e.effects,h.effects),h.mapped,h.startSelection,C)):P(c,c.length,r,e),new W(c,C,t,n)}addSelection(e,t,n,i){var r;let s=this.done.length?this.done[this.done.length-1].selectionsAfter:C;return s.length>0&&t-this.prevTimet.empty!=e.ranges[n].empty).length?this:new W(Z(this.done,e),this.undone,t,n)}addMapping(e){return new W(X(this.done,e),X(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=0==e?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1];if(n&&r.selectionsAfter.length){var s;let o,a;return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:g.of({side:e,rest:(o=(s=i)[s.length-1],(a=s.slice())[s.length-1]=o.setSelAfter(o.selectionsAfter.slice(0,o.selectionsAfter.length-1)),a)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let l=1==i.length?C:i.slice(0,i.length-1);return r.mapped&&(l=X(l,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:g.of({side:e,rest:l}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}W.empty=new W(C,C);let A=[{key:"Mod-z",run:v,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:$,preventDefault:!0},{linux:"Ctrl-Shift-z",run:$,preventDefault:!0},{key:"Mod-u",run:S,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:w,preventDefault:!0}];function _(e,t){return o.jT.create(e.ranges.map(t),e.mainIndex)}function q(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function z({state:e,dispatch:t},n){let i=_(e.selection,n);return!i.eq(e.selection)&&(t(q(e,i)),!0)}function I(e,t){return o.jT.cursor(t?e.to:e.from)}function E(e,t){return z(e,n=>n.empty?e.moveByChar(n,t):I(n,t))}function G(e){return e.textDirectionAt(e.state.selection.main.head)==a.Nm.LTR}let L=e=>E(e,!G(e)),D=e=>E(e,G(e));function N(e,t){return z(e,n=>n.empty?e.moveByGroup(n,t):I(n,t))}let U=e=>N(e,!G(e)),M=e=>N(e,G(e));function J(e,t,n){let i,r,s=(0,l.qz)(e).resolveInner(t.head),a=n?c.md.closedBy:c.md.openedBy;for(let h=t.head;;){let O=n?s.childAfter(h):s.childBefore(h);if(!O)break;!function(e,t,n){if(t.type.prop(n))return!0;let i=t.to-t.from;return i&&(i>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,O,a)?h=n?O.to:O.from:s=O}return r=s.type.prop(a)&&(i=n?(0,l.Um)(e,s.from,1):(0,l.Um)(e,s.to,-1))&&i.matched?n?i.end.to:i.end.from:n?s.to:s.from,o.jT.cursor(r,n?-1:1)}let V=e=>z(e,t=>J(e.state,t,!G(e))),B=e=>z(e,t=>J(e.state,t,G(e)));function Y(e,t){return z(e,n=>{if(!n.empty)return I(n,t);let i=e.moveVertically(n,t);return i.head!=n.head?i:e.moveToLineBoundary(n,t)})}let F=e=>Y(e,!1),H=e=>Y(e,!0);function K(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function ee(e,t){let n,{state:i}=e,r=_(i.selection,n=>n.empty?e.moveVertically(n,t,K(e)):I(n,t));if(r.eq(i.selection))return!1;let s=e.coordsAtPos(i.selection.main.head),o=e.scrollDOM.getBoundingClientRect();return s&&s.top>o.top&&s.bottomee(e,!1),en=e=>ee(e,!0);function ei(e,t,n){let i=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,n);if(r.head==t.head&&r.head!=(n?i.to:i.from)&&(r=e.moveToLineBoundary(t,n,!1)),!n&&r.head==i.from&&i.length){let s=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&t.head!=i.from+s&&(r=o.jT.cursor(i.from+s))}return r}let er=e=>z(e,t=>ei(e,t,!0)),es=e=>z(e,t=>ei(e,t,!1)),eo=e=>z(e,t=>ei(e,t,!G(e))),ea=e=>z(e,t=>ei(e,t,G(e))),el=e=>z(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from,1)),ec=e=>z(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to,-1)),eh=({state:e,dispatch:t})=>{let n,i;return n=!1,i=_(e.selection,t=>{let i=(0,l.Um)(e,t.head,-1)||(0,l.Um)(e,t.head,1)||t.head>0&&(0,l.Um)(e,t.head-1,1)||t.head{let n=t(e);return o.jT.range(e.anchor,n.head,n.goalColumn)});return!n.eq(e.state.selection)&&(e.dispatch(q(e.state,n)),!0)}function eu(e,t){return eO(e,n=>e.moveByChar(n,t))}let ef=e=>eu(e,!G(e)),ed=e=>eu(e,G(e));function ep(e,t){return eO(e,n=>e.moveByGroup(n,t))}let em=e=>ep(e,!G(e)),eg=e=>ep(e,G(e)),eQ=e=>eO(e,t=>J(e.state,t,!G(e))),eb=e=>eO(e,t=>J(e.state,t,G(e)));function ex(e,t){return eO(e,n=>e.moveVertically(n,t))}let ek=e=>ex(e,!1),ey=e=>ex(e,!0);function ev(e,t){return eO(e,n=>e.moveVertically(n,t,K(e)))}let e$=e=>ev(e,!1),eS=e=>ev(e,!0),ew=e=>eO(e,t=>ei(e,t,!0)),eT=e=>eO(e,t=>ei(e,t,!1)),eP=e=>eO(e,t=>ei(e,t,!G(e))),eR=e=>eO(e,t=>ei(e,t,G(e))),eC=e=>eO(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from)),eZ=e=>eO(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to)),eX=({state:e,dispatch:t})=>(t(q(e,{anchor:0})),!0),ej=({state:e,dispatch:t})=>(t(q(e,{anchor:e.doc.length})),!0),eW=({state:e,dispatch:t})=>(t(q(e,{anchor:e.selection.main.anchor,head:0})),!0),eA=({state:e,dispatch:t})=>(t(q(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),e_=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),eq=({state:e,dispatch:t})=>{let n=eH(e).map(({from:t,to:n})=>o.jT.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:o.jT.create(n),userEvent:"select"})),!0},ez=({state:e,dispatch:t})=>{let n=_(e.selection,t=>{var n;let i=(0,l.qz)(e).resolveInner(t.head,1);for(;!(i.from=t.to||i.to>t.to&&i.from<=t.from||!(null===(n=i.parent)||void 0===n?void 0:n.parent));)i=i.parent;return o.jT.range(i.to,i.from)});return t(q(e,n)),!0},eI=({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=o.jT.create([n.main]):n.main.empty||(i=o.jT.create([o.jT.cursor(n.main.head)])),!!i&&(t(q(e,i)),!0)};function eE(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,r=i.changeByRange(i=>{let{from:r,to:s}=i;if(r==s){let a=t(r);ar&&(n="delete.forward",a=eG(e,a,!0)),r=Math.min(r,a),s=Math.max(s,a)}else r=eG(e,r,!1),s=eG(e,s,!0);return r==s?{range:i}:{changes:{from:r,to:s},range:o.jT.cursor(r)}});return!r.changes.empty&&(e.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?a.tk.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function eG(e,t,n){if(e instanceof a.tk)for(let i of e.state.facet(a.tk.atomicRanges).map(t=>t(e)))i.between(t,t,(e,i)=>{et&&(t=n?i:e)});return t}let eL=(e,t)=>eE(e,n=>{let{state:i}=e,r=i.doc.lineAt(n),s,a;if(!t&&n>r.from&&neL(e,!1),eN=e=>eL(e,!0),eU=(e,t)=>eE(e,n=>{let i=n,{state:r}=e,s=r.doc.lineAt(i),a=r.charCategorizer(i);for(let l=null;;){if(i==(t?s.to:s.from)){i==n&&s.number!=(t?r.doc.lines:1)&&(i+=t?1:-1);break}let c=(0,o.cp)(s.text,i-s.from,t)+s.from,h=s.text.slice(Math.min(i,c)-s.from,Math.max(i,c)-s.from),O=a(h);if(null!=l&&O!=l)break;(" "!=h||i!=n)&&(l=O),i=c}return i}),eM=e=>eU(e,!1),eJ=e=>eU(e,!0),eV=e=>eE(e,t=>{let n=e.lineBlockAt(t).to;return teE(e,t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}),eY=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:o.xv.of(["",""])},range:o.jT.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},eF=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),r=n==i.from?n-1:(0,o.cp)(i.text,n-i.from,!1)+i.from,s=n==i.to?n+1:(0,o.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(r,n))},range:o.jT.cursor(s)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function eH(e){let t=[],n=-1;for(let i of e.selection.ranges){let r=e.doc.lineAt(i.from),s=e.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=e.doc.lineAt(i.to-1)),n>=r.number){let o=t[t.length-1];o.to=s.to,o.ranges.push(i)}else t.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return t}function eK(e,t,n){if(e.readOnly)return!1;let i=[],r=[];for(let s of eH(e)){if(n?s.to==e.doc.length:0==s.from)continue;let a=e.doc.lineAt(n?s.to+1:s.from-1),l=a.length+1;if(n)for(let c of(i.push({from:s.to,to:a.to},{from:s.from,insert:a.text+e.lineBreak}),s.ranges))r.push(o.jT.range(Math.min(e.doc.length,c.anchor+l),Math.min(e.doc.length,c.head+l)));else for(let h of(i.push({from:a.from,to:s.from},{from:s.to,insert:e.lineBreak+a.text}),s.ranges))r.push(o.jT.range(h.anchor-l,h.head-l))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:o.jT.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}let e0=({state:e,dispatch:t})=>eK(e,t,!1),e1=({state:e,dispatch:t})=>eK(e,t,!0);function e2(e,t,n){if(e.readOnly)return!1;let i=[];for(let r of eH(e))n?i.push({from:r.from,insert:e.doc.slice(r.from,r.to)+e.lineBreak}):i.push({from:r.to,insert:e.lineBreak+e.doc.slice(r.from,r.to)});return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let e5=({state:e,dispatch:t})=>e2(e,t,!1),e9=({state:e,dispatch:t})=>e2(e,t,!0),e3=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(eH(t).map(({from:e,to:n})=>(e>0?e--:ne.moveVertically(t,!0)).map(n);return e.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0},e7=e6(!1),e4=e6(!0);function e6(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:r}=n,s=t.doc.lineAt(i),a=!e&&i==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,l.qz)(e).resolveInner(t),i=n.childBefore(t),r=n.childAfter(t),s;return i&&r&&i.to<=t&&r.from>=t&&(s=i.type.prop(c.md.closedBy))&&s.indexOf(r.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}(t,i);e&&(i=r=(r<=s.to?s:t.doc.lineAt(r)).to);let h=new l.Gn(t,{simulateBreak:i,simulateDoubleBreak:!!a}),O=(0,l.K0)(h,i);for(null==O&&(O=/^\s*/.exec(t.doc.lineAt(i).text)[0].length);rs.from&&i{let r=[];for(let s=i.from;s<=i.to;){let a=e.doc.lineAt(s);a.number>n&&(i.empty||i.to>a.from)&&(t(a,r,i),n=a.number),s=a.to+1}let l=e.changes(r);return{changes:r,range:o.jT.range(l.mapPos(i.anchor,1),l.mapPos(i.head,1))}})}let te=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),i=new l.Gn(e,{overrideIndentation(e){let t=n[e];return null==t?-1:t}}),r=e8(e,(t,r,s)=>{let o=(0,l.K0)(i,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let a=/^\s*/.exec(t.text)[0],c=(0,l.SS)(e,o);(a!=c||s.from!e.readOnly&&(t(e.update(e8(e,(t,n)=>{n.push({from:t.from,insert:e.facet(l.c)})}),{userEvent:"input.indent"})),!0),tn=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(e8(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let r=(0,o.IS)(i,e.tabSize),s=0,a=(0,l.SS)(e,Math.max(0,r-(0,l.y1)(e)));for(;s({mac:e.key,run:e.run,shift:e.shift}))),tr=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:V,shift:eQ},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:B,shift:eb},{key:"Alt-ArrowUp",run:e0},{key:"Shift-Alt-ArrowUp",run:e5},{key:"Alt-ArrowDown",run:e1},{key:"Shift-Alt-ArrowDown",run:e9},{key:"Escape",run:eI},{key:"Mod-Enter",run:e4},{key:"Alt-l",mac:"Ctrl-l",run:eq},{key:"Mod-i",run:ez,preventDefault:!0},{key:"Mod-[",run:tn},{key:"Mod-]",run:tt},{key:"Mod-Alt-\\",run:te},{key:"Shift-Mod-k",run:e3},{key:"Shift-Mod-\\",run:eh},{key:"Mod-/",run:h},{key:"Alt-A",run:f}].concat(ti),ts={key:"Tab",run:tt,shift:tn};function to(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;te.normalize("NFKD"):e=>e;class tl{constructor(e,t,n=0,i=e.length,r,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=r?e=>r(ta(e)):ta,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,o.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,o.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,o.nZ)(e);let i=this.normalize(t);for(let r=0,s=n;;r++){let a=i.charCodeAt(r),l=this.match(a,s);if(l)return this.value=l,this;if(r==i.length-1)break;s==n&&rthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=tp(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||i.to<=t){let r=new tf(t,e.sliceString(t,n));return tu.set(e,r),r}if(i.from==t&&i.to==n)return i;let{text:s,from:o}=i;return o>t&&(s=e.sliceString(t,o)+s,o=t),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,i=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this.matchPos=tp(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=tf.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function tp(e,t){if(t>=e.length)return t;let n=e.lineAt(t),i;for(;t=56320&&i<57344;)t++;return t}function tm(e){let t=to("input",{class:"cm-textfield",name:"line"}),n=to("form",{class:"cm-gotoLine",onkeydown(t){27==t.keyCode?(t.preventDefault(),e.dispatch({effects:tg.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),i())},onsubmit(e){e.preventDefault(),i()}},to("label",e.state.phrase("Go to line"),": ",t)," ",to("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function i(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:i}=e,r=i.doc.lineAt(i.selection.main.head),[,s,a,l,c]=n,h=l?+l.slice(1):0,O=a?+a:r.number;if(a&&c){let u=O/100;s&&(u=u*("-"==s?-1:1)+r.number/i.doc.lines),O=Math.round(i.doc.lines*u)}else a&&s&&(O=O*("-"==s?-1:1)+r.number);let f=i.doc.line(Math.max(1,Math.min(i.doc.lines,O)));e.dispatch({effects:tg.of(!1),selection:o.jT.cursor(f.from+Math.max(0,Math.min(h,f.length))),scrollIntoView:!0}),e.focus()}return{dom:n}}"undefined"!=typeof Symbol&&(tO.prototype[Symbol.iterator]=td.prototype[Symbol.iterator]=function(){return this});let tg=o.Py.define(),tQ=o.QQ.define({create:()=>!0,update(e,t){for(let n of t.effects)n.is(tg)&&(e=n.value);return e},provide:e=>a.mH.from(e,e=>e?tm:null)}),tb=e=>{let t=(0,a.Sd)(e,tm);if(!t){let n=[tg.of(!0)];null==e.state.field(tQ,!1)&&n.push(o.Py.appendConfig.of([tQ,tx])),e.dispatch({effects:n}),t=(0,a.Sd)(e,tm)}return t&&t.dom.querySelector("input").focus(),!0},tx=a.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),tk={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},ty=o.r$.define({combine:e=>(0,o.BO)(e,tk,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),tv=a.p.mark({class:"cm-selectionMatch"}),t$=a.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function tS(e,t,n,i){return(0==n||e(t.sliceDoc(n-1,n))!=o.D0.Word)&&(i==t.doc.length||e(t.sliceDoc(i,i+1))!=o.D0.Word)}let tw=a.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(ty),{state:n}=e,i=n.selection;if(i.ranges.length>1)return a.p.none;let r=i.main,s,l=null;if(r.empty){if(!t.highlightWordAroundCursor)return a.p.none;let c=n.wordAt(r.head);if(!c)return a.p.none;l=n.charCategorizer(r.head),s=n.sliceDoc(c.from,c.to)}else{let h=r.to-r.from;if(h200)return a.p.none;if(t.wholeWords){var O,u,f;if(s=n.sliceDoc(r.from,r.to),!(tS(l=n.charCategorizer(r.head),n,r.from,r.to)&&(O=l,u=r.from,f=r.to,O(n.sliceDoc(u,u+1))==o.D0.Word&&O(n.sliceDoc(f-1,f))==o.D0.Word)))return a.p.none}else if(!(s=n.sliceDoc(r.from,r.to).trim()))return a.p.none}let d=[];for(let p of e.visibleRanges){let m=new tl(n.doc,s,p.from,p.to);for(;!m.next().done;){let{from:g,to:Q}=m.value;if((!l||tS(l,n,g,Q))&&(r.empty&&g<=r.from&&Q>=r.to?d.push(t$.range(g,Q)):(g>=r.to||Q<=r.from)&&d.push(tv.range(g,Q)),d.length>t.maxMatches))return a.p.none}}return a.p.set(d)}},{decorations:e=>e.decorations}),tT=a.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),tP=({state:e,dispatch:t})=>{let{selection:n}=e,i=o.jT.create(n.ranges.map(t=>e.wordAt(t.head)||o.jT.cursor(t.head)),n.mainIndex);return!i.eq(n)&&(t(e.update({selection:i})),!0)},tR=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return tP({state:e,dispatch:t});let i=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=i))return!1;let r=function(e,t){let{main:n,ranges:i}=e.selection,r=e.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,a=new tl(e.doc,t,i[i.length-1].to);;)if(a.next(),a.done){if(o)return null;a=new tl(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(e=>e.from==a.value.from))continue;if(s){let l=e.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}(e,i);return!!r&&(t(e.update({selection:e.selection.addRange(o.jT.range(r.from,r.to),!1),effects:a.tk.scrollIntoView(r.to)})),!0)},tC=o.r$.define({combine:e=>(0,o.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new t9(e)})});class tZ{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return RegExp(e,th),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new tz(this):new tW(this)}getCursor(e,t=0,n){let i=e.doc?e:o.yy.create({doc:e});return null==n&&(n=i.doc.length),this.regexp?tA(this,i,t,n):tj(this,i,t,n)}}class tX{constructor(e){this.spec=e}}function tj(e,t,n,i){var r,s;return new tl(t.doc,e.unquoted,n,i,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(r=t.doc,s=t.charCategorizer(t.selection.main.head),(e,t,n,i)=>((i>e||i+n.length=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tj(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}function tA(e,t,n,i){var r;return new tO(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(r=t.charCategorizer(t.selection.main.head),(e,t,n)=>!n[0].length||(r(t_(n.input,n.index))!=o.D0.Word||r(tq(n.input,n.index))!=o.D0.Word)&&(r(tq(n.input,n.index+n[0].length))!=o.D0.Word||r(t_(n.input,n.index+n[0].length))!=o.D0.Word)):void 0},n,i)}function t_(e,t){return e.slice((0,o.cp)(e,t,!1),t)}function tq(e,t){return e.slice(t,(0,o.cp)(e,t))}class tz extends tX{nextMatch(e,t,n){let i=tA(this.spec,e,n,e.doc.length).next();return i.done&&(i=tA(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let r=Math.max(t,n-1e4*i),s=tA(this.spec,e,r,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(r==t||o.from>r+10))return o;if(r==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tA(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}let tI=o.Py.define(),tE=o.Py.define(),tG=o.QQ.define({create:e=>new tL(t0(e).create(),null),update(e,t){for(let n of t.effects)n.is(tI)?e=new tL(n.value.create(),e.panel):n.is(tE)&&(e=new tL(e.query,n.value?tK:null));return e},provide:e=>a.mH.from(e,e=>e.panel)});class tL{constructor(e,t){this.query=e,this.panel=t}}let tD=a.p.mark({class:"cm-searchMatch"}),tN=a.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tU=a.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(tG))}update(e){let t=e.state.field(tG);(t!=e.startState.field(tG)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return a.p.none;let{view:n}=this,i=new o.f_;for(let r=0,s=n.visibleRanges,l=s.length;rs[r+1].from-500;)h=s[++r].to;e.highlight(n.state,c,h,(e,t)=>{let r=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);i.add(e,t,r?tN:tD)})}return i.finish()}},{decorations:e=>e.decorations});function tM(e){return t=>{let n=t.state.field(tG,!1);return n&&n.query.spec.valid?e(t,n):t1(t)}}let tJ=tM((e,{query:t})=>{let{to:n}=e.state.selection.main,i=t.nextMatch(e.state,n,n);return!!i&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:t4(e,i),userEvent:"select.search"}),!0)}),tV=tM((e,{query:t})=>{let{state:n}=e,{from:i}=n.selection.main,r=t.prevMatch(n,i,i);return!!r&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:t4(e,r),userEvent:"select.search"}),!0)}),tB=tM((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:o.jT.create(n.map(e=>o.jT.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),tY=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],a=0;for(let l=new tl(e.doc,e.sliceDoc(i,r));!l.next().done;){if(s.length>1e3)return!1;l.value.from==i&&(a=s.length),s.push(o.jT.range(l.value.from,l.value.to))}return t(e.update({selection:o.jT.create(s,a),userEvent:"select.search.matches"})),!0},tF=tM((e,{query:t})=>{let{state:n}=e,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,i,i);if(!s)return!1;let o=[],l,c,h=[];if(s.from==i&&s.to==r&&(c=n.toText(t.getReplacement(s)),o.push({from:s.from,to:s.to,insert:c}),s=t.nextMatch(n,s.from,s.to),h.push(a.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let O=0==o.length||o[0].from>=s.to?0:s.to-s.from-c.length;l={anchor:s.from-O,head:s.to-O},h.push(t4(e,s))}return e.dispatch({changes:o,selection:l,scrollIntoView:!!l,effects:h,userEvent:"input.replace"}),!0}),tH=tM((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:i}=e;return{from:n,to:i,insert:t.getReplacement(e)}});if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:a.tk.announce.of(i),userEvent:"input.replace.all"}),!0});function tK(e){return e.state.facet(tC).createPanel(e)}function t0(e,t){var n,i,r,s;let o=e.selection.main,a=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!a)return t;let l=e.facet(tC);return new tZ({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:l.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null==t?void 0:t.caseSensitive)&&void 0!==i?i:l.caseSensitive,literal:null!==(r=null==t?void 0:t.literal)&&void 0!==r?r:l.literal,wholeWord:null!==(s=null==t?void 0:t.wholeWord)&&void 0!==s?s:l.wholeWord})}let t1=e=>{let t=e.state.field(tG,!1);if(t&&t.panel){let n=(0,a.Sd)(e,tK);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=e.root.activeElement){let r=t0(e.state,t.query.spec);r.valid&&e.dispatch({effects:tI.of(r)}),i.focus(),i.select()}}else e.dispatch({effects:[tE.of(!0),t?tI.of(t0(e.state,t.query.spec)):o.Py.appendConfig.of(t8)]});return!0},t2=e=>{let t=e.state.field(tG,!1);if(!t||!t.panel)return!1;let n=(0,a.Sd)(e,tK);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:tE.of(!1)}),!0},t5=[{key:"Mod-f",run:t1,scope:"editor search-panel"},{key:"F3",run:tJ,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:tJ,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:t2,scope:"editor search-panel"},{key:"Mod-Shift-l",run:tY},{key:"Alt-g",run:tb},{key:"Mod-d",run:tR,preventDefault:!0}];class t9{constructor(e){this.view=e;let t=this.query=e.state.field(tG).query.spec;function n(e,t,n){return to("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=to("input",{value:t.search,placeholder:t3(e,"Find"),"aria-label":t3(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=to("input",{value:t.replace,placeholder:t3(e,"Replace"),"aria-label":t3(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=to("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=to("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=to("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=to("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>tJ(e),[t3(e,"next")]),n("prev",()=>tV(e),[t3(e,"previous")]),n("select",()=>tB(e),[t3(e,"all")]),to("label",null,[this.caseField,t3(e,"match case")]),to("label",null,[this.reField,t3(e,"regexp")]),to("label",null,[this.wordField,t3(e,"by word")]),...e.state.readOnly?[]:[to("br"),this.replaceField,n("replace",()=>tF(e),[t3(e,"replace")]),n("replaceAll",()=>tH(e),[t3(e,"replace all")]),to("button",{name:"close",onclick:()=>t2(e),"aria-label":t3(e,"close"),type:"button"},["\xd7"])]])}commit(){let e=new tZ({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:tI.of(e)}))}keydown(e){(0,a.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?tV:tJ)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),tF(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(tI)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(tC).top}}function t3(e,t){return e.state.phrase(t)}let t7=/[\s\.,:;?!]/;function t4(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),r=e.state.doc.lineAt(n).to,s=Math.max(i.from,t-30),o=Math.min(r,n+30),l=e.state.sliceDoc(s,o);if(s!=i.from){for(let c=0;c<30;c++)if(!t7.test(l[c+1])&&t7.test(l[c])){l=l.slice(c);break}}if(o!=r){for(let h=l.length-1;h>l.length-30;h--)if(!t7.test(l[h-1])&&t7.test(l[h])){l=l.slice(0,h);break}}return a.tk.announce.of(`${e.state.phrase("current match")}. ${l} ${e.state.phrase("on line")} ${i.number}.`)}let t6=a.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),t8=[tG,o.Wl.lowest(tU),t6];var ne=n(34790);class nt{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class nn{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,r=n.facet(ng).markerFilter;r&&(i=r(i));let s=a.p.set(i.map(e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from?a.p.widget({widget:new nx(e),diagnostic:e}).range(e.from):a.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to)),!0);return new nn(s,t,ni(s))}}function ni(e,t=null,n=0){let i=null;return e.between(n,1e9,(e,n,{spec:r})=>{if(!t||r.diagnostic==t)return i=new nt(e,n,r.diagnostic),!1}),i}function nr(e,t){return!!(e.effects.some(e=>e.is(no))||e.changes.touchesRange(t.pos))}function ns(e,t){return e.field(nc,!1)?t:t.concat(o.Py.appendConfig.of([nc,a.tk.decorations.compute([nc],e=>{let{selected:t,panel:n}=e.field(nc);return t&&n&&t.from!=t.to?a.p.set([nh.range(t.from,t.to)]):a.p.none}),(0,a.bF)(nO,{hideOn:nr}),n$]))}let no=o.Py.define(),na=o.Py.define(),nl=o.Py.define(),nc=o.QQ.define({create:()=>new nn(a.p.none,null,null),update(e,t){if(t.docChanged){let n=e.diagnostics.map(t.changes),i=null;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);i=ni(n,e.selected.diagnostic,r)||ni(n,null,r)}e=new nn(n,e.panel,i)}for(let s of t.effects)s.is(no)?e=nn.init(s.value,e.panel,t.state):s.is(na)?e=new nn(e.diagnostics,s.value?ny.open:null,e.selected):s.is(nl)&&(e=new nn(e.diagnostics,e.panel,s.value));return e},provide:e=>[a.mH.from(e,e=>e.panel),a.tk.decorations.from(e,e=>e.diagnostics)]}),nh=a.p.mark({class:"cm-lintRange cm-lintRange-active"});function nO(e,t,n){let{diagnostics:i}=e.state.field(nc),r=[],s=2e8,o=0;i.between(t-(n<0?1:0),t+(n>0?1:0),(e,i,{spec:a})=>{t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t({dom:function(e,t){return to("ul",{class:"cm-tooltip-lint"},t.map(t=>nb(e,t,!1)))}(e,r)})}:null}let nu=e=>{let t=e.state.field(nc,!1);t&&t.panel||e.dispatch({effects:ns(e.state,[na.of(!0)])});let n=(0,a.Sd)(e,ny.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},nf=e=>{let t=e.state.field(nc,!1);return!!t&&!!t.panel&&(e.dispatch({effects:na.of(!1)}),!0)},nd=e=>{let t=e.state.field(nc,!1);if(!t)return!1;let n=e.state.selection.main,i=t.diagnostics.iter(n.to+1);return(!!i.value||!!(i=t.diagnostics.iter(0)).value&&(i.from!=n.from||i.to!=n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},np=[{key:"Mod-Shift-m",run:nu},{key:"F8",run:nd}],nm=a.lg.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(ng);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){let e=Date.now();if(ePromise.resolve(e(this.view)))).then(e=>{let n=e.reduce((e,t)=>e.concat(t));this.view.state.doc==t.doc&&this.view.dispatch({effects:ns(this.view.state,[no.of(n)])})},e=>{(0,a.OO)(this.view.state,e)})}}update(e){let t=e.state.facet(ng);(e.docChanged||t!=e.startState.facet(ng))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),ng=o.r$.define({combine:e=>Object.assign({sources:e.map(e=>e.source)},(0,o.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null})),enables:nm});function nQ(e){let t=[];if(e)e:for(let{name:n}of e){for(let i=0;ie.toLowerCase()==r.toLowerCase())){t.push(r);continue e}}t.push("")}return t}function nb(e,t,n){var i;let r=n?nQ(t.actions):[];return to("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},to("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(i=t.actions)||void 0===i?void 0:i.map((n,i)=>{let s=i=>{i.preventDefault();let r=ni(e.state.field(nc).diagnostics,t);r&&n.apply(e,r.from,r.to)},{name:o}=n,a=r[i]?o.indexOf(r[i]):-1,l=a<0?o:[o.slice(0,a),to("u",o.slice(a,a+1)),o.slice(a+1)];return to("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${o}${a<0?"":` (access key "${r[i]})"`}.`},l)}),t.source&&to("div",{class:"cm-diagnosticSource"},t.source))}class nx extends a.l9{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return to("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class nk{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=nb(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class ny{constructor(e){this.view=e,this.items=[];let t=t=>{if(27==t.keyCode)nf(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],i=nQ(n.actions);for(let r=0;r{for(let t=0;tnf(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(nc).selected;if(!e)return -1;for(let t=0;t{let a=-1,l;for(let c=n;cn&&(this.items.splice(n,a-n),i=!0)),t&&l.diagnostic==t.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),r=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),n++});n({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{e.topt.bottom&&(this.list.scrollTop+=e.bottom-t.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ni(this.view.state.field(nc).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:nl.of(t)})}static open(e){return new ny(e)}}function nv(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}(``,'width="6" height="3"')}let n$=a.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nv("#d11")},".cm-lintRange-warning":{backgroundImage:nv("orange")},".cm-lintRange-info":{backgroundImage:nv("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});a.SJ;let nS=o.Py.define();var nw=function(e){void 0===e&&(e={});var t,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(ne.GA)),!1!==e.defaultKeymap&&(n=n.concat(tr)),!1!==e.searchKeymap&&(n=n.concat(t5)),!1!==e.historyKeymap&&(n=n.concat(A)),!1!==e.foldKeymap&&(n=n.concat(l.e7)),!1!==e.completionKeymap&&(n=n.concat(ne.B1)),!1!==e.lintKeymap&&(n=n.concat(np));var i=[];if(!1!==e.lineNumbers&&i.push((0,a.Eu)()),!1!==e.highlightActiveLineGutter&&i.push((0,a.HQ)()),!1!==e.highlightSpecialChars&&i.push((0,a.AE)()),!1!==e.history&&i.push(function(e={}){return[k,x.of(e),a.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?v:"historyRedo"==e.inputType?$:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&i.push((0,l.mi)()),!1!==e.drawSelection&&i.push((0,a.Uw)()),!1!==e.dropCursor&&i.push((0,a.qr)()),!1!==e.allowMultipleSelections&&i.push(o.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&i.push((0,l.nY)()),!1!==e.syntaxHighlighting&&i.push((0,l.nF)(l.R_,{fallback:!0})),!1!==e.bracketMatching&&i.push((0,l.n$)()),!1!==e.closeBrackets&&i.push((0,ne.vQ)()),!1!==e.autocompletion&&i.push((0,ne.ys)()),!1!==e.rectangularSelection&&i.push((0,a.Zs)()),!1!==e.crosshairCursor&&i.push((0,a.S2)()),!1!==e.highlightActiveLine&&i.push((0,a.ZO)()),!1!==e.highlightSelectionMatches){let r;i.push((r=[tT,tw],t&&r.push(ty.of(t)),r))}return i.concat([a.$f.of(n.flat())]).filter(Boolean)},nT=n(35524);let nP="#e06c75",nR="#abb2bf",nC="#7d8799",nZ="#d19a66",nX="#2c313a",nj="#282c34",nW="#353a42",nA="#528bff",n_=a.tk.theme({"&":{color:nR,backgroundColor:nj},".cm-content":{caretColor:nA},".cm-cursor, .cm-dropCursor":{borderLeftColor:nA},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:nR},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{backgroundColor:nj,color:nC,border:"none"},".cm-activeLineGutter":{backgroundColor:nX},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:nW},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:nW,borderBottomColor:nW},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:nX,color:nR}}},{dark:!0}),nq=l.Qf.define([{tag:nT.pJ.keyword,color:"#c678dd"},{tag:[nT.pJ.name,nT.pJ.deleted,nT.pJ.character,nT.pJ.propertyName,nT.pJ.macroName],color:nP},{tag:[nT.pJ.function(nT.pJ.variableName),nT.pJ.labelName],color:"#61afef"},{tag:[nT.pJ.color,nT.pJ.constant(nT.pJ.name),nT.pJ.standard(nT.pJ.name)],color:nZ},{tag:[nT.pJ.definition(nT.pJ.name),nT.pJ.separator],color:nR},{tag:[nT.pJ.typeName,nT.pJ.className,nT.pJ.number,nT.pJ.changed,nT.pJ.annotation,nT.pJ.modifier,nT.pJ.self,nT.pJ.namespace],color:"#e5c07b"},{tag:[nT.pJ.operator,nT.pJ.operatorKeyword,nT.pJ.url,nT.pJ.escape,nT.pJ.regexp,nT.pJ.link,nT.pJ.special(nT.pJ.string)],color:"#56b6c2"},{tag:[nT.pJ.meta,nT.pJ.comment],color:nC},{tag:nT.pJ.strong,fontWeight:"bold"},{tag:nT.pJ.emphasis,fontStyle:"italic"},{tag:nT.pJ.strikethrough,textDecoration:"line-through"},{tag:nT.pJ.link,color:nC,textDecoration:"underline"},{tag:nT.pJ.heading,fontWeight:"bold",color:nP},{tag:[nT.pJ.atom,nT.pJ.bool,nT.pJ.special(nT.pJ.variableName)],color:nZ},{tag:[nT.pJ.processingInstruction,nT.pJ.string,nT.pJ.inserted],color:"#98c379"},{tag:nT.pJ.invalid,color:"#ffffff"}]),nz=[n_,(0,l.nF)(nq)];var nI=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}),nE=n(85893),nG=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],nL=(0,s.forwardRef)((e,t)=>{var{className:n,value:l="",selection:c,extensions:h=[],onChange:O,onStatistics:u,onCreateEditor:f,onUpdate:d,autoFocus:p,theme:m="light",height:g,minHeight:Q,maxHeight:b,width:x,minWidth:k,maxWidth:y,basicSetup:v,placeholder:$,indentWithTab:S,editable:w,readOnly:T,root:P,initialState:R}=e,C=(0,r.Z)(e,nG),Z=(0,s.useRef)(null),{state:X,view:j,container:W,setContainer:A}=function(e){var{value:t,selection:n,onChange:i,onStatistics:r,onCreateEditor:l,onUpdate:c,extensions:h=[],autoFocus:O,theme:u="light",height:f="",minHeight:d="",maxHeight:p="",placeholder:m="",width:g="",minWidth:Q="",maxWidth:b="",editable:x=!0,readOnly:k=!1,indentWithTab:y=!0,basicSetup:v=!0,root:$,initialState:S}=e,[w,T]=(0,s.useState)(),[P,R]=(0,s.useState)(),[C,Z]=(0,s.useState)(),X=a.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),j=a.tk.theme({"&":{height:f,minHeight:d,maxHeight:p,width:g,minWidth:Q,maxWidth:b}}),W=[a.tk.updateListener.of(e=>{e.docChanged&&"function"==typeof i&&i(e.state.doc.toString(),e),r&&r(nI(e))}),j];switch(y&&W.unshift(a.$f.of([ts])),v&&("boolean"==typeof v?W.unshift(nw()):W.unshift(nw(v))),m&&W.unshift((0,a.W$)(m)),u){case"light":W.push(X);break;case"dark":W.push(nz);break;default:W.push(u)}return!1===x&&W.push(a.tk.editable.of(!1)),k&&W.push(o.yy.readOnly.of(!0)),c&&"function"==typeof c&&W.push(a.tk.updateListener.of(c)),W=W.concat(h),(0,s.useEffect)(()=>{if(w&&!C){var e={doc:t,selection:n,extensions:W},i=S?o.yy.fromJSON(S.json,e,S.fields):o.yy.create(e);if(Z(i),!P){var r=new a.tk({state:i,parent:w,root:$});R(r),l&&l(r,i)}}return()=>{P&&(Z(void 0),R(void 0))}},[w,C]),(0,s.useEffect)(()=>T(e.container),[e.container]),(0,s.useEffect)(()=>()=>{P&&(P.destroy(),R(void 0))},[P]),(0,s.useEffect)(()=>{O&&P&&P.focus()},[O,P]),(0,s.useEffect)(()=>{P&&P.dispatch({effects:o.Py.reconfigure.of(W)})},[u,h,f,d,p,g,Q,b,m,x,k,y,v,i,c]),(0,s.useEffect)(()=>{var e=P?P.state.doc.toString():"";P&&t!==e&&P.dispatch({changes:{from:0,to:e.length,insert:t||""}})},[t,P]),{state:C,setState:Z,view:P,setView:R,container:w,setContainer:T}}({container:Z.current,root:P,value:l,autoFocus:p,theme:m,height:g,minHeight:Q,maxHeight:b,width:x,minWidth:k,maxWidth:y,basicSetup:v,placeholder:$,indentWithTab:S,editable:w,readOnly:T,selection:c,onChange:O,onStatistics:u,onCreateEditor:f,onUpdate:d,extensions:h,initialState:R});if((0,s.useImperativeHandle)(t,()=>({editor:Z.current,state:X,view:j}),[Z,W,X,j]),"string"!=typeof l)throw Error("value must be typeof string but got "+typeof l);return(0,nE.jsx)("div",(0,i.Z)({ref:Z,className:("string"==typeof m?"cm-theme-"+m:"cm-theme")+(n?" "+n:"")},C))});nL.displayName="CodeMirror";var nD=nL},94594:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var i=n(87462),r=n(4942),s=n(50888),o=n(94184),a=n.n(o),l=n(97685),c=n(45987),h=n(67294),O=n(21770),u=n(15105),f=h.forwardRef(function(e,t){var n,i=e.prefixCls,s=void 0===i?"rc-switch":i,o=e.className,f=e.checked,d=e.defaultChecked,p=e.disabled,m=e.loadingIcon,g=e.checkedChildren,Q=e.unCheckedChildren,b=e.onClick,x=e.onChange,k=e.onKeyDown,y=(0,c.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),v=(0,O.Z)(!1,{value:f,defaultValue:d}),$=(0,l.Z)(v,2),S=$[0],w=$[1];function T(e,t){var n=S;return p||(w(n=e),null==x||x(n,t)),n}var P=a()(s,o,(n={},(0,r.Z)(n,"".concat(s,"-checked"),S),(0,r.Z)(n,"".concat(s,"-disabled"),p),n));return h.createElement("button",Object.assign({},y,{type:"button",role:"switch","aria-checked":S,disabled:p,className:P,ref:t,onKeyDown:function(e){e.which===u.Z.LEFT?T(!1,e):e.which===u.Z.RIGHT&&T(!0,e),null==k||k(e)},onClick:function(e){var t=T(!S,e);null==b||b(t,e)}}),m,h.createElement("span",{className:"".concat(s,"-inner")},S?g:Q))});f.displayName="Switch";var d=n(53124),p=n(98866),m=n(97647),g=n(68349),Q=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},b=h.forwardRef(function(e,t){var n,o=e.prefixCls,l=e.size,c=e.disabled,O=e.loading,u=e.className,b=Q(e,["prefixCls","size","disabled","loading","className"]),x=h.useContext(d.E_),k=x.getPrefixCls,y=x.direction,v=h.useContext(m.Z),$=h.useContext(p.Z),S=k("switch",o),w=h.createElement("div",{className:"".concat(S,"-handle")},O&&h.createElement(s.Z,{className:"".concat(S,"-loading-icon")})),T=a()((n={},(0,r.Z)(n,"".concat(S,"-small"),"small"===(l||v)),(0,r.Z)(n,"".concat(S,"-loading"),O),(0,r.Z)(n,"".concat(S,"-rtl"),"rtl"===y),n),void 0===u?"":u);return h.createElement(g.Z,{insertExtraNode:!0},h.createElement(f,(0,i.Z)({},b,{prefixCls:S,className:T,disabled:(null!=c?c:$)||O,ref:t,loadingIcon:w})))});b.__ANT_SWITCH=!0;var x=b},20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var i=n(4942),r=n(87462),s=n(97685),o=n(97937),a=n(94184),l=n.n(a),c=n(98423),h=n(67294),O=n(53124),u=n(98787),f=n(68349),d=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},p=function(e){var t,n=e.prefixCls,s=e.className,o=e.checked,a=e.onChange,c=e.onClick,u=d(e,["prefixCls","className","checked","onChange","onClick"]),f=h.useContext(O.E_).getPrefixCls,p=function(e){null==a||a(!o),null==c||c(e)},m=f("tag",n),g=l()(m,(t={},(0,i.Z)(t,"".concat(m,"-checkable"),!0),(0,i.Z)(t,"".concat(m,"-checkable-checked"),o),t),s);return h.createElement("span",(0,r.Z)({},u,{className:g,onClick:p}))},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},g=RegExp("^(".concat(u.Y.join("|"),")(-inverse)?$")),Q=RegExp("^(".concat(u.E.join("|"),")$")),b=function(e,t){var n,a=e.prefixCls,u=e.className,d=e.style,p=e.children,b=e.icon,x=e.color,k=e.onClose,y=e.closeIcon,v=e.closable,$=m(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),S=h.useContext(O.E_),w=S.getPrefixCls,T=S.direction,P=h.useState(!0),R=(0,s.Z)(P,2),C=R[0],Z=R[1];h.useEffect(function(){"visible"in $&&Z($.visible)},[$.visible]);var X=function(){return!!x&&(g.test(x)||Q.test(x))},j=(0,r.Z)({backgroundColor:x&&!X()?x:void 0},d),W=X(),A=w("tag",a),_=l()(A,(n={},(0,i.Z)(n,"".concat(A,"-").concat(x),W),(0,i.Z)(n,"".concat(A,"-has-color"),x&&!W),(0,i.Z)(n,"".concat(A,"-hidden"),!C),(0,i.Z)(n,"".concat(A,"-rtl"),"rtl"===T),n),u),q=function(e){e.stopPropagation(),null==k||k(e),!e.defaultPrevented&&("visible"in $||Z(!1))},z="onClick"in $||p&&"a"===p.type,I=(0,c.Z)($,["visible"]),E=b||null,G=E?h.createElement(h.Fragment,null,E,h.createElement("span",null,p)):p,L=h.createElement("span",(0,r.Z)({},I,{ref:t,className:_,style:j}),G,void 0!==v&&v?y?h.createElement("span",{className:"".concat(A,"-close-icon"),onClick:q},y):h.createElement(o.Z,{className:"".concat(A,"-close-icon"),onClick:q}):null);return z?h.createElement(f.Z,null,L):L},x=h.forwardRef(b);x.CheckableTag=p;var k=x},77916:function(e,t,n){"use strict";n.d(t,{Z:function(){return e$}});var i=n(87462),r=n(67294),s=n(4942),o=n(74165),a=n(71002),l=n(74902),c=n(97685),h=n(94184),O=n.n(h),u=n(15671),f=n(43144),d=n(60136),p=n(33643),m=n(45987),g=n(15861),Q=n(64217);function b(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function x(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var i=e.data[t];if(Array.isArray(i)){i.forEach(function(e){n.append("".concat(t,"[]"),e)});return}n.append(t,i)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var n;return e.onError(((n=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,n.method=e.method,n.url=e.action,n),b(t))}return e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var i=e.headers||{};return null!==i["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(i).forEach(function(e){null!==i[e]&&t.setRequestHeader(e,i[e])}),t.send(n),{abort:function(){t.abort()}}}var k=+new Date,y=0;function v(){return"rc-upload-".concat(k,"-").concat(++y)}var $=n(80334),S=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=e.type||"",s=r.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=i.toLowerCase(),o=t.toLowerCase(),a=[o];return(".jpg"===o||".jpeg"===o)&&(a=[".jpg",".jpeg"]),a.some(function(e){return n.endsWith(e)})}return/\/\*$/.test(t)?s===t.replace(/\/.*$/,""):r===t||!!/^\w+$/.test(t)&&((0,$.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0},w=function(e,t,n){var i=function e(i,r){if(i.path=r||"",i.isFile)i.file(function(e){n(e)&&(i.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))});else if(i.isDirectory){var s,o,a;s=function(t){t.forEach(function(t){e(t,"".concat(r).concat(i.name,"/"))})},o=i.createReader(),a=[],function e(){o.readEntries(function(t){var n=Array.prototype.slice.apply(t);a=a.concat(n),n.length?e():s(a)})}()}};e.forEach(function(e){i(e.webkitGetAsEntry())})},T=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],P=function(e){(0,d.Z)(n,e);var t=(0,p.Z)(n);function n(){(0,u.Z)(this,n);for(var e,i,r=arguments.length,s=Array(r),c=0;c0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},er=function(e){return 0===e.indexOf("image/")},es=function(e){if(e.type&&!e.thumbUrl)return er(e.type);var t=e.thumbUrl||e.url||"",n=ei(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n};function eo(e){return new Promise(function(t){if(!e.type||!er(e.type)){t("");return}var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var i=n.getContext("2d"),r=new Image;if(r.onload=function(){var e=r.width,s=r.height,o=200,a=200,l=0,c=0;e>s?c=-((a=s*(200/e))-o)/2:l=-((o=e*(200/s))-a)/2,i.drawImage(r,l,c,o,a);var h=n.toDataURL();document.body.removeChild(n),t(h)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var s=new FileReader;s.addEventListener("load",function(){s.result&&(r.src=s.result)}),s.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)})}var ea=n(48689),el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ec=function(e,t){return r.createElement(I.Z,(0,q.Z)((0,q.Z)({},e),{},{ref:t,icon:el}))};ec.displayName="DownloadOutlined";var eh=r.forwardRef(ec),eO=n(99611),eu=n(97910),ef=n(94199),ed=r.forwardRef(function(e,t){var n,o=e.prefixCls,a=e.className,l=e.style,h=e.locale,u=e.listType,f=e.file,d=e.items,p=e.progress,m=e.iconRender,g=e.actionIconRender,Q=e.itemRender,b=e.isImgUrl,x=e.showPreviewIcon,k=e.showRemoveIcon,y=e.showDownloadIcon,v=e.previewIcon,$=e.removeIcon,S=e.downloadIcon,w=e.onPreview,T=e.onDownload,P=e.onClose,R=f.status,C=r.useState(R),Z=(0,c.Z)(C,2),X=Z[0],W=Z[1];r.useEffect(function(){"removed"!==R&&W(R)},[R]);var A=r.useState(!1),_=(0,c.Z)(A,2),q=_[0],z=_[1],I=r.useRef();r.useEffect(function(){return I.current=setTimeout(function(){z(!0)},300),function(){window.clearTimeout(I.current)}},[]);var E=m(f),G=r.createElement("div",{className:"".concat(o,"-text-icon")},E);if("picture"===u||"picture-card"===u){if("uploading"!==X&&(f.thumbUrl||f.url)){var L,D=(null==b?void 0:b(f))?r.createElement("img",{src:f.thumbUrl||f.url,alt:f.name,className:"".concat(o,"-list-item-image"),crossOrigin:f.crossOrigin}):E,N=O()((L={},(0,s.Z)(L,"".concat(o,"-list-item-thumbnail"),!0),(0,s.Z)(L,"".concat(o,"-list-item-file"),b&&!b(f)),L));G=r.createElement("a",{className:N,onClick:function(e){return w(f,e)},href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer"},D)}else{var U,M,J,V,Y=O()((V={},(0,s.Z)(V,"".concat(o,"-list-item-thumbnail"),!0),(0,s.Z)(V,"".concat(o,"-list-item-file"),"uploading"!==X),V));G=r.createElement("div",{className:Y},E)}}var F=O()((U={},(0,s.Z)(U,"".concat(o,"-list-item"),!0),(0,s.Z)(U,"".concat(o,"-list-item-").concat(X),!0),(0,s.Z)(U,"".concat(o,"-list-item-list-type-").concat(u),!0),U)),H="string"==typeof f.linkProps?JSON.parse(f.linkProps):f.linkProps,K=k?g(("function"==typeof $?$(f):$)||r.createElement(ea.Z,null),function(){return P(f)},o,h.removeFile):null,ee=y&&"done"===X?g(("function"==typeof S?S(f):S)||r.createElement(eh,null),function(){return T(f)},o,h.downloadFile):null,et="picture-card"!==u&&r.createElement("span",{key:"download-delete",className:O()("".concat(o,"-list-item-card-actions"),{picture:"picture"===u})},ee,K),en=O()("".concat(o,"-list-item-name")),ei=f.url?[r.createElement("a",(0,i.Z)({key:"view",target:"_blank",rel:"noopener noreferrer",className:en,title:f.name},H,{href:f.url,onClick:function(e){return w(f,e)}}),f.name),et]:[r.createElement("span",{key:"view",className:en,onClick:function(e){return w(f,e)},title:f.name},f.name),et],er=x?r.createElement("a",{href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:f.url||f.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(e){return w(f,e)},title:h.previewFile},"function"==typeof v?v(f):v||r.createElement(eO.Z,null)):null,es="picture-card"===u&&"uploading"!==X&&r.createElement("span",{className:"".concat(o,"-list-item-actions")},er,"done"===X&&ee,K);n=f.response&&"string"==typeof f.response?f.response:(null===(M=f.error)||void 0===M?void 0:M.statusText)||(null===(J=f.error)||void 0===J?void 0:J.message)||h.uploadError;var eo=r.createElement("span",{className:"".concat(o,"-span")},G,ei),el=(0,r.useContext(j.E_).getPrefixCls)(),ec=r.createElement("div",{className:F},r.createElement("div",{className:"".concat(o,"-list-item-info")},eo),es,q&&r.createElement(B.Z,{motionName:"".concat(el,"-fade"),visible:"uploading"===X,motionDeadline:2e3},function(e){var t=e.className,n="percent"in f?r.createElement(eu.Z,(0,i.Z)({},p,{type:"line",percent:f.percent})):null;return r.createElement("div",{className:O()("".concat(o,"-list-item-progress"),t)},n)})),ed=O()("".concat(o,"-list-").concat(u,"-container"),a),ep="error"===X?r.createElement(ef.Z,{title:n,getPopupContainer:function(e){return e.parentNode}},ec):ec;return r.createElement("div",{className:ed,style:l,ref:t},Q?Q(ep,f,d,{download:T.bind(null,f),preview:w.bind(null,f),remove:P.bind(null,f)}):ep)}),ep=(0,i.Z)({},H.ZP);delete ep.onAppearEnd,delete ep.onEnterEnd,delete ep.onLeaveEnd;var em=function(e,t){var n,o=e.listType,a=void 0===o?"text":o,h=e.previewFile,u=void 0===h?eo:h,f=e.onPreview,d=e.onDownload,p=e.onRemove,m=e.locale,g=e.iconRender,Q=e.isImageUrl,b=void 0===Q?es:Q,x=e.prefixCls,k=e.items,y=void 0===k?[]:k,v=e.showPreviewIcon,$=void 0===v||v,S=e.showRemoveIcon,w=void 0===S||S,T=e.showDownloadIcon,P=void 0!==T&&T,R=e.removeIcon,C=e.previewIcon,Z=e.downloadIcon,X=e.progress,W=void 0===X?{strokeWidth:2,showInfo:!1}:X,A=e.appendAction,_=e.appendActionVisible,q=e.itemRender,z=(0,F.Z)(),I=r.useState(!1),E=(0,c.Z)(I,2),D=E[0],N=E[1];r.useEffect(function(){("picture"===a||"picture-card"===a)&&(y||[]).forEach(function(e){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",u&&u(e.originFileObj).then(function(t){e.thumbUrl=t||"",z()}))})},[a,y,u]),r.useEffect(function(){N(!0)},[]);var M=function(e,t){if(f)return null==t||t.preventDefault(),f(e)},J=function(e){"function"==typeof d?d(e):e.url&&window.open(e.url)},H=function(e){null==p||p(e)},ee=function(e){if(g)return g(e,a);var t="uploading"===e.status,n=b&&b(e)?r.createElement(V,null):r.createElement(G,null),i=t?r.createElement(L.Z,null):r.createElement(U,null);return"picture"===a?i=t?r.createElement(L.Z,null):n:"picture-card"===a&&(i=t?m.uploading:n),i},et=function(e,t,n,s){var o={type:"text",size:"small",title:s,onClick:function(n){t(),(0,K.l$)(e)&&e.props.onClick&&e.props.onClick(n)},className:"".concat(n,"-list-item-card-actions-btn")};if((0,K.l$)(e)){var a=(0,K.Tm)(e,(0,i.Z)((0,i.Z)({},e.props),{onClick:function(){}}));return r.createElement(Y.Z,(0,i.Z)({},o,{icon:a}))}return r.createElement(Y.Z,(0,i.Z)({},o),r.createElement("span",null,e))};r.useImperativeHandle(t,function(){return{handlePreview:M,handleDownload:J}});var en=r.useContext(j.E_),ei=en.getPrefixCls,er=en.direction,ea=ei("upload",x),el=O()((n={},(0,s.Z)(n,"".concat(ea,"-list"),!0),(0,s.Z)(n,"".concat(ea,"-list-").concat(a),!0),(0,s.Z)(n,"".concat(ea,"-list-rtl"),"rtl"===er),n)),ec=(0,l.Z)(y.map(function(e){return{key:e.uid,file:e}})),eh={motionDeadline:2e3,motionName:"".concat(ea,"-").concat("picture-card"===a?"animate-inline":"animate"),keys:ec,motionAppear:D};return"picture-card"!==a&&(eh=(0,i.Z)((0,i.Z)({},ep),eh)),r.createElement("div",{className:el},r.createElement(B.V,(0,i.Z)({},eh,{component:!1}),function(e){var t=e.key,n=e.file,i=e.className,s=e.style;return r.createElement(ed,{key:t,locale:m,prefixCls:ea,className:i,style:s,file:n,items:y,progress:W,listType:a,isImgUrl:b,showPreviewIcon:$,showRemoveIcon:w,showDownloadIcon:P,removeIcon:R,previewIcon:C,downloadIcon:Z,iconRender:ee,actionIconRender:et,itemRender:q,onPreview:M,onDownload:J,onClose:H})}),A&&r.createElement(B.Z,(0,i.Z)({},eh,{visible:void 0===_||_,forceRender:!0}),function(e){var t=e.className,n=e.style;return(0,K.Tm)(A,function(e){return{className:O()(e.className,t),style:(0,i.Z)((0,i.Z)((0,i.Z)({},n),{pointerEvents:t?"none":void 0}),e.style)}})}))},eg=r.forwardRef(em),eQ="__LIST_IGNORE_".concat(Date.now(),"__"),eb=function(e,t){var n,h=e.fileList,u=e.defaultFileList,f=e.onRemove,d=e.showUploadList,p=void 0===d||d,m=e.listType,g=void 0===m?"text":m,Q=e.onPreview,b=e.onDownload,x=e.onChange,k=e.onDrop,y=e.previewFile,v=e.disabled,$=e.locale,S=e.iconRender,w=e.isImageUrl,T=e.progress,P=e.prefixCls,R=e.className,q=e.type,z=e.children,I=e.style,E=e.itemRender,G=e.maxCount,L=e.data,D=e.multiple,N=e.action,U=e.accept,M=e.supportServerRender,J=r.useContext(W.Z),V=null!=v?v:J,B=(0,Z.Z)(u||[],{value:h,postState:function(e){return null!=e?e:[]}}),Y=(0,c.Z)(B,2),F=Y[0],H=Y[1],K=r.useState("drop"),ei=(0,c.Z)(K,2),er=ei[0],es=ei[1],eo=r.useRef();r.useMemo(function(){var e=Date.now();(h||[]).forEach(function(t,n){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(n,"__"))})},[h]);var ea=function(e,t,n){var i=(0,l.Z)(t);1===G?i=i.slice(-1):G&&(i=i.slice(0,G)),(0,X.flushSync)(function(){H(i)});var r={file:e,fileList:i};n&&(r.event=n),null==x||x(r)},el=function(t,n){var i,r,s,l;return i=void 0,r=void 0,s=void 0,l=(0,o.Z)().mark(function i(){var r,s,l,c;return(0,o.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(r=e.beforeUpload,s=e.transformFile,l=t,!r){i.next=13;break}return i.next=5,r(t,n);case 5:if(!1!==(c=i.sent)){i.next=8;break}return i.abrupt("return",!1);case 8:if(delete t[eQ],c!==eQ){i.next=12;break}return Object.defineProperty(t,eQ,{value:!0,configurable:!0}),i.abrupt("return",!1);case 12:"object"===(0,a.Z)(c)&&c&&(l=c);case 13:if(!s){i.next=17;break}return i.next=16,s(l);case 16:l=i.sent;case 17:return i.abrupt("return",l);case 18:case"end":return i.stop()}},i)}),new(s||(s=Promise))(function(e,t){function n(e){try{a(l.next(e))}catch(n){t(n)}}function o(e){try{a(l.throw(e))}catch(n){t(n)}}function a(t){var i;t.done?e(t.value):((i=t.value)instanceof s?i:new s(function(e){e(i)})).then(n,o)}a((l=l.apply(i,r||[])).next())})},ec=function(e){var t=e.filter(function(e){return!e.file[eQ]});if(t.length){var n=t.map(function(e){return ee(e.file)}),i=(0,l.Z)(F);n.forEach(function(e){i=et(e,i)}),n.forEach(function(e,n){var r=e;if(t[n].parsedFile)e.status="uploading";else{var s,o=e.originFileObj;try{s=new File([o],o.name,{type:o.type})}catch(a){(s=new Blob([o],{type:o.type})).name=o.name,s.lastModifiedDate=new Date,s.lastModified=new Date().getTime()}s.uid=e.uid,r=s}ea(r,i)})}},eh=function(e,t,n){try{"string"==typeof e&&(e=JSON.parse(e))}catch(i){}if(en(t,F)){var r=ee(t);r.status="done",r.percent=100,r.response=e,r.xhr=n;var s=et(r,F);ea(r,s)}},eO=function(e,t){if(en(t,F)){var n=ee(t);n.status="uploading",n.percent=e.percent;var i=et(n,F);ea(n,i,e)}},eu=function(e,t,n){if(en(n,F)){var i=ee(n);i.error=e,i.response=t,i.status="error";var r=et(i,F);ea(i,r)}},ef=function(e){var t;Promise.resolve("function"==typeof f?f(e):f).then(function(n){if(!1!==n){var r,s,o,a=(r=void 0!==e.uid?"uid":"name",(s=F.filter(function(t){return t[r]!==e[r]})).length===F.length?null:s);a&&(t=(0,i.Z)((0,i.Z)({},e),{status:"removed"}),null==F||F.forEach(function(e){var n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")}),null===(o=eo.current)||void 0===o||o.abort(t),ea(t,a))}})},ed=function(e){es(e.type),"drop"===e.type&&(null==k||k(e))};r.useImperativeHandle(t,function(){return{onBatchStart:ec,onSuccess:eh,onProgress:eO,onError:eu,fileList:F,upload:eo.current}});var ep=r.useContext(j.E_),em=ep.getPrefixCls,eb=ep.direction,ex=em("upload",P),ek=(0,i.Z)((0,i.Z)({onBatchStart:ec,onError:eu,onProgress:eO,onSuccess:eh},e),{data:void 0===L?{}:L,multiple:void 0!==D&&D,action:void 0===N?"":N,accept:void 0===U?"":U,supportServerRender:void 0===M||M,prefixCls:ex,disabled:V,beforeUpload:el,onChange:void 0});delete ek.className,delete ek.style,(!z||V)&&delete ek.id;var ey=function(e,t){return p?r.createElement(A.Z,{componentName:"Upload",defaultLocale:_.Z.Upload},function(n){var s="boolean"==typeof p?{}:p,o=s.showRemoveIcon,a=s.showPreviewIcon,l=s.showDownloadIcon,c=s.removeIcon,h=s.previewIcon,O=s.downloadIcon;return r.createElement(eg,{prefixCls:ex,listType:g,items:F,previewFile:y,onPreview:Q,onDownload:b,onRemove:ef,showRemoveIcon:!V&&o,showPreviewIcon:a,showDownloadIcon:l,removeIcon:c,previewIcon:h,downloadIcon:O,iconRender:S,locale:(0,i.Z)((0,i.Z)({},n),$),isImageUrl:w,progress:T,appendAction:e,appendActionVisible:t,itemRender:E})}):e};if("drag"===(void 0===q?"select":q)){var ev,e$,eS=O()(ex,(e$={},(0,s.Z)(e$,"".concat(ex,"-drag"),!0),(0,s.Z)(e$,"".concat(ex,"-drag-uploading"),F.some(function(e){return"uploading"===e.status})),(0,s.Z)(e$,"".concat(ex,"-drag-hover"),"dragover"===er),(0,s.Z)(e$,"".concat(ex,"-disabled"),V),(0,s.Z)(e$,"".concat(ex,"-rtl"),"rtl"===eb),e$),R);return r.createElement("span",null,r.createElement("div",{className:eS,onDrop:ed,onDragOver:ed,onDragLeave:ed,style:I},r.createElement(C,(0,i.Z)({},ek,{ref:eo,className:"".concat(ex,"-btn")}),r.createElement("div",{className:"".concat(ex,"-drag-container")},z))),ey())}var ew=O()(ex,(ev={},(0,s.Z)(ev,"".concat(ex,"-select"),!0),(0,s.Z)(ev,"".concat(ex,"-select-").concat(g),!0),(0,s.Z)(ev,"".concat(ex,"-disabled"),V),(0,s.Z)(ev,"".concat(ex,"-rtl"),"rtl"===eb),ev)),eT=(n=z?void 0:{display:"none"},r.createElement("div",{className:ew,style:n},r.createElement(C,(0,i.Z)({},ek,{ref:eo}))));return"picture-card"===g?r.createElement("span",{className:O()("".concat(ex,"-picture-card-wrapper"),R)},ey(eT,!!z)):r.createElement("span",{className:R},eT,ey())},ex=r.forwardRef(eb),ek=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},ey=r.forwardRef(function(e,t){var n=e.style,s=e.height,o=ek(e,["style","height"]);return r.createElement(ex,(0,i.Z)({ref:t},o,{type:"drag",style:(0,i.Z)((0,i.Z)({},n),{height:s})}))}),ev=ex;ev.Dragger=ey,ev.LIST_IGNORE=eQ;var e$=ev},27561:function(e,t,n){var i=n(67990),r=/^\s+/;e.exports=function(e){return e?e.slice(0,i(e)+1).replace(r,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var i=n(13218),r=n(7771),s=n(14841),o=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,h,O,u,f,d=0,p=!1,m=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function Q(t){var n=l,i=c;return l=c=void 0,d=t,O=e.apply(i,n)}function b(e){var n=e-f,i=e-d;return void 0===f||n>=t||n<0||m&&i>=h}function x(){var e,n,i,s=r();if(b(s))return k(s);u=setTimeout(x,(e=s-f,n=s-d,i=t-e,m?a(i,h-n):i))}function k(e){return(u=void 0,g&&l)?Q(e):(l=c=void 0,O)}function y(){var e,n=r(),i=b(n);if(l=arguments,c=this,f=n,i){if(void 0===u)return d=e=f,u=setTimeout(x,t),p?Q(e):O;if(m)return clearTimeout(u),u=setTimeout(x,t),Q(f)}return void 0===u&&(u=setTimeout(x,t)),O}return t=s(t)||0,i(n)&&(p=!!n.leading,h=(m="maxWait"in n)?o(s(n.maxWait)||0,t):h,g="trailing"in n?!!n.trailing:g),y.cancel=function(){void 0!==u&&clearTimeout(u),d=0,l=f=c=u=void 0},y.flush=function(){return void 0===u?O:k(r())},y}},33448:function(e,t,n){var i=n(44239),r=n(37005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},7771:function(e,t,n){var i=n(55639),r=function(){return i.Date.now()};e.exports=r},14841:function(e,t,n){var i=n(27561),r=n(13218),s=n(33448),o=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,h=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return o;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=l.test(e);return n||c.test(e)?h(e.slice(2),n?2:8):a.test(e)?o:+e}},34790:function(e,t,n){"use strict";n.d(t,{B1:function(){return e$},GA:function(){return eQ},Gn:function(){return er},Mb:function(){return l},eC:function(){return c},vQ:function(){return eO},ys:function(){return ev}});var i=n(78120),r=n(47421),s=n(59119);class o{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),r=i.search(u(e,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function a(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function l(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,i]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let r=1;r{let r=e.matchBefore(i);return r||e.explicit?{from:r?r.from:e.pos,options:t,validFor:n}:null}}function c(e,t){return n=>{for(let i=(0,s.qz)(n.state).resolveInner(n.pos,-1);i;i=i.parent)if(e.indexOf(i.name)>-1)return null;return t(n)}}class h{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function O(e){return e.selection.main.head}function u(e,t){var n;let{source:i}=e,r=t&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}function f(e,t){let n=t.completion.apply||t.completion.label,r=t.source;if("string"==typeof n){var s,o,a;e.dispatch((s=e.state,o=r.from,a=r.to,Object.assign(Object.assign({},s.changeByRange(e=>{if(e==s.selection.main)return{changes:{from:o,to:a,insert:n},range:i.jT.cursor(o+n.length)};let t=a-o;return!e.empty||t&&s.sliceDoc(e.from-t,e.from)!=s.sliceDoc(o,a)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:n},range:i.jT.cursor(e.from-t+n.length)}})),{userEvent:"input.complete"})))}else n(e,t.completion,r.from,r.to)}let d=new WeakMap;function p(e){if(!Array.isArray(e))return e;let t=d.get(e);return t||d.set(e,t=l(e)),t}class m{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&S<=57||S>=97&&S<=122?2:S>=65&&S<=90?1:0:(w=(0,i.bg)(S))!=w.toLowerCase()?1:w!=w.toUpperCase()?2:0;(!y||1==T&&x||0==$&&0!=T)&&(t[p]==S||n[p]==S&&(m=!0)?o[p++]=y:o.length&&(k=!1)),$=T,y+=(0,i.nZ)(S)}return p==c&&0==o[0]&&k?this.result(-100+(m?-200:0),o,e):g==c&&0==Q?[-200-e.length,0,b]:l>-1?[-700-e.length,l,l+this.pattern.length]:g==c?[-900-e.length,Q,b]:p==c?this.result(-100+(m?-200:0)+-700+(k?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[e-n.length],s=1;for(let o of t){let a=o+(this.astral?(0,i.nZ)((0,i.gm)(n,o)):1);s>1&&r[s-1]==o?r[s-1]=a:(r[s++]=o,r[s++]=a)}return r}}let g=i.r$.define({combine:e=>(0,i.BO)(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,optionClass:(e,t)=>n=>{var i,r;return i=e(n),r=t(n),i?r?i+" "+r:i:r},addToOptions:(e,t)=>e.concat(t)})});function Q(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let i=Math.floor(t/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class b{constructor(e,t){let n;this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:e=>this.positionInfo(e),key:this};let i=e.state.field(t),{options:r,selected:s}=i.open,o=e.state.facet(g);this.optionContent=(n=o.addToOptions.slice(),o.icons&&n.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),n.push({render(e,t,n){let i=document.createElement("span");i.className="cm-completionLabel";let{label:r}=e,s=0;for(let o=1;os&&i.appendChild(document.createTextNode(r.slice(s,a)));let c=i.appendChild(document.createElement("span"));c.appendChild(document.createTextNode(r.slice(a,l))),c.className="cm-completionMatchedText",s=l}return se.position-t.position).map(e=>e.render)),this.optionClass=o.optionClass,this.range=Q(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",t=>{for(let n=t.target,i;n&&n!=this.dom;n=n.parentNode)if("LI"==n.nodeName&&(i=/-(\d+)$/.exec(n.id))&&+i[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}positioned(){this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=Q(t.options.length,t.selected,this.view.state.facet(g).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s="string"==typeof i?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t)}).catch(e=>(0,r.OO)(this.view.state,e,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){var t,n;let i,r,s=null;for(let o=this.list.firstChild,a=this.range.from;o;o=o.nextSibling,a++)a==e?o.hasAttribute("aria-selected")||(o.setAttribute("aria-selected","true"),s=o):o.hasAttribute("aria-selected")&&o.removeAttribute("aria-selected");return s&&(t=this.list,n=s,i=t.getBoundingClientRect(),(r=n.getBoundingClientRect()).topi.bottom&&(t.scrollTop+=r.bottom-i.bottom)),s}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.ownerDocument.defaultView||window,n=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),s=e.getBoundingClientRect();if(s.top>Math.min(t.innerHeight,n.bottom)-10||s.bottom=i.height||d>n.top?h=s.bottom-n.top+"px":O=n.bottom-s.top+"px"}return{top:h,bottom:O,maxWidth:c,class:l?o?"left-narrow":"right-narrow":a?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,n){let i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let r=n.from;r=this.options.length?this:new k(this.options,$(t,e),this.tooltip,this.timestamp,e)}static build(e,t,n,i,r){let s=function(e,t){let n=[],i=0;for(let r of e)if(r.hasResult()){if(!1===r.result.filter){let s=r.result.getMatch;for(let o of r.result.options){let a=[1e9-i++];if(s)for(let l of s(o))a.push(l);n.push(new h(o,r,a))}}else{let c=new m(t.sliceDoc(r.from,r.to)),O;for(let u of r.result.options)(O=c.match(u.label))&&(null!=u.boost&&(O[0]+=u.boost),n.push(new h(u,r,O)))}}let f=[],d=null,p=t.facet(g).compareCompletions;for(let Q of n.sort((e,t)=>t.match[0]-e.match[0]||p(e.completion,t.completion)))d&&d.label==Q.completion.label&&d.detail==Q.completion.detail&&(null==d.type||null==Q.completion.type||d.type==Q.completion.type)&&d.apply==Q.completion.apply?x(Q.completion)>x(d)&&(f[f.length-1]=Q):f.push(Q),d=Q.completion;return f}(e,t);if(!s.length)return null;let o=t.facet(g).selectOnOpen?0:-1;if(i&&i.selected!=o&&-1!=i.selected){let a=i.options[i.selected].completion;for(let l=0;lt.hasResult()?Math.min(e,t.from):e,1e8),create:e=>new b(e,j),above:r.aboveCursor},i?i.timestamp:Date.now(),o)}map(e){return new k(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class y{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new y(S,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(g),i=(n.override||t.languageDataAt("autocomplete",O(t)).map(p)).map(t=>(this.active.find(e=>e.source==t)||new T(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let r=e.selection||i.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,i=0;;){for(;n1!=e.state)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new T(e.source,0):e)),e.effects))s.is(X)&&(r=r&&r.setSelected(s.value,this.id));return i==this.active&&r==this.open?this:new y(i,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:v}}let v={"aria-autocomplete":"list"};function $(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let S=[];function w(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class T{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=w(e),i=this;for(let r of(n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&0!=i.state&&(i=new T(i.source,0)),e.effects))if(r.is(R))i=new T(i.source,1,r.value?O(e.state):-1);else if(r.is(C))i=new T(i.source,0);else if(r.is(Z))for(let s of r.value)s.source==i.source&&(i=s);return i}handleUserEvent(e,t,n){return"delete"!=t&&n.activateOnTyping?new T(this.source,1):this.map(e.changes)}handleChange(e){return e.changes.touchesRange(O(e.startState))?new T(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new T(this.source,this.state,e.mapPos(this.explicitPos))}}class P extends T{constructor(e,t,n,i,r){super(e,2,t),this.result=n,this.from=i,this.to=r}hasResult(){return!0}handleUserEvent(e,t,n){var i;let r=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=O(e.state);if((this.explicitPos<0?a<=r:as||"delete"==t&&O(e.startState)==this.from)return new T(this.source,"input"==t&&n.activateOnTyping?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return!function(e,t,n,i){if(!e)return!1;let r=t.sliceDoc(n,i);return"function"==typeof e?e(r,n,i,t):u(e,!0).test(r)}(this.result.validFor,e.state,r,s)?this.result.update&&(c=this.result.update(this.result,r,s,new o(e.state,a,l>=0)))?new P(this.source,l,c,c.from,null!==(i=c.to)&&void 0!==i?i:O(e.state)):new T(this.source,1,l):new P(this.source,l,this.result,r,s)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new T(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new P(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}let R=i.Py.define(),C=i.Py.define(),Z=i.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),X=i.Py.define(),j=i.QQ.define({create:()=>y.start(),update:(e,t)=>e.update(t),provide:e=>[r.hJ.from(e,e=>e.tooltip),r.tk.contentAttributes.from(e,e=>e.attrs)]});function W(e,t="option"){return n=>{let i=n.state.field(j,!1);if(!i||!i.open||Date.now()-i.open.timestamp-1?i.open.selected+s*(e?1:-1):e?0:a-1;return l<0?l="page"==t?0:a-1:l>=a&&(l="page"==t?a-1:0),n.dispatch({effects:X.of(l)}),!0}}let A=e=>{let t=e.state.field(j,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||Date.now()-t.open.timestamp!!e.state.field(j,!1)&&(e.dispatch({effects:R.of(!0)}),!0),q=e=>{let t=e.state.field(j,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:C.of(null)}),!0)};class z{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let I=r.lg.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0,e.state.field(j).active))1==t.state&&this.startQuery(t)}update(e){let t=e.state.field(j);if(!e.selectionSet&&!e.docChanged&&e.startState.field(j)==t)return;let n=e.transactions.some(e=>(e.selection||e.docChanged)&&!w(e));for(let i=0;i50&&Date.now()-s.time>1e3){for(let o of s.context.abortListeners)try{o()}catch(a){(0,r.OO)(this.view.state,a)}s.context.abortListeners=null,this.running.splice(i--,1)}else s.updates.push(...e.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=t.active.some(e=>1==e.state&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),50):-1,0!=this.composing)for(let l of e.transactions)"input"==w(l)?this.composing=2:2==this.composing&&l.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:e}=this.view,t=e.field(j);for(let n of t.active)1!=n.state||this.running.some(e=>e.active.source==n.source)||this.startQuery(n)}startQuery(e){let{state:t}=this.view,n=O(t),i=new o(t,n,e.explicitPos==n),s=new z(e,i);this.running.push(s),Promise.resolve(e.source(i)).then(e=>{s.context.aborted||(s.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:C.of(null)}),(0,r.OO)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),50))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(g);for(let i=0;ie.source==r.active.source);if(a&&1==a.state){if(null==r.done){let l=new T(r.active.source,0);for(let c of r.updates)l=l.update(c,n);1!=l.state&&t.push(l)}else this.startQuery(a)}}t.length&&this.view.dispatch({effects:Z.of(t)})}},{eventHandlers:{blur(){let e=this.view.state.field(j,!1);e&&e.tooltip&&this.view.state.facet(g).closeOnBlur&&this.view.dispatch({effects:C.of(null)})},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:R.of(!1)}),20),this.composing=0}}}),E=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class G{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class L{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,i.gc.TrackDel),n=e.mapPos(this.to,1,i.gc.TrackDel);return null==t||null==n?null:new L(this.field,t,n)}}class D{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let a of this.lines){if(n.length){let l=o,c=/^\t*/.exec(a)[0].length;for(let h=0;hnew L(e.field,i[e.line]+e.from,i[e.line]+e.to));return{text:n,ranges:O}}static parse(e){let t=[],n=[],i=[],r;for(let s of e.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let o=r[1]?+r[1]:null,a=r[2]||r[3]||"",l=-1;for(let c=0;c=l&&O.field++}i.push(new G(l,n.length,r.index,r.index+a.length)),s=s.slice(0,r.index)+a+s.slice(r.index+r[0].length)}for(let u;u=/([$#])\\{/.exec(s);)for(let f of(s=s.slice(0,u.index)+u[1]+"{"+s.slice(u.index+u[0].length),i))f.line==n.length&&f.from>u.index&&(f.from--,f.to--);n.push(s)}return new D(n,i)}}let N=r.p.widget({widget:new class extends r.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),U=r.p.mark({class:"cm-snippetField"});class M{constructor(e,t){this.ranges=e,this.active=t,this.deco=r.p.set(e.map(e=>(e.from==e.to?N:U).range(e.from,e.to)))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new M(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let J=i.Py.define({map:(e,t)=>e&&e.map(t)}),V=i.Py.define(),B=i.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(J))return n.value;if(n.is(V)&&e)return new M(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>r.tk.decorations.from(e,e=>e?e.deco:r.p.none)});function Y(e,t){return i.jT.create(e.filter(e=>e.field==t).map(e=>i.jT.range(e.from,e.to)))}function F(e){return({state:t,dispatch:n})=>{let i=t.field(B,!1);if(!i||e<0&&0==i.active)return!1;let r=i.active+e,s=e>0&&!i.ranges.some(t=>t.field==r+e);return n(t.update({selection:Y(i.ranges,r),effects:J.of(s?null:new M(i.ranges,r))})),!0}}let H=({state:e,dispatch:t})=>!!e.field(B,!1)&&(t(e.update({effects:J.of(null)})),!0),K=F(1),ee=F(-1),et=[{key:"Tab",run:K,shift:ee},{key:"Escape",run:H}],en=i.r$.define({combine:e=>e.length?e[0]:et}),ei=i.Wl.highest(r.$f.compute([en],e=>e.facet(en)));function er(e,t){let n;return Object.assign(Object.assign({},t),{apply:(n=D.parse(e),(e,t,r,s)=>{let{text:o,ranges:a}=n.instantiate(e.state,r),l={changes:{from:r,to:s,insert:i.xv.of(o)},scrollIntoView:!0};if(a.length&&(l.selection=Y(a,0)),a.length>1){let c=new M(a,0),h=l.effects=[J.of(c)];void 0===e.state.field(B,!1)&&h.push(i.Py.appendConfig.of([B,ei,es,E]))}e.dispatch(e.state.update(l))})})}let es=r.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(B,!1),i;if(!n||null==(i=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let r=n.ranges.find(e=>e.from<=i&&e.to>=i);return!!r&&r.field!=n.active&&(t.dispatch({selection:Y(n.ranges,r.field),effects:J.of(n.ranges.some(e=>e.field>r.field)?new M(n.ranges,r.field):null)}),!0)}}),eo={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ea=i.Py.define({map(e,t){let n=t.mapPos(e,-1,i.gc.TrackAfter);return null==n?void 0:n}}),el=i.Py.define({map:(e,t)=>t.mapPos(e)}),ec=new class extends i.uU{};ec.startSide=1,ec.endSide=-1;let eh=i.QQ.define({create:()=>i.Xs.empty,update(e,t){if(t.selection){let n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=i.Xs.empty)}for(let s of(e=e.map(t.changes),t.effects))s.is(ea)?e=e.update({add:[ec.range(s.value,s.value+1)]}):s.is(el)&&(e=e.update({filter:e=>e!=s.value}));return e}});function eO(){return[em,eh]}let eu="()[]{}<>";function ef(e){for(let t=0;t{if((ep?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||t!=o.from||n!=o.to)return!1;let a=function(e,t){let n=ed(e,e.selection.main.head),r=n.brackets||eo.brackets;for(let o of r){let a=ef((0,i.gm)(o,0));if(t==o)return a==o?function(e,t,n,r){let o=r.stringPrefixes||eo.stringPrefixes,a=null,l=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:ea.of(r.to+t.length),range:i.jT.range(r.anchor+t.length,r.head+t.length)};let l=r.head,c=ex(e.doc,l),h;if(c==t){if(ek(e,l))return{changes:{insert:t+t,from:l},effects:ea.of(l+t.length),range:i.jT.cursor(l+t.length)};if(eb(e,l)){let O=n&&e.sliceDoc(l,l+3*t.length)==t+t+t;return{range:i.jT.cursor(l+t.length*(O?3:1)),effects:el.of(l)}}}else if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(h=ey(e,l-2*t.length,o))>-1&&ek(e,h))return{changes:{insert:t+t+t+t,from:l},effects:ea.of(l+t.length),range:i.jT.cursor(l+t.length)};else if(e.charCategorizer(l)(c)!=i.D0.Word&&ey(e,l,o)>-1&&!function(e,t,n,i){let r=(0,s.qz)(e).resolveInner(t,-1),o=i.reduce((e,t)=>Math.max(e,t.length),0);for(let a=0;a<5;a++){let l=e.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),c=l.indexOf(n);if(!c||c>-1&&i.indexOf(l.slice(0,c))>-1){let h=r.firstChild;for(;h&&h.from==r.from&&h.to-h.from>n.length+c;){if(e.sliceDoc(h.to-n.length,h.to)==n)return!1;h=h.firstChild}return!0}let O=r.to==t&&r.parent;if(!O)break;r=O}return!1}(e,l,t,o))return{changes:{insert:t+t,from:l},effects:ea.of(l+t.length),range:i.jT.cursor(l+t.length)};return{range:a=r}});return a?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,r.indexOf(o+o+o)>-1,n):function(e,t,n,r){let s=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ea.of(o.to+t.length),range:i.jT.range(o.anchor+t.length,o.head+t.length)};let a=ex(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:ea.of(o.head+t.length),range:i.jT.cursor(o.head+t.length)}:{range:s=o}});return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,a,n.before||eo.before);if(t==a&&eb(e,e.selection.main.from))return function(e,t,n){let r=null,s=e.selection.ranges.map(t=>t.empty&&ex(e.doc,t.head)==n?i.jT.cursor(t.head+n.length):r=t);return r?null:e.update({selection:i.jT.create(s,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map(({from:e})=>el.of(e))})}(e,0,a)}return null}(e.state,r);return!!a&&(e.dispatch(a),!0)}),eg=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=ed(e,e.selection.main.head).brackets||eo.brackets,r=null,s=e.changeByRange(t=>{if(t.empty){var s,o;let a;let l=(s=e.doc,o=t.head,a=s.sliceString(o-2,o),(0,i.nZ)((0,i.gm)(a,0))==a.length?a:a.slice(1));for(let c of n)if(c==l&&ex(e.doc,t.head)==ef((0,i.gm)(c,0)))return{changes:{from:t.head-c.length,to:t.head+c.length},range:i.jT.cursor(t.head-c.length)}}return{range:r=t}});return r||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},eQ=[{key:"Backspace",run:eg}];function eb(e,t){let n=!1;return e.field(eh).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function ex(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function ek(e,t){let n=(0,s.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function ey(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=i.D0.Word)return t;for(let s of n){let o=t-s.length;if(e.sliceDoc(o,t)==s&&r(e.sliceDoc(o-1,o))!=i.D0.Word)return o}return -1}function ev(e={}){return[j,g.of(e),I,eS,E]}let e$=[{key:"Ctrl-Space",run:_},{key:"Escape",run:q},{key:"ArrowDown",run:W(!0)},{key:"ArrowUp",run:W(!1)},{key:"PageDown",run:W(!0,"page")},{key:"PageUp",run:W(!1,"page")},{key:"Enter",run:A}],eS=i.Wl.highest(r.$f.computeN([g],e=>e.facet(g).defaultKeymap?[e$]:[]))},61426:function(e,t,n){"use strict";n.r(t),n.d(t,{css:function(){return $},cssCompletionSource:function(){return y},cssLanguage:function(){return v}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function o(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}let a=new i.Jq((e,t)=>{for(let n=!1,i=0,r=0;;r++){var s;let{next:a}=e;if(o(a)||45==a||95==a||n&&(s=a)>=48&&s<=57)!n&&(45!=a||r>0)&&(n=!0),i===r&&45==a&&i++,e.advance();else{n&&e.acceptToken(40==a?94:2==i&&t.canShift(2)?2:95);break}}}),l=new i.Jq(e=>{if(s.includes(e.peek(-1))){let{next:t}=e;(o(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(93)}}),c=new i.Jq(e=>{if(!s.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),o(t)){do e.advance();while(o(e.next));e.acceptToken(1)}}}),h=(0,r.Gv)({"AtKeyword import charset namespace keyframes media supports":r.pJ.definitionKeyword,"from to selector":r.pJ.keyword,NamespaceName:r.pJ.namespace,KeyframeName:r.pJ.labelName,TagName:r.pJ.tagName,ClassName:r.pJ.className,PseudoClassName:r.pJ.constant(r.pJ.className),IdName:r.pJ.labelName,"FeatureName PropertyName":r.pJ.propertyName,AttributeName:r.pJ.attributeName,NumberLiteral:r.pJ.number,KeywordQuery:r.pJ.keyword,UnaryQueryOp:r.pJ.operatorKeyword,"CallTag ValueName":r.pJ.atom,VariableName:r.pJ.variableName,Callee:r.pJ.operatorKeyword,Unit:r.pJ.unit,"UniversalSelector NestingSelector":r.pJ.definitionOperator,MatchOp:r.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":r.pJ.logicOperator,BinOp:r.pJ.arithmeticOperator,Important:r.pJ.modifier,Comment:r.pJ.blockComment,ParenthesizedContent:r.pJ.special(r.pJ.name),ColorLiteral:r.pJ.color,StringLiteral:r.pJ.string,":":r.pJ.punctuation,"PseudoOp #":r.pJ.derefOperator,"; ,":r.pJ.separator,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace}),O={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},u={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},f={__proto__:null,not:128,only:128,from:158,to:160},d=i.WQ.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!ZQ[O,59QO%_Q[O'#EVO%yQWO,58{O&RQ[O,59SO#aQ[O,59kO#fQ[O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%Q^8fUjSOy%Qz!O%Q!O!P4x!P!Q%Q!Q![7_![~%Q_8}S#WPOy%Qz!Q%Q!Q![5Z![~%Q~9`RjSOy%Qz{9i{~%Q~9nSoWOy9iyz9zz{:o{~9i~9}ROz9zz{:W{~9z~:ZTOz9zz{:W{!P9z!P!Q:j!Q~9z~:oOR~~:tUoWOy9iyz9zz{:o{!P9i!P!Q;W!Q~9i~;_QoWR~Oy%Qz~%Q^;jY#ZUOy%Qz!O%Q!O!P5Z!P!Q%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%QX<_S]POy%Qz![%Q![!]RUOy%Qz!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX>lY!YPoWOy%Qz}%Q}!O>e!O!Q%Q!Q![>e![!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX?aQxPOy%Qz~%Q^?lQvUOy%Qz~%QX?uSOy%Qz#b%Q#b#c@R#c~%QX@WSoWOy%Qz#W%Q#W#X@d#X~%QX@kQ!`PoWOy%Qz~%QX@tSOy%Qz#f%Q#f#g@d#g~%QXAVQ!RPOy%Qz~%Q_AbQ!QVOy%Qz~%QZAmS!PPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[l,c,a,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:e=>O[e]||-1},{term:56,get:e=>u[e]||-1},{term:95,get:e=>f[e]||-1}],tokenPrec:1078});var p=n(59119);let m=null;function g(){if(!m&&"object"==typeof document&&document.body){let e=[];for(let t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);m=e.sort().map(e=>({type:"property",label:e}))}return m||[]}let Q=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),b=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),x=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),k=/^[\w-]*/,y=e=>{let{state:t,pos:n}=e,i=(0,p.qz)(t).resolveInner(n,-1);if("PropertyName"==i.name)return{from:i.from,options:g(),validFor:k};if("ValueName"==i.name)return{from:i.from,options:b,validFor:k};if("PseudoClassName"==i.name)return{from:i.from,options:Q,validFor:k};if("TagName"==i.name){for(let{parent:r}=i;r;r=r.parent)if("Block"==r.name)return{from:i.from,options:g(),validFor:k};return{from:i.from,options:x,validFor:k}}if(!e.explicit)return null;let s=i.resolve(n),o=s.childBefore(n);return o&&":"==o.name&&"PseudoClassSelector"==s.name?{from:n,options:Q,validFor:k}:o&&":"==o.name&&"Declaration"==s.name||"ArgList"==s.name?{from:n,options:b,validFor:k}:"Block"==s.name?{from:n,options:g(),validFor:k}:null},v=p.qp.define({name:"css",parser:d.configure({props:[p.uj.add({Declaration:(0,p.tC)()}),p.x0.add({Block:p.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function $(){return new p.ri(v,v.data.of({autocomplete:y}))}},13804:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return ee},html:function(){return K},htmlCompletionSource:function(){return Y},htmlCompletionSourceWith:function(){return F},htmlLanguage:function(){return H}});var i=n(53105),r=n(35524),s=n(41113);let o={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},a={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},l={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}};function c(e){return 9==e||10==e||13==e||32==e}let h=null,O=null,u=0;function f(e,t){var n;let i=e.pos+t;if(u==i&&O==e)return h;let r=e.peek(t);for(;c(r);)r=e.peek(++t);let s="";for(;45==(n=r)||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161;)s+=String.fromCharCode(r),r=e.peek(++t);return O=e,u=i,h=s?s.toLowerCase():r==d||r==p?void 0:null}let d=63,p=33;function m(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let n=0;ng.indexOf(t)>-1?new m(f(i,1)||"",e):e,reduce:(e,t)=>18==t&&e?e.parent:e,reuse(e,t,n,i){let r=t.type.id;return 4==r||35==r?new m(f(i,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),b=new i.Jq((e,t)=>{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(56);return}e.advance();let n=47==e.next;n&&e.advance();let i=f(e,0);if(void 0===i)return;if(!i)return e.acceptToken(n?12:4);let r=t.context?t.context.name:null;if(n){if(i==r)return e.acceptToken(9);if(r&&a[r])return e.acceptToken(56,-2);if(t.dialectEnabled(0))return e.acceptToken(10);for(let s=t.context;s;s=s.parent)if(s.name==i)return;e.acceptToken(11)}else{if("script"==i)return e.acceptToken(5);if("style"==i)return e.acceptToken(6);if("textarea"==i)return e.acceptToken(7);if(o.hasOwnProperty(i))return e.acceptToken(8);r&&l[r]&&l[r][i]?e.acceptToken(56,-1):e.acceptToken(4)}},{contextual:!0}),x=new i.Jq(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(57);break}if(45==e.next)t++;else if(62==e.next&&t>=2){n>3&&e.acceptToken(57,-2);break}else t=0;e.advance()}});function k(e,t,n){let r=2+e.length;return new i.Jq(i=>{for(let s=0,o=0,a=0;;a++){if(i.next<0){a&&i.acceptToken(t);break}if(0==s&&60==i.next||1==s&&47==i.next||s>=2&&so?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}else if((10==i.next||13==i.next)&&a){i.acceptToken(t,1);break}else s=o=0;i.advance()}})}let y=k("script",53,1),v=k("style",54,2),$=k("textarea",55,3),S=(0,r.Gv)({"Text RawText":r.pJ.content,"StartTag StartCloseTag SelfCloserEndTag EndTag SelfCloseEndTag":r.pJ.angleBracket,TagName:r.pJ.tagName,"MismatchedCloseTag/TagName":[r.pJ.tagName,r.pJ.invalid],AttributeName:r.pJ.attributeName,"AttributeValue UnquotedAttributeValue":r.pJ.attributeValue,Is:r.pJ.definitionOperator,"EntityReference CharacterReference":r.pJ.character,Comment:r.pJ.blockComment,ProcessingInst:r.pJ.processingInstruction,DoctypeDecl:r.pJ.documentMeta}),w=i.WQ.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DSO$tQ!bO'#DUO$yQ!bO'#DVOOOW'#Dj'#DjOOOW'#DX'#DXQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%pQ#tO,59mOOOX'#D]'#D]O%xOXO'#CwO&TOXO,59YOOOY'#D^'#D^O&]OYO'#CzO&hOYO,59YOOO['#D_'#D_O&pO[O'#C}O&{O[O,59YOOOW'#D`'#D`O'TOxO,59YO'[Q!bO'#DQOOOW,59Y,59YOOO`'#Da'#DaO'aO!rO,59nOOOW,59n,59nO'iQ!bO,59pO'nQ!bO,59qOOOW-E7V-E7VO'sQ#tO'#CqOOQO'#DY'#DYO(OQ#tO1G.uOOOX1G.u1G.uO(WQ#tO1G/POOOY1G/P1G/PO(`Q#tO1G/SOOO[1G/S1G/SO(hQ#tO1G/V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_!uO`!uOa!uO!_!{O!`!uO~O_!xO`!xOa!xO!a!{O!b!xO~O`_a!cwz!c~",goto:"%o!_PPPPPPPPPPPPPPPPPP!`!fP!lPP!xPP!{#O#R#X#[#_#e#h#k#q#w!`P!`!`P#}$T$k$q$w$}%T%Z%aPPPPPPPP%gX^OX`pXUOX`pezabcde{}!P!R!TR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!TeZ!e{}!P!R!TQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:66,context:Q,nodeProps:[["closedBy",-11,1,2,3,4,5,6,7,8,9,10,11,"EndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,38,39,40,41,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag"]],propSources:[S],skippedNodes:[0],repeatNodeCount:9,tokenData:"!#b!aR!WOX$kXY)sYZ)sZ]$k]^)s^p$kpq)sqr$krs*zsv$kvw+dwx2yx}$k}!O3f!O!P$k!P!Q7_!Q![$k![!]8u!]!^$k!^!_>b!_!`!!p!`!a8T!a!c$k!c!}8u!}#R$k#R#S8u#S#T$k#T#o8u#o$f$k$f$g&R$g%W$k%W%o8u%o%p$k%p&a8u&a&b$k&b1p8u1p4U$k4U4d8u4d4e$k4e$IS8u$IS$I`$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!bM^!b~LZPLrRO!aLo!a!bL{!b~LoPMORO!`Lo!`!aMX!a~LoPM^OwPqMcT!bpOvLZvxLox!`LZ!`!aMr!a~LZqMyQ!bpwPOv'gx~'gaNUV!``OrNPrsLosvNPvwLow!aNP!a!bNk!b~NPaNpV!``OrNPrsLosvNPvwLow!`NP!`!a! V!a~NPa! ^R!``wPOr(]sv(]w~(]!R! nW!``!bpOrKjrsLZsvKjvwLowxNPx!`Kj!`!a!!W!a~Kj!R!!aT!``!bpwPOr(krs'gsv(kwx(]x~(k!V!!{VgS^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[y,v,$,b,x,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0},tokenPrec:476});function T(e,t,n){let i;for(let r of n)if(!r.attrs||r.attrs(i||(i=function(e,t){let n=Object.create(null);for(let i of e.firstChild.getChildren("Attribute")){let r=i.getChild("AttributeName"),s=i.getChild("AttributeValue")||i.getChild("UnquotedAttributeValue");r&&(n[t.read(r.from,r.to)]=s?"AttributeValue"==s.name?t.read(s.from+1,s.to-1):t.read(s.from,s.to):"")}return n}(e.node.parent,t))))return{parser:r.parser};return null}var P=n(61426),R=n(58037),C=n(47421),Z=n(78120),X=n(59119);let j=["_blank","_self","_top","_parent"],W=["ascii","utf-8","utf-16","latin1","latin1"],A=["get","post","put","delete"],_=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],q=["true","false"],z={},I={a:{attrs:{href:null,ping:null,type:null,media:null,target:j,hreflang:null}},abbr:z,address:z,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:z,aside:z,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:z,base:{attrs:{href:null,target:j}},bdi:z,bdo:z,blockquote:{attrs:{cite:null}},body:z,br:z,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:_,formmethod:A,formnovalidate:["novalidate"],formtarget:j,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:z,center:z,cite:z,code:z,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:z,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:z,div:z,dl:z,dt:z,em:z,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:z,figure:z,footer:z,form:{attrs:{action:null,name:null,"accept-charset":W,autocomplete:["on","off"],enctype:_,method:A,novalidate:["novalidate"],target:j}},h1:z,h2:z,h3:z,h4:z,h5:z,h6:z,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:z,hgroup:z,hr:z,html:{attrs:{manifest:null}},i:z,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:_,formmethod:A,formnovalidate:["novalidate"],formtarget:j,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:z,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:z,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:z,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:W,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:z,noscript:z,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:z,param:{attrs:{name:null,value:null}},pre:z,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:z,rt:z,ruby:z,samp:z,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:W}},section:z,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:z,source:{attrs:{src:null,type:null,media:null}},span:z,strong:z,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:z,summary:z,sup:z,table:z,tbody:z,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:z,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:z,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:z,time:{attrs:{datetime:null}},title:z,tr:z,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:z,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:z},E={accesskey:null,class:null,contenteditable:q,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:q,autocorrect:q,autocapitalize:q,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":q,"aria-autocomplete":["inline","list","both","none"],"aria-busy":q,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":q,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":q,"aria-hidden":q,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":q,"aria-multiselectable":q,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":q,"aria-relevant":null,"aria-required":q,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class G{constructor(e,t){this.tags=Object.assign(Object.assign({},I),e),this.globalAttrs=Object.assign(Object.assign({},E),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function L(e,t,n=e.length){if(!t)return"";let i=t.firstChild,r=i&&i.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,n)):""}function D(e,t=!1){for(let n=e.parent;n;n=n.parent)if("Element"==n.name){if(!t)return n;t=!1}return null}function N(e,t,n){let i=n.tags[L(e,D(t,!0))];return(null==i?void 0:i.children)||n.allTags}function U(e,t){let n=[];for(let i=t;i=D(i);){let r=L(e,i);if(r&&"CloseTag"==i.lastChild.name)break;r&&0>n.indexOf(r)&&("EndTag"==t.name||t.from>=i.firstChild.to)&&n.push(r)}return n}G.default=new G;let M=/^[:\-\.\w\u00b7-\uffff]*$/;function J(e,t,n,i,r){let s=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:i,to:r,options:N(e.doc,n,t).map(e=>({label:e,type:"type"})).concat(U(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+s,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function V(e,t,n,i){let r=/\s*>/.test(e.sliceDoc(i,i+5))?"":">";return{from:n,to:i,options:U(e.doc,t).map((e,t)=>({label:e,apply:e+r,type:"type",boost:99-t})),validFor:M}}function B(e,t){let{state:n,pos:i}=t,r=(0,X.qz)(n).resolveInner(i),s=r.resolve(i,-1);for(let o=i,a;r==s&&(a=s.childBefore(o));){let l=a.lastChild;if(!l||!l.type.isError||l.from({label:e,type:"property"})),validFor:M}}return"Is"==s.name||"AttributeValue"==s.name||"UnquotedAttributeValue"==s.name?function(e,t,n,i,r){var s;let o=null===(s=n.parent)||void 0===s?void 0:s.getChild("AttributeName"),a=[],l;if(o){let c=e.sliceDoc(o.from,o.to),h=t.globalAttrs[c];if(!h){let O=D(n),u=O?t.tags[L(e.doc,O)]:null;h=(null==u?void 0:u.attrs)&&u.attrs[c]}if(h){let f=e.sliceDoc(i,r).toLowerCase(),d='"',p='"';for(let m of(/^['"]/.test(f)?(l='"'==f[0]?/^[^"]*$/:/^[^']*$/,d="",p=e.sliceDoc(r,r+1)==f[0]?"":f[0],f=f.slice(1),i++):l=/^[^\s<>='"]*$/,h))a.push({label:m,apply:d+m+p,type:"constant"})}}return{from:i,to:r,options:a,validFor:l}}(n,e,s,"Is"==s.name?i:s.from,i):t.explicit&&("Element"==r.name||"Text"==r.name||"Document"==r.name)?function(e,t,n,i){let r=[],s=0;for(let o of N(e.doc,n,t))r.push({label:"<"+o,type:"type"});for(let a of U(e.doc,n))r.push({label:"",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(n,e,s,i):null}function Y(e){return B(G.default,e)}function F(e){let{extraTags:t,extraGlobalAttributes:n}=e,i=n||t?new G(t,n):G.default;return e=>B(i,e)}let H=X.qp.define({name:"html",parser:w.configure({props:[X.uj.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length{let s=e.type.id;return 27==s?T(e,r,t):30==s?T(e,r,n):33==s?T(e,r,i):null})}([{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:R.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:P.cssLanguage.parser}])}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function K(e={}){let t=H;return!1===e.matchClosingTags&&(t=t.configure({dialect:"noMatch"})),new X.ri(t,[H.data.of({autocomplete:F(e)}),!1!==e.autoCloseTags?ee:[],(0,R.javascript)().support,(0,P.css)().support])}let ee=C.tk.inputHandler.of((e,t,n,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!H.isActiveAt(e.state,t,-1))return!1;let{state:r}=e,s=r.changeByRange(t=>{var n,s,o;let{head:a}=t,l=(0,X.qz)(r).resolveInner(a,-1),c;if(("TagName"==l.name||"StartTag"==l.name)&&(l=l.parent),">"==i&&"OpenTag"==l.name){if((null===(s=null===(n=l.parent)||void 0===n?void 0:n.lastChild)||void 0===s?void 0:s.name)!="CloseTag"&&(c=L(r.doc,l.parent,a))){let h=">"===e.state.doc.sliceString(a,a+1),O=`${h?"":">"}`;return{range:Z.jT.cursor(a+1),changes:{from:a+(h?1:0),insert:O}}}}else if("/"==i&&"OpenTag"==l.name){let u=l.parent,f=null==u?void 0:u.parent;if(u.from==a-1&&(null===(o=f.lastChild)||void 0===o?void 0:o.name)!="CloseTag"&&(c=L(r.doc,f,a))){let d=">"===e.state.doc.sliceString(a,a+1),p=`/${c}${d?"":">"}`,m=a+p.length+(d?1:0);return{range:Z.jT.cursor(m),changes:{from:a,insert:p}}}}return{range:t}});return!s.changes.empty&&(e.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)})},58037:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return L},completionPath:function(){return X},esLint:function(){return D},javascript:function(){return I},javascriptLanguage:function(){return W},jsxLanguage:function(){return _},localCompletionSource:function(){return C},scopeCompletionSource:function(){return j},snippets:function(){return y},tsxLanguage:function(){return q},typescriptLanguage:function(){return A}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],o=new i.IK({start:!1,shift:(e,t)=>5==t||6==t||286==t?e:287==t,strict:!1}),a=new i.Jq((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&t.canShift(284)&&e.acceptToken(284)},{contextual:!0,fallback:!0}),l=new i.Jq((e,t)=>{let{next:n}=e,i;!(s.indexOf(n)>-1)&&(47!=n||47!=(i=e.peek(1))&&42!=i)&&125!=n&&59!=n&&-1!=n&&!t.context&&t.canShift(281)&&e.acceptToken(281)},{contextual:!0}),c=new i.Jq((e,t)=>{let{next:n}=e;if((43==n||45==n)&&(e.advance(),n==e.next)){e.advance();let i=!t.context&&t.canShift(2);e.acceptToken(i?2:3)}},{contextual:!0}),h=new i.Jq(e=>{for(let t=!1,n=0;;n++){let{next:i}=e;if(i<0){n&&e.acceptToken(282);break}if(96==i){n?e.acceptToken(282):e.acceptToken(283,1);break}if(123==i&&t){1==n?e.acceptToken(4,1):e.acceptToken(282,-1);break}if(10==i&&n){e.advance(),e.acceptToken(282);break}else 92==i&&e.advance();t=36==i,e.advance()}}),O=new i.Jq((e,t)=>{if(101==e.next&&t.dialectEnabled(1)){e.advance();for(let n=0;n<6;n++){if(e.next!="xtends".charCodeAt(n))return;e.advance()}e.next>=57&&e.next<=65||e.next>=48&&e.next<=90||95==e.next||e.next>=97&&e.next<=122||e.next>160||e.acceptToken(1)}}),u=(0,r.Gv)({"get set async static":r.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":r.pJ.controlKeyword,"in of await yield void typeof delete instanceof":r.pJ.operatorKeyword,"let var const function class extends":r.pJ.definitionKeyword,"import export from":r.pJ.moduleKeyword,"with debugger as new":r.pJ.keyword,TemplateString:r.pJ.special(r.pJ.string),super:r.pJ.atom,BooleanLiteral:r.pJ.bool,this:r.pJ.self,null:r.pJ.null,Star:r.pJ.modifier,VariableName:r.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":r.pJ.function(r.pJ.variableName),VariableDefinition:r.pJ.definition(r.pJ.variableName),Label:r.pJ.labelName,PropertyName:r.pJ.propertyName,PrivatePropertyName:r.pJ.special(r.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":r.pJ.function(r.pJ.propertyName),"FunctionDeclaration/VariableDefinition":r.pJ.function(r.pJ.definition(r.pJ.variableName)),"ClassDeclaration/VariableDefinition":r.pJ.definition(r.pJ.className),PropertyDefinition:r.pJ.definition(r.pJ.propertyName),PrivatePropertyDefinition:r.pJ.definition(r.pJ.special(r.pJ.propertyName)),UpdateOp:r.pJ.updateOperator,LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,Number:r.pJ.number,String:r.pJ.string,ArithOp:r.pJ.arithmeticOperator,LogicOp:r.pJ.logicOperator,BitOp:r.pJ.bitwiseOperator,CompareOp:r.pJ.compareOperator,RegExp:r.pJ.regexp,Equals:r.pJ.definitionOperator,Arrow:r.pJ.function(r.pJ.punctuation),": Spread":r.pJ.punctuation,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace,"InterpolationStart InterpolationEnd":r.pJ.special(r.pJ.brace),".":r.pJ.derefOperator,", ;":r.pJ.separator,TypeName:r.pJ.typeName,TypeDefinition:r.pJ.definition(r.pJ.typeName),"type enum interface implements namespace module declare":r.pJ.definitionKeyword,"abstract global Privacy readonly override":r.pJ.modifier,"is keyof unique infer":r.pJ.operatorKeyword,JSXAttributeValue:r.pJ.attributeValue,JSXText:r.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":r.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":r.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":r.pJ.attributeName}),f={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},d={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new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Z#SQ'[#TQ']#UQ'^#VQ'_#WQ'`#XQ'a#YQ'b#ZQ'd#]Q'g#bQ'k#eW'u#k'w,m1XQ)p$nS+R%x+TS+^&W/{Q+g&_Q,O&pQ,^&}Q,d'RQ,g9^Q,i9`Q,w(RQ-x)VQ/v+XQ/y+[Q0i,PQ0s,bQ0w9cQ0x9eQ0y9fQ0z9gQ0{9hQ0|9iQ0}9jQ1O9kQ1P9lQ1Q9mQ1R9nQ1S9oQ1T,hQ1W9sQ1]9pQ2O-zQ2[.]Q3s:QQ3v0TQ4W0jQ4[0tQ4]:RQ4b:TQ4c:_Q5`2qQ6S3qQ6V3xQ6b:`Q6f:gQ6g:hQ7g6WQ7z6{Q8Z7jQ8m8]Q8y8oQ9_!WR:|;aR!aRR&Y!bS&U!b+`S+]&V&^R0Q+fR'P!yR'S!zT!tU$ZS!sU$ZU$xrs*mS&s!r!uQ,T&tQ,W&wQ.l)zS0k,S,UR4X0l`!dR!]!`$u%x&`)x+hh!qUrs!r!u$Z&t&w)z,S,U0lQ/d*mQ/w+YQ3p/oT:s&W)yT!gR$uS!fR$uS%y!]&`S&O!`)xS+S%x+hT+_&W)yT&]!b$vQ#i^R'{#nT'q#i'rR1Z,lT(a#v(cR(i#yQ-})]Q2U.RQ2|.{Q4{2TQ5l3QQ6t4}Q7U5kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"⚠ extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:o,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[u],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R^p%Tpq%cqr'crs(kst0htu2`uv4pvw5ewx6cxyk|}?O}!O>k!O!P?`!P!QCl!Q!R!0[!R![!1q![!]!7s!]!^!8V!^!_!8g!_!`!9d!`!a!:[!a!b!U#R#S2`#S#T!>i#T#o2`#o#p!>y#p#q!?O#q#r!?f#r#s!?x#s$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$I|2`$I|$I}!Bq$I}$JO!Bq$JO$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`W%YR$UWO!^%T!_#o%T#p~%T7Z%jg$UW'Y7ROX%TXY%cYZ%TZ[%c[p%Tpq%cq!^%T!_#o%T#p$f%T$f$g%c$g#BY%T#BY#BZ%c#BZ$IS%T$IS$I_%c$I_$JT%T$JT$JU%c$JU$KV%T$KV$KW%c$KW&FU%T&FU&FV%c&FV?HT%T?HT?HU%c?HU~%T7Z'YR$UW'Z7RO!^%T!_#o%T#p~%T$T'jS$UW!j#{O!^%T!_!`'v!`#o%T#p~%T$O'}S#e#v$UWO!^%T!_!`(Z!`#o%T#p~%T$O(bR#e#v$UWO!^%T!_#o%T#p~%T)X(rZ$UW]#eOY(kYZ)eZr(krs*rs!^(k!^!_+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m$UWO!^%T!_!`'v!`!a!9z!a#o%T#p~%T$P!:RR#W#w$UWO!^%T!_#o%T#p~%T%V!:gT'a!R#a#v$RS$UWO!^%T!_!`!:v!`!a!;W!a#o%T#p~%T$O!:}R#a#v$UWO!^%T!_#o%T#p~%T$O!;_T#`#v$UWO!^%T!_!`5T!`!a!;n!a#o%T#p~%T$O!;uS#`#v$UWO!^%T!_!`5T!`#o%T#p~%T*a!]S#g#v$UWO!^%T!_!`5T!`#o%T#p~%T$a!>pR$UW'f$XO!^%T!_#o%T#p~%T~!?OO!T~5b!?VT'w5Y$UWO!^%T!_!`5T!`#o%T#p#q!=P#q~%T6X!?oR!S5}nQ$UWO!^%T!_#o%T#p~%TX!@PR!kP$UWO!^%T!_#o%T#p~%T7Z!@gr$UW'Y7R#zS']$y'g3SOX%TXY%cYZ%TZ[%c[p%Tpq%cqt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`7Z!CO_$UW'Z7R#zS']$y'g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[O,l,c,h,0,1,2,3,4,5,6,7,8,9,a],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{149:1,176:1},specialized:[{term:289,get:e=>f[e]||-1},{term:299,get:e=>d[e]||-1},{term:63,get:e=>p[e]||-1}],tokenPrec:12130});var g=n(59119),Q=n(78120),b=n(47421),x=n(34790),k=n(41113);let y=[(0,x.Gn)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,x.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,x.Gn)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,x.Gn)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,x.Gn)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,x.Gn)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,x.Gn)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,x.Gn)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,x.Gn)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,x.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,x.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],v=new k.hr,$=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function S(e){return(t,n)=>{let i=t.node.getChild("VariableDefinition");return i&&n(i,e),!0}}let w=["FunctionDeclaration"],T={FunctionDeclaration:S("function"),ClassDeclaration:S("class"),ClassExpression:()=>!0,EnumDeclaration:S("constant"),TypeAliasDeclaration:S("type"),NamespaceDeclaration:S("namespace"),VariableDefinition(e,t){e.matchContext(w)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},P=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,R=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function C(e){let t=(0,g.qz)(e.state).resolveInner(e.pos,-1);if(R.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&P.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let i=[];for(let r=t;r;r=r.parent)$.has(r.name)&&(i=i.concat(function e(t,n){let i=v.get(n);if(i)return i;let r=[],s=!0;function o(e,n){let i=t.sliceString(e.from,e.to);r.push({label:i,type:n})}return n.cursor(k.vj.IncludeAnonymous).iterate(n=>{if(s)s=!1;else if(n.name){let i=T[n.name];if(i&&i(n,o)||$.has(n.name))return!1}else if(n.to-n.from>8192){for(let a of e(t,n.node))r.push(a);return!1}}),v.set(n,r),r}(e.state.doc,r)));return{options:i,from:n?t.from:e.pos,validFor:P}}function Z(e,t,n){var i;let r=[];for(;;){let s=t.firstChild,o;if((null==s?void 0:s.name)=="VariableName")return r.push(e(s)),{path:r.reverse(),name:n};if((null==s?void 0:s.name)!="MemberExpression"||(null===(i=o=s.lastChild)||void 0===i?void 0:i.name)!="PropertyName")return null;r.push(e(o)),t=s}}function X(e){let t=t=>e.state.doc.sliceString(t.from,t.to),n=(0,g.qz)(e.state).resolveInner(e.pos,-1);return"PropertyName"==n.name?Z(t,n.parent,t(n)):R.indexOf(n.name)>-1?null:"VariableName"==n.name||n.to-n.from<20&&P.test(t(n))?{path:[],name:t(n)}:("."==n.name||"?."==n.name)&&"MemberExpression"==n.parent.name?Z(t,n.parent,""):"MemberExpression"==n.name?Z(t,n,""):e.explicit?{path:[],name:""}:null}function j(e){let t=new Map;return n=>{let i=X(n);if(!i)return null;let r=e;for(let s of i.path)if(!(r=r[s]))return null;let o=t.get(r);return o||t.set(r,o=function(e,t){let n=[],i=new Set;for(let r=0;;r++){for(let s of(Object.getOwnPropertyNames||Object.keys)(e)){let o;if(!i.has(s)){i.add(s);try{o=e[s]}catch(a){continue}n.push({label:s,type:"function"==typeof o?/^[A-Z]/.test(s)?"class":t?"function":"method":t?"variable":"property",boost:-r})}}let l=Object.getPrototypeOf(e);if(!l)return n;e=l}}(r,!i.path.length)),{from:n.pos-i.name.length,options:o,validFor:P}}}let W=g.qp.define({name:"javascript",parser:m.configure({props:[g.uj.add({IfStatement:(0,g.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,g.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:g.ze,SwitchBody(e){let t=e.textAfter,n=/^\s*\}/.test(t),i=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:i?1:2)*e.unit},Block:(0,g.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,g.tC)({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),g.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":g.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),A=W.configure({dialect:"ts"},"typescript"),_=W.configure({dialect:"jsx"}),q=W.configure({dialect:"jsx ts"},"typescript"),z="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(e=>({label:e,type:"keyword"}));function I(e={}){let t=e.jsx?e.typescript?q:_:e.typescript?A:W;return new g.ri(t,[W.data.of({autocomplete:(0,x.eC)(R,(0,x.Mb)(y.concat(z)))}),W.data.of({autocomplete:C}),e.jsx?L:[]])}function E(e,t,n=e.length){if(!t)return"";let i=t.getChild("JSXIdentifier");return i?e.sliceString(i.from,Math.min(i.to,n)):""}let G="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),L=b.tk.inputHandler.of((e,t,n,i)=>{if((G?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!W.isActiveAt(e.state,t,-1))return!1;let{state:r}=e,s=r.changeByRange(e=>{var t,n,s;let{head:o}=e,a=(0,g.qz)(r).resolveInner(o,-1),l;if("JSXStartTag"==a.name&&(a=a.parent),">"==i&&"JSXFragmentTag"==a.name)return{range:Q.jT.cursor(o+1),changes:{from:o,insert:"><>"}};if(">"==i&&"JSXIdentifier"==a.name){if((null===(n=null===(t=a.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)!="JSXEndTag"&&(l=E(r.doc,a.parent,o)))return{range:Q.jT.cursor(o+1),changes:{from:o,insert:`>`}}}else if("/"==i&&"JSXFragmentTag"==a.name){let c=a.parent,h=null==c?void 0:c.parent;if(c.from==o-1&&(null===(s=h.lastChild)||void 0===s?void 0:s.name)!="JSXEndTag"&&(l=E(r.doc,null==h?void 0:h.firstChild,o))){let O=`/${l}>`;return{range:Q.jT.cursor(o+O.length),changes:{from:o,insert:O}}}}return{range:e}});return!s.changes.empty&&(e.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)});function D(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((e,n)=>{e.meta.docs.recommended&&(t.rules[n]=2)})),n=>{let{state:i}=n,r=[];for(let{from:s,to:o}of W.findRegions(i)){let a=i.doc.lineAt(s),l={line:a.number-1,col:s-a.from,pos:s};for(let c of e.verify(i.sliceDoc(s,o),t))r.push(function(e,t,n){let i=N(e.line,e.column,t,n),r={from:i,to:null!=e.endLine&&1!=e.endColumn?N(e.endLine,e.endColumn,t,n):i,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:s,text:o}=e.fix,a=s[0]+n.pos-i,l=s[1]+n.pos-i;r.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+a,to:t+l,insert:o},scrollIntoView:!0})}}]}return r}(c,i.doc,l))}return r}}function N(e,t,n,i){return n.line(e+i.line).from+t+(1==e?i.col-1:-1)}},48825:function(e,t,n){"use strict";n.r(t),n.d(t,{commonmarkLanguage:function(){return eX},deleteMarkupBackward:function(){return eL},insertNewlineContinueMarkup:function(){return eE},markdown:function(){return eU},markdownKeymap:function(){return eD},markdownLanguage:function(){return eW}});var i,r,s=n(78120),o=n(47421),a=n(59119),l=n(41113),c=n(35524);class h{constructor(e,t,n,i,r,s,o){this.type=e,this.value=t,this.from=n,this.hash=i,this.end=r,this.children=s,this.positions=o,this.hashProp=[[l.md.contextHash,i]]}static create(e,t,n,i,r){return new h(e,t,n,i+(i<<8)+e+(t<<4)|0,r,[],[])}addChild(e,t){e.prop(l.md.contextHash)!=this.hash&&(e=new l.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new l.mp(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new l.mp(l.Jq.none,e,t,n,this.hashProp)})}}(i=r||(r={}))[i.Document=1]="Document",i[i.CodeBlock=2]="CodeBlock",i[i.FencedCode=3]="FencedCode",i[i.Blockquote=4]="Blockquote",i[i.HorizontalRule=5]="HorizontalRule",i[i.BulletList=6]="BulletList",i[i.OrderedList=7]="OrderedList",i[i.ListItem=8]="ListItem",i[i.ATXHeading1=9]="ATXHeading1",i[i.ATXHeading2=10]="ATXHeading2",i[i.ATXHeading3=11]="ATXHeading3",i[i.ATXHeading4=12]="ATXHeading4",i[i.ATXHeading5=13]="ATXHeading5",i[i.ATXHeading6=14]="ATXHeading6",i[i.SetextHeading1=15]="SetextHeading1",i[i.SetextHeading2=16]="SetextHeading2",i[i.HTMLBlock=17]="HTMLBlock",i[i.LinkReference=18]="LinkReference",i[i.Paragraph=19]="Paragraph",i[i.CommentBlock=20]="CommentBlock",i[i.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",i[i.Escape=22]="Escape",i[i.Entity=23]="Entity",i[i.HardBreak=24]="HardBreak",i[i.Emphasis=25]="Emphasis",i[i.StrongEmphasis=26]="StrongEmphasis",i[i.Link=27]="Link",i[i.Image=28]="Image",i[i.InlineCode=29]="InlineCode",i[i.HTMLTag=30]="HTMLTag",i[i.Comment=31]="Comment",i[i.ProcessingInstruction=32]="ProcessingInstruction",i[i.URL=33]="URL",i[i.HeaderMark=34]="HeaderMark",i[i.QuoteMark=35]="QuoteMark",i[i.ListMark=36]="ListMark",i[i.LinkMark=37]="LinkMark",i[i.EmphasisMark=38]="EmphasisMark",i[i.CodeMark=39]="CodeMark",i[i.CodeText=40]="CodeText",i[i.CodeInfo=41]="CodeInfo",i[i.LinkTitle=42]="LinkTitle",i[i.LinkLabel=43]="LinkLabel";class O{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class u{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return m(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let i=t;i=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let i=(e.type==r.OrderedList?v:y)(n,t,!1);return i>0&&(e.type!=r.BulletList||0>x(n,t,!1))&&n.text.charCodeAt(n.pos+i-1)==e.value}let d={[r.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(Y(r.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(p(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[r.ListItem]:(e,t,n)=>(!(n.indent-1))&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[r.OrderedList]:f,[r.BulletList]:f,[r.Document]:()=>!0};function p(e){return 32==e||9==e||10==e||13==e}function m(e,t=0){for(;tn&&p(e.charCodeAt(t-1));)t--;return t}function Q(e){if(96!=e.next&&126!=e.next)return -1;let t=e.pos+1;for(;t-1&&e.depth==t.stack.length?-1:i<3?-1:1}function k(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function y(e,t,n){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||p(e.text.charCodeAt(e.pos+1)))&&(!n||k(t,r.BulletList)||e.skipSpace(e.pos+2)=48&&s<=57;){if(++i==e.text.length)return -1;s=e.text.charCodeAt(i)}return i==e.pos||i>e.pos+9||46!=s&&41!=s||ie.pos+1||49!=e.next)?-1:i+1-e.pos}function $(e){if(35!=e.next)return -1;let t=e.pos+1;for(;t6?-1:n}function S(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let t=e.pos+1;for(;t/,P=/\?>/,R=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(i);if(o)return e.append(Y(r.Comment,n,n+1+o[0].length));let a=/^\?[^]*?\?>/.exec(i);if(a)return e.append(Y(r.ProcessingInstruction,n,n+1+a[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return l?e.append(Y(r.HTMLTag,n,n+1+l[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return -1;let i=n+1;for(;e.char(i)==t;)i++;let r=e.slice(n-1,n),s=e.slice(i,i+1),o=ei.test(r),a=ei.test(s),l=/\s|^$/.test(r),c=/\s|^$/.test(s),h=!c&&(!a||l||o),O=!l&&(!o||c||a);return e.append(new et(95==t?F:H,n,i,(h&&(42==t||!O||o)?1:0)|(O&&(42==t||!h||a)?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(Y(r.HardBreak,n,n+2));if(32==t){let i=n+1;for(;32==e.char(i);)i++;if(10==e.char(i)&&i>=n+2)return e.append(Y(r.HardBreak,n,i+1))}return -1},Link:(e,t,n)=>91==t?e.append(new et(K,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new et(ee,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return -1;for(let i=e.parts.length-1;i>=0;i--){let s=e.parts[i];if(s instanceof et&&(s.type==K||s.type==ee)){if(!s.side||e.skipSpace(s.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[i]=null,-1;let o=e.takeContent(i),a=e.parts[i]=function(e,t,n,i,s){let{text:o}=e,a=e.char(s),l=s;if(t.unshift(Y(r.LinkMark,i,i+(n==r.Image?2:1))),t.push(Y(r.LinkMark,s-1,s)),40==a){let c=e.skipSpace(s+1),h=eo(o,c-e.offset,e.offset),O;h&&(c=e.skipSpace(h.to),(O=ea(o,c-e.offset,e.offset))&&(c=e.skipSpace(O.to))),41==e.char(c)&&(t.push(Y(r.LinkMark,s,s+1)),l=c+1,h&&t.push(h),O&&t.push(O),t.push(Y(r.LinkMark,c,l)))}else if(91==a){let u=el(o,s-e.offset,e.offset,!1);u&&(t.push(u),l=u.to)}return Y(n,i,l,t)}(e,o,s.type==K?r.Link:r.Image,s.from,n+1);if(s.type==K)for(let l=0;lt?Y(r.URL,t+n,a+n):a==e.length&&null}}function ea(e,t,n){let i=e.charCodeAt(t);if(39!=i&&34!=i&&40!=i)return!1;let s=40==i?41:i;for(let o=t+1,a=!1;o=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,i,r){return this.append(new et(e,t,n,(i?1:0)|(r?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t=e;o--){let a=this.parts[o];if(a instanceof et&&1&a.side&&a.type==n.type&&!(i&&(1&n.side||2&a.side)&&(a.to-a.from+r)%3==0&&((a.to-a.from)%3||r%3))){s=a;break}}if(!s)continue;let l=n.type.resolve,c=[],h=s.from,O=n.to;if(i){let u=Math.min(2,s.to-s.from,r);h=s.to-u,O=n.from+u,l=1==u?"Emphasis":"StrongEmphasis"}s.type.mark&&c.push(this.elt(s.type.mark,h,s.to));for(let f=o+1;f=0;t--){let n=this.parts[t];if(n instanceof et&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return m(this.text,e-this.offset)+this.offset}elt(e,t,n,i){return"string"==typeof e?Y(this.parser.getNodeType(e),t,n,i):new B(e,t)}}function eh(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),i=0;for(let r of t){for(;i(e?e-1:0))return!1;if(this.fragmentEnd<0){let n=this.fragment.to;for(;n>0&&"\n"!=this.input.read(n-1,n);)n--;this.fragmentEnd=n?n-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor()).firstChild();let r=e+this.fragment.offset;for(;i.to<=r;)if(!i.parent())return!1;for(;;){if(i.from>=r)return this.fragment.from<=t;if(!i.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(l.md.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,s=r,o=e.block.children.length,a=s,l=o;for(;;){if(t.to-n>i){if(t.type.isAnonymous&&t.firstChild())continue;break}if(e.dontInject.add(t.tree),e.addNode(t.tree,t.from-n),t.type.is("Block")&&(0>eO.indexOf(t.type.id)?(s=t.to-n,o=e.block.children.length):(s=a,o=l,a=t.to-n,l=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return s-r}}let ef=(0,c.Gv)({"Blockquote/...":c.pJ.quote,HorizontalRule:c.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":c.pJ.heading1,"ATXHeading2/... SetextHeading2/...":c.pJ.heading2,"ATXHeading3/...":c.pJ.heading3,"ATXHeading4/...":c.pJ.heading4,"ATXHeading5/...":c.pJ.heading5,"ATXHeading6/...":c.pJ.heading6,"Comment CommentBlock":c.pJ.comment,Escape:c.pJ.escape,Entity:c.pJ.character,"Emphasis/...":c.pJ.emphasis,"StrongEmphasis/...":c.pJ.strong,"Link/... Image/...":c.pJ.link,"OrderedList/... BulletList/...":c.pJ.list,"BlockQuote/...":c.pJ.quote,"InlineCode CodeText":c.pJ.monospace,URL:c.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":c.pJ.processingInstruction,"CodeInfo LinkLabel":c.pJ.labelName,LinkTitle:c.pJ.string,Paragraph:c.pJ.content}),ed=new E(new l.Lj(D).extend(ef),Object.keys(j).map(e=>j[e]),Object.keys(j).map(e=>q[e]),Object.keys(j),[(e,t)=>$(t)>=0,(e,t)=>Q(t)>=0,(e,t)=>b(t)>=0,(e,t)=>y(t,e,!0)>=0,(e,t)=>v(t,e,!0)>=0,(e,t)=>x(t,e,!0)>=0,(e,t)=>C(t,e,!0)>=0],d,Object.keys(es).map(e=>es[e]),Object.keys(es),[]),ep={resolve:"Strikethrough",mark:"StrikethroughMark"},em={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":c.pJ.strikethrough}},{name:"StrikethroughMark",style:c.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return -1;let i=e.slice(n-1,n),r=e.slice(n+2,n+3),s=/\s|^$/.test(i),o=/\s|^$/.test(r),a=ei.test(i),l=ei.test(r);return e.addDelimiter(ep,n,n+2,!o&&(!l||s||a),!s&&(!a||o||l))},after:"Emphasis"}]};function eg(e,t,n=0,i,r=0){let s=0,o=!0,a=-1,l=-1,c=!1,h=()=>{i.push(e.elt("TableCell",r+a,r+l,e.parser.parseInline(t.slice(a,l),r+a)))};for(let O=n;O-1)&&s++,o=!1,i&&(a>-1&&h(),i.push(e.elt("TableDelimiter",O+r,O+r+1))),a=l=-1),c=!c&&92==u}return a>-1&&(s++,i&&h()),s}function eQ(e,t){for(let n=t;neQ(t.content,0)?new ex:null,endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof ex)||!eQ(t.text,t.basePos))return!1;let i=e.scanLine(e.absoluteLineEnd+1).text;return eb.test(i)&&eg(e,t.text,t.basePos)==eg(e,i,t.basePos)},before:"SetextHeading"}]};class ey{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}let ev={defineNodes:[{name:"Task",block:!0,style:c.pJ.list},{name:"TaskMarker",style:c.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\]/.test(t.content)&&"ListItem"==e.parentType().name?new ey:null,after:"SetextHeading"}]};function e$(e,t,n){return(i,r,s)=>{if(r!=e||i.char(s+1)==e)return -1;let o=[i.elt(n,s,s+1)];for(let a=s+1;a"}}),eC=ed.configure({props:[a.x0.add(e=>{if(!(!e.is("Block")||e.is("Document")))return(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),a.uj.add({Document:()=>null}),a.pp.add({Document:eR})]});function eZ(e){return new a.SQ(eR,e,[],"markdown")}let eX=eZ(eC),ej=eC.configure([[ek,ev,em],ew,eS,eT]),eW=eZ(ej);function eA(e,t){return t.sliceString(e.from,e.from+50)}class e_{constructor(e,t,n,i,r,s,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=i,this.spaceAfter=r,this.type=s,this.item=o}blank(e=!0){let t=this.spaceBefore;if("Blockquote"==this.node.name)t+=">";else for(let n=this.to-this.from-t.length-this.spaceAfter.length;n>0;n--)t+=" ";return t+(e?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+ez(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function eq(e,t,n){let i=[];for(let r=e;r&&"Document"!=r.name;r=r.parent)("ListItem"==r.name||"Blockquote"==r.name||"FencedCode"==r.name)&&i.push(r);let s=[],o=0;for(let a=i.length-1;a>=0;a--){let l=i[a],c,h=o;if("FencedCode"==l.name)s.push(new e_(l,o,o,"","","",null));else if("Blockquote"==l.name&&(c=/^[ \t]*>( ?)/.exec(t.slice(o))))o+=c[0].length,s.push(new e_(l,h,o,"",c[1],">",null));else if("ListItem"==l.name&&"OrderedList"==l.parent.name&&(c=/^([ \t]*)\d+([.)])([ \t]*)/.exec(eA(l,n)))){let O=c[3],u=c[0].length;O.length>=4&&(O=O.slice(0,O.length-4),u-=4),o+=u,s.push(new e_(l.parent,h,o,c[1],O,c[2],l))}else if("ListItem"==l.name&&"BulletList"==l.parent.name&&(c=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(eA(l,n)))){let f=c[4],d=c[0].length;f.length>4&&(f=f.slice(0,f.length-4),d-=4);let p=c[2];c[3]&&(p+=c[3].replace(/[xX]/," ")),o+=d,s.push(new e_(l.parent,h,o,c[1],f,p,l))}}return s}function ez(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function eI(e,t,n,i=0){for(let r=-1,s=e;;){if("ListItem"==s.name){let o=ez(s,t),a=+o[2];if(r>=0){if(a!=r+1)return;n.push({from:s.from+o[1].length,to:s.from+o[0].length,insert:String(r+2+i)})}r=a}let l=s.nextSibling;if(!l)break;s=l}}let eE=({state:e,dispatch:t})=>{let n=(0,a.qz)(e),{doc:i}=e,r=null,o=e.changeByRange(t=>{if(!t.empty||!eW.isActiveAt(e,t.from))return r={range:t};let o=t.from,a=i.lineAt(o),l=eq(n.resolveInner(o,-1),a.text,i);for(;l.length&&l[l.length-1].from>o-a.from;)l.pop();if(!l.length)return r={range:t};let c=l[l.length-1];if(c.to-c.spaceAfter.length>o-a.from)return r={range:t};let h=o>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&h){if(c.node.firstChild.to>=o||a.from>0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){let O=l.length>1?l[l.length-2]:null,u,f="";O&&O.item?(u=a.from+O.from,f=O.marker(i,1)):u=a.from+(O?O.to:0);let d=[{from:u,to:o,insert:f}];return"OrderedList"==c.node.name&&eI(c.item,i,d,-2),O&&"OrderedList"==O.node.name&&eI(O.item,i,d),{range:s.jT.cursor(u+f.length),changes:d}}{let p="";for(let m=0,g=l.length-2;m<=g;m++)p+=l[m].blank(m\s*$/.exec(Q.text);if(b&&b.index==c.from){let x=e.changes([{from:Q.from+b.index,to:Q.to},{from:a.from+c.from,to:a.to}]);return{range:t.map(x),changes:x}}}let k=[];"OrderedList"==c.node.name&&eI(c.item,i,k);let y=e.lineBreak,v=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let $=0,S=l.length-1;$<=S;$++)y+=$!=S||v?l[$].blank():l[$].marker(i,1);let w=o;for(;w>a.from&&/\s/.test(a.text.charAt(w-a.from-1));)w--;return k.push({from:w,to:o,insert:y}),{range:s.jT.cursor(w+y.length),changes:k}});return!r&&(t(e.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)};function eG(e){return"QuoteMark"==e.name||"ListMark"==e.name}let eL=({state:e,dispatch:t})=>{let n=(0,a.qz)(e),i=null,r=e.changeByRange(t=>{let r=t.from,{doc:o}=e;if(t.empty&&eW.isActiveAt(e,t.from)){let a=o.lineAt(r),l=eq(function(e,t){let n=e.resolveInner(t,-1),i=t;eG(n)&&(i=n.from,n=n.parent);for(let r;r=n.childBefore(i);)if(eG(r))i=r.from;else if("OrderedList"==r.name||"BulletList"==r.name)i=(n=r.lastChild).to;else break;return n}(n,r),a.text,o);if(l.length){let c=l[l.length-1],h=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(r-a.from>h&&!/\S/.test(a.text.slice(h,r-a.from)))return{range:s.jT.cursor(a.from+h),changes:{from:a.from+h,to:r}};if(r-a.from==h){let O=a.from+c.from;if(c.item&&c.node.from{if(e&&n){let i=null;if(e=/\S*/.exec(e)[0],(i="function"==typeof n?n(e):a.c6.matchLanguageName(n,e,!0))instanceof a.c6)return i.support?i.support.language.parser:a.Be.getSkippingParser(i.load());if(i)return i.parser}return t?t.parser:null}):void 0;return O.push(function(e){let{codeParser:t,htmlParser:n}=e,i=(0,l.FE)((e,i)=>{let s=e.type.id;if(t&&(s==r.CodeBlock||s==r.FencedCode)){let o="";if(s==r.FencedCode){let a=e.node.getChild(r.CodeInfo);a&&(o=i.read(a.from,a.to))}let l=t(o);if(l)return{parser:l,overlay:e=>e.type.id==r.CodeText}}else if(n&&(s==r.HTMLBlock||s==r.HTMLTag))return{parser:n,overlay:function(e,t,n){let i=[];for(let r=e.firstChild,s=t;;r=r.nextSibling){let o=r?r.from:n;if(o>s&&i.push({from:s,to:o}),!r)break;s=r.to}return i}(e.node,e.from,e.to)};return null});return{wrap:i}}({codeParser:d,htmlParser:eN.language.parser})),c&&u.push(s.Wl.high(o.$f.of(eD))),new a.ri(eZ(h.configure(O)),u)}},76538:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var i=n(59119);function r(e){return new i.ri(i.il.define(e))}function s(e){return n.e(1390).then(n.bind(n,21390)).then(t=>t.sql({dialect:t[e]}))}let o=[i.c6.of({name:"C",extensions:["c","h","ino"],load:()=>n.e(2750).then(n.bind(n,12750)).then(e=>e.cpp())}),i.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>n.e(2750).then(n.bind(n,12750)).then(e=>e.cpp())}),i.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>s("Cassandra")}),i.c6.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(n.bind(n,61426)).then(e=>e.css())}),i.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(n.bind(n,13804)).then(e=>e.html())}),i.c6.of({name:"Java",extensions:["java"],load:()=>n.e(4778).then(n.bind(n,44778)).then(e=>e.java())}),i.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript())}),i.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>n.e(4732).then(n.bind(n,44732)).then(e=>e.json())}),i.c6.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript({jsx:!0}))}),i.c6.of({name:"MariaDB SQL",load:()=>s("MariaSQL")}),i.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(n.bind(n,48825)).then(e=>e.markdown())}),i.c6.of({name:"MS SQL",load:()=>s("MSSQL")}),i.c6.of({name:"MySQL",load:()=>s("MySQL")}),i.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>n.e(2386).then(n.bind(n,12386)).then(e=>e.php())}),i.c6.of({name:"PLSQL",extensions:["pls"],load:()=>s("PLSQL")}),i.c6.of({name:"PostgreSQL",load:()=>s("PostgreSQL")}),i.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>n.e(8088).then(n.bind(n,28088)).then(e=>e.python())}),i.c6.of({name:"Rust",extensions:["rs"],load:()=>n.e(4920).then(n.bind(n,24920)).then(e=>e.rust())}),i.c6.of({name:"SQL",extensions:["sql"],load:()=>s("StandardSQL")}),i.c6.of({name:"SQLite",load:()=>s("SQLite")}),i.c6.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript({jsx:!0,typescript:!0}))}),i.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript({typescript:!0}))}),i.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>n.e(9972).then(n.bind(n,9972)).then(e=>e.wast())}),i.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>n.e(5122).then(n.bind(n,5122)).then(e=>e.xml())}),i.c6.of({name:"APL",extensions:["dyalog","apl"],load:()=>n.e(870).then(n.bind(n,90870)).then(e=>r(e.apl))}),i.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>n.e(8029).then(n.bind(n,58029)).then(e=>r(e.asciiArmor))}),i.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>n.e(3203).then(n.bind(n,93203)).then(e=>r(e.asn1({})))}),i.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>n.e(5648).then(n.bind(n,15648)).then(e=>r(e.asterisk))}),i.c6.of({name:"Brainfuck",extensions:["b","bf"],load:()=>n.e(2675).then(n.bind(n,9521)).then(e=>r(e.brainfuck))}),i.c6.of({name:"Cobol",extensions:["cob","cpy"],load:()=>n.e(8915).then(n.bind(n,68915)).then(e=>r(e.cobol))}),i.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.csharp))}),i.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>n.e(2406).then(n.bind(n,72406)).then(e=>r(e.clojure))}),i.c6.of({name:"ClojureScript",extensions:["cljs"],load:()=>n.e(2406).then(n.bind(n,72406)).then(e=>r(e.clojure))}),i.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>n.e(2136).then(n.bind(n,62136)).then(e=>r(e.gss))}),i.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>n.e(889).then(n.bind(n,70889)).then(e=>r(e.cmake))}),i.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>n.e(9558).then(n.bind(n,29558)).then(e=>r(e.coffeeScript))}),i.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>n.e(1446).then(n.bind(n,61446)).then(e=>r(e.commonLisp))}),i.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>n.e(673).then(n.bind(n,20673)).then(e=>r(e.cypher))}),i.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>n.e(4323).then(n.bind(n,74323)).then(e=>r(e.cython))}),i.c6.of({name:"Crystal",extensions:["cr"],load:()=>n.e(2602).then(n.bind(n,62602)).then(e=>r(e.crystal))}),i.c6.of({name:"D",extensions:["d"],load:()=>n.e(1660).then(n.bind(n,11660)).then(e=>r(e.d))}),i.c6.of({name:"Dart",extensions:["dart"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.dart))}),i.c6.of({name:"diff",extensions:["diff","patch"],load:()=>n.e(7475).then(n.bind(n,87475)).then(e=>r(e.diff))}),i.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>n.e(4812).then(n.bind(n,34812)).then(e=>r(e.dockerFile))}),i.c6.of({name:"DTD",extensions:["dtd"],load:()=>n.e(6991).then(n.bind(n,76991)).then(e=>r(e.dtd))}),i.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>n.e(4144).then(n.bind(n,24144)).then(e=>r(e.dylan))}),i.c6.of({name:"EBNF",load:()=>n.e(2040).then(n.bind(n,82040)).then(e=>r(e.ebnf))}),i.c6.of({name:"ECL",extensions:["ecl"],load:()=>n.e(7315).then(n.bind(n,37315)).then(e=>r(e.ecl))}),i.c6.of({name:"edn",extensions:["edn"],load:()=>n.e(2406).then(n.bind(n,72406)).then(e=>r(e.clojure))}),i.c6.of({name:"Eiffel",extensions:["e"],load:()=>n.e(7525).then(n.bind(n,87525)).then(e=>r(e.eiffel))}),i.c6.of({name:"Elm",extensions:["elm"],load:()=>n.e(8770).then(n.bind(n,28770)).then(e=>r(e.elm))}),i.c6.of({name:"Erlang",extensions:["erl"],load:()=>n.e(7590).then(n.bind(n,53482)).then(e=>r(e.erlang))}),i.c6.of({name:"Esper",load:()=>n.e(9607).then(n.bind(n,54050)).then(e=>r(e.esper))}),i.c6.of({name:"Factor",extensions:["factor"],load:()=>n.e(7001).then(n.bind(n,87001)).then(e=>r(e.factor))}),i.c6.of({name:"FCL",load:()=>n.e(7663).then(n.bind(n,77663)).then(e=>r(e.fcl))}),i.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>n.e(8393).then(n.bind(n,68393)).then(e=>r(e.forth))}),i.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>n.e(8283).then(n.bind(n,8283)).then(e=>r(e.fortran))}),i.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>n.e(6121).then(n.bind(n,96121)).then(e=>r(e.fSharp))}),i.c6.of({name:"Gas",extensions:["s"],load:()=>n.e(9781).then(n.bind(n,39781)).then(e=>r(e.gas))}),i.c6.of({name:"Gherkin",extensions:["feature"],load:()=>n.e(2542).then(n.bind(n,2542)).then(e=>r(e.gherkin))}),i.c6.of({name:"Go",extensions:["go"],load:()=>n.e(8910).then(n.bind(n,48910)).then(e=>r(e.go))}),i.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>n.e(3883).then(n.bind(n,23883)).then(e=>r(e.groovy))}),i.c6.of({name:"Haskell",extensions:["hs"],load:()=>n.e(5372).then(n.bind(n,95372)).then(e=>r(e.haskell))}),i.c6.of({name:"Haxe",extensions:["hx"],load:()=>n.e(3509).then(n.bind(n,63509)).then(e=>r(e.haxe))}),i.c6.of({name:"HXML",extensions:["hxml"],load:()=>n.e(3509).then(n.bind(n,63509)).then(e=>r(e.hxml))}),i.c6.of({name:"HTTP",load:()=>n.e(7558).then(n.bind(n,36395)).then(e=>r(e.http))}),i.c6.of({name:"IDL",extensions:["pro"],load:()=>n.e(2314).then(n.bind(n,22314)).then(e=>r(e.idl))}),i.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>n.e(9296).then(n.bind(n,59296)).then(e=>r(e.jsonld))}),i.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:()=>n.e(1084).then(n.bind(n,41084)).then(e=>r(e.jinja2))}),i.c6.of({name:"Julia",extensions:["jl"],load:()=>n.e(6092).then(n.bind(n,76092)).then(e=>r(e.julia))}),i.c6.of({name:"Kotlin",extensions:["kt"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.kotlin))}),i.c6.of({name:"LESS",extensions:["less"],load:()=>n.e(2136).then(n.bind(n,62136)).then(e=>r(e.less))}),i.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>n.e(402).then(n.bind(n,60402)).then(e=>r(e.liveScript))}),i.c6.of({name:"Lua",extensions:["lua"],load:()=>n.e(3519).then(n.bind(n,3519)).then(e=>r(e.lua))}),i.c6.of({name:"mIRC",extensions:["mrc"],load:()=>n.e(5134).then(n.bind(n,65134)).then(e=>r(e.mirc))}),i.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>n.e(7213).then(n.bind(n,37213)).then(e=>r(e.mathematica))}),i.c6.of({name:"Modelica",extensions:["mo"],load:()=>n.e(305).then(n.bind(n,40305)).then(e=>r(e.modelica))}),i.c6.of({name:"MUMPS",extensions:["mps"],load:()=>n.e(7988).then(n.bind(n,17988)).then(e=>r(e.mumps))}),i.c6.of({name:"Mbox",extensions:["mbox"],load:()=>n.e(9121).then(n.bind(n,29121)).then(e=>r(e.mbox))}),i.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>n.e(8561).then(n.bind(n,78561)).then(e=>r(e.nginx))}),i.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>n.e(7370).then(n.bind(n,67370)).then(e=>r(e.nsis))}),i.c6.of({name:"NTriples",extensions:["nt","nq"],load:()=>n.e(3314).then(n.bind(n,43314)).then(e=>r(e.ntriples))}),i.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.objectiveC))}),i.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.objectiveCpp))}),i.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>n.e(6121).then(n.bind(n,96121)).then(e=>r(e.oCaml))}),i.c6.of({name:"Octave",extensions:["m"],load:()=>n.e(3283).then(n.bind(n,33283)).then(e=>r(e.octave))}),i.c6.of({name:"Oz",extensions:["oz"],load:()=>n.e(4796).then(n.bind(n,94796)).then(e=>r(e.oz))}),i.c6.of({name:"Pascal",extensions:["p","pas"],load:()=>n.e(4163).then(n.bind(n,44163)).then(e=>r(e.pascal))}),i.c6.of({name:"Perl",extensions:["pl","pm"],load:()=>n.e(4293).then(n.bind(n,94293)).then(e=>r(e.perl))}),i.c6.of({name:"Pig",extensions:["pig"],load:()=>n.e(3482).then(n.bind(n,33482)).then(e=>r(e.pig))}),i.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>n.e(7421).then(n.bind(n,37421)).then(e=>r(e.powerShell))}),i.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>n.e(9071).then(n.bind(n,69071)).then(e=>r(e.properties))}),i.c6.of({name:"ProtoBuf",extensions:["proto"],load:()=>n.e(8142).then(n.bind(n,78142)).then(e=>r(e.protobuf))}),i.c6.of({name:"Puppet",extensions:["pp"],load:()=>n.e(3993).then(n.bind(n,83993)).then(e=>r(e.puppet))}),i.c6.of({name:"Q",extensions:["q"],load:()=>n.e(228).then(n.bind(n,10228)).then(e=>r(e.q))}),i.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>n.e(7365).then(n.bind(n,57365)).then(e=>r(e.r))}),i.c6.of({name:"RPM Changes",load:()=>n.e(8171).then(n.bind(n,48171)).then(e=>r(e.rpmChanges))}),i.c6.of({name:"RPM Spec",extensions:["spec"],load:()=>n.e(8171).then(n.bind(n,48171)).then(e=>r(e.rpmSpec))}),i.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:()=>n.e(4439).then(n.bind(n,24439)).then(e=>r(e.ruby))}),i.c6.of({name:"SAS",extensions:["sas"],load:()=>n.e(1770).then(n.bind(n,1770)).then(e=>r(e.sas))}),i.c6.of({name:"Sass",extensions:["sass"],load:()=>n.e(9809).then(n.bind(n,49809)).then(e=>r(e.sass))}),i.c6.of({name:"Scala",extensions:["scala"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.scala))}),i.c6.of({name:"Scheme",extensions:["scm","ss"],load:()=>n.e(5879).then(n.bind(n,95879)).then(e=>r(e.scheme))}),i.c6.of({name:"SCSS",extensions:["scss"],load:()=>n.e(2136).then(n.bind(n,62136)).then(e=>r(e.sCSS))}),i.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>n.e(4879).then(n.bind(n,44879)).then(e=>r(e.shell))}),i.c6.of({name:"Sieve",extensions:["siv","sieve"],load:()=>n.e(9713).then(n.bind(n,9713)).then(e=>r(e.sieve))}),i.c6.of({name:"Smalltalk",extensions:["st"],load:()=>n.e(1873).then(n.bind(n,11873)).then(e=>r(e.smalltalk))}),i.c6.of({name:"Solr",load:()=>n.e(7762).then(n.bind(n,17762)).then(e=>r(e.solr))}),i.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>n.e(6121).then(n.bind(n,96121)).then(e=>r(e.sml))}),i.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>n.e(370).then(n.bind(n,70370)).then(e=>r(e.sparql))}),i.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>n.e(7601).then(n.bind(n,97601)).then(e=>r(e.spreadsheet))}),i.c6.of({name:"Squirrel",extensions:["nut"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.squirrel))}),i.c6.of({name:"Stylus",extensions:["styl"],load:()=>n.e(8007).then(n.bind(n,28007)).then(e=>r(e.stylus))}),i.c6.of({name:"Swift",extensions:["swift"],load:()=>n.e(6062).then(n.bind(n,66062)).then(e=>r(e.swift))}),i.c6.of({name:"sTeX",load:()=>n.e(6732).then(n.bind(n,86732)).then(e=>r(e.stex))}),i.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>n.e(6732).then(n.bind(n,86732)).then(e=>r(e.stex))}),i.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>n.e(2119).then(n.bind(n,52119)).then(e=>r(e.verilog))}),i.c6.of({name:"Tcl",extensions:["tcl"],load:()=>n.e(3465).then(n.bind(n,43465)).then(e=>r(e.tcl))}),i.c6.of({name:"Textile",extensions:["textile"],load:()=>n.e(177).then(n.bind(n,90177)).then(e=>r(e.textile))}),i.c6.of({name:"TiddlyWiki",load:()=>n.e(4511).then(n.bind(n,34511)).then(e=>r(e.tiddlyWiki))}),i.c6.of({name:"Tiki wiki",load:()=>n.e(6471).then(n.bind(n,36471)).then(e=>r(e.tiki))}),i.c6.of({name:"TOML",extensions:["toml"],load:()=>n.e(6443).then(n.bind(n,96443)).then(e=>r(e.toml))}),i.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>n.e(1920).then(n.bind(n,71920)).then(e=>r(e.troff))}),i.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>n.e(6665).then(n.bind(n,66665)).then(e=>r(e.ttcn))}),i.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>n.e(9831).then(n.bind(n,29831)).then(e=>r(e.ttcnCfg))}),i.c6.of({name:"Turtle",extensions:["ttl"],load:()=>n.e(5815).then(n.bind(n,15815)).then(e=>r(e.turtle))}),i.c6.of({name:"Web IDL",extensions:["webidl"],load:()=>n.e(6692).then(n.bind(n,26692)).then(e=>r(e.webIDL))}),i.c6.of({name:"VB.NET",extensions:["vb"],load:()=>n.e(4212).then(n.bind(n,44212)).then(e=>r(e.vb))}),i.c6.of({name:"VBScript",extensions:["vbs"],load:()=>n.e(1650).then(n.bind(n,31650)).then(e=>r(e.vbScript))}),i.c6.of({name:"Velocity",extensions:["vtl"],load:()=>n.e(617).then(n.bind(n,90617)).then(e=>r(e.velocity))}),i.c6.of({name:"Verilog",extensions:["v"],load:()=>n.e(2119).then(n.bind(n,52119)).then(e=>r(e.verilog))}),i.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>n.e(5819).then(n.bind(n,5819)).then(e=>r(e.vhdl))}),i.c6.of({name:"XQuery",extensions:["xy","xquery"],load:()=>n.e(5753).then(n.bind(n,35753)).then(e=>r(e.xQuery))}),i.c6.of({name:"Yacas",extensions:["ys"],load:()=>n.e(9232).then(n.bind(n,69232)).then(e=>r(e.yacas))}),i.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>n.e(2877).then(n.bind(n,82877)).then(e=>r(e.yaml))}),i.c6.of({name:"Z80",extensions:["z80"],load:()=>n.e(1053).then(n.bind(n,21053)).then(e=>r(e.z80))}),i.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>n.e(758).then(n.bind(n,30758)).then(e=>r(e.mscgen))}),i.c6.of({name:"X\xf9",extensions:["xu"],load:()=>n.e(758).then(n.bind(n,30758)).then(e=>r(e.xu))}),i.c6.of({name:"MsGenny",extensions:["msgenny"],load:()=>n.e(758).then(n.bind(n,30758)).then(e=>r(e.msgenny))})]},59119:function(e,t,n){"use strict";n.d(t,{Be:function(){return g},Dv:function(){return D},Gn:function(){return Z},K0:function(){return C},Qf:function(){return eu},R_:function(){return eQ},SQ:function(){return O},SS:function(){return R},Um:function(){return eR},c:function(){return T},c6:function(){return S},e7:function(){return ei},il:function(){return ej},kU:function(){return h},mi:function(){return eh},n$:function(){return eT},nF:function(){return em},nY:function(){return E},pp:function(){return c},qp:function(){return f},qz:function(){return d},ri:function(){return $},tC:function(){return I},uj:function(){return X},vw:function(){return _},x0:function(){return L},y1:function(){return P},ze:function(){return z}});var i,r=n(41113),s=n(78120),o=n(47421),a=n(35524),l=n(28699);let c=new r.md;function h(e){return s.r$.define({combine:e?t=>t.concat(e):void 0})}class O{constructor(e,t,n=[],i=""){this.data=e,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return d(this)}}),this.parser=t,this.extension=[v.of(this),s.yy.languageData.of((e,t,n)=>e.facet(u(e,t,n)))].concat(n)}isActiveAt(e,t,n=-1){return u(e,t,n)==this.data}findRegions(e){let t=e.facet(v);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(e,t)=>{if(e.prop(c)==this.data){n.push({from:t,to:t+e.length});return}let s=e.prop(r.md.mounted);if(s){if(s.tree.prop(c)==this.data){if(s.overlay)for(let o of s.overlay)n.push({from:o.from+t,to:o.to+t});else n.push({from:t,to:t+e.length});return}if(s.overlay){let a=n.length;if(i(s.tree,s.overlay[0].from+t),n.length>a)return}}for(let l=0;le.isTop?t:void 0)]}),e.name)}configure(e,t){return new f(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function d(e){let t=e.field(O.state,!1);return t?t.tree:r.mp.empty}class p{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let m=null;class g{constructor(e,t,n=[],i,r,s,o,a){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new g(e,t,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new p(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=r.mp.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=m;m=this;try{return e()}finally{m=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Q(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((e,t,n,i)=>l.push({fromA:e,toA:t,fromB:n,toB:i})),n=r.i9.applyChanges(n,l),i=r.mp.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let c of(a=[],this.skipped)){let h=e.mapPos(c.from,1),O=e.mapPos(c.to,-1);he.from&&(this.fragments=Q(this.fragments,i,r),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends r._b{createParse(t,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let t=m;if(t){for(let n of i)t.tempSkipped.push(n);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return m}}function Q(e,t,n){return r.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class b{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new b(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=g.create(e.facet(v).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new b(n)}}O.state=s.QQ.define({create:b.init,update(e,t){for(let n of t.effects)if(n.is(O.setState))return n.value;return t.startState.facet(v)!=t.state.facet(v)?b.init(t.state):e.apply(t)}});let x=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(x=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let k="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,y=o.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(O.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(O.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=x(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndi+1e3,a=r.context.work(()=>k&&k()||Date.now()>s,i+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:O.setState.of(new b(r.context))})),this.chunkBudget>0&&!(a&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,o.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),v=s.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[O.state,y,o.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class ${constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class S{constructor(e,t,n,i,r,s){this.name=e,this.alias=t,this.extensions=n,this.filename=i,this.loadFunc=r,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new S(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let i=/\.([^.]+)$/.exec(t);if(i){for(let r of e)if(r.extensions.indexOf(i[1])>-1)return r}return null}static matchLanguageName(e,t,n=!0){for(let i of(t=t.toLowerCase(),e))if(i.alias.some(e=>e==t))return i;if(n)for(let r of e)for(let s of r.alias){let o=t.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(t[o-1])&&!/\w/.test(t[o+s.length])))return r}return null}}let w=s.r$.define(),T=s.r$.define({combine(e){if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function P(e){let t=e.facet(T);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function R(e,t){let n="",i=e.tabSize;if(9==e.facet(T).charCodeAt(0))for(;t>=i;)n+=" ",t-=i;for(let r=0;r=n.from&&i<=n.to?r&&i==e?{text:"",from:e}:(t<0?i-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return(0,s.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let s=r(i);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let X=new r.md;function j(e,t,n){for(;e;e=e.parent){let i=function(e){let t=e.type.prop(X);if(t)return t;let n=e.firstChild,i;if(n&&(i=n.type.prop(r.md.closedBy))){let s=e.lastChild,o=s&&i.indexOf(s.name)>-1;return e=>q(e,!0,1,void 0,o&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?s.from:void 0)}return null==e.parent?W:null}(e);if(i)return i(A.create(n,t,e))}return null}function W(){return 0}class A extends Z{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new A(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?j(e,this.pos,this.base):0}}function _({closing:e,align:t=!0,units:n=1}){return i=>q(i,t,n,e)}function q(e,t,n,i,r){let s=e.textAfter,o=s.match(/^\s*/)[0].length,a=i&&s.slice(o,o+i.length)==i||r==e.pos+o,l=t?function(e){let t=e.node,n=t.childAfter(t.from),i=t.lastChild;if(!n)return null;let r=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let a=n.to;;){let l=t.childAfter(a);if(!l||l==i)return null;if(!l.type.isSkipped)return l.frome.baseIndent;function I({except:e,units:t=1}={}){return n=>{let i=e&&e.test(n.textAfter);return n.baseIndent+(i?0:t*n.unit)}}function E(){return s.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:i}=e.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return e;let s=n.sliceString(r.from,i);if(!t.some(e=>e.test(s)))return e;let{state:o}=e,a=-1,l=[];for(let{head:c}of o.selection.ranges){let h=o.doc.lineAt(c);if(h.from==a)continue;a=h.from;let O=C(o,h.from);if(null==O)continue;let u=/^\s*/.exec(h.text)[0],f=R(o,O);u!=f&&l.push({from:h.from,to:h.from+u.length,insert:f})}return l.length?[e,{changes:l,sequential:!0}]:e})}let G=s.r$.define(),L=new r.md;function D(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(s&&o.from=t&&l.to>n&&(s=l)}}return s}(e,t,n)}function U(e,t){let n=t.mapPos(e.from,1),i=t.mapPos(e.to,-1);return n>=i?void 0:{from:n,to:i}}let M=s.Py.define({map:U}),J=s.Py.define({map:U});function V(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let B=s.QQ.define({create:()=>o.p.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))n.is(M)&&!function(e,t,n){let i=!1;return e.between(t,t,(e,r)=>{e==t&&r==n&&(i=!0)}),i}(e,n.value.from,n.value.to)?e=e.update({add:[ea.range(n.value.from,n.value.to)]}):n.is(J)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let i=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{er&&(i=!0)}),i&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>o.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!r||r.from>e)&&(r={from:e,to:t})}),r}function F(e,t){return e.field(B,!1)?t:t.concat(s.Py.appendConfig.of(eo()))}let H=e=>{for(let t of V(e)){let n=N(e.state,t.from,t.to);if(n)return e.dispatch({effects:F(e.state,[M.of(n),ee(e,n)])}),!0}return!1},K=e=>{if(!e.state.field(B,!1))return!1;let t=[];for(let n of V(e)){let i=Y(e.state,n.from,n.to);i&&t.push(J.of(i),ee(e,i,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function ee(e,t,n=!0){let i=e.state.doc.lineAt(t.from).number,r=e.state.doc.lineAt(t.to).number;return o.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${e.state.phrase("to")} ${r}.`)}let et=e=>{let{state:t}=e,n=[];for(let i=0;i{let t=e.state.field(B,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(J.of({from:e,to:t}))}),e.dispatch({effects:n}),!0},ei=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:H},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:K},{key:"Ctrl-Alt-[",run:et},{key:"Ctrl-Alt-]",run:en}],er={placeholderDOM:null,placeholderText:"…"},es=s.r$.define({combine:e=>(0,s.BO)(e,er)});function eo(e){let t=[B,eO];return e&&t.push(es.of(e)),t}let ea=o.p.replace({widget:new class extends o.l9{toDOM(e){let{state:t}=e,n=t.facet(es),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),i=Y(e.state,n.from,n.to);i&&e.dispatch({effects:J.of(i)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",t.phrase("folded code")),r.title=t.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),el={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ec extends o.SJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function eh(e={}){let t=Object.assign(Object.assign({},el),e),n=new ec(t,!0),i=new ec(t,!1),r=o.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(v)!=e.state.facet(v)||e.startState.field(B,!1)!=e.state.field(B,!1)||d(e.startState)!=d(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.f_;for(let r of e.viewportLineBlocks){let o=Y(e.state,r.from,r.to)?i:N(e.state,r.from,r.to)?n:null;o&&t.add(r.from,r.from,o)}return t.finish()}}),{domEventHandlers:a}=t;return[r,(0,o.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.markers)||s.Xs.empty},initialSpacer:()=>new ec(t,!1),domEventHandlers:Object.assign(Object.assign({},a),{click(e,t,n){if(a.click&&a.click(e,t,n))return!0;let i=Y(e.state,t.from,t.to);if(i)return e.dispatch({effects:J.of(i)}),!0;let r=N(e.state,t.from,t.to);return!!r&&(e.dispatch({effects:M.of(r)}),!0)}})}),eo()]}let eO=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class eu{constructor(e,t){let n;function i(e){let t=l.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let r="string"==typeof t.all?t.all:t.all?i(t.all):void 0,s=t.scope;this.scope=s instanceof O?e=>e.prop(c)==s.data:s?e=>e==s:void 0,this.style=(0,a.QR)(e.map(e=>({tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))})),{all:r}).style,this.module=n?new l.V(n):null,this.themeType=t.themeType}static define(e,t){return new eu(e,t||{})}}let ef=s.r$.define(),ed=s.r$.define({combine:e=>e.length?[e[0]]:null});function ep(e){let t=e.facet(ef);return t.length?t:e.facet(ed)}function em(e,t){let n=[eg],i;return e instanceof eu&&(e.module&&n.push(o.tk.styleModule.of(e.module)),i=e.themeType),(null==t?void 0:t.fallback)?n.push(ed.of(e)):i?n.push(ef.computeN([o.tk.darkTheme],t=>t.facet(o.tk.darkTheme)==("dark"==i)?[e]:[])):n.push(ef.of(e)),n}let eg=s.Wl.high(o.lg.fromClass(class{constructor(e){this.markCache=Object.create(null),this.tree=d(e.state),this.decorations=this.buildDeco(e,ep(e.state))}update(e){let t=d(e.state),n=ep(e.state),i=n!=ep(e.startState);t.length{n.add(e,t,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))},i,r);return n.finish()}},{decorations:e=>e.decorations})),eQ=eu.define([{tag:a.pJ.meta,color:"#7a757a"},{tag:a.pJ.link,textDecoration:"underline"},{tag:a.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a.pJ.emphasis,fontStyle:"italic"},{tag:a.pJ.strong,fontWeight:"bold"},{tag:a.pJ.strikethrough,textDecoration:"line-through"},{tag:a.pJ.keyword,color:"#708"},{tag:[a.pJ.atom,a.pJ.bool,a.pJ.url,a.pJ.contentSeparator,a.pJ.labelName],color:"#219"},{tag:[a.pJ.literal,a.pJ.inserted],color:"#164"},{tag:[a.pJ.string,a.pJ.deleted],color:"#a11"},{tag:[a.pJ.regexp,a.pJ.escape,a.pJ.special(a.pJ.string)],color:"#e40"},{tag:a.pJ.definition(a.pJ.variableName),color:"#00f"},{tag:a.pJ.local(a.pJ.variableName),color:"#30a"},{tag:[a.pJ.typeName,a.pJ.namespace],color:"#085"},{tag:a.pJ.className,color:"#167"},{tag:[a.pJ.special(a.pJ.variableName),a.pJ.macroName],color:"#256"},{tag:a.pJ.definition(a.pJ.propertyName),color:"#00c"},{tag:a.pJ.comment,color:"#940"},{tag:a.pJ.invalid,color:"#f00"}]),eb=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ex="()[]{}",ek=s.r$.define({combine:e=>(0,s.BO)(e,{afterCursor:!0,brackets:ex,maxScanDistance:1e4,renderMatch:e$})}),ey=o.p.mark({class:"cm-matchingBracket"}),ev=o.p.mark({class:"cm-nonmatchingBracket"});function e$(e){let t=[],n=e.matched?ey:ev;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let eS=s.QQ.define({create:()=>o.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],i=t.state.facet(ek);for(let r of t.state.selection.ranges){if(!r.empty)continue;let s=eR(t.state,r.head,-1,i)||r.head>0&&eR(t.state,r.head-1,1,i)||i.afterCursor&&(eR(t.state,r.head,1,i)||r.heado.tk.decorations.from(e)}),ew=[eS,eb];function eT(e={}){return[ek.of(e),ew]}function eP(e,t,n){let i=e.prop(t<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==e.name.length){let s=n.indexOf(e.name);if(s>-1&&s%2==(t<0?1:0))return[n[s+t]]}return null}function eR(e,t,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||ex,o=d(e),a=o.resolveInner(t,n);for(let l=a;l;l=l.parent){let c=eP(l.type,n,s);if(c&&l.from=i.to){if(0==l&&r.indexOf(c.type.name)>-1&&c.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},h=e.doc.iterRange(t,n>0?e.doc.length:0),O=0;for(let u=0;!h.next().done&&u<=s;){let f=h.value;n<0&&(u+=f.length);let d=t+u*n;for(let p=n>0?0:f.length-1,m=n>0?f.length:-1;p!=m;p+=n){let g=o.indexOf(f[p]);if(!(g<0)&&i.resolveInner(d+p,1).type==r){if(g%2==0==n>0)O++;else{if(1==O)return{start:c,end:{from:d+p,to:d+p+1},matched:g>>1==l>>1};O--}}}n>0&&(u+=f.length)}return h.done?{start:c,matched:!1}:null}(e,t,n,o,a.type,r,s)}function eC(e,t,n,i=0,r=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let s=r;for(let o=i;o=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?e.toLowerCase():e;return i(this.string.substr(this.pos,e.length))==i(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function eX(e){if("object"!=typeof e)return e;let t={};for(let n in e){let i=e[n];t[n]=i instanceof Array?i.slice():i}return t}class ej extends O{constructor(e){let t,n=h(e.languageData),i={name:e.name||"",token:e.token,blankLine:e.blankLine||(()=>{}),startState:e.startState||(()=>!0),copyState:e.copyState||eX,indent:e.indent||(()=>null),languageData:e.languageData||{},tokenTable:e.tokenTable||eq},s;super(n,new class extends r._b{createParse(e,t,n){return new eA(s,e,t,n)}},[w.of((e,t)=>this.getIndent(e,t))],e.name),this.topNode=(t=r.Jq.define({id:ez.length,name:"Document",props:[c.add(()=>n)]}),ez.push(t),t),s=this,this.streamParser=i,this.stateAfter=new r.md({perNode:!0}),this.tokenTable=e.tokenTable?new eN(i.tokenTable):eU}static define(e){return new ej(e)}getIndent(e,t){let n=d(e.state),i=n.resolve(t);for(;i&&i.type!=this.topNode;)i=i.parent;if(!i)return null;let r=eW(this,n,0,i.from,t),s,o;if(r?(o=r.state,s=r.pos+1):(o=this.streamParser.startState(e.unit),s=0),t-s>1e4)return null;for(;s=i&&n+t.length<=s&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(let a=t.children.length-1;a>=0;a--){let l=t.children[a],c=n+t.positions[a],h=l instanceof r.mp&&cn&&eW(e,s.tree,0-s.offset,n,a),c;if(l&&(c=function e(t,n,i,s,o){if(o&&i<=0&&s>=n.length)return n;o||n.type!=t.topNode||(o=!0);for(let a=n.children.length-1;a>=0;a--){let l=n.positions[a],c=n.children[a],h;if(l=t)?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let n=t.indexOf("\n");n>-1&&(t=t.slice(0,n))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let i=this.rangeIndex;;){let r=this.ranges[i].to;if(r>=n||(t=t.slice(0,r-(n-t.length)),++i==this.ranges.length))break;let s=this.ranges[i].from,o=this.lineAfter(s);t+=o,n=s+o.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let i=this.ranges[this.rangeIndex].to,r=e+t;if(n>0?i>r:i>=r)break;t+=this.ranges[++this.rangeIndex].from-i}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(t,r,1),t+=r;let s=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,i+=this.chunk.length-s}return this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),i=0,{streamParser:r}=this.lang,s=new eZ(t,e?e.state.tabSize:4,e?P(e.state):2);if(s.eol())r.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let o=e_(r.token,s,this.state);if(o&&(i=this.emitToken(this.lang.tokenTable.resolve(o),this.parsedPos+s.start,this.parsedPos+s.pos,4,i)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPost.start)return r}throw Error("Stream parser failed to advance stream.")}let eq=Object.create(null),ez=[r.Jq.none],eI=new r.Lj(ez),eE=[],eG=Object.create(null);for(let[eL,eD]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eG[eL]=eJ(eq,eD);class eN{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),eG)}resolve(e){return e?this.table[e]||(this.table[e]=eJ(this.extra,e)):0}}let eU=new eN(eq);function eM(e,t){eE.indexOf(e)>-1||(eE.push(e),console.warn(t))}function eJ(e,t){let n=null;for(let i of t.split(".")){let s=e[i]||a.pJ[i];s?"function"==typeof s?n?n=s(n):eM(i,`Modifier ${i} used at start of tag`):n?eM(i,`Tag ${i} used as modifier`):n=s:eM(i,`Unknown highlighting tag ${i}`)}if(!n)return 0;let o=t.replace(/ /g,"_"),l=r.Jq.define({id:ez.length,name:o,props:[(0,a.Gv)({[o]:n})]});return ez.push(l),l.id}},78120:function(e,t,n){"use strict";let i;n.d(t,{BO:function(){return ek},D0:function(){return eg},Gz:function(){return eI},IS:function(){return ez},Py:function(){return eO},QQ:function(){return U},Wl:function(){return V},Xs:function(){return ew},YW:function(){return eu},as:function(){return P},bg:function(){return k},cp:function(){return p},f_:function(){return eT},gc:function(){return w},gm:function(){return x},jT:function(){return _},n0:function(){return T},nZ:function(){return y},q6:function(){return el},r$:function(){return I},uU:function(){return ey},xv:function(){return r},yy:function(){return ex}});class r{constructor(){}lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),o.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),o.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new l(this),r=new l(e);for(let s=t,o=t;;){if(i.next(s),r.next(s),s=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(o+=i.value.length,i.done||o>=n)return!0}}iter(e=1){return new l(this,e)}iterRange(e,t=this.length){return new c(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new h(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new s(e):o.from(s.split(e,[])):r.empty}}class s extends r{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((t?n:o)>=e)return new O(i,o,n,s);i=o+1,n++}}decompose(e,t,n,i){let r=e<=0&&t>=this.length?this:new s(a(this.text,[""],e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){let o=n.pop(),l=a(r.text,o.text.slice(),0,r.length);if(l.length<=32)n.push(new s(l,o.length+r.length));else{let c=l.length>>1;n.push(new s(l.slice(0,c)),new s(l.slice(c)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof s))return super.replace(e,t,n);let i=a(this.text,a(n.text,a(this.text,[""],0,e)),t),r=this.length+n.length-(t-e);return i.length<=32?new s(i,r):o.from(s.split(i,[]),r)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;r<=t&&se&&s&&(i+=n),er&&(i+=o.slice(Math.max(0,e-r),t-r)),r=a+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let r of e)n.push(r),i+=r.length+1,32==n.length&&(t.push(new s(n,i)),n=[],i=-1);return i>-1&&t.push(new s(n,i)),t}}class o extends r{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,a=n+s.lines-1;if((t?a:o)>=e)return s.lineInner(e,t,n,i);i=o+1,n=a+1}}decompose(e,t,n,i){for(let r=0,s=0;s<=t&&r=s){let l=i&((s<=e?1:0)|(a>=t?2:0));s>=e&&a<=t&&!l?n.push(o):o.decompose(e-s,t-s,n,l)}s=a+1}}replace(e,t,n){if(n.lines=r&&t<=a){let l=s.replace(e-r,t-r,n),c=this.lines-s.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let h=this.children.slice();return h[i]=l,new o(h,this.length-(t-e)+n.length)}return super.replace(r,a,l)}r=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;re&&r&&(i+=n),es&&(i+=o.sliceString(e-s,t-s,n)),s=a+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof o))return 0;let n=0,[i,r,s,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,r+=t){if(i==s||r==a)return n;let l=this.children[i],c=e.children[r];if(l!=c)return n+l.scanIdentical(c,t);n+=l.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let i of e)n+=i.lines;if(n<32){let r=[];for(let a of e)a.flatten(r);return new s(r,t)}let l=Math.max(32,n>>5),c=l<<1,h=l>>1,O=[],u=0,f=-1,d=[];function p(){0!=u&&(O.push(1==d.length?d[0]:o.from(d,f)),f=-1,u=d.length=0)}for(let m of e)!function e(t){let n;if(t.lines>c&&t instanceof o)for(let i of t.children)e(i);else t.lines>h&&(u>h||!u)?(p(),O.push(t)):t instanceof s&&u&&(n=d[d.length-1])instanceof s&&t.lines+n.lines<=32?(u+=t.lines,f+=t.length+1,d[d.length-1]=new s(n.text.concat(t.text),n.length+1+t.length)):(u+t.lines>l&&p(),u+=t.lines,f+=t.length+1,d.push(t))}(m);return p(),1==O.length?O[0]:new o(O,t)}}function a(e,t,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(l>i&&(a=a.slice(0,i-r)),r0?1:(e instanceof s?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],o=r>>1,a=i instanceof s?i.text.length:i.children.length;if(o==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof s){let l=i.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,l.length>Math.max(0,e))return this.value=0==e?l:t>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let c=i.children[o+(t<0?-1:0)];e>c.length?(e-=c.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(c),this.offsets.push(t>0?1:(c instanceof s?c.text.length:c.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class c{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new l(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class h{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.iter()},l.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=function(){return this});class O{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let u="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,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,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let f=1;f=127462&&e<=127487}function p(e,t,n=!0,i=!0){return(n?m:g)(e,t,i)}function m(e,t,n){if(t==e.length)return t;t&&Q(e.charCodeAt(t))&&b(e.charCodeAt(t-1))&&t--;let i=x(e,t);for(t+=y(i);te)return u[t-1]<=e;return!1}(r))t+=y(r),i=r;else if(d(r)){let s=0,o=t-2;for(;o>=0&&d(x(e,o));)s++,o-=2;if(s%2==0)break;t+=2}else break}return t}function g(e,t,n){for(;t>0;){let i=m(e,t-2,n);if(i=56320&&e<57344}function b(e){return e>=55296&&e<56320}function x(e,t){let n=e.charCodeAt(t);if(!b(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return Q(i)?(n-55296<<10)+(i-56320)+65536:n}function k(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function y(e){return e<65536?1:2}let v=/\r\n?|\n/;var $,S,w=(($=w||(w={}))[$.Simple=0]="Simple",$[$.TrackDel=1]="TrackDel",$[$.TrackBefore=2]="TrackBefore",$[$.TrackAfter=3]="TrackAfter",$);class T{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-i);r+=o}else{if(n!=w.Simple&&l>=e&&(n==w.TrackDel&&ie||n==w.TrackBefore&&ie))return null;if(l>e||l==e&&t<0&&!o)return e==i||t<0?r:r+a;r+=a}i=l}if(e>i)throw RangeError(`Position ${e} is out of range for changeset of length ${i}`);return r}touchesRange(e,t=e){for(let n=0,i=0;n=0&&i<=t&&o>=e)return!(it)||"cover";i=o}return!1}toString(){let e="";for(let t=0;t=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new T(e)}static create(e){return new T(e)}}class P extends T{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return Z(this,(t,n,i,r,s)=>e=e.replace(i,i+(n-t),s),!1),e}mapDesc(e,t=!1){return X(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i=0){t[i]=a,t[i+1]=o;let l=i>>1;for(;n.length0&&C(n,t,r.text),r.forward(l),o+=l}let h=e[s++];for(;o>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],o=0,a=null;function l(e=!1){if(!e&&!i.length)return;ou||O<0||u>t)throw RangeError(`Invalid change range ${O} to ${u} (in doc of length ${t})`);let d=f?"string"==typeof f?r.of(f.split(n||v)):f:r.empty,p=d.length;if(O==u&&0==p)return;Oo&&R(i,O-o,-1),R(i,u-O,p),C(s,i,d),o=u}}(e),l(!a),a}static empty(e){return new P(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;it&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==s.length)t.push(s[0],0);else{for(;n.length=0&&n<=0&&n==e[r+1]?e[r]+=t:0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function C(e,t,n){if(0==n.length)return;let i=t.length-2>>1;if(i>1])),!n&&a!=e.sections.length&&!(e.sections[a+1]<0);)l=e.sections[a++],c=e.sections[a++];t(s,h,o,O,u),s=h,o=O}}}function X(e,t,n,i=!1){let r=[],s=i?[]:null,o=new W(e),a=new W(t);for(let l=-1;;)if(-1==o.ins&&-1==a.ins){let c=Math.min(o.len,a.len);R(r,c,-1),o.forward(c),a.forward(c)}else if(a.ins>=0&&(o.ins<0||l==o.i||0==o.off&&(a.len=0&&l=0){let u=0,f=o.len;for(;f;)if(-1==a.ins){let d=Math.min(f,a.len);u+=d,f-=d,a.forward(d)}else if(0==a.ins&&a.lenl||o.ins>=0&&o.len>l)&&(a||i.length>c),s.forward2(l),o.forward(l)}}else R(i,0,o.ins,a),r&&C(r,i,o.text),o.next()}}class W{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?r.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?r.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class A{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){let e=3&this.flags;return 3==e?null:e}get goalColumn(){let e=this.flags>>5;return 33554431==e?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new A(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return _.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return _.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return _.range(e.anchor,e.head)}static create(e,t,n){return new A(e,t,n)}}class _{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:_.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new _(e.ranges.map(e=>A.fromJSON(e)),e.main)}static single(e,t=e){return new _([_.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,i=0;ie?4:0))}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let i=1;ir.head?_.range(a,o):_.range(o,a))}}return new _(e,t)}}function q(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let z=0;class I{constructor(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=z++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}static define(e={}){return new I(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:E),!!e.static,e.enables)}of(e){return new G([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new G(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new G(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function E(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class G{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=z++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,r=this.id,s=e[r]>>1,o=2==this.type,a=!1,l=!1,c=[];for(let h of this.dependencies)"doc"==h?a=!0:"selection"==h?l=!0:((null!==(t=e[h.id])&&void 0!==t?t:1)&1)==0&&c.push(e[h.id]);return{create:e=>(e.values[s]=n(e),1),update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||D(e,c)){let r=n(e);if(o?!L(r,e.values[s],i):!i(r,e.values[s]))return e.values[s]=r,1}return 0},reconfigure:(e,t)=>{let a=n(e),l=t.config.address[r];if(null!=l){let c=ee(t,l);if(this.dependencies.every(n=>n instanceof I?t.facet(n)===e.facet(n):!(n instanceof U)||t.field(n,!1)==e.field(n,!1))||(o?L(a,c,i):i(a,c)))return e.values[s]=c,0}return e.values[s]=a,1}}}}function L(e,t,n){if(e.length!=t.length)return!1;for(let i=0;ie===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(N).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let i=e.values[t],r=this.updateF(i,n);return this.compareF(i,r)?0:(e.values[t]=r,1)},reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,N.of({field:this,create:e})]}get extension(){return this}}let M={lowest:4,low:3,default:2,high:1,highest:0};function J(e){return t=>new B(t,e)}let V={highest:J(M.highest),high:J(M.high),default:J(M.default),low:J(M.low),lowest:J(M.lowest)};class B{constructor(e,t){this.inner=e,this.prec=t}}class Y{of(e){return new F(this,e)}reconfigure(e){return Y.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class F{constructor(e,t){this.compartment=e,this.inner=t}}class H{constructor(e,t,n,i,r,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let i,r,s=[],o=Object.create(null),a=new Map;for(let l of(i=[[],[],[],[],[]],r=new Map,!function e(n,s){let o=r.get(n);if(null!=o){if(o<=s)return;let l=i[o].indexOf(n);l>-1&&i[o].splice(l,1),n instanceof F&&a.delete(n.compartment)}if(r.set(n,s),Array.isArray(n))for(let c of n)e(c,s);else if(n instanceof F){if(a.has(n.compartment))throw RangeError("Duplicate use of compartment in extensions");let h=t.get(n.compartment)||n.inner;a.set(n.compartment,h),e(h,s)}else if(n instanceof B)e(n.inner,n.prec);else if(n instanceof U)i[s].push(n),n.provides&&e(n.provides,s);else if(n instanceof G)i[s].push(n),n.facet.extensions&&e(n.facet.extensions,M.default);else{let O=n.extension;if(!O)throw Error(`Unrecognized extension value in extension set (${n}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(O,s)}}(e,M.default),i.reduce((e,t)=>e.concat(t))))l instanceof U?s.push(l):(o[l.facet.id]||(o[l.facet.id]=[])).push(l);let c=Object.create(null),h=[],O=[];for(let u of s)c[u.id]=O.length<<1,O.push(e=>u.slot(e));let f=null==n?void 0:n.config.facets;for(let d in o){let p=o[d],m=p[0].facet,g=f&&f[d]||[];if(p.every(e=>0==e.type)){if(c[m.id]=h.length<<1|1,E(g,p))h.push(n.facet(m));else{let Q=m.combine(p.map(e=>e.value));h.push(n&&m.compare(Q,n.facet(m))?n.facet(m):Q)}}else{for(let b of p)0==b.type?(c[b.id]=h.length<<1|1,h.push(b.value)):(c[b.id]=O.length<<1,O.push(e=>b.dynamicSlot(e)));c[m.id]=O.length<<1,O.push(e=>(function(e,t,n){let i=n.map(t=>e[t.id]),r=n.map(e=>e.type),s=i.filter(e=>!(1&e)),o=e[t.id]>>1;function a(e){let n=[];for(let s=0;se(c));return new H(e,a,x,c,h,o)}}function K(e,t){if(1&t)return 2;let n=t>>1,i=e.status[n];if(4==i)throw Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function ee(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let et=I.define(),en=I.define({combine:e=>e.some(e=>e),static:!0}),ei=I.define({combine:e=>e.length?e[0]:void 0,static:!0}),er=I.define(),es=I.define(),eo=I.define(),ea=I.define({combine:e=>!!e.length&&e[0]});class el{constructor(e,t){this.type=e,this.value=t}static define(){return new ec}}class ec{of(e){return new el(this,e)}}class eh{constructor(e){this.map=e}of(e){return new eO(this,e)}}class eO{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new eO(this.type,t)}is(e){return this.type==e}static define(e={}){return new eh(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let r=i.map(t);r&&n.push(r)}return n}}eO.reconfigure=eO.define(),eO.appendConfig=eO.define();class eu{constructor(e,t,n,i,r,s){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&q(n,t.newLength),r.some(e=>e.type==eu.time)||(this.annotations=r.concat(eu.time.of(Date.now())))}static create(e,t,n,i,r,s){return new eu(e,t,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(eu.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ef(e,t,n){var i;let r,s,o;return n?(r=t.changes,s=P.empty(t.changes.length),o=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),s=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(r)),{changes:o,selection:t.selection?t.selection.map(s):null===(i=e.selection)||void 0===i?void 0:i.map(r),effects:eO.mapEffects(e.effects,r).concat(eO.mapEffects(t.effects,s)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ed(e,t,n){let i=t.selection,r=em(t.annotations);return t.userEvent&&(r=r.concat(eu.userEvent.of(t.userEvent))),{changes:t.changes instanceof P?t.changes:P.of(t.changes||[],n,e.facet(ei)),selection:i&&(i instanceof _?i:_.single(i.anchor,i.head)),effects:em(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}eu.time=el.define(),eu.userEvent=el.define(),eu.addToHistory=el.define(),eu.remote=el.define();let ep=[];function em(e){return null==e?ep:Array.isArray(e)?e:[e]}var eg=((S=eg||(eg={}))[S.Word=0]="Word",S[S.Space=1]="Space",S[S.Other=2]="Other",S);let eQ=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{i=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(eb){}class ex{constructor(e,t,n,i,r,s){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let o=0;o=0;r--){let s=n[r](e);s&&Object.keys(s).length&&(i=ef(i,ed(t,s,e.changes.newLength),!0))}return i==e?e:eu.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(i?function(t){let n=t.startState,i=!0;for(let r of n.facet(er)){let s=r(t);if(!1===s){i=!1;break}Array.isArray(s)&&(i=!0===i?s:function(e,t){let n=[];for(let i=0,r=0;;){let s,o;if(i=e[i]))s=e[i++],o=e[i++];else{if(!(r=0;h--){let O=c[h](t);t=O instanceof eu?O:Array.isArray(O)&&1==O.length&&O[0]instanceof eu?O[0]:e(n,em(O),!1)}return t}(a):a)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:i,compartments:r}=n;for(let s of e.effects)s.is(Y.reconfigure)?(n&&(r=new Map,n.compartments.forEach((e,t)=>r.set(t,e)),n=null),r.set(s.value.compartment,s.value.extension)):s.is(eO.reconfigure)?(n=null,i=s.value):s.is(eO.appendConfig)&&(n=null,i=em(i).concat(s.value));n?t=e.startState.values.slice():(n=H.resolve(i,r,this),t=new ex(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values),new ex(n,e.newDoc,e.newSelection,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:_.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),r=[n.range],s=em(n.effects);for(let o=1;os.spec.fromJSON(o,e)))}}return ex.create({doc:e.doc,selection:_.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=H.resolve(e.extensions||[],new Map),n=e.doc instanceof r?e.doc:r.of((e.doc||"").split(t.staticFacet(ex.lineSeparator)||v)),i=e.selection?e.selection instanceof _?e.selection:_.single(e.selection.anchor,e.selection.head):_.single(0);return q(i,n.length),t.staticFacet(en)||(i=i.asSingle()),new ex(t,n,i,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ex.tabSize)}get lineBreak(){return this.facet(ex.lineSeparator)||"\n"}get readOnly(){return this.facet(ea)}phrase(e,...t){for(let n of this.facet(ex.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>t.length?e:t[i-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let r of this.facet(et))for(let s of r(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){var t;return t=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return eg.Space;if(function(e){if(i)return i.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||eQ.test(n)))return!0}return!1}(e))return eg.Word;for(let n=0;n-1)return eg.Word;return eg.Other}}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let a=p(t,s,!1);if(r(t.slice(a,s))!=eg.Word)break;s=a}for(;oe.length?e[0]:4}),ex.lineSeparator=ei,ex.readOnly=ea,ex.phrases=I.define({compare(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length==i.length&&n.every(n=>e[n]==t[n])}}),ex.languageData=et,ex.changeFilter=er,ex.transactionFilter=es,ex.transactionExtender=eo,Y.reconfigure=eO.define();class ey{eq(e){return this==e}range(e,t=e){return ev.create(e,t,this)}}ey.prototype.startSide=ey.prototype.endSide=0,ey.prototype.point=!1,ey.prototype.mapMode=w.TrackDel;class ev{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new ev(e,t,n)}}function e$(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eS{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let a=s+o>>1,l=r[a]-e||(n?this.value[a].endSide:this.value[a].startSide)-t;if(a==s)return l>=0?s:o;l>=0?o=a:s=a+1}}between(e,t,n,i){for(let r=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r(u=t.mapPos(h,l.endSide))||O==u&&l.startSide>0&&l.endSide<=0)continue;0>(u-O||l.endSide-l.startSide)||(s<0&&(s=O),l.point&&(o=Math.max(o,u-O)),n.push(l),i.push(O-s),r.push(u-s))}return{mapped:n.length?new eS(i,r,n,o):null,pos:s}}}class ew{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new ew(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(e$)),this.isEmpty)return t.length?ew.of(t):this;let o=new eR(this,null,-1).goto(0),a=0,l=[],c=new eT;for(;o.value||a=0){let h=t[a++];c.addInner(h.from,h.to,h.value)||l.push(h)}else 1==o.rangeIndex&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&e<=r+s.length&&!1===s.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eC.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eC.from(e).goto(t)}static compare(e,t,n,i,r=-1){let s=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),a=eP(s,o,n),l=new eX(s,a,r),c=new eX(o,a,r);n.iterGaps((e,t,n)=>ej(l,e,c,t,n,i)),n.empty&&0==n.length&&ej(l,0,c,0,0,i)}static eq(e,t,n=0,i){null==i&&(i=1e9);let r=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),s=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=eP(r,s),a=new eX(r,o,0).goto(n),l=new eX(s,o,0).goto(n);for(;;){if(a.to!=l.to||!eW(a.active,l.active)||a.point&&(!l.point||!a.point.eq(l.point)))return!1;if(a.to>i)return!0;a.next(),l.next()}}static spans(e,t,n,i,r=-1){let s=new eX(e,null,r).goto(t),o=t,a=s.openStart;for(;;){let l=Math.min(s.to,n);if(s.point?(i.point(o,l,s.point,s.activeForPoint(s.to),a,s.pointRank),a=s.openEnd(l)+(s.to>l?1:0)):l>o&&(i.span(o,l,s.active,a),a=s.openEnd(l)),s.to>n)break;o=s.to,s.next()}return a}static of(e,t=!1){let n=new eT;for(let i of e instanceof ev?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(e$);t=i}return e}(e):e)n.add(i.from,i.to,i.value);return n.finish()}}ew.empty=new ew([],[],null,-1),ew.empty.nextLayer=ew.empty;class eT{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new eS(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eT)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(ew.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=ew.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eP(e,t,n){let i=new Map;for(let r of e)for(let s=0;s(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&i.push(new eR(s,t,n,r));return 1==i.length?i[0]:new eC(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)eZ(this.heap,i);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)eZ(this.heap,i);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eZ(this.heap,0)}}}function eZ(e,t){for(let n=e[t];;){let i=(t<<1)+1;if(i>=e.length)break;let r=e[i];if(i+1=0&&(r=e[i+1],i++),0>n.compare(r))break;e[i]=n,e[t]=r,t=i}}class eX{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eC.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eA(this.active,e),eA(this.activeTo,e),eA(this.activeRank,e),this.minActive=eq(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:r}=this.cursor;for(;t-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&eA(n,r)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let s=this.cursor.value;if(s.point){if(t&&this.cursor.to==this.to&&this.cursor.frome&&i++,this.cursor.next()}}else{this.to=this.endSide=1e9;break}}if(n){let o=0;for(;o=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function ej(e,t,n,i,r,s){e.goto(t),n.goto(i);let o=i+r,a=i,l=i-t;for(;;){let c=e.to+l-n.to||e.endSide-n.endSide,h=c<0?e.to+l:n.to,O=Math.min(h,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&eW(e.activeForPoint(e.to+l),n.activeForPoint(n.to))||s.comparePoint(a,O,e.point,n.point):O>a&&!eW(e.active,n.active)&&s.compareRange(a,O,e.active,n.active),h>o)break;a=h,c<=0&&e.next(),c>=0&&n.next()}}function eW(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;i--)e[i+1]=e[i];e[t]=n}function eq(e,t){let n=-1,i=1e9;for(let r=0;r(t[r]-i||e[r].endSide-e[n].endSide)&&(n=r,i=t[r]);return n}function ez(e,t,n=e.length){let i=0;for(let r=0;r=t)return r;if(r==e.length)break;s+=9==e.charCodeAt(r)?n-s%n:1,r=p(e,r)}return!0===i?-1:e.length}},41113:function(e,t,n){"use strict";var i,r;n.d(t,{FE:function(){return A},Jq:function(){return O},L3:function(){return s},Lj:function(){return u},_b:function(){return j},hr:function(){return Z},i9:function(){return X},md:function(){return l},mp:function(){return p},vj:function(){return i}});let s=1024,o=0;class a{constructor(e,t){this.from=e,this.to=t}}class l{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=O.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}l.closedBy=new l({deserialize:e=>e.split(" ")}),l.openedBy=new l({deserialize:e=>e.split(" ")}),l.group=new l({deserialize:e=>e.split(" ")}),l.contextHash=new l({perNode:!0}),l.lookAhead=new l({perNode:!0}),l.mounted=new l({perNode:!0});class c{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}let h=Object.create(null);class O{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):h,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new O(e.name||"",t,e.id,n);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(i)),r){if(r[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(l.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(l.group),i=-1;i<(n?n.length:0);i++){let r=t[i<0?e.name:n[i]];if(r)return r}}}}O.none=new O("",Object.create(null),0,8);class u{constructor(e){this.types=e;for(let t=0;t=r&&(o.type.isAnonymous||!1!==t(o))){if(o.firstChild())continue;a=!0}for(;a&&n&&!o.type.isAnonymous&&n(o),!o.nextSibling();){if(!o.parent())return;a=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:C(O.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new p(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new p(O.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:r=s,reused:o=[],minRepeatType:a=i.types.length}=e,c=Array.isArray(n)?new m(n,n.length):n,h=i.types,O=0,u=0;function f(e,t,n,r,s,o,a,l){let c=[],h=[];for(;e.length>r;)c.push(e.pop()),h.push(t.pop()+n-s);e.push(d(i.types[a],c,h,o-s,l-o)),t.push(s-n)}function d(e,t,n,i,r=0,s){if(O){let o=[l.contextHash,O];s=s?[o].concat(s):[o]}if(r>25){let a=[l.lookAhead,r];s=s?[a].concat(s):[a]}return new p(e,t,n,i,s)}let Q=[],b=[];for(;c.pos>0;)!function e(t,n,s,m,Q){let{id:b,start:x,end:k,size:y}=c,v=u;for(;y<0;){if(c.next(),-1==y){let $=o[b];s.push($),m.push(x-t);return}if(-3==y){O=b;return}if(-4==y){u=b;return}throw RangeError(`Unrecognized record size: ${y}`)}let S=h[b],w,T,P=x-t;if(k-x<=r&&(T=function(e,t){let n=c.fork(),i=0,s=0,o=0,l=n.end-r,h={size:0,start:0,skip:0};s:for(let O=n.pos-e;n.pos>O;){let u=n.size;if(n.id==t&&u>=0){h.size=i,h.start=s,h.skip=o,o+=4,i+=4,n.next();continue}let f=n.pos-u;if(u<0||f=a?4:0,p=n.start;for(n.next();n.pos>f;){if(n.size<0){if(-3==n.size)d+=4;else break s}else n.id>=a&&(d+=4);n.next()}s=p,i+=u,o+=d}return(t<0||i==e)&&(h.size=i,h.start=s,h.skip=o),h.size>4?h:void 0}(c.pos-n,Q))){let R=new Uint16Array(T.size-T.skip),Z=c.pos-T.size,X=R.length;for(;c.pos>Z;)X=function e(t,n,i){let{id:r,start:s,end:o,size:l}=c;if(c.next(),l>=0&&r4){let f=c.pos-(l-4);for(;c.pos>f;)i=e(t,n,i)}n[--i]=h,n[--i]=o-t,n[--i]=s-t,n[--i]=r}else -3==l?O=r:-4==l&&(u=r);return i}(T.start,R,X);w=new g(R,k-T.start,i),P=T.start-t}else{let j=c.pos-y;c.next();let W=[],A=[],_=b>=a?b:-1,q=0,z=k;for(;c.pos>j;)_>=0&&c.id==_&&c.size>=0?(c.end<=z-r&&(f(W,A,x,q,c.end,z,_,v),q=W.length,z=c.end),c.next()):e(x,j,W,A,_);if(_>=0&&q>0&&q-1&&q>0){let I=function(e){return(t,n,i)=>{let r=0,s=t.length-1,o,a;if(s>=0&&(o=t[s])instanceof p){if(!s&&o.type==e&&o.length==i)return o;(a=o.prop(l.lookAhead))&&(r=n[s]+o.length+a)}return d(e,t,n,i,r)}}(S);w=C(S,W,A,0,W.length,0,k-x,I,I)}else w=d(S,W,A,k-x,v-k)}s.push(w),m.push(P)}(e.start||0,e.bufferStart||0,Q,b,-1);let x=null!==(t=e.length)&&void 0!==t?t:Q.length?b[0]+Q[0].length:0;return new p(h[e.topID],Q.reverse(),b.reverse(),x)}(e)}}p.empty=new p(O.none,[],[],0);class m{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new m(this.buffer,this.index)}}class g{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return O.none}toString(){let e=[];for(let t=0;t0)));a=s[a+3]);return o}slice(e,t,n,i){let r=this.buffer,s=new Uint16Array(t-e);for(let o=e,a=0;o=t&&nt;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function b(e,t){let n=e.childBefore(t);for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(e=n,n=i.prevSibling):n=i}return e}function x(e,t,n,r){for(var s;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?a.length:-1;e!=h;e+=t){let O=a[e],u=c[e]+o.from;if(Q(r,n,u,u+O.length)){if(O instanceof g){if(s&i.ExcludeBuffers)continue;let f=O.findChild(0,O.buffer.length,t,n-u,r);if(f>-1)return new S(new $(o,O,e,u),null,f)}else if(s&i.IncludeAnonymous||!O.type.isAnonymous||T(O)){let d;if(!(s&i.IgnoreMounts)&&O.props&&(d=O.prop(l.mounted))&&!d.overlay)return new k(d.tree,u,e,o);let p=new k(O,u,e,o);return s&i.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(t<0?O.children.length-1:0,t,n,r)}}}if(s&i.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let r;if(!(n&i.IgnoreOverlays)&&(r=this._tree.prop(l.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:a}of r.overlay)if((t>0?o<=s:o=s:a>s))return new k(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new w(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return x(this,e,t,!1)}resolveInner(e,t=0){return x(this,e,t,!0)}enterUnfinishedNodesBefore(e){return b(this,e)}getChild(e,t=null,n=null){let i=y(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return y(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return v(this,e)}}function y(e,t,n,i){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(null!=n){for(;!r.type.is(n);)if(!r.nextSibling())return s}for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(t)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function v(e,t,n=t.length-1){for(let i=e.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class ${constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class S{constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(e,t,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new S(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&i.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new S(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new S(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new S(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new w(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1],o=n.buffer[this.index+2];e.push(n.slice(i,r,s,o)),t.push(0)}return new p(this.type,e,t,this.to-this.from)}resolve(e,t=0){return x(this,e,t,!1)}resolveInner(e,t=0){return x(this,e,t,!0)}enterUnfinishedNodesBefore(e){return b(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=y(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return y(this,e,t,n)}get node(){return this}matchContext(e){return v(this,e)}}class w{constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof k)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}get name(){return this.type.name}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof k?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&i.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&i.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&i.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(t.findChild(i,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let o=t+e,a=e<0?-1:n._tree.children.length;o!=a;o+=e){let l=n._tree.children[o];if(this.mode&i.IncludeAnonymous||l instanceof g||!l.type.isAnonymous||T(l))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;t=s,n=r+1;break s}i=this.stack[--r]}for(let o=n;o=0;r--){if(r<0)return v(this.node,e,i);let s=n[t.buffer[this.stack[r]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function T(e){return e.children.some(e=>e instanceof g||!e.type.isAnonymous||T(e))}let P=new WeakMap;function R(e,t){if(!e.isAnonymous||t instanceof g||t.type!=e)return 1;let n=P.get(t);if(null==n){for(let i of(n=1,t.children)){if(i.type!=e||!(i instanceof p)){n=1;break}n+=R(e,i)}P.set(t,n)}return n}function C(e,t,n,i,r,s,o,a,l){let c=0;for(let h=i;h=O)break;p+=m}if(c==h+1){if(p>O){let g=n[h];t(g.children,g.positions,0,g.children.length,i[h]+a);continue}u.push(n[h])}else{let Q=i[c-1]+n[c-1].length-d;u.push(C(e,n,i,h,c,d,Q,null,l))}f.push(d+a-s)}}(t,n,i,r,0),(a||l)(u,f,o)}class Z{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof S?this.setBuffer(e.context.buffer,e.index,t):e instanceof k&&this.map.set(e.tree,t)}get(e){return e instanceof S?this.getBuffer(e.context.buffer,e.index):e instanceof k?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class X{constructor(e,t,n,i,r=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new X(0,e.length,e,0,!1,n)];for(let r of t)r.to>e.length&&i.push(r);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],r=1,s=e.length?e[0]:null;for(let o=0,a=0,l=0;;o++){let c=o=n)for(;s&&s.from=O.from||h<=O.to||l){let u=Math.max(O.from,a)-l,f=Math.min(O.to,h)-l;O=u>=f?null:new X(u,f,O.tree,O.offset+l,o>0,!!c)}if(O&&i.push(O),s.to>h)break;s=rnew a(e.from,e.to)):[new a(0,0)]:[new a(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let r=i.advance();if(r)return r}}}class W{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function A(e){return(t,n,i,r)=>new I(t,e,n,i,r)}class _{constructor(e,t,n,i,r){this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=r}}class q{constructor(e,t,n,i,r,s,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}let z=new l({perNode:!0});class I{constructor(e,t,n,i,r){this.nest=t,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return null!=this.stoppedAt&&(n=new p(n.type,n.children,n.positions,n.length,n.propValues.concat([[z,this.stoppedAt]]))),n}let i=this.inner[this.innerDone],r=i.parse.advance();if(r){this.innerDone++;let s=Object.assign(Object.create(null),i.target.props);s[l.mounted.id]=new c(r,i.overlay,i.parser),i.target.props=s}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;te.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(h)for(let u of h.mount.overlay){let f=u.from+h.pos,d=u.to+h.pos;f>=r.from&&d<=r.to&&!t.ranges.some(e=>e.fromf)&&t.ranges.push({from:f,to:d})}}l=!1}else if(n&&(o=function(e,t,n){for(let i of e){if(i.from>=n)break;if(i.to>t)return i.from<=t&&i.to>=n?2:1}return 0}(n.ranges,r.from,r.to)))l=2!=o;else if(!r.type.isAnonymous&&r.from=t.to);i++);let o=r.children[i],a=o.buffer;r.children[i]=function e(n,i,r,l,c){let h=n;for(;a[h+2]+s<=t.from;)h=a[h+3];let O=[],u=[];E(o,n,h,O,u,l);let f=a[h+1],d=a[h+2],m=f+s==t.from&&d+s==t.to&&a[h]==t.type.id;return O.push(m?t.toTree():e(h+4,a[h+3],o.set.types[a[h]],f,d-f)),u.push(f-l),E(o,a[h+3],i,O,u,l),new p(r,O,u,c)}(0,a.length,O.none,0,o.length);for(let l=0;l<=n;l++)e.childAfter(t.from)}(r);let m=e.findMounts(r.from,s.parser);if("function"==typeof s.overlay)t=new q(s.parser,s.overlay,m,this.inner.length,r.from,r.tree,t);else{let g=D(this.ranges,s.overlay||[new a(r.from,r.to)]);g.length&&this.inner.push(new _(s.parser,s.parser.startParse(this.input,N(m,g),g),s.overlay?s.overlay.map(e=>new a(e.from-r.from,e.to-r.from)):null,r.tree,g)),s.overlay?g.length&&(n={ranges:g,depth:0,prev:n}):l=!1}}else t&&(c=t.predicate(r))&&(!0===c&&(c=new a(r.from,r.to)),c.fromnew a(e.from-t.start,e.to-t.start)),t.target,Q)),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function E(e,t,n,i,r,s){if(t=e&&t.enter(n,1,i.IgnoreOverlays|i.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof p)t=t.children[0];else break}return!1}}class L{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(z))&&void 0!==t?t:n.to,this.inner=new G(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(z))&&void 0!==e?e:t.to,this.inner=new G(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let r=this.inner.cursor.node;r;r=r.parent){let s=null===(n=r.tree)||void 0===n?void 0:n.prop(l.mounted);if(s&&s.parser==t)for(let o=this.fragI;o=r.to)break;a.tree==this.curFrag.tree&&i.push({frag:a,pos:r.from-a.offset,mount:s})}}}return i}}function D(e,t){let n=null,i=t;for(let r=1,s=0;r=l)break;!(c.to<=o)&&(n||(i=n=t.slice()),c.froml&&n.splice(s+1,0,new a(l,c.to))):c.to>l?n[s--]=new a(l,c.to):n.splice(s--,1))}}return i}function N(e,t){let n=[];for(let{pos:i,mount:r,frag:s}of e){let o=i+(r.overlay?r.overlay[0].from:0),l=o+r.tree.length,c=Math.max(s.from,o),h=Math.min(s.to,l);if(r.overlay){let O=function(e,t,n,i){let r=0,s=0,o=!1,l=!1,c=-1e9,h=[];for(;;){let O=r==e.length?1e9:o?e[r].to:e[r].from,u=s==t.length?1e9:l?t[s].to:t[s].from;if(o!=l){let f=Math.max(c,n),d=Math.min(O,u,i);fnew a(e.from+i,e.to+i)),c,h);for(let u=0,f=c;;u++){let d=u==O.length,p=d?h:O[u].from;if(p>f&&n.push(new X(f,p,r.tree,-o,s.from>=f||s.openStart,s.to<=p||s.openEnd)),d)break;f=O[u].to}}else n.push(new X(c,h,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return n}},35524:function(e,t,n){"use strict";n.d(t,{Gv:function(){return l},QR:function(){return O},Vp:function(){return s},bW:function(){return u},pJ:function(){return R}});var i=n(41113);let r=0;class s{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=r++}static define(e){if(null==e?void 0:e.base)throw Error("Can not derive from a modified tag");let t=new s([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new a;return t=>t.modified.indexOf(e)>-1?t:a.get(t.base||t,t.modified.concat(e).sort((e,t)=>e.id-t.id))}}let o=0;class a{constructor(){this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var i;return n.base==e&&(i=n.modified,t.length==i.length&&t.every((e,t)=>e==i[t]))});if(n)return n;let i=[],r=new s(i,e,t);for(let o of t)o.instances.push(r);let l=function(e){let t=[[]];for(let n=0;nt.length-e.length)}(t);for(let c of e.set)if(!c.modified.length)for(let h of l)i.push(a.get(c,h));return r}}function l(e){let t=Object.create(null);for(let n in e){let i=e[n];for(let r of(Array.isArray(i)||(i=[i]),n.split(" ")))if(r){let s=[],o=2,a=r;for(let l=0;;){if("..."==a&&l>0&&l+3==r.length){o=1;break}let O=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!O)throw RangeError("Invalid path: "+r);if(s.push("*"==O[0]?"":'"'==O[0][0]?JSON.parse(O[0]):O[0]),(l+=O[0].length)==r.length)break;let u=r[l++];if(l==r.length&&"!"==u){o=0;break}if("/"!=u)throw RangeError("Invalid path: "+r);a=r.slice(l)}let f=s.length-1,d=s[f];if(!d)throw RangeError("Invalid path: "+r);let p=new h(i,o,f>0?s.slice(0,f):null);t[d]=p.sort(t[d])}}return c.add(t)}let c=new i.md;class h{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depththis.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,s){let{type:o,from:a,to:l}=e;if(a>=n||l<=t)return;o.isTop&&(s=this.highlighters.filter(e=>!e.scope||e.scope(o)));let O=r,u=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||h.empty,f=function(e,t){let n=null;for(let i of e){let r=i.style(t);r&&(n=n?n+" "+r:r)}return n}(s,u.tags);if(f&&(O&&(O+=" "),O+=f,1==u.mode&&(r+=(r?" ":"")+f)),this.startSpan(e.from,O),u.opaque)return;let d=e.tree&&e.tree.prop(i.md.mounted);if(d&&d.overlay){let p=e.node.enter(d.overlay[0].from+a,1),m=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),g=e.firstChild();for(let Q=0,b=a;;Q++){let x=Q=k)&&e.nextSibling()););if(!x||k>n)break;(b=x.to+a)>t&&(this.highlightRange(p.cursor(),Math.max(t,x.from+a),Math.min(n,b),r,m),this.startSpan(b,O))}g&&e.parent()}else if(e.firstChild()){do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,s),this.startSpan(Math.min(n,e.to),O)}while(e.nextSibling());e.parent()}}}let d=s.define,p=d(),m=d(),g=d(m),Q=d(m),b=d(),x=d(b),k=d(b),y=d(),v=d(y),$=d(),S=d(),w=d(),T=d(w),P=d(),R={comment:p,lineComment:d(p),blockComment:d(p),docComment:d(p),name:m,variableName:d(m),typeName:g,tagName:d(g),propertyName:Q,attributeName:d(Q),className:d(m),labelName:d(m),namespace:d(m),macroName:d(m),literal:b,string:x,docString:d(x),character:d(x),attributeValue:d(x),number:k,integer:d(k),float:d(k),bool:d(b),regexp:d(b),escape:d(b),color:d(b),url:d(b),keyword:$,self:d($),null:d($),atom:d($),unit:d($),modifier:d($),operatorKeyword:d($),controlKeyword:d($),definitionKeyword:d($),moduleKeyword:d($),operator:S,derefOperator:d(S),arithmeticOperator:d(S),logicOperator:d(S),bitwiseOperator:d(S),compareOperator:d(S),updateOperator:d(S),definitionOperator:d(S),typeOperator:d(S),controlOperator:d(S),punctuation:w,separator:d(w),bracket:T,angleBracket:d(T),squareBracket:d(T),paren:d(T),brace:d(T),content:y,heading:v,heading1:d(v),heading2:d(v),heading3:d(v),heading4:d(v),heading5:d(v),heading6:d(v),contentSeparator:d(y),list:d(y),quote:d(y),emphasis:d(y),strong:d(y),link:d(y),monospace:d(y),strikethrough:d(y),inserted:d(),deleted:d(),changed:d(),invalid:d(),meta:P,documentMeta:d(P),annotation:d(P),processingInstruction:d(P),definition:s.defineModifier(),constant:s.defineModifier(),function:s.defineModifier(),standard:s.defineModifier(),local:s.defineModifier(),special:s.defineModifier()};O([{tag:R.link,class:"tok-link"},{tag:R.heading,class:"tok-heading"},{tag:R.emphasis,class:"tok-emphasis"},{tag:R.strong,class:"tok-strong"},{tag:R.keyword,class:"tok-keyword"},{tag:R.atom,class:"tok-atom"},{tag:R.bool,class:"tok-bool"},{tag:R.url,class:"tok-url"},{tag:R.labelName,class:"tok-labelName"},{tag:R.inserted,class:"tok-inserted"},{tag:R.deleted,class:"tok-deleted"},{tag:R.literal,class:"tok-literal"},{tag:R.string,class:"tok-string"},{tag:R.number,class:"tok-number"},{tag:[R.regexp,R.escape,R.special(R.string)],class:"tok-string2"},{tag:R.variableName,class:"tok-variableName"},{tag:R.local(R.variableName),class:"tok-variableName tok-local"},{tag:R.definition(R.variableName),class:"tok-variableName tok-definition"},{tag:R.special(R.variableName),class:"tok-variableName2"},{tag:R.definition(R.propertyName),class:"tok-propertyName tok-definition"},{tag:R.typeName,class:"tok-typeName"},{tag:R.namespace,class:"tok-namespace"},{tag:R.className,class:"tok-className"},{tag:R.macroName,class:"tok-macroName"},{tag:R.propertyName,class:"tok-propertyName"},{tag:R.operator,class:"tok-operator"},{tag:R.comment,class:"tok-comment"},{tag:R.meta,class:"tok-meta"},{tag:R.invalid,class:"tok-invalid"},{tag:R.punctuation,class:"tok-punctuation"}])},53105:function(e,t,n){"use strict";n.d(t,{IK:function(){return C},Jq:function(){return b},WQ:function(){return Z}});var i,r,s,o,a,l,c=n(41113),h=n(34155);class O{constructor(e,t,n,i,r,s,o,a,l,c=0,h){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=a,this.curContext=l,this.lookAhead=c,this.parent=h}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new O(e,[],t,n,n,0,[],0,i?new u(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=65535&e,{parser:i}=this.p,r=i.dynamicPrecedence(n);if(r&&(this.score+=r),0==t){this.pushState(i.getGoto(this.state,n,!0),this.reducePos),ns;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,i=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]0&&0==s.buffer[o-4]&&s.buffer[o-1]>-1){if(t==n)return;if(s.buffer[o-2]>=t){s.buffer[o-2]=n;return}}}if(r&&this.pos!=n){let a=this.buffer.length;if(a>0&&0!=this.buffer[a-4])for(;a>0&&this.buffer[a-2]>n;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4);this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=n,this.buffer[a+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n){let i=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:r}=this.p;(n>this.pos||t<=r.maxNode)&&(this.pos=n,r.stateFlag(e,1)||(this.reducePos=n)),this.pushState(e,i),this.shiftContext(t,i),t<=r.maxNode&&this.buffer.push(t,i,n,4)}else this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4)}apply(e,t,n){65536&e?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new O(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new f(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if((65536&n)==0)return!0;if(0==n)return!1;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i=0,r;i1&t&&e==o)||n.push(t[s],o)}t=n}let a=[];for(let l=0;l>19);if(n<0||0>t.getGoto(this.stack[n],65535&e,!1))return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class u{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}(i=o||(o={}))[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth";class f{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class d{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new d(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new d(this.stack,this.pos,this.index)}}class p{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let m=new p;class g{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=m,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,r=this.pos+e;for(;rn.to:r>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];r+=o.from-n.to,n=o}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n=this.chunk2Pos&&this.posthis.range.to?n.slice(0,this.range.to-this.pos):n,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=m,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class Q{constructor(e,t){this.data=e,this.id=t}token(e,t){!function(e,t,n,i){let r=0,s=1<0){let h=e[c];if(a.allows(h)&&(-1==t.token.value||t.token.value==h||o.overrides(h,t.token.value))){t.acceptToken(h);break}}let O=t.next,u=0,f=e[r+2];if(t.next<0&&f>u&&65535==e[l+3*f-3]){r=e[l+3*f-1];continue s}for(;u>1,p=l+d+(d<<1),m=e[p],g=e[p+1];if(O=g)u=d+1;else{r=e[p+2],t.advance();continue s}}break}}(this.data,e,t,this.id)}}Q.prototype.contextual=Q.prototype.fallback=Q.prototype.extend=!1;class b{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function x(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,a=!0),s+=l,a)break;s*=46}n?n[r++]=s:n=new t(s)}return n}let k=void 0!==h&&h.env&&/\bparse\b/.test(h.env.LOG),y=null;function v(e,t,n){let i=e.cursor(c.vj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.tot)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}(r=a||(a={}))[r.Margin=25]="Margin";class ${constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?v(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?v(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=s,null;if(r instanceof c.mp){if(s==e){if(s=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+r.length}}}class S{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new p)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:r}=i,s=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let l=0;lh.end+25&&(a=Math.max(h.lookAhead,a)),0!=h.value)){let O=t;if(h.extended>-1&&(t=this.addActions(e,h.extended,h.end,t)),t=this.addActions(e,h.value,h.end,t),!c.extend&&(n=h,t>O))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||((n=new p).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new p,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:r}=n.p;for(let s=0;s=0&&n.p.parser.dialect.allows(o>>1)){(1&o)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let r=0;r4*e.bufferLength?new $(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,r=this.stacks=[];for(let s=0;si)r.push(o);else{if(this.advanceStack(o,r,n))continue;e||(e=[],t=[]),e.push(o);let a=this.tokens.getMainToken(o);t.push(a.value,a.end)}break}}if(!r.length){let l=e&&function(e){let t=null;for(let n of e){let i=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=i&&n.pos>i)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scorethis.stoppedAt?e[0]:this.runRecovery(e,t,r);if(c)return this.stackToTree(c.forceAll())}if(this.recovering){let h=1==this.recovering?1:3*this.recovering;if(r.length>h)for(r.sort((e,t)=>t.score-e.score);r.length>h;)r.pop();r.some(e=>e.reducePos>i)&&this.recovering--}else if(r.length>1)i:for(let O=0;O500&&d.buffer.length>500){if((u.score-d.score||u.buffer.length-d.buffer.length)>0)r.splice(f--,1);else{r.splice(O--,1);continue i}}}}this.minStackPos=r[0].pos;for(let p=1;p ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let o=e.curContext&&e.curContext.tracker.strict,a=o?e.curContext.hash:0;for(let l=this.fragments.nodeAt(i);l;){let h=this.parser.nodeSet.types[l.type.id]==l.type?r.getGoto(e.state,l.type.id):-1;if(h>-1&&l.length&&(!o||(l.prop(c.md.contextHash)||0)==a))return e.useNode(l,h),k&&console.log(s+this.stackID(e)+` (via reuse of ${r.getName(l.type.id)})`),!0;if(!(l instanceof c.mp)||0==l.children.length||l.positions[0]>0)break;let O=l.children[0];if(O instanceof c.mp&&0==l.positions[0])l=O;else break}}let u=r.stateSlot(e.state,4);if(u>0)return e.reduce(u),k&&console.log(s+this.stackID(e)+` (via always-reduce ${r.getName(65535&u)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let f=this.tokens.getActions(e);for(let d=0;di?t.push(b):n.push(b)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return T(e,t),!0}}runRecovery(e,t,n){let i=null,r=!1;for(let s=0;s ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),k&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let h=o.split(),O=c;for(let u=0;h.forceReduce()&&u<10&&(k&&console.log(O+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));u++)k&&(O=this.stackID(h)+" -> ");for(let f of o.recoverByInsert(a))k&&console.log(c+this.stackID(f)+" (via recover-insert)"),this.advanceFully(f,n);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),k&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),T(o,n)):(!i||i.scoree;class C{constructor(e){this.start=e.start,this.shift=e.shift||R,this.reduce=e.reduce||R,this.reuse=e.reuse||R,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class Z extends c._b{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;ne.topRules[t][1]),r=[];for(let s=0;s=0)o(O,l,a[h++]);else{let u=a[h+-O];for(let f=-O;f>0;f--)o(a[h++],l,u);h++}}}this.nodeSet=new c.Lj(t.map((t,n)=>c.Jq.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:r[n],top:i.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=c.L3;let d=x(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let p=0;p"number"==typeof e?new Q(d,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new w(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return -1;for(let r=i[t+1];;){let s=i[r++],o=1&s,a=i[r++];if(o&&n)return a;for(let l=r+(s>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=X(this.data,n+2)}if(t==X(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=X(this.data,n+2);else break}if((1&this.data[n+2])==0){let i=this.data[n+1];t.some((e,t)=>1&t&&e==i)||t.push(this.data[n],i)}}return t}overrides(e,t){let n=j(this.data,this.tokenPrecTable,t);return n<0||j(this.data,this.tokenPrecTable,e){let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let r=e.specializers.find(e=>e.from==n.external);if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[i]=W(s),s})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let r=t.indexOf(i);r>=0&&(n[r]=!0)}let s=null;for(let o=0;oe.external(n,i)<<1|t}return e.get}},28699:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});let i="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let r in e)!function e(t,r,s,o){let a=[],l=/^@(\w+)\b/.exec(t[0]),c=l&&"keyframes"==l[1];if(l&&null==r)return s.push(t[0]+";");for(let h in r){let O=r[h];if(/&/.test(h))e(h.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),O,s);else if(O&&"object"==typeof O){if(!l)throw RangeError("The value of a property ("+h+") should be a primitive value.");e(i(h),O,a,c)}else null!=O&&a.push(h.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+O+";")}(a.length||c)&&s.push((!n||l||o?t:t.map(n)).join(", ")+" {"+a.join(" ")+"}")}(i(r),e[r],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[i]||1;return s[i]=e+1,"ͼ"+e.toString(36)}static mount(e,t){(e[r]||new l(e)).mount(Array.isArray(t)?t:[t])}}let a=null;class l{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(a)return e.adoptedStyleSheets=[a.sheet].concat(e.adoptedStyleSheets),e[r]=a;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),a=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[r]=this}mount(e){let t=this.sheet,n=0,i=0;for(let r=0;r-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),t)for(let a=0;a",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent);"undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent);for(var o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l=o||s&&57>+s[1],c=0;c<10;c++)i[48+c]=i[96+c]=String(c);for(var c=1;c<=24;c++)i[c+111]="F"+c;for(var c=65;c<=90;c++)i[c]=String.fromCharCode(c+32),r[c]=String.fromCharCode(c);for(var h in i)r.hasOwnProperty(h)||(r[h]=i[h]);function O(e){var t=!(l&&(e.ctrlKey||e.altKey||e.metaKey)||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1140],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},o=n(42135),a=function(e,t){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};a.displayName="DeleteOutlined";var l=r.forwardRef(a)},88484:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},o=n(42135),a=function(e,t){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};a.displayName="UploadOutlined";var l=r.forwardRef(a)},58909:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var i=n(35524),r=n(47421),s=n(59119),o=(e=>{var{theme:t,settings:n,styles:i}=e,o={"&":{backgroundColor:n.background,color:n.foreground},".cm-gutters":{}};n.gutterBackground&&(o[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(o[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(o[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(o[".cm-content"]={caretColor:n.caret},o[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret}),n.lineHighlight&&(o[".cm-activeLine"]={backgroundColor:n.lineHighlight},o[".cm-activeLineGutter"]={backgroundColor:n.lineHighlight}),n.selection&&(o["&.cm-focused .cm-selectionBackground .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, ::selection"]={backgroundColor:n.selection}),n.selectionMatch&&(o["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var a=r.tk.theme(o,{dark:"dark"===t}),l=s.Qf.define(i);return[a,(0,s.nF)(l)]})({theme:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",lineHighlight:"#00000012"},styles:[{tag:[i.pJ.meta,i.pJ.comment],color:"#804000"},{tag:[i.pJ.keyword,i.pJ.strong],color:"#0000FF"},{tag:[i.pJ.number],color:"#FF0080"},{tag:[i.pJ.string],color:"#FF0080"},{tag:[i.pJ.variableName],color:"#006600"},{tag:[i.pJ.escape],color:"#33CC33"},{tag:[i.pJ.tagName],color:"#1C02FF"},{tag:[i.pJ.heading],color:"#0C07FF"},{tag:[i.pJ.quote],color:"#000000"},{tag:[i.pJ.list],color:"#B90690"},{tag:[i.pJ.documentMeta],color:"#888888"},{tag:[i.pJ.function(i.pJ.variableName)],color:"#0000A2"},{tag:[i.pJ.definition(i.pJ.typeName),i.pJ.typeName],color:"#6D79DE"}]})},87685:function(e,t,n){"use strict";n.d(t,{ZP:function(){return nD}});var i=n(87462),r=n(63366),s=n(67294),o=n(78120),a=n(47421),l=n(59119),c=n(41113);let h=e=>{let t=p(e.state);return t.line?u(e):!!t.block&&d(e)};function O(e,t){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=e(t,n);return!!r&&(i(n.update(r)),!0)}}let u=O(function(e,t,n=t.selection.ranges){let i=[],r=-1;for(let{from:s,to:o}of n){let a=i.length,l=1e9;for(let c=s;c<=o;){let h=t.doc.lineAt(c);if(h.from>r&&(s==o||o>h.from)){r=h.from;let O=p(t,c).line;if(!O)continue;let u=/^\s*/.exec(h.text)[0].length,f=u==h.length,d=h.text.slice(u,u+O.length)==O?u:-1;ue.comment<0&&(!e.empty||e.single))){let g=[];for(let{line:Q,token:b,indent:x,empty:k,single:y}of i)(y||!k)&&g.push({from:Q.from+x,insert:b+" "});let v=t.changes(g);return{changes:v,selection:t.selection.map(v,1)}}if(1!=e&&i.some(e=>e.comment>=0)){let $=[];for(let{line:S,comment:w,token:T}of i)if(w>=0){let P=S.from+w,R=P+T.length;" "==S.text[R-S.from]&&R++,$.push({from:P,to:R})}return{changes:$}}return null},0),f=O(m,0),d=O((e,t)=>m(e,t,function(e){let t=[];for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),r=n.to<=i.to?i:e.doc.lineAt(n.to),s=t.length-1;s>=0&&t[s].to>i.from?t[s].to=r.to:t.push({from:i.from,to:r.to})}return t}(t)),0);function p(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function m(e,t,n=t.selection.ranges){let i=n.map(e=>p(t,e.from).block);if(!i.every(e=>e))return null;let r=n.map((e,n)=>(function(e,{open:t,close:n},i,r){let s,o,a=e.sliceDoc(i-50,i),l=e.sliceDoc(r,r+50),c=/\s*$/.exec(a)[0].length,h=/^\s*/.exec(l)[0].length,O=a.length-c;if(a.slice(O-t.length,O)==t&&l.slice(h,h+n.length)==n)return{open:{pos:i-c,margin:c&&1},close:{pos:r+h,margin:h&&1}};r-i<=100?s=o=e.sliceDoc(i,r):(s=e.sliceDoc(i,i+50),o=e.sliceDoc(r-50,r));let u=/^\s*/.exec(s)[0].length,f=/\s*$/.exec(o)[0].length,d=o.length-f-n.length;return s.slice(u,u+t.length)==t&&o.slice(d,d+n.length)==n?{open:{pos:i+u+t.length,margin:/\s/.test(s.charAt(u+t.length))?1:0},close:{pos:r-f-n.length,margin:/\s/.test(o.charAt(d-1))?1:0}}:null})(t,i[n],e.from,e.to));if(2!=e&&!r.every(e=>e))return{changes:t.changes(n.map((e,t)=>r[t]?[]:[{from:e.from,insert:i[t].open+" "},{from:e.to,insert:" "+i[t].close}]))};if(1!=e&&r.some(e=>e)){let s=[];for(let o=0,a;o(0,o.BO)(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}),k=o.QQ.define({create:()=>W.empty,update(e,t){let n=t.state.facet(x),i=t.annotation(g);if(i){var r;let s;let a=t.docChanged?o.jT.single((r=t.changes,s=0,r.iterChangedRanges((e,t)=>s=t),s)):void 0,l=T.fromTransaction(t,a),c=i.side,h=0==c?e.undone:e.done;return h=l?P(h,h.length,n.minDepth,l):Z(h,t.startState.selection),new W(0==c?i.rest:h,0==c?h:i.rest)}let O=t.annotation(Q);if(("full"==O||"before"==O)&&(e=e.isolate()),!1===t.annotation(o.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let u=T.fromTransaction(t),f=t.annotation(o.YW.time),d=t.annotation(o.YW.userEvent);return u?e=e.addChanges(u,f,d,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,f,d,n.newGroupDelay)),("full"==O||"after"==O)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new W(e.done.map(T.fromJSON),e.undone.map(T.fromJSON))});function y(e,t){return function({state:n,dispatch:i}){if(!t&&n.readOnly)return!1;let r=n.field(k,!1);if(!r)return!1;let s=r.pop(e,n,t);return!!s&&(i(s),!0)}}let v=y(0,!1),$=y(1,!1),S=y(0,!0),w=y(1,!0);class T{constructor(e,t,n,i,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(e){return new T(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new T(e.changes&&o.as.fromJSON(e.changes),[],e.mapped&&o.n0.fromJSON(e.mapped),e.startSelection&&o.jT.fromJSON(e.startSelection),e.selectionsAfter.map(o.jT.fromJSON))}static fromTransaction(e,t){let n=C;for(let i of e.startState.facet(b)){let r=i(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new T(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,C)}static selection(e){return new T(void 0,C,void 0,void 0,e)}}function P(e,t,n,i){let r=e.slice(t+1>n+20?t-n-1:0,t);return r.push(i),r}function R(e,t){return e.length?t.length?e.concat(t):e:t}let C=[];function Z(e,t){if(!e.length)return[T.selection([t])];{let n=e[e.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return i.length&&i[i.length-1].eq(t)?e:(i.push(t),P(e,e.length-1,1e9,n.setSelAfter(i)))}}function X(e,t){if(!e.length)return e;let n=e.length,i=C;for(;n;){let r=function(e,t,n){let i=R(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):C,n);if(!e.changes)return T.selection(i);let r=e.changes.map(t),s=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(s):s;return new T(r,o.Py.mapEffects(e.effects,t),a,e.startSelection.map(s),i)}(e[n-1],t,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=e.slice(0,n);return s[n-1]=r,s}t=r.mapped,n--,i=r.selectionsAfter}return i.length?[T.selection(i)]:C}let j=/^(input\.type|delete)($|\.)/;class W{constructor(e,t,n=0,i){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new W(this.done,this.undone):this}addChanges(e,t,n,i,r){var s,o;let a,l,c=this.done,h=c[c.length-1];return c=h&&h.changes&&!h.changes.empty&&e.changes&&(!n||j.test(n))&&(!h.selectionsAfter.length&&t-this.prevTimea.push(e,t)),o.iterChangedRanges((e,t,n,i)=>{for(let r=0;r=s&&n<=o&&(l=!0)}}),l)||"input.type.compose"==n)?P(c,c.length-1,r,new T(e.changes.compose(h.changes),R(e.effects,h.effects),h.mapped,h.startSelection,C)):P(c,c.length,r,e),new W(c,C,t,n)}addSelection(e,t,n,i){var r;let s=this.done.length?this.done[this.done.length-1].selectionsAfter:C;return s.length>0&&t-this.prevTimet.empty!=e.ranges[n].empty).length?this:new W(Z(this.done,e),this.undone,t,n)}addMapping(e){return new W(X(this.done,e),X(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=0==e?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1];if(n&&r.selectionsAfter.length){var s;let o,a;return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:g.of({side:e,rest:(o=(s=i)[s.length-1],(a=s.slice())[s.length-1]=o.setSelAfter(o.selectionsAfter.slice(0,o.selectionsAfter.length-1)),a)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let l=1==i.length?C:i.slice(0,i.length-1);return r.mapped&&(l=X(l,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:g.of({side:e,rest:l}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}W.empty=new W(C,C);let A=[{key:"Mod-z",run:v,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:$,preventDefault:!0},{linux:"Ctrl-Shift-z",run:$,preventDefault:!0},{key:"Mod-u",run:S,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:w,preventDefault:!0}];function _(e,t){return o.jT.create(e.ranges.map(t),e.mainIndex)}function q(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function z({state:e,dispatch:t},n){let i=_(e.selection,n);return!i.eq(e.selection)&&(t(q(e,i)),!0)}function I(e,t){return o.jT.cursor(t?e.to:e.from)}function E(e,t){return z(e,n=>n.empty?e.moveByChar(n,t):I(n,t))}function G(e){return e.textDirectionAt(e.state.selection.main.head)==a.Nm.LTR}let L=e=>E(e,!G(e)),D=e=>E(e,G(e));function N(e,t){return z(e,n=>n.empty?e.moveByGroup(n,t):I(n,t))}let U=e=>N(e,!G(e)),M=e=>N(e,G(e));function J(e,t,n){let i,r,s=(0,l.qz)(e).resolveInner(t.head),a=n?c.md.closedBy:c.md.openedBy;for(let h=t.head;;){let O=n?s.childAfter(h):s.childBefore(h);if(!O)break;!function(e,t,n){if(t.type.prop(n))return!0;let i=t.to-t.from;return i&&(i>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,O,a)?h=n?O.to:O.from:s=O}return r=s.type.prop(a)&&(i=n?(0,l.Um)(e,s.from,1):(0,l.Um)(e,s.to,-1))&&i.matched?n?i.end.to:i.end.from:n?s.to:s.from,o.jT.cursor(r,n?-1:1)}let V=e=>z(e,t=>J(e.state,t,!G(e))),B=e=>z(e,t=>J(e.state,t,G(e)));function Y(e,t){return z(e,n=>{if(!n.empty)return I(n,t);let i=e.moveVertically(n,t);return i.head!=n.head?i:e.moveToLineBoundary(n,t)})}let F=e=>Y(e,!1),H=e=>Y(e,!0);function K(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function ee(e,t){let n,{state:i}=e,r=_(i.selection,n=>n.empty?e.moveVertically(n,t,K(e)):I(n,t));if(r.eq(i.selection))return!1;let s=e.coordsAtPos(i.selection.main.head),o=e.scrollDOM.getBoundingClientRect();return s&&s.top>o.top&&s.bottomee(e,!1),en=e=>ee(e,!0);function ei(e,t,n){let i=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,n);if(r.head==t.head&&r.head!=(n?i.to:i.from)&&(r=e.moveToLineBoundary(t,n,!1)),!n&&r.head==i.from&&i.length){let s=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&t.head!=i.from+s&&(r=o.jT.cursor(i.from+s))}return r}let er=e=>z(e,t=>ei(e,t,!0)),es=e=>z(e,t=>ei(e,t,!1)),eo=e=>z(e,t=>ei(e,t,!G(e))),ea=e=>z(e,t=>ei(e,t,G(e))),el=e=>z(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from,1)),ec=e=>z(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to,-1)),eh=({state:e,dispatch:t})=>{let n,i;return n=!1,i=_(e.selection,t=>{let i=(0,l.Um)(e,t.head,-1)||(0,l.Um)(e,t.head,1)||t.head>0&&(0,l.Um)(e,t.head-1,1)||t.head{let n=t(e);return o.jT.range(e.anchor,n.head,n.goalColumn)});return!n.eq(e.state.selection)&&(e.dispatch(q(e.state,n)),!0)}function eu(e,t){return eO(e,n=>e.moveByChar(n,t))}let ef=e=>eu(e,!G(e)),ed=e=>eu(e,G(e));function ep(e,t){return eO(e,n=>e.moveByGroup(n,t))}let em=e=>ep(e,!G(e)),eg=e=>ep(e,G(e)),eQ=e=>eO(e,t=>J(e.state,t,!G(e))),eb=e=>eO(e,t=>J(e.state,t,G(e)));function ex(e,t){return eO(e,n=>e.moveVertically(n,t))}let ek=e=>ex(e,!1),ey=e=>ex(e,!0);function ev(e,t){return eO(e,n=>e.moveVertically(n,t,K(e)))}let e$=e=>ev(e,!1),eS=e=>ev(e,!0),ew=e=>eO(e,t=>ei(e,t,!0)),eT=e=>eO(e,t=>ei(e,t,!1)),eP=e=>eO(e,t=>ei(e,t,!G(e))),eR=e=>eO(e,t=>ei(e,t,G(e))),eC=e=>eO(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from)),eZ=e=>eO(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to)),eX=({state:e,dispatch:t})=>(t(q(e,{anchor:0})),!0),ej=({state:e,dispatch:t})=>(t(q(e,{anchor:e.doc.length})),!0),eW=({state:e,dispatch:t})=>(t(q(e,{anchor:e.selection.main.anchor,head:0})),!0),eA=({state:e,dispatch:t})=>(t(q(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),e_=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),eq=({state:e,dispatch:t})=>{let n=eH(e).map(({from:t,to:n})=>o.jT.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:o.jT.create(n),userEvent:"select"})),!0},ez=({state:e,dispatch:t})=>{let n=_(e.selection,t=>{var n;let i=(0,l.qz)(e).resolveInner(t.head,1);for(;!(i.from=t.to||i.to>t.to&&i.from<=t.from||!(null===(n=i.parent)||void 0===n?void 0:n.parent));)i=i.parent;return o.jT.range(i.to,i.from)});return t(q(e,n)),!0},eI=({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=o.jT.create([n.main]):n.main.empty||(i=o.jT.create([o.jT.cursor(n.main.head)])),!!i&&(t(q(e,i)),!0)};function eE(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,r=i.changeByRange(i=>{let{from:r,to:s}=i;if(r==s){let a=t(r);ar&&(n="delete.forward",a=eG(e,a,!0)),r=Math.min(r,a),s=Math.max(s,a)}else r=eG(e,r,!1),s=eG(e,s,!0);return r==s?{range:i}:{changes:{from:r,to:s},range:o.jT.cursor(r)}});return!r.changes.empty&&(e.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?a.tk.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function eG(e,t,n){if(e instanceof a.tk)for(let i of e.state.facet(a.tk.atomicRanges).map(t=>t(e)))i.between(t,t,(e,i)=>{et&&(t=n?i:e)});return t}let eL=(e,t)=>eE(e,n=>{let{state:i}=e,r=i.doc.lineAt(n),s,a;if(!t&&n>r.from&&neL(e,!1),eN=e=>eL(e,!0),eU=(e,t)=>eE(e,n=>{let i=n,{state:r}=e,s=r.doc.lineAt(i),a=r.charCategorizer(i);for(let l=null;;){if(i==(t?s.to:s.from)){i==n&&s.number!=(t?r.doc.lines:1)&&(i+=t?1:-1);break}let c=(0,o.cp)(s.text,i-s.from,t)+s.from,h=s.text.slice(Math.min(i,c)-s.from,Math.max(i,c)-s.from),O=a(h);if(null!=l&&O!=l)break;(" "!=h||i!=n)&&(l=O),i=c}return i}),eM=e=>eU(e,!1),eJ=e=>eU(e,!0),eV=e=>eE(e,t=>{let n=e.lineBlockAt(t).to;return teE(e,t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}),eY=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:o.xv.of(["",""])},range:o.jT.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},eF=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),r=n==i.from?n-1:(0,o.cp)(i.text,n-i.from,!1)+i.from,s=n==i.to?n+1:(0,o.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(r,n))},range:o.jT.cursor(s)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function eH(e){let t=[],n=-1;for(let i of e.selection.ranges){let r=e.doc.lineAt(i.from),s=e.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=e.doc.lineAt(i.to-1)),n>=r.number){let o=t[t.length-1];o.to=s.to,o.ranges.push(i)}else t.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return t}function eK(e,t,n){if(e.readOnly)return!1;let i=[],r=[];for(let s of eH(e)){if(n?s.to==e.doc.length:0==s.from)continue;let a=e.doc.lineAt(n?s.to+1:s.from-1),l=a.length+1;if(n)for(let c of(i.push({from:s.to,to:a.to},{from:s.from,insert:a.text+e.lineBreak}),s.ranges))r.push(o.jT.range(Math.min(e.doc.length,c.anchor+l),Math.min(e.doc.length,c.head+l)));else for(let h of(i.push({from:a.from,to:s.from},{from:s.to,insert:e.lineBreak+a.text}),s.ranges))r.push(o.jT.range(h.anchor-l,h.head-l))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:o.jT.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}let e0=({state:e,dispatch:t})=>eK(e,t,!1),e1=({state:e,dispatch:t})=>eK(e,t,!0);function e2(e,t,n){if(e.readOnly)return!1;let i=[];for(let r of eH(e))n?i.push({from:r.from,insert:e.doc.slice(r.from,r.to)+e.lineBreak}):i.push({from:r.to,insert:e.lineBreak+e.doc.slice(r.from,r.to)});return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let e5=({state:e,dispatch:t})=>e2(e,t,!1),e9=({state:e,dispatch:t})=>e2(e,t,!0),e3=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(eH(t).map(({from:e,to:n})=>(e>0?e--:ne.moveVertically(t,!0)).map(n);return e.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0},e7=e6(!1),e4=e6(!0);function e6(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:r}=n,s=t.doc.lineAt(i),a=!e&&i==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,l.qz)(e).resolveInner(t),i=n.childBefore(t),r=n.childAfter(t),s;return i&&r&&i.to<=t&&r.from>=t&&(s=i.type.prop(c.md.closedBy))&&s.indexOf(r.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}(t,i);e&&(i=r=(r<=s.to?s:t.doc.lineAt(r)).to);let h=new l.Gn(t,{simulateBreak:i,simulateDoubleBreak:!!a}),O=(0,l.K0)(h,i);for(null==O&&(O=/^\s*/.exec(t.doc.lineAt(i).text)[0].length);rs.from&&i{let r=[];for(let s=i.from;s<=i.to;){let a=e.doc.lineAt(s);a.number>n&&(i.empty||i.to>a.from)&&(t(a,r,i),n=a.number),s=a.to+1}let l=e.changes(r);return{changes:r,range:o.jT.range(l.mapPos(i.anchor,1),l.mapPos(i.head,1))}})}let te=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),i=new l.Gn(e,{overrideIndentation(e){let t=n[e];return null==t?-1:t}}),r=e8(e,(t,r,s)=>{let o=(0,l.K0)(i,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let a=/^\s*/.exec(t.text)[0],c=(0,l.SS)(e,o);(a!=c||s.from!e.readOnly&&(t(e.update(e8(e,(t,n)=>{n.push({from:t.from,insert:e.facet(l.c)})}),{userEvent:"input.indent"})),!0),tn=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(e8(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let r=(0,o.IS)(i,e.tabSize),s=0,a=(0,l.SS)(e,Math.max(0,r-(0,l.y1)(e)));for(;s({mac:e.key,run:e.run,shift:e.shift}))),tr=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:V,shift:eQ},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:B,shift:eb},{key:"Alt-ArrowUp",run:e0},{key:"Shift-Alt-ArrowUp",run:e5},{key:"Alt-ArrowDown",run:e1},{key:"Shift-Alt-ArrowDown",run:e9},{key:"Escape",run:eI},{key:"Mod-Enter",run:e4},{key:"Alt-l",mac:"Ctrl-l",run:eq},{key:"Mod-i",run:ez,preventDefault:!0},{key:"Mod-[",run:tn},{key:"Mod-]",run:tt},{key:"Mod-Alt-\\",run:te},{key:"Shift-Mod-k",run:e3},{key:"Shift-Mod-\\",run:eh},{key:"Mod-/",run:h},{key:"Alt-A",run:f}].concat(ti),ts={key:"Tab",run:tt,shift:tn};function to(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;te.normalize("NFKD"):e=>e;class tl{constructor(e,t,n=0,i=e.length,r,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=r?e=>r(ta(e)):ta,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,o.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,o.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,o.nZ)(e);let i=this.normalize(t);for(let r=0,s=n;;r++){let a=i.charCodeAt(r),l=this.match(a,s);if(l)return this.value=l,this;if(r==i.length-1)break;s==n&&rthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=tp(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||i.to<=t){let r=new tf(t,e.sliceString(t,n));return tu.set(e,r),r}if(i.from==t&&i.to==n)return i;let{text:s,from:o}=i;return o>t&&(s=e.sliceString(t,o)+s,o=t),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,i=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this.matchPos=tp(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=tf.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function tp(e,t){if(t>=e.length)return t;let n=e.lineAt(t),i;for(;t=56320&&i<57344;)t++;return t}function tm(e){let t=to("input",{class:"cm-textfield",name:"line"}),n=to("form",{class:"cm-gotoLine",onkeydown(t){27==t.keyCode?(t.preventDefault(),e.dispatch({effects:tg.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),i())},onsubmit(e){e.preventDefault(),i()}},to("label",e.state.phrase("Go to line"),": ",t)," ",to("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function i(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:i}=e,r=i.doc.lineAt(i.selection.main.head),[,s,a,l,c]=n,h=l?+l.slice(1):0,O=a?+a:r.number;if(a&&c){let u=O/100;s&&(u=u*("-"==s?-1:1)+r.number/i.doc.lines),O=Math.round(i.doc.lines*u)}else a&&s&&(O=O*("-"==s?-1:1)+r.number);let f=i.doc.line(Math.max(1,Math.min(i.doc.lines,O)));e.dispatch({effects:tg.of(!1),selection:o.jT.cursor(f.from+Math.max(0,Math.min(h,f.length))),scrollIntoView:!0}),e.focus()}return{dom:n}}"undefined"!=typeof Symbol&&(tO.prototype[Symbol.iterator]=td.prototype[Symbol.iterator]=function(){return this});let tg=o.Py.define(),tQ=o.QQ.define({create:()=>!0,update(e,t){for(let n of t.effects)n.is(tg)&&(e=n.value);return e},provide:e=>a.mH.from(e,e=>e?tm:null)}),tb=e=>{let t=(0,a.Sd)(e,tm);if(!t){let n=[tg.of(!0)];null==e.state.field(tQ,!1)&&n.push(o.Py.appendConfig.of([tQ,tx])),e.dispatch({effects:n}),t=(0,a.Sd)(e,tm)}return t&&t.dom.querySelector("input").focus(),!0},tx=a.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),tk={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},ty=o.r$.define({combine:e=>(0,o.BO)(e,tk,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),tv=a.p.mark({class:"cm-selectionMatch"}),t$=a.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function tS(e,t,n,i){return(0==n||e(t.sliceDoc(n-1,n))!=o.D0.Word)&&(i==t.doc.length||e(t.sliceDoc(i,i+1))!=o.D0.Word)}let tw=a.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(ty),{state:n}=e,i=n.selection;if(i.ranges.length>1)return a.p.none;let r=i.main,s,l=null;if(r.empty){if(!t.highlightWordAroundCursor)return a.p.none;let c=n.wordAt(r.head);if(!c)return a.p.none;l=n.charCategorizer(r.head),s=n.sliceDoc(c.from,c.to)}else{let h=r.to-r.from;if(h200)return a.p.none;if(t.wholeWords){var O,u,f;if(s=n.sliceDoc(r.from,r.to),!(tS(l=n.charCategorizer(r.head),n,r.from,r.to)&&(O=l,u=r.from,f=r.to,O(n.sliceDoc(u,u+1))==o.D0.Word&&O(n.sliceDoc(f-1,f))==o.D0.Word)))return a.p.none}else if(!(s=n.sliceDoc(r.from,r.to).trim()))return a.p.none}let d=[];for(let p of e.visibleRanges){let m=new tl(n.doc,s,p.from,p.to);for(;!m.next().done;){let{from:g,to:Q}=m.value;if((!l||tS(l,n,g,Q))&&(r.empty&&g<=r.from&&Q>=r.to?d.push(t$.range(g,Q)):(g>=r.to||Q<=r.from)&&d.push(tv.range(g,Q)),d.length>t.maxMatches))return a.p.none}}return a.p.set(d)}},{decorations:e=>e.decorations}),tT=a.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),tP=({state:e,dispatch:t})=>{let{selection:n}=e,i=o.jT.create(n.ranges.map(t=>e.wordAt(t.head)||o.jT.cursor(t.head)),n.mainIndex);return!i.eq(n)&&(t(e.update({selection:i})),!0)},tR=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return tP({state:e,dispatch:t});let i=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=i))return!1;let r=function(e,t){let{main:n,ranges:i}=e.selection,r=e.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,a=new tl(e.doc,t,i[i.length-1].to);;)if(a.next(),a.done){if(o)return null;a=new tl(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(e=>e.from==a.value.from))continue;if(s){let l=e.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}(e,i);return!!r&&(t(e.update({selection:e.selection.addRange(o.jT.range(r.from,r.to),!1),effects:a.tk.scrollIntoView(r.to)})),!0)},tC=o.r$.define({combine:e=>(0,o.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new t9(e)})});class tZ{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return RegExp(e,th),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new tz(this):new tW(this)}getCursor(e,t=0,n){let i=e.doc?e:o.yy.create({doc:e});return null==n&&(n=i.doc.length),this.regexp?tA(this,i,t,n):tj(this,i,t,n)}}class tX{constructor(e){this.spec=e}}function tj(e,t,n,i){var r,s;return new tl(t.doc,e.unquoted,n,i,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(r=t.doc,s=t.charCategorizer(t.selection.main.head),(e,t,n,i)=>((i>e||i+n.length=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tj(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}function tA(e,t,n,i){var r;return new tO(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(r=t.charCategorizer(t.selection.main.head),(e,t,n)=>!n[0].length||(r(t_(n.input,n.index))!=o.D0.Word||r(tq(n.input,n.index))!=o.D0.Word)&&(r(tq(n.input,n.index+n[0].length))!=o.D0.Word||r(t_(n.input,n.index+n[0].length))!=o.D0.Word)):void 0},n,i)}function t_(e,t){return e.slice((0,o.cp)(e,t,!1),t)}function tq(e,t){return e.slice(t,(0,o.cp)(e,t))}class tz extends tX{nextMatch(e,t,n){let i=tA(this.spec,e,n,e.doc.length).next();return i.done&&(i=tA(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let r=Math.max(t,n-1e4*i),s=tA(this.spec,e,r,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(r==t||o.from>r+10))return o;if(r==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tA(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}let tI=o.Py.define(),tE=o.Py.define(),tG=o.QQ.define({create:e=>new tL(t0(e).create(),null),update(e,t){for(let n of t.effects)n.is(tI)?e=new tL(n.value.create(),e.panel):n.is(tE)&&(e=new tL(e.query,n.value?tK:null));return e},provide:e=>a.mH.from(e,e=>e.panel)});class tL{constructor(e,t){this.query=e,this.panel=t}}let tD=a.p.mark({class:"cm-searchMatch"}),tN=a.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tU=a.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(tG))}update(e){let t=e.state.field(tG);(t!=e.startState.field(tG)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return a.p.none;let{view:n}=this,i=new o.f_;for(let r=0,s=n.visibleRanges,l=s.length;rs[r+1].from-500;)h=s[++r].to;e.highlight(n.state,c,h,(e,t)=>{let r=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);i.add(e,t,r?tN:tD)})}return i.finish()}},{decorations:e=>e.decorations});function tM(e){return t=>{let n=t.state.field(tG,!1);return n&&n.query.spec.valid?e(t,n):t1(t)}}let tJ=tM((e,{query:t})=>{let{to:n}=e.state.selection.main,i=t.nextMatch(e.state,n,n);return!!i&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:t4(e,i),userEvent:"select.search"}),!0)}),tV=tM((e,{query:t})=>{let{state:n}=e,{from:i}=n.selection.main,r=t.prevMatch(n,i,i);return!!r&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:t4(e,r),userEvent:"select.search"}),!0)}),tB=tM((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:o.jT.create(n.map(e=>o.jT.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),tY=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],a=0;for(let l=new tl(e.doc,e.sliceDoc(i,r));!l.next().done;){if(s.length>1e3)return!1;l.value.from==i&&(a=s.length),s.push(o.jT.range(l.value.from,l.value.to))}return t(e.update({selection:o.jT.create(s,a),userEvent:"select.search.matches"})),!0},tF=tM((e,{query:t})=>{let{state:n}=e,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,i,i);if(!s)return!1;let o=[],l,c,h=[];if(s.from==i&&s.to==r&&(c=n.toText(t.getReplacement(s)),o.push({from:s.from,to:s.to,insert:c}),s=t.nextMatch(n,s.from,s.to),h.push(a.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let O=0==o.length||o[0].from>=s.to?0:s.to-s.from-c.length;l={anchor:s.from-O,head:s.to-O},h.push(t4(e,s))}return e.dispatch({changes:o,selection:l,scrollIntoView:!!l,effects:h,userEvent:"input.replace"}),!0}),tH=tM((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:i}=e;return{from:n,to:i,insert:t.getReplacement(e)}});if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:a.tk.announce.of(i),userEvent:"input.replace.all"}),!0});function tK(e){return e.state.facet(tC).createPanel(e)}function t0(e,t){var n,i,r,s;let o=e.selection.main,a=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!a)return t;let l=e.facet(tC);return new tZ({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:l.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null==t?void 0:t.caseSensitive)&&void 0!==i?i:l.caseSensitive,literal:null!==(r=null==t?void 0:t.literal)&&void 0!==r?r:l.literal,wholeWord:null!==(s=null==t?void 0:t.wholeWord)&&void 0!==s?s:l.wholeWord})}let t1=e=>{let t=e.state.field(tG,!1);if(t&&t.panel){let n=(0,a.Sd)(e,tK);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=e.root.activeElement){let r=t0(e.state,t.query.spec);r.valid&&e.dispatch({effects:tI.of(r)}),i.focus(),i.select()}}else e.dispatch({effects:[tE.of(!0),t?tI.of(t0(e.state,t.query.spec)):o.Py.appendConfig.of(t8)]});return!0},t2=e=>{let t=e.state.field(tG,!1);if(!t||!t.panel)return!1;let n=(0,a.Sd)(e,tK);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:tE.of(!1)}),!0},t5=[{key:"Mod-f",run:t1,scope:"editor search-panel"},{key:"F3",run:tJ,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:tJ,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:t2,scope:"editor search-panel"},{key:"Mod-Shift-l",run:tY},{key:"Alt-g",run:tb},{key:"Mod-d",run:tR,preventDefault:!0}];class t9{constructor(e){this.view=e;let t=this.query=e.state.field(tG).query.spec;function n(e,t,n){return to("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=to("input",{value:t.search,placeholder:t3(e,"Find"),"aria-label":t3(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=to("input",{value:t.replace,placeholder:t3(e,"Replace"),"aria-label":t3(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=to("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=to("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=to("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=to("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>tJ(e),[t3(e,"next")]),n("prev",()=>tV(e),[t3(e,"previous")]),n("select",()=>tB(e),[t3(e,"all")]),to("label",null,[this.caseField,t3(e,"match case")]),to("label",null,[this.reField,t3(e,"regexp")]),to("label",null,[this.wordField,t3(e,"by word")]),...e.state.readOnly?[]:[to("br"),this.replaceField,n("replace",()=>tF(e),[t3(e,"replace")]),n("replaceAll",()=>tH(e),[t3(e,"replace all")]),to("button",{name:"close",onclick:()=>t2(e),"aria-label":t3(e,"close"),type:"button"},["\xd7"])]])}commit(){let e=new tZ({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:tI.of(e)}))}keydown(e){(0,a.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?tV:tJ)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),tF(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(tI)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(tC).top}}function t3(e,t){return e.state.phrase(t)}let t7=/[\s\.,:;?!]/;function t4(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),r=e.state.doc.lineAt(n).to,s=Math.max(i.from,t-30),o=Math.min(r,n+30),l=e.state.sliceDoc(s,o);if(s!=i.from){for(let c=0;c<30;c++)if(!t7.test(l[c+1])&&t7.test(l[c])){l=l.slice(c);break}}if(o!=r){for(let h=l.length-1;h>l.length-30;h--)if(!t7.test(l[h-1])&&t7.test(l[h])){l=l.slice(0,h);break}}return a.tk.announce.of(`${e.state.phrase("current match")}. ${l} ${e.state.phrase("on line")} ${i.number}.`)}let t6=a.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),t8=[tG,o.Wl.lowest(tU),t6];var ne=n(34790);class nt{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class nn{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,r=n.facet(ng).markerFilter;r&&(i=r(i));let s=a.p.set(i.map(e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from?a.p.widget({widget:new nx(e),diagnostic:e}).range(e.from):a.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to)),!0);return new nn(s,t,ni(s))}}function ni(e,t=null,n=0){let i=null;return e.between(n,1e9,(e,n,{spec:r})=>{if(!t||r.diagnostic==t)return i=new nt(e,n,r.diagnostic),!1}),i}function nr(e,t){return!!(e.effects.some(e=>e.is(no))||e.changes.touchesRange(t.pos))}function ns(e,t){return e.field(nc,!1)?t:t.concat(o.Py.appendConfig.of([nc,a.tk.decorations.compute([nc],e=>{let{selected:t,panel:n}=e.field(nc);return t&&n&&t.from!=t.to?a.p.set([nh.range(t.from,t.to)]):a.p.none}),(0,a.bF)(nO,{hideOn:nr}),n$]))}let no=o.Py.define(),na=o.Py.define(),nl=o.Py.define(),nc=o.QQ.define({create:()=>new nn(a.p.none,null,null),update(e,t){if(t.docChanged){let n=e.diagnostics.map(t.changes),i=null;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);i=ni(n,e.selected.diagnostic,r)||ni(n,null,r)}e=new nn(n,e.panel,i)}for(let s of t.effects)s.is(no)?e=nn.init(s.value,e.panel,t.state):s.is(na)?e=new nn(e.diagnostics,s.value?ny.open:null,e.selected):s.is(nl)&&(e=new nn(e.diagnostics,e.panel,s.value));return e},provide:e=>[a.mH.from(e,e=>e.panel),a.tk.decorations.from(e,e=>e.diagnostics)]}),nh=a.p.mark({class:"cm-lintRange cm-lintRange-active"});function nO(e,t,n){let{diagnostics:i}=e.state.field(nc),r=[],s=2e8,o=0;i.between(t-(n<0?1:0),t+(n>0?1:0),(e,i,{spec:a})=>{t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t({dom:function(e,t){return to("ul",{class:"cm-tooltip-lint"},t.map(t=>nb(e,t,!1)))}(e,r)})}:null}let nu=e=>{let t=e.state.field(nc,!1);t&&t.panel||e.dispatch({effects:ns(e.state,[na.of(!0)])});let n=(0,a.Sd)(e,ny.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},nf=e=>{let t=e.state.field(nc,!1);return!!t&&!!t.panel&&(e.dispatch({effects:na.of(!1)}),!0)},nd=e=>{let t=e.state.field(nc,!1);if(!t)return!1;let n=e.state.selection.main,i=t.diagnostics.iter(n.to+1);return(!!i.value||!!(i=t.diagnostics.iter(0)).value&&(i.from!=n.from||i.to!=n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},np=[{key:"Mod-Shift-m",run:nu},{key:"F8",run:nd}],nm=a.lg.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(ng);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){let e=Date.now();if(ePromise.resolve(e(this.view)))).then(e=>{let n=e.reduce((e,t)=>e.concat(t));this.view.state.doc==t.doc&&this.view.dispatch({effects:ns(this.view.state,[no.of(n)])})},e=>{(0,a.OO)(this.view.state,e)})}}update(e){let t=e.state.facet(ng);(e.docChanged||t!=e.startState.facet(ng))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),ng=o.r$.define({combine:e=>Object.assign({sources:e.map(e=>e.source)},(0,o.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null})),enables:nm});function nQ(e){let t=[];if(e)e:for(let{name:n}of e){for(let i=0;ie.toLowerCase()==r.toLowerCase())){t.push(r);continue e}}t.push("")}return t}function nb(e,t,n){var i;let r=n?nQ(t.actions):[];return to("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},to("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(i=t.actions)||void 0===i?void 0:i.map((n,i)=>{let s=i=>{i.preventDefault();let r=ni(e.state.field(nc).diagnostics,t);r&&n.apply(e,r.from,r.to)},{name:o}=n,a=r[i]?o.indexOf(r[i]):-1,l=a<0?o:[o.slice(0,a),to("u",o.slice(a,a+1)),o.slice(a+1)];return to("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${o}${a<0?"":` (access key "${r[i]})"`}.`},l)}),t.source&&to("div",{class:"cm-diagnosticSource"},t.source))}class nx extends a.l9{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return to("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class nk{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=nb(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class ny{constructor(e){this.view=e,this.items=[];let t=t=>{if(27==t.keyCode)nf(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],i=nQ(n.actions);for(let r=0;r{for(let t=0;tnf(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(nc).selected;if(!e)return -1;for(let t=0;t{let a=-1,l;for(let c=n;cn&&(this.items.splice(n,a-n),i=!0)),t&&l.diagnostic==t.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),r=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),n++});n({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{e.topt.bottom&&(this.list.scrollTop+=e.bottom-t.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ni(this.view.state.field(nc).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:nl.of(t)})}static open(e){return new ny(e)}}function nv(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}(``,'width="6" height="3"')}let n$=a.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nv("#d11")},".cm-lintRange-warning":{backgroundImage:nv("orange")},".cm-lintRange-info":{backgroundImage:nv("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});a.SJ;let nS=o.Py.define();var nw=function(e){void 0===e&&(e={});var t,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(ne.GA)),!1!==e.defaultKeymap&&(n=n.concat(tr)),!1!==e.searchKeymap&&(n=n.concat(t5)),!1!==e.historyKeymap&&(n=n.concat(A)),!1!==e.foldKeymap&&(n=n.concat(l.e7)),!1!==e.completionKeymap&&(n=n.concat(ne.B1)),!1!==e.lintKeymap&&(n=n.concat(np));var i=[];if(!1!==e.lineNumbers&&i.push((0,a.Eu)()),!1!==e.highlightActiveLineGutter&&i.push((0,a.HQ)()),!1!==e.highlightSpecialChars&&i.push((0,a.AE)()),!1!==e.history&&i.push(function(e={}){return[k,x.of(e),a.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?v:"historyRedo"==e.inputType?$:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&i.push((0,l.mi)()),!1!==e.drawSelection&&i.push((0,a.Uw)()),!1!==e.dropCursor&&i.push((0,a.qr)()),!1!==e.allowMultipleSelections&&i.push(o.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&i.push((0,l.nY)()),!1!==e.syntaxHighlighting&&i.push((0,l.nF)(l.R_,{fallback:!0})),!1!==e.bracketMatching&&i.push((0,l.n$)()),!1!==e.closeBrackets&&i.push((0,ne.vQ)()),!1!==e.autocompletion&&i.push((0,ne.ys)()),!1!==e.rectangularSelection&&i.push((0,a.Zs)()),!1!==e.crosshairCursor&&i.push((0,a.S2)()),!1!==e.highlightActiveLine&&i.push((0,a.ZO)()),!1!==e.highlightSelectionMatches){let r;i.push((r=[tT,tw],t&&r.push(ty.of(t)),r))}return i.concat([a.$f.of(n.flat())]).filter(Boolean)},nT=n(35524);let nP="#e06c75",nR="#abb2bf",nC="#7d8799",nZ="#d19a66",nX="#2c313a",nj="#282c34",nW="#353a42",nA="#528bff",n_=a.tk.theme({"&":{color:nR,backgroundColor:nj},".cm-content":{caretColor:nA},".cm-cursor, .cm-dropCursor":{borderLeftColor:nA},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:nR},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{backgroundColor:nj,color:nC,border:"none"},".cm-activeLineGutter":{backgroundColor:nX},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:nW},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:nW,borderBottomColor:nW},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:nX,color:nR}}},{dark:!0}),nq=l.Qf.define([{tag:nT.pJ.keyword,color:"#c678dd"},{tag:[nT.pJ.name,nT.pJ.deleted,nT.pJ.character,nT.pJ.propertyName,nT.pJ.macroName],color:nP},{tag:[nT.pJ.function(nT.pJ.variableName),nT.pJ.labelName],color:"#61afef"},{tag:[nT.pJ.color,nT.pJ.constant(nT.pJ.name),nT.pJ.standard(nT.pJ.name)],color:nZ},{tag:[nT.pJ.definition(nT.pJ.name),nT.pJ.separator],color:nR},{tag:[nT.pJ.typeName,nT.pJ.className,nT.pJ.number,nT.pJ.changed,nT.pJ.annotation,nT.pJ.modifier,nT.pJ.self,nT.pJ.namespace],color:"#e5c07b"},{tag:[nT.pJ.operator,nT.pJ.operatorKeyword,nT.pJ.url,nT.pJ.escape,nT.pJ.regexp,nT.pJ.link,nT.pJ.special(nT.pJ.string)],color:"#56b6c2"},{tag:[nT.pJ.meta,nT.pJ.comment],color:nC},{tag:nT.pJ.strong,fontWeight:"bold"},{tag:nT.pJ.emphasis,fontStyle:"italic"},{tag:nT.pJ.strikethrough,textDecoration:"line-through"},{tag:nT.pJ.link,color:nC,textDecoration:"underline"},{tag:nT.pJ.heading,fontWeight:"bold",color:nP},{tag:[nT.pJ.atom,nT.pJ.bool,nT.pJ.special(nT.pJ.variableName)],color:nZ},{tag:[nT.pJ.processingInstruction,nT.pJ.string,nT.pJ.inserted],color:"#98c379"},{tag:nT.pJ.invalid,color:"#ffffff"}]),nz=[n_,(0,l.nF)(nq)];var nI=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}),nE=n(85893),nG=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],nL=(0,s.forwardRef)((e,t)=>{var{className:n,value:l="",selection:c,extensions:h=[],onChange:O,onStatistics:u,onCreateEditor:f,onUpdate:d,autoFocus:p,theme:m="light",height:g,minHeight:Q,maxHeight:b,width:x,minWidth:k,maxWidth:y,basicSetup:v,placeholder:$,indentWithTab:S,editable:w,readOnly:T,root:P,initialState:R}=e,C=(0,r.Z)(e,nG),Z=(0,s.useRef)(null),{state:X,view:j,container:W,setContainer:A}=function(e){var{value:t,selection:n,onChange:i,onStatistics:r,onCreateEditor:l,onUpdate:c,extensions:h=[],autoFocus:O,theme:u="light",height:f="",minHeight:d="",maxHeight:p="",placeholder:m="",width:g="",minWidth:Q="",maxWidth:b="",editable:x=!0,readOnly:k=!1,indentWithTab:y=!0,basicSetup:v=!0,root:$,initialState:S}=e,[w,T]=(0,s.useState)(),[P,R]=(0,s.useState)(),[C,Z]=(0,s.useState)(),X=a.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),j=a.tk.theme({"&":{height:f,minHeight:d,maxHeight:p,width:g,minWidth:Q,maxWidth:b}}),W=[a.tk.updateListener.of(e=>{e.docChanged&&"function"==typeof i&&i(e.state.doc.toString(),e),r&&r(nI(e))}),j];switch(y&&W.unshift(a.$f.of([ts])),v&&("boolean"==typeof v?W.unshift(nw()):W.unshift(nw(v))),m&&W.unshift((0,a.W$)(m)),u){case"light":W.push(X);break;case"dark":W.push(nz);break;default:W.push(u)}return!1===x&&W.push(a.tk.editable.of(!1)),k&&W.push(o.yy.readOnly.of(!0)),c&&"function"==typeof c&&W.push(a.tk.updateListener.of(c)),W=W.concat(h),(0,s.useEffect)(()=>{if(w&&!C){var e={doc:t,selection:n,extensions:W},i=S?o.yy.fromJSON(S.json,e,S.fields):o.yy.create(e);if(Z(i),!P){var r=new a.tk({state:i,parent:w,root:$});R(r),l&&l(r,i)}}return()=>{P&&(Z(void 0),R(void 0))}},[w,C]),(0,s.useEffect)(()=>T(e.container),[e.container]),(0,s.useEffect)(()=>()=>{P&&(P.destroy(),R(void 0))},[P]),(0,s.useEffect)(()=>{O&&P&&P.focus()},[O,P]),(0,s.useEffect)(()=>{P&&P.dispatch({effects:o.Py.reconfigure.of(W)})},[u,h,f,d,p,g,Q,b,m,x,k,y,v,i,c]),(0,s.useEffect)(()=>{var e=P?P.state.doc.toString():"";P&&t!==e&&P.dispatch({changes:{from:0,to:e.length,insert:t||""}})},[t,P]),{state:C,setState:Z,view:P,setView:R,container:w,setContainer:T}}({container:Z.current,root:P,value:l,autoFocus:p,theme:m,height:g,minHeight:Q,maxHeight:b,width:x,minWidth:k,maxWidth:y,basicSetup:v,placeholder:$,indentWithTab:S,editable:w,readOnly:T,selection:c,onChange:O,onStatistics:u,onCreateEditor:f,onUpdate:d,extensions:h,initialState:R});if((0,s.useImperativeHandle)(t,()=>({editor:Z.current,state:X,view:j}),[Z,W,X,j]),"string"!=typeof l)throw Error("value must be typeof string but got "+typeof l);return(0,nE.jsx)("div",(0,i.Z)({ref:Z,className:("string"==typeof m?"cm-theme-"+m:"cm-theme")+(n?" "+n:"")},C))});nL.displayName="CodeMirror";var nD=nL},94594:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var i=n(87462),r=n(4942),s=n(50888),o=n(94184),a=n.n(o),l=n(97685),c=n(45987),h=n(67294),O=n(21770),u=n(15105),f=h.forwardRef(function(e,t){var n,i=e.prefixCls,s=void 0===i?"rc-switch":i,o=e.className,f=e.checked,d=e.defaultChecked,p=e.disabled,m=e.loadingIcon,g=e.checkedChildren,Q=e.unCheckedChildren,b=e.onClick,x=e.onChange,k=e.onKeyDown,y=(0,c.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),v=(0,O.Z)(!1,{value:f,defaultValue:d}),$=(0,l.Z)(v,2),S=$[0],w=$[1];function T(e,t){var n=S;return p||(w(n=e),null==x||x(n,t)),n}var P=a()(s,o,(n={},(0,r.Z)(n,"".concat(s,"-checked"),S),(0,r.Z)(n,"".concat(s,"-disabled"),p),n));return h.createElement("button",Object.assign({},y,{type:"button",role:"switch","aria-checked":S,disabled:p,className:P,ref:t,onKeyDown:function(e){e.which===u.Z.LEFT?T(!1,e):e.which===u.Z.RIGHT&&T(!0,e),null==k||k(e)},onClick:function(e){var t=T(!S,e);null==b||b(t,e)}}),m,h.createElement("span",{className:"".concat(s,"-inner")},S?g:Q))});f.displayName="Switch";var d=n(53124),p=n(98866),m=n(97647),g=n(68349),Q=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},b=h.forwardRef(function(e,t){var n,o=e.prefixCls,l=e.size,c=e.disabled,O=e.loading,u=e.className,b=Q(e,["prefixCls","size","disabled","loading","className"]),x=h.useContext(d.E_),k=x.getPrefixCls,y=x.direction,v=h.useContext(m.Z),$=h.useContext(p.Z),S=k("switch",o),w=h.createElement("div",{className:"".concat(S,"-handle")},O&&h.createElement(s.Z,{className:"".concat(S,"-loading-icon")})),T=a()((n={},(0,r.Z)(n,"".concat(S,"-small"),"small"===(l||v)),(0,r.Z)(n,"".concat(S,"-loading"),O),(0,r.Z)(n,"".concat(S,"-rtl"),"rtl"===y),n),void 0===u?"":u);return h.createElement(g.Z,{insertExtraNode:!0},h.createElement(f,(0,i.Z)({},b,{prefixCls:S,className:T,disabled:(null!=c?c:$)||O,ref:t,loadingIcon:w})))});b.__ANT_SWITCH=!0;var x=b},20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var i=n(4942),r=n(87462),s=n(97685),o=n(97937),a=n(94184),l=n.n(a),c=n(98423),h=n(67294),O=n(53124),u=n(98787),f=n(68349),d=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},p=function(e){var t,n=e.prefixCls,s=e.className,o=e.checked,a=e.onChange,c=e.onClick,u=d(e,["prefixCls","className","checked","onChange","onClick"]),f=h.useContext(O.E_).getPrefixCls,p=function(e){null==a||a(!o),null==c||c(e)},m=f("tag",n),g=l()(m,(t={},(0,i.Z)(t,"".concat(m,"-checkable"),!0),(0,i.Z)(t,"".concat(m,"-checkable-checked"),o),t),s);return h.createElement("span",(0,r.Z)({},u,{className:g,onClick:p}))},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},g=RegExp("^(".concat(u.Y.join("|"),")(-inverse)?$")),Q=RegExp("^(".concat(u.E.join("|"),")$")),b=function(e,t){var n,a=e.prefixCls,u=e.className,d=e.style,p=e.children,b=e.icon,x=e.color,k=e.onClose,y=e.closeIcon,v=e.closable,$=m(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),S=h.useContext(O.E_),w=S.getPrefixCls,T=S.direction,P=h.useState(!0),R=(0,s.Z)(P,2),C=R[0],Z=R[1];h.useEffect(function(){"visible"in $&&Z($.visible)},[$.visible]);var X=function(){return!!x&&(g.test(x)||Q.test(x))},j=(0,r.Z)({backgroundColor:x&&!X()?x:void 0},d),W=X(),A=w("tag",a),_=l()(A,(n={},(0,i.Z)(n,"".concat(A,"-").concat(x),W),(0,i.Z)(n,"".concat(A,"-has-color"),x&&!W),(0,i.Z)(n,"".concat(A,"-hidden"),!C),(0,i.Z)(n,"".concat(A,"-rtl"),"rtl"===T),n),u),q=function(e){e.stopPropagation(),null==k||k(e),!e.defaultPrevented&&("visible"in $||Z(!1))},z="onClick"in $||p&&"a"===p.type,I=(0,c.Z)($,["visible"]),E=b||null,G=E?h.createElement(h.Fragment,null,E,h.createElement("span",null,p)):p,L=h.createElement("span",(0,r.Z)({},I,{ref:t,className:_,style:j}),G,void 0!==v&&v?y?h.createElement("span",{className:"".concat(A,"-close-icon"),onClick:q},y):h.createElement(o.Z,{className:"".concat(A,"-close-icon"),onClick:q}):null);return z?h.createElement(f.Z,null,L):L},x=h.forwardRef(b);x.CheckableTag=p;var k=x},77916:function(e,t,n){"use strict";n.d(t,{Z:function(){return e$}});var i=n(87462),r=n(67294),s=n(4942),o=n(74165),a=n(71002),l=n(74902),c=n(97685),h=n(94184),O=n.n(h),u=n(15671),f=n(43144),d=n(60136),p=n(33643),m=n(45987),g=n(15861),Q=n(64217);function b(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function x(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var i=e.data[t];if(Array.isArray(i)){i.forEach(function(e){n.append("".concat(t,"[]"),e)});return}n.append(t,i)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var n;return e.onError(((n=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,n.method=e.method,n.url=e.action,n),b(t))}return e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var i=e.headers||{};return null!==i["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(i).forEach(function(e){null!==i[e]&&t.setRequestHeader(e,i[e])}),t.send(n),{abort:function(){t.abort()}}}var k=+new Date,y=0;function v(){return"rc-upload-".concat(k,"-").concat(++y)}var $=n(80334),S=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=e.type||"",s=r.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=i.toLowerCase(),o=t.toLowerCase(),a=[o];return(".jpg"===o||".jpeg"===o)&&(a=[".jpg",".jpeg"]),a.some(function(e){return n.endsWith(e)})}return/\/\*$/.test(t)?s===t.replace(/\/.*$/,""):r===t||!!/^\w+$/.test(t)&&((0,$.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0},w=function(e,t,n){var i=function e(i,r){if(i.path=r||"",i.isFile)i.file(function(e){n(e)&&(i.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))});else if(i.isDirectory){var s,o,a;s=function(t){t.forEach(function(t){e(t,"".concat(r).concat(i.name,"/"))})},o=i.createReader(),a=[],function e(){o.readEntries(function(t){var n=Array.prototype.slice.apply(t);a=a.concat(n),n.length?e():s(a)})}()}};e.forEach(function(e){i(e.webkitGetAsEntry())})},T=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],P=function(e){(0,d.Z)(n,e);var t=(0,p.Z)(n);function n(){(0,u.Z)(this,n);for(var e,i,r=arguments.length,s=Array(r),c=0;c0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},er=function(e){return 0===e.indexOf("image/")},es=function(e){if(e.type&&!e.thumbUrl)return er(e.type);var t=e.thumbUrl||e.url||"",n=ei(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n};function eo(e){return new Promise(function(t){if(!e.type||!er(e.type)){t("");return}var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var i=n.getContext("2d"),r=new Image;if(r.onload=function(){var e=r.width,s=r.height,o=200,a=200,l=0,c=0;e>s?c=-((a=s*(200/e))-o)/2:l=-((o=e*(200/s))-a)/2,i.drawImage(r,l,c,o,a);var h=n.toDataURL();document.body.removeChild(n),t(h)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var s=new FileReader;s.addEventListener("load",function(){s.result&&(r.src=s.result)}),s.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)})}var ea=n(48689),el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ec=function(e,t){return r.createElement(I.Z,(0,q.Z)((0,q.Z)({},e),{},{ref:t,icon:el}))};ec.displayName="DownloadOutlined";var eh=r.forwardRef(ec),eO=n(99611),eu=n(97910),ef=n(94199),ed=r.forwardRef(function(e,t){var n,o=e.prefixCls,a=e.className,l=e.style,h=e.locale,u=e.listType,f=e.file,d=e.items,p=e.progress,m=e.iconRender,g=e.actionIconRender,Q=e.itemRender,b=e.isImgUrl,x=e.showPreviewIcon,k=e.showRemoveIcon,y=e.showDownloadIcon,v=e.previewIcon,$=e.removeIcon,S=e.downloadIcon,w=e.onPreview,T=e.onDownload,P=e.onClose,R=f.status,C=r.useState(R),Z=(0,c.Z)(C,2),X=Z[0],W=Z[1];r.useEffect(function(){"removed"!==R&&W(R)},[R]);var A=r.useState(!1),_=(0,c.Z)(A,2),q=_[0],z=_[1],I=r.useRef();r.useEffect(function(){return I.current=setTimeout(function(){z(!0)},300),function(){window.clearTimeout(I.current)}},[]);var E=m(f),G=r.createElement("div",{className:"".concat(o,"-text-icon")},E);if("picture"===u||"picture-card"===u){if("uploading"!==X&&(f.thumbUrl||f.url)){var L,D=(null==b?void 0:b(f))?r.createElement("img",{src:f.thumbUrl||f.url,alt:f.name,className:"".concat(o,"-list-item-image"),crossOrigin:f.crossOrigin}):E,N=O()((L={},(0,s.Z)(L,"".concat(o,"-list-item-thumbnail"),!0),(0,s.Z)(L,"".concat(o,"-list-item-file"),b&&!b(f)),L));G=r.createElement("a",{className:N,onClick:function(e){return w(f,e)},href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer"},D)}else{var U,M,J,V,Y=O()((V={},(0,s.Z)(V,"".concat(o,"-list-item-thumbnail"),!0),(0,s.Z)(V,"".concat(o,"-list-item-file"),"uploading"!==X),V));G=r.createElement("div",{className:Y},E)}}var F=O()((U={},(0,s.Z)(U,"".concat(o,"-list-item"),!0),(0,s.Z)(U,"".concat(o,"-list-item-").concat(X),!0),(0,s.Z)(U,"".concat(o,"-list-item-list-type-").concat(u),!0),U)),H="string"==typeof f.linkProps?JSON.parse(f.linkProps):f.linkProps,K=k?g(("function"==typeof $?$(f):$)||r.createElement(ea.Z,null),function(){return P(f)},o,h.removeFile):null,ee=y&&"done"===X?g(("function"==typeof S?S(f):S)||r.createElement(eh,null),function(){return T(f)},o,h.downloadFile):null,et="picture-card"!==u&&r.createElement("span",{key:"download-delete",className:O()("".concat(o,"-list-item-card-actions"),{picture:"picture"===u})},ee,K),en=O()("".concat(o,"-list-item-name")),ei=f.url?[r.createElement("a",(0,i.Z)({key:"view",target:"_blank",rel:"noopener noreferrer",className:en,title:f.name},H,{href:f.url,onClick:function(e){return w(f,e)}}),f.name),et]:[r.createElement("span",{key:"view",className:en,onClick:function(e){return w(f,e)},title:f.name},f.name),et],er=x?r.createElement("a",{href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:f.url||f.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(e){return w(f,e)},title:h.previewFile},"function"==typeof v?v(f):v||r.createElement(eO.Z,null)):null,es="picture-card"===u&&"uploading"!==X&&r.createElement("span",{className:"".concat(o,"-list-item-actions")},er,"done"===X&&ee,K);n=f.response&&"string"==typeof f.response?f.response:(null===(M=f.error)||void 0===M?void 0:M.statusText)||(null===(J=f.error)||void 0===J?void 0:J.message)||h.uploadError;var eo=r.createElement("span",{className:"".concat(o,"-span")},G,ei),el=(0,r.useContext(j.E_).getPrefixCls)(),ec=r.createElement("div",{className:F},r.createElement("div",{className:"".concat(o,"-list-item-info")},eo),es,q&&r.createElement(B.Z,{motionName:"".concat(el,"-fade"),visible:"uploading"===X,motionDeadline:2e3},function(e){var t=e.className,n="percent"in f?r.createElement(eu.Z,(0,i.Z)({},p,{type:"line",percent:f.percent})):null;return r.createElement("div",{className:O()("".concat(o,"-list-item-progress"),t)},n)})),ed=O()("".concat(o,"-list-").concat(u,"-container"),a),ep="error"===X?r.createElement(ef.Z,{title:n,getPopupContainer:function(e){return e.parentNode}},ec):ec;return r.createElement("div",{className:ed,style:l,ref:t},Q?Q(ep,f,d,{download:T.bind(null,f),preview:w.bind(null,f),remove:P.bind(null,f)}):ep)}),ep=(0,i.Z)({},H.ZP);delete ep.onAppearEnd,delete ep.onEnterEnd,delete ep.onLeaveEnd;var em=function(e,t){var n,o=e.listType,a=void 0===o?"text":o,h=e.previewFile,u=void 0===h?eo:h,f=e.onPreview,d=e.onDownload,p=e.onRemove,m=e.locale,g=e.iconRender,Q=e.isImageUrl,b=void 0===Q?es:Q,x=e.prefixCls,k=e.items,y=void 0===k?[]:k,v=e.showPreviewIcon,$=void 0===v||v,S=e.showRemoveIcon,w=void 0===S||S,T=e.showDownloadIcon,P=void 0!==T&&T,R=e.removeIcon,C=e.previewIcon,Z=e.downloadIcon,X=e.progress,W=void 0===X?{strokeWidth:2,showInfo:!1}:X,A=e.appendAction,_=e.appendActionVisible,q=e.itemRender,z=(0,F.Z)(),I=r.useState(!1),E=(0,c.Z)(I,2),D=E[0],N=E[1];r.useEffect(function(){("picture"===a||"picture-card"===a)&&(y||[]).forEach(function(e){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",u&&u(e.originFileObj).then(function(t){e.thumbUrl=t||"",z()}))})},[a,y,u]),r.useEffect(function(){N(!0)},[]);var M=function(e,t){if(f)return null==t||t.preventDefault(),f(e)},J=function(e){"function"==typeof d?d(e):e.url&&window.open(e.url)},H=function(e){null==p||p(e)},ee=function(e){if(g)return g(e,a);var t="uploading"===e.status,n=b&&b(e)?r.createElement(V,null):r.createElement(G,null),i=t?r.createElement(L.Z,null):r.createElement(U,null);return"picture"===a?i=t?r.createElement(L.Z,null):n:"picture-card"===a&&(i=t?m.uploading:n),i},et=function(e,t,n,s){var o={type:"text",size:"small",title:s,onClick:function(n){t(),(0,K.l$)(e)&&e.props.onClick&&e.props.onClick(n)},className:"".concat(n,"-list-item-card-actions-btn")};if((0,K.l$)(e)){var a=(0,K.Tm)(e,(0,i.Z)((0,i.Z)({},e.props),{onClick:function(){}}));return r.createElement(Y.Z,(0,i.Z)({},o,{icon:a}))}return r.createElement(Y.Z,(0,i.Z)({},o),r.createElement("span",null,e))};r.useImperativeHandle(t,function(){return{handlePreview:M,handleDownload:J}});var en=r.useContext(j.E_),ei=en.getPrefixCls,er=en.direction,ea=ei("upload",x),el=O()((n={},(0,s.Z)(n,"".concat(ea,"-list"),!0),(0,s.Z)(n,"".concat(ea,"-list-").concat(a),!0),(0,s.Z)(n,"".concat(ea,"-list-rtl"),"rtl"===er),n)),ec=(0,l.Z)(y.map(function(e){return{key:e.uid,file:e}})),eh={motionDeadline:2e3,motionName:"".concat(ea,"-").concat("picture-card"===a?"animate-inline":"animate"),keys:ec,motionAppear:D};return"picture-card"!==a&&(eh=(0,i.Z)((0,i.Z)({},ep),eh)),r.createElement("div",{className:el},r.createElement(B.V,(0,i.Z)({},eh,{component:!1}),function(e){var t=e.key,n=e.file,i=e.className,s=e.style;return r.createElement(ed,{key:t,locale:m,prefixCls:ea,className:i,style:s,file:n,items:y,progress:W,listType:a,isImgUrl:b,showPreviewIcon:$,showRemoveIcon:w,showDownloadIcon:P,removeIcon:R,previewIcon:C,downloadIcon:Z,iconRender:ee,actionIconRender:et,itemRender:q,onPreview:M,onDownload:J,onClose:H})}),A&&r.createElement(B.Z,(0,i.Z)({},eh,{visible:void 0===_||_,forceRender:!0}),function(e){var t=e.className,n=e.style;return(0,K.Tm)(A,function(e){return{className:O()(e.className,t),style:(0,i.Z)((0,i.Z)((0,i.Z)({},n),{pointerEvents:t?"none":void 0}),e.style)}})}))},eg=r.forwardRef(em),eQ="__LIST_IGNORE_".concat(Date.now(),"__"),eb=function(e,t){var n,h=e.fileList,u=e.defaultFileList,f=e.onRemove,d=e.showUploadList,p=void 0===d||d,m=e.listType,g=void 0===m?"text":m,Q=e.onPreview,b=e.onDownload,x=e.onChange,k=e.onDrop,y=e.previewFile,v=e.disabled,$=e.locale,S=e.iconRender,w=e.isImageUrl,T=e.progress,P=e.prefixCls,R=e.className,q=e.type,z=e.children,I=e.style,E=e.itemRender,G=e.maxCount,L=e.data,D=e.multiple,N=e.action,U=e.accept,M=e.supportServerRender,J=r.useContext(W.Z),V=null!=v?v:J,B=(0,Z.Z)(u||[],{value:h,postState:function(e){return null!=e?e:[]}}),Y=(0,c.Z)(B,2),F=Y[0],H=Y[1],K=r.useState("drop"),ei=(0,c.Z)(K,2),er=ei[0],es=ei[1],eo=r.useRef();r.useMemo(function(){var e=Date.now();(h||[]).forEach(function(t,n){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(n,"__"))})},[h]);var ea=function(e,t,n){var i=(0,l.Z)(t);1===G?i=i.slice(-1):G&&(i=i.slice(0,G)),(0,X.flushSync)(function(){H(i)});var r={file:e,fileList:i};n&&(r.event=n),null==x||x(r)},el=function(t,n){var i,r,s,l;return i=void 0,r=void 0,s=void 0,l=(0,o.Z)().mark(function i(){var r,s,l,c;return(0,o.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(r=e.beforeUpload,s=e.transformFile,l=t,!r){i.next=13;break}return i.next=5,r(t,n);case 5:if(!1!==(c=i.sent)){i.next=8;break}return i.abrupt("return",!1);case 8:if(delete t[eQ],c!==eQ){i.next=12;break}return Object.defineProperty(t,eQ,{value:!0,configurable:!0}),i.abrupt("return",!1);case 12:"object"===(0,a.Z)(c)&&c&&(l=c);case 13:if(!s){i.next=17;break}return i.next=16,s(l);case 16:l=i.sent;case 17:return i.abrupt("return",l);case 18:case"end":return i.stop()}},i)}),new(s||(s=Promise))(function(e,t){function n(e){try{a(l.next(e))}catch(n){t(n)}}function o(e){try{a(l.throw(e))}catch(n){t(n)}}function a(t){var i;t.done?e(t.value):((i=t.value)instanceof s?i:new s(function(e){e(i)})).then(n,o)}a((l=l.apply(i,r||[])).next())})},ec=function(e){var t=e.filter(function(e){return!e.file[eQ]});if(t.length){var n=t.map(function(e){return ee(e.file)}),i=(0,l.Z)(F);n.forEach(function(e){i=et(e,i)}),n.forEach(function(e,n){var r=e;if(t[n].parsedFile)e.status="uploading";else{var s,o=e.originFileObj;try{s=new File([o],o.name,{type:o.type})}catch(a){(s=new Blob([o],{type:o.type})).name=o.name,s.lastModifiedDate=new Date,s.lastModified=new Date().getTime()}s.uid=e.uid,r=s}ea(r,i)})}},eh=function(e,t,n){try{"string"==typeof e&&(e=JSON.parse(e))}catch(i){}if(en(t,F)){var r=ee(t);r.status="done",r.percent=100,r.response=e,r.xhr=n;var s=et(r,F);ea(r,s)}},eO=function(e,t){if(en(t,F)){var n=ee(t);n.status="uploading",n.percent=e.percent;var i=et(n,F);ea(n,i,e)}},eu=function(e,t,n){if(en(n,F)){var i=ee(n);i.error=e,i.response=t,i.status="error";var r=et(i,F);ea(i,r)}},ef=function(e){var t;Promise.resolve("function"==typeof f?f(e):f).then(function(n){if(!1!==n){var r,s,o,a=(r=void 0!==e.uid?"uid":"name",(s=F.filter(function(t){return t[r]!==e[r]})).length===F.length?null:s);a&&(t=(0,i.Z)((0,i.Z)({},e),{status:"removed"}),null==F||F.forEach(function(e){var n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")}),null===(o=eo.current)||void 0===o||o.abort(t),ea(t,a))}})},ed=function(e){es(e.type),"drop"===e.type&&(null==k||k(e))};r.useImperativeHandle(t,function(){return{onBatchStart:ec,onSuccess:eh,onProgress:eO,onError:eu,fileList:F,upload:eo.current}});var ep=r.useContext(j.E_),em=ep.getPrefixCls,eb=ep.direction,ex=em("upload",P),ek=(0,i.Z)((0,i.Z)({onBatchStart:ec,onError:eu,onProgress:eO,onSuccess:eh},e),{data:void 0===L?{}:L,multiple:void 0!==D&&D,action:void 0===N?"":N,accept:void 0===U?"":U,supportServerRender:void 0===M||M,prefixCls:ex,disabled:V,beforeUpload:el,onChange:void 0});delete ek.className,delete ek.style,(!z||V)&&delete ek.id;var ey=function(e,t){return p?r.createElement(A.Z,{componentName:"Upload",defaultLocale:_.Z.Upload},function(n){var s="boolean"==typeof p?{}:p,o=s.showRemoveIcon,a=s.showPreviewIcon,l=s.showDownloadIcon,c=s.removeIcon,h=s.previewIcon,O=s.downloadIcon;return r.createElement(eg,{prefixCls:ex,listType:g,items:F,previewFile:y,onPreview:Q,onDownload:b,onRemove:ef,showRemoveIcon:!V&&o,showPreviewIcon:a,showDownloadIcon:l,removeIcon:c,previewIcon:h,downloadIcon:O,iconRender:S,locale:(0,i.Z)((0,i.Z)({},n),$),isImageUrl:w,progress:T,appendAction:e,appendActionVisible:t,itemRender:E})}):e};if("drag"===(void 0===q?"select":q)){var ev,e$,eS=O()(ex,(e$={},(0,s.Z)(e$,"".concat(ex,"-drag"),!0),(0,s.Z)(e$,"".concat(ex,"-drag-uploading"),F.some(function(e){return"uploading"===e.status})),(0,s.Z)(e$,"".concat(ex,"-drag-hover"),"dragover"===er),(0,s.Z)(e$,"".concat(ex,"-disabled"),V),(0,s.Z)(e$,"".concat(ex,"-rtl"),"rtl"===eb),e$),R);return r.createElement("span",null,r.createElement("div",{className:eS,onDrop:ed,onDragOver:ed,onDragLeave:ed,style:I},r.createElement(C,(0,i.Z)({},ek,{ref:eo,className:"".concat(ex,"-btn")}),r.createElement("div",{className:"".concat(ex,"-drag-container")},z))),ey())}var ew=O()(ex,(ev={},(0,s.Z)(ev,"".concat(ex,"-select"),!0),(0,s.Z)(ev,"".concat(ex,"-select-").concat(g),!0),(0,s.Z)(ev,"".concat(ex,"-disabled"),V),(0,s.Z)(ev,"".concat(ex,"-rtl"),"rtl"===eb),ev)),eT=(n=z?void 0:{display:"none"},r.createElement("div",{className:ew,style:n},r.createElement(C,(0,i.Z)({},ek,{ref:eo}))));return"picture-card"===g?r.createElement("span",{className:O()("".concat(ex,"-picture-card-wrapper"),R)},ey(eT,!!z)):r.createElement("span",{className:R},eT,ey())},ex=r.forwardRef(eb),ek=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},ey=r.forwardRef(function(e,t){var n=e.style,s=e.height,o=ek(e,["style","height"]);return r.createElement(ex,(0,i.Z)({ref:t},o,{type:"drag",style:(0,i.Z)((0,i.Z)({},n),{height:s})}))}),ev=ex;ev.Dragger=ey,ev.LIST_IGNORE=eQ;var e$=ev},27561:function(e,t,n){var i=n(67990),r=/^\s+/;e.exports=function(e){return e?e.slice(0,i(e)+1).replace(r,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var i=n(13218),r=n(7771),s=n(14841),o=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,h,O,u,f,d=0,p=!1,m=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function Q(t){var n=l,i=c;return l=c=void 0,d=t,O=e.apply(i,n)}function b(e){var n=e-f,i=e-d;return void 0===f||n>=t||n<0||m&&i>=h}function x(){var e,n,i,s=r();if(b(s))return k(s);u=setTimeout(x,(e=s-f,n=s-d,i=t-e,m?a(i,h-n):i))}function k(e){return(u=void 0,g&&l)?Q(e):(l=c=void 0,O)}function y(){var e,n=r(),i=b(n);if(l=arguments,c=this,f=n,i){if(void 0===u)return d=e=f,u=setTimeout(x,t),p?Q(e):O;if(m)return clearTimeout(u),u=setTimeout(x,t),Q(f)}return void 0===u&&(u=setTimeout(x,t)),O}return t=s(t)||0,i(n)&&(p=!!n.leading,h=(m="maxWait"in n)?o(s(n.maxWait)||0,t):h,g="trailing"in n?!!n.trailing:g),y.cancel=function(){void 0!==u&&clearTimeout(u),d=0,l=f=c=u=void 0},y.flush=function(){return void 0===u?O:k(r())},y}},33448:function(e,t,n){var i=n(44239),r=n(37005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},7771:function(e,t,n){var i=n(55639),r=function(){return i.Date.now()};e.exports=r},14841:function(e,t,n){var i=n(27561),r=n(13218),s=n(33448),o=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,h=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return o;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=l.test(e);return n||c.test(e)?h(e.slice(2),n?2:8):a.test(e)?o:+e}},34790:function(e,t,n){"use strict";n.d(t,{B1:function(){return e$},GA:function(){return eQ},Gn:function(){return er},Mb:function(){return l},eC:function(){return c},vQ:function(){return eO},ys:function(){return ev}});var i=n(78120),r=n(47421),s=n(59119);class o{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),r=i.search(u(e,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function a(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function l(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,i]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let r=1;r{let r=e.matchBefore(i);return r||e.explicit?{from:r?r.from:e.pos,options:t,validFor:n}:null}}function c(e,t){return n=>{for(let i=(0,s.qz)(n.state).resolveInner(n.pos,-1);i;i=i.parent)if(e.indexOf(i.name)>-1)return null;return t(n)}}class h{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function O(e){return e.selection.main.head}function u(e,t){var n;let{source:i}=e,r=t&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}function f(e,t){let n=t.completion.apply||t.completion.label,r=t.source;if("string"==typeof n){var s,o,a;e.dispatch((s=e.state,o=r.from,a=r.to,Object.assign(Object.assign({},s.changeByRange(e=>{if(e==s.selection.main)return{changes:{from:o,to:a,insert:n},range:i.jT.cursor(o+n.length)};let t=a-o;return!e.empty||t&&s.sliceDoc(e.from-t,e.from)!=s.sliceDoc(o,a)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:n},range:i.jT.cursor(e.from-t+n.length)}})),{userEvent:"input.complete"})))}else n(e,t.completion,r.from,r.to)}let d=new WeakMap;function p(e){if(!Array.isArray(e))return e;let t=d.get(e);return t||d.set(e,t=l(e)),t}class m{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&S<=57||S>=97&&S<=122?2:S>=65&&S<=90?1:0:(w=(0,i.bg)(S))!=w.toLowerCase()?1:w!=w.toUpperCase()?2:0;(!y||1==T&&x||0==$&&0!=T)&&(t[p]==S||n[p]==S&&(m=!0)?o[p++]=y:o.length&&(k=!1)),$=T,y+=(0,i.nZ)(S)}return p==c&&0==o[0]&&k?this.result(-100+(m?-200:0),o,e):g==c&&0==Q?[-200-e.length,0,b]:l>-1?[-700-e.length,l,l+this.pattern.length]:g==c?[-900-e.length,Q,b]:p==c?this.result(-100+(m?-200:0)+-700+(k?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[e-n.length],s=1;for(let o of t){let a=o+(this.astral?(0,i.nZ)((0,i.gm)(n,o)):1);s>1&&r[s-1]==o?r[s-1]=a:(r[s++]=o,r[s++]=a)}return r}}let g=i.r$.define({combine:e=>(0,i.BO)(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,optionClass:(e,t)=>n=>{var i,r;return i=e(n),r=t(n),i?r?i+" "+r:i:r},addToOptions:(e,t)=>e.concat(t)})});function Q(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let i=Math.floor(t/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class b{constructor(e,t){let n;this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:e=>this.positionInfo(e),key:this};let i=e.state.field(t),{options:r,selected:s}=i.open,o=e.state.facet(g);this.optionContent=(n=o.addToOptions.slice(),o.icons&&n.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),n.push({render(e,t,n){let i=document.createElement("span");i.className="cm-completionLabel";let{label:r}=e,s=0;for(let o=1;os&&i.appendChild(document.createTextNode(r.slice(s,a)));let c=i.appendChild(document.createElement("span"));c.appendChild(document.createTextNode(r.slice(a,l))),c.className="cm-completionMatchedText",s=l}return se.position-t.position).map(e=>e.render)),this.optionClass=o.optionClass,this.range=Q(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",t=>{for(let n=t.target,i;n&&n!=this.dom;n=n.parentNode)if("LI"==n.nodeName&&(i=/-(\d+)$/.exec(n.id))&&+i[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}positioned(){this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=Q(t.options.length,t.selected,this.view.state.facet(g).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s="string"==typeof i?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t)}).catch(e=>(0,r.OO)(this.view.state,e,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){var t,n;let i,r,s=null;for(let o=this.list.firstChild,a=this.range.from;o;o=o.nextSibling,a++)a==e?o.hasAttribute("aria-selected")||(o.setAttribute("aria-selected","true"),s=o):o.hasAttribute("aria-selected")&&o.removeAttribute("aria-selected");return s&&(t=this.list,n=s,i=t.getBoundingClientRect(),(r=n.getBoundingClientRect()).topi.bottom&&(t.scrollTop+=r.bottom-i.bottom)),s}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.ownerDocument.defaultView||window,n=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),s=e.getBoundingClientRect();if(s.top>Math.min(t.innerHeight,n.bottom)-10||s.bottom=i.height||d>n.top?h=s.bottom-n.top+"px":O=n.bottom-s.top+"px"}return{top:h,bottom:O,maxWidth:c,class:l?o?"left-narrow":"right-narrow":a?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,n){let i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let r=n.from;r=this.options.length?this:new k(this.options,$(t,e),this.tooltip,this.timestamp,e)}static build(e,t,n,i,r){let s=function(e,t){let n=[],i=0;for(let r of e)if(r.hasResult()){if(!1===r.result.filter){let s=r.result.getMatch;for(let o of r.result.options){let a=[1e9-i++];if(s)for(let l of s(o))a.push(l);n.push(new h(o,r,a))}}else{let c=new m(t.sliceDoc(r.from,r.to)),O;for(let u of r.result.options)(O=c.match(u.label))&&(null!=u.boost&&(O[0]+=u.boost),n.push(new h(u,r,O)))}}let f=[],d=null,p=t.facet(g).compareCompletions;for(let Q of n.sort((e,t)=>t.match[0]-e.match[0]||p(e.completion,t.completion)))d&&d.label==Q.completion.label&&d.detail==Q.completion.detail&&(null==d.type||null==Q.completion.type||d.type==Q.completion.type)&&d.apply==Q.completion.apply?x(Q.completion)>x(d)&&(f[f.length-1]=Q):f.push(Q),d=Q.completion;return f}(e,t);if(!s.length)return null;let o=t.facet(g).selectOnOpen?0:-1;if(i&&i.selected!=o&&-1!=i.selected){let a=i.options[i.selected].completion;for(let l=0;lt.hasResult()?Math.min(e,t.from):e,1e8),create:e=>new b(e,j),above:r.aboveCursor},i?i.timestamp:Date.now(),o)}map(e){return new k(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class y{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new y(S,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(g),i=(n.override||t.languageDataAt("autocomplete",O(t)).map(p)).map(t=>(this.active.find(e=>e.source==t)||new T(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let r=e.selection||i.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,i=0;;){for(;n1!=e.state)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new T(e.source,0):e)),e.effects))s.is(X)&&(r=r&&r.setSelected(s.value,this.id));return i==this.active&&r==this.open?this:new y(i,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:v}}let v={"aria-autocomplete":"list"};function $(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let S=[];function w(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class T{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=w(e),i=this;for(let r of(n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&0!=i.state&&(i=new T(i.source,0)),e.effects))if(r.is(R))i=new T(i.source,1,r.value?O(e.state):-1);else if(r.is(C))i=new T(i.source,0);else if(r.is(Z))for(let s of r.value)s.source==i.source&&(i=s);return i}handleUserEvent(e,t,n){return"delete"!=t&&n.activateOnTyping?new T(this.source,1):this.map(e.changes)}handleChange(e){return e.changes.touchesRange(O(e.startState))?new T(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new T(this.source,this.state,e.mapPos(this.explicitPos))}}class P extends T{constructor(e,t,n,i,r){super(e,2,t),this.result=n,this.from=i,this.to=r}hasResult(){return!0}handleUserEvent(e,t,n){var i;let r=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=O(e.state);if((this.explicitPos<0?a<=r:as||"delete"==t&&O(e.startState)==this.from)return new T(this.source,"input"==t&&n.activateOnTyping?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return!function(e,t,n,i){if(!e)return!1;let r=t.sliceDoc(n,i);return"function"==typeof e?e(r,n,i,t):u(e,!0).test(r)}(this.result.validFor,e.state,r,s)?this.result.update&&(c=this.result.update(this.result,r,s,new o(e.state,a,l>=0)))?new P(this.source,l,c,c.from,null!==(i=c.to)&&void 0!==i?i:O(e.state)):new T(this.source,1,l):new P(this.source,l,this.result,r,s)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new T(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new P(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}let R=i.Py.define(),C=i.Py.define(),Z=i.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),X=i.Py.define(),j=i.QQ.define({create:()=>y.start(),update:(e,t)=>e.update(t),provide:e=>[r.hJ.from(e,e=>e.tooltip),r.tk.contentAttributes.from(e,e=>e.attrs)]});function W(e,t="option"){return n=>{let i=n.state.field(j,!1);if(!i||!i.open||Date.now()-i.open.timestamp-1?i.open.selected+s*(e?1:-1):e?0:a-1;return l<0?l="page"==t?0:a-1:l>=a&&(l="page"==t?a-1:0),n.dispatch({effects:X.of(l)}),!0}}let A=e=>{let t=e.state.field(j,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||Date.now()-t.open.timestamp!!e.state.field(j,!1)&&(e.dispatch({effects:R.of(!0)}),!0),q=e=>{let t=e.state.field(j,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:C.of(null)}),!0)};class z{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let I=r.lg.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0,e.state.field(j).active))1==t.state&&this.startQuery(t)}update(e){let t=e.state.field(j);if(!e.selectionSet&&!e.docChanged&&e.startState.field(j)==t)return;let n=e.transactions.some(e=>(e.selection||e.docChanged)&&!w(e));for(let i=0;i50&&Date.now()-s.time>1e3){for(let o of s.context.abortListeners)try{o()}catch(a){(0,r.OO)(this.view.state,a)}s.context.abortListeners=null,this.running.splice(i--,1)}else s.updates.push(...e.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=t.active.some(e=>1==e.state&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),50):-1,0!=this.composing)for(let l of e.transactions)"input"==w(l)?this.composing=2:2==this.composing&&l.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:e}=this.view,t=e.field(j);for(let n of t.active)1!=n.state||this.running.some(e=>e.active.source==n.source)||this.startQuery(n)}startQuery(e){let{state:t}=this.view,n=O(t),i=new o(t,n,e.explicitPos==n),s=new z(e,i);this.running.push(s),Promise.resolve(e.source(i)).then(e=>{s.context.aborted||(s.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:C.of(null)}),(0,r.OO)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),50))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(g);for(let i=0;ie.source==r.active.source);if(a&&1==a.state){if(null==r.done){let l=new T(r.active.source,0);for(let c of r.updates)l=l.update(c,n);1!=l.state&&t.push(l)}else this.startQuery(a)}}t.length&&this.view.dispatch({effects:Z.of(t)})}},{eventHandlers:{blur(){let e=this.view.state.field(j,!1);e&&e.tooltip&&this.view.state.facet(g).closeOnBlur&&this.view.dispatch({effects:C.of(null)})},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:R.of(!1)}),20),this.composing=0}}}),E=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class G{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class L{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,i.gc.TrackDel),n=e.mapPos(this.to,1,i.gc.TrackDel);return null==t||null==n?null:new L(this.field,t,n)}}class D{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let a of this.lines){if(n.length){let l=o,c=/^\t*/.exec(a)[0].length;for(let h=0;hnew L(e.field,i[e.line]+e.from,i[e.line]+e.to));return{text:n,ranges:O}}static parse(e){let t=[],n=[],i=[],r;for(let s of e.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let o=r[1]?+r[1]:null,a=r[2]||r[3]||"",l=-1;for(let c=0;c=l&&O.field++}i.push(new G(l,n.length,r.index,r.index+a.length)),s=s.slice(0,r.index)+a+s.slice(r.index+r[0].length)}for(let u;u=/([$#])\\{/.exec(s);)for(let f of(s=s.slice(0,u.index)+u[1]+"{"+s.slice(u.index+u[0].length),i))f.line==n.length&&f.from>u.index&&(f.from--,f.to--);n.push(s)}return new D(n,i)}}let N=r.p.widget({widget:new class extends r.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),U=r.p.mark({class:"cm-snippetField"});class M{constructor(e,t){this.ranges=e,this.active=t,this.deco=r.p.set(e.map(e=>(e.from==e.to?N:U).range(e.from,e.to)))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new M(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let J=i.Py.define({map:(e,t)=>e&&e.map(t)}),V=i.Py.define(),B=i.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(J))return n.value;if(n.is(V)&&e)return new M(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>r.tk.decorations.from(e,e=>e?e.deco:r.p.none)});function Y(e,t){return i.jT.create(e.filter(e=>e.field==t).map(e=>i.jT.range(e.from,e.to)))}function F(e){return({state:t,dispatch:n})=>{let i=t.field(B,!1);if(!i||e<0&&0==i.active)return!1;let r=i.active+e,s=e>0&&!i.ranges.some(t=>t.field==r+e);return n(t.update({selection:Y(i.ranges,r),effects:J.of(s?null:new M(i.ranges,r))})),!0}}let H=({state:e,dispatch:t})=>!!e.field(B,!1)&&(t(e.update({effects:J.of(null)})),!0),K=F(1),ee=F(-1),et=[{key:"Tab",run:K,shift:ee},{key:"Escape",run:H}],en=i.r$.define({combine:e=>e.length?e[0]:et}),ei=i.Wl.highest(r.$f.compute([en],e=>e.facet(en)));function er(e,t){let n;return Object.assign(Object.assign({},t),{apply:(n=D.parse(e),(e,t,r,s)=>{let{text:o,ranges:a}=n.instantiate(e.state,r),l={changes:{from:r,to:s,insert:i.xv.of(o)},scrollIntoView:!0};if(a.length&&(l.selection=Y(a,0)),a.length>1){let c=new M(a,0),h=l.effects=[J.of(c)];void 0===e.state.field(B,!1)&&h.push(i.Py.appendConfig.of([B,ei,es,E]))}e.dispatch(e.state.update(l))})})}let es=r.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(B,!1),i;if(!n||null==(i=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let r=n.ranges.find(e=>e.from<=i&&e.to>=i);return!!r&&r.field!=n.active&&(t.dispatch({selection:Y(n.ranges,r.field),effects:J.of(n.ranges.some(e=>e.field>r.field)?new M(n.ranges,r.field):null)}),!0)}}),eo={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ea=i.Py.define({map(e,t){let n=t.mapPos(e,-1,i.gc.TrackAfter);return null==n?void 0:n}}),el=i.Py.define({map:(e,t)=>t.mapPos(e)}),ec=new class extends i.uU{};ec.startSide=1,ec.endSide=-1;let eh=i.QQ.define({create:()=>i.Xs.empty,update(e,t){if(t.selection){let n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=i.Xs.empty)}for(let s of(e=e.map(t.changes),t.effects))s.is(ea)?e=e.update({add:[ec.range(s.value,s.value+1)]}):s.is(el)&&(e=e.update({filter:e=>e!=s.value}));return e}});function eO(){return[em,eh]}let eu="()[]{}<>";function ef(e){for(let t=0;t{if((ep?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||t!=o.from||n!=o.to)return!1;let a=function(e,t){let n=ed(e,e.selection.main.head),r=n.brackets||eo.brackets;for(let o of r){let a=ef((0,i.gm)(o,0));if(t==o)return a==o?function(e,t,n,r){let o=r.stringPrefixes||eo.stringPrefixes,a=null,l=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:ea.of(r.to+t.length),range:i.jT.range(r.anchor+t.length,r.head+t.length)};let l=r.head,c=ex(e.doc,l),h;if(c==t){if(ek(e,l))return{changes:{insert:t+t,from:l},effects:ea.of(l+t.length),range:i.jT.cursor(l+t.length)};if(eb(e,l)){let O=n&&e.sliceDoc(l,l+3*t.length)==t+t+t;return{range:i.jT.cursor(l+t.length*(O?3:1)),effects:el.of(l)}}}else if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(h=ey(e,l-2*t.length,o))>-1&&ek(e,h))return{changes:{insert:t+t+t+t,from:l},effects:ea.of(l+t.length),range:i.jT.cursor(l+t.length)};else if(e.charCategorizer(l)(c)!=i.D0.Word&&ey(e,l,o)>-1&&!function(e,t,n,i){let r=(0,s.qz)(e).resolveInner(t,-1),o=i.reduce((e,t)=>Math.max(e,t.length),0);for(let a=0;a<5;a++){let l=e.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),c=l.indexOf(n);if(!c||c>-1&&i.indexOf(l.slice(0,c))>-1){let h=r.firstChild;for(;h&&h.from==r.from&&h.to-h.from>n.length+c;){if(e.sliceDoc(h.to-n.length,h.to)==n)return!1;h=h.firstChild}return!0}let O=r.to==t&&r.parent;if(!O)break;r=O}return!1}(e,l,t,o))return{changes:{insert:t+t,from:l},effects:ea.of(l+t.length),range:i.jT.cursor(l+t.length)};return{range:a=r}});return a?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,r.indexOf(o+o+o)>-1,n):function(e,t,n,r){let s=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ea.of(o.to+t.length),range:i.jT.range(o.anchor+t.length,o.head+t.length)};let a=ex(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:ea.of(o.head+t.length),range:i.jT.cursor(o.head+t.length)}:{range:s=o}});return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,a,n.before||eo.before);if(t==a&&eb(e,e.selection.main.from))return function(e,t,n){let r=null,s=e.selection.ranges.map(t=>t.empty&&ex(e.doc,t.head)==n?i.jT.cursor(t.head+n.length):r=t);return r?null:e.update({selection:i.jT.create(s,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map(({from:e})=>el.of(e))})}(e,0,a)}return null}(e.state,r);return!!a&&(e.dispatch(a),!0)}),eg=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=ed(e,e.selection.main.head).brackets||eo.brackets,r=null,s=e.changeByRange(t=>{if(t.empty){var s,o;let a;let l=(s=e.doc,o=t.head,a=s.sliceString(o-2,o),(0,i.nZ)((0,i.gm)(a,0))==a.length?a:a.slice(1));for(let c of n)if(c==l&&ex(e.doc,t.head)==ef((0,i.gm)(c,0)))return{changes:{from:t.head-c.length,to:t.head+c.length},range:i.jT.cursor(t.head-c.length)}}return{range:r=t}});return r||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},eQ=[{key:"Backspace",run:eg}];function eb(e,t){let n=!1;return e.field(eh).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function ex(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function ek(e,t){let n=(0,s.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function ey(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=i.D0.Word)return t;for(let s of n){let o=t-s.length;if(e.sliceDoc(o,t)==s&&r(e.sliceDoc(o-1,o))!=i.D0.Word)return o}return -1}function ev(e={}){return[j,g.of(e),I,eS,E]}let e$=[{key:"Ctrl-Space",run:_},{key:"Escape",run:q},{key:"ArrowDown",run:W(!0)},{key:"ArrowUp",run:W(!1)},{key:"PageDown",run:W(!0,"page")},{key:"PageUp",run:W(!1,"page")},{key:"Enter",run:A}],eS=i.Wl.highest(r.$f.computeN([g],e=>e.facet(g).defaultKeymap?[e$]:[]))},61426:function(e,t,n){"use strict";n.r(t),n.d(t,{css:function(){return $},cssCompletionSource:function(){return y},cssLanguage:function(){return v}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function o(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}let a=new i.Jq((e,t)=>{for(let n=!1,i=0,r=0;;r++){var s;let{next:a}=e;if(o(a)||45==a||95==a||n&&(s=a)>=48&&s<=57)!n&&(45!=a||r>0)&&(n=!0),i===r&&45==a&&i++,e.advance();else{n&&e.acceptToken(40==a?94:2==i&&t.canShift(2)?2:95);break}}}),l=new i.Jq(e=>{if(s.includes(e.peek(-1))){let{next:t}=e;(o(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(93)}}),c=new i.Jq(e=>{if(!s.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),o(t)){do e.advance();while(o(e.next));e.acceptToken(1)}}}),h=(0,r.Gv)({"AtKeyword import charset namespace keyframes media supports":r.pJ.definitionKeyword,"from to selector":r.pJ.keyword,NamespaceName:r.pJ.namespace,KeyframeName:r.pJ.labelName,TagName:r.pJ.tagName,ClassName:r.pJ.className,PseudoClassName:r.pJ.constant(r.pJ.className),IdName:r.pJ.labelName,"FeatureName PropertyName":r.pJ.propertyName,AttributeName:r.pJ.attributeName,NumberLiteral:r.pJ.number,KeywordQuery:r.pJ.keyword,UnaryQueryOp:r.pJ.operatorKeyword,"CallTag ValueName":r.pJ.atom,VariableName:r.pJ.variableName,Callee:r.pJ.operatorKeyword,Unit:r.pJ.unit,"UniversalSelector NestingSelector":r.pJ.definitionOperator,MatchOp:r.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":r.pJ.logicOperator,BinOp:r.pJ.arithmeticOperator,Important:r.pJ.modifier,Comment:r.pJ.blockComment,ParenthesizedContent:r.pJ.special(r.pJ.name),ColorLiteral:r.pJ.color,StringLiteral:r.pJ.string,":":r.pJ.punctuation,"PseudoOp #":r.pJ.derefOperator,"; ,":r.pJ.separator,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace}),O={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},u={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes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},{term:56,get:e=>u[e]||-1},{term:95,get:e=>f[e]||-1}],tokenPrec:1078});var p=n(59119);let m=null;function g(){if(!m&&"object"==typeof document&&document.body){let e=[];for(let t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);m=e.sort().map(e=>({type:"property",label:e}))}return m||[]}let Q=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),b=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),x=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),k=/^[\w-]*/,y=e=>{let{state:t,pos:n}=e,i=(0,p.qz)(t).resolveInner(n,-1);if("PropertyName"==i.name)return{from:i.from,options:g(),validFor:k};if("ValueName"==i.name)return{from:i.from,options:b,validFor:k};if("PseudoClassName"==i.name)return{from:i.from,options:Q,validFor:k};if("TagName"==i.name){for(let{parent:r}=i;r;r=r.parent)if("Block"==r.name)return{from:i.from,options:g(),validFor:k};return{from:i.from,options:x,validFor:k}}if(!e.explicit)return null;let s=i.resolve(n),o=s.childBefore(n);return o&&":"==o.name&&"PseudoClassSelector"==s.name?{from:n,options:Q,validFor:k}:o&&":"==o.name&&"Declaration"==s.name||"ArgList"==s.name?{from:n,options:b,validFor:k}:"Block"==s.name?{from:n,options:g(),validFor:k}:null},v=p.qp.define({name:"css",parser:d.configure({props:[p.uj.add({Declaration:(0,p.tC)()}),p.x0.add({Block:p.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function $(){return new p.ri(v,v.data.of({autocomplete:y}))}},13804:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return ee},html:function(){return K},htmlCompletionSource:function(){return Y},htmlCompletionSourceWith:function(){return F},htmlLanguage:function(){return H}});var i=n(53105),r=n(35524),s=n(41113);let o={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},a={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},l={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}};function c(e){return 9==e||10==e||13==e||32==e}let h=null,O=null,u=0;function f(e,t){var n;let i=e.pos+t;if(u==i&&O==e)return h;let r=e.peek(t);for(;c(r);)r=e.peek(++t);let s="";for(;45==(n=r)||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161;)s+=String.fromCharCode(r),r=e.peek(++t);return O=e,u=i,h=s?s.toLowerCase():r==d||r==p?void 0:null}let d=63,p=33;function m(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let n=0;ng.indexOf(t)>-1?new m(f(i,1)||"",e):e,reduce:(e,t)=>18==t&&e?e.parent:e,reuse(e,t,n,i){let r=t.type.id;return 4==r||35==r?new m(f(i,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),b=new i.Jq((e,t)=>{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(56);return}e.advance();let n=47==e.next;n&&e.advance();let i=f(e,0);if(void 0===i)return;if(!i)return e.acceptToken(n?12:4);let r=t.context?t.context.name:null;if(n){if(i==r)return e.acceptToken(9);if(r&&a[r])return e.acceptToken(56,-2);if(t.dialectEnabled(0))return e.acceptToken(10);for(let s=t.context;s;s=s.parent)if(s.name==i)return;e.acceptToken(11)}else{if("script"==i)return e.acceptToken(5);if("style"==i)return e.acceptToken(6);if("textarea"==i)return e.acceptToken(7);if(o.hasOwnProperty(i))return e.acceptToken(8);r&&l[r]&&l[r][i]?e.acceptToken(56,-1):e.acceptToken(4)}},{contextual:!0}),x=new i.Jq(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(57);break}if(45==e.next)t++;else if(62==e.next&&t>=2){n>3&&e.acceptToken(57,-2);break}else t=0;e.advance()}});function k(e,t,n){let r=2+e.length;return new i.Jq(i=>{for(let s=0,o=0,a=0;;a++){if(i.next<0){a&&i.acceptToken(t);break}if(0==s&&60==i.next||1==s&&47==i.next||s>=2&&so?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}else if((10==i.next||13==i.next)&&a){i.acceptToken(t,1);break}else s=o=0;i.advance()}})}let y=k("script",53,1),v=k("style",54,2),$=k("textarea",55,3),S=(0,r.Gv)({"Text RawText":r.pJ.content,"StartTag StartCloseTag SelfCloserEndTag EndTag SelfCloseEndTag":r.pJ.angleBracket,TagName:r.pJ.tagName,"MismatchedCloseTag/TagName":[r.pJ.tagName,r.pJ.invalid],AttributeName:r.pJ.attributeName,"AttributeValue UnquotedAttributeValue":r.pJ.attributeValue,Is:r.pJ.definitionOperator,"EntityReference CharacterReference":r.pJ.character,Comment:r.pJ.blockComment,ProcessingInst:r.pJ.processingInstruction,DoctypeDecl:r.pJ.documentMeta}),w=i.WQ.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DSO$tQ!bO'#DUO$yQ!bO'#DVOOOW'#Dj'#DjOOOW'#DX'#DXQVOxOOO%OQ#tO,59ZO%WQ#t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!duO~OdvO~OdwO~OfyOj|O~OfyOj!OO~OfyOj!QO~OfyOj!SO~OfyOj!UO~O!VfOPkX!YkX~OP!WO!Y!XO~O!WiOQnX!YnX~OQ!ZO!Y!XO~O!XlORqX!YqX~OR!]O!Y!XO~O!Y!XO~P#dOd!_O~O!ZsO!d!aO~Oj!bO~Oj!cO~Og!dOfeXjeX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!_!oO!a!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uOa!uO!_!wO!`!uO~O_!xO`!xOa!xO!a!wO!b!xO~O_!uO`!uOa!uO!_!{O!`!uO~O_!xO`!xOa!xO!a!{O!b!xO~O`_a!cwz!c~",goto:"%o!_PPPPPPPPPPPPPPPPPP!`!fP!lPP!xPP!{#O#R#X#[#_#e#h#k#q#w!`P!`!`P#}$T$k$q$w$}%T%Z%aPPPPPPPP%gX^OX`pXUOX`pezabcde{}!P!R!TR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!TeZ!e{}!P!R!TQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:66,context:Q,nodeProps:[["closedBy",-11,1,2,3,4,5,6,7,8,9,10,11,"EndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,38,39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RGkT!``!bpzPOr(krs'gsv(kwx(]x~(k!RHRV!``!bpOr(krs'gsv(kwx(]x#c(k#c#dHh#d~(k!RHoV!``!bpOr(krs'gsv(kwx(]x#V(k#V#WIU#W~(k!RI]V!``!bpOr(krs'gsv(kwx(]x#h(k#h#iIr#i~(k!RIyV!``!bpOr(krs'gsv(kwx(]x#m(k#m#nJ`#n~(k!RJgV!``!bpOr(krs'gsv(kwx(]x#d(k#d#eJ|#e~(k!RKTV!``!bpOr(krs'gsv(kwx(]x#X(k#X#YDq#Y~(k!RKqW!``!bpOrKjrsLZsvKjvwLowxNPx!aKj!a!b! g!b~KjqL`T!bpOvLZvxLox!aLZ!a!bM^!b~LZPLrRO!aLo!a!bL{!b~LoPMORO!`Lo!`!aMX!a~LoPM^OwPqMcT!bpOvLZvxLox!`LZ!`!aMr!a~LZqMyQ!bpwPOv'gx~'gaNUV!``OrNPrsLosvNPvwLow!aNP!a!bNk!b~NPaNpV!``OrNPrsLosvNPvwLow!`NP!`!a! V!a~NPa! ^R!``wPOr(]sv(]w~(]!R! nW!``!bpOrKjrsLZsvKjvwLowxNPx!`Kj!`!a!!W!a~Kj!R!!aT!``!bpwPOr(krs'gsv(kwx(]x~(k!V!!{VgS^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[y,v,$,b,x,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0},tokenPrec:476});function T(e,t,n){let i;for(let r of n)if(!r.attrs||r.attrs(i||(i=function(e,t){let n=Object.create(null);for(let i of e.firstChild.getChildren("Attribute")){let r=i.getChild("AttributeName"),s=i.getChild("AttributeValue")||i.getChild("UnquotedAttributeValue");r&&(n[t.read(r.from,r.to)]=s?"AttributeValue"==s.name?t.read(s.from+1,s.to-1):t.read(s.from,s.to):"")}return n}(e.node.parent,t))))return{parser:r.parser};return null}var P=n(61426),R=n(58037),C=n(47421),Z=n(78120),X=n(59119);let j=["_blank","_self","_top","_parent"],W=["ascii","utf-8","utf-16","latin1","latin1"],A=["get","post","put","delete"],_=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],q=["true","false"],z={},I={a:{attrs:{href:null,ping:null,type:null,media:null,target:j,hreflang:null}},abbr:z,address:z,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:z,aside:z,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:z,base:{attrs:{href:null,target:j}},bdi:z,bdo:z,blockquote:{attrs:{cite:null}},body:z,br:z,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:_,formmethod:A,formnovalidate:["novalidate"],formtarget:j,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:z,center:z,cite:z,code:z,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:z,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:z,div:z,dl:z,dt:z,em:z,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:z,figure:z,footer:z,form:{attrs:{action:null,name:null,"accept-charset":W,autocomplete:["on","off"],enctype:_,method:A,novalidate:["novalidate"],target:j}},h1:z,h2:z,h3:z,h4:z,h5:z,h6:z,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:z,hgroup:z,hr:z,html:{attrs:{manifest:null}},i:z,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:_,formmethod:A,formnovalidate:["novalidate"],formtarget:j,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:z,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:z,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:z,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:W,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:z,noscript:z,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:z,param:{attrs:{name:null,value:null}},pre:z,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:z,rt:z,ruby:z,samp:z,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:W}},section:z,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:z,source:{attrs:{src:null,type:null,media:null}},span:z,strong:z,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:z,summary:z,sup:z,table:z,tbody:z,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:z,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:z,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:z,time:{attrs:{datetime:null}},title:z,tr:z,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:z,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:z},E={accesskey:null,class:null,contenteditable:q,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:q,autocorrect:q,autocapitalize:q,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":q,"aria-autocomplete":["inline","list","both","none"],"aria-busy":q,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":q,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":q,"aria-hidden":q,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":q,"aria-multiselectable":q,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":q,"aria-relevant":null,"aria-required":q,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class G{constructor(e,t){this.tags=Object.assign(Object.assign({},I),e),this.globalAttrs=Object.assign(Object.assign({},E),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function L(e,t,n=e.length){if(!t)return"";let i=t.firstChild,r=i&&i.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,n)):""}function D(e,t=!1){for(let n=e.parent;n;n=n.parent)if("Element"==n.name){if(!t)return n;t=!1}return null}function N(e,t,n){let i=n.tags[L(e,D(t,!0))];return(null==i?void 0:i.children)||n.allTags}function U(e,t){let n=[];for(let i=t;i=D(i);){let r=L(e,i);if(r&&"CloseTag"==i.lastChild.name)break;r&&0>n.indexOf(r)&&("EndTag"==t.name||t.from>=i.firstChild.to)&&n.push(r)}return n}G.default=new G;let M=/^[:\-\.\w\u00b7-\uffff]*$/;function J(e,t,n,i,r){let s=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:i,to:r,options:N(e.doc,n,t).map(e=>({label:e,type:"type"})).concat(U(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+s,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function V(e,t,n,i){let r=/\s*>/.test(e.sliceDoc(i,i+5))?"":">";return{from:n,to:i,options:U(e.doc,t).map((e,t)=>({label:e,apply:e+r,type:"type",boost:99-t})),validFor:M}}function B(e,t){let{state:n,pos:i}=t,r=(0,X.qz)(n).resolveInner(i),s=r.resolve(i,-1);for(let o=i,a;r==s&&(a=s.childBefore(o));){let l=a.lastChild;if(!l||!l.type.isError||l.from({label:e,type:"property"})),validFor:M}}return"Is"==s.name||"AttributeValue"==s.name||"UnquotedAttributeValue"==s.name?function(e,t,n,i,r){var s;let o=null===(s=n.parent)||void 0===s?void 0:s.getChild("AttributeName"),a=[],l;if(o){let c=e.sliceDoc(o.from,o.to),h=t.globalAttrs[c];if(!h){let O=D(n),u=O?t.tags[L(e.doc,O)]:null;h=(null==u?void 0:u.attrs)&&u.attrs[c]}if(h){let f=e.sliceDoc(i,r).toLowerCase(),d='"',p='"';for(let m of(/^['"]/.test(f)?(l='"'==f[0]?/^[^"]*$/:/^[^']*$/,d="",p=e.sliceDoc(r,r+1)==f[0]?"":f[0],f=f.slice(1),i++):l=/^[^\s<>='"]*$/,h))a.push({label:m,apply:d+m+p,type:"constant"})}}return{from:i,to:r,options:a,validFor:l}}(n,e,s,"Is"==s.name?i:s.from,i):t.explicit&&("Element"==r.name||"Text"==r.name||"Document"==r.name)?function(e,t,n,i){let r=[],s=0;for(let o of N(e.doc,n,t))r.push({label:"<"+o,type:"type"});for(let a of U(e.doc,n))r.push({label:"",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(n,e,s,i):null}function Y(e){return B(G.default,e)}function F(e){let{extraTags:t,extraGlobalAttributes:n}=e,i=n||t?new G(t,n):G.default;return e=>B(i,e)}let H=X.qp.define({name:"html",parser:w.configure({props:[X.uj.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length{let s=e.type.id;return 27==s?T(e,r,t):30==s?T(e,r,n):33==s?T(e,r,i):null})}([{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:R.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:P.cssLanguage.parser}])}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function K(e={}){let t=H;return!1===e.matchClosingTags&&(t=t.configure({dialect:"noMatch"})),new X.ri(t,[H.data.of({autocomplete:F(e)}),!1!==e.autoCloseTags?ee:[],(0,R.javascript)().support,(0,P.css)().support])}let ee=C.tk.inputHandler.of((e,t,n,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!H.isActiveAt(e.state,t,-1))return!1;let{state:r}=e,s=r.changeByRange(t=>{var n,s,o;let{head:a}=t,l=(0,X.qz)(r).resolveInner(a,-1),c;if(("TagName"==l.name||"StartTag"==l.name)&&(l=l.parent),">"==i&&"OpenTag"==l.name){if((null===(s=null===(n=l.parent)||void 0===n?void 0:n.lastChild)||void 0===s?void 0:s.name)!="CloseTag"&&(c=L(r.doc,l.parent,a))){let h=">"===e.state.doc.sliceString(a,a+1),O=`${h?"":">"}`;return{range:Z.jT.cursor(a+1),changes:{from:a+(h?1:0),insert:O}}}}else if("/"==i&&"OpenTag"==l.name){let u=l.parent,f=null==u?void 0:u.parent;if(u.from==a-1&&(null===(o=f.lastChild)||void 0===o?void 0:o.name)!="CloseTag"&&(c=L(r.doc,f,a))){let d=">"===e.state.doc.sliceString(a,a+1),p=`/${c}${d?"":">"}`,m=a+p.length+(d?1:0);return{range:Z.jT.cursor(m),changes:{from:a,insert:p}}}}return{range:t}});return!s.changes.empty&&(e.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)})},58037:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return L},completionPath:function(){return X},esLint:function(){return D},javascript:function(){return I},javascriptLanguage:function(){return W},jsxLanguage:function(){return _},localCompletionSource:function(){return C},scopeCompletionSource:function(){return j},snippets:function(){return y},tsxLanguage:function(){return q},typescriptLanguage:function(){return A}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],o=new i.IK({start:!1,shift:(e,t)=>5==t||6==t||286==t?e:287==t,strict:!1}),a=new i.Jq((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&t.canShift(284)&&e.acceptToken(284)},{contextual:!0,fallback:!0}),l=new i.Jq((e,t)=>{let{next:n}=e,i;!(s.indexOf(n)>-1)&&(47!=n||47!=(i=e.peek(1))&&42!=i)&&125!=n&&59!=n&&-1!=n&&!t.context&&t.canShift(281)&&e.acceptToken(281)},{contextual:!0}),c=new i.Jq((e,t)=>{let{next:n}=e;if((43==n||45==n)&&(e.advance(),n==e.next)){e.advance();let i=!t.context&&t.canShift(2);e.acceptToken(i?2:3)}},{contextual:!0}),h=new i.Jq(e=>{for(let t=!1,n=0;;n++){let{next:i}=e;if(i<0){n&&e.acceptToken(282);break}if(96==i){n?e.acceptToken(282):e.acceptToken(283,1);break}if(123==i&&t){1==n?e.acceptToken(4,1):e.acceptToken(282,-1);break}if(10==i&&n){e.advance(),e.acceptToken(282);break}else 92==i&&e.advance();t=36==i,e.advance()}}),O=new i.Jq((e,t)=>{if(101==e.next&&t.dialectEnabled(1)){e.advance();for(let n=0;n<6;n++){if(e.next!="xtends".charCodeAt(n))return;e.advance()}e.next>=57&&e.next<=65||e.next>=48&&e.next<=90||95==e.next||e.next>=97&&e.next<=122||e.next>160||e.acceptToken(1)}}),u=(0,r.Gv)({"get set async static":r.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":r.pJ.controlKeyword,"in of await yield void typeof delete instanceof":r.pJ.operatorKeyword,"let var const function class extends":r.pJ.definitionKeyword,"import export from":r.pJ.moduleKeyword,"with debugger as new":r.pJ.keyword,TemplateString:r.pJ.special(r.pJ.string),super:r.pJ.atom,BooleanLiteral:r.pJ.bool,this:r.pJ.self,null:r.pJ.null,Star:r.pJ.modifier,VariableName:r.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":r.pJ.function(r.pJ.variableName),VariableDefinition:r.pJ.definition(r.pJ.variableName),Label:r.pJ.labelName,PropertyName:r.pJ.propertyName,PrivatePropertyName:r.pJ.special(r.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":r.pJ.function(r.pJ.propertyName),"FunctionDeclaration/VariableDefinition":r.pJ.function(r.pJ.definition(r.pJ.variableName)),"ClassDeclaration/VariableDefinition":r.pJ.definition(r.pJ.className),PropertyDefinition:r.pJ.definition(r.pJ.propertyName),PrivatePropertyDefinition:r.pJ.definition(r.pJ.special(r.pJ.propertyName)),UpdateOp:r.pJ.updateOperator,LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,Number:r.pJ.number,String:r.pJ.string,ArithOp:r.pJ.arithmeticOperator,LogicOp:r.pJ.logicOperator,BitOp:r.pJ.bitwiseOperator,CompareOp:r.pJ.compareOperator,RegExp:r.pJ.regexp,Equals:r.pJ.definitionOperator,Arrow:r.pJ.function(r.pJ.punctuation),": Spread":r.pJ.punctuation,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace,"InterpolationStart InterpolationEnd":r.pJ.special(r.pJ.brace),".":r.pJ.derefOperator,", ;":r.pJ.separator,TypeName:r.pJ.typeName,TypeDefinition:r.pJ.definition(r.pJ.typeName),"type enum interface implements namespace module declare":r.pJ.definitionKeyword,"abstract global Privacy readonly override":r.pJ.modifier,"is keyof unique infer":r.pJ.operatorKeyword,JSXAttributeValue:r.pJ.attributeValue,JSXText:r.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":r.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":r.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":r.pJ.attributeName}),f={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},d={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new:355},p={__proto__:null,"<":129},m=i.WQ.deserialize({version:14,states:"$8SO`QdOOO'QQ(C|O'#ChO'XOWO'#DVO)dQdO'#D]O)tQdO'#DhO){QdO'#DrO-xQdO'#DxOOQO'#E]'#E]O.]Q`O'#E[O.bQ`O'#E[OOQ(C['#Ef'#EfO0aQ(C|O'#ItO2wQ(C|O'#IuO3eQ`O'#EzO3jQ!bO'#FaOOQ(C['#FS'#FSO3rO#tO'#FSO4QQ&jO'#FhO5bQ`O'#FgOOQ(C['#Iu'#IuOOQ(CW'#It'#ItOOQS'#J^'#J^O5gQ`O'#HpO5lQ(ChO'#HqOOQS'#Ih'#IhOOQS'#Hr'#HrQ`QdOOO){QdO'#DjO5tQ`O'#G[O5yQ&jO'#CmO6XQ`O'#EZO6dQ`O'#EgO6iQ,UO'#FRO7TQ`O'#G[O7YQ`O'#G`O7eQ`O'#G`O7sQ`O'#GcO7sQ`O'#GdO7sQ`O'#GfO5tQ`O'#GiO8dQ`O'#GlO9rQ`O'#CdO:SQ`O'#GyO:[Q`O'#HPO:[Q`O'#HRO`QdO'#HTO:[Q`O'#HVO:[Q`O'#HYO:aQ`O'#H`O:fQ(CjO'#HfO){QdO'#HhO:qQ(CjO'#HjO:|Q(CjO'#HlO5lQ(ChO'#HnO){QdO'#DWOOOW'#Ht'#HtO;X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kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"⚠ extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:o,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[u],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R^p%Tpq%cqr'crs(kst0htu2`uv4pvw5ewx6cxyk|}?O}!O>k!O!P?`!P!QCl!Q!R!0[!R![!1q![!]!7s!]!^!8V!^!_!8g!_!`!9d!`!a!:[!a!b!U#R#S2`#S#T!>i#T#o2`#o#p!>y#p#q!?O#q#r!?f#r#s!?x#s$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$I|2`$I|$I}!Bq$I}$JO!Bq$JO$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`W%YR$UWO!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%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[O,l,c,h,0,1,2,3,4,5,6,7,8,9,a],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{149:1,176:1},specialized:[{term:289,get:e=>f[e]||-1},{term:299,get:e=>d[e]||-1},{term:63,get:e=>p[e]||-1}],tokenPrec:12130});var g=n(59119),Q=n(78120),b=n(47421),x=n(34790),k=n(41113);let y=[(0,x.Gn)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,x.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,x.Gn)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,x.Gn)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,x.Gn)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,x.Gn)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,x.Gn)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,x.Gn)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,x.Gn)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,x.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,x.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],v=new k.hr,$=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function S(e){return(t,n)=>{let i=t.node.getChild("VariableDefinition");return i&&n(i,e),!0}}let w=["FunctionDeclaration"],T={FunctionDeclaration:S("function"),ClassDeclaration:S("class"),ClassExpression:()=>!0,EnumDeclaration:S("constant"),TypeAliasDeclaration:S("type"),NamespaceDeclaration:S("namespace"),VariableDefinition(e,t){e.matchContext(w)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},P=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,R=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function C(e){let t=(0,g.qz)(e.state).resolveInner(e.pos,-1);if(R.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&P.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let i=[];for(let r=t;r;r=r.parent)$.has(r.name)&&(i=i.concat(function e(t,n){let i=v.get(n);if(i)return i;let r=[],s=!0;function o(e,n){let i=t.sliceString(e.from,e.to);r.push({label:i,type:n})}return n.cursor(k.vj.IncludeAnonymous).iterate(n=>{if(s)s=!1;else if(n.name){let i=T[n.name];if(i&&i(n,o)||$.has(n.name))return!1}else if(n.to-n.from>8192){for(let a of e(t,n.node))r.push(a);return!1}}),v.set(n,r),r}(e.state.doc,r)));return{options:i,from:n?t.from:e.pos,validFor:P}}function Z(e,t,n){var i;let r=[];for(;;){let s=t.firstChild,o;if((null==s?void 0:s.name)=="VariableName")return r.push(e(s)),{path:r.reverse(),name:n};if((null==s?void 0:s.name)!="MemberExpression"||(null===(i=o=s.lastChild)||void 0===i?void 0:i.name)!="PropertyName")return null;r.push(e(o)),t=s}}function X(e){let t=t=>e.state.doc.sliceString(t.from,t.to),n=(0,g.qz)(e.state).resolveInner(e.pos,-1);return"PropertyName"==n.name?Z(t,n.parent,t(n)):R.indexOf(n.name)>-1?null:"VariableName"==n.name||n.to-n.from<20&&P.test(t(n))?{path:[],name:t(n)}:("."==n.name||"?."==n.name)&&"MemberExpression"==n.parent.name?Z(t,n.parent,""):"MemberExpression"==n.name?Z(t,n,""):e.explicit?{path:[],name:""}:null}function j(e){let t=new Map;return n=>{let i=X(n);if(!i)return null;let r=e;for(let s of i.path)if(!(r=r[s]))return null;let o=t.get(r);return o||t.set(r,o=function(e,t){let n=[],i=new Set;for(let r=0;;r++){for(let s of(Object.getOwnPropertyNames||Object.keys)(e)){let o;if(!i.has(s)){i.add(s);try{o=e[s]}catch(a){continue}n.push({label:s,type:"function"==typeof o?/^[A-Z]/.test(s)?"class":t?"function":"method":t?"variable":"property",boost:-r})}}let l=Object.getPrototypeOf(e);if(!l)return n;e=l}}(r,!i.path.length)),{from:n.pos-i.name.length,options:o,validFor:P}}}let W=g.qp.define({name:"javascript",parser:m.configure({props:[g.uj.add({IfStatement:(0,g.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,g.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:g.ze,SwitchBody(e){let t=e.textAfter,n=/^\s*\}/.test(t),i=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:i?1:2)*e.unit},Block:(0,g.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,g.tC)({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),g.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":g.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),A=W.configure({dialect:"ts"},"typescript"),_=W.configure({dialect:"jsx"}),q=W.configure({dialect:"jsx ts"},"typescript"),z="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(e=>({label:e,type:"keyword"}));function I(e={}){let t=e.jsx?e.typescript?q:_:e.typescript?A:W;return new g.ri(t,[W.data.of({autocomplete:(0,x.eC)(R,(0,x.Mb)(y.concat(z)))}),W.data.of({autocomplete:C}),e.jsx?L:[]])}function E(e,t,n=e.length){if(!t)return"";let i=t.getChild("JSXIdentifier");return i?e.sliceString(i.from,Math.min(i.to,n)):""}let G="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),L=b.tk.inputHandler.of((e,t,n,i)=>{if((G?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!W.isActiveAt(e.state,t,-1))return!1;let{state:r}=e,s=r.changeByRange(e=>{var t,n,s;let{head:o}=e,a=(0,g.qz)(r).resolveInner(o,-1),l;if("JSXStartTag"==a.name&&(a=a.parent),">"==i&&"JSXFragmentTag"==a.name)return{range:Q.jT.cursor(o+1),changes:{from:o,insert:"><>"}};if(">"==i&&"JSXIdentifier"==a.name){if((null===(n=null===(t=a.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)!="JSXEndTag"&&(l=E(r.doc,a.parent,o)))return{range:Q.jT.cursor(o+1),changes:{from:o,insert:`>`}}}else if("/"==i&&"JSXFragmentTag"==a.name){let c=a.parent,h=null==c?void 0:c.parent;if(c.from==o-1&&(null===(s=h.lastChild)||void 0===s?void 0:s.name)!="JSXEndTag"&&(l=E(r.doc,null==h?void 0:h.firstChild,o))){let O=`/${l}>`;return{range:Q.jT.cursor(o+O.length),changes:{from:o,insert:O}}}}return{range:e}});return!s.changes.empty&&(e.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)});function D(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((e,n)=>{e.meta.docs.recommended&&(t.rules[n]=2)})),n=>{let{state:i}=n,r=[];for(let{from:s,to:o}of W.findRegions(i)){let a=i.doc.lineAt(s),l={line:a.number-1,col:s-a.from,pos:s};for(let c of e.verify(i.sliceDoc(s,o),t))r.push(function(e,t,n){let i=N(e.line,e.column,t,n),r={from:i,to:null!=e.endLine&&1!=e.endColumn?N(e.endLine,e.endColumn,t,n):i,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:s,text:o}=e.fix,a=s[0]+n.pos-i,l=s[1]+n.pos-i;r.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+a,to:t+l,insert:o},scrollIntoView:!0})}}]}return r}(c,i.doc,l))}return r}}function N(e,t,n,i){return n.line(e+i.line).from+t+(1==e?i.col-1:-1)}},48825:function(e,t,n){"use strict";n.r(t),n.d(t,{commonmarkLanguage:function(){return eX},deleteMarkupBackward:function(){return eG},insertNewlineContinueMarkup:function(){return eI},markdown:function(){return eN},markdownKeymap:function(){return eL},markdownLanguage:function(){return eW}});var i,r,s=n(78120),o=n(47421),a=n(59119),l=n(41113),c=n(35524);class h{constructor(e,t,n,i,r,s,o){this.type=e,this.value=t,this.from=n,this.hash=i,this.end=r,this.children=s,this.positions=o,this.hashProp=[[l.md.contextHash,i]]}static create(e,t,n,i,r){return new h(e,t,n,i+(i<<8)+e+(t<<4)|0,r,[],[])}addChild(e,t){e.prop(l.md.contextHash)!=this.hash&&(e=new l.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new l.mp(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new l.mp(l.Jq.none,e,t,n,this.hashProp)})}}(i=r||(r={}))[i.Document=1]="Document",i[i.CodeBlock=2]="CodeBlock",i[i.FencedCode=3]="FencedCode",i[i.Blockquote=4]="Blockquote",i[i.HorizontalRule=5]="HorizontalRule",i[i.BulletList=6]="BulletList",i[i.OrderedList=7]="OrderedList",i[i.ListItem=8]="ListItem",i[i.ATXHeading1=9]="ATXHeading1",i[i.ATXHeading2=10]="ATXHeading2",i[i.ATXHeading3=11]="ATXHeading3",i[i.ATXHeading4=12]="ATXHeading4",i[i.ATXHeading5=13]="ATXHeading5",i[i.ATXHeading6=14]="ATXHeading6",i[i.SetextHeading1=15]="SetextHeading1",i[i.SetextHeading2=16]="SetextHeading2",i[i.HTMLBlock=17]="HTMLBlock",i[i.LinkReference=18]="LinkReference",i[i.Paragraph=19]="Paragraph",i[i.CommentBlock=20]="CommentBlock",i[i.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",i[i.Escape=22]="Escape",i[i.Entity=23]="Entity",i[i.HardBreak=24]="HardBreak",i[i.Emphasis=25]="Emphasis",i[i.StrongEmphasis=26]="StrongEmphasis",i[i.Link=27]="Link",i[i.Image=28]="Image",i[i.InlineCode=29]="InlineCode",i[i.HTMLTag=30]="HTMLTag",i[i.Comment=31]="Comment",i[i.ProcessingInstruction=32]="ProcessingInstruction",i[i.URL=33]="URL",i[i.HeaderMark=34]="HeaderMark",i[i.QuoteMark=35]="QuoteMark",i[i.ListMark=36]="ListMark",i[i.LinkMark=37]="LinkMark",i[i.EmphasisMark=38]="EmphasisMark",i[i.CodeMark=39]="CodeMark",i[i.CodeText=40]="CodeText",i[i.CodeInfo=41]="CodeInfo",i[i.LinkTitle=42]="LinkTitle",i[i.LinkLabel=43]="LinkLabel";class O{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class u{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return m(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let i=t;i=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let i=(e.type==r.OrderedList?v:y)(n,t,!1);return i>0&&(e.type!=r.BulletList||0>x(n,t,!1))&&n.text.charCodeAt(n.pos+i-1)==e.value}let d={[r.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(Y(r.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(p(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[r.ListItem]:(e,t,n)=>(!(n.indent-1))&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[r.OrderedList]:f,[r.BulletList]:f,[r.Document]:()=>!0};function p(e){return 32==e||9==e||10==e||13==e}function m(e,t=0){for(;tn&&p(e.charCodeAt(t-1));)t--;return t}function Q(e){if(96!=e.next&&126!=e.next)return -1;let t=e.pos+1;for(;t-1&&e.depth==t.stack.length?-1:i<3?-1:1}function k(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function y(e,t,n){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||p(e.text.charCodeAt(e.pos+1)))&&(!n||k(t,r.BulletList)||e.skipSpace(e.pos+2)=48&&s<=57;){if(++i==e.text.length)return -1;s=e.text.charCodeAt(i)}return i==e.pos||i>e.pos+9||46!=s&&41!=s||ie.pos+1||49!=e.next)?-1:i+1-e.pos}function $(e){if(35!=e.next)return -1;let t=e.pos+1;for(;t6?-1:n}function S(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let t=e.pos+1;for(;t/,P=/\?>/,R=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(i);if(o)return e.append(Y(r.Comment,n,n+1+o[0].length));let a=/^\?[^]*?\?>/.exec(i);if(a)return e.append(Y(r.ProcessingInstruction,n,n+1+a[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return l?e.append(Y(r.HTMLTag,n,n+1+l[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return -1;let i=n+1;for(;e.char(i)==t;)i++;let r=e.slice(n-1,n),s=e.slice(i,i+1),o=ei.test(r),a=ei.test(s),l=/\s|^$/.test(r),c=/\s|^$/.test(s),h=!c&&(!a||l||o),O=!l&&(!o||c||a);return e.append(new et(95==t?F:H,n,i,(h&&(42==t||!O||o)?1:0)|(O&&(42==t||!h||a)?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(Y(r.HardBreak,n,n+2));if(32==t){let i=n+1;for(;32==e.char(i);)i++;if(10==e.char(i)&&i>=n+2)return e.append(Y(r.HardBreak,n,i+1))}return -1},Link:(e,t,n)=>91==t?e.append(new et(K,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new et(ee,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return -1;for(let i=e.parts.length-1;i>=0;i--){let s=e.parts[i];if(s instanceof et&&(s.type==K||s.type==ee)){if(!s.side||e.skipSpace(s.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[i]=null,-1;let o=e.takeContent(i),a=e.parts[i]=function(e,t,n,i,s){let{text:o}=e,a=e.char(s),l=s;if(t.unshift(Y(r.LinkMark,i,i+(n==r.Image?2:1))),t.push(Y(r.LinkMark,s-1,s)),40==a){let c=e.skipSpace(s+1),h=eo(o,c-e.offset,e.offset),O;h&&(c=e.skipSpace(h.to),(O=ea(o,c-e.offset,e.offset))&&(c=e.skipSpace(O.to))),41==e.char(c)&&(t.push(Y(r.LinkMark,s,s+1)),l=c+1,h&&t.push(h),O&&t.push(O),t.push(Y(r.LinkMark,c,l)))}else if(91==a){let u=el(o,s-e.offset,e.offset,!1);u&&(t.push(u),l=u.to)}return Y(n,i,l,t)}(e,o,s.type==K?r.Link:r.Image,s.from,n+1);if(s.type==K)for(let l=0;lt?Y(r.URL,t+n,a+n):a==e.length&&null}}function ea(e,t,n){let i=e.charCodeAt(t);if(39!=i&&34!=i&&40!=i)return!1;let s=40==i?41:i;for(let o=t+1,a=!1;o=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,i,r){return this.append(new et(e,t,n,(i?1:0)|(r?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t=e;o--){let a=this.parts[o];if(a instanceof et&&1&a.side&&a.type==n.type&&!(i&&(1&n.side||2&a.side)&&(a.to-a.from+r)%3==0&&((a.to-a.from)%3||r%3))){s=a;break}}if(!s)continue;let l=n.type.resolve,c=[],h=s.from,O=n.to;if(i){let u=Math.min(2,s.to-s.from,r);h=s.to-u,O=n.from+u,l=1==u?"Emphasis":"StrongEmphasis"}s.type.mark&&c.push(this.elt(s.type.mark,h,s.to));for(let f=o+1;f=0;t--){let n=this.parts[t];if(n instanceof et&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return m(this.text,e-this.offset)+this.offset}elt(e,t,n,i){return"string"==typeof e?Y(this.parser.getNodeType(e),t,n,i):new B(e,t)}}function eh(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),i=0;for(let r of t){for(;i(e?e-1:0))return!1;if(this.fragmentEnd<0){let n=this.fragment.to;for(;n>0&&"\n"!=this.input.read(n-1,n);)n--;this.fragmentEnd=n?n-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor()).firstChild();let r=e+this.fragment.offset;for(;i.to<=r;)if(!i.parent())return!1;for(;;){if(i.from>=r)return this.fragment.from<=t;if(!i.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(l.md.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,s=r,o=e.block.children.length,a=s,l=o;for(;;){if(t.to-n>i){if(t.type.isAnonymous&&t.firstChild())continue;break}if(e.dontInject.add(t.tree),e.addNode(t.tree,t.from-n),t.type.is("Block")&&(0>eO.indexOf(t.type.id)?(s=t.to-n,o=e.block.children.length):(s=a,o=l,a=t.to-n,l=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return s-r}}let ef=(0,c.Gv)({"Blockquote/...":c.pJ.quote,HorizontalRule:c.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":c.pJ.heading1,"ATXHeading2/... SetextHeading2/...":c.pJ.heading2,"ATXHeading3/...":c.pJ.heading3,"ATXHeading4/...":c.pJ.heading4,"ATXHeading5/...":c.pJ.heading5,"ATXHeading6/...":c.pJ.heading6,"Comment CommentBlock":c.pJ.comment,Escape:c.pJ.escape,Entity:c.pJ.character,"Emphasis/...":c.pJ.emphasis,"StrongEmphasis/...":c.pJ.strong,"Link/... Image/...":c.pJ.link,"OrderedList/... BulletList/...":c.pJ.list,"BlockQuote/...":c.pJ.quote,"InlineCode CodeText":c.pJ.monospace,URL:c.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":c.pJ.processingInstruction,"CodeInfo LinkLabel":c.pJ.labelName,LinkTitle:c.pJ.string,Paragraph:c.pJ.content}),ed=new E(new l.Lj(D).extend(ef),Object.keys(j).map(e=>j[e]),Object.keys(j).map(e=>q[e]),Object.keys(j),[(e,t)=>$(t)>=0,(e,t)=>Q(t)>=0,(e,t)=>b(t)>=0,(e,t)=>y(t,e,!0)>=0,(e,t)=>v(t,e,!0)>=0,(e,t)=>x(t,e,!0)>=0,(e,t)=>C(t,e,!0)>=0],d,Object.keys(es).map(e=>es[e]),Object.keys(es),[]),ep={resolve:"Strikethrough",mark:"StrikethroughMark"},em={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":c.pJ.strikethrough}},{name:"StrikethroughMark",style:c.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return -1;let i=e.slice(n-1,n),r=e.slice(n+2,n+3),s=/\s|^$/.test(i),o=/\s|^$/.test(r),a=ei.test(i),l=ei.test(r);return e.addDelimiter(ep,n,n+2,!o&&(!l||s||a),!s&&(!a||o||l))},after:"Emphasis"}]};function eg(e,t,n=0,i,r=0){let s=0,o=!0,a=-1,l=-1,c=!1,h=()=>{i.push(e.elt("TableCell",r+a,r+l,e.parser.parseInline(t.slice(a,l),r+a)))};for(let O=n;O-1)&&s++,o=!1,i&&(a>-1&&h(),i.push(e.elt("TableDelimiter",O+r,O+r+1))),a=l=-1),c=!c&&92==u}return a>-1&&(s++,i&&h()),s}function eQ(e,t){for(let n=t;neQ(t.content,0)?new ex:null,endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof ex)||!eQ(t.text,t.basePos))return!1;let i=e.scanLine(e.absoluteLineEnd+1).text;return eb.test(i)&&eg(e,t.text,t.basePos)==eg(e,i,t.basePos)},before:"SetextHeading"}]};class ey{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}let ev={defineNodes:[{name:"Task",block:!0,style:c.pJ.list},{name:"TaskMarker",style:c.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\]/.test(t.content)&&"ListItem"==e.parentType().name?new ey:null,after:"SetextHeading"}]};function e$(e,t,n){return(i,r,s)=>{if(r!=e||i.char(s+1)==e)return -1;let o=[i.elt(n,s,s+1)];for(let a=s+1;a"}}),eC=ed.configure({props:[a.x0.add(e=>{if(!(!e.is("Block")||e.is("Document")))return(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),a.uj.add({Document:()=>null}),a.pp.add({Document:eR})]});function eZ(e){return new a.SQ(eR,e,[],"markdown")}let eX=eZ(eC),ej=eC.configure([[ek,ev,em],ew,eS,eT]),eW=eZ(ej);class eA{constructor(e,t,n,i,r,s,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=i,this.spaceAfter=r,this.type=s,this.item=o}blank(e,t=!0){let n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;n.length0;i--)n+=" ";return n+(t?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+eq(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function e_(e,t){let n=[];for(let i=e;i&&"Document"!=i.name;i=i.parent)("ListItem"==i.name||"Blockquote"==i.name||"FencedCode"==i.name)&&n.push(i);let r=[];for(let s=n.length-1;s>=0;s--){let o=n[s],a,l=t.lineAt(o.from),c=o.from-l.from;if("FencedCode"==o.name)r.push(new eA(o,c,c,"","","",null));else if("Blockquote"==o.name&&(a=/^[ \t]*>( ?)/.exec(l.text.slice(c))))r.push(new eA(o,c,c+a[0].length,"",a[1],">",null));else if("ListItem"==o.name&&"OrderedList"==o.parent.name&&(a=/^([ \t]*)\d+([.)])([ \t]*)/.exec(l.text.slice(c)))){let h=a[3],O=a[0].length;h.length>=4&&(h=h.slice(0,h.length-4),O-=4),r.push(new eA(o.parent,c,c+O,a[1],h,a[2],o))}else if("ListItem"==o.name&&"BulletList"==o.parent.name&&(a=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(l.text.slice(c)))){let u=a[4],f=a[0].length;u.length>4&&(u=u.slice(0,u.length-4),f-=4);let d=a[2];a[3]&&(d+=a[3].replace(/[xX]/," ")),r.push(new eA(o.parent,c,c+f,a[1],u,d,o))}}return r}function eq(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function ez(e,t,n,i=0){for(let r=-1,s=e;;){if("ListItem"==s.name){let o=eq(s,t),a=+o[2];if(r>=0){if(a!=r+1)return;n.push({from:s.from+o[1].length,to:s.from+o[0].length,insert:String(r+2+i)})}r=a}let l=s.nextSibling;if(!l)break;s=l}}let eI=({state:e,dispatch:t})=>{let n=(0,a.qz)(e),{doc:i}=e,r=null,o=e.changeByRange(t=>{if(!t.empty||!eW.isActiveAt(e,t.from))return r={range:t};let o=t.from,a=i.lineAt(o),l=e_(n.resolveInner(o,-1),i);for(;l.length&&l[l.length-1].from>o-a.from;)l.pop();if(!l.length)return r={range:t};let c=l[l.length-1];if(c.to-c.spaceAfter.length>o-a.from)return r={range:t};let h=o>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&h){if(c.node.firstChild.to>=o||a.from>0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){let O=l.length>1?l[l.length-2]:null,u,f="";O&&O.item?(u=a.from+O.from,f=O.marker(i,1)):u=a.from+(O?O.to:0);let d=[{from:u,to:o,insert:f}];return"OrderedList"==c.node.name&&ez(c.item,i,d,-2),O&&"OrderedList"==O.node.name&&ez(O.item,i,d),{range:s.jT.cursor(u+f.length),changes:d}}{let p="";for(let m=0,g=0,Q=l.length-2;m<=Q;m++)p+=l[m].blank(m\s*$/.exec(b.text);if(x&&x.index==c.from){let k=e.changes([{from:b.from+x.index,to:b.to},{from:a.from+c.from,to:a.to}]);return{range:t.map(k),changes:k}}}let y=[];"OrderedList"==c.node.name&&ez(c.item,i,y);let v=e.lineBreak,$=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let S=0,w=0,T=l.length-1;S<=T;S++)v+=S!=T||$?l[S].blank(Sa.from&&/\s/.test(a.text.charAt(P-a.from-1));)P--;return y.push({from:P,to:o,insert:v}),{range:s.jT.cursor(P+v.length),changes:y}});return!r&&(t(e.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)};function eE(e){return"QuoteMark"==e.name||"ListMark"==e.name}let eG=({state:e,dispatch:t})=>{let n=(0,a.qz)(e),i=null,r=e.changeByRange(t=>{let r=t.from,{doc:o}=e;if(t.empty&&eW.isActiveAt(e,t.from)){let a=o.lineAt(r),l=e_(function(e,t){let n=e.resolveInner(t,-1),i=t;eE(n)&&(i=n.from,n=n.parent);for(let r;r=n.childBefore(i);)if(eE(r))i=r.from;else if("OrderedList"==r.name||"BulletList"==r.name)i=(n=r.lastChild).to;else break;return n}(n,r),o);if(l.length){let c=l[l.length-1],h=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(r-a.from>h&&!/\S/.test(a.text.slice(h,r-a.from)))return{range:s.jT.cursor(a.from+h),changes:{from:a.from+h,to:r}};if(r-a.from==h){let O=a.from+c.from;if(c.item&&c.node.from{if(e&&n){let i=null;if(e=/\S*/.exec(e)[0],(i="function"==typeof n?n(e):a.c6.matchLanguageName(n,e,!0))instanceof a.c6)return i.support?i.support.language.parser:a.Be.getSkippingParser(i.load());if(i)return i.parser}return t?t.parser:null}):void 0;return O.push(function(e){let{codeParser:t,htmlParser:n}=e,i=(0,l.FE)((e,i)=>{let s=e.type.id;if(t&&(s==r.CodeBlock||s==r.FencedCode)){let o="";if(s==r.FencedCode){let a=e.node.getChild(r.CodeInfo);a&&(o=i.read(a.from,a.to))}let l=t(o);if(l)return{parser:l,overlay:e=>e.type.id==r.CodeText}}else if(n&&(s==r.HTMLBlock||s==r.HTMLTag))return{parser:n,overlay:function(e,t,n){let i=[];for(let r=e.firstChild,s=t;;r=r.nextSibling){let o=r?r.from:n;if(o>s&&i.push({from:s,to:o}),!r)break;s=r.to}return i}(e.node,e.from,e.to)};return null});return{wrap:i}}({codeParser:d,htmlParser:eD.language.parser})),c&&u.push(s.Wl.high(o.$f.of(eL))),new a.ri(eZ(h.configure(O)),u)}},76538:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var i=n(59119);function r(e){return new i.ri(i.il.define(e))}function s(e){return n.e(1390).then(n.bind(n,21390)).then(t=>t.sql({dialect:t[e]}))}let o=[i.c6.of({name:"C",extensions:["c","h","ino"],load:()=>n.e(2750).then(n.bind(n,12750)).then(e=>e.cpp())}),i.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>n.e(2750).then(n.bind(n,12750)).then(e=>e.cpp())}),i.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>s("Cassandra")}),i.c6.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(n.bind(n,61426)).then(e=>e.css())}),i.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(n.bind(n,13804)).then(e=>e.html())}),i.c6.of({name:"Java",extensions:["java"],load:()=>n.e(4778).then(n.bind(n,44778)).then(e=>e.java())}),i.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript())}),i.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>n.e(4732).then(n.bind(n,44732)).then(e=>e.json())}),i.c6.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript({jsx:!0}))}),i.c6.of({name:"MariaDB SQL",load:()=>s("MariaSQL")}),i.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(n.bind(n,48825)).then(e=>e.markdown())}),i.c6.of({name:"MS SQL",load:()=>s("MSSQL")}),i.c6.of({name:"MySQL",load:()=>s("MySQL")}),i.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>n.e(2386).then(n.bind(n,12386)).then(e=>e.php())}),i.c6.of({name:"PLSQL",extensions:["pls"],load:()=>s("PLSQL")}),i.c6.of({name:"PostgreSQL",load:()=>s("PostgreSQL")}),i.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>n.e(8088).then(n.bind(n,28088)).then(e=>e.python())}),i.c6.of({name:"Rust",extensions:["rs"],load:()=>n.e(4920).then(n.bind(n,24920)).then(e=>e.rust())}),i.c6.of({name:"SQL",extensions:["sql"],load:()=>s("StandardSQL")}),i.c6.of({name:"SQLite",load:()=>s("SQLite")}),i.c6.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript({jsx:!0,typescript:!0}))}),i.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript({typescript:!0}))}),i.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>n.e(9972).then(n.bind(n,9972)).then(e=>e.wast())}),i.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>n.e(5122).then(n.bind(n,5122)).then(e=>e.xml())}),i.c6.of({name:"APL",extensions:["dyalog","apl"],load:()=>n.e(870).then(n.bind(n,90870)).then(e=>r(e.apl))}),i.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>n.e(8029).then(n.bind(n,58029)).then(e=>r(e.asciiArmor))}),i.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>n.e(3203).then(n.bind(n,93203)).then(e=>r(e.asn1({})))}),i.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>n.e(5648).then(n.bind(n,15648)).then(e=>r(e.asterisk))}),i.c6.of({name:"Brainfuck",extensions:["b","bf"],load:()=>n.e(2675).then(n.bind(n,9521)).then(e=>r(e.brainfuck))}),i.c6.of({name:"Cobol",extensions:["cob","cpy"],load:()=>n.e(8915).then(n.bind(n,68915)).then(e=>r(e.cobol))}),i.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.csharp))}),i.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>n.e(2406).then(n.bind(n,72406)).then(e=>r(e.clojure))}),i.c6.of({name:"ClojureScript",extensions:["cljs"],load:()=>n.e(2406).then(n.bind(n,72406)).then(e=>r(e.clojure))}),i.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>n.e(2136).then(n.bind(n,62136)).then(e=>r(e.gss))}),i.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>n.e(889).then(n.bind(n,70889)).then(e=>r(e.cmake))}),i.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>n.e(9558).then(n.bind(n,29558)).then(e=>r(e.coffeeScript))}),i.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>n.e(1446).then(n.bind(n,61446)).then(e=>r(e.commonLisp))}),i.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>n.e(673).then(n.bind(n,20673)).then(e=>r(e.cypher))}),i.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>n.e(4323).then(n.bind(n,74323)).then(e=>r(e.cython))}),i.c6.of({name:"Crystal",extensions:["cr"],load:()=>n.e(2602).then(n.bind(n,62602)).then(e=>r(e.crystal))}),i.c6.of({name:"D",extensions:["d"],load:()=>n.e(1660).then(n.bind(n,11660)).then(e=>r(e.d))}),i.c6.of({name:"Dart",extensions:["dart"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.dart))}),i.c6.of({name:"diff",extensions:["diff","patch"],load:()=>n.e(7475).then(n.bind(n,87475)).then(e=>r(e.diff))}),i.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>n.e(4812).then(n.bind(n,34812)).then(e=>r(e.dockerFile))}),i.c6.of({name:"DTD",extensions:["dtd"],load:()=>n.e(6991).then(n.bind(n,76991)).then(e=>r(e.dtd))}),i.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>n.e(4144).then(n.bind(n,24144)).then(e=>r(e.dylan))}),i.c6.of({name:"EBNF",load:()=>n.e(2040).then(n.bind(n,82040)).then(e=>r(e.ebnf))}),i.c6.of({name:"ECL",extensions:["ecl"],load:()=>n.e(7315).then(n.bind(n,37315)).then(e=>r(e.ecl))}),i.c6.of({name:"edn",extensions:["edn"],load:()=>n.e(2406).then(n.bind(n,72406)).then(e=>r(e.clojure))}),i.c6.of({name:"Eiffel",extensions:["e"],load:()=>n.e(7525).then(n.bind(n,87525)).then(e=>r(e.eiffel))}),i.c6.of({name:"Elm",extensions:["elm"],load:()=>n.e(8770).then(n.bind(n,28770)).then(e=>r(e.elm))}),i.c6.of({name:"Erlang",extensions:["erl"],load:()=>n.e(7590).then(n.bind(n,53482)).then(e=>r(e.erlang))}),i.c6.of({name:"Esper",load:()=>n.e(9607).then(n.bind(n,54050)).then(e=>r(e.esper))}),i.c6.of({name:"Factor",extensions:["factor"],load:()=>n.e(7001).then(n.bind(n,87001)).then(e=>r(e.factor))}),i.c6.of({name:"FCL",load:()=>n.e(7663).then(n.bind(n,77663)).then(e=>r(e.fcl))}),i.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>n.e(8393).then(n.bind(n,68393)).then(e=>r(e.forth))}),i.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>n.e(8283).then(n.bind(n,8283)).then(e=>r(e.fortran))}),i.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>n.e(6121).then(n.bind(n,96121)).then(e=>r(e.fSharp))}),i.c6.of({name:"Gas",extensions:["s"],load:()=>n.e(9781).then(n.bind(n,39781)).then(e=>r(e.gas))}),i.c6.of({name:"Gherkin",extensions:["feature"],load:()=>n.e(2542).then(n.bind(n,2542)).then(e=>r(e.gherkin))}),i.c6.of({name:"Go",extensions:["go"],load:()=>n.e(8910).then(n.bind(n,48910)).then(e=>r(e.go))}),i.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>n.e(3883).then(n.bind(n,23883)).then(e=>r(e.groovy))}),i.c6.of({name:"Haskell",extensions:["hs"],load:()=>n.e(5372).then(n.bind(n,95372)).then(e=>r(e.haskell))}),i.c6.of({name:"Haxe",extensions:["hx"],load:()=>n.e(3509).then(n.bind(n,63509)).then(e=>r(e.haxe))}),i.c6.of({name:"HXML",extensions:["hxml"],load:()=>n.e(3509).then(n.bind(n,63509)).then(e=>r(e.hxml))}),i.c6.of({name:"HTTP",load:()=>n.e(7558).then(n.bind(n,36395)).then(e=>r(e.http))}),i.c6.of({name:"IDL",extensions:["pro"],load:()=>n.e(2314).then(n.bind(n,22314)).then(e=>r(e.idl))}),i.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>n.e(9296).then(n.bind(n,59296)).then(e=>r(e.jsonld))}),i.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:()=>n.e(1084).then(n.bind(n,41084)).then(e=>r(e.jinja2))}),i.c6.of({name:"Julia",extensions:["jl"],load:()=>n.e(6092).then(n.bind(n,76092)).then(e=>r(e.julia))}),i.c6.of({name:"Kotlin",extensions:["kt"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.kotlin))}),i.c6.of({name:"LESS",extensions:["less"],load:()=>n.e(2136).then(n.bind(n,62136)).then(e=>r(e.less))}),i.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>n.e(402).then(n.bind(n,60402)).then(e=>r(e.liveScript))}),i.c6.of({name:"Lua",extensions:["lua"],load:()=>n.e(3519).then(n.bind(n,3519)).then(e=>r(e.lua))}),i.c6.of({name:"mIRC",extensions:["mrc"],load:()=>n.e(5134).then(n.bind(n,65134)).then(e=>r(e.mirc))}),i.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>n.e(7213).then(n.bind(n,37213)).then(e=>r(e.mathematica))}),i.c6.of({name:"Modelica",extensions:["mo"],load:()=>n.e(305).then(n.bind(n,40305)).then(e=>r(e.modelica))}),i.c6.of({name:"MUMPS",extensions:["mps"],load:()=>n.e(7988).then(n.bind(n,17988)).then(e=>r(e.mumps))}),i.c6.of({name:"Mbox",extensions:["mbox"],load:()=>n.e(9121).then(n.bind(n,29121)).then(e=>r(e.mbox))}),i.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>n.e(8561).then(n.bind(n,78561)).then(e=>r(e.nginx))}),i.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>n.e(7370).then(n.bind(n,67370)).then(e=>r(e.nsis))}),i.c6.of({name:"NTriples",extensions:["nt","nq"],load:()=>n.e(3314).then(n.bind(n,43314)).then(e=>r(e.ntriples))}),i.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.objectiveC))}),i.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.objectiveCpp))}),i.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>n.e(6121).then(n.bind(n,96121)).then(e=>r(e.oCaml))}),i.c6.of({name:"Octave",extensions:["m"],load:()=>n.e(3283).then(n.bind(n,33283)).then(e=>r(e.octave))}),i.c6.of({name:"Oz",extensions:["oz"],load:()=>n.e(4796).then(n.bind(n,94796)).then(e=>r(e.oz))}),i.c6.of({name:"Pascal",extensions:["p","pas"],load:()=>n.e(4163).then(n.bind(n,44163)).then(e=>r(e.pascal))}),i.c6.of({name:"Perl",extensions:["pl","pm"],load:()=>n.e(4293).then(n.bind(n,94293)).then(e=>r(e.perl))}),i.c6.of({name:"Pig",extensions:["pig"],load:()=>n.e(3482).then(n.bind(n,33482)).then(e=>r(e.pig))}),i.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>n.e(7421).then(n.bind(n,37421)).then(e=>r(e.powerShell))}),i.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>n.e(9071).then(n.bind(n,69071)).then(e=>r(e.properties))}),i.c6.of({name:"ProtoBuf",extensions:["proto"],load:()=>n.e(8142).then(n.bind(n,78142)).then(e=>r(e.protobuf))}),i.c6.of({name:"Puppet",extensions:["pp"],load:()=>n.e(3993).then(n.bind(n,83993)).then(e=>r(e.puppet))}),i.c6.of({name:"Q",extensions:["q"],load:()=>n.e(228).then(n.bind(n,10228)).then(e=>r(e.q))}),i.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>n.e(7365).then(n.bind(n,57365)).then(e=>r(e.r))}),i.c6.of({name:"RPM Changes",load:()=>n.e(8171).then(n.bind(n,48171)).then(e=>r(e.rpmChanges))}),i.c6.of({name:"RPM Spec",extensions:["spec"],load:()=>n.e(8171).then(n.bind(n,48171)).then(e=>r(e.rpmSpec))}),i.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:()=>n.e(4439).then(n.bind(n,24439)).then(e=>r(e.ruby))}),i.c6.of({name:"SAS",extensions:["sas"],load:()=>n.e(1770).then(n.bind(n,1770)).then(e=>r(e.sas))}),i.c6.of({name:"Sass",extensions:["sass"],load:()=>n.e(9809).then(n.bind(n,49809)).then(e=>r(e.sass))}),i.c6.of({name:"Scala",extensions:["scala"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.scala))}),i.c6.of({name:"Scheme",extensions:["scm","ss"],load:()=>n.e(5879).then(n.bind(n,95879)).then(e=>r(e.scheme))}),i.c6.of({name:"SCSS",extensions:["scss"],load:()=>n.e(2136).then(n.bind(n,62136)).then(e=>r(e.sCSS))}),i.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>n.e(4879).then(n.bind(n,44879)).then(e=>r(e.shell))}),i.c6.of({name:"Sieve",extensions:["siv","sieve"],load:()=>n.e(9713).then(n.bind(n,9713)).then(e=>r(e.sieve))}),i.c6.of({name:"Smalltalk",extensions:["st"],load:()=>n.e(1873).then(n.bind(n,11873)).then(e=>r(e.smalltalk))}),i.c6.of({name:"Solr",load:()=>n.e(7762).then(n.bind(n,17762)).then(e=>r(e.solr))}),i.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>n.e(6121).then(n.bind(n,96121)).then(e=>r(e.sml))}),i.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>n.e(370).then(n.bind(n,70370)).then(e=>r(e.sparql))}),i.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>n.e(7601).then(n.bind(n,97601)).then(e=>r(e.spreadsheet))}),i.c6.of({name:"Squirrel",extensions:["nut"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.squirrel))}),i.c6.of({name:"Stylus",extensions:["styl"],load:()=>n.e(8007).then(n.bind(n,28007)).then(e=>r(e.stylus))}),i.c6.of({name:"Swift",extensions:["swift"],load:()=>n.e(6062).then(n.bind(n,66062)).then(e=>r(e.swift))}),i.c6.of({name:"sTeX",load:()=>n.e(6732).then(n.bind(n,86732)).then(e=>r(e.stex))}),i.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>n.e(6732).then(n.bind(n,86732)).then(e=>r(e.stex))}),i.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>n.e(2119).then(n.bind(n,52119)).then(e=>r(e.verilog))}),i.c6.of({name:"Tcl",extensions:["tcl"],load:()=>n.e(3465).then(n.bind(n,43465)).then(e=>r(e.tcl))}),i.c6.of({name:"Textile",extensions:["textile"],load:()=>n.e(177).then(n.bind(n,90177)).then(e=>r(e.textile))}),i.c6.of({name:"TiddlyWiki",load:()=>n.e(4511).then(n.bind(n,34511)).then(e=>r(e.tiddlyWiki))}),i.c6.of({name:"Tiki wiki",load:()=>n.e(6471).then(n.bind(n,36471)).then(e=>r(e.tiki))}),i.c6.of({name:"TOML",extensions:["toml"],load:()=>n.e(6443).then(n.bind(n,96443)).then(e=>r(e.toml))}),i.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>n.e(1920).then(n.bind(n,71920)).then(e=>r(e.troff))}),i.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>n.e(6665).then(n.bind(n,66665)).then(e=>r(e.ttcn))}),i.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>n.e(9831).then(n.bind(n,29831)).then(e=>r(e.ttcnCfg))}),i.c6.of({name:"Turtle",extensions:["ttl"],load:()=>n.e(5815).then(n.bind(n,15815)).then(e=>r(e.turtle))}),i.c6.of({name:"Web IDL",extensions:["webidl"],load:()=>n.e(6692).then(n.bind(n,26692)).then(e=>r(e.webIDL))}),i.c6.of({name:"VB.NET",extensions:["vb"],load:()=>n.e(4212).then(n.bind(n,44212)).then(e=>r(e.vb))}),i.c6.of({name:"VBScript",extensions:["vbs"],load:()=>n.e(1650).then(n.bind(n,31650)).then(e=>r(e.vbScript))}),i.c6.of({name:"Velocity",extensions:["vtl"],load:()=>n.e(617).then(n.bind(n,90617)).then(e=>r(e.velocity))}),i.c6.of({name:"Verilog",extensions:["v"],load:()=>n.e(2119).then(n.bind(n,52119)).then(e=>r(e.verilog))}),i.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>n.e(5819).then(n.bind(n,5819)).then(e=>r(e.vhdl))}),i.c6.of({name:"XQuery",extensions:["xy","xquery"],load:()=>n.e(5753).then(n.bind(n,35753)).then(e=>r(e.xQuery))}),i.c6.of({name:"Yacas",extensions:["ys"],load:()=>n.e(9232).then(n.bind(n,69232)).then(e=>r(e.yacas))}),i.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>n.e(2877).then(n.bind(n,82877)).then(e=>r(e.yaml))}),i.c6.of({name:"Z80",extensions:["z80"],load:()=>n.e(1053).then(n.bind(n,21053)).then(e=>r(e.z80))}),i.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>n.e(758).then(n.bind(n,30758)).then(e=>r(e.mscgen))}),i.c6.of({name:"X\xf9",extensions:["xu"],load:()=>n.e(758).then(n.bind(n,30758)).then(e=>r(e.xu))}),i.c6.of({name:"MsGenny",extensions:["msgenny"],load:()=>n.e(758).then(n.bind(n,30758)).then(e=>r(e.msgenny))})]},59119:function(e,t,n){"use strict";n.d(t,{Be:function(){return g},Dv:function(){return D},Gn:function(){return Z},K0:function(){return C},Qf:function(){return eu},R_:function(){return eQ},SQ:function(){return O},SS:function(){return R},Um:function(){return eR},c:function(){return T},c6:function(){return S},e7:function(){return ei},il:function(){return ej},kU:function(){return h},mi:function(){return eh},n$:function(){return eT},nF:function(){return em},nY:function(){return E},pp:function(){return c},qp:function(){return f},qz:function(){return d},ri:function(){return $},tC:function(){return I},uj:function(){return X},vw:function(){return _},x0:function(){return L},y1:function(){return P},ze:function(){return z}});var i,r=n(41113),s=n(78120),o=n(47421),a=n(35524),l=n(28699);let c=new r.md;function h(e){return s.r$.define({combine:e?t=>t.concat(e):void 0})}class O{constructor(e,t,n=[],i=""){this.data=e,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return d(this)}}),this.parser=t,this.extension=[v.of(this),s.yy.languageData.of((e,t,n)=>e.facet(u(e,t,n)))].concat(n)}isActiveAt(e,t,n=-1){return u(e,t,n)==this.data}findRegions(e){let t=e.facet(v);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(e,t)=>{if(e.prop(c)==this.data){n.push({from:t,to:t+e.length});return}let s=e.prop(r.md.mounted);if(s){if(s.tree.prop(c)==this.data){if(s.overlay)for(let o of s.overlay)n.push({from:o.from+t,to:o.to+t});else n.push({from:t,to:t+e.length});return}if(s.overlay){let a=n.length;if(i(s.tree,s.overlay[0].from+t),n.length>a)return}}for(let l=0;le.isTop?t:void 0)]}),e.name)}configure(e,t){return new f(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function d(e){let t=e.field(O.state,!1);return t?t.tree:r.mp.empty}class p{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let m=null;class g{constructor(e,t,n=[],i,r,s,o,a){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new g(e,t,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new p(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=r.mp.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=m;m=this;try{return e()}finally{m=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Q(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((e,t,n,i)=>l.push({fromA:e,toA:t,fromB:n,toB:i})),n=r.i9.applyChanges(n,l),i=r.mp.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let c of(a=[],this.skipped)){let h=e.mapPos(c.from,1),O=e.mapPos(c.to,-1);he.from&&(this.fragments=Q(this.fragments,i,r),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends r._b{createParse(t,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let t=m;if(t){for(let n of i)t.tempSkipped.push(n);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return m}}function Q(e,t,n){return r.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class b{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new b(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=g.create(e.facet(v).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new b(n)}}O.state=s.QQ.define({create:b.init,update(e,t){for(let n of t.effects)if(n.is(O.setState))return n.value;return t.startState.facet(v)!=t.state.facet(v)?b.init(t.state):e.apply(t)}});let x=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(x=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let k="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,y=o.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(O.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(O.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=x(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndi+1e3,a=r.context.work(()=>k&&k()||Date.now()>s,i+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:O.setState.of(new b(r.context))})),this.chunkBudget>0&&!(a&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,o.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),v=s.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[O.state,y,o.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class ${constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class S{constructor(e,t,n,i,r,s){this.name=e,this.alias=t,this.extensions=n,this.filename=i,this.loadFunc=r,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new S(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let i=/\.([^.]+)$/.exec(t);if(i){for(let r of e)if(r.extensions.indexOf(i[1])>-1)return r}return null}static matchLanguageName(e,t,n=!0){for(let i of(t=t.toLowerCase(),e))if(i.alias.some(e=>e==t))return i;if(n)for(let r of e)for(let s of r.alias){let o=t.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(t[o-1])&&!/\w/.test(t[o+s.length])))return r}return null}}let w=s.r$.define(),T=s.r$.define({combine(e){if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function P(e){let t=e.facet(T);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function R(e,t){let n="",i=e.tabSize;if(9==e.facet(T).charCodeAt(0))for(;t>=i;)n+=" ",t-=i;for(let r=0;r=n.from&&i<=n.to?r&&i==e?{text:"",from:e}:(t<0?i-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return(0,s.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let s=r(i);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let X=new r.md;function j(e,t,n){for(;e;e=e.parent){let i=function(e){let t=e.type.prop(X);if(t)return t;let n=e.firstChild,i;if(n&&(i=n.type.prop(r.md.closedBy))){let s=e.lastChild,o=s&&i.indexOf(s.name)>-1;return e=>q(e,!0,1,void 0,o&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?s.from:void 0)}return null==e.parent?W:null}(e);if(i)return i(A.create(n,t,e))}return null}function W(){return 0}class A extends Z{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new A(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?j(e,this.pos,this.base):0}}function _({closing:e,align:t=!0,units:n=1}){return i=>q(i,t,n,e)}function q(e,t,n,i,r){let s=e.textAfter,o=s.match(/^\s*/)[0].length,a=i&&s.slice(o,o+i.length)==i||r==e.pos+o,l=t?function(e){let t=e.node,n=t.childAfter(t.from),i=t.lastChild;if(!n)return null;let r=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let a=n.to;;){let l=t.childAfter(a);if(!l||l==i)return null;if(!l.type.isSkipped)return l.frome.baseIndent;function I({except:e,units:t=1}={}){return n=>{let i=e&&e.test(n.textAfter);return n.baseIndent+(i?0:t*n.unit)}}function E(){return s.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:i}=e.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return e;let s=n.sliceString(r.from,i);if(!t.some(e=>e.test(s)))return e;let{state:o}=e,a=-1,l=[];for(let{head:c}of o.selection.ranges){let h=o.doc.lineAt(c);if(h.from==a)continue;a=h.from;let O=C(o,h.from);if(null==O)continue;let u=/^\s*/.exec(h.text)[0],f=R(o,O);u!=f&&l.push({from:h.from,to:h.from+u.length,insert:f})}return l.length?[e,{changes:l,sequential:!0}]:e})}let G=s.r$.define(),L=new r.md;function D(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(s&&o.from=t&&l.to>n&&(s=l)}}return s}(e,t,n)}function U(e,t){let n=t.mapPos(e.from,1),i=t.mapPos(e.to,-1);return n>=i?void 0:{from:n,to:i}}let M=s.Py.define({map:U}),J=s.Py.define({map:U});function V(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let B=s.QQ.define({create:()=>o.p.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))n.is(M)&&!function(e,t,n){let i=!1;return e.between(t,t,(e,r)=>{e==t&&r==n&&(i=!0)}),i}(e,n.value.from,n.value.to)?e=e.update({add:[ea.range(n.value.from,n.value.to)]}):n.is(J)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let i=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{er&&(i=!0)}),i&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>o.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!r||r.from>e)&&(r={from:e,to:t})}),r}function F(e,t){return e.field(B,!1)?t:t.concat(s.Py.appendConfig.of(eo()))}let H=e=>{for(let t of V(e)){let n=N(e.state,t.from,t.to);if(n)return e.dispatch({effects:F(e.state,[M.of(n),ee(e,n)])}),!0}return!1},K=e=>{if(!e.state.field(B,!1))return!1;let t=[];for(let n of V(e)){let i=Y(e.state,n.from,n.to);i&&t.push(J.of(i),ee(e,i,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function ee(e,t,n=!0){let i=e.state.doc.lineAt(t.from).number,r=e.state.doc.lineAt(t.to).number;return o.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${e.state.phrase("to")} ${r}.`)}let et=e=>{let{state:t}=e,n=[];for(let i=0;i{let t=e.state.field(B,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(J.of({from:e,to:t}))}),e.dispatch({effects:n}),!0},ei=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:H},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:K},{key:"Ctrl-Alt-[",run:et},{key:"Ctrl-Alt-]",run:en}],er={placeholderDOM:null,placeholderText:"…"},es=s.r$.define({combine:e=>(0,s.BO)(e,er)});function eo(e){let t=[B,eO];return e&&t.push(es.of(e)),t}let ea=o.p.replace({widget:new class extends o.l9{toDOM(e){let{state:t}=e,n=t.facet(es),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),i=Y(e.state,n.from,n.to);i&&e.dispatch({effects:J.of(i)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",t.phrase("folded code")),r.title=t.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),el={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ec extends o.SJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function eh(e={}){let t=Object.assign(Object.assign({},el),e),n=new ec(t,!0),i=new ec(t,!1),r=o.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(v)!=e.state.facet(v)||e.startState.field(B,!1)!=e.state.field(B,!1)||d(e.startState)!=d(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.f_;for(let r of e.viewportLineBlocks){let o=Y(e.state,r.from,r.to)?i:N(e.state,r.from,r.to)?n:null;o&&t.add(r.from,r.from,o)}return t.finish()}}),{domEventHandlers:a}=t;return[r,(0,o.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.markers)||s.Xs.empty},initialSpacer:()=>new ec(t,!1),domEventHandlers:Object.assign(Object.assign({},a),{click(e,t,n){if(a.click&&a.click(e,t,n))return!0;let i=Y(e.state,t.from,t.to);if(i)return e.dispatch({effects:J.of(i)}),!0;let r=N(e.state,t.from,t.to);return!!r&&(e.dispatch({effects:M.of(r)}),!0)}})}),eo()]}let eO=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class eu{constructor(e,t){let n;function i(e){let t=l.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let r="string"==typeof t.all?t.all:t.all?i(t.all):void 0,s=t.scope;this.scope=s instanceof O?e=>e.prop(c)==s.data:s?e=>e==s:void 0,this.style=(0,a.QR)(e.map(e=>({tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))})),{all:r}).style,this.module=n?new l.V(n):null,this.themeType=t.themeType}static define(e,t){return new eu(e,t||{})}}let ef=s.r$.define(),ed=s.r$.define({combine:e=>e.length?[e[0]]:null});function ep(e){let t=e.facet(ef);return t.length?t:e.facet(ed)}function em(e,t){let n=[eg],i;return e instanceof eu&&(e.module&&n.push(o.tk.styleModule.of(e.module)),i=e.themeType),(null==t?void 0:t.fallback)?n.push(ed.of(e)):i?n.push(ef.computeN([o.tk.darkTheme],t=>t.facet(o.tk.darkTheme)==("dark"==i)?[e]:[])):n.push(ef.of(e)),n}let eg=s.Wl.high(o.lg.fromClass(class{constructor(e){this.markCache=Object.create(null),this.tree=d(e.state),this.decorations=this.buildDeco(e,ep(e.state))}update(e){let t=d(e.state),n=ep(e.state),i=n!=ep(e.startState);t.length{n.add(e,t,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))},i,r);return n.finish()}},{decorations:e=>e.decorations})),eQ=eu.define([{tag:a.pJ.meta,color:"#7a757a"},{tag:a.pJ.link,textDecoration:"underline"},{tag:a.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a.pJ.emphasis,fontStyle:"italic"},{tag:a.pJ.strong,fontWeight:"bold"},{tag:a.pJ.strikethrough,textDecoration:"line-through"},{tag:a.pJ.keyword,color:"#708"},{tag:[a.pJ.atom,a.pJ.bool,a.pJ.url,a.pJ.contentSeparator,a.pJ.labelName],color:"#219"},{tag:[a.pJ.literal,a.pJ.inserted],color:"#164"},{tag:[a.pJ.string,a.pJ.deleted],color:"#a11"},{tag:[a.pJ.regexp,a.pJ.escape,a.pJ.special(a.pJ.string)],color:"#e40"},{tag:a.pJ.definition(a.pJ.variableName),color:"#00f"},{tag:a.pJ.local(a.pJ.variableName),color:"#30a"},{tag:[a.pJ.typeName,a.pJ.namespace],color:"#085"},{tag:a.pJ.className,color:"#167"},{tag:[a.pJ.special(a.pJ.variableName),a.pJ.macroName],color:"#256"},{tag:a.pJ.definition(a.pJ.propertyName),color:"#00c"},{tag:a.pJ.comment,color:"#940"},{tag:a.pJ.invalid,color:"#f00"}]),eb=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ex="()[]{}",ek=s.r$.define({combine:e=>(0,s.BO)(e,{afterCursor:!0,brackets:ex,maxScanDistance:1e4,renderMatch:e$})}),ey=o.p.mark({class:"cm-matchingBracket"}),ev=o.p.mark({class:"cm-nonmatchingBracket"});function e$(e){let t=[],n=e.matched?ey:ev;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let eS=s.QQ.define({create:()=>o.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],i=t.state.facet(ek);for(let r of t.state.selection.ranges){if(!r.empty)continue;let s=eR(t.state,r.head,-1,i)||r.head>0&&eR(t.state,r.head-1,1,i)||i.afterCursor&&(eR(t.state,r.head,1,i)||r.heado.tk.decorations.from(e)}),ew=[eS,eb];function eT(e={}){return[ek.of(e),ew]}function eP(e,t,n){let i=e.prop(t<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==e.name.length){let s=n.indexOf(e.name);if(s>-1&&s%2==(t<0?1:0))return[n[s+t]]}return null}function eR(e,t,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||ex,o=d(e),a=o.resolveInner(t,n);for(let l=a;l;l=l.parent){let c=eP(l.type,n,s);if(c&&l.from=i.to){if(0==l&&r.indexOf(c.type.name)>-1&&c.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},h=e.doc.iterRange(t,n>0?e.doc.length:0),O=0;for(let u=0;!h.next().done&&u<=s;){let f=h.value;n<0&&(u+=f.length);let d=t+u*n;for(let p=n>0?0:f.length-1,m=n>0?f.length:-1;p!=m;p+=n){let g=o.indexOf(f[p]);if(!(g<0)&&i.resolveInner(d+p,1).type==r){if(g%2==0==n>0)O++;else{if(1==O)return{start:c,end:{from:d+p,to:d+p+1},matched:g>>1==l>>1};O--}}}n>0&&(u+=f.length)}return h.done?{start:c,matched:!1}:null}(e,t,n,o,a.type,r,s)}function eC(e,t,n,i=0,r=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let s=r;for(let o=i;o=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?e.toLowerCase():e;return i(this.string.substr(this.pos,e.length))==i(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function eX(e){if("object"!=typeof e)return e;let t={};for(let n in e){let i=e[n];t[n]=i instanceof Array?i.slice():i}return t}class ej extends O{constructor(e){let t,n=h(e.languageData),i={name:e.name||"",token:e.token,blankLine:e.blankLine||(()=>{}),startState:e.startState||(()=>!0),copyState:e.copyState||eX,indent:e.indent||(()=>null),languageData:e.languageData||{},tokenTable:e.tokenTable||eq},s;super(n,new class extends r._b{createParse(e,t,n){return new eA(s,e,t,n)}},[w.of((e,t)=>this.getIndent(e,t))],e.name),this.topNode=(t=r.Jq.define({id:ez.length,name:"Document",props:[c.add(()=>n)]}),ez.push(t),t),s=this,this.streamParser=i,this.stateAfter=new r.md({perNode:!0}),this.tokenTable=e.tokenTable?new eN(i.tokenTable):eU}static define(e){return new ej(e)}getIndent(e,t){let n=d(e.state),i=n.resolve(t);for(;i&&i.type!=this.topNode;)i=i.parent;if(!i)return null;let r=eW(this,n,0,i.from,t),s,o;if(r?(o=r.state,s=r.pos+1):(o=this.streamParser.startState(e.unit),s=0),t-s>1e4)return null;for(;s=i&&n+t.length<=s&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(let a=t.children.length-1;a>=0;a--){let l=t.children[a],c=n+t.positions[a],h=l instanceof r.mp&&cn&&eW(e,s.tree,0-s.offset,n,a),c;if(l&&(c=function e(t,n,i,s,o){if(o&&i<=0&&s>=n.length)return n;o||n.type!=t.topNode||(o=!0);for(let a=n.children.length-1;a>=0;a--){let l=n.positions[a],c=n.children[a],h;if(l=t)?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let n=t.indexOf("\n");n>-1&&(t=t.slice(0,n))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let i=this.rangeIndex;;){let r=this.ranges[i].to;if(r>=n||(t=t.slice(0,r-(n-t.length)),++i==this.ranges.length))break;let s=this.ranges[i].from,o=this.lineAfter(s);t+=o,n=s+o.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let i=this.ranges[this.rangeIndex].to,r=e+t;if(n>0?i>r:i>=r)break;t+=this.ranges[++this.rangeIndex].from-i}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(t,r,1),t+=r;let s=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,i+=this.chunk.length-s}return this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),i=0,{streamParser:r}=this.lang,s=new eZ(t,e?e.state.tabSize:4,e?P(e.state):2);if(s.eol())r.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let o=e_(r.token,s,this.state);if(o&&(i=this.emitToken(this.lang.tokenTable.resolve(o),this.parsedPos+s.start,this.parsedPos+s.pos,4,i)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPost.start)return r}throw Error("Stream parser failed to advance stream.")}let eq=Object.create(null),ez=[r.Jq.none],eI=new r.Lj(ez),eE=[],eG=Object.create(null);for(let[eL,eD]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eG[eL]=eJ(eq,eD);class eN{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),eG)}resolve(e){return e?this.table[e]||(this.table[e]=eJ(this.extra,e)):0}}let eU=new eN(eq);function eM(e,t){eE.indexOf(e)>-1||(eE.push(e),console.warn(t))}function eJ(e,t){let n=null;for(let i of t.split(".")){let s=e[i]||a.pJ[i];s?"function"==typeof s?n?n=s(n):eM(i,`Modifier ${i} used at start of tag`):n?eM(i,`Tag ${i} used as modifier`):n=s:eM(i,`Unknown highlighting tag ${i}`)}if(!n)return 0;let o=t.replace(/ /g,"_"),l=r.Jq.define({id:ez.length,name:o,props:[(0,a.Gv)({[o]:n})]});return ez.push(l),l.id}},78120:function(e,t,n){"use strict";let i;n.d(t,{BO:function(){return ek},D0:function(){return eg},Gz:function(){return eI},IS:function(){return ez},Py:function(){return eO},QQ:function(){return U},Wl:function(){return V},Xs:function(){return ew},YW:function(){return eu},as:function(){return P},bg:function(){return k},cp:function(){return p},f_:function(){return eT},gc:function(){return w},gm:function(){return x},jT:function(){return _},n0:function(){return T},nZ:function(){return y},q6:function(){return el},r$:function(){return I},uU:function(){return ey},xv:function(){return r},yy:function(){return ex}});class r{constructor(){}lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),o.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),o.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new l(this),r=new l(e);for(let s=t,o=t;;){if(i.next(s),r.next(s),s=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(o+=i.value.length,i.done||o>=n)return!0}}iter(e=1){return new l(this,e)}iterRange(e,t=this.length){return new c(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new h(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new s(e):o.from(s.split(e,[])):r.empty}}class s extends r{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((t?n:o)>=e)return new O(i,o,n,s);i=o+1,n++}}decompose(e,t,n,i){let r=e<=0&&t>=this.length?this:new s(a(this.text,[""],e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){let o=n.pop(),l=a(r.text,o.text.slice(),0,r.length);if(l.length<=32)n.push(new s(l,o.length+r.length));else{let c=l.length>>1;n.push(new s(l.slice(0,c)),new s(l.slice(c)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof s))return super.replace(e,t,n);let i=a(this.text,a(n.text,a(this.text,[""],0,e)),t),r=this.length+n.length-(t-e);return i.length<=32?new s(i,r):o.from(s.split(i,[]),r)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;r<=t&&se&&s&&(i+=n),er&&(i+=o.slice(Math.max(0,e-r),t-r)),r=a+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let r of e)n.push(r),i+=r.length+1,32==n.length&&(t.push(new s(n,i)),n=[],i=-1);return i>-1&&t.push(new s(n,i)),t}}class o extends r{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,a=n+s.lines-1;if((t?a:o)>=e)return s.lineInner(e,t,n,i);i=o+1,n=a+1}}decompose(e,t,n,i){for(let r=0,s=0;s<=t&&r=s){let l=i&((s<=e?1:0)|(a>=t?2:0));s>=e&&a<=t&&!l?n.push(o):o.decompose(e-s,t-s,n,l)}s=a+1}}replace(e,t,n){if(n.lines=r&&t<=a){let l=s.replace(e-r,t-r,n),c=this.lines-s.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let h=this.children.slice();return h[i]=l,new o(h,this.length-(t-e)+n.length)}return super.replace(r,a,l)}r=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;re&&r&&(i+=n),es&&(i+=o.sliceString(e-s,t-s,n)),s=a+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof o))return 0;let n=0,[i,r,s,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,r+=t){if(i==s||r==a)return n;let l=this.children[i],c=e.children[r];if(l!=c)return n+l.scanIdentical(c,t);n+=l.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let i of e)n+=i.lines;if(n<32){let r=[];for(let a of e)a.flatten(r);return new s(r,t)}let l=Math.max(32,n>>5),c=l<<1,h=l>>1,O=[],u=0,f=-1,d=[];function p(){0!=u&&(O.push(1==d.length?d[0]:o.from(d,f)),f=-1,u=d.length=0)}for(let m of e)!function e(t){let n;if(t.lines>c&&t instanceof o)for(let i of t.children)e(i);else t.lines>h&&(u>h||!u)?(p(),O.push(t)):t instanceof s&&u&&(n=d[d.length-1])instanceof s&&t.lines+n.lines<=32?(u+=t.lines,f+=t.length+1,d[d.length-1]=new s(n.text.concat(t.text),n.length+1+t.length)):(u+t.lines>l&&p(),u+=t.lines,f+=t.length+1,d.push(t))}(m);return p(),1==O.length?O[0]:new o(O,t)}}function a(e,t,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(l>i&&(a=a.slice(0,i-r)),r0?1:(e instanceof s?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],o=r>>1,a=i instanceof s?i.text.length:i.children.length;if(o==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof s){let l=i.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,l.length>Math.max(0,e))return this.value=0==e?l:t>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let c=i.children[o+(t<0?-1:0)];e>c.length?(e-=c.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(c),this.offsets.push(t>0?1:(c instanceof s?c.text.length:c.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class c{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new l(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class h{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.iter()},l.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=function(){return this});class O{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let u="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let f=1;f=127462&&e<=127487}function p(e,t,n=!0,i=!0){return(n?m:g)(e,t,i)}function m(e,t,n){if(t==e.length)return t;t&&Q(e.charCodeAt(t))&&b(e.charCodeAt(t-1))&&t--;let i=x(e,t);for(t+=y(i);te)return u[t-1]<=e;return!1}(r))t+=y(r),i=r;else if(d(r)){let s=0,o=t-2;for(;o>=0&&d(x(e,o));)s++,o-=2;if(s%2==0)break;t+=2}else break}return t}function g(e,t,n){for(;t>0;){let i=m(e,t-2,n);if(i=56320&&e<57344}function b(e){return e>=55296&&e<56320}function x(e,t){let n=e.charCodeAt(t);if(!b(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return Q(i)?(n-55296<<10)+(i-56320)+65536:n}function k(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function y(e){return e<65536?1:2}let v=/\r\n?|\n/;var $,S,w=(($=w||(w={}))[$.Simple=0]="Simple",$[$.TrackDel=1]="TrackDel",$[$.TrackBefore=2]="TrackBefore",$[$.TrackAfter=3]="TrackAfter",$);class T{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-i);r+=o}else{if(n!=w.Simple&&l>=e&&(n==w.TrackDel&&ie||n==w.TrackBefore&&ie))return null;if(l>e||l==e&&t<0&&!o)return e==i||t<0?r:r+a;r+=a}i=l}if(e>i)throw RangeError(`Position ${e} is out of range for changeset of length ${i}`);return r}touchesRange(e,t=e){for(let n=0,i=0;n=0&&i<=t&&o>=e)return!(it)||"cover";i=o}return!1}toString(){let e="";for(let t=0;t=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new T(e)}static create(e){return new T(e)}}class P extends T{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return Z(this,(t,n,i,r,s)=>e=e.replace(i,i+(n-t),s),!1),e}mapDesc(e,t=!1){return X(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i=0){t[i]=a,t[i+1]=o;let l=i>>1;for(;n.length0&&C(n,t,r.text),r.forward(l),o+=l}let h=e[s++];for(;o>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],o=0,a=null;function l(e=!1){if(!e&&!i.length)return;ou||O<0||u>t)throw RangeError(`Invalid change range ${O} to ${u} (in doc of length ${t})`);let d=f?"string"==typeof f?r.of(f.split(n||v)):f:r.empty,p=d.length;if(O==u&&0==p)return;Oo&&R(i,O-o,-1),R(i,u-O,p),C(s,i,d),o=u}}(e),l(!a),a}static empty(e){return new P(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;it&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==s.length)t.push(s[0],0);else{for(;n.length=0&&n<=0&&n==e[r+1]?e[r]+=t:0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function C(e,t,n){if(0==n.length)return;let i=t.length-2>>1;if(i>1])),!n&&a!=e.sections.length&&!(e.sections[a+1]<0);)l=e.sections[a++],c=e.sections[a++];t(s,h,o,O,u),s=h,o=O}}}function X(e,t,n,i=!1){let r=[],s=i?[]:null,o=new W(e),a=new W(t);for(let l=-1;;)if(-1==o.ins&&-1==a.ins){let c=Math.min(o.len,a.len);R(r,c,-1),o.forward(c),a.forward(c)}else if(a.ins>=0&&(o.ins<0||l==o.i||0==o.off&&(a.len=0&&l=0){let u=0,f=o.len;for(;f;)if(-1==a.ins){let d=Math.min(f,a.len);u+=d,f-=d,a.forward(d)}else if(0==a.ins&&a.lenl||o.ins>=0&&o.len>l)&&(a||i.length>c),s.forward2(l),o.forward(l)}}else R(i,0,o.ins,a),r&&C(r,i,o.text),o.next()}}class W{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?r.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?r.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class A{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){let e=3&this.flags;return 3==e?null:e}get goalColumn(){let e=this.flags>>5;return 33554431==e?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new A(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return _.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return _.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return _.range(e.anchor,e.head)}static create(e,t,n){return new A(e,t,n)}}class _{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:_.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new _(e.ranges.map(e=>A.fromJSON(e)),e.main)}static single(e,t=e){return new _([_.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,i=0;ie?4:0))}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let i=1;ir.head?_.range(a,o):_.range(o,a))}}return new _(e,t)}}function q(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let z=0;class I{constructor(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=z++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}static define(e={}){return new I(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:E),!!e.static,e.enables)}of(e){return new G([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new G(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new G(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function E(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class G{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=z++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,r=this.id,s=e[r]>>1,o=2==this.type,a=!1,l=!1,c=[];for(let h of this.dependencies)"doc"==h?a=!0:"selection"==h?l=!0:((null!==(t=e[h.id])&&void 0!==t?t:1)&1)==0&&c.push(e[h.id]);return{create:e=>(e.values[s]=n(e),1),update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||D(e,c)){let r=n(e);if(o?!L(r,e.values[s],i):!i(r,e.values[s]))return e.values[s]=r,1}return 0},reconfigure:(e,t)=>{let a=n(e),l=t.config.address[r];if(null!=l){let c=ee(t,l);if(this.dependencies.every(n=>n instanceof I?t.facet(n)===e.facet(n):!(n instanceof U)||t.field(n,!1)==e.field(n,!1))||(o?L(a,c,i):i(a,c)))return e.values[s]=c,0}return e.values[s]=a,1}}}}function L(e,t,n){if(e.length!=t.length)return!1;for(let i=0;ie===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(N).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let i=e.values[t],r=this.updateF(i,n);return this.compareF(i,r)?0:(e.values[t]=r,1)},reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,N.of({field:this,create:e})]}get extension(){return this}}let M={lowest:4,low:3,default:2,high:1,highest:0};function J(e){return t=>new B(t,e)}let V={highest:J(M.highest),high:J(M.high),default:J(M.default),low:J(M.low),lowest:J(M.lowest)};class B{constructor(e,t){this.inner=e,this.prec=t}}class Y{of(e){return new F(this,e)}reconfigure(e){return Y.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class F{constructor(e,t){this.compartment=e,this.inner=t}}class H{constructor(e,t,n,i,r,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let i,r,s=[],o=Object.create(null),a=new Map;for(let l of(i=[[],[],[],[],[]],r=new Map,!function e(n,s){let o=r.get(n);if(null!=o){if(o<=s)return;let l=i[o].indexOf(n);l>-1&&i[o].splice(l,1),n instanceof F&&a.delete(n.compartment)}if(r.set(n,s),Array.isArray(n))for(let c of n)e(c,s);else if(n instanceof F){if(a.has(n.compartment))throw RangeError("Duplicate use of compartment in extensions");let h=t.get(n.compartment)||n.inner;a.set(n.compartment,h),e(h,s)}else if(n instanceof B)e(n.inner,n.prec);else if(n instanceof U)i[s].push(n),n.provides&&e(n.provides,s);else if(n instanceof G)i[s].push(n),n.facet.extensions&&e(n.facet.extensions,M.default);else{let O=n.extension;if(!O)throw Error(`Unrecognized extension value in extension set (${n}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(O,s)}}(e,M.default),i.reduce((e,t)=>e.concat(t))))l instanceof U?s.push(l):(o[l.facet.id]||(o[l.facet.id]=[])).push(l);let c=Object.create(null),h=[],O=[];for(let u of s)c[u.id]=O.length<<1,O.push(e=>u.slot(e));let f=null==n?void 0:n.config.facets;for(let d in o){let p=o[d],m=p[0].facet,g=f&&f[d]||[];if(p.every(e=>0==e.type)){if(c[m.id]=h.length<<1|1,E(g,p))h.push(n.facet(m));else{let Q=m.combine(p.map(e=>e.value));h.push(n&&m.compare(Q,n.facet(m))?n.facet(m):Q)}}else{for(let b of p)0==b.type?(c[b.id]=h.length<<1|1,h.push(b.value)):(c[b.id]=O.length<<1,O.push(e=>b.dynamicSlot(e)));c[m.id]=O.length<<1,O.push(e=>(function(e,t,n){let i=n.map(t=>e[t.id]),r=n.map(e=>e.type),s=i.filter(e=>!(1&e)),o=e[t.id]>>1;function a(e){let n=[];for(let s=0;se(c));return new H(e,a,x,c,h,o)}}function K(e,t){if(1&t)return 2;let n=t>>1,i=e.status[n];if(4==i)throw Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function ee(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let et=I.define(),en=I.define({combine:e=>e.some(e=>e),static:!0}),ei=I.define({combine:e=>e.length?e[0]:void 0,static:!0}),er=I.define(),es=I.define(),eo=I.define(),ea=I.define({combine:e=>!!e.length&&e[0]});class el{constructor(e,t){this.type=e,this.value=t}static define(){return new ec}}class ec{of(e){return new el(this,e)}}class eh{constructor(e){this.map=e}of(e){return new eO(this,e)}}class eO{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new eO(this.type,t)}is(e){return this.type==e}static define(e={}){return new eh(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let r=i.map(t);r&&n.push(r)}return n}}eO.reconfigure=eO.define(),eO.appendConfig=eO.define();class eu{constructor(e,t,n,i,r,s){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&q(n,t.newLength),r.some(e=>e.type==eu.time)||(this.annotations=r.concat(eu.time.of(Date.now())))}static create(e,t,n,i,r,s){return new eu(e,t,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(eu.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ef(e,t,n){var i;let r,s,o;return n?(r=t.changes,s=P.empty(t.changes.length),o=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),s=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(r)),{changes:o,selection:t.selection?t.selection.map(s):null===(i=e.selection)||void 0===i?void 0:i.map(r),effects:eO.mapEffects(e.effects,r).concat(eO.mapEffects(t.effects,s)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ed(e,t,n){let i=t.selection,r=em(t.annotations);return t.userEvent&&(r=r.concat(eu.userEvent.of(t.userEvent))),{changes:t.changes instanceof P?t.changes:P.of(t.changes||[],n,e.facet(ei)),selection:i&&(i instanceof _?i:_.single(i.anchor,i.head)),effects:em(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}eu.time=el.define(),eu.userEvent=el.define(),eu.addToHistory=el.define(),eu.remote=el.define();let ep=[];function em(e){return null==e?ep:Array.isArray(e)?e:[e]}var eg=((S=eg||(eg={}))[S.Word=0]="Word",S[S.Space=1]="Space",S[S.Other=2]="Other",S);let eQ=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{i=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(eb){}class ex{constructor(e,t,n,i,r,s){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let o=0;o=0;r--){let s=n[r](e);s&&Object.keys(s).length&&(i=ef(i,ed(t,s,e.changes.newLength),!0))}return i==e?e:eu.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(i?function(t){let n=t.startState,i=!0;for(let r of n.facet(er)){let s=r(t);if(!1===s){i=!1;break}Array.isArray(s)&&(i=!0===i?s:function(e,t){let n=[];for(let i=0,r=0;;){let s,o;if(i=e[i]))s=e[i++],o=e[i++];else{if(!(r=0;h--){let O=c[h](t);t=O instanceof eu?O:Array.isArray(O)&&1==O.length&&O[0]instanceof eu?O[0]:e(n,em(O),!1)}return t}(a):a)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:i,compartments:r}=n;for(let s of e.effects)s.is(Y.reconfigure)?(n&&(r=new Map,n.compartments.forEach((e,t)=>r.set(t,e)),n=null),r.set(s.value.compartment,s.value.extension)):s.is(eO.reconfigure)?(n=null,i=s.value):s.is(eO.appendConfig)&&(n=null,i=em(i).concat(s.value));n?t=e.startState.values.slice():(n=H.resolve(i,r,this),t=new ex(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values),new ex(n,e.newDoc,e.newSelection,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:_.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),r=[n.range],s=em(n.effects);for(let o=1;os.spec.fromJSON(o,e)))}}return ex.create({doc:e.doc,selection:_.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=H.resolve(e.extensions||[],new Map),n=e.doc instanceof r?e.doc:r.of((e.doc||"").split(t.staticFacet(ex.lineSeparator)||v)),i=e.selection?e.selection instanceof _?e.selection:_.single(e.selection.anchor,e.selection.head):_.single(0);return q(i,n.length),t.staticFacet(en)||(i=i.asSingle()),new ex(t,n,i,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ex.tabSize)}get lineBreak(){return this.facet(ex.lineSeparator)||"\n"}get readOnly(){return this.facet(ea)}phrase(e,...t){for(let n of this.facet(ex.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>t.length?e:t[i-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let r of this.facet(et))for(let s of r(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){var t;return t=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return eg.Space;if(function(e){if(i)return i.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||eQ.test(n)))return!0}return!1}(e))return eg.Word;for(let n=0;n-1)return eg.Word;return eg.Other}}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let a=p(t,s,!1);if(r(t.slice(a,s))!=eg.Word)break;s=a}for(;oe.length?e[0]:4}),ex.lineSeparator=ei,ex.readOnly=ea,ex.phrases=I.define({compare(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length==i.length&&n.every(n=>e[n]==t[n])}}),ex.languageData=et,ex.changeFilter=er,ex.transactionFilter=es,ex.transactionExtender=eo,Y.reconfigure=eO.define();class ey{eq(e){return this==e}range(e,t=e){return ev.create(e,t,this)}}ey.prototype.startSide=ey.prototype.endSide=0,ey.prototype.point=!1,ey.prototype.mapMode=w.TrackDel;class ev{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new ev(e,t,n)}}function e$(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eS{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let a=s+o>>1,l=r[a]-e||(n?this.value[a].endSide:this.value[a].startSide)-t;if(a==s)return l>=0?s:o;l>=0?o=a:s=a+1}}between(e,t,n,i){for(let r=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r(u=t.mapPos(h,l.endSide))||O==u&&l.startSide>0&&l.endSide<=0)continue;0>(u-O||l.endSide-l.startSide)||(s<0&&(s=O),l.point&&(o=Math.max(o,u-O)),n.push(l),i.push(O-s),r.push(u-s))}return{mapped:n.length?new eS(i,r,n,o):null,pos:s}}}class ew{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new ew(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(e$)),this.isEmpty)return t.length?ew.of(t):this;let o=new eR(this,null,-1).goto(0),a=0,l=[],c=new eT;for(;o.value||a=0){let h=t[a++];c.addInner(h.from,h.to,h.value)||l.push(h)}else 1==o.rangeIndex&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&e<=r+s.length&&!1===s.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eC.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eC.from(e).goto(t)}static compare(e,t,n,i,r=-1){let s=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),a=eP(s,o,n),l=new eX(s,a,r),c=new eX(o,a,r);n.iterGaps((e,t,n)=>ej(l,e,c,t,n,i)),n.empty&&0==n.length&&ej(l,0,c,0,0,i)}static eq(e,t,n=0,i){null==i&&(i=1e9);let r=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),s=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=eP(r,s),a=new eX(r,o,0).goto(n),l=new eX(s,o,0).goto(n);for(;;){if(a.to!=l.to||!eW(a.active,l.active)||a.point&&(!l.point||!a.point.eq(l.point)))return!1;if(a.to>i)return!0;a.next(),l.next()}}static spans(e,t,n,i,r=-1){let s=new eX(e,null,r).goto(t),o=t,a=s.openStart;for(;;){let l=Math.min(s.to,n);if(s.point?(i.point(o,l,s.point,s.activeForPoint(s.to),a,s.pointRank),a=s.openEnd(l)+(s.to>l?1:0)):l>o&&(i.span(o,l,s.active,a),a=s.openEnd(l)),s.to>n)break;o=s.to,s.next()}return a}static of(e,t=!1){let n=new eT;for(let i of e instanceof ev?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(e$);t=i}return e}(e):e)n.add(i.from,i.to,i.value);return n.finish()}}ew.empty=new ew([],[],null,-1),ew.empty.nextLayer=ew.empty;class eT{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new eS(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eT)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(ew.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=ew.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eP(e,t,n){let i=new Map;for(let r of e)for(let s=0;s(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&i.push(new eR(s,t,n,r));return 1==i.length?i[0]:new eC(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)eZ(this.heap,i);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)eZ(this.heap,i);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eZ(this.heap,0)}}}function eZ(e,t){for(let n=e[t];;){let i=(t<<1)+1;if(i>=e.length)break;let r=e[i];if(i+1=0&&(r=e[i+1],i++),0>n.compare(r))break;e[i]=n,e[t]=r,t=i}}class eX{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eC.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eA(this.active,e),eA(this.activeTo,e),eA(this.activeRank,e),this.minActive=eq(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:r}=this.cursor;for(;t-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&eA(n,r)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let s=this.cursor.value;if(s.point){if(t&&this.cursor.to==this.to&&this.cursor.frome&&i++,this.cursor.next()}}else{this.to=this.endSide=1e9;break}}if(n){let o=0;for(;o=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function ej(e,t,n,i,r,s){e.goto(t),n.goto(i);let o=i+r,a=i,l=i-t;for(;;){let c=e.to+l-n.to||e.endSide-n.endSide,h=c<0?e.to+l:n.to,O=Math.min(h,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&eW(e.activeForPoint(e.to+l),n.activeForPoint(n.to))||s.comparePoint(a,O,e.point,n.point):O>a&&!eW(e.active,n.active)&&s.compareRange(a,O,e.active,n.active),h>o)break;a=h,c<=0&&e.next(),c>=0&&n.next()}}function eW(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;i--)e[i+1]=e[i];e[t]=n}function eq(e,t){let n=-1,i=1e9;for(let r=0;r(t[r]-i||e[r].endSide-e[n].endSide)&&(n=r,i=t[r]);return n}function ez(e,t,n=e.length){let i=0;for(let r=0;r=t)return r;if(r==e.length)break;s+=9==e.charCodeAt(r)?n-s%n:1,r=p(e,r)}return!0===i?-1:e.length}},41113:function(e,t,n){"use strict";var i,r;n.d(t,{FE:function(){return A},Jq:function(){return O},L3:function(){return s},Lj:function(){return u},_b:function(){return j},hr:function(){return Z},i9:function(){return X},md:function(){return l},mp:function(){return p},vj:function(){return i}});let s=1024,o=0;class a{constructor(e,t){this.from=e,this.to=t}}class l{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=O.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}l.closedBy=new l({deserialize:e=>e.split(" ")}),l.openedBy=new l({deserialize:e=>e.split(" ")}),l.group=new l({deserialize:e=>e.split(" ")}),l.contextHash=new l({perNode:!0}),l.lookAhead=new l({perNode:!0}),l.mounted=new l({perNode:!0});class c{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}let h=Object.create(null);class O{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):h,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new O(e.name||"",t,e.id,n);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(i)),r){if(r[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(l.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(l.group),i=-1;i<(n?n.length:0);i++){let r=t[i<0?e.name:n[i]];if(r)return r}}}}O.none=new O("",Object.create(null),0,8);class u{constructor(e){this.types=e;for(let t=0;t=r&&(o.type.isAnonymous||!1!==t(o))){if(o.firstChild())continue;a=!0}for(;a&&n&&!o.type.isAnonymous&&n(o),!o.nextSibling();){if(!o.parent())return;a=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:C(O.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new p(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new p(O.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:r=s,reused:o=[],minRepeatType:a=i.types.length}=e,c=Array.isArray(n)?new m(n,n.length):n,h=i.types,O=0,u=0;function f(e,t,n,r,s,o,a,l){let c=[],h=[];for(;e.length>r;)c.push(e.pop()),h.push(t.pop()+n-s);e.push(d(i.types[a],c,h,o-s,l-o)),t.push(s-n)}function d(e,t,n,i,r=0,s){if(O){let o=[l.contextHash,O];s=s?[o].concat(s):[o]}if(r>25){let a=[l.lookAhead,r];s=s?[a].concat(s):[a]}return new p(e,t,n,i,s)}let Q=[],b=[];for(;c.pos>0;)!function e(t,n,s,m,Q){let{id:b,start:x,end:k,size:y}=c,v=u;for(;y<0;){if(c.next(),-1==y){let $=o[b];s.push($),m.push(x-t);return}if(-3==y){O=b;return}if(-4==y){u=b;return}throw RangeError(`Unrecognized record size: ${y}`)}let S=h[b],w,T,P=x-t;if(k-x<=r&&(T=function(e,t){let n=c.fork(),i=0,s=0,o=0,l=n.end-r,h={size:0,start:0,skip:0};s:for(let O=n.pos-e;n.pos>O;){let u=n.size;if(n.id==t&&u>=0){h.size=i,h.start=s,h.skip=o,o+=4,i+=4,n.next();continue}let f=n.pos-u;if(u<0||f=a?4:0,p=n.start;for(n.next();n.pos>f;){if(n.size<0){if(-3==n.size)d+=4;else break s}else n.id>=a&&(d+=4);n.next()}s=p,i+=u,o+=d}return(t<0||i==e)&&(h.size=i,h.start=s,h.skip=o),h.size>4?h:void 0}(c.pos-n,Q))){let R=new Uint16Array(T.size-T.skip),Z=c.pos-T.size,X=R.length;for(;c.pos>Z;)X=function e(t,n,i){let{id:r,start:s,end:o,size:l}=c;if(c.next(),l>=0&&r4){let f=c.pos-(l-4);for(;c.pos>f;)i=e(t,n,i)}n[--i]=h,n[--i]=o-t,n[--i]=s-t,n[--i]=r}else -3==l?O=r:-4==l&&(u=r);return i}(T.start,R,X);w=new g(R,k-T.start,i),P=T.start-t}else{let j=c.pos-y;c.next();let W=[],A=[],_=b>=a?b:-1,q=0,z=k;for(;c.pos>j;)_>=0&&c.id==_&&c.size>=0?(c.end<=z-r&&(f(W,A,x,q,c.end,z,_,v),q=W.length,z=c.end),c.next()):e(x,j,W,A,_);if(_>=0&&q>0&&q-1&&q>0){let I=function(e){return(t,n,i)=>{let r=0,s=t.length-1,o,a;if(s>=0&&(o=t[s])instanceof p){if(!s&&o.type==e&&o.length==i)return o;(a=o.prop(l.lookAhead))&&(r=n[s]+o.length+a)}return d(e,t,n,i,r)}}(S);w=C(S,W,A,0,W.length,0,k-x,I,I)}else w=d(S,W,A,k-x,v-k)}s.push(w),m.push(P)}(e.start||0,e.bufferStart||0,Q,b,-1);let x=null!==(t=e.length)&&void 0!==t?t:Q.length?b[0]+Q[0].length:0;return new p(h[e.topID],Q.reverse(),b.reverse(),x)}(e)}}p.empty=new p(O.none,[],[],0);class m{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new m(this.buffer,this.index)}}class g{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return O.none}toString(){let e=[];for(let t=0;t0)));a=s[a+3]);return o}slice(e,t,n,i){let r=this.buffer,s=new Uint16Array(t-e);for(let o=e,a=0;o=t&&nt;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function b(e,t){let n=e.childBefore(t);for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(e=n,n=i.prevSibling):n=i}return e}function x(e,t,n,r){for(var s;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?a.length:-1;e!=h;e+=t){let O=a[e],u=c[e]+o.from;if(Q(r,n,u,u+O.length)){if(O instanceof g){if(s&i.ExcludeBuffers)continue;let f=O.findChild(0,O.buffer.length,t,n-u,r);if(f>-1)return new S(new $(o,O,e,u),null,f)}else if(s&i.IncludeAnonymous||!O.type.isAnonymous||T(O)){let d;if(!(s&i.IgnoreMounts)&&O.props&&(d=O.prop(l.mounted))&&!d.overlay)return new k(d.tree,u,e,o);let p=new k(O,u,e,o);return s&i.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(t<0?O.children.length-1:0,t,n,r)}}}if(s&i.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let r;if(!(n&i.IgnoreOverlays)&&(r=this._tree.prop(l.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:a}of r.overlay)if((t>0?o<=s:o=s:a>s))return new k(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new w(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return x(this,e,t,!1)}resolveInner(e,t=0){return x(this,e,t,!0)}enterUnfinishedNodesBefore(e){return b(this,e)}getChild(e,t=null,n=null){let i=y(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return y(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return v(this,e)}}function y(e,t,n,i){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(null!=n){for(;!r.type.is(n);)if(!r.nextSibling())return s}for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(t)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function v(e,t,n=t.length-1){for(let i=e.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class ${constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class S{constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(e,t,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new S(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&i.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new S(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new S(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new S(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new w(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1],o=n.buffer[this.index+2];e.push(n.slice(i,r,s,o)),t.push(0)}return new p(this.type,e,t,this.to-this.from)}resolve(e,t=0){return x(this,e,t,!1)}resolveInner(e,t=0){return x(this,e,t,!0)}enterUnfinishedNodesBefore(e){return b(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=y(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return y(this,e,t,n)}get node(){return this}matchContext(e){return v(this,e)}}class w{constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof k)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}get name(){return this.type.name}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof k?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&i.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&i.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&i.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(t.findChild(i,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let o=t+e,a=e<0?-1:n._tree.children.length;o!=a;o+=e){let l=n._tree.children[o];if(this.mode&i.IncludeAnonymous||l instanceof g||!l.type.isAnonymous||T(l))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;t=s,n=r+1;break s}i=this.stack[--r]}for(let o=n;o=0;r--){if(r<0)return v(this.node,e,i);let s=n[t.buffer[this.stack[r]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function T(e){return e.children.some(e=>e instanceof g||!e.type.isAnonymous||T(e))}let P=new WeakMap;function R(e,t){if(!e.isAnonymous||t instanceof g||t.type!=e)return 1;let n=P.get(t);if(null==n){for(let i of(n=1,t.children)){if(i.type!=e||!(i instanceof p)){n=1;break}n+=R(e,i)}P.set(t,n)}return n}function C(e,t,n,i,r,s,o,a,l){let c=0;for(let h=i;h=O)break;p+=m}if(c==h+1){if(p>O){let g=n[h];t(g.children,g.positions,0,g.children.length,i[h]+a);continue}u.push(n[h])}else{let Q=i[c-1]+n[c-1].length-d;u.push(C(e,n,i,h,c,d,Q,null,l))}f.push(d+a-s)}}(t,n,i,r,0),(a||l)(u,f,o)}class Z{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof S?this.setBuffer(e.context.buffer,e.index,t):e instanceof k&&this.map.set(e.tree,t)}get(e){return e instanceof S?this.getBuffer(e.context.buffer,e.index):e instanceof k?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class X{constructor(e,t,n,i,r=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new X(0,e.length,e,0,!1,n)];for(let r of t)r.to>e.length&&i.push(r);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],r=1,s=e.length?e[0]:null;for(let o=0,a=0,l=0;;o++){let c=o=n)for(;s&&s.from=O.from||h<=O.to||l){let u=Math.max(O.from,a)-l,f=Math.min(O.to,h)-l;O=u>=f?null:new X(u,f,O.tree,O.offset+l,o>0,!!c)}if(O&&i.push(O),s.to>h)break;s=rnew a(e.from,e.to)):[new a(0,0)]:[new a(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let r=i.advance();if(r)return r}}}class W{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function A(e){return(t,n,i,r)=>new I(t,e,n,i,r)}class _{constructor(e,t,n,i,r){this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=r}}class q{constructor(e,t,n,i,r,s,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}let z=new l({perNode:!0});class I{constructor(e,t,n,i,r){this.nest=t,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return null!=this.stoppedAt&&(n=new p(n.type,n.children,n.positions,n.length,n.propValues.concat([[z,this.stoppedAt]]))),n}let i=this.inner[this.innerDone],r=i.parse.advance();if(r){this.innerDone++;let s=Object.assign(Object.create(null),i.target.props);s[l.mounted.id]=new c(r,i.overlay,i.parser),i.target.props=s}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;te.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(h)for(let u of h.mount.overlay){let f=u.from+h.pos,d=u.to+h.pos;f>=r.from&&d<=r.to&&!t.ranges.some(e=>e.fromf)&&t.ranges.push({from:f,to:d})}}l=!1}else if(n&&(o=function(e,t,n){for(let i of e){if(i.from>=n)break;if(i.to>t)return i.from<=t&&i.to>=n?2:1}return 0}(n.ranges,r.from,r.to)))l=2!=o;else if(!r.type.isAnonymous&&r.from=t.to);i++);let o=r.children[i],a=o.buffer;r.children[i]=function e(n,i,r,l,c){let h=n;for(;a[h+2]+s<=t.from;)h=a[h+3];let O=[],u=[];E(o,n,h,O,u,l);let f=a[h+1],d=a[h+2],m=f+s==t.from&&d+s==t.to&&a[h]==t.type.id;return O.push(m?t.toTree():e(h+4,a[h+3],o.set.types[a[h]],f,d-f)),u.push(f-l),E(o,a[h+3],i,O,u,l),new p(r,O,u,c)}(0,a.length,O.none,0,o.length);for(let l=0;l<=n;l++)e.childAfter(t.from)}(r);let m=e.findMounts(r.from,s.parser);if("function"==typeof s.overlay)t=new q(s.parser,s.overlay,m,this.inner.length,r.from,r.tree,t);else{let g=D(this.ranges,s.overlay||[new a(r.from,r.to)]);g.length&&this.inner.push(new _(s.parser,s.parser.startParse(this.input,N(m,g),g),s.overlay?s.overlay.map(e=>new a(e.from-r.from,e.to-r.from)):null,r.tree,g)),s.overlay?g.length&&(n={ranges:g,depth:0,prev:n}):l=!1}}else t&&(c=t.predicate(r))&&(!0===c&&(c=new a(r.from,r.to)),c.fromnew a(e.from-t.start,e.to-t.start)),t.target,Q)),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function E(e,t,n,i,r,s){if(t=e&&t.enter(n,1,i.IgnoreOverlays|i.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof p)t=t.children[0];else break}return!1}}class L{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(z))&&void 0!==t?t:n.to,this.inner=new G(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(z))&&void 0!==e?e:t.to,this.inner=new G(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let r=this.inner.cursor.node;r;r=r.parent){let s=null===(n=r.tree)||void 0===n?void 0:n.prop(l.mounted);if(s&&s.parser==t)for(let o=this.fragI;o=r.to)break;a.tree==this.curFrag.tree&&i.push({frag:a,pos:r.from-a.offset,mount:s})}}}return i}}function D(e,t){let n=null,i=t;for(let r=1,s=0;r=l)break;!(c.to<=o)&&(n||(i=n=t.slice()),c.froml&&n.splice(s+1,0,new a(l,c.to))):c.to>l?n[s--]=new a(l,c.to):n.splice(s--,1))}}return i}function N(e,t){let n=[];for(let{pos:i,mount:r,frag:s}of e){let o=i+(r.overlay?r.overlay[0].from:0),l=o+r.tree.length,c=Math.max(s.from,o),h=Math.min(s.to,l);if(r.overlay){let O=function(e,t,n,i){let r=0,s=0,o=!1,l=!1,c=-1e9,h=[];for(;;){let O=r==e.length?1e9:o?e[r].to:e[r].from,u=s==t.length?1e9:l?t[s].to:t[s].from;if(o!=l){let f=Math.max(c,n),d=Math.min(O,u,i);fnew a(e.from+i,e.to+i)),c,h);for(let u=0,f=c;;u++){let d=u==O.length,p=d?h:O[u].from;if(p>f&&n.push(new X(f,p,r.tree,-o,s.from>=f||s.openStart,s.to<=p||s.openEnd)),d)break;f=O[u].to}}else n.push(new X(c,h,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return n}},35524:function(e,t,n){"use strict";n.d(t,{Gv:function(){return l},QR:function(){return O},Vp:function(){return s},bW:function(){return u},pJ:function(){return R}});var i=n(41113);let r=0;class s{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=r++}static define(e){if(null==e?void 0:e.base)throw Error("Can not derive from a modified tag");let t=new s([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new a;return t=>t.modified.indexOf(e)>-1?t:a.get(t.base||t,t.modified.concat(e).sort((e,t)=>e.id-t.id))}}let o=0;class a{constructor(){this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var i;return n.base==e&&(i=n.modified,t.length==i.length&&t.every((e,t)=>e==i[t]))});if(n)return n;let i=[],r=new s(i,e,t);for(let o of t)o.instances.push(r);let l=function(e){let t=[[]];for(let n=0;nt.length-e.length)}(t);for(let c of e.set)if(!c.modified.length)for(let h of l)i.push(a.get(c,h));return r}}function l(e){let t=Object.create(null);for(let n in e){let i=e[n];for(let r of(Array.isArray(i)||(i=[i]),n.split(" ")))if(r){let s=[],o=2,a=r;for(let l=0;;){if("..."==a&&l>0&&l+3==r.length){o=1;break}let O=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!O)throw RangeError("Invalid path: "+r);if(s.push("*"==O[0]?"":'"'==O[0][0]?JSON.parse(O[0]):O[0]),(l+=O[0].length)==r.length)break;let u=r[l++];if(l==r.length&&"!"==u){o=0;break}if("/"!=u)throw RangeError("Invalid path: "+r);a=r.slice(l)}let f=s.length-1,d=s[f];if(!d)throw RangeError("Invalid path: "+r);let p=new h(i,o,f>0?s.slice(0,f):null);t[d]=p.sort(t[d])}}return c.add(t)}let c=new i.md;class h{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depththis.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,s){let{type:o,from:a,to:l}=e;if(a>=n||l<=t)return;o.isTop&&(s=this.highlighters.filter(e=>!e.scope||e.scope(o)));let O=r,u=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||h.empty,f=function(e,t){let n=null;for(let i of e){let r=i.style(t);r&&(n=n?n+" "+r:r)}return n}(s,u.tags);if(f&&(O&&(O+=" "),O+=f,1==u.mode&&(r+=(r?" ":"")+f)),this.startSpan(e.from,O),u.opaque)return;let d=e.tree&&e.tree.prop(i.md.mounted);if(d&&d.overlay){let p=e.node.enter(d.overlay[0].from+a,1),m=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),g=e.firstChild();for(let Q=0,b=a;;Q++){let x=Q=k)&&e.nextSibling()););if(!x||k>n)break;(b=x.to+a)>t&&(this.highlightRange(p.cursor(),Math.max(t,x.from+a),Math.min(n,b),r,m),this.startSpan(b,O))}g&&e.parent()}else if(e.firstChild()){do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,s),this.startSpan(Math.min(n,e.to),O)}while(e.nextSibling());e.parent()}}}let d=s.define,p=d(),m=d(),g=d(m),Q=d(m),b=d(),x=d(b),k=d(b),y=d(),v=d(y),$=d(),S=d(),w=d(),T=d(w),P=d(),R={comment:p,lineComment:d(p),blockComment:d(p),docComment:d(p),name:m,variableName:d(m),typeName:g,tagName:d(g),propertyName:Q,attributeName:d(Q),className:d(m),labelName:d(m),namespace:d(m),macroName:d(m),literal:b,string:x,docString:d(x),character:d(x),attributeValue:d(x),number:k,integer:d(k),float:d(k),bool:d(b),regexp:d(b),escape:d(b),color:d(b),url:d(b),keyword:$,self:d($),null:d($),atom:d($),unit:d($),modifier:d($),operatorKeyword:d($),controlKeyword:d($),definitionKeyword:d($),moduleKeyword:d($),operator:S,derefOperator:d(S),arithmeticOperator:d(S),logicOperator:d(S),bitwiseOperator:d(S),compareOperator:d(S),updateOperator:d(S),definitionOperator:d(S),typeOperator:d(S),controlOperator:d(S),punctuation:w,separator:d(w),bracket:T,angleBracket:d(T),squareBracket:d(T),paren:d(T),brace:d(T),content:y,heading:v,heading1:d(v),heading2:d(v),heading3:d(v),heading4:d(v),heading5:d(v),heading6:d(v),contentSeparator:d(y),list:d(y),quote:d(y),emphasis:d(y),strong:d(y),link:d(y),monospace:d(y),strikethrough:d(y),inserted:d(),deleted:d(),changed:d(),invalid:d(),meta:P,documentMeta:d(P),annotation:d(P),processingInstruction:d(P),definition:s.defineModifier(),constant:s.defineModifier(),function:s.defineModifier(),standard:s.defineModifier(),local:s.defineModifier(),special:s.defineModifier()};O([{tag:R.link,class:"tok-link"},{tag:R.heading,class:"tok-heading"},{tag:R.emphasis,class:"tok-emphasis"},{tag:R.strong,class:"tok-strong"},{tag:R.keyword,class:"tok-keyword"},{tag:R.atom,class:"tok-atom"},{tag:R.bool,class:"tok-bool"},{tag:R.url,class:"tok-url"},{tag:R.labelName,class:"tok-labelName"},{tag:R.inserted,class:"tok-inserted"},{tag:R.deleted,class:"tok-deleted"},{tag:R.literal,class:"tok-literal"},{tag:R.string,class:"tok-string"},{tag:R.number,class:"tok-number"},{tag:[R.regexp,R.escape,R.special(R.string)],class:"tok-string2"},{tag:R.variableName,class:"tok-variableName"},{tag:R.local(R.variableName),class:"tok-variableName tok-local"},{tag:R.definition(R.variableName),class:"tok-variableName tok-definition"},{tag:R.special(R.variableName),class:"tok-variableName2"},{tag:R.definition(R.propertyName),class:"tok-propertyName tok-definition"},{tag:R.typeName,class:"tok-typeName"},{tag:R.namespace,class:"tok-namespace"},{tag:R.className,class:"tok-className"},{tag:R.macroName,class:"tok-macroName"},{tag:R.propertyName,class:"tok-propertyName"},{tag:R.operator,class:"tok-operator"},{tag:R.comment,class:"tok-comment"},{tag:R.meta,class:"tok-meta"},{tag:R.invalid,class:"tok-invalid"},{tag:R.punctuation,class:"tok-punctuation"}])},53105:function(e,t,n){"use strict";n.d(t,{IK:function(){return C},Jq:function(){return b},WQ:function(){return Z}});var i,r,s,o,a,l,c=n(41113),h=n(34155);class O{constructor(e,t,n,i,r,s,o,a,l,c=0,h){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=a,this.curContext=l,this.lookAhead=c,this.parent=h}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new O(e,[],t,n,n,0,[],0,i?new u(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=65535&e,{parser:i}=this.p,r=i.dynamicPrecedence(n);if(r&&(this.score+=r),0==t){this.pushState(i.getGoto(this.state,n,!0),this.reducePos),ns;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,i=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]0&&0==s.buffer[o-4]&&s.buffer[o-1]>-1){if(t==n)return;if(s.buffer[o-2]>=t){s.buffer[o-2]=n;return}}}if(r&&this.pos!=n){let a=this.buffer.length;if(a>0&&0!=this.buffer[a-4])for(;a>0&&this.buffer[a-2]>n;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4);this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=n,this.buffer[a+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n){let i=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:r}=this.p;(n>this.pos||t<=r.maxNode)&&(this.pos=n,r.stateFlag(e,1)||(this.reducePos=n)),this.pushState(e,i),this.shiftContext(t,i),t<=r.maxNode&&this.buffer.push(t,i,n,4)}else this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4)}apply(e,t,n){65536&e?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new O(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new f(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if((65536&n)==0)return!0;if(0==n)return!1;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i=0,r;i1&t&&e==o)||n.push(t[s],o)}t=n}let a=[];for(let l=0;l>19);if(n<0||0>t.getGoto(this.stack[n],65535&e,!1))return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class u{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}(i=o||(o={}))[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth";class f{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class d{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new d(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new d(this.stack,this.pos,this.index)}}class p{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let m=new p;class g{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=m,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,r=this.pos+e;for(;rn.to:r>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];r+=o.from-n.to,n=o}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n=this.chunk2Pos&&this.posthis.range.to?n.slice(0,this.range.to-this.pos):n,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=m,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class Q{constructor(e,t){this.data=e,this.id=t}token(e,t){!function(e,t,n,i){let r=0,s=1<0){let h=e[c];if(a.allows(h)&&(-1==t.token.value||t.token.value==h||o.overrides(h,t.token.value))){t.acceptToken(h);break}}let O=t.next,u=0,f=e[r+2];if(t.next<0&&f>u&&65535==e[l+3*f-3]){r=e[l+3*f-1];continue s}for(;u>1,p=l+d+(d<<1),m=e[p],g=e[p+1];if(O=g)u=d+1;else{r=e[p+2],t.advance();continue s}}break}}(this.data,e,t,this.id)}}Q.prototype.contextual=Q.prototype.fallback=Q.prototype.extend=!1;class b{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function x(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,a=!0),s+=l,a)break;s*=46}n?n[r++]=s:n=new t(s)}return n}let k=void 0!==h&&h.env&&/\bparse\b/.test(h.env.LOG),y=null;function v(e,t,n){let i=e.cursor(c.vj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.tot)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}(r=a||(a={}))[r.Margin=25]="Margin";class ${constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?v(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?v(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=s,null;if(r instanceof c.mp){if(s==e){if(s=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+r.length}}}class S{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new p)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:r}=i,s=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let l=0;lh.end+25&&(a=Math.max(h.lookAhead,a)),0!=h.value)){let O=t;if(h.extended>-1&&(t=this.addActions(e,h.extended,h.end,t)),t=this.addActions(e,h.value,h.end,t),!c.extend&&(n=h,t>O))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||((n=new p).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new p,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:r}=n.p;for(let s=0;s=0&&n.p.parser.dialect.allows(o>>1)){(1&o)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let r=0;r4*e.bufferLength?new $(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,r=this.stacks=[];for(let s=0;si)r.push(o);else{if(this.advanceStack(o,r,n))continue;e||(e=[],t=[]),e.push(o);let a=this.tokens.getMainToken(o);t.push(a.value,a.end)}break}}if(!r.length){let l=e&&function(e){let t=null;for(let n of e){let i=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=i&&n.pos>i)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scorethis.stoppedAt?e[0]:this.runRecovery(e,t,r);if(c)return this.stackToTree(c.forceAll())}if(this.recovering){let h=1==this.recovering?1:3*this.recovering;if(r.length>h)for(r.sort((e,t)=>t.score-e.score);r.length>h;)r.pop();r.some(e=>e.reducePos>i)&&this.recovering--}else if(r.length>1)i:for(let O=0;O500&&d.buffer.length>500){if((u.score-d.score||u.buffer.length-d.buffer.length)>0)r.splice(f--,1);else{r.splice(O--,1);continue i}}}}this.minStackPos=r[0].pos;for(let p=1;p ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let o=e.curContext&&e.curContext.tracker.strict,a=o?e.curContext.hash:0;for(let l=this.fragments.nodeAt(i);l;){let h=this.parser.nodeSet.types[l.type.id]==l.type?r.getGoto(e.state,l.type.id):-1;if(h>-1&&l.length&&(!o||(l.prop(c.md.contextHash)||0)==a))return e.useNode(l,h),k&&console.log(s+this.stackID(e)+` (via reuse of ${r.getName(l.type.id)})`),!0;if(!(l instanceof c.mp)||0==l.children.length||l.positions[0]>0)break;let O=l.children[0];if(O instanceof c.mp&&0==l.positions[0])l=O;else break}}let u=r.stateSlot(e.state,4);if(u>0)return e.reduce(u),k&&console.log(s+this.stackID(e)+` (via always-reduce ${r.getName(65535&u)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let f=this.tokens.getActions(e);for(let d=0;di?t.push(b):n.push(b)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return T(e,t),!0}}runRecovery(e,t,n){let i=null,r=!1;for(let s=0;s ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),k&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let h=o.split(),O=c;for(let u=0;h.forceReduce()&&u<10&&(k&&console.log(O+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));u++)k&&(O=this.stackID(h)+" -> ");for(let f of o.recoverByInsert(a))k&&console.log(c+this.stackID(f)+" (via recover-insert)"),this.advanceFully(f,n);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),k&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),T(o,n)):(!i||i.scoree;class C{constructor(e){this.start=e.start,this.shift=e.shift||R,this.reduce=e.reduce||R,this.reuse=e.reuse||R,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class Z extends c._b{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;ne.topRules[t][1]),r=[];for(let s=0;s=0)o(O,l,a[h++]);else{let u=a[h+-O];for(let f=-O;f>0;f--)o(a[h++],l,u);h++}}}this.nodeSet=new c.Lj(t.map((t,n)=>c.Jq.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:r[n],top:i.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=c.L3;let d=x(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let p=0;p"number"==typeof e?new Q(d,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new w(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return -1;for(let r=i[t+1];;){let s=i[r++],o=1&s,a=i[r++];if(o&&n)return a;for(let l=r+(s>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=X(this.data,n+2)}if(t==X(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=X(this.data,n+2);else break}if((1&this.data[n+2])==0){let i=this.data[n+1];t.some((e,t)=>1&t&&e==i)||t.push(this.data[n],i)}}return t}overrides(e,t){let n=j(this.data,this.tokenPrecTable,t);return n<0||j(this.data,this.tokenPrecTable,e){let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let r=e.specializers.find(e=>e.from==n.external);if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[i]=W(s),s})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let r=t.indexOf(i);r>=0&&(n[r]=!0)}let s=null;for(let o=0;oe.external(n,i)<<1|t}return e.get}},28699:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});let i="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let r in e)!function e(t,r,s,o){let a=[],l=/^@(\w+)\b/.exec(t[0]),c=l&&"keyframes"==l[1];if(l&&null==r)return s.push(t[0]+";");for(let h in r){let O=r[h];if(/&/.test(h))e(h.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),O,s);else if(O&&"object"==typeof O){if(!l)throw RangeError("The value of a property ("+h+") should be a primitive value.");e(i(h),O,a,c)}else null!=O&&a.push(h.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+O+";")}(a.length||c)&&s.push((!n||l||o?t:t.map(n)).join(", ")+" {"+a.join(" ")+"}")}(i(r),e[r],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[i]||1;return s[i]=e+1,"ͼ"+e.toString(36)}static mount(e,t){(e[r]||new l(e)).mount(Array.isArray(t)?t:[t])}}let a=null;class l{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(a)return e.adoptedStyleSheets=[a.sheet].concat(e.adoptedStyleSheets),e[r]=a;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),a=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[r]=this}mount(e){let t=this.sheet,n=0,i=0;for(let r=0;r-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),t)for(let a=0;a",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent);"undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent);for(var o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l=o||s&&57>+s[1],c=0;c<10;c++)i[48+c]=i[96+c]=String(c);for(var c=1;c<=24;c++)i[c+111]="F"+c;for(var c=65;c<=90;c++)i[c]=String.fromCharCode(c+32),r[c]=String.fromCharCode(c);for(var h in i)r.hasOwnProperty(h)||(r[h]=i[h]);function O(e){var t=!(l&&(e.ctrlKey||e.altKey||e.metaKey)||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}}}]); \ No newline at end of file diff --git a/static/web/admin/access-tokens/index.html b/static/web/admin/access-tokens/index.html index b9ce4cd67..d4c9c0a72 100644 --- a/static/web/admin/access-tokens/index.html +++ b/static/web/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No data

\ No newline at end of file diff --git a/static/web/admin/actions/index.html b/static/web/admin/actions/index.html index 92d1b7c20..18324a55f 100644 --- a/static/web/admin/actions/index.html +++ b/static/web/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No data

\ No newline at end of file diff --git a/static/web/admin/chat/messages/index.html b/static/web/admin/chat/messages/index.html index 2de249c06..2c21ea63e 100644 --- a/static/web/admin/chat/messages/index.html +++ b/static/web/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No data
\ No newline at end of file diff --git a/static/web/admin/chat/users/index.html b/static/web/admin/chat/users/index.html index 20c15bb33..d70446208 100644 --- a/static/web/admin/chat/users/index.html +++ b/static/web/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/web/admin/config-chat/index.html b/static/web/admin/config-chat/index.html index 2f8e59c10..2d6ff4596 100644 --- a/static/web/admin/config-chat/index.html +++ b/static/web/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-federation/index.html b/static/web/admin/config-federation/index.html index 0e4c2b20a..b2e565aff 100644 --- a/static/web/admin/config-federation/index.html +++ b/static/web/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-notify/index.html b/static/web/admin/config-notify/index.html index 2671700f7..e40d421ea 100644 --- a/static/web/admin/config-notify/index.html +++ b/static/web/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Custom

Build your own notifications by using custom webhooks.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Custom

Build your own notifications by using custom webhooks.

\ No newline at end of file diff --git a/static/web/admin/config-public-details/index.html b/static/web/admin/config-public-details/index.html index ef50f32c8..617d74834 100644 --- a/static/web/admin/config-public-details/index.html +++ b/static/web/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/web/admin/config-server-details/index.html b/static/web/admin/config-server-details/index.html index c4c8cc5c9..08b59595d 100644 --- a/static/web/admin/config-server-details/index.html +++ b/static/web/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/web/admin/config-social-items/index.html b/static/web/admin/config-social-items/index.html index 1e4b1234d..d3cc385a0 100644 --- a/static/web/admin/config-social-items/index.html +++ b/static/web/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/web/admin/config-storage/index.html b/static/web/admin/config-storage/index.html index 6c7533ec1..554f09548 100644 --- a/static/web/admin/config-storage/index.html +++ b/static/web/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/web/admin/config-video/index.html b/static/web/admin/config-video/index.html index 6526eb767..dc7e11d64 100644 --- a/static/web/admin/config-video/index.html +++ b/static/web/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/web/admin/federation/actions/index.html b/static/web/admin/federation/actions/index.html index b597cb4e5..5f9aa444d 100644 --- a/static/web/admin/federation/actions/index.html +++ b/static/web/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No data
\ No newline at end of file diff --git a/static/web/admin/federation/followers/index.html b/static/web/admin/federation/followers/index.html index c45a8476e..8e88defa7 100644 --- a/static/web/admin/federation/followers/index.html +++ b/static/web/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No data
\ No newline at end of file diff --git a/static/web/admin/hardware-info/index.html b/static/web/admin/hardware-info/index.html index 546e0d733..ade7e3b5b 100644 --- a/static/web/admin/hardware-info/index.html +++ b/static/web/admin/hardware-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/web/admin/help/index.html b/static/web/admin/help/index.html index fa79d5a95..f06a433e4 100644 --- a/static/web/admin/help/index.html +++ b/static/web/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/web/admin/index.html b/static/web/admin/index.html index aec7ffb9f..8e100d61f 100644 --- a/static/web/admin/index.html +++ b/static/web/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/web/admin/logs/index.html b/static/web/admin/logs/index.html index 759b17bfd..1cc9a9cbd 100644 --- a/static/web/admin/logs/index.html +++ b/static/web/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/stream-health/index.html b/static/web/admin/stream-health/index.html index d44413c85..67992537c 100644 --- a/static/web/admin/stream-health/index.html +++ b/static/web/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/web/admin/upgrade/index.html b/static/web/admin/upgrade/index.html index aadfa5acf..6a4a43a11 100644 --- a/static/web/admin/upgrade/index.html +++ b/static/web/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No data
\ No newline at end of file diff --git a/static/web/admin/viewer-info/index.html b/static/web/admin/viewer-info/index.html index 066d645ec..ba4ac20f1 100644 --- a/static/web/admin/viewer-info/index.html +++ b/static/web/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No data
\ No newline at end of file diff --git a/static/web/admin/webhooks/index.html b/static/web/admin/webhooks/index.html index 580295c5f..540b0cfc3 100644 --- a/static/web/admin/webhooks/index.html +++ b/static/web/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No data

\ No newline at end of file diff --git a/static/web/embed/chat/readonly/index.html b/static/web/embed/chat/readonly/index.html index 4d990195c..f439dcd27 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/chat/readwrite/index.html b/static/web/embed/chat/readwrite/index.html index 6f9e21099..a14ce91bc 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index c4402740e..d4b018765 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1 +1 @@ -
This stream is offline. Check back soon!
\ No newline at end of file +
This stream is offline. Check back soon!
\ No newline at end of file diff --git a/static/web/index.html b/static/web/index.html index 5dd02a22e..a8b544b18 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,4 +1,4 @@ {{.Name}}
Logo
Preview
\ No newline at end of file + {{.Name}}
Logo
Preview
\ No newline at end of file