diff --git a/assets/FileSaver.min-z9tv4ddR.js b/assets/FileSaver.min-1SlxcTJ1.js similarity index 97% rename from assets/FileSaver.min-z9tv4ddR.js rename to assets/FileSaver.min-1SlxcTJ1.js index b8c66a6..ee0e9a9 100644 --- a/assets/FileSaver.min-z9tv4ddR.js +++ b/assets/FileSaver.min-1SlxcTJ1.js @@ -1 +1 @@ -import{g as O,c as d}from"./index-Tnb_C38k.js";function A(u,v){for(var l=0;lr[c]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(u,v){(function(l,r){r()})(d,function(){function l(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function r(e,t,i){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){p(o.response,t,i)},o.onerror=function(){console.error("could not download file")},o.send()}function c(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function s(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof d=="object"&&d.global===d?d:void 0,y=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),p=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!y?function(e,t,i){var o=a.URL||a.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin===location.origin?s(n):c(n.href)?r(e,t,i):s(n,n.target="_blank")):(n.href=o.createObjectURL(e),setTimeout(function(){o.revokeObjectURL(n.href)},4e4),setTimeout(function(){s(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,i){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(l(e,i),t);else if(c(e))r(e,t,i);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){s(o)})}}:function(e,t,i,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return r(e,t,i);var n=e.type==="application/octet-stream",g=/constructor/i.test(a.HTMLElement)||a.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent);if((b||n&&g||y)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var f=m.result;f=b?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=f:location=f,o=null},m.readAsDataURL(e)}else{var j=a.URL||a.webkitURL,w=j.createObjectURL(e);o?o.location=w:location.href=w,o=null,setTimeout(function(){j.revokeObjectURL(w)},4e4)}});a.saveAs=p.saveAs=p,u.exports=p})})(E);var h=E.exports;const L=O(h),S=A({__proto__:null,default:L},[h]);export{S as F}; +import{g as O,c as d}from"./index-PwX9yaM0.js";function A(u,v){for(var l=0;lr[c]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(u,v){(function(l,r){r()})(d,function(){function l(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function r(e,t,i){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){p(o.response,t,i)},o.onerror=function(){console.error("could not download file")},o.send()}function c(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function s(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof d=="object"&&d.global===d?d:void 0,y=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),p=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!y?function(e,t,i){var o=a.URL||a.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin===location.origin?s(n):c(n.href)?r(e,t,i):s(n,n.target="_blank")):(n.href=o.createObjectURL(e),setTimeout(function(){o.revokeObjectURL(n.href)},4e4),setTimeout(function(){s(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,i){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(l(e,i),t);else if(c(e))r(e,t,i);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){s(o)})}}:function(e,t,i,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return r(e,t,i);var n=e.type==="application/octet-stream",g=/constructor/i.test(a.HTMLElement)||a.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent);if((b||n&&g||y)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var f=m.result;f=b?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=f:location=f,o=null},m.readAsDataURL(e)}else{var j=a.URL||a.webkitURL,w=j.createObjectURL(e);o?o.location=w:location.href=w,o=null,setTimeout(function(){j.revokeObjectURL(w)},4e4)}});a.saveAs=p.saveAs=p,u.exports=p})})(E);var h=E.exports;const L=O(h),S=A({__proto__:null,default:L},[h]);export{S as F}; diff --git a/assets/index-Tnb_C38k.js b/assets/index-PwX9yaM0.js similarity index 55% rename from assets/index-Tnb_C38k.js rename to assets/index-PwX9yaM0.js index 0a5fe35..1a8704e 100644 --- a/assets/index-Tnb_C38k.js +++ b/assets/index-PwX9yaM0.js @@ -1,59 +1,59 @@ -var CW=Object.defineProperty;var TW=(n,e,t)=>e in n?CW(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Ah=(n,e,t)=>(TW(n,typeof e!="symbol"?e+"":e,t),t);import*as ZW from"https://cdn.jsdelivr.net/npm/minizinc/dist/minizinc.mjs";import*as RW from"https://cdn.jsdelivr.net/npm/minizinc@edge/dist/minizinc.mjs";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();function Qe(){}const bd=n=>n;function XW(n,e){for(const t in e)n[t]=e[t];return n}function Vb(n){return n()}function um(){return Object.create(null)}function Gt(n){n.forEach(Vb)}function jc(n){return typeof n=="function"}function pi(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let Pf;function hm(n,e){return n===e?!0:(Pf||(Pf=document.createElement("a")),Pf.href=e,n===Pf.href)}function AW(n){return Object.keys(n).length===0}function YW(n,...e){if(n==null){for(const i of e)i(void 0);return Qe}const t=n.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Om(n,e,t){n.$$.on_destroy.push(YW(e,t))}function ji(n,e,t,i){if(n){const r=Db(n,e,t,i);return n[0](r)}}function Db(n,e,t,i){return n[1]&&i?XW(t.ctx.slice(),n[1](i(e))):t.ctx}function Fi(n,e,t,i){if(n[2]&&i){const r=n[2](i(t));if(e.dirty===void 0)return r;if(typeof r=="object"){const s=[],l=Math.max(e.dirty.length,r.length);for(let o=0;o32){const e=[],t=n.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),$d=qb?n=>requestAnimationFrame(n):Qe;const wl=new Set;function Nb(n){wl.forEach(e=>{e.c(n)||(wl.delete(e),e.f())}),wl.size!==0&&$d(Nb)}function Lb(n){let e;return wl.size===0&&$d(Nb),{promise:new Promise(t=>{wl.add(e={c:n,f:t})}),abort(){wl.delete(e)}}}const UW=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Q(n,e){n.appendChild(e)}function Bb(n){if(!n)return document;const e=n.getRootNode?n.getRootNode():n.ownerDocument;return e&&e.host?e:n.ownerDocument}function EW(n){const e=_("style");return e.textContent="/* empty */",MW(Bb(n),e),e.sheet}function MW(n,e){return Q(n.head||n,e),e.sheet}function E(n,e,t){n.insertBefore(e,t||null)}function Y(n){n.parentNode&&n.parentNode.removeChild(n)}function gi(n,e){for(let t=0;tn.removeEventListener(e,t,i)}function jb(n){return function(e){return e.preventDefault(),n.call(this,e)}}function w(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function qo(n){return n===""?null:+n}function zW(n){return Array.from(n.childNodes)}function He(n,e){e=""+e,n.data!==e&&(n.data=e)}function di(n,e){n.value=e??""}function pm(n,e,t,i){t==null?n.style.removeProperty(e):n.style.setProperty(e,t,i?"important":"")}function Xl(n,e,t){for(let i=0;ie.__value)}function fe(n,e,t){n.classList.toggle(e,!!t)}function Fb(n,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:i})}const hc=new Map;let Oc=0;function DW(n){let e=5381,t=n.length;for(;t--;)e=(e<<5)-e^n.charCodeAt(t);return e>>>0}function qW(n,e){const t={stylesheet:EW(e),rules:{}};return hc.set(n,t),t}function SO(n,e,t,i,r,s,l,o=0){const a=16.666/i;let u=`{ -`;for(let $=0;$<=1;$+=a){const k=e+(t-e)*s($);u+=$*100+`%{${l(k,1-k)}} -`}const h=u+`100% {${l(t,1-t)}} -}`,O=`__svelte_${DW(h)}_${o}`,p=Bb(n),{stylesheet:g,rules:b}=hc.get(p)||qW(p,n);b[O]||(b[O]=!0,g.insertRule(`@keyframes ${O} ${h}`,g.cssRules.length));const y=n.style.animation||"";return n.style.animation=`${y?`${y}, `:""}${O} ${i}ms linear ${r}ms 1 both`,Oc+=1,O}function Gb(n,e){const t=(n.style.animation||"").split(", "),i=t.filter(e?s=>s.indexOf(e)<0:s=>s.indexOf("__svelte")===-1),r=t.length-i.length;r&&(n.style.animation=i.join(", "),Oc-=r,Oc||IW())}function IW(){$d(()=>{Oc||(hc.forEach(n=>{const{ownerNode:e}=n.stylesheet;e&&Y(e)}),hc.clear())})}function NW(n,e,t,i){if(!e)return Qe;const r=n.getBoundingClientRect();if(e.left===r.left&&e.right===r.right&&e.top===r.top&&e.bottom===r.bottom)return Qe;const{delay:s=0,duration:l=300,easing:o=bd,start:a=Ib()+s,end:u=a+l,tick:h=Qe,css:O}=t(n,{from:e,to:r},i);let p=!0,g=!1,b;function y(){O&&(b=SO(n,0,1,l,s,o,O)),s||(g=!0)}function $(){O&&Gb(n,b),p=!1}return Lb(k=>{if(!g&&k>=a&&(g=!0),g&&k>=u&&(h(1,0),$()),!p)return!1;if(g){const W=k-a,X=0+1*o(W/l);h(X,1-X)}return!0}),y(),h(0,1),$}function LW(n){const e=getComputedStyle(n);if(e.position!=="absolute"&&e.position!=="fixed"){const{width:t,height:i}=e,r=n.getBoundingClientRect();n.style.position="absolute",n.style.width=t,n.style.height=i,BW(n,r)}}function BW(n,e){const t=n.getBoundingClientRect();if(e.left!==t.left||e.top!==t.top){const i=getComputedStyle(n),r=i.transform==="none"?"":i.transform;n.style.transform=`${r} translate(${e.left-t.left}px, ${e.top-t.top}px)`}}let Io;function Yo(n){Io=n}function Hb(){if(!Io)throw new Error("Function called outside component initialization");return Io}function Fc(n){Hb().$$.on_mount.push(n)}function Zn(){const n=Hb();return(e,t,{cancelable:i=!1}={})=>{const r=n.$$.callbacks[e];if(r){const s=Fb(e,t,{cancelable:i});return r.slice().forEach(l=>{l.call(n,s)}),!s.defaultPrevented}return!0}}function mm(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(i=>i.call(this,e))}const gl=[],zt=[];let kl=[];const bO=[],Kb=Promise.resolve();let $O=!1;function Jb(){$O||($O=!0,Kb.then(e$))}function In(){return Jb(),Kb}function Ln(n){kl.push(n)}function Uo(n){bO.push(n)}const Yh=new Set;let Ol=0;function e$(){if(Ol!==0)return;const n=Io;do{try{for(;Oln.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),kl=e}let bo;function GW(){return bo||(bo=Promise.resolve(),bo.then(()=>{bo=null})),bo}function Uh(n,e,t){n.dispatchEvent(Fb(`${e?"intro":"outro"}${t}`))}const Jf=new Set;let Rr;function tt(){Rr={r:0,c:[],p:Rr}}function it(){Rr.r||Gt(Rr.c),Rr=Rr.p}function q(n,e){n&&n.i&&(Jf.delete(n),n.i(e))}function B(n,e,t,i){if(n&&n.o){if(Jf.has(n))return;Jf.add(n),Rr.c.push(()=>{Jf.delete(n),i&&(t&&n.d(1),i())}),n.o(e)}else i&&i()}const HW={duration:0};function bl(n,e,t,i){let s=e(n,t,{direction:"both"}),l=i?0:1,o=null,a=null,u=null,h;function O(){u&&Gb(n,u)}function p(b,y){const $=b.b-l;return y*=Math.abs($),{a:l,b:b.b,d:$,duration:y,start:b.start,end:b.start+y,group:b.group}}function g(b){const{delay:y=0,duration:$=300,easing:k=bd,tick:W=Qe,css:X}=s||HW,T={start:Ib()+y,b};b||(T.group=Rr,Rr.r+=1),"inert"in n&&(b?h!==void 0&&(n.inert=h):(h=n.inert,n.inert=!0)),o||a?a=T:(X&&(O(),u=SO(n,l,b,$,y,k,X)),b&&W(0,1),o=p(T,$),Ln(()=>Uh(n,b,"start")),Lb(C=>{if(a&&C>a.start&&(o=p(a,$),a=null,Uh(n,o.b,"start"),X&&(O(),u=SO(n,l,o.b,o.duration,0,k,s.css))),o){if(C>=o.end)W(l=o.b,1-l),Uh(n,o.b,"end"),a||(o.b?O():--o.group.r||Gt(o.group.c)),o=null;else if(C>=o.start){const U=C-o.start;l=o.a+o.d*k(U/o.duration),W(l,1-l)}}return!!(o||a)}))}return{run(b){jc(s)?GW().then(()=>{s=s({direction:b?"in":"out"}),g(b)}):g(b)},end(){O(),o=a=null}}}function at(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function KW(n,e){B(n,1,1,()=>{e.delete(n.key)})}function JW(n,e){n.f(),KW(n,e)}function e5(n,e,t,i,r,s,l,o,a,u,h,O){let p=n.length,g=s.length,b=p;const y={};for(;b--;)y[n[b].key]=b;const $=[],k=new Map,W=new Map,X=[];for(b=g;b--;){const z=O(r,s,b),M=t(z);let L=l.get(M);L?i&&X.push(()=>L.p(z,e)):(L=u(M,z),L.c()),k.set(M,$[b]=L),M in y&&W.set(M,Math.abs(b-y[M]))}const T=new Set,C=new Set;function U(z){q(z,1),z.m(o,h),l.set(z.key,z),h=z.first,g--}for(;p&&g;){const z=$[g-1],M=n[p-1],L=z.key,I=M.key;z===M?(h=z.first,p--,g--):k.has(I)?!l.has(L)||T.has(L)?U(z):C.has(I)?p--:W.get(L)>W.get(I)?(C.add(L),U(z)):(T.add(I),p--):(a(M,l),p--)}for(;p--;){const z=n[p];k.has(z.key)||a(z,l)}for(;g;)U($[g-1]);return Gt(X),$}function Eo(n,e,t){const i=n.$$.props[e];i!==void 0&&(n.$$.bound[i]=t,t(n.$$.ctx[i]))}function ze(n){n&&n.c()}function Ee(n,e,t){const{fragment:i,after_update:r}=n.$$;i&&i.m(e,t),Ln(()=>{const s=n.$$.on_mount.map(Vb).filter(jc);n.$$.on_destroy?n.$$.on_destroy.push(...s):Gt(s),n.$$.on_mount=[]}),r.forEach(Ln)}function Me(n,e){const t=n.$$;t.fragment!==null&&(FW(t.after_update),Gt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function t5(n,e){n.$$.dirty[0]===-1&&(gl.push(n),Jb(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<{const b=g.length?g[0]:p;return u.ctx&&r(u.ctx[O],u.ctx[O]=b)&&(!u.skip_bound&&u.bound[O]&&u.bound[O](b),h&&t5(n,O)),p}):[],u.update(),h=!0,Gt(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){const O=zW(e.target);u.fragment&&u.fragment.l(O),O.forEach(Y)}else u.fragment&&u.fragment.c();e.intro&&q(n.$$.fragment),Ee(n,e.target,e.anchor),e$()}Yo(a)}class Qi{constructor(){Ah(this,"$$");Ah(this,"$$set")}$destroy(){Me(this,1),this.$destroy=Qe}$on(e,t){if(!jc(t))return Qe;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const r=i.indexOf(t);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!AW(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const i5="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(i5);const n5="modulepreload",r5=function(n,e){return new URL(n,e).href},Sm={},bm=function(e,t,i){if(!t||t.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map(s=>{if(s=r5(s,i),s in Sm)return;Sm[s]=!0;const l=s.endsWith(".css"),o=l?'[rel="stylesheet"]':"";if(!!i)for(let h=r.length-1;h>=0;h--){const O=r[h];if(O.href===s&&(!l||O.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${o}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":n5,l||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),l)return new Promise((h,O)=>{u.addEventListener("load",h),u.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>e()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})};class St{lineAt(e){if(e<0||e>this.length)throw new 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 new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let r=[];return this.decompose(0,e,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(t,this.length,r,1),ar.from(r,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),ar.from(i,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),i=this.length-this.scanIdentical(e,-1),r=new Mo(this),s=new Mo(e);for(let l=t,o=t;;){if(r.next(l),s.next(l),l=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(o+=r.value.length,r.done||o>=i)return!0}}iter(e=1){return new Mo(this,e)}iterRange(e,t=this.length){return new t$(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let r=this.line(e).from;i=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new i$(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?St.empty:e.length<=32?new ti(e):ar.from(ti.split(e,[]))}}class ti extends St{constructor(e,t=s5(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,r){for(let s=0;;s++){let l=this.text[s],o=r+l.length;if((t?i:o)>=e)return new l5(r,o,i,l);r=o+1,i++}}decompose(e,t,i,r){let s=e<=0&&t>=this.length?this:new ti($m(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let l=i.pop(),o=ec(s.text,l.text.slice(),0,s.length);if(o.length<=32)i.push(new ti(o,l.length+s.length));else{let a=o.length>>1;i.push(new ti(o.slice(0,a)),new ti(o.slice(a)))}}else i.push(s)}replace(e,t,i){if(!(i instanceof ti))return super.replace(e,t,i);let r=ec(this.text,ec(i.text,$m(this.text,0,e)),t),s=this.length+i.length-(t-e);return r.length<=32?new ti(r,s):ar.from(ti.split(r,[]),s)}sliceString(e,t=this.length,i=` -`){let r="";for(let s=0,l=0;s<=t&&le&&l&&(r+=i),es&&(r+=o.slice(Math.max(0,e-s),t-s)),s=a+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],r=-1;for(let s of e)i.push(s),r+=s.length+1,i.length==32&&(t.push(new ti(i,r)),i=[],r=-1);return r>-1&&t.push(new ti(i,r)),t}}class ar extends St{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,r){for(let s=0;;s++){let l=this.children[s],o=r+l.length,a=i+l.lines-1;if((t?a:o)>=e)return l.lineInner(e,t,i,r);r=o+1,i=a+1}}decompose(e,t,i,r){for(let s=0,l=0;l<=t&&s=l){let u=r&((l<=e?1:0)|(a>=t?2:0));l>=e&&a<=t&&!u?i.push(o):o.decompose(e-l,t-l,i,u)}l=a+1}}replace(e,t,i){if(i.lines=s&&t<=o){let a=l.replace(e-s,t-s,i),u=this.lines-l.lines+a.lines;if(a.lines>4&&a.lines>u>>6){let h=this.children.slice();return h[r]=a,new ar(h,this.length-(t-e)+i.length)}return super.replace(s,o,a)}s=o+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=` -`){let r="";for(let s=0,l=0;se&&s&&(r+=i),el&&(r+=o.sliceString(e-l,t-l,i)),l=a+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof ar))return 0;let i=0,[r,s,l,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,s+=t){if(r==l||s==o)return i;let a=this.children[r],u=e.children[s];if(a!=u)return i+a.scanIdentical(u,t);i+=a.length+1}}static from(e,t=e.reduce((i,r)=>i+r.length+1,-1)){let i=0;for(let g of e)i+=g.lines;if(i<32){let g=[];for(let b of e)b.flatten(g);return new ti(g,t)}let r=Math.max(32,i>>5),s=r<<1,l=r>>1,o=[],a=0,u=-1,h=[];function O(g){let b;if(g.lines>s&&g instanceof ar)for(let y of g.children)O(y);else g.lines>l&&(a>l||!a)?(p(),o.push(g)):g instanceof ti&&a&&(b=h[h.length-1])instanceof ti&&g.lines+b.lines<=32?(a+=g.lines,u+=g.length+1,h[h.length-1]=new ti(b.text.concat(g.text),b.length+1+g.length)):(a+g.lines>r&&p(),a+=g.lines,u+=g.length+1,h.push(g))}function p(){a!=0&&(o.push(h.length==1?h[0]:ar.from(h,u)),u=-1,a=h.length=0)}for(let g of e)O(g);return p(),o.length==1?o[0]:new ar(o,t)}}St.empty=new ti([""],0);function s5(n){let e=-1;for(let t of n)e+=t.length+1;return e}function ec(n,e,t=0,i=1e9){for(let r=0,s=0,l=!0;s=t&&(a>i&&(o=o.slice(0,i-r)),r0?1:(e instanceof ti?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,r=this.nodes[i],s=this.offsets[i],l=s>>1,o=r instanceof ti?r.text.length:r.children.length;if(l==(t>0?o:0)){if(i==0)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[i]+=t,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(r instanceof ti){let a=r.text[l+(t<0?-1:0)];if(this.offsets[i]+=t,a.length>Math.max(0,e))return this.value=e==0?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=r.children[l+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof ti?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class t${constructor(e,t,i){this.value="",this.done=!1,this.cursor=new Mo(e,t>i?-1:1),this.pos=t>i?e.length:0,this.from=Math.min(t,i),this.to=Math.max(t,i)}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 i=t<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=i?r:t<0?r.slice(r.length-i):r.slice(0,i),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 i${constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:r}=this.inner.next(e);return t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(St.prototype[Symbol.iterator]=function(){return this.iter()},Mo.prototype[Symbol.iterator]=t$.prototype[Symbol.iterator]=i$.prototype[Symbol.iterator]=function(){return this});class l5{constructor(e,t,i,r){this.from=e,this.to=t,this.number=i,this.text=r}get length(){return this.to-this.from}}let Pl="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(n=>n?parseInt(n,36):1);for(let n=1;nn)return Pl[e-1]<=n;return!1}function ym(n){return n>=127462&&n<=127487}const vm=8205;function Ri(n,e,t=!0,i=!0){return(t?n$:a5)(n,e,i)}function n$(n,e,t){if(e==n.length)return e;e&&r$(n.charCodeAt(e))&&s$(n.charCodeAt(e-1))&&e--;let i=$i(n,e);for(e+=_n(i);e=0&&ym($i(n,l));)s++,l-=2;if(s%2==0)break;e+=2}else break}return e}function a5(n,e,t){for(;e>0;){let i=n$(n,e-2,t);if(i=56320&&n<57344}function s$(n){return n>=55296&&n<56320}function $i(n,e){let t=n.charCodeAt(e);if(!s$(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return r$(i)?(t-55296<<10)+(i-56320)+65536:t}function yd(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function _n(n){return n<65536?1:2}const yO=/\r\n?|\n/;var vi=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(vi||(vi={}));class Or{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return s+(e-r);s+=o}else{if(i!=vi.Simple&&u>=e&&(i==vi.TrackDel&&re||i==vi.TrackBefore&&re))return null;if(u>e||u==e&&t<0&&!o)return e==r||t<0?s:s+a;s+=a}r=u}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,t=e){for(let i=0,r=0;i=0&&r<=t&&o>=e)return rt?"cover":!0;r=o}return!1}toString(){let e="";for(let t=0;t=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Or(e)}static create(e){return new Or(e)}}class ci extends Or{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return vO(this,(t,i,r,s,l)=>e=e.replace(r,r+(i-t),l),!1),e}mapDesc(e,t=!1){return wO(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let r=0,s=0;r=0){t[r]=o,t[r+1]=l;let a=r>>1;for(;i.length0&&ls(i,t,s.text),s.forward(h),o+=h}let u=e[l++];for(;o>1].toJSON()))}return e}static of(e,t,i){let r=[],s=[],l=0,o=null;function a(h=!1){if(!h&&!r.length)return;lp||O<0||p>t)throw new RangeError(`Invalid change range ${O} to ${p} (in doc of length ${t})`);let b=g?typeof g=="string"?St.of(g.split(i||yO)):g:St.empty,y=b.length;if(O==p&&y==0)return;Ol&&Ci(r,O-l,-1),Ci(r,p-O,y),ls(s,r,b),l=p}}return u(e),a(!o),o}static empty(e){return new ci(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let r=0;ro&&typeof l!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)t.push(s[0],0);else{for(;i.length=0&&t<=0&&t==n[r+1]?n[r]+=e:e==0&&n[r]==0?n[r+1]+=t:i?(n[r]+=e,n[r+1]+=t):n.push(e,t)}function ls(n,e,t){if(t.length==0)return;let i=e.length-2>>1;if(i>1])),!(t||l==n.sections.length||n.sections[l+1]<0);)o=n.sections[l++],a=n.sections[l++];e(r,u,s,h,O),r=u,s=h}}}function wO(n,e,t,i=!1){let r=[],s=i?[]:null,l=new No(n),o=new No(e);for(let a=-1;;)if(l.ins==-1&&o.ins==-1){let u=Math.min(l.len,o.len);Ci(r,u,-1),l.forward(u),o.forward(u)}else if(o.ins>=0&&(l.ins<0||a==l.i||l.off==0&&(o.len=0&&a=0){let u=0,h=l.len;for(;h;)if(o.ins==-1){let O=Math.min(h,o.len);u+=O,h-=O,o.forward(O)}else if(o.ins==0&&o.lena||l.ins>=0&&l.len>a)&&(o||i.length>u),s.forward2(a),l.forward(a)}}}}class No{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?St.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?St.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class zs{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,t=-1){let i,r;return this.empty?i=r=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),i==this.from&&r==this.to?this:new zs(i,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return J.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return J.range(this.anchor,i)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return J.range(e.anchor,e.head)}static create(e,t,i){return new zs(e,t,i)}}class J{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:J.create(this.ranges.map(i=>i.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)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new J(e.ranges.map(t=>zs.fromJSON(t)),e.main)}static single(e,t=e){return new J([J.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,r=0;re?8:0)|s)}static normalized(e,t=0){let i=e[t];e.sort((r,s)=>r.from-s.from),t=e.indexOf(i);for(let r=1;rs.head?J.range(a,o):J.range(o,a))}}return new J(e,t)}}function o$(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let vd=0;class we{constructor(e,t,i,r,s){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=r,this.id=vd++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new we(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:wd),!!e.static,e.enables)}of(e){return new tc([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new tc(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new tc(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function wd(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class tc{constructor(e,t,i,r){this.dependencies=e,this.facet=t,this.type=i,this.value=r,this.id=vd++}dynamicSlot(e){var t;let i=this.value,r=this.facet.compareInput,s=this.id,l=e[s]>>1,o=this.type==2,a=!1,u=!1,h=[];for(let O of this.dependencies)O=="doc"?a=!0:O=="selection"?u=!0:((t=e[O.id])!==null&&t!==void 0?t:1)&1||h.push(e[O.id]);return{create(O){return O.values[l]=i(O),1},update(O,p){if(a&&p.docChanged||u&&(p.docChanged||p.selection)||QO(O,h)){let g=i(O);if(o?!wm(g,O.values[l],r):!r(g,O.values[l]))return O.values[l]=g,1}return 0},reconfigure:(O,p)=>{let g,b=p.config.address[s];if(b!=null){let y=pc(p,b);if(this.dependencies.every($=>$ instanceof we?p.facet($)===O.facet($):$ instanceof hi?p.field($,!1)==O.field($,!1):!0)||(o?wm(g=i(O),y,r):r(g=i(O),y)))return O.values[l]=y,0}else g=i(O);return O.values[l]=g,1}}}}function wm(n,e,t){if(n.length!=e.length)return!1;for(let i=0;in[a.id]),r=t.map(a=>a.type),s=i.filter(a=>!(a&1)),l=n[e.id]>>1;function o(a){let u=[];for(let h=0;hi===r),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(Qm).find(i=>i.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:i=>(i.values[t]=this.create(i),1),update:(i,r)=>{let s=i.values[t],l=this.updateF(s,r);return this.compareF(s,l)?0:(i.values[t]=l,1)},reconfigure:(i,r)=>r.config.address[this.id]!=null?(i.values[t]=r.field(this),0):(i.values[t]=this.create(i),1)}}init(e){return[this,Qm.of({field:this,create:e})]}get extension(){return this}}const Us={lowest:4,low:3,default:2,high:1,highest:0};function $o(n){return e=>new a$(e,n)}const Ns={highest:$o(Us.highest),high:$o(Us.high),default:$o(Us.default),low:$o(Us.low),lowest:$o(Us.lowest)};class a${constructor(e,t){this.inner=e,this.prec=t}}class Dl{of(e){return new kO(this,e)}reconfigure(e){return Dl.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class kO{constructor(e,t){this.compartment=e,this.inner=t}}class dc{constructor(e,t,i,r,s,l){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=r,this.staticValues=s,this.facets=l,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,i){let r=[],s=Object.create(null),l=new Map;for(let p of c5(e,t,l))p instanceof hi?r.push(p):(s[p.facet.id]||(s[p.facet.id]=[])).push(p);let o=Object.create(null),a=[],u=[];for(let p of r)o[p.id]=u.length<<1,u.push(g=>p.slot(g));let h=i==null?void 0:i.config.facets;for(let p in s){let g=s[p],b=g[0].facet,y=h&&h[p]||[];if(g.every($=>$.type==0))if(o[b.id]=a.length<<1|1,wd(y,g))a.push(i.facet(b));else{let $=b.combine(g.map(k=>k.value));a.push(i&&b.compare($,i.facet(b))?i.facet(b):$)}else{for(let $ of g)$.type==0?(o[$.id]=a.length<<1|1,a.push($.value)):(o[$.id]=u.length<<1,u.push(k=>$.dynamicSlot(k)));o[b.id]=u.length<<1,u.push($=>f5($,b,g))}}let O=u.map(p=>p(o));return new dc(e,l,O,o,a,s)}}function c5(n,e,t){let i=[[],[],[],[],[]],r=new Map;function s(l,o){let a=r.get(l);if(a!=null){if(a<=o)return;let u=i[a].indexOf(l);u>-1&&i[a].splice(u,1),l instanceof kO&&t.delete(l.compartment)}if(r.set(l,o),Array.isArray(l))for(let u of l)s(u,o);else if(l instanceof kO){if(t.has(l.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(l.compartment)||l.inner;t.set(l.compartment,u),s(u,o)}else if(l instanceof a$)s(l.inner,l.prec);else if(l instanceof hi)i[o].push(l),l.provides&&s(l.provides,o);else if(l instanceof tc)i[o].push(l),l.facet.extensions&&s(l.facet.extensions,Us.default);else{let u=l.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${l}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(u,o)}}return s(n,Us.default),i.reduce((l,o)=>l.concat(o))}function zo(n,e){if(e&1)return 2;let t=e>>1,i=n.status[t];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;n.status[t]=4;let r=n.computeSlot(n,n.config.dynamicSlots[t]);return n.status[t]=2|r}function pc(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const f$=we.define(),c$=we.define({combine:n=>n.some(e=>e),static:!0}),u$=we.define({combine:n=>n.length?n[0]:void 0,static:!0}),h$=we.define(),O$=we.define(),d$=we.define(),p$=we.define({combine:n=>n.length?n[0]:!1});class Mr{constructor(e,t){this.type=e,this.value=t}static define(){return new u5}}class u5{of(e){return new Mr(this,e)}}class h5{constructor(e){this.map=e}of(e){return new qe(this,e)}}class qe{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new qe(this.type,t)}is(e){return this.type==e}static define(e={}){return new h5(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let r of e){let s=r.map(t);s&&i.push(s)}return i}}qe.reconfigure=qe.define();qe.appendConfig=qe.define();class ui{constructor(e,t,i,r,s,l){this.startState=e,this.changes=t,this.selection=i,this.effects=r,this.annotations=s,this.scrollIntoView=l,this._doc=null,this._state=null,i&&o$(i,t.newLength),s.some(o=>o.type==ui.time)||(this.annotations=s.concat(ui.time.of(Date.now())))}static create(e,t,i,r,s,l){return new ui(e,t,i,r,s,l)}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(ui.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}ui.time=Mr.define();ui.userEvent=Mr.define();ui.addToHistory=Mr.define();ui.remote=Mr.define();function O5(n,e){let t=[];for(let i=0,r=0;;){let s,l;if(i=n[i]))s=n[i++],l=n[i++];else if(r=0;r--){let s=i[r](n);s instanceof ui?n=s:Array.isArray(s)&&s.length==1&&s[0]instanceof ui?n=s[0]:n=m$(e,_l(s),!1)}return n}function p5(n){let e=n.startState,t=e.facet(d$),i=n;for(let r=t.length-1;r>=0;r--){let s=t[r](n);s&&Object.keys(s).length&&(i=g$(i,PO(e,s,n.changes.newLength),!0))}return i==n?n:ui.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const g5=[];function _l(n){return n==null?g5:Array.isArray(n)?n:[n]}var Vt=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(Vt||(Vt={}));const m5=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _O;try{_O=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function S5(n){if(_O)return _O.test(n);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||m5.test(t)))return!0}return!1}function b5(n){return e=>{if(!/\S/.test(e))return Vt.Space;if(S5(e))return Vt.Word;for(let t=0;t-1)return Vt.Word;return Vt.Other}}class ht{constructor(e,t,i,r,s,l){this.config=e,this.doc=t,this.selection=i,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,l&&(l._state=this);for(let o=0;or.set(a,o)),t=null),r.set(l.value.compartment,l.value.extension)):l.is(qe.reconfigure)?(t=null,i=l.value):l.is(qe.appendConfig)&&(t=null,i=_l(i).concat(l.value));let s;t?s=e.startState.values.slice():(t=dc.resolve(i,r,this),s=new ht(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(o,a)=>a.reconfigure(o,this),null).values),new ht(t,e.newDoc,e.newSelection,s,(l,o)=>o.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:J.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),r=this.changes(i.changes),s=[i.range],l=_l(i.effects);for(let o=1;ol.spec.fromJSON(o,a)))}}return ht.create({doc:e.doc,selection:J.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=dc.resolve(e.extensions||[],new Map),i=e.doc instanceof St?e.doc:St.of((e.doc||"").split(t.staticFacet(ht.lineSeparator)||yO)),r=e.selection?e.selection instanceof J?e.selection:J.single(e.selection.anchor,e.selection.head):J.single(0);return o$(r,i.length),t.staticFacet(c$)||(r=r.asSingle()),new ht(t,i,r,t.dynamicSlots.map(()=>null),(s,l)=>l.create(s),null)}get tabSize(){return this.facet(ht.tabSize)}get lineBreak(){return this.facet(ht.lineSeparator)||` -`}get readOnly(){return this.facet(p$)}phrase(e,...t){for(let i of this.facet(ht.phrases))if(Object.prototype.hasOwnProperty.call(i,e)){e=i[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(i,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>t.length?i:t[s-1]})),e}languageDataAt(e,t,i=-1){let r=[];for(let s of this.facet(f$))for(let l of s(this,t,i))Object.prototype.hasOwnProperty.call(l,e)&&r.push(l[e]);return r}charCategorizer(e){return b5(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:i,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),l=e-i,o=e-i;for(;l>0;){let a=Ri(t,l,!1);if(s(t.slice(a,l))!=Vt.Word)break;l=a}for(;on.length?n[0]:4});ht.lineSeparator=u$;ht.readOnly=p$;ht.phrases=we.define({compare(n,e){let t=Object.keys(n),i=Object.keys(e);return t.length==i.length&&t.every(r=>n[r]==e[r])}});ht.languageData=f$;ht.changeFilter=h$;ht.transactionFilter=O$;ht.transactionExtender=d$;Dl.reconfigure=qe.define();function pr(n,e,t={}){let i={};for(let r of n)for(let s of Object.keys(r)){let l=r[s],o=i[s];if(o===void 0)i[s]=l;else if(!(o===l||l===void 0))if(Object.hasOwnProperty.call(t,s))i[s]=t[s](o,l);else throw new Error("Config merge conflict for field "+s)}for(let r in e)i[r]===void 0&&(i[r]=e[r]);return i}class Ds{eq(e){return this==e}range(e,t=e){return xO.create(e,t,this)}}Ds.prototype.startSide=Ds.prototype.endSide=0;Ds.prototype.point=!1;Ds.prototype.mapMode=vi.TrackDel;let xO=class S${constructor(e,t,i){this.from=e,this.to=t,this.value=i}static create(e,t,i){return new S$(e,t,i)}};function WO(n,e){return n.from-e.from||n.value.startSide-e.value.startSide}class Qd{constructor(e,t,i,r){this.from=e,this.to=t,this.value=i,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,i,r=0){let s=i?this.to:this.from;for(let l=r,o=s.length;;){if(l==o)return l;let a=l+o>>1,u=s[a]-e||(i?this.value[a].endSide:this.value[a].startSide)-t;if(a==l)return u>=0?l:o;u>=0?o=a:l=a+1}}between(e,t,i,r){for(let s=this.findIndex(t,-1e9,!0),l=this.findIndex(i,1e9,!1,s);sg||p==g&&u.startSide>0&&u.endSide<=0)continue;(g-p||u.endSide-u.startSide)<0||(l<0&&(l=p),u.point&&(o=Math.max(o,g-p)),i.push(u),r.push(p-l),s.push(g-l))}return{mapped:i.length?new Qd(r,s,i,o):null,pos:l}}}class wt{constructor(e,t,i,r){this.chunkPos=e,this.chunk=t,this.nextLayer=i,this.maxPoint=r}static create(e,t,i,r){return new wt(e,t,i,r)}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:i=!1,filterFrom:r=0,filterTo:s=this.length}=e,l=e.filter;if(t.length==0&&!l)return this;if(i&&(t=t.slice().sort(WO)),this.isEmpty)return t.length?wt.of(t):this;let o=new b$(this,null,-1).goto(0),a=0,u=[],h=new hs;for(;o.value||a=0){let O=t[a++];h.addInner(O.from,O.to,O.value)||u.push(O)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||so.to||s=s&&e<=s+l.length&&l.between(s,e-s,t-s,i)===!1)return}this.nextLayer.between(e,t,i)}}iter(e=0){return Lo.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Lo.from(e).goto(t)}static compare(e,t,i,r,s=-1){let l=e.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),o=t.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),a=km(l,o,i),u=new yo(l,a,s),h=new yo(o,a,s);i.iterGaps((O,p,g)=>Pm(u,O,h,p,g,r)),i.empty&&i.length==0&&Pm(u,0,h,0,0,r)}static eq(e,t,i=0,r){r==null&&(r=999999999);let s=e.filter(h=>!h.isEmpty&&t.indexOf(h)<0),l=t.filter(h=>!h.isEmpty&&e.indexOf(h)<0);if(s.length!=l.length)return!1;if(!s.length)return!0;let o=km(s,l),a=new yo(s,o,0).goto(i),u=new yo(l,o,0).goto(i);for(;;){if(a.to!=u.to||!CO(a.active,u.active)||a.point&&(!u.point||!a.point.eq(u.point)))return!1;if(a.to>r)return!0;a.next(),u.next()}}static spans(e,t,i,r,s=-1){let l=new yo(e,null,s).goto(t),o=t,a=l.openStart;for(;;){let u=Math.min(l.to,i);if(l.point){let h=l.activeForPoint(l.to),O=l.pointFromo&&(r.span(o,u,l.active,a),a=l.openEnd(u));if(l.to>i)return a+(l.point&&l.to>i?1:0);o=l.to,l.next()}}static of(e,t=!1){let i=new hs;for(let r of e instanceof xO?[e]:t?$5(e):e)i.add(r.from,r.to,r.value);return i.finish()}}wt.empty=new wt([],[],null,-1);function $5(n){if(n.length>1)for(let e=n[0],t=1;t0)return n.slice().sort(WO);e=i}return n}wt.empty.nextLayer=wt.empty;class hs{finishChunk(e){this.chunks.push(new Qd(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=[])}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}add(e,t,i){this.addInner(e,t,i)||(this.nextLayer||(this.nextLayer=new hs)).add(e,t,i)}addInner(e,t,i){let r=e-this.lastTo||i.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=t,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)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 i=t.value.length-1;return this.last=t.value[i],this.lastFrom=t.from[i]+e,this.lastTo=t.to[i]+e,!0}finish(){return this.finishInner(wt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=wt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function km(n,e,t){let i=new Map;for(let s of n)for(let l=0;l=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=i&&r.push(new b$(l,t,i,s));return r.length==1?r[0]:new Lo(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let i of this.heap)i.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)Eh(this.heap,i);return this.next(),this}forward(e,t){for(let i of this.heap)i.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)Eh(this.heap,i);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)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(),Eh(this.heap,0)}}}function Eh(n,e){for(let t=n[e];;){let i=(e<<1)+1;if(i>=n.length)break;let r=n[i];if(i+1=0&&(r=n[i+1],i++),t.compare(r)<0)break;n[i]=t,n[e]=r,e=i}}class yo{constructor(e,t,i){this.minPoint=i,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=Lo.from(e,t,i)}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&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){_f(this.active,e),_f(this.activeTo,e),_f(this.activeRank,e),this.minActive=_m(this.active,this.activeTo)}addActive(e){let t=0,{value:i,to:r,rank:s}=this.cursor;for(;t-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),i&&_f(i,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(i),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&i[r]=0&&!(this.activeRank[i]e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&t.push(this.active[i]);return t.reverse()}openEnd(e){let t=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)t++;return t}}function Pm(n,e,t,i,r,s){n.goto(e),t.goto(i);let l=i+r,o=i,a=i-e;for(;;){let u=n.to+a-t.to||n.endSide-t.endSide,h=u<0?n.to+a:t.to,O=Math.min(h,l);if(n.point||t.point?n.point&&t.point&&(n.point==t.point||n.point.eq(t.point))&&CO(n.activeForPoint(n.to),t.activeForPoint(t.to))||s.comparePoint(o,O,n.point,t.point):O>o&&!CO(n.active,t.active)&&s.compareRange(o,O,n.active,t.active),h>l)break;o=h,u<=0&&n.next(),u>=0&&t.next()}}function CO(n,e){if(n.length!=e.length)return!1;for(let t=0;t=e;i--)n[i+1]=n[i];n[e]=t}function _m(n,e){let t=-1,i=1e9;for(let r=0;r=e)return r;if(r==n.length)break;s+=n.charCodeAt(r)==9?t-s%t:1,r=Ri(n,r)}return i===!0?-1:n.length}const ZO="ͼ",xm=typeof Symbol>"u"?"__"+ZO:Symbol.for(ZO),RO=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Wm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Os{constructor(e,t){this.rules=[];let{finish:i}=t||{};function r(l){return/^@/.test(l)?[l]:l.split(/,\s*/)}function s(l,o,a,u){let h=[],O=/^@(\w+)\b/.exec(l[0]),p=O&&O[1]=="keyframes";if(O&&o==null)return a.push(l[0]+";");for(let g in o){let b=o[g];if(/&/.test(g))s(g.split(/,\s*/).map(y=>l.map($=>y.replace(/&/,$))).reduce((y,$)=>y.concat($)),b,a);else if(b&&typeof b=="object"){if(!O)throw new RangeError("The value of a property ("+g+") should be a primitive value.");s(r(g),b,h,p)}else b!=null&&h.push(g.replace(/_.*/,"").replace(/[A-Z]/g,y=>"-"+y.toLowerCase())+": "+b+";")}(h.length||p)&&a.push((i&&!O&&!u?l.map(i):l).join(", ")+" {"+h.join(" ")+"}")}for(let l in e)s(r(l),e[l],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=Wm[xm]||1;return Wm[xm]=e+1,ZO+e.toString(36)}static mount(e,t,i){let r=e[RO],s=i&&i.nonce;r?s&&r.setNonce(s):r=new y5(e,s),r.mount(Array.isArray(t)?t:[t])}}let Cm=new Map;class y5{constructor(e,t){let i=e.ownerDocument||e,r=i.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=Cm.get(i);if(s)return e.adoptedStyleSheets=[s.sheet,...e.adoptedStyleSheets],e[RO]=s;this.sheet=new r.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],Cm.set(i,this)}else{this.styleTag=i.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);let s=e.head||e;s.insertBefore(this.styleTag,s.firstChild)}this.modules=[],e[RO]=this}mount(e){let t=this.sheet,i=0,r=0;for(let s=0;s-1&&(this.modules.splice(o,1),r--,o=-1),o==-1){if(this.modules.splice(r++,0,l),t)for(let a=0;a",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},v5=typeof navigator<"u"&&/Mac/.test(navigator.platform),w5=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var yi=0;yi<10;yi++)ds[48+yi]=ds[96+yi]=String(yi);for(var yi=1;yi<=24;yi++)ds[yi+111]="F"+yi;for(var yi=65;yi<=90;yi++)ds[yi]=String.fromCharCode(yi+32),Bo[yi]=String.fromCharCode(yi);for(var Mh in ds)Bo.hasOwnProperty(Mh)||(Bo[Mh]=ds[Mh]);function Q5(n){var e=v5&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||w5&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?Bo:ds)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function gc(n){let e;return n.nodeType==11?e=n.getSelection?n:n.ownerDocument:e=n,e.getSelection()}function XO(n,e){return e?n==e||n.contains(e.nodeType!=1?e.parentNode:e):!1}function k5(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function ic(n,e){if(!e.anchorNode)return!1;try{return XO(n,e.anchorNode)}catch{return!1}}function jo(n){return n.nodeType==3?qs(n,0,n.nodeValue.length).getClientRects():n.nodeType==1?n.getClientRects():[]}function mc(n,e,t,i){return t?Tm(n,e,t,i,-1)||Tm(n,e,t,i,1):!1}function Fo(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e}function Tm(n,e,t,i,r){for(;;){if(n==t&&e==i)return!0;if(e==(r<0?0:Ar(n))){if(n.nodeName=="DIV")return!1;let s=n.parentNode;if(!s||s.nodeType!=1)return!1;e=Fo(n)+(r<0?0:1),n=s}else if(n.nodeType==1){if(n=n.childNodes[e+(r<0?-1:0)],n.nodeType==1&&n.contentEditable=="false")return!1;e=r<0?Ar(n):0}else return!1}}function Ar(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function kd(n,e){let t=e?n.left:n.right;return{left:t,right:t,top:n.top,bottom:n.bottom}}function P5(n){return{left:0,right:n.innerWidth,top:0,bottom:n.innerHeight}}function _5(n,e,t,i,r,s,l,o){let a=n.ownerDocument,u=a.defaultView||window;for(let h=n,O=!1;h&&!O;)if(h.nodeType==1){let p,g=h==a.body,b=1,y=1;if(g)p=P5(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(h).position)&&(O=!0),h.scrollHeight<=h.clientHeight&&h.scrollWidth<=h.clientWidth){h=h.assignedSlot||h.parentNode;continue}let W=h.getBoundingClientRect();b=W.width/h.offsetWidth,y=W.height/h.offsetHeight,p={left:W.left,right:W.left+h.clientWidth*b,top:W.top,bottom:W.top+h.clientHeight*y}}let $=0,k=0;if(r=="nearest")e.top0&&e.bottom>p.bottom+k&&(k=e.bottom-p.bottom+k+l)):e.bottom>p.bottom&&(k=e.bottom-p.bottom+l,t<0&&e.top-k0&&e.right>p.right+$&&($=e.right-p.right+$+s)):e.right>p.right&&($=e.right-p.right+s,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class W5{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:i}=e;this.set(t,Math.min(e.anchorOffset,t?Ar(t):0),i,Math.min(e.focusOffset,i?Ar(i):0))}set(e,t,i,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=r}}let dl=null;function $$(n){if(n.setActive)return n.setActive();if(dl)return n.focus(dl);let e=[];for(let t=n;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(n.focus(dl==null?{get preventScroll(){return dl={preventScroll:!0},!0}}:void 0),!dl){dl=!1;for(let t=0;tMath.max(1,n.scrollHeight-n.clientHeight-4)}class Ti{constructor(e,t,i=!0){this.node=e,this.offset=t,this.precise=i}static before(e,t){return new Ti(e.parentNode,Fo(e),t)}static after(e,t){return new Ti(e.parentNode,Fo(e)+1,t)}}const Pd=[];class At{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let i of this.children){if(i==e)return t;t+=i.length+i.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.flags&2){let i=this.dom,r=null,s;for(let l of this.children){if(l.flags&7){if(!l.dom&&(s=r?r.nextSibling:i.firstChild)){let o=At.get(s);(!o||!o.parent&&o.canReuseDOM(l))&&l.reuseDOM(s)}l.sync(e,t),l.flags&=-8}if(s=r?r.nextSibling:i.firstChild,t&&!t.written&&t.node==i&&s!=l.dom&&(t.written=!0),l.dom.parentNode==i)for(;s&&s!=l.dom;)s=Rm(s);else i.insertBefore(l.dom,s);r=l.dom}for(s=r?r.nextSibling:i.firstChild,s&&t&&t.node==i&&(t.written=!0);s;)s=Rm(s)}else if(this.flags&1)for(let i of this.children)i.flags&7&&(i.sync(e,t),i.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let i;if(e==this.dom)i=this.dom.childNodes[t];else{let r=Ar(e)==0?0:t==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;r==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?r=-1:r=1),e=s}r<0?i=e:i=e.nextSibling}if(i==this.dom.firstChild)return 0;for(;i&&!At.get(i);)i=i.nextSibling;if(!i)return this.length;for(let r=0,s=0;;r++){let l=this.children[r];if(l.dom==i)return s;s+=l.length+l.breakAfter}}domBoundsAround(e,t,i=0){let r=-1,s=-1,l=-1,o=-1;for(let a=0,u=i,h=i;at)return O.domBoundsAround(e,t,u);if(p>=e&&r==-1&&(r=a,s=u),u>t&&O.dom.parentNode==this.dom){l=a,o=h;break}h=p,u=p+O.breakAfter}return{from:s,to:o<0?i+this.length:o,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:l=0?this.children[l].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),t.flags&1)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,i=Pd){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function Q$(n,e,t,i,r,s,l,o,a){let{children:u}=n,h=u.length?u[e]:null,O=s.length?s[s.length-1]:null,p=O?O.breakAfter:l;if(!(e==i&&h&&!l&&!p&&s.length<2&&h.merge(t,r,s.length?O:null,t==0,o,a))){if(i0&&(!l&&s.length&&h.merge(t,h.length,s[0],!1,o,0)?h.breakAfter=s.shift().breakAfter:(t2);var Pe={mac:Ym||/Mac/.test(hn.platform),windows:/Win/.test(hn.platform),linux:/Linux|X11/.test(hn.platform),ie:Gc,ie_version:P$?AO.documentMode||6:UO?+UO[1]:YO?+YO[1]:0,gecko:Xm,gecko_version:Xm?+(/Firefox\/(\d+)/.exec(hn.userAgent)||[0,0])[1]:0,chrome:!!zh,chrome_version:zh?+zh[1]:0,ios:Ym,android:/Android\b/.test(hn.userAgent),webkit:Am,safari:_$,webkit_version:Am?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:AO.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const Z5=256;class Yr extends At{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,i){return this.flags&8||i&&(!(i instanceof Yr)||this.length-(t-e)+i.length>Z5||i.flags&8)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new Yr(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=this.flags&8,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Ti(this.dom,e)}domBoundsAround(e,t,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return R5(this.dom,e,t)}}class Ur extends At{constructor(e,t=[],i=0){super(),this.mark=e,this.children=t,this.length=i;for(let r of t)r.setParent(this)}setAttrs(e){if(y$(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,i,r,s,l){return i&&(!(i instanceof Ur&&i.mark.eq(this.mark))||e&&s<=0||te&&t.push(i=e&&(r=s),i=a,s++}let l=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Ur(this.mark,t,l)}domAtPos(e){return x$(this,e)}coordsAt(e,t){return C$(this,e,t)}}function R5(n,e,t){let i=n.nodeValue.length;e>i&&(e=i);let r=e,s=e,l=0;e==0&&t<0||e==i&&t>=0?Pe.chrome||Pe.gecko||(e?(r--,l=1):s=0)?0:o.length-1];return Pe.safari&&!l&&a.width==0&&(a=Array.prototype.find.call(o,u=>u.width)||a),l?kd(a,l<0):a||null}class os extends At{static create(e,t,i){return new os(e,t,i)}constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}split(e){let t=os.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,i,r,s,l){return i&&(!(i instanceof os)||!this.widget.compare(i.widget)||e>0&&s<=0||t0)?Ti.before(this.dom):Ti.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let i=this.widget.coordsAt(this.dom,e,t);if(i)return i;let r=this.dom.getClientRects(),s=null;if(!r.length)return null;let l=this.side?this.side<0:e>0;for(let o=l?r.length-1:0;s=r[o],!(e>0?o==0:o==r.length-1||s.top0?Ti.before(this.dom):Ti.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return St.empty}get isHidden(){return!0}}Yr.prototype.children=os.prototype.children=Al.prototype.children=Pd;function x$(n,e){let t=n.dom,{children:i}=n,r=0;for(let s=0;rs&&e0;s--){let l=i[s-1];if(l.dom.parentNode==t)return l.domAtPos(l.length)}for(let s=r;s0&&e instanceof Ur&&r.length&&(i=r[r.length-1])instanceof Ur&&i.mark.eq(e.mark)?W$(i,e.children[0],t-1):(r.push(e),e.setParent(n)),n.length+=e.length}function C$(n,e,t){let i=null,r=-1,s=null,l=-1;function o(u,h){for(let O=0,p=0;O=h&&(g.children.length?o(g,h-p):(!s||s.isHidden&&t>0)&&(b>h||p==b&&g.getSide()>0)?(s=g,l=h-p):(p-1?1:0)!=r.length-(t&&r.indexOf(t)>-1?1:0))return!1;for(let s of i)if(s!=t&&(r.indexOf(s)==-1||n[s]!==e[s]))return!1;return!0}function MO(n,e,t){let i=!1;if(e)for(let r in e)t&&r in t||(i=!0,r=="style"?n.style.cssText="":n.removeAttribute(r));if(t)for(let r in t)e&&e[r]==t[r]||(i=!0,r=="style"?n.style.cssText=t[r]:n.setAttribute(r,t[r]));return i}function A5(n){let e=Object.create(null);for(let t=0;t0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){_d(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){W$(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=EO(t,this.attrs||{})),i&&(this.attrs=EO({class:i},this.attrs||{}))}domAtPos(e){return x$(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var i;this.dom?this.flags&4&&(y$(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(MO(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let r=this.dom.lastChild;for(;r&&At.get(r)instanceof Ur;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((i=At.get(r))===null||i===void 0?void 0:i.isEditable)==!1&&(!Pe.ios||!this.children.some(s=>s instanceof Yr))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let i of this.children){if(!(i instanceof Yr)||/[^ -~]/.test(i.text))return null;let r=jo(i.dom);if(r.length!=1)return null;e+=r[0].width,t=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let i=C$(this,e,t);if(!this.children.length&&i&&this.parent){let{heightOracle:r}=this.parent.view.viewState,s=i.bottom-i.top;if(Math.abs(s-r.lineHeight)<2&&r.textHeight=t){if(s instanceof fi)return s;if(l>t)break}r=l+s.breakAfter}return null}}class fs extends At{constructor(e,t,i){super(),this.widget=e,this.length=t,this.deco=i,this.breakAfter=0,this.prevWidget=null}merge(e,t,i,r,s,l){return i&&(!(i instanceof fs)||!this.widget.compare(i.widget)||e>0&&s<=0||t0}}class zr{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,i){return null}get isHidden(){return!1}destroy(e){}}var Mi=function(n){return n[n.Text=0]="Text",n[n.WidgetBefore=1]="WidgetBefore",n[n.WidgetAfter=2]="WidgetAfter",n[n.WidgetRange=3]="WidgetRange",n}(Mi||(Mi={}));class Re extends Ds{constructor(e,t,i,r){super(),this.startSide=e,this.endSide=t,this.widget=i,this.spec=r}get heightRelevant(){return!1}static mark(e){return new fa(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),i=!!e.block;return t+=i&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new ps(e,t,t,i,e.widget||null,!1)}static replace(e){let t=!!e.block,i,r;if(e.isBlockGap)i=-5e8,r=4e8;else{let{start:s,end:l}=T$(e,t);i=(s?t?-3e8:-1:5e8)-1,r=(l?t?2e8:1:-6e8)+1}return new ps(e,i,r,t,e.widget||null,!0)}static line(e){return new ca(e)}static set(e,t=!1){return wt.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Re.none=wt.empty;class fa extends Re{constructor(e){let{start:t,end:i}=T$(e);super(t?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,i;return this==e||e instanceof fa&&this.tagName==e.tagName&&(this.class||((t=this.attrs)===null||t===void 0?void 0:t.class))==(e.class||((i=e.attrs)===null||i===void 0?void 0:i.class))&&_d(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}fa.prototype.point=!1;class ca extends Re{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof ca&&this.spec.class==e.spec.class&&_d(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}ca.prototype.mapMode=vi.TrackBefore;ca.prototype.point=!0;class ps extends Re{constructor(e,t,i,r,s,l){super(t,i,s,e),this.block=r,this.isReplace=l,this.mapMode=r?t<=0?vi.TrackBefore:vi.TrackAfter:vi.TrackDel}get type(){return this.startSide!=this.endSide?Mi.WidgetRange:this.startSide<=0?Mi.WidgetBefore:Mi.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof ps&&Y5(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}ps.prototype.point=!0;function T$(n,e=!1){let{inclusiveStart:t,inclusiveEnd:i}=n;return t==null&&(t=n.inclusive),i==null&&(i=n.inclusive),{start:t??e,end:i??e}}function Y5(n,e){return n==e||!!(n&&e&&n.compare(e))}function zO(n,e,t,i=0){let r=t.length-1;r>=0&&t[r]+i>=n?t[r]=Math.max(t[r],e):t.push(n,e)}class Vo{constructor(e,t,i,r){this.doc=e,this.pos=t,this.end=i,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof fs&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new fi),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Wf(new Al(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof fs)&&this.getLine()}buildText(e,t,i){for(;e>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:l,done:o}=this.cursor.next(this.skip);if(this.skip=0,o)throw new Error("Ran out of text content when drawing inline views");if(l){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-i)),this.getLine().append(Wf(new Yr(this.text.slice(this.textOff,this.textOff+r)),t),i),this.atCursorPos=!0,this.textOff+=r,e-=r,i=0}}span(e,t,i,r){this.buildText(t-e,i,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,i,r,s,l){if(this.disallowBlockEffectsFor[l]&&i instanceof ps){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let o=t-e;if(i instanceof ps)if(i.block)i.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new fs(i.widget||new Em("div"),o,i));else{let a=os.create(i.widget||new Em("span"),o,o?0:i.startSide),u=this.atCursorPos&&!a.isEditable&&s<=r.length&&(e0),h=!a.isEditable&&(er.length||i.startSide<=0),O=this.getLine();this.pendingBuffer==2&&!u&&!a.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),u&&(O.append(Wf(new Al(1),r),s),s=r.length+Math.max(0,s-r.length)),O.append(Wf(a,r),s),this.atCursorPos=h,this.pendingBuffer=h?er.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(i);o&&(this.textOff+o<=this.text.length?this.textOff+=o:(this.skip+=o-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=s)}static build(e,t,i,r,s){let l=new Vo(e,t,i,s);return l.openEnd=wt.spans(r,t,i,l),l.openStart<0&&(l.openStart=l.openEnd),l.finish(l.openEnd),l}}function Wf(n,e){for(let t of e)n=new Ur(t,[n],n.length);return n}class Em extends zr{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const Z$=we.define(),R$=we.define(),X$=we.define(),A$=we.define(),VO=we.define(),Y$=we.define(),U$=we.define(),E$=we.define({combine:n=>n.some(e=>e)}),M$=we.define({combine:n=>n.some(e=>e)});class Wl{constructor(e,t="nearest",i="nearest",r=5,s=5,l=!1){this.range=e,this.y=t,this.x=i,this.yMargin=r,this.xMargin=s,this.isSnapshot=l}map(e){return e.empty?this:new Wl(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Wl(J.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const Cf=qe.define({map:(n,e)=>n.map(e)});function Cn(n,e,t){let i=n.facet(A$);i.length?i[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const Hc=we.define({combine:n=>n.length?n[0]:!0});let U5=0;const Co=we.define();class ni{constructor(e,t,i,r,s){this.id=e,this.create=t,this.domEventHandlers=i,this.domEventObservers=r,this.extension=s(this)}static define(e,t){const{eventHandlers:i,eventObservers:r,provide:s,decorations:l}=t||{};return new ni(U5++,e,i,r,o=>{let a=[Co.of(o)];return l&&a.push(Go.of(u=>{let h=u.plugin(o);return h?l(h):Re.none})),s&&a.push(s(o)),a})}static fromClass(e,t){return ni.define(i=>new e(i),t)}}class Vh{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(i){if(Cn(t.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){Cn(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(i){Cn(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const z$=we.define(),xd=we.define(),Go=we.define(),Wd=we.define(),V$=we.define();function Mm(n,e,t){let i=n.state.facet(V$);if(!i.length)return i;let r=i.map(l=>l instanceof Function?l(n):l),s=[];return wt.spans(r,e,t,{point(){},span(l,o,a,u){let h=s;for(let O=a.length-1;O>=0;O--,u--){let p=a[O].spec.bidiIsolate,g;if(p!=null)if(u>0&&h.length&&(g=h[h.length-1]).to==l&&g.direction==p)g.to=o,h=g.inner;else{let b={from:l,to:o,direction:p,inner:[]};h.push(b),h=b.inner}}}}),s}const D$=we.define();function q$(n){let e=0,t=0,i=0,r=0;for(let s of n.state.facet(D$)){let l=s(n);l&&(l.left!=null&&(e=Math.max(e,l.left)),l.right!=null&&(t=Math.max(t,l.right)),l.top!=null&&(i=Math.max(i,l.top)),l.bottom!=null&&(r=Math.max(r,l.bottom)))}return{left:e,right:t,top:i,bottom:r}}const To=we.define();class Tn{constructor(e,t,i,r){this.fromA=e,this.toA=t,this.fromB=i,this.toB=r}join(e){return new Tn(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,i=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>i.toA)){if(r.toAh)break;s+=2}if(!a)return i;new Tn(a.fromA,a.toA,a.fromB,a.toB).addToSet(i),l=a.toA,o=a.toB}}}class Sc{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=ci.empty(this.startState.doc.length);for(let s of i)this.changes=this.changes.compose(s.changes);let r=[];this.changes.iterChangedRanges((s,l,o,a)=>r.push(new Tn(s,l,o,a))),this.changedRanges=r}static create(e,t,i){return new Sc(e,t,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var Nt=function(n){return n[n.LTR=0]="LTR",n[n.RTL=1]="RTL",n}(Nt||(Nt={}));const Ho=Nt.LTR,I$=Nt.RTL;function N$(n){let e=[];for(let t=0;t=t){if(o.level==i)return l;(s<0||(r!=0?r<0?o.fromt:e[s].level>o.level))&&(s=l)}}if(s<0)throw new RangeError("Index out of range");return s}}function L$(n,e){if(n.length!=e.length)return!1;for(let t=0;t=0;y-=3)if(ir[y+1]==-g){let $=ir[y+2],k=$&2?r:$&4?$&1?s:r:0;k&&(Ct[O]=Ct[ir[y]]=k),o=y;break}}else{if(ir.length==189)break;ir[o++]=O,ir[o++]=p,ir[o++]=a}else if((b=Ct[O])==2||b==1){let y=b==r;a=y?0:1;for(let $=o-3;$>=0;$-=3){let k=ir[$+2];if(k&2)break;if(y)ir[$+2]|=2;else{if(k&4)break;ir[$+2]|=4}}}}}function I5(n,e,t,i){for(let r=0,s=i;r<=t.length;r++){let l=r?t[r-1].to:n,o=ra;)b==$&&(b=t[--y].from,$=y?t[y-1].to:n),Ct[--b]=g;a=h}else s=u,a++}}}function qO(n,e,t,i,r,s,l){let o=i%2?2:1;if(i%2==r%2)for(let a=e,u=0;aa&&l.push(new as(a,y.from,g));let $=y.direction==Ho!=!(g%2);IO(n,$?i+1:i,r,y.inner,y.from,y.to,l),a=y.to}b=y.to}else{if(b==t||(h?Ct[b]!=o:Ct[b]==o))break;b++}p?qO(n,a,b,i+1,r,p,l):ae;){let h=!0,O=!1;if(!u||a>s[u-1].to){let y=Ct[a-1];y!=o&&(h=!1,O=y==16)}let p=!h&&o==1?[]:null,g=h?i:i+1,b=a;e:for(;;)if(u&&b==s[u-1].to){if(O)break e;let y=s[--u];if(!h)for(let $=y.from,k=u;;){if($==e)break e;if(k&&s[k-1].to==$)$=s[--k].from;else{if(Ct[$-1]==o)break e;break}}if(p)p.push(y);else{y.toCt.length;)Ct[Ct.length]=256;let i=[],r=e==Ho?0:1;return IO(n,r,r,t,0,n.length,i),i}function B$(n){return[new as(0,n,0)]}let j$="";function L5(n,e,t,i,r){var s;let l=i.head-n.from,o=-1;if(l==0){if(!r||!n.length)return null;e[0].level!=t&&(l=e[0].side(!1,t),o=0)}else if(l==n.length){if(r)return null;let p=e[e.length-1];p.level!=t&&(l=p.side(!0,t),o=e.length-1)}o<0&&(o=as.find(e,l,(s=i.bidiLevel)!==null&&s!==void 0?s:-1,i.assoc));let a=e[o];l==a.side(r,t)&&(a=e[o+=r?1:-1],l=a.side(!r,t));let u=r==(a.dir==t),h=Ri(n.text,l,u);if(j$=n.text.slice(Math.min(l,h),Math.max(l,h)),h!=a.side(r,t))return J.cursor(h+n.from,u?-1:1,a.level);let O=o==(r?e.length-1:0)?null:e[o+(r?1:-1)];return!O&&a.level!=t?J.cursor(r?n.to:n.from,r?-1:1,t):O&&O.level0&&i.length&&(i.every(({fromA:u,toA:h})=>hthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let r=-1;this.view.inputState.composing>=0&&(!((t=this.domChanged)===null||t===void 0)&&t.newSel?r=this.domChanged.newSel.head:!J5(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let s=r>-1?j5(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:u,to:h}=this.hasComposition;i=new Tn(u,h,e.changes.mapPos(u,-1),e.changes.mapPos(h,1)).addToSet(i.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(Pe.ie||Pe.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let l=this.decorations,o=this.updateDeco(),a=H5(l,o,e.changes);return i=Tn.extendWithRanges(i,a),!(this.flags&7)&&i.length==0?!1:(this.updateInner(i,e.startState.doc.length,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,i){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,i);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let l=Pe.chrome||Pe.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,l),this.flags&=-8,l&&(l.written||r.selectionRange.focusNode!=l.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(l=>l.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to=0?r[l]:null;if(!o)break;let{fromA:a,toA:u,fromB:h,toB:O}=o,p,g,b,y;if(i&&i.range.fromBh){let T=Vo.build(this.view.state.doc,h,i.range.fromB,this.decorations,this.dynamicDecorationMap),C=Vo.build(this.view.state.doc,i.range.toB,O,this.decorations,this.dynamicDecorationMap);g=T.breakAtStart,b=T.openStart,y=C.openEnd;let U=this.compositionView(i);C.breakAtStart?U.breakAfter=1:C.content.length&&U.merge(U.length,U.length,C.content[0],!1,C.openStart,0)&&(U.breakAfter=C.content[0].breakAfter,C.content.shift()),T.content.length&&U.merge(0,0,T.content[T.content.length-1],!0,0,T.openEnd)&&T.content.pop(),p=T.content.concat(U).concat(C.content)}else({content:p,breakAtStart:g,openStart:b,openEnd:y}=Vo.build(this.view.state.doc,h,O,this.decorations,this.dynamicDecorationMap));let{i:$,off:k}=s.findPos(u,1),{i:W,off:X}=s.findPos(a,-1);Q$(this,W,X,$,k,p,g,b,y)}i&&this.fixCompositionDOM(i)}compositionView(e){let t=new Yr(e.text.nodeValue);t.flags|=8;for(let{deco:r}of e.marks)t=new Ur(r,[t],t.length);let i=new fi;return i.append(t,0),i}fixCompositionDOM(e){let t=(s,l)=>{l.flags|=8|(l.children.some(a=>a.flags&7)?1:0),this.markedForComposition.add(l);let o=At.get(s);o&&o!=l&&(o.dom=null),l.setDOM(s)},i=this.childPos(e.range.fromB,1),r=this.children[i.i];t(e.line,r);for(let s=e.marks.length-1;s>=-1;s--)i=r.childPos(i.off,1),r=r.children[i.i],t(s>=0?e.marks[s].node:e.text,r)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let i=this.view.root.activeElement,r=i==this.dom,s=!r&&ic(this.dom,this.view.observer.selectionRange)&&!(i&&this.dom.contains(i));if(!(r||t||s))return;let l=this.forceSelection;this.forceSelection=!1;let o=this.view.state.selection.main,a=this.moveToLine(this.domAtPos(o.anchor)),u=o.empty?a:this.moveToLine(this.domAtPos(o.head));if(Pe.gecko&&o.empty&&!this.hasComposition&&B5(a)){let O=document.createTextNode("");this.view.observer.ignore(()=>a.node.insertBefore(O,a.node.childNodes[a.offset]||null)),a=u=new Ti(O,0),l=!0}let h=this.view.observer.selectionRange;(l||!h.focusNode||!mc(a.node,a.offset,h.anchorNode,h.anchorOffset)||!mc(u.node,u.offset,h.focusNode,h.focusOffset))&&(this.view.observer.ignore(()=>{Pe.android&&Pe.chrome&&this.dom.contains(h.focusNode)&&K5(h.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let O=gc(this.view.root);if(O)if(o.empty){if(Pe.gecko){let p=F5(a.node,a.offset);if(p&&p!=3){let g=G$(a.node,a.offset,p==1?1:-1);g&&(a=new Ti(g.node,g.offset))}}O.collapse(a.node,a.offset),o.bidiLevel!=null&&O.caretBidiLevel!==void 0&&(O.caretBidiLevel=o.bidiLevel)}else if(O.extend){O.collapse(a.node,a.offset);try{O.extend(u.node,u.offset)}catch{}}else{let p=document.createRange();o.anchor>o.head&&([a,u]=[u,a]),p.setEnd(u.node,u.offset),p.setStart(a.node,a.offset),O.removeAllRanges(),O.addRange(p)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(a,u)),this.impreciseAnchor=a.precise?null:new Ti(h.anchorNode,h.anchorOffset),this.impreciseHead=u.precise?null:new Ti(h.focusNode,h.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,i=gc(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let l=fi.find(this,t.head);if(!l)return;let o=l.posAtStart;if(t.head==o||t.head==o+l.length)return;let a=this.coordsAt(t.head,-1),u=this.coordsAt(t.head,1);if(!a||!u||a.bottom>u.top)return;let h=this.domAtPos(t.head+t.assoc);i.collapse(h.node,h.offset),i.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let O=e.observer.selectionRange;e.docView.posFromDOM(O.anchorNode,O.anchorOffset)!=t.from&&i.collapse(r,s)}moveToLine(e){let t=this.dom,i;if(e.node!=t)return e;for(let r=e.offset;!i&&r=0;r--){let s=At.get(t.childNodes[r]);s instanceof fi&&(i=s.domAtPos(s.length))}return i?new Ti(i.node,i.offset,!0):e}nearest(e){for(let t=e;t;){let i=At.get(t);if(i&&i.rootView==this)return i;t=t.parentNode}return null}posFromDOM(e,t){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,t)+i.posAtStart}domAtPos(e){let{i:t,off:i}=this.childCursor().findPos(e,-1);for(;t=0;l--){let o=this.children[l],a=s-o.breakAfter,u=a-o.length;if(ae||o.covers(1))&&(!i||o instanceof fi&&!(i instanceof fi&&t>=0))&&(i=o,r=u),s=u}return i?i.coordsAt(e-r,t):null}coordsForChar(e){let{i:t,off:i}=this.childPos(e,1),r=this.children[t];if(!(r instanceof fi))return null;for(;r.children.length;){let{i:o,off:a}=r.childPos(i,1);for(;;o++){if(o==r.children.length)return null;if((r=r.children[o]).length)break}i=a}if(!(r instanceof Yr))return null;let s=Ri(r.text,i);if(s==i)return null;let l=qs(r.dom,i,s).getClientRects();for(let o=0;oMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,a=this.view.textDirection==Nt.LTR;for(let u=0,h=0;hr)break;if(u>=i){let g=O.dom.getBoundingClientRect();if(t.push(g.height),l){let b=O.dom.lastChild,y=b?jo(b):[];if(y.length){let $=y[y.length-1],k=a?$.right-g.left:g.right-$.left;k>o&&(o=k,this.minWidth=s,this.minWidthFrom=u,this.minWidthTo=p)}}}u=p+O.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?Nt.RTL:Nt.LTR}measureTextSize(){for(let s of this.children)if(s instanceof fi){let l=s.measureTextSize();if(l)return l}let e=document.createElement("div"),t,i,r;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=jo(e.firstChild)[0];t=e.getBoundingClientRect().height,i=s?s.width/27:7,r=s?s.height:t,e.remove()}),{lineHeight:t,charWidth:i,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new w$(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let i=0,r=0;;r++){let s=r==t.viewports.length?null:t.viewports[r],l=s?s.from-1:this.length;if(l>i){let o=(t.lineBlockAt(l).bottom-t.lineBlockAt(i).top)/this.view.scaleY;e.push(Re.replace({widget:new Vm(o),block:!0,inclusive:!0,isBlockGap:!0}).range(i,l))}if(!s)break;i=s.to+1}return Re.set(e)}updateDeco(){let e=this.view.state.facet(Go).map((t,i)=>(this.dynamicDecorationMap[i]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),r;if(!i)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(i={left:Math.min(i.left,r.left),top:Math.min(i.top,r.top),right:Math.max(i.right,r.right),bottom:Math.max(i.bottom,r.bottom)});let s=q$(this.view),l={left:i.left-s.left,top:i.top-s.top,right:i.right+s.right,bottom:i.bottom+s.bottom},{offsetWidth:o,offsetHeight:a}=this.view.scrollDOM;_5(this.view.scrollDOM,l,t.head0)i=i.childNodes[r-1],r=Ar(i);else break}if(t>=0)for(let i=n,r=e;;){if(i.nodeType==3)return{node:i,offset:r};if(i.nodeType==1&&r=0)i=i.childNodes[r],r=0;else break}return null}function F5(n,e){return n.nodeType!=1?0:(e&&n.childNodes[e-1].contentEditable=="false"?1:0)|(e{ie.from&&(t=!0)}),t}function e4(n,e,t=1){let i=n.charCategorizer(e),r=n.doc.lineAt(e),s=e-r.from;if(r.length==0)return J.cursor(e);s==0?t=1:s==r.length&&(t=-1);let l=s,o=s;t<0?l=Ri(r.text,s,!1):o=Ri(r.text,s);let a=i(r.text.slice(l,o));for(;l>0;){let u=Ri(r.text,l,!1);if(i(r.text.slice(u,l))!=a)break;l=u}for(;on?e.left-n:Math.max(0,n-e.right)}function i4(n,e){return e.top>n?e.top-n:Math.max(0,n-e.bottom)}function Dh(n,e){return n.tope.top+1}function Dm(n,e){return en.bottom?{top:n.top,left:n.left,right:n.right,bottom:e}:n}function NO(n,e,t){let i,r,s,l,o=!1,a,u,h,O;for(let b=n.firstChild;b;b=b.nextSibling){let y=jo(b);for(let $=0;$X||l==X&&s>W){i=b,r=k,s=W,l=X;let T=X?t0?$0)}W==0?t>k.bottom&&(!h||h.bottomk.top)&&(u=b,O=k):h&&Dh(h,k)?h=qm(h,k.bottom):O&&Dh(O,k)&&(O=Dm(O,k.top))}}if(h&&h.bottom>=t?(i=a,r=h):O&&O.top<=t&&(i=u,r=O),!i)return{node:n,offset:0};let p=Math.max(r.left,Math.min(r.right,e));if(i.nodeType==3)return Im(i,p,t);if(o&&i.contentEditable!="false")return NO(i,p,t);let g=Array.prototype.indexOf.call(n.childNodes,i)+(e>=(r.left+r.right)/2?1:0);return{node:n,offset:g}}function Im(n,e,t){let i=n.nodeValue.length,r=-1,s=1e9,l=0;for(let o=0;ot?h.top-t:t-h.bottom)-1;if(h.left-1<=e&&h.right+1>=e&&O=(h.left+h.right)/2,g=p;if((Pe.chrome||Pe.gecko)&&qs(n,o).getBoundingClientRect().left==h.right&&(g=!p),O<=0)return{node:n,offset:o+(g?1:0)};r=o+(g?1:0),s=O}}}return{node:n,offset:r>-1?r:l>0?n.nodeValue.length:0}}function H$(n,e,t,i=-1){var r,s;let l=n.contentDOM.getBoundingClientRect(),o=l.top+n.viewState.paddingTop,a,{docHeight:u}=n.viewState,{x:h,y:O}=e,p=O-o;if(p<0)return 0;if(p>u)return n.state.doc.length;for(let T=n.viewState.heightOracle.textHeight/2,C=!1;a=n.elementAtHeight(p),a.type!=Mi.Text;)for(;p=i>0?a.bottom+T:a.top-T,!(p>=0&&p<=u);){if(C)return t?null:0;C=!0,i=-i}O=o+p;let g=a.from;if(gn.viewport.to)return n.viewport.to==n.state.doc.length?n.state.doc.length:t?null:Nm(n,l,a,h,O);let b=n.dom.ownerDocument,y=n.root.elementFromPoint?n.root:b,$=y.elementFromPoint(h,O);$&&!n.contentDOM.contains($)&&($=null),$||(h=Math.max(l.left+1,Math.min(l.right-1,h)),$=y.elementFromPoint(h,O),$&&!n.contentDOM.contains($)&&($=null));let k,W=-1;if($&&((r=n.docView.nearest($))===null||r===void 0?void 0:r.isEditable)!=!1){if(b.caretPositionFromPoint){let T=b.caretPositionFromPoint(h,O);T&&({offsetNode:k,offset:W}=T)}else if(b.caretRangeFromPoint){let T=b.caretRangeFromPoint(h,O);T&&({startContainer:k,startOffset:W}=T,(!n.contentDOM.contains(k)||Pe.safari&&n4(k,W,h)||Pe.chrome&&r4(k,W,h))&&(k=void 0))}}if(!k||!n.docView.dom.contains(k)){let T=fi.find(n.docView,g);if(!T)return p>a.top+a.height/2?a.to:a.from;({node:k,offset:W}=NO(T.dom,h,O))}let X=n.docView.nearest(k);if(!X)return null;if(X.isWidget&&((s=X.dom)===null||s===void 0?void 0:s.nodeType)==1){let T=X.dom.getBoundingClientRect();return e.yn.defaultLineHeight*1.5){let o=n.viewState.heightOracle.textHeight,a=Math.floor((r-t.top-(n.defaultLineHeight-o)*.5)/o);s+=a*n.viewState.heightOracle.lineLength}let l=n.state.sliceDoc(t.from,t.to);return t.from+TO(l,s,n.state.tabSize)}function n4(n,e,t){let i;if(n.nodeType!=3||e!=(i=n.nodeValue.length))return!1;for(let r=n.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return qs(n,i-1,i).getBoundingClientRect().left>t}function r4(n,e,t){if(e!=0)return!1;for(let r=n;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let i=n.nodeType==1?n.getBoundingClientRect():qs(n,0,Math.max(n.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function LO(n,e){let t=n.lineBlockAt(e);if(Array.isArray(t.type)){for(let i of t.type)if(i.to>e||i.to==e&&(i.to==t.to||i.type==Mi.Text))return i}return t}function s4(n,e,t,i){let r=LO(n,e.head),s=!i||r.type!=Mi.Text||!(n.lineWrapping||r.widgetLineBreaks)?null:n.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let l=n.dom.getBoundingClientRect(),o=n.textDirectionAt(r.from),a=n.posAtCoords({x:t==(o==Nt.LTR)?l.right-1:l.left+1,y:(s.top+s.bottom)/2});if(a!=null)return J.cursor(a,t?-1:1)}return J.cursor(t?r.to:r.from,t?-1:1)}function Lm(n,e,t,i){let r=n.state.doc.lineAt(e.head),s=n.bidiSpans(r),l=n.textDirectionAt(r.from);for(let o=e,a=null;;){let u=L5(r,s,l,o,t),h=j$;if(!u){if(r.number==(t?n.state.doc.lines:1))return o;h=` -`,r=n.state.doc.line(r.number+(t?1:-1)),s=n.bidiSpans(r),u=J.cursor(t?r.from:r.to)}if(a){if(!a(h))return o}else{if(!i)return u;a=i(h)}o=u}}function l4(n,e,t){let i=n.state.charCategorizer(e),r=i(t);return s=>{let l=i(s);return r==Vt.Space&&(r=l),r==l}}function o4(n,e,t,i){let r=e.head,s=t?1:-1;if(r==(t?n.state.doc.length:0))return J.cursor(r,e.assoc);let l=e.goalColumn,o,a=n.contentDOM.getBoundingClientRect(),u=n.coordsAtPos(r,e.assoc||-1),h=n.documentTop;if(u)l==null&&(l=u.left-a.left),o=s<0?u.top:u.bottom;else{let g=n.viewState.lineBlockAt(r);l==null&&(l=Math.min(a.right-a.left,n.defaultCharacterWidth*(r-g.from))),o=(s<0?g.top:g.bottom)+h}let O=a.left+l,p=i??n.viewState.heightOracle.textHeight>>1;for(let g=0;;g+=10){let b=o+(p+g)*s,y=H$(n,{x:O,y:b},!1,s);if(ba.bottom||(s<0?yr)){let $=n.docView.coordsForChar(y),k=!$||b<$.top?-1:1;return J.cursor(y,k,void 0,l)}}}function nc(n,e,t){for(;;){let i=0;for(let r of n)r.between(e-1,e+1,(s,l,o)=>{if(e>s&&er(n)),t.from,e.head>t.from?-1:1);return i==t.from?t:J.cursor(i,inull),Pe.gecko&&Q4(e.contentDOM.ownerDocument)}handleEvent(e){!g4(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,t){let i=this.handlers[e];if(i){for(let r of i.observers)r(this.view,t);for(let r of i.handlers){if(t.defaultPrevented)break;if(r(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=f4(e),i=this.handlers,r=this.view.contentDOM;for(let s in t)if(s!="scroll"){let l=!t[s].handlers.length,o=i[s];o&&l!=!o.handlers.length&&(r.removeEventListener(s,this.handleEvent),o=null),o||r.addEventListener(s,this.handleEvent,{passive:l})}for(let s in i)s!="scroll"&&!t[s]&&r.removeEventListener(s,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()i.keyCode==e.keyCode))&&!e.ctrlKey||c4.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,xl(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Pe.safari&&!Pe.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function Bm(n,e){return(t,i)=>{try{return e.call(n,i,t)}catch(r){Cn(t.state,r)}}}function f4(n){let e=Object.create(null);function t(i){return e[i]||(e[i]={observers:[],handlers:[]})}for(let i of n){let r=i.spec;if(r&&r.domEventHandlers)for(let s in r.domEventHandlers){let l=r.domEventHandlers[s];l&&t(s).handlers.push(Bm(i.value,l))}if(r&&r.domEventObservers)for(let s in r.domEventObservers){let l=r.domEventObservers[s];l&&t(s).observers.push(Bm(i.value,l))}}for(let i in Bn)t(i).handlers.push(Bn[i]);for(let i in jn)t(i).observers.push(jn[i]);return e}const K$=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],c4="dthko",J$=[16,17,18,20,91,92,224,225],Tf=6;function Zf(n){return Math.max(0,n)*.7+8}function u4(n,e){return Math.max(Math.abs(n.clientX-e.clientX),Math.abs(n.clientY-e.clientY))}class h4{constructor(e,t,i,r){this.view=e,this.startEvent=t,this.style=i,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=x5(e.contentDOM),this.atoms=e.state.facet(Wd).map(l=>l(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(ht.allowMultipleSelections)&&O4(e,t),this.dragging=p4(e,t)&&ny(t)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&u4(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let i=0,r=0,s=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},l=q$(this.view);e.clientX-l.left<=s.left+Tf?i=-Zf(s.left-e.clientX):e.clientX+l.right>=s.right-Tf&&(i=Zf(e.clientX-s.right)),e.clientY-l.top<=s.top+Tf?r=-Zf(s.top-e.clientY):e.clientY+l.bottom>=s.bottom-Tf&&(r=Zf(e.clientY-s.bottom)),this.setScrollSpeed(i,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let i=0;ithis.select(this.lastEvent),20)}}function O4(n,e){let t=n.state.facet(Z$);return t.length?t[0](e):Pe.mac?e.metaKey:e.ctrlKey}function d4(n,e){let t=n.state.facet(R$);return t.length?t[0](e):Pe.mac?!e.altKey:!e.ctrlKey}function p4(n,e){let{main:t}=n.state.selection;if(t.empty)return!1;let i=gc(n.root);if(!i||i.rangeCount==0)return!0;let r=i.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&l.top<=e.clientY&&l.bottom>=e.clientY)return!0}return!1}function g4(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,i;t!=n.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(i=At.get(t))&&i.ignoreEvent(e))return!1;return!0}const Bn=Object.create(null),jn=Object.create(null),ey=Pe.ie&&Pe.ie_version<15||Pe.ios&&Pe.webkit_version<604;function m4(n){let e=n.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{n.focus(),t.remove(),ty(n,t.value)},50)}function ty(n,e){let{state:t}=n,i,r=1,s=t.toText(e),l=s.lines==t.selection.ranges.length;if(BO!=null&&t.selection.ranges.every(a=>a.empty)&&BO==s.toString()){let a=-1;i=t.changeByRange(u=>{let h=t.doc.lineAt(u.from);if(h.from==a)return{range:u};a=h.from;let O=t.toText((l?s.line(r++).text:e)+t.lineBreak);return{changes:{from:h.from,insert:O},range:J.cursor(u.from+O.length)}})}else l?i=t.changeByRange(a=>{let u=s.line(r++);return{changes:{from:a.from,to:a.to,insert:u.text},range:J.cursor(a.from+u.length)}}):i=t.replaceSelection(s);n.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}jn.scroll=n=>{n.inputState.lastScrollTop=n.scrollDOM.scrollTop,n.inputState.lastScrollLeft=n.scrollDOM.scrollLeft};Bn.keydown=(n,e)=>(n.inputState.setSelectionOrigin("select"),e.keyCode==27&&(n.inputState.lastEscPress=Date.now()),!1);jn.touchstart=(n,e)=>{n.inputState.lastTouchTime=Date.now(),n.inputState.setSelectionOrigin("select.pointer")};jn.touchmove=n=>{n.inputState.setSelectionOrigin("select.pointer")};Bn.mousedown=(n,e)=>{if(n.observer.flush(),n.inputState.lastTouchTime>Date.now()-2e3)return!1;let t=null;for(let i of n.state.facet(X$))if(t=i(n,e),t)break;if(!t&&e.button==0&&(t=$4(n,e)),t){let i=!n.hasFocus;n.inputState.startMouseSelection(new h4(n,e,t,i)),i&&n.observer.ignore(()=>$$(n.contentDOM));let r=n.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}return!1};function jm(n,e,t,i){if(i==1)return J.cursor(e,t);if(i==2)return e4(n.state,e,t);{let r=fi.find(n.docView,e),s=n.state.doc.lineAt(r?r.posAtEnd:e),l=r?r.posAtStart:s.from,o=r?r.posAtEnd:s.to;return on>=e.top&&n<=e.bottom,Fm=(n,e,t)=>iy(e,t)&&n>=t.left&&n<=t.right;function S4(n,e,t,i){let r=fi.find(n.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let l=r.coordsAt(s,-1);if(l&&Fm(t,i,l))return-1;let o=r.coordsAt(s,1);return o&&Fm(t,i,o)?1:l&&iy(i,l)?-1:1}function Gm(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:S4(n,t,e.clientX,e.clientY)}}const b4=Pe.ie&&Pe.ie_version<=11;let Hm=null,Km=0,Jm=0;function ny(n){if(!b4)return n.detail;let e=Hm,t=Jm;return Hm=n,Jm=Date.now(),Km=!e||t>Date.now()-400&&Math.abs(e.clientX-n.clientX)<2&&Math.abs(e.clientY-n.clientY)<2?(Km+1)%3:1}function $4(n,e){let t=Gm(n,e),i=ny(e),r=n.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),r=r.map(s.changes))},get(s,l,o){let a=Gm(n,s),u,h=jm(n,a.pos,a.bias,i);if(t.pos!=a.pos&&!l){let O=jm(n,t.pos,t.bias,i),p=Math.min(O.from,h.from),g=Math.max(O.to,h.to);h=p1&&(u=y4(r,a.pos))?u:o?r.addRange(h):J.create([h])}}}function y4(n,e){for(let t=0;t=e)return J.create(n.ranges.slice(0,t).concat(n.ranges.slice(t+1)),n.mainIndex==t?0:n.mainIndex-(n.mainIndex>t?1:0))}return null}Bn.dragstart=(n,e)=>{let{selection:{main:t}}=n.state;if(e.target.draggable){let r=n.docView.nearest(e.target);if(r&&r.isWidget){let s=r.posAtStart,l=s+r.length;(s>=t.to||l<=t.from)&&(t=J.range(s,l))}}let{inputState:i}=n;return i.mouseSelection&&(i.mouseSelection.dragging=!0),i.draggedContent=t,e.dataTransfer&&(e.dataTransfer.setData("Text",n.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Bn.dragend=n=>(n.inputState.draggedContent=null,!1);function e1(n,e,t,i){if(!t)return;let r=n.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=n.inputState,l=i&&s&&d4(n,e)?{from:s.from,to:s.to}:null,o={from:r,insert:t},a=n.state.changes(l?[l,o]:o);n.focus(),n.dispatch({changes:a,selection:{anchor:a.mapPos(r,-1),head:a.mapPos(r,1)},userEvent:l?"move.drop":"input.drop"}),n.inputState.draggedContent=null}Bn.drop=(n,e)=>{if(!e.dataTransfer)return!1;if(n.state.readOnly)return!0;let t=e.dataTransfer.files;if(t&&t.length){let i=Array(t.length),r=0,s=()=>{++r==t.length&&e1(n,e,i.filter(l=>l!=null).join(n.state.lineBreak),!1)};for(let l=0;l{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(i[l]=o.result),s()},o.readAsText(t[l])}return!0}else{let i=e.dataTransfer.getData("Text");if(i)return e1(n,e,i,!0),!0}return!1};Bn.paste=(n,e)=>{if(n.state.readOnly)return!0;n.observer.flush();let t=ey?null:e.clipboardData;return t?(ty(n,t.getData("text/plain")||t.getData("text/uri-text")),!0):(m4(n),!1)};function v4(n,e){let t=n.dom.parentNode;if(!t)return;let i=t.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),n.focus()},50)}function w4(n){let e=[],t=[],i=!1;for(let r of n.selection.ranges)r.empty||(e.push(n.sliceDoc(r.from,r.to)),t.push(r));if(!e.length){let r=-1;for(let{from:s}of n.selection.ranges){let l=n.doc.lineAt(s);l.number>r&&(e.push(l.text),t.push({from:l.from,to:Math.min(n.doc.length,l.to+1)})),r=l.number}i=!0}return{text:e.join(n.lineBreak),ranges:t,linewise:i}}let BO=null;Bn.copy=Bn.cut=(n,e)=>{let{text:t,ranges:i,linewise:r}=w4(n.state);if(!t&&!r)return!1;BO=r?t:null,e.type=="cut"&&!n.state.readOnly&&n.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"});let s=ey?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",t),!0):(v4(n,t),!1)};const ry=Mr.define();function sy(n,e){let t=[];for(let i of n.facet(U$)){let r=i(n,e);r&&t.push(r)}return t?n.update({effects:t,annotations:ry.of(!0)}):null}function ly(n){setTimeout(()=>{let e=n.hasFocus;if(e!=n.inputState.notifiedFocused){let t=sy(n.state,e);t?n.dispatch(t):n.update([])}},10)}jn.focus=n=>{n.inputState.lastFocusTime=Date.now(),!n.scrollDOM.scrollTop&&(n.inputState.lastScrollTop||n.inputState.lastScrollLeft)&&(n.scrollDOM.scrollTop=n.inputState.lastScrollTop,n.scrollDOM.scrollLeft=n.inputState.lastScrollLeft),ly(n)};jn.blur=n=>{n.observer.clearSelectionRange(),ly(n)};jn.compositionstart=jn.compositionupdate=n=>{n.inputState.compositionFirstChange==null&&(n.inputState.compositionFirstChange=!0),n.inputState.composing<0&&(n.inputState.composing=0)};jn.compositionend=n=>{n.inputState.composing=-1,n.inputState.compositionEndedAt=Date.now(),n.inputState.compositionPendingKey=!0,n.inputState.compositionPendingChange=n.observer.pendingRecords().length>0,n.inputState.compositionFirstChange=null,Pe.chrome&&Pe.android?n.observer.flushSoon():n.inputState.compositionPendingChange?Promise.resolve().then(()=>n.observer.flush()):setTimeout(()=>{n.inputState.composing<0&&n.docView.hasComposition&&n.update([])},50)};jn.contextmenu=n=>{n.inputState.lastContextMenu=Date.now()};Bn.beforeinput=(n,e)=>{var t;let i;if(Pe.chrome&&Pe.android&&(i=K$.find(r=>r.inputType==e.inputType))&&(n.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let r=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&n.hasFocus&&(n.contentDOM.blur(),n.focus())},100)}return!1};const t1=new Set;function Q4(n){t1.has(n)||(t1.add(n),n.addEventListener("copy",()=>{}),n.addEventListener("cut",()=>{}))}const i1=["pre-wrap","normal","pre-line","break-spaces"];class k4{constructor(e){this.lineWrapping=e,this.doc=St.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return i1.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let i=0;i-1,a=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=i,this.textHeight=r,this.lineLength=s,a){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>rc&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return zi.of(i)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,i,r){let s=this,l=i.doc;for(let o=r.length-1;o>=0;o--){let{fromA:a,toA:u,fromB:h,toB:O}=r[o],p=s.lineAt(a,Xt.ByPosNoHeight,i.setDoc(t),0,0),g=p.to>=u?p:s.lineAt(u,Xt.ByPosNoHeight,i,0,0);for(O+=g.to-u,u=g.to;o>0&&p.from<=r[o-1].toA;)a=r[o-1].fromA,h=r[o-1].fromB,o--,as*2){let o=e[t-1];o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),i+=1+o.break,r-=o.size}else if(s>r*2){let o=e[i];o.break?e.splice(i,1,o.left,null,o.right):e.splice(i,1,o.left,o.right),i+=2+o.break,s-=o.size}else break;else if(r=s&&l(this.blockAt(0,i,r,s))}updateHeight(e,t=0,i=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class cn extends oy{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,i,r){return new fr(r,this.length,i,this.height,this.breaks)}replace(e,t,i){let r=i[0];return i.length==1&&(r instanceof cn||r instanceof bi&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof bi?r=new cn(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):zi.of(i)}updateHeight(e,t=0,i=!1,r){return r&&r.from<=t&&r.more?this.setHeight(e,r.heights[r.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class bi extends zi{constructor(e){super(e,0)}heightMetrics(e,t){let i=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,s=r-i+1,l,o=0;if(e.lineWrapping){let a=Math.min(this.height,e.lineHeight*s);l=a/s,this.length>s+1&&(o=(this.height-a)/(this.length-s-1))}else l=this.height/s;return{firstLine:i,lastLine:r,perLine:l,perChar:o}}blockAt(e,t,i,r){let{firstLine:s,lastLine:l,perLine:o,perChar:a}=this.heightMetrics(t,r);if(t.lineWrapping){let u=r+Math.round(Math.max(0,Math.min(1,(e-i)/this.height))*this.length),h=t.doc.lineAt(u),O=o+h.length*a,p=Math.max(i,e-O/2);return new fr(h.from,h.length,p,O,0)}else{let u=Math.max(0,Math.min(l-s,Math.floor((e-i)/o))),{from:h,length:O}=t.doc.line(s+u);return new fr(h,O,i+o*u,o,0)}}lineAt(e,t,i,r,s){if(t==Xt.ByHeight)return this.blockAt(e,i,r,s);if(t==Xt.ByPosNoHeight){let{from:g,to:b}=i.doc.lineAt(e);return new fr(g,b-g,0,0,0)}let{firstLine:l,perLine:o,perChar:a}=this.heightMetrics(i,s),u=i.doc.lineAt(e),h=o+u.length*a,O=u.number-l,p=r+o*O+a*(u.from-s-O);return new fr(u.from,u.length,Math.max(r,Math.min(p,r+this.height-h)),h,0)}forEachLine(e,t,i,r,s,l){e=Math.max(e,s),t=Math.min(t,s+this.length);let{firstLine:o,perLine:a,perChar:u}=this.heightMetrics(i,s);for(let h=e,O=r;h<=t;){let p=i.doc.lineAt(h);if(h==e){let b=p.number-o;O+=a*b+u*(e-s-b)}let g=a+u*p.length;l(new fr(p.from,p.length,O,g,0)),O+=g,h=p.to+1}}replace(e,t,i){let r=this.length-t;if(r>0){let s=i[i.length-1];s instanceof bi?i[i.length-1]=new bi(s.length+r):i.push(null,new bi(r-1))}if(e>0){let s=i[0];s instanceof bi?i[0]=new bi(e+s.length):i.unshift(new bi(e-1),null)}return zi.of(i)}decomposeLeft(e,t){t.push(new bi(e-1),null)}decomposeRight(e,t){t.push(null,new bi(this.length-e-1))}updateHeight(e,t=0,i=!1,r){let s=t+this.length;if(r&&r.from<=t+this.length&&r.more){let l=[],o=Math.max(t,r.from),a=-1;for(r.from>t&&l.push(new bi(r.from-t-1).updateHeight(e,t));o<=s&&r.more;){let h=e.doc.lineAt(o).length;l.length&&l.push(null);let O=r.heights[r.index++];a==-1?a=O:Math.abs(O-a)>=rc&&(a=-2);let p=new cn(h,O);p.outdated=!1,l.push(p),o+=h+1}o<=s&&l.push(null,new bi(s-o).updateHeight(e,o));let u=zi.of(l);return(a<0||Math.abs(u.height-this.height)>=rc||Math.abs(a-this.heightMetrics(e,t).perLine)>=rc)&&(e.heightChanged=!0),u}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class _4 extends zi{constructor(e,t,i){super(e.length+t+i.length,e.height+i.height,t|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,t,i,r){let s=i+this.left.height;return eo))return u;let h=t==Xt.ByPosNoHeight?Xt.ByPosNoHeight:Xt.ByPos;return a?u.join(this.right.lineAt(o,h,i,l,o)):this.left.lineAt(o,h,i,r,s).join(u)}forEachLine(e,t,i,r,s,l){let o=r+this.left.height,a=s+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,t,i,o,a,l);else{let u=this.lineAt(a,Xt.ByPos,i,r,s);e=e&&u.from<=t&&l(u),t>u.to&&this.right.forEachLine(u.to+1,t,i,o,a,l)}}replace(e,t,i){let r=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,i));let s=[];e>0&&this.decomposeLeft(e,s);let l=s.length;for(let o of i)s.push(o);if(e>0&&n1(s,l-1),t=i&&t.push(null)),e>i&&this.right.decomposeLeft(e-i,t)}decomposeRight(e,t){let i=this.left.length,r=i+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e2*t.size||t.size>2*e.size?zi.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,i=!1,r){let{left:s,right:l}=this,o=t+s.length+this.break,a=null;return r&&r.from<=t+s.length&&r.more?a=s=s.updateHeight(e,t,i,r):s.updateHeight(e,t,i),r&&r.from<=o+l.length&&r.more?a=l=l.updateHeight(e,o,i,r):l.updateHeight(e,o,i),a?this.balanced(s,l):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function n1(n,e){let t,i;n[e]==null&&(t=n[e-1])instanceof bi&&(i=n[e+1])instanceof bi&&n.splice(e-1,3,new bi(t.length+1+i.length))}const x4=5;class Cd{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let i=Math.min(t,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof cn?r.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new cn(i-this.pos,-1)),this.writtenTo=i,t>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,i){if(e=x4)&&this.addLineDeco(r,s,l)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new cn(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let i=new bi(t-e);return this.oracle.doc.lineAt(e).to==t&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof cn)return e;let t=new cn(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,i){let r=this.ensureLine();r.length+=i,r.collapsed+=i,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos=this.pos+i}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof cn)&&!this.isCovered?this.nodes.push(new cn(0,-1)):(this.writtenToh.clientHeight||h.scrollWidth>h.clientWidth)&&O.overflow!="visible"){let p=h.getBoundingClientRect();s=Math.max(s,p.left),l=Math.min(l,p.right),o=Math.max(o,p.top),a=u==n.parentNode?p.bottom:Math.min(a,p.bottom)}u=O.position=="absolute"||O.position=="fixed"?h.offsetParent:h.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:s-t.left,right:Math.max(s,l)-t.left,top:o-(t.top+e),bottom:Math.max(o,a)-(t.top+e)}}function Z4(n,e){let t=n.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Ih{constructor(e,t,i){this.from=e,this.to=t,this.size=i}static same(e,t){if(e.length!=t.length)return!1;for(let i=0;itypeof i!="function"&&i.class=="cm-lineWrapping");this.heightOracle=new k4(t),this.stateDeco=e.facet(Go).filter(i=>typeof i!="function"),this.heightMap=zi.empty().applyChanges(this.stateDeco,St.empty,this.heightOracle.setDoc(e.doc),[new Tn(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Re.set(this.lineGaps.map(i=>i.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let i=0;i<=1;i++){let r=i?t.head:t.anchor;if(!e.some(({from:s,to:l})=>r>=s&&r<=l)){let{from:s,to:l}=this.lineBlockAt(r);e.push(new Rf(s,l))}}this.viewports=e.sort((i,r)=>i.from-r.from),this.scaler=this.heightMap.height<=7e6?s1:new Y4(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Zo(e,this.scaler))})}update(e,t=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(Go).filter(h=>typeof h!="function");let r=e.changedRanges,s=Tn.extendWithRanges(r,W4(i,this.stateDeco,e?e.changes:ci.empty(this.state.doc.length))),l=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=l&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,t));let u=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),u&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(M$)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,i=window.getComputedStyle(t),r=this.heightOracle,s=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?Nt.RTL:Nt.LTR;let l=this.heightOracle.mustRefreshForWrapping(s),o=t.getBoundingClientRect(),a=l||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let u=0,h=0;if(o.width&&o.height){let T=o.width/t.offsetWidth,C=o.height/t.offsetHeight;(T>.995&&T<1.005||!isFinite(T)||Math.abs(o.width-t.offsetWidth)<1)&&(T=1),(C>.995&&C<1.005||!isFinite(C)||Math.abs(o.height-t.offsetHeight)<1)&&(C=1),(this.scaleX!=T||this.scaleY!=C)&&(this.scaleX=T,this.scaleY=C,u|=8,l=a=!0)}let O=(parseInt(i.paddingTop)||0)*this.scaleY,p=(parseInt(i.paddingBottom)||0)*this.scaleY;(this.paddingTop!=O||this.paddingBottom!=p)&&(this.paddingTop=O,this.paddingBottom=p,u|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=8);let g=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=g&&(this.scrollAnchorHeight=-1,this.scrollTop=g),this.scrolledToBottom=v$(e.scrollDOM);let b=(this.printing?Z4:T4)(t,this.paddingTop),y=b.top-this.pixelViewport.top,$=b.bottom-this.pixelViewport.bottom;this.pixelViewport=b;let k=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(k!=this.inView&&(this.inView=k,k&&(a=!0)),!this.inView&&!this.scrollTarget)return 0;let W=o.width;if((this.contentDOMWidth!=W||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,u|=8),a){let T=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(T)&&(l=!0),l||r.lineWrapping&&Math.abs(W-this.contentDOMWidth)>r.charWidth){let{lineHeight:C,charWidth:U,textHeight:z}=e.docView.measureTextSize();l=C>0&&r.refresh(s,C,U,z,W/U,T),l&&(e.docView.minWidth=0,u|=8)}y>0&&$>0?h=Math.max(y,$):y<0&&$<0&&(h=Math.min(y,$)),r.heightChanged=!1;for(let C of this.viewports){let U=C.from==this.viewport.from?T:e.docView.measureVisibleLineHeights(C);this.heightMap=(l?zi.empty().applyChanges(this.stateDeco,St.empty,this.heightOracle,[new Tn(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,l,new P4(C.from,U))}r.heightChanged&&(u|=2)}let X=!this.viewportIsAppropriate(this.viewport,h)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return X&&(this.viewport=this.getViewport(h,this.scrollTarget)),this.updateForViewport(),(u&2||X)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(l?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:l,visibleBottom:o}=this,a=new Rf(r.lineAt(l-i*1e3,Xt.ByHeight,s,0,0).from,r.lineAt(o+(1-i)*1e3,Xt.ByHeight,s,0,0).to);if(t){let{head:u}=t.range;if(ua.to){let h=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),O=r.lineAt(u,Xt.ByPos,s,0,0),p;t.y=="center"?p=(O.top+O.bottom)/2-h/2:t.y=="start"||t.y=="nearest"&&u=o+Math.max(10,Math.min(i,250)))&&r>l-2*1e3&&s>1,l=r<<1;if(this.defaultTextDirection!=Nt.LTR&&!i)return[];let o=[],a=(u,h,O,p)=>{if(h-uu&&$$.from>=O.from&&$.to<=O.to&&Math.abs($.from-u)$.fromk));if(!y){if(h$.from<=h&&$.to>=h)){let $=t.moveToLineBoundary(J.cursor(h),!1,!0).head;$>u&&(h=$)}y=new Ih(u,h,this.gapSize(O,u,h,p))}o.push(y)};for(let u of this.viewportLines){if(u.lengthu.from&&a(u.from,p,u,h),gt.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];wt.spans(e,this.viewport.from,this.viewport.to,{span(r,s){t.push({from:r,to:s})},point(){}},20);let i=t.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=t[s].from||r.to!=t[s].to);return this.visibleRanges=t,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Zo(this.heightMap.lineAt(e,Xt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Zo(this.heightMap.lineAt(this.scaler.fromDOM(e),Xt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return Zo(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Rf{constructor(e,t){this.from=e,this.to=t}}function X4(n,e,t){let i=[],r=n,s=0;return wt.spans(t,n,e,{span(){},point(l,o){l>r&&(i.push({from:r,to:l}),s+=l-r),r=o}},20),r=1)return e[e.length-1].to;let i=Math.floor(n*t);for(let r=0;;r++){let{from:s,to:l}=e[r],o=l-s;if(i<=o)return s+i;i-=o}}function Af(n,e){let t=0;for(let{from:i,to:r}of n.ranges){if(e<=r){t+=e-i;break}t+=r-i}return t/n.total}function A4(n,e){for(let t of n)if(e(t))return t}const s1={toDOM(n){return n},fromDOM(n){return n},scale:1};class Y4{constructor(e,t,i){let r=0,s=0,l=0;this.viewports=i.map(({from:o,to:a})=>{let u=t.lineAt(o,Xt.ByPos,e,0,0).top,h=t.lineAt(a,Xt.ByPos,e,0,0).bottom;return r+=h-u,{from:o,to:a,top:u,bottom:h,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r);for(let o of this.viewports)o.domTop=l+(o.top-s)*this.scale,l=o.domBottom=o.domTop+(o.bottom-o.top),s=o.bottom}toDOM(e){for(let t=0,i=0,r=0;;t++){let s=tZo(r,e)):n._content)}const Yf=we.define({combine:n=>n.join(" ")}),jO=we.define({combine:n=>n.indexOf(!0)>-1}),FO=Os.newName(),ay=Os.newName(),fy=Os.newName(),cy={"&light":"."+ay,"&dark":"."+fy};function GO(n,e,t){return new Os(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,r=>{if(r=="&")return n;if(!t||!t[r])throw new RangeError(`Unsupported selector: ${r}`);return t[r]}):n+" "+i}})}const U4=GO("."+FO,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},cy),Ro="￿";class E4{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(ht.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Ro}readRange(e,t){if(!e)return this;let i=e.parentNode;for(let r=e;;){this.findPointBefore(i,r);let s=this.text.length;this.readNode(r);let l=r.nextSibling;if(l==t)break;let o=At.get(r),a=At.get(l);(o&&a?o.breakAfter:(o?o.breakAfter:l1(r))||l1(l)&&(r.nodeName!="BR"||r.cmIgnore)&&this.text.length>s)&&this.lineBreak(),r=l}return this.findPointBefore(i,t),this}readTextNode(e){let t=e.nodeValue;for(let i of this.points)i.node==e&&(i.pos=this.text.length+Math.min(i.offset,t.length));for(let i=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,l=1,o;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,i),l=this.lineSeparator.length):(o=r.exec(t))&&(s=o.index,l=o[0].length),this.append(t.slice(i,s<0?t.length:s)),s<0)break;if(this.lineBreak(),l>1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=l-1);i=s+l}}readNode(e){if(e.cmIgnore)return;let t=At.get(e),i=t&&t.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let r=i.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}findPointInside(e,t){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+(M4(e,i.node,i.offset)?t:0))}}function M4(n,e,t){for(;;){if(!e||t-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,i,0))){let o=s||l?[]:q4(e),a=new E4(o,e.state);a.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=a.text,this.newSel=I4(o,this.bounds.from)}else{let o=e.observer.selectionRange,a=s&&s.node==o.focusNode&&s.offset==o.focusOffset||!XO(e.contentDOM,o.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(o.focusNode,o.focusOffset),u=l&&l.node==o.anchorNode&&l.offset==o.anchorOffset||!XO(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset);this.newSel=J.single(u,a)}}}function uy(n,e){let t,{newSel:i}=e,r=n.state.selection.main,s=n.inputState.lastKeyTime>Date.now()-100?n.inputState.lastKeyCode:-1;if(e.bounds){let{from:l,to:o}=e.bounds,a=r.from,u=null;(s===8||Pe.android&&e.text.length=r.from&&t.to<=r.to&&(t.from!=r.from||t.to!=r.to)&&r.to-r.from-(t.to-t.from)<=4?t={from:r.from,to:r.to,insert:n.state.doc.slice(r.from,t.from).append(t.insert).append(n.state.doc.slice(t.to,r.to))}:(Pe.mac||Pe.android)&&t&&t.from==t.to&&t.from==r.head-1&&/^\. ?$/.test(t.insert.toString())&&n.contentDOM.getAttribute("autocorrect")=="off"?(i&&t.insert.length==2&&(i=J.single(i.main.anchor-1,i.main.head-1)),t={from:r.from,to:r.to,insert:St.of([" "])}):Pe.chrome&&t&&t.from==t.to&&t.from==r.head&&t.insert.toString()==` - `&&n.lineWrapping&&(i&&(i=J.single(i.main.anchor-1,i.main.head-1)),t={from:r.from,to:r.to,insert:St.of([" "])}),t){if(Pe.ios&&n.inputState.flushIOSKey()||Pe.android&&(t.from==r.from&&t.to==r.to&&t.insert.length==1&&t.insert.lines==2&&xl(n.contentDOM,"Enter",13)||(t.from==r.from-1&&t.to==r.to&&t.insert.length==0||s==8&&t.insert.lengthr.head)&&xl(n.contentDOM,"Backspace",8)||t.from==r.from&&t.to==r.to+1&&t.insert.length==0&&xl(n.contentDOM,"Delete",46)))return!0;let l=t.insert.toString();n.inputState.composing>=0&&n.inputState.composing++;let o,a=()=>o||(o=V4(n,t,i));return n.state.facet(Y$).some(u=>u(n,t.from,t.to,l,a))||n.dispatch(a()),!0}else if(i&&!i.main.eq(r)){let l=!1,o="select";return n.inputState.lastSelectionTime>Date.now()-50&&(n.inputState.lastSelectionOrigin=="select"&&(l=!0),o=n.inputState.lastSelectionOrigin),n.dispatch({selection:i,scrollIntoView:l,userEvent:o}),!0}else return!1}function V4(n,e,t){let i,r=n.state,s=r.selection.main;if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!t||t.main.empty&&t.main.from==e.from+e.insert.length)&&n.inputState.composing<0){let o=s.frome.to?r.sliceDoc(e.to,s.to):"";i=r.replaceSelection(n.state.toText(o+e.insert.sliceString(0,void 0,n.state.lineBreak)+a))}else{let o=r.changes(e),a=t&&t.main.to<=o.newLength?t.main:void 0;if(r.selection.ranges.length>1&&n.inputState.composing>=0&&e.to<=s.to&&e.to>=s.to-10){let u=n.state.sliceDoc(e.from,e.to),h,O=t&&F$(n,t.main.head);if(O){let b=e.insert.length-(e.to-e.from);h={from:O.from,to:O.to-b}}else h=n.state.doc.lineAt(s.head);let p=s.to-e.to,g=s.to-s.from;i=r.changeByRange(b=>{if(b.from==s.from&&b.to==s.to)return{changes:o,range:a||b.map(o)};let y=b.to-p,$=y-u.length;if(b.to-b.from!=g||n.state.sliceDoc($,y)!=u||b.to>=h.from&&b.from<=h.to)return{range:b};let k=r.changes({from:$,to:y,insert:e.insert}),W=b.to-s.to;return{changes:k,range:a?J.range(Math.max(0,a.anchor+W),Math.max(0,a.head+W)):b.map(k)}})}else i={changes:o,selection:a&&r.selection.replaceRange(a)}}let l="input.type";return(n.composing||n.inputState.compositionPendingChange&&n.inputState.compositionEndedAt>Date.now()-50)&&(n.inputState.compositionPendingChange=!1,l+=".compose",n.inputState.compositionFirstChange&&(l+=".start",n.inputState.compositionFirstChange=!1)),r.update(i,{userEvent:l,scrollIntoView:!0})}function D4(n,e,t,i){let r=Math.min(n.length,e.length),s=0;for(;s0&&o>0&&n.charCodeAt(l-1)==e.charCodeAt(o-1);)l--,o--;if(i=="end"){let a=Math.max(0,s-Math.min(l,o));t-=l+a-s}if(l=l?s-t:0;s-=a,o=s+(o-l),l=s}else if(o=o?s-t:0;s-=a,l=s+(l-o),o=s}return{from:s,toA:l,toB:o}}function q4(n){let e=[];if(n.root.activeElement!=n.contentDOM)return e;let{anchorNode:t,anchorOffset:i,focusNode:r,focusOffset:s}=n.observer.selectionRange;return t&&(e.push(new o1(t,i)),(r!=t||s!=i)&&e.push(new o1(r,s))),e}function I4(n,e){if(n.length==0)return null;let t=n[0].pos,i=n.length==2?n[1].pos:t;return t>-1&&i>-1?J.single(t+e,i+e):null}const N4={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Nh=Pe.ie&&Pe.ie_version<=11;class L4{constructor(e){this.view=e,this.active=!1,this.selectionRange=new W5,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let i of t)this.queue.push(i);(Pe.ie&&Pe.ie_version<=11||Pe.ios&&e.composing)&&t.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),Nh&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,i)=>t!=e[i]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,r=this.selectionRange;if(i.state.facet(Hc)?i.root.activeElement!=this.dom:!ic(i.dom,r))return;let s=r.anchorNode&&i.docView.nearest(r.anchorNode);if(s&&s.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(Pe.ie&&Pe.ie_version<=11||Pe.android&&Pe.chrome)&&!i.state.selection.main.empty&&r.focusNode&&mc(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Pe.safari&&e.root.nodeType==11&&k5(this.dom.ownerDocument)==this.dom&&B4(this.view)||gc(e.root);if(!t||this.selectionRange.eq(t))return!1;let i=ic(this.dom,t);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&xl(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,i=-1,r=!1;for(let s of e){let l=this.readMutation(s);l&&(l.typeOver&&(r=!0),t==-1?{from:t,to:i}=l:(t=Math.min(l.from,t),i=Math.max(l.to,i)))}return{from:t,to:i,typeOver:r}}readChange(){let{from:e,to:t,typeOver:i}=this.processRecords(),r=this.selectionChanged&&ic(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new z4(this.view,e,t,i);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let i=this.view.state,r=uy(this.view,t);return this.view.state==i&&this.view.update([]),r}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.flags|=4),e.type=="childList"){let i=a1(t,e.previousSibling||e.target.previousSibling,-1),r=a1(t,e.nextSibling||e.target.nextSibling,1);return{from:i?t.posAfter(i):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,i;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(i=this.resizeScroll)===null||i===void 0||i.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function a1(n,e,t){for(;e;){let i=At.get(e);if(i&&i.parent==n)return i;let r=e.parentNode;e=r!=n.dom?r:t>0?e.nextSibling:e.previousSibling}return null}function B4(n){let e=null;function t(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}if(n.contentDOM.addEventListener("beforeinput",t,!0),n.dom.ownerDocument.execCommand("indent"),n.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let i=e.startContainer,r=e.startOffset,s=e.endContainer,l=e.endOffset,o=n.docView.domAtPos(n.state.selection.main.anchor);return mc(o.node,o.offset,s,l)&&([i,r,s,l]=[s,l,i,r]),{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:l}}class pe{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM);let{dispatch:t}=e;this.dispatchTransactions=e.dispatchTransactions||t&&(i=>i.forEach(r=>t(r,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||C5(e.parent)||document,this.viewState=new r1(e.state||ht.create(e)),e.scrollTo&&e.scrollTo.is(Cf)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Co).map(i=>new Vh(i));for(let i of this.plugins)i.update(this);this.observer=new L4(this),this.inputState=new a4(this),this.inputState.ensureHandlers(this.plugins),this.docView=new zm(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}dispatch(...e){let t=e.length==1&&e[0]instanceof ui?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,i=!1,r,s=this.state;for(let p of e){if(p.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=p.state}if(this.destroyed){this.viewState.state=s;return}let l=this.hasFocus,o=0,a=null;e.some(p=>p.annotation(ry))?(this.inputState.notifiedFocused=l,o=1):l!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=l,a=sy(s,l),a||(o=1));let u=this.observer.delayedAndroidKey,h=null;if(u?(this.observer.clearDelayedAndroidKey(),h=this.observer.readChange(),(h&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(h=null)):this.observer.clear(),s.facet(ht.phrases)!=this.state.facet(ht.phrases))return this.setState(s);r=Sc.create(this,s,e),r.flags|=o;let O=this.viewState.scrollTarget;try{this.updateState=2;for(let p of e){if(O&&(O=O.map(p.changes)),p.scrollIntoView){let{main:g}=p.state.selection;O=new Wl(g.empty?g:J.cursor(g.head,g.head>g.anchor?-1:1))}for(let g of p.effects)g.is(Cf)&&(O=g.value.clip(this.state))}this.viewState.update(r,O),this.bidiCache=bc.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),t=this.docView.update(r),this.state.facet(To)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(p=>p.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(Yf)!=r.state.facet(Yf)&&(this.viewState.mustMeasureContent=!0),(t||i||O||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let p of this.state.facet(VO))try{p(r)}catch(g){Cn(this.state,g,"update listener")}(a||h)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),h&&!uy(this,h)&&u.force&&xl(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new r1(e),this.plugins=e.facet(Co).map(i=>new Vh(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new zm(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Co),i=e.state.facet(Co);if(t!=i){let r=[];for(let s of i){let l=t.indexOf(s);if(l<0)r.push(new Vh(s));else{let o=this.plugins[l];o.mustUpdate=e,r.push(o)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,i=this.scrollDOM,r=i.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:l}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(l=-1),this.viewState.scrollAnchorHeight=-1;try{for(let o=0;;o++){if(l<0)if(v$(i))s=-1,l=this.viewState.heightMap.height;else{let g=this.viewState.scrollAnchorAt(r);s=g.from,l=g.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(o>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];a&4||([this.measureRequests,u]=[u,this.measureRequests]);let h=u.map(g=>{try{return g.read(this)}catch(b){return Cn(this.state,b),f1}}),O=Sc.create(this,this.state,[]),p=!1;O.flags|=a,t?t.flags|=a:t=O,this.updateState=2,O.empty||(this.updatePlugins(O),this.inputState.update(O),this.updateAttrs(),p=this.docView.update(O));for(let g=0;g1||b<-1){r=r+b,i.scrollTop=r/this.scaleY,l=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let o of this.state.facet(VO))o(t)}get themeClasses(){return FO+" "+(this.state.facet(jO)?fy:ay)+" "+this.state.facet(Yf)}updateAttrs(){let e=c1(this,z$,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Hc)?"true":"false",class:"cm-content",style:`${Pe.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),c1(this,xd,t);let i=this.observer.ignore(()=>{let r=MO(this.contentDOM,this.contentAttrs,t),s=MO(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=t,i}showAnnouncements(e){let t=!0;for(let i of e)for(let r of i.effects)if(r.is(pe.announce)){t&&(this.announceDOM.textContent=""),t=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(To);let e=this.state.facet(pe.cspNonce);Os.mount(this.root,this.styleModules.concat(U4).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;ti.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,i){return qh(this,e,Lm(this,e,t,i))}moveByGroup(e,t){return qh(this,e,Lm(this,e,t,i=>l4(this,e.head,i)))}moveToLineBoundary(e,t,i=!0){return s4(this,e,t,i)}moveVertically(e,t,i){return qh(this,e,o4(this,e,t,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),H$(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let i=this.docView.coordsAt(e,t);if(!i||i.left==i.right)return i;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),l=s[as.find(s,e-r.from,-1,t)];return kd(i,l.dir==Nt.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(E$)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>j4)return B$(e.length);let t=this.textDirectionAt(e.from),i;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==t&&(s.fresh||L$(s.isolates,i=Mm(this,e.from,e.to))))return s.order;i||(i=Mm(this,e.from,e.to));let r=N5(e.text,t,i);return this.bidiCache.push(new bc(e.from,e.to,t,i,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Pe.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{$$(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return Cf.of(new Wl(typeof e=="number"?J.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,i=this.viewState.scrollAnchorAt(e);return Cf.of(new Wl(J.cursor(i.from),"start","start",i.top-e,t,!0))}static domEventHandlers(e){return ni.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return ni.define(()=>({}),{eventObservers:e})}static theme(e,t){let i=Os.newName(),r=[Yf.of(i),To.of(GO(`.${i}`,e))];return t&&t.dark&&r.push(jO.of(!0)),r}static baseTheme(e){return Ns.lowest(To.of(GO("."+FO,e,cy)))}static findFromDOM(e){var t;let i=e.querySelector(".cm-content"),r=i&&At.get(i)||At.get(e);return((t=r==null?void 0:r.rootView)===null||t===void 0?void 0:t.view)||null}}pe.styleModule=To;pe.inputHandler=Y$;pe.focusChangeEffect=U$;pe.perLineTextDirection=E$;pe.exceptionSink=A$;pe.updateListener=VO;pe.editable=Hc;pe.mouseSelectionStyle=X$;pe.dragMovesSelection=R$;pe.clickAddsSelectionRange=Z$;pe.decorations=Go;pe.atomicRanges=Wd;pe.bidiIsolatedRanges=V$;pe.scrollMargins=D$;pe.darkTheme=jO;pe.cspNonce=we.define({combine:n=>n.length?n[0]:""});pe.contentAttributes=xd;pe.editorAttributes=z$;pe.lineWrapping=pe.contentAttributes.of({class:"cm-lineWrapping"});pe.announce=qe.define();const j4=4096,f1={};class bc{constructor(e,t,i,r,s,l){this.from=e,this.to=t,this.dir=i,this.isolates=r,this.fresh=s,this.order=l}static update(e,t){if(t.empty&&!e.some(s=>s.fresh))return e;let i=[],r=e.length?e[e.length-1].dir:Nt.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=i[r],l=typeof s=="function"?s(n):s;l&&EO(l,t)}return t}const F4=Pe.mac?"mac":Pe.windows?"win":Pe.linux?"linux":"key";function G4(n,e){const t=n.split(/-(?!$)/);let i=t[t.length-1];i=="Space"&&(i=" ");let r,s,l,o;for(let a=0;ai.concat(r),[]))),t}function K4(n,e,t){return Oy(hy(n.state),e,n,t)}let ss=null;const J4=4e3;function e3(n,e=F4){let t=Object.create(null),i=Object.create(null),r=(l,o)=>{let a=i[l];if(a==null)i[l]=o;else if(a!=o)throw new Error("Key binding "+l+" is used both as a regular binding and as a multi-stroke prefix")},s=(l,o,a,u,h)=>{var O,p;let g=t[l]||(t[l]=Object.create(null)),b=o.split(/ (?!$)/).map(k=>G4(k,e));for(let k=1;k{let T=ss={view:X,prefix:W,scope:l};return setTimeout(()=>{ss==T&&(ss=null)},J4),!0}]})}let y=b.join(" ");r(y,!1);let $=g[y]||(g[y]={preventDefault:!1,stopPropagation:!1,run:((p=(O=g._any)===null||O===void 0?void 0:O.run)===null||p===void 0?void 0:p.slice())||[]});a&&$.run.push(a),u&&($.preventDefault=!0),h&&($.stopPropagation=!0)};for(let l of n){let o=l.scope?l.scope.split(" "):["editor"];if(l.any)for(let u of o){let h=t[u]||(t[u]=Object.create(null));h._any||(h._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let O in h)h[O].run.push(l.any)}let a=l[e]||l.key;if(a)for(let u of o)s(u,a,l.run,l.preventDefault,l.stopPropagation),l.shift&&s(u,"Shift-"+a,l.shift,l.preventDefault,l.stopPropagation)}return t}function Oy(n,e,t,i){let r=Q5(e),s=$i(r,0),l=_n(s)==r.length&&r!=" ",o="",a=!1,u=!1,h=!1;ss&&ss.view==t&&ss.scope==i&&(o=ss.prefix+" ",J$.indexOf(e.keyCode)<0&&(u=!0,ss=null));let O=new Set,p=$=>{if($){for(let k of $.run)if(!O.has(k)&&(O.add(k),k(t,e)))return $.stopPropagation&&(h=!0),!0;$.preventDefault&&($.stopPropagation&&(h=!0),u=!0)}return!1},g=n[i],b,y;return g&&(p(g[o+Uf(r,e,!l)])?a=!0:l&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Pe.windows&&e.ctrlKey&&e.altKey)&&(b=ds[e.keyCode])&&b!=r?(p(g[o+Uf(b,e,!0)])||e.shiftKey&&(y=Bo[e.keyCode])!=r&&y!=b&&p(g[o+Uf(y,e,!1)]))&&(a=!0):l&&e.shiftKey&&p(g[o+Uf(r,e,!0)])&&(a=!0),!a&&p(g._any)&&(a=!0)),u&&(a=!0),a&&h&&e.stopPropagation(),a}class ha{constructor(e,t,i,r,s){this.className=e,this.left=t,this.top=i,this.width=r,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,i){if(i.empty){let r=e.coordsAtPos(i.head,i.assoc||1);if(!r)return[];let s=dy(e);return[new ha(t,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return t3(e,t,i)}}function dy(n){let e=n.scrollDOM.getBoundingClientRect();return{left:(n.textDirection==Nt.LTR?e.left:e.right-n.scrollDOM.clientWidth*n.scaleX)-n.scrollDOM.scrollLeft*n.scaleX,top:e.top-n.scrollDOM.scrollTop*n.scaleY}}function h1(n,e,t){let i=J.cursor(e);return{from:Math.max(t.from,n.moveToLineBoundary(i,!1,!0).from),to:Math.min(t.to,n.moveToLineBoundary(i,!0,!0).from),type:Mi.Text}}function t3(n,e,t){if(t.to<=n.viewport.from||t.from>=n.viewport.to)return[];let i=Math.max(t.from,n.viewport.from),r=Math.min(t.to,n.viewport.to),s=n.textDirection==Nt.LTR,l=n.contentDOM,o=l.getBoundingClientRect(),a=dy(n),u=l.querySelector(".cm-line"),h=u&&window.getComputedStyle(u),O=o.left+(h?parseInt(h.paddingLeft)+Math.min(0,parseInt(h.textIndent)):0),p=o.right-(h?parseInt(h.paddingRight):0),g=LO(n,i),b=LO(n,r),y=g.type==Mi.Text?g:null,$=b.type==Mi.Text?b:null;if(y&&(n.lineWrapping||g.widgetLineBreaks)&&(y=h1(n,i,y)),$&&(n.lineWrapping||b.widgetLineBreaks)&&($=h1(n,r,$)),y&&$&&y.from==$.from)return W(X(t.from,t.to,y));{let C=y?X(t.from,null,y):T(g,!1),U=$?X(null,t.to,$):T(b,!0),z=[];return(y||g).to<($||b).from-(y&&$?1:0)||g.widgetLineBreaks>1&&C.bottom+n.defaultLineHeight/2re&&me.from=he)break;Te>We&&K(Math.max(Ke,We),C==null&&Ke<=re,Math.min(Te,he),U==null&&Te>=Oe,Ve.dir)}if(We=ce.to+1,We>=he)break}return I.length==0&&K(re,C==null,Oe,U==null,n.textDirection),{top:M,bottom:L,horizontal:I}}function T(C,U){let z=o.top+(U?C.top:C.bottom);return{top:z,bottom:z,horizontal:[]}}}function i3(n,e){return n.constructor==e.constructor&&n.eq(e)}class n3{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(sc)!=e.state.facet(sc)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}setOrder(e){let t=0,i=e.facet(sc);for(;t!i3(t,this.drawn[i]))){let t=this.dom.firstChild,i=0;for(let r of e)r.update&&t&&r.constructor&&this.drawn[i].constructor&&r.update(t,this.drawn[i])?(t=t.nextSibling,i++):this.dom.insertBefore(r.draw(),t);for(;t;){let r=t.nextSibling;t.remove(),t=r}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const sc=we.define();function py(n){return[ni.define(e=>new n3(e,n)),sc.of(n)]}const gy=!Pe.ios,Ko=we.define({combine(n){return pr(n,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function r3(n={}){return[Ko.of(n),s3,l3,o3,M$.of(!0)]}function my(n){return n.startState.facet(Ko)!=n.state.facet(Ko)}const s3=py({above:!0,markers(n){let{state:e}=n,t=e.facet(Ko),i=[];for(let r of e.selection.ranges){let s=r==e.selection.main;if(r.empty?!s||gy:t.drawRangeCursor){let l=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",o=r.empty?r:J.cursor(r.head,r.head>r.anchor?-1:1);for(let a of ha.forRange(n,l,o))i.push(a)}}return i},update(n,e){n.transactions.some(i=>i.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=my(n);return t&&O1(n.state,e),n.docChanged||n.selectionSet||t},mount(n,e){O1(e.state,n)},class:"cm-cursorLayer"});function O1(n,e){e.style.animationDuration=n.facet(Ko).cursorBlinkRate+"ms"}const l3=py({above:!1,markers(n){return n.state.selection.ranges.map(e=>e.empty?[]:ha.forRange(n,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(n,e){return n.docChanged||n.selectionSet||n.viewportChanged||my(n)},class:"cm-selectionLayer"}),Sy={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};gy&&(Sy[".cm-line"].caretColor="transparent !important");const o3=Ns.highest(pe.theme(Sy)),by=qe.define({map(n,e){return n==null?null:e.mapPos(n)}}),Xo=hi.define({create(){return null},update(n,e){return n!=null&&(n=e.changes.mapPos(n)),e.effects.reduce((t,i)=>i.is(by)?i.value:t,n)}}),a3=ni.fromClass(class{constructor(n){this.view=n,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(n){var e;let t=n.state.field(Xo);t==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(n.startState.field(Xo)!=t||n.docChanged||n.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:n}=this,e=n.state.field(Xo),t=e!=null&&n.coordsAtPos(e);if(!t)return null;let i=n.scrollDOM.getBoundingClientRect();return{left:t.left-i.left+n.scrollDOM.scrollLeft*n.scaleX,top:t.top-i.top+n.scrollDOM.scrollTop*n.scaleY,height:t.bottom-t.top}}drawCursor(n){if(this.cursor){let{scaleX:e,scaleY:t}=this.view;n?(this.cursor.style.left=n.left/e+"px",this.cursor.style.top=n.top/t+"px",this.cursor.style.height=n.height/t+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(n){this.view.state.field(Xo)!=n&&this.view.dispatch({effects:by.of(n)})}},{eventObservers:{dragover(n){this.setDropPos(this.view.posAtCoords({x:n.clientX,y:n.clientY}))},dragleave(n){(n.target==this.view.contentDOM||!this.view.contentDOM.contains(n.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function f3(){return[Xo,a3]}function d1(n,e,t,i,r){e.lastIndex=0;for(let s=n.iterRange(t,i),l=t,o;!s.next().done;l+=s.value.length)if(!s.lineBreak)for(;o=e.exec(s.value);)r(l+o.index,o)}function c3(n,e){let t=n.visibleRanges;if(t.length==1&&t[0].from==n.viewport.from&&t[0].to==n.viewport.to)return t;let i=[];for(let{from:r,to:s}of t)r=Math.max(n.state.doc.lineAt(r).from,r-e),s=Math.min(n.state.doc.lineAt(s).to,s+e),i.length&&i[i.length-1].to>=r?i[i.length-1].to=s:i.push({from:r,to:s});return i}class u3{constructor(e){const{regexp:t,decoration:i,decorate:r,boundary:s,maxLength:l=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,r)this.addMatch=(o,a,u,h)=>r(h,u,u+o[0].length,o,a);else if(typeof i=="function")this.addMatch=(o,a,u,h)=>{let O=i(o,a,u);O&&h(u,u+o[0].length,O)};else if(i)this.addMatch=(o,a,u,h)=>h(u,u+o[0].length,i);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=l}createDeco(e){let t=new hs,i=t.add.bind(t);for(let{from:r,to:s}of c3(e,this.maxLength))d1(e.state.doc,this.regexp,r,s,(l,o)=>this.addMatch(o,e,l,i));return t.finish()}updateDeco(e,t){let i=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((s,l,o,a)=>{a>e.view.viewport.from&&o1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),i,r):t}updateRange(e,t,i,r){for(let s of e.visibleRanges){let l=Math.max(s.from,i),o=Math.min(s.to,r);if(o>l){let a=e.state.doc.lineAt(l),u=a.toa.from;l--)if(this.boundary.test(a.text[l-1-a.from])){h=l;break}for(;op.push(k.range(y,$));if(a==u)for(this.regexp.lastIndex=h-a.from;(g=this.regexp.exec(a.text))&&g.indexthis.addMatch($,e,y,b));t=t.update({filterFrom:h,filterTo:O,filter:(y,$)=>yO,add:p})}}return t}}const HO=/x/.unicode!=null?"gu":"g",h3=new RegExp(`[\0-\b ---Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,HO),O3={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Lh=null;function d3(){var n;if(Lh==null&&typeof document<"u"&&document.body){let e=document.body.style;Lh=((n=e.tabSize)!==null&&n!==void 0?n:e.MozTabSize)!=null}return Lh||!1}const lc=we.define({combine(n){let e=pr(n,{render:null,specialChars:h3,addSpecialChars:null});return(e.replaceTabs=!d3())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,HO)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,HO)),e}});function p3(n={}){return[lc.of(n),g3()]}let p1=null;function g3(){return p1||(p1=ni.fromClass(class{constructor(n){this.view=n,this.decorations=Re.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(n.state.facet(lc)),this.decorations=this.decorator.createDeco(n)}makeDecorator(n){return new u3({regexp:n.specialChars,decoration:(e,t,i)=>{let{doc:r}=t.state,s=$i(e[0],0);if(s==9){let l=r.lineAt(i),o=t.state.tabSize,a=ql(l.text,o,i-l.from);return Re.replace({widget:new $3((o-a%o)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=Re.replace({widget:new b3(n,s)}))},boundary:n.replaceTabs?void 0:/[^]/})}update(n){let e=n.state.facet(lc);n.startState.facet(lc)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(n.view)):this.decorations=this.decorator.updateDeco(n,this.decorations)}},{decorations:n=>n.decorations}))}const m3="•";function S3(n){return n>=32?m3:n==10?"␤":String.fromCharCode(9216+n)}class b3 extends zr{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=S3(this.code),i=e.state.phrase("Control character")+" "+(O3[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,i,t);if(r)return r;let s=document.createElement("span");return s.textContent=t,s.title=i,s.setAttribute("aria-label",i),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class $3 extends zr{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function y3(){return w3}const v3=Re.line({class:"cm-activeLine"}),w3=ni.fromClass(class{constructor(n){this.decorations=this.getDeco(n)}update(n){(n.docChanged||n.selectionSet)&&(this.decorations=this.getDeco(n.view))}getDeco(n){let e=-1,t=[];for(let i of n.state.selection.ranges){let r=n.lineBlockAt(i.head);r.from>e&&(t.push(v3.range(r.from)),e=r.from)}return Re.set(t)}},{decorations:n=>n.decorations}),KO=2e3;function Q3(n,e,t){let i=Math.min(e.line,t.line),r=Math.max(e.line,t.line),s=[];if(e.off>KO||t.off>KO||e.col<0||t.col<0){let l=Math.min(e.off,t.off),o=Math.max(e.off,t.off);for(let a=i;a<=r;a++){let u=n.doc.line(a);u.length<=o&&s.push(J.range(u.from+l,u.to+o))}}else{let l=Math.min(e.col,t.col),o=Math.max(e.col,t.col);for(let a=i;a<=r;a++){let u=n.doc.line(a),h=TO(u.text,l,n.tabSize,!0);if(h<0)s.push(J.cursor(u.to));else{let O=TO(u.text,o,n.tabSize);s.push(J.range(u.from+h,u.from+O))}}}return s}function k3(n,e){let t=n.coordsAtPos(n.viewport.from);return t?Math.round(Math.abs((t.left-e)/n.defaultCharacterWidth)):-1}function g1(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1),i=n.state.doc.lineAt(t),r=t-i.from,s=r>KO?-1:r==i.length?k3(n,e.clientX):ql(i.text,n.state.tabSize,t-i.from);return{line:i.number,col:s,off:r}}function P3(n,e){let t=g1(n,e),i=n.state.selection;return t?{update(r){if(r.docChanged){let s=r.changes.mapPos(r.startState.doc.line(t.line).from),l=r.state.doc.lineAt(s);t={line:l.number,col:t.col,off:Math.min(t.off,l.length)},i=i.map(r.changes)}},get(r,s,l){let o=g1(n,r);if(!o)return i;let a=Q3(n.state,t,o);return a.length?l?J.create(a.concat(i.ranges)):J.create(a):i}}:null}function _3(n){let e=(n==null?void 0:n.eventFilter)||(t=>t.altKey&&t.button==0);return pe.mouseSelectionStyle.of((t,i)=>e(i)?P3(t,i):null)}const x3={Alt:[18,n=>!!n.altKey],Control:[17,n=>!!n.ctrlKey],Shift:[16,n=>!!n.shiftKey],Meta:[91,n=>!!n.metaKey]},W3={style:"cursor: crosshair"};function C3(n={}){let[e,t]=x3[n.key||"Alt"],i=ni.fromClass(class{constructor(r){this.view=r,this.isDown=!1}set(r){this.isDown!=r&&(this.isDown=r,this.view.update([]))}},{eventObservers:{keydown(r){this.set(r.keyCode==e||t(r))},keyup(r){(r.keyCode==e||!t(r))&&this.set(!1)},mousemove(r){this.set(t(r))}}});return[i,pe.contentAttributes.of(r=>{var s;return!((s=r.plugin(i))===null||s===void 0)&&s.isDown?W3:null})]}const vo="-10000px";class $y{constructor(e,t,i){this.facet=t,this.createTooltipView=i,this.input=e.state.facet(t),this.tooltips=this.input.filter(r=>r),this.tooltipViews=this.tooltips.map(i)}update(e,t){var i;let r=e.state.facet(this.facet),s=r.filter(a=>a);if(r===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let l=[],o=t?[]:null;for(let a=0;at[u]=a),t.length=o.length),this.input=r,this.tooltips=s,this.tooltipViews=l,!0}}function T3(n){let{win:e}=n;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const Bh=we.define({combine:n=>{var e,t,i;return{position:Pe.ios?"absolute":((e=n.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=n.find(r=>r.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((i=n.find(r=>r.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||T3}}}),m1=new WeakMap,yy=ni.fromClass(class{constructor(n){this.view=n,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=n.state.facet(Bh);this.position=e.position,this.parent=e.parent,this.classes=n.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new $y(n,Td,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),n.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let n of this.manager.tooltipViews)this.intersectionObserver.observe(n.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(n){n.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(n,this.above);e&&this.observeIntersection();let t=e||n.geometryChanged,i=n.state.facet(Bh);if(i.position!=this.position&&!this.madeAbsolute){this.position=i.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;t=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(n){let e=n.create(this.view);if(e.dom.classList.add("cm-tooltip"),n.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=vo,e.dom.style.left="0px",this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var n,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(n=t.destroy)===null||n===void 0||n.call(t);this.parent&&this.container.remove(),(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let n=this.view.dom.getBoundingClientRect(),e=1,t=1,i=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:r}=this.manager.tooltipViews[0];if(Pe.gecko)i=r.offsetParent!=this.container.ownerDocument.body;else if(this.view.scaleX!=1||this.view.scaleY!=1)i=!0;else if(r.style.top==vo&&r.style.left=="0px"){let s=r.getBoundingClientRect();i=Math.abs(s.top+1e4)>1||Math.abs(s.left)>1}}if(i||this.position=="absolute")if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(e=r.width/this.parent.offsetWidth,t=r.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);return{editor:n,parent:this.parent?this.container.getBoundingClientRect():n,pos:this.manager.tooltips.map((r,s)=>{let l=this.manager.tooltipViews[s];return l.getCoords?l.getCoords(r.pos):this.view.coordsAtPos(r.pos)}),size:this.manager.tooltipViews.map(({dom:r})=>r.getBoundingClientRect()),space:this.view.state.facet(Bh).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:i}}writeMeasure(n){var e;if(n.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let o of this.manager.tooltipViews)o.dom.style.position="absolute"}let{editor:t,space:i,scaleX:r,scaleY:s}=n,l=[];for(let o=0;o=Math.min(t.bottom,i.bottom)||O.rightMath.min(t.right,i.right)+.1){h.style.top=vo;continue}let g=a.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,b=g?7:0,y=p.right-p.left,$=(e=m1.get(u))!==null&&e!==void 0?e:p.bottom-p.top,k=u.offset||R3,W=this.view.textDirection==Nt.LTR,X=p.width>i.right-i.left?W?i.left:i.right-p.width:W?Math.min(O.left-(g?14:0)+k.x,i.right-y):Math.max(i.left,O.left-y+(g?14:0)-k.x),T=this.above[o];!a.strictSide&&(T?O.top-(p.bottom-p.top)-k.yi.bottom)&&T==i.bottom-O.bottom>O.top-i.top&&(T=this.above[o]=!T);let C=(T?O.top-i.top:i.bottom-O.bottom)-b;if(C<$&&u.resize!==!1){if(CX&&M.topU&&(U=T?M.top-$-2-b:M.bottom+b+2);if(this.position=="absolute"?(h.style.top=(U-n.parent.top)/s+"px",h.style.left=(X-n.parent.left)/r+"px"):(h.style.top=U/s+"px",h.style.left=X/r+"px"),g){let M=O.left+(W?k.x:-k.x)-(X+14-7);g.style.left=M/r+"px"}u.overlap!==!0&&l.push({left:X,top:U,right:z,bottom:U+$}),h.classList.toggle("cm-tooltip-above",T),h.classList.toggle("cm-tooltip-below",!T),u.positioned&&u.positioned(n.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let n of this.manager.tooltipViews)n.dom.style.top=vo}},{eventObservers:{scroll(){this.maybeMeasure()}}}),Z3=pe.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),R3={x:0,y:0},Td=we.define({enables:[yy,Z3]}),$c=we.define();class Zd{static create(e){return new Zd(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new $y(e,$c,t=>this.createHostedView(t))}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)===null||e===void 0||e.call(t)}passProp(e){let t;for(let i of this.manager.tooltipViews){let r=i[e];if(r!==void 0){if(t===void 0)t=r;else if(t!==r)return}}return t}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const X3=Td.compute([$c],n=>{let e=n.facet($c).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:Zd.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class A3{constructor(e,t,i,r,s){this.view=e,this.source=t,this.field=i,this.setHover=r,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;eo.bottom||t.xo.right+e.defaultCharacterWidth)return;let a=e.bidiSpans(e.state.doc.lineAt(r)).find(h=>h.from<=r&&h.to>=r),u=a&&a.dir==Nt.RTL?-1:1;s=t.x{this.pending==o&&(this.pending=null,a&&e.dispatch({effects:this.setHover.of(a)}))},a=>Cn(e.state,a,"hover tooltip"))}else l&&e.dispatch({effects:this.setHover.of(l)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!S1(this.lastMove.target)||this.pending){let{pos:r}=i||this.pending,s=(t=i==null?void 0:i.end)!==null&&t!==void 0?t:r;(r==s?this.view.posAtCoords(this.lastMove)!=r:!Y3(this.view,r,s,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!S1(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function S1(n){for(let e=n;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function Y3(n,e,t,i,r,s){let l=n.scrollDOM.getBoundingClientRect(),o=n.documentTop+n.documentPadding.top+n.contentHeight;if(l.left>i||l.rightr||Math.min(l.bottom,o)=e&&a<=t}function U3(n,e={}){let t=qe.define(),i=hi.define({create(){return null},update(r,s){if(r&&(e.hideOnChange&&(s.docChanged||s.selection)||e.hideOn&&e.hideOn(s,r)))return null;if(r&&s.docChanged){let l=s.changes.mapPos(r.pos,-1,vi.TrackDel);if(l==null)return null;let o=Object.assign(Object.create(null),r);o.pos=l,r.end!=null&&(o.end=s.changes.mapPos(r.end)),r=o}for(let l of s.effects)l.is(t)&&(r=l.value),l.is(E3)&&(r=null);return r},provide:r=>$c.from(r)});return[i,ni.define(r=>new A3(r,n,i,t,e.hoverTime||300)),X3]}function vy(n,e){let t=n.plugin(yy);if(!t)return null;let i=t.manager.tooltips.indexOf(e);return i<0?null:t.manager.tooltipViews[i]}const E3=qe.define(),b1=we.define({combine(n){let e,t;for(let i of n)e=e||i.topContainer,t=t||i.bottomContainer;return{topContainer:e,bottomContainer:t}}});function Jo(n,e){let t=n.plugin(wy),i=t?t.specs.indexOf(e):-1;return i>-1?t.panels[i]:null}const wy=ni.fromClass(class{constructor(n){this.input=n.state.facet(ea),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(n));let e=n.state.facet(b1);this.top=new Ef(n,!0,e.topContainer),this.bottom=new Ef(n,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(n){let e=n.state.facet(b1);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Ef(n.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Ef(n.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=n.state.facet(ea);if(t!=this.input){let i=t.filter(a=>a),r=[],s=[],l=[],o=[];for(let a of i){let u=this.specs.indexOf(a),h;u<0?(h=a(n.view),o.push(h)):(h=this.panels[u],h.update&&h.update(n)),r.push(h),(h.top?s:l).push(h)}this.specs=i,this.panels=r,this.top.sync(s),this.bottom.sync(l);for(let a of o)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let i of this.panels)i.update&&i.update(n)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:n=>pe.scrollMargins.of(e=>{let t=e.plugin(n);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class Ef{constructor(e,t,i){this.view=e,this.top=t,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=$1(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=$1(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function $1(n){let e=n.nextSibling;return n.remove(),e}const ea=we.define({enables:wy});class Er extends Ds{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Er.prototype.elementClass="";Er.prototype.toDOM=void 0;Er.prototype.mapMode=vi.TrackBefore;Er.prototype.startSide=Er.prototype.endSide=-1;Er.prototype.point=!0;const oc=we.define(),M3={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>wt.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Do=we.define();function z3(n){return[Qy(),Do.of(Object.assign(Object.assign({},M3),n))]}const JO=we.define({combine:n=>n.some(e=>e)});function Qy(n){let e=[V3];return n&&n.fixed===!1&&e.push(JO.of(!0)),e}const V3=ni.fromClass(class{constructor(n){this.view=n,this.prevViewport=n.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=n.state.facet(Do).map(e=>new v1(n,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!n.state.facet(JO),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),n.scrollDOM.insertBefore(this.dom,n.contentDOM)}update(n){if(this.updateGutters(n)){let e=this.prevViewport,t=n.view.viewport,i=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(i<(t.to-t.from)*.8)}n.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(JO)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=n.view.viewport}syncGutters(n){let e=this.dom.nextSibling;n&&this.dom.remove();let t=wt.iter(this.view.state.facet(oc),this.view.viewport.from),i=[],r=this.gutters.map(s=>new D3(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(i.length&&(i=[]),Array.isArray(s.type)){let l=!0;for(let o of s.type)if(o.type==Mi.Text&&l){ed(t,i,o.from);for(let a of r)a.line(this.view,o,i);l=!1}else if(o.widget)for(let a of r)a.widget(this.view,o)}else if(s.type==Mi.Text){ed(t,i,s.from);for(let l of r)l.line(this.view,s,i)}else if(s.widget)for(let l of r)l.widget(this.view,s);for(let s of r)s.finish();n&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(n){let e=n.startState.facet(Do),t=n.state.facet(Do),i=n.docChanged||n.heightChanged||n.viewportChanged||!wt.eq(n.startState.facet(oc),n.state.facet(oc),n.view.viewport.from,n.view.viewport.to);if(e==t)for(let r of this.gutters)r.update(n)&&(i=!0);else{i=!0;let r=[];for(let s of t){let l=e.indexOf(s);l<0?r.push(new v1(this.view,s)):(this.gutters[l].update(n),r.push(this.gutters[l]))}for(let s of this.gutters)s.dom.remove(),r.indexOf(s)<0&&s.destroy();for(let s of r)this.dom.appendChild(s.dom);this.gutters=r}return i}destroy(){for(let n of this.gutters)n.destroy();this.dom.remove()}},{provide:n=>pe.scrollMargins.of(e=>{let t=e.plugin(n);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==Nt.LTR?{left:t.dom.offsetWidth*e.scaleX}:{right:t.dom.offsetWidth*e.scaleX}})});function y1(n){return Array.isArray(n)?n:[n]}function ed(n,e,t){for(;n.value&&n.from<=t;)n.from==t&&e.push(n.value),n.next()}class D3{constructor(e,t,i){this.gutter=e,this.height=i,this.i=0,this.cursor=wt.iter(e.markers,t.from)}addElement(e,t,i){let{gutter:r}=this,s=(t.top-this.height)/e.scaleY,l=t.height/e.scaleY;if(this.i==r.elements.length){let o=new ky(e,l,s,i);r.elements.push(o),r.dom.appendChild(o.dom)}else r.elements[this.i].update(e,l,s,i);this.height=t.bottom,this.i++}line(e,t,i){let r=[];ed(this.cursor,r,t.from),i.length&&(r=r.concat(i));let s=this.gutter.config.lineMarker(e,t,r);s&&r.unshift(s);let l=this.gutter;r.length==0&&!l.config.renderEmptyElements||this.addElement(e,t,r)}widget(e,t){let i=this.gutter.config.widgetMarker(e,t.widget,t);i&&this.addElement(e,t,[i])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class v1{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in t.domEventHandlers)this.dom.addEventListener(i,r=>{let s=r.target,l;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let a=s.getBoundingClientRect();l=(a.top+a.bottom)/2}else l=r.clientY;let o=e.lineBlockAtHeight(l-e.documentTop);t.domEventHandlers[i](e,o,r)&&r.preventDefault()});this.markers=y1(t.markers(e)),t.initialSpacer&&(this.spacer=new ky(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=y1(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let i=e.view.viewport;return!wt.eq(this.markers,t,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class ky{constructor(e,t,i,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,i,r)}update(e,t,i,r){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),q3(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let i="cm-gutterElement",r=this.dom.firstChild;for(let s=0,l=0;;){let o=l,a=ss(o,a,u)||l(o,a,u):l}return i}})}});class jh extends Er{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Fh(n,e){return n.state.facet($l).formatNumber(e,n.state)}const N3=Do.compute([$l],n=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(I3)},lineMarker(e,t,i){return i.some(r=>r.toDOM)?null:new jh(Fh(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet($l)!=e.state.facet($l),initialSpacer(e){return new jh(Fh(e,w1(e.state.doc.lines)))},updateSpacer(e,t){let i=Fh(t.view,w1(t.view.state.doc.lines));return i==e.number?e:new jh(i)},domEventHandlers:n.facet($l).domEventHandlers}));function L3(n={}){return[$l.of(n),Qy(),N3]}function w1(n){let e=9;for(;e{let e=[],t=-1;for(let i of n.selection.ranges){let r=n.doc.lineAt(i.head).from;r>t&&(t=r,e.push(B3.range(r)))}return wt.of(e)});function F3(){return j3}function G3(n){let e;return{c(){e=_("div"),w(e,"class","mzn-editor svelte-1fycn7h")},m(t,i){E(t,e,i),n[7](e)},p:Qe,i:Qe,o:Qe,d(t){t&&Y(e),n[7](null)}}}function H3(n,e,t){let{state:i}=e,r,s;Fc(()=>{t(6,s=new pe({parent:r}))});function l(){return s||null}function o(){return s?s.state:null}async function a(O){s&&(await In(),s.dispatch({selection:{anchor:O}}))}function u(){s.focus()}function h(O){zt[O?"unshift":"push"](()=>{r=O,t(0,r)})}return n.$$set=O=>{"state"in O&&t(1,i=O.state)},n.$$.update=()=>{n.$$.dirty&66&&s&&i&&s.state!==i&&s.setState(i)},[r,i,l,o,a,u,s,h]}class K3 extends Qi{constructor(e){super(),wi(this,e,H3,G3,pi,{state:1,getView:2,getState:3,setCursor:4,focus:5})}get getView(){return this.$$.ctx[2]}get getState(){return this.$$.ctx[3]}get setCursor(){return this.$$.ctx[4]}get focus(){return this.$$.ctx[5]}}var kn=typeof window<"u"?window:null,Rd=kn===null,ta=Rd?void 0:kn.document,zn="addEventListener",Vn="removeEventListener",Gh="getBoundingClientRect",wo="_a",Dn="_b",Tr="_c",Mf="horizontal",qn=function(){return!1},J3=Rd?"calc":["","-webkit-","-moz-","-o-"].filter(function(n){var e=ta.createElement("div");return e.style.cssText="width:"+n+"calc(9px)",!!e.style.length}).shift()+"calc",Py=function(n){return typeof n=="string"||n instanceof String},Q1=function(n){if(Py(n)){var e=ta.querySelector(n);if(!e)throw new Error("Selector "+n+" did not match a DOM element");return e}return n},Wi=function(n,e,t){var i=n[e];return i!==void 0?i:t},zf=function(n,e,t,i){if(e){if(i==="end")return 0;if(i==="center")return n/2}else if(t){if(i==="start")return 0;if(i==="center")return n/2}return n},eC=function(n,e){var t=ta.createElement("div");return t.className="gutter gutter-"+e,t},tC=function(n,e,t){var i={};return Py(e)?i[n]=e:i[n]=J3+"("+e+"% - "+t+"px)",i},iC=function(n,e){var t;return t={},t[n]=e+"px",t},nC=function(n,e){if(e===void 0&&(e={}),Rd)return{};var t=n,i,r,s,l,o,a;Array.from&&(t=Array.from(t));var u=Q1(t[0]),h=u.parentNode,O=getComputedStyle?getComputedStyle(h):null,p=O?O.flexDirection:null,g=Wi(e,"sizes")||t.map(function(){return 100/t.length}),b=Wi(e,"minSize",100),y=Array.isArray(b)?b:t.map(function(){return b}),$=Wi(e,"maxSize",1/0),k=Array.isArray($)?$:t.map(function(){return $}),W=Wi(e,"expandToMin",!1),X=Wi(e,"gutterSize",10),T=Wi(e,"gutterAlign","center"),C=Wi(e,"snapOffset",30),U=Array.isArray(C)?C:t.map(function(){return C}),z=Wi(e,"dragInterval",1),M=Wi(e,"direction",Mf),L=Wi(e,"cursor",M===Mf?"col-resize":"row-resize"),I=Wi(e,"gutter",eC),K=Wi(e,"elementStyle",tC),re=Wi(e,"gutterStyle",iC);M===Mf?(i="width",r="clientX",s="left",l="right",o="clientWidth"):M==="vertical"&&(i="height",r="clientY",s="top",l="bottom",o="clientHeight");function Oe(le,F,ue,ie){var ft=K(i,F,ue,ie);Object.keys(ft).forEach(function(Je){le.style[Je]=ft[Je]})}function me(le,F,ue){var ie=re(i,F,ue);Object.keys(ie).forEach(function(ft){le.style[ft]=ie[ft]})}function We(){return a.map(function(le){return le.size})}function he(le){return"touches"in le?le.touches[0][r]:le[r]}function ce(le){var F=a[this.a],ue=a[this.b],ie=F.size+ue.size;F.size=le/this.size*ie,ue.size=ie-le/this.size*ie,Oe(F.element,F.size,this[Dn],F.i),Oe(ue.element,ue.size,this[Tr],ue.i)}function Ve(le){var F,ue=a[this.a],ie=a[this.b];this.dragging&&(F=he(le)-this.start+(this[Dn]-this.dragOffset),z>1&&(F=Math.round(F/z)*z),F<=ue.minSize+ue.snapOffset+this[Dn]?F=ue.minSize+this[Dn]:F>=this.size-(ie.minSize+ie.snapOffset+this[Tr])&&(F=this.size-(ie.minSize+this[Tr])),F>=ue.maxSize-ue.snapOffset+this[Dn]?F=ue.maxSize+this[Dn]:F<=this.size-(ie.maxSize-ie.snapOffset+this[Tr])&&(F=this.size-(ie.maxSize+this[Tr])),ce.call(this,F),Wi(e,"onDrag",qn)(We()))}function Ke(){var le=a[this.a].element,F=a[this.b].element,ue=le[Gh](),ie=F[Gh]();this.size=ue[i]+ie[i]+this[Dn]+this[Tr],this.start=ue[s],this.end=ue[l]}function Te(le){if(!getComputedStyle)return null;var F=getComputedStyle(le);if(!F)return null;var ue=le[o];return ue===0?null:(M===Mf?ue-=parseFloat(F.paddingLeft)+parseFloat(F.paddingRight):ue-=parseFloat(F.paddingTop)+parseFloat(F.paddingBottom),ue)}function Ce(le){var F=Te(h);if(F===null||y.reduce(function(Je,De){return Je+De},0)>F)return le;var ue=0,ie=[],ft=le.map(function(Je,De){var st=F*Je/100,Dt=zf(X,De===0,De===le.length-1,T),gt=y[De]+Dt;return st0&&ie[De]-ue>0){var Dt=Math.min(ue,ie[De]-ue);ue-=Dt,st=Je-Dt}return st/F*100})}function nt(){var le=this,F=a[le.a].element,ue=a[le.b].element;le.dragging&&Wi(e,"onDragEnd",qn)(We()),le.dragging=!1,kn[Vn]("mouseup",le.stop),kn[Vn]("touchend",le.stop),kn[Vn]("touchcancel",le.stop),kn[Vn]("mousemove",le.move),kn[Vn]("touchmove",le.move),le.stop=null,le.move=null,F[Vn]("selectstart",qn),F[Vn]("dragstart",qn),ue[Vn]("selectstart",qn),ue[Vn]("dragstart",qn),F.style.userSelect="",F.style.webkitUserSelect="",F.style.MozUserSelect="",F.style.pointerEvents="",ue.style.userSelect="",ue.style.webkitUserSelect="",ue.style.MozUserSelect="",ue.style.pointerEvents="",le.gutter.style.cursor="",le.parent.style.cursor="",ta.body.style.cursor=""}function Yt(le){if(!("button"in le&&le.button!==0)){var F=this,ue=a[F.a].element,ie=a[F.b].element;F.dragging||Wi(e,"onDragStart",qn)(We()),le.preventDefault(),F.dragging=!0,F.move=Ve.bind(F),F.stop=nt.bind(F),kn[zn]("mouseup",F.stop),kn[zn]("touchend",F.stop),kn[zn]("touchcancel",F.stop),kn[zn]("mousemove",F.move),kn[zn]("touchmove",F.move),ue[zn]("selectstart",qn),ue[zn]("dragstart",qn),ie[zn]("selectstart",qn),ie[zn]("dragstart",qn),ue.style.userSelect="none",ue.style.webkitUserSelect="none",ue.style.MozUserSelect="none",ue.style.pointerEvents="none",ie.style.userSelect="none",ie.style.webkitUserSelect="none",ie.style.MozUserSelect="none",ie.style.pointerEvents="none",F.gutter.style.cursor=L,F.parent.style.cursor=L,ta.body.style.cursor=L,Ke.call(F),F.dragOffset=he(le)-F.end}}g=Ce(g);var Qt=[];a=t.map(function(le,F){var ue={element:Q1(le),size:g[F],minSize:y[F],maxSize:k[F],snapOffset:U[F],i:F},ie;if(F>0&&(ie={a:F-1,b:F,dragging:!1,direction:M,parent:h},ie[Dn]=zf(X,F-1===0,!1,T),ie[Tr]=zf(X,!1,F===t.length-1,T),p==="row-reverse"||p==="column-reverse")){var ft=ie.a;ie.a=ie.b,ie.b=ft}if(F>0){var Je=I(F,M,ue.element);me(Je,X,F),ie[wo]=Yt.bind(ie),Je[zn]("mousedown",ie[wo]),Je[zn]("touchstart",ie[wo]),h.insertBefore(Je,ue.element),ie.gutter=Je}return Oe(ue.element,ue.size,zf(X,F===0,F===t.length-1,T),F),F>0&&Qt.push(ie),ue});function dt(le){var F=le.i===Qt.length,ue=F?Qt[le.i-1]:Qt[le.i];Ke.call(ue);var ie=F?ue.size-le.minSize-ue[Tr]:le.minSize+ue[Dn];ce.call(ue,ie)}a.forEach(function(le){var F=le.element[Gh]()[i];F0){var ft=Qt[ie-1],Je=a[ft.a],De=a[ft.b];Je.size=F[ie-1],De.size=ue,Oe(Je.element,Je.size,ft[Dn],Je.i),Oe(De.element,De.size,ft[Tr],De.i)}})}function be(le,F){Qt.forEach(function(ue){if(F!==!0?ue.parent.removeChild(ue.gutter):(ue.gutter[Vn]("mousedown",ue[wo]),ue.gutter[Vn]("touchstart",ue[wo])),le!==!0){var ie=K(i,ue.a.size,ue[Dn]);Object.keys(ie).forEach(function(ft){a[ue.a].element.style[ft]="",a[ue.b].element.style[ft]=""})}})}return{setSizes:Ut,getSizes:We,collapse:function(F){dt(a[F])},destroy:be,parent:h,pairs:Qt}};const rC=n=>({}),k1=n=>({}),sC=n=>({}),P1=n=>({});function lC(n){let e,t,i,r,s;const l=n[6].panelA,o=ji(l,n,n[5],P1),a=n[6].panelB,u=ji(a,n,n[5],k1);return{c(){e=_("div"),t=_("div"),o&&o.c(),i=N(),r=_("div"),u&&u.c(),w(t,"class","split-panel svelte-e8t4e8"),fe(t,"no-splitter",n[1]!=="all"),fe(t,"is-hidden",!Vf("a",n[1])),w(r,"class","split-panel svelte-e8t4e8"),fe(r,"no-splitter",n[1]!=="all"),fe(r,"is-hidden",!Vf("b",n[1])),w(e,"class","split svelte-e8t4e8"),fe(e,"horizontal",n[0]==="horizontal")},m(h,O){E(h,e,O),Q(e,t),o&&o.m(t,null),n[7](t),Q(e,i),Q(e,r),u&&u.m(r,null),n[8](r),s=!0},p(h,[O]){o&&o.p&&(!s||O&32)&&Gi(o,l,h,h[5],s?Fi(l,h[5],O,sC):Hi(h[5]),P1),(!s||O&2)&&fe(t,"no-splitter",h[1]!=="all"),(!s||O&2)&&fe(t,"is-hidden",!Vf("a",h[1])),u&&u.p&&(!s||O&32)&&Gi(u,a,h,h[5],s?Fi(a,h[5],O,rC):Hi(h[5]),k1),(!s||O&2)&&fe(r,"no-splitter",h[1]!=="all"),(!s||O&2)&&fe(r,"is-hidden",!Vf("b",h[1])),(!s||O&1)&&fe(e,"horizontal",h[0]==="horizontal")},i(h){s||(q(o,h),q(u,h),s=!0)},o(h){B(o,h),B(u,h),s=!1},d(h){h&&Y(e),o&&o.d(h),n[7](null),u&&u.d(h),n[8](null)}}}function Vf(n,e){return e==="all"||e===n}function oC(n,e,t){let{$$slots:i={},$$scope:r}=e,{direction:s="horizontal"}=e,{split:l=50}=e,{showPanels:o="all"}=e,a,u,h=null;function O($,k){p(),k==="all"&&a&&u&&(h=nC([a,u],{direction:$,minSize:0,sizes:[l,100-l],onDragEnd(W){t(4,l=W[0])}}))}function p(){h&&(h.destroy(),h=null)}function g($){h&&h.getSizes()[0]!==$&&h.setSizes([$,100-$])}Fc(()=>(O(s,o),p));function b($){zt[$?"unshift":"push"](()=>{a=$,t(2,a)})}function y($){zt[$?"unshift":"push"](()=>{u=$,t(3,u)})}return n.$$set=$=>{"direction"in $&&t(0,s=$.direction),"split"in $&&t(4,l=$.split),"showPanels"in $&&t(1,o=$.showPanels),"$$scope"in $&&t(5,r=$.$$scope)},n.$$.update=()=>{n.$$.dirty&3&&O(s,o),n.$$.dirty&16&&g(l)},[s,o,a,u,l,r,i,b,y]}class aC extends Qi{constructor(e){super(),wi(this,e,oC,lC,pi,{direction:0,split:4,showPanels:1})}}const Df=parseFloat;function td(n,e=";"){let t;if(Array.isArray(n))t=n.filter(i=>i);else{t=[];for(const i in n)n[i]&&t.push(`${i}:${n[i]}`)}return t.join(e)}function fC(n,e,t,i){let r,s;const l="1em";let o,a,u,h="-.125em";const O="visible";return i&&(u="center",s="1.25em"),t&&(r=t),e&&(e=="lg"?(a="1.33333em",o=".75em",h="-.225em"):e=="xs"?a=".75em":e=="sm"?a=".875em":a=e.replace("x","em")),td([td({float:r,width:s,height:l,"line-height":o,"font-size":a,"text-align":u,"vertical-align":h,"transform-origin":"center",overflow:O}),n])}function cC(n,e,t,i,r,s=1,l="",o=""){let a=1,u=1;return r&&(r=="horizontal"?a=-1:r=="vertical"?u=-1:a=u=-1),td([`translate(${Df(e)*s}${l},${Df(t)*s}${l})`,`scale(${a*Df(n)},${u*Df(n)})`,i&&`rotate(${i}${o})`]," ")}function _1(n){let e,t,i,r,s,l,o,a;function u(p,g){return typeof p[10][4]=="string"?hC:uC}let h=u(n),O=h(n);return{c(){e=Ql("svg"),t=Ql("g"),i=Ql("g"),O.c(),w(i,"transform",n[12]),w(t,"transform",r="translate("+n[10][0]/2+" "+n[10][1]/2+")"),w(t,"transform-origin",s=n[10][0]/4+" 0"),w(e,"id",l=n[1]||void 0),w(e,"class",o="svelte-fa "+n[0]+" svelte-1cj2gr0"),w(e,"style",n[11]),w(e,"viewBox",a="0 0 "+n[10][0]+" "+n[10][1]),w(e,"aria-hidden","true"),w(e,"role","img"),w(e,"xmlns","http://www.w3.org/2000/svg"),fe(e,"pulse",n[4]),fe(e,"spin",n[3])},m(p,g){E(p,e,g),Q(e,t),Q(t,i),O.m(i,null)},p(p,g){h===(h=u(p))&&O?O.p(p,g):(O.d(1),O=h(p),O&&(O.c(),O.m(i,null))),g&4096&&w(i,"transform",p[12]),g&1024&&r!==(r="translate("+p[10][0]/2+" "+p[10][1]/2+")")&&w(t,"transform",r),g&1024&&s!==(s=p[10][0]/4+" 0")&&w(t,"transform-origin",s),g&2&&l!==(l=p[1]||void 0)&&w(e,"id",l),g&1&&o!==(o="svelte-fa "+p[0]+" svelte-1cj2gr0")&&w(e,"class",o),g&2048&&w(e,"style",p[11]),g&1024&&a!==(a="0 0 "+p[10][0]+" "+p[10][1])&&w(e,"viewBox",a),g&17&&fe(e,"pulse",p[4]),g&9&&fe(e,"spin",p[3])},d(p){p&&Y(e),O.d()}}}function uC(n){let e,t,i,r,s,l,o,a,u,h;return{c(){e=Ql("path"),l=Ql("path"),w(e,"d",t=n[10][4][0]),w(e,"fill",i=n[6]||n[2]||"currentColor"),w(e,"fill-opacity",r=n[9]!=!1?n[7]:n[8]),w(e,"transform",s="translate("+n[10][0]/-2+" "+n[10][1]/-2+")"),w(l,"d",o=n[10][4][1]),w(l,"fill",a=n[5]||n[2]||"currentColor"),w(l,"fill-opacity",u=n[9]!=!1?n[8]:n[7]),w(l,"transform",h="translate("+n[10][0]/-2+" "+n[10][1]/-2+")")},m(O,p){E(O,e,p),E(O,l,p)},p(O,p){p&1024&&t!==(t=O[10][4][0])&&w(e,"d",t),p&68&&i!==(i=O[6]||O[2]||"currentColor")&&w(e,"fill",i),p&896&&r!==(r=O[9]!=!1?O[7]:O[8])&&w(e,"fill-opacity",r),p&1024&&s!==(s="translate("+O[10][0]/-2+" "+O[10][1]/-2+")")&&w(e,"transform",s),p&1024&&o!==(o=O[10][4][1])&&w(l,"d",o),p&36&&a!==(a=O[5]||O[2]||"currentColor")&&w(l,"fill",a),p&896&&u!==(u=O[9]!=!1?O[8]:O[7])&&w(l,"fill-opacity",u),p&1024&&h!==(h="translate("+O[10][0]/-2+" "+O[10][1]/-2+")")&&w(l,"transform",h)},d(O){O&&(Y(e),Y(l))}}}function hC(n){let e,t,i,r;return{c(){e=Ql("path"),w(e,"d",t=n[10][4]),w(e,"fill",i=n[2]||n[5]||"currentColor"),w(e,"transform",r="translate("+n[10][0]/-2+" "+n[10][1]/-2+")")},m(s,l){E(s,e,l)},p(s,l){l&1024&&t!==(t=s[10][4])&&w(e,"d",t),l&36&&i!==(i=s[2]||s[5]||"currentColor")&&w(e,"fill",i),l&1024&&r!==(r="translate("+s[10][0]/-2+" "+s[10][1]/-2+")")&&w(e,"transform",r)},d(s){s&&Y(e)}}}function OC(n){let e,t=n[10][4]&&_1(n);return{c(){t&&t.c(),e=Ht()},m(i,r){t&&t.m(i,r),E(i,e,r)},p(i,[r]){i[10][4]?t?t.p(i,r):(t=_1(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Qe,o:Qe,d(i){i&&Y(e),t&&t.d(i)}}}function dC(n,e,t){let{class:i=""}=e,{id:r=""}=e,{style:s=""}=e,{icon:l}=e,{size:o=""}=e,{color:a=""}=e,{fw:u=!1}=e,{pull:h=""}=e,{scale:O=1}=e,{translateX:p=0}=e,{translateY:g=0}=e,{rotate:b=""}=e,{flip:y=!1}=e,{spin:$=!1}=e,{pulse:k=!1}=e,{primaryColor:W=""}=e,{secondaryColor:X=""}=e,{primaryOpacity:T=1}=e,{secondaryOpacity:C=.4}=e,{swapOpacity:U=!1}=e,z,M,L;return n.$$set=I=>{"class"in I&&t(0,i=I.class),"id"in I&&t(1,r=I.id),"style"in I&&t(13,s=I.style),"icon"in I&&t(14,l=I.icon),"size"in I&&t(15,o=I.size),"color"in I&&t(2,a=I.color),"fw"in I&&t(16,u=I.fw),"pull"in I&&t(17,h=I.pull),"scale"in I&&t(18,O=I.scale),"translateX"in I&&t(19,p=I.translateX),"translateY"in I&&t(20,g=I.translateY),"rotate"in I&&t(21,b=I.rotate),"flip"in I&&t(22,y=I.flip),"spin"in I&&t(3,$=I.spin),"pulse"in I&&t(4,k=I.pulse),"primaryColor"in I&&t(5,W=I.primaryColor),"secondaryColor"in I&&t(6,X=I.secondaryColor),"primaryOpacity"in I&&t(7,T=I.primaryOpacity),"secondaryOpacity"in I&&t(8,C=I.secondaryOpacity),"swapOpacity"in I&&t(9,U=I.swapOpacity)},n.$$.update=()=>{n.$$.dirty&16384&&t(10,z=l&&l.icon||[0,0,"",[],""]),n.$$.dirty&237568&&t(11,M=fC(s,o,h,u)),n.$$.dirty&8126464&&t(12,L=cC(O,p,g,b,y,512))},[i,r,a,$,k,W,X,T,C,U,z,M,L,s,l,o,u,h,O,p,g,b,y]}class pC extends Qi{constructor(e){super(),wi(this,e,dC,OC,pi,{class:0,id:1,style:13,icon:14,size:15,color:2,fw:16,pull:17,scale:18,translateX:19,translateY:20,rotate:21,flip:22,spin:3,pulse:4,primaryColor:5,secondaryColor:6,primaryOpacity:7,secondaryOpacity:8,swapOpacity:9})}}const Tt=pC;var id={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},_y={prefix:"fas",iconName:"share-nodes",icon:[448,512,["share-alt"],"f1e0","M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z"]},x1={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},gC={prefix:"fas",iconName:"shuffle",icon:[512,512,[128256,"random"],"f074","M403.8 34.4c12-5 25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160H352c-10.1 0-19.6 4.7-25.6 12.8L284 229.3 244 176l31.2-41.6C293.3 110.2 321.8 96 352 96h32V64c0-12.9 7.8-24.6 19.8-29.6zM164 282.7L204 336l-31.2 41.6C154.7 401.8 126.2 416 96 416H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c10.1 0 19.6-4.7 25.6-12.8L164 282.7zm274.6 188c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V416H352c-30.2 0-58.7-14.2-76.8-38.4L121.6 172.8c-6-8.1-15.5-12.8-25.6-12.8H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c30.2 0 58.7 14.2 76.8 38.4L326.4 339.2c6 8.1 15.5 12.8 25.6 12.8h32V320c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64z"]},mC={prefix:"fas",iconName:"clipboard",icon:[384,512,[128203],"f328","M192 0c-41.8 0-77.4 26.7-90.5 64H64C28.7 64 0 92.7 0 128V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H282.5C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM112 192H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},xy={prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},W1={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 144c0-44.2 35.8-80 80-80s80 35.8 80 80v48c0 17.7 14.3 32 32 32s32-14.3 32-32V144C576 64.5 511.5 0 432 0S288 64.5 288 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H352V144z"]},SC={prefix:"fas",iconName:"forward-fast",icon:[512,512,[9197,"fast-forward"],"f050","M18.4 445c11.2 5.3 24.5 3.6 34.1-4.4L224 297.7V416c0 12.4 7.2 23.7 18.4 29s24.5 3.6 34.1-4.4L448 297.7V416c0 17.7 14.3 32 32 32s32-14.3 32-32V96c0-17.7-14.3-32-32-32s-32 14.3-32 32V214.3L276.5 71.4c-9.5-7.9-22.8-9.7-34.1-4.4S224 83.6 224 96V214.3L52.5 71.4c-9.5-7.9-22.8-9.7-34.1-4.4S0 83.6 0 96V416c0 12.4 7.2 23.7 18.4 29z"]},C1={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Wy={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},bC={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},Cy=bC,$C={prefix:"fas",iconName:"folder-tree",icon:[576,512,[],"f802","M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32v96V384c0 35.3 28.7 64 64 64H256V384H64V160H256V96H64V32zM288 192c0 17.7 14.3 32 32 32H544c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H445.3c-8.5 0-16.6-3.4-22.6-9.4L409.4 9.4c-6-6-14.1-9.4-22.6-9.4H320c-17.7 0-32 14.3-32 32V192zm0 288c0 17.7 14.3 32 32 32H544c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32H445.3c-8.5 0-16.6-3.4-22.6-9.4l-13.3-13.3c-6-6-14.1-9.4-22.6-9.4H320c-17.7 0-32 14.3-32 32V480z"]},yC={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},vC={prefix:"fas",iconName:"stop",icon:[384,512,[9209],"f04d","M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"]},wC={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},QC={prefix:"fas",iconName:"eraser",icon:[576,512,[],"f12d","M290.7 57.4L57.4 290.7c-25 25-25 65.5 0 90.5l80 80c12 12 28.3 18.7 45.3 18.7H288h9.4H512c17.7 0 32-14.3 32-32s-14.3-32-32-32H387.9L518.6 285.3c25-25 25-65.5 0-90.5L381.3 57.4c-25-25-65.5-25-90.5 0zM297.4 416H288l-105.4 0-80-80L227.3 211.3 364.7 348.7 297.4 416z"]},kC={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},Ty={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},Zy={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},PC={prefix:"fas",iconName:"hammer",icon:[576,512,[128296],"f6e3","M413.5 237.5c-28.2 4.8-58.2-3.6-80-25.4l-38.1-38.1C280.4 159 272 138.8 272 117.6V105.5L192.3 62c-5.3-2.9-8.6-8.6-8.3-14.7s3.9-11.5 9.5-14l47.2-21C259.1 4.2 279 0 299.2 0h18.1c36.7 0 72 14 98.7 39.1l44.6 42c24.2 22.8 33.2 55.7 26.6 86L503 183l8-8c9.4-9.4 24.6-9.4 33.9 0l24 24c9.4 9.4 9.4 24.6 0 33.9l-88 88c-9.4 9.4-24.6 9.4-33.9 0l-24-24c-9.4-9.4-9.4-24.6 0-33.9l8-8-17.5-17.5zM27.4 377.1L260.9 182.6c3.5 4.9 7.5 9.6 11.8 14l38.1 38.1c6 6 12.4 11.2 19.2 15.7L134.9 484.6c-14.5 17.4-36 27.4-58.6 27.4C34.1 512 0 477.8 0 435.7c0-22.6 10.1-44.1 27.4-58.6z"]},Ry={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]};function _C(n){let e,t,i,r,s,l,o,a,u=n[0]&&!n[3]&&T1(n);return{c(){e=_("span"),t=Se(n[1]),i=Se(n[2]),r=N(),u&&u.c(),s=Ht(),w(e,"class","filename svelte-1ul6ap")},m(h,O){E(h,e,O),Q(e,t),Q(e,i),E(h,r,O),u&&u.m(h,O),E(h,s,O),l=!0,o||(a=oe(e,"click",n[8]),o=!0)},p(h,O){(!l||O&2)&&He(t,h[1]),(!l||O&4)&&He(i,h[2]),h[0]&&!h[3]?u?(u.p(h,O),O&9&&q(u,1)):(u=T1(h),u.c(),q(u,1),u.m(s.parentNode,s)):u&&(tt(),B(u,1,1,()=>{u=null}),it())},i(h){l||(q(u),l=!0)},o(h){B(u),l=!1},d(h){h&&(Y(e),Y(r),Y(s)),u&&u.d(h),o=!1,a()}}}function xC(n){let e,t,i,r,s;return{c(){e=_("input"),i=Se(n[2]),w(e,"size",t=n[4].length||n[1].length),w(e,"placeholder",n[1])},m(l,o){E(l,e,o),n[11](e),di(e,n[4]),E(l,i,o),r||(s=[oe(e,"input",n[12]),oe(e,"blur",n[10]),oe(e,"keyup",n[9])],r=!0)},p(l,o){o&18&&t!==(t=l[4].length||l[1].length)&&w(e,"size",t),o&2&&w(e,"placeholder",l[1]),o&16&&e.value!==l[4]&&di(e,l[4]),o&4&&He(i,l[2])},i:Qe,o:Qe,d(l){l&&(Y(e),Y(i)),n[11](null),r=!1,Gt(s)}}}function T1(n){let e,t,i,r,s;return t=new Tt({props:{icon:Zy}}),{c(){e=_("span"),ze(t.$$.fragment),w(e,"class","close-tab svelte-1ul6ap")},m(l,o){E(l,e,o),Ee(t,e,null),i=!0,r||(s=oe(e,"click",n[13]),r=!0)},p:Qe,i(l){i||(q(t.$$.fragment,l),i=!0)},o(l){B(t.$$.fragment,l),i=!1},d(l){l&&Y(e),Me(t),r=!1,s()}}}function WC(n){let e,t,i,r,s,l;const o=[xC,_C],a=[];function u(h,O){return h[5]?0:1}return t=u(n),i=a[t]=o[t](n),{c(){e=_("a"),i.c(),w(e,"class","filename-link svelte-1ul6ap"),fe(e,"active",n[0]),fe(e,"readonly",n[3])},m(h,O){E(h,e,O),a[t].m(e,null),r=!0,s||(l=oe(e,"click",n[14]),s=!0)},p(h,[O]){let p=t;t=u(h),t===p?a[t].p(h,O):(tt(),B(a[p],1,1,()=>{a[p]=null}),it(),i=a[t],i?i.p(h,O):(i=a[t]=o[t](h),i.c()),q(i,1),i.m(e,null)),(!r||O&1)&&fe(e,"active",h[0]),(!r||O&8)&&fe(e,"readonly",h[3])},i(h){r||(q(i),r=!0)},o(h){B(i),r=!1},d(h){h&&Y(e),a[t].d(),s=!1,l()}}}function CC(n,e,t){let{active:i=!1}=e,{name:r="Untitled"}=e,{suffix:s=".mzn"}=e,{readonly:l=!1}=e;const o=Zn();let a=!1,u,h="";async function O(){!i||l||(t(5,a=!0),t(4,h=r),await In(),u.focus())}function p(W){W.key==="Enter"?(W.preventDefault(),g()):W.key==="Escape"&&t(5,a=!1)}function g(){t(5,a=!1),h.length>0&&o("rename",{name:h,suffix:s})}function b(W){zt[W?"unshift":"push"](()=>{u=W,t(6,u)})}function y(){h=this.value,t(4,h)}const $=()=>o("close"),k=()=>{a||o("click")};return n.$$set=W=>{"active"in W&&t(0,i=W.active),"name"in W&&t(1,r=W.name),"suffix"in W&&t(2,s=W.suffix),"readonly"in W&&t(3,l=W.readonly)},n.$$.update=()=>{n.$$.dirty&16&&/[\/\\\.]/.test(h)&&t(4,h=h.replaceAll(/[\/\\\.]/g,""))},[i,r,s,l,h,a,u,o,O,p,g,b,y,$,k]}class TC extends Qi{constructor(e){super(),wi(this,e,CC,WC,pi,{active:0,name:1,suffix:2,readonly:3})}}function Xy(n){const e=n-1;return e*e*e+1}function ZC(n,{from:e,to:t},i={}){const r=getComputedStyle(n),s=r.transform==="none"?"":r.transform,[l,o]=r.transformOrigin.split(" ").map(parseFloat),a=e.left+e.width*l/t.width-(t.left+l),u=e.top+e.height*o/t.height-(t.top+o),{delay:h=0,duration:O=g=>Math.sqrt(g)*120,easing:p=Xy}=i;return{delay:h,duration:jc(O)?O(Math.sqrt(a*a+u*u)):O,easing:p,css:(g,b)=>{const y=b*a,$=b*u,k=g+b*e.width/t.width,W=g+b*e.height/t.height;return`transform: ${s} translate(${y}px, ${$}px) scale(${k}, ${W});`}}}function Z1(n,e,t){const i=n.slice();return i[19]=e[t],i}function R1(n,e){let t,i,r,s=Qe,l,o,a;function u(){return e[11](e[19])}function h(...b){return e[12](e[19],...b)}function O(...b){return e[13](e[19],...b)}i=new TC({props:{name:e[19].stem,suffix:e[19].suffix,active:e[0]===e[19].index,readonly:e[1]||e[19].readonlyTab}}),i.$on("click",u),i.$on("rename",h),i.$on("close",O);function p(...b){return e[14](e[19],...b)}function g(...b){return e[15](e[19],...b)}return{key:n,first:null,c(){t=_("li"),ze(i.$$.fragment),w(t,"draggable",!0),fe(t,"is-active",e[0]===e[19].index),this.first=t},m(b,y){E(b,t,y),Ee(i,t,null),l=!0,o||(a=[oe(t,"dragstart",p),oe(t,"dragover",e[7]),oe(t,"drop",g)],o=!0)},p(b,y){e=b;const $={};y&4&&($.name=e[19].stem),y&4&&($.suffix=e[19].suffix),y&5&&($.active=e[0]===e[19].index),y&6&&($.readonly=e[1]||e[19].readonlyTab),i.$set($),(!l||y&5)&&fe(t,"is-active",e[0]===e[19].index)},r(){r=t.getBoundingClientRect()},f(){LW(t),s()},a(){s(),s=NW(t,r,ZC,{duration:200})},i(b){l||(q(i.$$.fragment,b),l=!0)},o(b){B(i.$$.fragment,b),l=!1},d(b){b&&Y(t),Me(i),o=!1,Gt(a)}}}function X1(n){let e,t,i,r,s,l,o,a,u,h,O,p;return r=new Tt({props:{icon:Ty}}),u=new Tt({props:{icon:$C}}),{c(){e=_("li"),t=_("a"),i=_("span"),ze(r.$$.fragment),s=N(),l=_("li"),o=_("button"),a=_("span"),ze(u.$$.fragment),w(i,"class","icon add-icon svelte-7ub6h4"),w(t,"title","Add new file"),w(a,"class","icon"),w(o,"class","button is-small"),w(o,"title","Manage files"),w(l,"class","right svelte-7ub6h4")},m(g,b){E(g,e,b),Q(e,t),Q(t,i),Ee(r,i,null),E(g,s,b),E(g,l,b),Q(l,o),Q(o,a),Ee(u,a,null),h=!0,O||(p=[oe(t,"click",n[16]),oe(o,"click",n[17])],O=!0)},p:Qe,i(g){h||(q(r.$$.fragment,g),q(u.$$.fragment,g),h=!0)},o(g){B(r.$$.fragment,g),B(u.$$.fragment,g),h=!1},d(g){g&&(Y(e),Y(s),Y(l)),Me(r),Me(u),O=!1,Gt(p)}}}function RC(n){let e,t,i=[],r=new Map,s,l,o=at(n[2]);const a=h=>h[19].name;for(let h=0;h{u=null}),it()):u?(u.p(h,O),O&2&&q(u,1)):(u=X1(h),u.c(),q(u,1),u.m(t,null))},i(h){if(!l){for(let O=0;Oa(U.index),$=(U,z)=>u(z,U.index),k=(U,z)=>b(U.index),W=(U,z)=>O(z,U.index),X=(U,z)=>g(z,U.index),T=()=>o("newFile"),C=()=>o("manageFiles");return n.$$set=U=>{"files"in U&&t(10,r=U.files),"currentIndex"in U&&t(0,s=U.currentIndex),"readonly"in U&&t(1,l=U.readonly)},n.$$.update=()=>{n.$$.dirty&1024&&t(2,i=r.map((U,z)=>{const M=U.name.endsWith(".mzc.mzn")?U.name.length-8:U.name.lastIndexOf(".");return{...U,stem:U.name.substring(0,M),suffix:U.name.substring(M),index:z}}).filter(U=>!U.hidden))},[s,l,i,o,a,u,O,p,g,b,r,y,$,k,W,X,T,C]}class AC extends Qi{constructor(e){super(),wi(this,e,XC,RC,pi,{files:10,currentIndex:0,readonly:1})}}function A1(n,{delay:e=0,duration:t=400,easing:i=bd}={}){const r=+getComputedStyle(n).opacity;return{delay:e,duration:t,easing:i,css:s=>`opacity: ${s*r}`}}function yc(n,{delay:e=0,duration:t=400,easing:i=Xy,x:r=0,y:s=0,opacity:l=0}={}){const o=getComputedStyle(n),a=+o.opacity,u=o.transform==="none"?"":o.transform,h=a*(1-l),[O,p]=dm(r),[g,b]=dm(s);return{delay:e,duration:t,easing:i,css:(y,$)=>` - transform: ${u} translate(${(1-y)*O}${p}, ${(1-y)*g}${b}); - opacity: ${a-h*$}`}}const YC=n=>({}),Y1=n=>({});function U1(n){let e,t,i,r,s,l,o,a,u,h,O,p,g,b,y,$,k,W;const X=n[6].default,T=ji(X,n,n[5],null),C=n[6].footer,U=ji(C,n,n[5],Y1),z=U||UC(n);return{c(){e=_("form"),t=_("div"),i=N(),r=_("div"),s=_("header"),l=_("p"),o=Se(n[0]),a=N(),u=_("button"),h=N(),O=_("section"),T&&T.c(),p=N(),g=_("footer"),z&&z.c(),w(t,"class","modal-background"),w(l,"class","modal-card-title"),w(u,"type","button"),w(u,"class","delete"),w(u,"aria-label","close"),w(s,"class","modal-card-head"),w(O,"class","modal-card-body"),w(g,"class","modal-card-foot"),w(r,"class","modal-card"),w(e,"tabindex","0"),w(e,"class","modal is-active")},m(M,L){E(M,e,L),Q(e,t),Q(e,i),Q(e,r),Q(r,s),Q(s,l),Q(l,o),Q(s,a),Q(s,u),Q(r,h),Q(r,O),T&&T.m(O,null),Q(r,p),Q(r,g),z&&z.m(g,null),n[7](e),$=!0,k||(W=[oe(t,"click",n[4]),oe(u,"click",n[4]),oe(e,"submit",jb(n[8]))],k=!0)},p(M,L){(!$||L&1)&&He(o,M[0]),T&&T.p&&(!$||L&32)&&Gi(T,X,M,M[5],$?Fi(X,M[5],L,null):Hi(M[5]),null),U&&U.p&&(!$||L&32)&&Gi(U,C,M,M[5],$?Fi(C,M[5],L,YC):Hi(M[5]),Y1)},i(M){$||(q(T,M),q(z,M),M&&Ln(()=>{$&&(b||(b=bl(r,yc,{y:-200,duration:200},!0)),b.run(1))}),M&&Ln(()=>{$&&(y||(y=bl(e,A1,{duration:200},!0)),y.run(1))}),$=!0)},o(M){B(T,M),B(z,M),M&&(b||(b=bl(r,yc,{y:-200,duration:200},!1)),b.run(0)),M&&(y||(y=bl(e,A1,{duration:200},!1)),y.run(0)),$=!1},d(M){M&&Y(e),T&&T.d(M),z&&z.d(M),M&&b&&b.end(),n[7](null),M&&y&&y.end(),k=!1,Gt(W)}}}function UC(n){let e,t,i;return{c(){e=_("button"),e.textContent="Cancel",w(e,"class","button")},m(r,s){E(r,e,s),t||(i=oe(e,"click",n[4]),t=!0)},p:Qe,d(r){r&&Y(e),t=!1,i()}}}function EC(n){let e,t,i=n[1]&&U1(n);return{c(){i&&i.c(),e=Ht()},m(r,s){i&&i.m(r,s),E(r,e,s),t=!0},p(r,[s]){r[1]?i?(i.p(r,s),s&2&&q(i,1)):(i=U1(r),i.c(),q(i,1),i.m(e.parentNode,e)):i&&(tt(),B(i,1,1,()=>{i=null}),it())},i(r){t||(q(i),t=!0)},o(r){B(i),t=!1},d(r){r&&Y(e),i&&i.d(r)}}}function MC(n,e,t){let{$$slots:i={},$$scope:r}=e,{title:s}=e,{active:l=!1}=e;const o=Zn();let a;async function u(g){g&&(await In(),a&&a.focus(),o("activate"))}function h(){o("cancel")}function O(g){zt[g?"unshift":"push"](()=>{a=g,t(2,a)})}const p=()=>o("submit");return n.$$set=g=>{"title"in g&&t(0,s=g.title),"active"in g&&t(1,l=g.active),"$$scope"in g&&t(5,r=g.$$scope)},n.$$.update=()=>{n.$$.dirty&2&&u(l)},[s,l,a,o,h,r,i,O,p]}class Yl extends Qi{constructor(e){super(),wi(this,e,MC,EC,pi,{title:0,active:1})}}const Ay=1024;let zC=0;class xn{constructor(e,t){this.from=e,this.to=t}}class ot{constructor(e={}){this.id=zC++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Vi.match(e)),t=>{let i=e(t);return i===void 0?null:[this,i]}}}ot.closedBy=new ot({deserialize:n=>n.split(" ")});ot.openedBy=new ot({deserialize:n=>n.split(" ")});ot.group=new ot({deserialize:n=>n.split(" ")});ot.contextHash=new ot({perNode:!0});ot.lookAhead=new ot({perNode:!0});ot.mounted=new ot({perNode:!0});class ia{constructor(e,t,i){this.tree=e,this.overlay=t,this.parser=i}static get(e){return e&&e.props&&e.props[ot.mounted.id]}}const VC=Object.create(null);class Vi{constructor(e,t,i,r=0){this.name=e,this.props=t,this.id=i,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):VC,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Vi(e.name||"",t,e.id,i);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(ot.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let i in e)for(let r of i.split(" "))t[r]=e[i];return i=>{for(let r=i.prop(ot.group),s=-1;s<(r?r.length:0);s++){let l=t[s<0?i.name:r[s]];if(l)return l}}}}Vi.none=new Vi("",Object.create(null),0,8);class Xd{constructor(e){this.types=e;for(let t=0;t0;for(let a=this.cursor(l|Rt.IncludeAnonymous);;){let u=!1;if(a.from<=s&&a.to>=r&&(!o&&a.type.isAnonymous||t(a)!==!1)){if(a.firstChild())continue;u=!0}for(;u&&i&&(o||!a.type.isAnonymous)&&i(a),!a.nextSibling();){if(!a.parent())return;u=!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:Ud(Vi.none,this.children,this.positions,0,this.children.length,0,this.length,(t,i,r)=>new Lt(this.type,t,i,r,this.propValues),e.makeTree||((t,i,r)=>new Lt(Vi.none,t,i,r)))}static build(e){return NC(e)}}Lt.empty=new Lt(Vi.none,[],[],0);class Ad{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 Ad(this.buffer,this.index)}}class gs{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return Vi.none}toString(){let e=[];for(let t=0;t0));a=l[a+3]);return o}slice(e,t,i){let r=this.buffer,s=new Uint16Array(t-e),l=0;for(let o=e,a=0;o=e&&te;case 1:return t<=e&&i>e;case 2:return i>e;case 4:return!0}}function na(n,e,t,i){for(var r;n.from==n.to||(t<1?n.from>=e:n.from>e)||(t>-1?n.to<=e:n.to0?o.length:-1;e!=u;e+=t){let h=o[e],O=a[e]+l.from;if(Yy(r,i,O,O+h.length)){if(h instanceof gs){if(s&Rt.ExcludeBuffers)continue;let p=h.findChild(0,h.buffer.length,t,i-O,r);if(p>-1)return new cr(new DC(l,h,e,O),null,p)}else if(s&Rt.IncludeAnonymous||!h.type.isAnonymous||Yd(h)){let p;if(!(s&Rt.IgnoreMounts)&&(p=ia.get(h))&&!p.overlay)return new Xi(p.tree,O,e,l);let g=new Xi(h,O,e,l);return s&Rt.IncludeAnonymous||!g.type.isAnonymous?g:g.nextChild(t<0?h.children.length-1:0,t,i,r)}}}if(s&Rt.IncludeAnonymous||!l.type.isAnonymous||(l.index>=0?e=l.index+t:e=t<0?-1:l._parent._tree.children.length,l=l._parent,!l))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,i=0){let r;if(!(i&Rt.IgnoreOverlays)&&(r=ia.get(this._tree))&&r.overlay){let s=e-this.from;for(let{from:l,to:o}of r.overlay)if((t>0?l<=s:l=s:o>s))return new Xi(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,i)}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}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function M1(n,e,t,i){let r=n.cursor(),s=[];if(!r.firstChild())return s;if(t!=null){for(;!r.type.is(t);)if(!r.nextSibling())return s}for(;;){if(i!=null&&r.type.is(i))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return i==null?s:[]}}function nd(n,e,t=e.length-1){for(let i=n.parent;t>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[t]&&e[t]!=i.name)return!1;t--}}return!0}class DC{constructor(e,t,i,r){this.parent=e,this.buffer=t,this.index=i,this.start=r}}class cr extends Uy{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]}constructor(e,t,i){super(),this.context=e,this._parent=t,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}child(e,t,i){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,i);return s<0?null:new cr(this.context,this,s)}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,i=0){if(i&Rt.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 cr(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 cr(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 cr(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:i}=this.context,r=this.index+4,s=i.buffer[this.index+3];if(s>r){let l=i.buffer[this.index+1];e.push(i.slice(r,s,l)),t.push(0)}return new Lt(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Ey(n){if(!n.length)return null;let e=0,t=n[0];for(let s=1;st.from||l.to=e){let o=new Xi(l.tree,l.overlay[0].from+s.from,-1,s);(r||(r=[i])).push(na(o,e,t,!1))}}return r?Ey(r):i}class vc{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Xi)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:i,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=i+r.buffer[e+1],this.to=i+r.buffer[e+2],!0}yield(e){return e?e instanceof Xi?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,i,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,i);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}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,i=this.mode){return this.buffer?i&Rt.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Rt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Rt.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)):!1;let{buffer:t}=this.buffer,i=this.stack.length-1;if(e<0){let r=i<0?0:this.stack[i]+4;if(this.index!=r)return this.yieldBuf(t.findChild(r,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(i<0?t.buffer.length:t.buffer[this.stack[i]+3]))return this.yieldBuf(r)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,i,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=t+e,l=e<0?-1:i._tree.children.length;s!=l;s+=e){let o=i._tree.children[s];if(this.mode&Rt.IncludeAnonymous||o instanceof gs||!o.type.isAnonymous||Yd(o))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 l=e;l;l=l._parent)if(l.index==r){if(r==this.index)return l;t=l,i=s+1;break e}r=this.stack[--s]}for(let r=i;r=0;s--){if(s<0)return nd(this.node,e,r);let l=i[t.buffer[this.stack[s]]];if(!l.isAnonymous){if(e[r]&&e[r]!=l.name)return!1;r--}}return!0}}function Yd(n){return n.children.some(e=>e instanceof gs||!e.type.isAnonymous||Yd(e))}function NC(n){var e;let{buffer:t,nodeSet:i,maxBufferLength:r=Ay,reused:s=[],minRepeatType:l=i.types.length}=n,o=Array.isArray(t)?new Ad(t,t.length):t,a=i.types,u=0,h=0;function O(C,U,z,M,L,I){let{id:K,start:re,end:Oe,size:me}=o,We=h;for(;me<0;)if(o.next(),me==-1){let Te=s[K];z.push(Te),M.push(re-C);return}else if(me==-3){u=K;return}else if(me==-4){h=K;return}else throw new RangeError(`Unrecognized record size: ${me}`);let he=a[K],ce,Ve,Ke=re-C;if(Oe-re<=r&&(Ve=$(o.pos-U,L))){let Te=new Uint16Array(Ve.size-Ve.skip),Ce=o.pos-Ve.size,nt=Te.length;for(;o.pos>Ce;)nt=k(Ve.start,Te,nt);ce=new gs(Te,Oe-Ve.start,i),Ke=Ve.start-C}else{let Te=o.pos-me;o.next();let Ce=[],nt=[],Yt=K>=l?K:-1,Qt=0,dt=Oe;for(;o.pos>Te;)Yt>=0&&o.id==Yt&&o.size>=0?(o.end<=dt-r&&(b(Ce,nt,re,Qt,o.end,dt,Yt,We),Qt=Ce.length,dt=o.end),o.next()):I>2500?p(re,Te,Ce,nt):O(re,Te,Ce,nt,Yt,I+1);if(Yt>=0&&Qt>0&&Qt-1&&Qt>0){let Ut=g(he);ce=Ud(he,Ce,nt,0,Ce.length,0,Oe-re,Ut,Ut)}else ce=y(he,Ce,nt,Oe-re,We-Oe)}z.push(ce),M.push(Ke)}function p(C,U,z,M){let L=[],I=0,K=-1;for(;o.pos>U;){let{id:re,start:Oe,end:me,size:We}=o;if(We>4)o.next();else{if(K>-1&&Oe=0;me-=3)re[We++]=L[me],re[We++]=L[me+1]-Oe,re[We++]=L[me+2]-Oe,re[We++]=We;z.push(new gs(re,L[2]-Oe,i)),M.push(Oe-C)}}function g(C){return(U,z,M)=>{let L=0,I=U.length-1,K,re;if(I>=0&&(K=U[I])instanceof Lt){if(!I&&K.type==C&&K.length==M)return K;(re=K.prop(ot.lookAhead))&&(L=z[I]+K.length+re)}return y(C,U,z,M,L)}}function b(C,U,z,M,L,I,K,re){let Oe=[],me=[];for(;C.length>M;)Oe.push(C.pop()),me.push(U.pop()+z-L);C.push(y(i.types[K],Oe,me,I-L,re-I)),U.push(L-z)}function y(C,U,z,M,L=0,I){if(u){let K=[ot.contextHash,u];I=I?[K].concat(I):[K]}if(L>25){let K=[ot.lookAhead,L];I=I?[K].concat(I):[K]}return new Lt(C,U,z,M,I)}function $(C,U){let z=o.fork(),M=0,L=0,I=0,K=z.end-r,re={size:0,start:0,skip:0};e:for(let Oe=z.pos-C;z.pos>Oe;){let me=z.size;if(z.id==U&&me>=0){re.size=M,re.start=L,re.skip=I,I+=4,M+=4,z.next();continue}let We=z.pos-me;if(me<0||We=l?4:0,ce=z.start;for(z.next();z.pos>We;){if(z.size<0)if(z.size==-3)he+=4;else break e;else z.id>=l&&(he+=4);z.next()}L=ce,M+=me,I+=he}return(U<0||M==C)&&(re.size=M,re.start=L,re.skip=I),re.size>4?re:void 0}function k(C,U,z){let{id:M,start:L,end:I,size:K}=o;if(o.next(),K>=0&&M4){let Oe=o.pos-(K-4);for(;o.pos>Oe;)z=k(C,U,z)}U[--z]=re,U[--z]=I-C,U[--z]=L-C,U[--z]=M}else K==-3?u=M:K==-4&&(h=M);return z}let W=[],X=[];for(;o.pos>0;)O(n.start||0,n.bufferStart||0,W,X,-1,0);let T=(e=n.length)!==null&&e!==void 0?e:W.length?X[0]+W[0].length:0;return new Lt(a[n.topID],W.reverse(),X.reverse(),T)}const z1=new WeakMap;function ac(n,e){if(!n.isAnonymous||e instanceof gs||e.type!=n)return 1;let t=z1.get(e);if(t==null){t=1;for(let i of e.children){if(i.type!=n||!(i instanceof Lt)){t=1;break}t+=ac(n,i)}z1.set(e,t)}return t}function Ud(n,e,t,i,r,s,l,o,a){let u=0;for(let b=i;b=h)break;U+=z}if(X==T+1){if(U>h){let z=b[T];g(z.children,z.positions,0,z.children.length,y[T]+W);continue}O.push(b[T])}else{let z=y[X-1]+b[X-1].length-C;O.push(Ud(n,b,y,T,X,C,z,null,a))}p.push(C+W-s)}}return g(e,t,i,r,0),(o||a)(O,p,l)}class My{constructor(){this.map=new WeakMap}setBuffer(e,t,i){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,i)}getBuffer(e,t){let i=this.map.get(e);return i&&i.get(t)}set(e,t){e instanceof cr?this.setBuffer(e.context.buffer,e.index,t):e instanceof Xi&&this.map.set(e.tree,t)}get(e){return e instanceof cr?this.getBuffer(e.context.buffer,e.index):e instanceof Xi?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 Xr{constructor(e,t,i,r,s=!1,l=!1){this.from=e,this.to=t,this.tree=i,this.offset=r,this.open=(s?1:0)|(l?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],i=!1){let r=[new Xr(0,e.length,e,0,!1,i)];for(let s of t)s.to>e.length&&r.push(s);return r}static applyChanges(e,t,i=128){if(!t.length)return e;let r=[],s=1,l=e.length?e[0]:null;for(let o=0,a=0,u=0;;o++){let h=o=i)for(;l&&l.from=p.from||O<=p.to||u){let g=Math.max(p.from,a)-u,b=Math.min(p.to,O)-u;p=g>=b?null:new Xr(g,b,p.tree,p.offset+u,o>0,!!h)}if(p&&r.push(p),l.to>O)break;l=snew xn(r.from,r.to)):[new xn(0,0)]:[new xn(0,e.length)],this.createParse(e,t||[],i)}parse(e,t,i){let r=this.startParse(e,t,i);for(;;){let s=r.advance();if(s)return s}}}class LC{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 BC(n){return(e,t,i,r)=>new FC(e,n,t,i,r)}class V1{constructor(e,t,i,r,s){this.parser=e,this.parse=t,this.overlay=i,this.target=r,this.from=s}}function D1(n){if(!n.length||n.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(n))}class jC{constructor(e,t,i,r,s,l,o){this.parser=e,this.predicate=t,this.mounts=i,this.index=r,this.start=s,this.target=l,this.prev=o,this.depth=0,this.ranges=[]}}const rd=new ot({perNode:!0});class FC{constructor(e,t,i,r,s){this.nest=t,this.input=i,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let i=this.baseParse.advance();if(!i)return null;if(this.baseParse=null,this.baseTree=i,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let i=this.baseTree;return this.stoppedAt!=null&&(i=new Lt(i.type,i.children,i.positions,i.length,i.propValues.concat([[rd,this.stoppedAt]]))),i}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let i=Object.assign(Object.create(null),e.target.props);i[ot.mounted.id]=new ia(t,e.overlay,e.parser),e.target.props=i}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t=this.stoppedAt)o=!1;else if(e.hasNode(r)){if(t){let u=t.mounts.find(h=>h.frag.from<=r.from&&h.frag.to>=r.to&&h.mount.overlay);if(u)for(let h of u.mount.overlay){let O=h.from+u.pos,p=h.to+u.pos;O>=r.from&&p<=r.to&&!t.ranges.some(g=>g.fromO)&&t.ranges.push({from:O,to:p})}}o=!1}else if(i&&(l=GC(i.ranges,r.from,r.to)))o=l!=2;else if(!r.type.isAnonymous&&(s=this.nest(r,this.input))&&(r.fromnew xn(O.from-r.from,O.to-r.from)):null,r.tree,h.length?h[0].from:r.from)),s.overlay?h.length&&(i={ranges:h,depth:0,prev:i}):o=!1}}else t&&(a=t.predicate(r))&&(a===!0&&(a=new xn(r.from,r.to)),a.fromnew xn(h.from-t.start,h.to-t.start)),t.target,u[0].from))),t=t.prev}i&&!--i.depth&&(i=i.prev)}}}}function GC(n,e,t){for(let i of n){if(i.from>=t)break;if(i.to>e)return i.from<=e&&i.to>=t?2:1}return 0}function q1(n,e,t,i,r,s){if(e=e.to);i++);let l=r.children[i],o=l.buffer,a=[i];function u(h,O,p,g,b,y){let $=t[y],k=[],W=[];q1(l,h,$,k,W,g);let X=o[$+1],T=o[$+2];a.push(k.length);let C=y?u($+4,o[$+3],l.set.types[o[$]],X,T-X,y-1):e.toTree();return k.push(C),W.push(X-g),q1(l,o[$+3],O,k,W,g),new Lt(p,k,W,b)}r.children[i]=u(0,o.length,Vi.none,0,l.length,t.length-1);for(let h of a){let O=n.tree.children[h],p=n.tree.positions[h];n.yield(new Xi(O,p+n.from,h,n._tree))}}class I1{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Rt.IncludeAnonymous|Rt.IgnoreMounts)}moveTo(e){let{cursor:t}=this,i=e-this.offset;for(;!this.done&&t.from=e&&t.enter(i,1,Rt.IgnoreOverlays|Rt.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&&t.positions[0]==0&&t.children[0]instanceof Lt)t=t.children[0];else break}return!1}}let KC=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let i=this.curFrag=e[0];this.curTo=(t=i.tree.prop(rd))!==null&&t!==void 0?t:i.to,this.inner=new I1(i.tree,-i.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=(e=t.tree.prop(rd))!==null&&e!==void 0?e:t.to,this.inner=new I1(t.tree,-t.offset)}}findMounts(e,t){var i;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let l=(i=s.tree)===null||i===void 0?void 0:i.prop(ot.mounted);if(l&&l.parser==t)for(let o=this.fragI;o=s.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:s.from-a.offset,mount:l})}}}return r}};function N1(n,e){let t=null,i=e;for(let r=1,s=0;r=o)break;a.to<=l||(t||(i=t=e.slice()),a.fromo&&t.splice(s+1,0,new xn(o,a.to))):a.to>o?t[s--]=new xn(o,a.to):t.splice(s--,1))}}return i}function JC(n,e,t,i){let r=0,s=0,l=!1,o=!1,a=-1e9,u=[];for(;;){let h=r==n.length?1e9:l?n[r].to:n[r].from,O=s==e.length?1e9:o?e[s].to:e[s].from;if(l!=o){let p=Math.max(a,t),g=Math.min(h,O,i);pnew xn(p.from+i,p.to+i)),O=JC(e,h,a,u);for(let p=0,g=a;;p++){let b=p==O.length,y=b?u:O[p].from;if(y>g&&t.push(new Xr(g,y,r.tree,-l,s.from>=g||s.openStart,s.to<=y||s.openEnd)),b)break;g=O[p].to}}else t.push(new Xr(a,u,r.tree,-l,s.from>=l||s.openStart,s.to<=o||s.openEnd))}return t}var B1={};class wc{constructor(e,t,i,r,s,l,o,a,u,h=0,O){this.p=e,this.stack=t,this.state=i,this.reducePos=r,this.pos=s,this.score=l,this.buffer=o,this.bufferBase=a,this.curContext=u,this.lookAhead=h,this.parent=O}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,i=0){let r=e.parser.context;return new wc(e,[],t,i,i,0,[],0,r?new j1(r,r.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){var t;let i=e>>19,r=e&65535,{parser:s}=this.p,l=s.dynamicPrecedence(r);if(l&&(this.score+=l),i==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r=2e3&&!(!((t=this.p.parser.nodeSet.types[r])===null||t===void 0)&&t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizeo;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,t,i,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&l.buffer[o-4]==0&&l.buffer[o-1]>-1){if(t==i)return;if(l.buffer[o-2]>=t){l.buffer[o-2]=i;return}}}if(!s||this.pos==i)this.buffer.push(e,t,i,r);else{let l=this.buffer.length;if(l>0&&this.buffer[l-4]!=0)for(;l>0&&this.buffer[l-2]>i;)this.buffer[l]=this.buffer[l-4],this.buffer[l+1]=this.buffer[l-3],this.buffer[l+2]=this.buffer[l-2],this.buffer[l+3]=this.buffer[l-1],l-=4,r>4&&(r-=4);this.buffer[l]=e,this.buffer[l+1]=t,this.buffer[l+2]=i,this.buffer[l+3]=r}}shift(e,t,i,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,r,4);else{let s=e,{parser:l}=this.p;(r>this.pos||t<=l.maxNode)&&(this.pos=r,l.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,i),this.shiftContext(t,i),t<=l.maxNode&&this.buffer.push(t,i,r,4)}}apply(e,t,i,r){e&65536?this.reduce(e):this.shift(e,t,i,r)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(i,r,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 i=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new wc(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,i?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new eT(this);;){let i=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(i==0)return!1;if(!(i&65536))return!0;t.reduce(i)}}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 r=[];for(let s=0,l;sa&1&&o==l)||r.push(t[s],l)}t=r}let i=[];for(let r=0;r>19,r=t&65535,s=this.stack.length-i*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let l=this.findForcedReduction();if(l==null)return!1;t=l}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],i=(r,s)=>{if(!t.includes(r))return t.push(r),e.allActions(r,l=>{if(!(l&393216))if(l&65536){let o=(l>>19)-s;if(o>1){let a=l&65535,u=this.stack.length-o*3;if(u>=0&&e.getGoto(this.stack[u],a,!1)>=0)return o<<19|65536|a}}else{let o=i(l,s+1);if(o!=null)return o}})};return i(this.state,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(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),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 j1{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class eT{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class Qc{constructor(e,t,i){this.stack=e,this.pos=t,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new Qc(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(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,this.index==0&&this.maybeNext()}fork(){return new Qc(this.stack,this.pos,this.index)}}function Ao(n,e=Uint16Array){if(typeof n!="string")return n;let t=null;for(let i=0,r=0;i=92&&l--,l>=34&&l--;let a=l-32;if(a>=46&&(a-=46,o=!0),s+=a,o)break;s*=46}t?t[r++]=s:t=new e(s)}return t}class fc{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const F1=new fc;class tT{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=F1,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 i=this.range,r=this.rangeIndex,s=this.pos+e;for(;si.to:s>=i.to;){if(r==this.ranges.length-1)return null;let l=this.ranges[++r];s+=l.from-i.to,i=l}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,i,r;if(t>=0&&t=this.chunk2Pos&&io.to&&(this.chunk2=this.chunk2.slice(0,o.to-i)),r=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),r}acceptToken(e,t=0){let i=t?this.resolveOffset(t,-1):this.pos;if(i==null||i=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,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=F1,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 i="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(i+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return i}}class Cl{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;Vy(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}Cl.prototype.contextual=Cl.prototype.fallback=Cl.prototype.extend=!1;class kc{constructor(e,t,i){this.precTable=t,this.elseToken=i,this.data=typeof e=="string"?Ao(e):e}token(e,t){let i=e.pos,r=0;for(;;){let s=e.next<0,l=e.resolveOffset(1,1);if(Vy(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,l==null)break;e.reset(l,e.token)}r&&(e.reset(i,e.token),e.acceptToken(this.elseToken,r))}}kc.prototype.contextual=Cl.prototype.fallback=Cl.prototype.extend=!1;class gr{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function Vy(n,e,t,i,r,s){let l=0,o=1<0){let b=n[g];if(a.allows(b)&&(e.token.value==-1||e.token.value==b||iT(b,e.token.value,r,s))){e.acceptToken(b);break}}let h=e.next,O=0,p=n[l+2];if(e.next<0&&p>O&&n[u+p*3-3]==65535){l=n[u+p*3-1];continue e}for(;O>1,b=u+g+(g<<1),y=n[b],$=n[b+1]||65536;if(h=$)O=g+1;else{l=n[b+2],e.advance();continue e}}break}}function G1(n,e,t){for(let i=e,r;(r=n[i])!=65535;i++)if(r==t)return i-e;return-1}function iT(n,e,t,i){let r=G1(t,i,e);return r<0||G1(t,i,n)e)&&!i.type.isError)return t<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(n.length,Math.max(i.from+1,e+25));if(t<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return t<0?0:n.length}}class nT{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?H1(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?H1(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=l,null;if(s instanceof Lt){if(l==e){if(l=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(l),this.index.push(0))}else this.index[t]++,this.nextStart=l+s.length}}}class rT{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new fc)}getActions(e){let t=0,i=null,{parser:r}=e.p,{tokenizers:s}=r,l=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let u=0;uO.end+25&&(a=Math.max(O.lookAhead,a)),O.value!=0)){let p=t;if(O.extended>-1&&(t=this.addActions(e,O.extended,O.end,t)),t=this.addActions(e,O.value,O.end,t),!h.extend&&(i=O,t>p))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),!i&&e.pos==this.stream.end&&(i=new fc,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,t=this.addActions(e,i.value,i.end,t)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new fc,{pos:i,p:r}=e;return t.start=i,t.end=Math.min(i+1,r.stream.end),t.value=i==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,i){let r=this.stream.clipPos(i.pos);if(t.token(this.stream.reset(r,e),i),e.value>-1){let{parser:s}=i.p;for(let l=0;l=0&&i.p.parser.dialect.allows(o>>1)){o&1?e.extended=o>>1:e.value=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,i,r){for(let s=0;se.bufferLength*4?new nT(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,i=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[l]=e;for(;l.forceReduce()&&l.stack.length&&l.stack[l.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let l=0;lt)i.push(o);else{if(this.advanceStack(o,i,e))continue;{r||(r=[],s=[]),r.push(o);let a=this.tokens.getMainToken(o);s.push(a.value,a.end)}}break}}if(!i.length){let l=r&&oT(r);if(l)return on&&console.log("Finish with "+this.stackID(l)),this.stackToTree(l);if(this.parser.strict)throw on&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&r){let l=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,i);if(l)return on&&console.log("Force-finish "+this.stackID(l)),this.stackToTree(l.forceAll())}if(this.recovering){let l=this.recovering==1?1:this.recovering*3;if(i.length>l)for(i.sort((o,a)=>a.score-o.score);i.length>l;)i.pop();i.some(o=>o.reducePos>t)&&this.recovering--}else if(i.length>1){e:for(let l=0;l500&&u.buffer.length>500)if((o.score-u.score||o.buffer.length-u.buffer.length)>0)i.splice(a--,1);else{i.splice(l--,1);continue e}}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(let l=1;l ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.curContext&&e.curContext.tracker.strict,h=u?e.curContext.hash:0;for(let O=this.fragments.nodeAt(r);O;){let p=this.parser.nodeSet.types[O.type.id]==O.type?s.getGoto(e.state,O.type.id):-1;if(p>-1&&O.length&&(!u||(O.prop(ot.contextHash)||0)==h))return e.useNode(O,p),on&&console.log(l+this.stackID(e)+` (via reuse of ${s.getName(O.type.id)})`),!0;if(!(O instanceof Lt)||O.children.length==0||O.positions[0]>0)break;let g=O.children[0];if(g instanceof Lt&&O.positions[0]==0)O=g;else break}}let o=s.stateSlot(e.state,4);if(o>0)return e.reduce(o),on&&console.log(l+this.stackID(e)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let u=0;ur?t.push(b):i.push(b)}return!1}advanceFully(e,t){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return K1(e,t),!0}}runRecovery(e,t,i){let r=null,s=!1;for(let l=0;l ":"";if(o.deadEnd&&(s||(s=!0,o.restart(),on&&console.log(h+this.stackID(o)+" (restarted)"),this.advanceFully(o,i))))continue;let O=o.split(),p=h;for(let g=0;O.forceReduce()&&g<10&&(on&&console.log(p+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,i));g++)on&&(p=this.stackID(O)+" -> ");for(let g of o.recoverByInsert(a))on&&console.log(h+this.stackID(g)+" (via recover-insert)"),this.advanceFully(g,i);this.stream.end>o.pos?(u==o.pos&&(u++,a=0),o.recoverByDelete(a,u),on&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),K1(o,i)):(!r||r.scoren;class Dy{constructor(e){this.start=e.start,this.shift=e.shift||Kh,this.reduce=e.reduce||Kh,this.reuse=e.reuse||Kh,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class ms extends zy{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let o=0;oe.topRules[o][1]),r=[];for(let o=0;o=0)s(h,a,o[u++]);else{let O=o[u+-h];for(let p=-h;p>0;p--)s(o[u++],a,O);u++}}}this.nodeSet=new Xd(t.map((o,a)=>Vi.define({name:a>=this.minRepeatTerm?void 0:o,id:a,props:r[a],top:i.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Ay;let l=Ao(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new Cl(l,o):o),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,i){let r=new sT(this,e,t,i);for(let s of this.wrappers)r=s(r,e,t,i);return r}getGoto(e,t,i=!1){let r=this.goto;if(t>=r[0])return-1;for(let s=r[t+1];;){let l=r[s++],o=l&1,a=r[s++];if(o&&i)return a;for(let u=s+(l>>1);s0}validAction(e,t){return!!this.allActions(e,i=>i==t?!0:null)}allActions(e,t){let i=this.stateSlot(e,4),r=i?t(i):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=Zr(this.data,s+2);else break;r=t(Zr(this.data,s+1))}return r}nextStates(e){let t=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=Zr(this.data,i+2);else break;if(!(this.data[i+2]&1)){let r=this.data[i+1];t.some((s,l)=>l&1&&s==r)||t.push(this.data[i],r)}}return t}configure(e){let t=Object.assign(Object.create(ms.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=i}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(i=>{let r=e.tokenizers.find(s=>s.from==i);return r?r.to:i})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((i,r)=>{let s=e.specializers.find(o=>o.from==i.external);if(!s)return i;let l=Object.assign(Object.assign({},i),{external:s.to});return t.specializers[r]=J1(l),l})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(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 t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),i=t.map(()=>!1);if(e)for(let s of e.split(" ")){let l=t.indexOf(s);l>=0&&(i[l]=!0)}let r=null;for(let s=0;si)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scoren.external(t,i)<<1|e}return n.get}const aT={__proto__:null,annotation:12,array:20,var:24,par:26,opt:28,ann:32,bool:34,float:36,int:38,string:40,_:50,true:62,false:64,infinity:68,"∅":74,in:92,where:94,if:98,then:100,elseif:102,else:104,endif:106,xor:110,subset:112,superset:114,union:116,diff:118,symdiff:120,intersect:122,div:124,mod:126,default:128,let:132,constraint:140,not:144,"¬":146,any:170,of:172,set:176,tuple:180,record:184,op:190,enum:198,function:202,solve:206,satisfy:208,maximize:210,minimize:212,include:216,output:220,predicate:224,test:226,type:230},fT=ms.deserialize({version:14,states:"!0jQ]QPOOOOQO'#F]'#F]O&XQPO'#CvO&`QPO'#CxOOQO'#C}'#C}O&gQPO'#DSO&nOQO'#DTO$kQPO'#DWOOQO'#Fc'#FcO*}QPO'#CgO+eQPO'#DrO$kQPO'#DuO$kQPO'#DuO/qQPO'#FbOOQO'#Fb'#FbOOQO'#Cg'#CgOOQO'#F`'#F`OOQO'#F['#F[Q/xQPO'#EtQ]QPOOOOQO'#Ck'#CkOOQO'#Ct'#CtOOQO'#Cz'#CzOOQO'#DQ'#DQO$kQPO'#D^O/}QPO'#DsO0UQPO'#DoO0ZQPO'#CgO0wQPO'#CgO1hQPO'#E`O1|QPO'#CeO2RQPO'#EVO2WQPO'#EXO2]QPO'#EZO2bQPO'#E^O2gQPO'#C`O2gQPO'#EbO2oQPO'#EdO3uQPO'#EfO4TQPO'#EkO4YQPO'#EmO2gQPO'#EoO2gQPO'#ErO4aQPO'#CwO4qQPO,59bOOQO,59b,59bO4{QPO,59bO5TQPO'#FbO7`QPO,59tO7pQPO,59dO7xQPO,59dOOQO,59d,59dO8PQPO,59nO8^QPO,59nOOQO,59n,59nO$kQPO'#DUOOOO'#E{'#E{O8eOQO,59oOOQO,59o,59oO8sQPO,5:jO=UQPO'#FbO=`QPO,59rO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OOArQPO,5:dO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OOCzQPO,5:kOEhQSO,5:lO$kQPO,5:OO$kQPO,5:OO2gQPO,5:^OIzQPO,5:aOJ}QPO,5:aOLQQPO'#D{OOQO,5:f,5:fOLXQPO,5:hO$kQPO,5:{OOQO,5;`,5;`OOQO-E8r-E8rOL^QPO,59xOLeQPO,5:_OLuQPO,5:_ONcQPO'#DqO! oQPO,5:ZO! tQPO,59ROOQO,59R,59RO!![QPO,5:qO!!aQPO,59RO!!}QPO,59PO2oQPO,5:qO2oQPO,5:sO2oQPO,5:uO2oQPO,5:xO!#tQPO,58zO!$SQPO,5:|O!$bQPO,5;OOOQO,5;Q,5;QO$kQPO,5;QO$kQPO,5;QOOQO,5;V,5;VO!$gQPO,5;XO4TQPO,5;XO!$qQPO,5;ZO!$vQPO,5;^O!${QPO,5;bO!&[QPO,59cO!&fQPO,59cO!&qQPO'#EvOOQO-E8t-E8tO!&xQPO1G.|O!'PQPO1G.|OOQO1G.|1G.|O$kQPO1G/`O2gQPO1G/`OOQO,5;e,5;eOOQO1G/O1G/OO!'XQPO'#CyO!'fQPO1G/OOOQO-E8w-E8wOOQO,5;f,5;fOOQO1G/Y1G/YO2gQPO1G0PO!'nQPO1G/YOOQO-E8x-E8xO!'xQPO,59pOOOO-E8y-E8yOOQO1G/Z1G/ZO$kQPO1G/]OOQO1G0U1G0UO$kQPO,59sO!(PQPO1G/^O!([QPO1G/^OOQO1G/^1G/^O!-WQPO1G/jO!-nQPO1G/jO!3UQPO1G/jO!3`QPO1G/jO!7hQPO1G/jO!8tQPO1G/jO!?QQPO1G/jO!?[QPO1G/jO!D]QPO1G/jO!ITQPO1G/jO!IzQPO1G/jO# bQPO1G/jO# iQPO1G/jO#&sQPO1G/jO#&zQPO1G0VO#'UQPO1G0VOOQO'#ER'#EROOQO1G0W1G0WOOQO1G0Y1G0YO#'`QPO1G/jO#(oQPO1G/xO#)TQPO,5:gO#)_QPO,5:gOOQO,5:g,5:gO#)fQPO'#FbO#)pQPO,5:iO$kQPO'#EOOOQO1G0S1G0SO#)xQPO1G0gO$kQPO1G/dO#-qQPO1G/yO#/aQPO,5:]O#/lQPO,5:]OOQO,5:],5:]O$kQPO1G/uO2oQPO1G0]O#0xQPO1G.mOOQO1G.m1G.mO#1`QPO1G0]O#1eQPO'#CgO#2OQPO'#CgO#2lQPO'#CgO#2qQPO1G.kOOQO1G0]1G0]O#2yQPO1G0_O#3OQPO'#E]O#3TQPO1G0aO#3]QPO1G0dO#3bQPO'#F^O$kQPO1G.fO#4kQPO1G.fO$kQPO1G0hO$kQPO1G0hO2gQPO1G0jO#4vQPO1G0lO#5QQPO1G0lO$kQPO1G0sO#5_QPO1G0uO2oQPO1G0xO#5mQPO1G.}O#5zQPO,5;cO#6[QPO1G.}OOQO-E8u-E8uOOQO,5;b,5;bO#6fQPO'#CwOOQO,5;d,5;dOOQO7+$h7+$hO#6vQPO7+$hOOQO-E8v-E8vO#6}QPO7+$zO#7[QPO7+$zO#7dQPO'#DZO$kQPO,59eOOQO7+$j7+$jP#7lQPO'#EyO#7qQPO7+%kOOQO7+$t7+$tP#7yQPO'#EzOOOO1G/[1G/[O#8QQPO7+$wO#8[QPO1G/_O#8fQPO'#DXOOQO,5;h,5;hOOQO7+$x7+$xO#8kQPO7+$xOOQO-E8z-E8zO#:dQPO7+%qO#:kQPO7+%qOOQO7+%q7+%qO$kQPO7+%dO$kQPO7+%dOOQO,5;m,5;mOOQO1G0R1G0RO#:sQPO1G0ROOQO-E9P-E9PO#:}QPO,59uO#;YQPO,59uO$kQPO,59uO#;bQPO1G0TO#;mQPO1G0TOOQO1G0T1G0TO8vQPO,5:jO#;uQPO7+%OO#QOOQOAN>QAN>QO$3mQPOAN>QOOQOAN>qAN>qO$3xQPOAN>qOOQOAN=}AN=}O$4TQPOAN=}OOQOAN>wAN>wP#8vQPO'#FSO$kQPOAN>jO$4[QPO7+${O$kQPO7+${P2gQPO'#E}O$kQPO7+${OOQO<UAN>UO$kQPOAN>UO$4oQPO,5;kO$4vQPOAN>UO2oQPOAN=]O$4}QPOAN=]P!!}QPO'#FTOOQOAN=]AN=]O$5SQPOAN?PO$6]QPOAN?POOQOAN?PAN?POOQOAN?RAN?RP2oQPO'#FVO$6eQPOAN?UO$6mQPOAN?UO$7vQPOAN?UO$7{QPO1G.jOOQO7+'O7+'OP$8WQPO'#EuO$8]QPO!$'M|O$kQPOAN?[O$kQPOAN?[O$vQPOG24pO$>{QPOG24pOOQO-E9U-E9UOOQOG24pG24pO$kQPO7+$UO$?TQPOG24vO$?_QPOG24vOOQOLD)WLD)WO$?iQPOLD)WO$?tQPOAN>RO$kQPOAN>ROOQOLD)[LD)[O$@UQPO7+&qOOQOLD(cLD(cOOQOLD*VLD*VP2oQPO'#FUOOQOLD*[LD*[O$@cQPOLD*[P$@hQPO'#FWO$@mQPO<h7iPP$cP$cP$cP>k$cP$c$X$XP$XP$XPPPP$XP$XP$XPP$XP>s>y?P?V?f?m?t?z@Q@W@_@q@w@}ATA]AcAiAoPPPAuAyF[PFePGs4cTaOcQ&v%VR(f&w!V`Ocu#O#V#W#X#Y$u$x%V%a&j&o&q&w(Z(`(b)U)Y)^)`)u)x*[!U`Ocu#O#V#W#X#Y$u$x%V%a&j&o&q&w(Z(`(b)U)Y)^)`)u)x*[Q%P#UV(V&l(X)W!^_Ocu#O#U#V#W#X#Y$u$x%V%a&j&l&o&q&w(X(Z(`(b)U)W)Y)^)`)u)x*[W#Rkl$|$}T$z#T&k'XWOQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ!OQV%h#k%j'Z'VWOQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZS!RR&`R#s!S'WWOQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ#awR%_#cT!YU!ZQ!_VV%y$Q%{'h'V^OQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ$n!uQ%m#oQ%r#wb'w&Z']'a'y(q(s)O)h*TR(o'['X^OQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+Z']^OQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&b&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*d*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ#PjR*y*zSaOcQ$t#OR&f$uX!v]!P!^$mX!w]!P!^$m'W^OQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZR$p!wR$f!oQ%T#XV(^&q(`)^QcOR!zcQ&w%VR(g&wQ|QR#j|S#h{%gU%e#h'V'eQ'V%bR'e%vS#l|!OR%k#lS!SR&`R#t!SQ!VTR#y!VQ!ZUR#{!ZQ$R!_R%|$RS&X$m%nR'u&XQ&[$nQ'^%mQ'b%rW'z&['^'b)iR)i(oQ'{&_R)P'{Q$u#OR&g$uQ$k!uR&V$kU&O$c$d(PR'm&OQ&m%PR(Y&mQ)Z([R)y)ZQ&r%TR(a&rQ)`(bR)})`TbOcS]Oc'O!PQRTZ[hiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ!^VQ#ZsQ#[tQ#dyQ#ezQ$g!oQ$i!rQ$m!uh%n#o#w&Z'[']'a'y(q(s)O)h*TU%x$Q%{'hQ&}%[U'r&W't({Q(]&pR)b(cQ%X#ZQ%`#dR(j&}WYOc#O$uQ#]uQ%Q#VQ%R#WW%S#X&q(`)^Q%U#YQ&i$xS&u%V&wQ'T%aQ(U&jQ([&oQ)X(ZQ)_(bQ)t)UU)v)Y)x*[Q)|)`R*Y)u!^XOcu#O#U#V#W#X#Y$u$x%V%a&j&l&o&q&w(X(Z(`(b)U)W)Y)^)`)u)x*[Q{QQ!QRQ!UTQ!]VQ!sZU!t[$d'jQ!{hQ!|iW#Qkl$|$}Q#bxQ#i|Q#r!SQ#x!VQ#z!XQ$T!`Q$U!aQ$V!bQ$W!cQ$X!dQ$Y!eQ$Z!fQ$[!gQ$]!hS$^!i!pQ$_!jQ$`!kQ$a!lQ$b!mQ$c!nS$h!q+RQ$j!uQ$q!xQ$s!}S$y#T&kQ%]#_Q%^#`S%b#f'X^%c#g%d'U'W'd(n(uU%g#k%j'ZQ%l#nQ%v#}Q%w$PQ&U$kQ&^$oQ&_$rQ&a$sQ&h$wQ&y%WQ&{%YQ&|%ZQ'Q%_Q'`%oU'i%}'l(wQ'n&QQ'o&RQ'v&YQ(P&`Q(Q&bQ(R&cQ(h&zQ(k'PQ(l'RQ(m'SQ(y'sQ)S'|Q)T(OQ)e(iQ)m(xQ)o(zQ)p(|Q)q)RQ*Q)fQ*R)gQ*U)nQ*X)rQ*`*PQ*b*VQ*e*oQ*f*pQ*g*qQ*h*rQ*i*sQ*j*tQ*k*uQ*l*vS*m*d*wQ*n*xQ+S*{Q+T+ZQ+U*|Q+V*}Q+W+OQ+X+PR+Y+Q",nodeNames:"⚠ LineComment BlockComment SourceFile Annotation Identifier Keyword QuotedIdentifier Parameter ArrayType Keyword TypeBase Keyword Keyword Keyword PrimitiveType Keyword Keyword Keyword Keyword Keyword TypeInstId TypeInstEnumId Absent Anonymous Keyword ArrayLiteral2d ArrayLiteral2dRow ArrayLiteral ArrayLiteralMember BooleanLiteral Keyword Keyword Infinity Keyword Number EmptySet Keyword SetLiteral StringLiteral Interpolation TupleLiteral RecordLiteral RecordMember ArrayComprehension Generator Keyword Keyword IfThenElse Keyword Keyword Keyword Keyword Keyword InfixOperator Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword LetExpression Keyword LetItems Declaration Constraint Keyword PrefixOperator Keyword Keyword PostfixOperator SetComprehension Call Application GeneratorCall GeneratorCallGenerators ParenthesisedExpression IndexedAccess TupleAccess Number RecordAccess Keyword Keyword SetType Keyword TupleType Keyword RecordType Keyword RecordTypeField OperationType Keyword AnyType Assignment Enumeration Keyword FunctionItem Keyword Goal Keyword Keyword Keyword Keyword Include Keyword Output Keyword Predicate Keyword Keyword TypeAlias Keyword",maxTerm:210,skippedNodes:[0,1,2],repeatNodeCount:19,tokenData:"!8_~R!oOX&SXY&qYZ'nZ]&S]^&q^p&Spq&qqr(Prs)Xsu&Suv)^vw&Swx*lxy,ryz-]z{-v{|.a|}/k}!O0U!O!P1`!P!Q3Z!Q!R9g!R![@|![!]Bz!]!^DU!^!_Do!_!`Is!`!aJ}!a!c&S!c!}LX!}#OM[#O#PNf#P#Q!#p#Q#R!$Z#R#SLX#S#T&S#T#oLX#o#p!$t#p#q!%_#q#r!&f#r#s!'P#s%#t&S%#t%#u!.O%#u%#v&S%#v%#w!.i%#w%%W&S%%W%%X!/S%%X%%Y&S%%Y%%Z!/m%%Z%%[&S%%[%%]!0W%%]%&b&S%&b%&c!0q%&c%&p&S%&p%&q!1[%&q%&x&S%&x%&y!1u%&y%'R&S%'R%'S!2`%'S%'T!2y%'T%'U!3d%'U%'V!3}%'V%(^&S%(^%(_!4h%(_%(b&S%(b%(c!5R%(c%(d!5l%(d%)U&S%)U%)V!6V%)V%)W!6p%)W%*]&S%*]%*^!7Z%*^%Gc&S%Gc%Gd!7t%Gd;'S&S;'S;=`&k<%lO&SQ&XU$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SQ&nP;=`<%l&SV&x[$bQ#}TOX&SXY&qYZ'nZ]&S]^&q^p&Spq&qqr&Ss#O&S#P;'S&S;'S;=`&k<%lO&ST'sS#}TXY'nYZ'n]^'npq'nR(UW$bQOY&SZr&Ss!_&S!_!`(n!`#O&S#P;'S&S;'S;=`&k<%lO&SR(uU$vP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&S~)^O$a~V)eWPT$bQOY)^Zr)^rs)}s#O)^#O#P)}#P;'S)^;'S;=`*f<%lO)^T*SSPTOY)}Z;'S)};'S;=`*`<%lO)}T*cP;=`<%l)}V*iP;=`<%l)^V*qZ$bQOY*lYZ+dZr*lrs+dsw*lwx,Rx#O*l#O#P+d#P;'S*l;'S;=`,l<%lO*lT+gTOw+dwx+vx;'S+d;'S;=`+{<%lO+dT+{OVTT,OP;=`<%l+dV,YUVT$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SV,oP;=`<%l*lR,yU$RP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR-dU$eP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR-}U%aP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR.hW%[P$bQOY&SZr&Ss{&S{|/Q|#O&S#P;'S&S;'S;=`&k<%lO&SR/XU%^P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR/rU$YP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR0]W%]P$bQOY&SZr&Ss!`&S!`!a0u!a#O&S#P;'S&S;'S;=`&k<%lO&SR0|U$iP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR1gW%iP$bQOY&SZr&Ss!O&S!O!P2P!P#O&S#P;'S&S;'S;=`&k<%lO&SR2WW%WP$bQOY&SZr&Ss!^&S!^!_2p!_#O&S#P;'S&S;'S;=`&k<%lO&SR2wU%YP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SV3bX%bP$bQOY&SZr&Ssz&Sz{3}{#O&S#O#P9b#P;'S&S;'S;=`&k<%lO&SV4SZ$bQOY3}YZ4uZr3}rs4usz3}z{8S{#O3}#O#P5j#P;'S3};'S;=`9[<%lO3}T4xVOz4uz{5_{#O4u#O#P5j#P;'S4u;'S;=`7|<%lO4uT5bP!P!Q5eT5jOQTT5mXOz4uz{6Y{#O4u#O#P5j#P#b4u#b#c4u#c;'S4u;'S;=`7|<%lO4uT6]VOz4uz{6r{!P4u!P!Q5e!Q;'S4u;'S;=`7|<%lO4uT6uXOz4uz{5_{!P4u!P!Q7b!Q#O4u#O#P5j#P;'S4u;'S;=`7|<%lO4uT7gVQTOz4uz{5_{#O4u#O#P5j#P;'S4u;'S;=`7|<%lO4uT8PP;=`<%l4uV8XW$bQOY&SZr&Ss!P&S!P!Q8q!Q#O&S#P;'S&S;'S;=`&k<%lO&SV8xUQT$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SV9_P;=`<%l3}P9gO$rPR9n`sP$bQOY&SZr&Ss!O&S!O!P:p!P!Q&S!Q![m!h#O&S#P#X&S#X#Y>m#Y;'S&S;'S;=`&k<%lO&SR=WW$bQOY&SZr&Ss!Q&S!Q![=p![#O&S#P;'S&S;'S;=`&k<%lO&SR=w[sP$bQOY&SZr&Ss!Q&S!Q![=p![!g&S!g!h>m!h#O&S#P#X&S#X#Y>m#Y;'S&S;'S;=`&k<%lO&SR>r[$bQOY&SZr&Ss{&S{|:p|}&S}!O:p!O!Q&S!Q![;_![#O&S#P;'S&S;'S;=`&k<%lO&SR?mW$bQOY&SZr&Ss!Q&S!Q![@V![#O&S#P;'S&S;'S;=`&k<%lO&SR@^YsP$bQOY&SZr&Ss!O&S!O!P:p!P!Q&S!Q![m!h#O&S#P#X&S#X#Y>m#Y;'S&S;'S;=`&k<%lO&SRCRW$XP$bQOY&SZr&Ss![&S![!]Ck!]#O&S#P;'S&S;'S;=`&k<%lO&SRCrU%gP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRD]U%hP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRDv[$xP$bQOY&SZr&Ss}&S}!OEl!O!PFv!P!_&S!_!`Ho!`!aIY!a#O&S#P;'S&S;'S;=`&k<%lO&SREsW$lP$bQOY&SZr&Ss!`&S!`!aF]!a#O&S#P;'S&S;'S;=`&k<%lO&SRFdU$fP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRF{W$bQOY&SZr&Ss!O&S!O!PGe!P#O&S#P;'S&S;'S;=`&k<%lO&SRGlW%XP$bQOY&SZr&Ss!^&S!^!_HU!_#O&S#P;'S&S;'S;=`&k<%lO&SRH]U%ZP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRHvU$yP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRIaUgP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRIzW$tP$bQOY&SZr&Ss!_&S!_!`Jd!`#O&S#P;'S&S;'S;=`&k<%lO&SRJkU$uP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRKUW${P$bQOY&SZr&Ss!_&S!_!`Kn!`#O&S#P;'S&S;'S;=`&k<%lO&SRKuU$|P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SVL`^TT$bQOY&SZr&Ss!Q&S!Q![LX![!c&S!c!}LX!}#O&S#P#R&S#R#SLX#S#T&S#T#oLX#o;'S&S;'S;=`&k<%lO&SRMcW$TP$bQOY&SZr&Ss#O&S#P#p&S#p#qM{#q;'S&S;'S;=`&k<%lO&SRNSU$WP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&S~NiXrs! Utu! Zxy!!j!P!Q!!o!Q!Y!!t#O#P! U#b#c! U#h#i! U#l#m!#U~! ZO$c~~! ^R!c!}! g#O#P! x#T#o! g~! lSe~!Q![! g!c!}! g#R#S! g#T#o! g~! {Ptu!!O~!!RQ!c!}!!X#T#o!!X~!!^Sf~!Q![!!X!c!}!!X#R#S!!X#T#o!!X~!!oO$d~~!!tO$o~~!!yP$c~!Q!Y!!|~!#RP$c~!Q!Y! U~!#XR!Q![!#b!c!i!#b#T#Z!#b~!#gR$c~!Q![! U!c!i! U#T#Z! UR!#wU$]P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!$bU%fP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!${U$_P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!%fV$ZP$bQOY&SZr&Ss#O&S#P#Q!%{#Q;'S&S;'S;=`&k<%lO&SR!&SU$[P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!&mU$`P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!'Ub$bQOY&SZq&Sqr!(^sz&Sz{!)f{|!*P|}&S}!O!*j!O!P&S!P!Q!+T!Q!_&S!_!`!+n!`#O&S#P#W&S#W#X!,X#X;'S&S;'S;=`&k<%lO&SR!(cW$bQOY&SZr&Ss!_&S!_!`!({!`#O&S#P;'S&S;'S;=`&k<%lO&SR!)SU%SP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!)mU%cP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!*WU%_P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!*qU%`P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!+[U%eP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!+uU%RP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!,^W$bQOY&SZr&Ss#O&S#P#]&S#]#^!,v#^;'S&S;'S;=`&k<%lO&SR!,{W$bQOY&SZr&Ss#O&S#P#j&S#j#k!-e#k;'S&S;'S;=`&k<%lO&SR!-lU%dP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!.VU$mP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!.pU$jP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!/ZU$nP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!/tU$kP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!0_U$hP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!0xU%OP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!1cU%UP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!1|U$^P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!2gU$sP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!3QU$pP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!3kU%VP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!4UU%TP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!4oU$wP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!5YU$zP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!5sU$}P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!6^U%PP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!6wU%QP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!7bU$qP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!7{U$gP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&S",tokenizers:[0,1,2],topRules:{SourceFile:[0,3]},specialized:[{term:5,get:n=>aT[n]||-1}],tokenPrec:0});let cT=0;class or{constructor(e,t,i){this.set=e,this.base=t,this.modified=i,this.id=cT++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new or([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new Pc;return t=>t.modified.indexOf(e)>-1?t:Pc.get(t.base||t,t.modified.concat(e).sort((i,r)=>i.id-r.id))}}let uT=0;class Pc{constructor(){this.instances=[],this.id=uT++}static get(e,t){if(!t.length)return e;let i=t[0].instances.find(o=>o.base==e&&hT(t,o.modified));if(i)return i;let r=[],s=new or(r,e,t);for(let o of t)o.instances.push(s);let l=OT(t);for(let o of e.set)if(!o.modified.length)for(let a of l)r.push(Pc.get(o,a));return s}}function hT(n,e){return n.length==e.length&&n.every((t,i)=>t==e[i])}function OT(n){let e=[[]];for(let t=0;ti.length-t.length)}function Il(n){let e=Object.create(null);for(let t in n){let i=n[t];Array.isArray(i)||(i=[i]);for(let r of t.split(" "))if(r){let s=[],l=2,o=r;for(let O=0;;){if(o=="..."&&O>0&&O+3==r.length){l=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!p)throw new RangeError("Invalid path: "+r);if(s.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),O+=p[0].length,O==r.length)break;let g=r[O++];if(O==r.length&&g=="!"){l=0;break}if(g!="/")throw new RangeError("Invalid path: "+r);o=r.slice(O)}let a=s.length-1,u=s[a];if(!u)throw new RangeError("Invalid path: "+r);let h=new _c(i,l,a>0?s.slice(0,a):null);e[u]=h.sort(e[u])}}return qy.add(e)}const qy=new ot;class _c{constructor(e,t,i,r){this.tags=e,this.mode=t,this.context=i,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let l=r;for(let o of s)for(let a of o.set){let u=t[a.id];if(u){l=l?l+" "+u:u;break}}return l},scope:i}}function dT(n,e){let t=null;for(let i of n){let r=i.style(e);r&&(t=t?t+" "+r:r)}return t}function pT(n,e,t,i=0,r=n.length){let s=new gT(i,Array.isArray(e)?e:[e],t);s.highlightRange(n.cursor(),i,r,"",s.highlighters),s.flush(r)}class gT{constructor(e,t,i){this.at=e,this.highlighters=t,this.span=i,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,i,r,s){let{type:l,from:o,to:a}=e;if(o>=i||a<=t)return;l.isTop&&(s=this.highlighters.filter(g=>!g.scope||g.scope(l)));let u=r,h=mT(e)||_c.empty,O=dT(s,h.tags);if(O&&(u&&(u+=" "),u+=O,h.mode==1&&(r+=(r?" ":"")+O)),this.startSpan(Math.max(t,o),u),h.opaque)return;let p=e.tree&&e.tree.prop(ot.mounted);if(p&&p.overlay){let g=e.node.enter(p.overlay[0].from+o,1),b=this.highlighters.filter($=>!$.scope||$.scope(p.tree.type)),y=e.firstChild();for(let $=0,k=o;;$++){let W=$=X||!e.nextSibling())););if(!W||X>i)break;k=W.to+o,k>t&&(this.highlightRange(g.cursor(),Math.max(t,W.from+o),Math.min(i,k),"",b),this.startSpan(Math.min(i,k),u))}y&&e.parent()}else if(e.firstChild()){p&&(r="");do if(!(e.to<=t)){if(e.from>=i)break;this.highlightRange(e,t,i,r,s),this.startSpan(Math.min(i,e.to),u)}while(e.nextSibling());e.parent()}}}function mT(n){let e=n.type.prop(qy);for(;e&&e.context&&!n.matchContext(e.context);)e=e.next;return e||null}const de=or.define,If=de(),ns=de(),e0=de(ns),t0=de(ns),rs=de(),Nf=de(rs),Jh=de(rs),sr=de(),Ys=de(sr),nr=de(),rr=de(),sd=de(),Qo=de(sd),Lf=de(),S={comment:If,lineComment:de(If),blockComment:de(If),docComment:de(If),name:ns,variableName:de(ns),typeName:e0,tagName:de(e0),propertyName:t0,attributeName:de(t0),className:de(ns),labelName:de(ns),namespace:de(ns),macroName:de(ns),literal:rs,string:Nf,docString:de(Nf),character:de(Nf),attributeValue:de(Nf),number:Jh,integer:de(Jh),float:de(Jh),bool:de(rs),regexp:de(rs),escape:de(rs),color:de(rs),url:de(rs),keyword:nr,self:de(nr),null:de(nr),atom:de(nr),unit:de(nr),modifier:de(nr),operatorKeyword:de(nr),controlKeyword:de(nr),definitionKeyword:de(nr),moduleKeyword:de(nr),operator:rr,derefOperator:de(rr),arithmeticOperator:de(rr),logicOperator:de(rr),bitwiseOperator:de(rr),compareOperator:de(rr),updateOperator:de(rr),definitionOperator:de(rr),typeOperator:de(rr),controlOperator:de(rr),punctuation:sd,separator:de(sd),bracket:Qo,angleBracket:de(Qo),squareBracket:de(Qo),paren:de(Qo),brace:de(Qo),content:sr,heading:Ys,heading1:de(Ys),heading2:de(Ys),heading3:de(Ys),heading4:de(Ys),heading5:de(Ys),heading6:de(Ys),contentSeparator:de(sr),list:de(sr),quote:de(sr),emphasis:de(sr),strong:de(sr),link:de(sr),monospace:de(sr),strikethrough:de(sr),inserted:de(),deleted:de(),changed:de(),invalid:de(),meta:Lf,documentMeta:de(Lf),annotation:de(Lf),processingInstruction:de(Lf),definition:or.defineModifier(),constant:or.defineModifier(),function:or.defineModifier(),standard:or.defineModifier(),local:or.defineModifier(),special:or.defineModifier()};Iy([{tag:S.link,class:"tok-link"},{tag:S.heading,class:"tok-heading"},{tag:S.emphasis,class:"tok-emphasis"},{tag:S.strong,class:"tok-strong"},{tag:S.keyword,class:"tok-keyword"},{tag:S.atom,class:"tok-atom"},{tag:S.bool,class:"tok-bool"},{tag:S.url,class:"tok-url"},{tag:S.labelName,class:"tok-labelName"},{tag:S.inserted,class:"tok-inserted"},{tag:S.deleted,class:"tok-deleted"},{tag:S.literal,class:"tok-literal"},{tag:S.string,class:"tok-string"},{tag:S.number,class:"tok-number"},{tag:[S.regexp,S.escape,S.special(S.string)],class:"tok-string2"},{tag:S.variableName,class:"tok-variableName"},{tag:S.local(S.variableName),class:"tok-variableName tok-local"},{tag:S.definition(S.variableName),class:"tok-variableName tok-definition"},{tag:S.special(S.variableName),class:"tok-variableName2"},{tag:S.definition(S.propertyName),class:"tok-propertyName tok-definition"},{tag:S.typeName,class:"tok-typeName"},{tag:S.namespace,class:"tok-namespace"},{tag:S.className,class:"tok-className"},{tag:S.macroName,class:"tok-macroName"},{tag:S.propertyName,class:"tok-propertyName"},{tag:S.operator,class:"tok-operator"},{tag:S.comment,class:"tok-comment"},{tag:S.meta,class:"tok-meta"},{tag:S.invalid,class:"tok-invalid"},{tag:S.punctuation,class:"tok-punctuation"}]);var eO;const yl=new ot;function Ny(n){return we.define({combine:n?e=>e.concat(n):void 0})}const Ed=new ot;class Nn{constructor(e,t,i=[],r=""){this.data=e,this.name=r,ht.prototype.hasOwnProperty("tree")||Object.defineProperty(ht.prototype,"tree",{get(){return Ft(this)}}),this.parser=t,this.extension=[bs.of(this),ht.languageData.of((s,l,o)=>{let a=i0(s,l,o),u=a.type.prop(yl);if(!u)return[];let h=s.facet(u),O=a.type.prop(Ed);if(O){let p=a.resolve(l-a.from,o);for(let g of O)if(g.test(p,s)){let b=s.facet(g.facet);return g.type=="replace"?b:b.concat(h)}}return h})].concat(i)}isActiveAt(e,t,i=-1){return i0(e,t,i).type.prop(yl)==this.data}findRegions(e){let t=e.facet(bs);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let i=[],r=(s,l)=>{if(s.prop(yl)==this.data){i.push({from:l,to:l+s.length});return}let o=s.prop(ot.mounted);if(o){if(o.tree.prop(yl)==this.data){if(o.overlay)for(let a of o.overlay)i.push({from:a.from+l,to:a.to+l});else i.push({from:l,to:l+s.length});return}else if(o.overlay){let a=i.length;if(r(o.tree,o.overlay[0].from+l),i.length>a)return}}for(let a=0;ai.isTop?t:void 0)]}),e.name)}configure(e,t){return new Ss(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Ft(n){let e=n.field(Nn.state,!1);return e?e.tree:Lt.empty}class ST{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}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 i=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-i,t-i)}}let ko=null;class xc{constructor(e,t,i=[],r,s,l,o,a){this.parser=e,this.state=t,this.fragments=i,this.tree=r,this.treeLen=s,this.viewport=l,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,i){return new xc(e,t,[],Lt.empty,0,i,[],null)}startParse(){return this.parser.startParse(new ST(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=Lt.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||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(Xr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=ko;ko=this;try{return e()}finally{ko=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=n0(e,t.from,t.to);return e}changes(e,t){let{fragments:i,tree:r,treeLen:s,viewport:l,skipped:o}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((u,h,O,p)=>a.push({fromA:u,toA:h,fromB:O,toB:p})),i=Xr.applyChanges(i,a),r=Lt.empty,s=0,l={from:e.mapPos(l.from,-1),to:e.mapPos(l.to,1)},this.skipped.length){o=[];for(let u of this.skipped){let h=e.mapPos(u.from,1),O=e.mapPos(u.to,-1);he.from&&(this.fragments=n0(this.fragments,r,s),this.skipped.splice(i--,1))}return this.skipped.length>=t?!1:(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 zy{createParse(t,i,r){let s=r[0].from,l=r[r.length-1].to;return{parsedPos:s,advance(){let a=ko;if(a){for(let u of r)a.tempSkipped.push(u);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=l,new Lt(Vi.none,[],[],l-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return ko}}function n0(n,e,t){return Xr.applyChanges(n,[{fromA:e,toA:t,fromB:e,toB:t}])}class Ul{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),i=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,i)||t.takeTree(),new Ul(t)}static init(e){let t=Math.min(3e3,e.doc.length),i=xc.create(e.facet(bs).parser,e,{from:0,to:t});return i.work(20,t)||i.takeTree(),new Ul(i)}}Nn.state=hi.define({create:Ul.init,update(n,e){for(let t of e.effects)if(t.is(Nn.setState))return t.value;return e.startState.facet(bs)!=e.state.facet(bs)?Ul.init(e.state):n.apply(e)}});let Ly=n=>{let e=setTimeout(()=>n(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Ly=n=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(n,{timeout:400})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const tO=typeof navigator<"u"&&(!((eO=navigator.scheduling)===null||eO===void 0)&&eO.isInputPending)?()=>navigator.scheduling.isInputPending():null,bT=ni.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(Nn.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Nn.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=Ly(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,a=s.context.work(()=>tO&&tO()||Date.now()>l,r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Nn.setState.of(new Ul(s.context))})),this.chunkBudget>0&&!(a&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>Cn(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),bs=we.define({combine(n){return n.length?n[0]:null},enables:n=>[Nn.state,bT,pe.contentAttributes.compute([n],e=>{let t=e.facet(n);return t&&t.name?{"data-language":t.name}:{}})]});class Oa{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const $T=we.define(),Kc=we.define({combine:n=>{if(!n.length)return" ";let e=n[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(n[0]));return e}});function Wc(n){let e=n.facet(Kc);return e.charCodeAt(0)==9?n.tabSize*e.length:e.length}function ra(n,e){let t="",i=n.tabSize,r=n.facet(Kc)[0];if(r==" "){for(;e>=i;)t+=" ",e-=i;r=" "}for(let s=0;s=e?yT(n,t,e):null}class Jc{constructor(e,t={}){this.state=e,this.options=t,this.unit=Wc(e)}lineAt(e,t=1){let i=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:s}=this.options;return r!=null&&r>=i.from&&r<=i.to?s&&r==e?{text:"",from:e}:(t<0?r-1&&(s+=l-this.countColumn(i,i.search(/\S|$/))),s}countColumn(e,t=e.length){return ql(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:i,from:r}=this.lineAt(e,t),s=this.options.overrideIndentation;if(s){let l=s(r);if(l>-1)return l}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Nl=new ot;function yT(n,e,t){let i=e.resolveStack(t),r=i.node.enterUnfinishedNodesBefore(t);if(r!=i.node){let s=[];for(let l=r;l!=i.node;l=l.parent)s.push(l);for(let l=s.length-1;l>=0;l--)i={node:s[l],next:i}}return By(i,n,t)}function By(n,e,t){for(let i=n;i;i=i.next){let r=wT(i.node);if(r)return r(zd.create(e,t,i))}return 0}function vT(n){return n.pos==n.options.simulateBreak&&n.options.simulateDoubleBreak}function wT(n){let e=n.type.prop(Nl);if(e)return e;let t=n.firstChild,i;if(t&&(i=t.type.prop(ot.closedBy))){let r=n.lastChild,s=r&&i.indexOf(r.name)>-1;return l=>jy(l,!0,1,void 0,s&&!vT(l)?r.from:void 0)}return n.parent==null?QT:null}function QT(){return 0}class zd extends Jc{constructor(e,t,i){super(e.state,e.options),this.base=e,this.pos=t,this.context=i}get node(){return this.context.node}static create(e,t,i){return new zd(e,t,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let i=e.resolve(t.from);for(;i.parent&&i.parent.from==i.from;)i=i.parent;if(kT(i,e))break;t=this.state.doc.lineAt(i.from)}return this.lineIndent(t.from)}continue(){return By(this.context.next,this.base,this.pos)}}function kT(n,e){for(let t=e;t;t=t.parent)if(n==t)return!0;return!1}function PT(n){let e=n.node,t=e.childAfter(e.from),i=e.lastChild;if(!t)return null;let r=n.options.simulateBreak,s=n.state.doc.lineAt(t.from),l=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let o=t.to;;){let a=e.childAfter(o);if(!a||a==i)return null;if(!a.type.isSkipped)return a.fromjy(i,e,t,n)}function jy(n,e,t,i,r){let s=n.textAfter,l=s.match(/^\s*/)[0].length,o=i&&s.slice(l,l+i.length)==i||r==n.pos+l,a=e?PT(n):null;return a?o?n.column(a.from):n.column(a.to):n.baseIndent+(o?0:n.unit*t)}const _T=n=>n.baseIndent;function Tl({except:n,units:e=1}={}){return t=>{let i=n&&n.test(t.textAfter);return t.baseIndent+(i?0:e*t.unit)}}const xT=200;function WT(){return ht.transactionFilter.of(n=>{if(!n.docChanged||!n.isUserEvent("input.type")&&!n.isUserEvent("input.complete"))return n;let e=n.startState.languageDataAt("indentOnInput",n.startState.selection.main.head);if(!e.length)return n;let t=n.newDoc,{head:i}=n.newSelection.main,r=t.lineAt(i);if(i>r.from+xT)return n;let s=t.sliceString(r.from,i);if(!e.some(u=>u.test(s)))return n;let{state:l}=n,o=-1,a=[];for(let{head:u}of l.selection.ranges){let h=l.doc.lineAt(u);if(h.from==o)continue;o=h.from;let O=Md(l,h.from);if(O==null)continue;let p=/^\s*/.exec(h.text)[0],g=ra(l,O);p!=g&&a.push({from:h.from,to:h.from+p.length,insert:g})}return a.length?[n,{changes:a,sequential:!0}]:n})}const CT=we.define(),Ll=new ot;function lr(n){let e=n.firstChild,t=n.lastChild;return e&&e.tot)continue;if(s&&o.from=e&&u.to>t&&(s=u)}}return s}function ZT(n){let e=n.lastChild;return e&&e.to==n.to&&e.type.isError}function Cc(n,e,t){for(let i of n.facet(CT)){let r=i(n,e,t);if(r)return r}return TT(n,e,t)}function Fy(n,e){let t=e.mapPos(n.from,1),i=e.mapPos(n.to,-1);return t>=i?void 0:{from:t,to:i}}const eu=qe.define({map:Fy}),da=qe.define({map:Fy});function Gy(n){let e=[];for(let{head:t}of n.state.selection.ranges)e.some(i=>i.from<=t&&i.to>=t)||e.push(n.lineBlockAt(t));return e}const Is=hi.define({create(){return Re.none},update(n,e){n=n.map(e.changes);for(let t of e.effects)if(t.is(eu)&&!RT(n,t.value.from,t.value.to)){let{preparePlaceholder:i}=e.state.facet(Vd),r=i?Re.replace({widget:new zT(i(e.state,t.value))}):r0;n=n.update({add:[r.range(t.value.from,t.value.to)]})}else t.is(da)&&(n=n.update({filter:(i,r)=>t.value.from!=i||t.value.to!=r,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:i}=e.selection.main;n.between(i,i,(r,s)=>{ri&&(t=!0)}),t&&(n=n.update({filterFrom:i,filterTo:i,filter:(r,s)=>s<=i||r>=i}))}return n},provide:n=>pe.decorations.from(n),toJSON(n,e){let t=[];return n.between(0,e.doc.length,(i,r)=>{t.push(i,r)}),t},fromJSON(n){if(!Array.isArray(n)||n.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let t=0;t{(!r||r.from>s)&&(r={from:s,to:l})}),r}function RT(n,e,t){let i=!1;return n.between(e,e,(r,s)=>{r==e&&s==t&&(i=!0)}),i}function Hy(n,e){return n.field(Is,!1)?e:e.concat(qe.appendConfig.of(Jy()))}const XT=n=>{for(let e of Gy(n)){let t=Cc(n.state,e.from,e.to);if(t)return n.dispatch({effects:Hy(n.state,[eu.of(t),Ky(n,t)])}),!0}return!1},AT=n=>{if(!n.state.field(Is,!1))return!1;let e=[];for(let t of Gy(n)){let i=Tc(n.state,t.from,t.to);i&&e.push(da.of(i),Ky(n,i,!1))}return e.length&&n.dispatch({effects:e}),e.length>0};function Ky(n,e,t=!0){let i=n.state.doc.lineAt(e.from).number,r=n.state.doc.lineAt(e.to).number;return pe.announce.of(`${n.state.phrase(t?"Folded lines":"Unfolded lines")} ${i} ${n.state.phrase("to")} ${r}.`)}const YT=n=>{let{state:e}=n,t=[];for(let i=0;i{let e=n.state.field(Is,!1);if(!e||!e.size)return!1;let t=[];return e.between(0,n.state.doc.length,(i,r)=>{t.push(da.of({from:i,to:r}))}),n.dispatch({effects:t}),!0},ET=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:XT},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:AT},{key:"Ctrl-Alt-[",run:YT},{key:"Ctrl-Alt-]",run:UT}],MT={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},Vd=we.define({combine(n){return pr(n,MT)}});function Jy(n){let e=[Is,qT];return n&&e.push(Vd.of(n)),e}function ev(n,e){let{state:t}=n,i=t.facet(Vd),r=l=>{let o=n.lineBlockAt(n.posAtDOM(l.target)),a=Tc(n.state,o.from,o.to);a&&n.dispatch({effects:da.of(a)}),l.preventDefault()};if(i.placeholderDOM)return i.placeholderDOM(n,r,e);let s=document.createElement("span");return s.textContent=i.placeholderText,s.setAttribute("aria-label",t.phrase("folded code")),s.title=t.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=r,s}const r0=Re.replace({widget:new class extends zr{toDOM(n){return ev(n,null)}}});class zT extends zr{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return ev(e,this.value)}}const VT={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class iO extends Er{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 DT(n={}){let e=Object.assign(Object.assign({},VT),n),t=new iO(e,!0),i=new iO(e,!1),r=ni.fromClass(class{constructor(l){this.from=l.viewport.from,this.markers=this.buildMarkers(l)}update(l){(l.docChanged||l.viewportChanged||l.startState.facet(bs)!=l.state.facet(bs)||l.startState.field(Is,!1)!=l.state.field(Is,!1)||Ft(l.startState)!=Ft(l.state)||e.foldingChanged(l))&&(this.markers=this.buildMarkers(l.view))}buildMarkers(l){let o=new hs;for(let a of l.viewportLineBlocks){let u=Tc(l.state,a.from,a.to)?i:Cc(l.state,a.from,a.to)?t:null;u&&o.add(a.from,a.from,u)}return o.finish()}}),{domEventHandlers:s}=e;return[r,z3({class:"cm-foldGutter",markers(l){var o;return((o=l.plugin(r))===null||o===void 0?void 0:o.markers)||wt.empty},initialSpacer(){return new iO(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(l,o,a)=>{if(s.click&&s.click(l,o,a))return!0;let u=Tc(l.state,o.from,o.to);if(u)return l.dispatch({effects:da.of(u)}),!0;let h=Cc(l.state,o.from,o.to);return h?(l.dispatch({effects:eu.of(h)}),!0):!1}})}),Jy()]}const qT=pe.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 pa{constructor(e,t){this.specs=e;let i;function r(o){let a=Os.newName();return(i||(i=Object.create(null)))["."+a]=o,a}const s=typeof t.all=="string"?t.all:t.all?r(t.all):void 0,l=t.scope;this.scope=l instanceof Nn?o=>o.prop(yl)==l.data:l?o=>o==l:void 0,this.style=Iy(e.map(o=>({tag:o.tag,class:o.class||r(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=i?new Os(i):null,this.themeType=t.themeType}static define(e,t){return new pa(e,t||{})}}const ld=we.define(),tv=we.define({combine(n){return n.length?[n[0]]:null}});function nO(n){let e=n.facet(ld);return e.length?e:n.facet(tv)}function iv(n,e){let t=[NT],i;return n instanceof pa&&(n.module&&t.push(pe.styleModule.of(n.module)),i=n.themeType),e!=null&&e.fallback?t.push(tv.of(n)):i?t.push(ld.computeN([pe.darkTheme],r=>r.facet(pe.darkTheme)==(i=="dark")?[n]:[])):t.push(ld.of(n)),t}class IT{constructor(e){this.markCache=Object.create(null),this.tree=Ft(e.state),this.decorations=this.buildDeco(e,nO(e.state))}update(e){let t=Ft(e.state),i=nO(e.state),r=i!=nO(e.startState);t.length{i.add(l,o,this.markCache[a]||(this.markCache[a]=Re.mark({class:a})))},r,s);return i.finish()}}const NT=Ns.high(ni.fromClass(IT,{decorations:n=>n.decorations})),LT=pa.define([{tag:S.meta,color:"#404740"},{tag:S.link,textDecoration:"underline"},{tag:S.heading,textDecoration:"underline",fontWeight:"bold"},{tag:S.emphasis,fontStyle:"italic"},{tag:S.strong,fontWeight:"bold"},{tag:S.strikethrough,textDecoration:"line-through"},{tag:S.keyword,color:"#708"},{tag:[S.atom,S.bool,S.url,S.contentSeparator,S.labelName],color:"#219"},{tag:[S.literal,S.inserted],color:"#164"},{tag:[S.string,S.deleted],color:"#a11"},{tag:[S.regexp,S.escape,S.special(S.string)],color:"#e40"},{tag:S.definition(S.variableName),color:"#00f"},{tag:S.local(S.variableName),color:"#30a"},{tag:[S.typeName,S.namespace],color:"#085"},{tag:S.className,color:"#167"},{tag:[S.special(S.variableName),S.macroName],color:"#256"},{tag:S.definition(S.propertyName),color:"#00c"},{tag:S.comment,color:"#940"},{tag:S.invalid,color:"#f00"}]),BT=pe.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),nv=1e4,rv="()[]{}",sv=we.define({combine(n){return pr(n,{afterCursor:!0,brackets:rv,maxScanDistance:nv,renderMatch:GT})}}),jT=Re.mark({class:"cm-matchingBracket"}),FT=Re.mark({class:"cm-nonmatchingBracket"});function GT(n){let e=[],t=n.matched?jT:FT;return e.push(t.range(n.start.from,n.start.to)),n.end&&e.push(t.range(n.end.from,n.end.to)),e}const HT=hi.define({create(){return Re.none},update(n,e){if(!e.docChanged&&!e.selection)return n;let t=[],i=e.state.facet(sv);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=ur(e.state,r.head,-1,i)||r.head>0&&ur(e.state,r.head-1,1,i)||i.afterCursor&&(ur(e.state,r.head,1,i)||r.headpe.decorations.from(n)}),KT=[HT,BT];function JT(n={}){return[sv.of(n),KT]}const lv=new ot;function od(n,e,t){let i=n.prop(e<0?ot.openedBy:ot.closedBy);if(i)return i;if(n.name.length==1){let r=t.indexOf(n.name);if(r>-1&&r%2==(e<0?1:0))return[t[r+e]]}return null}function ad(n){let e=n.type.prop(lv);return e?e(n.node):n}function ur(n,e,t,i={}){let r=i.maxScanDistance||nv,s=i.brackets||rv,l=Ft(n),o=l.resolveInner(e,t);for(let a=o;a;a=a.parent){let u=od(a.type,t,s);if(u&&a.from0?e>=h.from&&eh.from&&e<=h.to))return eZ(n,e,t,a,h,u,s)}}return tZ(n,e,t,l,o.type,r,s)}function eZ(n,e,t,i,r,s,l){let o=i.parent,a={from:r.from,to:r.to},u=0,h=o==null?void 0:o.cursor();if(h&&(t<0?h.childBefore(i.from):h.childAfter(i.to)))do if(t<0?h.to<=i.from:h.from>=i.to){if(u==0&&s.indexOf(h.type.name)>-1&&h.from0)return null;let u={from:t<0?e-1:e,to:t>0?e+1:e},h=n.doc.iterRange(e,t>0?n.doc.length:0),O=0;for(let p=0;!h.next().done&&p<=s;){let g=h.value;t<0&&(p+=g.length);let b=e+p*t;for(let y=t>0?0:g.length-1,$=t>0?g.length:-1;y!=$;y+=t){let k=l.indexOf(g[y]);if(!(k<0||i.resolveInner(b+y,1).type!=r))if(k%2==0==t>0)O++;else{if(O==1)return{start:u,end:{from:b+y,to:b+y+1},matched:k>>1==a>>1};O--}}t>0&&(p+=g.length)}return h.done?{start:u,matched:!1}:null}const iZ=Object.create(null),s0=[Vi.none],l0=[],nZ=Object.create(null);for(let[n,e]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"]])nZ[n]=rZ(iZ,e);function rO(n,e){l0.indexOf(n)>-1||(l0.push(n),console.warn(e))}function rZ(n,e){let t=[];for(let s of e.split(" ")){let l=[];for(let o of s.split(".")){let a=n[o]||S[o];a?typeof a=="function"?l.length?l=l.map(a):rO(o,`Modifier ${o} used at start of tag`):l.length?rO(o,`Tag ${o} used as modifier`):l=Array.isArray(a)?a:[a]:rO(o,`Unknown highlighting tag ${o}`)}for(let o of l)t.push(o)}if(!t.length)return 0;let i=e.replace(/ /g,"_"),r=Vi.define({id:s0.length,name:i,props:[Il({[i]:t})]});return s0.push(r),r.id}const sZ=n=>{let{state:e}=n,t=e.doc.lineAt(e.selection.main.from),i=qd(n.state,t.from);return i.line?lZ(n):i.block?aZ(n):!1};function Dd(n,e){return({state:t,dispatch:i})=>{if(t.readOnly)return!1;let r=n(e,t);return r?(i(t.update(r)),!0):!1}}const lZ=Dd(uZ,0),oZ=Dd(ov,0),aZ=Dd((n,e)=>ov(n,e,cZ(e)),0);function qd(n,e){let t=n.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const Po=50;function fZ(n,{open:e,close:t},i,r){let s=n.sliceDoc(i-Po,i),l=n.sliceDoc(r,r+Po),o=/\s*$/.exec(s)[0].length,a=/^\s*/.exec(l)[0].length,u=s.length-o;if(s.slice(u-e.length,u)==e&&l.slice(a,a+t.length)==t)return{open:{pos:i-o,margin:o&&1},close:{pos:r+a,margin:a&&1}};let h,O;r-i<=2*Po?h=O=n.sliceDoc(i,r):(h=n.sliceDoc(i,i+Po),O=n.sliceDoc(r-Po,r));let p=/^\s*/.exec(h)[0].length,g=/\s*$/.exec(O)[0].length,b=O.length-g-t.length;return h.slice(p,p+e.length)==e&&O.slice(b,b+t.length)==t?{open:{pos:i+p+e.length,margin:/\s/.test(h.charAt(p+e.length))?1:0},close:{pos:r-g-t.length,margin:/\s/.test(O.charAt(b-1))?1:0}}:null}function cZ(n){let e=[];for(let t of n.selection.ranges){let i=n.doc.lineAt(t.from),r=t.to<=i.to?i:n.doc.lineAt(t.to),s=e.length-1;s>=0&&e[s].to>i.from?e[s].to=r.to:e.push({from:i.from+/^\s*/.exec(i.text)[0].length,to:r.to})}return e}function ov(n,e,t=e.selection.ranges){let i=t.map(s=>qd(e,s.from).block);if(!i.every(s=>s))return null;let r=t.map((s,l)=>fZ(e,i[l],s.from,s.to));if(n!=2&&!r.every(s=>s))return{changes:e.changes(t.map((s,l)=>r[l]?[]:[{from:s.from,insert:i[l].open+" "},{from:s.to,insert:" "+i[l].close}]))};if(n!=1&&r.some(s=>s)){let s=[];for(let l=0,o;lr&&(s==l||l>O.from)){r=O.from;let p=/^\s*/.exec(O.text)[0].length,g=p==O.length,b=O.text.slice(p,p+u.length)==u?p:-1;ps.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:o,token:a,indent:u,empty:h,single:O}of i)(O||!h)&&s.push({from:o.from+u,insert:a+" "});let l=e.changes(s);return{changes:l,selection:e.selection.map(l,1)}}else if(n!=1&&i.some(s=>s.comment>=0)){let s=[];for(let{line:l,comment:o,token:a}of i)if(o>=0){let u=l.from+o,h=u+a.length;l.text[h-l.from]==" "&&h++,s.push({from:u,to:h})}return{changes:s}}return null}const fd=Mr.define(),hZ=Mr.define(),OZ=we.define(),av=we.define({combine(n){return pr(n,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(i,r)=>e(i,r)||t(i,r)})}});function dZ(n){let e=0;return n.iterChangedRanges((t,i)=>e=i),e}const fv=hi.define({create(){return hr.empty},update(n,e){let t=e.state.facet(av),i=e.annotation(fd);if(i){let a=e.docChanged?J.single(dZ(e.changes)):void 0,u=Ji.fromTransaction(e,a),h=i.side,O=h==0?n.undone:n.done;return u?O=Zc(O,O.length,t.minDepth,u):O=hv(O,e.startState.selection),new hr(h==0?i.rest:O,h==0?O:i.rest)}let r=e.annotation(hZ);if((r=="full"||r=="before")&&(n=n.isolate()),e.annotation(ui.addToHistory)===!1)return e.changes.empty?n:n.addMapping(e.changes.desc);let s=Ji.fromTransaction(e),l=e.annotation(ui.time),o=e.annotation(ui.userEvent);return s?n=n.addChanges(s,l,o,t,e):e.selection&&(n=n.addSelection(e.startState.selection,l,o,t.newGroupDelay)),(r=="full"||r=="after")&&(n=n.isolate()),n},toJSON(n){return{done:n.done.map(e=>e.toJSON()),undone:n.undone.map(e=>e.toJSON())}},fromJSON(n){return new hr(n.done.map(Ji.fromJSON),n.undone.map(Ji.fromJSON))}});function pZ(n={}){return[fv,av.of(n),pe.domEventHandlers({beforeinput(e,t){let i=e.inputType=="historyUndo"?cv:e.inputType=="historyRedo"?cd:null;return i?(e.preventDefault(),i(t)):!1}})]}function tu(n,e){return function({state:t,dispatch:i}){if(!e&&t.readOnly)return!1;let r=t.field(fv,!1);if(!r)return!1;let s=r.pop(n,t,e);return s?(i(s),!0):!1}}const cv=tu(0,!1),cd=tu(1,!1),gZ=tu(0,!0),mZ=tu(1,!0);class Ji{constructor(e,t,i,r,s){this.changes=e,this.effects=t,this.mapped=i,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new Ji(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new Ji(e.changes&&ci.fromJSON(e.changes),[],e.mapped&&Or.fromJSON(e.mapped),e.startSelection&&J.fromJSON(e.startSelection),e.selectionsAfter.map(J.fromJSON))}static fromTransaction(e,t){let i=Wn;for(let r of e.startState.facet(OZ)){let s=r(e);s.length&&(i=i.concat(s))}return!i.length&&e.changes.empty?null:new Ji(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,Wn)}static selection(e){return new Ji(void 0,Wn,void 0,void 0,e)}}function Zc(n,e,t,i){let r=e+1>t+20?e-t-1:0,s=n.slice(r,e);return s.push(i),s}function SZ(n,e){let t=[],i=!1;return n.iterChangedRanges((r,s)=>t.push(r,s)),e.iterChangedRanges((r,s,l,o)=>{for(let a=0;a=u&&l<=h&&(i=!0)}}),i}function bZ(n,e){return n.ranges.length==e.ranges.length&&n.ranges.filter((t,i)=>t.empty!=e.ranges[i].empty).length===0}function uv(n,e){return n.length?e.length?n.concat(e):n:e}const Wn=[],$Z=200;function hv(n,e){if(n.length){let t=n[n.length-1],i=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-$Z));return i.length&&i[i.length-1].eq(e)?n:(i.push(e),Zc(n,n.length-1,1e9,t.setSelAfter(i)))}else return[Ji.selection([e])]}function yZ(n){let e=n[n.length-1],t=n.slice();return t[n.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function sO(n,e){if(!n.length)return n;let t=n.length,i=Wn;for(;t;){let r=vZ(n[t-1],e,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=n.slice(0,t);return s[t-1]=r,s}else e=r.mapped,t--,i=r.selectionsAfter}return i.length?[Ji.selection(i)]:Wn}function vZ(n,e,t){let i=uv(n.selectionsAfter.length?n.selectionsAfter.map(o=>o.map(e)):Wn,t);if(!n.changes)return Ji.selection(i);let r=n.changes.map(e),s=e.mapDesc(n.changes,!0),l=n.mapped?n.mapped.composeDesc(s):s;return new Ji(r,qe.mapEffects(n.effects,e),l,n.startSelection.map(s),i)}const wZ=/^(input\.type|delete)($|\.)/;class hr{constructor(e,t,i=0,r=void 0){this.done=e,this.undone=t,this.prevTime=i,this.prevUserEvent=r}isolate(){return this.prevTime?new hr(this.done,this.undone):this}addChanges(e,t,i,r,s){let l=this.done,o=l[l.length-1];return o&&o.changes&&!o.changes.empty&&e.changes&&(!i||wZ.test(i))&&(!o.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?n.moveByChar(t,e):iu(t,e))}function Ai(n){return n.textDirectionAt(n.state.selection.main.head)==Nt.LTR}const dv=n=>Ov(n,!Ai(n)),pv=n=>Ov(n,Ai(n));function gv(n,e){return Fn(n,t=>t.empty?n.moveByGroup(t,e):iu(t,e))}const kZ=n=>gv(n,!Ai(n)),PZ=n=>gv(n,Ai(n));function _Z(n,e,t){if(e.type.prop(t))return!0;let i=e.to-e.from;return i&&(i>2||/[^\s,.;:]/.test(n.sliceDoc(e.from,e.to)))||e.firstChild}function nu(n,e,t){let i=Ft(n).resolveInner(e.head),r=t?ot.closedBy:ot.openedBy;for(let a=e.head;;){let u=t?i.childAfter(a):i.childBefore(a);if(!u)break;_Z(n,u,r)?i=u:a=t?u.to:u.from}let s=i.type.prop(r),l,o;return s&&(l=t?ur(n,i.from,1):ur(n,i.to,-1))&&l.matched?o=t?l.end.to:l.end.from:o=t?i.to:i.from,J.cursor(o,t?-1:1)}const xZ=n=>Fn(n,e=>nu(n.state,e,!Ai(n))),WZ=n=>Fn(n,e=>nu(n.state,e,Ai(n)));function mv(n,e){return Fn(n,t=>{if(!t.empty)return iu(t,e);let i=n.moveVertically(t,e);return i.head!=t.head?i:n.moveToLineBoundary(t,e)})}const Sv=n=>mv(n,!1),bv=n=>mv(n,!0);function $v(n){let e=n.scrollDOM.clientHeightl.empty?n.moveVertically(l,e,t.height):iu(l,e));if(r.eq(i.selection))return!1;let s;if(t.selfScroll){let l=n.coordsAtPos(i.selection.main.head),o=n.scrollDOM.getBoundingClientRect(),a=o.top+t.marginTop,u=o.bottom-t.marginBottom;l&&l.top>a&&l.bottomyv(n,!1),ud=n=>yv(n,!0);function $s(n,e,t){let i=n.lineBlockAt(e.head),r=n.moveToLineBoundary(e,t);if(r.head==e.head&&r.head!=(t?i.to:i.from)&&(r=n.moveToLineBoundary(e,t,!1)),!t&&r.head==i.from&&i.length){let s=/^\s*/.exec(n.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&e.head!=i.from+s&&(r=J.cursor(i.from+s))}return r}const CZ=n=>Fn(n,e=>$s(n,e,!0)),TZ=n=>Fn(n,e=>$s(n,e,!1)),ZZ=n=>Fn(n,e=>$s(n,e,!Ai(n))),RZ=n=>Fn(n,e=>$s(n,e,Ai(n))),XZ=n=>Fn(n,e=>J.cursor(n.lineBlockAt(e.head).from,1)),AZ=n=>Fn(n,e=>J.cursor(n.lineBlockAt(e.head).to,-1));function YZ(n,e,t){let i=!1,r=Bl(n.selection,s=>{let l=ur(n,s.head,-1)||ur(n,s.head,1)||s.head>0&&ur(n,s.head-1,1)||s.headYZ(n,e,!1);function Rn(n,e){let t=Bl(n.state.selection,i=>{let r=e(i);return J.range(i.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return t.eq(n.state.selection)?!1:(n.dispatch(mr(n.state,t)),!0)}function vv(n,e){return Rn(n,t=>n.moveByChar(t,e))}const wv=n=>vv(n,!Ai(n)),Qv=n=>vv(n,Ai(n));function kv(n,e){return Rn(n,t=>n.moveByGroup(t,e))}const EZ=n=>kv(n,!Ai(n)),MZ=n=>kv(n,Ai(n)),zZ=n=>Rn(n,e=>nu(n.state,e,!Ai(n))),VZ=n=>Rn(n,e=>nu(n.state,e,Ai(n)));function Pv(n,e){return Rn(n,t=>n.moveVertically(t,e))}const _v=n=>Pv(n,!1),xv=n=>Pv(n,!0);function Wv(n,e){return Rn(n,t=>n.moveVertically(t,e,$v(n).height))}const a0=n=>Wv(n,!1),f0=n=>Wv(n,!0),DZ=n=>Rn(n,e=>$s(n,e,!0)),qZ=n=>Rn(n,e=>$s(n,e,!1)),IZ=n=>Rn(n,e=>$s(n,e,!Ai(n))),NZ=n=>Rn(n,e=>$s(n,e,Ai(n))),LZ=n=>Rn(n,e=>J.cursor(n.lineBlockAt(e.head).from)),BZ=n=>Rn(n,e=>J.cursor(n.lineBlockAt(e.head).to)),c0=({state:n,dispatch:e})=>(e(mr(n,{anchor:0})),!0),u0=({state:n,dispatch:e})=>(e(mr(n,{anchor:n.doc.length})),!0),h0=({state:n,dispatch:e})=>(e(mr(n,{anchor:n.selection.main.anchor,head:0})),!0),O0=({state:n,dispatch:e})=>(e(mr(n,{anchor:n.selection.main.anchor,head:n.doc.length})),!0),jZ=({state:n,dispatch:e})=>(e(n.update({selection:{anchor:0,head:n.doc.length},userEvent:"select"})),!0),FZ=({state:n,dispatch:e})=>{let t=ru(n).map(({from:i,to:r})=>J.range(i,Math.min(r+1,n.doc.length)));return e(n.update({selection:J.create(t),userEvent:"select"})),!0},GZ=({state:n,dispatch:e})=>{let t=Bl(n.selection,i=>{var r;let s=Ft(n).resolveStack(i.from,1);for(let l=s;l;l=l.next){let{node:o}=l;if((o.from=i.to||o.to>i.to&&o.from<=i.from)&&(!((r=o.parent)===null||r===void 0)&&r.parent))return J.range(o.to,o.from)}return i});return e(mr(n,t)),!0},HZ=({state:n,dispatch:e})=>{let t=n.selection,i=null;return t.ranges.length>1?i=J.create([t.main]):t.main.empty||(i=J.create([J.cursor(t.main.head)])),i?(e(mr(n,i)),!0):!1};function ga(n,e){if(n.state.readOnly)return!1;let t="delete.selection",{state:i}=n,r=i.changeByRange(s=>{let{from:l,to:o}=s;if(l==o){let a=e(s);al&&(t="delete.forward",a=Bf(n,a,!0)),l=Math.min(l,a),o=Math.max(o,a)}else l=Bf(n,l,!1),o=Bf(n,o,!0);return l==o?{range:s}:{changes:{from:l,to:o},range:J.cursor(l,lr(n)))i.between(e,e,(r,s)=>{re&&(e=t?s:r)});return e}const Cv=(n,e)=>ga(n,t=>{let i=t.from,{state:r}=n,s=r.doc.lineAt(i),l,o;if(!e&&i>s.from&&iCv(n,!1),Tv=n=>Cv(n,!0),Zv=(n,e)=>ga(n,t=>{let i=t.head,{state:r}=n,s=r.doc.lineAt(i),l=r.charCategorizer(i);for(let o=null;;){if(i==(e?s.to:s.from)){i==t.head&&s.number!=(e?r.doc.lines:1)&&(i+=e?1:-1);break}let a=Ri(s.text,i-s.from,e)+s.from,u=s.text.slice(Math.min(i,a)-s.from,Math.max(i,a)-s.from),h=l(u);if(o!=null&&h!=o)break;(u!=" "||i!=t.head)&&(o=h),i=a}return i}),Rv=n=>Zv(n,!1),KZ=n=>Zv(n,!0),JZ=n=>ga(n,e=>{let t=n.lineBlockAt(e.head).to;return e.headga(n,e=>{let t=n.moveToLineBoundary(e,!1).head;return e.head>t?t:Math.max(0,e.head-1)}),tR=n=>ga(n,e=>{let t=n.moveToLineBoundary(e,!0).head;return e.head{if(n.readOnly)return!1;let t=n.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:St.of(["",""])},range:J.cursor(i.from)}));return e(n.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},nR=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=n.changeByRange(i=>{if(!i.empty||i.from==0||i.from==n.doc.length)return{range:i};let r=i.from,s=n.doc.lineAt(r),l=r==s.from?r-1:Ri(s.text,r-s.from,!1)+s.from,o=r==s.to?r+1:Ri(s.text,r-s.from,!0)+s.from;return{changes:{from:l,to:o,insert:n.doc.slice(r,o).append(n.doc.slice(l,r))},range:J.cursor(o)}});return t.changes.empty?!1:(e(n.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function ru(n){let e=[],t=-1;for(let i of n.selection.ranges){let r=n.doc.lineAt(i.from),s=n.doc.lineAt(i.to);if(!i.empty&&i.to==s.from&&(s=n.doc.lineAt(i.to-1)),t>=r.number){let l=e[e.length-1];l.to=s.to,l.ranges.push(i)}else e.push({from:r.from,to:s.to,ranges:[i]});t=s.number+1}return e}function Xv(n,e,t){if(n.readOnly)return!1;let i=[],r=[];for(let s of ru(n)){if(t?s.to==n.doc.length:s.from==0)continue;let l=n.doc.lineAt(t?s.to+1:s.from-1),o=l.length+1;if(t){i.push({from:s.to,to:l.to},{from:s.from,insert:l.text+n.lineBreak});for(let a of s.ranges)r.push(J.range(Math.min(n.doc.length,a.anchor+o),Math.min(n.doc.length,a.head+o)))}else{i.push({from:l.from,to:s.from},{from:s.to,insert:n.lineBreak+l.text});for(let a of s.ranges)r.push(J.range(a.anchor-o,a.head-o))}}return i.length?(e(n.update({changes:i,scrollIntoView:!0,selection:J.create(r,n.selection.mainIndex),userEvent:"move.line"})),!0):!1}const rR=({state:n,dispatch:e})=>Xv(n,e,!1),sR=({state:n,dispatch:e})=>Xv(n,e,!0);function Av(n,e,t){if(n.readOnly)return!1;let i=[];for(let r of ru(n))t?i.push({from:r.from,insert:n.doc.slice(r.from,r.to)+n.lineBreak}):i.push({from:r.to,insert:n.lineBreak+n.doc.slice(r.from,r.to)});return e(n.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const lR=({state:n,dispatch:e})=>Av(n,e,!1),oR=({state:n,dispatch:e})=>Av(n,e,!0),aR=n=>{if(n.state.readOnly)return!1;let{state:e}=n,t=e.changes(ru(e).map(({from:r,to:s})=>(r>0?r--:sn.moveVertically(r,!0)).map(t);return n.dispatch({changes:t,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function fR(n,e){if(/\(\)|\[\]|\{\}/.test(n.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=Ft(n).resolveInner(e),i=t.childBefore(e),r=t.childAfter(e),s;return i&&r&&i.to<=e&&r.from>=e&&(s=i.type.prop(ot.closedBy))&&s.indexOf(r.name)>-1&&n.doc.lineAt(i.to).from==n.doc.lineAt(r.from).from&&!/\S/.test(n.sliceDoc(i.to,r.from))?{from:i.to,to:r.from}:null}const cR=Yv(!1),uR=Yv(!0);function Yv(n){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=e.changeByRange(r=>{let{from:s,to:l}=r,o=e.doc.lineAt(s),a=!n&&s==l&&fR(e,s);n&&(s=l=(l<=o.to?o:e.doc.lineAt(l)).to);let u=new Jc(e,{simulateBreak:s,simulateDoubleBreak:!!a}),h=Md(u,s);for(h==null&&(h=ql(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));lo.from&&s{let r=[];for(let l=i.from;l<=i.to;){let o=n.doc.lineAt(l);o.number>t&&(i.empty||i.to>o.from)&&(e(o,r,i),t=o.number),l=o.to+1}let s=n.changes(r);return{changes:r,range:J.range(s.mapPos(i.anchor,1),s.mapPos(i.head,1))}})}const hR=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=Object.create(null),i=new Jc(n,{overrideIndentation:s=>{let l=t[s];return l??-1}}),r=Id(n,(s,l,o)=>{let a=Md(i,s.from);if(a==null)return;/\S/.test(s.text)||(a=0);let u=/^\s*/.exec(s.text)[0],h=ra(n,a);(u!=h||o.fromn.readOnly?!1:(e(n.update(Id(n,(t,i)=>{i.push({from:t.from,insert:n.facet(Kc)})}),{userEvent:"input.indent"})),!0),Ev=({state:n,dispatch:e})=>n.readOnly?!1:(e(n.update(Id(n,(t,i)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let s=ql(r,n.tabSize),l=0,o=ra(n,Math.max(0,s-Wc(n)));for(;l({mac:n.key,run:n.run,shift:n.shift}))),pR=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:xZ,shift:zZ},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:WZ,shift:VZ},{key:"Alt-ArrowUp",run:rR},{key:"Shift-Alt-ArrowUp",run:lR},{key:"Alt-ArrowDown",run:sR},{key:"Shift-Alt-ArrowDown",run:oR},{key:"Escape",run:HZ},{key:"Mod-Enter",run:uR},{key:"Alt-l",mac:"Ctrl-l",run:FZ},{key:"Mod-i",run:GZ,preventDefault:!0},{key:"Mod-[",run:Ev},{key:"Mod-]",run:Uv},{key:"Mod-Alt-\\",run:hR},{key:"Shift-Mod-k",run:aR},{key:"Shift-Mod-\\",run:UZ},{key:"Mod-/",run:sZ},{key:"Alt-A",run:oZ}].concat(dR),gR={key:"Tab",run:Uv,shift:Ev};function Zt(){var n=arguments[0];typeof n=="string"&&(n=document.createElement(n));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var r=t[i];typeof r=="string"?n.setAttribute(i,r):r!=null&&(n[i]=r)}e++}for(;en.normalize("NFKD"):n=>n;class El{constructor(e,t,i=0,r=e.length,s,l){this.test=l,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(i,r),this.bufferStart=i,this.normalize=s?o=>s(d0(o)):d0,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 $i(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=yd(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=_n(e);let r=this.normalize(t);for(let s=0,l=i;;s++){let o=r.charCodeAt(s),a=this.match(o,l);if(s==r.length-1){if(a)return this.value=a,this;break}l==i&&sthis.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 i=this.curLineStart+t.index,r=i+t[0].length;if(this.matchPos=Rc(this.text,r+(i==r?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(ithis.value.to)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=i||r.to<=t){let o=new Zl(t,e.sliceString(t,i));return lO.set(e,o),o}if(r.from==t&&r.to==i)return r;let{text:s,from:l}=r;return l>t&&(s=e.sliceString(t,l)+s,l=t),r.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 i=this.flat.from+t.index,r=i+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this.matchPos=Rc(this.text,r+(i==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Zl.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Vv.prototype[Symbol.iterator]=Dv.prototype[Symbol.iterator]=function(){return this});function mR(n){try{return new RegExp(n,Nd),!0}catch{return!1}}function Rc(n,e){if(e>=n.length)return e;let t=n.lineAt(e),i;for(;e=56320&&i<57344;)e++;return e}function Od(n){let e=String(n.state.doc.lineAt(n.state.selection.main.head).number),t=Zt("input",{class:"cm-textfield",name:"line",value:e}),i=Zt("form",{class:"cm-gotoLine",onkeydown:s=>{s.keyCode==27?(s.preventDefault(),n.dispatch({effects:Xc.of(!1)}),n.focus()):s.keyCode==13&&(s.preventDefault(),r())},onsubmit:s=>{s.preventDefault(),r()}},Zt("label",n.state.phrase("Go to line"),": ",t)," ",Zt("button",{class:"cm-button",type:"submit"},n.state.phrase("go")));function r(){let s=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!s)return;let{state:l}=n,o=l.doc.lineAt(l.selection.main.head),[,a,u,h,O]=s,p=h?+h.slice(1):0,g=u?+u:o.number;if(u&&O){let $=g/100;a&&($=$*(a=="-"?-1:1)+o.number/l.doc.lines),g=Math.round(l.doc.lines*$)}else u&&a&&(g=g*(a=="-"?-1:1)+o.number);let b=l.doc.line(Math.max(1,Math.min(l.doc.lines,g))),y=J.cursor(b.from+Math.max(0,Math.min(p,b.length)));n.dispatch({effects:[Xc.of(!1),pe.scrollIntoView(y.from,{y:"center"})],selection:y}),n.focus()}return{dom:i}}const Xc=qe.define(),p0=hi.define({create(){return!0},update(n,e){for(let t of e.effects)t.is(Xc)&&(n=t.value);return n},provide:n=>ea.from(n,e=>e?Od:null)}),SR=n=>{let e=Jo(n,Od);if(!e){let t=[Xc.of(!0)];n.state.field(p0,!1)==null&&t.push(qe.appendConfig.of([p0,bR])),n.dispatch({effects:t}),e=Jo(n,Od)}return e&&e.dom.querySelector("input").select(),!0},bR=pe.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),$R={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},qv=we.define({combine(n){return pr(n,$R,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function yR(n){let e=[PR,kR];return n&&e.push(qv.of(n)),e}const vR=Re.mark({class:"cm-selectionMatch"}),wR=Re.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function g0(n,e,t,i){return(t==0||n(e.sliceDoc(t-1,t))!=Vt.Word)&&(i==e.doc.length||n(e.sliceDoc(i,i+1))!=Vt.Word)}function QR(n,e,t,i){return n(e.sliceDoc(t,t+1))==Vt.Word&&n(e.sliceDoc(i-1,i))==Vt.Word}const kR=ni.fromClass(class{constructor(n){this.decorations=this.getDeco(n)}update(n){(n.selectionSet||n.docChanged||n.viewportChanged)&&(this.decorations=this.getDeco(n.view))}getDeco(n){let e=n.state.facet(qv),{state:t}=n,i=t.selection;if(i.ranges.length>1)return Re.none;let r=i.main,s,l=null;if(r.empty){if(!e.highlightWordAroundCursor)return Re.none;let a=t.wordAt(r.head);if(!a)return Re.none;l=t.charCategorizer(r.head),s=t.sliceDoc(a.from,a.to)}else{let a=r.to-r.from;if(a200)return Re.none;if(e.wholeWords){if(s=t.sliceDoc(r.from,r.to),l=t.charCategorizer(r.head),!(g0(l,t,r.from,r.to)&&QR(l,t,r.from,r.to)))return Re.none}else if(s=t.sliceDoc(r.from,r.to).trim(),!s)return Re.none}let o=[];for(let a of n.visibleRanges){let u=new El(t.doc,s,a.from,a.to);for(;!u.next().done;){let{from:h,to:O}=u.value;if((!l||g0(l,t,h,O))&&(r.empty&&h<=r.from&&O>=r.to?o.push(wR.range(h,O)):(h>=r.to||O<=r.from)&&o.push(vR.range(h,O)),o.length>e.maxMatches))return Re.none}}return Re.set(o)}},{decorations:n=>n.decorations}),PR=pe.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),_R=({state:n,dispatch:e})=>{let{selection:t}=n,i=J.create(t.ranges.map(r=>n.wordAt(r.head)||J.cursor(r.head)),t.mainIndex);return i.eq(t)?!1:(e(n.update({selection:i})),!0)};function xR(n,e){let{main:t,ranges:i}=n.selection,r=n.wordAt(t.head),s=r&&r.from==t.from&&r.to==t.to;for(let l=!1,o=new El(n.doc,e,i[i.length-1].to);;)if(o.next(),o.done){if(l)return null;o=new El(n.doc,e,0,Math.max(0,i[i.length-1].from-1)),l=!0}else{if(l&&i.some(a=>a.from==o.value.from))continue;if(s){let a=n.wordAt(o.value.from);if(!a||a.from!=o.value.from||a.to!=o.value.to)continue}return o.value}}const WR=({state:n,dispatch:e})=>{let{ranges:t}=n.selection;if(t.some(s=>s.from===s.to))return _R({state:n,dispatch:e});let i=n.sliceDoc(t[0].from,t[0].to);if(n.selection.ranges.some(s=>n.sliceDoc(s.from,s.to)!=i))return!1;let r=xR(n,i);return r?(e(n.update({selection:n.selection.addRange(J.range(r.from,r.to),!1),effects:pe.scrollIntoView(r.to)})),!0):!1},jl=we.define({combine(n){return pr(n,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new VR(e),scrollToMatch:e=>pe.scrollIntoView(e)})}});class Iv{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||mR(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,i)=>i=="n"?` -`:i=="r"?"\r":i=="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 RR(this):new TR(this)}getCursor(e,t=0,i){let r=e.doc?e:ht.create({doc:e});return i==null&&(i=r.doc.length),this.regexp?Sl(this,r,t,i):ml(this,r,t,i)}}class Nv{constructor(e){this.spec=e}}function ml(n,e,t,i){return new El(e.doc,n.unquoted,t,i,n.caseSensitive?void 0:r=>r.toLowerCase(),n.wholeWord?CR(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function CR(n,e){return(t,i,r,s)=>((s>t||s+r.length=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let s=ml(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function Sl(n,e,t,i){return new Vv(e.doc,n.search,{ignoreCase:!n.caseSensitive,test:n.wholeWord?ZR(e.charCategorizer(e.selection.main.head)):void 0},t,i)}function Ac(n,e){return n.slice(Ri(n,e,!1),e)}function Yc(n,e){return n.slice(e,Ri(n,e))}function ZR(n){return(e,t,i)=>!i[0].length||(n(Ac(i.input,i.index))!=Vt.Word||n(Yc(i.input,i.index))!=Vt.Word)&&(n(Yc(i.input,i.index+i[0].length))!=Vt.Word||n(Ac(i.input,i.index+i[0].length))!=Vt.Word)}class RR extends Nv{nextMatch(e,t,i){let r=Sl(this.spec,e,i,e.doc.length).next();return r.done&&(r=Sl(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,i){for(let r=1;;r++){let s=Math.max(t,i-r*1e4),l=Sl(this.spec,e,s,i),o=null;for(;!l.next().done;)o=l.value;if(o&&(s==t||o.from>s+10))return o;if(s==t)return null}}prevMatch(e,t,i){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let s=Sl(this.spec,e,Math.max(0,t-250),Math.min(i+250,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const sa=qe.define(),Ld=qe.define(),cs=hi.define({create(n){return new oO(dd(n).create(),null)},update(n,e){for(let t of e.effects)t.is(sa)?n=new oO(t.value.create(),n.panel):t.is(Ld)&&(n=new oO(n.query,t.value?Bd:null));return n},provide:n=>ea.from(n,e=>e.panel)});class oO{constructor(e,t){this.query=e,this.panel=t}}const XR=Re.mark({class:"cm-searchMatch"}),AR=Re.mark({class:"cm-searchMatch cm-searchMatch-selected"}),YR=ni.fromClass(class{constructor(n){this.view=n,this.decorations=this.highlight(n.state.field(cs))}update(n){let e=n.state.field(cs);(e!=n.startState.field(cs)||n.docChanged||n.selectionSet||n.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:n,panel:e}){if(!e||!n.spec.valid)return Re.none;let{view:t}=this,i=new hs;for(let r=0,s=t.visibleRanges,l=s.length;rs[r+1].from-2*250;)a=s[++r].to;n.highlight(t.state,o,a,(u,h)=>{let O=t.state.selection.ranges.some(p=>p.from==u&&p.to==h);i.add(u,h,O?AR:XR)})}return i.finish()}},{decorations:n=>n.decorations});function ma(n){return e=>{let t=e.state.field(cs,!1);return t&&t.query.spec.valid?n(e,t):jv(e)}}const Uc=ma((n,{query:e})=>{let{to:t}=n.state.selection.main,i=e.nextMatch(n.state,t,t);if(!i)return!1;let r=J.single(i.from,i.to),s=n.state.facet(jl);return n.dispatch({selection:r,effects:[jd(n,i),s.scrollToMatch(r.main,n)],userEvent:"select.search"}),Bv(n),!0}),Ec=ma((n,{query:e})=>{let{state:t}=n,{from:i}=t.selection.main,r=e.prevMatch(t,i,i);if(!r)return!1;let s=J.single(r.from,r.to),l=n.state.facet(jl);return n.dispatch({selection:s,effects:[jd(n,r),l.scrollToMatch(s.main,n)],userEvent:"select.search"}),Bv(n),!0}),UR=ma((n,{query:e})=>{let t=e.matchAll(n.state,1e3);return!t||!t.length?!1:(n.dispatch({selection:J.create(t.map(i=>J.range(i.from,i.to))),userEvent:"select.search.matches"}),!0)}),ER=({state:n,dispatch:e})=>{let t=n.selection;if(t.ranges.length>1||t.main.empty)return!1;let{from:i,to:r}=t.main,s=[],l=0;for(let o=new El(n.doc,n.sliceDoc(i,r));!o.next().done;){if(s.length>1e3)return!1;o.value.from==i&&(l=s.length),s.push(J.range(o.value.from,o.value.to))}return e(n.update({selection:J.create(s,l),userEvent:"select.search.matches"})),!0},m0=ma((n,{query:e})=>{let{state:t}=n,{from:i,to:r}=t.selection.main;if(t.readOnly)return!1;let s=e.nextMatch(t,i,i);if(!s)return!1;let l=[],o,a,u=[];if(s.from==i&&s.to==r&&(a=t.toText(e.getReplacement(s)),l.push({from:s.from,to:s.to,insert:a}),s=e.nextMatch(t,s.from,s.to),u.push(pe.announce.of(t.phrase("replaced match on line $",t.doc.lineAt(i).number)+"."))),s){let h=l.length==0||l[0].from>=s.to?0:s.to-s.from-a.length;o=J.single(s.from-h,s.to-h),u.push(jd(n,s)),u.push(t.facet(jl).scrollToMatch(o.main,n))}return n.dispatch({changes:l,selection:o,effects:u,userEvent:"input.replace"}),!0}),MR=ma((n,{query:e})=>{if(n.state.readOnly)return!1;let t=e.matchAll(n.state,1e9).map(r=>{let{from:s,to:l}=r;return{from:s,to:l,insert:e.getReplacement(r)}});if(!t.length)return!1;let i=n.state.phrase("replaced $ matches",t.length)+".";return n.dispatch({changes:t,effects:pe.announce.of(i),userEvent:"input.replace.all"}),!0});function Bd(n){return n.state.facet(jl).createPanel(n)}function dd(n,e){var t,i,r,s,l;let o=n.selection.main,a=o.empty||o.to>o.from+100?"":n.sliceDoc(o.from,o.to);if(e&&!a)return e;let u=n.facet(jl);return new Iv({search:((t=e==null?void 0:e.literal)!==null&&t!==void 0?t:u.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(i=e==null?void 0:e.caseSensitive)!==null&&i!==void 0?i:u.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:u.literal,regexp:(s=e==null?void 0:e.regexp)!==null&&s!==void 0?s:u.regexp,wholeWord:(l=e==null?void 0:e.wholeWord)!==null&&l!==void 0?l:u.wholeWord})}function Lv(n){let e=Jo(n,Bd);return e&&e.dom.querySelector("[main-field]")}function Bv(n){let e=Lv(n);e&&e==n.root.activeElement&&e.select()}const jv=n=>{let e=n.state.field(cs,!1);if(e&&e.panel){let t=Lv(n);if(t&&t!=n.root.activeElement){let i=dd(n.state,e.query.spec);i.valid&&n.dispatch({effects:sa.of(i)}),t.focus(),t.select()}}else n.dispatch({effects:[Ld.of(!0),e?sa.of(dd(n.state,e.query.spec)):qe.appendConfig.of(qR)]});return!0},Fv=n=>{let e=n.state.field(cs,!1);if(!e||!e.panel)return!1;let t=Jo(n,Bd);return t&&t.dom.contains(n.root.activeElement)&&n.focus(),n.dispatch({effects:Ld.of(!1)}),!0},zR=[{key:"Mod-f",run:jv,scope:"editor search-panel"},{key:"F3",run:Uc,shift:Ec,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Uc,shift:Ec,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Fv,scope:"editor search-panel"},{key:"Mod-Shift-l",run:ER},{key:"Alt-g",run:SR},{key:"Mod-d",run:WR,preventDefault:!0}];class VR{constructor(e){this.view=e;let t=this.query=e.state.field(cs).query.spec;this.commit=this.commit.bind(this),this.searchField=Zt("input",{value:t.search,placeholder:an(e,"Find"),"aria-label":an(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Zt("input",{value:t.replace,placeholder:an(e,"Replace"),"aria-label":an(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Zt("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=Zt("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=Zt("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function i(r,s,l){return Zt("button",{class:"cm-button",name:r,onclick:s,type:"button"},l)}this.dom=Zt("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,i("next",()=>Uc(e),[an(e,"next")]),i("prev",()=>Ec(e),[an(e,"previous")]),i("select",()=>UR(e),[an(e,"all")]),Zt("label",null,[this.caseField,an(e,"match case")]),Zt("label",null,[this.reField,an(e,"regexp")]),Zt("label",null,[this.wordField,an(e,"by word")]),...e.state.readOnly?[]:[Zt("br"),this.replaceField,i("replace",()=>m0(e),[an(e,"replace")]),i("replaceAll",()=>MR(e),[an(e,"replace all")])],Zt("button",{name:"close",onclick:()=>Fv(e),"aria-label":an(e,"close"),type:"button"},["×"])])}commit(){let e=new Iv({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:sa.of(e)}))}keydown(e){K4(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Ec:Uc)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),m0(this.view))}update(e){for(let t of e.transactions)for(let i of t.effects)i.is(sa)&&!i.value.eq(this.query)&&this.setQuery(i.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(jl).top}}function an(n,e){return n.state.phrase(e)}const jf=30,Ff=/[\s\.,:;?!]/;function jd(n,{from:e,to:t}){let i=n.state.doc.lineAt(e),r=n.state.doc.lineAt(t).to,s=Math.max(i.from,e-jf),l=Math.min(r,t+jf),o=n.state.sliceDoc(s,l);if(s!=i.from){for(let a=0;ao.length-jf;a--)if(!Ff.test(o[a-1])&&Ff.test(o[a])){o=o.slice(0,a);break}}return pe.announce.of(`${n.state.phrase("current match")}. ${o} ${n.state.phrase("on line")} ${i.number}.`)}const DR=pe.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"}}),qR=[cs,Ns.low(YR),DR];class Gv{constructor(e,t,i){this.state=e,this.pos=t,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let t=Ft(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)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),i=Math.max(t.from,this.pos-250),r=t.text.slice(i-t.from,this.pos-t.from),s=r.search(Kv(e,!1));return s<0?null:{from:i+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function S0(n){let e=Object.keys(n).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function IR(n){let e=Object.create(null),t=Object.create(null);for(let{label:r}of n){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[t,i]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:IR(e);return r=>{let s=r.matchBefore(i);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:t}:null}}function NR(n,e){return t=>{for(let i=Ft(t.state).resolveInner(t.pos,-1);i;i=i.parent){if(n.indexOf(i.name)>-1)return null;if(i.type.isTop)break}return e(t)}}class b0{constructor(e,t,i,r){this.completion=e,this.source=t,this.match=i,this.score=r}}function us(n){return n.selection.main.from}function Kv(n,e){var t;let{source:i}=n,r=e&&i[0]!="^",s=i[i.length-1]!="$";return!r&&!s?n:new RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,(t=n.flags)!==null&&t!==void 0?t:n.ignoreCase?"i":"")}const Jv=Mr.define();function LR(n,e,t,i){let{main:r}=n.selection,s=t-r.from,l=i-r.from;return Object.assign(Object.assign({},n.changeByRange(o=>o!=r&&t!=i&&n.sliceDoc(o.from+s,o.from+l)!=n.sliceDoc(t,i)?{range:o}:{changes:{from:o.from+s,to:i==r.from?o.to:o.from+l,insert:e},range:J.cursor(o.from+s+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const $0=new WeakMap;function BR(n){if(!Array.isArray(n))return n;let e=$0.get(n);return e||$0.set(n,e=Hv(n)),e}const Fd=qe.define(),la=qe.define();class jR{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&C<=57||C>=97&&C<=122?2:C>=65&&C<=90?1:0:(U=yd(C))!=U.toLowerCase()?1:U!=U.toUpperCase()?2:0;(!W||z==1&&$||T==0&&z!=0)&&(t[O]==C||i[O]==C&&(p=!0)?l[O++]=W:l.length&&(k=!1)),T=z,W+=_n(C)}return O==a&&l[0]==0&&k?this.result(-100+(p?-200:0),l,e):g==a&&b==0?this.ret(-200-e.length+(y==e.length?0:-100),[0,y]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):g==a?this.ret(-900-e.length,[b,y]):O==a?this.result(-100+(p?-200:0)+-700+(k?0:-1100),l,e):t.length==2?!1:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,i){let r=[],s=0;for(let l of t){let o=l+(this.astral?_n($i(i,l)):1);s&&r[s-1]==l?r[s-1]=o:(r[s++]=l,r[s++]=o)}return this.ret(e-i.length,r)}}const Zi=we.define({combine(n){return pr(n,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:FR,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>i=>y0(e(i),t(i)),optionClass:(e,t)=>i=>y0(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})}});function y0(n,e){return n?e?n+" "+e:n:e}function FR(n,e,t,i,r,s){let l=n.textDirection==Nt.RTL,o=l,a=!1,u="top",h,O,p=e.left-r.left,g=r.right-e.right,b=i.right-i.left,y=i.bottom-i.top;if(o&&p=y||W>e.top?h=t.bottom-e.top:(u="bottom",h=e.bottom-t.top)}let $=(e.bottom-e.top)/s.offsetHeight,k=(e.right-e.left)/s.offsetWidth;return{style:`${u}: ${h/$}px; max-width: ${O/k}px`,class:"cm-completionInfo-"+(a?l?"left-narrow":"right-narrow":o?"left":"right")}}function GR(n){let e=n.addToOptions.slice();return n.icons&&e.push({render(t){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),t.type&&i.classList.add(...t.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(t,i,r,s){let l=document.createElement("span");l.className="cm-completionLabel";let o=t.displayLabel||t.label,a=0;for(let u=0;ua&&l.appendChild(document.createTextNode(o.slice(a,h)));let p=l.appendChild(document.createElement("span"));p.appendChild(document.createTextNode(o.slice(h,O))),p.className="cm-completionMatchedText",a=O}return at.position-i.position).map(t=>t.render)}function aO(n,e,t){if(n<=t)return{from:0,to:n};if(e<0&&(e=0),e<=n>>1){let r=Math.floor(e/t);return{from:r*t,to:(r+1)*t}}let i=Math.floor((n-e)/t);return{from:n-(i+1)*t,to:n-i*t}}class HR{constructor(e,t,i){this.view=e,this.stateField=t,this.applyCompletion=i,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:a=>this.placeInfo(a),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:s,selected:l}=r.open,o=e.state.facet(Zi);this.optionContent=GR(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=aO(s.length,l,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:u}=e.state.field(t).open;for(let h=a.target,O;h&&h!=this.dom;h=h.parentNode)if(h.nodeName=="LI"&&(O=/-(\d+)$/.exec(h.id))&&+O[1]{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(Zi).closeOnBlur&&a.relatedTarget!=e.contentDOM&&e.dispatch({effects:la.of(null)})}),this.showOptions(s,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let i=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),i!=r){let{options:s,selected:l,disabled:o}=i.open;(!r.open||r.open.options!=s)&&(this.range=aO(s.length,l,e.state.facet(Zi).maxRenderedOptions),this.showOptions(s,i.id)),this.updateSel(),o!=((t=r.open)===null||t===void 0?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let i of this.currentClass.split(" "))i&&this.dom.classList.remove(i);for(let i of t.split(" "))i&&this.dom.classList.add(i);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=aO(t.options.length,t.selected,this.view.state.facet(Zi).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:i}=t.options[t.selected],{info:r}=i;if(!r)return;let s=typeof r=="string"?document.createTextNode(r):r(i);if(!s)return;"then"in s?s.then(l=>{l&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(l,i)}).catch(l=>Cn(this.view.state,l,"completion info")):this.addInfoPane(s,i)}}addInfoPane(e,t){this.destroyInfo();let i=this.info=document.createElement("div");if(i.className="cm-tooltip cm-completionInfo",e.nodeType!=null)i.appendChild(e),this.infoDestroy=null;else{let{dom:r,destroy:s}=e;i.appendChild(r),this.infoDestroy=s||null}this.dom.appendChild(i),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let i=this.list.firstChild,r=this.range.from;i;i=i.nextSibling,r++)i.nodeName!="LI"||!i.id?r--:r==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),t=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return t&&JR(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),s=this.space;if(!s){let l=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:l.innerWidth,bottom:l.innerHeight}}return r.top>Math.min(s.bottom,t.bottom)-10||r.bottomi.from||i.from==0))if(s=p,typeof u!="string"&&u.header)r.appendChild(u.header(u));else{let g=r.appendChild(document.createElement("completion-section"));g.textContent=p}}const h=r.appendChild(document.createElement("li"));h.id=t+"-"+l,h.setAttribute("role","option");let O=this.optionClass(o);O&&(h.className=O);for(let p of this.optionContent){let g=p(o,this.view.state,this.view,a);g&&h.appendChild(g)}}return i.from&&r.classList.add("cm-completionListIncompleteTop"),i.tonew HR(t,n,e)}function JR(n,e){let t=n.getBoundingClientRect(),i=e.getBoundingClientRect(),r=t.height/n.offsetHeight;i.topt.bottom&&(n.scrollTop+=(i.bottom-t.bottom)/r)}function v0(n){return(n.boost||0)*100+(n.apply?10:0)+(n.info?5:0)+(n.type?1:0)}function eX(n,e){let t=[],i=null,r=a=>{t.push(a);let{section:u}=a.completion;if(u){i||(i=[]);let h=typeof u=="string"?u:u.name;i.some(O=>O.name==h)||i.push(typeof u=="string"?{name:h}:u)}};for(let a of n)if(a.hasResult()){let u=a.result.getMatch;if(a.result.filter===!1)for(let h of a.result.options)r(new b0(h,a.source,u?u(h):[],1e9-t.length));else{let h=new jR(e.sliceDoc(a.from,a.to));for(let O of a.result.options)if(h.match(O.label)){let p=O.displayLabel?u?u(O,h.matched):[]:h.matched;r(new b0(O,a.source,p,h.score+(O.boost||0)))}}}if(i){let a=Object.create(null),u=0,h=(O,p)=>{var g,b;return((g=O.rank)!==null&&g!==void 0?g:1e9)-((b=p.rank)!==null&&b!==void 0?b:1e9)||(O.nameh.score-u.score||o(u.completion,h.completion))){let u=a.completion;!l||l.label!=u.label||l.detail!=u.detail||l.type!=null&&u.type!=null&&l.type!=u.type||l.apply!=u.apply||l.boost!=u.boost?s.push(a):v0(a.completion)>v0(l)&&(s[s.length-1]=a),l=a.completion}return s}class vl{constructor(e,t,i,r,s,l){this.options=e,this.attrs=t,this.tooltip=i,this.timestamp=r,this.selected=s,this.disabled=l}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new vl(this.options,w0(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,i,r,s){let l=eX(e,t);if(!l.length)return r&&e.some(a=>a.state==1)?new vl(r.options,r.attrs,r.tooltip,r.timestamp,r.selected,!0):null;let o=t.facet(Zi).selectOnOpen?0:-1;if(r&&r.selected!=o&&r.selected!=-1){let a=r.options[r.selected].completion;for(let u=0;uu.hasResult()?Math.min(a,u.from):a,1e8),create:sX,above:s.aboveCursor},r?r.timestamp:Date.now(),o,!1)}map(e){return new vl(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class Mc{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new Mc(nX,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,i=t.facet(Zi),s=(i.override||t.languageDataAt("autocomplete",us(t)).map(BR)).map(o=>(this.active.find(u=>u.source==o)||new Ki(o,this.active.some(u=>u.state!=0)?1:0)).update(e,i));s.length==this.active.length&&s.every((o,a)=>o==this.active[a])&&(s=this.active);let l=this.open;l&&e.docChanged&&(l=l.map(e.changes)),e.selection||s.some(o=>o.hasResult()&&e.changes.touchesRange(o.from,o.to))||!tX(s,this.active)?l=vl.build(s,t,this.id,l,i):l&&l.disabled&&!s.some(o=>o.state==1)&&(l=null),!l&&s.every(o=>o.state!=1)&&s.some(o=>o.hasResult())&&(s=s.map(o=>o.hasResult()?new Ki(o.source,0):o));for(let o of e.effects)o.is(tw)&&(l=l&&l.setSelected(o.value,this.id));return s==this.active&&l==this.open?this:new Mc(s,this.id,l)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:iX}}function tX(n,e){if(n==e)return!0;for(let t=0,i=0;;){for(;t-1&&(t["aria-activedescendant"]=n+"-"+e),t}const nX=[];function pd(n){return n.isUserEvent("input.type")?"input":n.isUserEvent("delete.backward")?"delete":null}class Ki{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=pd(e),r=this;i?r=r.handleUserEvent(e,i,t):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new Ki(r.source,0));for(let s of e.effects)if(s.is(Fd))r=new Ki(r.source,1,s.value?us(e.state):-1);else if(s.is(la))r=new Ki(r.source,0);else if(s.is(ew))for(let l of s.value)l.source==r.source&&(r=l);return r}handleUserEvent(e,t,i){return t=="delete"||!i.activateOnTyping?this.map(e.changes):new Ki(this.source,1)}handleChange(e){return e.changes.touchesRange(us(e.startState))?new Ki(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Ki(this.source,this.state,e.mapPos(this.explicitPos))}}class Rl extends Ki{constructor(e,t,i,r,s){super(e,2,t),this.result=i,this.from=r,this.to=s}hasResult(){return!0}handleUserEvent(e,t,i){var r;let s=e.changes.mapPos(this.from),l=e.changes.mapPos(this.to,1),o=us(e.state);if((this.explicitPos<0?o<=s:ol||t=="delete"&&us(e.startState)==this.from)return new Ki(this.source,t=="input"&&i.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),u;return rX(this.result.validFor,e.state,s,l)?new Rl(this.source,a,this.result,s,l):this.result.update&&(u=this.result.update(this.result,s,l,new Gv(e.state,o,a>=0)))?new Rl(this.source,a,u,u.from,(r=u.to)!==null&&r!==void 0?r:us(e.state)):new Ki(this.source,1,a)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Ki(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Rl(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function rX(n,e,t,i){if(!n)return!1;let r=e.sliceDoc(t,i);return typeof n=="function"?n(r,t,i,e):Kv(n,!0).test(r)}const ew=qe.define({map(n,e){return n.map(t=>t.map(e))}}),tw=qe.define(),un=hi.define({create(){return Mc.start()},update(n,e){return n.update(e)},provide:n=>[Td.from(n,e=>e.tooltip),pe.contentAttributes.from(n,e=>e.attrs)]});function iw(n,e){const t=e.completion.apply||e.completion.label;let i=n.state.field(un).active.find(r=>r.source==e.source);return i instanceof Rl?(typeof t=="string"?n.dispatch(Object.assign(Object.assign({},LR(n.state,t,i.from,i.to)),{annotations:Jv.of(e.completion)})):t(n,e.completion,i.from,i.to),!0):!1}const sX=KR(un,iw);function Gf(n,e="option"){return t=>{let i=t.state.field(un,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+r*(n?1:-1):n?0:l-1;return o<0?o=e=="page"?0:l-1:o>=l&&(o=e=="page"?l-1:0),t.dispatch({effects:tw.of(o)}),!0}}const lX=n=>{let e=n.state.field(un,!1);return n.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampn.state.field(un,!1)?(n.dispatch({effects:Fd.of(!0)}),!0):!1,aX=n=>{let e=n.state.field(un,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(n.dispatch({effects:la.of(null)}),!0)};class fX{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const cX=50,uX=1e3,hX=ni.fromClass(class{constructor(n){this.view=n,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of n.state.field(un).active)e.state==1&&this.startQuery(e)}update(n){let e=n.state.field(un);if(!n.selectionSet&&!n.docChanged&&n.startState.field(un)==e)return;let t=n.transactions.some(i=>(i.selection||i.docChanged)&&!pd(i));for(let i=0;icX&&Date.now()-r.time>uX){for(let s of r.context.abortListeners)try{s()}catch(l){Cn(this.view.state,l)}r.context.abortListeners=null,this.running.splice(i--,1)}else r.updates.push(...n.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(i=>i.state==1&&!this.running.some(r=>r.active.source==i.source))?setTimeout(()=>this.startUpdate(),50):-1,this.composing!=0)for(let i of n.transactions)pd(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:n}=this.view,e=n.field(un);for(let t of e.active)t.state==1&&!this.running.some(i=>i.active.source==t.source)&&this.startQuery(t)}startQuery(n){let{state:e}=this.view,t=us(e),i=new Gv(e,t,n.explicitPos==t),r=new fX(n,i);this.running.push(r),Promise.resolve(n.source(i)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:la.of(null)}),Cn(this.view.state,s)})}scheduleAccept(){this.running.every(n=>n.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Zi).updateSyncTime))}accept(){var n;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(Zi);for(let i=0;il.source==r.active.source);if(s&&s.state==1)if(r.done==null){let l=new Ki(r.active.source,0);for(let o of r.updates)l=l.update(o,t);l.state!=1&&e.push(l)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:ew.of(e)})}},{eventHandlers:{blur(n){let e=this.view.state.field(un,!1);if(e&&e.tooltip&&this.view.state.facet(Zi).closeOnBlur){let t=e.open&&vy(this.view,e.open.tooltip);(!t||!t.dom.contains(n.relatedTarget))&&this.view.dispatch({effects:la.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Fd.of(!1)}),20),this.composing=0}}}),nw=pe.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",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',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",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class OX{constructor(e,t,i,r){this.field=e,this.line=t,this.from=i,this.to=r}}class Gd{constructor(e,t,i){this.field=e,this.from=t,this.to=i}map(e){let t=e.mapPos(this.from,-1,vi.TrackDel),i=e.mapPos(this.to,1,vi.TrackDel);return t==null||i==null?null:new Gd(this.field,t,i)}}class Hd{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let i=[],r=[t],s=e.doc.lineAt(t),l=/^\s*/.exec(s.text)[0];for(let a of this.lines){if(i.length){let u=l,h=/^\t*/.exec(a)[0].length;for(let O=0;Onew Gd(a.field,r[a.line]+a.from,r[a.line]+a.to));return{text:i,ranges:o}}static parse(e){let t=[],i=[],r=[],s;for(let l of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(l);){let o=s[1]?+s[1]:null,a=s[2]||s[3]||"",u=-1;for(let h=0;h=u&&O.field++}r.push(new OX(u,i.length,s.index,s.index+a.length)),l=l.slice(0,s.index)+a+l.slice(s.index+s[0].length)}for(let o;o=/\\([{}])/.exec(l);){l=l.slice(0,o.index)+o[1]+l.slice(o.index+o[0].length);for(let a of r)a.line==i.length&&a.from>o.index&&(a.from--,a.to--)}i.push(l)}return new Hd(i,r)}}let dX=Re.widget({widget:new class extends zr{toDOM(){let n=document.createElement("span");return n.className="cm-snippetFieldPosition",n}ignoreEvent(){return!1}}}),pX=Re.mark({class:"cm-snippetField"});class Fl{constructor(e,t){this.ranges=e,this.active=t,this.deco=Re.set(e.map(i=>(i.from==i.to?dX:pX).range(i.from,i.to)))}map(e){let t=[];for(let i of this.ranges){let r=i.map(e);if(!r)return null;t.push(r)}return new Fl(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(i=>i.field==this.active&&i.from<=t.from&&i.to>=t.to))}}const Sa=qe.define({map(n,e){return n&&n.map(e)}}),gX=qe.define(),oa=hi.define({create(){return null},update(n,e){for(let t of e.effects){if(t.is(Sa))return t.value;if(t.is(gX)&&n)return new Fl(n.ranges,t.value)}return n&&e.docChanged&&(n=n.map(e.changes)),n&&e.selection&&!n.selectionInsideField(e.selection)&&(n=null),n},provide:n=>pe.decorations.from(n,e=>e?e.deco:Re.none)});function Kd(n,e){return J.create(n.filter(t=>t.field==e).map(t=>J.range(t.from,t.to)))}function mX(n){let e=Hd.parse(n);return(t,i,r,s)=>{let{text:l,ranges:o}=e.instantiate(t.state,r),a={changes:{from:r,to:s,insert:St.of(l)},scrollIntoView:!0,annotations:i?Jv.of(i):void 0};if(o.length&&(a.selection=Kd(o,0)),o.length>1){let u=new Fl(o,0),h=a.effects=[Sa.of(u)];t.state.field(oa,!1)===void 0&&h.push(qe.appendConfig.of([oa,vX,wX,nw]))}t.dispatch(t.state.update(a))}}function rw(n){return({state:e,dispatch:t})=>{let i=e.field(oa,!1);if(!i||n<0&&i.active==0)return!1;let r=i.active+n,s=n>0&&!i.ranges.some(l=>l.field==r+n);return t(e.update({selection:Kd(i.ranges,r),effects:Sa.of(s?null:new Fl(i.ranges,r)),scrollIntoView:!0})),!0}}const SX=({state:n,dispatch:e})=>n.field(oa,!1)?(e(n.update({effects:Sa.of(null)})),!0):!1,bX=rw(1),$X=rw(-1),yX=[{key:"Tab",run:bX,shift:$X},{key:"Escape",run:SX}],Q0=we.define({combine(n){return n.length?n[0]:yX}}),vX=Ns.highest(ua.compute([Q0],n=>n.facet(Q0)));function Bi(n,e){return Object.assign(Object.assign({},e),{apply:mX(n)})}const wX=pe.domEventHandlers({mousedown(n,e){let t=e.state.field(oa,!1),i;if(!t||(i=e.posAtCoords({x:n.clientX,y:n.clientY}))==null)return!1;let r=t.ranges.find(s=>s.from<=i&&s.to>=i);return!r||r.field==t.active?!1:(e.dispatch({selection:Kd(t.ranges,r.field),effects:Sa.of(t.ranges.some(s=>s.field>r.field)?new Fl(t.ranges,r.field):null),scrollIntoView:!0}),!0)}}),aa={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Vs=qe.define({map(n,e){let t=e.mapPos(n,-1,vi.TrackAfter);return t??void 0}}),Jd=new class extends Ds{};Jd.startSide=1;Jd.endSide=-1;const sw=hi.define({create(){return wt.empty},update(n,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head);n=n.update({filter:i=>i>=t.from&&i<=t.to})}n=n.map(e.changes);for(let t of e.effects)t.is(Vs)&&(n=n.update({add:[Jd.range(t.value,t.value+1)]}));return n}});function QX(){return[PX,sw]}const fO="()[]{}<>";function lw(n){for(let e=0;e{if((kX?n.composing:n.compositionStarted)||n.state.readOnly)return!1;let r=n.state.selection.main;if(i.length>2||i.length==2&&_n($i(i,0))==1||e!=r.from||t!=r.to)return!1;let s=WX(n.state,i);return s?(n.dispatch(s),!0):!1}),_X=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let i=ow(n,n.selection.main.head).brackets||aa.brackets,r=null,s=n.changeByRange(l=>{if(l.empty){let o=CX(n.doc,l.head);for(let a of i)if(a==o&&su(n.doc,l.head)==lw($i(a,0)))return{changes:{from:l.head-a.length,to:l.head+a.length},range:J.cursor(l.head-a.length)}}return{range:r=l}});return r||e(n.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},xX=[{key:"Backspace",run:_X}];function WX(n,e){let t=ow(n,n.selection.main.head),i=t.brackets||aa.brackets;for(let r of i){let s=lw($i(r,0));if(e==r)return s==r?RX(n,r,i.indexOf(r+r+r)>-1,t):TX(n,r,s,t.before||aa.before);if(e==s&&aw(n,n.selection.main.from))return ZX(n,r,s)}return null}function aw(n,e){let t=!1;return n.field(sw).between(0,n.doc.length,i=>{i==e&&(t=!0)}),t}function su(n,e){let t=n.sliceString(e,e+2);return t.slice(0,_n($i(t,0)))}function CX(n,e){let t=n.sliceString(e-2,e);return _n($i(t,0))==t.length?t:t.slice(1)}function TX(n,e,t,i){let r=null,s=n.changeByRange(l=>{if(!l.empty)return{changes:[{insert:e,from:l.from},{insert:t,from:l.to}],effects:Vs.of(l.to+e.length),range:J.range(l.anchor+e.length,l.head+e.length)};let o=su(n.doc,l.head);return!o||/\s/.test(o)||i.indexOf(o)>-1?{changes:{insert:e+t,from:l.head},effects:Vs.of(l.head+e.length),range:J.cursor(l.head+e.length)}:{range:r=l}});return r?null:n.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function ZX(n,e,t){let i=null,r=n.changeByRange(s=>s.empty&&su(n.doc,s.head)==t?{changes:{from:s.head,to:s.head+t.length,insert:t},range:J.cursor(s.head+t.length)}:i={range:s});return i?null:n.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function RX(n,e,t,i){let r=i.stringPrefixes||aa.stringPrefixes,s=null,l=n.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:Vs.of(o.to+e.length),range:J.range(o.anchor+e.length,o.head+e.length)};let a=o.head,u=su(n.doc,a),h;if(u==e){if(k0(n,a))return{changes:{insert:e+e,from:a},effects:Vs.of(a+e.length),range:J.cursor(a+e.length)};if(aw(n,a)){let p=t&&n.sliceDoc(a,a+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:a,to:a+p.length,insert:p},range:J.cursor(a+p.length)}}}else{if(t&&n.sliceDoc(a-2*e.length,a)==e+e&&(h=P0(n,a-2*e.length,r))>-1&&k0(n,h))return{changes:{insert:e+e+e+e,from:a},effects:Vs.of(a+e.length),range:J.cursor(a+e.length)};if(n.charCategorizer(a)(u)!=Vt.Word&&P0(n,a,r)>-1&&!XX(n,a,e,r))return{changes:{insert:e+e,from:a},effects:Vs.of(a+e.length),range:J.cursor(a+e.length)}}return{range:s=o}});return s?null:n.update(l,{scrollIntoView:!0,userEvent:"input.type"})}function k0(n,e){let t=Ft(n).resolveInner(e+1);return t.parent&&t.from==e}function XX(n,e,t,i){let r=Ft(n).resolveInner(e,-1),s=i.reduce((l,o)=>Math.max(l,o.length),0);for(let l=0;l<5;l++){let o=n.sliceDoc(r.from,Math.min(r.to,r.from+t.length+s)),a=o.indexOf(t);if(!a||a>-1&&i.indexOf(o.slice(0,a))>-1){let h=r.firstChild;for(;h&&h.from==r.from&&h.to-h.from>t.length+a;){if(n.sliceDoc(h.to-t.length,h.to)==t)return!1;h=h.firstChild}return!0}let u=r.to==e&&r.parent;if(!u)break;r=u}return!1}function P0(n,e,t){let i=n.charCategorizer(e);if(i(n.sliceDoc(e-1,e))!=Vt.Word)return e;for(let r of t){let s=e-r.length;if(n.sliceDoc(s,e)==r&&i(n.sliceDoc(s-1,s))!=Vt.Word)return s}return-1}function AX(n={}){return[un,Zi.of(n),hX,YX,nw]}const fw=[{key:"Ctrl-Space",run:oX},{key:"Escape",run:aX},{key:"ArrowDown",run:Gf(!0)},{key:"ArrowUp",run:Gf(!1)},{key:"PageDown",run:Gf(!0,"page")},{key:"PageUp",run:Gf(!1,"page")},{key:"Enter",run:lX}],YX=Ns.highest(ua.computeN([Zi],n=>n.facet(Zi).defaultKeymap?[fw]:[]));class UX{constructor(e,t,i){this.from=e,this.to=t,this.diagnostic=i}}class Es{constructor(e,t,i){this.diagnostics=e,this.panel=t,this.selected=i}static init(e,t,i){let r=e,s=i.facet(hw).markerFilter;s&&(r=s(r));let l=Re.set(r.map(o=>o.from==o.to||o.from==o.to-1&&i.doc.lineAt(o.from).to==o.from?Re.widget({widget:new LX(o),diagnostic:o}).range(o.from):Re.mark({attributes:{class:"cm-lintRange cm-lintRange-"+o.severity+(o.markClass?" "+o.markClass:"")},diagnostic:o}).range(o.from,o.to)),!0);return new Es(l,t,Ml(l))}}function Ml(n,e=null,t=0){let i=null;return n.between(t,1e9,(r,s,{spec:l})=>{if(!(e&&l.diagnostic!=e))return i=new UX(r,s,l.diagnostic),!1}),i}function EX(n,e){let t=n.startState.doc.lineAt(e.pos);return!!(n.effects.some(i=>i.is(cw))||n.changes.touchesRange(t.from,t.to))}function MX(n,e){return n.field(On,!1)?e:e.concat(qe.appendConfig.of(FX))}const cw=qe.define(),ep=qe.define(),uw=qe.define(),On=hi.define({create(){return new Es(Re.none,null,null)},update(n,e){if(e.docChanged){let t=n.diagnostics.map(e.changes),i=null;if(n.selected){let r=e.changes.mapPos(n.selected.from,1);i=Ml(t,n.selected.diagnostic,r)||Ml(t,null,r)}n=new Es(t,n.panel,i)}for(let t of e.effects)t.is(cw)?n=Es.init(t.value,n.panel,e.state):t.is(ep)?n=new Es(n.diagnostics,t.value?lu.open:null,n.selected):t.is(uw)&&(n=new Es(n.diagnostics,n.panel,t.value));return n},provide:n=>[ea.from(n,e=>e.panel),pe.decorations.from(n,e=>e.diagnostics)]}),zX=Re.mark({class:"cm-lintRange cm-lintRange-active"});function VX(n,e,t){let{diagnostics:i}=n.state.field(On),r=[],s=2e8,l=0;i.between(e-(t<0?1:0),e+(t>0?1:0),(a,u,{spec:h})=>{e>=a&&e<=u&&(a==u||(e>a||t>0)&&(edw(n,t,!1)))}const qX=n=>{let e=n.state.field(On,!1);(!e||!e.panel)&&n.dispatch({effects:MX(n.state,[ep.of(!0)])});let t=Jo(n,lu.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},_0=n=>{let e=n.state.field(On,!1);return!e||!e.panel?!1:(n.dispatch({effects:ep.of(!1)}),!0)},IX=n=>{let e=n.state.field(On,!1);if(!e)return!1;let t=n.state.selection.main,i=e.diagnostics.iter(t.to+1);return!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==t.from&&i.to==t.to)?!1:(n.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},NX=[{key:"Mod-Shift-m",run:qX,preventDefault:!0},{key:"F8",run:IX}],hw=we.define({combine(n){return Object.assign({sources:n.map(e=>e.source)},pr(n.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,t)=>e?t?i=>e(i)||t(i):e:t}))}});function Ow(n){let e=[];if(n)e:for(let{name:t}of n){for(let i=0;is.toLowerCase()==r.toLowerCase())){e.push(r);continue e}}e.push("")}return e}function dw(n,e,t){var i;let r=t?Ow(e.actions):[];return Zt("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Zt("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(i=e.actions)===null||i===void 0?void 0:i.map((s,l)=>{let o=!1,a=p=>{if(p.preventDefault(),o)return;o=!0;let g=Ml(n.state.field(On).diagnostics,e);g&&s.apply(n,g.from,g.to)},{name:u}=s,h=r[l]?u.indexOf(r[l]):-1,O=h<0?u:[u.slice(0,h),Zt("u",u.slice(h,h+1)),u.slice(h+1)];return Zt("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${u}${h<0?"":` (access key "${r[l]})"`}.`},O)}),e.source&&Zt("div",{class:"cm-diagnosticSource"},e.source))}class LX extends zr{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Zt("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class x0{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=dw(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class lu{constructor(e){this.view=e,this.items=[];let t=r=>{if(r.keyCode==27)_0(this.view),this.view.focus();else if(r.keyCode==38||r.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(r.keyCode==40||r.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(r.keyCode==36)this.moveSelection(0);else if(r.keyCode==35)this.moveSelection(this.items.length-1);else if(r.keyCode==13)this.view.focus();else if(r.keyCode>=65&&r.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],l=Ow(s.actions);for(let o=0;o{for(let s=0;s_0(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(On).selected;if(!e)return-1;for(let t=0;t{let u=-1,h;for(let O=i;Oi&&(this.items.splice(i,u-i),r=!0)),t&&h.diagnostic==t.diagnostic?h.dom.hasAttribute("aria-selected")||(h.dom.setAttribute("aria-selected","true"),s=h):h.dom.hasAttribute("aria-selected")&&h.dom.removeAttribute("aria-selected"),i++});i({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:l,panel:o})=>{let a=o.height/this.list.offsetHeight;l.topo.bottom&&(this.list.scrollTop+=(l.bottom-o.bottom)/a)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let i=e;e=i.nextSibling,i.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;e!=i.dom;)t();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(On),i=Ml(t.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:uw.of(i)})}static open(e){return new lu(e)}}function BX(n,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(n)}')`}function Hf(n){return BX(``,'width="6" height="3"')}const jX=pe.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-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Hf("#d11")},".cm-lintRange-warning":{backgroundImage:Hf("orange")},".cm-lintRange-info":{backgroundImage:Hf("#999")},".cm-lintRange-hint":{backgroundImage:Hf("#66d")},".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-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".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}}}),FX=[On,pe.decorations.compute([On],n=>{let{selected:e,panel:t}=n.field(On);return!e||!t||e.from==e.to?Re.none:Re.set([zX.range(e.from,e.to)])}),U3(VX,{hideOn:EX}),jX],GX=[L3(),F3(),p3(),pZ(),DT(),r3(),f3(),ht.allowMultipleSelections.of(!0),WT(),iv(LT,{fallback:!0}),JT(),QX(),AX(),_3(),C3(),y3(),yR(),ua.of([...xX,...pR,...zR,...QZ,...ET,...fw,...NX])],mi=({variant:n,settings:e,styles:t})=>{const i=pe.theme({"&":{backgroundColor:e.background,color:e.foreground},".cm-content":{caretColor:e.caret},".cm-cursor, .cm-dropCursor":{borderLeftColor:e.caret},"&.cm-focused .cm-selectionBackgroundm .cm-selectionBackground, .cm-content ::selection":{backgroundColor:e.selection},".cm-activeLine":{backgroundColor:e.lineHighlight},".cm-gutters":{backgroundColor:e.gutterBackground,color:e.gutterForeground},".cm-activeLineGutter":{backgroundColor:e.lineHighlight}},{dark:n==="dark"}),r=pa.define(t);return[i,iv(r)]};mi({variant:"dark",settings:{background:"#200020",foreground:"#D0D0FF",caret:"#7070FF",selection:"#80000080",gutterBackground:"#200020",gutterForeground:"#C080C0",lineHighlight:"#80000040"},styles:[{tag:S.comment,color:"#404080"},{tag:[S.string,S.regexp],color:"#999999"},{tag:S.number,color:"#7090B0"},{tag:[S.bool,S.null],color:"#8080A0"},{tag:[S.punctuation,S.derefOperator],color:"#805080"},{tag:S.keyword,color:"#60B0FF"},{tag:S.definitionKeyword,color:"#B0FFF0"},{tag:S.moduleKeyword,color:"#60B0FF"},{tag:S.operator,color:"#A0A0FF"},{tag:[S.variableName,S.self],color:"#008080"},{tag:S.operatorKeyword,color:"#A0A0FF"},{tag:S.controlKeyword,color:"#80A0FF"},{tag:S.className,color:"#70E080"},{tag:[S.function(S.propertyName),S.propertyName],color:"#50A0A0"},{tag:S.tagName,color:"#009090"},{tag:S.modifier,color:"#B0FFF0"},{tag:[S.squareBracket,S.attributeName],color:"#D0D0FF"}]});mi({variant:"light",settings:{background:"#fcfcfc",foreground:"#5c6166",caret:"#ffaa33",selection:"#036dd626",gutterBackground:"#fcfcfc",gutterForeground:"#8a919966",lineHighlight:"#8a91991a"},styles:[{tag:S.comment,color:"#787b8099"},{tag:S.string,color:"#86b300"},{tag:S.regexp,color:"#4cbf99"},{tag:[S.number,S.bool,S.null],color:"#ffaa33"},{tag:S.variableName,color:"#5c6166"},{tag:[S.definitionKeyword,S.modifier],color:"#fa8d3e"},{tag:[S.keyword,S.special(S.brace)],color:"#fa8d3e"},{tag:S.operator,color:"#ed9366"},{tag:S.separator,color:"#5c6166b3"},{tag:S.punctuation,color:"#5c6166"},{tag:[S.definition(S.propertyName),S.function(S.variableName)],color:"#f2ae49"},{tag:[S.className,S.definition(S.typeName)],color:"#22a4e6"},{tag:[S.tagName,S.typeName,S.self,S.labelName],color:"#55b4d4"},{tag:S.angleBracket,color:"#55b4d480"},{tag:S.attributeName,color:"#f2ae49"}]});mi({variant:"dark",settings:{background:"#15191EFA",foreground:"#EEF2F7",caret:"#C4C4C4",selection:"#90B2D557",gutterBackground:"#15191EFA",gutterForeground:"#aaaaaa95",lineHighlight:"#57575712"},styles:[{tag:S.comment,color:"#6E6E6E"},{tag:[S.string,S.regexp,S.special(S.brace)],color:"#5C81B3"},{tag:S.number,color:"#C1E1B8"},{tag:S.bool,color:"#53667D"},{tag:[S.definitionKeyword,S.modifier,S.function(S.propertyName)],color:"#A3D295",fontWeight:"bold"},{tag:[S.keyword,S.moduleKeyword,S.operatorKeyword,S.operator],color:"#697A8E",fontWeight:"bold"},{tag:[S.variableName,S.attributeName],color:"#708E67"},{tag:[S.function(S.variableName),S.definition(S.propertyName),S.derefOperator],color:"#fff"},{tag:S.tagName,color:"#A3D295"}]});mi({variant:"dark",settings:{background:"#2e241d",foreground:"#BAAE9E",caret:"#A7A7A7",selection:"#DDF0FF33",gutterBackground:"#28211C",gutterForeground:"#BAAE9E90",lineHighlight:"#FFFFFF08"},styles:[{tag:S.comment,color:"#666666"},{tag:[S.string,S.special(S.brace)],color:"#54BE0D"},{tag:S.regexp,color:"#E9C062"},{tag:S.number,color:"#CF6A4C"},{tag:[S.keyword,S.operator],color:"#5EA6EA"},{tag:S.variableName,color:"#7587A6"},{tag:[S.definitionKeyword,S.modifier],color:"#F9EE98"},{tag:[S.propertyName,S.function(S.variableName)],color:"#937121"},{tag:[S.typeName,S.angleBracket,S.tagName],color:"#9B859D"}]});mi({variant:"dark",settings:{background:"#3b2627",foreground:"#E6E1C4",caret:"#E6E1C4",selection:"#16120E",gutterBackground:"#3b2627",gutterForeground:"#E6E1C490",lineHighlight:"#1F1611"},styles:[{tag:S.comment,color:"#6B4E32"},{tag:[S.keyword,S.operator,S.derefOperator],color:"#EF5D32"},{tag:S.className,color:"#EFAC32",fontWeight:"bold"},{tag:[S.typeName,S.propertyName,S.function(S.variableName),S.definition(S.variableName)],color:"#EFAC32"},{tag:S.definition(S.typeName),color:"#EFAC32",fontWeight:"bold"},{tag:S.labelName,color:"#EFAC32",fontWeight:"bold"},{tag:[S.number,S.bool],color:"#6C99BB"},{tag:[S.variableName,S.self],color:"#7DAF9C"},{tag:[S.string,S.special(S.brace),S.regexp],color:"#D9D762"},{tag:[S.angleBracket,S.tagName,S.attributeName],color:"#EFCB43"}]});mi({variant:"dark",settings:{background:"#000205",foreground:"#FFFFFF",caret:"#E60065",selection:"#E60C6559",gutterBackground:"#000205",gutterForeground:"#ffffff90",lineHighlight:"#4DD7FC1A"},styles:[{tag:S.comment,color:"#404040"},{tag:[S.string,S.special(S.brace),S.regexp],color:"#00D8FF"},{tag:S.number,color:"#E62286"},{tag:[S.variableName,S.attributeName,S.self],color:"#E62286",fontWeight:"bold"},{tag:S.function(S.variableName),color:"#fff",fontWeight:"bold"}]});mi({variant:"light",settings:{background:"#fff",foreground:"#000",caret:"#000",selection:"#BDD5FC",gutterBackground:"#fff",gutterForeground:"#00000070",lineHighlight:"#FFFBD1"},styles:[{tag:S.comment,color:"#BCC8BA"},{tag:[S.string,S.special(S.brace),S.regexp],color:"#5D90CD"},{tag:[S.number,S.bool,S.null],color:"#46A609"},{tag:S.keyword,color:"#AF956F"},{tag:[S.definitionKeyword,S.modifier],color:"#C52727"},{tag:[S.angleBracket,S.tagName,S.attributeName],color:"#606060"},{tag:S.self,color:"#000"}]});mi({variant:"dark",settings:{background:"#00254b",foreground:"#FFFFFF",caret:"#FFFFFF",selection:"#B36539BF",gutterBackground:"#00254b",gutterForeground:"#FFFFFF70",lineHighlight:"#00000059"},styles:[{tag:S.comment,color:"#0088FF"},{tag:S.string,color:"#3AD900"},{tag:S.regexp,color:"#80FFC2"},{tag:[S.number,S.bool,S.null],color:"#FF628C"},{tag:[S.definitionKeyword,S.modifier],color:"#FFEE80"},{tag:S.variableName,color:"#CCCCCC"},{tag:S.self,color:"#FF80E1"},{tag:[S.className,S.definition(S.propertyName),S.function(S.variableName),S.definition(S.typeName),S.labelName],color:"#FFDD00"},{tag:[S.keyword,S.operator],color:"#FF9D00"},{tag:[S.propertyName,S.typeName],color:"#80FFBB"},{tag:S.special(S.brace),color:"#EDEF7D"},{tag:S.attributeName,color:"#9EFFFF"},{tag:S.derefOperator,color:"#fff"}]});mi({variant:"dark",settings:{background:"#060521",foreground:"#E0E0E0",caret:"#FFFFFFA6",selection:"#122BBB",gutterBackground:"#060521",gutterForeground:"#E0E0E090",lineHighlight:"#FFFFFF0F"},styles:[{tag:S.comment,color:"#AEAEAE"},{tag:[S.string,S.special(S.brace),S.regexp],color:"#8DFF8E"},{tag:[S.className,S.definition(S.propertyName),S.function(S.variableName),S.function(S.definition(S.variableName)),S.definition(S.typeName)],color:"#A3EBFF"},{tag:[S.number,S.bool,S.null],color:"#62E9BD"},{tag:[S.keyword,S.operator],color:"#2BF1DC"},{tag:[S.definitionKeyword,S.modifier],color:"#F8FBB1"},{tag:[S.variableName,S.self],color:"#B683CA"},{tag:[S.angleBracket,S.tagName,S.typeName,S.propertyName],color:"#60A4F1"},{tag:S.derefOperator,color:"#E0E0E0"},{tag:S.attributeName,color:"#7BACCA"}]});mi({variant:"dark",settings:{background:"#2d2f3f",foreground:"#f8f8f2",caret:"#f8f8f0",selection:"#44475a",gutterBackground:"#282a36",gutterForeground:"rgb(144, 145, 148)",lineHighlight:"#44475a"},styles:[{tag:S.comment,color:"#6272a4"},{tag:[S.string,S.special(S.brace)],color:"#f1fa8c"},{tag:[S.number,S.self,S.bool,S.null],color:"#bd93f9"},{tag:[S.keyword,S.operator],color:"#ff79c6"},{tag:[S.definitionKeyword,S.typeName],color:"#8be9fd"},{tag:S.definition(S.typeName),color:"#f8f8f2"},{tag:[S.className,S.definition(S.propertyName),S.function(S.variableName),S.attributeName],color:"#50fa7b"}]});mi({variant:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#000000",selection:"#80C7FF",gutterBackground:"#FFFFFF",gutterForeground:"#00000070",lineHighlight:"#C1E2F8"},styles:[{tag:S.comment,color:"#AAAAAA"},{tag:[S.keyword,S.operator,S.typeName,S.tagName,S.propertyName],color:"#2F6F9F",fontWeight:"bold"},{tag:[S.attributeName,S.definition(S.propertyName)],color:"#4F9FD0"},{tag:[S.className,S.string,S.special(S.brace)],color:"#CF4F5F"},{tag:S.number,color:"#CF4F5F",fontWeight:"bold"},{tag:S.variableName,fontWeight:"bold"}]});mi({variant:"light",settings:{background:"#f2f1f8",foreground:"#0c006b",caret:"#5c49e9",selection:"#d5d1f2",gutterBackground:"#f2f1f8",gutterForeground:"#0c006b70",lineHighlight:"#e1def3"},styles:[{tag:S.comment,color:"#9995b7"},{tag:S.keyword,color:"#ff5792",fontWeight:"bold"},{tag:[S.definitionKeyword,S.modifier],color:"#ff5792"},{tag:[S.className,S.tagName,S.definition(S.typeName)],color:"#0094f0"},{tag:[S.number,S.bool,S.null,S.special(S.brace)],color:"#5842ff"},{tag:[S.definition(S.propertyName),S.function(S.variableName)],color:"#0095a8"},{tag:S.typeName,color:"#b3694d"},{tag:[S.propertyName,S.variableName],color:"#fa8900"},{tag:S.operator,color:"#ff5792"},{tag:S.self,color:"#e64100"},{tag:[S.string,S.regexp],color:"#00b368"},{tag:[S.paren,S.bracket],color:"#0431fa"},{tag:S.labelName,color:"#00bdd6"},{tag:S.attributeName,color:"#e64100"},{tag:S.angleBracket,color:"#9995b7"}]});mi({variant:"light",settings:{background:"#faf4ed",foreground:"#575279",caret:"#575279",selection:"#6e6a8614",gutterBackground:"#faf4ed",gutterForeground:"#57527970",lineHighlight:"#6e6a860d"},styles:[{tag:S.comment,color:"#9893a5"},{tag:[S.bool,S.null],color:"#286983"},{tag:S.number,color:"#d7827e"},{tag:S.className,color:"#d7827e"},{tag:[S.angleBracket,S.tagName,S.typeName],color:"#56949f"},{tag:S.attributeName,color:"#907aa9"},{tag:S.punctuation,color:"#797593"},{tag:[S.keyword,S.modifier],color:"#286983"},{tag:[S.string,S.regexp],color:"#ea9d34"},{tag:S.variableName,color:"#d7827e"}]});mi({variant:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#000000",selection:"#FFFD0054",gutterBackground:"#FFFFFF",gutterForeground:"#00000070",lineHighlight:"#00000008"},styles:[{tag:S.comment,color:"#CFCFCF"},{tag:[S.number,S.bool,S.null],color:"#E66C29"},{tag:[S.className,S.definition(S.propertyName),S.function(S.variableName),S.labelName,S.definition(S.typeName)],color:"#2EB43B"},{tag:S.keyword,color:"#D8B229"},{tag:S.operator,color:"#4EA44E",fontWeight:"bold"},{tag:[S.definitionKeyword,S.modifier],color:"#925A47"},{tag:S.string,color:"#704D3D"},{tag:S.typeName,color:"#2F8996"},{tag:[S.variableName,S.propertyName],color:"#77ACB0"},{tag:S.self,color:"#77ACB0",fontWeight:"bold"},{tag:S.regexp,color:"#E3965E"},{tag:[S.tagName,S.angleBracket],color:"#BAA827"},{tag:S.attributeName,color:"#B06520"},{tag:S.derefOperator,color:"#000"}]});mi({variant:"light",settings:{background:"#fef7e5",foreground:"#586E75",caret:"#000000",selection:"#073642",gutterBackground:"#fef7e5",gutterForeground:"#586E7580",lineHighlight:"#EEE8D5"},styles:[{tag:S.comment,color:"#93A1A1"},{tag:S.string,color:"#2AA198"},{tag:S.regexp,color:"#D30102"},{tag:S.number,color:"#D33682"},{tag:S.variableName,color:"#268BD2"},{tag:[S.keyword,S.operator,S.punctuation],color:"#859900"},{tag:[S.definitionKeyword,S.modifier],color:"#073642",fontWeight:"bold"},{tag:[S.className,S.self,S.definition(S.propertyName)],color:"#268BD2"},{tag:S.function(S.variableName),color:"#268BD2"},{tag:[S.bool,S.null],color:"#B58900"},{tag:S.tagName,color:"#268BD2",fontWeight:"bold"},{tag:S.angleBracket,color:"#93A1A1"},{tag:S.attributeName,color:"#93A1A1"},{tag:S.typeName,color:"#859900"}]});mi({variant:"light",settings:{background:"#FFFFFF",foreground:"#4D4D4C",caret:"#AEAFAD",selection:"#D6D6D6",gutterBackground:"#FFFFFF",gutterForeground:"#4D4D4C80",lineHighlight:"#EFEFEF"},styles:[{tag:S.comment,color:"#8E908C"},{tag:[S.variableName,S.self,S.propertyName,S.attributeName,S.regexp],color:"#C82829"},{tag:[S.number,S.bool,S.null],color:"#F5871F"},{tag:[S.className,S.typeName,S.definition(S.typeName)],color:"#C99E00"},{tag:[S.string,S.special(S.brace)],color:"#718C00"},{tag:S.operator,color:"#3E999F"},{tag:[S.definition(S.propertyName),S.function(S.variableName)],color:"#4271AE"},{tag:S.keyword,color:"#8959A8"},{tag:S.derefOperator,color:"#4D4D4C"}]});const HX=Il({String:S.string,Number:S.number,"True False":S.bool,PropertyName:S.propertyName,Null:S.null,",":S.separator,"[ ]":S.squareBracket,"{ }":S.brace}),KX=ms.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[HX],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),JX=Ss.define({name:"json",parser:KX.configure({props:[Nl.add({Object:Tl({except:/^\s*\}/}),Array:Tl({except:/^\s*\]/})}),Ll.add({"Object Array":lr})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function eA(){return new Oa(JX)}const tA=54,iA=1,nA=55,rA=2,sA=56,lA=3,W0=4,oA=5,zc=6,pw=7,gw=8,mw=9,Sw=10,aA=11,fA=12,cA=13,cO=57,uA=14,C0=58,bw=20,hA=22,$w=23,OA=24,gd=26,yw=27,dA=28,pA=31,gA=34,mA=36,SA=37,bA=0,$A=1,yA={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},vA={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},T0={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 wA(n){return n==45||n==46||n==58||n>=65&&n<=90||n==95||n>=97&&n<=122||n>=161}function vw(n){return n==9||n==10||n==13||n==32}let Z0=null,R0=null,X0=0;function md(n,e){let t=n.pos+e;if(X0==t&&R0==n)return Z0;let i=n.peek(e);for(;vw(i);)i=n.peek(++e);let r="";for(;wA(i);)r+=String.fromCharCode(i),i=n.peek(++e);return R0=n,X0=t,Z0=r?r.toLowerCase():i==QA||i==kA?void 0:null}const ww=60,Vc=62,tp=47,QA=63,kA=33,PA=45;function A0(n,e){this.name=n,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new A0(md(i,1)||"",n):n},reduce(n,e){return e==bw&&n?n.parent:n},reuse(n,e,t,i){let r=e.type.id;return r==zc||r==mA?new A0(md(i,1)||"",n):n},hash(n){return n?n.hash:0},strict:!1}),WA=new gr((n,e)=>{if(n.next!=ww){n.next<0&&e.context&&n.acceptToken(cO);return}n.advance();let t=n.next==tp;t&&n.advance();let i=md(n,0);if(i===void 0)return;if(!i)return n.acceptToken(t?uA:zc);let r=e.context?e.context.name:null;if(t){if(i==r)return n.acceptToken(aA);if(r&&vA[r])return n.acceptToken(cO,-2);if(e.dialectEnabled(bA))return n.acceptToken(fA);for(let s=e.context;s;s=s.parent)if(s.name==i)return;n.acceptToken(cA)}else{if(i=="script")return n.acceptToken(pw);if(i=="style")return n.acceptToken(gw);if(i=="textarea")return n.acceptToken(mw);if(yA.hasOwnProperty(i))return n.acceptToken(Sw);r&&T0[r]&&T0[r][i]?n.acceptToken(cO,-1):n.acceptToken(zc)}},{contextual:!0}),CA=new gr(n=>{for(let e=0,t=0;;t++){if(n.next<0){t&&n.acceptToken(C0);break}if(n.next==PA)e++;else if(n.next==Vc&&e>=2){t>=3&&n.acceptToken(C0,-2);break}else e=0;n.advance()}});function TA(n){for(;n;n=n.parent)if(n.name=="svg"||n.name=="math")return!0;return!1}const ZA=new gr((n,e)=>{if(n.next==tp&&n.peek(1)==Vc){let t=e.dialectEnabled($A)||TA(e.context);n.acceptToken(t?oA:W0,2)}else n.next==Vc&&n.acceptToken(W0,1)});function ip(n,e,t){let i=2+n.length;return new gr(r=>{for(let s=0,l=0,o=0;;o++){if(r.next<0){o&&r.acceptToken(e);break}if(s==0&&r.next==ww||s==1&&r.next==tp||s>=2&&sl?r.acceptToken(e,-l):r.acceptToken(t,-(l-2));break}else if((r.next==10||r.next==13)&&o){r.acceptToken(e,1);break}else s=l=0;r.advance()}})}const RA=ip("script",tA,iA),XA=ip("style",nA,rA),AA=ip("textarea",sA,lA),YA=Il({"Text RawText":S.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":S.angleBracket,TagName:S.tagName,"MismatchedCloseTag/TagName":[S.tagName,S.invalid],AttributeName:S.attributeName,"AttributeValue UnquotedAttributeValue":S.attributeValue,Is:S.definitionOperator,"EntityReference CharacterReference":S.character,Comment:S.blockComment,ProcessingInst:S.processingInstruction,DoctypeDecl:S.documentMeta}),UA=ms.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO,59iO%hQ&rO,59lO%sQ&rO,59nOOOa'#D^'#D^O%{OaO'#CxO&WOaO,59[OOOb'#D_'#D_O&`ObO'#C{O&kObO,59[OOOd'#D`'#D`O&sOdO'#DOO'OOdO,59[OOO`'#Da'#DaO'WO!rO,59[O'_Q#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'dO$fO,59oOOO`,59o,59oO'lQ#|O,59qO'qQ#|O,59rOOO`-E7W-E7WO'vQ&rO'#CsOOQW'#DZ'#DZO(UQ&rO1G.wOOOa1G.w1G.wO(^Q&rO1G/QOOOb1G/Q1G/QO(fQ&rO1G/TOOOd1G/T1G/TO(nQ&rO1G/WOOO`1G/W1G/WOOO`1G/Y1G/YO(yQ&rO1G/YOOOa-E7[-E7[O)RQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)WQ#tO'#C|OOOd-E7^-E7^O)]Q#tO'#DPOOO`-E7_-E7_O)bQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O)gQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rOOO`7+$t7+$tO)rQ#|O,59eO)wQ#|O,59hO)|Q#|O,59kOOO`1G/X1G/XO*RO7[O'#CvO*dOMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O*uO7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+WOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:"+s~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:xA,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"]],propSources:[YA],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let u=o.type.id;if(u==dA)return uO(o,a,t);if(u==pA)return uO(o,a,i);if(u==gA)return uO(o,a,r);if(u==bw&&s.length){let h=o.node,O=h.firstChild,p=O&&Y0(O,a),g;if(p){for(let b of s)if(b.tag==p&&(!b.attrs||b.attrs(g||(g=Qw(h,a))))){let y=h.lastChild,$=y.type.id==SA?y.from:h.to;if($>O.to)return{parser:b.parser,overlay:[{from:O.to,to:$}]}}}}if(l&&u==$w){let h=o.node,O;if(O=h.firstChild){let p=l[a.read(O.from,O.to)];if(p)for(let g of p){if(g.tagName&&g.tagName!=Y0(h.parent,a))continue;let b=h.lastChild;if(b.type.id==gd){let y=b.from+1,$=b.lastChild,k=b.to-($&&$.isError?0:1);if(k>y)return{parser:g.parser,overlay:[{from:y,to:k}]}}else if(b.type.id==yw)return{parser:g.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const EA=96,U0=1,MA=97,zA=98,E0=2,Pw=[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],VA=58,DA=40,_w=95,qA=91,cc=45,IA=46,NA=35,LA=37,BA=38,jA=92,FA=10;function Dc(n){return n>=65&&n<=90||n>=97&&n<=122||n>=161}function GA(n){return n>=48&&n<=57}const HA=new gr((n,e)=>{for(let t=!1,i=0,r=0;;r++){let{next:s}=n;if(Dc(s)||s==cc||s==_w||t&&GA(s))!t&&(s!=cc||r>0)&&(t=!0),i===r&&s==cc&&i++,n.advance();else if(s==jA&&n.peek(1)!=FA)n.advance(),n.next>-1&&n.advance(),t=!0;else{t&&n.acceptToken(s==DA?MA:i==2&&e.canShift(E0)?E0:zA);break}}}),KA=new gr(n=>{if(Pw.includes(n.peek(-1))){let{next:e}=n;(Dc(e)||e==_w||e==NA||e==IA||e==qA||e==VA||e==cc||e==BA)&&n.acceptToken(EA)}}),JA=new gr(n=>{if(!Pw.includes(n.peek(-1))){let{next:e}=n;if(e==LA&&(n.advance(),n.acceptToken(U0)),Dc(e)){do n.advance();while(Dc(n.next));n.acceptToken(U0)}}}),eY=Il({"AtKeyword import charset namespace keyframes media supports":S.definitionKeyword,"from to selector":S.keyword,NamespaceName:S.namespace,KeyframeName:S.labelName,KeyframeRangeName:S.operatorKeyword,TagName:S.tagName,ClassName:S.className,PseudoClassName:S.constant(S.className),IdName:S.labelName,"FeatureName PropertyName":S.propertyName,AttributeName:S.attributeName,NumberLiteral:S.number,KeywordQuery:S.keyword,UnaryQueryOp:S.operatorKeyword,"CallTag ValueName":S.atom,VariableName:S.variableName,Callee:S.operatorKeyword,Unit:S.unit,"UniversalSelector NestingSelector":S.definitionOperator,MatchOp:S.compareOperator,"ChildOp SiblingOp, LogicOp":S.logicOperator,BinOp:S.arithmeticOperator,Important:S.modifier,Comment:S.blockComment,ColorLiteral:S.color,"ParenthesizedContent StringLiteral":S.string,":":S.punctuation,"PseudoOp #":S.derefOperator,"; ,":S.separator,"( )":S.paren,"[ ]":S.squareBracket,"{ }":S.brace}),tY={__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},iY={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},nY={__proto__:null,not:128,only:128},rY=ms.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#EjO${QdO'#DeO%gQ[O'#DrO${QdO'#DtO%xQ[O'#DvO&TQ[O'#DyO&]Q[O'#EPO&kQ[O'#EROOQS'#Ei'#EiOOQS'#EU'#EUQYQ[OOO&rQXO'#CdO'gQWO'#DaO'lQWO'#EpO'wQ[O'#EpQOQWOOP(RO#tO'#C_POOO)C@X)C@XOOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(^Q[O'#EXO(xQWO,58{O)QQ[O,59SO$qQ[O,59kO$vQ[O,59oO(^Q[O,59sO(^Q[O,59uO(^Q[O,59vO)]Q[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)dQWO,59SO)iQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)nQ`O,59oOOQS'#Cp'#CpO${QdO'#CqO)vQvO'#CsO+TQtO,5:POOQO'#Cx'#CxO)iQWO'#CwO+iQWO'#CyOOQS'#Em'#EmOOQO'#Dh'#DhO+nQ[O'#DoO+|QWO'#EqO&]Q[O'#DmO,[QWO'#DpOOQO'#Er'#ErO({QWO,5:^O,aQpO,5:`OOQS'#Dx'#DxO,iQWO,5:bO,nQ[O,5:bOOQO'#D{'#D{O,vQWO,5:eO,{QWO,5:kO-TQWO,5:mOOQS-E8S-E8SO${QdO,59{O-]Q[O'#EZO-jQWO,5;[O-jQWO,5;[POOO'#ET'#ETP-uO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.lQXO,5:sOOQO-E8V-E8VOOQS1G.g1G.gOOQP1G.n1G.nO)dQWO1G.nO)iQWO1G.nOOQP1G/V1G/VO.yQ`O1G/ZO/dQXO1G/_O/zQXO1G/aO0bQXO1G/bO0xQWO,59zO0}Q[O'#DOO1UQdO'#CoOOQP1G/Z1G/ZO${QdO1G/ZO1]QpO,59]OOQS,59_,59_O${QdO,59aO1eQWO1G/kOOQS,59c,59cO1jQ!bO,59eO1rQWO'#DhO1}QWO,5:TO2SQWO,5:ZO&]Q[O,5:VO&]Q[O'#E[O2[QWO,5;]O2gQWO,5:XO(^Q[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2xQWO1G/|O2}QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO3YQtO1G/gOOQO,5:u,5:uO3pQ[O,5:uOOQO-E8X-E8XO3}QWO1G0vPOOO-E8R-E8RPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$u7+$uO${QdO7+$uOOQS1G/f1G/fO4YQXO'#EoO4aQWO,59jO4fQtO'#EVO5ZQdO'#ElO5eQWO,59ZO5jQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5rQWO1G/PO${QdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5wQWO,5:vOOQO-E8Y-E8YO6VQXO1G/vOOQS7+%h7+%hO6^QYO'#CsOOQO'#EO'#EOO6iQ`O'#D}OOQO'#D}'#D}O6tQWO'#E]O6|QdO,5:hOOQS,5:h,5:hO7XQtO'#EYO${QdO'#EYO8VQdO7+%ROOQO7+%R7+%ROOQO1G0a1G0aO8jQpO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#b[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSp^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#_QOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#X~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!W^Oy%^z;'S%^;'S;=`%o<%lO%^dCoSzSOy%^z;'S%^;'S;=`%o<%lO%^bDQU|QOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS|Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[KA,JA,HA,1,2,3,4,new kc("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:n=>tY[n]||-1},{term:56,get:n=>iY[n]||-1},{term:98,get:n=>nY[n]||-1}],tokenPrec:1169});let hO=null;function OO(){if(!hO&&typeof document=="object"&&document.body){let{style:n}=document.body,e=[],t=new Set;for(let i in n)i!="cssText"&&i!="cssFloat"&&typeof n[i]=="string"&&(/[A-Z]/.test(i)&&(i=i.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),t.has(i)||(e.push(i),t.add(i)));hO=e.sort().map(i=>({type:"property",label:i}))}return hO||[]}const M0=["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(n=>({type:"class",label:n})),z0=["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(n=>({type:"keyword",label:n})).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(n=>({type:"constant",label:n}))),sY=["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(n=>({type:"type",label:n})),ts=/^(\w[\w-]*|-\w[\w-]*|)$/,lY=/^-(-[\w-]*)?$/;function oY(n,e){var t;if((n.name=="("||n.type.isError)&&(n=n.parent||n),n.name!="ArgList")return!1;let i=(t=n.parent)===null||t===void 0?void 0:t.firstChild;return(i==null?void 0:i.name)!="Callee"?!1:e.sliceString(i.from,i.to)=="var"}const V0=new My,aY=["Declaration"];function fY(n){for(let e=n;;){if(e.type.isTop)return e;if(!(e=e.parent))return n}}function xw(n,e,t){if(e.to-e.from>4096){let i=V0.get(e);if(i)return i;let r=[],s=new Set,l=e.cursor(Rt.IncludeAnonymous);if(l.firstChild())do for(let o of xw(n,l.node,t))s.has(o.label)||(s.add(o.label),r.push(o));while(l.nextSibling());return V0.set(e,r),r}else{let i=[],r=new Set;return e.cursor().iterate(s=>{var l;if(t(s)&&s.matchContext(aY)&&((l=s.node.nextSibling)===null||l===void 0?void 0:l.name)==":"){let o=n.sliceString(s.from,s.to);r.has(o)||(r.add(o),i.push({label:o,type:"variable"}))}}),i}}const cY=n=>e=>{let{state:t,pos:i}=e,r=Ft(t).resolveInner(i,-1),s=r.type.isError&&r.from==r.to-1&&t.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:OO(),validFor:ts};if(r.name=="ValueName")return{from:r.from,options:z0,validFor:ts};if(r.name=="PseudoClassName")return{from:r.from,options:M0,validFor:ts};if(n(r)||(e.explicit||s)&&oY(r,t.doc))return{from:n(r)||s?r.from:i,options:xw(t.doc,fY(r),n),validFor:lY};if(r.name=="TagName"){for(let{parent:a}=r;a;a=a.parent)if(a.name=="Block")return{from:r.from,options:OO(),validFor:ts};return{from:r.from,options:sY,validFor:ts}}if(!e.explicit)return null;let l=r.resolve(i),o=l.childBefore(i);return o&&o.name==":"&&l.name=="PseudoClassSelector"?{from:i,options:M0,validFor:ts}:o&&o.name==":"&&l.name=="Declaration"||l.name=="ArgList"?{from:i,options:z0,validFor:ts}:l.name=="Block"||l.name=="Styles"?{from:i,options:OO(),validFor:ts}:null},uY=cY(n=>n.name=="VariableName"),qc=Ss.define({name:"css",parser:rY.configure({props:[Nl.add({Declaration:Tl()}),Ll.add({"Block KeyframeList":lr})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function hY(){return new Oa(qc,qc.data.of({autocomplete:uY}))}const OY=304,D0=1,dY=2,pY=305,gY=307,mY=308,SY=3,bY=4,$Y=[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],Ww=125,yY=59,q0=47,vY=42,wY=43,QY=45,kY=new Dy({start:!1,shift(n,e){return e==SY||e==bY||e==gY?n:e==mY},strict:!1}),PY=new gr((n,e)=>{let{next:t}=n;(t==Ww||t==-1||e.context)&&n.acceptToken(pY)},{contextual:!0,fallback:!0}),_Y=new gr((n,e)=>{let{next:t}=n,i;$Y.indexOf(t)>-1||t==q0&&((i=n.peek(1))==q0||i==vY)||t!=Ww&&t!=yY&&t!=-1&&!e.context&&n.acceptToken(OY)},{contextual:!0}),xY=new gr((n,e)=>{let{next:t}=n;if((t==wY||t==QY)&&(n.advance(),t==n.next)){n.advance();let i=!e.context&&e.canShift(D0);n.acceptToken(i?D0:dY)}},{contextual:!0}),WY=Il({"get set async static":S.modifier,"for while do if else switch try catch finally return throw break continue default case":S.controlKeyword,"in of await yield void typeof delete instanceof":S.operatorKeyword,"let var const using function class extends":S.definitionKeyword,"import export from":S.moduleKeyword,"with debugger as new":S.keyword,TemplateString:S.special(S.string),super:S.atom,BooleanLiteral:S.bool,this:S.self,null:S.null,Star:S.modifier,VariableName:S.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":S.function(S.variableName),VariableDefinition:S.definition(S.variableName),Label:S.labelName,PropertyName:S.propertyName,PrivatePropertyName:S.special(S.propertyName),"CallExpression/MemberExpression/PropertyName":S.function(S.propertyName),"FunctionDeclaration/VariableDefinition":S.function(S.definition(S.variableName)),"ClassDeclaration/VariableDefinition":S.definition(S.className),PropertyDefinition:S.definition(S.propertyName),PrivatePropertyDefinition:S.definition(S.special(S.propertyName)),UpdateOp:S.updateOperator,"LineComment Hashbang":S.lineComment,BlockComment:S.blockComment,Number:S.number,String:S.string,Escape:S.escape,ArithOp:S.arithmeticOperator,LogicOp:S.logicOperator,BitOp:S.bitwiseOperator,CompareOp:S.compareOperator,RegExp:S.regexp,Equals:S.definitionOperator,Arrow:S.function(S.punctuation),": Spread":S.punctuation,"( )":S.paren,"[ ]":S.squareBracket,"{ }":S.brace,"InterpolationStart InterpolationEnd":S.special(S.brace),".":S.derefOperator,", ;":S.separator,"@":S.meta,TypeName:S.typeName,TypeDefinition:S.definition(S.typeName),"type enum interface implements namespace module declare":S.definitionKeyword,"abstract global Privacy readonly override":S.modifier,"is keyof unique infer":S.operatorKeyword,JSXAttributeValue:S.attributeValue,JSXText:S.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":S.angleBracket,"JSXIdentifier JSXNameSpacedName":S.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":S.attributeName,"JSXBuiltin/JSXIdentifier":S.standard(S.tagName)}),CY={__proto__:null,export:16,as:21,from:29,default:32,async:37,function:38,extends:48,this:52,true:60,false:60,null:72,void:76,typeof:80,super:98,new:132,delete:148,yield:157,await:161,class:166,public:223,private:223,protected:223,readonly:225,instanceof:244,satisfies:247,in:248,const:250,import:282,keyof:337,unique:341,infer:347,is:383,abstract:403,implements:405,type:407,let:410,var:412,using:415,interface:421,enum:425,namespace:431,module:433,declare:437,global:441,for:460,of:469,while:472,with:476,do:480,if:484,else:486,switch:490,case:496,try:502,catch:506,finally:510,return:514,throw:518,break:522,continue:526,debugger:530},TY={__proto__:null,async:119,get:121,set:123,declare:183,public:185,private:185,protected:185,static:187,abstract:189,override:191,readonly:197,accessor:199,new:387},ZY={__proto__:null,"<":139},RY=ms.deserialize({version:14,states:"$6zO%TQUOOO%[QUOOO'_QWOOP(lOSOOO*zQ(CjO'#CgO+ROpO'#ChO+aO!bO'#ChO+oO07`O'#D[O.QQUO'#DbO.bQUO'#DmO%[QUO'#DwO0fQUO'#EPOOQ(CY'#EX'#EXO1PQSO'#EUOOQO'#Ej'#EjOOQO'#Id'#IdO1XQSO'#GlO1dQSO'#EiO1iQSO'#EiO3kQ(CjO'#JeO6[Q(CjO'#JfO6xQSO'#FXO6}Q#tO'#FpOOQ(CY'#Fa'#FaO7YO&jO'#FaO7hQ,UO'#FwO9OQSO'#FvOOQ(CY'#Jf'#JfOOQ(CW'#Je'#JeO9TQSO'#GpOOQQ'#KQ'#KQO9`QSO'#IQO9eQ(C[O'#IROOQQ'#JR'#JROOQQ'#IV'#IVQ`QUOOO`QUOOO%[QUO'#DoO9mQUO'#D{O9tQUO'#D}O9ZQSO'#GlO9{Q,UO'#CmO:ZQSO'#EhO:fQSO'#EsO:kQ,UO'#F`O;YQSO'#GlOOQO'#KR'#KRO;_QSO'#KRO;mQSO'#GtO;mQSO'#GuO;mQSO'#GwO9ZQSO'#GzO]QSO'#HZO>eQSO'#HaO>eQSO'#HcO`QUO'#HeO>eQSO'#HgO>eQSO'#HjO>jQSO'#HpO>oQ(C]O'#HvO%[QUO'#HxO>zQ(C]O'#HzO?VQ(C]O'#H|O9eQ(C[O'#IOO?bQ(CjO'#CgO@dQWO'#DgQOQSOOO%[QUO'#D}O@zQSO'#EQO9{Q,UO'#EhOAVQSO'#EhOAbQ`O'#F`OOQQ'#Ce'#CeOOQ(CW'#Dl'#DlOOQ(CW'#Ji'#JiO%[QUO'#JiOOQO'#Jm'#JmOOQO'#Ia'#IaOBbQWO'#EaOOQ(CW'#E`'#E`OC^Q(C`O'#EaOChQWO'#ETOOQO'#Jl'#JlOC|QWO'#JmOEZQWO'#ETOChQWO'#EaPEhO?MpO'#C`POOO)CDp)CDpOOOO'#IW'#IWOEsOpO,59SOOQ(CY,59S,59SOOOO'#IX'#IXOFRO!bO,59SO%[QUO'#D^OOOO'#IZ'#IZOFaO07`O,59vOOQ(CY,59v,59vOFoQUO'#I[OGSQSO'#JgOIUQbO'#JgO+}QUO'#JgOI]QSO,59|OIsQSO'#EjOJQQSO'#JuOJ]QSO'#JtOJ]QSO'#JtOJeQSO,5;WOJjQSO'#JsOOQ(CY,5:X,5:XOJqQUO,5:XOLrQ(CjO,5:cOMcQSO,5:kOM|Q(C[O'#JrONTQSO'#JqO9TQSO'#JqONiQSO'#JqONqQSO,5;VONvQSO'#JqO!#OQbO'#JfOOQ(CY'#Cg'#CgO%[QUO'#EPO!#nQ`O,5:pOOQO'#Jn'#JnOOQO-ElOOQQ'#JZ'#JZOOQQ,5>m,5>mOOQQ-ExQ(CjO,5:iOOQO,5@m,5@mO!?iQ,UO,5=WO!?wQ(C[O'#J[O9OQSO'#J[O!@YQ(C[O,59XO!@eQWO,59XO!@mQ,UO,59XO9{Q,UO,59XO!@xQSO,5;TO!AQQSO'#HYO!AfQSO'#KVO%[QUO,5;xO!7cQWO,5;zO!AnQSO,5=sO!AsQSO,5=sO!AxQSO,5=sO9eQ(C[O,5=sO;mQSO,5=cOOQO'#Cs'#CsO!BWQWO,5=`O!B`Q,UO,5=aO!BkQSO,5=cO!BpQ`O,5=fO!BxQSO'#KRO>jQSO'#HPO9ZQSO'#HRO!B}QSO'#HRO9{Q,UO'#HTO!CSQSO'#HTOOQQ,5=i,5=iO!CXQSO'#HUO!CjQSO'#CmO!CoQSO,58}O!CyQSO,58}O!FOQUO,58}OOQQ,58},58}O!F`Q(C[O,58}O%[QUO,58}O!HkQUO'#H]OOQQ'#H^'#H^OOQQ'#H_'#H_O`QUO,5=uO!IRQSO,5=uO`QUO,5={O`QUO,5=}O!IWQSO,5>PO`QUO,5>RO!I]QSO,5>UO!IbQUO,5>[OOQQ,5>b,5>bO%[QUO,5>bO9eQ(C[O,5>dOOQQ,5>f,5>fO!MlQSO,5>fOOQQ,5>h,5>hO!MlQSO,5>hOOQQ,5>j,5>jO!MqQWO'#DYO%[QUO'#JiO!N`QWO'#JiO!N}QWO'#DhO# `QWO'#DhO##qQUO'#DhO##xQSO'#JhO#$QQSO,5:RO#$VQSO'#EnO#$eQSO'#JvO#$mQSO,5;XO#$rQWO'#DhO#%PQWO'#ESOOQ(CY,5:l,5:lO%[QUO,5:lO#%WQSO,5:lO>jQSO,5;SO!@eQWO,5;SO!@mQ,UO,5;SO9{Q,UO,5;SO#%`QSO,5@TO#%eQ!LQO,5:pOOQO-E<_-E<_O#&kQ(C`O,5:{OChQWO,5:oO#&uQWO,5:oOChQWO,5:{O!@YQ(C[O,5:oOOQ(CW'#Ed'#EdOOQO,5:{,5:{O%[QUO,5:{O#'SQ(C[O,5:{O#'_Q(C[O,5:{O!@eQWO,5:oOOQO,5;R,5;RO#'mQ(C[O,5:{POOO'#IU'#IUP#(RO?MpO,58zPOOO,58z,58zOOOO-EvO+}QUO,5>vOOQO,5>|,5>|O#(mQUO'#I[OOQO-EWQ(CjO1G0yO#>_Q(CjO1G0yO#@VQ(CjO1G0yO#CVQ$IUO'#CgO#ETQ$IUO1G1[O#E[Q$IUO'#JfO!,YQSO1G1bO#ElQ(CjO,5?SOOQ(CW-EeQSO1G3kO$.fQUO1G3mO$2jQUO'#HlOOQQ1G3p1G3pO$2wQSO'#HrO>jQSO'#HtOOQQ1G3v1G3vO$3PQUO1G3vO9eQ(C[O1G3|OOQQ1G4O1G4OOOQ(CW'#GX'#GXO9eQ(C[O1G4QO9eQ(C[O1G4SO$7WQSO,5@TO!*SQUO,5;YO9TQSO,5;YO>jQSO,5:SO!*SQUO,5:SO!@eQWO,5:SO$7]Q$IUO,5:SOOQO,5;Y,5;YO$7gQWO'#I]O$7}QSO,5@SOOQ(CY1G/m1G/mO$8VQWO'#IcO$8aQSO,5@bOOQ(CW1G0s1G0sO# `QWO,5:SOOQO'#I`'#I`O$8iQWO,5:nOOQ(CY,5:n,5:nO#%ZQSO1G0WOOQ(CY1G0W1G0WO%[QUO1G0WOOQ(CY1G0n1G0nO>jQSO1G0nO!@eQWO1G0nO!@mQ,UO1G0nOOQ(CW1G5o1G5oO!@YQ(C[O1G0ZOOQO1G0g1G0gO%[QUO1G0gO$8pQ(C[O1G0gO$8{Q(C[O1G0gO!@eQWO1G0ZOChQWO1G0ZO$9ZQ(C[O1G0gOOQO1G0Z1G0ZO$9oQ(CjO1G0gPOOO-EvO$:]QSO1G5mO$:eQSO1G5zO$:mQbO1G5{O9TQSO,5>|O$:wQ(CjO1G5xO%[QUO1G5xO$;XQ(C[O1G5xO$;jQSO1G5wO$;jQSO1G5wO9TQSO1G5wO$;rQSO,5?PO9TQSO,5?POOQO,5?P,5?PO$WOOQQ,5>W,5>WO%[QUO'#HmO%(vQSO'#HoOOQQ,5>^,5>^O9TQSO,5>^OOQQ,5>`,5>`OOQQ7+)b7+)bOOQQ7+)h7+)hOOQQ7+)l7+)lOOQQ7+)n7+)nO%({QWO1G5oO%)aQ$IUO1G0tO%)kQSO1G0tOOQO1G/n1G/nO%)vQ$IUO1G/nO>jQSO1G/nO!*SQUO'#DhOOQO,5>w,5>wOOQO-E},5>}OOQO-EjQSO7+&YO!@eQWO7+&YOOQO7+%u7+%uO$9oQ(CjO7+&ROOQO7+&R7+&RO%[QUO7+&RO%*QQ(C[O7+&RO!@YQ(C[O7+%uO!@eQWO7+%uO%*]Q(C[O7+&RO%*kQ(CjO7++dO%[QUO7++dO%*{QSO7++cO%*{QSO7++cOOQO1G4k1G4kO9TQSO1G4kO%+TQSO1G4kOOQO7+%z7+%zO#%ZQSO<xOOQO-E<[-E<[O%2yQbO,5>yO%[QUO,5>yOOQO-E<]-E<]O%3TQSO1G5qOOQ(CY<tQ$IUO1G0yO%>{Q$IUO1G0yO%@sQ$IUO1G0yO%AWQ(CjO<XOOQQ,5>Z,5>ZO& PQSO1G3xO9TQSO7+&`O!*SQUO7+&`OOQO7+%Y7+%YO& UQ$IUO1G5{O>jQSO7+%YOOQ(CY<jQSO<jQSO7+)dO&6mQSO<{AN>{O%[QUOAN?XOOQO<PQSO7+*ZO&>[QSO<= ZO&>dQ`O7+*]OOQ(CW<nQ`O<uQSO<= dOOQQG27kG27kO9eQ(C[OG27kO!*SQUO1G4vO&>}QSO7++uO%MbQSOANAyOOQQANAyANAyO!&^Q,UOANAyO&?VQSOANAyOOQQANA{ANA{O9eQ(C[OANA{O#NWQSOANA{OOQO'#HW'#HWOOQO7+*e7+*eOOQQG22uG22uOOQQANEPANEPOOQQANEQANEQOOQQANBTANBTO&?_QSOANBTOOQQ<fOPZXYZXlZXzZX{ZX}ZX!fZX!gZX!iZX!mZX#YZX#edX#hZX#iZX#jZX#kZX#lZX#mZX#nZX#oZX#pZX#rZX#tZX#vZX#wZX#|ZX(TZX(dZX(kZX(lZX!WZX!XZX~O#zZX~P#APOP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO#t:RO#v:TO#w:UO(TVO(d$ZO(k#|O(l#}O~O#z.iO~P#C^O#Y:ZO#|:ZO#z(YX!X(YX~P! UO_'[a!W'[a'm'[a'k'[a!h'[a!T'[ap'[a!Y'[a%b'[a!b'[a~P!7zOP#giY#gi_#gil#gi{#gi!W#gi!f#gi!g#gi!i#gi!m#gi#h#gi#i#gi#j#gi#k#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi'm#gi(T#gi(d#gi'k#gi!T#gi!h#gip#gi!Y#gi%b#gi!b#gi~P#,sO_#{i!W#{i'm#{i'k#{i!T#{i!h#{ip#{i!Y#{i%b#{i!b#{i~P!7zO$X.nO$Z.nO~O$X.oO$Z.oO~O!b)_O#Y.pO!Y$_X$U$_X$X$_X$Z$_X$b$_X~O!V.qO~O!Y)bO$U.sO$X)aO$Z)aO$b.tO~O!W:VO!X(XX~P#C^O!X.uO~O!b)_O$b(mX~O$b.wO~Or)qO(U)rO(V.zO~O!T/OO~P!&^O!WdX!bdX!hdX!h$tX(ddX~P!/bO!h/UO~P#,sO!W/VO!b#uO(d'gO!h(qX~O!h/[O~O!V*SO'v%`O!h(qP~O#e/^O~O!T$tX!W$tX!b${X~P!/bO!W/_O!T(rX~P#,sO!b/aO~O!T/cO~Ol/gO!b#uO!i%^O(P%RO(d'gO~O'v/iO~O!b+YO~O_%gO!W/mO'm%gO~O!X/oO~P!3`O!^/pO!_/pO'w!lO(W!mO~O}/rO(W!mO~O#U/sO~O'v&QOe'aX!W'aX~O!W*lOe(Qa~Oe/xO~Oz/yO{/yO}/zOhwa(kwa(lwa!Wwa#Ywa~Oewa#zwa~P$ tOz)vO})wOh$ma(k$ma(l$ma!W$ma#Y$ma~Oe$ma#z$ma~P$!jOz)vO})wOh$oa(k$oa(l$oa!W$oa#Y$oa~Oe$oa#z$oa~P$#]O#e/|O~Oe$}a!W$}a#Y$}a#z$}a~P!0kO!b#uO~O#e0PO~O!W*}O_(va'm(va~Oz#yO{#zO}#{O!g#wO!i#xO(TVOP!oiY!oil!oi!W!oi!f!oi!m!oi#h!oi#i!oi#j!oi#k!oi#l!oi#m!oi#n!oi#o!oi#p!oi#r!oi#t!oi#v!oi#w!oi(d!oi(k!oi(l!oi~O_!oi'm!oi'k!oi!T!oi!h!oip!oi!Y!oi%b!oi!b!oi~P$$zOh.UO!Y'VO%b.TO~Oj0ZO'v0YO~P!1]O!b+YO_(Oa!Y(Oa'm(Oa!W(Oa~O#e0aO~OYZX!WdX!XdX~O!W0bO!X(zX~O!X0dO~OY0eO~O`0gO'v+bO'xTO'{UO~O!Y%wO'v%`O^'iX!W'iX~O!W+gO^(ya~O!h0jO~P!7zOY0mO~O^0nO~O#Y0qO~Oh0tO!Y$|O~O(W(tO!X(wP~Oh0}O!Y0zO%b0|O(P%RO~OY1XO!W1VO!X(xX~O!X1YO~O^1[O_%gO'm%gO~O'v#mO'xTO'{UO~O#Y$eO#|$eOP(YXY(YXl(YXz(YX{(YX}(YX!W(YX!f(YX!i(YX!m(YX#h(YX#i(YX#j(YX#k(YX#l(YX#m(YX#n(YX#o(YX#r(YX#t(YX#v(YX#w(YX(T(YX(d(YX(k(YX(l(YX~O#p1_O&S1`O_(YX!g(YX~P$+sO#Y$eO#p1_O&S1`O~O_1bO~P%[O_1dO~O&]1gOP&ZiQ&ZiW&Zi_&Zib&Zic&Zij&Zil&Zim&Zin&Zit&Ziv&Zix&Zi}&Zi!R&Zi!S&Zi!Y&Zi!d&Zi!i&Zi!l&Zi!m&Zi!n&Zi!p&Zi!r&Zi!u&Zi!y&Zi#q&Zi$R&Zi$V&Zi%a&Zi%c&Zi%e&Zi%f&Zi%g&Zi%j&Zi%l&Zi%o&Zi%p&Zi%r&Zi&O&Zi&U&Zi&W&Zi&Y&Zi&[&Zi&_&Zi&e&Zi&k&Zi&m&Zi&o&Zi&q&Zi&s&Zi'k&Zi'v&Zi'x&Zi'{&Zi(T&Zi(c&Zi(p&Zi!X&Zi`&Zi&b&Zi~O`1mO!X1kO&b1lO~P`O!YXO!i1oO~O&i,jOP&diQ&diW&di_&dib&dic&dij&dil&dim&din&dit&div&dix&di}&di!R&di!S&di!Y&di!d&di!i&di!l&di!m&di!n&di!p&di!r&di!u&di!y&di#q&di$R&di$V&di%a&di%c&di%e&di%f&di%g&di%j&di%l&di%o&di%p&di%r&di&O&di&U&di&W&di&Y&di&[&di&_&di&e&di&k&di&m&di&o&di&q&di&s&di'k&di'v&di'x&di'{&di(T&di(c&di(p&di!X&di&]&di`&di&b&di~O!T1uO~O!W![a!X![a~P#C^Om!nO}!oO!V1{O(W!mO!W'PX!X'PX~P@OO!W,zO!X([a~O!W'VX!X'VX~P!7SO!W,}O!X(ja~O!X2SO~P'_O_%gO#Y2]O'm%gO~O_%gO!b#uO#Y2]O'm%gO~O_%gO!b#uO!m2aO#Y2]O'm%gO(d'gO~O_%gO'm%gO~P!7zO!W$aOp$la~O!T'Oi!W'Oi~P!7zO!W'{O!T(Zi~O!W(SO!T(hi~O!T(ii!W(ii~P!7zO!W(fi!h(fi_(fi'm(fi~P!7zO#Y2cO!W(fi!h(fi_(fi'm(fi~O!W(`O!h(ei~O}%aO!Y%bO!y]O#c2hO#d2gO'v%`O~O}%aO!Y%bO#d2gO'v%`O~Oh2oO!Y'VO%b2nO~Oh2oO!Y'VO%b2nO(P%RO~O#ewaPwaYwa_walwa!fwa!gwa!iwa!mwa#hwa#iwa#jwa#kwa#lwa#mwa#nwa#owa#pwa#rwa#twa#vwa#wwa'mwa(Twa(dwa!hwa!Twa'kwapwa!Ywa%bwa!bwa~P$ tO#e$maP$maY$ma_$mal$ma{$ma!f$ma!g$ma!i$ma!m$ma#h$ma#i$ma#j$ma#k$ma#l$ma#m$ma#n$ma#o$ma#p$ma#r$ma#t$ma#v$ma#w$ma'm$ma(T$ma(d$ma!h$ma!T$ma'k$map$ma!Y$ma%b$ma!b$ma~P$!jO#e$oaP$oaY$oa_$oal$oa{$oa!f$oa!g$oa!i$oa!m$oa#h$oa#i$oa#j$oa#k$oa#l$oa#m$oa#n$oa#o$oa#p$oa#r$oa#t$oa#v$oa#w$oa'm$oa(T$oa(d$oa!h$oa!T$oa'k$oap$oa!Y$oa%b$oa!b$oa~P$#]O#e$}aP$}aY$}a_$}al$}a{$}a!W$}a!f$}a!g$}a!i$}a!m$}a#h$}a#i$}a#j$}a#k$}a#l$}a#m$}a#n$}a#o$}a#p$}a#r$}a#t$}a#v$}a#w$}a'm$}a(T$}a(d$}a!h$}a!T$}a'k$}a#Y$}ap$}a!Y$}a%b$}a!b$}a~P#,sO_#]q!W#]q'm#]q'k#]q!T#]q!h#]qp#]q!Y#]q%b#]q!b#]q~P!7zOe'QX!W'QX~P!'vO!W._Oe(^a~O!V2wO!W'RX!h'RX~P%[O!W.bO!h(_a~O!W.bO!h(_a~P!7zO!T2zO~O#z!ka!X!ka~PJxO#z!ca!W!ca!X!ca~P#C^O#z!oa!X!oa~P!:eO#z!qa!X!qa~P!=OO!Y3^O$VfO$`3_O~O!X3cO~Op3dO~P#,sO_$iq!W$iq'm$iq'k$iq!T$iq!h$iqp$iq!Y$iq%b$iq!b$iq~P!7zO!T3eO~P#,sOz)vO})wO(l){Oh%Yi(k%Yi!W%Yi#Y%Yi~Oe%Yi#z%Yi~P$J]Oz)vO})wOh%[i(k%[i(l%[i!W%[i#Y%[i~Oe%[i#z%[i~P$KOO(d$ZO~P#,sO!V3hO'v%`O!W']X!h']X~O!W/VO!h(qa~O!W/VO!b#uO!h(qa~O!W/VO!b#uO(d'gO!h(qa~Oe$vi!W$vi#Y$vi#z$vi~P!0kO!V3pO'v*XO!T'_X!W'_X~P!1YO!W/_O!T(ra~O!W/_O!T(ra~P#,sO!b#uO#p3xO~Ol3{O!b#uO(d'gO~Oe(Ri!W(Ri~P!0kO#Y4OOe(Ri!W(Ri~P!0kO!h4RO~O_$jq!W$jq'm$jq'k$jq!T$jq!h$jqp$jq!Y$jq%b$jq!b$jq~P!7zO!T4VO~O!W4WO!Y(sX~P#,sO!g#wO~P4XO_$tX!Y$tX%VZX'm$tX!W$tX~P!/bO%V4YO_iXhiXziX}iX!YiX'miX(kiX(liX!WiX~O%V4YO~O`4`O%c4aO'v+bO'xTO'{UO!W'hX!X'hX~O!W0bO!X(za~OY4eO~O^4fO~O_%gO'm%gO~P#,sO!Y$|O~P#,sO!W4nO#Y4pO!X(wX~O!X4qO~Om!nO}4rO!]!xO!^!uO!_!uO!y9rO!}!pO#O!pO#P!pO#Q!pO#R!pO#U4wO#V!yO'w!lO'xTO'{UO(W!mO(c!sO~O!X4vO~P%%QOh4|O!Y0zO%b4{O~Oh4|O!Y0zO%b4{O(P%RO~O`5TO'v#mO'xTO'{UO!W'gX!X'gX~O!W1VO!X(xa~O'xTO'{UO(W5VO~O^5ZO~O#p5^O&S5_O~PMhO!h5`O~P%[O_5bO~O_5bO~P%[O`1mO!X5gO&b1lO~P`O!b5iO~O!b5kO!W(]i!X(]i!b(]i!i(]i(P(]i~O!W#bi!X#bi~P#C^O#Y5lO!W#bi!X#bi~O!W![i!X![i~P#C^O_%gO#Y5uO'm%gO~O_%gO!b#uO#Y5uO'm%gO~O!W(fq!h(fq_(fq'm(fq~P!7zO!W(`O!h(eq~O}%aO!Y%bO#d5|O'v%`O~O!Y'VO%b6PO~Oh6SO!Y'VO%b6PO~O#e%YiP%YiY%Yi_%Yil%Yi{%Yi!f%Yi!g%Yi!i%Yi!m%Yi#h%Yi#i%Yi#j%Yi#k%Yi#l%Yi#m%Yi#n%Yi#o%Yi#p%Yi#r%Yi#t%Yi#v%Yi#w%Yi'm%Yi(T%Yi(d%Yi!h%Yi!T%Yi'k%Yip%Yi!Y%Yi%b%Yi!b%Yi~P$J]O#e%[iP%[iY%[i_%[il%[i{%[i!f%[i!g%[i!i%[i!m%[i#h%[i#i%[i#j%[i#k%[i#l%[i#m%[i#n%[i#o%[i#p%[i#r%[i#t%[i#v%[i#w%[i'm%[i(T%[i(d%[i!h%[i!T%[i'k%[ip%[i!Y%[i%b%[i!b%[i~P$KOO#e$viP$viY$vi_$vil$vi{$vi!W$vi!f$vi!g$vi!i$vi!m$vi#h$vi#i$vi#j$vi#k$vi#l$vi#m$vi#n$vi#o$vi#p$vi#r$vi#t$vi#v$vi#w$vi'm$vi(T$vi(d$vi!h$vi!T$vi'k$vi#Y$vip$vi!Y$vi%b$vi!b$vi~P#,sOe'Qa!W'Qa~P!0kO!W'Ra!h'Ra~P!7zO!W.bO!h(_i~O#z#]i!W#]i!X#]i~P#C^OP$]Oz#yO{#zO}#{O!g#wO!i#xO!m$]O(TVOY#gil#gi!f#gi#i#gi#j#gi#k#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi#z#gi(d#gi(k#gi(l#gi!W#gi!X#gi~O#h#gi~P%3jO#h9zO~P%3jOP$]Oz#yO{#zO}#{O!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O(TVOY#gi!f#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi#z#gi(d#gi(k#gi(l#gi!W#gi!X#gi~Ol#gi~P%5uOl9|O~P%5uOP$]Ol9|Oz#yO{#zO}#{O!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O(TVO#r#gi#t#gi#v#gi#w#gi#z#gi(d#gi(k#gi(l#gi!W#gi!X#gi~OY#gi!f#gi#m#gi#n#gi#o#gi#p#gi~P%8QOY:YO!f:OO#m:OO#n:OO#o:XO#p:OO~P%8QOP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO(TVO#t#gi#v#gi#w#gi#z#gi(d#gi(l#gi!W#gi!X#gi~O(k#gi~P%:lO(k#|O~P%:lOP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO#t:RO(TVO(k#|O#v#gi#w#gi#z#gi(d#gi!W#gi!X#gi~O(l#gi~P%yP?^P?^PPP?^PAOP?^P?^P?^PASPPAXPArPFjPPPFnPPPPFnIoPPPIuJpPFnPMOPPPP! ^FnPPPFnPFnP!#lFnP!'Q!(S!(]P!)P!)T!)PPPPPP!,`!(SPP!,|!-vP!0jFnFn!0o!3y!8`!8`!}P#@^#@e#@mPPPP#D{#Gr#NZ#N^#Na$ Y$ ]$ `$ g$ oPP$ u$ y$!q$#p$#t$$YPP$$^$$d$$hP$$k$$o$$r$%h$&P$&h$&l$&o$&r$&x$&{$'P$'TR!{RoqOXst!Z#c%f&i&k&l&n,b,g1g1jY!uQ'V-S0z4uQ%lvQ%tyQ%{|Q&a!VS&}!e,zQ']!iS'c!r!xS*_$|*dQ+`%uQ+m%}Q,R&ZQ-Q'UQ-['^Q-d'dQ/p*fQ1U,SR:d9u%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|,_,b,g-W-`-n-t.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2w4r4|5^5_5b5u7Z7`7o7yS#p]9r!r)W$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ*o%VQ+e%wQ,T&^Q,[&fQ.X:[Q0W+WQ0[+YQ0g+fQ1^,YQ2k.UQ4`0bQ5T1VQ6R2oQ6X:]Q6z4aR8P6S&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;ct!nQ!r!u!x!y&}'U'V'c'd'e,z-Q-S-d0z4u4w$^$si#u#w$c$d$x${%W%X%])q)w)z)|)}*U*[*j*k+V+Y+q+t.T._/P/^/_/a/|0q0t0|2n3f3p3x4O4W4Y4{6P6g6p7]7|8X8l9O9^9f:X:Y:^:_:`:a:b:c:i:j:k:l:m:n:q:r:s:t:w:x;`;h;i;l;mQ&O|Q&{!eS'R%b,}Q+e%wQ,T&^Q/{*sQ0g+fQ0l+lQ1],XQ1^,YQ4`0bQ4i0nQ5T1VQ5W1XQ5X1[Q6z4aQ6}4fQ7h5ZQ8g7OR8r7ernOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jR,V&b&v^OPXYstuvwz!Z!`!g!j!o#R#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'X'i'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;b;c[#[WZ#V#Y'O'y!S%cm#g#h#k%^%a(S(^(_(`*z*{*},^,t-r-x-y-z-|1o2g2h5k5|Q%oxQ%syS%x|%}Q&U!TQ'Y!hQ'[!iQ(g#rS*R$x*VS+_%t%uQ+c%wQ+|&XQ,Q&ZS-Z']'^Q.W(hQ/Z*SQ0`+`Q0f+fQ0h+gQ0k+kQ1P+}S1T,R,SQ2X-[Q3g/VQ4_0bQ4c0eQ4h0mQ5S1UQ6d3hQ6y4aQ6|4eQ8c6xR9X8dv$zi#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;i!S%qy!i!t%s%t%u&|'[']'^'b'l*^+_+`,w-Z-[-c/h0`2Q2X2`3zQ+X%oQ+r&RQ+u&SQ,P&ZQ.V(gQ1O+|U1S,Q,R,SQ2p.WQ4}1PS5R1T1UQ7d5S#O;d#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mg;e:X:Y:_:a:c:j:l:n:r:t:xW%Pi%R*l;`S&R!Q&`Q&S!RQ&T!SR+p&P$_%Oi#u#w$c$d$x${%W%X%])q)w)z)|)}*U*[*j*k+V+Y+q+t.T._/P/^/_/a/|0q0t0|2n3f3p3x4O4W4Y4{6P6g6p7]7|8X8l9O9^9f:X:Y:^:_:`:a:b:c:i:j:k:l:m:n:q:r:s:t:w:x;`;h;i;l;mT)r$u)sV*p%V:[:]U'R!e%b,}S(u#y#zQ+j%zS.P(c(dQ0u+vQ4P/yR7S4n&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;c$i$`c#X#d%j%k%m'x(O(j(q(y(z({(|(})O)P)Q)R)S)T)V)Y)^)h+T+i,x-g-l-q-s.^.d.h.j.k.l.{/}1v1y2Z2b2v2{2|2}3O3P3Q3R3S3T3U3V3W3X3[3]3b4T4]5n5t5y6V6W6]6^7U7s7w8Q8U8V8{9Z9b9s;VT#SV#T&}kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ'P!eR1|,zv!nQ!e!r!u!x!y&}'U'V'c'd'e,z-Q-S-d0z4u4wS*^$|*dS/h*_*fQ/q*gQ0w+xQ3z/pR3}/snqOXst!Z#c%f&i&k&l&n,b,g1g1jQ&p!^Q'm!wS(i#t9yQ+]%rQ+z&UQ+{&WQ-X'ZQ-f'fS.](n:fS0O*x:oQ0^+^Q0y+yQ1n,iQ1p,jQ1x,uQ2V-YQ2Y-^S4U0P:uQ4Z0_S4^0a:vQ5m1zQ5q2WQ5v2_Q6w4[Q7t5oQ7u5rQ7x5wR8x7q$d$_c#X#d%k%m'x(O(j(q(y(z({(|(})O)P)Q)R)S)T)V)Y)^)h+T+i,x-g-l-q-s.^.d.h.k.l.{/}1v1y2Z2b2v2{2|2}3O3P3Q3R3S3T3U3V3W3X3[3]3b4T4]5n5t5y6V6W6]6^7U7s7w8Q8U8V8{9Z9b9s;VS(f#o'`U*i$}(m3ZS+S%j.jQ2l0WQ6O2kQ8O6RR9P8P$d$^c#X#d%k%m'x(O(j(q(y(z({(|(})O)P)Q)R)S)T)V)Y)^)h+T+i,x-g-l-q-s.^.d.h.k.l.{/}1v1y2Z2b2v2{2|2}3O3P3Q3R3S3T3U3V3W3X3[3]3b4T4]5n5t5y6V6W6]6^7U7s7w8Q8U8V8{9Z9b9s;VS(e#o'`S(w#z$_S+R%j.jS.Q(d(fQ.m)XQ0T+SR2i.R&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cS#p]9rQ&k!XQ&l!YQ&n![Q&o!]R1f,eQ'W!hQ+U%oQ-V'YS.S(g+XQ2T-UW2m.V.W0V0XQ5p2UU5}2j2l2pS7{6O6QS8}7}8OS9d8|9PQ9l9eR9o9mU!vQ'V-ST4s0z4u!Q_OXZ`st!V!Z#c#g%^%f&`&b&i&k&l&n(`,b,g-y1g1j]!pQ!r'V-S0z4uT#p]9r%Y{OPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yS(u#y#zS.P(c(d!s:|$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cY!tQ'V-S0z4uQ'b!rS'l!u!xS'n!y4wS-c'c'dQ-e'eR2`-dQ'k!tS([#f1aS-b'b'nQ/Y*RQ/f*^Q2a-eQ3l/ZS3u/g/qQ6c3gS6n3{3}Q8Z6dR8b6qQ#vbQ'j!tS(Z#f1aS(]#l*wQ*y%_Q+Z%pQ+a%vU-a'b'k'nQ-u([Q/X*RQ/e*^Q/k*aQ0]+[Q1Q,OS2^-b-eQ2f-}S3k/Y/ZS3t/f/qQ3w/jQ3y/lQ5P1RQ5x2aQ6b3gQ6f3lS6j3u3}Q6o3|Q7b5QS8Y6c6dQ8^6kQ8`6nQ8o7cQ9T8ZQ9U8_Q9W8bQ9`8pQ9h9VQ;P:zQ;[;TR;];UV!vQ'V-S%YaOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yS#vz!j!r:y$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cR;P;b%YbOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yQ%_j!S%py!i!t%s%t%u&|'[']'^'b'l*^+_+`,w-Z-[-c/h0`2Q2X2`3zS%vz!jQ+[%qQ,O&ZW1R,P,Q,R,SU5Q1S1T1US7c5R5SQ8p7d!r:z$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ;T;aR;U;b$|eOPXYstuvw!Z!`!g!o#R#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&i&k&l&n&r&z'X'i'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yY#aWZ#V#Y'y!S%cm#g#h#k%^%a(S(^(_(`*z*{*},^,t-r-x-y-z-|1o2g2h5k5|Q,]&f!p:{$[$m)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cR;O'OS'S!e%bR2O,}%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|,_,b,g-W-`-n-t.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2w4r4|5^5_5b5u7Z7`7o7y!r)W$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ,[&fQ0W+WQ2k.UQ6R2oR8P6S!f$Uc#X%j'x(O(j(q)Q)R)S)T)Y)^+i-g-l-q-s.^.d.{/}2Z2b2v3X4T4]5t5y6V7w8{9s!T:Q)V)h,x.j1v1y2{3T3U3V3W3[3b5n6W6]6^7U7s8Q8U8V9Z9b;V!b$Wc#X%j'x(O(j(q)S)T)Y)^+i-g-l-q-s.^.d.{/}2Z2b2v3X4T4]5t5y6V7w8{9s!P:S)V)h,x.j1v1y2{3V3W3[3b5n6W6]6^7U7s8Q8U8V9Z9b;V!^$[c#X%j'x(O(j(q)Y)^+i-g-l-q-s.^.d.{/}2Z2b2v3X4T4]5t5y6V7w8{9sQ3f/Tz;c)V)h,x.j1v1y2{3[3b5n6W6]6^7U7s8Q8U8V9Z9b;VQ;h;jR;i;k&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cS$nh$oR3_.p'TgOPWXYZhstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m$o%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.p.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cT$jf$pQ$hfS)a$k)eR)m$pT$if$pT)c$k)e'ThOPWXYZhstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m$o%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.p.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cT$nh$oQ$qhR)l$o%YjOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7y!s;a$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;c#clOPXZst!Z!`!o#R#c#n#{$m%f&b&e&f&i&k&l&n&r&z'X(v)j*|+W,_,b,g-W.U.q/z0}1_1`1b1d1g1j1l2o3^4r4|5^5_5b6S7Z7`7ov$}i#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;i#O(m#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mQ*t%ZQ.|)vg3Z:X:Y:_:a:c:j:l:n:r:t:xv$yi#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;iQ*W$zS*a$|*dQ*u%[Q/l*b#O;R#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mf;S:X:Y:_:a:c:j:l:n:r:t:xQ;W;dQ;X;eQ;Y;fR;Z;gv$}i#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;i#O(m#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mg3Z:X:Y:_:a:c:j:l:n:r:t:xnoOXst!Z#c%f&i&k&l&n,b,g1g1jQ*Z${Q,p&uQ,q&wR3o/_$^%Oi#u#w$c$d$x${%W%X%])q)w)z)|)}*U*[*j*k+V+Y+q+t.T._/P/^/_/a/|0q0t0|2n3f3p3x4O4W4Y4{6P6g6p7]7|8X8l9O9^9f:X:Y:^:_:`:a:b:c:i:j:k:l:m:n:q:r:s:t:w:x;`;h;i;l;mQ+s&SQ0s+uQ4l0rR7R4mT*c$|*dS*c$|*dT4t0z4uS/j*`4rT3|/r7ZQ+Z%pQ/k*aQ0]+[Q1Q,OQ5P1RQ7b5QQ8o7cR9`8pn)z$v(o*v/]/t/u2t3m4S6a6r9S;Q;^;_!Y:i(k)[*Q*Y.[.x.}/T/b0U0p0r2s3n3r4k4m6T6U6h6l6t6v8]8a9g;j;k]:j3Y6[8R9Q9R9pp)|$v(o*v/R/]/t/u2t3m4S6a6r9S;Q;^;_![:k(k)[*Q*Y.[.x.}/T/b0U0p0r2q2s3n3r4k4m6T6U6h6l6t6v8]8a9g;j;k_:l3Y6[8R8S9Q9R9prnOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jQ&]!UR,_&frnOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jR&]!UQ+w&TR0o+psnOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jQ0{+|S4z1O1PU7[4x4y4}S8k7^7_S9[8j8mQ9i9]R9n9jQ&d!VR,W&`R5W1XS%x|%}R0h+gQ&i!WR,b&jR,h&oT1h,g1jR,l&pQ,k&pR1q,lQ'p!zR-h'pSsOtQ#cXT%is#cQ!}TR'r!}Q#QUR't#QQ)s$uR.y)sQ#TVR'v#TQ#WWU'|#W'}-oQ'}#XR-o(OQ,{'PR1},{Q.`(oR2u.`Q.c(qS2x.c2yR2y.dQ-S'VR2R-SY!rQ'V-S0z4uR'a!rS#^W%aU(T#^(U-pQ(U#_R-p(PQ-O'SR2P-Ot`OXst!V!Z#c%f&`&b&i&k&l&n,b,g1g1jS#gZ%^U#q`#g-yR-y(`Q(a#iQ-v(]W.O(a-v2d5zQ2d-wR5z2eQ)e$kR.r)eQ$ohR)k$oQ$bcU)Z$b-k:WQ-k9sR:W)hQ/W*RW3i/W3j6e8[U3j/X/Y/ZS6e3k3lR8[6f#o)x$v(k(o)[*Q*Y*q*r*v.Y.Z.[.x.}/R/S/T/]/b/t/u0U0p0r2q2r2s2t3Y3m3n3r4S4k4m6T6U6Y6Z6[6a6h6l6r6t6v8R8S8T8]8a9Q9R9S9g9p;Q;^;_;j;kQ/`*YU3q/`3s6iQ3s/bR6i3rQ*d$|R/n*dQ*m%QR/w*mQ4X0UR6u4XQ+O%dR0S+OQ4o0uS7T4o8iR8i7UQ+y&UR0x+yQ4u0zR7X4uQ1W,TS5U1W7fR7f5WQ0c+cW4b0c4d6{8eQ4d0fQ6{4cR8e6|Q+h%xR0i+hQ1j,gR5f1jYrOXst#cQ&m!ZQ+Q%fQ,a&iQ,c&kQ,d&lQ,f&nQ1e,bS1h,g1jR5e1gQ%hpQ&q!_Q&t!aQ&v!bQ&x!cQ'h!tQ+P%eQ+]%rQ+o&OQ,V&dQ,n&sW-_'b'j'k'nQ-f'fQ/m*cQ0^+^S1Z,W,ZQ1r,mQ1s,pQ1t,qQ2Y-^W2[-a-b-e-gQ4Z0_Q4g0lQ4j0pQ5O1QQ5Y1]Q5d1fU5s2Z2^2aQ5v2_Q6w4[Q7P4iQ7Q4kQ7W4tQ7a5PQ7g5XS7v5t5xQ7x5wQ8f6}Q8n7bQ8s7hQ8z7wQ9Y8gQ9_8oQ9c8{R9k9`Q%ryQ'Z!iQ'f!tU+^%s%t%uQ,u&|U-Y'[']'^S-^'b'lQ/d*^S0_+_+`Q1z,wS2W-Z-[Q2_-cQ3v/hQ4[0`Q5o2QQ5r2XQ5w2`R6m3zS$wi;`R*n%RU%Qi%R;`R/v*lQ$viS(k#u+YQ(o#wS)[$c$dQ*Q$xQ*Y${Q*q%WQ*r%XQ*v%]Q.Y:^Q.Z:`Q.[:bQ.x)qS.})w/PQ/R)zQ/S)|Q/T)}Q/]*UQ/b*[Q/t*jQ/u*kh0U+V.T0|2n4{6P7]7|8l9O9^9fQ0p+qQ0r+tQ2q:iQ2r:kQ2s:mQ2t._S3Y:X:YQ3m/^Q3n/_Q3r/aQ4S/|Q4k0qQ4m0tQ6T:qQ6U:sQ6Y:_Q6Z:aQ6[:cQ6a3fQ6h3pQ6l3xQ6r4OQ6t4WQ6v4YQ8R:nQ8S:jQ8T:lQ8]6gQ8a6pQ9Q:rQ9R:tQ9S8XQ9g:wQ9p:xQ;Q;`Q;^;hQ;_;iQ;j;lR;k;mnpOXst!Z#c%f&i&k&l&n,b,g1g1jQ!fPS#eZ#nQ&s!`U'_!o4r7ZQ'u#RQ(x#{Q)i$mS,Z&b&eQ,`&fQ,m&rQ,r&zQ-U'XQ.f(vQ.v)jQ0Q*|Q0X+WQ1c,_Q2U-WQ2l.UQ3a.qQ4Q/zQ4y0}Q5[1_Q5]1`Q5a1bQ5c1dQ5h1lQ6O2oQ6_3^Q7_4|Q7k5^Q7l5_Q7n5bQ8O6SQ8m7`R8w7o#WcOPXZst!Z!`!o#c#n#{%f&b&e&f&i&k&l&n&r&z'X(v*|+W,_,b,g-W.U/z0}1_1`1b1d1g1j1l2o4r4|5^5_5b6S7Z7`7oQ#XWQ#dYQ%juQ%kvS%mw!gS'x#V'{Q(O#YQ(j#tQ(q#xQ(y$OQ(z$PQ({$QQ(|$RQ(}$SQ)O$TQ)P$UQ)Q$VQ)R$WQ)S$XQ)T$YQ)V$[Q)Y$aQ)^$eW)h$m)j.q3^Q+T%lQ+i%yS,x'O1{Q-g'iS-l'y-nQ-q(RQ-s(YQ.^(nQ.d(rQ.h9qQ.j9tQ.k9uQ.l9xQ.{)uQ/}*xQ1v,sQ1y,vQ2Z-`Q2b-tQ2v.bQ2{9yQ2|9zQ2}9{Q3O9|Q3P9}Q3Q:OQ3R:PQ3S:QQ3T:RQ3U:SQ3V:TQ3W:UQ3X.iQ3[:ZQ3]:dQ3b:VQ4T0PQ4]0aQ5n:eQ5t2]Q5y2cQ6V2wQ6W:fQ6]:hQ6^:oQ7U4pQ7s5lQ7w5uQ8Q:pQ8U:uQ8V:vQ8{7yQ9Z8hQ9b8yQ9s#RR;V;cR#ZWR'Q!eY!tQ'V-S0z4uS&|!e,zQ'b!rS'l!u!xS'n!y4wS,w&}'US-c'c'dQ-e'eQ2Q-QR2`-dR(p#wR(s#xQ!fQT-R'V-S]!qQ!r'V-S0z4uQ#o]R'`9rT#jZ%^S#iZ%^S%dm,^U(]#g#h#kS-w(^(_Q-{(`Q0R*}Q2e-xU2f-y-z-|S5{2g2hR7z5|`#]W#V#Y%a'y(S*z-rr#fZm#g#h#k%^(^(_(`*}-x-y-z-|2g2h5|Q1a,^Q1w,tQ5j1oQ7r5kT:}'O*{T#`W%aS#_W%aS'z#V(SS(P#Y*zS,y'O*{T-m'y-rT'T!e%bQ$kfR)o$pT)d$k)eR3`.pT*T$x*VR*]${Q0V+VQ2j.TQ4x0|Q6Q2nQ7^4{Q7}6PQ8j7]Q8|7|Q9]8lQ9e9OQ9j9^R9m9fnqOXst!Z#c%f&i&k&l&n,b,g1g1jQ&c!VR,V&`tmOXst!U!V!Z#c%f&`&i&k&l&n,b,g1g1jR,^&fT%em,^R0v+vR,U&^Q%||R+n%}R+d%wT&g!W&jT&h!W&jT1i,g1j",nodeNames:"⚠ ArithOp ArithOp LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin 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 PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody 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 SingleExpression SingleClassItem",maxTerm:367,context:kY,nodeProps:[["group",-26,7,15,17,63,200,204,208,209,211,214,217,227,229,235,237,239,241,244,250,256,258,260,262,264,266,267,"Statement",-32,11,12,26,29,30,36,46,49,50,52,57,65,73,77,79,81,82,104,105,114,115,132,135,137,138,139,140,142,143,163,164,166,"Expression",-23,25,27,31,35,37,39,167,169,171,172,174,175,176,178,179,180,182,183,184,194,196,198,199,"Type",-3,85,97,103,"ClassItem"],["openedBy",32,"InterpolationStart",51,"[",55,"{",70,"(",144,"JSXStartTag",156,"JSXStartTag JSXStartCloseTag"],["closedBy",34,"InterpolationEnd",45,"]",56,"}",71,")",145,"JSXSelfCloseEndTag JSXEndTag",161,"JSXEndTag"]],propSources:[WY],skippedNodes:[0,3,4,270],repeatNodeCount:33,tokenData:"$Fl(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Nu!`!a$#a!a!b$(n!b!c$,m!c!}Er!}#O$-w#O#P$/R#P#Q$4j#Q#R$5t#R#SEr#S#T$7R#T#o$8]#o#p$s#r#s$@P#s$f%Z$f$g+g$g#BYEr#BY#BZ$AZ#BZ$ISEr$IS$I_$AZ$I_$I|Er$I|$I}$Df$I}$JO$Df$JO$JTEr$JT$JU$AZ$JU$KVEr$KV$KW$AZ$KW&FUEr&FU&FV$AZ&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AZ?HUOEr(n%d_$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$e&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$e&j'|!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU'|!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$e&j'ypOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU'ypOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX'yp'|!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$e&j'yp'|!b'o(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST'z#S$e&j'p(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$e&j'yp'|!b'p(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$e&j!m$Ip'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#r$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#r$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2b3l_'x$(n$e&j'|!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k*r4r_$e&j'|!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k)`5vX$e&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q)`6jT$`#t$e&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#t6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y#t7bO$`#t#t7eP;=`<%l6y)`7kP;=`<%l5q*r7w]$`#t$e&j'|!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}%W8uZ'|!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p%W9oU$`#t'|!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}%W:UP;=`<%l8p*r:[P;=`<%l4k#%|:hh$e&j'yp'|!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXUS$e&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSUSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWUS'|!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]US$e&j'ypOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWUS'ypOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYUS'yp'|!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%lQ^$e&j!SSOY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@Y!_!}!=y!}#O!Bw#O#P!Dj#P#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!?Ta$e&j!SSO!^&c!_#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&cS!@_X!SSOY!@YZ!P!@Y!P!Q!@z!Q!}!@Y!}#O!Ac#O#P!Bb#P;'S!@Y;'S;=`!Bq<%lO!@YS!APU!SS#Z#[!@z#]#^!@z#a#b!@z#g#h!@z#i#j!@z#m#n!@zS!AfVOY!AcZ#O!Ac#O#P!A{#P#Q!@Y#Q;'S!Ac;'S;=`!B[<%lO!AcS!BOSOY!AcZ;'S!Ac;'S;=`!B[<%lO!AcS!B_P;=`<%l!AcS!BeSOY!@YZ;'S!@Y;'S;=`!Bq<%lO!@YS!BtP;=`<%l!@Y&n!B|[$e&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#O!Bw#O#P!Cr#P#Q!=y#Q#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!CwX$e&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!DgP;=`<%l!Bw&n!DoX$e&jOY!=yYZ&cZ!^!=y!^!_!@Y!_#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!E_P;=`<%l!=y(Q!Eki$e&j'|!b!SSOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!Eb#[#]&}#]#^!Eb#^#a&}#a#b!Eb#b#g&}#g#h!Eb#h#i&}#i#j!Eb#j#m&}#m#n!Eb#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!GaZ'|!b!SSOY!GYZw!GYwx!@Yx!P!GY!P!Q!HS!Q!}!GY!}#O!Ic#O#P!Bb#P;'S!GY;'S;=`!JZ<%lO!GY!f!HZb'|!b!SSOY'}Zw'}x#O'}#P#Z'}#Z#[!HS#[#]'}#]#^!HS#^#a'}#a#b!HS#b#g'}#g#h!HS#h#i'}#i#j!HS#j#m'}#m#n!HS#n;'S'};'S;=`(f<%lO'}!f!IhX'|!bOY!IcZw!Icwx!Acx#O!Ic#O#P!A{#P#Q!GY#Q;'S!Ic;'S;=`!JT<%lO!Ic!f!JWP;=`<%l!Ic!f!J^P;=`<%l!GY(Q!Jh^$e&j'|!bOY!JaYZ&cZw!Jawx!Bwx!^!Ja!^!_!Ic!_#O!Ja#O#P!Cr#P#Q!Q#V#X%Z#X#Y!4|#Y#b%Z#b#c#Zd$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#?tf$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#b%Z#b#c#CY[n]||-1},{term:330,get:n=>TY[n]||-1},{term:68,get:n=>ZY[n]||-1}],tokenPrec:12868}),Cw=[Bi("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Bi("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Bi("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Bi("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Bi("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Bi(`try { +var RW=Object.defineProperty;var XW=(n,e,t)=>e in n?RW(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Ah=(n,e,t)=>(XW(n,typeof e!="symbol"?e+"":e,t),t);import*as AW from"https://cdn.jsdelivr.net/npm/minizinc/dist/minizinc.mjs";import*as YW from"https://cdn.jsdelivr.net/npm/minizinc@edge/dist/minizinc.mjs";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();function we(){}const bd=n=>n;function UW(n,e){for(const t in e)n[t]=e[t];return n}function qb(n){return n()}function um(){return Object.create(null)}function Gt(n){n.forEach(qb)}function Fc(n){return typeof n=="function"}function di(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let Pf;function hm(n,e){return n===e?!0:(Pf||(Pf=document.createElement("a")),Pf.href=e,n===Pf.href)}function EW(n){return Object.keys(n).length===0}function zW(n,...e){if(n==null){for(const i of e)i(void 0);return we}const t=n.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Om(n,e,t){n.$$.on_destroy.push(zW(e,t))}function Fi(n,e,t,i){if(n){const r=Ib(n,e,t,i);return n[0](r)}}function Ib(n,e,t,i){return n[1]&&i?UW(t.ctx.slice(),n[1](i(e))):t.ctx}function Gi(n,e,t,i){if(n[2]&&i){const r=n[2](i(t));if(e.dirty===void 0)return r;if(typeof r=="object"){const s=[],l=Math.max(e.dirty.length,r.length);for(let o=0;o32){const e=[],t=n.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),$d=Nb?n=>requestAnimationFrame(n):we;const wl=new Set;function Bb(n){wl.forEach(e=>{e.c(n)||(wl.delete(e),e.f())}),wl.size!==0&&$d(Bb)}function jb(n){let e;return wl.size===0&&$d(Bb),{promise:new Promise(t=>{wl.add(e={c:n,f:t})}),abort(){wl.delete(e)}}}const MW=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Q(n,e){n.appendChild(e)}function Fb(n){if(!n)return document;const e=n.getRootNode?n.getRootNode():n.ownerDocument;return e&&e.host?e:n.ownerDocument}function VW(n){const e=P("style");return e.textContent="/* empty */",DW(Fb(n),e),e.sheet}function DW(n,e){return Q(n.head||n,e),e.sheet}function U(n,e,t){n.insertBefore(e,t||null)}function A(n){n.parentNode&&n.parentNode.removeChild(n)}function pi(n,e){for(let t=0;tn.removeEventListener(e,t,i)}function Gb(n){return function(e){return e.preventDefault(),n.call(this,e)}}function v(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function Lo(n){return n===""?null:+n}function qW(n){return Array.from(n.childNodes)}function Fe(n,e){e=""+e,n.data!==e&&(n.data=e)}function ni(n,e){n.value=e??""}function pm(n,e,t,i){t==null?n.style.removeProperty(e):n.style.setProperty(e,t,i?"important":"")}function Xl(n,e,t){for(let i=0;ie.__value)}function ce(n,e,t){n.classList.toggle(e,!!t)}function Hb(n,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:i})}const Oc=new Map;let dc=0;function NW(n){let e=5381,t=n.length;for(;t--;)e=(e<<5)-e^n.charCodeAt(t);return e>>>0}function LW(n,e){const t={stylesheet:VW(e),rules:{}};return Oc.set(n,t),t}function SO(n,e,t,i,r,s,l,o=0){const a=16.666/i;let c=`{ +`;for(let $=0;$<=1;$+=a){const k=e+(t-e)*s($);c+=$*100+`%{${l(k,1-k)}} +`}const h=c+`100% {${l(t,1-t)}} +}`,O=`__svelte_${NW(h)}_${o}`,p=Fb(n),{stylesheet:g,rules:b}=Oc.get(p)||LW(p,n);b[O]||(b[O]=!0,g.insertRule(`@keyframes ${O} ${h}`,g.cssRules.length));const y=n.style.animation||"";return n.style.animation=`${y?`${y}, `:""}${O} ${i}ms linear ${r}ms 1 both`,dc+=1,O}function Kb(n,e){const t=(n.style.animation||"").split(", "),i=t.filter(e?s=>s.indexOf(e)<0:s=>s.indexOf("__svelte")===-1),r=t.length-i.length;r&&(n.style.animation=i.join(", "),dc-=r,dc||BW())}function BW(){$d(()=>{dc||(Oc.forEach(n=>{const{ownerNode:e}=n.stylesheet;e&&A(e)}),Oc.clear())})}function jW(n,e,t,i){if(!e)return we;const r=n.getBoundingClientRect();if(e.left===r.left&&e.right===r.right&&e.top===r.top&&e.bottom===r.bottom)return we;const{delay:s=0,duration:l=300,easing:o=bd,start:a=Lb()+s,end:c=a+l,tick:h=we,css:O}=t(n,{from:e,to:r},i);let p=!0,g=!1,b;function y(){O&&(b=SO(n,0,1,l,s,o,O)),s||(g=!0)}function $(){O&&Kb(n,b),p=!1}return jb(k=>{if(!g&&k>=a&&(g=!0),g&&k>=c&&(h(1,0),$()),!p)return!1;if(g){const W=k-a,X=0+1*o(W/l);h(X,1-X)}return!0}),y(),h(0,1),$}function FW(n){const e=getComputedStyle(n);if(e.position!=="absolute"&&e.position!=="fixed"){const{width:t,height:i}=e,r=n.getBoundingClientRect();n.style.position="absolute",n.style.width=t,n.style.height=i,GW(n,r)}}function GW(n,e){const t=n.getBoundingClientRect();if(e.left!==t.left||e.top!==t.top){const i=getComputedStyle(n),r=i.transform==="none"?"":i.transform;n.style.transform=`${r} translate(${e.left-t.left}px, ${e.top-t.top}px)`}}let Bo;function zo(n){Bo=n}function Jb(){if(!Bo)throw new Error("Function called outside component initialization");return Bo}function Gc(n){Jb().$$.on_mount.push(n)}function Yn(){const n=Jb();return(e,t,{cancelable:i=!1}={})=>{const r=n.$$.callbacks[e];if(r){const s=Hb(e,t,{cancelable:i});return r.slice().forEach(l=>{l.call(n,s)}),!s.defaultPrevented}return!0}}function mm(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(i=>i.call(this,e))}const gl=[],Yt=[];let kl=[];const bO=[],e$=Promise.resolve();let $O=!1;function t$(){$O||($O=!0,e$.then(i$))}function jn(){return t$(),e$}function Gn(n){kl.push(n)}function Mo(n){bO.push(n)}const Yh=new Set;let Ol=0;function i$(){if(Ol!==0)return;const n=Bo;do{try{for(;Oln.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),kl=e}let vo;function JW(){return vo||(vo=Promise.resolve(),vo.then(()=>{vo=null})),vo}function Uh(n,e,t){n.dispatchEvent(Hb(`${e?"intro":"outro"}${t}`))}const ec=new Set;let Ur;function Ke(){Ur={r:0,c:[],p:Ur}}function Je(){Ur.r||Gt(Ur.c),Ur=Ur.p}function D(n,e){n&&n.i&&(ec.delete(n),n.i(e))}function L(n,e,t,i){if(n&&n.o){if(ec.has(n))return;ec.add(n),Ur.c.push(()=>{ec.delete(n),i&&(t&&n.d(1),i())}),n.o(e)}else i&&i()}const e5={duration:0};function bl(n,e,t,i){let s=e(n,t,{direction:"both"}),l=i?0:1,o=null,a=null,c=null,h;function O(){c&&Kb(n,c)}function p(b,y){const $=b.b-l;return y*=Math.abs($),{a:l,b:b.b,d:$,duration:y,start:b.start,end:b.start+y,group:b.group}}function g(b){const{delay:y=0,duration:$=300,easing:k=bd,tick:W=we,css:X}=s||e5,R={start:Lb()+y,b};b||(R.group=Ur,Ur.r+=1),"inert"in n&&(b?h!==void 0&&(n.inert=h):(h=n.inert,n.inert=!0)),o||a?a=R:(X&&(O(),c=SO(n,l,b,$,y,k,X)),b&&W(0,1),o=p(R,$),Gn(()=>Uh(n,b,"start")),jb(T=>{if(a&&T>a.start&&(o=p(a,$),a=null,Uh(n,o.b,"start"),X&&(O(),c=SO(n,l,o.b,o.duration,0,k,s.css))),o){if(T>=o.end)W(l=o.b,1-l),Uh(n,o.b,"end"),a||(o.b?O():--o.group.r||Gt(o.group.c)),o=null;else if(T>=o.start){const E=T-o.start;l=o.a+o.d*k(E/o.duration),W(l,1-l)}}return!!(o||a)}))}return{run(b){Fc(s)?JW().then(()=>{s=s({direction:b?"in":"out"}),g(b)}):g(b)},end(){O(),o=a=null}}}function at(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function t5(n,e){L(n,1,1,()=>{e.delete(n.key)})}function i5(n,e){n.f(),t5(n,e)}function n5(n,e,t,i,r,s,l,o,a,c,h,O){let p=n.length,g=s.length,b=p;const y={};for(;b--;)y[n[b].key]=b;const $=[],k=new Map,W=new Map,X=[];for(b=g;b--;){const M=O(r,s,b),z=t(M);let B=l.get(z);B?i&&X.push(()=>B.p(M,e)):(B=c(z,M),B.c()),k.set(z,$[b]=B),z in y&&W.set(z,Math.abs(b-y[z]))}const R=new Set,T=new Set;function E(M){D(M,1),M.m(o,h),l.set(M.key,M),h=M.first,g--}for(;p&&g;){const M=$[g-1],z=n[p-1],B=M.key,I=z.key;M===z?(h=M.first,p--,g--):k.has(I)?!l.has(B)||R.has(B)?E(M):T.has(I)?p--:W.get(B)>W.get(I)?(T.add(B),E(M)):(R.add(I),p--):(a(z,l),p--)}for(;p--;){const M=n[p];k.has(M.key)||a(M,l)}for(;g;)E($[g-1]);return Gt(X),$}function Vo(n,e,t){const i=n.$$.props[e];i!==void 0&&(n.$$.bound[i]=t,t(n.$$.ctx[i]))}function qe(n){n&&n.c()}function Ve(n,e,t){const{fragment:i,after_update:r}=n.$$;i&&i.m(e,t),Gn(()=>{const s=n.$$.on_mount.map(qb).filter(Fc);n.$$.on_destroy?n.$$.on_destroy.push(...s):Gt(s),n.$$.on_mount=[]}),r.forEach(Gn)}function De(n,e){const t=n.$$;t.fragment!==null&&(KW(t.after_update),Gt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function r5(n,e){n.$$.dirty[0]===-1&&(gl.push(n),t$(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<{const b=g.length?g[0]:p;return c.ctx&&r(c.ctx[O],c.ctx[O]=b)&&(!c.skip_bound&&c.bound[O]&&c.bound[O](b),h&&r5(n,O)),p}):[],c.update(),h=!0,Gt(c.before_update),c.fragment=i?i(c.ctx):!1,e.target){if(e.hydrate){const O=qW(e.target);c.fragment&&c.fragment.l(O),O.forEach(A)}else c.fragment&&c.fragment.c();e.intro&&D(n.$$.fragment),Ve(n,e.target,e.anchor),i$()}zo(a)}class _i{constructor(){Ah(this,"$$");Ah(this,"$$set")}$destroy(){De(this,1),this.$destroy=we}$on(e,t){if(!Fc(t))return we;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const r=i.indexOf(t);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!EW(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const s5="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(s5);const l5="modulepreload",o5=function(n,e){return new URL(n,e).href},Sm={},bm=function(e,t,i){if(!t||t.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map(s=>{if(s=o5(s,i),s in Sm)return;Sm[s]=!0;const l=s.endsWith(".css"),o=l?'[rel="stylesheet"]':"";if(!!i)for(let h=r.length-1;h>=0;h--){const O=r[h];if(O.href===s&&(!l||O.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${o}`))return;const c=document.createElement("link");if(c.rel=l?"stylesheet":l5,l||(c.as="script",c.crossOrigin=""),c.href=s,document.head.appendChild(c),l)return new Promise((h,O)=>{c.addEventListener("load",h),c.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>e()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})};class mt{lineAt(e){if(e<0||e>this.length)throw new 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 new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let r=[];return this.decompose(0,e,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(t,this.length,r,1),hr.from(r,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),hr.from(i,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),i=this.length-this.scanIdentical(e,-1),r=new Do(this),s=new Do(e);for(let l=t,o=t;;){if(r.next(l),s.next(l),l=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(o+=r.value.length,r.done||o>=i)return!0}}iter(e=1){return new Do(this,e)}iterRange(e,t=this.length){return new n$(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let r=this.line(e).from;i=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new r$(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?mt.empty:e.length<=32?new ti(e):hr.from(ti.split(e,[]))}}class ti extends mt{constructor(e,t=a5(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,r){for(let s=0;;s++){let l=this.text[s],o=r+l.length;if((t?i:o)>=e)return new f5(r,o,i,l);r=o+1,i++}}decompose(e,t,i,r){let s=e<=0&&t>=this.length?this:new ti($m(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let l=i.pop(),o=tc(s.text,l.text.slice(),0,s.length);if(o.length<=32)i.push(new ti(o,l.length+s.length));else{let a=o.length>>1;i.push(new ti(o.slice(0,a)),new ti(o.slice(a)))}}else i.push(s)}replace(e,t,i){if(!(i instanceof ti))return super.replace(e,t,i);let r=tc(this.text,tc(i.text,$m(this.text,0,e)),t),s=this.length+i.length-(t-e);return r.length<=32?new ti(r,s):hr.from(ti.split(r,[]),s)}sliceString(e,t=this.length,i=` +`){let r="";for(let s=0,l=0;s<=t&&le&&l&&(r+=i),es&&(r+=o.slice(Math.max(0,e-s),t-s)),s=a+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],r=-1;for(let s of e)i.push(s),r+=s.length+1,i.length==32&&(t.push(new ti(i,r)),i=[],r=-1);return r>-1&&t.push(new ti(i,r)),t}}class hr extends mt{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,r){for(let s=0;;s++){let l=this.children[s],o=r+l.length,a=i+l.lines-1;if((t?a:o)>=e)return l.lineInner(e,t,i,r);r=o+1,i=a+1}}decompose(e,t,i,r){for(let s=0,l=0;l<=t&&s=l){let c=r&((l<=e?1:0)|(a>=t?2:0));l>=e&&a<=t&&!c?i.push(o):o.decompose(e-l,t-l,i,c)}l=a+1}}replace(e,t,i){if(i.lines=s&&t<=o){let a=l.replace(e-s,t-s,i),c=this.lines-l.lines+a.lines;if(a.lines>4&&a.lines>c>>6){let h=this.children.slice();return h[r]=a,new hr(h,this.length-(t-e)+i.length)}return super.replace(s,o,a)}s=o+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=` +`){let r="";for(let s=0,l=0;se&&s&&(r+=i),el&&(r+=o.sliceString(e-l,t-l,i)),l=a+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof hr))return 0;let i=0,[r,s,l,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,s+=t){if(r==l||s==o)return i;let a=this.children[r],c=e.children[s];if(a!=c)return i+a.scanIdentical(c,t);i+=a.length+1}}static from(e,t=e.reduce((i,r)=>i+r.length+1,-1)){let i=0;for(let g of e)i+=g.lines;if(i<32){let g=[];for(let b of e)b.flatten(g);return new ti(g,t)}let r=Math.max(32,i>>5),s=r<<1,l=r>>1,o=[],a=0,c=-1,h=[];function O(g){let b;if(g.lines>s&&g instanceof hr)for(let y of g.children)O(y);else g.lines>l&&(a>l||!a)?(p(),o.push(g)):g instanceof ti&&a&&(b=h[h.length-1])instanceof ti&&g.lines+b.lines<=32?(a+=g.lines,c+=g.length+1,h[h.length-1]=new ti(b.text.concat(g.text),b.length+1+g.length)):(a+g.lines>r&&p(),a+=g.lines,c+=g.length+1,h.push(g))}function p(){a!=0&&(o.push(h.length==1?h[0]:hr.from(h,c)),c=-1,a=h.length=0)}for(let g of e)O(g);return p(),o.length==1?o[0]:new hr(o,t)}}mt.empty=new ti([""],0);function a5(n){let e=-1;for(let t of n)e+=t.length+1;return e}function tc(n,e,t=0,i=1e9){for(let r=0,s=0,l=!0;s=t&&(a>i&&(o=o.slice(0,i-r)),r0?1:(e instanceof ti?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,r=this.nodes[i],s=this.offsets[i],l=s>>1,o=r instanceof ti?r.text.length:r.children.length;if(l==(t>0?o:0)){if(i==0)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[i]+=t,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(r instanceof ti){let a=r.text[l+(t<0?-1:0)];if(this.offsets[i]+=t,a.length>Math.max(0,e))return this.value=e==0?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=r.children[l+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof ti?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class n${constructor(e,t,i){this.value="",this.done=!1,this.cursor=new Do(e,t>i?-1:1),this.pos=t>i?e.length:0,this.from=Math.min(t,i),this.to=Math.max(t,i)}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 i=t<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=i?r:t<0?r.slice(r.length-i):r.slice(0,i),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 r${constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:r}=this.inner.next(e);return t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(mt.prototype[Symbol.iterator]=function(){return this.iter()},Do.prototype[Symbol.iterator]=n$.prototype[Symbol.iterator]=r$.prototype[Symbol.iterator]=function(){return this});class f5{constructor(e,t,i,r){this.from=e,this.to=t,this.number=i,this.text=r}get length(){return this.to-this.from}}let _l="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(n=>n?parseInt(n,36):1);for(let n=1;n<_l.length;n++)_l[n]+=_l[n-1];function c5(n){for(let e=1;e<_l.length;e+=2)if(_l[e]>n)return _l[e-1]<=n;return!1}function ym(n){return n>=127462&&n<=127487}const vm=8205;function Ri(n,e,t=!0,i=!0){return(t?s$:u5)(n,e,i)}function s$(n,e,t){if(e==n.length)return e;e&&l$(n.charCodeAt(e))&&o$(n.charCodeAt(e-1))&&e--;let i=vi(n,e);for(e+=Tn(i);e=0&&ym(vi(n,l));)s++,l-=2;if(s%2==0)break;e+=2}else break}return e}function u5(n,e,t){for(;e>0;){let i=s$(n,e-2,t);if(i=56320&&n<57344}function o$(n){return n>=55296&&n<56320}function vi(n,e){let t=n.charCodeAt(e);if(!o$(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return l$(i)?(t-55296<<10)+(i-56320)+65536:t}function yd(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function Tn(n){return n<65536?1:2}const yO=/\r\n?|\n/;var Qi=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(Qi||(Qi={}));class mr{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return s+(e-r);s+=o}else{if(i!=Qi.Simple&&c>=e&&(i==Qi.TrackDel&&re||i==Qi.TrackBefore&&re))return null;if(c>e||c==e&&t<0&&!o)return e==r||t<0?s:s+a;s+=a}r=c}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,t=e){for(let i=0,r=0;i=0&&r<=t&&o>=e)return rt?"cover":!0;r=o}return!1}toString(){let e="";for(let t=0;t=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new mr(e)}static create(e){return new mr(e)}}class ci extends mr{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return vO(this,(t,i,r,s,l)=>e=e.replace(r,r+(i-t),l),!1),e}mapDesc(e,t=!1){return wO(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let r=0,s=0;r=0){t[r]=o,t[r+1]=l;let a=r>>1;for(;i.length0&&us(i,t,s.text),s.forward(h),o+=h}let c=e[l++];for(;o>1].toJSON()))}return e}static of(e,t,i){let r=[],s=[],l=0,o=null;function a(h=!1){if(!h&&!r.length)return;lp||O<0||p>t)throw new RangeError(`Invalid change range ${O} to ${p} (in doc of length ${t})`);let b=g?typeof g=="string"?mt.of(g.split(i||yO)):g:mt.empty,y=b.length;if(O==p&&y==0)return;Ol&&Ci(r,O-l,-1),Ci(r,p-O,y),us(s,r,b),l=p}}return c(e),a(!o),o}static empty(e){return new ci(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let r=0;ro&&typeof l!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)t.push(s[0],0);else{for(;i.length=0&&t<=0&&t==n[r+1]?n[r]+=e:e==0&&n[r]==0?n[r+1]+=t:i?(n[r]+=e,n[r+1]+=t):n.push(e,t)}function us(n,e,t){if(t.length==0)return;let i=e.length-2>>1;if(i>1])),!(t||l==n.sections.length||n.sections[l+1]<0);)o=n.sections[l++],a=n.sections[l++];e(r,c,s,h,O),r=c,s=h}}}function wO(n,e,t,i=!1){let r=[],s=i?[]:null,l=new jo(n),o=new jo(e);for(let a=-1;;)if(l.ins==-1&&o.ins==-1){let c=Math.min(l.len,o.len);Ci(r,c,-1),l.forward(c),o.forward(c)}else if(o.ins>=0&&(l.ins<0||a==l.i||l.off==0&&(o.len=0&&a=0){let c=0,h=l.len;for(;h;)if(o.ins==-1){let O=Math.min(h,o.len);c+=O,h-=O,o.forward(O)}else if(o.ins==0&&o.lena||l.ins>=0&&l.len>a)&&(o||i.length>c),s.forward2(a),l.forward(a)}}}}class jo{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?mt.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?mt.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Ds{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,t=-1){let i,r;return this.empty?i=r=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),i==this.from&&r==this.to?this:new Ds(i,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return J.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return J.range(this.anchor,i)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return J.range(e.anchor,e.head)}static create(e,t,i){return new Ds(e,t,i)}}class J{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:J.create(this.ranges.map(i=>i.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)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new J(e.ranges.map(t=>Ds.fromJSON(t)),e.main)}static single(e,t=e){return new J([J.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,r=0;re?8:0)|s)}static normalized(e,t=0){let i=e[t];e.sort((r,s)=>r.from-s.from),t=e.indexOf(i);for(let r=1;rs.head?J.range(a,o):J.range(o,a))}}return new J(e,t)}}function f$(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let vd=0;class ve{constructor(e,t,i,r,s){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=r,this.id=vd++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new ve(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:wd),!!e.static,e.enables)}of(e){return new ic([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new ic(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new ic(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function wd(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class ic{constructor(e,t,i,r){this.dependencies=e,this.facet=t,this.type=i,this.value=r,this.id=vd++}dynamicSlot(e){var t;let i=this.value,r=this.facet.compareInput,s=this.id,l=e[s]>>1,o=this.type==2,a=!1,c=!1,h=[];for(let O of this.dependencies)O=="doc"?a=!0:O=="selection"?c=!0:((t=e[O.id])!==null&&t!==void 0?t:1)&1||h.push(e[O.id]);return{create(O){return O.values[l]=i(O),1},update(O,p){if(a&&p.docChanged||c&&(p.docChanged||p.selection)||QO(O,h)){let g=i(O);if(o?!wm(g,O.values[l],r):!r(g,O.values[l]))return O.values[l]=g,1}return 0},reconfigure:(O,p)=>{let g,b=p.config.address[s];if(b!=null){let y=gc(p,b);if(this.dependencies.every($=>$ instanceof ve?p.facet($)===O.facet($):$ instanceof hi?p.field($,!1)==O.field($,!1):!0)||(o?wm(g=i(O),y,r):r(g=i(O),y)))return O.values[l]=y,0}else g=i(O);return O.values[l]=g,1}}}}function wm(n,e,t){if(n.length!=e.length)return!1;for(let i=0;in[a.id]),r=t.map(a=>a.type),s=i.filter(a=>!(a&1)),l=n[e.id]>>1;function o(a){let c=[];for(let h=0;hi===r),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(Qm).find(i=>i.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:i=>(i.values[t]=this.create(i),1),update:(i,r)=>{let s=i.values[t],l=this.updateF(s,r);return this.compareF(s,l)?0:(i.values[t]=l,1)},reconfigure:(i,r)=>r.config.address[this.id]!=null?(i.values[t]=r.field(this),0):(i.values[t]=this.create(i),1)}}init(e){return[this,Qm.of({field:this,create:e})]}get extension(){return this}}const zs={lowest:4,low:3,default:2,high:1,highest:0};function wo(n){return e=>new c$(e,n)}const js={highest:wo(zs.highest),high:wo(zs.high),default:wo(zs.default),low:wo(zs.low),lowest:wo(zs.lowest)};class c${constructor(e,t){this.inner=e,this.prec=t}}class Vl{of(e){return new kO(this,e)}reconfigure(e){return Vl.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class kO{constructor(e,t){this.compartment=e,this.inner=t}}class pc{constructor(e,t,i,r,s,l){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=r,this.staticValues=s,this.facets=l,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,i){let r=[],s=Object.create(null),l=new Map;for(let p of O5(e,t,l))p instanceof hi?r.push(p):(s[p.facet.id]||(s[p.facet.id]=[])).push(p);let o=Object.create(null),a=[],c=[];for(let p of r)o[p.id]=c.length<<1,c.push(g=>p.slot(g));let h=i==null?void 0:i.config.facets;for(let p in s){let g=s[p],b=g[0].facet,y=h&&h[p]||[];if(g.every($=>$.type==0))if(o[b.id]=a.length<<1|1,wd(y,g))a.push(i.facet(b));else{let $=b.combine(g.map(k=>k.value));a.push(i&&b.compare($,i.facet(b))?i.facet(b):$)}else{for(let $ of g)$.type==0?(o[$.id]=a.length<<1|1,a.push($.value)):(o[$.id]=c.length<<1,c.push(k=>$.dynamicSlot(k)));o[b.id]=c.length<<1,c.push($=>h5($,b,g))}}let O=c.map(p=>p(o));return new pc(e,l,O,o,a,s)}}function O5(n,e,t){let i=[[],[],[],[],[]],r=new Map;function s(l,o){let a=r.get(l);if(a!=null){if(a<=o)return;let c=i[a].indexOf(l);c>-1&&i[a].splice(c,1),l instanceof kO&&t.delete(l.compartment)}if(r.set(l,o),Array.isArray(l))for(let c of l)s(c,o);else if(l instanceof kO){if(t.has(l.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(l.compartment)||l.inner;t.set(l.compartment,c),s(c,o)}else if(l instanceof c$)s(l.inner,l.prec);else if(l instanceof hi)i[o].push(l),l.provides&&s(l.provides,o);else if(l instanceof ic)i[o].push(l),l.facet.extensions&&s(l.facet.extensions,zs.default);else{let c=l.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${l}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(c,o)}}return s(n,zs.default),i.reduce((l,o)=>l.concat(o))}function qo(n,e){if(e&1)return 2;let t=e>>1,i=n.status[t];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;n.status[t]=4;let r=n.computeSlot(n,n.config.dynamicSlots[t]);return n.status[t]=2|r}function gc(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const u$=ve.define(),h$=ve.define({combine:n=>n.some(e=>e),static:!0}),O$=ve.define({combine:n=>n.length?n[0]:void 0,static:!0}),d$=ve.define(),p$=ve.define(),g$=ve.define(),m$=ve.define({combine:n=>n.length?n[0]:!1});class qr{constructor(e,t){this.type=e,this.value=t}static define(){return new d5}}class d5{of(e){return new qr(this,e)}}class p5{constructor(e){this.map=e}of(e){return new Le(this,e)}}class Le{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new Le(this.type,t)}is(e){return this.type==e}static define(e={}){return new p5(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let r of e){let s=r.map(t);s&&i.push(s)}return i}}Le.reconfigure=Le.define();Le.appendConfig=Le.define();class ui{constructor(e,t,i,r,s,l){this.startState=e,this.changes=t,this.selection=i,this.effects=r,this.annotations=s,this.scrollIntoView=l,this._doc=null,this._state=null,i&&f$(i,t.newLength),s.some(o=>o.type==ui.time)||(this.annotations=s.concat(ui.time.of(Date.now())))}static create(e,t,i,r,s,l){return new ui(e,t,i,r,s,l)}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(ui.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}ui.time=qr.define();ui.userEvent=qr.define();ui.addToHistory=qr.define();ui.remote=qr.define();function g5(n,e){let t=[];for(let i=0,r=0;;){let s,l;if(i=n[i]))s=n[i++],l=n[i++];else if(r=0;r--){let s=i[r](n);s instanceof ui?n=s:Array.isArray(s)&&s.length==1&&s[0]instanceof ui?n=s[0]:n=b$(e,Pl(s),!1)}return n}function S5(n){let e=n.startState,t=e.facet(g$),i=n;for(let r=t.length-1;r>=0;r--){let s=t[r](n);s&&Object.keys(s).length&&(i=S$(i,_O(e,s,n.changes.newLength),!0))}return i==n?n:ui.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const b5=[];function Pl(n){return n==null?b5:Array.isArray(n)?n:[n]}var Vt=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(Vt||(Vt={}));const $5=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let PO;try{PO=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function y5(n){if(PO)return PO.test(n);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||$5.test(t)))return!0}return!1}function v5(n){return e=>{if(!/\S/.test(e))return Vt.Space;if(y5(e))return Vt.Word;for(let t=0;t-1)return Vt.Word;return Vt.Other}}class ht{constructor(e,t,i,r,s,l){this.config=e,this.doc=t,this.selection=i,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,l&&(l._state=this);for(let o=0;or.set(a,o)),t=null),r.set(l.value.compartment,l.value.extension)):l.is(Le.reconfigure)?(t=null,i=l.value):l.is(Le.appendConfig)&&(t=null,i=Pl(i).concat(l.value));let s;t?s=e.startState.values.slice():(t=pc.resolve(i,r,this),s=new ht(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(o,a)=>a.reconfigure(o,this),null).values),new ht(t,e.newDoc,e.newSelection,s,(l,o)=>o.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:J.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),r=this.changes(i.changes),s=[i.range],l=Pl(i.effects);for(let o=1;ol.spec.fromJSON(o,a)))}}return ht.create({doc:e.doc,selection:J.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=pc.resolve(e.extensions||[],new Map),i=e.doc instanceof mt?e.doc:mt.of((e.doc||"").split(t.staticFacet(ht.lineSeparator)||yO)),r=e.selection?e.selection instanceof J?e.selection:J.single(e.selection.anchor,e.selection.head):J.single(0);return f$(r,i.length),t.staticFacet(h$)||(r=r.asSingle()),new ht(t,i,r,t.dynamicSlots.map(()=>null),(s,l)=>l.create(s),null)}get tabSize(){return this.facet(ht.tabSize)}get lineBreak(){return this.facet(ht.lineSeparator)||` +`}get readOnly(){return this.facet(m$)}phrase(e,...t){for(let i of this.facet(ht.phrases))if(Object.prototype.hasOwnProperty.call(i,e)){e=i[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(i,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>t.length?i:t[s-1]})),e}languageDataAt(e,t,i=-1){let r=[];for(let s of this.facet(u$))for(let l of s(this,t,i))Object.prototype.hasOwnProperty.call(l,e)&&r.push(l[e]);return r}charCategorizer(e){return v5(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:i,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),l=e-i,o=e-i;for(;l>0;){let a=Ri(t,l,!1);if(s(t.slice(a,l))!=Vt.Word)break;l=a}for(;on.length?n[0]:4});ht.lineSeparator=O$;ht.readOnly=m$;ht.phrases=ve.define({compare(n,e){let t=Object.keys(n),i=Object.keys(e);return t.length==i.length&&t.every(r=>n[r]==e[r])}});ht.languageData=u$;ht.changeFilter=d$;ht.transactionFilter=p$;ht.transactionExtender=g$;Vl.reconfigure=Le.define();function br(n,e,t={}){let i={};for(let r of n)for(let s of Object.keys(r)){let l=r[s],o=i[s];if(o===void 0)i[s]=l;else if(!(o===l||l===void 0))if(Object.hasOwnProperty.call(t,s))i[s]=t[s](o,l);else throw new Error("Config merge conflict for field "+s)}for(let r in e)i[r]===void 0&&(i[r]=e[r]);return i}class Is{eq(e){return this==e}range(e,t=e){return xO.create(e,t,this)}}Is.prototype.startSide=Is.prototype.endSide=0;Is.prototype.point=!1;Is.prototype.mapMode=Qi.TrackDel;let xO=class $${constructor(e,t,i){this.from=e,this.to=t,this.value=i}static create(e,t,i){return new $$(e,t,i)}};function WO(n,e){return n.from-e.from||n.value.startSide-e.value.startSide}class Qd{constructor(e,t,i,r){this.from=e,this.to=t,this.value=i,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,i,r=0){let s=i?this.to:this.from;for(let l=r,o=s.length;;){if(l==o)return l;let a=l+o>>1,c=s[a]-e||(i?this.value[a].endSide:this.value[a].startSide)-t;if(a==l)return c>=0?l:o;c>=0?o=a:l=a+1}}between(e,t,i,r){for(let s=this.findIndex(t,-1e9,!0),l=this.findIndex(i,1e9,!1,s);sg||p==g&&c.startSide>0&&c.endSide<=0)continue;(g-p||c.endSide-c.startSide)<0||(l<0&&(l=p),c.point&&(o=Math.max(o,g-p)),i.push(c),r.push(p-l),s.push(g-l))}return{mapped:i.length?new Qd(r,s,i,o):null,pos:l}}}class wt{constructor(e,t,i,r){this.chunkPos=e,this.chunk=t,this.nextLayer=i,this.maxPoint=r}static create(e,t,i,r){return new wt(e,t,i,r)}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:i=!1,filterFrom:r=0,filterTo:s=this.length}=e,l=e.filter;if(t.length==0&&!l)return this;if(i&&(t=t.slice().sort(WO)),this.isEmpty)return t.length?wt.of(t):this;let o=new y$(this,null,-1).goto(0),a=0,c=[],h=new ms;for(;o.value||a=0){let O=t[a++];h.addInner(O.from,O.to,O.value)||c.push(O)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||so.to||s=s&&e<=s+l.length&&l.between(s,e-s,t-s,i)===!1)return}this.nextLayer.between(e,t,i)}}iter(e=0){return Fo.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Fo.from(e).goto(t)}static compare(e,t,i,r,s=-1){let l=e.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),o=t.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),a=km(l,o,i),c=new Qo(l,a,s),h=new Qo(o,a,s);i.iterGaps((O,p,g)=>_m(c,O,h,p,g,r)),i.empty&&i.length==0&&_m(c,0,h,0,0,r)}static eq(e,t,i=0,r){r==null&&(r=999999999);let s=e.filter(h=>!h.isEmpty&&t.indexOf(h)<0),l=t.filter(h=>!h.isEmpty&&e.indexOf(h)<0);if(s.length!=l.length)return!1;if(!s.length)return!0;let o=km(s,l),a=new Qo(s,o,0).goto(i),c=new Qo(l,o,0).goto(i);for(;;){if(a.to!=c.to||!CO(a.active,c.active)||a.point&&(!c.point||!a.point.eq(c.point)))return!1;if(a.to>r)return!0;a.next(),c.next()}}static spans(e,t,i,r,s=-1){let l=new Qo(e,null,s).goto(t),o=t,a=l.openStart;for(;;){let c=Math.min(l.to,i);if(l.point){let h=l.activeForPoint(l.to),O=l.pointFromo&&(r.span(o,c,l.active,a),a=l.openEnd(c));if(l.to>i)return a+(l.point&&l.to>i?1:0);o=l.to,l.next()}}static of(e,t=!1){let i=new ms;for(let r of e instanceof xO?[e]:t?w5(e):e)i.add(r.from,r.to,r.value);return i.finish()}}wt.empty=new wt([],[],null,-1);function w5(n){if(n.length>1)for(let e=n[0],t=1;t0)return n.slice().sort(WO);e=i}return n}wt.empty.nextLayer=wt.empty;class ms{finishChunk(e){this.chunks.push(new Qd(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=[])}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}add(e,t,i){this.addInner(e,t,i)||(this.nextLayer||(this.nextLayer=new ms)).add(e,t,i)}addInner(e,t,i){let r=e-this.lastTo||i.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=t,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)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 i=t.value.length-1;return this.last=t.value[i],this.lastFrom=t.from[i]+e,this.lastTo=t.to[i]+e,!0}finish(){return this.finishInner(wt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=wt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function km(n,e,t){let i=new Map;for(let s of n)for(let l=0;l=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=i&&r.push(new y$(l,t,i,s));return r.length==1?r[0]:new Fo(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let i of this.heap)i.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)Eh(this.heap,i);return this.next(),this}forward(e,t){for(let i of this.heap)i.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)Eh(this.heap,i);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)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(),Eh(this.heap,0)}}}function Eh(n,e){for(let t=n[e];;){let i=(e<<1)+1;if(i>=n.length)break;let r=n[i];if(i+1=0&&(r=n[i+1],i++),t.compare(r)<0)break;n[i]=t,n[e]=r,e=i}}class Qo{constructor(e,t,i){this.minPoint=i,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=Fo.from(e,t,i)}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&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){xf(this.active,e),xf(this.activeTo,e),xf(this.activeRank,e),this.minActive=Pm(this.active,this.activeTo)}addActive(e){let t=0,{value:i,to:r,rank:s}=this.cursor;for(;t-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),i&&xf(i,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(i),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&i[r]=0&&!(this.activeRank[i]e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&t.push(this.active[i]);return t.reverse()}openEnd(e){let t=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)t++;return t}}function _m(n,e,t,i,r,s){n.goto(e),t.goto(i);let l=i+r,o=i,a=i-e;for(;;){let c=n.to+a-t.to||n.endSide-t.endSide,h=c<0?n.to+a:t.to,O=Math.min(h,l);if(n.point||t.point?n.point&&t.point&&(n.point==t.point||n.point.eq(t.point))&&CO(n.activeForPoint(n.to),t.activeForPoint(t.to))||s.comparePoint(o,O,n.point,t.point):O>o&&!CO(n.active,t.active)&&s.compareRange(o,O,n.active,t.active),h>l)break;o=h,c<=0&&n.next(),c>=0&&t.next()}}function CO(n,e){if(n.length!=e.length)return!1;for(let t=0;t=e;i--)n[i+1]=n[i];n[e]=t}function Pm(n,e){let t=-1,i=1e9;for(let r=0;r=e)return r;if(r==n.length)break;s+=n.charCodeAt(r)==9?t-s%t:1,r=Ri(n,r)}return i===!0?-1:n.length}const ZO="ͼ",xm=typeof Symbol>"u"?"__"+ZO:Symbol.for(ZO),RO=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Wm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Ss{constructor(e,t){this.rules=[];let{finish:i}=t||{};function r(l){return/^@/.test(l)?[l]:l.split(/,\s*/)}function s(l,o,a,c){let h=[],O=/^@(\w+)\b/.exec(l[0]),p=O&&O[1]=="keyframes";if(O&&o==null)return a.push(l[0]+";");for(let g in o){let b=o[g];if(/&/.test(g))s(g.split(/,\s*/).map(y=>l.map($=>y.replace(/&/,$))).reduce((y,$)=>y.concat($)),b,a);else if(b&&typeof b=="object"){if(!O)throw new RangeError("The value of a property ("+g+") should be a primitive value.");s(r(g),b,h,p)}else b!=null&&h.push(g.replace(/_.*/,"").replace(/[A-Z]/g,y=>"-"+y.toLowerCase())+": "+b+";")}(h.length||p)&&a.push((i&&!O&&!c?l.map(i):l).join(", ")+" {"+h.join(" ")+"}")}for(let l in e)s(r(l),e[l],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=Wm[xm]||1;return Wm[xm]=e+1,ZO+e.toString(36)}static mount(e,t,i){let r=e[RO],s=i&&i.nonce;r?s&&r.setNonce(s):r=new Q5(e,s),r.mount(Array.isArray(t)?t:[t])}}let Cm=new Map;class Q5{constructor(e,t){let i=e.ownerDocument||e,r=i.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=Cm.get(i);if(s)return e.adoptedStyleSheets=[s.sheet,...e.adoptedStyleSheets],e[RO]=s;this.sheet=new r.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],Cm.set(i,this)}else{this.styleTag=i.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);let s=e.head||e;s.insertBefore(this.styleTag,s.firstChild)}this.modules=[],e[RO]=this}mount(e){let t=this.sheet,i=0,r=0;for(let s=0;s-1&&(this.modules.splice(o,1),r--,o=-1),o==-1){if(this.modules.splice(r++,0,l),t)for(let a=0;a",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},k5=typeof navigator<"u"&&/Mac/.test(navigator.platform),_5=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var wi=0;wi<10;wi++)bs[48+wi]=bs[96+wi]=String(wi);for(var wi=1;wi<=24;wi++)bs[wi+111]="F"+wi;for(var wi=65;wi<=90;wi++)bs[wi]=String.fromCharCode(wi+32),Go[wi]=String.fromCharCode(wi);for(var zh in bs)Go.hasOwnProperty(zh)||(Go[zh]=bs[zh]);function P5(n){var e=k5&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||_5&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?Go:bs)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function mc(n){let e;return n.nodeType==11?e=n.getSelection?n:n.ownerDocument:e=n,e.getSelection()}function XO(n,e){return e?n==e||n.contains(e.nodeType!=1?e.parentNode:e):!1}function x5(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function nc(n,e){if(!e.anchorNode)return!1;try{return XO(n,e.anchorNode)}catch{return!1}}function Ho(n){return n.nodeType==3?Ns(n,0,n.nodeValue.length).getClientRects():n.nodeType==1?n.getClientRects():[]}function Sc(n,e,t,i){return t?Tm(n,e,t,i,-1)||Tm(n,e,t,i,1):!1}function Ko(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e}function Tm(n,e,t,i,r){for(;;){if(n==t&&e==i)return!0;if(e==(r<0?0:zr(n))){if(n.nodeName=="DIV")return!1;let s=n.parentNode;if(!s||s.nodeType!=1)return!1;e=Ko(n)+(r<0?0:1),n=s}else if(n.nodeType==1){if(n=n.childNodes[e+(r<0?-1:0)],n.nodeType==1&&n.contentEditable=="false")return!1;e=r<0?zr(n):0}else return!1}}function zr(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function kd(n,e){let t=e?n.left:n.right;return{left:t,right:t,top:n.top,bottom:n.bottom}}function W5(n){return{left:0,right:n.innerWidth,top:0,bottom:n.innerHeight}}function C5(n,e,t,i,r,s,l,o){let a=n.ownerDocument,c=a.defaultView||window;for(let h=n,O=!1;h&&!O;)if(h.nodeType==1){let p,g=h==a.body,b=1,y=1;if(g)p=W5(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(h).position)&&(O=!0),h.scrollHeight<=h.clientHeight&&h.scrollWidth<=h.clientWidth){h=h.assignedSlot||h.parentNode;continue}let W=h.getBoundingClientRect();b=W.width/h.offsetWidth,y=W.height/h.offsetHeight,p={left:W.left,right:W.left+h.clientWidth*b,top:W.top,bottom:W.top+h.clientHeight*y}}let $=0,k=0;if(r=="nearest")e.top0&&e.bottom>p.bottom+k&&(k=e.bottom-p.bottom+k+l)):e.bottom>p.bottom&&(k=e.bottom-p.bottom+l,t<0&&e.top-k0&&e.right>p.right+$&&($=e.right-p.right+$+s)):e.right>p.right&&($=e.right-p.right+s,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class Z5{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:i}=e;this.set(t,Math.min(e.anchorOffset,t?zr(t):0),i,Math.min(e.focusOffset,i?zr(i):0))}set(e,t,i,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=r}}let dl=null;function v$(n){if(n.setActive)return n.setActive();if(dl)return n.focus(dl);let e=[];for(let t=n;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(n.focus(dl==null?{get preventScroll(){return dl={preventScroll:!0},!0}}:void 0),!dl){dl=!1;for(let t=0;tMath.max(1,n.scrollHeight-n.clientHeight-4)}class Ti{constructor(e,t,i=!0){this.node=e,this.offset=t,this.precise=i}static before(e,t){return new Ti(e.parentNode,Ko(e),t)}static after(e,t){return new Ti(e.parentNode,Ko(e)+1,t)}}const _d=[];class At{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let i of this.children){if(i==e)return t;t+=i.length+i.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.flags&2){let i=this.dom,r=null,s;for(let l of this.children){if(l.flags&7){if(!l.dom&&(s=r?r.nextSibling:i.firstChild)){let o=At.get(s);(!o||!o.parent&&o.canReuseDOM(l))&&l.reuseDOM(s)}l.sync(e,t),l.flags&=-8}if(s=r?r.nextSibling:i.firstChild,t&&!t.written&&t.node==i&&s!=l.dom&&(t.written=!0),l.dom.parentNode==i)for(;s&&s!=l.dom;)s=Rm(s);else i.insertBefore(l.dom,s);r=l.dom}for(s=r?r.nextSibling:i.firstChild,s&&t&&t.node==i&&(t.written=!0);s;)s=Rm(s)}else if(this.flags&1)for(let i of this.children)i.flags&7&&(i.sync(e,t),i.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let i;if(e==this.dom)i=this.dom.childNodes[t];else{let r=zr(e)==0?0:t==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;r==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?r=-1:r=1),e=s}r<0?i=e:i=e.nextSibling}if(i==this.dom.firstChild)return 0;for(;i&&!At.get(i);)i=i.nextSibling;if(!i)return this.length;for(let r=0,s=0;;r++){let l=this.children[r];if(l.dom==i)return s;s+=l.length+l.breakAfter}}domBoundsAround(e,t,i=0){let r=-1,s=-1,l=-1,o=-1;for(let a=0,c=i,h=i;at)return O.domBoundsAround(e,t,c);if(p>=e&&r==-1&&(r=a,s=c),c>t&&O.dom.parentNode==this.dom){l=a,o=h;break}h=p,c=p+O.breakAfter}return{from:s,to:o<0?i+this.length:o,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:l=0?this.children[l].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),t.flags&1)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,i=_d){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function _$(n,e,t,i,r,s,l,o,a){let{children:c}=n,h=c.length?c[e]:null,O=s.length?s[s.length-1]:null,p=O?O.breakAfter:l;if(!(e==i&&h&&!l&&!p&&s.length<2&&h.merge(t,r,s.length?O:null,t==0,o,a))){if(i0&&(!l&&s.length&&h.merge(t,h.length,s[0],!1,o,0)?h.breakAfter=s.shift().breakAfter:(t2);var Pe={mac:Ym||/Mac/.test(pn.platform),windows:/Win/.test(pn.platform),linux:/Linux|X11/.test(pn.platform),ie:Hc,ie_version:x$?AO.documentMode||6:UO?+UO[1]:YO?+YO[1]:0,gecko:Xm,gecko_version:Xm?+(/Firefox\/(\d+)/.exec(pn.userAgent)||[0,0])[1]:0,chrome:!!Mh,chrome_version:Mh?+Mh[1]:0,ios:Ym,android:/Android\b/.test(pn.userAgent),webkit:Am,safari:W$,webkit_version:Am?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:AO.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const A5=256;class Mr extends At{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,i){return this.flags&8||i&&(!(i instanceof Mr)||this.length-(t-e)+i.length>A5||i.flags&8)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new Mr(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=this.flags&8,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Ti(this.dom,e)}domBoundsAround(e,t,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return Y5(this.dom,e,t)}}class Vr extends At{constructor(e,t=[],i=0){super(),this.mark=e,this.children=t,this.length=i;for(let r of t)r.setParent(this)}setAttrs(e){if(w$(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,i,r,s,l){return i&&(!(i instanceof Vr&&i.mark.eq(this.mark))||e&&s<=0||te&&t.push(i=e&&(r=s),i=a,s++}let l=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Vr(this.mark,t,l)}domAtPos(e){return C$(this,e)}coordsAt(e,t){return Z$(this,e,t)}}function Y5(n,e,t){let i=n.nodeValue.length;e>i&&(e=i);let r=e,s=e,l=0;e==0&&t<0||e==i&&t>=0?Pe.chrome||Pe.gecko||(e?(r--,l=1):s=0)?0:o.length-1];return Pe.safari&&!l&&a.width==0&&(a=Array.prototype.find.call(o,c=>c.width)||a),l?kd(a,l<0):a||null}class hs extends At{static create(e,t,i){return new hs(e,t,i)}constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}split(e){let t=hs.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,i,r,s,l){return i&&(!(i instanceof hs)||!this.widget.compare(i.widget)||e>0&&s<=0||t0)?Ti.before(this.dom):Ti.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let i=this.widget.coordsAt(this.dom,e,t);if(i)return i;let r=this.dom.getClientRects(),s=null;if(!r.length)return null;let l=this.side?this.side<0:e>0;for(let o=l?r.length-1:0;s=r[o],!(e>0?o==0:o==r.length-1||s.top0?Ti.before(this.dom):Ti.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return mt.empty}get isHidden(){return!0}}Mr.prototype.children=hs.prototype.children=Al.prototype.children=_d;function C$(n,e){let t=n.dom,{children:i}=n,r=0;for(let s=0;rs&&e0;s--){let l=i[s-1];if(l.dom.parentNode==t)return l.domAtPos(l.length)}for(let s=r;s0&&e instanceof Vr&&r.length&&(i=r[r.length-1])instanceof Vr&&i.mark.eq(e.mark)?T$(i,e.children[0],t-1):(r.push(e),e.setParent(n)),n.length+=e.length}function Z$(n,e,t){let i=null,r=-1,s=null,l=-1;function o(c,h){for(let O=0,p=0;O=h&&(g.children.length?o(g,h-p):(!s||s.isHidden&&t>0)&&(b>h||p==b&&g.getSide()>0)?(s=g,l=h-p):(p-1?1:0)!=r.length-(t&&r.indexOf(t)>-1?1:0))return!1;for(let s of i)if(s!=t&&(r.indexOf(s)==-1||n[s]!==e[s]))return!1;return!0}function zO(n,e,t){let i=!1;if(e)for(let r in e)t&&r in t||(i=!0,r=="style"?n.style.cssText="":n.removeAttribute(r));if(t)for(let r in t)e&&e[r]==t[r]||(i=!0,r=="style"?n.style.cssText=t[r]:n.setAttribute(r,t[r]));return i}function E5(n){let e=Object.create(null);for(let t=0;t0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){Pd(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){T$(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=EO(t,this.attrs||{})),i&&(this.attrs=EO({class:i},this.attrs||{}))}domAtPos(e){return C$(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var i;this.dom?this.flags&4&&(w$(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(zO(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let r=this.dom.lastChild;for(;r&&At.get(r)instanceof Vr;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((i=At.get(r))===null||i===void 0?void 0:i.isEditable)==!1&&(!Pe.ios||!this.children.some(s=>s instanceof Mr))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let i of this.children){if(!(i instanceof Mr)||/[^ -~]/.test(i.text))return null;let r=Ho(i.dom);if(r.length!=1)return null;e+=r[0].width,t=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let i=Z$(this,e,t);if(!this.children.length&&i&&this.parent){let{heightOracle:r}=this.parent.view.viewState,s=i.bottom-i.top;if(Math.abs(s-r.lineHeight)<2&&r.textHeight=t){if(s instanceof fi)return s;if(l>t)break}r=l+s.breakAfter}return null}}class ds extends At{constructor(e,t,i){super(),this.widget=e,this.length=t,this.deco=i,this.breakAfter=0,this.prevWidget=null}merge(e,t,i,r,s,l){return i&&(!(i instanceof ds)||!this.widget.compare(i.widget)||e>0&&s<=0||t0}}class Ir{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,i){return null}get isHidden(){return!1}destroy(e){}}var Mi=function(n){return n[n.Text=0]="Text",n[n.WidgetBefore=1]="WidgetBefore",n[n.WidgetAfter=2]="WidgetAfter",n[n.WidgetRange=3]="WidgetRange",n}(Mi||(Mi={}));class Re extends Is{constructor(e,t,i,r){super(),this.startSide=e,this.endSide=t,this.widget=i,this.spec=r}get heightRelevant(){return!1}static mark(e){return new ha(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),i=!!e.block;return t+=i&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new $s(e,t,t,i,e.widget||null,!1)}static replace(e){let t=!!e.block,i,r;if(e.isBlockGap)i=-5e8,r=4e8;else{let{start:s,end:l}=R$(e,t);i=(s?t?-3e8:-1:5e8)-1,r=(l?t?2e8:1:-6e8)+1}return new $s(e,i,r,t,e.widget||null,!0)}static line(e){return new Oa(e)}static set(e,t=!1){return wt.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Re.none=wt.empty;class ha extends Re{constructor(e){let{start:t,end:i}=R$(e);super(t?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,i;return this==e||e instanceof ha&&this.tagName==e.tagName&&(this.class||((t=this.attrs)===null||t===void 0?void 0:t.class))==(e.class||((i=e.attrs)===null||i===void 0?void 0:i.class))&&Pd(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}ha.prototype.point=!1;class Oa extends Re{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Oa&&this.spec.class==e.spec.class&&Pd(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}Oa.prototype.mapMode=Qi.TrackBefore;Oa.prototype.point=!0;class $s extends Re{constructor(e,t,i,r,s,l){super(t,i,s,e),this.block=r,this.isReplace=l,this.mapMode=r?t<=0?Qi.TrackBefore:Qi.TrackAfter:Qi.TrackDel}get type(){return this.startSide!=this.endSide?Mi.WidgetRange:this.startSide<=0?Mi.WidgetBefore:Mi.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof $s&&z5(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}$s.prototype.point=!0;function R$(n,e=!1){let{inclusiveStart:t,inclusiveEnd:i}=n;return t==null&&(t=n.inclusive),i==null&&(i=n.inclusive),{start:t??e,end:i??e}}function z5(n,e){return n==e||!!(n&&e&&n.compare(e))}function MO(n,e,t,i=0){let r=t.length-1;r>=0&&t[r]+i>=n?t[r]=Math.max(t[r],e):t.push(n,e)}class Io{constructor(e,t,i,r){this.doc=e,this.pos=t,this.end=i,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof ds&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new fi),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Cf(new Al(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof ds)&&this.getLine()}buildText(e,t,i){for(;e>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:l,done:o}=this.cursor.next(this.skip);if(this.skip=0,o)throw new Error("Ran out of text content when drawing inline views");if(l){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-i)),this.getLine().append(Cf(new Mr(this.text.slice(this.textOff,this.textOff+r)),t),i),this.atCursorPos=!0,this.textOff+=r,e-=r,i=0}}span(e,t,i,r){this.buildText(t-e,i,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,i,r,s,l){if(this.disallowBlockEffectsFor[l]&&i instanceof $s){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let o=t-e;if(i instanceof $s)if(i.block)i.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new ds(i.widget||new Em("div"),o,i));else{let a=hs.create(i.widget||new Em("span"),o,o?0:i.startSide),c=this.atCursorPos&&!a.isEditable&&s<=r.length&&(e0),h=!a.isEditable&&(er.length||i.startSide<=0),O=this.getLine();this.pendingBuffer==2&&!c&&!a.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),c&&(O.append(Cf(new Al(1),r),s),s=r.length+Math.max(0,s-r.length)),O.append(Cf(a,r),s),this.atCursorPos=h,this.pendingBuffer=h?er.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(i);o&&(this.textOff+o<=this.text.length?this.textOff+=o:(this.skip+=o-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=s)}static build(e,t,i,r,s){let l=new Io(e,t,i,s);return l.openEnd=wt.spans(r,t,i,l),l.openStart<0&&(l.openStart=l.openEnd),l.finish(l.openEnd),l}}function Cf(n,e){for(let t of e)n=new Vr(t,[n],n.length);return n}class Em extends Ir{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const X$=ve.define(),A$=ve.define(),Y$=ve.define(),U$=ve.define(),VO=ve.define(),E$=ve.define(),z$=ve.define(),M$=ve.define({combine:n=>n.some(e=>e)}),V$=ve.define({combine:n=>n.some(e=>e)});class Wl{constructor(e,t="nearest",i="nearest",r=5,s=5,l=!1){this.range=e,this.y=t,this.x=i,this.yMargin=r,this.xMargin=s,this.isSnapshot=l}map(e){return e.empty?this:new Wl(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Wl(J.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const Tf=Le.define({map:(n,e)=>n.map(e)});function Xn(n,e,t){let i=n.facet(U$);i.length?i[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const Kc=ve.define({combine:n=>n.length?n[0]:!0});let M5=0;const Ro=ve.define();class ri{constructor(e,t,i,r,s){this.id=e,this.create=t,this.domEventHandlers=i,this.domEventObservers=r,this.extension=s(this)}static define(e,t){const{eventHandlers:i,eventObservers:r,provide:s,decorations:l}=t||{};return new ri(M5++,e,i,r,o=>{let a=[Ro.of(o)];return l&&a.push(Jo.of(c=>{let h=c.plugin(o);return h?l(h):Re.none})),s&&a.push(s(o)),a})}static fromClass(e,t){return ri.define(i=>new e(i),t)}}class Vh{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(i){if(Xn(t.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){Xn(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(i){Xn(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const D$=ve.define(),xd=ve.define(),Jo=ve.define(),Wd=ve.define(),q$=ve.define();function zm(n,e,t){let i=n.state.facet(q$);if(!i.length)return i;let r=i.map(l=>l instanceof Function?l(n):l),s=[];return wt.spans(r,e,t,{point(){},span(l,o,a,c){let h=s;for(let O=a.length-1;O>=0;O--,c--){let p=a[O].spec.bidiIsolate,g;if(p!=null)if(c>0&&h.length&&(g=h[h.length-1]).to==l&&g.direction==p)g.to=o,h=g.inner;else{let b={from:l,to:o,direction:p,inner:[]};h.push(b),h=b.inner}}}}),s}const I$=ve.define();function N$(n){let e=0,t=0,i=0,r=0;for(let s of n.state.facet(I$)){let l=s(n);l&&(l.left!=null&&(e=Math.max(e,l.left)),l.right!=null&&(t=Math.max(t,l.right)),l.top!=null&&(i=Math.max(i,l.top)),l.bottom!=null&&(r=Math.max(r,l.bottom)))}return{left:e,right:t,top:i,bottom:r}}const Xo=ve.define();class An{constructor(e,t,i,r){this.fromA=e,this.toA=t,this.fromB=i,this.toB=r}join(e){return new An(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,i=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>i.toA)){if(r.toAh)break;s+=2}if(!a)return i;new An(a.fromA,a.toA,a.fromB,a.toB).addToSet(i),l=a.toA,o=a.toB}}}class bc{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=ci.empty(this.startState.doc.length);for(let s of i)this.changes=this.changes.compose(s.changes);let r=[];this.changes.iterChangedRanges((s,l,o,a)=>r.push(new An(s,l,o,a))),this.changedRanges=r}static create(e,t,i){return new bc(e,t,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var It=function(n){return n[n.LTR=0]="LTR",n[n.RTL=1]="RTL",n}(It||(It={}));const ea=It.LTR,L$=It.RTL;function B$(n){let e=[];for(let t=0;t=t){if(o.level==i)return l;(s<0||(r!=0?r<0?o.fromt:e[s].level>o.level))&&(s=l)}}if(s<0)throw new RangeError("Index out of range");return s}}function j$(n,e){if(n.length!=e.length)return!1;for(let t=0;t=0;y-=3)if(lr[y+1]==-g){let $=lr[y+2],k=$&2?r:$&4?$&1?s:r:0;k&&(Wt[O]=Wt[lr[y]]=k),o=y;break}}else{if(lr.length==189)break;lr[o++]=O,lr[o++]=p,lr[o++]=a}else if((b=Wt[O])==2||b==1){let y=b==r;a=y?0:1;for(let $=o-3;$>=0;$-=3){let k=lr[$+2];if(k&2)break;if(y)lr[$+2]|=2;else{if(k&4)break;lr[$+2]|=4}}}}}function B5(n,e,t,i){for(let r=0,s=i;r<=t.length;r++){let l=r?t[r-1].to:n,o=ra;)b==$&&(b=t[--y].from,$=y?t[y-1].to:n),Wt[--b]=g;a=h}else s=c,a++}}}function qO(n,e,t,i,r,s,l){let o=i%2?2:1;if(i%2==r%2)for(let a=e,c=0;aa&&l.push(new Os(a,y.from,g));let $=y.direction==ea!=!(g%2);IO(n,$?i+1:i,r,y.inner,y.from,y.to,l),a=y.to}b=y.to}else{if(b==t||(h?Wt[b]!=o:Wt[b]==o))break;b++}p?qO(n,a,b,i+1,r,p,l):ae;){let h=!0,O=!1;if(!c||a>s[c-1].to){let y=Wt[a-1];y!=o&&(h=!1,O=y==16)}let p=!h&&o==1?[]:null,g=h?i:i+1,b=a;e:for(;;)if(c&&b==s[c-1].to){if(O)break e;let y=s[--c];if(!h)for(let $=y.from,k=c;;){if($==e)break e;if(k&&s[k-1].to==$)$=s[--k].from;else{if(Wt[$-1]==o)break e;break}}if(p)p.push(y);else{y.toWt.length;)Wt[Wt.length]=256;let i=[],r=e==ea?0:1;return IO(n,r,r,t,0,n.length,i),i}function F$(n){return[new Os(0,n,0)]}let G$="";function F5(n,e,t,i,r){var s;let l=i.head-n.from,o=-1;if(l==0){if(!r||!n.length)return null;e[0].level!=t&&(l=e[0].side(!1,t),o=0)}else if(l==n.length){if(r)return null;let p=e[e.length-1];p.level!=t&&(l=p.side(!0,t),o=e.length-1)}o<0&&(o=Os.find(e,l,(s=i.bidiLevel)!==null&&s!==void 0?s:-1,i.assoc));let a=e[o];l==a.side(r,t)&&(a=e[o+=r?1:-1],l=a.side(!r,t));let c=r==(a.dir==t),h=Ri(n.text,l,c);if(G$=n.text.slice(Math.min(l,h),Math.max(l,h)),h!=a.side(r,t))return J.cursor(h+n.from,c?-1:1,a.level);let O=o==(r?e.length-1:0)?null:e[o+(r?1:-1)];return!O&&a.level!=t?J.cursor(r?n.to:n.from,r?-1:1,t):O&&O.level0&&i.length&&(i.every(({fromA:c,toA:h})=>hthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let r=-1;this.view.inputState.composing>=0&&(!((t=this.domChanged)===null||t===void 0)&&t.newSel?r=this.domChanged.newSel.head:!i4(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let s=r>-1?H5(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:h}=this.hasComposition;i=new An(c,h,e.changes.mapPos(c,-1),e.changes.mapPos(h,1)).addToSet(i.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(Pe.ie||Pe.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let l=this.decorations,o=this.updateDeco(),a=e4(l,o,e.changes);return i=An.extendWithRanges(i,a),!(this.flags&7)&&i.length==0?!1:(this.updateInner(i,e.startState.doc.length,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,i){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,i);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let l=Pe.chrome||Pe.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,l),this.flags&=-8,l&&(l.written||r.selectionRange.focusNode!=l.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(l=>l.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to=0?r[l]:null;if(!o)break;let{fromA:a,toA:c,fromB:h,toB:O}=o,p,g,b,y;if(i&&i.range.fromBh){let R=Io.build(this.view.state.doc,h,i.range.fromB,this.decorations,this.dynamicDecorationMap),T=Io.build(this.view.state.doc,i.range.toB,O,this.decorations,this.dynamicDecorationMap);g=R.breakAtStart,b=R.openStart,y=T.openEnd;let E=this.compositionView(i);T.breakAtStart?E.breakAfter=1:T.content.length&&E.merge(E.length,E.length,T.content[0],!1,T.openStart,0)&&(E.breakAfter=T.content[0].breakAfter,T.content.shift()),R.content.length&&E.merge(0,0,R.content[R.content.length-1],!0,0,R.openEnd)&&R.content.pop(),p=R.content.concat(E).concat(T.content)}else({content:p,breakAtStart:g,openStart:b,openEnd:y}=Io.build(this.view.state.doc,h,O,this.decorations,this.dynamicDecorationMap));let{i:$,off:k}=s.findPos(c,1),{i:W,off:X}=s.findPos(a,-1);_$(this,W,X,$,k,p,g,b,y)}i&&this.fixCompositionDOM(i)}compositionView(e){let t=new Mr(e.text.nodeValue);t.flags|=8;for(let{deco:r}of e.marks)t=new Vr(r,[t],t.length);let i=new fi;return i.append(t,0),i}fixCompositionDOM(e){let t=(s,l)=>{l.flags|=8|(l.children.some(a=>a.flags&7)?1:0),this.markedForComposition.add(l);let o=At.get(s);o&&o!=l&&(o.dom=null),l.setDOM(s)},i=this.childPos(e.range.fromB,1),r=this.children[i.i];t(e.line,r);for(let s=e.marks.length-1;s>=-1;s--)i=r.childPos(i.off,1),r=r.children[i.i],t(s>=0?e.marks[s].node:e.text,r)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let i=this.view.root.activeElement,r=i==this.dom,s=!r&&nc(this.dom,this.view.observer.selectionRange)&&!(i&&this.dom.contains(i));if(!(r||t||s))return;let l=this.forceSelection;this.forceSelection=!1;let o=this.view.state.selection.main,a=this.moveToLine(this.domAtPos(o.anchor)),c=o.empty?a:this.moveToLine(this.domAtPos(o.head));if(Pe.gecko&&o.empty&&!this.hasComposition&&G5(a)){let O=document.createTextNode("");this.view.observer.ignore(()=>a.node.insertBefore(O,a.node.childNodes[a.offset]||null)),a=c=new Ti(O,0),l=!0}let h=this.view.observer.selectionRange;(l||!h.focusNode||!Sc(a.node,a.offset,h.anchorNode,h.anchorOffset)||!Sc(c.node,c.offset,h.focusNode,h.focusOffset))&&(this.view.observer.ignore(()=>{Pe.android&&Pe.chrome&&this.dom.contains(h.focusNode)&&t4(h.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let O=mc(this.view.root);if(O)if(o.empty){if(Pe.gecko){let p=K5(a.node,a.offset);if(p&&p!=3){let g=K$(a.node,a.offset,p==1?1:-1);g&&(a=new Ti(g.node,g.offset))}}O.collapse(a.node,a.offset),o.bidiLevel!=null&&O.caretBidiLevel!==void 0&&(O.caretBidiLevel=o.bidiLevel)}else if(O.extend){O.collapse(a.node,a.offset);try{O.extend(c.node,c.offset)}catch{}}else{let p=document.createRange();o.anchor>o.head&&([a,c]=[c,a]),p.setEnd(c.node,c.offset),p.setStart(a.node,a.offset),O.removeAllRanges(),O.addRange(p)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(a,c)),this.impreciseAnchor=a.precise?null:new Ti(h.anchorNode,h.anchorOffset),this.impreciseHead=c.precise?null:new Ti(h.focusNode,h.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,i=mc(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let l=fi.find(this,t.head);if(!l)return;let o=l.posAtStart;if(t.head==o||t.head==o+l.length)return;let a=this.coordsAt(t.head,-1),c=this.coordsAt(t.head,1);if(!a||!c||a.bottom>c.top)return;let h=this.domAtPos(t.head+t.assoc);i.collapse(h.node,h.offset),i.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let O=e.observer.selectionRange;e.docView.posFromDOM(O.anchorNode,O.anchorOffset)!=t.from&&i.collapse(r,s)}moveToLine(e){let t=this.dom,i;if(e.node!=t)return e;for(let r=e.offset;!i&&r=0;r--){let s=At.get(t.childNodes[r]);s instanceof fi&&(i=s.domAtPos(s.length))}return i?new Ti(i.node,i.offset,!0):e}nearest(e){for(let t=e;t;){let i=At.get(t);if(i&&i.rootView==this)return i;t=t.parentNode}return null}posFromDOM(e,t){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,t)+i.posAtStart}domAtPos(e){let{i:t,off:i}=this.childCursor().findPos(e,-1);for(;t=0;l--){let o=this.children[l],a=s-o.breakAfter,c=a-o.length;if(ae||o.covers(1))&&(!i||o instanceof fi&&!(i instanceof fi&&t>=0))&&(i=o,r=c),s=c}return i?i.coordsAt(e-r,t):null}coordsForChar(e){let{i:t,off:i}=this.childPos(e,1),r=this.children[t];if(!(r instanceof fi))return null;for(;r.children.length;){let{i:o,off:a}=r.childPos(i,1);for(;;o++){if(o==r.children.length)return null;if((r=r.children[o]).length)break}i=a}if(!(r instanceof Mr))return null;let s=Ri(r.text,i);if(s==i)return null;let l=Ns(r.dom,i,s).getClientRects();for(let o=0;oMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,a=this.view.textDirection==It.LTR;for(let c=0,h=0;hr)break;if(c>=i){let g=O.dom.getBoundingClientRect();if(t.push(g.height),l){let b=O.dom.lastChild,y=b?Ho(b):[];if(y.length){let $=y[y.length-1],k=a?$.right-g.left:g.right-$.left;k>o&&(o=k,this.minWidth=s,this.minWidthFrom=c,this.minWidthTo=p)}}}c=p+O.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?It.RTL:It.LTR}measureTextSize(){for(let s of this.children)if(s instanceof fi){let l=s.measureTextSize();if(l)return l}let e=document.createElement("div"),t,i,r;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=Ho(e.firstChild)[0];t=e.getBoundingClientRect().height,i=s?s.width/27:7,r=s?s.height:t,e.remove()}),{lineHeight:t,charWidth:i,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new k$(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let i=0,r=0;;r++){let s=r==t.viewports.length?null:t.viewports[r],l=s?s.from-1:this.length;if(l>i){let o=(t.lineBlockAt(l).bottom-t.lineBlockAt(i).top)/this.view.scaleY;e.push(Re.replace({widget:new Vm(o),block:!0,inclusive:!0,isBlockGap:!0}).range(i,l))}if(!s)break;i=s.to+1}return Re.set(e)}updateDeco(){let e=this.view.state.facet(Jo).map((t,i)=>(this.dynamicDecorationMap[i]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),r;if(!i)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(i={left:Math.min(i.left,r.left),top:Math.min(i.top,r.top),right:Math.max(i.right,r.right),bottom:Math.max(i.bottom,r.bottom)});let s=N$(this.view),l={left:i.left-s.left,top:i.top-s.top,right:i.right+s.right,bottom:i.bottom+s.bottom},{offsetWidth:o,offsetHeight:a}=this.view.scrollDOM;C5(this.view.scrollDOM,l,t.head0)i=i.childNodes[r-1],r=zr(i);else break}if(t>=0)for(let i=n,r=e;;){if(i.nodeType==3)return{node:i,offset:r};if(i.nodeType==1&&r=0)i=i.childNodes[r],r=0;else break}return null}function K5(n,e){return n.nodeType!=1?0:(e&&n.childNodes[e-1].contentEditable=="false"?1:0)|(e{ie.from&&(t=!0)}),t}function n4(n,e,t=1){let i=n.charCategorizer(e),r=n.doc.lineAt(e),s=e-r.from;if(r.length==0)return J.cursor(e);s==0?t=1:s==r.length&&(t=-1);let l=s,o=s;t<0?l=Ri(r.text,s,!1):o=Ri(r.text,s);let a=i(r.text.slice(l,o));for(;l>0;){let c=Ri(r.text,l,!1);if(i(r.text.slice(c,l))!=a)break;l=c}for(;on?e.left-n:Math.max(0,n-e.right)}function s4(n,e){return e.top>n?e.top-n:Math.max(0,n-e.bottom)}function Dh(n,e){return n.tope.top+1}function Dm(n,e){return en.bottom?{top:n.top,left:n.left,right:n.right,bottom:e}:n}function NO(n,e,t){let i,r,s,l,o=!1,a,c,h,O;for(let b=n.firstChild;b;b=b.nextSibling){let y=Ho(b);for(let $=0;$X||l==X&&s>W){i=b,r=k,s=W,l=X;let R=X?t0?$0)}W==0?t>k.bottom&&(!h||h.bottomk.top)&&(c=b,O=k):h&&Dh(h,k)?h=qm(h,k.bottom):O&&Dh(O,k)&&(O=Dm(O,k.top))}}if(h&&h.bottom>=t?(i=a,r=h):O&&O.top<=t&&(i=c,r=O),!i)return{node:n,offset:0};let p=Math.max(r.left,Math.min(r.right,e));if(i.nodeType==3)return Im(i,p,t);if(o&&i.contentEditable!="false")return NO(i,p,t);let g=Array.prototype.indexOf.call(n.childNodes,i)+(e>=(r.left+r.right)/2?1:0);return{node:n,offset:g}}function Im(n,e,t){let i=n.nodeValue.length,r=-1,s=1e9,l=0;for(let o=0;ot?h.top-t:t-h.bottom)-1;if(h.left-1<=e&&h.right+1>=e&&O=(h.left+h.right)/2,g=p;if((Pe.chrome||Pe.gecko)&&Ns(n,o).getBoundingClientRect().left==h.right&&(g=!p),O<=0)return{node:n,offset:o+(g?1:0)};r=o+(g?1:0),s=O}}}return{node:n,offset:r>-1?r:l>0?n.nodeValue.length:0}}function J$(n,e,t,i=-1){var r,s;let l=n.contentDOM.getBoundingClientRect(),o=l.top+n.viewState.paddingTop,a,{docHeight:c}=n.viewState,{x:h,y:O}=e,p=O-o;if(p<0)return 0;if(p>c)return n.state.doc.length;for(let R=n.viewState.heightOracle.textHeight/2,T=!1;a=n.elementAtHeight(p),a.type!=Mi.Text;)for(;p=i>0?a.bottom+R:a.top-R,!(p>=0&&p<=c);){if(T)return t?null:0;T=!0,i=-i}O=o+p;let g=a.from;if(gn.viewport.to)return n.viewport.to==n.state.doc.length?n.state.doc.length:t?null:Nm(n,l,a,h,O);let b=n.dom.ownerDocument,y=n.root.elementFromPoint?n.root:b,$=y.elementFromPoint(h,O);$&&!n.contentDOM.contains($)&&($=null),$||(h=Math.max(l.left+1,Math.min(l.right-1,h)),$=y.elementFromPoint(h,O),$&&!n.contentDOM.contains($)&&($=null));let k,W=-1;if($&&((r=n.docView.nearest($))===null||r===void 0?void 0:r.isEditable)!=!1){if(b.caretPositionFromPoint){let R=b.caretPositionFromPoint(h,O);R&&({offsetNode:k,offset:W}=R)}else if(b.caretRangeFromPoint){let R=b.caretRangeFromPoint(h,O);R&&({startContainer:k,startOffset:W}=R,(!n.contentDOM.contains(k)||Pe.safari&&l4(k,W,h)||Pe.chrome&&o4(k,W,h))&&(k=void 0))}}if(!k||!n.docView.dom.contains(k)){let R=fi.find(n.docView,g);if(!R)return p>a.top+a.height/2?a.to:a.from;({node:k,offset:W}=NO(R.dom,h,O))}let X=n.docView.nearest(k);if(!X)return null;if(X.isWidget&&((s=X.dom)===null||s===void 0?void 0:s.nodeType)==1){let R=X.dom.getBoundingClientRect();return e.yn.defaultLineHeight*1.5){let o=n.viewState.heightOracle.textHeight,a=Math.floor((r-t.top-(n.defaultLineHeight-o)*.5)/o);s+=a*n.viewState.heightOracle.lineLength}let l=n.state.sliceDoc(t.from,t.to);return t.from+TO(l,s,n.state.tabSize)}function l4(n,e,t){let i;if(n.nodeType!=3||e!=(i=n.nodeValue.length))return!1;for(let r=n.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return Ns(n,i-1,i).getBoundingClientRect().left>t}function o4(n,e,t){if(e!=0)return!1;for(let r=n;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let i=n.nodeType==1?n.getBoundingClientRect():Ns(n,0,Math.max(n.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function LO(n,e){let t=n.lineBlockAt(e);if(Array.isArray(t.type)){for(let i of t.type)if(i.to>e||i.to==e&&(i.to==t.to||i.type==Mi.Text))return i}return t}function a4(n,e,t,i){let r=LO(n,e.head),s=!i||r.type!=Mi.Text||!(n.lineWrapping||r.widgetLineBreaks)?null:n.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let l=n.dom.getBoundingClientRect(),o=n.textDirectionAt(r.from),a=n.posAtCoords({x:t==(o==It.LTR)?l.right-1:l.left+1,y:(s.top+s.bottom)/2});if(a!=null)return J.cursor(a,t?-1:1)}return J.cursor(t?r.to:r.from,t?-1:1)}function Lm(n,e,t,i){let r=n.state.doc.lineAt(e.head),s=n.bidiSpans(r),l=n.textDirectionAt(r.from);for(let o=e,a=null;;){let c=F5(r,s,l,o,t),h=G$;if(!c){if(r.number==(t?n.state.doc.lines:1))return o;h=` +`,r=n.state.doc.line(r.number+(t?1:-1)),s=n.bidiSpans(r),c=J.cursor(t?r.from:r.to)}if(a){if(!a(h))return o}else{if(!i)return c;a=i(h)}o=c}}function f4(n,e,t){let i=n.state.charCategorizer(e),r=i(t);return s=>{let l=i(s);return r==Vt.Space&&(r=l),r==l}}function c4(n,e,t,i){let r=e.head,s=t?1:-1;if(r==(t?n.state.doc.length:0))return J.cursor(r,e.assoc);let l=e.goalColumn,o,a=n.contentDOM.getBoundingClientRect(),c=n.coordsAtPos(r,e.assoc||-1),h=n.documentTop;if(c)l==null&&(l=c.left-a.left),o=s<0?c.top:c.bottom;else{let g=n.viewState.lineBlockAt(r);l==null&&(l=Math.min(a.right-a.left,n.defaultCharacterWidth*(r-g.from))),o=(s<0?g.top:g.bottom)+h}let O=a.left+l,p=i??n.viewState.heightOracle.textHeight>>1;for(let g=0;;g+=10){let b=o+(p+g)*s,y=J$(n,{x:O,y:b},!1,s);if(ba.bottom||(s<0?yr)){let $=n.docView.coordsForChar(y),k=!$||b<$.top?-1:1;return J.cursor(y,k,void 0,l)}}}function rc(n,e,t){for(;;){let i=0;for(let r of n)r.between(e-1,e+1,(s,l,o)=>{if(e>s&&er(n)),t.from,e.head>t.from?-1:1);return i==t.from?t:J.cursor(i,inull),Pe.gecko&&P4(e.contentDOM.ownerDocument)}handleEvent(e){!b4(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,t){let i=this.handlers[e];if(i){for(let r of i.observers)r(this.view,t);for(let r of i.handlers){if(t.defaultPrevented)break;if(r(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=h4(e),i=this.handlers,r=this.view.contentDOM;for(let s in t)if(s!="scroll"){let l=!t[s].handlers.length,o=i[s];o&&l!=!o.handlers.length&&(r.removeEventListener(s,this.handleEvent),o=null),o||r.addEventListener(s,this.handleEvent,{passive:l})}for(let s in i)s!="scroll"&&!t[s]&&r.removeEventListener(s,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()i.keyCode==e.keyCode))&&!e.ctrlKey||O4.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,xl(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Pe.safari&&!Pe.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function Bm(n,e){return(t,i)=>{try{return e.call(n,i,t)}catch(r){Xn(t.state,r)}}}function h4(n){let e=Object.create(null);function t(i){return e[i]||(e[i]={observers:[],handlers:[]})}for(let i of n){let r=i.spec;if(r&&r.domEventHandlers)for(let s in r.domEventHandlers){let l=r.domEventHandlers[s];l&&t(s).handlers.push(Bm(i.value,l))}if(r&&r.domEventObservers)for(let s in r.domEventObservers){let l=r.domEventObservers[s];l&&t(s).observers.push(Bm(i.value,l))}}for(let i in Hn)t(i).handlers.push(Hn[i]);for(let i in Kn)t(i).observers.push(Kn[i]);return e}const ey=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],O4="dthko",ty=[16,17,18,20,91,92,224,225],Zf=6;function Rf(n){return Math.max(0,n)*.7+8}function d4(n,e){return Math.max(Math.abs(n.clientX-e.clientX),Math.abs(n.clientY-e.clientY))}class p4{constructor(e,t,i,r){this.view=e,this.startEvent=t,this.style=i,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=T5(e.contentDOM),this.atoms=e.state.facet(Wd).map(l=>l(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(ht.allowMultipleSelections)&&g4(e,t),this.dragging=S4(e,t)&&sy(t)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&d4(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let i=0,r=0,s=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},l=N$(this.view);e.clientX-l.left<=s.left+Zf?i=-Rf(s.left-e.clientX):e.clientX+l.right>=s.right-Zf&&(i=Rf(e.clientX-s.right)),e.clientY-l.top<=s.top+Zf?r=-Rf(s.top-e.clientY):e.clientY+l.bottom>=s.bottom-Zf&&(r=Rf(e.clientY-s.bottom)),this.setScrollSpeed(i,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let i=0;ithis.select(this.lastEvent),20)}}function g4(n,e){let t=n.state.facet(X$);return t.length?t[0](e):Pe.mac?e.metaKey:e.ctrlKey}function m4(n,e){let t=n.state.facet(A$);return t.length?t[0](e):Pe.mac?!e.altKey:!e.ctrlKey}function S4(n,e){let{main:t}=n.state.selection;if(t.empty)return!1;let i=mc(n.root);if(!i||i.rangeCount==0)return!0;let r=i.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&l.top<=e.clientY&&l.bottom>=e.clientY)return!0}return!1}function b4(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,i;t!=n.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(i=At.get(t))&&i.ignoreEvent(e))return!1;return!0}const Hn=Object.create(null),Kn=Object.create(null),iy=Pe.ie&&Pe.ie_version<15||Pe.ios&&Pe.webkit_version<604;function $4(n){let e=n.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{n.focus(),t.remove(),ny(n,t.value)},50)}function ny(n,e){let{state:t}=n,i,r=1,s=t.toText(e),l=s.lines==t.selection.ranges.length;if(BO!=null&&t.selection.ranges.every(a=>a.empty)&&BO==s.toString()){let a=-1;i=t.changeByRange(c=>{let h=t.doc.lineAt(c.from);if(h.from==a)return{range:c};a=h.from;let O=t.toText((l?s.line(r++).text:e)+t.lineBreak);return{changes:{from:h.from,insert:O},range:J.cursor(c.from+O.length)}})}else l?i=t.changeByRange(a=>{let c=s.line(r++);return{changes:{from:a.from,to:a.to,insert:c.text},range:J.cursor(a.from+c.length)}}):i=t.replaceSelection(s);n.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}Kn.scroll=n=>{n.inputState.lastScrollTop=n.scrollDOM.scrollTop,n.inputState.lastScrollLeft=n.scrollDOM.scrollLeft};Hn.keydown=(n,e)=>(n.inputState.setSelectionOrigin("select"),e.keyCode==27&&(n.inputState.lastEscPress=Date.now()),!1);Kn.touchstart=(n,e)=>{n.inputState.lastTouchTime=Date.now(),n.inputState.setSelectionOrigin("select.pointer")};Kn.touchmove=n=>{n.inputState.setSelectionOrigin("select.pointer")};Hn.mousedown=(n,e)=>{if(n.observer.flush(),n.inputState.lastTouchTime>Date.now()-2e3)return!1;let t=null;for(let i of n.state.facet(Y$))if(t=i(n,e),t)break;if(!t&&e.button==0&&(t=w4(n,e)),t){let i=!n.hasFocus;n.inputState.startMouseSelection(new p4(n,e,t,i)),i&&n.observer.ignore(()=>v$(n.contentDOM));let r=n.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}return!1};function jm(n,e,t,i){if(i==1)return J.cursor(e,t);if(i==2)return n4(n.state,e,t);{let r=fi.find(n.docView,e),s=n.state.doc.lineAt(r?r.posAtEnd:e),l=r?r.posAtStart:s.from,o=r?r.posAtEnd:s.to;return on>=e.top&&n<=e.bottom,Fm=(n,e,t)=>ry(e,t)&&n>=t.left&&n<=t.right;function y4(n,e,t,i){let r=fi.find(n.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let l=r.coordsAt(s,-1);if(l&&Fm(t,i,l))return-1;let o=r.coordsAt(s,1);return o&&Fm(t,i,o)?1:l&&ry(i,l)?-1:1}function Gm(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:y4(n,t,e.clientX,e.clientY)}}const v4=Pe.ie&&Pe.ie_version<=11;let Hm=null,Km=0,Jm=0;function sy(n){if(!v4)return n.detail;let e=Hm,t=Jm;return Hm=n,Jm=Date.now(),Km=!e||t>Date.now()-400&&Math.abs(e.clientX-n.clientX)<2&&Math.abs(e.clientY-n.clientY)<2?(Km+1)%3:1}function w4(n,e){let t=Gm(n,e),i=sy(e),r=n.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),r=r.map(s.changes))},get(s,l,o){let a=Gm(n,s),c,h=jm(n,a.pos,a.bias,i);if(t.pos!=a.pos&&!l){let O=jm(n,t.pos,t.bias,i),p=Math.min(O.from,h.from),g=Math.max(O.to,h.to);h=p1&&(c=Q4(r,a.pos))?c:o?r.addRange(h):J.create([h])}}}function Q4(n,e){for(let t=0;t=e)return J.create(n.ranges.slice(0,t).concat(n.ranges.slice(t+1)),n.mainIndex==t?0:n.mainIndex-(n.mainIndex>t?1:0))}return null}Hn.dragstart=(n,e)=>{let{selection:{main:t}}=n.state;if(e.target.draggable){let r=n.docView.nearest(e.target);if(r&&r.isWidget){let s=r.posAtStart,l=s+r.length;(s>=t.to||l<=t.from)&&(t=J.range(s,l))}}let{inputState:i}=n;return i.mouseSelection&&(i.mouseSelection.dragging=!0),i.draggedContent=t,e.dataTransfer&&(e.dataTransfer.setData("Text",n.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Hn.dragend=n=>(n.inputState.draggedContent=null,!1);function e1(n,e,t,i){if(!t)return;let r=n.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=n.inputState,l=i&&s&&m4(n,e)?{from:s.from,to:s.to}:null,o={from:r,insert:t},a=n.state.changes(l?[l,o]:o);n.focus(),n.dispatch({changes:a,selection:{anchor:a.mapPos(r,-1),head:a.mapPos(r,1)},userEvent:l?"move.drop":"input.drop"}),n.inputState.draggedContent=null}Hn.drop=(n,e)=>{if(!e.dataTransfer)return!1;if(n.state.readOnly)return!0;let t=e.dataTransfer.files;if(t&&t.length){let i=Array(t.length),r=0,s=()=>{++r==t.length&&e1(n,e,i.filter(l=>l!=null).join(n.state.lineBreak),!1)};for(let l=0;l{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(i[l]=o.result),s()},o.readAsText(t[l])}return!0}else{let i=e.dataTransfer.getData("Text");if(i)return e1(n,e,i,!0),!0}return!1};Hn.paste=(n,e)=>{if(n.state.readOnly)return!0;n.observer.flush();let t=iy?null:e.clipboardData;return t?(ny(n,t.getData("text/plain")||t.getData("text/uri-text")),!0):($4(n),!1)};function k4(n,e){let t=n.dom.parentNode;if(!t)return;let i=t.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),n.focus()},50)}function _4(n){let e=[],t=[],i=!1;for(let r of n.selection.ranges)r.empty||(e.push(n.sliceDoc(r.from,r.to)),t.push(r));if(!e.length){let r=-1;for(let{from:s}of n.selection.ranges){let l=n.doc.lineAt(s);l.number>r&&(e.push(l.text),t.push({from:l.from,to:Math.min(n.doc.length,l.to+1)})),r=l.number}i=!0}return{text:e.join(n.lineBreak),ranges:t,linewise:i}}let BO=null;Hn.copy=Hn.cut=(n,e)=>{let{text:t,ranges:i,linewise:r}=_4(n.state);if(!t&&!r)return!1;BO=r?t:null,e.type=="cut"&&!n.state.readOnly&&n.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"});let s=iy?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",t),!0):(k4(n,t),!1)};const ly=qr.define();function oy(n,e){let t=[];for(let i of n.facet(z$)){let r=i(n,e);r&&t.push(r)}return t?n.update({effects:t,annotations:ly.of(!0)}):null}function ay(n){setTimeout(()=>{let e=n.hasFocus;if(e!=n.inputState.notifiedFocused){let t=oy(n.state,e);t?n.dispatch(t):n.update([])}},10)}Kn.focus=n=>{n.inputState.lastFocusTime=Date.now(),!n.scrollDOM.scrollTop&&(n.inputState.lastScrollTop||n.inputState.lastScrollLeft)&&(n.scrollDOM.scrollTop=n.inputState.lastScrollTop,n.scrollDOM.scrollLeft=n.inputState.lastScrollLeft),ay(n)};Kn.blur=n=>{n.observer.clearSelectionRange(),ay(n)};Kn.compositionstart=Kn.compositionupdate=n=>{n.inputState.compositionFirstChange==null&&(n.inputState.compositionFirstChange=!0),n.inputState.composing<0&&(n.inputState.composing=0)};Kn.compositionend=n=>{n.inputState.composing=-1,n.inputState.compositionEndedAt=Date.now(),n.inputState.compositionPendingKey=!0,n.inputState.compositionPendingChange=n.observer.pendingRecords().length>0,n.inputState.compositionFirstChange=null,Pe.chrome&&Pe.android?n.observer.flushSoon():n.inputState.compositionPendingChange?Promise.resolve().then(()=>n.observer.flush()):setTimeout(()=>{n.inputState.composing<0&&n.docView.hasComposition&&n.update([])},50)};Kn.contextmenu=n=>{n.inputState.lastContextMenu=Date.now()};Hn.beforeinput=(n,e)=>{var t;let i;if(Pe.chrome&&Pe.android&&(i=ey.find(r=>r.inputType==e.inputType))&&(n.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let r=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&n.hasFocus&&(n.contentDOM.blur(),n.focus())},100)}return!1};const t1=new Set;function P4(n){t1.has(n)||(t1.add(n),n.addEventListener("copy",()=>{}),n.addEventListener("cut",()=>{}))}const i1=["pre-wrap","normal","pre-line","break-spaces"];class x4{constructor(e){this.lineWrapping=e,this.doc=mt.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return i1.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let i=0;i-1,a=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=i,this.textHeight=r,this.lineLength=s,a){this.heightSamples={};for(let c=0;c0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>sc&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return Vi.of(i)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,i,r){let s=this,l=i.doc;for(let o=r.length-1;o>=0;o--){let{fromA:a,toA:c,fromB:h,toB:O}=r[o],p=s.lineAt(a,Xt.ByPosNoHeight,i.setDoc(t),0,0),g=p.to>=c?p:s.lineAt(c,Xt.ByPosNoHeight,i,0,0);for(O+=g.to-c,c=g.to;o>0&&p.from<=r[o-1].toA;)a=r[o-1].fromA,h=r[o-1].fromB,o--,as*2){let o=e[t-1];o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),i+=1+o.break,r-=o.size}else if(s>r*2){let o=e[i];o.break?e.splice(i,1,o.left,null,o.right):e.splice(i,1,o.left,o.right),i+=2+o.break,s-=o.size}else break;else if(r=s&&l(this.blockAt(0,i,r,s))}updateHeight(e,t=0,i=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class On extends fy{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,i,r){return new Or(r,this.length,i,this.height,this.breaks)}replace(e,t,i){let r=i[0];return i.length==1&&(r instanceof On||r instanceof yi&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof yi?r=new On(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):Vi.of(i)}updateHeight(e,t=0,i=!1,r){return r&&r.from<=t&&r.more?this.setHeight(e,r.heights[r.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class yi extends Vi{constructor(e){super(e,0)}heightMetrics(e,t){let i=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,s=r-i+1,l,o=0;if(e.lineWrapping){let a=Math.min(this.height,e.lineHeight*s);l=a/s,this.length>s+1&&(o=(this.height-a)/(this.length-s-1))}else l=this.height/s;return{firstLine:i,lastLine:r,perLine:l,perChar:o}}blockAt(e,t,i,r){let{firstLine:s,lastLine:l,perLine:o,perChar:a}=this.heightMetrics(t,r);if(t.lineWrapping){let c=r+Math.round(Math.max(0,Math.min(1,(e-i)/this.height))*this.length),h=t.doc.lineAt(c),O=o+h.length*a,p=Math.max(i,e-O/2);return new Or(h.from,h.length,p,O,0)}else{let c=Math.max(0,Math.min(l-s,Math.floor((e-i)/o))),{from:h,length:O}=t.doc.line(s+c);return new Or(h,O,i+o*c,o,0)}}lineAt(e,t,i,r,s){if(t==Xt.ByHeight)return this.blockAt(e,i,r,s);if(t==Xt.ByPosNoHeight){let{from:g,to:b}=i.doc.lineAt(e);return new Or(g,b-g,0,0,0)}let{firstLine:l,perLine:o,perChar:a}=this.heightMetrics(i,s),c=i.doc.lineAt(e),h=o+c.length*a,O=c.number-l,p=r+o*O+a*(c.from-s-O);return new Or(c.from,c.length,Math.max(r,Math.min(p,r+this.height-h)),h,0)}forEachLine(e,t,i,r,s,l){e=Math.max(e,s),t=Math.min(t,s+this.length);let{firstLine:o,perLine:a,perChar:c}=this.heightMetrics(i,s);for(let h=e,O=r;h<=t;){let p=i.doc.lineAt(h);if(h==e){let b=p.number-o;O+=a*b+c*(e-s-b)}let g=a+c*p.length;l(new Or(p.from,p.length,O,g,0)),O+=g,h=p.to+1}}replace(e,t,i){let r=this.length-t;if(r>0){let s=i[i.length-1];s instanceof yi?i[i.length-1]=new yi(s.length+r):i.push(null,new yi(r-1))}if(e>0){let s=i[0];s instanceof yi?i[0]=new yi(e+s.length):i.unshift(new yi(e-1),null)}return Vi.of(i)}decomposeLeft(e,t){t.push(new yi(e-1),null)}decomposeRight(e,t){t.push(null,new yi(this.length-e-1))}updateHeight(e,t=0,i=!1,r){let s=t+this.length;if(r&&r.from<=t+this.length&&r.more){let l=[],o=Math.max(t,r.from),a=-1;for(r.from>t&&l.push(new yi(r.from-t-1).updateHeight(e,t));o<=s&&r.more;){let h=e.doc.lineAt(o).length;l.length&&l.push(null);let O=r.heights[r.index++];a==-1?a=O:Math.abs(O-a)>=sc&&(a=-2);let p=new On(h,O);p.outdated=!1,l.push(p),o+=h+1}o<=s&&l.push(null,new yi(s-o).updateHeight(e,o));let c=Vi.of(l);return(a<0||Math.abs(c.height-this.height)>=sc||Math.abs(a-this.heightMetrics(e,t).perLine)>=sc)&&(e.heightChanged=!0),c}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class C4 extends Vi{constructor(e,t,i){super(e.length+t+i.length,e.height+i.height,t|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,t,i,r){let s=i+this.left.height;return eo))return c;let h=t==Xt.ByPosNoHeight?Xt.ByPosNoHeight:Xt.ByPos;return a?c.join(this.right.lineAt(o,h,i,l,o)):this.left.lineAt(o,h,i,r,s).join(c)}forEachLine(e,t,i,r,s,l){let o=r+this.left.height,a=s+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,t,i,o,a,l);else{let c=this.lineAt(a,Xt.ByPos,i,r,s);e=e&&c.from<=t&&l(c),t>c.to&&this.right.forEachLine(c.to+1,t,i,o,a,l)}}replace(e,t,i){let r=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,i));let s=[];e>0&&this.decomposeLeft(e,s);let l=s.length;for(let o of i)s.push(o);if(e>0&&n1(s,l-1),t=i&&t.push(null)),e>i&&this.right.decomposeLeft(e-i,t)}decomposeRight(e,t){let i=this.left.length,r=i+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e2*t.size||t.size>2*e.size?Vi.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,i=!1,r){let{left:s,right:l}=this,o=t+s.length+this.break,a=null;return r&&r.from<=t+s.length&&r.more?a=s=s.updateHeight(e,t,i,r):s.updateHeight(e,t,i),r&&r.from<=o+l.length&&r.more?a=l=l.updateHeight(e,o,i,r):l.updateHeight(e,o,i),a?this.balanced(s,l):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function n1(n,e){let t,i;n[e]==null&&(t=n[e-1])instanceof yi&&(i=n[e+1])instanceof yi&&n.splice(e-1,3,new yi(t.length+1+i.length))}const T4=5;class Cd{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let i=Math.min(t,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof On?r.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new On(i-this.pos,-1)),this.writtenTo=i,t>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,i){if(e=T4)&&this.addLineDeco(r,s,l)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new On(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let i=new yi(t-e);return this.oracle.doc.lineAt(e).to==t&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof On)return e;let t=new On(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,i){let r=this.ensureLine();r.length+=i,r.collapsed+=i,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos=this.pos+i}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof On)&&!this.isCovered?this.nodes.push(new On(0,-1)):(this.writtenToh.clientHeight||h.scrollWidth>h.clientWidth)&&O.overflow!="visible"){let p=h.getBoundingClientRect();s=Math.max(s,p.left),l=Math.min(l,p.right),o=Math.max(o,p.top),a=c==n.parentNode?p.bottom:Math.min(a,p.bottom)}c=O.position=="absolute"||O.position=="fixed"?h.offsetParent:h.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:s-t.left,right:Math.max(s,l)-t.left,top:o-(t.top+e),bottom:Math.max(o,a)-(t.top+e)}}function A4(n,e){let t=n.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Ih{constructor(e,t,i){this.from=e,this.to=t,this.size=i}static same(e,t){if(e.length!=t.length)return!1;for(let i=0;itypeof i!="function"&&i.class=="cm-lineWrapping");this.heightOracle=new x4(t),this.stateDeco=e.facet(Jo).filter(i=>typeof i!="function"),this.heightMap=Vi.empty().applyChanges(this.stateDeco,mt.empty,this.heightOracle.setDoc(e.doc),[new An(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Re.set(this.lineGaps.map(i=>i.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let i=0;i<=1;i++){let r=i?t.head:t.anchor;if(!e.some(({from:s,to:l})=>r>=s&&r<=l)){let{from:s,to:l}=this.lineBlockAt(r);e.push(new Xf(s,l))}}this.viewports=e.sort((i,r)=>i.from-r.from),this.scaler=this.heightMap.height<=7e6?s1:new z4(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Ao(e,this.scaler))})}update(e,t=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(Jo).filter(h=>typeof h!="function");let r=e.changedRanges,s=An.extendWithRanges(r,Z4(i,this.stateDeco,e?e.changes:ci.empty(this.state.doc.length))),l=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=l&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,t));let c=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),c&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(V$)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,i=window.getComputedStyle(t),r=this.heightOracle,s=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?It.RTL:It.LTR;let l=this.heightOracle.mustRefreshForWrapping(s),o=t.getBoundingClientRect(),a=l||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let c=0,h=0;if(o.width&&o.height){let R=o.width/t.offsetWidth,T=o.height/t.offsetHeight;(R>.995&&R<1.005||!isFinite(R)||Math.abs(o.width-t.offsetWidth)<1)&&(R=1),(T>.995&&T<1.005||!isFinite(T)||Math.abs(o.height-t.offsetHeight)<1)&&(T=1),(this.scaleX!=R||this.scaleY!=T)&&(this.scaleX=R,this.scaleY=T,c|=8,l=a=!0)}let O=(parseInt(i.paddingTop)||0)*this.scaleY,p=(parseInt(i.paddingBottom)||0)*this.scaleY;(this.paddingTop!=O||this.paddingBottom!=p)&&(this.paddingTop=O,this.paddingBottom=p,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let g=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=g&&(this.scrollAnchorHeight=-1,this.scrollTop=g),this.scrolledToBottom=Q$(e.scrollDOM);let b=(this.printing?A4:X4)(t,this.paddingTop),y=b.top-this.pixelViewport.top,$=b.bottom-this.pixelViewport.bottom;this.pixelViewport=b;let k=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(k!=this.inView&&(this.inView=k,k&&(a=!0)),!this.inView&&!this.scrollTarget)return 0;let W=o.width;if((this.contentDOMWidth!=W||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),a){let R=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(R)&&(l=!0),l||r.lineWrapping&&Math.abs(W-this.contentDOMWidth)>r.charWidth){let{lineHeight:T,charWidth:E,textHeight:M}=e.docView.measureTextSize();l=T>0&&r.refresh(s,T,E,M,W/E,R),l&&(e.docView.minWidth=0,c|=8)}y>0&&$>0?h=Math.max(y,$):y<0&&$<0&&(h=Math.min(y,$)),r.heightChanged=!1;for(let T of this.viewports){let E=T.from==this.viewport.from?R:e.docView.measureVisibleLineHeights(T);this.heightMap=(l?Vi.empty().applyChanges(this.stateDeco,mt.empty,this.heightOracle,[new An(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,l,new W4(T.from,E))}r.heightChanged&&(c|=2)}let X=!this.viewportIsAppropriate(this.viewport,h)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return X&&(this.viewport=this.getViewport(h,this.scrollTarget)),this.updateForViewport(),(c&2||X)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(l?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:l,visibleBottom:o}=this,a=new Xf(r.lineAt(l-i*1e3,Xt.ByHeight,s,0,0).from,r.lineAt(o+(1-i)*1e3,Xt.ByHeight,s,0,0).to);if(t){let{head:c}=t.range;if(ca.to){let h=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),O=r.lineAt(c,Xt.ByPos,s,0,0),p;t.y=="center"?p=(O.top+O.bottom)/2-h/2:t.y=="start"||t.y=="nearest"&&c=o+Math.max(10,Math.min(i,250)))&&r>l-2*1e3&&s>1,l=r<<1;if(this.defaultTextDirection!=It.LTR&&!i)return[];let o=[],a=(c,h,O,p)=>{if(h-cc&&$$.from>=O.from&&$.to<=O.to&&Math.abs($.from-c)$.fromk));if(!y){if(h$.from<=h&&$.to>=h)){let $=t.moveToLineBoundary(J.cursor(h),!1,!0).head;$>c&&(h=$)}y=new Ih(c,h,this.gapSize(O,c,h,p))}o.push(y)};for(let c of this.viewportLines){if(c.lengthc.from&&a(c.from,p,c,h),gt.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];wt.spans(e,this.viewport.from,this.viewport.to,{span(r,s){t.push({from:r,to:s})},point(){}},20);let i=t.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=t[s].from||r.to!=t[s].to);return this.visibleRanges=t,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Ao(this.heightMap.lineAt(e,Xt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Ao(this.heightMap.lineAt(this.scaler.fromDOM(e),Xt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return Ao(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Xf{constructor(e,t){this.from=e,this.to=t}}function U4(n,e,t){let i=[],r=n,s=0;return wt.spans(t,n,e,{span(){},point(l,o){l>r&&(i.push({from:r,to:l}),s+=l-r),r=o}},20),r=1)return e[e.length-1].to;let i=Math.floor(n*t);for(let r=0;;r++){let{from:s,to:l}=e[r],o=l-s;if(i<=o)return s+i;i-=o}}function Yf(n,e){let t=0;for(let{from:i,to:r}of n.ranges){if(e<=r){t+=e-i;break}t+=r-i}return t/n.total}function E4(n,e){for(let t of n)if(e(t))return t}const s1={toDOM(n){return n},fromDOM(n){return n},scale:1};class z4{constructor(e,t,i){let r=0,s=0,l=0;this.viewports=i.map(({from:o,to:a})=>{let c=t.lineAt(o,Xt.ByPos,e,0,0).top,h=t.lineAt(a,Xt.ByPos,e,0,0).bottom;return r+=h-c,{from:o,to:a,top:c,bottom:h,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r);for(let o of this.viewports)o.domTop=l+(o.top-s)*this.scale,l=o.domBottom=o.domTop+(o.bottom-o.top),s=o.bottom}toDOM(e){for(let t=0,i=0,r=0;;t++){let s=tAo(r,e)):n._content)}const Uf=ve.define({combine:n=>n.join(" ")}),jO=ve.define({combine:n=>n.indexOf(!0)>-1}),FO=Ss.newName(),cy=Ss.newName(),uy=Ss.newName(),hy={"&light":"."+cy,"&dark":"."+uy};function GO(n,e,t){return new Ss(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,r=>{if(r=="&")return n;if(!t||!t[r])throw new RangeError(`Unsupported selector: ${r}`);return t[r]}):n+" "+i}})}const M4=GO("."+FO,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},hy),Yo="￿";class V4{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(ht.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Yo}readRange(e,t){if(!e)return this;let i=e.parentNode;for(let r=e;;){this.findPointBefore(i,r);let s=this.text.length;this.readNode(r);let l=r.nextSibling;if(l==t)break;let o=At.get(r),a=At.get(l);(o&&a?o.breakAfter:(o?o.breakAfter:l1(r))||l1(l)&&(r.nodeName!="BR"||r.cmIgnore)&&this.text.length>s)&&this.lineBreak(),r=l}return this.findPointBefore(i,t),this}readTextNode(e){let t=e.nodeValue;for(let i of this.points)i.node==e&&(i.pos=this.text.length+Math.min(i.offset,t.length));for(let i=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,l=1,o;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,i),l=this.lineSeparator.length):(o=r.exec(t))&&(s=o.index,l=o[0].length),this.append(t.slice(i,s<0?t.length:s)),s<0)break;if(this.lineBreak(),l>1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=l-1);i=s+l}}readNode(e){if(e.cmIgnore)return;let t=At.get(e),i=t&&t.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let r=i.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}findPointInside(e,t){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+(D4(e,i.node,i.offset)?t:0))}}function D4(n,e,t){for(;;){if(!e||t-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,i,0))){let o=s||l?[]:L4(e),a=new V4(o,e.state);a.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=a.text,this.newSel=B4(o,this.bounds.from)}else{let o=e.observer.selectionRange,a=s&&s.node==o.focusNode&&s.offset==o.focusOffset||!XO(e.contentDOM,o.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(o.focusNode,o.focusOffset),c=l&&l.node==o.anchorNode&&l.offset==o.anchorOffset||!XO(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset);this.newSel=J.single(c,a)}}}function Oy(n,e){let t,{newSel:i}=e,r=n.state.selection.main,s=n.inputState.lastKeyTime>Date.now()-100?n.inputState.lastKeyCode:-1;if(e.bounds){let{from:l,to:o}=e.bounds,a=r.from,c=null;(s===8||Pe.android&&e.text.length=r.from&&t.to<=r.to&&(t.from!=r.from||t.to!=r.to)&&r.to-r.from-(t.to-t.from)<=4?t={from:r.from,to:r.to,insert:n.state.doc.slice(r.from,t.from).append(t.insert).append(n.state.doc.slice(t.to,r.to))}:(Pe.mac||Pe.android)&&t&&t.from==t.to&&t.from==r.head-1&&/^\. ?$/.test(t.insert.toString())&&n.contentDOM.getAttribute("autocorrect")=="off"?(i&&t.insert.length==2&&(i=J.single(i.main.anchor-1,i.main.head-1)),t={from:r.from,to:r.to,insert:mt.of([" "])}):Pe.chrome&&t&&t.from==t.to&&t.from==r.head&&t.insert.toString()==` + `&&n.lineWrapping&&(i&&(i=J.single(i.main.anchor-1,i.main.head-1)),t={from:r.from,to:r.to,insert:mt.of([" "])}),t){if(Pe.ios&&n.inputState.flushIOSKey()||Pe.android&&(t.from==r.from&&t.to==r.to&&t.insert.length==1&&t.insert.lines==2&&xl(n.contentDOM,"Enter",13)||(t.from==r.from-1&&t.to==r.to&&t.insert.length==0||s==8&&t.insert.lengthr.head)&&xl(n.contentDOM,"Backspace",8)||t.from==r.from&&t.to==r.to+1&&t.insert.length==0&&xl(n.contentDOM,"Delete",46)))return!0;let l=t.insert.toString();n.inputState.composing>=0&&n.inputState.composing++;let o,a=()=>o||(o=I4(n,t,i));return n.state.facet(E$).some(c=>c(n,t.from,t.to,l,a))||n.dispatch(a()),!0}else if(i&&!i.main.eq(r)){let l=!1,o="select";return n.inputState.lastSelectionTime>Date.now()-50&&(n.inputState.lastSelectionOrigin=="select"&&(l=!0),o=n.inputState.lastSelectionOrigin),n.dispatch({selection:i,scrollIntoView:l,userEvent:o}),!0}else return!1}function I4(n,e,t){let i,r=n.state,s=r.selection.main;if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!t||t.main.empty&&t.main.from==e.from+e.insert.length)&&n.inputState.composing<0){let o=s.frome.to?r.sliceDoc(e.to,s.to):"";i=r.replaceSelection(n.state.toText(o+e.insert.sliceString(0,void 0,n.state.lineBreak)+a))}else{let o=r.changes(e),a=t&&t.main.to<=o.newLength?t.main:void 0;if(r.selection.ranges.length>1&&n.inputState.composing>=0&&e.to<=s.to&&e.to>=s.to-10){let c=n.state.sliceDoc(e.from,e.to),h,O=t&&H$(n,t.main.head);if(O){let b=e.insert.length-(e.to-e.from);h={from:O.from,to:O.to-b}}else h=n.state.doc.lineAt(s.head);let p=s.to-e.to,g=s.to-s.from;i=r.changeByRange(b=>{if(b.from==s.from&&b.to==s.to)return{changes:o,range:a||b.map(o)};let y=b.to-p,$=y-c.length;if(b.to-b.from!=g||n.state.sliceDoc($,y)!=c||b.to>=h.from&&b.from<=h.to)return{range:b};let k=r.changes({from:$,to:y,insert:e.insert}),W=b.to-s.to;return{changes:k,range:a?J.range(Math.max(0,a.anchor+W),Math.max(0,a.head+W)):b.map(k)}})}else i={changes:o,selection:a&&r.selection.replaceRange(a)}}let l="input.type";return(n.composing||n.inputState.compositionPendingChange&&n.inputState.compositionEndedAt>Date.now()-50)&&(n.inputState.compositionPendingChange=!1,l+=".compose",n.inputState.compositionFirstChange&&(l+=".start",n.inputState.compositionFirstChange=!1)),r.update(i,{userEvent:l,scrollIntoView:!0})}function N4(n,e,t,i){let r=Math.min(n.length,e.length),s=0;for(;s0&&o>0&&n.charCodeAt(l-1)==e.charCodeAt(o-1);)l--,o--;if(i=="end"){let a=Math.max(0,s-Math.min(l,o));t-=l+a-s}if(l=l?s-t:0;s-=a,o=s+(o-l),l=s}else if(o=o?s-t:0;s-=a,l=s+(l-o),o=s}return{from:s,toA:l,toB:o}}function L4(n){let e=[];if(n.root.activeElement!=n.contentDOM)return e;let{anchorNode:t,anchorOffset:i,focusNode:r,focusOffset:s}=n.observer.selectionRange;return t&&(e.push(new o1(t,i)),(r!=t||s!=i)&&e.push(new o1(r,s))),e}function B4(n,e){if(n.length==0)return null;let t=n[0].pos,i=n.length==2?n[1].pos:t;return t>-1&&i>-1?J.single(t+e,i+e):null}const j4={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Nh=Pe.ie&&Pe.ie_version<=11;class F4{constructor(e){this.view=e,this.active=!1,this.selectionRange=new Z5,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let i of t)this.queue.push(i);(Pe.ie&&Pe.ie_version<=11||Pe.ios&&e.composing)&&t.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),Nh&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,i)=>t!=e[i]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,r=this.selectionRange;if(i.state.facet(Kc)?i.root.activeElement!=this.dom:!nc(i.dom,r))return;let s=r.anchorNode&&i.docView.nearest(r.anchorNode);if(s&&s.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(Pe.ie&&Pe.ie_version<=11||Pe.android&&Pe.chrome)&&!i.state.selection.main.empty&&r.focusNode&&Sc(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Pe.safari&&e.root.nodeType==11&&x5(this.dom.ownerDocument)==this.dom&&G4(this.view)||mc(e.root);if(!t||this.selectionRange.eq(t))return!1;let i=nc(this.dom,t);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&xl(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,i=-1,r=!1;for(let s of e){let l=this.readMutation(s);l&&(l.typeOver&&(r=!0),t==-1?{from:t,to:i}=l:(t=Math.min(l.from,t),i=Math.max(l.to,i)))}return{from:t,to:i,typeOver:r}}readChange(){let{from:e,to:t,typeOver:i}=this.processRecords(),r=this.selectionChanged&&nc(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new q4(this.view,e,t,i);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let i=this.view.state,r=Oy(this.view,t);return this.view.state==i&&this.view.update([]),r}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.flags|=4),e.type=="childList"){let i=a1(t,e.previousSibling||e.target.previousSibling,-1),r=a1(t,e.nextSibling||e.target.nextSibling,1);return{from:i?t.posAfter(i):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,i;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(i=this.resizeScroll)===null||i===void 0||i.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function a1(n,e,t){for(;e;){let i=At.get(e);if(i&&i.parent==n)return i;let r=e.parentNode;e=r!=n.dom?r:t>0?e.nextSibling:e.previousSibling}return null}function G4(n){let e=null;function t(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}if(n.contentDOM.addEventListener("beforeinput",t,!0),n.dom.ownerDocument.execCommand("indent"),n.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let i=e.startContainer,r=e.startOffset,s=e.endContainer,l=e.endOffset,o=n.docView.domAtPos(n.state.selection.main.anchor);return Sc(o.node,o.offset,s,l)&&([i,r,s,l]=[s,l,i,r]),{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:l}}class ge{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM);let{dispatch:t}=e;this.dispatchTransactions=e.dispatchTransactions||t&&(i=>i.forEach(r=>t(r,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||R5(e.parent)||document,this.viewState=new r1(e.state||ht.create(e)),e.scrollTo&&e.scrollTo.is(Tf)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Ro).map(i=>new Vh(i));for(let i of this.plugins)i.update(this);this.observer=new F4(this),this.inputState=new u4(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Mm(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}dispatch(...e){let t=e.length==1&&e[0]instanceof ui?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,i=!1,r,s=this.state;for(let p of e){if(p.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=p.state}if(this.destroyed){this.viewState.state=s;return}let l=this.hasFocus,o=0,a=null;e.some(p=>p.annotation(ly))?(this.inputState.notifiedFocused=l,o=1):l!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=l,a=oy(s,l),a||(o=1));let c=this.observer.delayedAndroidKey,h=null;if(c?(this.observer.clearDelayedAndroidKey(),h=this.observer.readChange(),(h&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(h=null)):this.observer.clear(),s.facet(ht.phrases)!=this.state.facet(ht.phrases))return this.setState(s);r=bc.create(this,s,e),r.flags|=o;let O=this.viewState.scrollTarget;try{this.updateState=2;for(let p of e){if(O&&(O=O.map(p.changes)),p.scrollIntoView){let{main:g}=p.state.selection;O=new Wl(g.empty?g:J.cursor(g.head,g.head>g.anchor?-1:1))}for(let g of p.effects)g.is(Tf)&&(O=g.value.clip(this.state))}this.viewState.update(r,O),this.bidiCache=$c.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),t=this.docView.update(r),this.state.facet(Xo)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(p=>p.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(Uf)!=r.state.facet(Uf)&&(this.viewState.mustMeasureContent=!0),(t||i||O||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let p of this.state.facet(VO))try{p(r)}catch(g){Xn(this.state,g,"update listener")}(a||h)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),h&&!Oy(this,h)&&c.force&&xl(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new r1(e),this.plugins=e.facet(Ro).map(i=>new Vh(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new Mm(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Ro),i=e.state.facet(Ro);if(t!=i){let r=[];for(let s of i){let l=t.indexOf(s);if(l<0)r.push(new Vh(s));else{let o=this.plugins[l];o.mustUpdate=e,r.push(o)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,i=this.scrollDOM,r=i.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:l}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(l=-1),this.viewState.scrollAnchorHeight=-1;try{for(let o=0;;o++){if(l<0)if(Q$(i))s=-1,l=this.viewState.heightMap.height;else{let g=this.viewState.scrollAnchorAt(r);s=g.from,l=g.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(o>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];a&4||([this.measureRequests,c]=[c,this.measureRequests]);let h=c.map(g=>{try{return g.read(this)}catch(b){return Xn(this.state,b),f1}}),O=bc.create(this,this.state,[]),p=!1;O.flags|=a,t?t.flags|=a:t=O,this.updateState=2,O.empty||(this.updatePlugins(O),this.inputState.update(O),this.updateAttrs(),p=this.docView.update(O));for(let g=0;g1||b<-1){r=r+b,i.scrollTop=r/this.scaleY,l=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let o of this.state.facet(VO))o(t)}get themeClasses(){return FO+" "+(this.state.facet(jO)?uy:cy)+" "+this.state.facet(Uf)}updateAttrs(){let e=c1(this,D$,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Kc)?"true":"false",class:"cm-content",style:`${Pe.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),c1(this,xd,t);let i=this.observer.ignore(()=>{let r=zO(this.contentDOM,this.contentAttrs,t),s=zO(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=t,i}showAnnouncements(e){let t=!0;for(let i of e)for(let r of i.effects)if(r.is(ge.announce)){t&&(this.announceDOM.textContent=""),t=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Xo);let e=this.state.facet(ge.cspNonce);Ss.mount(this.root,this.styleModules.concat(M4).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;ti.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,i){return qh(this,e,Lm(this,e,t,i))}moveByGroup(e,t){return qh(this,e,Lm(this,e,t,i=>f4(this,e.head,i)))}moveToLineBoundary(e,t,i=!0){return a4(this,e,t,i)}moveVertically(e,t,i){return qh(this,e,c4(this,e,t,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),J$(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let i=this.docView.coordsAt(e,t);if(!i||i.left==i.right)return i;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),l=s[Os.find(s,e-r.from,-1,t)];return kd(i,l.dir==It.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(M$)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>H4)return F$(e.length);let t=this.textDirectionAt(e.from),i;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==t&&(s.fresh||j$(s.isolates,i=zm(this,e.from,e.to))))return s.order;i||(i=zm(this,e.from,e.to));let r=j5(e.text,t,i);return this.bidiCache.push(new $c(e.from,e.to,t,i,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Pe.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{v$(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return Tf.of(new Wl(typeof e=="number"?J.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,i=this.viewState.scrollAnchorAt(e);return Tf.of(new Wl(J.cursor(i.from),"start","start",i.top-e,t,!0))}static domEventHandlers(e){return ri.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return ri.define(()=>({}),{eventObservers:e})}static theme(e,t){let i=Ss.newName(),r=[Uf.of(i),Xo.of(GO(`.${i}`,e))];return t&&t.dark&&r.push(jO.of(!0)),r}static baseTheme(e){return js.lowest(Xo.of(GO("."+FO,e,hy)))}static findFromDOM(e){var t;let i=e.querySelector(".cm-content"),r=i&&At.get(i)||At.get(e);return((t=r==null?void 0:r.rootView)===null||t===void 0?void 0:t.view)||null}}ge.styleModule=Xo;ge.inputHandler=E$;ge.focusChangeEffect=z$;ge.perLineTextDirection=M$;ge.exceptionSink=U$;ge.updateListener=VO;ge.editable=Kc;ge.mouseSelectionStyle=Y$;ge.dragMovesSelection=A$;ge.clickAddsSelectionRange=X$;ge.decorations=Jo;ge.atomicRanges=Wd;ge.bidiIsolatedRanges=q$;ge.scrollMargins=I$;ge.darkTheme=jO;ge.cspNonce=ve.define({combine:n=>n.length?n[0]:""});ge.contentAttributes=xd;ge.editorAttributes=D$;ge.lineWrapping=ge.contentAttributes.of({class:"cm-lineWrapping"});ge.announce=Le.define();const H4=4096,f1={};class $c{constructor(e,t,i,r,s,l){this.from=e,this.to=t,this.dir=i,this.isolates=r,this.fresh=s,this.order=l}static update(e,t){if(t.empty&&!e.some(s=>s.fresh))return e;let i=[],r=e.length?e[e.length-1].dir:It.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=i[r],l=typeof s=="function"?s(n):s;l&&EO(l,t)}return t}const K4=Pe.mac?"mac":Pe.windows?"win":Pe.linux?"linux":"key";function J4(n,e){const t=n.split(/-(?!$)/);let i=t[t.length-1];i=="Space"&&(i=" ");let r,s,l,o;for(let a=0;ai.concat(r),[]))),t}function tC(n,e,t){return py(dy(n.state),e,n,t)}let cs=null;const iC=4e3;function nC(n,e=K4){let t=Object.create(null),i=Object.create(null),r=(l,o)=>{let a=i[l];if(a==null)i[l]=o;else if(a!=o)throw new Error("Key binding "+l+" is used both as a regular binding and as a multi-stroke prefix")},s=(l,o,a,c,h)=>{var O,p;let g=t[l]||(t[l]=Object.create(null)),b=o.split(/ (?!$)/).map(k=>J4(k,e));for(let k=1;k{let R=cs={view:X,prefix:W,scope:l};return setTimeout(()=>{cs==R&&(cs=null)},iC),!0}]})}let y=b.join(" ");r(y,!1);let $=g[y]||(g[y]={preventDefault:!1,stopPropagation:!1,run:((p=(O=g._any)===null||O===void 0?void 0:O.run)===null||p===void 0?void 0:p.slice())||[]});a&&$.run.push(a),c&&($.preventDefault=!0),h&&($.stopPropagation=!0)};for(let l of n){let o=l.scope?l.scope.split(" "):["editor"];if(l.any)for(let c of o){let h=t[c]||(t[c]=Object.create(null));h._any||(h._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let O in h)h[O].run.push(l.any)}let a=l[e]||l.key;if(a)for(let c of o)s(c,a,l.run,l.preventDefault,l.stopPropagation),l.shift&&s(c,"Shift-"+a,l.shift,l.preventDefault,l.stopPropagation)}return t}function py(n,e,t,i){let r=P5(e),s=vi(r,0),l=Tn(s)==r.length&&r!=" ",o="",a=!1,c=!1,h=!1;cs&&cs.view==t&&cs.scope==i&&(o=cs.prefix+" ",ty.indexOf(e.keyCode)<0&&(c=!0,cs=null));let O=new Set,p=$=>{if($){for(let k of $.run)if(!O.has(k)&&(O.add(k),k(t,e)))return $.stopPropagation&&(h=!0),!0;$.preventDefault&&($.stopPropagation&&(h=!0),c=!0)}return!1},g=n[i],b,y;return g&&(p(g[o+Ef(r,e,!l)])?a=!0:l&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Pe.windows&&e.ctrlKey&&e.altKey)&&(b=bs[e.keyCode])&&b!=r?(p(g[o+Ef(b,e,!0)])||e.shiftKey&&(y=Go[e.keyCode])!=r&&y!=b&&p(g[o+Ef(y,e,!1)]))&&(a=!0):l&&e.shiftKey&&p(g[o+Ef(r,e,!0)])&&(a=!0),!a&&p(g._any)&&(a=!0)),c&&(a=!0),a&&h&&e.stopPropagation(),a}class pa{constructor(e,t,i,r,s){this.className=e,this.left=t,this.top=i,this.width=r,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,i){if(i.empty){let r=e.coordsAtPos(i.head,i.assoc||1);if(!r)return[];let s=gy(e);return[new pa(t,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return rC(e,t,i)}}function gy(n){let e=n.scrollDOM.getBoundingClientRect();return{left:(n.textDirection==It.LTR?e.left:e.right-n.scrollDOM.clientWidth*n.scaleX)-n.scrollDOM.scrollLeft*n.scaleX,top:e.top-n.scrollDOM.scrollTop*n.scaleY}}function h1(n,e,t){let i=J.cursor(e);return{from:Math.max(t.from,n.moveToLineBoundary(i,!1,!0).from),to:Math.min(t.to,n.moveToLineBoundary(i,!0,!0).from),type:Mi.Text}}function rC(n,e,t){if(t.to<=n.viewport.from||t.from>=n.viewport.to)return[];let i=Math.max(t.from,n.viewport.from),r=Math.min(t.to,n.viewport.to),s=n.textDirection==It.LTR,l=n.contentDOM,o=l.getBoundingClientRect(),a=gy(n),c=l.querySelector(".cm-line"),h=c&&window.getComputedStyle(c),O=o.left+(h?parseInt(h.paddingLeft)+Math.min(0,parseInt(h.textIndent)):0),p=o.right-(h?parseInt(h.paddingRight):0),g=LO(n,i),b=LO(n,r),y=g.type==Mi.Text?g:null,$=b.type==Mi.Text?b:null;if(y&&(n.lineWrapping||g.widgetLineBreaks)&&(y=h1(n,i,y)),$&&(n.lineWrapping||b.widgetLineBreaks)&&($=h1(n,r,$)),y&&$&&y.from==$.from)return W(X(t.from,t.to,y));{let T=y?X(t.from,null,y):R(g,!1),E=$?X(null,t.to,$):R(b,!0),M=[];return(y||g).to<($||b).from-(y&&$?1:0)||g.widgetLineBreaks>1&&T.bottom+n.defaultLineHeight/2ne&&oe.from=ue)break;Qe>Ce&&K(Math.max(Ie,Ce),T==null&&Ie<=ne,Math.min(Qe,ue),E==null&&Qe>=Oe,Xe.dir)}if(Ce=fe.to+1,Ce>=ue)break}return I.length==0&&K(ne,T==null,Oe,E==null,n.textDirection),{top:z,bottom:B,horizontal:I}}function R(T,E){let M=o.top+(E?T.top:T.bottom);return{top:M,bottom:M,horizontal:[]}}}function sC(n,e){return n.constructor==e.constructor&&n.eq(e)}class lC{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(lc)!=e.state.facet(lc)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}setOrder(e){let t=0,i=e.facet(lc);for(;t!sC(t,this.drawn[i]))){let t=this.dom.firstChild,i=0;for(let r of e)r.update&&t&&r.constructor&&this.drawn[i].constructor&&r.update(t,this.drawn[i])?(t=t.nextSibling,i++):this.dom.insertBefore(r.draw(),t);for(;t;){let r=t.nextSibling;t.remove(),t=r}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const lc=ve.define();function my(n){return[ri.define(e=>new lC(e,n)),lc.of(n)]}const Sy=!Pe.ios,ta=ve.define({combine(n){return br(n,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function oC(n={}){return[ta.of(n),aC,fC,cC,V$.of(!0)]}function by(n){return n.startState.facet(ta)!=n.state.facet(ta)}const aC=my({above:!0,markers(n){let{state:e}=n,t=e.facet(ta),i=[];for(let r of e.selection.ranges){let s=r==e.selection.main;if(r.empty?!s||Sy:t.drawRangeCursor){let l=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",o=r.empty?r:J.cursor(r.head,r.head>r.anchor?-1:1);for(let a of pa.forRange(n,l,o))i.push(a)}}return i},update(n,e){n.transactions.some(i=>i.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=by(n);return t&&O1(n.state,e),n.docChanged||n.selectionSet||t},mount(n,e){O1(e.state,n)},class:"cm-cursorLayer"});function O1(n,e){e.style.animationDuration=n.facet(ta).cursorBlinkRate+"ms"}const fC=my({above:!1,markers(n){return n.state.selection.ranges.map(e=>e.empty?[]:pa.forRange(n,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(n,e){return n.docChanged||n.selectionSet||n.viewportChanged||by(n)},class:"cm-selectionLayer"}),$y={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Sy&&($y[".cm-line"].caretColor="transparent !important");const cC=js.highest(ge.theme($y)),yy=Le.define({map(n,e){return n==null?null:e.mapPos(n)}}),Uo=hi.define({create(){return null},update(n,e){return n!=null&&(n=e.changes.mapPos(n)),e.effects.reduce((t,i)=>i.is(yy)?i.value:t,n)}}),uC=ri.fromClass(class{constructor(n){this.view=n,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(n){var e;let t=n.state.field(Uo);t==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(n.startState.field(Uo)!=t||n.docChanged||n.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:n}=this,e=n.state.field(Uo),t=e!=null&&n.coordsAtPos(e);if(!t)return null;let i=n.scrollDOM.getBoundingClientRect();return{left:t.left-i.left+n.scrollDOM.scrollLeft*n.scaleX,top:t.top-i.top+n.scrollDOM.scrollTop*n.scaleY,height:t.bottom-t.top}}drawCursor(n){if(this.cursor){let{scaleX:e,scaleY:t}=this.view;n?(this.cursor.style.left=n.left/e+"px",this.cursor.style.top=n.top/t+"px",this.cursor.style.height=n.height/t+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(n){this.view.state.field(Uo)!=n&&this.view.dispatch({effects:yy.of(n)})}},{eventObservers:{dragover(n){this.setDropPos(this.view.posAtCoords({x:n.clientX,y:n.clientY}))},dragleave(n){(n.target==this.view.contentDOM||!this.view.contentDOM.contains(n.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function hC(){return[Uo,uC]}function d1(n,e,t,i,r){e.lastIndex=0;for(let s=n.iterRange(t,i),l=t,o;!s.next().done;l+=s.value.length)if(!s.lineBreak)for(;o=e.exec(s.value);)r(l+o.index,o)}function OC(n,e){let t=n.visibleRanges;if(t.length==1&&t[0].from==n.viewport.from&&t[0].to==n.viewport.to)return t;let i=[];for(let{from:r,to:s}of t)r=Math.max(n.state.doc.lineAt(r).from,r-e),s=Math.min(n.state.doc.lineAt(s).to,s+e),i.length&&i[i.length-1].to>=r?i[i.length-1].to=s:i.push({from:r,to:s});return i}class dC{constructor(e){const{regexp:t,decoration:i,decorate:r,boundary:s,maxLength:l=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,r)this.addMatch=(o,a,c,h)=>r(h,c,c+o[0].length,o,a);else if(typeof i=="function")this.addMatch=(o,a,c,h)=>{let O=i(o,a,c);O&&h(c,c+o[0].length,O)};else if(i)this.addMatch=(o,a,c,h)=>h(c,c+o[0].length,i);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=l}createDeco(e){let t=new ms,i=t.add.bind(t);for(let{from:r,to:s}of OC(e,this.maxLength))d1(e.state.doc,this.regexp,r,s,(l,o)=>this.addMatch(o,e,l,i));return t.finish()}updateDeco(e,t){let i=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((s,l,o,a)=>{a>e.view.viewport.from&&o1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),i,r):t}updateRange(e,t,i,r){for(let s of e.visibleRanges){let l=Math.max(s.from,i),o=Math.min(s.to,r);if(o>l){let a=e.state.doc.lineAt(l),c=a.toa.from;l--)if(this.boundary.test(a.text[l-1-a.from])){h=l;break}for(;op.push(k.range(y,$));if(a==c)for(this.regexp.lastIndex=h-a.from;(g=this.regexp.exec(a.text))&&g.indexthis.addMatch($,e,y,b));t=t.update({filterFrom:h,filterTo:O,filter:(y,$)=>yO,add:p})}}return t}}const HO=/x/.unicode!=null?"gu":"g",pC=new RegExp(`[\0-\b +--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,HO),gC={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Lh=null;function mC(){var n;if(Lh==null&&typeof document<"u"&&document.body){let e=document.body.style;Lh=((n=e.tabSize)!==null&&n!==void 0?n:e.MozTabSize)!=null}return Lh||!1}const oc=ve.define({combine(n){let e=br(n,{render:null,specialChars:pC,addSpecialChars:null});return(e.replaceTabs=!mC())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,HO)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,HO)),e}});function SC(n={}){return[oc.of(n),bC()]}let p1=null;function bC(){return p1||(p1=ri.fromClass(class{constructor(n){this.view=n,this.decorations=Re.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(n.state.facet(oc)),this.decorations=this.decorator.createDeco(n)}makeDecorator(n){return new dC({regexp:n.specialChars,decoration:(e,t,i)=>{let{doc:r}=t.state,s=vi(e[0],0);if(s==9){let l=r.lineAt(i),o=t.state.tabSize,a=Dl(l.text,o,i-l.from);return Re.replace({widget:new wC((o-a%o)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=Re.replace({widget:new vC(n,s)}))},boundary:n.replaceTabs?void 0:/[^]/})}update(n){let e=n.state.facet(oc);n.startState.facet(oc)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(n.view)):this.decorations=this.decorator.updateDeco(n,this.decorations)}},{decorations:n=>n.decorations}))}const $C="•";function yC(n){return n>=32?$C:n==10?"␤":String.fromCharCode(9216+n)}class vC extends Ir{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=yC(this.code),i=e.state.phrase("Control character")+" "+(gC[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,i,t);if(r)return r;let s=document.createElement("span");return s.textContent=t,s.title=i,s.setAttribute("aria-label",i),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class wC extends Ir{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function QC(){return _C}const kC=Re.line({class:"cm-activeLine"}),_C=ri.fromClass(class{constructor(n){this.decorations=this.getDeco(n)}update(n){(n.docChanged||n.selectionSet)&&(this.decorations=this.getDeco(n.view))}getDeco(n){let e=-1,t=[];for(let i of n.state.selection.ranges){let r=n.lineBlockAt(i.head);r.from>e&&(t.push(kC.range(r.from)),e=r.from)}return Re.set(t)}},{decorations:n=>n.decorations}),KO=2e3;function PC(n,e,t){let i=Math.min(e.line,t.line),r=Math.max(e.line,t.line),s=[];if(e.off>KO||t.off>KO||e.col<0||t.col<0){let l=Math.min(e.off,t.off),o=Math.max(e.off,t.off);for(let a=i;a<=r;a++){let c=n.doc.line(a);c.length<=o&&s.push(J.range(c.from+l,c.to+o))}}else{let l=Math.min(e.col,t.col),o=Math.max(e.col,t.col);for(let a=i;a<=r;a++){let c=n.doc.line(a),h=TO(c.text,l,n.tabSize,!0);if(h<0)s.push(J.cursor(c.to));else{let O=TO(c.text,o,n.tabSize);s.push(J.range(c.from+h,c.from+O))}}}return s}function xC(n,e){let t=n.coordsAtPos(n.viewport.from);return t?Math.round(Math.abs((t.left-e)/n.defaultCharacterWidth)):-1}function g1(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1),i=n.state.doc.lineAt(t),r=t-i.from,s=r>KO?-1:r==i.length?xC(n,e.clientX):Dl(i.text,n.state.tabSize,t-i.from);return{line:i.number,col:s,off:r}}function WC(n,e){let t=g1(n,e),i=n.state.selection;return t?{update(r){if(r.docChanged){let s=r.changes.mapPos(r.startState.doc.line(t.line).from),l=r.state.doc.lineAt(s);t={line:l.number,col:t.col,off:Math.min(t.off,l.length)},i=i.map(r.changes)}},get(r,s,l){let o=g1(n,r);if(!o)return i;let a=PC(n.state,t,o);return a.length?l?J.create(a.concat(i.ranges)):J.create(a):i}}:null}function CC(n){let e=(n==null?void 0:n.eventFilter)||(t=>t.altKey&&t.button==0);return ge.mouseSelectionStyle.of((t,i)=>e(i)?WC(t,i):null)}const TC={Alt:[18,n=>!!n.altKey],Control:[17,n=>!!n.ctrlKey],Shift:[16,n=>!!n.shiftKey],Meta:[91,n=>!!n.metaKey]},ZC={style:"cursor: crosshair"};function RC(n={}){let[e,t]=TC[n.key||"Alt"],i=ri.fromClass(class{constructor(r){this.view=r,this.isDown=!1}set(r){this.isDown!=r&&(this.isDown=r,this.view.update([]))}},{eventObservers:{keydown(r){this.set(r.keyCode==e||t(r))},keyup(r){(r.keyCode==e||!t(r))&&this.set(!1)},mousemove(r){this.set(t(r))}}});return[i,ge.contentAttributes.of(r=>{var s;return!((s=r.plugin(i))===null||s===void 0)&&s.isDown?ZC:null})]}const ko="-10000px";class vy{constructor(e,t,i){this.facet=t,this.createTooltipView=i,this.input=e.state.facet(t),this.tooltips=this.input.filter(r=>r),this.tooltipViews=this.tooltips.map(i)}update(e,t){var i;let r=e.state.facet(this.facet),s=r.filter(a=>a);if(r===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let l=[],o=t?[]:null;for(let a=0;at[c]=a),t.length=o.length),this.input=r,this.tooltips=s,this.tooltipViews=l,!0}}function XC(n){let{win:e}=n;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const Bh=ve.define({combine:n=>{var e,t,i;return{position:Pe.ios?"absolute":((e=n.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=n.find(r=>r.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((i=n.find(r=>r.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||XC}}}),m1=new WeakMap,wy=ri.fromClass(class{constructor(n){this.view=n,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=n.state.facet(Bh);this.position=e.position,this.parent=e.parent,this.classes=n.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new vy(n,Td,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),n.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let n of this.manager.tooltipViews)this.intersectionObserver.observe(n.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(n){n.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(n,this.above);e&&this.observeIntersection();let t=e||n.geometryChanged,i=n.state.facet(Bh);if(i.position!=this.position&&!this.madeAbsolute){this.position=i.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;t=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(n){let e=n.create(this.view);if(e.dom.classList.add("cm-tooltip"),n.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=ko,e.dom.style.left="0px",this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var n,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(n=t.destroy)===null||n===void 0||n.call(t);this.parent&&this.container.remove(),(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let n=this.view.dom.getBoundingClientRect(),e=1,t=1,i=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:r}=this.manager.tooltipViews[0];if(Pe.gecko)i=r.offsetParent!=this.container.ownerDocument.body;else if(this.view.scaleX!=1||this.view.scaleY!=1)i=!0;else if(r.style.top==ko&&r.style.left=="0px"){let s=r.getBoundingClientRect();i=Math.abs(s.top+1e4)>1||Math.abs(s.left)>1}}if(i||this.position=="absolute")if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(e=r.width/this.parent.offsetWidth,t=r.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);return{editor:n,parent:this.parent?this.container.getBoundingClientRect():n,pos:this.manager.tooltips.map((r,s)=>{let l=this.manager.tooltipViews[s];return l.getCoords?l.getCoords(r.pos):this.view.coordsAtPos(r.pos)}),size:this.manager.tooltipViews.map(({dom:r})=>r.getBoundingClientRect()),space:this.view.state.facet(Bh).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:i}}writeMeasure(n){var e;if(n.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let o of this.manager.tooltipViews)o.dom.style.position="absolute"}let{editor:t,space:i,scaleX:r,scaleY:s}=n,l=[];for(let o=0;o=Math.min(t.bottom,i.bottom)||O.rightMath.min(t.right,i.right)+.1){h.style.top=ko;continue}let g=a.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,b=g?7:0,y=p.right-p.left,$=(e=m1.get(c))!==null&&e!==void 0?e:p.bottom-p.top,k=c.offset||YC,W=this.view.textDirection==It.LTR,X=p.width>i.right-i.left?W?i.left:i.right-p.width:W?Math.min(O.left-(g?14:0)+k.x,i.right-y):Math.max(i.left,O.left-y+(g?14:0)-k.x),R=this.above[o];!a.strictSide&&(R?O.top-(p.bottom-p.top)-k.yi.bottom)&&R==i.bottom-O.bottom>O.top-i.top&&(R=this.above[o]=!R);let T=(R?O.top-i.top:i.bottom-O.bottom)-b;if(T<$&&c.resize!==!1){if(TX&&z.topE&&(E=R?z.top-$-2-b:z.bottom+b+2);if(this.position=="absolute"?(h.style.top=(E-n.parent.top)/s+"px",h.style.left=(X-n.parent.left)/r+"px"):(h.style.top=E/s+"px",h.style.left=X/r+"px"),g){let z=O.left+(W?k.x:-k.x)-(X+14-7);g.style.left=z/r+"px"}c.overlap!==!0&&l.push({left:X,top:E,right:M,bottom:E+$}),h.classList.toggle("cm-tooltip-above",R),h.classList.toggle("cm-tooltip-below",!R),c.positioned&&c.positioned(n.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let n of this.manager.tooltipViews)n.dom.style.top=ko}},{eventObservers:{scroll(){this.maybeMeasure()}}}),AC=ge.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),YC={x:0,y:0},Td=ve.define({enables:[wy,AC]}),yc=ve.define();class Zd{static create(e){return new Zd(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new vy(e,yc,t=>this.createHostedView(t))}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)===null||e===void 0||e.call(t)}passProp(e){let t;for(let i of this.manager.tooltipViews){let r=i[e];if(r!==void 0){if(t===void 0)t=r;else if(t!==r)return}}return t}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const UC=Td.compute([yc],n=>{let e=n.facet(yc).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:Zd.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class EC{constructor(e,t,i,r,s){this.view=e,this.source=t,this.field=i,this.setHover=r,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;eo.bottom||t.xo.right+e.defaultCharacterWidth)return;let a=e.bidiSpans(e.state.doc.lineAt(r)).find(h=>h.from<=r&&h.to>=r),c=a&&a.dir==It.RTL?-1:1;s=t.x{this.pending==o&&(this.pending=null,a&&e.dispatch({effects:this.setHover.of(a)}))},a=>Xn(e.state,a,"hover tooltip"))}else l&&e.dispatch({effects:this.setHover.of(l)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!S1(this.lastMove.target)||this.pending){let{pos:r}=i||this.pending,s=(t=i==null?void 0:i.end)!==null&&t!==void 0?t:r;(r==s?this.view.posAtCoords(this.lastMove)!=r:!zC(this.view,r,s,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!S1(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function S1(n){for(let e=n;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function zC(n,e,t,i,r,s){let l=n.scrollDOM.getBoundingClientRect(),o=n.documentTop+n.documentPadding.top+n.contentHeight;if(l.left>i||l.rightr||Math.min(l.bottom,o)=e&&a<=t}function MC(n,e={}){let t=Le.define(),i=hi.define({create(){return null},update(r,s){if(r&&(e.hideOnChange&&(s.docChanged||s.selection)||e.hideOn&&e.hideOn(s,r)))return null;if(r&&s.docChanged){let l=s.changes.mapPos(r.pos,-1,Qi.TrackDel);if(l==null)return null;let o=Object.assign(Object.create(null),r);o.pos=l,r.end!=null&&(o.end=s.changes.mapPos(r.end)),r=o}for(let l of s.effects)l.is(t)&&(r=l.value),l.is(VC)&&(r=null);return r},provide:r=>yc.from(r)});return[i,ri.define(r=>new EC(r,n,i,t,e.hoverTime||300)),UC]}function Qy(n,e){let t=n.plugin(wy);if(!t)return null;let i=t.manager.tooltips.indexOf(e);return i<0?null:t.manager.tooltipViews[i]}const VC=Le.define(),b1=ve.define({combine(n){let e,t;for(let i of n)e=e||i.topContainer,t=t||i.bottomContainer;return{topContainer:e,bottomContainer:t}}});function ia(n,e){let t=n.plugin(ky),i=t?t.specs.indexOf(e):-1;return i>-1?t.panels[i]:null}const ky=ri.fromClass(class{constructor(n){this.input=n.state.facet(na),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(n));let e=n.state.facet(b1);this.top=new zf(n,!0,e.topContainer),this.bottom=new zf(n,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(n){let e=n.state.facet(b1);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new zf(n.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new zf(n.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=n.state.facet(na);if(t!=this.input){let i=t.filter(a=>a),r=[],s=[],l=[],o=[];for(let a of i){let c=this.specs.indexOf(a),h;c<0?(h=a(n.view),o.push(h)):(h=this.panels[c],h.update&&h.update(n)),r.push(h),(h.top?s:l).push(h)}this.specs=i,this.panels=r,this.top.sync(s),this.bottom.sync(l);for(let a of o)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let i of this.panels)i.update&&i.update(n)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:n=>ge.scrollMargins.of(e=>{let t=e.plugin(n);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class zf{constructor(e,t,i){this.view=e,this.top=t,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=$1(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=$1(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function $1(n){let e=n.nextSibling;return n.remove(),e}const na=ve.define({enables:ky});class Dr extends Is{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Dr.prototype.elementClass="";Dr.prototype.toDOM=void 0;Dr.prototype.mapMode=Qi.TrackBefore;Dr.prototype.startSide=Dr.prototype.endSide=-1;Dr.prototype.point=!0;const ac=ve.define(),DC={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>wt.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},No=ve.define();function qC(n){return[_y(),No.of(Object.assign(Object.assign({},DC),n))]}const JO=ve.define({combine:n=>n.some(e=>e)});function _y(n){let e=[IC];return n&&n.fixed===!1&&e.push(JO.of(!0)),e}const IC=ri.fromClass(class{constructor(n){this.view=n,this.prevViewport=n.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=n.state.facet(No).map(e=>new v1(n,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!n.state.facet(JO),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),n.scrollDOM.insertBefore(this.dom,n.contentDOM)}update(n){if(this.updateGutters(n)){let e=this.prevViewport,t=n.view.viewport,i=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(i<(t.to-t.from)*.8)}n.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(JO)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=n.view.viewport}syncGutters(n){let e=this.dom.nextSibling;n&&this.dom.remove();let t=wt.iter(this.view.state.facet(ac),this.view.viewport.from),i=[],r=this.gutters.map(s=>new NC(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(i.length&&(i=[]),Array.isArray(s.type)){let l=!0;for(let o of s.type)if(o.type==Mi.Text&&l){ed(t,i,o.from);for(let a of r)a.line(this.view,o,i);l=!1}else if(o.widget)for(let a of r)a.widget(this.view,o)}else if(s.type==Mi.Text){ed(t,i,s.from);for(let l of r)l.line(this.view,s,i)}else if(s.widget)for(let l of r)l.widget(this.view,s);for(let s of r)s.finish();n&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(n){let e=n.startState.facet(No),t=n.state.facet(No),i=n.docChanged||n.heightChanged||n.viewportChanged||!wt.eq(n.startState.facet(ac),n.state.facet(ac),n.view.viewport.from,n.view.viewport.to);if(e==t)for(let r of this.gutters)r.update(n)&&(i=!0);else{i=!0;let r=[];for(let s of t){let l=e.indexOf(s);l<0?r.push(new v1(this.view,s)):(this.gutters[l].update(n),r.push(this.gutters[l]))}for(let s of this.gutters)s.dom.remove(),r.indexOf(s)<0&&s.destroy();for(let s of r)this.dom.appendChild(s.dom);this.gutters=r}return i}destroy(){for(let n of this.gutters)n.destroy();this.dom.remove()}},{provide:n=>ge.scrollMargins.of(e=>{let t=e.plugin(n);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==It.LTR?{left:t.dom.offsetWidth*e.scaleX}:{right:t.dom.offsetWidth*e.scaleX}})});function y1(n){return Array.isArray(n)?n:[n]}function ed(n,e,t){for(;n.value&&n.from<=t;)n.from==t&&e.push(n.value),n.next()}class NC{constructor(e,t,i){this.gutter=e,this.height=i,this.i=0,this.cursor=wt.iter(e.markers,t.from)}addElement(e,t,i){let{gutter:r}=this,s=(t.top-this.height)/e.scaleY,l=t.height/e.scaleY;if(this.i==r.elements.length){let o=new Py(e,l,s,i);r.elements.push(o),r.dom.appendChild(o.dom)}else r.elements[this.i].update(e,l,s,i);this.height=t.bottom,this.i++}line(e,t,i){let r=[];ed(this.cursor,r,t.from),i.length&&(r=r.concat(i));let s=this.gutter.config.lineMarker(e,t,r);s&&r.unshift(s);let l=this.gutter;r.length==0&&!l.config.renderEmptyElements||this.addElement(e,t,r)}widget(e,t){let i=this.gutter.config.widgetMarker(e,t.widget,t);i&&this.addElement(e,t,[i])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class v1{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in t.domEventHandlers)this.dom.addEventListener(i,r=>{let s=r.target,l;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let a=s.getBoundingClientRect();l=(a.top+a.bottom)/2}else l=r.clientY;let o=e.lineBlockAtHeight(l-e.documentTop);t.domEventHandlers[i](e,o,r)&&r.preventDefault()});this.markers=y1(t.markers(e)),t.initialSpacer&&(this.spacer=new Py(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=y1(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let i=e.view.viewport;return!wt.eq(this.markers,t,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class Py{constructor(e,t,i,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,i,r)}update(e,t,i,r){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),LC(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let i="cm-gutterElement",r=this.dom.firstChild;for(let s=0,l=0;;){let o=l,a=ss(o,a,c)||l(o,a,c):l}return i}})}});class jh extends Dr{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Fh(n,e){return n.state.facet($l).formatNumber(e,n.state)}const jC=No.compute([$l],n=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(BC)},lineMarker(e,t,i){return i.some(r=>r.toDOM)?null:new jh(Fh(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet($l)!=e.state.facet($l),initialSpacer(e){return new jh(Fh(e,w1(e.state.doc.lines)))},updateSpacer(e,t){let i=Fh(t.view,w1(t.view.state.doc.lines));return i==e.number?e:new jh(i)},domEventHandlers:n.facet($l).domEventHandlers}));function FC(n={}){return[$l.of(n),_y(),jC]}function w1(n){let e=9;for(;e{let e=[],t=-1;for(let i of n.selection.ranges){let r=n.doc.lineAt(i.head).from;r>t&&(t=r,e.push(GC.range(r)))}return wt.of(e)});function KC(){return HC}function JC(n){let e;return{c(){e=P("div"),v(e,"class","mzn-editor svelte-1fycn7h")},m(t,i){U(t,e,i),n[7](e)},p:we,i:we,o:we,d(t){t&&A(e),n[7](null)}}}function e3(n,e,t){let{state:i}=e,r,s;Gc(()=>{t(6,s=new ge({parent:r}))});function l(){return s||null}function o(){return s?s.state:null}async function a(O){s&&(await jn(),s.dispatch({selection:{anchor:O}}))}function c(){s.focus()}function h(O){Yt[O?"unshift":"push"](()=>{r=O,t(0,r)})}return n.$$set=O=>{"state"in O&&t(1,i=O.state)},n.$$.update=()=>{n.$$.dirty&66&&s&&i&&s.state!==i&&s.setState(i)},[r,i,l,o,a,c,s,h]}class t3 extends _i{constructor(e){super(),ki(this,e,e3,JC,di,{state:1,getView:2,getState:3,setCursor:4,focus:5})}get getView(){return this.$$.ctx[2]}get getState(){return this.$$.ctx[3]}get setCursor(){return this.$$.ctx[4]}get focus(){return this.$$.ctx[5]}}var Wn=typeof window<"u"?window:null,Rd=Wn===null,ra=Rd?void 0:Wn.document,In="addEventListener",Nn="removeEventListener",Gh="getBoundingClientRect",_o="_a",Ln="_b",Ar="_c",Mf="horizontal",Bn=function(){return!1},i3=Rd?"calc":["","-webkit-","-moz-","-o-"].filter(function(n){var e=ra.createElement("div");return e.style.cssText="width:"+n+"calc(9px)",!!e.style.length}).shift()+"calc",xy=function(n){return typeof n=="string"||n instanceof String},Q1=function(n){if(xy(n)){var e=ra.querySelector(n);if(!e)throw new Error("Selector "+n+" did not match a DOM element");return e}return n},Wi=function(n,e,t){var i=n[e];return i!==void 0?i:t},Vf=function(n,e,t,i){if(e){if(i==="end")return 0;if(i==="center")return n/2}else if(t){if(i==="start")return 0;if(i==="center")return n/2}return n},n3=function(n,e){var t=ra.createElement("div");return t.className="gutter gutter-"+e,t},r3=function(n,e,t){var i={};return xy(e)?i[n]=e:i[n]=i3+"("+e+"% - "+t+"px)",i},s3=function(n,e){var t;return t={},t[n]=e+"px",t},l3=function(n,e){if(e===void 0&&(e={}),Rd)return{};var t=n,i,r,s,l,o,a;Array.from&&(t=Array.from(t));var c=Q1(t[0]),h=c.parentNode,O=getComputedStyle?getComputedStyle(h):null,p=O?O.flexDirection:null,g=Wi(e,"sizes")||t.map(function(){return 100/t.length}),b=Wi(e,"minSize",100),y=Array.isArray(b)?b:t.map(function(){return b}),$=Wi(e,"maxSize",1/0),k=Array.isArray($)?$:t.map(function(){return $}),W=Wi(e,"expandToMin",!1),X=Wi(e,"gutterSize",10),R=Wi(e,"gutterAlign","center"),T=Wi(e,"snapOffset",30),E=Array.isArray(T)?T:t.map(function(){return T}),M=Wi(e,"dragInterval",1),z=Wi(e,"direction",Mf),B=Wi(e,"cursor",z===Mf?"col-resize":"row-resize"),I=Wi(e,"gutter",n3),K=Wi(e,"elementStyle",r3),ne=Wi(e,"gutterStyle",s3);z===Mf?(i="width",r="clientX",s="left",l="right",o="clientWidth"):z==="vertical"&&(i="height",r="clientY",s="top",l="bottom",o="clientHeight");function Oe(se,F,he,ie){var ft=K(i,F,he,ie);Object.keys(ft).forEach(function(et){se.style[et]=ft[et]})}function oe(se,F,he){var ie=ne(i,F,he);Object.keys(ie).forEach(function(ft){se.style[ft]=ie[ft]})}function Ce(){return a.map(function(se){return se.size})}function ue(se){return"touches"in se?se.touches[0][r]:se[r]}function fe(se){var F=a[this.a],he=a[this.b],ie=F.size+he.size;F.size=se/this.size*ie,he.size=ie-se/this.size*ie,Oe(F.element,F.size,this[Ln],F.i),Oe(he.element,he.size,this[Ar],he.i)}function Xe(se){var F,he=a[this.a],ie=a[this.b];this.dragging&&(F=ue(se)-this.start+(this[Ln]-this.dragOffset),M>1&&(F=Math.round(F/M)*M),F<=he.minSize+he.snapOffset+this[Ln]?F=he.minSize+this[Ln]:F>=this.size-(ie.minSize+ie.snapOffset+this[Ar])&&(F=this.size-(ie.minSize+this[Ar])),F>=he.maxSize-he.snapOffset+this[Ln]?F=he.maxSize+this[Ln]:F<=this.size-(ie.maxSize-ie.snapOffset+this[Ar])&&(F=this.size-(ie.maxSize+this[Ar])),fe.call(this,F),Wi(e,"onDrag",Bn)(Ce()))}function Ie(){var se=a[this.a].element,F=a[this.b].element,he=se[Gh](),ie=F[Gh]();this.size=he[i]+ie[i]+this[Ln]+this[Ar],this.start=he[s],this.end=he[l]}function Qe(se){if(!getComputedStyle)return null;var F=getComputedStyle(se);if(!F)return null;var he=se[o];return he===0?null:(z===Mf?he-=parseFloat(F.paddingLeft)+parseFloat(F.paddingRight):he-=parseFloat(F.paddingTop)+parseFloat(F.paddingBottom),he)}function xe(se){var F=Qe(h);if(F===null||y.reduce(function(et,Ne){return et+Ne},0)>F)return se;var he=0,ie=[],ft=se.map(function(et,Ne){var rt=F*et/100,zt=Vf(X,Ne===0,Ne===se.length-1,R),pt=y[Ne]+zt;return rt0&&ie[Ne]-he>0){var zt=Math.min(he,ie[Ne]-he);he-=zt,rt=et-zt}return rt/F*100})}function it(){var se=this,F=a[se.a].element,he=a[se.b].element;se.dragging&&Wi(e,"onDragEnd",Bn)(Ce()),se.dragging=!1,Wn[Nn]("mouseup",se.stop),Wn[Nn]("touchend",se.stop),Wn[Nn]("touchcancel",se.stop),Wn[Nn]("mousemove",se.move),Wn[Nn]("touchmove",se.move),se.stop=null,se.move=null,F[Nn]("selectstart",Bn),F[Nn]("dragstart",Bn),he[Nn]("selectstart",Bn),he[Nn]("dragstart",Bn),F.style.userSelect="",F.style.webkitUserSelect="",F.style.MozUserSelect="",F.style.pointerEvents="",he.style.userSelect="",he.style.webkitUserSelect="",he.style.MozUserSelect="",he.style.pointerEvents="",se.gutter.style.cursor="",se.parent.style.cursor="",ra.body.style.cursor=""}function Ut(se){if(!("button"in se&&se.button!==0)){var F=this,he=a[F.a].element,ie=a[F.b].element;F.dragging||Wi(e,"onDragStart",Bn)(Ce()),se.preventDefault(),F.dragging=!0,F.move=Xe.bind(F),F.stop=it.bind(F),Wn[In]("mouseup",F.stop),Wn[In]("touchend",F.stop),Wn[In]("touchcancel",F.stop),Wn[In]("mousemove",F.move),Wn[In]("touchmove",F.move),he[In]("selectstart",Bn),he[In]("dragstart",Bn),ie[In]("selectstart",Bn),ie[In]("dragstart",Bn),he.style.userSelect="none",he.style.webkitUserSelect="none",he.style.MozUserSelect="none",he.style.pointerEvents="none",ie.style.userSelect="none",ie.style.webkitUserSelect="none",ie.style.MozUserSelect="none",ie.style.pointerEvents="none",F.gutter.style.cursor=B,F.parent.style.cursor=B,ra.body.style.cursor=B,Ie.call(F),F.dragOffset=ue(se)-F.end}}g=xe(g);var Qt=[];a=t.map(function(se,F){var he={element:Q1(se),size:g[F],minSize:y[F],maxSize:k[F],snapOffset:E[F],i:F},ie;if(F>0&&(ie={a:F-1,b:F,dragging:!1,direction:z,parent:h},ie[Ln]=Vf(X,F-1===0,!1,R),ie[Ar]=Vf(X,!1,F===t.length-1,R),p==="row-reverse"||p==="column-reverse")){var ft=ie.a;ie.a=ie.b,ie.b=ft}if(F>0){var et=I(F,z,he.element);oe(et,X,F),ie[_o]=Ut.bind(ie),et[In]("mousedown",ie[_o]),et[In]("touchstart",ie[_o]),h.insertBefore(et,he.element),ie.gutter=et}return Oe(he.element,he.size,Vf(X,F===0,F===t.length-1,R),F),F>0&&Qt.push(ie),he});function dt(se){var F=se.i===Qt.length,he=F?Qt[se.i-1]:Qt[se.i];Ie.call(he);var ie=F?he.size-se.minSize-he[Ar]:se.minSize+he[Ln];fe.call(he,ie)}a.forEach(function(se){var F=se.element[Gh]()[i];F0){var ft=Qt[ie-1],et=a[ft.a],Ne=a[ft.b];et.size=F[ie-1],Ne.size=he,Oe(et.element,et.size,ft[Ln],et.i),Oe(Ne.element,Ne.size,ft[Ar],Ne.i)}})}function $e(se,F){Qt.forEach(function(he){if(F!==!0?he.parent.removeChild(he.gutter):(he.gutter[Nn]("mousedown",he[_o]),he.gutter[Nn]("touchstart",he[_o])),se!==!0){var ie=K(i,he.a.size,he[Ln]);Object.keys(ie).forEach(function(ft){a[he.a].element.style[ft]="",a[he.b].element.style[ft]=""})}})}return{setSizes:Et,getSizes:Ce,collapse:function(F){dt(a[F])},destroy:$e,parent:h,pairs:Qt}};const o3=n=>({}),k1=n=>({}),a3=n=>({}),_1=n=>({});function f3(n){let e,t,i,r,s;const l=n[6].panelA,o=Fi(l,n,n[5],_1),a=n[6].panelB,c=Fi(a,n,n[5],k1);return{c(){e=P("div"),t=P("div"),o&&o.c(),i=N(),r=P("div"),c&&c.c(),v(t,"class","split-panel svelte-e8t4e8"),ce(t,"no-splitter",n[1]!=="all"),ce(t,"is-hidden",!Df("a",n[1])),v(r,"class","split-panel svelte-e8t4e8"),ce(r,"no-splitter",n[1]!=="all"),ce(r,"is-hidden",!Df("b",n[1])),v(e,"class","split svelte-e8t4e8"),ce(e,"horizontal",n[0]==="horizontal")},m(h,O){U(h,e,O),Q(e,t),o&&o.m(t,null),n[7](t),Q(e,i),Q(e,r),c&&c.m(r,null),n[8](r),s=!0},p(h,[O]){o&&o.p&&(!s||O&32)&&Hi(o,l,h,h[5],s?Gi(l,h[5],O,a3):Ki(h[5]),_1),(!s||O&2)&&ce(t,"no-splitter",h[1]!=="all"),(!s||O&2)&&ce(t,"is-hidden",!Df("a",h[1])),c&&c.p&&(!s||O&32)&&Hi(c,a,h,h[5],s?Gi(a,h[5],O,o3):Ki(h[5]),k1),(!s||O&2)&&ce(r,"no-splitter",h[1]!=="all"),(!s||O&2)&&ce(r,"is-hidden",!Df("b",h[1])),(!s||O&1)&&ce(e,"horizontal",h[0]==="horizontal")},i(h){s||(D(o,h),D(c,h),s=!0)},o(h){L(o,h),L(c,h),s=!1},d(h){h&&A(e),o&&o.d(h),n[7](null),c&&c.d(h),n[8](null)}}}function Df(n,e){return e==="all"||e===n}function c3(n,e,t){let{$$slots:i={},$$scope:r}=e,{direction:s="horizontal"}=e,{split:l=50}=e,{showPanels:o="all"}=e,a,c,h=null;function O($,k){p(),k==="all"&&a&&c&&(h=l3([a,c],{direction:$,minSize:0,sizes:[l,100-l],onDragEnd(W){t(4,l=W[0])}}))}function p(){h&&(h.destroy(),h=null)}function g($){h&&h.getSizes()[0]!==$&&h.setSizes([$,100-$])}Gc(()=>(O(s,o),p));function b($){Yt[$?"unshift":"push"](()=>{a=$,t(2,a)})}function y($){Yt[$?"unshift":"push"](()=>{c=$,t(3,c)})}return n.$$set=$=>{"direction"in $&&t(0,s=$.direction),"split"in $&&t(4,l=$.split),"showPanels"in $&&t(1,o=$.showPanels),"$$scope"in $&&t(5,r=$.$$scope)},n.$$.update=()=>{n.$$.dirty&3&&O(s,o),n.$$.dirty&16&&g(l)},[s,o,a,c,l,r,i,b,y]}class u3 extends _i{constructor(e){super(),ki(this,e,c3,f3,di,{direction:0,split:4,showPanels:1})}}const qf=parseFloat;function td(n,e=";"){let t;if(Array.isArray(n))t=n.filter(i=>i);else{t=[];for(const i in n)n[i]&&t.push(`${i}:${n[i]}`)}return t.join(e)}function h3(n,e,t,i){let r,s;const l="1em";let o,a,c,h="-.125em";const O="visible";return i&&(c="center",s="1.25em"),t&&(r=t),e&&(e=="lg"?(a="1.33333em",o=".75em",h="-.225em"):e=="xs"?a=".75em":e=="sm"?a=".875em":a=e.replace("x","em")),td([td({float:r,width:s,height:l,"line-height":o,"font-size":a,"text-align":c,"vertical-align":h,"transform-origin":"center",overflow:O}),n])}function O3(n,e,t,i,r,s=1,l="",o=""){let a=1,c=1;return r&&(r=="horizontal"?a=-1:r=="vertical"?c=-1:a=c=-1),td([`translate(${qf(e)*s}${l},${qf(t)*s}${l})`,`scale(${a*qf(n)},${c*qf(n)})`,i&&`rotate(${i}${o})`]," ")}function P1(n){let e,t,i,r,s,l,o,a;function c(p,g){return typeof p[10][4]=="string"?p3:d3}let h=c(n),O=h(n);return{c(){e=Ql("svg"),t=Ql("g"),i=Ql("g"),O.c(),v(i,"transform",n[12]),v(t,"transform",r="translate("+n[10][0]/2+" "+n[10][1]/2+")"),v(t,"transform-origin",s=n[10][0]/4+" 0"),v(e,"id",l=n[1]||void 0),v(e,"class",o="svelte-fa "+n[0]+" svelte-1cj2gr0"),v(e,"style",n[11]),v(e,"viewBox",a="0 0 "+n[10][0]+" "+n[10][1]),v(e,"aria-hidden","true"),v(e,"role","img"),v(e,"xmlns","http://www.w3.org/2000/svg"),ce(e,"pulse",n[4]),ce(e,"spin",n[3])},m(p,g){U(p,e,g),Q(e,t),Q(t,i),O.m(i,null)},p(p,g){h===(h=c(p))&&O?O.p(p,g):(O.d(1),O=h(p),O&&(O.c(),O.m(i,null))),g&4096&&v(i,"transform",p[12]),g&1024&&r!==(r="translate("+p[10][0]/2+" "+p[10][1]/2+")")&&v(t,"transform",r),g&1024&&s!==(s=p[10][0]/4+" 0")&&v(t,"transform-origin",s),g&2&&l!==(l=p[1]||void 0)&&v(e,"id",l),g&1&&o!==(o="svelte-fa "+p[0]+" svelte-1cj2gr0")&&v(e,"class",o),g&2048&&v(e,"style",p[11]),g&1024&&a!==(a="0 0 "+p[10][0]+" "+p[10][1])&&v(e,"viewBox",a),g&17&&ce(e,"pulse",p[4]),g&9&&ce(e,"spin",p[3])},d(p){p&&A(e),O.d()}}}function d3(n){let e,t,i,r,s,l,o,a,c,h;return{c(){e=Ql("path"),l=Ql("path"),v(e,"d",t=n[10][4][0]),v(e,"fill",i=n[6]||n[2]||"currentColor"),v(e,"fill-opacity",r=n[9]!=!1?n[7]:n[8]),v(e,"transform",s="translate("+n[10][0]/-2+" "+n[10][1]/-2+")"),v(l,"d",o=n[10][4][1]),v(l,"fill",a=n[5]||n[2]||"currentColor"),v(l,"fill-opacity",c=n[9]!=!1?n[8]:n[7]),v(l,"transform",h="translate("+n[10][0]/-2+" "+n[10][1]/-2+")")},m(O,p){U(O,e,p),U(O,l,p)},p(O,p){p&1024&&t!==(t=O[10][4][0])&&v(e,"d",t),p&68&&i!==(i=O[6]||O[2]||"currentColor")&&v(e,"fill",i),p&896&&r!==(r=O[9]!=!1?O[7]:O[8])&&v(e,"fill-opacity",r),p&1024&&s!==(s="translate("+O[10][0]/-2+" "+O[10][1]/-2+")")&&v(e,"transform",s),p&1024&&o!==(o=O[10][4][1])&&v(l,"d",o),p&36&&a!==(a=O[5]||O[2]||"currentColor")&&v(l,"fill",a),p&896&&c!==(c=O[9]!=!1?O[8]:O[7])&&v(l,"fill-opacity",c),p&1024&&h!==(h="translate("+O[10][0]/-2+" "+O[10][1]/-2+")")&&v(l,"transform",h)},d(O){O&&(A(e),A(l))}}}function p3(n){let e,t,i,r;return{c(){e=Ql("path"),v(e,"d",t=n[10][4]),v(e,"fill",i=n[2]||n[5]||"currentColor"),v(e,"transform",r="translate("+n[10][0]/-2+" "+n[10][1]/-2+")")},m(s,l){U(s,e,l)},p(s,l){l&1024&&t!==(t=s[10][4])&&v(e,"d",t),l&36&&i!==(i=s[2]||s[5]||"currentColor")&&v(e,"fill",i),l&1024&&r!==(r="translate("+s[10][0]/-2+" "+s[10][1]/-2+")")&&v(e,"transform",r)},d(s){s&&A(e)}}}function g3(n){let e,t=n[10][4]&&P1(n);return{c(){t&&t.c(),e=Ht()},m(i,r){t&&t.m(i,r),U(i,e,r)},p(i,[r]){i[10][4]?t?t.p(i,r):(t=P1(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:we,o:we,d(i){i&&A(e),t&&t.d(i)}}}function m3(n,e,t){let{class:i=""}=e,{id:r=""}=e,{style:s=""}=e,{icon:l}=e,{size:o=""}=e,{color:a=""}=e,{fw:c=!1}=e,{pull:h=""}=e,{scale:O=1}=e,{translateX:p=0}=e,{translateY:g=0}=e,{rotate:b=""}=e,{flip:y=!1}=e,{spin:$=!1}=e,{pulse:k=!1}=e,{primaryColor:W=""}=e,{secondaryColor:X=""}=e,{primaryOpacity:R=1}=e,{secondaryOpacity:T=.4}=e,{swapOpacity:E=!1}=e,M,z,B;return n.$$set=I=>{"class"in I&&t(0,i=I.class),"id"in I&&t(1,r=I.id),"style"in I&&t(13,s=I.style),"icon"in I&&t(14,l=I.icon),"size"in I&&t(15,o=I.size),"color"in I&&t(2,a=I.color),"fw"in I&&t(16,c=I.fw),"pull"in I&&t(17,h=I.pull),"scale"in I&&t(18,O=I.scale),"translateX"in I&&t(19,p=I.translateX),"translateY"in I&&t(20,g=I.translateY),"rotate"in I&&t(21,b=I.rotate),"flip"in I&&t(22,y=I.flip),"spin"in I&&t(3,$=I.spin),"pulse"in I&&t(4,k=I.pulse),"primaryColor"in I&&t(5,W=I.primaryColor),"secondaryColor"in I&&t(6,X=I.secondaryColor),"primaryOpacity"in I&&t(7,R=I.primaryOpacity),"secondaryOpacity"in I&&t(8,T=I.secondaryOpacity),"swapOpacity"in I&&t(9,E=I.swapOpacity)},n.$$.update=()=>{n.$$.dirty&16384&&t(10,M=l&&l.icon||[0,0,"",[],""]),n.$$.dirty&237568&&t(11,z=h3(s,o,h,c)),n.$$.dirty&8126464&&t(12,B=O3(O,p,g,b,y,512))},[i,r,a,$,k,W,X,R,T,E,M,z,B,s,l,o,c,h,O,p,g,b,y]}class S3 extends _i{constructor(e){super(),ki(this,e,m3,g3,di,{class:0,id:1,style:13,icon:14,size:15,color:2,fw:16,pull:17,scale:18,translateX:19,translateY:20,rotate:21,flip:22,spin:3,pulse:4,primaryColor:5,secondaryColor:6,primaryOpacity:7,secondaryOpacity:8,swapOpacity:9})}}const Ct=S3;var id={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},Wy={prefix:"fas",iconName:"share-nodes",icon:[448,512,["share-alt"],"f1e0","M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z"]},x1={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},b3={prefix:"fas",iconName:"shuffle",icon:[512,512,[128256,"random"],"f074","M403.8 34.4c12-5 25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160H352c-10.1 0-19.6 4.7-25.6 12.8L284 229.3 244 176l31.2-41.6C293.3 110.2 321.8 96 352 96h32V64c0-12.9 7.8-24.6 19.8-29.6zM164 282.7L204 336l-31.2 41.6C154.7 401.8 126.2 416 96 416H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c10.1 0 19.6-4.7 25.6-12.8L164 282.7zm274.6 188c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V416H352c-30.2 0-58.7-14.2-76.8-38.4L121.6 172.8c-6-8.1-15.5-12.8-25.6-12.8H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c30.2 0 58.7 14.2 76.8 38.4L326.4 339.2c6 8.1 15.5 12.8 25.6 12.8h32V320c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64z"]},$3={prefix:"fas",iconName:"clipboard",icon:[384,512,[128203],"f328","M192 0c-41.8 0-77.4 26.7-90.5 64H64C28.7 64 0 92.7 0 128V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H282.5C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM112 192H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Cy={prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},W1={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 144c0-44.2 35.8-80 80-80s80 35.8 80 80v48c0 17.7 14.3 32 32 32s32-14.3 32-32V144C576 64.5 511.5 0 432 0S288 64.5 288 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H352V144z"]},y3={prefix:"fas",iconName:"forward-fast",icon:[512,512,[9197,"fast-forward"],"f050","M18.4 445c11.2 5.3 24.5 3.6 34.1-4.4L224 297.7V416c0 12.4 7.2 23.7 18.4 29s24.5 3.6 34.1-4.4L448 297.7V416c0 17.7 14.3 32 32 32s32-14.3 32-32V96c0-17.7-14.3-32-32-32s-32 14.3-32 32V214.3L276.5 71.4c-9.5-7.9-22.8-9.7-34.1-4.4S224 83.6 224 96V214.3L52.5 71.4c-9.5-7.9-22.8-9.7-34.1-4.4S0 83.6 0 96V416c0 12.4 7.2 23.7 18.4 29z"]},C1={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Ty={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},v3={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},Zy=v3,w3={prefix:"fas",iconName:"folder-tree",icon:[576,512,[],"f802","M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32v96V384c0 35.3 28.7 64 64 64H256V384H64V160H256V96H64V32zM288 192c0 17.7 14.3 32 32 32H544c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H445.3c-8.5 0-16.6-3.4-22.6-9.4L409.4 9.4c-6-6-14.1-9.4-22.6-9.4H320c-17.7 0-32 14.3-32 32V192zm0 288c0 17.7 14.3 32 32 32H544c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32H445.3c-8.5 0-16.6-3.4-22.6-9.4l-13.3-13.3c-6-6-14.1-9.4-22.6-9.4H320c-17.7 0-32 14.3-32 32V480z"]},Q3={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},k3={prefix:"fas",iconName:"stop",icon:[384,512,[9209],"f04d","M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"]},_3={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},P3={prefix:"fas",iconName:"eraser",icon:[576,512,[],"f12d","M290.7 57.4L57.4 290.7c-25 25-25 65.5 0 90.5l80 80c12 12 28.3 18.7 45.3 18.7H288h9.4H512c17.7 0 32-14.3 32-32s-14.3-32-32-32H387.9L518.6 285.3c25-25 25-65.5 0-90.5L381.3 57.4c-25-25-65.5-25-90.5 0zM297.4 416H288l-105.4 0-80-80L227.3 211.3 364.7 348.7 297.4 416z"]},x3={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},Ry={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},Xy={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},W3={prefix:"fas",iconName:"hammer",icon:[576,512,[128296],"f6e3","M413.5 237.5c-28.2 4.8-58.2-3.6-80-25.4l-38.1-38.1C280.4 159 272 138.8 272 117.6V105.5L192.3 62c-5.3-2.9-8.6-8.6-8.3-14.7s3.9-11.5 9.5-14l47.2-21C259.1 4.2 279 0 299.2 0h18.1c36.7 0 72 14 98.7 39.1l44.6 42c24.2 22.8 33.2 55.7 26.6 86L503 183l8-8c9.4-9.4 24.6-9.4 33.9 0l24 24c9.4 9.4 9.4 24.6 0 33.9l-88 88c-9.4 9.4-24.6 9.4-33.9 0l-24-24c-9.4-9.4-9.4-24.6 0-33.9l8-8-17.5-17.5zM27.4 377.1L260.9 182.6c3.5 4.9 7.5 9.6 11.8 14l38.1 38.1c6 6 12.4 11.2 19.2 15.7L134.9 484.6c-14.5 17.4-36 27.4-58.6 27.4C34.1 512 0 477.8 0 435.7c0-22.6 10.1-44.1 27.4-58.6z"]},Ay={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]};function C3(n){let e,t,i,r,s,l,o,a,c=n[0]&&!n[3]&&T1(n);return{c(){e=P("span"),t=Se(n[1]),i=Se(n[2]),r=N(),c&&c.c(),s=Ht(),v(e,"class","filename svelte-1ul6ap")},m(h,O){U(h,e,O),Q(e,t),Q(e,i),U(h,r,O),c&&c.m(h,O),U(h,s,O),l=!0,o||(a=le(e,"click",n[8]),o=!0)},p(h,O){(!l||O&2)&&Fe(t,h[1]),(!l||O&4)&&Fe(i,h[2]),h[0]&&!h[3]?c?(c.p(h,O),O&9&&D(c,1)):(c=T1(h),c.c(),D(c,1),c.m(s.parentNode,s)):c&&(Ke(),L(c,1,1,()=>{c=null}),Je())},i(h){l||(D(c),l=!0)},o(h){L(c),l=!1},d(h){h&&(A(e),A(r),A(s)),c&&c.d(h),o=!1,a()}}}function T3(n){let e,t,i,r,s;return{c(){e=P("input"),i=Se(n[2]),v(e,"size",t=n[4].length||n[1].length),v(e,"placeholder",n[1])},m(l,o){U(l,e,o),n[11](e),ni(e,n[4]),U(l,i,o),r||(s=[le(e,"input",n[12]),le(e,"blur",n[10]),le(e,"keyup",n[9])],r=!0)},p(l,o){o&18&&t!==(t=l[4].length||l[1].length)&&v(e,"size",t),o&2&&v(e,"placeholder",l[1]),o&16&&e.value!==l[4]&&ni(e,l[4]),o&4&&Fe(i,l[2])},i:we,o:we,d(l){l&&(A(e),A(i)),n[11](null),r=!1,Gt(s)}}}function T1(n){let e,t,i,r,s;return t=new Ct({props:{icon:Xy}}),{c(){e=P("span"),qe(t.$$.fragment),v(e,"class","close-tab svelte-1ul6ap")},m(l,o){U(l,e,o),Ve(t,e,null),i=!0,r||(s=le(e,"click",n[13]),r=!0)},p:we,i(l){i||(D(t.$$.fragment,l),i=!0)},o(l){L(t.$$.fragment,l),i=!1},d(l){l&&A(e),De(t),r=!1,s()}}}function Z3(n){let e,t,i,r,s,l;const o=[T3,C3],a=[];function c(h,O){return h[5]?0:1}return t=c(n),i=a[t]=o[t](n),{c(){e=P("a"),i.c(),v(e,"class","filename-link svelte-1ul6ap"),ce(e,"active",n[0]),ce(e,"readonly",n[3])},m(h,O){U(h,e,O),a[t].m(e,null),r=!0,s||(l=le(e,"click",n[14]),s=!0)},p(h,[O]){let p=t;t=c(h),t===p?a[t].p(h,O):(Ke(),L(a[p],1,1,()=>{a[p]=null}),Je(),i=a[t],i?i.p(h,O):(i=a[t]=o[t](h),i.c()),D(i,1),i.m(e,null)),(!r||O&1)&&ce(e,"active",h[0]),(!r||O&8)&&ce(e,"readonly",h[3])},i(h){r||(D(i),r=!0)},o(h){L(i),r=!1},d(h){h&&A(e),a[t].d(),s=!1,l()}}}function R3(n,e,t){let{active:i=!1}=e,{name:r="Untitled"}=e,{suffix:s=".mzn"}=e,{readonly:l=!1}=e;const o=Yn();let a=!1,c,h="";async function O(){!i||l||(t(5,a=!0),t(4,h=r),await jn(),c.focus())}function p(W){W.key==="Enter"?(W.preventDefault(),g()):W.key==="Escape"&&t(5,a=!1)}function g(){t(5,a=!1),h.length>0&&o("rename",{name:h,suffix:s})}function b(W){Yt[W?"unshift":"push"](()=>{c=W,t(6,c)})}function y(){h=this.value,t(4,h)}const $=()=>o("close"),k=()=>{a||o("click")};return n.$$set=W=>{"active"in W&&t(0,i=W.active),"name"in W&&t(1,r=W.name),"suffix"in W&&t(2,s=W.suffix),"readonly"in W&&t(3,l=W.readonly)},n.$$.update=()=>{n.$$.dirty&16&&/[\/\\\.]/.test(h)&&t(4,h=h.replaceAll(/[\/\\\.]/g,""))},[i,r,s,l,h,a,c,o,O,p,g,b,y,$,k]}class X3 extends _i{constructor(e){super(),ki(this,e,R3,Z3,di,{active:0,name:1,suffix:2,readonly:3})}}function Yy(n){const e=n-1;return e*e*e+1}function A3(n,{from:e,to:t},i={}){const r=getComputedStyle(n),s=r.transform==="none"?"":r.transform,[l,o]=r.transformOrigin.split(" ").map(parseFloat),a=e.left+e.width*l/t.width-(t.left+l),c=e.top+e.height*o/t.height-(t.top+o),{delay:h=0,duration:O=g=>Math.sqrt(g)*120,easing:p=Yy}=i;return{delay:h,duration:Fc(O)?O(Math.sqrt(a*a+c*c)):O,easing:p,css:(g,b)=>{const y=b*a,$=b*c,k=g+b*e.width/t.width,W=g+b*e.height/t.height;return`transform: ${s} translate(${y}px, ${$}px) scale(${k}, ${W});`}}}function Z1(n,e,t){const i=n.slice();return i[19]=e[t],i}function R1(n,e){let t,i,r,s=we,l,o,a;function c(){return e[11](e[19])}function h(...b){return e[12](e[19],...b)}function O(...b){return e[13](e[19],...b)}i=new X3({props:{name:e[19].stem,suffix:e[19].suffix,active:e[0]===e[19].index,readonly:e[1]||e[19].readonlyTab}}),i.$on("click",c),i.$on("rename",h),i.$on("close",O);function p(...b){return e[14](e[19],...b)}function g(...b){return e[15](e[19],...b)}return{key:n,first:null,c(){t=P("li"),qe(i.$$.fragment),v(t,"draggable",!0),ce(t,"is-active",e[0]===e[19].index),this.first=t},m(b,y){U(b,t,y),Ve(i,t,null),l=!0,o||(a=[le(t,"dragstart",p),le(t,"dragover",e[7]),le(t,"drop",g)],o=!0)},p(b,y){e=b;const $={};y&4&&($.name=e[19].stem),y&4&&($.suffix=e[19].suffix),y&5&&($.active=e[0]===e[19].index),y&6&&($.readonly=e[1]||e[19].readonlyTab),i.$set($),(!l||y&5)&&ce(t,"is-active",e[0]===e[19].index)},r(){r=t.getBoundingClientRect()},f(){FW(t),s()},a(){s(),s=jW(t,r,A3,{duration:200})},i(b){l||(D(i.$$.fragment,b),l=!0)},o(b){L(i.$$.fragment,b),l=!1},d(b){b&&A(t),De(i),o=!1,Gt(a)}}}function X1(n){let e,t,i,r,s,l,o,a,c,h,O,p;return r=new Ct({props:{icon:Ry}}),c=new Ct({props:{icon:w3}}),{c(){e=P("li"),t=P("a"),i=P("span"),qe(r.$$.fragment),s=N(),l=P("li"),o=P("button"),a=P("span"),qe(c.$$.fragment),v(i,"class","icon add-icon svelte-7ub6h4"),v(t,"title","Add new file"),v(a,"class","icon"),v(o,"class","button is-small"),v(o,"title","Manage files"),v(l,"class","right svelte-7ub6h4")},m(g,b){U(g,e,b),Q(e,t),Q(t,i),Ve(r,i,null),U(g,s,b),U(g,l,b),Q(l,o),Q(o,a),Ve(c,a,null),h=!0,O||(p=[le(t,"click",n[16]),le(o,"click",n[17])],O=!0)},p:we,i(g){h||(D(r.$$.fragment,g),D(c.$$.fragment,g),h=!0)},o(g){L(r.$$.fragment,g),L(c.$$.fragment,g),h=!1},d(g){g&&(A(e),A(s),A(l)),De(r),De(c),O=!1,Gt(p)}}}function Y3(n){let e,t,i=[],r=new Map,s,l,o=at(n[2]);const a=h=>h[19].name;for(let h=0;h{c=null}),Je()):c?(c.p(h,O),O&2&&D(c,1)):(c=X1(h),c.c(),D(c,1),c.m(t,null))},i(h){if(!l){for(let O=0;Oa(E.index),$=(E,M)=>c(M,E.index),k=(E,M)=>b(E.index),W=(E,M)=>O(M,E.index),X=(E,M)=>g(M,E.index),R=()=>o("newFile"),T=()=>o("manageFiles");return n.$$set=E=>{"files"in E&&t(10,r=E.files),"currentIndex"in E&&t(0,s=E.currentIndex),"readonly"in E&&t(1,l=E.readonly)},n.$$.update=()=>{n.$$.dirty&1024&&t(2,i=r.map((E,M)=>{const z=E.name.endsWith(".mzc.mzn")?E.name.length-8:E.name.lastIndexOf(".");return{...E,stem:E.name.substring(0,z),suffix:E.name.substring(z),index:M}}).filter(E=>!E.hidden))},[s,l,i,o,a,c,O,p,g,b,r,y,$,k,W,X,R,T]}class E3 extends _i{constructor(e){super(),ki(this,e,U3,Y3,di,{files:10,currentIndex:0,readonly:1})}}function A1(n,{delay:e=0,duration:t=400,easing:i=bd}={}){const r=+getComputedStyle(n).opacity;return{delay:e,duration:t,easing:i,css:s=>`opacity: ${s*r}`}}function vc(n,{delay:e=0,duration:t=400,easing:i=Yy,x:r=0,y:s=0,opacity:l=0}={}){const o=getComputedStyle(n),a=+o.opacity,c=o.transform==="none"?"":o.transform,h=a*(1-l),[O,p]=dm(r),[g,b]=dm(s);return{delay:e,duration:t,easing:i,css:(y,$)=>` + transform: ${c} translate(${(1-y)*O}${p}, ${(1-y)*g}${b}); + opacity: ${a-h*$}`}}const z3=n=>({}),Y1=n=>({});function U1(n){let e,t,i,r,s,l,o,a,c,h,O,p,g,b,y,$,k,W;const X=n[6].default,R=Fi(X,n,n[5],null),T=n[6].footer,E=Fi(T,n,n[5],Y1),M=E||M3(n);return{c(){e=P("form"),t=P("div"),i=N(),r=P("div"),s=P("header"),l=P("p"),o=Se(n[0]),a=N(),c=P("button"),h=N(),O=P("section"),R&&R.c(),p=N(),g=P("footer"),M&&M.c(),v(t,"class","modal-background"),v(l,"class","modal-card-title"),v(c,"type","button"),v(c,"class","delete"),v(c,"aria-label","close"),v(s,"class","modal-card-head"),v(O,"class","modal-card-body"),v(g,"class","modal-card-foot"),v(r,"class","modal-card"),v(e,"tabindex","0"),v(e,"class","modal is-active")},m(z,B){U(z,e,B),Q(e,t),Q(e,i),Q(e,r),Q(r,s),Q(s,l),Q(l,o),Q(s,a),Q(s,c),Q(r,h),Q(r,O),R&&R.m(O,null),Q(r,p),Q(r,g),M&&M.m(g,null),n[7](e),$=!0,k||(W=[le(t,"click",n[4]),le(c,"click",n[4]),le(e,"submit",Gb(n[8]))],k=!0)},p(z,B){(!$||B&1)&&Fe(o,z[0]),R&&R.p&&(!$||B&32)&&Hi(R,X,z,z[5],$?Gi(X,z[5],B,null):Ki(z[5]),null),E&&E.p&&(!$||B&32)&&Hi(E,T,z,z[5],$?Gi(T,z[5],B,z3):Ki(z[5]),Y1)},i(z){$||(D(R,z),D(M,z),z&&Gn(()=>{$&&(b||(b=bl(r,vc,{y:-200,duration:200},!0)),b.run(1))}),z&&Gn(()=>{$&&(y||(y=bl(e,A1,{duration:200},!0)),y.run(1))}),$=!0)},o(z){L(R,z),L(M,z),z&&(b||(b=bl(r,vc,{y:-200,duration:200},!1)),b.run(0)),z&&(y||(y=bl(e,A1,{duration:200},!1)),y.run(0)),$=!1},d(z){z&&A(e),R&&R.d(z),M&&M.d(z),z&&b&&b.end(),n[7](null),z&&y&&y.end(),k=!1,Gt(W)}}}function M3(n){let e,t,i;return{c(){e=P("button"),e.textContent="Cancel",v(e,"class","button")},m(r,s){U(r,e,s),t||(i=le(e,"click",n[4]),t=!0)},p:we,d(r){r&&A(e),t=!1,i()}}}function V3(n){let e,t,i=n[1]&&U1(n);return{c(){i&&i.c(),e=Ht()},m(r,s){i&&i.m(r,s),U(r,e,s),t=!0},p(r,[s]){r[1]?i?(i.p(r,s),s&2&&D(i,1)):(i=U1(r),i.c(),D(i,1),i.m(e.parentNode,e)):i&&(Ke(),L(i,1,1,()=>{i=null}),Je())},i(r){t||(D(i),t=!0)},o(r){L(i),t=!1},d(r){r&&A(e),i&&i.d(r)}}}function D3(n,e,t){let{$$slots:i={},$$scope:r}=e,{title:s}=e,{active:l=!1}=e;const o=Yn();let a;async function c(g){g&&(await jn(),a&&a.focus(),o("activate"))}function h(){o("cancel")}function O(g){Yt[g?"unshift":"push"](()=>{a=g,t(2,a)})}const p=()=>o("submit");return n.$$set=g=>{"title"in g&&t(0,s=g.title),"active"in g&&t(1,l=g.active),"$$scope"in g&&t(5,r=g.$$scope)},n.$$.update=()=>{n.$$.dirty&2&&c(l)},[s,l,a,o,h,r,i,O,p]}class Ls extends _i{constructor(e){super(),ki(this,e,D3,V3,di,{title:0,active:1})}}const Uy=1024;let q3=0;class Zn{constructor(e,t){this.from=e,this.to=t}}class ot{constructor(e={}){this.id=q3++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Di.match(e)),t=>{let i=e(t);return i===void 0?null:[this,i]}}}ot.closedBy=new ot({deserialize:n=>n.split(" ")});ot.openedBy=new ot({deserialize:n=>n.split(" ")});ot.group=new ot({deserialize:n=>n.split(" ")});ot.contextHash=new ot({perNode:!0});ot.lookAhead=new ot({perNode:!0});ot.mounted=new ot({perNode:!0});class sa{constructor(e,t,i){this.tree=e,this.overlay=t,this.parser=i}static get(e){return e&&e.props&&e.props[ot.mounted.id]}}const I3=Object.create(null);class Di{constructor(e,t,i,r=0){this.name=e,this.props=t,this.id=i,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):I3,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Di(e.name||"",t,e.id,i);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(ot.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let i in e)for(let r of i.split(" "))t[r]=e[i];return i=>{for(let r=i.prop(ot.group),s=-1;s<(r?r.length:0);s++){let l=t[s<0?i.name:r[s]];if(l)return l}}}}Di.none=new Di("",Object.create(null),0,8);class Xd{constructor(e){this.types=e;for(let t=0;t0;for(let a=this.cursor(l|Zt.IncludeAnonymous);;){let c=!1;if(a.from<=s&&a.to>=r&&(!o&&a.type.isAnonymous||t(a)!==!1)){if(a.firstChild())continue;c=!0}for(;c&&i&&(o||!a.type.isAnonymous)&&i(a),!a.nextSibling();){if(!a.parent())return;c=!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:Ud(Di.none,this.children,this.positions,0,this.children.length,0,this.length,(t,i,r)=>new Nt(this.type,t,i,r,this.propValues),e.makeTree||((t,i,r)=>new Nt(Di.none,t,i,r)))}static build(e){return j3(e)}}Nt.empty=new Nt(Di.none,[],[],0);class Ad{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 Ad(this.buffer,this.index)}}class ys{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return Di.none}toString(){let e=[];for(let t=0;t0));a=l[a+3]);return o}slice(e,t,i){let r=this.buffer,s=new Uint16Array(t-e),l=0;for(let o=e,a=0;o=e&&te;case 1:return t<=e&&i>e;case 2:return i>e;case 4:return!0}}function la(n,e,t,i){for(var r;n.from==n.to||(t<1?n.from>=e:n.from>e)||(t>-1?n.to<=e:n.to0?o.length:-1;e!=c;e+=t){let h=o[e],O=a[e]+l.from;if(Ey(r,i,O,O+h.length)){if(h instanceof ys){if(s&Zt.ExcludeBuffers)continue;let p=h.findChild(0,h.buffer.length,t,i-O,r);if(p>-1)return new dr(new N3(l,h,e,O),null,p)}else if(s&Zt.IncludeAnonymous||!h.type.isAnonymous||Yd(h)){let p;if(!(s&Zt.IgnoreMounts)&&(p=sa.get(h))&&!p.overlay)return new Xi(p.tree,O,e,l);let g=new Xi(h,O,e,l);return s&Zt.IncludeAnonymous||!g.type.isAnonymous?g:g.nextChild(t<0?h.children.length-1:0,t,i,r)}}}if(s&Zt.IncludeAnonymous||!l.type.isAnonymous||(l.index>=0?e=l.index+t:e=t<0?-1:l._parent._tree.children.length,l=l._parent,!l))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,i=0){let r;if(!(i&Zt.IgnoreOverlays)&&(r=sa.get(this._tree))&&r.overlay){let s=e-this.from;for(let{from:l,to:o}of r.overlay)if((t>0?l<=s:l=s:o>s))return new Xi(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,i)}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}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function z1(n,e,t,i){let r=n.cursor(),s=[];if(!r.firstChild())return s;if(t!=null){for(;!r.type.is(t);)if(!r.nextSibling())return s}for(;;){if(i!=null&&r.type.is(i))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return i==null?s:[]}}function nd(n,e,t=e.length-1){for(let i=n.parent;t>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[t]&&e[t]!=i.name)return!1;t--}}return!0}class N3{constructor(e,t,i,r){this.parent=e,this.buffer=t,this.index=i,this.start=r}}class dr extends zy{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]}constructor(e,t,i){super(),this.context=e,this._parent=t,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}child(e,t,i){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,i);return s<0?null:new dr(this.context,this,s)}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,i=0){if(i&Zt.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 dr(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 dr(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 dr(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:i}=this.context,r=this.index+4,s=i.buffer[this.index+3];if(s>r){let l=i.buffer[this.index+1];e.push(i.slice(r,s,l)),t.push(0)}return new Nt(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function My(n){if(!n.length)return null;let e=0,t=n[0];for(let s=1;st.from||l.to=e){let o=new Xi(l.tree,l.overlay[0].from+s.from,-1,s);(r||(r=[i])).push(la(o,e,t,!1))}}return r?My(r):i}class wc{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Xi)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:i,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=i+r.buffer[e+1],this.to=i+r.buffer[e+2],!0}yield(e){return e?e instanceof Xi?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,i,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,i);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}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,i=this.mode){return this.buffer?i&Zt.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Zt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Zt.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)):!1;let{buffer:t}=this.buffer,i=this.stack.length-1;if(e<0){let r=i<0?0:this.stack[i]+4;if(this.index!=r)return this.yieldBuf(t.findChild(r,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(i<0?t.buffer.length:t.buffer[this.stack[i]+3]))return this.yieldBuf(r)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,i,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=t+e,l=e<0?-1:i._tree.children.length;s!=l;s+=e){let o=i._tree.children[s];if(this.mode&Zt.IncludeAnonymous||o instanceof ys||!o.type.isAnonymous||Yd(o))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 l=e;l;l=l._parent)if(l.index==r){if(r==this.index)return l;t=l,i=s+1;break e}r=this.stack[--s]}for(let r=i;r=0;s--){if(s<0)return nd(this.node,e,r);let l=i[t.buffer[this.stack[s]]];if(!l.isAnonymous){if(e[r]&&e[r]!=l.name)return!1;r--}}return!0}}function Yd(n){return n.children.some(e=>e instanceof ys||!e.type.isAnonymous||Yd(e))}function j3(n){var e;let{buffer:t,nodeSet:i,maxBufferLength:r=Uy,reused:s=[],minRepeatType:l=i.types.length}=n,o=Array.isArray(t)?new Ad(t,t.length):t,a=i.types,c=0,h=0;function O(T,E,M,z,B,I){let{id:K,start:ne,end:Oe,size:oe}=o,Ce=h;for(;oe<0;)if(o.next(),oe==-1){let Qe=s[K];M.push(Qe),z.push(ne-T);return}else if(oe==-3){c=K;return}else if(oe==-4){h=K;return}else throw new RangeError(`Unrecognized record size: ${oe}`);let ue=a[K],fe,Xe,Ie=ne-T;if(Oe-ne<=r&&(Xe=$(o.pos-E,B))){let Qe=new Uint16Array(Xe.size-Xe.skip),xe=o.pos-Xe.size,it=Qe.length;for(;o.pos>xe;)it=k(Xe.start,Qe,it);fe=new ys(Qe,Oe-Xe.start,i),Ie=Xe.start-T}else{let Qe=o.pos-oe;o.next();let xe=[],it=[],Ut=K>=l?K:-1,Qt=0,dt=Oe;for(;o.pos>Qe;)Ut>=0&&o.id==Ut&&o.size>=0?(o.end<=dt-r&&(b(xe,it,ne,Qt,o.end,dt,Ut,Ce),Qt=xe.length,dt=o.end),o.next()):I>2500?p(ne,Qe,xe,it):O(ne,Qe,xe,it,Ut,I+1);if(Ut>=0&&Qt>0&&Qt-1&&Qt>0){let Et=g(ue);fe=Ud(ue,xe,it,0,xe.length,0,Oe-ne,Et,Et)}else fe=y(ue,xe,it,Oe-ne,Ce-Oe)}M.push(fe),z.push(Ie)}function p(T,E,M,z){let B=[],I=0,K=-1;for(;o.pos>E;){let{id:ne,start:Oe,end:oe,size:Ce}=o;if(Ce>4)o.next();else{if(K>-1&&Oe=0;oe-=3)ne[Ce++]=B[oe],ne[Ce++]=B[oe+1]-Oe,ne[Ce++]=B[oe+2]-Oe,ne[Ce++]=Ce;M.push(new ys(ne,B[2]-Oe,i)),z.push(Oe-T)}}function g(T){return(E,M,z)=>{let B=0,I=E.length-1,K,ne;if(I>=0&&(K=E[I])instanceof Nt){if(!I&&K.type==T&&K.length==z)return K;(ne=K.prop(ot.lookAhead))&&(B=M[I]+K.length+ne)}return y(T,E,M,z,B)}}function b(T,E,M,z,B,I,K,ne){let Oe=[],oe=[];for(;T.length>z;)Oe.push(T.pop()),oe.push(E.pop()+M-B);T.push(y(i.types[K],Oe,oe,I-B,ne-I)),E.push(B-M)}function y(T,E,M,z,B=0,I){if(c){let K=[ot.contextHash,c];I=I?[K].concat(I):[K]}if(B>25){let K=[ot.lookAhead,B];I=I?[K].concat(I):[K]}return new Nt(T,E,M,z,I)}function $(T,E){let M=o.fork(),z=0,B=0,I=0,K=M.end-r,ne={size:0,start:0,skip:0};e:for(let Oe=M.pos-T;M.pos>Oe;){let oe=M.size;if(M.id==E&&oe>=0){ne.size=z,ne.start=B,ne.skip=I,I+=4,z+=4,M.next();continue}let Ce=M.pos-oe;if(oe<0||Ce=l?4:0,fe=M.start;for(M.next();M.pos>Ce;){if(M.size<0)if(M.size==-3)ue+=4;else break e;else M.id>=l&&(ue+=4);M.next()}B=fe,z+=oe,I+=ue}return(E<0||z==T)&&(ne.size=z,ne.start=B,ne.skip=I),ne.size>4?ne:void 0}function k(T,E,M){let{id:z,start:B,end:I,size:K}=o;if(o.next(),K>=0&&z4){let Oe=o.pos-(K-4);for(;o.pos>Oe;)M=k(T,E,M)}E[--M]=ne,E[--M]=I-T,E[--M]=B-T,E[--M]=z}else K==-3?c=z:K==-4&&(h=z);return M}let W=[],X=[];for(;o.pos>0;)O(n.start||0,n.bufferStart||0,W,X,-1,0);let R=(e=n.length)!==null&&e!==void 0?e:W.length?X[0]+W[0].length:0;return new Nt(a[n.topID],W.reverse(),X.reverse(),R)}const M1=new WeakMap;function fc(n,e){if(!n.isAnonymous||e instanceof ys||e.type!=n)return 1;let t=M1.get(e);if(t==null){t=1;for(let i of e.children){if(i.type!=n||!(i instanceof Nt)){t=1;break}t+=fc(n,i)}M1.set(e,t)}return t}function Ud(n,e,t,i,r,s,l,o,a){let c=0;for(let b=i;b=h)break;E+=M}if(X==R+1){if(E>h){let M=b[R];g(M.children,M.positions,0,M.children.length,y[R]+W);continue}O.push(b[R])}else{let M=y[X-1]+b[X-1].length-T;O.push(Ud(n,b,y,R,X,T,M,null,a))}p.push(T+W-s)}}return g(e,t,i,r,0),(o||a)(O,p,l)}class Vy{constructor(){this.map=new WeakMap}setBuffer(e,t,i){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,i)}getBuffer(e,t){let i=this.map.get(e);return i&&i.get(t)}set(e,t){e instanceof dr?this.setBuffer(e.context.buffer,e.index,t):e instanceof Xi&&this.map.set(e.tree,t)}get(e){return e instanceof dr?this.getBuffer(e.context.buffer,e.index):e instanceof Xi?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 Er{constructor(e,t,i,r,s=!1,l=!1){this.from=e,this.to=t,this.tree=i,this.offset=r,this.open=(s?1:0)|(l?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],i=!1){let r=[new Er(0,e.length,e,0,!1,i)];for(let s of t)s.to>e.length&&r.push(s);return r}static applyChanges(e,t,i=128){if(!t.length)return e;let r=[],s=1,l=e.length?e[0]:null;for(let o=0,a=0,c=0;;o++){let h=o=i)for(;l&&l.from=p.from||O<=p.to||c){let g=Math.max(p.from,a)-c,b=Math.min(p.to,O)-c;p=g>=b?null:new Er(g,b,p.tree,p.offset+c,o>0,!!h)}if(p&&r.push(p),l.to>O)break;l=snew Zn(r.from,r.to)):[new Zn(0,0)]:[new Zn(0,e.length)],this.createParse(e,t||[],i)}parse(e,t,i){let r=this.startParse(e,t,i);for(;;){let s=r.advance();if(s)return s}}}class F3{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 G3(n){return(e,t,i,r)=>new K3(e,n,t,i,r)}class V1{constructor(e,t,i,r,s){this.parser=e,this.parse=t,this.overlay=i,this.target=r,this.from=s}}function D1(n){if(!n.length||n.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(n))}class H3{constructor(e,t,i,r,s,l,o){this.parser=e,this.predicate=t,this.mounts=i,this.index=r,this.start=s,this.target=l,this.prev=o,this.depth=0,this.ranges=[]}}const rd=new ot({perNode:!0});class K3{constructor(e,t,i,r,s){this.nest=t,this.input=i,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let i=this.baseParse.advance();if(!i)return null;if(this.baseParse=null,this.baseTree=i,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let i=this.baseTree;return this.stoppedAt!=null&&(i=new Nt(i.type,i.children,i.positions,i.length,i.propValues.concat([[rd,this.stoppedAt]]))),i}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let i=Object.assign(Object.create(null),e.target.props);i[ot.mounted.id]=new sa(t,e.overlay,e.parser),e.target.props=i}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t=this.stoppedAt)o=!1;else if(e.hasNode(r)){if(t){let c=t.mounts.find(h=>h.frag.from<=r.from&&h.frag.to>=r.to&&h.mount.overlay);if(c)for(let h of c.mount.overlay){let O=h.from+c.pos,p=h.to+c.pos;O>=r.from&&p<=r.to&&!t.ranges.some(g=>g.fromO)&&t.ranges.push({from:O,to:p})}}o=!1}else if(i&&(l=J3(i.ranges,r.from,r.to)))o=l!=2;else if(!r.type.isAnonymous&&(s=this.nest(r,this.input))&&(r.fromnew Zn(O.from-r.from,O.to-r.from)):null,r.tree,h.length?h[0].from:r.from)),s.overlay?h.length&&(i={ranges:h,depth:0,prev:i}):o=!1}}else t&&(a=t.predicate(r))&&(a===!0&&(a=new Zn(r.from,r.to)),a.fromnew Zn(h.from-t.start,h.to-t.start)),t.target,c[0].from))),t=t.prev}i&&!--i.depth&&(i=i.prev)}}}}function J3(n,e,t){for(let i of n){if(i.from>=t)break;if(i.to>e)return i.from<=e&&i.to>=t?2:1}return 0}function q1(n,e,t,i,r,s){if(e=e.to);i++);let l=r.children[i],o=l.buffer,a=[i];function c(h,O,p,g,b,y){let $=t[y],k=[],W=[];q1(l,h,$,k,W,g);let X=o[$+1],R=o[$+2];a.push(k.length);let T=y?c($+4,o[$+3],l.set.types[o[$]],X,R-X,y-1):e.toTree();return k.push(T),W.push(X-g),q1(l,o[$+3],O,k,W,g),new Nt(p,k,W,b)}r.children[i]=c(0,o.length,Di.none,0,l.length,t.length-1);for(let h of a){let O=n.tree.children[h],p=n.tree.positions[h];n.yield(new Xi(O,p+n.from,h,n._tree))}}class I1{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Zt.IncludeAnonymous|Zt.IgnoreMounts)}moveTo(e){let{cursor:t}=this,i=e-this.offset;for(;!this.done&&t.from=e&&t.enter(i,1,Zt.IgnoreOverlays|Zt.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&&t.positions[0]==0&&t.children[0]instanceof Nt)t=t.children[0];else break}return!1}}let tT=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let i=this.curFrag=e[0];this.curTo=(t=i.tree.prop(rd))!==null&&t!==void 0?t:i.to,this.inner=new I1(i.tree,-i.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=(e=t.tree.prop(rd))!==null&&e!==void 0?e:t.to,this.inner=new I1(t.tree,-t.offset)}}findMounts(e,t){var i;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let l=(i=s.tree)===null||i===void 0?void 0:i.prop(ot.mounted);if(l&&l.parser==t)for(let o=this.fragI;o=s.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:s.from-a.offset,mount:l})}}}return r}};function N1(n,e){let t=null,i=e;for(let r=1,s=0;r=o)break;a.to<=l||(t||(i=t=e.slice()),a.fromo&&t.splice(s+1,0,new Zn(o,a.to))):a.to>o?t[s--]=new Zn(o,a.to):t.splice(s--,1))}}return i}function iT(n,e,t,i){let r=0,s=0,l=!1,o=!1,a=-1e9,c=[];for(;;){let h=r==n.length?1e9:l?n[r].to:n[r].from,O=s==e.length?1e9:o?e[s].to:e[s].from;if(l!=o){let p=Math.max(a,t),g=Math.min(h,O,i);pnew Zn(p.from+i,p.to+i)),O=iT(e,h,a,c);for(let p=0,g=a;;p++){let b=p==O.length,y=b?c:O[p].from;if(y>g&&t.push(new Er(g,y,r.tree,-l,s.from>=g||s.openStart,s.to<=y||s.openEnd)),b)break;g=O[p].to}}else t.push(new Er(a,c,r.tree,-l,s.from>=l||s.openStart,s.to<=o||s.openEnd))}return t}var B1={};class Qc{constructor(e,t,i,r,s,l,o,a,c,h=0,O){this.p=e,this.stack=t,this.state=i,this.reducePos=r,this.pos=s,this.score=l,this.buffer=o,this.bufferBase=a,this.curContext=c,this.lookAhead=h,this.parent=O}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,i=0){let r=e.parser.context;return new Qc(e,[],t,i,i,0,[],0,r?new j1(r,r.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){var t;let i=e>>19,r=e&65535,{parser:s}=this.p,l=s.dynamicPrecedence(r);if(l&&(this.score+=l),i==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r=2e3&&!(!((t=this.p.parser.nodeSet.types[r])===null||t===void 0)&&t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSizeo;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,t,i,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&l.buffer[o-4]==0&&l.buffer[o-1]>-1){if(t==i)return;if(l.buffer[o-2]>=t){l.buffer[o-2]=i;return}}}if(!s||this.pos==i)this.buffer.push(e,t,i,r);else{let l=this.buffer.length;if(l>0&&this.buffer[l-4]!=0)for(;l>0&&this.buffer[l-2]>i;)this.buffer[l]=this.buffer[l-4],this.buffer[l+1]=this.buffer[l-3],this.buffer[l+2]=this.buffer[l-2],this.buffer[l+3]=this.buffer[l-1],l-=4,r>4&&(r-=4);this.buffer[l]=e,this.buffer[l+1]=t,this.buffer[l+2]=i,this.buffer[l+3]=r}}shift(e,t,i,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,r,4);else{let s=e,{parser:l}=this.p;(r>this.pos||t<=l.maxNode)&&(this.pos=r,l.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,i),this.shiftContext(t,i),t<=l.maxNode&&this.buffer.push(t,i,r,4)}}apply(e,t,i,r){e&65536?this.reduce(e):this.shift(e,t,i,r)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(i,r,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 i=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new Qc(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,i?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new nT(this);;){let i=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(i==0)return!1;if(!(i&65536))return!0;t.reduce(i)}}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 r=[];for(let s=0,l;sa&1&&o==l)||r.push(t[s],l)}t=r}let i=[];for(let r=0;r>19,r=t&65535,s=this.stack.length-i*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let l=this.findForcedReduction();if(l==null)return!1;t=l}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],i=(r,s)=>{if(!t.includes(r))return t.push(r),e.allActions(r,l=>{if(!(l&393216))if(l&65536){let o=(l>>19)-s;if(o>1){let a=l&65535,c=this.stack.length-o*3;if(c>=0&&e.getGoto(this.stack[c],a,!1)>=0)return o<<19|65536|a}}else{let o=i(l,s+1);if(o!=null)return o}})};return i(this.state,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(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),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 j1{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class nT{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class kc{constructor(e,t,i){this.stack=e,this.pos=t,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new kc(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(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,this.index==0&&this.maybeNext()}fork(){return new kc(this.stack,this.pos,this.index)}}function Eo(n,e=Uint16Array){if(typeof n!="string")return n;let t=null;for(let i=0,r=0;i=92&&l--,l>=34&&l--;let a=l-32;if(a>=46&&(a-=46,o=!0),s+=a,o)break;s*=46}t?t[r++]=s:t=new e(s)}return t}class cc{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const F1=new cc;class rT{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=F1,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 i=this.range,r=this.rangeIndex,s=this.pos+e;for(;si.to:s>=i.to;){if(r==this.ranges.length-1)return null;let l=this.ranges[++r];s+=l.from-i.to,i=l}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,i,r;if(t>=0&&t=this.chunk2Pos&&io.to&&(this.chunk2=this.chunk2.slice(0,o.to-i)),r=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),r}acceptToken(e,t=0){let i=t?this.resolveOffset(t,-1):this.pos;if(i==null||i=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,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=F1,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 i="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(i+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return i}}class Cl{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;qy(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}Cl.prototype.contextual=Cl.prototype.fallback=Cl.prototype.extend=!1;class _c{constructor(e,t,i){this.precTable=t,this.elseToken=i,this.data=typeof e=="string"?Eo(e):e}token(e,t){let i=e.pos,r=0;for(;;){let s=e.next<0,l=e.resolveOffset(1,1);if(qy(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,l==null)break;e.reset(l,e.token)}r&&(e.reset(i,e.token),e.acceptToken(this.elseToken,r))}}_c.prototype.contextual=Cl.prototype.fallback=Cl.prototype.extend=!1;class $r{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function qy(n,e,t,i,r,s){let l=0,o=1<0){let b=n[g];if(a.allows(b)&&(e.token.value==-1||e.token.value==b||sT(b,e.token.value,r,s))){e.acceptToken(b);break}}let h=e.next,O=0,p=n[l+2];if(e.next<0&&p>O&&n[c+p*3-3]==65535){l=n[c+p*3-1];continue e}for(;O>1,b=c+g+(g<<1),y=n[b],$=n[b+1]||65536;if(h=$)O=g+1;else{l=n[b+2],e.advance();continue e}}break}}function G1(n,e,t){for(let i=e,r;(r=n[i])!=65535;i++)if(r==t)return i-e;return-1}function sT(n,e,t,i){let r=G1(t,i,e);return r<0||G1(t,i,n)e)&&!i.type.isError)return t<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(n.length,Math.max(i.from+1,e+25));if(t<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return t<0?0:n.length}}class lT{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?H1(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?H1(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=l,null;if(s instanceof Nt){if(l==e){if(l=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(l),this.index.push(0))}else this.index[t]++,this.nextStart=l+s.length}}}class oT{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new cc)}getActions(e){let t=0,i=null,{parser:r}=e.p,{tokenizers:s}=r,l=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let c=0;cO.end+25&&(a=Math.max(O.lookAhead,a)),O.value!=0)){let p=t;if(O.extended>-1&&(t=this.addActions(e,O.extended,O.end,t)),t=this.addActions(e,O.value,O.end,t),!h.extend&&(i=O,t>p))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),!i&&e.pos==this.stream.end&&(i=new cc,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,t=this.addActions(e,i.value,i.end,t)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new cc,{pos:i,p:r}=e;return t.start=i,t.end=Math.min(i+1,r.stream.end),t.value=i==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,i){let r=this.stream.clipPos(i.pos);if(t.token(this.stream.reset(r,e),i),e.value>-1){let{parser:s}=i.p;for(let l=0;l=0&&i.p.parser.dialect.allows(o>>1)){o&1?e.extended=o>>1:e.value=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,i,r){for(let s=0;se.bufferLength*4?new lT(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,i=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[l]=e;for(;l.forceReduce()&&l.stack.length&&l.stack[l.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let l=0;lt)i.push(o);else{if(this.advanceStack(o,i,e))continue;{r||(r=[],s=[]),r.push(o);let a=this.tokens.getMainToken(o);s.push(a.value,a.end)}}break}}if(!i.length){let l=r&&cT(r);if(l)return cn&&console.log("Finish with "+this.stackID(l)),this.stackToTree(l);if(this.parser.strict)throw cn&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&r){let l=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,i);if(l)return cn&&console.log("Force-finish "+this.stackID(l)),this.stackToTree(l.forceAll())}if(this.recovering){let l=this.recovering==1?1:this.recovering*3;if(i.length>l)for(i.sort((o,a)=>a.score-o.score);i.length>l;)i.pop();i.some(o=>o.reducePos>t)&&this.recovering--}else if(i.length>1){e:for(let l=0;l500&&c.buffer.length>500)if((o.score-c.score||o.buffer.length-c.buffer.length)>0)i.splice(a--,1);else{i.splice(l--,1);continue e}}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(let l=1;l ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,h=c?e.curContext.hash:0;for(let O=this.fragments.nodeAt(r);O;){let p=this.parser.nodeSet.types[O.type.id]==O.type?s.getGoto(e.state,O.type.id):-1;if(p>-1&&O.length&&(!c||(O.prop(ot.contextHash)||0)==h))return e.useNode(O,p),cn&&console.log(l+this.stackID(e)+` (via reuse of ${s.getName(O.type.id)})`),!0;if(!(O instanceof Nt)||O.children.length==0||O.positions[0]>0)break;let g=O.children[0];if(g instanceof Nt&&O.positions[0]==0)O=g;else break}}let o=s.stateSlot(e.state,4);if(o>0)return e.reduce(o),cn&&console.log(l+this.stackID(e)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let c=0;cr?t.push(b):i.push(b)}return!1}advanceFully(e,t){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return K1(e,t),!0}}runRecovery(e,t,i){let r=null,s=!1;for(let l=0;l ":"";if(o.deadEnd&&(s||(s=!0,o.restart(),cn&&console.log(h+this.stackID(o)+" (restarted)"),this.advanceFully(o,i))))continue;let O=o.split(),p=h;for(let g=0;O.forceReduce()&&g<10&&(cn&&console.log(p+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,i));g++)cn&&(p=this.stackID(O)+" -> ");for(let g of o.recoverByInsert(a))cn&&console.log(h+this.stackID(g)+" (via recover-insert)"),this.advanceFully(g,i);this.stream.end>o.pos?(c==o.pos&&(c++,a=0),o.recoverByDelete(a,c),cn&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),K1(o,i)):(!r||r.scoren;class Iy{constructor(e){this.start=e.start,this.shift=e.shift||Kh,this.reduce=e.reduce||Kh,this.reuse=e.reuse||Kh,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class vs extends Dy{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let o=0;oe.topRules[o][1]),r=[];for(let o=0;o=0)s(h,a,o[c++]);else{let O=o[c+-h];for(let p=-h;p>0;p--)s(o[c++],a,O);c++}}}this.nodeSet=new Xd(t.map((o,a)=>Di.define({name:a>=this.minRepeatTerm?void 0:o,id:a,props:r[a],top:i.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Uy;let l=Eo(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new Cl(l,o):o),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,i){let r=new aT(this,e,t,i);for(let s of this.wrappers)r=s(r,e,t,i);return r}getGoto(e,t,i=!1){let r=this.goto;if(t>=r[0])return-1;for(let s=r[t+1];;){let l=r[s++],o=l&1,a=r[s++];if(o&&i)return a;for(let c=s+(l>>1);s0}validAction(e,t){return!!this.allActions(e,i=>i==t?!0:null)}allActions(e,t){let i=this.stateSlot(e,4),r=i?t(i):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=Yr(this.data,s+2);else break;r=t(Yr(this.data,s+1))}return r}nextStates(e){let t=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=Yr(this.data,i+2);else break;if(!(this.data[i+2]&1)){let r=this.data[i+1];t.some((s,l)=>l&1&&s==r)||t.push(this.data[i],r)}}return t}configure(e){let t=Object.assign(Object.create(vs.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=i}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(i=>{let r=e.tokenizers.find(s=>s.from==i);return r?r.to:i})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((i,r)=>{let s=e.specializers.find(o=>o.from==i.external);if(!s)return i;let l=Object.assign(Object.assign({},i),{external:s.to});return t.specializers[r]=J1(l),l})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(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 t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),i=t.map(()=>!1);if(e)for(let s of e.split(" ")){let l=t.indexOf(s);l>=0&&(i[l]=!0)}let r=null;for(let s=0;si)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scoren.external(t,i)<<1|e}return n.get}const uT={__proto__:null,annotation:12,array:20,var:24,par:26,opt:28,ann:32,bool:34,float:36,int:38,string:40,_:50,true:62,false:64,infinity:68,"∅":74,in:92,where:94,if:98,then:100,elseif:102,else:104,endif:106,xor:110,subset:112,superset:114,union:116,diff:118,symdiff:120,intersect:122,div:124,mod:126,default:128,let:132,constraint:140,not:144,"¬":146,any:170,of:172,set:176,tuple:180,record:184,op:190,enum:198,function:202,solve:206,satisfy:208,maximize:210,minimize:212,include:216,output:220,predicate:224,test:226,type:230},hT=vs.deserialize({version:14,states:"!0jQ]QPOOOOQO'#F]'#F]O&XQPO'#CvO&`QPO'#CxOOQO'#C}'#C}O&gQPO'#DSO&nOQO'#DTO$kQPO'#DWOOQO'#Fc'#FcO*}QPO'#CgO+eQPO'#DrO$kQPO'#DuO$kQPO'#DuO/qQPO'#FbOOQO'#Fb'#FbOOQO'#Cg'#CgOOQO'#F`'#F`OOQO'#F['#F[Q/xQPO'#EtQ]QPOOOOQO'#Ck'#CkOOQO'#Ct'#CtOOQO'#Cz'#CzOOQO'#DQ'#DQO$kQPO'#D^O/}QPO'#DsO0UQPO'#DoO0ZQPO'#CgO0wQPO'#CgO1hQPO'#E`O1|QPO'#CeO2RQPO'#EVO2WQPO'#EXO2]QPO'#EZO2bQPO'#E^O2gQPO'#C`O2gQPO'#EbO2oQPO'#EdO3uQPO'#EfO4TQPO'#EkO4YQPO'#EmO2gQPO'#EoO2gQPO'#ErO4aQPO'#CwO4qQPO,59bOOQO,59b,59bO4{QPO,59bO5TQPO'#FbO7`QPO,59tO7pQPO,59dO7xQPO,59dOOQO,59d,59dO8PQPO,59nO8^QPO,59nOOQO,59n,59nO$kQPO'#DUOOOO'#E{'#E{O8eOQO,59oOOQO,59o,59oO8sQPO,5:jO=UQPO'#FbO=`QPO,59rO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OOArQPO,5:dO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OO$kQPO,5:OOCzQPO,5:kOEhQSO,5:lO$kQPO,5:OO$kQPO,5:OO2gQPO,5:^OIzQPO,5:aOJ}QPO,5:aOLQQPO'#D{OOQO,5:f,5:fOLXQPO,5:hO$kQPO,5:{OOQO,5;`,5;`OOQO-E8r-E8rOL^QPO,59xOLeQPO,5:_OLuQPO,5:_ONcQPO'#DqO! oQPO,5:ZO! tQPO,59ROOQO,59R,59RO!![QPO,5:qO!!aQPO,59RO!!}QPO,59PO2oQPO,5:qO2oQPO,5:sO2oQPO,5:uO2oQPO,5:xO!#tQPO,58zO!$SQPO,5:|O!$bQPO,5;OOOQO,5;Q,5;QO$kQPO,5;QO$kQPO,5;QOOQO,5;V,5;VO!$gQPO,5;XO4TQPO,5;XO!$qQPO,5;ZO!$vQPO,5;^O!${QPO,5;bO!&[QPO,59cO!&fQPO,59cO!&qQPO'#EvOOQO-E8t-E8tO!&xQPO1G.|O!'PQPO1G.|OOQO1G.|1G.|O$kQPO1G/`O2gQPO1G/`OOQO,5;e,5;eOOQO1G/O1G/OO!'XQPO'#CyO!'fQPO1G/OOOQO-E8w-E8wOOQO,5;f,5;fOOQO1G/Y1G/YO2gQPO1G0PO!'nQPO1G/YOOQO-E8x-E8xO!'xQPO,59pOOOO-E8y-E8yOOQO1G/Z1G/ZO$kQPO1G/]OOQO1G0U1G0UO$kQPO,59sO!(PQPO1G/^O!([QPO1G/^OOQO1G/^1G/^O!-WQPO1G/jO!-nQPO1G/jO!3UQPO1G/jO!3`QPO1G/jO!7hQPO1G/jO!8tQPO1G/jO!?QQPO1G/jO!?[QPO1G/jO!D]QPO1G/jO!ITQPO1G/jO!IzQPO1G/jO# bQPO1G/jO# iQPO1G/jO#&sQPO1G/jO#&zQPO1G0VO#'UQPO1G0VOOQO'#ER'#EROOQO1G0W1G0WOOQO1G0Y1G0YO#'`QPO1G/jO#(oQPO1G/xO#)TQPO,5:gO#)_QPO,5:gOOQO,5:g,5:gO#)fQPO'#FbO#)pQPO,5:iO$kQPO'#EOOOQO1G0S1G0SO#)xQPO1G0gO$kQPO1G/dO#-qQPO1G/yO#/aQPO,5:]O#/lQPO,5:]OOQO,5:],5:]O$kQPO1G/uO2oQPO1G0]O#0xQPO1G.mOOQO1G.m1G.mO#1`QPO1G0]O#1eQPO'#CgO#2OQPO'#CgO#2lQPO'#CgO#2qQPO1G.kOOQO1G0]1G0]O#2yQPO1G0_O#3OQPO'#E]O#3TQPO1G0aO#3]QPO1G0dO#3bQPO'#F^O$kQPO1G.fO#4kQPO1G.fO$kQPO1G0hO$kQPO1G0hO2gQPO1G0jO#4vQPO1G0lO#5QQPO1G0lO$kQPO1G0sO#5_QPO1G0uO2oQPO1G0xO#5mQPO1G.}O#5zQPO,5;cO#6[QPO1G.}OOQO-E8u-E8uOOQO,5;b,5;bO#6fQPO'#CwOOQO,5;d,5;dOOQO7+$h7+$hO#6vQPO7+$hOOQO-E8v-E8vO#6}QPO7+$zO#7[QPO7+$zO#7dQPO'#DZO$kQPO,59eOOQO7+$j7+$jP#7lQPO'#EyO#7qQPO7+%kOOQO7+$t7+$tP#7yQPO'#EzOOOO1G/[1G/[O#8QQPO7+$wO#8[QPO1G/_O#8fQPO'#DXOOQO,5;h,5;hOOQO7+$x7+$xO#8kQPO7+$xOOQO-E8z-E8zO#:dQPO7+%qO#:kQPO7+%qOOQO7+%q7+%qO$kQPO7+%dO$kQPO7+%dOOQO,5;m,5;mOOQO1G0R1G0RO#:sQPO1G0ROOQO-E9P-E9PO#:}QPO,59uO#;YQPO,59uO$kQPO,59uO#;bQPO1G0TO#;mQPO1G0TOOQO1G0T1G0TO8vQPO,5:jO#;uQPO7+%OO#QOOQOAN>QAN>QO$3mQPOAN>QOOQOAN>qAN>qO$3xQPOAN>qOOQOAN=}AN=}O$4TQPOAN=}OOQOAN>wAN>wP#8vQPO'#FSO$kQPOAN>jO$4[QPO7+${O$kQPO7+${P2gQPO'#E}O$kQPO7+${OOQO<UAN>UO$kQPOAN>UO$4oQPO,5;kO$4vQPOAN>UO2oQPOAN=]O$4}QPOAN=]P!!}QPO'#FTOOQOAN=]AN=]O$5SQPOAN?PO$6]QPOAN?POOQOAN?PAN?POOQOAN?RAN?RP2oQPO'#FVO$6eQPOAN?UO$6mQPOAN?UO$7vQPOAN?UO$7{QPO1G.jOOQO7+'O7+'OP$8WQPO'#EuO$8]QPO!$'M|O$kQPOAN?[O$kQPOAN?[O$vQPOG24pO$>{QPOG24pOOQO-E9U-E9UOOQOG24pG24pO$kQPO7+$UO$?TQPOG24vO$?_QPOG24vOOQOLD)WLD)WO$?iQPOLD)WO$?tQPOAN>RO$kQPOAN>ROOQOLD)[LD)[O$@UQPO7+&qOOQOLD(cLD(cOOQOLD*VLD*VP2oQPO'#FUOOQOLD*[LD*[O$@cQPOLD*[P$@hQPO'#FWO$@mQPO<h7iPP$cP$cP$cP>k$cP$c$X$XP$XP$XPPPP$XP$XP$XPP$XP>s>y?P?V?f?m?t?z@Q@W@_@q@w@}ATA]AcAiAoPPPAuAyF[PFePGs4cTaOcQ&v%VR(f&w!V`Ocu#O#V#W#X#Y$u$x%V%a&j&o&q&w(Z(`(b)U)Y)^)`)u)x*[!U`Ocu#O#V#W#X#Y$u$x%V%a&j&o&q&w(Z(`(b)U)Y)^)`)u)x*[Q%P#UV(V&l(X)W!^_Ocu#O#U#V#W#X#Y$u$x%V%a&j&l&o&q&w(X(Z(`(b)U)W)Y)^)`)u)x*[W#Rkl$|$}T$z#T&k'XWOQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ!OQV%h#k%j'Z'VWOQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZS!RR&`R#s!S'WWOQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ#awR%_#cT!YU!ZQ!_VV%y$Q%{'h'V^OQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ$n!uQ%m#oQ%r#wb'w&Z']'a'y(q(s)O)h*TR(o'['X^OQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+Z']^OQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&b&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*d*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ#PjR*y*zSaOcQ$t#OR&f$uX!v]!P!^$mX!w]!P!^$m'W^OQRTVZ[chiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!u!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZR$p!wR$f!oQ%T#XV(^&q(`)^QcOR!zcQ&w%VR(g&wQ|QR#j|S#h{%gU%e#h'V'eQ'V%bR'e%vS#l|!OR%k#lS!SR&`R#t!SQ!VTR#y!VQ!ZUR#{!ZQ$R!_R%|$RS&X$m%nR'u&XQ&[$nQ'^%mQ'b%rW'z&['^'b)iR)i(oQ'{&_R)P'{Q$u#OR&g$uQ$k!uR&V$kU&O$c$d(PR'm&OQ&m%PR(Y&mQ)Z([R)y)ZQ&r%TR(a&rQ)`(bR)})`TbOcS]Oc'O!PQRTZ[hiklux|!S!V!X!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!p!q!x!}#O#T#U#V#W#X#Y#_#`#f#g#k#n#}$P$d$k$o$r$s$u$w$x$|$}%V%W%Y%Z%_%a%d%j%o%}&Q&R&Y&`&c&j&k&l&o&q&w&z'P'R'S'U'W'X'Z'd'j'l's'|(O(X(Z(`(b(i(n(u(w(x(z(|)R)U)W)Y)^)`)f)g)n)r)u)x*P*V*[*o*p*q*r*s*t*u*v*w*x*{*|*}+O+P+Q+R+ZQ!^VQ#ZsQ#[tQ#dyQ#ezQ$g!oQ$i!rQ$m!uh%n#o#w&Z'[']'a'y(q(s)O)h*TU%x$Q%{'hQ&}%[U'r&W't({Q(]&pR)b(cQ%X#ZQ%`#dR(j&}WYOc#O$uQ#]uQ%Q#VQ%R#WW%S#X&q(`)^Q%U#YQ&i$xS&u%V&wQ'T%aQ(U&jQ([&oQ)X(ZQ)_(bQ)t)UU)v)Y)x*[Q)|)`R*Y)u!^XOcu#O#U#V#W#X#Y$u$x%V%a&j&l&o&q&w(X(Z(`(b)U)W)Y)^)`)u)x*[Q{QQ!QRQ!UTQ!]VQ!sZU!t[$d'jQ!{hQ!|iW#Qkl$|$}Q#bxQ#i|Q#r!SQ#x!VQ#z!XQ$T!`Q$U!aQ$V!bQ$W!cQ$X!dQ$Y!eQ$Z!fQ$[!gQ$]!hS$^!i!pQ$_!jQ$`!kQ$a!lQ$b!mQ$c!nS$h!q+RQ$j!uQ$q!xQ$s!}S$y#T&kQ%]#_Q%^#`S%b#f'X^%c#g%d'U'W'd(n(uU%g#k%j'ZQ%l#nQ%v#}Q%w$PQ&U$kQ&^$oQ&_$rQ&a$sQ&h$wQ&y%WQ&{%YQ&|%ZQ'Q%_Q'`%oU'i%}'l(wQ'n&QQ'o&RQ'v&YQ(P&`Q(Q&bQ(R&cQ(h&zQ(k'PQ(l'RQ(m'SQ(y'sQ)S'|Q)T(OQ)e(iQ)m(xQ)o(zQ)p(|Q)q)RQ*Q)fQ*R)gQ*U)nQ*X)rQ*`*PQ*b*VQ*e*oQ*f*pQ*g*qQ*h*rQ*i*sQ*j*tQ*k*uQ*l*vS*m*d*wQ*n*xQ+S*{Q+T+ZQ+U*|Q+V*}Q+W+OQ+X+PR+Y+Q",nodeNames:"⚠ LineComment BlockComment SourceFile Annotation Identifier Keyword QuotedIdentifier Parameter ArrayType Keyword TypeBase Keyword Keyword Keyword PrimitiveType Keyword Keyword Keyword Keyword Keyword TypeInstId TypeInstEnumId Absent Anonymous Keyword ArrayLiteral2d ArrayLiteral2dRow ArrayLiteral ArrayLiteralMember BooleanLiteral Keyword Keyword Infinity Keyword Number EmptySet Keyword SetLiteral StringLiteral Interpolation TupleLiteral RecordLiteral RecordMember ArrayComprehension Generator Keyword Keyword IfThenElse Keyword Keyword Keyword Keyword Keyword InfixOperator Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword LetExpression Keyword LetItems Declaration Constraint Keyword PrefixOperator Keyword Keyword PostfixOperator SetComprehension Call Application GeneratorCall GeneratorCallGenerators ParenthesisedExpression IndexedAccess TupleAccess Number RecordAccess Keyword Keyword SetType Keyword TupleType Keyword RecordType Keyword RecordTypeField OperationType Keyword AnyType Assignment Enumeration Keyword FunctionItem Keyword Goal Keyword Keyword Keyword Keyword Include Keyword Output Keyword Predicate Keyword Keyword TypeAlias Keyword",maxTerm:210,skippedNodes:[0,1,2],repeatNodeCount:19,tokenData:"!8_~R!oOX&SXY&qYZ'nZ]&S]^&q^p&Spq&qqr(Prs)Xsu&Suv)^vw&Swx*lxy,ryz-]z{-v{|.a|}/k}!O0U!O!P1`!P!Q3Z!Q!R9g!R![@|![!]Bz!]!^DU!^!_Do!_!`Is!`!aJ}!a!c&S!c!}LX!}#OM[#O#PNf#P#Q!#p#Q#R!$Z#R#SLX#S#T&S#T#oLX#o#p!$t#p#q!%_#q#r!&f#r#s!'P#s%#t&S%#t%#u!.O%#u%#v&S%#v%#w!.i%#w%%W&S%%W%%X!/S%%X%%Y&S%%Y%%Z!/m%%Z%%[&S%%[%%]!0W%%]%&b&S%&b%&c!0q%&c%&p&S%&p%&q!1[%&q%&x&S%&x%&y!1u%&y%'R&S%'R%'S!2`%'S%'T!2y%'T%'U!3d%'U%'V!3}%'V%(^&S%(^%(_!4h%(_%(b&S%(b%(c!5R%(c%(d!5l%(d%)U&S%)U%)V!6V%)V%)W!6p%)W%*]&S%*]%*^!7Z%*^%Gc&S%Gc%Gd!7t%Gd;'S&S;'S;=`&k<%lO&SQ&XU$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SQ&nP;=`<%l&SV&x[$bQ#}TOX&SXY&qYZ'nZ]&S]^&q^p&Spq&qqr&Ss#O&S#P;'S&S;'S;=`&k<%lO&ST'sS#}TXY'nYZ'n]^'npq'nR(UW$bQOY&SZr&Ss!_&S!_!`(n!`#O&S#P;'S&S;'S;=`&k<%lO&SR(uU$vP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&S~)^O$a~V)eWPT$bQOY)^Zr)^rs)}s#O)^#O#P)}#P;'S)^;'S;=`*f<%lO)^T*SSPTOY)}Z;'S)};'S;=`*`<%lO)}T*cP;=`<%l)}V*iP;=`<%l)^V*qZ$bQOY*lYZ+dZr*lrs+dsw*lwx,Rx#O*l#O#P+d#P;'S*l;'S;=`,l<%lO*lT+gTOw+dwx+vx;'S+d;'S;=`+{<%lO+dT+{OVTT,OP;=`<%l+dV,YUVT$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SV,oP;=`<%l*lR,yU$RP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR-dU$eP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR-}U%aP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR.hW%[P$bQOY&SZr&Ss{&S{|/Q|#O&S#P;'S&S;'S;=`&k<%lO&SR/XU%^P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR/rU$YP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR0]W%]P$bQOY&SZr&Ss!`&S!`!a0u!a#O&S#P;'S&S;'S;=`&k<%lO&SR0|U$iP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR1gW%iP$bQOY&SZr&Ss!O&S!O!P2P!P#O&S#P;'S&S;'S;=`&k<%lO&SR2WW%WP$bQOY&SZr&Ss!^&S!^!_2p!_#O&S#P;'S&S;'S;=`&k<%lO&SR2wU%YP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SV3bX%bP$bQOY&SZr&Ssz&Sz{3}{#O&S#O#P9b#P;'S&S;'S;=`&k<%lO&SV4SZ$bQOY3}YZ4uZr3}rs4usz3}z{8S{#O3}#O#P5j#P;'S3};'S;=`9[<%lO3}T4xVOz4uz{5_{#O4u#O#P5j#P;'S4u;'S;=`7|<%lO4uT5bP!P!Q5eT5jOQTT5mXOz4uz{6Y{#O4u#O#P5j#P#b4u#b#c4u#c;'S4u;'S;=`7|<%lO4uT6]VOz4uz{6r{!P4u!P!Q5e!Q;'S4u;'S;=`7|<%lO4uT6uXOz4uz{5_{!P4u!P!Q7b!Q#O4u#O#P5j#P;'S4u;'S;=`7|<%lO4uT7gVQTOz4uz{5_{#O4u#O#P5j#P;'S4u;'S;=`7|<%lO4uT8PP;=`<%l4uV8XW$bQOY&SZr&Ss!P&S!P!Q8q!Q#O&S#P;'S&S;'S;=`&k<%lO&SV8xUQT$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SV9_P;=`<%l3}P9gO$rPR9n`sP$bQOY&SZr&Ss!O&S!O!P:p!P!Q&S!Q![m!h#O&S#P#X&S#X#Y>m#Y;'S&S;'S;=`&k<%lO&SR=WW$bQOY&SZr&Ss!Q&S!Q![=p![#O&S#P;'S&S;'S;=`&k<%lO&SR=w[sP$bQOY&SZr&Ss!Q&S!Q![=p![!g&S!g!h>m!h#O&S#P#X&S#X#Y>m#Y;'S&S;'S;=`&k<%lO&SR>r[$bQOY&SZr&Ss{&S{|:p|}&S}!O:p!O!Q&S!Q![;_![#O&S#P;'S&S;'S;=`&k<%lO&SR?mW$bQOY&SZr&Ss!Q&S!Q![@V![#O&S#P;'S&S;'S;=`&k<%lO&SR@^YsP$bQOY&SZr&Ss!O&S!O!P:p!P!Q&S!Q![m!h#O&S#P#X&S#X#Y>m#Y;'S&S;'S;=`&k<%lO&SRCRW$XP$bQOY&SZr&Ss![&S![!]Ck!]#O&S#P;'S&S;'S;=`&k<%lO&SRCrU%gP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRD]U%hP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRDv[$xP$bQOY&SZr&Ss}&S}!OEl!O!PFv!P!_&S!_!`Ho!`!aIY!a#O&S#P;'S&S;'S;=`&k<%lO&SREsW$lP$bQOY&SZr&Ss!`&S!`!aF]!a#O&S#P;'S&S;'S;=`&k<%lO&SRFdU$fP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRF{W$bQOY&SZr&Ss!O&S!O!PGe!P#O&S#P;'S&S;'S;=`&k<%lO&SRGlW%XP$bQOY&SZr&Ss!^&S!^!_HU!_#O&S#P;'S&S;'S;=`&k<%lO&SRH]U%ZP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRHvU$yP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRIaUgP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRIzW$tP$bQOY&SZr&Ss!_&S!_!`Jd!`#O&S#P;'S&S;'S;=`&k<%lO&SRJkU$uP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SRKUW${P$bQOY&SZr&Ss!_&S!_!`Kn!`#O&S#P;'S&S;'S;=`&k<%lO&SRKuU$|P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SVL`^TT$bQOY&SZr&Ss!Q&S!Q![LX![!c&S!c!}LX!}#O&S#P#R&S#R#SLX#S#T&S#T#oLX#o;'S&S;'S;=`&k<%lO&SRMcW$TP$bQOY&SZr&Ss#O&S#P#p&S#p#qM{#q;'S&S;'S;=`&k<%lO&SRNSU$WP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&S~NiXrs! Utu! Zxy!!j!P!Q!!o!Q!Y!!t#O#P! U#b#c! U#h#i! U#l#m!#U~! ZO$c~~! ^R!c!}! g#O#P! x#T#o! g~! lSe~!Q![! g!c!}! g#R#S! g#T#o! g~! {Ptu!!O~!!RQ!c!}!!X#T#o!!X~!!^Sf~!Q![!!X!c!}!!X#R#S!!X#T#o!!X~!!oO$d~~!!tO$o~~!!yP$c~!Q!Y!!|~!#RP$c~!Q!Y! U~!#XR!Q![!#b!c!i!#b#T#Z!#b~!#gR$c~!Q![! U!c!i! U#T#Z! UR!#wU$]P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!$bU%fP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!${U$_P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!%fV$ZP$bQOY&SZr&Ss#O&S#P#Q!%{#Q;'S&S;'S;=`&k<%lO&SR!&SU$[P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!&mU$`P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!'Ub$bQOY&SZq&Sqr!(^sz&Sz{!)f{|!*P|}&S}!O!*j!O!P&S!P!Q!+T!Q!_&S!_!`!+n!`#O&S#P#W&S#W#X!,X#X;'S&S;'S;=`&k<%lO&SR!(cW$bQOY&SZr&Ss!_&S!_!`!({!`#O&S#P;'S&S;'S;=`&k<%lO&SR!)SU%SP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!)mU%cP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!*WU%_P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!*qU%`P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!+[U%eP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!+uU%RP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!,^W$bQOY&SZr&Ss#O&S#P#]&S#]#^!,v#^;'S&S;'S;=`&k<%lO&SR!,{W$bQOY&SZr&Ss#O&S#P#j&S#j#k!-e#k;'S&S;'S;=`&k<%lO&SR!-lU%dP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!.VU$mP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!.pU$jP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!/ZU$nP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!/tU$kP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!0_U$hP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!0xU%OP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!1cU%UP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!1|U$^P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!2gU$sP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!3QU$pP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!3kU%VP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!4UU%TP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!4oU$wP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!5YU$zP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!5sU$}P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!6^U%PP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!6wU%QP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!7bU$qP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!7{U$gP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&S",tokenizers:[0,1,2],topRules:{SourceFile:[0,3]},specialized:[{term:5,get:n=>uT[n]||-1}],tokenPrec:0});let OT=0;class ur{constructor(e,t,i){this.set=e,this.base=t,this.modified=i,this.id=OT++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new ur([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new Pc;return t=>t.modified.indexOf(e)>-1?t:Pc.get(t.base||t,t.modified.concat(e).sort((i,r)=>i.id-r.id))}}let dT=0;class Pc{constructor(){this.instances=[],this.id=dT++}static get(e,t){if(!t.length)return e;let i=t[0].instances.find(o=>o.base==e&&pT(t,o.modified));if(i)return i;let r=[],s=new ur(r,e,t);for(let o of t)o.instances.push(s);let l=gT(t);for(let o of e.set)if(!o.modified.length)for(let a of l)r.push(Pc.get(o,a));return s}}function pT(n,e){return n.length==e.length&&n.every((t,i)=>t==e[i])}function gT(n){let e=[[]];for(let t=0;ti.length-t.length)}function ql(n){let e=Object.create(null);for(let t in n){let i=n[t];Array.isArray(i)||(i=[i]);for(let r of t.split(" "))if(r){let s=[],l=2,o=r;for(let O=0;;){if(o=="..."&&O>0&&O+3==r.length){l=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!p)throw new RangeError("Invalid path: "+r);if(s.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),O+=p[0].length,O==r.length)break;let g=r[O++];if(O==r.length&&g=="!"){l=0;break}if(g!="/")throw new RangeError("Invalid path: "+r);o=r.slice(O)}let a=s.length-1,c=s[a];if(!c)throw new RangeError("Invalid path: "+r);let h=new xc(i,l,a>0?s.slice(0,a):null);e[c]=h.sort(e[c])}}return Ny.add(e)}const Ny=new ot;class xc{constructor(e,t,i,r){this.tags=e,this.mode=t,this.context=i,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let l=r;for(let o of s)for(let a of o.set){let c=t[a.id];if(c){l=l?l+" "+c:c;break}}return l},scope:i}}function mT(n,e){let t=null;for(let i of n){let r=i.style(e);r&&(t=t?t+" "+r:r)}return t}function ST(n,e,t,i=0,r=n.length){let s=new bT(i,Array.isArray(e)?e:[e],t);s.highlightRange(n.cursor(),i,r,"",s.highlighters),s.flush(r)}class bT{constructor(e,t,i){this.at=e,this.highlighters=t,this.span=i,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,i,r,s){let{type:l,from:o,to:a}=e;if(o>=i||a<=t)return;l.isTop&&(s=this.highlighters.filter(g=>!g.scope||g.scope(l)));let c=r,h=$T(e)||xc.empty,O=mT(s,h.tags);if(O&&(c&&(c+=" "),c+=O,h.mode==1&&(r+=(r?" ":"")+O)),this.startSpan(Math.max(t,o),c),h.opaque)return;let p=e.tree&&e.tree.prop(ot.mounted);if(p&&p.overlay){let g=e.node.enter(p.overlay[0].from+o,1),b=this.highlighters.filter($=>!$.scope||$.scope(p.tree.type)),y=e.firstChild();for(let $=0,k=o;;$++){let W=$=X||!e.nextSibling())););if(!W||X>i)break;k=W.to+o,k>t&&(this.highlightRange(g.cursor(),Math.max(t,W.from+o),Math.min(i,k),"",b),this.startSpan(Math.min(i,k),c))}y&&e.parent()}else if(e.firstChild()){p&&(r="");do if(!(e.to<=t)){if(e.from>=i)break;this.highlightRange(e,t,i,r,s),this.startSpan(Math.min(i,e.to),c)}while(e.nextSibling());e.parent()}}}function $T(n){let e=n.type.prop(Ny);for(;e&&e.context&&!n.matchContext(e.context);)e=e.next;return e||null}const pe=ur.define,Nf=pe(),as=pe(),e0=pe(as),t0=pe(as),fs=pe(),Lf=pe(fs),Jh=pe(fs),fr=pe(),Es=pe(fr),or=pe(),ar=pe(),sd=pe(),Po=pe(sd),Bf=pe(),S={comment:Nf,lineComment:pe(Nf),blockComment:pe(Nf),docComment:pe(Nf),name:as,variableName:pe(as),typeName:e0,tagName:pe(e0),propertyName:t0,attributeName:pe(t0),className:pe(as),labelName:pe(as),namespace:pe(as),macroName:pe(as),literal:fs,string:Lf,docString:pe(Lf),character:pe(Lf),attributeValue:pe(Lf),number:Jh,integer:pe(Jh),float:pe(Jh),bool:pe(fs),regexp:pe(fs),escape:pe(fs),color:pe(fs),url:pe(fs),keyword:or,self:pe(or),null:pe(or),atom:pe(or),unit:pe(or),modifier:pe(or),operatorKeyword:pe(or),controlKeyword:pe(or),definitionKeyword:pe(or),moduleKeyword:pe(or),operator:ar,derefOperator:pe(ar),arithmeticOperator:pe(ar),logicOperator:pe(ar),bitwiseOperator:pe(ar),compareOperator:pe(ar),updateOperator:pe(ar),definitionOperator:pe(ar),typeOperator:pe(ar),controlOperator:pe(ar),punctuation:sd,separator:pe(sd),bracket:Po,angleBracket:pe(Po),squareBracket:pe(Po),paren:pe(Po),brace:pe(Po),content:fr,heading:Es,heading1:pe(Es),heading2:pe(Es),heading3:pe(Es),heading4:pe(Es),heading5:pe(Es),heading6:pe(Es),contentSeparator:pe(fr),list:pe(fr),quote:pe(fr),emphasis:pe(fr),strong:pe(fr),link:pe(fr),monospace:pe(fr),strikethrough:pe(fr),inserted:pe(),deleted:pe(),changed:pe(),invalid:pe(),meta:Bf,documentMeta:pe(Bf),annotation:pe(Bf),processingInstruction:pe(Bf),definition:ur.defineModifier(),constant:ur.defineModifier(),function:ur.defineModifier(),standard:ur.defineModifier(),local:ur.defineModifier(),special:ur.defineModifier()};Ly([{tag:S.link,class:"tok-link"},{tag:S.heading,class:"tok-heading"},{tag:S.emphasis,class:"tok-emphasis"},{tag:S.strong,class:"tok-strong"},{tag:S.keyword,class:"tok-keyword"},{tag:S.atom,class:"tok-atom"},{tag:S.bool,class:"tok-bool"},{tag:S.url,class:"tok-url"},{tag:S.labelName,class:"tok-labelName"},{tag:S.inserted,class:"tok-inserted"},{tag:S.deleted,class:"tok-deleted"},{tag:S.literal,class:"tok-literal"},{tag:S.string,class:"tok-string"},{tag:S.number,class:"tok-number"},{tag:[S.regexp,S.escape,S.special(S.string)],class:"tok-string2"},{tag:S.variableName,class:"tok-variableName"},{tag:S.local(S.variableName),class:"tok-variableName tok-local"},{tag:S.definition(S.variableName),class:"tok-variableName tok-definition"},{tag:S.special(S.variableName),class:"tok-variableName2"},{tag:S.definition(S.propertyName),class:"tok-propertyName tok-definition"},{tag:S.typeName,class:"tok-typeName"},{tag:S.namespace,class:"tok-namespace"},{tag:S.className,class:"tok-className"},{tag:S.macroName,class:"tok-macroName"},{tag:S.propertyName,class:"tok-propertyName"},{tag:S.operator,class:"tok-operator"},{tag:S.comment,class:"tok-comment"},{tag:S.meta,class:"tok-meta"},{tag:S.invalid,class:"tok-invalid"},{tag:S.punctuation,class:"tok-punctuation"}]);var eO;const yl=new ot;function By(n){return ve.define({combine:n?e=>e.concat(n):void 0})}const Ed=new ot;class Fn{constructor(e,t,i=[],r=""){this.data=e,this.name=r,ht.prototype.hasOwnProperty("tree")||Object.defineProperty(ht.prototype,"tree",{get(){return Ft(this)}}),this.parser=t,this.extension=[Qs.of(this),ht.languageData.of((s,l,o)=>{let a=i0(s,l,o),c=a.type.prop(yl);if(!c)return[];let h=s.facet(c),O=a.type.prop(Ed);if(O){let p=a.resolve(l-a.from,o);for(let g of O)if(g.test(p,s)){let b=s.facet(g.facet);return g.type=="replace"?b:b.concat(h)}}return h})].concat(i)}isActiveAt(e,t,i=-1){return i0(e,t,i).type.prop(yl)==this.data}findRegions(e){let t=e.facet(Qs);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let i=[],r=(s,l)=>{if(s.prop(yl)==this.data){i.push({from:l,to:l+s.length});return}let o=s.prop(ot.mounted);if(o){if(o.tree.prop(yl)==this.data){if(o.overlay)for(let a of o.overlay)i.push({from:a.from+l,to:a.to+l});else i.push({from:l,to:l+s.length});return}else if(o.overlay){let a=i.length;if(r(o.tree,o.overlay[0].from+l),i.length>a)return}}for(let a=0;ai.isTop?t:void 0)]}),e.name)}configure(e,t){return new ws(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Ft(n){let e=n.field(Fn.state,!1);return e?e.tree:Nt.empty}class yT{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}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 i=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-i,t-i)}}let xo=null;class Wc{constructor(e,t,i=[],r,s,l,o,a){this.parser=e,this.state=t,this.fragments=i,this.tree=r,this.treeLen=s,this.viewport=l,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,i){return new Wc(e,t,[],Nt.empty,0,i,[],null)}startParse(){return this.parser.startParse(new yT(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=Nt.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||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(Er.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=xo;xo=this;try{return e()}finally{xo=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=n0(e,t.from,t.to);return e}changes(e,t){let{fragments:i,tree:r,treeLen:s,viewport:l,skipped:o}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((c,h,O,p)=>a.push({fromA:c,toA:h,fromB:O,toB:p})),i=Er.applyChanges(i,a),r=Nt.empty,s=0,l={from:e.mapPos(l.from,-1),to:e.mapPos(l.to,1)},this.skipped.length){o=[];for(let c of this.skipped){let h=e.mapPos(c.from,1),O=e.mapPos(c.to,-1);he.from&&(this.fragments=n0(this.fragments,r,s),this.skipped.splice(i--,1))}return this.skipped.length>=t?!1:(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 Dy{createParse(t,i,r){let s=r[0].from,l=r[r.length-1].to;return{parsedPos:s,advance(){let a=xo;if(a){for(let c of r)a.tempSkipped.push(c);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=l,new Nt(Di.none,[],[],l-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return xo}}function n0(n,e,t){return Er.applyChanges(n,[{fromA:e,toA:t,fromB:e,toB:t}])}class Yl{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),i=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,i)||t.takeTree(),new Yl(t)}static init(e){let t=Math.min(3e3,e.doc.length),i=Wc.create(e.facet(Qs).parser,e,{from:0,to:t});return i.work(20,t)||i.takeTree(),new Yl(i)}}Fn.state=hi.define({create:Yl.init,update(n,e){for(let t of e.effects)if(t.is(Fn.setState))return t.value;return e.startState.facet(Qs)!=e.state.facet(Qs)?Yl.init(e.state):n.apply(e)}});let jy=n=>{let e=setTimeout(()=>n(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(jy=n=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(n,{timeout:400})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const tO=typeof navigator<"u"&&(!((eO=navigator.scheduling)===null||eO===void 0)&&eO.isInputPending)?()=>navigator.scheduling.isInputPending():null,vT=ri.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(Fn.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Fn.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=jy(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,a=s.context.work(()=>tO&&tO()||Date.now()>l,r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Fn.setState.of(new Yl(s.context))})),this.chunkBudget>0&&!(a&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>Xn(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Qs=ve.define({combine(n){return n.length?n[0]:null},enables:n=>[Fn.state,vT,ge.contentAttributes.compute([n],e=>{let t=e.facet(n);return t&&t.name?{"data-language":t.name}:{}})]});class ga{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const wT=ve.define(),Jc=ve.define({combine:n=>{if(!n.length)return" ";let e=n[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(n[0]));return e}});function Cc(n){let e=n.facet(Jc);return e.charCodeAt(0)==9?n.tabSize*e.length:e.length}function oa(n,e){let t="",i=n.tabSize,r=n.facet(Jc)[0];if(r==" "){for(;e>=i;)t+=" ",e-=i;r=" "}for(let s=0;s=e?QT(n,t,e):null}class eu{constructor(e,t={}){this.state=e,this.options=t,this.unit=Cc(e)}lineAt(e,t=1){let i=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:s}=this.options;return r!=null&&r>=i.from&&r<=i.to?s&&r==e?{text:"",from:e}:(t<0?r-1&&(s+=l-this.countColumn(i,i.search(/\S|$/))),s}countColumn(e,t=e.length){return Dl(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:i,from:r}=this.lineAt(e,t),s=this.options.overrideIndentation;if(s){let l=s(r);if(l>-1)return l}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Il=new ot;function QT(n,e,t){let i=e.resolveStack(t),r=i.node.enterUnfinishedNodesBefore(t);if(r!=i.node){let s=[];for(let l=r;l!=i.node;l=l.parent)s.push(l);for(let l=s.length-1;l>=0;l--)i={node:s[l],next:i}}return Fy(i,n,t)}function Fy(n,e,t){for(let i=n;i;i=i.next){let r=_T(i.node);if(r)return r(Md.create(e,t,i))}return 0}function kT(n){return n.pos==n.options.simulateBreak&&n.options.simulateDoubleBreak}function _T(n){let e=n.type.prop(Il);if(e)return e;let t=n.firstChild,i;if(t&&(i=t.type.prop(ot.closedBy))){let r=n.lastChild,s=r&&i.indexOf(r.name)>-1;return l=>Gy(l,!0,1,void 0,s&&!kT(l)?r.from:void 0)}return n.parent==null?PT:null}function PT(){return 0}class Md extends eu{constructor(e,t,i){super(e.state,e.options),this.base=e,this.pos=t,this.context=i}get node(){return this.context.node}static create(e,t,i){return new Md(e,t,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let i=e.resolve(t.from);for(;i.parent&&i.parent.from==i.from;)i=i.parent;if(xT(i,e))break;t=this.state.doc.lineAt(i.from)}return this.lineIndent(t.from)}continue(){return Fy(this.context.next,this.base,this.pos)}}function xT(n,e){for(let t=e;t;t=t.parent)if(n==t)return!0;return!1}function WT(n){let e=n.node,t=e.childAfter(e.from),i=e.lastChild;if(!t)return null;let r=n.options.simulateBreak,s=n.state.doc.lineAt(t.from),l=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let o=t.to;;){let a=e.childAfter(o);if(!a||a==i)return null;if(!a.type.isSkipped)return a.fromGy(i,e,t,n)}function Gy(n,e,t,i,r){let s=n.textAfter,l=s.match(/^\s*/)[0].length,o=i&&s.slice(l,l+i.length)==i||r==n.pos+l,a=e?WT(n):null;return a?o?n.column(a.from):n.column(a.to):n.baseIndent+(o?0:n.unit*t)}const CT=n=>n.baseIndent;function Tl({except:n,units:e=1}={}){return t=>{let i=n&&n.test(t.textAfter);return t.baseIndent+(i?0:e*t.unit)}}const TT=200;function ZT(){return ht.transactionFilter.of(n=>{if(!n.docChanged||!n.isUserEvent("input.type")&&!n.isUserEvent("input.complete"))return n;let e=n.startState.languageDataAt("indentOnInput",n.startState.selection.main.head);if(!e.length)return n;let t=n.newDoc,{head:i}=n.newSelection.main,r=t.lineAt(i);if(i>r.from+TT)return n;let s=t.sliceString(r.from,i);if(!e.some(c=>c.test(s)))return n;let{state:l}=n,o=-1,a=[];for(let{head:c}of l.selection.ranges){let h=l.doc.lineAt(c);if(h.from==o)continue;o=h.from;let O=zd(l,h.from);if(O==null)continue;let p=/^\s*/.exec(h.text)[0],g=oa(l,O);p!=g&&a.push({from:h.from,to:h.from+p.length,insert:g})}return a.length?[n,{changes:a,sequential:!0}]:n})}const RT=ve.define(),Nl=new ot;function cr(n){let e=n.firstChild,t=n.lastChild;return e&&e.tot)continue;if(s&&o.from=e&&c.to>t&&(s=c)}}return s}function AT(n){let e=n.lastChild;return e&&e.to==n.to&&e.type.isError}function Tc(n,e,t){for(let i of n.facet(RT)){let r=i(n,e,t);if(r)return r}return XT(n,e,t)}function Hy(n,e){let t=e.mapPos(n.from,1),i=e.mapPos(n.to,-1);return t>=i?void 0:{from:t,to:i}}const tu=Le.define({map:Hy}),ma=Le.define({map:Hy});function Ky(n){let e=[];for(let{head:t}of n.state.selection.ranges)e.some(i=>i.from<=t&&i.to>=t)||e.push(n.lineBlockAt(t));return e}const Bs=hi.define({create(){return Re.none},update(n,e){n=n.map(e.changes);for(let t of e.effects)if(t.is(tu)&&!YT(n,t.value.from,t.value.to)){let{preparePlaceholder:i}=e.state.facet(Vd),r=i?Re.replace({widget:new qT(i(e.state,t.value))}):r0;n=n.update({add:[r.range(t.value.from,t.value.to)]})}else t.is(ma)&&(n=n.update({filter:(i,r)=>t.value.from!=i||t.value.to!=r,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:i}=e.selection.main;n.between(i,i,(r,s)=>{ri&&(t=!0)}),t&&(n=n.update({filterFrom:i,filterTo:i,filter:(r,s)=>s<=i||r>=i}))}return n},provide:n=>ge.decorations.from(n),toJSON(n,e){let t=[];return n.between(0,e.doc.length,(i,r)=>{t.push(i,r)}),t},fromJSON(n){if(!Array.isArray(n)||n.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let t=0;t{(!r||r.from>s)&&(r={from:s,to:l})}),r}function YT(n,e,t){let i=!1;return n.between(e,e,(r,s)=>{r==e&&s==t&&(i=!0)}),i}function Jy(n,e){return n.field(Bs,!1)?e:e.concat(Le.appendConfig.of(tv()))}const UT=n=>{for(let e of Ky(n)){let t=Tc(n.state,e.from,e.to);if(t)return n.dispatch({effects:Jy(n.state,[tu.of(t),ev(n,t)])}),!0}return!1},ET=n=>{if(!n.state.field(Bs,!1))return!1;let e=[];for(let t of Ky(n)){let i=Zc(n.state,t.from,t.to);i&&e.push(ma.of(i),ev(n,i,!1))}return e.length&&n.dispatch({effects:e}),e.length>0};function ev(n,e,t=!0){let i=n.state.doc.lineAt(e.from).number,r=n.state.doc.lineAt(e.to).number;return ge.announce.of(`${n.state.phrase(t?"Folded lines":"Unfolded lines")} ${i} ${n.state.phrase("to")} ${r}.`)}const zT=n=>{let{state:e}=n,t=[];for(let i=0;i{let e=n.state.field(Bs,!1);if(!e||!e.size)return!1;let t=[];return e.between(0,n.state.doc.length,(i,r)=>{t.push(ma.of({from:i,to:r}))}),n.dispatch({effects:t}),!0},VT=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:UT},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:ET},{key:"Ctrl-Alt-[",run:zT},{key:"Ctrl-Alt-]",run:MT}],DT={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},Vd=ve.define({combine(n){return br(n,DT)}});function tv(n){let e=[Bs,LT];return n&&e.push(Vd.of(n)),e}function iv(n,e){let{state:t}=n,i=t.facet(Vd),r=l=>{let o=n.lineBlockAt(n.posAtDOM(l.target)),a=Zc(n.state,o.from,o.to);a&&n.dispatch({effects:ma.of(a)}),l.preventDefault()};if(i.placeholderDOM)return i.placeholderDOM(n,r,e);let s=document.createElement("span");return s.textContent=i.placeholderText,s.setAttribute("aria-label",t.phrase("folded code")),s.title=t.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=r,s}const r0=Re.replace({widget:new class extends Ir{toDOM(n){return iv(n,null)}}});class qT extends Ir{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return iv(e,this.value)}}const IT={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class iO extends Dr{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 NT(n={}){let e=Object.assign(Object.assign({},IT),n),t=new iO(e,!0),i=new iO(e,!1),r=ri.fromClass(class{constructor(l){this.from=l.viewport.from,this.markers=this.buildMarkers(l)}update(l){(l.docChanged||l.viewportChanged||l.startState.facet(Qs)!=l.state.facet(Qs)||l.startState.field(Bs,!1)!=l.state.field(Bs,!1)||Ft(l.startState)!=Ft(l.state)||e.foldingChanged(l))&&(this.markers=this.buildMarkers(l.view))}buildMarkers(l){let o=new ms;for(let a of l.viewportLineBlocks){let c=Zc(l.state,a.from,a.to)?i:Tc(l.state,a.from,a.to)?t:null;c&&o.add(a.from,a.from,c)}return o.finish()}}),{domEventHandlers:s}=e;return[r,qC({class:"cm-foldGutter",markers(l){var o;return((o=l.plugin(r))===null||o===void 0?void 0:o.markers)||wt.empty},initialSpacer(){return new iO(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(l,o,a)=>{if(s.click&&s.click(l,o,a))return!0;let c=Zc(l.state,o.from,o.to);if(c)return l.dispatch({effects:ma.of(c)}),!0;let h=Tc(l.state,o.from,o.to);return h?(l.dispatch({effects:tu.of(h)}),!0):!1}})}),tv()]}const LT=ge.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 Sa{constructor(e,t){this.specs=e;let i;function r(o){let a=Ss.newName();return(i||(i=Object.create(null)))["."+a]=o,a}const s=typeof t.all=="string"?t.all:t.all?r(t.all):void 0,l=t.scope;this.scope=l instanceof Fn?o=>o.prop(yl)==l.data:l?o=>o==l:void 0,this.style=Ly(e.map(o=>({tag:o.tag,class:o.class||r(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=i?new Ss(i):null,this.themeType=t.themeType}static define(e,t){return new Sa(e,t||{})}}const ld=ve.define(),nv=ve.define({combine(n){return n.length?[n[0]]:null}});function nO(n){let e=n.facet(ld);return e.length?e:n.facet(nv)}function rv(n,e){let t=[jT],i;return n instanceof Sa&&(n.module&&t.push(ge.styleModule.of(n.module)),i=n.themeType),e!=null&&e.fallback?t.push(nv.of(n)):i?t.push(ld.computeN([ge.darkTheme],r=>r.facet(ge.darkTheme)==(i=="dark")?[n]:[])):t.push(ld.of(n)),t}class BT{constructor(e){this.markCache=Object.create(null),this.tree=Ft(e.state),this.decorations=this.buildDeco(e,nO(e.state))}update(e){let t=Ft(e.state),i=nO(e.state),r=i!=nO(e.startState);t.length{i.add(l,o,this.markCache[a]||(this.markCache[a]=Re.mark({class:a})))},r,s);return i.finish()}}const jT=js.high(ri.fromClass(BT,{decorations:n=>n.decorations})),FT=Sa.define([{tag:S.meta,color:"#404740"},{tag:S.link,textDecoration:"underline"},{tag:S.heading,textDecoration:"underline",fontWeight:"bold"},{tag:S.emphasis,fontStyle:"italic"},{tag:S.strong,fontWeight:"bold"},{tag:S.strikethrough,textDecoration:"line-through"},{tag:S.keyword,color:"#708"},{tag:[S.atom,S.bool,S.url,S.contentSeparator,S.labelName],color:"#219"},{tag:[S.literal,S.inserted],color:"#164"},{tag:[S.string,S.deleted],color:"#a11"},{tag:[S.regexp,S.escape,S.special(S.string)],color:"#e40"},{tag:S.definition(S.variableName),color:"#00f"},{tag:S.local(S.variableName),color:"#30a"},{tag:[S.typeName,S.namespace],color:"#085"},{tag:S.className,color:"#167"},{tag:[S.special(S.variableName),S.macroName],color:"#256"},{tag:S.definition(S.propertyName),color:"#00c"},{tag:S.comment,color:"#940"},{tag:S.invalid,color:"#f00"}]),GT=ge.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),sv=1e4,lv="()[]{}",ov=ve.define({combine(n){return br(n,{afterCursor:!0,brackets:lv,maxScanDistance:sv,renderMatch:JT})}}),HT=Re.mark({class:"cm-matchingBracket"}),KT=Re.mark({class:"cm-nonmatchingBracket"});function JT(n){let e=[],t=n.matched?HT:KT;return e.push(t.range(n.start.from,n.start.to)),n.end&&e.push(t.range(n.end.from,n.end.to)),e}const eZ=hi.define({create(){return Re.none},update(n,e){if(!e.docChanged&&!e.selection)return n;let t=[],i=e.state.facet(ov);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=pr(e.state,r.head,-1,i)||r.head>0&&pr(e.state,r.head-1,1,i)||i.afterCursor&&(pr(e.state,r.head,1,i)||r.headge.decorations.from(n)}),tZ=[eZ,GT];function iZ(n={}){return[ov.of(n),tZ]}const av=new ot;function od(n,e,t){let i=n.prop(e<0?ot.openedBy:ot.closedBy);if(i)return i;if(n.name.length==1){let r=t.indexOf(n.name);if(r>-1&&r%2==(e<0?1:0))return[t[r+e]]}return null}function ad(n){let e=n.type.prop(av);return e?e(n.node):n}function pr(n,e,t,i={}){let r=i.maxScanDistance||sv,s=i.brackets||lv,l=Ft(n),o=l.resolveInner(e,t);for(let a=o;a;a=a.parent){let c=od(a.type,t,s);if(c&&a.from0?e>=h.from&&eh.from&&e<=h.to))return nZ(n,e,t,a,h,c,s)}}return rZ(n,e,t,l,o.type,r,s)}function nZ(n,e,t,i,r,s,l){let o=i.parent,a={from:r.from,to:r.to},c=0,h=o==null?void 0:o.cursor();if(h&&(t<0?h.childBefore(i.from):h.childAfter(i.to)))do if(t<0?h.to<=i.from:h.from>=i.to){if(c==0&&s.indexOf(h.type.name)>-1&&h.from0)return null;let c={from:t<0?e-1:e,to:t>0?e+1:e},h=n.doc.iterRange(e,t>0?n.doc.length:0),O=0;for(let p=0;!h.next().done&&p<=s;){let g=h.value;t<0&&(p+=g.length);let b=e+p*t;for(let y=t>0?0:g.length-1,$=t>0?g.length:-1;y!=$;y+=t){let k=l.indexOf(g[y]);if(!(k<0||i.resolveInner(b+y,1).type!=r))if(k%2==0==t>0)O++;else{if(O==1)return{start:c,end:{from:b+y,to:b+y+1},matched:k>>1==a>>1};O--}}t>0&&(p+=g.length)}return h.done?{start:c,matched:!1}:null}const sZ=Object.create(null),s0=[Di.none],l0=[],lZ=Object.create(null);for(let[n,e]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"]])lZ[n]=oZ(sZ,e);function rO(n,e){l0.indexOf(n)>-1||(l0.push(n),console.warn(e))}function oZ(n,e){let t=[];for(let s of e.split(" ")){let l=[];for(let o of s.split(".")){let a=n[o]||S[o];a?typeof a=="function"?l.length?l=l.map(a):rO(o,`Modifier ${o} used at start of tag`):l.length?rO(o,`Tag ${o} used as modifier`):l=Array.isArray(a)?a:[a]:rO(o,`Unknown highlighting tag ${o}`)}for(let o of l)t.push(o)}if(!t.length)return 0;let i=e.replace(/ /g,"_"),r=Di.define({id:s0.length,name:i,props:[ql({[i]:t})]});return s0.push(r),r.id}const aZ=n=>{let{state:e}=n,t=e.doc.lineAt(e.selection.main.from),i=qd(n.state,t.from);return i.line?fZ(n):i.block?uZ(n):!1};function Dd(n,e){return({state:t,dispatch:i})=>{if(t.readOnly)return!1;let r=n(e,t);return r?(i(t.update(r)),!0):!1}}const fZ=Dd(dZ,0),cZ=Dd(fv,0),uZ=Dd((n,e)=>fv(n,e,OZ(e)),0);function qd(n,e){let t=n.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const Wo=50;function hZ(n,{open:e,close:t},i,r){let s=n.sliceDoc(i-Wo,i),l=n.sliceDoc(r,r+Wo),o=/\s*$/.exec(s)[0].length,a=/^\s*/.exec(l)[0].length,c=s.length-o;if(s.slice(c-e.length,c)==e&&l.slice(a,a+t.length)==t)return{open:{pos:i-o,margin:o&&1},close:{pos:r+a,margin:a&&1}};let h,O;r-i<=2*Wo?h=O=n.sliceDoc(i,r):(h=n.sliceDoc(i,i+Wo),O=n.sliceDoc(r-Wo,r));let p=/^\s*/.exec(h)[0].length,g=/\s*$/.exec(O)[0].length,b=O.length-g-t.length;return h.slice(p,p+e.length)==e&&O.slice(b,b+t.length)==t?{open:{pos:i+p+e.length,margin:/\s/.test(h.charAt(p+e.length))?1:0},close:{pos:r-g-t.length,margin:/\s/.test(O.charAt(b-1))?1:0}}:null}function OZ(n){let e=[];for(let t of n.selection.ranges){let i=n.doc.lineAt(t.from),r=t.to<=i.to?i:n.doc.lineAt(t.to),s=e.length-1;s>=0&&e[s].to>i.from?e[s].to=r.to:e.push({from:i.from+/^\s*/.exec(i.text)[0].length,to:r.to})}return e}function fv(n,e,t=e.selection.ranges){let i=t.map(s=>qd(e,s.from).block);if(!i.every(s=>s))return null;let r=t.map((s,l)=>hZ(e,i[l],s.from,s.to));if(n!=2&&!r.every(s=>s))return{changes:e.changes(t.map((s,l)=>r[l]?[]:[{from:s.from,insert:i[l].open+" "},{from:s.to,insert:" "+i[l].close}]))};if(n!=1&&r.some(s=>s)){let s=[];for(let l=0,o;lr&&(s==l||l>O.from)){r=O.from;let p=/^\s*/.exec(O.text)[0].length,g=p==O.length,b=O.text.slice(p,p+c.length)==c?p:-1;ps.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:o,token:a,indent:c,empty:h,single:O}of i)(O||!h)&&s.push({from:o.from+c,insert:a+" "});let l=e.changes(s);return{changes:l,selection:e.selection.map(l,1)}}else if(n!=1&&i.some(s=>s.comment>=0)){let s=[];for(let{line:l,comment:o,token:a}of i)if(o>=0){let c=l.from+o,h=c+a.length;l.text[h-l.from]==" "&&h++,s.push({from:c,to:h})}return{changes:s}}return null}const fd=qr.define(),pZ=qr.define(),gZ=ve.define(),cv=ve.define({combine(n){return br(n,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(i,r)=>e(i,r)||t(i,r)})}});function mZ(n){let e=0;return n.iterChangedRanges((t,i)=>e=i),e}const uv=hi.define({create(){return gr.empty},update(n,e){let t=e.state.facet(cv),i=e.annotation(fd);if(i){let a=e.docChanged?J.single(mZ(e.changes)):void 0,c=en.fromTransaction(e,a),h=i.side,O=h==0?n.undone:n.done;return c?O=Rc(O,O.length,t.minDepth,c):O=dv(O,e.startState.selection),new gr(h==0?i.rest:O,h==0?O:i.rest)}let r=e.annotation(pZ);if((r=="full"||r=="before")&&(n=n.isolate()),e.annotation(ui.addToHistory)===!1)return e.changes.empty?n:n.addMapping(e.changes.desc);let s=en.fromTransaction(e),l=e.annotation(ui.time),o=e.annotation(ui.userEvent);return s?n=n.addChanges(s,l,o,t,e):e.selection&&(n=n.addSelection(e.startState.selection,l,o,t.newGroupDelay)),(r=="full"||r=="after")&&(n=n.isolate()),n},toJSON(n){return{done:n.done.map(e=>e.toJSON()),undone:n.undone.map(e=>e.toJSON())}},fromJSON(n){return new gr(n.done.map(en.fromJSON),n.undone.map(en.fromJSON))}});function SZ(n={}){return[uv,cv.of(n),ge.domEventHandlers({beforeinput(e,t){let i=e.inputType=="historyUndo"?hv:e.inputType=="historyRedo"?cd:null;return i?(e.preventDefault(),i(t)):!1}})]}function iu(n,e){return function({state:t,dispatch:i}){if(!e&&t.readOnly)return!1;let r=t.field(uv,!1);if(!r)return!1;let s=r.pop(n,t,e);return s?(i(s),!0):!1}}const hv=iu(0,!1),cd=iu(1,!1),bZ=iu(0,!0),$Z=iu(1,!0);class en{constructor(e,t,i,r,s){this.changes=e,this.effects=t,this.mapped=i,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new en(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new en(e.changes&&ci.fromJSON(e.changes),[],e.mapped&&mr.fromJSON(e.mapped),e.startSelection&&J.fromJSON(e.startSelection),e.selectionsAfter.map(J.fromJSON))}static fromTransaction(e,t){let i=Rn;for(let r of e.startState.facet(gZ)){let s=r(e);s.length&&(i=i.concat(s))}return!i.length&&e.changes.empty?null:new en(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,Rn)}static selection(e){return new en(void 0,Rn,void 0,void 0,e)}}function Rc(n,e,t,i){let r=e+1>t+20?e-t-1:0,s=n.slice(r,e);return s.push(i),s}function yZ(n,e){let t=[],i=!1;return n.iterChangedRanges((r,s)=>t.push(r,s)),e.iterChangedRanges((r,s,l,o)=>{for(let a=0;a=c&&l<=h&&(i=!0)}}),i}function vZ(n,e){return n.ranges.length==e.ranges.length&&n.ranges.filter((t,i)=>t.empty!=e.ranges[i].empty).length===0}function Ov(n,e){return n.length?e.length?n.concat(e):n:e}const Rn=[],wZ=200;function dv(n,e){if(n.length){let t=n[n.length-1],i=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-wZ));return i.length&&i[i.length-1].eq(e)?n:(i.push(e),Rc(n,n.length-1,1e9,t.setSelAfter(i)))}else return[en.selection([e])]}function QZ(n){let e=n[n.length-1],t=n.slice();return t[n.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function sO(n,e){if(!n.length)return n;let t=n.length,i=Rn;for(;t;){let r=kZ(n[t-1],e,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=n.slice(0,t);return s[t-1]=r,s}else e=r.mapped,t--,i=r.selectionsAfter}return i.length?[en.selection(i)]:Rn}function kZ(n,e,t){let i=Ov(n.selectionsAfter.length?n.selectionsAfter.map(o=>o.map(e)):Rn,t);if(!n.changes)return en.selection(i);let r=n.changes.map(e),s=e.mapDesc(n.changes,!0),l=n.mapped?n.mapped.composeDesc(s):s;return new en(r,Le.mapEffects(n.effects,e),l,n.startSelection.map(s),i)}const _Z=/^(input\.type|delete)($|\.)/;class gr{constructor(e,t,i=0,r=void 0){this.done=e,this.undone=t,this.prevTime=i,this.prevUserEvent=r}isolate(){return this.prevTime?new gr(this.done,this.undone):this}addChanges(e,t,i,r,s){let l=this.done,o=l[l.length-1];return o&&o.changes&&!o.changes.empty&&e.changes&&(!i||_Z.test(i))&&(!o.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?n.moveByChar(t,e):nu(t,e))}function Ai(n){return n.textDirectionAt(n.state.selection.main.head)==It.LTR}const gv=n=>pv(n,!Ai(n)),mv=n=>pv(n,Ai(n));function Sv(n,e){return Jn(n,t=>t.empty?n.moveByGroup(t,e):nu(t,e))}const xZ=n=>Sv(n,!Ai(n)),WZ=n=>Sv(n,Ai(n));function CZ(n,e,t){if(e.type.prop(t))return!0;let i=e.to-e.from;return i&&(i>2||/[^\s,.;:]/.test(n.sliceDoc(e.from,e.to)))||e.firstChild}function ru(n,e,t){let i=Ft(n).resolveInner(e.head),r=t?ot.closedBy:ot.openedBy;for(let a=e.head;;){let c=t?i.childAfter(a):i.childBefore(a);if(!c)break;CZ(n,c,r)?i=c:a=t?c.to:c.from}let s=i.type.prop(r),l,o;return s&&(l=t?pr(n,i.from,1):pr(n,i.to,-1))&&l.matched?o=t?l.end.to:l.end.from:o=t?i.to:i.from,J.cursor(o,t?-1:1)}const TZ=n=>Jn(n,e=>ru(n.state,e,!Ai(n))),ZZ=n=>Jn(n,e=>ru(n.state,e,Ai(n)));function bv(n,e){return Jn(n,t=>{if(!t.empty)return nu(t,e);let i=n.moveVertically(t,e);return i.head!=t.head?i:n.moveToLineBoundary(t,e)})}const $v=n=>bv(n,!1),yv=n=>bv(n,!0);function vv(n){let e=n.scrollDOM.clientHeightl.empty?n.moveVertically(l,e,t.height):nu(l,e));if(r.eq(i.selection))return!1;let s;if(t.selfScroll){let l=n.coordsAtPos(i.selection.main.head),o=n.scrollDOM.getBoundingClientRect(),a=o.top+t.marginTop,c=o.bottom-t.marginBottom;l&&l.top>a&&l.bottomwv(n,!1),ud=n=>wv(n,!0);function ks(n,e,t){let i=n.lineBlockAt(e.head),r=n.moveToLineBoundary(e,t);if(r.head==e.head&&r.head!=(t?i.to:i.from)&&(r=n.moveToLineBoundary(e,t,!1)),!t&&r.head==i.from&&i.length){let s=/^\s*/.exec(n.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&e.head!=i.from+s&&(r=J.cursor(i.from+s))}return r}const RZ=n=>Jn(n,e=>ks(n,e,!0)),XZ=n=>Jn(n,e=>ks(n,e,!1)),AZ=n=>Jn(n,e=>ks(n,e,!Ai(n))),YZ=n=>Jn(n,e=>ks(n,e,Ai(n))),UZ=n=>Jn(n,e=>J.cursor(n.lineBlockAt(e.head).from,1)),EZ=n=>Jn(n,e=>J.cursor(n.lineBlockAt(e.head).to,-1));function zZ(n,e,t){let i=!1,r=Ll(n.selection,s=>{let l=pr(n,s.head,-1)||pr(n,s.head,1)||s.head>0&&pr(n,s.head-1,1)||s.headzZ(n,e,!1);function Un(n,e){let t=Ll(n.state.selection,i=>{let r=e(i);return J.range(i.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return t.eq(n.state.selection)?!1:(n.dispatch(yr(n.state,t)),!0)}function Qv(n,e){return Un(n,t=>n.moveByChar(t,e))}const kv=n=>Qv(n,!Ai(n)),_v=n=>Qv(n,Ai(n));function Pv(n,e){return Un(n,t=>n.moveByGroup(t,e))}const VZ=n=>Pv(n,!Ai(n)),DZ=n=>Pv(n,Ai(n)),qZ=n=>Un(n,e=>ru(n.state,e,!Ai(n))),IZ=n=>Un(n,e=>ru(n.state,e,Ai(n)));function xv(n,e){return Un(n,t=>n.moveVertically(t,e))}const Wv=n=>xv(n,!1),Cv=n=>xv(n,!0);function Tv(n,e){return Un(n,t=>n.moveVertically(t,e,vv(n).height))}const a0=n=>Tv(n,!1),f0=n=>Tv(n,!0),NZ=n=>Un(n,e=>ks(n,e,!0)),LZ=n=>Un(n,e=>ks(n,e,!1)),BZ=n=>Un(n,e=>ks(n,e,!Ai(n))),jZ=n=>Un(n,e=>ks(n,e,Ai(n))),FZ=n=>Un(n,e=>J.cursor(n.lineBlockAt(e.head).from)),GZ=n=>Un(n,e=>J.cursor(n.lineBlockAt(e.head).to)),c0=({state:n,dispatch:e})=>(e(yr(n,{anchor:0})),!0),u0=({state:n,dispatch:e})=>(e(yr(n,{anchor:n.doc.length})),!0),h0=({state:n,dispatch:e})=>(e(yr(n,{anchor:n.selection.main.anchor,head:0})),!0),O0=({state:n,dispatch:e})=>(e(yr(n,{anchor:n.selection.main.anchor,head:n.doc.length})),!0),HZ=({state:n,dispatch:e})=>(e(n.update({selection:{anchor:0,head:n.doc.length},userEvent:"select"})),!0),KZ=({state:n,dispatch:e})=>{let t=su(n).map(({from:i,to:r})=>J.range(i,Math.min(r+1,n.doc.length)));return e(n.update({selection:J.create(t),userEvent:"select"})),!0},JZ=({state:n,dispatch:e})=>{let t=Ll(n.selection,i=>{var r;let s=Ft(n).resolveStack(i.from,1);for(let l=s;l;l=l.next){let{node:o}=l;if((o.from=i.to||o.to>i.to&&o.from<=i.from)&&(!((r=o.parent)===null||r===void 0)&&r.parent))return J.range(o.to,o.from)}return i});return e(yr(n,t)),!0},eR=({state:n,dispatch:e})=>{let t=n.selection,i=null;return t.ranges.length>1?i=J.create([t.main]):t.main.empty||(i=J.create([J.cursor(t.main.head)])),i?(e(yr(n,i)),!0):!1};function ba(n,e){if(n.state.readOnly)return!1;let t="delete.selection",{state:i}=n,r=i.changeByRange(s=>{let{from:l,to:o}=s;if(l==o){let a=e(s);al&&(t="delete.forward",a=jf(n,a,!0)),l=Math.min(l,a),o=Math.max(o,a)}else l=jf(n,l,!1),o=jf(n,o,!0);return l==o?{range:s}:{changes:{from:l,to:o},range:J.cursor(l,lr(n)))i.between(e,e,(r,s)=>{re&&(e=t?s:r)});return e}const Zv=(n,e)=>ba(n,t=>{let i=t.from,{state:r}=n,s=r.doc.lineAt(i),l,o;if(!e&&i>s.from&&iZv(n,!1),Rv=n=>Zv(n,!0),Xv=(n,e)=>ba(n,t=>{let i=t.head,{state:r}=n,s=r.doc.lineAt(i),l=r.charCategorizer(i);for(let o=null;;){if(i==(e?s.to:s.from)){i==t.head&&s.number!=(e?r.doc.lines:1)&&(i+=e?1:-1);break}let a=Ri(s.text,i-s.from,e)+s.from,c=s.text.slice(Math.min(i,a)-s.from,Math.max(i,a)-s.from),h=l(c);if(o!=null&&h!=o)break;(c!=" "||i!=t.head)&&(o=h),i=a}return i}),Av=n=>Xv(n,!1),tR=n=>Xv(n,!0),iR=n=>ba(n,e=>{let t=n.lineBlockAt(e.head).to;return e.headba(n,e=>{let t=n.moveToLineBoundary(e,!1).head;return e.head>t?t:Math.max(0,e.head-1)}),rR=n=>ba(n,e=>{let t=n.moveToLineBoundary(e,!0).head;return e.head{if(n.readOnly)return!1;let t=n.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:mt.of(["",""])},range:J.cursor(i.from)}));return e(n.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},lR=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=n.changeByRange(i=>{if(!i.empty||i.from==0||i.from==n.doc.length)return{range:i};let r=i.from,s=n.doc.lineAt(r),l=r==s.from?r-1:Ri(s.text,r-s.from,!1)+s.from,o=r==s.to?r+1:Ri(s.text,r-s.from,!0)+s.from;return{changes:{from:l,to:o,insert:n.doc.slice(r,o).append(n.doc.slice(l,r))},range:J.cursor(o)}});return t.changes.empty?!1:(e(n.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function su(n){let e=[],t=-1;for(let i of n.selection.ranges){let r=n.doc.lineAt(i.from),s=n.doc.lineAt(i.to);if(!i.empty&&i.to==s.from&&(s=n.doc.lineAt(i.to-1)),t>=r.number){let l=e[e.length-1];l.to=s.to,l.ranges.push(i)}else e.push({from:r.from,to:s.to,ranges:[i]});t=s.number+1}return e}function Yv(n,e,t){if(n.readOnly)return!1;let i=[],r=[];for(let s of su(n)){if(t?s.to==n.doc.length:s.from==0)continue;let l=n.doc.lineAt(t?s.to+1:s.from-1),o=l.length+1;if(t){i.push({from:s.to,to:l.to},{from:s.from,insert:l.text+n.lineBreak});for(let a of s.ranges)r.push(J.range(Math.min(n.doc.length,a.anchor+o),Math.min(n.doc.length,a.head+o)))}else{i.push({from:l.from,to:s.from},{from:s.to,insert:n.lineBreak+l.text});for(let a of s.ranges)r.push(J.range(a.anchor-o,a.head-o))}}return i.length?(e(n.update({changes:i,scrollIntoView:!0,selection:J.create(r,n.selection.mainIndex),userEvent:"move.line"})),!0):!1}const oR=({state:n,dispatch:e})=>Yv(n,e,!1),aR=({state:n,dispatch:e})=>Yv(n,e,!0);function Uv(n,e,t){if(n.readOnly)return!1;let i=[];for(let r of su(n))t?i.push({from:r.from,insert:n.doc.slice(r.from,r.to)+n.lineBreak}):i.push({from:r.to,insert:n.lineBreak+n.doc.slice(r.from,r.to)});return e(n.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const fR=({state:n,dispatch:e})=>Uv(n,e,!1),cR=({state:n,dispatch:e})=>Uv(n,e,!0),uR=n=>{if(n.state.readOnly)return!1;let{state:e}=n,t=e.changes(su(e).map(({from:r,to:s})=>(r>0?r--:sn.moveVertically(r,!0)).map(t);return n.dispatch({changes:t,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function hR(n,e){if(/\(\)|\[\]|\{\}/.test(n.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=Ft(n).resolveInner(e),i=t.childBefore(e),r=t.childAfter(e),s;return i&&r&&i.to<=e&&r.from>=e&&(s=i.type.prop(ot.closedBy))&&s.indexOf(r.name)>-1&&n.doc.lineAt(i.to).from==n.doc.lineAt(r.from).from&&!/\S/.test(n.sliceDoc(i.to,r.from))?{from:i.to,to:r.from}:null}const OR=Ev(!1),dR=Ev(!0);function Ev(n){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=e.changeByRange(r=>{let{from:s,to:l}=r,o=e.doc.lineAt(s),a=!n&&s==l&&hR(e,s);n&&(s=l=(l<=o.to?o:e.doc.lineAt(l)).to);let c=new eu(e,{simulateBreak:s,simulateDoubleBreak:!!a}),h=zd(c,s);for(h==null&&(h=Dl(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));lo.from&&s{let r=[];for(let l=i.from;l<=i.to;){let o=n.doc.lineAt(l);o.number>t&&(i.empty||i.to>o.from)&&(e(o,r,i),t=o.number),l=o.to+1}let s=n.changes(r);return{changes:r,range:J.range(s.mapPos(i.anchor,1),s.mapPos(i.head,1))}})}const pR=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=Object.create(null),i=new eu(n,{overrideIndentation:s=>{let l=t[s];return l??-1}}),r=Id(n,(s,l,o)=>{let a=zd(i,s.from);if(a==null)return;/\S/.test(s.text)||(a=0);let c=/^\s*/.exec(s.text)[0],h=oa(n,a);(c!=h||o.fromn.readOnly?!1:(e(n.update(Id(n,(t,i)=>{i.push({from:t.from,insert:n.facet(Jc)})}),{userEvent:"input.indent"})),!0),Mv=({state:n,dispatch:e})=>n.readOnly?!1:(e(n.update(Id(n,(t,i)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let s=Dl(r,n.tabSize),l=0,o=oa(n,Math.max(0,s-Cc(n)));for(;l({mac:n.key,run:n.run,shift:n.shift}))),SR=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:TZ,shift:qZ},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:ZZ,shift:IZ},{key:"Alt-ArrowUp",run:oR},{key:"Shift-Alt-ArrowUp",run:fR},{key:"Alt-ArrowDown",run:aR},{key:"Shift-Alt-ArrowDown",run:cR},{key:"Escape",run:eR},{key:"Mod-Enter",run:dR},{key:"Alt-l",mac:"Ctrl-l",run:KZ},{key:"Mod-i",run:JZ,preventDefault:!0},{key:"Mod-[",run:Mv},{key:"Mod-]",run:zv},{key:"Mod-Alt-\\",run:pR},{key:"Shift-Mod-k",run:uR},{key:"Shift-Mod-\\",run:MZ},{key:"Mod-/",run:aZ},{key:"Alt-A",run:cZ}].concat(mR),bR={key:"Tab",run:zv,shift:Mv};function Tt(){var n=arguments[0];typeof n=="string"&&(n=document.createElement(n));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var r=t[i];typeof r=="string"?n.setAttribute(i,r):r!=null&&(n[i]=r)}e++}for(;en.normalize("NFKD"):n=>n;class Ul{constructor(e,t,i=0,r=e.length,s,l){this.test=l,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(i,r),this.bufferStart=i,this.normalize=s?o=>s(d0(o)):d0,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 vi(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=yd(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=Tn(e);let r=this.normalize(t);for(let s=0,l=i;;s++){let o=r.charCodeAt(s),a=this.match(o,l);if(s==r.length-1){if(a)return this.value=a,this;break}l==i&&sthis.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 i=this.curLineStart+t.index,r=i+t[0].length;if(this.matchPos=Xc(this.text,r+(i==r?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(ithis.value.to)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=i||r.to<=t){let o=new Zl(t,e.sliceString(t,i));return lO.set(e,o),o}if(r.from==t&&r.to==i)return r;let{text:s,from:l}=r;return l>t&&(s=e.sliceString(t,l)+s,l=t),r.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 i=this.flat.from+t.index,r=i+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this.matchPos=Xc(this.text,r+(i==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Zl.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(qv.prototype[Symbol.iterator]=Iv.prototype[Symbol.iterator]=function(){return this});function $R(n){try{return new RegExp(n,Nd),!0}catch{return!1}}function Xc(n,e){if(e>=n.length)return e;let t=n.lineAt(e),i;for(;e=56320&&i<57344;)e++;return e}function Od(n){let e=String(n.state.doc.lineAt(n.state.selection.main.head).number),t=Tt("input",{class:"cm-textfield",name:"line",value:e}),i=Tt("form",{class:"cm-gotoLine",onkeydown:s=>{s.keyCode==27?(s.preventDefault(),n.dispatch({effects:Ac.of(!1)}),n.focus()):s.keyCode==13&&(s.preventDefault(),r())},onsubmit:s=>{s.preventDefault(),r()}},Tt("label",n.state.phrase("Go to line"),": ",t)," ",Tt("button",{class:"cm-button",type:"submit"},n.state.phrase("go")));function r(){let s=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!s)return;let{state:l}=n,o=l.doc.lineAt(l.selection.main.head),[,a,c,h,O]=s,p=h?+h.slice(1):0,g=c?+c:o.number;if(c&&O){let $=g/100;a&&($=$*(a=="-"?-1:1)+o.number/l.doc.lines),g=Math.round(l.doc.lines*$)}else c&&a&&(g=g*(a=="-"?-1:1)+o.number);let b=l.doc.line(Math.max(1,Math.min(l.doc.lines,g))),y=J.cursor(b.from+Math.max(0,Math.min(p,b.length)));n.dispatch({effects:[Ac.of(!1),ge.scrollIntoView(y.from,{y:"center"})],selection:y}),n.focus()}return{dom:i}}const Ac=Le.define(),p0=hi.define({create(){return!0},update(n,e){for(let t of e.effects)t.is(Ac)&&(n=t.value);return n},provide:n=>na.from(n,e=>e?Od:null)}),yR=n=>{let e=ia(n,Od);if(!e){let t=[Ac.of(!0)];n.state.field(p0,!1)==null&&t.push(Le.appendConfig.of([p0,vR])),n.dispatch({effects:t}),e=ia(n,Od)}return e&&e.dom.querySelector("input").select(),!0},vR=ge.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),wR={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Nv=ve.define({combine(n){return br(n,wR,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function QR(n){let e=[WR,xR];return n&&e.push(Nv.of(n)),e}const kR=Re.mark({class:"cm-selectionMatch"}),_R=Re.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function g0(n,e,t,i){return(t==0||n(e.sliceDoc(t-1,t))!=Vt.Word)&&(i==e.doc.length||n(e.sliceDoc(i,i+1))!=Vt.Word)}function PR(n,e,t,i){return n(e.sliceDoc(t,t+1))==Vt.Word&&n(e.sliceDoc(i-1,i))==Vt.Word}const xR=ri.fromClass(class{constructor(n){this.decorations=this.getDeco(n)}update(n){(n.selectionSet||n.docChanged||n.viewportChanged)&&(this.decorations=this.getDeco(n.view))}getDeco(n){let e=n.state.facet(Nv),{state:t}=n,i=t.selection;if(i.ranges.length>1)return Re.none;let r=i.main,s,l=null;if(r.empty){if(!e.highlightWordAroundCursor)return Re.none;let a=t.wordAt(r.head);if(!a)return Re.none;l=t.charCategorizer(r.head),s=t.sliceDoc(a.from,a.to)}else{let a=r.to-r.from;if(a200)return Re.none;if(e.wholeWords){if(s=t.sliceDoc(r.from,r.to),l=t.charCategorizer(r.head),!(g0(l,t,r.from,r.to)&&PR(l,t,r.from,r.to)))return Re.none}else if(s=t.sliceDoc(r.from,r.to).trim(),!s)return Re.none}let o=[];for(let a of n.visibleRanges){let c=new Ul(t.doc,s,a.from,a.to);for(;!c.next().done;){let{from:h,to:O}=c.value;if((!l||g0(l,t,h,O))&&(r.empty&&h<=r.from&&O>=r.to?o.push(_R.range(h,O)):(h>=r.to||O<=r.from)&&o.push(kR.range(h,O)),o.length>e.maxMatches))return Re.none}}return Re.set(o)}},{decorations:n=>n.decorations}),WR=ge.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),CR=({state:n,dispatch:e})=>{let{selection:t}=n,i=J.create(t.ranges.map(r=>n.wordAt(r.head)||J.cursor(r.head)),t.mainIndex);return i.eq(t)?!1:(e(n.update({selection:i})),!0)};function TR(n,e){let{main:t,ranges:i}=n.selection,r=n.wordAt(t.head),s=r&&r.from==t.from&&r.to==t.to;for(let l=!1,o=new Ul(n.doc,e,i[i.length-1].to);;)if(o.next(),o.done){if(l)return null;o=new Ul(n.doc,e,0,Math.max(0,i[i.length-1].from-1)),l=!0}else{if(l&&i.some(a=>a.from==o.value.from))continue;if(s){let a=n.wordAt(o.value.from);if(!a||a.from!=o.value.from||a.to!=o.value.to)continue}return o.value}}const ZR=({state:n,dispatch:e})=>{let{ranges:t}=n.selection;if(t.some(s=>s.from===s.to))return CR({state:n,dispatch:e});let i=n.sliceDoc(t[0].from,t[0].to);if(n.selection.ranges.some(s=>n.sliceDoc(s.from,s.to)!=i))return!1;let r=TR(n,i);return r?(e(n.update({selection:n.selection.addRange(J.range(r.from,r.to),!1),effects:ge.scrollIntoView(r.to)})),!0):!1},Bl=ve.define({combine(n){return br(n,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new IR(e),scrollToMatch:e=>ge.scrollIntoView(e)})}});class Lv{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||$R(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,i)=>i=="n"?` +`:i=="r"?"\r":i=="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 YR(this):new XR(this)}getCursor(e,t=0,i){let r=e.doc?e:ht.create({doc:e});return i==null&&(i=r.doc.length),this.regexp?Sl(this,r,t,i):ml(this,r,t,i)}}class Bv{constructor(e){this.spec=e}}function ml(n,e,t,i){return new Ul(e.doc,n.unquoted,t,i,n.caseSensitive?void 0:r=>r.toLowerCase(),n.wholeWord?RR(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function RR(n,e){return(t,i,r,s)=>((s>t||s+r.length=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let s=ml(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function Sl(n,e,t,i){return new qv(e.doc,n.search,{ignoreCase:!n.caseSensitive,test:n.wholeWord?AR(e.charCategorizer(e.selection.main.head)):void 0},t,i)}function Yc(n,e){return n.slice(Ri(n,e,!1),e)}function Uc(n,e){return n.slice(e,Ri(n,e))}function AR(n){return(e,t,i)=>!i[0].length||(n(Yc(i.input,i.index))!=Vt.Word||n(Uc(i.input,i.index))!=Vt.Word)&&(n(Uc(i.input,i.index+i[0].length))!=Vt.Word||n(Yc(i.input,i.index+i[0].length))!=Vt.Word)}class YR extends Bv{nextMatch(e,t,i){let r=Sl(this.spec,e,i,e.doc.length).next();return r.done&&(r=Sl(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,i){for(let r=1;;r++){let s=Math.max(t,i-r*1e4),l=Sl(this.spec,e,s,i),o=null;for(;!l.next().done;)o=l.value;if(o&&(s==t||o.from>s+10))return o;if(s==t)return null}}prevMatch(e,t,i){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let s=Sl(this.spec,e,Math.max(0,t-250),Math.min(i+250,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const aa=Le.define(),Ld=Le.define(),ps=hi.define({create(n){return new oO(dd(n).create(),null)},update(n,e){for(let t of e.effects)t.is(aa)?n=new oO(t.value.create(),n.panel):t.is(Ld)&&(n=new oO(n.query,t.value?Bd:null));return n},provide:n=>na.from(n,e=>e.panel)});class oO{constructor(e,t){this.query=e,this.panel=t}}const UR=Re.mark({class:"cm-searchMatch"}),ER=Re.mark({class:"cm-searchMatch cm-searchMatch-selected"}),zR=ri.fromClass(class{constructor(n){this.view=n,this.decorations=this.highlight(n.state.field(ps))}update(n){let e=n.state.field(ps);(e!=n.startState.field(ps)||n.docChanged||n.selectionSet||n.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:n,panel:e}){if(!e||!n.spec.valid)return Re.none;let{view:t}=this,i=new ms;for(let r=0,s=t.visibleRanges,l=s.length;rs[r+1].from-2*250;)a=s[++r].to;n.highlight(t.state,o,a,(c,h)=>{let O=t.state.selection.ranges.some(p=>p.from==c&&p.to==h);i.add(c,h,O?ER:UR)})}return i.finish()}},{decorations:n=>n.decorations});function $a(n){return e=>{let t=e.state.field(ps,!1);return t&&t.query.spec.valid?n(e,t):Gv(e)}}const Ec=$a((n,{query:e})=>{let{to:t}=n.state.selection.main,i=e.nextMatch(n.state,t,t);if(!i)return!1;let r=J.single(i.from,i.to),s=n.state.facet(Bl);return n.dispatch({selection:r,effects:[jd(n,i),s.scrollToMatch(r.main,n)],userEvent:"select.search"}),Fv(n),!0}),zc=$a((n,{query:e})=>{let{state:t}=n,{from:i}=t.selection.main,r=e.prevMatch(t,i,i);if(!r)return!1;let s=J.single(r.from,r.to),l=n.state.facet(Bl);return n.dispatch({selection:s,effects:[jd(n,r),l.scrollToMatch(s.main,n)],userEvent:"select.search"}),Fv(n),!0}),MR=$a((n,{query:e})=>{let t=e.matchAll(n.state,1e3);return!t||!t.length?!1:(n.dispatch({selection:J.create(t.map(i=>J.range(i.from,i.to))),userEvent:"select.search.matches"}),!0)}),VR=({state:n,dispatch:e})=>{let t=n.selection;if(t.ranges.length>1||t.main.empty)return!1;let{from:i,to:r}=t.main,s=[],l=0;for(let o=new Ul(n.doc,n.sliceDoc(i,r));!o.next().done;){if(s.length>1e3)return!1;o.value.from==i&&(l=s.length),s.push(J.range(o.value.from,o.value.to))}return e(n.update({selection:J.create(s,l),userEvent:"select.search.matches"})),!0},m0=$a((n,{query:e})=>{let{state:t}=n,{from:i,to:r}=t.selection.main;if(t.readOnly)return!1;let s=e.nextMatch(t,i,i);if(!s)return!1;let l=[],o,a,c=[];if(s.from==i&&s.to==r&&(a=t.toText(e.getReplacement(s)),l.push({from:s.from,to:s.to,insert:a}),s=e.nextMatch(t,s.from,s.to),c.push(ge.announce.of(t.phrase("replaced match on line $",t.doc.lineAt(i).number)+"."))),s){let h=l.length==0||l[0].from>=s.to?0:s.to-s.from-a.length;o=J.single(s.from-h,s.to-h),c.push(jd(n,s)),c.push(t.facet(Bl).scrollToMatch(o.main,n))}return n.dispatch({changes:l,selection:o,effects:c,userEvent:"input.replace"}),!0}),DR=$a((n,{query:e})=>{if(n.state.readOnly)return!1;let t=e.matchAll(n.state,1e9).map(r=>{let{from:s,to:l}=r;return{from:s,to:l,insert:e.getReplacement(r)}});if(!t.length)return!1;let i=n.state.phrase("replaced $ matches",t.length)+".";return n.dispatch({changes:t,effects:ge.announce.of(i),userEvent:"input.replace.all"}),!0});function Bd(n){return n.state.facet(Bl).createPanel(n)}function dd(n,e){var t,i,r,s,l;let o=n.selection.main,a=o.empty||o.to>o.from+100?"":n.sliceDoc(o.from,o.to);if(e&&!a)return e;let c=n.facet(Bl);return new Lv({search:((t=e==null?void 0:e.literal)!==null&&t!==void 0?t:c.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(i=e==null?void 0:e.caseSensitive)!==null&&i!==void 0?i:c.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:c.literal,regexp:(s=e==null?void 0:e.regexp)!==null&&s!==void 0?s:c.regexp,wholeWord:(l=e==null?void 0:e.wholeWord)!==null&&l!==void 0?l:c.wholeWord})}function jv(n){let e=ia(n,Bd);return e&&e.dom.querySelector("[main-field]")}function Fv(n){let e=jv(n);e&&e==n.root.activeElement&&e.select()}const Gv=n=>{let e=n.state.field(ps,!1);if(e&&e.panel){let t=jv(n);if(t&&t!=n.root.activeElement){let i=dd(n.state,e.query.spec);i.valid&&n.dispatch({effects:aa.of(i)}),t.focus(),t.select()}}else n.dispatch({effects:[Ld.of(!0),e?aa.of(dd(n.state,e.query.spec)):Le.appendConfig.of(LR)]});return!0},Hv=n=>{let e=n.state.field(ps,!1);if(!e||!e.panel)return!1;let t=ia(n,Bd);return t&&t.dom.contains(n.root.activeElement)&&n.focus(),n.dispatch({effects:Ld.of(!1)}),!0},qR=[{key:"Mod-f",run:Gv,scope:"editor search-panel"},{key:"F3",run:Ec,shift:zc,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Ec,shift:zc,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Hv,scope:"editor search-panel"},{key:"Mod-Shift-l",run:VR},{key:"Alt-g",run:yR},{key:"Mod-d",run:ZR,preventDefault:!0}];class IR{constructor(e){this.view=e;let t=this.query=e.state.field(ps).query.spec;this.commit=this.commit.bind(this),this.searchField=Tt("input",{value:t.search,placeholder:un(e,"Find"),"aria-label":un(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Tt("input",{value:t.replace,placeholder:un(e,"Replace"),"aria-label":un(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Tt("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=Tt("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=Tt("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function i(r,s,l){return Tt("button",{class:"cm-button",name:r,onclick:s,type:"button"},l)}this.dom=Tt("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,i("next",()=>Ec(e),[un(e,"next")]),i("prev",()=>zc(e),[un(e,"previous")]),i("select",()=>MR(e),[un(e,"all")]),Tt("label",null,[this.caseField,un(e,"match case")]),Tt("label",null,[this.reField,un(e,"regexp")]),Tt("label",null,[this.wordField,un(e,"by word")]),...e.state.readOnly?[]:[Tt("br"),this.replaceField,i("replace",()=>m0(e),[un(e,"replace")]),i("replaceAll",()=>DR(e),[un(e,"replace all")])],Tt("button",{name:"close",onclick:()=>Hv(e),"aria-label":un(e,"close"),type:"button"},["×"])])}commit(){let e=new Lv({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:aa.of(e)}))}keydown(e){tC(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?zc:Ec)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),m0(this.view))}update(e){for(let t of e.transactions)for(let i of t.effects)i.is(aa)&&!i.value.eq(this.query)&&this.setQuery(i.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(Bl).top}}function un(n,e){return n.state.phrase(e)}const Ff=30,Gf=/[\s\.,:;?!]/;function jd(n,{from:e,to:t}){let i=n.state.doc.lineAt(e),r=n.state.doc.lineAt(t).to,s=Math.max(i.from,e-Ff),l=Math.min(r,t+Ff),o=n.state.sliceDoc(s,l);if(s!=i.from){for(let a=0;ao.length-Ff;a--)if(!Gf.test(o[a-1])&&Gf.test(o[a])){o=o.slice(0,a);break}}return ge.announce.of(`${n.state.phrase("current match")}. ${o} ${n.state.phrase("on line")} ${i.number}.`)}const NR=ge.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"}}),LR=[ps,js.low(zR),NR];class Kv{constructor(e,t,i){this.state=e,this.pos=t,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let t=Ft(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)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),i=Math.max(t.from,this.pos-250),r=t.text.slice(i-t.from,this.pos-t.from),s=r.search(ew(e,!1));return s<0?null:{from:i+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function S0(n){let e=Object.keys(n).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function BR(n){let e=Object.create(null),t=Object.create(null);for(let{label:r}of n){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[t,i]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:BR(e);return r=>{let s=r.matchBefore(i);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:t}:null}}function jR(n,e){return t=>{for(let i=Ft(t.state).resolveInner(t.pos,-1);i;i=i.parent){if(n.indexOf(i.name)>-1)return null;if(i.type.isTop)break}return e(t)}}class b0{constructor(e,t,i,r){this.completion=e,this.source=t,this.match=i,this.score=r}}function gs(n){return n.selection.main.from}function ew(n,e){var t;let{source:i}=n,r=e&&i[0]!="^",s=i[i.length-1]!="$";return!r&&!s?n:new RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,(t=n.flags)!==null&&t!==void 0?t:n.ignoreCase?"i":"")}const tw=qr.define();function FR(n,e,t,i){let{main:r}=n.selection,s=t-r.from,l=i-r.from;return Object.assign(Object.assign({},n.changeByRange(o=>o!=r&&t!=i&&n.sliceDoc(o.from+s,o.from+l)!=n.sliceDoc(t,i)?{range:o}:{changes:{from:o.from+s,to:i==r.from?o.to:o.from+l,insert:e},range:J.cursor(o.from+s+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const $0=new WeakMap;function GR(n){if(!Array.isArray(n))return n;let e=$0.get(n);return e||$0.set(n,e=Jv(n)),e}const Fd=Le.define(),fa=Le.define();class HR{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&T<=57||T>=97&&T<=122?2:T>=65&&T<=90?1:0:(E=yd(T))!=E.toLowerCase()?1:E!=E.toUpperCase()?2:0;(!W||M==1&&$||R==0&&M!=0)&&(t[O]==T||i[O]==T&&(p=!0)?l[O++]=W:l.length&&(k=!1)),R=M,W+=Tn(T)}return O==a&&l[0]==0&&k?this.result(-100+(p?-200:0),l,e):g==a&&b==0?this.ret(-200-e.length+(y==e.length?0:-100),[0,y]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):g==a?this.ret(-900-e.length,[b,y]):O==a?this.result(-100+(p?-200:0)+-700+(k?0:-1100),l,e):t.length==2?!1:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,i){let r=[],s=0;for(let l of t){let o=l+(this.astral?Tn(vi(i,l)):1);s&&r[s-1]==l?r[s-1]=o:(r[s++]=l,r[s++]=o)}return this.ret(e-i.length,r)}}const Zi=ve.define({combine(n){return br(n,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:KR,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>i=>y0(e(i),t(i)),optionClass:(e,t)=>i=>y0(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})}});function y0(n,e){return n?e?n+" "+e:n:e}function KR(n,e,t,i,r,s){let l=n.textDirection==It.RTL,o=l,a=!1,c="top",h,O,p=e.left-r.left,g=r.right-e.right,b=i.right-i.left,y=i.bottom-i.top;if(o&&p=y||W>e.top?h=t.bottom-e.top:(c="bottom",h=e.bottom-t.top)}let $=(e.bottom-e.top)/s.offsetHeight,k=(e.right-e.left)/s.offsetWidth;return{style:`${c}: ${h/$}px; max-width: ${O/k}px`,class:"cm-completionInfo-"+(a?l?"left-narrow":"right-narrow":o?"left":"right")}}function JR(n){let e=n.addToOptions.slice();return n.icons&&e.push({render(t){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),t.type&&i.classList.add(...t.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(t,i,r,s){let l=document.createElement("span");l.className="cm-completionLabel";let o=t.displayLabel||t.label,a=0;for(let c=0;ca&&l.appendChild(document.createTextNode(o.slice(a,h)));let p=l.appendChild(document.createElement("span"));p.appendChild(document.createTextNode(o.slice(h,O))),p.className="cm-completionMatchedText",a=O}return at.position-i.position).map(t=>t.render)}function aO(n,e,t){if(n<=t)return{from:0,to:n};if(e<0&&(e=0),e<=n>>1){let r=Math.floor(e/t);return{from:r*t,to:(r+1)*t}}let i=Math.floor((n-e)/t);return{from:n-(i+1)*t,to:n-i*t}}class eX{constructor(e,t,i){this.view=e,this.stateField=t,this.applyCompletion=i,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:a=>this.placeInfo(a),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:s,selected:l}=r.open,o=e.state.facet(Zi);this.optionContent=JR(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=aO(s.length,l,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:c}=e.state.field(t).open;for(let h=a.target,O;h&&h!=this.dom;h=h.parentNode)if(h.nodeName=="LI"&&(O=/-(\d+)$/.exec(h.id))&&+O[1]{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(Zi).closeOnBlur&&a.relatedTarget!=e.contentDOM&&e.dispatch({effects:fa.of(null)})}),this.showOptions(s,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let i=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),i!=r){let{options:s,selected:l,disabled:o}=i.open;(!r.open||r.open.options!=s)&&(this.range=aO(s.length,l,e.state.facet(Zi).maxRenderedOptions),this.showOptions(s,i.id)),this.updateSel(),o!=((t=r.open)===null||t===void 0?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let i of this.currentClass.split(" "))i&&this.dom.classList.remove(i);for(let i of t.split(" "))i&&this.dom.classList.add(i);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=aO(t.options.length,t.selected,this.view.state.facet(Zi).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:i}=t.options[t.selected],{info:r}=i;if(!r)return;let s=typeof r=="string"?document.createTextNode(r):r(i);if(!s)return;"then"in s?s.then(l=>{l&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(l,i)}).catch(l=>Xn(this.view.state,l,"completion info")):this.addInfoPane(s,i)}}addInfoPane(e,t){this.destroyInfo();let i=this.info=document.createElement("div");if(i.className="cm-tooltip cm-completionInfo",e.nodeType!=null)i.appendChild(e),this.infoDestroy=null;else{let{dom:r,destroy:s}=e;i.appendChild(r),this.infoDestroy=s||null}this.dom.appendChild(i),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let i=this.list.firstChild,r=this.range.from;i;i=i.nextSibling,r++)i.nodeName!="LI"||!i.id?r--:r==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),t=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return t&&iX(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),s=this.space;if(!s){let l=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:l.innerWidth,bottom:l.innerHeight}}return r.top>Math.min(s.bottom,t.bottom)-10||r.bottomi.from||i.from==0))if(s=p,typeof c!="string"&&c.header)r.appendChild(c.header(c));else{let g=r.appendChild(document.createElement("completion-section"));g.textContent=p}}const h=r.appendChild(document.createElement("li"));h.id=t+"-"+l,h.setAttribute("role","option");let O=this.optionClass(o);O&&(h.className=O);for(let p of this.optionContent){let g=p(o,this.view.state,this.view,a);g&&h.appendChild(g)}}return i.from&&r.classList.add("cm-completionListIncompleteTop"),i.tonew eX(t,n,e)}function iX(n,e){let t=n.getBoundingClientRect(),i=e.getBoundingClientRect(),r=t.height/n.offsetHeight;i.topt.bottom&&(n.scrollTop+=(i.bottom-t.bottom)/r)}function v0(n){return(n.boost||0)*100+(n.apply?10:0)+(n.info?5:0)+(n.type?1:0)}function nX(n,e){let t=[],i=null,r=a=>{t.push(a);let{section:c}=a.completion;if(c){i||(i=[]);let h=typeof c=="string"?c:c.name;i.some(O=>O.name==h)||i.push(typeof c=="string"?{name:h}:c)}};for(let a of n)if(a.hasResult()){let c=a.result.getMatch;if(a.result.filter===!1)for(let h of a.result.options)r(new b0(h,a.source,c?c(h):[],1e9-t.length));else{let h=new HR(e.sliceDoc(a.from,a.to));for(let O of a.result.options)if(h.match(O.label)){let p=O.displayLabel?c?c(O,h.matched):[]:h.matched;r(new b0(O,a.source,p,h.score+(O.boost||0)))}}}if(i){let a=Object.create(null),c=0,h=(O,p)=>{var g,b;return((g=O.rank)!==null&&g!==void 0?g:1e9)-((b=p.rank)!==null&&b!==void 0?b:1e9)||(O.nameh.score-c.score||o(c.completion,h.completion))){let c=a.completion;!l||l.label!=c.label||l.detail!=c.detail||l.type!=null&&c.type!=null&&l.type!=c.type||l.apply!=c.apply||l.boost!=c.boost?s.push(a):v0(a.completion)>v0(l)&&(s[s.length-1]=a),l=a.completion}return s}class vl{constructor(e,t,i,r,s,l){this.options=e,this.attrs=t,this.tooltip=i,this.timestamp=r,this.selected=s,this.disabled=l}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new vl(this.options,w0(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,i,r,s){let l=nX(e,t);if(!l.length)return r&&e.some(a=>a.state==1)?new vl(r.options,r.attrs,r.tooltip,r.timestamp,r.selected,!0):null;let o=t.facet(Zi).selectOnOpen?0:-1;if(r&&r.selected!=o&&r.selected!=-1){let a=r.options[r.selected].completion;for(let c=0;cc.hasResult()?Math.min(a,c.from):a,1e8),create:aX,above:s.aboveCursor},r?r.timestamp:Date.now(),o,!1)}map(e){return new vl(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class Mc{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new Mc(lX,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,i=t.facet(Zi),s=(i.override||t.languageDataAt("autocomplete",gs(t)).map(GR)).map(o=>(this.active.find(c=>c.source==o)||new Ji(o,this.active.some(c=>c.state!=0)?1:0)).update(e,i));s.length==this.active.length&&s.every((o,a)=>o==this.active[a])&&(s=this.active);let l=this.open;l&&e.docChanged&&(l=l.map(e.changes)),e.selection||s.some(o=>o.hasResult()&&e.changes.touchesRange(o.from,o.to))||!rX(s,this.active)?l=vl.build(s,t,this.id,l,i):l&&l.disabled&&!s.some(o=>o.state==1)&&(l=null),!l&&s.every(o=>o.state!=1)&&s.some(o=>o.hasResult())&&(s=s.map(o=>o.hasResult()?new Ji(o.source,0):o));for(let o of e.effects)o.is(nw)&&(l=l&&l.setSelected(o.value,this.id));return s==this.active&&l==this.open?this:new Mc(s,this.id,l)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:sX}}function rX(n,e){if(n==e)return!0;for(let t=0,i=0;;){for(;t-1&&(t["aria-activedescendant"]=n+"-"+e),t}const lX=[];function pd(n){return n.isUserEvent("input.type")?"input":n.isUserEvent("delete.backward")?"delete":null}class Ji{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=pd(e),r=this;i?r=r.handleUserEvent(e,i,t):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new Ji(r.source,0));for(let s of e.effects)if(s.is(Fd))r=new Ji(r.source,1,s.value?gs(e.state):-1);else if(s.is(fa))r=new Ji(r.source,0);else if(s.is(iw))for(let l of s.value)l.source==r.source&&(r=l);return r}handleUserEvent(e,t,i){return t=="delete"||!i.activateOnTyping?this.map(e.changes):new Ji(this.source,1)}handleChange(e){return e.changes.touchesRange(gs(e.startState))?new Ji(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Ji(this.source,this.state,e.mapPos(this.explicitPos))}}class Rl extends Ji{constructor(e,t,i,r,s){super(e,2,t),this.result=i,this.from=r,this.to=s}hasResult(){return!0}handleUserEvent(e,t,i){var r;let s=e.changes.mapPos(this.from),l=e.changes.mapPos(this.to,1),o=gs(e.state);if((this.explicitPos<0?o<=s:ol||t=="delete"&&gs(e.startState)==this.from)return new Ji(this.source,t=="input"&&i.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return oX(this.result.validFor,e.state,s,l)?new Rl(this.source,a,this.result,s,l):this.result.update&&(c=this.result.update(this.result,s,l,new Kv(e.state,o,a>=0)))?new Rl(this.source,a,c,c.from,(r=c.to)!==null&&r!==void 0?r:gs(e.state)):new Ji(this.source,1,a)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Ji(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Rl(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function oX(n,e,t,i){if(!n)return!1;let r=e.sliceDoc(t,i);return typeof n=="function"?n(r,t,i,e):ew(n,!0).test(r)}const iw=Le.define({map(n,e){return n.map(t=>t.map(e))}}),nw=Le.define(),dn=hi.define({create(){return Mc.start()},update(n,e){return n.update(e)},provide:n=>[Td.from(n,e=>e.tooltip),ge.contentAttributes.from(n,e=>e.attrs)]});function rw(n,e){const t=e.completion.apply||e.completion.label;let i=n.state.field(dn).active.find(r=>r.source==e.source);return i instanceof Rl?(typeof t=="string"?n.dispatch(Object.assign(Object.assign({},FR(n.state,t,i.from,i.to)),{annotations:tw.of(e.completion)})):t(n,e.completion,i.from,i.to),!0):!1}const aX=tX(dn,rw);function Hf(n,e="option"){return t=>{let i=t.state.field(dn,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+r*(n?1:-1):n?0:l-1;return o<0?o=e=="page"?0:l-1:o>=l&&(o=e=="page"?l-1:0),t.dispatch({effects:nw.of(o)}),!0}}const fX=n=>{let e=n.state.field(dn,!1);return n.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampn.state.field(dn,!1)?(n.dispatch({effects:Fd.of(!0)}),!0):!1,uX=n=>{let e=n.state.field(dn,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(n.dispatch({effects:fa.of(null)}),!0)};class hX{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const OX=50,dX=1e3,pX=ri.fromClass(class{constructor(n){this.view=n,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of n.state.field(dn).active)e.state==1&&this.startQuery(e)}update(n){let e=n.state.field(dn);if(!n.selectionSet&&!n.docChanged&&n.startState.field(dn)==e)return;let t=n.transactions.some(i=>(i.selection||i.docChanged)&&!pd(i));for(let i=0;iOX&&Date.now()-r.time>dX){for(let s of r.context.abortListeners)try{s()}catch(l){Xn(this.view.state,l)}r.context.abortListeners=null,this.running.splice(i--,1)}else r.updates.push(...n.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(i=>i.state==1&&!this.running.some(r=>r.active.source==i.source))?setTimeout(()=>this.startUpdate(),50):-1,this.composing!=0)for(let i of n.transactions)pd(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:n}=this.view,e=n.field(dn);for(let t of e.active)t.state==1&&!this.running.some(i=>i.active.source==t.source)&&this.startQuery(t)}startQuery(n){let{state:e}=this.view,t=gs(e),i=new Kv(e,t,n.explicitPos==t),r=new hX(n,i);this.running.push(r),Promise.resolve(n.source(i)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:fa.of(null)}),Xn(this.view.state,s)})}scheduleAccept(){this.running.every(n=>n.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Zi).updateSyncTime))}accept(){var n;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(Zi);for(let i=0;il.source==r.active.source);if(s&&s.state==1)if(r.done==null){let l=new Ji(r.active.source,0);for(let o of r.updates)l=l.update(o,t);l.state!=1&&e.push(l)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:iw.of(e)})}},{eventHandlers:{blur(n){let e=this.view.state.field(dn,!1);if(e&&e.tooltip&&this.view.state.facet(Zi).closeOnBlur){let t=e.open&&Qy(this.view,e.open.tooltip);(!t||!t.dom.contains(n.relatedTarget))&&this.view.dispatch({effects:fa.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Fd.of(!1)}),20),this.composing=0}}}),sw=ge.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",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',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",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class gX{constructor(e,t,i,r){this.field=e,this.line=t,this.from=i,this.to=r}}class Gd{constructor(e,t,i){this.field=e,this.from=t,this.to=i}map(e){let t=e.mapPos(this.from,-1,Qi.TrackDel),i=e.mapPos(this.to,1,Qi.TrackDel);return t==null||i==null?null:new Gd(this.field,t,i)}}class Hd{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let i=[],r=[t],s=e.doc.lineAt(t),l=/^\s*/.exec(s.text)[0];for(let a of this.lines){if(i.length){let c=l,h=/^\t*/.exec(a)[0].length;for(let O=0;Onew Gd(a.field,r[a.line]+a.from,r[a.line]+a.to));return{text:i,ranges:o}}static parse(e){let t=[],i=[],r=[],s;for(let l of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(l);){let o=s[1]?+s[1]:null,a=s[2]||s[3]||"",c=-1;for(let h=0;h=c&&O.field++}r.push(new gX(c,i.length,s.index,s.index+a.length)),l=l.slice(0,s.index)+a+l.slice(s.index+s[0].length)}for(let o;o=/\\([{}])/.exec(l);){l=l.slice(0,o.index)+o[1]+l.slice(o.index+o[0].length);for(let a of r)a.line==i.length&&a.from>o.index&&(a.from--,a.to--)}i.push(l)}return new Hd(i,r)}}let mX=Re.widget({widget:new class extends Ir{toDOM(){let n=document.createElement("span");return n.className="cm-snippetFieldPosition",n}ignoreEvent(){return!1}}}),SX=Re.mark({class:"cm-snippetField"});class jl{constructor(e,t){this.ranges=e,this.active=t,this.deco=Re.set(e.map(i=>(i.from==i.to?mX:SX).range(i.from,i.to)))}map(e){let t=[];for(let i of this.ranges){let r=i.map(e);if(!r)return null;t.push(r)}return new jl(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(i=>i.field==this.active&&i.from<=t.from&&i.to>=t.to))}}const ya=Le.define({map(n,e){return n&&n.map(e)}}),bX=Le.define(),ca=hi.define({create(){return null},update(n,e){for(let t of e.effects){if(t.is(ya))return t.value;if(t.is(bX)&&n)return new jl(n.ranges,t.value)}return n&&e.docChanged&&(n=n.map(e.changes)),n&&e.selection&&!n.selectionInsideField(e.selection)&&(n=null),n},provide:n=>ge.decorations.from(n,e=>e?e.deco:Re.none)});function Kd(n,e){return J.create(n.filter(t=>t.field==e).map(t=>J.range(t.from,t.to)))}function $X(n){let e=Hd.parse(n);return(t,i,r,s)=>{let{text:l,ranges:o}=e.instantiate(t.state,r),a={changes:{from:r,to:s,insert:mt.of(l)},scrollIntoView:!0,annotations:i?tw.of(i):void 0};if(o.length&&(a.selection=Kd(o,0)),o.length>1){let c=new jl(o,0),h=a.effects=[ya.of(c)];t.state.field(ca,!1)===void 0&&h.push(Le.appendConfig.of([ca,kX,_X,sw]))}t.dispatch(t.state.update(a))}}function lw(n){return({state:e,dispatch:t})=>{let i=e.field(ca,!1);if(!i||n<0&&i.active==0)return!1;let r=i.active+n,s=n>0&&!i.ranges.some(l=>l.field==r+n);return t(e.update({selection:Kd(i.ranges,r),effects:ya.of(s?null:new jl(i.ranges,r)),scrollIntoView:!0})),!0}}const yX=({state:n,dispatch:e})=>n.field(ca,!1)?(e(n.update({effects:ya.of(null)})),!0):!1,vX=lw(1),wX=lw(-1),QX=[{key:"Tab",run:vX,shift:wX},{key:"Escape",run:yX}],Q0=ve.define({combine(n){return n.length?n[0]:QX}}),kX=js.highest(da.compute([Q0],n=>n.facet(Q0)));function ji(n,e){return Object.assign(Object.assign({},e),{apply:$X(n)})}const _X=ge.domEventHandlers({mousedown(n,e){let t=e.state.field(ca,!1),i;if(!t||(i=e.posAtCoords({x:n.clientX,y:n.clientY}))==null)return!1;let r=t.ranges.find(s=>s.from<=i&&s.to>=i);return!r||r.field==t.active?!1:(e.dispatch({selection:Kd(t.ranges,r.field),effects:ya.of(t.ranges.some(s=>s.field>r.field)?new jl(t.ranges,r.field):null),scrollIntoView:!0}),!0)}}),ua={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},qs=Le.define({map(n,e){let t=e.mapPos(n,-1,Qi.TrackAfter);return t??void 0}}),Jd=new class extends Is{};Jd.startSide=1;Jd.endSide=-1;const ow=hi.define({create(){return wt.empty},update(n,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head);n=n.update({filter:i=>i>=t.from&&i<=t.to})}n=n.map(e.changes);for(let t of e.effects)t.is(qs)&&(n=n.update({add:[Jd.range(t.value,t.value+1)]}));return n}});function PX(){return[WX,ow]}const fO="()[]{}<>";function aw(n){for(let e=0;e{if((xX?n.composing:n.compositionStarted)||n.state.readOnly)return!1;let r=n.state.selection.main;if(i.length>2||i.length==2&&Tn(vi(i,0))==1||e!=r.from||t!=r.to)return!1;let s=ZX(n.state,i);return s?(n.dispatch(s),!0):!1}),CX=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let i=fw(n,n.selection.main.head).brackets||ua.brackets,r=null,s=n.changeByRange(l=>{if(l.empty){let o=RX(n.doc,l.head);for(let a of i)if(a==o&&lu(n.doc,l.head)==aw(vi(a,0)))return{changes:{from:l.head-a.length,to:l.head+a.length},range:J.cursor(l.head-a.length)}}return{range:r=l}});return r||e(n.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},TX=[{key:"Backspace",run:CX}];function ZX(n,e){let t=fw(n,n.selection.main.head),i=t.brackets||ua.brackets;for(let r of i){let s=aw(vi(r,0));if(e==r)return s==r?YX(n,r,i.indexOf(r+r+r)>-1,t):XX(n,r,s,t.before||ua.before);if(e==s&&cw(n,n.selection.main.from))return AX(n,r,s)}return null}function cw(n,e){let t=!1;return n.field(ow).between(0,n.doc.length,i=>{i==e&&(t=!0)}),t}function lu(n,e){let t=n.sliceString(e,e+2);return t.slice(0,Tn(vi(t,0)))}function RX(n,e){let t=n.sliceString(e-2,e);return Tn(vi(t,0))==t.length?t:t.slice(1)}function XX(n,e,t,i){let r=null,s=n.changeByRange(l=>{if(!l.empty)return{changes:[{insert:e,from:l.from},{insert:t,from:l.to}],effects:qs.of(l.to+e.length),range:J.range(l.anchor+e.length,l.head+e.length)};let o=lu(n.doc,l.head);return!o||/\s/.test(o)||i.indexOf(o)>-1?{changes:{insert:e+t,from:l.head},effects:qs.of(l.head+e.length),range:J.cursor(l.head+e.length)}:{range:r=l}});return r?null:n.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function AX(n,e,t){let i=null,r=n.changeByRange(s=>s.empty&&lu(n.doc,s.head)==t?{changes:{from:s.head,to:s.head+t.length,insert:t},range:J.cursor(s.head+t.length)}:i={range:s});return i?null:n.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function YX(n,e,t,i){let r=i.stringPrefixes||ua.stringPrefixes,s=null,l=n.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:qs.of(o.to+e.length),range:J.range(o.anchor+e.length,o.head+e.length)};let a=o.head,c=lu(n.doc,a),h;if(c==e){if(k0(n,a))return{changes:{insert:e+e,from:a},effects:qs.of(a+e.length),range:J.cursor(a+e.length)};if(cw(n,a)){let p=t&&n.sliceDoc(a,a+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:a,to:a+p.length,insert:p},range:J.cursor(a+p.length)}}}else{if(t&&n.sliceDoc(a-2*e.length,a)==e+e&&(h=_0(n,a-2*e.length,r))>-1&&k0(n,h))return{changes:{insert:e+e+e+e,from:a},effects:qs.of(a+e.length),range:J.cursor(a+e.length)};if(n.charCategorizer(a)(c)!=Vt.Word&&_0(n,a,r)>-1&&!UX(n,a,e,r))return{changes:{insert:e+e,from:a},effects:qs.of(a+e.length),range:J.cursor(a+e.length)}}return{range:s=o}});return s?null:n.update(l,{scrollIntoView:!0,userEvent:"input.type"})}function k0(n,e){let t=Ft(n).resolveInner(e+1);return t.parent&&t.from==e}function UX(n,e,t,i){let r=Ft(n).resolveInner(e,-1),s=i.reduce((l,o)=>Math.max(l,o.length),0);for(let l=0;l<5;l++){let o=n.sliceDoc(r.from,Math.min(r.to,r.from+t.length+s)),a=o.indexOf(t);if(!a||a>-1&&i.indexOf(o.slice(0,a))>-1){let h=r.firstChild;for(;h&&h.from==r.from&&h.to-h.from>t.length+a;){if(n.sliceDoc(h.to-t.length,h.to)==t)return!1;h=h.firstChild}return!0}let c=r.to==e&&r.parent;if(!c)break;r=c}return!1}function _0(n,e,t){let i=n.charCategorizer(e);if(i(n.sliceDoc(e-1,e))!=Vt.Word)return e;for(let r of t){let s=e-r.length;if(n.sliceDoc(s,e)==r&&i(n.sliceDoc(s-1,s))!=Vt.Word)return s}return-1}function EX(n={}){return[dn,Zi.of(n),pX,zX,sw]}const uw=[{key:"Ctrl-Space",run:cX},{key:"Escape",run:uX},{key:"ArrowDown",run:Hf(!0)},{key:"ArrowUp",run:Hf(!1)},{key:"PageDown",run:Hf(!0,"page")},{key:"PageUp",run:Hf(!1,"page")},{key:"Enter",run:fX}],zX=js.highest(da.computeN([Zi],n=>n.facet(Zi).defaultKeymap?[uw]:[]));class MX{constructor(e,t,i){this.from=e,this.to=t,this.diagnostic=i}}class Ms{constructor(e,t,i){this.diagnostics=e,this.panel=t,this.selected=i}static init(e,t,i){let r=e,s=i.facet(dw).markerFilter;s&&(r=s(r));let l=Re.set(r.map(o=>o.from==o.to||o.from==o.to-1&&i.doc.lineAt(o.from).to==o.from?Re.widget({widget:new FX(o),diagnostic:o}).range(o.from):Re.mark({attributes:{class:"cm-lintRange cm-lintRange-"+o.severity+(o.markClass?" "+o.markClass:"")},diagnostic:o}).range(o.from,o.to)),!0);return new Ms(l,t,El(l))}}function El(n,e=null,t=0){let i=null;return n.between(t,1e9,(r,s,{spec:l})=>{if(!(e&&l.diagnostic!=e))return i=new MX(r,s,l.diagnostic),!1}),i}function VX(n,e){let t=n.startState.doc.lineAt(e.pos);return!!(n.effects.some(i=>i.is(hw))||n.changes.touchesRange(t.from,t.to))}function DX(n,e){return n.field(gn,!1)?e:e.concat(Le.appendConfig.of(KX))}const hw=Le.define(),ep=Le.define(),Ow=Le.define(),gn=hi.define({create(){return new Ms(Re.none,null,null)},update(n,e){if(e.docChanged){let t=n.diagnostics.map(e.changes),i=null;if(n.selected){let r=e.changes.mapPos(n.selected.from,1);i=El(t,n.selected.diagnostic,r)||El(t,null,r)}n=new Ms(t,n.panel,i)}for(let t of e.effects)t.is(hw)?n=Ms.init(t.value,n.panel,e.state):t.is(ep)?n=new Ms(n.diagnostics,t.value?ou.open:null,n.selected):t.is(Ow)&&(n=new Ms(n.diagnostics,n.panel,t.value));return n},provide:n=>[na.from(n,e=>e.panel),ge.decorations.from(n,e=>e.diagnostics)]}),qX=Re.mark({class:"cm-lintRange cm-lintRange-active"});function IX(n,e,t){let{diagnostics:i}=n.state.field(gn),r=[],s=2e8,l=0;i.between(e-(t<0?1:0),e+(t>0?1:0),(a,c,{spec:h})=>{e>=a&&e<=c&&(a==c||(e>a||t>0)&&(egw(n,t,!1)))}const LX=n=>{let e=n.state.field(gn,!1);(!e||!e.panel)&&n.dispatch({effects:DX(n.state,[ep.of(!0)])});let t=ia(n,ou.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},P0=n=>{let e=n.state.field(gn,!1);return!e||!e.panel?!1:(n.dispatch({effects:ep.of(!1)}),!0)},BX=n=>{let e=n.state.field(gn,!1);if(!e)return!1;let t=n.state.selection.main,i=e.diagnostics.iter(t.to+1);return!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==t.from&&i.to==t.to)?!1:(n.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},jX=[{key:"Mod-Shift-m",run:LX,preventDefault:!0},{key:"F8",run:BX}],dw=ve.define({combine(n){return Object.assign({sources:n.map(e=>e.source)},br(n.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,t)=>e?t?i=>e(i)||t(i):e:t}))}});function pw(n){let e=[];if(n)e:for(let{name:t}of n){for(let i=0;is.toLowerCase()==r.toLowerCase())){e.push(r);continue e}}e.push("")}return e}function gw(n,e,t){var i;let r=t?pw(e.actions):[];return Tt("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Tt("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(i=e.actions)===null||i===void 0?void 0:i.map((s,l)=>{let o=!1,a=p=>{if(p.preventDefault(),o)return;o=!0;let g=El(n.state.field(gn).diagnostics,e);g&&s.apply(n,g.from,g.to)},{name:c}=s,h=r[l]?c.indexOf(r[l]):-1,O=h<0?c:[c.slice(0,h),Tt("u",c.slice(h,h+1)),c.slice(h+1)];return Tt("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${c}${h<0?"":` (access key "${r[l]})"`}.`},O)}),e.source&&Tt("div",{class:"cm-diagnosticSource"},e.source))}class FX extends Ir{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Tt("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class x0{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=gw(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class ou{constructor(e){this.view=e,this.items=[];let t=r=>{if(r.keyCode==27)P0(this.view),this.view.focus();else if(r.keyCode==38||r.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(r.keyCode==40||r.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(r.keyCode==36)this.moveSelection(0);else if(r.keyCode==35)this.moveSelection(this.items.length-1);else if(r.keyCode==13)this.view.focus();else if(r.keyCode>=65&&r.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],l=pw(s.actions);for(let o=0;o{for(let s=0;sP0(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(gn).selected;if(!e)return-1;for(let t=0;t{let c=-1,h;for(let O=i;Oi&&(this.items.splice(i,c-i),r=!0)),t&&h.diagnostic==t.diagnostic?h.dom.hasAttribute("aria-selected")||(h.dom.setAttribute("aria-selected","true"),s=h):h.dom.hasAttribute("aria-selected")&&h.dom.removeAttribute("aria-selected"),i++});i({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:l,panel:o})=>{let a=o.height/this.list.offsetHeight;l.topo.bottom&&(this.list.scrollTop+=(l.bottom-o.bottom)/a)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let i=e;e=i.nextSibling,i.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;e!=i.dom;)t();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(gn),i=El(t.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:Ow.of(i)})}static open(e){return new ou(e)}}function GX(n,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(n)}')`}function Kf(n){return GX(``,'width="6" height="3"')}const HX=ge.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-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Kf("#d11")},".cm-lintRange-warning":{backgroundImage:Kf("orange")},".cm-lintRange-info":{backgroundImage:Kf("#999")},".cm-lintRange-hint":{backgroundImage:Kf("#66d")},".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-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".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}}}),KX=[gn,ge.decorations.compute([gn],n=>{let{selected:e,panel:t}=n.field(gn);return!e||!t||e.from==e.to?Re.none:Re.set([qX.range(e.from,e.to)])}),MC(IX,{hideOn:VX}),HX],JX=[FC(),KC(),SC(),SZ(),NT(),oC(),hC(),ht.allowMultipleSelections.of(!0),ZT(),rv(FT,{fallback:!0}),iZ(),PX(),EX(),CC(),RC(),QC(),QR(),da.of([...TX,...SR,...qR,...PZ,...VT,...uw,...jX])],gi=({variant:n,settings:e,styles:t})=>{const i=ge.theme({"&":{backgroundColor:e.background,color:e.foreground},".cm-content":{caretColor:e.caret},".cm-cursor, .cm-dropCursor":{borderLeftColor:e.caret},"&.cm-focused .cm-selectionBackgroundm .cm-selectionBackground, .cm-content ::selection":{backgroundColor:e.selection},".cm-activeLine":{backgroundColor:e.lineHighlight},".cm-gutters":{backgroundColor:e.gutterBackground,color:e.gutterForeground},".cm-activeLineGutter":{backgroundColor:e.lineHighlight}},{dark:n==="dark"}),r=Sa.define(t);return[i,rv(r)]};gi({variant:"dark",settings:{background:"#200020",foreground:"#D0D0FF",caret:"#7070FF",selection:"#80000080",gutterBackground:"#200020",gutterForeground:"#C080C0",lineHighlight:"#80000040"},styles:[{tag:S.comment,color:"#404080"},{tag:[S.string,S.regexp],color:"#999999"},{tag:S.number,color:"#7090B0"},{tag:[S.bool,S.null],color:"#8080A0"},{tag:[S.punctuation,S.derefOperator],color:"#805080"},{tag:S.keyword,color:"#60B0FF"},{tag:S.definitionKeyword,color:"#B0FFF0"},{tag:S.moduleKeyword,color:"#60B0FF"},{tag:S.operator,color:"#A0A0FF"},{tag:[S.variableName,S.self],color:"#008080"},{tag:S.operatorKeyword,color:"#A0A0FF"},{tag:S.controlKeyword,color:"#80A0FF"},{tag:S.className,color:"#70E080"},{tag:[S.function(S.propertyName),S.propertyName],color:"#50A0A0"},{tag:S.tagName,color:"#009090"},{tag:S.modifier,color:"#B0FFF0"},{tag:[S.squareBracket,S.attributeName],color:"#D0D0FF"}]});gi({variant:"light",settings:{background:"#fcfcfc",foreground:"#5c6166",caret:"#ffaa33",selection:"#036dd626",gutterBackground:"#fcfcfc",gutterForeground:"#8a919966",lineHighlight:"#8a91991a"},styles:[{tag:S.comment,color:"#787b8099"},{tag:S.string,color:"#86b300"},{tag:S.regexp,color:"#4cbf99"},{tag:[S.number,S.bool,S.null],color:"#ffaa33"},{tag:S.variableName,color:"#5c6166"},{tag:[S.definitionKeyword,S.modifier],color:"#fa8d3e"},{tag:[S.keyword,S.special(S.brace)],color:"#fa8d3e"},{tag:S.operator,color:"#ed9366"},{tag:S.separator,color:"#5c6166b3"},{tag:S.punctuation,color:"#5c6166"},{tag:[S.definition(S.propertyName),S.function(S.variableName)],color:"#f2ae49"},{tag:[S.className,S.definition(S.typeName)],color:"#22a4e6"},{tag:[S.tagName,S.typeName,S.self,S.labelName],color:"#55b4d4"},{tag:S.angleBracket,color:"#55b4d480"},{tag:S.attributeName,color:"#f2ae49"}]});gi({variant:"dark",settings:{background:"#15191EFA",foreground:"#EEF2F7",caret:"#C4C4C4",selection:"#90B2D557",gutterBackground:"#15191EFA",gutterForeground:"#aaaaaa95",lineHighlight:"#57575712"},styles:[{tag:S.comment,color:"#6E6E6E"},{tag:[S.string,S.regexp,S.special(S.brace)],color:"#5C81B3"},{tag:S.number,color:"#C1E1B8"},{tag:S.bool,color:"#53667D"},{tag:[S.definitionKeyword,S.modifier,S.function(S.propertyName)],color:"#A3D295",fontWeight:"bold"},{tag:[S.keyword,S.moduleKeyword,S.operatorKeyword,S.operator],color:"#697A8E",fontWeight:"bold"},{tag:[S.variableName,S.attributeName],color:"#708E67"},{tag:[S.function(S.variableName),S.definition(S.propertyName),S.derefOperator],color:"#fff"},{tag:S.tagName,color:"#A3D295"}]});gi({variant:"dark",settings:{background:"#2e241d",foreground:"#BAAE9E",caret:"#A7A7A7",selection:"#DDF0FF33",gutterBackground:"#28211C",gutterForeground:"#BAAE9E90",lineHighlight:"#FFFFFF08"},styles:[{tag:S.comment,color:"#666666"},{tag:[S.string,S.special(S.brace)],color:"#54BE0D"},{tag:S.regexp,color:"#E9C062"},{tag:S.number,color:"#CF6A4C"},{tag:[S.keyword,S.operator],color:"#5EA6EA"},{tag:S.variableName,color:"#7587A6"},{tag:[S.definitionKeyword,S.modifier],color:"#F9EE98"},{tag:[S.propertyName,S.function(S.variableName)],color:"#937121"},{tag:[S.typeName,S.angleBracket,S.tagName],color:"#9B859D"}]});gi({variant:"dark",settings:{background:"#3b2627",foreground:"#E6E1C4",caret:"#E6E1C4",selection:"#16120E",gutterBackground:"#3b2627",gutterForeground:"#E6E1C490",lineHighlight:"#1F1611"},styles:[{tag:S.comment,color:"#6B4E32"},{tag:[S.keyword,S.operator,S.derefOperator],color:"#EF5D32"},{tag:S.className,color:"#EFAC32",fontWeight:"bold"},{tag:[S.typeName,S.propertyName,S.function(S.variableName),S.definition(S.variableName)],color:"#EFAC32"},{tag:S.definition(S.typeName),color:"#EFAC32",fontWeight:"bold"},{tag:S.labelName,color:"#EFAC32",fontWeight:"bold"},{tag:[S.number,S.bool],color:"#6C99BB"},{tag:[S.variableName,S.self],color:"#7DAF9C"},{tag:[S.string,S.special(S.brace),S.regexp],color:"#D9D762"},{tag:[S.angleBracket,S.tagName,S.attributeName],color:"#EFCB43"}]});gi({variant:"dark",settings:{background:"#000205",foreground:"#FFFFFF",caret:"#E60065",selection:"#E60C6559",gutterBackground:"#000205",gutterForeground:"#ffffff90",lineHighlight:"#4DD7FC1A"},styles:[{tag:S.comment,color:"#404040"},{tag:[S.string,S.special(S.brace),S.regexp],color:"#00D8FF"},{tag:S.number,color:"#E62286"},{tag:[S.variableName,S.attributeName,S.self],color:"#E62286",fontWeight:"bold"},{tag:S.function(S.variableName),color:"#fff",fontWeight:"bold"}]});gi({variant:"light",settings:{background:"#fff",foreground:"#000",caret:"#000",selection:"#BDD5FC",gutterBackground:"#fff",gutterForeground:"#00000070",lineHighlight:"#FFFBD1"},styles:[{tag:S.comment,color:"#BCC8BA"},{tag:[S.string,S.special(S.brace),S.regexp],color:"#5D90CD"},{tag:[S.number,S.bool,S.null],color:"#46A609"},{tag:S.keyword,color:"#AF956F"},{tag:[S.definitionKeyword,S.modifier],color:"#C52727"},{tag:[S.angleBracket,S.tagName,S.attributeName],color:"#606060"},{tag:S.self,color:"#000"}]});gi({variant:"dark",settings:{background:"#00254b",foreground:"#FFFFFF",caret:"#FFFFFF",selection:"#B36539BF",gutterBackground:"#00254b",gutterForeground:"#FFFFFF70",lineHighlight:"#00000059"},styles:[{tag:S.comment,color:"#0088FF"},{tag:S.string,color:"#3AD900"},{tag:S.regexp,color:"#80FFC2"},{tag:[S.number,S.bool,S.null],color:"#FF628C"},{tag:[S.definitionKeyword,S.modifier],color:"#FFEE80"},{tag:S.variableName,color:"#CCCCCC"},{tag:S.self,color:"#FF80E1"},{tag:[S.className,S.definition(S.propertyName),S.function(S.variableName),S.definition(S.typeName),S.labelName],color:"#FFDD00"},{tag:[S.keyword,S.operator],color:"#FF9D00"},{tag:[S.propertyName,S.typeName],color:"#80FFBB"},{tag:S.special(S.brace),color:"#EDEF7D"},{tag:S.attributeName,color:"#9EFFFF"},{tag:S.derefOperator,color:"#fff"}]});gi({variant:"dark",settings:{background:"#060521",foreground:"#E0E0E0",caret:"#FFFFFFA6",selection:"#122BBB",gutterBackground:"#060521",gutterForeground:"#E0E0E090",lineHighlight:"#FFFFFF0F"},styles:[{tag:S.comment,color:"#AEAEAE"},{tag:[S.string,S.special(S.brace),S.regexp],color:"#8DFF8E"},{tag:[S.className,S.definition(S.propertyName),S.function(S.variableName),S.function(S.definition(S.variableName)),S.definition(S.typeName)],color:"#A3EBFF"},{tag:[S.number,S.bool,S.null],color:"#62E9BD"},{tag:[S.keyword,S.operator],color:"#2BF1DC"},{tag:[S.definitionKeyword,S.modifier],color:"#F8FBB1"},{tag:[S.variableName,S.self],color:"#B683CA"},{tag:[S.angleBracket,S.tagName,S.typeName,S.propertyName],color:"#60A4F1"},{tag:S.derefOperator,color:"#E0E0E0"},{tag:S.attributeName,color:"#7BACCA"}]});gi({variant:"dark",settings:{background:"#2d2f3f",foreground:"#f8f8f2",caret:"#f8f8f0",selection:"#44475a",gutterBackground:"#282a36",gutterForeground:"rgb(144, 145, 148)",lineHighlight:"#44475a"},styles:[{tag:S.comment,color:"#6272a4"},{tag:[S.string,S.special(S.brace)],color:"#f1fa8c"},{tag:[S.number,S.self,S.bool,S.null],color:"#bd93f9"},{tag:[S.keyword,S.operator],color:"#ff79c6"},{tag:[S.definitionKeyword,S.typeName],color:"#8be9fd"},{tag:S.definition(S.typeName),color:"#f8f8f2"},{tag:[S.className,S.definition(S.propertyName),S.function(S.variableName),S.attributeName],color:"#50fa7b"}]});gi({variant:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#000000",selection:"#80C7FF",gutterBackground:"#FFFFFF",gutterForeground:"#00000070",lineHighlight:"#C1E2F8"},styles:[{tag:S.comment,color:"#AAAAAA"},{tag:[S.keyword,S.operator,S.typeName,S.tagName,S.propertyName],color:"#2F6F9F",fontWeight:"bold"},{tag:[S.attributeName,S.definition(S.propertyName)],color:"#4F9FD0"},{tag:[S.className,S.string,S.special(S.brace)],color:"#CF4F5F"},{tag:S.number,color:"#CF4F5F",fontWeight:"bold"},{tag:S.variableName,fontWeight:"bold"}]});gi({variant:"light",settings:{background:"#f2f1f8",foreground:"#0c006b",caret:"#5c49e9",selection:"#d5d1f2",gutterBackground:"#f2f1f8",gutterForeground:"#0c006b70",lineHighlight:"#e1def3"},styles:[{tag:S.comment,color:"#9995b7"},{tag:S.keyword,color:"#ff5792",fontWeight:"bold"},{tag:[S.definitionKeyword,S.modifier],color:"#ff5792"},{tag:[S.className,S.tagName,S.definition(S.typeName)],color:"#0094f0"},{tag:[S.number,S.bool,S.null,S.special(S.brace)],color:"#5842ff"},{tag:[S.definition(S.propertyName),S.function(S.variableName)],color:"#0095a8"},{tag:S.typeName,color:"#b3694d"},{tag:[S.propertyName,S.variableName],color:"#fa8900"},{tag:S.operator,color:"#ff5792"},{tag:S.self,color:"#e64100"},{tag:[S.string,S.regexp],color:"#00b368"},{tag:[S.paren,S.bracket],color:"#0431fa"},{tag:S.labelName,color:"#00bdd6"},{tag:S.attributeName,color:"#e64100"},{tag:S.angleBracket,color:"#9995b7"}]});gi({variant:"light",settings:{background:"#faf4ed",foreground:"#575279",caret:"#575279",selection:"#6e6a8614",gutterBackground:"#faf4ed",gutterForeground:"#57527970",lineHighlight:"#6e6a860d"},styles:[{tag:S.comment,color:"#9893a5"},{tag:[S.bool,S.null],color:"#286983"},{tag:S.number,color:"#d7827e"},{tag:S.className,color:"#d7827e"},{tag:[S.angleBracket,S.tagName,S.typeName],color:"#56949f"},{tag:S.attributeName,color:"#907aa9"},{tag:S.punctuation,color:"#797593"},{tag:[S.keyword,S.modifier],color:"#286983"},{tag:[S.string,S.regexp],color:"#ea9d34"},{tag:S.variableName,color:"#d7827e"}]});gi({variant:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#000000",selection:"#FFFD0054",gutterBackground:"#FFFFFF",gutterForeground:"#00000070",lineHighlight:"#00000008"},styles:[{tag:S.comment,color:"#CFCFCF"},{tag:[S.number,S.bool,S.null],color:"#E66C29"},{tag:[S.className,S.definition(S.propertyName),S.function(S.variableName),S.labelName,S.definition(S.typeName)],color:"#2EB43B"},{tag:S.keyword,color:"#D8B229"},{tag:S.operator,color:"#4EA44E",fontWeight:"bold"},{tag:[S.definitionKeyword,S.modifier],color:"#925A47"},{tag:S.string,color:"#704D3D"},{tag:S.typeName,color:"#2F8996"},{tag:[S.variableName,S.propertyName],color:"#77ACB0"},{tag:S.self,color:"#77ACB0",fontWeight:"bold"},{tag:S.regexp,color:"#E3965E"},{tag:[S.tagName,S.angleBracket],color:"#BAA827"},{tag:S.attributeName,color:"#B06520"},{tag:S.derefOperator,color:"#000"}]});gi({variant:"light",settings:{background:"#fef7e5",foreground:"#586E75",caret:"#000000",selection:"#073642",gutterBackground:"#fef7e5",gutterForeground:"#586E7580",lineHighlight:"#EEE8D5"},styles:[{tag:S.comment,color:"#93A1A1"},{tag:S.string,color:"#2AA198"},{tag:S.regexp,color:"#D30102"},{tag:S.number,color:"#D33682"},{tag:S.variableName,color:"#268BD2"},{tag:[S.keyword,S.operator,S.punctuation],color:"#859900"},{tag:[S.definitionKeyword,S.modifier],color:"#073642",fontWeight:"bold"},{tag:[S.className,S.self,S.definition(S.propertyName)],color:"#268BD2"},{tag:S.function(S.variableName),color:"#268BD2"},{tag:[S.bool,S.null],color:"#B58900"},{tag:S.tagName,color:"#268BD2",fontWeight:"bold"},{tag:S.angleBracket,color:"#93A1A1"},{tag:S.attributeName,color:"#93A1A1"},{tag:S.typeName,color:"#859900"}]});gi({variant:"light",settings:{background:"#FFFFFF",foreground:"#4D4D4C",caret:"#AEAFAD",selection:"#D6D6D6",gutterBackground:"#FFFFFF",gutterForeground:"#4D4D4C80",lineHighlight:"#EFEFEF"},styles:[{tag:S.comment,color:"#8E908C"},{tag:[S.variableName,S.self,S.propertyName,S.attributeName,S.regexp],color:"#C82829"},{tag:[S.number,S.bool,S.null],color:"#F5871F"},{tag:[S.className,S.typeName,S.definition(S.typeName)],color:"#C99E00"},{tag:[S.string,S.special(S.brace)],color:"#718C00"},{tag:S.operator,color:"#3E999F"},{tag:[S.definition(S.propertyName),S.function(S.variableName)],color:"#4271AE"},{tag:S.keyword,color:"#8959A8"},{tag:S.derefOperator,color:"#4D4D4C"}]});const eA=ql({String:S.string,Number:S.number,"True False":S.bool,PropertyName:S.propertyName,Null:S.null,",":S.separator,"[ ]":S.squareBracket,"{ }":S.brace}),tA=vs.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[eA],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),iA=ws.define({name:"json",parser:tA.configure({props:[Il.add({Object:Tl({except:/^\s*\}/}),Array:Tl({except:/^\s*\]/})}),Nl.add({"Object Array":cr})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function nA(){return new ga(iA)}const rA=54,sA=1,lA=55,oA=2,aA=56,fA=3,W0=4,cA=5,Vc=6,mw=7,Sw=8,bw=9,$w=10,uA=11,hA=12,OA=13,cO=57,dA=14,C0=58,yw=20,pA=22,vw=23,gA=24,gd=26,ww=27,mA=28,SA=31,bA=34,$A=36,yA=37,vA=0,wA=1,QA={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},kA={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},T0={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 _A(n){return n==45||n==46||n==58||n>=65&&n<=90||n==95||n>=97&&n<=122||n>=161}function Qw(n){return n==9||n==10||n==13||n==32}let Z0=null,R0=null,X0=0;function md(n,e){let t=n.pos+e;if(X0==t&&R0==n)return Z0;let i=n.peek(e);for(;Qw(i);)i=n.peek(++e);let r="";for(;_A(i);)r+=String.fromCharCode(i),i=n.peek(++e);return R0=n,X0=t,Z0=r?r.toLowerCase():i==PA||i==xA?void 0:null}const kw=60,Dc=62,tp=47,PA=63,xA=33,WA=45;function A0(n,e){this.name=n,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new A0(md(i,1)||"",n):n},reduce(n,e){return e==yw&&n?n.parent:n},reuse(n,e,t,i){let r=e.type.id;return r==Vc||r==$A?new A0(md(i,1)||"",n):n},hash(n){return n?n.hash:0},strict:!1}),ZA=new $r((n,e)=>{if(n.next!=kw){n.next<0&&e.context&&n.acceptToken(cO);return}n.advance();let t=n.next==tp;t&&n.advance();let i=md(n,0);if(i===void 0)return;if(!i)return n.acceptToken(t?dA:Vc);let r=e.context?e.context.name:null;if(t){if(i==r)return n.acceptToken(uA);if(r&&kA[r])return n.acceptToken(cO,-2);if(e.dialectEnabled(vA))return n.acceptToken(hA);for(let s=e.context;s;s=s.parent)if(s.name==i)return;n.acceptToken(OA)}else{if(i=="script")return n.acceptToken(mw);if(i=="style")return n.acceptToken(Sw);if(i=="textarea")return n.acceptToken(bw);if(QA.hasOwnProperty(i))return n.acceptToken($w);r&&T0[r]&&T0[r][i]?n.acceptToken(cO,-1):n.acceptToken(Vc)}},{contextual:!0}),RA=new $r(n=>{for(let e=0,t=0;;t++){if(n.next<0){t&&n.acceptToken(C0);break}if(n.next==WA)e++;else if(n.next==Dc&&e>=2){t>=3&&n.acceptToken(C0,-2);break}else e=0;n.advance()}});function XA(n){for(;n;n=n.parent)if(n.name=="svg"||n.name=="math")return!0;return!1}const AA=new $r((n,e)=>{if(n.next==tp&&n.peek(1)==Dc){let t=e.dialectEnabled(wA)||XA(e.context);n.acceptToken(t?cA:W0,2)}else n.next==Dc&&n.acceptToken(W0,1)});function ip(n,e,t){let i=2+n.length;return new $r(r=>{for(let s=0,l=0,o=0;;o++){if(r.next<0){o&&r.acceptToken(e);break}if(s==0&&r.next==kw||s==1&&r.next==tp||s>=2&&sl?r.acceptToken(e,-l):r.acceptToken(t,-(l-2));break}else if((r.next==10||r.next==13)&&o){r.acceptToken(e,1);break}else s=l=0;r.advance()}})}const YA=ip("script",rA,sA),UA=ip("style",lA,oA),EA=ip("textarea",aA,fA),zA=ql({"Text RawText":S.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":S.angleBracket,TagName:S.tagName,"MismatchedCloseTag/TagName":[S.tagName,S.invalid],AttributeName:S.attributeName,"AttributeValue UnquotedAttributeValue":S.attributeValue,Is:S.definitionOperator,"EntityReference CharacterReference":S.character,Comment:S.blockComment,ProcessingInst:S.processingInstruction,DoctypeDecl:S.documentMeta}),MA=vs.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO,59iO%hQ&rO,59lO%sQ&rO,59nOOOa'#D^'#D^O%{OaO'#CxO&WOaO,59[OOOb'#D_'#D_O&`ObO'#C{O&kObO,59[OOOd'#D`'#D`O&sOdO'#DOO'OOdO,59[OOO`'#Da'#DaO'WO!rO,59[O'_Q#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'dO$fO,59oOOO`,59o,59oO'lQ#|O,59qO'qQ#|O,59rOOO`-E7W-E7WO'vQ&rO'#CsOOQW'#DZ'#DZO(UQ&rO1G.wOOOa1G.w1G.wO(^Q&rO1G/QOOOb1G/Q1G/QO(fQ&rO1G/TOOOd1G/T1G/TO(nQ&rO1G/WOOO`1G/W1G/WOOO`1G/Y1G/YO(yQ&rO1G/YOOOa-E7[-E7[O)RQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)WQ#tO'#C|OOOd-E7^-E7^O)]Q#tO'#DPOOO`-E7_-E7_O)bQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O)gQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rOOO`7+$t7+$tO)rQ#|O,59eO)wQ#|O,59hO)|Q#|O,59kOOO`1G/X1G/XO*RO7[O'#CvO*dOMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O*uO7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+WOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:"+s~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:TA,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"]],propSources:[zA],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let c=o.type.id;if(c==mA)return uO(o,a,t);if(c==SA)return uO(o,a,i);if(c==bA)return uO(o,a,r);if(c==yw&&s.length){let h=o.node,O=h.firstChild,p=O&&Y0(O,a),g;if(p){for(let b of s)if(b.tag==p&&(!b.attrs||b.attrs(g||(g=_w(h,a))))){let y=h.lastChild,$=y.type.id==yA?y.from:h.to;if($>O.to)return{parser:b.parser,overlay:[{from:O.to,to:$}]}}}}if(l&&c==vw){let h=o.node,O;if(O=h.firstChild){let p=l[a.read(O.from,O.to)];if(p)for(let g of p){if(g.tagName&&g.tagName!=Y0(h.parent,a))continue;let b=h.lastChild;if(b.type.id==gd){let y=b.from+1,$=b.lastChild,k=b.to-($&&$.isError?0:1);if(k>y)return{parser:g.parser,overlay:[{from:y,to:k}]}}else if(b.type.id==ww)return{parser:g.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const VA=96,U0=1,DA=97,qA=98,E0=2,xw=[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],IA=58,NA=40,Ww=95,LA=91,uc=45,BA=46,jA=35,FA=37,GA=38,HA=92,KA=10;function qc(n){return n>=65&&n<=90||n>=97&&n<=122||n>=161}function JA(n){return n>=48&&n<=57}const eY=new $r((n,e)=>{for(let t=!1,i=0,r=0;;r++){let{next:s}=n;if(qc(s)||s==uc||s==Ww||t&&JA(s))!t&&(s!=uc||r>0)&&(t=!0),i===r&&s==uc&&i++,n.advance();else if(s==HA&&n.peek(1)!=KA)n.advance(),n.next>-1&&n.advance(),t=!0;else{t&&n.acceptToken(s==NA?DA:i==2&&e.canShift(E0)?E0:qA);break}}}),tY=new $r(n=>{if(xw.includes(n.peek(-1))){let{next:e}=n;(qc(e)||e==Ww||e==jA||e==BA||e==LA||e==IA||e==uc||e==GA)&&n.acceptToken(VA)}}),iY=new $r(n=>{if(!xw.includes(n.peek(-1))){let{next:e}=n;if(e==FA&&(n.advance(),n.acceptToken(U0)),qc(e)){do n.advance();while(qc(n.next));n.acceptToken(U0)}}}),nY=ql({"AtKeyword import charset namespace keyframes media supports":S.definitionKeyword,"from to selector":S.keyword,NamespaceName:S.namespace,KeyframeName:S.labelName,KeyframeRangeName:S.operatorKeyword,TagName:S.tagName,ClassName:S.className,PseudoClassName:S.constant(S.className),IdName:S.labelName,"FeatureName PropertyName":S.propertyName,AttributeName:S.attributeName,NumberLiteral:S.number,KeywordQuery:S.keyword,UnaryQueryOp:S.operatorKeyword,"CallTag ValueName":S.atom,VariableName:S.variableName,Callee:S.operatorKeyword,Unit:S.unit,"UniversalSelector NestingSelector":S.definitionOperator,MatchOp:S.compareOperator,"ChildOp SiblingOp, LogicOp":S.logicOperator,BinOp:S.arithmeticOperator,Important:S.modifier,Comment:S.blockComment,ColorLiteral:S.color,"ParenthesizedContent StringLiteral":S.string,":":S.punctuation,"PseudoOp #":S.derefOperator,"; ,":S.separator,"( )":S.paren,"[ ]":S.squareBracket,"{ }":S.brace}),rY={__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},sY={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},lY={__proto__:null,not:128,only:128},oY=vs.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#EjO${QdO'#DeO%gQ[O'#DrO${QdO'#DtO%xQ[O'#DvO&TQ[O'#DyO&]Q[O'#EPO&kQ[O'#EROOQS'#Ei'#EiOOQS'#EU'#EUQYQ[OOO&rQXO'#CdO'gQWO'#DaO'lQWO'#EpO'wQ[O'#EpQOQWOOP(RO#tO'#C_POOO)C@X)C@XOOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(^Q[O'#EXO(xQWO,58{O)QQ[O,59SO$qQ[O,59kO$vQ[O,59oO(^Q[O,59sO(^Q[O,59uO(^Q[O,59vO)]Q[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)dQWO,59SO)iQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)nQ`O,59oOOQS'#Cp'#CpO${QdO'#CqO)vQvO'#CsO+TQtO,5:POOQO'#Cx'#CxO)iQWO'#CwO+iQWO'#CyOOQS'#Em'#EmOOQO'#Dh'#DhO+nQ[O'#DoO+|QWO'#EqO&]Q[O'#DmO,[QWO'#DpOOQO'#Er'#ErO({QWO,5:^O,aQpO,5:`OOQS'#Dx'#DxO,iQWO,5:bO,nQ[O,5:bOOQO'#D{'#D{O,vQWO,5:eO,{QWO,5:kO-TQWO,5:mOOQS-E8S-E8SO${QdO,59{O-]Q[O'#EZO-jQWO,5;[O-jQWO,5;[POOO'#ET'#ETP-uO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.lQXO,5:sOOQO-E8V-E8VOOQS1G.g1G.gOOQP1G.n1G.nO)dQWO1G.nO)iQWO1G.nOOQP1G/V1G/VO.yQ`O1G/ZO/dQXO1G/_O/zQXO1G/aO0bQXO1G/bO0xQWO,59zO0}Q[O'#DOO1UQdO'#CoOOQP1G/Z1G/ZO${QdO1G/ZO1]QpO,59]OOQS,59_,59_O${QdO,59aO1eQWO1G/kOOQS,59c,59cO1jQ!bO,59eO1rQWO'#DhO1}QWO,5:TO2SQWO,5:ZO&]Q[O,5:VO&]Q[O'#E[O2[QWO,5;]O2gQWO,5:XO(^Q[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2xQWO1G/|O2}QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO3YQtO1G/gOOQO,5:u,5:uO3pQ[O,5:uOOQO-E8X-E8XO3}QWO1G0vPOOO-E8R-E8RPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$u7+$uO${QdO7+$uOOQS1G/f1G/fO4YQXO'#EoO4aQWO,59jO4fQtO'#EVO5ZQdO'#ElO5eQWO,59ZO5jQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5rQWO1G/PO${QdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5wQWO,5:vOOQO-E8Y-E8YO6VQXO1G/vOOQS7+%h7+%hO6^QYO'#CsOOQO'#EO'#EOO6iQ`O'#D}OOQO'#D}'#D}O6tQWO'#E]O6|QdO,5:hOOQS,5:h,5:hO7XQtO'#EYO${QdO'#EYO8VQdO7+%ROOQO7+%R7+%ROOQO1G0a1G0aO8jQpO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#b[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSp^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#_QOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#X~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!W^Oy%^z;'S%^;'S;=`%o<%lO%^dCoSzSOy%^z;'S%^;'S;=`%o<%lO%^bDQU|QOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS|Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[tY,iY,eY,1,2,3,4,new _c("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:n=>rY[n]||-1},{term:56,get:n=>sY[n]||-1},{term:98,get:n=>lY[n]||-1}],tokenPrec:1169});let hO=null;function OO(){if(!hO&&typeof document=="object"&&document.body){let{style:n}=document.body,e=[],t=new Set;for(let i in n)i!="cssText"&&i!="cssFloat"&&typeof n[i]=="string"&&(/[A-Z]/.test(i)&&(i=i.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),t.has(i)||(e.push(i),t.add(i)));hO=e.sort().map(i=>({type:"property",label:i}))}return hO||[]}const z0=["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(n=>({type:"class",label:n})),M0=["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(n=>({type:"keyword",label:n})).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(n=>({type:"constant",label:n}))),aY=["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(n=>({type:"type",label:n})),ls=/^(\w[\w-]*|-\w[\w-]*|)$/,fY=/^-(-[\w-]*)?$/;function cY(n,e){var t;if((n.name=="("||n.type.isError)&&(n=n.parent||n),n.name!="ArgList")return!1;let i=(t=n.parent)===null||t===void 0?void 0:t.firstChild;return(i==null?void 0:i.name)!="Callee"?!1:e.sliceString(i.from,i.to)=="var"}const V0=new Vy,uY=["Declaration"];function hY(n){for(let e=n;;){if(e.type.isTop)return e;if(!(e=e.parent))return n}}function Cw(n,e,t){if(e.to-e.from>4096){let i=V0.get(e);if(i)return i;let r=[],s=new Set,l=e.cursor(Zt.IncludeAnonymous);if(l.firstChild())do for(let o of Cw(n,l.node,t))s.has(o.label)||(s.add(o.label),r.push(o));while(l.nextSibling());return V0.set(e,r),r}else{let i=[],r=new Set;return e.cursor().iterate(s=>{var l;if(t(s)&&s.matchContext(uY)&&((l=s.node.nextSibling)===null||l===void 0?void 0:l.name)==":"){let o=n.sliceString(s.from,s.to);r.has(o)||(r.add(o),i.push({label:o,type:"variable"}))}}),i}}const OY=n=>e=>{let{state:t,pos:i}=e,r=Ft(t).resolveInner(i,-1),s=r.type.isError&&r.from==r.to-1&&t.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:OO(),validFor:ls};if(r.name=="ValueName")return{from:r.from,options:M0,validFor:ls};if(r.name=="PseudoClassName")return{from:r.from,options:z0,validFor:ls};if(n(r)||(e.explicit||s)&&cY(r,t.doc))return{from:n(r)||s?r.from:i,options:Cw(t.doc,hY(r),n),validFor:fY};if(r.name=="TagName"){for(let{parent:a}=r;a;a=a.parent)if(a.name=="Block")return{from:r.from,options:OO(),validFor:ls};return{from:r.from,options:aY,validFor:ls}}if(!e.explicit)return null;let l=r.resolve(i),o=l.childBefore(i);return o&&o.name==":"&&l.name=="PseudoClassSelector"?{from:i,options:z0,validFor:ls}:o&&o.name==":"&&l.name=="Declaration"||l.name=="ArgList"?{from:i,options:M0,validFor:ls}:l.name=="Block"||l.name=="Styles"?{from:i,options:OO(),validFor:ls}:null},dY=OY(n=>n.name=="VariableName"),Ic=ws.define({name:"css",parser:oY.configure({props:[Il.add({Declaration:Tl()}),Nl.add({"Block KeyframeList":cr})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function pY(){return new ga(Ic,Ic.data.of({autocomplete:dY}))}const gY=304,D0=1,mY=2,SY=305,bY=307,$Y=308,yY=3,vY=4,wY=[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],Tw=125,QY=59,q0=47,kY=42,_Y=43,PY=45,xY=new Iy({start:!1,shift(n,e){return e==yY||e==vY||e==bY?n:e==$Y},strict:!1}),WY=new $r((n,e)=>{let{next:t}=n;(t==Tw||t==-1||e.context)&&n.acceptToken(SY)},{contextual:!0,fallback:!0}),CY=new $r((n,e)=>{let{next:t}=n,i;wY.indexOf(t)>-1||t==q0&&((i=n.peek(1))==q0||i==kY)||t!=Tw&&t!=QY&&t!=-1&&!e.context&&n.acceptToken(gY)},{contextual:!0}),TY=new $r((n,e)=>{let{next:t}=n;if((t==_Y||t==PY)&&(n.advance(),t==n.next)){n.advance();let i=!e.context&&e.canShift(D0);n.acceptToken(i?D0:mY)}},{contextual:!0}),ZY=ql({"get set async static":S.modifier,"for while do if else switch try catch finally return throw break continue default case":S.controlKeyword,"in of await yield void typeof delete instanceof":S.operatorKeyword,"let var const using function class extends":S.definitionKeyword,"import export from":S.moduleKeyword,"with debugger as new":S.keyword,TemplateString:S.special(S.string),super:S.atom,BooleanLiteral:S.bool,this:S.self,null:S.null,Star:S.modifier,VariableName:S.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":S.function(S.variableName),VariableDefinition:S.definition(S.variableName),Label:S.labelName,PropertyName:S.propertyName,PrivatePropertyName:S.special(S.propertyName),"CallExpression/MemberExpression/PropertyName":S.function(S.propertyName),"FunctionDeclaration/VariableDefinition":S.function(S.definition(S.variableName)),"ClassDeclaration/VariableDefinition":S.definition(S.className),PropertyDefinition:S.definition(S.propertyName),PrivatePropertyDefinition:S.definition(S.special(S.propertyName)),UpdateOp:S.updateOperator,"LineComment Hashbang":S.lineComment,BlockComment:S.blockComment,Number:S.number,String:S.string,Escape:S.escape,ArithOp:S.arithmeticOperator,LogicOp:S.logicOperator,BitOp:S.bitwiseOperator,CompareOp:S.compareOperator,RegExp:S.regexp,Equals:S.definitionOperator,Arrow:S.function(S.punctuation),": Spread":S.punctuation,"( )":S.paren,"[ ]":S.squareBracket,"{ }":S.brace,"InterpolationStart InterpolationEnd":S.special(S.brace),".":S.derefOperator,", ;":S.separator,"@":S.meta,TypeName:S.typeName,TypeDefinition:S.definition(S.typeName),"type enum interface implements namespace module declare":S.definitionKeyword,"abstract global Privacy readonly override":S.modifier,"is keyof unique infer":S.operatorKeyword,JSXAttributeValue:S.attributeValue,JSXText:S.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":S.angleBracket,"JSXIdentifier JSXNameSpacedName":S.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":S.attributeName,"JSXBuiltin/JSXIdentifier":S.standard(S.tagName)}),RY={__proto__:null,export:16,as:21,from:29,default:32,async:37,function:38,extends:48,this:52,true:60,false:60,null:72,void:76,typeof:80,super:98,new:132,delete:148,yield:157,await:161,class:166,public:223,private:223,protected:223,readonly:225,instanceof:244,satisfies:247,in:248,const:250,import:282,keyof:337,unique:341,infer:347,is:383,abstract:403,implements:405,type:407,let:410,var:412,using:415,interface:421,enum:425,namespace:431,module:433,declare:437,global:441,for:460,of:469,while:472,with:476,do:480,if:484,else:486,switch:490,case:496,try:502,catch:506,finally:510,return:514,throw:518,break:522,continue:526,debugger:530},XY={__proto__:null,async:119,get:121,set:123,declare:183,public:185,private:185,protected:185,static:187,abstract:189,override:191,readonly:197,accessor:199,new:387},AY={__proto__:null,"<":139},YY=vs.deserialize({version:14,states:"$6zO%TQUOOO%[QUOOO'_QWOOP(lOSOOO*zQ(CjO'#CgO+ROpO'#ChO+aO!bO'#ChO+oO07`O'#D[O.QQUO'#DbO.bQUO'#DmO%[QUO'#DwO0fQUO'#EPOOQ(CY'#EX'#EXO1PQSO'#EUOOQO'#Ej'#EjOOQO'#Id'#IdO1XQSO'#GlO1dQSO'#EiO1iQSO'#EiO3kQ(CjO'#JeO6[Q(CjO'#JfO6xQSO'#FXO6}Q#tO'#FpOOQ(CY'#Fa'#FaO7YO&jO'#FaO7hQ,UO'#FwO9OQSO'#FvOOQ(CY'#Jf'#JfOOQ(CW'#Je'#JeO9TQSO'#GpOOQQ'#KQ'#KQO9`QSO'#IQO9eQ(C[O'#IROOQQ'#JR'#JROOQQ'#IV'#IVQ`QUOOO`QUOOO%[QUO'#DoO9mQUO'#D{O9tQUO'#D}O9ZQSO'#GlO9{Q,UO'#CmO:ZQSO'#EhO:fQSO'#EsO:kQ,UO'#F`O;YQSO'#GlOOQO'#KR'#KRO;_QSO'#KRO;mQSO'#GtO;mQSO'#GuO;mQSO'#GwO9ZQSO'#GzO]QSO'#HZO>eQSO'#HaO>eQSO'#HcO`QUO'#HeO>eQSO'#HgO>eQSO'#HjO>jQSO'#HpO>oQ(C]O'#HvO%[QUO'#HxO>zQ(C]O'#HzO?VQ(C]O'#H|O9eQ(C[O'#IOO?bQ(CjO'#CgO@dQWO'#DgQOQSOOO%[QUO'#D}O@zQSO'#EQO9{Q,UO'#EhOAVQSO'#EhOAbQ`O'#F`OOQQ'#Ce'#CeOOQ(CW'#Dl'#DlOOQ(CW'#Ji'#JiO%[QUO'#JiOOQO'#Jm'#JmOOQO'#Ia'#IaOBbQWO'#EaOOQ(CW'#E`'#E`OC^Q(C`O'#EaOChQWO'#ETOOQO'#Jl'#JlOC|QWO'#JmOEZQWO'#ETOChQWO'#EaPEhO?MpO'#C`POOO)CDp)CDpOOOO'#IW'#IWOEsOpO,59SOOQ(CY,59S,59SOOOO'#IX'#IXOFRO!bO,59SO%[QUO'#D^OOOO'#IZ'#IZOFaO07`O,59vOOQ(CY,59v,59vOFoQUO'#I[OGSQSO'#JgOIUQbO'#JgO+}QUO'#JgOI]QSO,59|OIsQSO'#EjOJQQSO'#JuOJ]QSO'#JtOJ]QSO'#JtOJeQSO,5;WOJjQSO'#JsOOQ(CY,5:X,5:XOJqQUO,5:XOLrQ(CjO,5:cOMcQSO,5:kOM|Q(C[O'#JrONTQSO'#JqO9TQSO'#JqONiQSO'#JqONqQSO,5;VONvQSO'#JqO!#OQbO'#JfOOQ(CY'#Cg'#CgO%[QUO'#EPO!#nQ`O,5:pOOQO'#Jn'#JnOOQO-ElOOQQ'#JZ'#JZOOQQ,5>m,5>mOOQQ-ExQ(CjO,5:iOOQO,5@m,5@mO!?iQ,UO,5=WO!?wQ(C[O'#J[O9OQSO'#J[O!@YQ(C[O,59XO!@eQWO,59XO!@mQ,UO,59XO9{Q,UO,59XO!@xQSO,5;TO!AQQSO'#HYO!AfQSO'#KVO%[QUO,5;xO!7cQWO,5;zO!AnQSO,5=sO!AsQSO,5=sO!AxQSO,5=sO9eQ(C[O,5=sO;mQSO,5=cOOQO'#Cs'#CsO!BWQWO,5=`O!B`Q,UO,5=aO!BkQSO,5=cO!BpQ`O,5=fO!BxQSO'#KRO>jQSO'#HPO9ZQSO'#HRO!B}QSO'#HRO9{Q,UO'#HTO!CSQSO'#HTOOQQ,5=i,5=iO!CXQSO'#HUO!CjQSO'#CmO!CoQSO,58}O!CyQSO,58}O!FOQUO,58}OOQQ,58},58}O!F`Q(C[O,58}O%[QUO,58}O!HkQUO'#H]OOQQ'#H^'#H^OOQQ'#H_'#H_O`QUO,5=uO!IRQSO,5=uO`QUO,5={O`QUO,5=}O!IWQSO,5>PO`QUO,5>RO!I]QSO,5>UO!IbQUO,5>[OOQQ,5>b,5>bO%[QUO,5>bO9eQ(C[O,5>dOOQQ,5>f,5>fO!MlQSO,5>fOOQQ,5>h,5>hO!MlQSO,5>hOOQQ,5>j,5>jO!MqQWO'#DYO%[QUO'#JiO!N`QWO'#JiO!N}QWO'#DhO# `QWO'#DhO##qQUO'#DhO##xQSO'#JhO#$QQSO,5:RO#$VQSO'#EnO#$eQSO'#JvO#$mQSO,5;XO#$rQWO'#DhO#%PQWO'#ESOOQ(CY,5:l,5:lO%[QUO,5:lO#%WQSO,5:lO>jQSO,5;SO!@eQWO,5;SO!@mQ,UO,5;SO9{Q,UO,5;SO#%`QSO,5@TO#%eQ!LQO,5:pOOQO-E<_-E<_O#&kQ(C`O,5:{OChQWO,5:oO#&uQWO,5:oOChQWO,5:{O!@YQ(C[O,5:oOOQ(CW'#Ed'#EdOOQO,5:{,5:{O%[QUO,5:{O#'SQ(C[O,5:{O#'_Q(C[O,5:{O!@eQWO,5:oOOQO,5;R,5;RO#'mQ(C[O,5:{POOO'#IU'#IUP#(RO?MpO,58zPOOO,58z,58zOOOO-EvO+}QUO,5>vOOQO,5>|,5>|O#(mQUO'#I[OOQO-EWQ(CjO1G0yO#>_Q(CjO1G0yO#@VQ(CjO1G0yO#CVQ$IUO'#CgO#ETQ$IUO1G1[O#E[Q$IUO'#JfO!,YQSO1G1bO#ElQ(CjO,5?SOOQ(CW-EeQSO1G3kO$.fQUO1G3mO$2jQUO'#HlOOQQ1G3p1G3pO$2wQSO'#HrO>jQSO'#HtOOQQ1G3v1G3vO$3PQUO1G3vO9eQ(C[O1G3|OOQQ1G4O1G4OOOQ(CW'#GX'#GXO9eQ(C[O1G4QO9eQ(C[O1G4SO$7WQSO,5@TO!*SQUO,5;YO9TQSO,5;YO>jQSO,5:SO!*SQUO,5:SO!@eQWO,5:SO$7]Q$IUO,5:SOOQO,5;Y,5;YO$7gQWO'#I]O$7}QSO,5@SOOQ(CY1G/m1G/mO$8VQWO'#IcO$8aQSO,5@bOOQ(CW1G0s1G0sO# `QWO,5:SOOQO'#I`'#I`O$8iQWO,5:nOOQ(CY,5:n,5:nO#%ZQSO1G0WOOQ(CY1G0W1G0WO%[QUO1G0WOOQ(CY1G0n1G0nO>jQSO1G0nO!@eQWO1G0nO!@mQ,UO1G0nOOQ(CW1G5o1G5oO!@YQ(C[O1G0ZOOQO1G0g1G0gO%[QUO1G0gO$8pQ(C[O1G0gO$8{Q(C[O1G0gO!@eQWO1G0ZOChQWO1G0ZO$9ZQ(C[O1G0gOOQO1G0Z1G0ZO$9oQ(CjO1G0gPOOO-EvO$:]QSO1G5mO$:eQSO1G5zO$:mQbO1G5{O9TQSO,5>|O$:wQ(CjO1G5xO%[QUO1G5xO$;XQ(C[O1G5xO$;jQSO1G5wO$;jQSO1G5wO9TQSO1G5wO$;rQSO,5?PO9TQSO,5?POOQO,5?P,5?PO$WOOQQ,5>W,5>WO%[QUO'#HmO%(vQSO'#HoOOQQ,5>^,5>^O9TQSO,5>^OOQQ,5>`,5>`OOQQ7+)b7+)bOOQQ7+)h7+)hOOQQ7+)l7+)lOOQQ7+)n7+)nO%({QWO1G5oO%)aQ$IUO1G0tO%)kQSO1G0tOOQO1G/n1G/nO%)vQ$IUO1G/nO>jQSO1G/nO!*SQUO'#DhOOQO,5>w,5>wOOQO-E},5>}OOQO-EjQSO7+&YO!@eQWO7+&YOOQO7+%u7+%uO$9oQ(CjO7+&ROOQO7+&R7+&RO%[QUO7+&RO%*QQ(C[O7+&RO!@YQ(C[O7+%uO!@eQWO7+%uO%*]Q(C[O7+&RO%*kQ(CjO7++dO%[QUO7++dO%*{QSO7++cO%*{QSO7++cOOQO1G4k1G4kO9TQSO1G4kO%+TQSO1G4kOOQO7+%z7+%zO#%ZQSO<xOOQO-E<[-E<[O%2yQbO,5>yO%[QUO,5>yOOQO-E<]-E<]O%3TQSO1G5qOOQ(CY<tQ$IUO1G0yO%>{Q$IUO1G0yO%@sQ$IUO1G0yO%AWQ(CjO<XOOQQ,5>Z,5>ZO& PQSO1G3xO9TQSO7+&`O!*SQUO7+&`OOQO7+%Y7+%YO& UQ$IUO1G5{O>jQSO7+%YOOQ(CY<jQSO<jQSO7+)dO&6mQSO<{AN>{O%[QUOAN?XOOQO<PQSO7+*ZO&>[QSO<= ZO&>dQ`O7+*]OOQ(CW<nQ`O<uQSO<= dOOQQG27kG27kO9eQ(C[OG27kO!*SQUO1G4vO&>}QSO7++uO%MbQSOANAyOOQQANAyANAyO!&^Q,UOANAyO&?VQSOANAyOOQQANA{ANA{O9eQ(C[OANA{O#NWQSOANA{OOQO'#HW'#HWOOQO7+*e7+*eOOQQG22uG22uOOQQANEPANEPOOQQANEQANEQOOQQANBTANBTO&?_QSOANBTOOQQ<fOPZXYZXlZXzZX{ZX}ZX!fZX!gZX!iZX!mZX#YZX#edX#hZX#iZX#jZX#kZX#lZX#mZX#nZX#oZX#pZX#rZX#tZX#vZX#wZX#|ZX(TZX(dZX(kZX(lZX!WZX!XZX~O#zZX~P#APOP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO#t:RO#v:TO#w:UO(TVO(d$ZO(k#|O(l#}O~O#z.iO~P#C^O#Y:ZO#|:ZO#z(YX!X(YX~P! UO_'[a!W'[a'm'[a'k'[a!h'[a!T'[ap'[a!Y'[a%b'[a!b'[a~P!7zOP#giY#gi_#gil#gi{#gi!W#gi!f#gi!g#gi!i#gi!m#gi#h#gi#i#gi#j#gi#k#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi'm#gi(T#gi(d#gi'k#gi!T#gi!h#gip#gi!Y#gi%b#gi!b#gi~P#,sO_#{i!W#{i'm#{i'k#{i!T#{i!h#{ip#{i!Y#{i%b#{i!b#{i~P!7zO$X.nO$Z.nO~O$X.oO$Z.oO~O!b)_O#Y.pO!Y$_X$U$_X$X$_X$Z$_X$b$_X~O!V.qO~O!Y)bO$U.sO$X)aO$Z)aO$b.tO~O!W:VO!X(XX~P#C^O!X.uO~O!b)_O$b(mX~O$b.wO~Or)qO(U)rO(V.zO~O!T/OO~P!&^O!WdX!bdX!hdX!h$tX(ddX~P!/bO!h/UO~P#,sO!W/VO!b#uO(d'gO!h(qX~O!h/[O~O!V*SO'v%`O!h(qP~O#e/^O~O!T$tX!W$tX!b${X~P!/bO!W/_O!T(rX~P#,sO!b/aO~O!T/cO~Ol/gO!b#uO!i%^O(P%RO(d'gO~O'v/iO~O!b+YO~O_%gO!W/mO'm%gO~O!X/oO~P!3`O!^/pO!_/pO'w!lO(W!mO~O}/rO(W!mO~O#U/sO~O'v&QOe'aX!W'aX~O!W*lOe(Qa~Oe/xO~Oz/yO{/yO}/zOhwa(kwa(lwa!Wwa#Ywa~Oewa#zwa~P$ tOz)vO})wOh$ma(k$ma(l$ma!W$ma#Y$ma~Oe$ma#z$ma~P$!jOz)vO})wOh$oa(k$oa(l$oa!W$oa#Y$oa~Oe$oa#z$oa~P$#]O#e/|O~Oe$}a!W$}a#Y$}a#z$}a~P!0kO!b#uO~O#e0PO~O!W*}O_(va'm(va~Oz#yO{#zO}#{O!g#wO!i#xO(TVOP!oiY!oil!oi!W!oi!f!oi!m!oi#h!oi#i!oi#j!oi#k!oi#l!oi#m!oi#n!oi#o!oi#p!oi#r!oi#t!oi#v!oi#w!oi(d!oi(k!oi(l!oi~O_!oi'm!oi'k!oi!T!oi!h!oip!oi!Y!oi%b!oi!b!oi~P$$zOh.UO!Y'VO%b.TO~Oj0ZO'v0YO~P!1]O!b+YO_(Oa!Y(Oa'm(Oa!W(Oa~O#e0aO~OYZX!WdX!XdX~O!W0bO!X(zX~O!X0dO~OY0eO~O`0gO'v+bO'xTO'{UO~O!Y%wO'v%`O^'iX!W'iX~O!W+gO^(ya~O!h0jO~P!7zOY0mO~O^0nO~O#Y0qO~Oh0tO!Y$|O~O(W(tO!X(wP~Oh0}O!Y0zO%b0|O(P%RO~OY1XO!W1VO!X(xX~O!X1YO~O^1[O_%gO'm%gO~O'v#mO'xTO'{UO~O#Y$eO#|$eOP(YXY(YXl(YXz(YX{(YX}(YX!W(YX!f(YX!i(YX!m(YX#h(YX#i(YX#j(YX#k(YX#l(YX#m(YX#n(YX#o(YX#r(YX#t(YX#v(YX#w(YX(T(YX(d(YX(k(YX(l(YX~O#p1_O&S1`O_(YX!g(YX~P$+sO#Y$eO#p1_O&S1`O~O_1bO~P%[O_1dO~O&]1gOP&ZiQ&ZiW&Zi_&Zib&Zic&Zij&Zil&Zim&Zin&Zit&Ziv&Zix&Zi}&Zi!R&Zi!S&Zi!Y&Zi!d&Zi!i&Zi!l&Zi!m&Zi!n&Zi!p&Zi!r&Zi!u&Zi!y&Zi#q&Zi$R&Zi$V&Zi%a&Zi%c&Zi%e&Zi%f&Zi%g&Zi%j&Zi%l&Zi%o&Zi%p&Zi%r&Zi&O&Zi&U&Zi&W&Zi&Y&Zi&[&Zi&_&Zi&e&Zi&k&Zi&m&Zi&o&Zi&q&Zi&s&Zi'k&Zi'v&Zi'x&Zi'{&Zi(T&Zi(c&Zi(p&Zi!X&Zi`&Zi&b&Zi~O`1mO!X1kO&b1lO~P`O!YXO!i1oO~O&i,jOP&diQ&diW&di_&dib&dic&dij&dil&dim&din&dit&div&dix&di}&di!R&di!S&di!Y&di!d&di!i&di!l&di!m&di!n&di!p&di!r&di!u&di!y&di#q&di$R&di$V&di%a&di%c&di%e&di%f&di%g&di%j&di%l&di%o&di%p&di%r&di&O&di&U&di&W&di&Y&di&[&di&_&di&e&di&k&di&m&di&o&di&q&di&s&di'k&di'v&di'x&di'{&di(T&di(c&di(p&di!X&di&]&di`&di&b&di~O!T1uO~O!W![a!X![a~P#C^Om!nO}!oO!V1{O(W!mO!W'PX!X'PX~P@OO!W,zO!X([a~O!W'VX!X'VX~P!7SO!W,}O!X(ja~O!X2SO~P'_O_%gO#Y2]O'm%gO~O_%gO!b#uO#Y2]O'm%gO~O_%gO!b#uO!m2aO#Y2]O'm%gO(d'gO~O_%gO'm%gO~P!7zO!W$aOp$la~O!T'Oi!W'Oi~P!7zO!W'{O!T(Zi~O!W(SO!T(hi~O!T(ii!W(ii~P!7zO!W(fi!h(fi_(fi'm(fi~P!7zO#Y2cO!W(fi!h(fi_(fi'm(fi~O!W(`O!h(ei~O}%aO!Y%bO!y]O#c2hO#d2gO'v%`O~O}%aO!Y%bO#d2gO'v%`O~Oh2oO!Y'VO%b2nO~Oh2oO!Y'VO%b2nO(P%RO~O#ewaPwaYwa_walwa!fwa!gwa!iwa!mwa#hwa#iwa#jwa#kwa#lwa#mwa#nwa#owa#pwa#rwa#twa#vwa#wwa'mwa(Twa(dwa!hwa!Twa'kwapwa!Ywa%bwa!bwa~P$ tO#e$maP$maY$ma_$mal$ma{$ma!f$ma!g$ma!i$ma!m$ma#h$ma#i$ma#j$ma#k$ma#l$ma#m$ma#n$ma#o$ma#p$ma#r$ma#t$ma#v$ma#w$ma'm$ma(T$ma(d$ma!h$ma!T$ma'k$map$ma!Y$ma%b$ma!b$ma~P$!jO#e$oaP$oaY$oa_$oal$oa{$oa!f$oa!g$oa!i$oa!m$oa#h$oa#i$oa#j$oa#k$oa#l$oa#m$oa#n$oa#o$oa#p$oa#r$oa#t$oa#v$oa#w$oa'm$oa(T$oa(d$oa!h$oa!T$oa'k$oap$oa!Y$oa%b$oa!b$oa~P$#]O#e$}aP$}aY$}a_$}al$}a{$}a!W$}a!f$}a!g$}a!i$}a!m$}a#h$}a#i$}a#j$}a#k$}a#l$}a#m$}a#n$}a#o$}a#p$}a#r$}a#t$}a#v$}a#w$}a'm$}a(T$}a(d$}a!h$}a!T$}a'k$}a#Y$}ap$}a!Y$}a%b$}a!b$}a~P#,sO_#]q!W#]q'm#]q'k#]q!T#]q!h#]qp#]q!Y#]q%b#]q!b#]q~P!7zOe'QX!W'QX~P!'vO!W._Oe(^a~O!V2wO!W'RX!h'RX~P%[O!W.bO!h(_a~O!W.bO!h(_a~P!7zO!T2zO~O#z!ka!X!ka~PJxO#z!ca!W!ca!X!ca~P#C^O#z!oa!X!oa~P!:eO#z!qa!X!qa~P!=OO!Y3^O$VfO$`3_O~O!X3cO~Op3dO~P#,sO_$iq!W$iq'm$iq'k$iq!T$iq!h$iqp$iq!Y$iq%b$iq!b$iq~P!7zO!T3eO~P#,sOz)vO})wO(l){Oh%Yi(k%Yi!W%Yi#Y%Yi~Oe%Yi#z%Yi~P$J]Oz)vO})wOh%[i(k%[i(l%[i!W%[i#Y%[i~Oe%[i#z%[i~P$KOO(d$ZO~P#,sO!V3hO'v%`O!W']X!h']X~O!W/VO!h(qa~O!W/VO!b#uO!h(qa~O!W/VO!b#uO(d'gO!h(qa~Oe$vi!W$vi#Y$vi#z$vi~P!0kO!V3pO'v*XO!T'_X!W'_X~P!1YO!W/_O!T(ra~O!W/_O!T(ra~P#,sO!b#uO#p3xO~Ol3{O!b#uO(d'gO~Oe(Ri!W(Ri~P!0kO#Y4OOe(Ri!W(Ri~P!0kO!h4RO~O_$jq!W$jq'm$jq'k$jq!T$jq!h$jqp$jq!Y$jq%b$jq!b$jq~P!7zO!T4VO~O!W4WO!Y(sX~P#,sO!g#wO~P4XO_$tX!Y$tX%VZX'm$tX!W$tX~P!/bO%V4YO_iXhiXziX}iX!YiX'miX(kiX(liX!WiX~O%V4YO~O`4`O%c4aO'v+bO'xTO'{UO!W'hX!X'hX~O!W0bO!X(za~OY4eO~O^4fO~O_%gO'm%gO~P#,sO!Y$|O~P#,sO!W4nO#Y4pO!X(wX~O!X4qO~Om!nO}4rO!]!xO!^!uO!_!uO!y9rO!}!pO#O!pO#P!pO#Q!pO#R!pO#U4wO#V!yO'w!lO'xTO'{UO(W!mO(c!sO~O!X4vO~P%%QOh4|O!Y0zO%b4{O~Oh4|O!Y0zO%b4{O(P%RO~O`5TO'v#mO'xTO'{UO!W'gX!X'gX~O!W1VO!X(xa~O'xTO'{UO(W5VO~O^5ZO~O#p5^O&S5_O~PMhO!h5`O~P%[O_5bO~O_5bO~P%[O`1mO!X5gO&b1lO~P`O!b5iO~O!b5kO!W(]i!X(]i!b(]i!i(]i(P(]i~O!W#bi!X#bi~P#C^O#Y5lO!W#bi!X#bi~O!W![i!X![i~P#C^O_%gO#Y5uO'm%gO~O_%gO!b#uO#Y5uO'm%gO~O!W(fq!h(fq_(fq'm(fq~P!7zO!W(`O!h(eq~O}%aO!Y%bO#d5|O'v%`O~O!Y'VO%b6PO~Oh6SO!Y'VO%b6PO~O#e%YiP%YiY%Yi_%Yil%Yi{%Yi!f%Yi!g%Yi!i%Yi!m%Yi#h%Yi#i%Yi#j%Yi#k%Yi#l%Yi#m%Yi#n%Yi#o%Yi#p%Yi#r%Yi#t%Yi#v%Yi#w%Yi'm%Yi(T%Yi(d%Yi!h%Yi!T%Yi'k%Yip%Yi!Y%Yi%b%Yi!b%Yi~P$J]O#e%[iP%[iY%[i_%[il%[i{%[i!f%[i!g%[i!i%[i!m%[i#h%[i#i%[i#j%[i#k%[i#l%[i#m%[i#n%[i#o%[i#p%[i#r%[i#t%[i#v%[i#w%[i'm%[i(T%[i(d%[i!h%[i!T%[i'k%[ip%[i!Y%[i%b%[i!b%[i~P$KOO#e$viP$viY$vi_$vil$vi{$vi!W$vi!f$vi!g$vi!i$vi!m$vi#h$vi#i$vi#j$vi#k$vi#l$vi#m$vi#n$vi#o$vi#p$vi#r$vi#t$vi#v$vi#w$vi'm$vi(T$vi(d$vi!h$vi!T$vi'k$vi#Y$vip$vi!Y$vi%b$vi!b$vi~P#,sOe'Qa!W'Qa~P!0kO!W'Ra!h'Ra~P!7zO!W.bO!h(_i~O#z#]i!W#]i!X#]i~P#C^OP$]Oz#yO{#zO}#{O!g#wO!i#xO!m$]O(TVOY#gil#gi!f#gi#i#gi#j#gi#k#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi#z#gi(d#gi(k#gi(l#gi!W#gi!X#gi~O#h#gi~P%3jO#h9zO~P%3jOP$]Oz#yO{#zO}#{O!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O(TVOY#gi!f#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi#z#gi(d#gi(k#gi(l#gi!W#gi!X#gi~Ol#gi~P%5uOl9|O~P%5uOP$]Ol9|Oz#yO{#zO}#{O!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O(TVO#r#gi#t#gi#v#gi#w#gi#z#gi(d#gi(k#gi(l#gi!W#gi!X#gi~OY#gi!f#gi#m#gi#n#gi#o#gi#p#gi~P%8QOY:YO!f:OO#m:OO#n:OO#o:XO#p:OO~P%8QOP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO(TVO#t#gi#v#gi#w#gi#z#gi(d#gi(l#gi!W#gi!X#gi~O(k#gi~P%:lO(k#|O~P%:lOP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO#t:RO(TVO(k#|O#v#gi#w#gi#z#gi(d#gi!W#gi!X#gi~O(l#gi~P%yP?^P?^PPP?^PAOP?^P?^P?^PASPPAXPArPFjPPPFnPPPPFnIoPPPIuJpPFnPMOPPPP! ^FnPPPFnPFnP!#lFnP!'Q!(S!(]P!)P!)T!)PPPPPP!,`!(SPP!,|!-vP!0jFnFn!0o!3y!8`!8`!}P#@^#@e#@mPPPP#D{#Gr#NZ#N^#Na$ Y$ ]$ `$ g$ oPP$ u$ y$!q$#p$#t$$YPP$$^$$d$$hP$$k$$o$$r$%h$&P$&h$&l$&o$&r$&x$&{$'P$'TR!{RoqOXst!Z#c%f&i&k&l&n,b,g1g1jY!uQ'V-S0z4uQ%lvQ%tyQ%{|Q&a!VS&}!e,zQ']!iS'c!r!xS*_$|*dQ+`%uQ+m%}Q,R&ZQ-Q'UQ-['^Q-d'dQ/p*fQ1U,SR:d9u%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|,_,b,g-W-`-n-t.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2w4r4|5^5_5b5u7Z7`7o7yS#p]9r!r)W$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ*o%VQ+e%wQ,T&^Q,[&fQ.X:[Q0W+WQ0[+YQ0g+fQ1^,YQ2k.UQ4`0bQ5T1VQ6R2oQ6X:]Q6z4aR8P6S&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;ct!nQ!r!u!x!y&}'U'V'c'd'e,z-Q-S-d0z4u4w$^$si#u#w$c$d$x${%W%X%])q)w)z)|)}*U*[*j*k+V+Y+q+t.T._/P/^/_/a/|0q0t0|2n3f3p3x4O4W4Y4{6P6g6p7]7|8X8l9O9^9f:X:Y:^:_:`:a:b:c:i:j:k:l:m:n:q:r:s:t:w:x;`;h;i;l;mQ&O|Q&{!eS'R%b,}Q+e%wQ,T&^Q/{*sQ0g+fQ0l+lQ1],XQ1^,YQ4`0bQ4i0nQ5T1VQ5W1XQ5X1[Q6z4aQ6}4fQ7h5ZQ8g7OR8r7ernOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jR,V&b&v^OPXYstuvwz!Z!`!g!j!o#R#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'X'i'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;b;c[#[WZ#V#Y'O'y!S%cm#g#h#k%^%a(S(^(_(`*z*{*},^,t-r-x-y-z-|1o2g2h5k5|Q%oxQ%syS%x|%}Q&U!TQ'Y!hQ'[!iQ(g#rS*R$x*VS+_%t%uQ+c%wQ+|&XQ,Q&ZS-Z']'^Q.W(hQ/Z*SQ0`+`Q0f+fQ0h+gQ0k+kQ1P+}S1T,R,SQ2X-[Q3g/VQ4_0bQ4c0eQ4h0mQ5S1UQ6d3hQ6y4aQ6|4eQ8c6xR9X8dv$zi#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;i!S%qy!i!t%s%t%u&|'[']'^'b'l*^+_+`,w-Z-[-c/h0`2Q2X2`3zQ+X%oQ+r&RQ+u&SQ,P&ZQ.V(gQ1O+|U1S,Q,R,SQ2p.WQ4}1PS5R1T1UQ7d5S#O;d#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mg;e:X:Y:_:a:c:j:l:n:r:t:xW%Pi%R*l;`S&R!Q&`Q&S!RQ&T!SR+p&P$_%Oi#u#w$c$d$x${%W%X%])q)w)z)|)}*U*[*j*k+V+Y+q+t.T._/P/^/_/a/|0q0t0|2n3f3p3x4O4W4Y4{6P6g6p7]7|8X8l9O9^9f:X:Y:^:_:`:a:b:c:i:j:k:l:m:n:q:r:s:t:w:x;`;h;i;l;mT)r$u)sV*p%V:[:]U'R!e%b,}S(u#y#zQ+j%zS.P(c(dQ0u+vQ4P/yR7S4n&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;c$i$`c#X#d%j%k%m'x(O(j(q(y(z({(|(})O)P)Q)R)S)T)V)Y)^)h+T+i,x-g-l-q-s.^.d.h.j.k.l.{/}1v1y2Z2b2v2{2|2}3O3P3Q3R3S3T3U3V3W3X3[3]3b4T4]5n5t5y6V6W6]6^7U7s7w8Q8U8V8{9Z9b9s;VT#SV#T&}kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ'P!eR1|,zv!nQ!e!r!u!x!y&}'U'V'c'd'e,z-Q-S-d0z4u4wS*^$|*dS/h*_*fQ/q*gQ0w+xQ3z/pR3}/snqOXst!Z#c%f&i&k&l&n,b,g1g1jQ&p!^Q'm!wS(i#t9yQ+]%rQ+z&UQ+{&WQ-X'ZQ-f'fS.](n:fS0O*x:oQ0^+^Q0y+yQ1n,iQ1p,jQ1x,uQ2V-YQ2Y-^S4U0P:uQ4Z0_S4^0a:vQ5m1zQ5q2WQ5v2_Q6w4[Q7t5oQ7u5rQ7x5wR8x7q$d$_c#X#d%k%m'x(O(j(q(y(z({(|(})O)P)Q)R)S)T)V)Y)^)h+T+i,x-g-l-q-s.^.d.h.k.l.{/}1v1y2Z2b2v2{2|2}3O3P3Q3R3S3T3U3V3W3X3[3]3b4T4]5n5t5y6V6W6]6^7U7s7w8Q8U8V8{9Z9b9s;VS(f#o'`U*i$}(m3ZS+S%j.jQ2l0WQ6O2kQ8O6RR9P8P$d$^c#X#d%k%m'x(O(j(q(y(z({(|(})O)P)Q)R)S)T)V)Y)^)h+T+i,x-g-l-q-s.^.d.h.k.l.{/}1v1y2Z2b2v2{2|2}3O3P3Q3R3S3T3U3V3W3X3[3]3b4T4]5n5t5y6V6W6]6^7U7s7w8Q8U8V8{9Z9b9s;VS(e#o'`S(w#z$_S+R%j.jS.Q(d(fQ.m)XQ0T+SR2i.R&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cS#p]9rQ&k!XQ&l!YQ&n![Q&o!]R1f,eQ'W!hQ+U%oQ-V'YS.S(g+XQ2T-UW2m.V.W0V0XQ5p2UU5}2j2l2pS7{6O6QS8}7}8OS9d8|9PQ9l9eR9o9mU!vQ'V-ST4s0z4u!Q_OXZ`st!V!Z#c#g%^%f&`&b&i&k&l&n(`,b,g-y1g1j]!pQ!r'V-S0z4uT#p]9r%Y{OPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yS(u#y#zS.P(c(d!s:|$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cY!tQ'V-S0z4uQ'b!rS'l!u!xS'n!y4wS-c'c'dQ-e'eR2`-dQ'k!tS([#f1aS-b'b'nQ/Y*RQ/f*^Q2a-eQ3l/ZS3u/g/qQ6c3gS6n3{3}Q8Z6dR8b6qQ#vbQ'j!tS(Z#f1aS(]#l*wQ*y%_Q+Z%pQ+a%vU-a'b'k'nQ-u([Q/X*RQ/e*^Q/k*aQ0]+[Q1Q,OS2^-b-eQ2f-}S3k/Y/ZS3t/f/qQ3w/jQ3y/lQ5P1RQ5x2aQ6b3gQ6f3lS6j3u3}Q6o3|Q7b5QS8Y6c6dQ8^6kQ8`6nQ8o7cQ9T8ZQ9U8_Q9W8bQ9`8pQ9h9VQ;P:zQ;[;TR;];UV!vQ'V-S%YaOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yS#vz!j!r:y$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cR;P;b%YbOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yQ%_j!S%py!i!t%s%t%u&|'[']'^'b'l*^+_+`,w-Z-[-c/h0`2Q2X2`3zS%vz!jQ+[%qQ,O&ZW1R,P,Q,R,SU5Q1S1T1US7c5R5SQ8p7d!r:z$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ;T;aR;U;b$|eOPXYstuvw!Z!`!g!o#R#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&i&k&l&n&r&z'X'i'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yY#aWZ#V#Y'y!S%cm#g#h#k%^%a(S(^(_(`*z*{*},^,t-r-x-y-z-|1o2g2h5k5|Q,]&f!p:{$[$m)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cR;O'OS'S!e%bR2O,}%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|,_,b,g-W-`-n-t.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2w4r4|5^5_5b5u7Z7`7o7y!r)W$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ,[&fQ0W+WQ2k.UQ6R2oR8P6S!f$Uc#X%j'x(O(j(q)Q)R)S)T)Y)^+i-g-l-q-s.^.d.{/}2Z2b2v3X4T4]5t5y6V7w8{9s!T:Q)V)h,x.j1v1y2{3T3U3V3W3[3b5n6W6]6^7U7s8Q8U8V9Z9b;V!b$Wc#X%j'x(O(j(q)S)T)Y)^+i-g-l-q-s.^.d.{/}2Z2b2v3X4T4]5t5y6V7w8{9s!P:S)V)h,x.j1v1y2{3V3W3[3b5n6W6]6^7U7s8Q8U8V9Z9b;V!^$[c#X%j'x(O(j(q)Y)^+i-g-l-q-s.^.d.{/}2Z2b2v3X4T4]5t5y6V7w8{9sQ3f/Tz;c)V)h,x.j1v1y2{3[3b5n6W6]6^7U7s8Q8U8V9Z9b;VQ;h;jR;i;k&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cS$nh$oR3_.p'TgOPWXYZhstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m$o%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.p.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cT$jf$pQ$hfS)a$k)eR)m$pT$if$pT)c$k)e'ThOPWXYZhstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m$o%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.p.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cT$nh$oQ$qhR)l$o%YjOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7y!s;a$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;c#clOPXZst!Z!`!o#R#c#n#{$m%f&b&e&f&i&k&l&n&r&z'X(v)j*|+W,_,b,g-W.U.q/z0}1_1`1b1d1g1j1l2o3^4r4|5^5_5b6S7Z7`7ov$}i#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;i#O(m#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mQ*t%ZQ.|)vg3Z:X:Y:_:a:c:j:l:n:r:t:xv$yi#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;iQ*W$zS*a$|*dQ*u%[Q/l*b#O;R#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mf;S:X:Y:_:a:c:j:l:n:r:t:xQ;W;dQ;X;eQ;Y;fR;Z;gv$}i#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;i#O(m#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mg3Z:X:Y:_:a:c:j:l:n:r:t:xnoOXst!Z#c%f&i&k&l&n,b,g1g1jQ*Z${Q,p&uQ,q&wR3o/_$^%Oi#u#w$c$d$x${%W%X%])q)w)z)|)}*U*[*j*k+V+Y+q+t.T._/P/^/_/a/|0q0t0|2n3f3p3x4O4W4Y4{6P6g6p7]7|8X8l9O9^9f:X:Y:^:_:`:a:b:c:i:j:k:l:m:n:q:r:s:t:w:x;`;h;i;l;mQ+s&SQ0s+uQ4l0rR7R4mT*c$|*dS*c$|*dT4t0z4uS/j*`4rT3|/r7ZQ+Z%pQ/k*aQ0]+[Q1Q,OQ5P1RQ7b5QQ8o7cR9`8pn)z$v(o*v/]/t/u2t3m4S6a6r9S;Q;^;_!Y:i(k)[*Q*Y.[.x.}/T/b0U0p0r2s3n3r4k4m6T6U6h6l6t6v8]8a9g;j;k]:j3Y6[8R9Q9R9pp)|$v(o*v/R/]/t/u2t3m4S6a6r9S;Q;^;_![:k(k)[*Q*Y.[.x.}/T/b0U0p0r2q2s3n3r4k4m6T6U6h6l6t6v8]8a9g;j;k_:l3Y6[8R8S9Q9R9prnOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jQ&]!UR,_&frnOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jR&]!UQ+w&TR0o+psnOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jQ0{+|S4z1O1PU7[4x4y4}S8k7^7_S9[8j8mQ9i9]R9n9jQ&d!VR,W&`R5W1XS%x|%}R0h+gQ&i!WR,b&jR,h&oT1h,g1jR,l&pQ,k&pR1q,lQ'p!zR-h'pSsOtQ#cXT%is#cQ!}TR'r!}Q#QUR't#QQ)s$uR.y)sQ#TVR'v#TQ#WWU'|#W'}-oQ'}#XR-o(OQ,{'PR1},{Q.`(oR2u.`Q.c(qS2x.c2yR2y.dQ-S'VR2R-SY!rQ'V-S0z4uR'a!rS#^W%aU(T#^(U-pQ(U#_R-p(PQ-O'SR2P-Ot`OXst!V!Z#c%f&`&b&i&k&l&n,b,g1g1jS#gZ%^U#q`#g-yR-y(`Q(a#iQ-v(]W.O(a-v2d5zQ2d-wR5z2eQ)e$kR.r)eQ$ohR)k$oQ$bcU)Z$b-k:WQ-k9sR:W)hQ/W*RW3i/W3j6e8[U3j/X/Y/ZS6e3k3lR8[6f#o)x$v(k(o)[*Q*Y*q*r*v.Y.Z.[.x.}/R/S/T/]/b/t/u0U0p0r2q2r2s2t3Y3m3n3r4S4k4m6T6U6Y6Z6[6a6h6l6r6t6v8R8S8T8]8a9Q9R9S9g9p;Q;^;_;j;kQ/`*YU3q/`3s6iQ3s/bR6i3rQ*d$|R/n*dQ*m%QR/w*mQ4X0UR6u4XQ+O%dR0S+OQ4o0uS7T4o8iR8i7UQ+y&UR0x+yQ4u0zR7X4uQ1W,TS5U1W7fR7f5WQ0c+cW4b0c4d6{8eQ4d0fQ6{4cR8e6|Q+h%xR0i+hQ1j,gR5f1jYrOXst#cQ&m!ZQ+Q%fQ,a&iQ,c&kQ,d&lQ,f&nQ1e,bS1h,g1jR5e1gQ%hpQ&q!_Q&t!aQ&v!bQ&x!cQ'h!tQ+P%eQ+]%rQ+o&OQ,V&dQ,n&sW-_'b'j'k'nQ-f'fQ/m*cQ0^+^S1Z,W,ZQ1r,mQ1s,pQ1t,qQ2Y-^W2[-a-b-e-gQ4Z0_Q4g0lQ4j0pQ5O1QQ5Y1]Q5d1fU5s2Z2^2aQ5v2_Q6w4[Q7P4iQ7Q4kQ7W4tQ7a5PQ7g5XS7v5t5xQ7x5wQ8f6}Q8n7bQ8s7hQ8z7wQ9Y8gQ9_8oQ9c8{R9k9`Q%ryQ'Z!iQ'f!tU+^%s%t%uQ,u&|U-Y'[']'^S-^'b'lQ/d*^S0_+_+`Q1z,wS2W-Z-[Q2_-cQ3v/hQ4[0`Q5o2QQ5r2XQ5w2`R6m3zS$wi;`R*n%RU%Qi%R;`R/v*lQ$viS(k#u+YQ(o#wS)[$c$dQ*Q$xQ*Y${Q*q%WQ*r%XQ*v%]Q.Y:^Q.Z:`Q.[:bQ.x)qS.})w/PQ/R)zQ/S)|Q/T)}Q/]*UQ/b*[Q/t*jQ/u*kh0U+V.T0|2n4{6P7]7|8l9O9^9fQ0p+qQ0r+tQ2q:iQ2r:kQ2s:mQ2t._S3Y:X:YQ3m/^Q3n/_Q3r/aQ4S/|Q4k0qQ4m0tQ6T:qQ6U:sQ6Y:_Q6Z:aQ6[:cQ6a3fQ6h3pQ6l3xQ6r4OQ6t4WQ6v4YQ8R:nQ8S:jQ8T:lQ8]6gQ8a6pQ9Q:rQ9R:tQ9S8XQ9g:wQ9p:xQ;Q;`Q;^;hQ;_;iQ;j;lR;k;mnpOXst!Z#c%f&i&k&l&n,b,g1g1jQ!fPS#eZ#nQ&s!`U'_!o4r7ZQ'u#RQ(x#{Q)i$mS,Z&b&eQ,`&fQ,m&rQ,r&zQ-U'XQ.f(vQ.v)jQ0Q*|Q0X+WQ1c,_Q2U-WQ2l.UQ3a.qQ4Q/zQ4y0}Q5[1_Q5]1`Q5a1bQ5c1dQ5h1lQ6O2oQ6_3^Q7_4|Q7k5^Q7l5_Q7n5bQ8O6SQ8m7`R8w7o#WcOPXZst!Z!`!o#c#n#{%f&b&e&f&i&k&l&n&r&z'X(v*|+W,_,b,g-W.U/z0}1_1`1b1d1g1j1l2o4r4|5^5_5b6S7Z7`7oQ#XWQ#dYQ%juQ%kvS%mw!gS'x#V'{Q(O#YQ(j#tQ(q#xQ(y$OQ(z$PQ({$QQ(|$RQ(}$SQ)O$TQ)P$UQ)Q$VQ)R$WQ)S$XQ)T$YQ)V$[Q)Y$aQ)^$eW)h$m)j.q3^Q+T%lQ+i%yS,x'O1{Q-g'iS-l'y-nQ-q(RQ-s(YQ.^(nQ.d(rQ.h9qQ.j9tQ.k9uQ.l9xQ.{)uQ/}*xQ1v,sQ1y,vQ2Z-`Q2b-tQ2v.bQ2{9yQ2|9zQ2}9{Q3O9|Q3P9}Q3Q:OQ3R:PQ3S:QQ3T:RQ3U:SQ3V:TQ3W:UQ3X.iQ3[:ZQ3]:dQ3b:VQ4T0PQ4]0aQ5n:eQ5t2]Q5y2cQ6V2wQ6W:fQ6]:hQ6^:oQ7U4pQ7s5lQ7w5uQ8Q:pQ8U:uQ8V:vQ8{7yQ9Z8hQ9b8yQ9s#RR;V;cR#ZWR'Q!eY!tQ'V-S0z4uS&|!e,zQ'b!rS'l!u!xS'n!y4wS,w&}'US-c'c'dQ-e'eQ2Q-QR2`-dR(p#wR(s#xQ!fQT-R'V-S]!qQ!r'V-S0z4uQ#o]R'`9rT#jZ%^S#iZ%^S%dm,^U(]#g#h#kS-w(^(_Q-{(`Q0R*}Q2e-xU2f-y-z-|S5{2g2hR7z5|`#]W#V#Y%a'y(S*z-rr#fZm#g#h#k%^(^(_(`*}-x-y-z-|2g2h5|Q1a,^Q1w,tQ5j1oQ7r5kT:}'O*{T#`W%aS#_W%aS'z#V(SS(P#Y*zS,y'O*{T-m'y-rT'T!e%bQ$kfR)o$pT)d$k)eR3`.pT*T$x*VR*]${Q0V+VQ2j.TQ4x0|Q6Q2nQ7^4{Q7}6PQ8j7]Q8|7|Q9]8lQ9e9OQ9j9^R9m9fnqOXst!Z#c%f&i&k&l&n,b,g1g1jQ&c!VR,V&`tmOXst!U!V!Z#c%f&`&i&k&l&n,b,g1g1jR,^&fT%em,^R0v+vR,U&^Q%||R+n%}R+d%wT&g!W&jT&h!W&jT1i,g1j",nodeNames:"⚠ ArithOp ArithOp LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin 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 PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody 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 SingleExpression SingleClassItem",maxTerm:367,context:xY,nodeProps:[["group",-26,7,15,17,63,200,204,208,209,211,214,217,227,229,235,237,239,241,244,250,256,258,260,262,264,266,267,"Statement",-32,11,12,26,29,30,36,46,49,50,52,57,65,73,77,79,81,82,104,105,114,115,132,135,137,138,139,140,142,143,163,164,166,"Expression",-23,25,27,31,35,37,39,167,169,171,172,174,175,176,178,179,180,182,183,184,194,196,198,199,"Type",-3,85,97,103,"ClassItem"],["openedBy",32,"InterpolationStart",51,"[",55,"{",70,"(",144,"JSXStartTag",156,"JSXStartTag JSXStartCloseTag"],["closedBy",34,"InterpolationEnd",45,"]",56,"}",71,")",145,"JSXSelfCloseEndTag JSXEndTag",161,"JSXEndTag"]],propSources:[ZY],skippedNodes:[0,3,4,270],repeatNodeCount:33,tokenData:"$Fl(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Nu!`!a$#a!a!b$(n!b!c$,m!c!}Er!}#O$-w#O#P$/R#P#Q$4j#Q#R$5t#R#SEr#S#T$7R#T#o$8]#o#p$s#r#s$@P#s$f%Z$f$g+g$g#BYEr#BY#BZ$AZ#BZ$ISEr$IS$I_$AZ$I_$I|Er$I|$I}$Df$I}$JO$Df$JO$JTEr$JT$JU$AZ$JU$KVEr$KV$KW$AZ$KW&FUEr&FU&FV$AZ&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AZ?HUOEr(n%d_$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$e&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$e&j'|!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU'|!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$e&j'ypOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU'ypOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX'yp'|!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$e&j'yp'|!b'o(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST'z#S$e&j'p(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$e&j'yp'|!b'p(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$e&j!m$Ip'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#r$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#r$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2b3l_'x$(n$e&j'|!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k*r4r_$e&j'|!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k)`5vX$e&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q)`6jT$`#t$e&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#t6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y#t7bO$`#t#t7eP;=`<%l6y)`7kP;=`<%l5q*r7w]$`#t$e&j'|!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}%W8uZ'|!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p%W9oU$`#t'|!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}%W:UP;=`<%l8p*r:[P;=`<%l4k#%|:hh$e&j'yp'|!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXUS$e&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSUSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWUS'|!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]US$e&j'ypOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWUS'ypOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYUS'yp'|!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%lQ^$e&j!SSOY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@Y!_!}!=y!}#O!Bw#O#P!Dj#P#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!?Ta$e&j!SSO!^&c!_#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&cS!@_X!SSOY!@YZ!P!@Y!P!Q!@z!Q!}!@Y!}#O!Ac#O#P!Bb#P;'S!@Y;'S;=`!Bq<%lO!@YS!APU!SS#Z#[!@z#]#^!@z#a#b!@z#g#h!@z#i#j!@z#m#n!@zS!AfVOY!AcZ#O!Ac#O#P!A{#P#Q!@Y#Q;'S!Ac;'S;=`!B[<%lO!AcS!BOSOY!AcZ;'S!Ac;'S;=`!B[<%lO!AcS!B_P;=`<%l!AcS!BeSOY!@YZ;'S!@Y;'S;=`!Bq<%lO!@YS!BtP;=`<%l!@Y&n!B|[$e&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#O!Bw#O#P!Cr#P#Q!=y#Q#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!CwX$e&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!DgP;=`<%l!Bw&n!DoX$e&jOY!=yYZ&cZ!^!=y!^!_!@Y!_#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!E_P;=`<%l!=y(Q!Eki$e&j'|!b!SSOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!Eb#[#]&}#]#^!Eb#^#a&}#a#b!Eb#b#g&}#g#h!Eb#h#i&}#i#j!Eb#j#m&}#m#n!Eb#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!GaZ'|!b!SSOY!GYZw!GYwx!@Yx!P!GY!P!Q!HS!Q!}!GY!}#O!Ic#O#P!Bb#P;'S!GY;'S;=`!JZ<%lO!GY!f!HZb'|!b!SSOY'}Zw'}x#O'}#P#Z'}#Z#[!HS#[#]'}#]#^!HS#^#a'}#a#b!HS#b#g'}#g#h!HS#h#i'}#i#j!HS#j#m'}#m#n!HS#n;'S'};'S;=`(f<%lO'}!f!IhX'|!bOY!IcZw!Icwx!Acx#O!Ic#O#P!A{#P#Q!GY#Q;'S!Ic;'S;=`!JT<%lO!Ic!f!JWP;=`<%l!Ic!f!J^P;=`<%l!GY(Q!Jh^$e&j'|!bOY!JaYZ&cZw!Jawx!Bwx!^!Ja!^!_!Ic!_#O!Ja#O#P!Cr#P#Q!Q#V#X%Z#X#Y!4|#Y#b%Z#b#c#Zd$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#?tf$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#b%Z#b#c#RY[n]||-1},{term:330,get:n=>XY[n]||-1},{term:68,get:n=>AY[n]||-1}],tokenPrec:12868}),Zw=[ji("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),ji("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),ji("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),ji("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),ji("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),ji(`try { \${} } catch (\${error}) { \${} -}`,{label:"try",detail:"/ catch block",type:"keyword"}),Bi("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),Bi(`if (\${}) { +}`,{label:"try",detail:"/ catch block",type:"keyword"}),ji("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),ji(`if (\${}) { \${} } else { \${} -}`,{label:"if",detail:"/ else block",type:"keyword"}),Bi(`class \${name} { +}`,{label:"if",detail:"/ else block",type:"keyword"}),ji(`class \${name} { constructor(\${params}) { \${} } -}`,{label:"class",detail:"definition",type:"keyword"}),Bi('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Bi('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],XY=Cw.concat([Bi("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Bi("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Bi("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),I0=new My,Tw=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function _o(n){return(e,t)=>{let i=e.node.getChild("VariableDefinition");return i&&t(i,n),!0}}const AY=["FunctionDeclaration"],YY={FunctionDeclaration:_o("function"),ClassDeclaration:_o("class"),ClassExpression:()=>!0,EnumDeclaration:_o("constant"),TypeAliasDeclaration:_o("type"),NamespaceDeclaration:_o("namespace"),VariableDefinition(n,e){n.matchContext(AY)||e(n,"variable")},TypeDefinition(n,e){e(n,"type")},__proto__:null};function Zw(n,e){let t=I0.get(e);if(t)return t;let i=[],r=!0;function s(l,o){let a=n.sliceString(l.from,l.to);i.push({label:a,type:o})}return e.cursor(Rt.IncludeAnonymous).iterate(l=>{if(r)r=!1;else if(l.name){let o=YY[l.name];if(o&&o(l,s)||Tw.has(l.name))return!1}else if(l.to-l.from>8192){for(let o of Zw(n,l.node))i.push(o);return!1}}),I0.set(e,i),i}const N0=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Rw=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function UY(n){let e=Ft(n.state).resolveInner(n.pos,-1);if(Rw.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&N0.test(n.state.sliceDoc(e.from,e.to));if(!t&&!n.explicit)return null;let i=[];for(let r=e;r;r=r.parent)Tw.has(r.name)&&(i=i.concat(Zw(n.state.doc,r)));return{options:i,from:t?e.from:n.pos,validFor:N0}}const dr=Ss.define({name:"javascript",parser:RY.configure({props:[Nl.add({IfStatement:Tl({except:/^\s*({|else\b)/}),TryStatement:Tl({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:_T,SwitchBody:n=>{let e=n.textAfter,t=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return n.baseIndent+(t?0:i?1:2)*n.unit},Block:is({closing:"}"}),ArrowFunction:n=>n.baseIndent+n.unit,"TemplateString BlockComment":()=>null,"Statement Property":Tl({except:/^{/}),JSXElement(n){let e=/^\s*<\//.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},JSXEscape(n){let e=/\s*\}/.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},"JSXOpenTag JSXSelfClosingTag"(n){return n.column(n.node.from)+n.unit}}),Ll.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":lr,BlockComment(n){return{from:n.from+2,to:n.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Xw={test:n=>/^JSX/.test(n.name),facet:Ny({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Aw=dr.configure({dialect:"ts"},"typescript"),Yw=dr.configure({dialect:"jsx",props:[Ed.add(n=>n.isTop?[Xw]:void 0)]}),Uw=dr.configure({dialect:"jsx ts",props:[Ed.add(n=>n.isTop?[Xw]:void 0)]},"typescript");let Ew=n=>({label:n,type:"keyword"});const Mw="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(Ew),EY=Mw.concat(["declare","implements","private","protected","public"].map(Ew));function MY(n={}){let e=n.jsx?n.typescript?Uw:Yw:n.typescript?Aw:dr,t=n.typescript?XY.concat(EY):Cw.concat(Mw);return new Oa(e,[dr.data.of({autocomplete:NR(Rw,Hv(t))}),dr.data.of({autocomplete:UY}),n.jsx?DY:[]])}function zY(n){for(;;){if(n.name=="JSXOpenTag"||n.name=="JSXSelfClosingTag"||n.name=="JSXFragmentTag")return n;if(n.name=="JSXEscape"||!n.parent)return null;n=n.parent}}function L0(n,e,t=n.length){for(let i=e==null?void 0:e.firstChild;i;i=i.nextSibling)if(i.name=="JSXIdentifier"||i.name=="JSXBuiltin"||i.name=="JSXNamespacedName"||i.name=="JSXMemberExpression")return n.sliceString(i.from,Math.min(i.to,t));return""}const VY=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),DY=pe.inputHandler.of((n,e,t,i,r)=>{if((VY?n.composing:n.compositionStarted)||n.state.readOnly||e!=t||i!=">"&&i!="/"||!dr.isActiveAt(n.state,e,-1))return!1;let s=r(),{state:l}=s,o=l.changeByRange(a=>{var u;let{head:h}=a,O=Ft(l).resolveInner(h-1,-1),p;if(O.name=="JSXStartTag"&&(O=O.parent),!(l.doc.sliceString(h-1,h)!=i||O.name=="JSXAttributeValue"&&O.to>h)){if(i==">"&&O.name=="JSXFragmentTag")return{range:a,changes:{from:h,insert:""}};if(i=="/"&&O.name=="JSXStartCloseTag"){let g=O.parent,b=g.parent;if(b&&g.from==h-2&&((p=L0(l.doc,b.firstChild,h))||((u=b.firstChild)===null||u===void 0?void 0:u.name)=="JSXFragmentTag")){let y=`${p}>`;return{range:J.cursor(h+y.length,-1),changes:{from:h,insert:y}}}}else if(i==">"){let g=zY(O);if(g&&!/^\/?>|^<\//.test(l.doc.sliceString(h,h+2))&&(p=L0(l.doc,g,h)))return{range:a,changes:{from:h,insert:``}}}}return{range:a}});return o.changes.empty?!1:(n.dispatch([s,l.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),xo=["_blank","_self","_top","_parent"],dO=["ascii","utf-8","utf-16","latin1","latin1"],pO=["get","post","put","delete"],gO=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],fn=["true","false"],xe={},qY={a:{attrs:{href:null,ping:null,type:null,media:null,target:xo,hreflang:null}},abbr:xe,address:xe,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:xe,aside:xe,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:xe,base:{attrs:{href:null,target:xo}},bdi:xe,bdo:xe,blockquote:{attrs:{cite:null}},body:xe,br:xe,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:gO,formmethod:pO,formnovalidate:["novalidate"],formtarget:xo,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:xe,center:xe,cite:xe,code:xe,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:xe,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:xe,div:xe,dl:xe,dt:xe,em:xe,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:xe,figure:xe,footer:xe,form:{attrs:{action:null,name:null,"accept-charset":dO,autocomplete:["on","off"],enctype:gO,method:pO,novalidate:["novalidate"],target:xo}},h1:xe,h2:xe,h3:xe,h4:xe,h5:xe,h6:xe,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:xe,hgroup:xe,hr:xe,html:{attrs:{manifest:null}},i:xe,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:gO,formmethod:pO,formnovalidate:["novalidate"],formtarget:xo,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:xe,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:xe,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:xe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:dO,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:xe,noscript:xe,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:xe,param:{attrs:{name:null,value:null}},pre:xe,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:xe,rt:xe,ruby:xe,samp:xe,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:dO}},section:xe,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:xe,source:{attrs:{src:null,type:null,media:null}},span:xe,strong:xe,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:xe,summary:xe,sup:xe,table:xe,tbody:xe,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:xe,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:xe,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:xe,time:{attrs:{datetime:null}},title:xe,tr:xe,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:xe,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:xe},zw={accesskey:null,class:null,contenteditable:fn,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:fn,autocorrect:fn,autocapitalize:fn,style:null,tabindex:null,title:null,translate:["yes","no"],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":fn,"aria-autocomplete":["inline","list","both","none"],"aria-busy":fn,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":fn,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":fn,"aria-hidden":fn,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":fn,"aria-multiselectable":fn,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":fn,"aria-relevant":null,"aria-required":fn,"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},Vw="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(n=>"on"+n);for(let n of Vw)zw[n]=null;class Ic{constructor(e,t){this.tags=Object.assign(Object.assign({},qY),e),this.globalAttrs=Object.assign(Object.assign({},zw),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Ic.default=new Ic;function zl(n,e,t=n.length){if(!e)return"";let i=e.firstChild,r=i&&i.getChild("TagName");return r?n.sliceString(r.from,Math.min(r.to,t)):""}function Vl(n,e=!1){for(;n;n=n.parent)if(n.name=="Element")if(e)e=!1;else return n;return null}function Dw(n,e,t){let i=t.tags[zl(n,Vl(e))];return(i==null?void 0:i.children)||t.allTags}function np(n,e){let t=[];for(let i=Vl(e);i&&!i.type.isTop;i=Vl(i.parent)){let r=zl(n,i);if(r&&i.lastChild.name=="CloseTag")break;r&&t.indexOf(r)<0&&(e.name=="EndTag"||e.from>=i.firstChild.to)&&t.push(r)}return t}const qw=/^[:\-\.\w\u00b7-\uffff]*$/;function B0(n,e,t,i,r){let s=/\s*>/.test(n.sliceDoc(r,r+5))?"":">",l=Vl(t,!0);return{from:i,to:r,options:Dw(n.doc,l,e).map(o=>({label:o,type:"type"})).concat(np(n.doc,t).map((o,a)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function j0(n,e,t,i){let r=/\s*>/.test(n.sliceDoc(i,i+5))?"":">";return{from:t,to:i,options:np(n.doc,e).map((s,l)=>({label:s,apply:s+r,type:"type",boost:99-l})),validFor:qw}}function IY(n,e,t,i){let r=[],s=0;for(let l of Dw(n.doc,t,e))r.push({label:"<"+l,type:"type"});for(let l of np(n.doc,t))r.push({label:"",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function NY(n,e,t,i,r){let s=Vl(t),l=s?e.tags[zl(n.doc,s)]:null,o=l&&l.attrs?Object.keys(l.attrs):[],a=l&&l.globalAttrs===!1?o:o.length?o.concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:r,options:a.map(u=>({label:u,type:"property"})),validFor:qw}}function LY(n,e,t,i,r){var s;let l=(s=t.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),o=[],a;if(l){let u=n.sliceDoc(l.from,l.to),h=e.globalAttrs[u];if(!h){let O=Vl(t),p=O?e.tags[zl(n.doc,O)]:null;h=(p==null?void 0:p.attrs)&&p.attrs[u]}if(h){let O=n.sliceDoc(i,r).toLowerCase(),p='"',g='"';/^['"]/.test(O)?(a=O[0]=='"'?/^[^"]*$/:/^[^']*$/,p="",g=n.sliceDoc(r,r+1)==O[0]?"":O[0],O=O.slice(1),i++):a=/^[^\s<>='"]*$/;for(let b of h)o.push({label:b,apply:p+b+g,type:"constant"})}}return{from:i,to:r,options:o,validFor:a}}function BY(n,e){let{state:t,pos:i}=e,r=Ft(t).resolveInner(i,-1),s=r.resolve(i);for(let l=i,o;s==r&&(o=r.childBefore(l));){let a=o.lastChild;if(!a||!a.type.isError||a.fromBY(i,r)}const FY=dr.parser.configure({top:"SingleExpression"}),Iw=[{tag:"script",attrs:n=>n.type=="text/typescript"||n.lang=="ts",parser:Aw.parser},{tag:"script",attrs:n=>n.type=="text/babel"||n.type=="text/jsx",parser:Yw.parser},{tag:"script",attrs:n=>n.type=="text/typescript-jsx",parser:Uw.parser},{tag:"script",attrs:n=>n.type=="importmap"||n.type=="speculationrules",parser:FY},{tag:"script",attrs(n){return!n.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(n.type)},parser:dr.parser},{tag:"style",attrs(n){return(!n.lang||n.lang=="css")&&(!n.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(n.type))},parser:qc.parser}],Nw=[{name:"style",parser:qc.parser.configure({top:"Styles"})}].concat(Vw.map(n=>({name:n,parser:dr.parser}))),Lw=Ss.define({name:"html",parser:UA.configure({props:[Nl.add({Element(n){let e=/^(\s*)(<\/)?/.exec(n.textAfter);return n.node.to<=n.pos+e[0].length?n.continue():n.lineIndent(n.node.from)+(e[2]?0:n.unit)},"OpenTag CloseTag SelfClosingTag"(n){return n.column(n.node.from)+n.unit},Document(n){if(n.pos+/\s*/.exec(n.textAfter)[0].lengthn.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),uc=Lw.configure({wrap:kw(Iw,Nw)});function GY(n={}){let e="",t;n.matchClosingTags===!1&&(e="noMatch"),n.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(n.nestedLanguages&&n.nestedLanguages.length||n.nestedAttributes&&n.nestedAttributes.length)&&(t=kw((n.nestedLanguages||[]).concat(Iw),(n.nestedAttributes||[]).concat(Nw)));let i=t?Lw.configure({wrap:t,dialect:e}):e?uc.configure({dialect:e}):uc;return new Oa(i,[uc.data.of({autocomplete:jY(n)}),n.autoCloseTags!==!1?HY:[],MY().support,hY().support])}const F0=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),HY=pe.inputHandler.of((n,e,t,i,r)=>{if(n.composing||n.state.readOnly||e!=t||i!=">"&&i!="/"||!uc.isActiveAt(n.state,e,-1))return!1;let s=r(),{state:l}=s,o=l.changeByRange(a=>{var u,h,O;let p=l.doc.sliceString(a.from-1,a.to)==i,{head:g}=a,b=Ft(l).resolveInner(g-1,-1),y;if((b.name=="TagName"||b.name=="StartTag")&&(b=b.parent),p&&i==">"&&b.name=="OpenTag"){if(((h=(u=b.parent)===null||u===void 0?void 0:u.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(y=zl(l.doc,b.parent,g))&&!F0.has(y)){let $=g+(l.doc.sliceString(g,g+1)===">"?1:0),k=``;return{range:a,changes:{from:g,to:$,insert:k}}}}else if(p&&i=="/"&&b.name=="IncompleteCloseTag"){let $=b.parent;if(b.from==g-2&&((O=$.lastChild)===null||O===void 0?void 0:O.name)!="CloseTag"&&(y=zl(l.doc,$,g))&&!F0.has(y)){let k=g+(l.doc.sliceString(g,g+1)===">"?1:0),W=`${y}>`;return{range:J.cursor(g+W.length,-1),changes:{from:g,to:k,insert:W}}}}return{range:a}});return o.changes.empty?!1:(n.dispatch([s,l.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var Wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function i7(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Nc={exports:{}};/** +}`,{label:"class",detail:"definition",type:"keyword"}),ji('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),ji('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],UY=Zw.concat([ji("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),ji("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),ji("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),I0=new Vy,Rw=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Co(n){return(e,t)=>{let i=e.node.getChild("VariableDefinition");return i&&t(i,n),!0}}const EY=["FunctionDeclaration"],zY={FunctionDeclaration:Co("function"),ClassDeclaration:Co("class"),ClassExpression:()=>!0,EnumDeclaration:Co("constant"),TypeAliasDeclaration:Co("type"),NamespaceDeclaration:Co("namespace"),VariableDefinition(n,e){n.matchContext(EY)||e(n,"variable")},TypeDefinition(n,e){e(n,"type")},__proto__:null};function Xw(n,e){let t=I0.get(e);if(t)return t;let i=[],r=!0;function s(l,o){let a=n.sliceString(l.from,l.to);i.push({label:a,type:o})}return e.cursor(Zt.IncludeAnonymous).iterate(l=>{if(r)r=!1;else if(l.name){let o=zY[l.name];if(o&&o(l,s)||Rw.has(l.name))return!1}else if(l.to-l.from>8192){for(let o of Xw(n,l.node))i.push(o);return!1}}),I0.set(e,i),i}const N0=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Aw=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function MY(n){let e=Ft(n.state).resolveInner(n.pos,-1);if(Aw.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&N0.test(n.state.sliceDoc(e.from,e.to));if(!t&&!n.explicit)return null;let i=[];for(let r=e;r;r=r.parent)Rw.has(r.name)&&(i=i.concat(Xw(n.state.doc,r)));return{options:i,from:t?e.from:n.pos,validFor:N0}}const Sr=ws.define({name:"javascript",parser:YY.configure({props:[Il.add({IfStatement:Tl({except:/^\s*({|else\b)/}),TryStatement:Tl({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:CT,SwitchBody:n=>{let e=n.textAfter,t=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return n.baseIndent+(t?0:i?1:2)*n.unit},Block:os({closing:"}"}),ArrowFunction:n=>n.baseIndent+n.unit,"TemplateString BlockComment":()=>null,"Statement Property":Tl({except:/^{/}),JSXElement(n){let e=/^\s*<\//.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},JSXEscape(n){let e=/\s*\}/.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},"JSXOpenTag JSXSelfClosingTag"(n){return n.column(n.node.from)+n.unit}}),Nl.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":cr,BlockComment(n){return{from:n.from+2,to:n.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Yw={test:n=>/^JSX/.test(n.name),facet:By({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Uw=Sr.configure({dialect:"ts"},"typescript"),Ew=Sr.configure({dialect:"jsx",props:[Ed.add(n=>n.isTop?[Yw]:void 0)]}),zw=Sr.configure({dialect:"jsx ts",props:[Ed.add(n=>n.isTop?[Yw]:void 0)]},"typescript");let Mw=n=>({label:n,type:"keyword"});const Vw="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(Mw),VY=Vw.concat(["declare","implements","private","protected","public"].map(Mw));function DY(n={}){let e=n.jsx?n.typescript?zw:Ew:n.typescript?Uw:Sr,t=n.typescript?UY.concat(VY):Zw.concat(Vw);return new ga(e,[Sr.data.of({autocomplete:jR(Aw,Jv(t))}),Sr.data.of({autocomplete:MY}),n.jsx?NY:[]])}function qY(n){for(;;){if(n.name=="JSXOpenTag"||n.name=="JSXSelfClosingTag"||n.name=="JSXFragmentTag")return n;if(n.name=="JSXEscape"||!n.parent)return null;n=n.parent}}function L0(n,e,t=n.length){for(let i=e==null?void 0:e.firstChild;i;i=i.nextSibling)if(i.name=="JSXIdentifier"||i.name=="JSXBuiltin"||i.name=="JSXNamespacedName"||i.name=="JSXMemberExpression")return n.sliceString(i.from,Math.min(i.to,t));return""}const IY=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),NY=ge.inputHandler.of((n,e,t,i,r)=>{if((IY?n.composing:n.compositionStarted)||n.state.readOnly||e!=t||i!=">"&&i!="/"||!Sr.isActiveAt(n.state,e,-1))return!1;let s=r(),{state:l}=s,o=l.changeByRange(a=>{var c;let{head:h}=a,O=Ft(l).resolveInner(h-1,-1),p;if(O.name=="JSXStartTag"&&(O=O.parent),!(l.doc.sliceString(h-1,h)!=i||O.name=="JSXAttributeValue"&&O.to>h)){if(i==">"&&O.name=="JSXFragmentTag")return{range:a,changes:{from:h,insert:""}};if(i=="/"&&O.name=="JSXStartCloseTag"){let g=O.parent,b=g.parent;if(b&&g.from==h-2&&((p=L0(l.doc,b.firstChild,h))||((c=b.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let y=`${p}>`;return{range:J.cursor(h+y.length,-1),changes:{from:h,insert:y}}}}else if(i==">"){let g=qY(O);if(g&&!/^\/?>|^<\//.test(l.doc.sliceString(h,h+2))&&(p=L0(l.doc,g,h)))return{range:a,changes:{from:h,insert:``}}}}return{range:a}});return o.changes.empty?!1:(n.dispatch([s,l.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),To=["_blank","_self","_top","_parent"],dO=["ascii","utf-8","utf-16","latin1","latin1"],pO=["get","post","put","delete"],gO=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],hn=["true","false"],Te={},LY={a:{attrs:{href:null,ping:null,type:null,media:null,target:To,hreflang:null}},abbr:Te,address:Te,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Te,aside:Te,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Te,base:{attrs:{href:null,target:To}},bdi:Te,bdo:Te,blockquote:{attrs:{cite:null}},body:Te,br:Te,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:gO,formmethod:pO,formnovalidate:["novalidate"],formtarget:To,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Te,center:Te,cite:Te,code:Te,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:Te,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Te,div:Te,dl:Te,dt:Te,em:Te,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Te,figure:Te,footer:Te,form:{attrs:{action:null,name:null,"accept-charset":dO,autocomplete:["on","off"],enctype:gO,method:pO,novalidate:["novalidate"],target:To}},h1:Te,h2:Te,h3:Te,h4:Te,h5:Te,h6:Te,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Te,hgroup:Te,hr:Te,html:{attrs:{manifest:null}},i:Te,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:gO,formmethod:pO,formnovalidate:["novalidate"],formtarget:To,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:Te,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Te,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:Te,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:dO,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:Te,noscript:Te,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:Te,param:{attrs:{name:null,value:null}},pre:Te,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Te,rt:Te,ruby:Te,samp:Te,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:dO}},section:Te,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Te,source:{attrs:{src:null,type:null,media:null}},span:Te,strong:Te,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Te,summary:Te,sup:Te,table:Te,tbody:Te,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Te,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:Te,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Te,time:{attrs:{datetime:null}},title:Te,tr:Te,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:Te,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:Te},Dw={accesskey:null,class:null,contenteditable:hn,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:hn,autocorrect:hn,autocapitalize:hn,style:null,tabindex:null,title:null,translate:["yes","no"],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":hn,"aria-autocomplete":["inline","list","both","none"],"aria-busy":hn,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":hn,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":hn,"aria-hidden":hn,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":hn,"aria-multiselectable":hn,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":hn,"aria-relevant":null,"aria-required":hn,"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},qw="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(n=>"on"+n);for(let n of qw)Dw[n]=null;class Nc{constructor(e,t){this.tags=Object.assign(Object.assign({},LY),e),this.globalAttrs=Object.assign(Object.assign({},Dw),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Nc.default=new Nc;function zl(n,e,t=n.length){if(!e)return"";let i=e.firstChild,r=i&&i.getChild("TagName");return r?n.sliceString(r.from,Math.min(r.to,t)):""}function Ml(n,e=!1){for(;n;n=n.parent)if(n.name=="Element")if(e)e=!1;else return n;return null}function Iw(n,e,t){let i=t.tags[zl(n,Ml(e))];return(i==null?void 0:i.children)||t.allTags}function np(n,e){let t=[];for(let i=Ml(e);i&&!i.type.isTop;i=Ml(i.parent)){let r=zl(n,i);if(r&&i.lastChild.name=="CloseTag")break;r&&t.indexOf(r)<0&&(e.name=="EndTag"||e.from>=i.firstChild.to)&&t.push(r)}return t}const Nw=/^[:\-\.\w\u00b7-\uffff]*$/;function B0(n,e,t,i,r){let s=/\s*>/.test(n.sliceDoc(r,r+5))?"":">",l=Ml(t,!0);return{from:i,to:r,options:Iw(n.doc,l,e).map(o=>({label:o,type:"type"})).concat(np(n.doc,t).map((o,a)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function j0(n,e,t,i){let r=/\s*>/.test(n.sliceDoc(i,i+5))?"":">";return{from:t,to:i,options:np(n.doc,e).map((s,l)=>({label:s,apply:s+r,type:"type",boost:99-l})),validFor:Nw}}function BY(n,e,t,i){let r=[],s=0;for(let l of Iw(n.doc,t,e))r.push({label:"<"+l,type:"type"});for(let l of np(n.doc,t))r.push({label:"",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function jY(n,e,t,i,r){let s=Ml(t),l=s?e.tags[zl(n.doc,s)]:null,o=l&&l.attrs?Object.keys(l.attrs):[],a=l&&l.globalAttrs===!1?o:o.length?o.concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:r,options:a.map(c=>({label:c,type:"property"})),validFor:Nw}}function FY(n,e,t,i,r){var s;let l=(s=t.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),o=[],a;if(l){let c=n.sliceDoc(l.from,l.to),h=e.globalAttrs[c];if(!h){let O=Ml(t),p=O?e.tags[zl(n.doc,O)]:null;h=(p==null?void 0:p.attrs)&&p.attrs[c]}if(h){let O=n.sliceDoc(i,r).toLowerCase(),p='"',g='"';/^['"]/.test(O)?(a=O[0]=='"'?/^[^"]*$/:/^[^']*$/,p="",g=n.sliceDoc(r,r+1)==O[0]?"":O[0],O=O.slice(1),i++):a=/^[^\s<>='"]*$/;for(let b of h)o.push({label:b,apply:p+b+g,type:"constant"})}}return{from:i,to:r,options:o,validFor:a}}function GY(n,e){let{state:t,pos:i}=e,r=Ft(t).resolveInner(i,-1),s=r.resolve(i);for(let l=i,o;s==r&&(o=r.childBefore(l));){let a=o.lastChild;if(!a||!a.type.isError||a.fromGY(i,r)}const KY=Sr.parser.configure({top:"SingleExpression"}),Lw=[{tag:"script",attrs:n=>n.type=="text/typescript"||n.lang=="ts",parser:Uw.parser},{tag:"script",attrs:n=>n.type=="text/babel"||n.type=="text/jsx",parser:Ew.parser},{tag:"script",attrs:n=>n.type=="text/typescript-jsx",parser:zw.parser},{tag:"script",attrs:n=>n.type=="importmap"||n.type=="speculationrules",parser:KY},{tag:"script",attrs(n){return!n.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(n.type)},parser:Sr.parser},{tag:"style",attrs(n){return(!n.lang||n.lang=="css")&&(!n.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(n.type))},parser:Ic.parser}],Bw=[{name:"style",parser:Ic.parser.configure({top:"Styles"})}].concat(qw.map(n=>({name:n,parser:Sr.parser}))),jw=ws.define({name:"html",parser:MA.configure({props:[Il.add({Element(n){let e=/^(\s*)(<\/)?/.exec(n.textAfter);return n.node.to<=n.pos+e[0].length?n.continue():n.lineIndent(n.node.from)+(e[2]?0:n.unit)},"OpenTag CloseTag SelfClosingTag"(n){return n.column(n.node.from)+n.unit},Document(n){if(n.pos+/\s*/.exec(n.textAfter)[0].lengthn.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),hc=jw.configure({wrap:Pw(Lw,Bw)});function JY(n={}){let e="",t;n.matchClosingTags===!1&&(e="noMatch"),n.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(n.nestedLanguages&&n.nestedLanguages.length||n.nestedAttributes&&n.nestedAttributes.length)&&(t=Pw((n.nestedLanguages||[]).concat(Lw),(n.nestedAttributes||[]).concat(Bw)));let i=t?jw.configure({wrap:t,dialect:e}):e?hc.configure({dialect:e}):hc;return new ga(i,[hc.data.of({autocomplete:HY(n)}),n.autoCloseTags!==!1?e8:[],DY().support,pY().support])}const F0=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),e8=ge.inputHandler.of((n,e,t,i,r)=>{if(n.composing||n.state.readOnly||e!=t||i!=">"&&i!="/"||!hc.isActiveAt(n.state,e,-1))return!1;let s=r(),{state:l}=s,o=l.changeByRange(a=>{var c,h,O;let p=l.doc.sliceString(a.from-1,a.to)==i,{head:g}=a,b=Ft(l).resolveInner(g-1,-1),y;if((b.name=="TagName"||b.name=="StartTag")&&(b=b.parent),p&&i==">"&&b.name=="OpenTag"){if(((h=(c=b.parent)===null||c===void 0?void 0:c.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(y=zl(l.doc,b.parent,g))&&!F0.has(y)){let $=g+(l.doc.sliceString(g,g+1)===">"?1:0),k=``;return{range:a,changes:{from:g,to:$,insert:k}}}}else if(p&&i=="/"&&b.name=="IncompleteCloseTag"){let $=b.parent;if(b.from==g-2&&((O=$.lastChild)===null||O===void 0?void 0:O.name)!="CloseTag"&&(y=zl(l.doc,$,g))&&!F0.has(y)){let k=g+(l.doc.sliceString(g,g+1)===">"?1:0),W=`${y}>`;return{range:J.cursor(g+W.length,-1),changes:{from:g,to:k,insert:W}}}}return{range:a}});return o.changes.empty?!1:(n.dispatch([s,l.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var Zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f7(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Lc={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */Nc.exports;(function(n,e){(function(){var t,i="4.17.21",r=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",o="Invalid `variable` option passed into `_.template`",a="__lodash_hash_undefined__",u=500,h="__lodash_placeholder__",O=1,p=2,g=4,b=1,y=2,$=1,k=2,W=4,X=8,T=16,C=32,U=64,z=128,M=256,L=512,I=30,K="...",re=800,Oe=16,me=1,We=2,he=3,ce=1/0,Ve=9007199254740991,Ke=17976931348623157e292,Te=NaN,Ce=4294967295,nt=Ce-1,Yt=Ce>>>1,Qt=[["ary",z],["bind",$],["bindKey",k],["curry",X],["curryRight",T],["flip",L],["partial",C],["partialRight",U],["rearg",M]],dt="[object Arguments]",Ut="[object Array]",be="[object AsyncFunction]",le="[object Boolean]",F="[object Date]",ue="[object DOMException]",ie="[object Error]",ft="[object Function]",Je="[object GeneratorFunction]",De="[object Map]",st="[object Number]",Dt="[object Null]",gt="[object Object]",$t="[object Promise]",Gn="[object Proxy]",Ne="[object RegExp]",ae="[object Set]",je="[object String]",pt="[object Symbol]",Ze="[object Undefined]",mt="[object WeakMap]",Et="[object WeakSet]",kt="[object ArrayBuffer]",Di="[object DataView]",ri="[object Float32Array]",qt="[object Float64Array]",si="[object Int8Array]",Le="[object Int16Array]",xt="[object Int32Array]",dn="[object Uint8Array]",Pt="[object Uint8ClampedArray]",Sr="[object Uint16Array]",Kt="[object Uint32Array]",ys=/\b__p \+= '';/g,ii=/\b(__p \+=) '' \+/g,vs=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Hn=/&(?:amp|lt|gt|quot|#39);/g,ki=/[&<>"']/g,Ls=RegExp(Hn.source),ws=RegExp(ki.source),Bs=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,ye=/<%=([\s\S]+?)%>/g,Vr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qs=/^\w*$/,Xn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Kn=/[\\^$.*+?()[\]{}|]/g,Dr=RegExp(Kn.source),An=/^\s+/,_t=/\s/,qr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,br=/\{\n\/\* \[wrapped with (.+)\] \*/,$r=/,? & /,Gl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ba=/[()=,{}\[\]\/\s]/,Ir=/\\(\\)?/g,yr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,js=/\w*$/,Fs=/^[-+]0x[0-9a-f]+$/i,ou=/^0b[01]+$/i,$a=/^\[object .+?Constructor\]$/,ya=/^0o[0-7]+$/i,Gs=/^(?:0|[1-9]\d*)$/,va=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hs=/($^)/,au=/['\n\r\u2028\u2029\\]/g,Ks="\\ud800-\\udfff",pn="\\u0300-\\u036f",ks="\\ufe20-\\ufe2f",Ps="\\u20d0-\\u20ff",Hl=pn+ks+Ps,wa="\\u2700-\\u27bf",Qa="a-z\\xdf-\\xf6\\xf8-\\xff",fu="\\xac\\xb1\\xd7\\xf7",cu="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",uu="\\u2000-\\u206f",hu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ka="A-Z\\xc0-\\xd6\\xd8-\\xde",Pa="\\ufe0e\\ufe0f",_a=fu+cu+uu+hu,Kl="['’]",Ou="["+Ks+"]",xa="["+_a+"]",Js="["+Hl+"]",Wa="\\d+",du="["+wa+"]",Ca="["+Qa+"]",Ta="[^"+Ks+_a+Wa+wa+Qa+ka+"]",Jl="\\ud83c[\\udffb-\\udfff]",pu="(?:"+Js+"|"+Jl+")",Za="[^"+Ks+"]",eo="(?:\\ud83c[\\udde6-\\uddff]){2}",to="[\\ud800-\\udbff][\\udc00-\\udfff]",Nr="["+ka+"]",Ra="\\u200d",Xa="(?:"+Ca+"|"+Ta+")",gu="(?:"+Nr+"|"+Ta+")",Aa="(?:"+Kl+"(?:d|ll|m|re|s|t|ve))?",Ya="(?:"+Kl+"(?:D|LL|M|RE|S|T|VE))?",Ua=pu+"?",Ea="["+Pa+"]?",mu="(?:"+Ra+"(?:"+[Za,eo,to].join("|")+")"+Ea+Ua+")*",Su="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ma=Ea+Ua+mu,$u="(?:"+[du,eo,to].join("|")+")"+Ma,yu="(?:"+[Za+Js+"?",Js,eo,to,Ou].join("|")+")",vu=RegExp(Kl,"g"),wu=RegExp(Js,"g"),io=RegExp(Jl+"(?="+Jl+")|"+yu+Ma,"g"),Qu=RegExp([Nr+"?"+Ca+"+"+Aa+"(?="+[xa,Nr,"$"].join("|")+")",gu+"+"+Ya+"(?="+[xa,Nr+Xa,"$"].join("|")+")",Nr+"?"+Xa+"+"+Aa,Nr+"+"+Ya,bu,Su,Wa,$u].join("|"),"g"),ku=RegExp("["+Ra+Ks+Hl+Pa+"]"),Pu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_u=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xu=-1,Z={};Z[ri]=Z[qt]=Z[si]=Z[Le]=Z[xt]=Z[dn]=Z[Pt]=Z[Sr]=Z[Kt]=!0,Z[dt]=Z[Ut]=Z[kt]=Z[le]=Z[Di]=Z[F]=Z[ie]=Z[ft]=Z[De]=Z[st]=Z[gt]=Z[Ne]=Z[ae]=Z[je]=Z[mt]=!1;var se={};se[dt]=se[Ut]=se[kt]=se[Di]=se[le]=se[F]=se[ri]=se[qt]=se[si]=se[Le]=se[xt]=se[De]=se[st]=se[gt]=se[Ne]=se[ae]=se[je]=se[pt]=se[dn]=se[Pt]=se[Sr]=se[Kt]=!0,se[ie]=se[ft]=se[mt]=!1;var $e={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},ke={"&":"&","<":"<",">":">",'"':""","'":"'"},Ae={"&":"&","<":"<",">":">",""":'"',"'":"'"},Fe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,Pi=parseInt,Bt=typeof Wo=="object"&&Wo&&Wo.Object===Object&&Wo,Wu=typeof self=="object"&&self&&self.Object===Object&&self,li=Bt||Wu||Function("return this")(),Cu=e&&!e.nodeType&&e,_s=Cu&&!0&&n&&!n.nodeType&&n,sp=_s&&_s.exports===Cu,Tu=sp&&Bt.process,gn=function(){try{var V=_s&&_s.require&&_s.require("util").types;return V||Tu&&Tu.binding&&Tu.binding("util")}catch{}}(),lp=gn&&gn.isArrayBuffer,op=gn&&gn.isDate,ap=gn&&gn.isMap,fp=gn&&gn.isRegExp,cp=gn&&gn.isSet,up=gn&&gn.isTypedArray;function en(V,G,j){switch(j.length){case 0:return V.call(G);case 1:return V.call(G,j[0]);case 2:return V.call(G,j[0],j[1]);case 3:return V.call(G,j[0],j[1],j[2])}return V.apply(G,j)}function Jw(V,G,j,ve){for(var Ie=-1,bt=V==null?0:V.length;++Ie-1}function Zu(V,G,j){for(var ve=-1,Ie=V==null?0:V.length;++ve-1;);return j}function bp(V,G){for(var j=V.length;j--&&el(G,V[j],0)>-1;);return j}function aQ(V,G){for(var j=V.length,ve=0;j--;)V[j]===G&&++ve;return ve}var fQ=Yu($e),cQ=Yu(ke);function uQ(V){return"\\"+Fe[V]}function hQ(V,G){return V==null?t:V[G]}function tl(V){return ku.test(V)}function OQ(V){return Pu.test(V)}function dQ(V){for(var G,j=[];!(G=V.next()).done;)j.push(G.value);return j}function zu(V){var G=-1,j=Array(V.size);return V.forEach(function(ve,Ie){j[++G]=[Ie,ve]}),j}function $p(V,G){return function(j){return V(G(j))}}function jr(V,G){for(var j=-1,ve=V.length,Ie=0,bt=[];++j-1}function t2(f,c){var d=this.__data__,m=rf(d,f);return m<0?(++this.size,d.push([f,c])):d[m][1]=c,this}vr.prototype.clear=HQ,vr.prototype.delete=KQ,vr.prototype.get=JQ,vr.prototype.has=e2,vr.prototype.set=t2;function wr(f){var c=-1,d=f==null?0:f.length;for(this.clear();++c=c?f:c)),f}function $n(f,c,d,m,v,x){var R,A=c&O,D=c&p,ee=c&g;if(d&&(R=v?d(f,m,v,x):d(f)),R!==t)return R;if(!It(f))return f;var te=Be(f);if(te){if(R=sk(f),!A)return qi(f,R)}else{var ne=xi(f),ge=ne==ft||ne==Je;if(es(f))return ig(f,A);if(ne==gt||ne==dt||ge&&!v){if(R=D||ge?{}:yg(f),!A)return D?j2(f,m2(R,f)):B2(f,Zp(R,f))}else{if(!se[ne])return v?f:{};R=lk(f,ne,A)}}x||(x=new Un);var _e=x.get(f);if(_e)return _e;x.set(f,R),Gg(f)?f.forEach(function(Ue){R.add($n(Ue,c,d,Ue,f,x))}):jg(f)&&f.forEach(function(Ue,ct){R.set(ct,$n(Ue,c,d,ct,f,x))});var Ye=ee?D?hh:uh:D?Ni:Oi,et=te?t:Ye(f);return mn(et||f,function(Ue,ct){et&&(ct=Ue,Ue=f[ct]),fo(R,ct,$n(Ue,c,d,ct,f,x))}),R}function S2(f){var c=Oi(f);return function(d){return Rp(d,f,c)}}function Rp(f,c,d){var m=d.length;if(f==null)return!m;for(f=Wt(f);m--;){var v=d[m],x=c[v],R=f[v];if(R===t&&!(v in f)||!x(R))return!1}return!0}function Xp(f,c,d){if(typeof f!="function")throw new Sn(l);return mo(function(){f.apply(t,d)},c)}function co(f,c,d,m){var v=-1,x=za,R=!0,A=f.length,D=[],ee=c.length;if(!A)return D;d&&(c=Mt(c,tn(d))),m?(x=Zu,R=!1):c.length>=r&&(x=no,R=!1,c=new Cs(c));e:for(;++vv?0:v+d),m=m===t||m>v?v:Ge(m),m<0&&(m+=v),m=d>m?0:Kg(m);d0&&d(A)?c>1?Si(A,c-1,d,m,v):Br(v,A):m||(v[v.length]=A)}return v}var Bu=ag(),Up=ag(!0);function Jn(f,c){return f&&Bu(f,c,Oi)}function ju(f,c){return f&&Up(f,c,Oi)}function lf(f,c){return Lr(c,function(d){return xr(f[d])})}function Zs(f,c){c=Kr(c,f);for(var d=0,m=c.length;f!=null&&dc}function y2(f,c){return f!=null&&vt.call(f,c)}function v2(f,c){return f!=null&&c in Wt(f)}function w2(f,c,d){return f>=_i(c,d)&&f=120&&te.length>=120)?new Cs(R&&te):t}te=f[0];var ne=-1,ge=A[0];e:for(;++ne-1;)A!==f&&Ga.call(A,D,1),Ga.call(f,D,1);return f}function jp(f,c){for(var d=f?c.length:0,m=d-1;d--;){var v=c[d];if(d==m||v!==x){var x=v;_r(v)?Ga.call(f,v,1):rh(f,v)}}return f}function th(f,c){return f+Ja(xp()*(c-f+1))}function Y2(f,c,d,m){for(var v=-1,x=ai(Ka((c-f)/(d||1)),0),R=j(x);x--;)R[m?x:++v]=f,f+=d;return R}function ih(f,c){var d="";if(!f||c<1||c>Ve)return d;do c%2&&(d+=f),c=Ja(c/2),c&&(f+=f);while(c);return d}function rt(f,c){return bh(Qg(f,c,Li),f+"")}function U2(f){return Tp(hl(f))}function E2(f,c){var d=hl(f);return mf(d,Ts(c,0,d.length))}function Oo(f,c,d,m){if(!It(f))return f;c=Kr(c,f);for(var v=-1,x=c.length,R=x-1,A=f;A!=null&&++vv?0:v+c),d=d>v?v:d,d<0&&(d+=v),v=c>d?0:d-c>>>0,c>>>=0;for(var x=j(v);++m>>1,R=f[x];R!==null&&!rn(R)&&(d?R<=c:R=r){var ee=c?null:K2(f);if(ee)return Da(ee);R=!1,v=no,D=new Cs}else D=c?[]:A;e:for(;++m=m?f:yn(f,c,d)}var tg=WQ||function(f){return li.clearTimeout(f)};function ig(f,c){if(c)return f.slice();var d=f.length,m=wp?wp(d):new f.constructor(d);return f.copy(m),m}function ah(f){var c=new f.constructor(f.byteLength);return new ja(c).set(new ja(f)),c}function q2(f,c){var d=c?ah(f.buffer):f.buffer;return new f.constructor(d,f.byteOffset,f.byteLength)}function I2(f){var c=new f.constructor(f.source,js.exec(f));return c.lastIndex=f.lastIndex,c}function N2(f){return ao?Wt(ao.call(f)):{}}function ng(f,c){var d=c?ah(f.buffer):f.buffer;return new f.constructor(d,f.byteOffset,f.length)}function rg(f,c){if(f!==c){var d=f!==t,m=f===null,v=f===f,x=rn(f),R=c!==t,A=c===null,D=c===c,ee=rn(c);if(!A&&!ee&&!x&&f>c||x&&R&&D&&!A&&!ee||m&&R&&D||!d&&D||!v)return 1;if(!m&&!x&&!ee&&f=A)return D;var ee=d[m];return D*(ee=="desc"?-1:1)}}return f.index-c.index}function sg(f,c,d,m){for(var v=-1,x=f.length,R=d.length,A=-1,D=c.length,ee=ai(x-R,0),te=j(D+ee),ne=!m;++A1?d[v-1]:t,R=v>2?d[2]:t;for(x=f.length>3&&typeof x=="function"?(v--,x):t,R&&Ui(d[0],d[1],R)&&(x=v<3?t:x,v=1),c=Wt(c);++m-1?v[x?c[R]:R]:t}}function ug(f){return Pr(function(c){var d=c.length,m=d,v=bn.prototype.thru;for(f&&c.reverse();m--;){var x=c[m];if(typeof x!="function")throw new Sn(l);if(v&&!R&&pf(x)=="wrapper")var R=new bn([],!0)}for(m=R?m:d;++m1&&Ot.reverse(),te&&DA))return!1;var ee=x.get(f),te=x.get(c);if(ee&&te)return ee==c&&te==f;var ne=-1,ge=!0,_e=d&y?new Cs:t;for(x.set(f,c),x.set(c,f);++ne1?"& ":"")+c[m],c=c.join(d>2?", ":" "),f.replace(qr,`{ -/* [wrapped with `+c+`] */ -`)}function ak(f){return Be(f)||As(f)||!!(Pp&&f&&f[Pp])}function _r(f,c){var d=typeof f;return c=c??Ve,!!c&&(d=="number"||d!="symbol"&&Gs.test(f))&&f>-1&&f%1==0&&f0){if(++c>=re)return arguments[0]}else c=0;return f.apply(t,arguments)}}function mf(f,c){var d=-1,m=f.length,v=m-1;for(c=c===t?m:c;++d1?f[c-1]:t;return d=typeof d=="function"?(f.pop(),d):t,Yg(f,d)});function Ug(f){var c=P(f);return c.__chain__=!0,c}function bP(f,c){return c(f),f}function Sf(f,c){return c(f)}var $P=Pr(function(f){var c=f.length,d=c?f[0]:0,m=this.__wrapped__,v=function(x){return Lu(x,f)};return c>1||this.__actions__.length||!(m instanceof ut)||!_r(d)?this.thru(v):(m=m.slice(d,+d+(c?1:0)),m.__actions__.push({func:Sf,args:[v],thisArg:t}),new bn(m,this.__chain__).thru(function(x){return c&&!x.length&&x.push(t),x}))});function yP(){return Ug(this)}function vP(){return new bn(this.value(),this.__chain__)}function wP(){this.__values__===t&&(this.__values__=Hg(this.value()));var f=this.__index__>=this.__values__.length,c=f?t:this.__values__[this.__index__++];return{done:f,value:c}}function QP(){return this}function kP(f){for(var c,d=this;d instanceof nf;){var m=Cg(d);m.__index__=0,m.__values__=t,c?v.__wrapped__=m:c=m;var v=m;d=d.__wrapped__}return v.__wrapped__=f,c}function PP(){var f=this.__wrapped__;if(f instanceof ut){var c=f;return this.__actions__.length&&(c=new ut(this)),c=c.reverse(),c.__actions__.push({func:Sf,args:[$h],thisArg:t}),new bn(c,this.__chain__)}return this.thru($h)}function _P(){return Jp(this.__wrapped__,this.__actions__)}var xP=cf(function(f,c,d){vt.call(f,d)?++f[d]:Qr(f,d,1)});function WP(f,c,d){var m=Be(f)?hp:b2;return d&&Ui(f,c,d)&&(c=t),m(f,Xe(c,3))}function CP(f,c){var d=Be(f)?Lr:Yp;return d(f,Xe(c,3))}var TP=cg(Tg),ZP=cg(Zg);function RP(f,c){return Si(bf(f,c),1)}function XP(f,c){return Si(bf(f,c),ce)}function AP(f,c,d){return d=d===t?1:Ge(d),Si(bf(f,c),d)}function Eg(f,c){var d=Be(f)?mn:Gr;return d(f,Xe(c,3))}function Mg(f,c){var d=Be(f)?eQ:Ap;return d(f,Xe(c,3))}var YP=cf(function(f,c,d){vt.call(f,d)?f[d].push(c):Qr(f,d,[c])});function UP(f,c,d,m){f=Ii(f)?f:hl(f),d=d&&!m?Ge(d):0;var v=f.length;return d<0&&(d=ai(v+d,0)),Qf(f)?d<=v&&f.indexOf(c,d)>-1:!!v&&el(f,c,d)>-1}var EP=rt(function(f,c,d){var m=-1,v=typeof c=="function",x=Ii(f)?j(f.length):[];return Gr(f,function(R){x[++m]=v?en(c,R,d):uo(R,c,d)}),x}),MP=cf(function(f,c,d){Qr(f,d,c)});function bf(f,c){var d=Be(f)?Mt:Dp;return d(f,Xe(c,3))}function zP(f,c,d,m){return f==null?[]:(Be(c)||(c=c==null?[]:[c]),d=m?t:d,Be(d)||(d=d==null?[]:[d]),Lp(f,c,d))}var VP=cf(function(f,c,d){f[d?0:1].push(c)},function(){return[[],[]]});function DP(f,c,d){var m=Be(f)?Ru:gp,v=arguments.length<3;return m(f,Xe(c,4),d,v,Gr)}function qP(f,c,d){var m=Be(f)?tQ:gp,v=arguments.length<3;return m(f,Xe(c,4),d,v,Ap)}function IP(f,c){var d=Be(f)?Lr:Yp;return d(f,vf(Xe(c,3)))}function NP(f){var c=Be(f)?Tp:U2;return c(f)}function LP(f,c,d){(d?Ui(f,c,d):c===t)?c=1:c=Ge(c);var m=Be(f)?d2:E2;return m(f,c)}function BP(f){var c=Be(f)?p2:z2;return c(f)}function jP(f){if(f==null)return 0;if(Ii(f))return Qf(f)?il(f):f.length;var c=xi(f);return c==De||c==ae?f.size:Ku(f).length}function FP(f,c,d){var m=Be(f)?Xu:V2;return d&&Ui(f,c,d)&&(c=t),m(f,Xe(c,3))}var GP=rt(function(f,c){if(f==null)return[];var d=c.length;return d>1&&Ui(f,c[0],c[1])?c=[]:d>2&&Ui(c[0],c[1],c[2])&&(c=[c[0]]),Lp(f,Si(c,1),[])}),$f=CQ||function(){return li.Date.now()};function HP(f,c){if(typeof c!="function")throw new Sn(l);return f=Ge(f),function(){if(--f<1)return c.apply(this,arguments)}}function zg(f,c,d){return c=d?t:c,c=f&&c==null?f.length:c,kr(f,z,t,t,t,t,c)}function Vg(f,c){var d;if(typeof c!="function")throw new Sn(l);return f=Ge(f),function(){return--f>0&&(d=c.apply(this,arguments)),f<=1&&(c=t),d}}var vh=rt(function(f,c,d){var m=$;if(d.length){var v=jr(d,cl(vh));m|=C}return kr(f,m,c,d,v)}),Dg=rt(function(f,c,d){var m=$|k;if(d.length){var v=jr(d,cl(Dg));m|=C}return kr(c,m,f,d,v)});function qg(f,c,d){c=d?t:c;var m=kr(f,X,t,t,t,t,t,c);return m.placeholder=qg.placeholder,m}function Ig(f,c,d){c=d?t:c;var m=kr(f,T,t,t,t,t,t,c);return m.placeholder=Ig.placeholder,m}function Ng(f,c,d){var m,v,x,R,A,D,ee=0,te=!1,ne=!1,ge=!0;if(typeof f!="function")throw new Sn(l);c=wn(c)||0,It(d)&&(te=!!d.leading,ne="maxWait"in d,x=ne?ai(wn(d.maxWait)||0,c):x,ge="trailing"in d?!!d.trailing:ge);function _e(ei){var Mn=m,Cr=v;return m=v=t,ee=ei,R=f.apply(Cr,Mn),R}function Ye(ei){return ee=ei,A=mo(ct,c),te?_e(ei):R}function et(ei){var Mn=ei-D,Cr=ei-ee,cm=c-Mn;return ne?_i(cm,x-Cr):cm}function Ue(ei){var Mn=ei-D,Cr=ei-ee;return D===t||Mn>=c||Mn<0||ne&&Cr>=x}function ct(){var ei=$f();if(Ue(ei))return Ot(ei);A=mo(ct,et(ei))}function Ot(ei){return A=t,ge&&m?_e(ei):(m=v=t,R)}function sn(){A!==t&&tg(A),ee=0,m=D=v=A=t}function Ei(){return A===t?R:Ot($f())}function ln(){var ei=$f(),Mn=Ue(ei);if(m=arguments,v=this,D=ei,Mn){if(A===t)return Ye(D);if(ne)return tg(A),A=mo(ct,c),_e(D)}return A===t&&(A=mo(ct,c)),R}return ln.cancel=sn,ln.flush=Ei,ln}var KP=rt(function(f,c){return Xp(f,1,c)}),JP=rt(function(f,c,d){return Xp(f,wn(c)||0,d)});function e_(f){return kr(f,L)}function yf(f,c){if(typeof f!="function"||c!=null&&typeof c!="function")throw new Sn(l);var d=function(){var m=arguments,v=c?c.apply(this,m):m[0],x=d.cache;if(x.has(v))return x.get(v);var R=f.apply(this,m);return d.cache=x.set(v,R)||x,R};return d.cache=new(yf.Cache||wr),d}yf.Cache=wr;function vf(f){if(typeof f!="function")throw new Sn(l);return function(){var c=arguments;switch(c.length){case 0:return!f.call(this);case 1:return!f.call(this,c[0]);case 2:return!f.call(this,c[0],c[1]);case 3:return!f.call(this,c[0],c[1],c[2])}return!f.apply(this,c)}}function t_(f){return Vg(2,f)}var i_=D2(function(f,c){c=c.length==1&&Be(c[0])?Mt(c[0],tn(Xe())):Mt(Si(c,1),tn(Xe()));var d=c.length;return rt(function(m){for(var v=-1,x=_i(m.length,d);++v=c}),As=Mp(function(){return arguments}())?Mp:function(f){return jt(f)&&vt.call(f,"callee")&&!kp.call(f,"callee")},Be=j.isArray,m_=lp?tn(lp):k2;function Ii(f){return f!=null&&wf(f.length)&&!xr(f)}function Jt(f){return jt(f)&&Ii(f)}function S_(f){return f===!0||f===!1||jt(f)&&Yi(f)==le}var es=ZQ||Xh,b_=op?tn(op):P2;function $_(f){return jt(f)&&f.nodeType===1&&!So(f)}function y_(f){if(f==null)return!0;if(Ii(f)&&(Be(f)||typeof f=="string"||typeof f.splice=="function"||es(f)||ul(f)||As(f)))return!f.length;var c=xi(f);if(c==De||c==ae)return!f.size;if(go(f))return!Ku(f).length;for(var d in f)if(vt.call(f,d))return!1;return!0}function v_(f,c){return ho(f,c)}function w_(f,c,d){d=typeof d=="function"?d:t;var m=d?d(f,c):t;return m===t?ho(f,c,t,d):!!m}function Qh(f){if(!jt(f))return!1;var c=Yi(f);return c==ie||c==ue||typeof f.message=="string"&&typeof f.name=="string"&&!So(f)}function Q_(f){return typeof f=="number"&&_p(f)}function xr(f){if(!It(f))return!1;var c=Yi(f);return c==ft||c==Je||c==be||c==Gn}function Bg(f){return typeof f=="number"&&f==Ge(f)}function wf(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=Ve}function It(f){var c=typeof f;return f!=null&&(c=="object"||c=="function")}function jt(f){return f!=null&&typeof f=="object"}var jg=ap?tn(ap):x2;function k_(f,c){return f===c||Hu(f,c,dh(c))}function P_(f,c,d){return d=typeof d=="function"?d:t,Hu(f,c,dh(c),d)}function __(f){return Fg(f)&&f!=+f}function x_(f){if(uk(f))throw new Ie(s);return zp(f)}function W_(f){return f===null}function C_(f){return f==null}function Fg(f){return typeof f=="number"||jt(f)&&Yi(f)==st}function So(f){if(!jt(f)||Yi(f)!=gt)return!1;var c=Fa(f);if(c===null)return!0;var d=vt.call(c,"constructor")&&c.constructor;return typeof d=="function"&&d instanceof d&&Na.call(d)==PQ}var kh=fp?tn(fp):W2;function T_(f){return Bg(f)&&f>=-Ve&&f<=Ve}var Gg=cp?tn(cp):C2;function Qf(f){return typeof f=="string"||!Be(f)&&jt(f)&&Yi(f)==je}function rn(f){return typeof f=="symbol"||jt(f)&&Yi(f)==pt}var ul=up?tn(up):T2;function Z_(f){return f===t}function R_(f){return jt(f)&&xi(f)==mt}function X_(f){return jt(f)&&Yi(f)==Et}var A_=df(Ju),Y_=df(function(f,c){return f<=c});function Hg(f){if(!f)return[];if(Ii(f))return Qf(f)?Yn(f):qi(f);if(ro&&f[ro])return dQ(f[ro]());var c=xi(f),d=c==De?zu:c==ae?Da:hl;return d(f)}function Wr(f){if(!f)return f===0?f:0;if(f=wn(f),f===ce||f===-ce){var c=f<0?-1:1;return c*Ke}return f===f?f:0}function Ge(f){var c=Wr(f),d=c%1;return c===c?d?c-d:c:0}function Kg(f){return f?Ts(Ge(f),0,Ce):0}function wn(f){if(typeof f=="number")return f;if(rn(f))return Te;if(It(f)){var c=typeof f.valueOf=="function"?f.valueOf():f;f=It(c)?c+"":c}if(typeof f!="string")return f===0?f:+f;f=mp(f);var d=ou.test(f);return d||ya.test(f)?Pi(f.slice(2),d?2:8):Fs.test(f)?Te:+f}function Jg(f){return er(f,Ni(f))}function U_(f){return f?Ts(Ge(f),-Ve,Ve):f===0?f:0}function yt(f){return f==null?"":nn(f)}var E_=al(function(f,c){if(go(c)||Ii(c)){er(c,Oi(c),f);return}for(var d in c)vt.call(c,d)&&fo(f,d,c[d])}),em=al(function(f,c){er(c,Ni(c),f)}),kf=al(function(f,c,d,m){er(c,Ni(c),f,m)}),M_=al(function(f,c,d,m){er(c,Oi(c),f,m)}),z_=Pr(Lu);function V_(f,c){var d=ol(f);return c==null?d:Zp(d,c)}var D_=rt(function(f,c){f=Wt(f);var d=-1,m=c.length,v=m>2?c[2]:t;for(v&&Ui(c[0],c[1],v)&&(m=1);++d1),x}),er(f,hh(f),d),m&&(d=$n(d,O|p|g,J2));for(var v=c.length;v--;)rh(d,c[v]);return d});function lx(f,c){return im(f,vf(Xe(c)))}var ox=Pr(function(f,c){return f==null?{}:X2(f,c)});function im(f,c){if(f==null)return{};var d=Mt(hh(f),function(m){return[m]});return c=Xe(c),Bp(f,d,function(m,v){return c(m,v[0])})}function ax(f,c,d){c=Kr(c,f);var m=-1,v=c.length;for(v||(v=1,f=t);++mc){var m=f;f=c,c=m}if(d||f%1||c%1){var v=xp();return _i(f+v*(c-f+lt("1e-"+((v+"").length-1))),c)}return th(f,c)}var bx=fl(function(f,c,d){return c=c.toLowerCase(),f+(d?sm(c):c)});function sm(f){return xh(yt(f).toLowerCase())}function lm(f){return f=yt(f),f&&f.replace(va,fQ).replace(wu,"")}function $x(f,c,d){f=yt(f),c=nn(c);var m=f.length;d=d===t?m:Ts(Ge(d),0,m);var v=d;return d-=c.length,d>=0&&f.slice(d,v)==c}function yx(f){return f=yt(f),f&&ws.test(f)?f.replace(ki,cQ):f}function vx(f){return f=yt(f),f&&Dr.test(f)?f.replace(Kn,"\\$&"):f}var wx=fl(function(f,c,d){return f+(d?"-":"")+c.toLowerCase()}),Qx=fl(function(f,c,d){return f+(d?" ":"")+c.toLowerCase()}),kx=fg("toLowerCase");function Px(f,c,d){f=yt(f),c=Ge(c);var m=c?il(f):0;if(!c||m>=c)return f;var v=(c-m)/2;return Of(Ja(v),d)+f+Of(Ka(v),d)}function _x(f,c,d){f=yt(f),c=Ge(c);var m=c?il(f):0;return c&&m>>0,d?(f=yt(f),f&&(typeof c=="string"||c!=null&&!kh(c))&&(c=nn(c),!c&&tl(f))?Jr(Yn(f),0,d):f.split(c,d)):[]}var Xx=fl(function(f,c,d){return f+(d?" ":"")+xh(c)});function Ax(f,c,d){return f=yt(f),d=d==null?0:Ts(Ge(d),0,f.length),c=nn(c),f.slice(d,d+c.length)==c}function Yx(f,c,d){var m=P.templateSettings;d&&Ui(f,c,d)&&(c=t),f=yt(f),c=kf({},c,m,gg);var v=kf({},c.imports,m.imports,gg),x=Oi(v),R=Mu(v,x),A,D,ee=0,te=c.interpolate||Hs,ne="__p += '",ge=Vu((c.escape||Hs).source+"|"+te.source+"|"+(te===ye?yr:Hs).source+"|"+(c.evaluate||Hs).source+"|$","g"),_e="//# sourceURL="+(vt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++xu+"]")+` -`;f.replace(ge,function(Ue,ct,Ot,sn,Ei,ln){return Ot||(Ot=sn),ne+=f.slice(ee,ln).replace(au,uQ),ct&&(A=!0,ne+=`' + + */Lc.exports;(function(n,e){(function(){var t,i="4.17.21",r=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",o="Invalid `variable` option passed into `_.template`",a="__lodash_hash_undefined__",c=500,h="__lodash_placeholder__",O=1,p=2,g=4,b=1,y=2,$=1,k=2,W=4,X=8,R=16,T=32,E=64,M=128,z=256,B=512,I=30,K="...",ne=800,Oe=16,oe=1,Ce=2,ue=3,fe=1/0,Xe=9007199254740991,Ie=17976931348623157e292,Qe=NaN,xe=4294967295,it=xe-1,Ut=xe>>>1,Qt=[["ary",M],["bind",$],["bindKey",k],["curry",X],["curryRight",R],["flip",B],["partial",T],["partialRight",E],["rearg",z]],dt="[object Arguments]",Et="[object Array]",$e="[object AsyncFunction]",se="[object Boolean]",F="[object Date]",he="[object DOMException]",ie="[object Error]",ft="[object Function]",et="[object GeneratorFunction]",Ne="[object Map]",rt="[object Number]",zt="[object Null]",pt="[object Object]",$t="[object Promise]",En="[object Proxy]",Rt="[object RegExp]",Ye="[object Set]",ae="[object String]",St="[object Symbol]",Ze="[object Undefined]",st="[object WeakMap]",Dt="[object WeakSet]",gt="[object ArrayBuffer]",qi="[object DataView]",si="[object Float32Array]",Lt="[object Float64Array]",mn="[object Int8Array]",_t="[object Int16Array]",Ue="[object Int32Array]",Sn="[object Uint8Array]",ii="[object Uint8ClampedArray]",Bt="[object Uint16Array]",mi="[object Uint32Array]",er=/\b__p \+= '';/g,tn=/\b(__p \+=) '' \+/g,Yi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vr=/&(?:amp|lt|gt|quot|#39);/g,Si=/[&<>"']/g,Fl=RegExp(vr.source),_s=RegExp(Si.source),Fs=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,nn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nr=/^\w*$/,wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zn=/[\\^$.*+?()[\]{}|]/g,Lr=RegExp(zn.source),Qr=/^\s+/,tr=/\s/,kt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,kr=/\{\n\/\* \[wrapped with (.+)\] \*/,Br=/,? & /,Gl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Hl=/[()=,{}\[\]\/\s]/,va=/\\(\\)?/g,jr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ir=/\w*$/,Kl=/^[-+]0x[0-9a-f]+$/i,Gs=/^0b[01]+$/i,au=/^\[object .+?Constructor\]$/,wa=/^0o[0-7]+$/i,Qa=/^(?:0|[1-9]\d*)$/,Hs=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ps=/($^)/,fu=/['\n\r\u2028\u2029\\]/g,Ks="\\ud800-\\udfff",cu="\\u0300-\\u036f",bn="\\ufe20-\\ufe2f",xs="\\u20d0-\\u20ff",Fr=cu+bn+xs,Jl="\\u2700-\\u27bf",ka="a-z\\xdf-\\xf6\\xf8-\\xff",uu="\\xac\\xb1\\xd7\\xf7",hu="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ou="\\u2000-\\u206f",du=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",_a="A-Z\\xc0-\\xd6\\xd8-\\xde",Pa="\\ufe0e\\ufe0f",xa=uu+hu+Ou+du,eo="['’]",pu="["+Ks+"]",Wa="["+xa+"]",Js="["+Fr+"]",Ca="\\d+",gu="["+Jl+"]",Ta="["+ka+"]",Za="[^"+Ks+xa+Ca+Jl+ka+_a+"]",to="\\ud83c[\\udffb-\\udfff]",mu="(?:"+Js+"|"+to+")",Ra="[^"+Ks+"]",io="(?:\\ud83c[\\udde6-\\uddff]){2}",no="[\\ud800-\\udbff][\\udc00-\\udfff]",Gr="["+_a+"]",Xa="\\u200d",Aa="(?:"+Ta+"|"+Za+")",Su="(?:"+Gr+"|"+Za+")",Ya="(?:"+eo+"(?:d|ll|m|re|s|t|ve))?",Ua="(?:"+eo+"(?:D|LL|M|RE|S|T|VE))?",Ea=mu+"?",za="["+Pa+"]?",bu="(?:"+Xa+"(?:"+[Ra,io,no].join("|")+")"+za+Ea+")*",$u="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ma=za+Ea+bu,vu="(?:"+[gu,io,no].join("|")+")"+Ma,wu="(?:"+[Ra+Js+"?",Js,io,no,pu].join("|")+")",Qu=RegExp(eo,"g"),ku=RegExp(Js,"g"),ro=RegExp(to+"(?="+to+")|"+wu+Ma,"g"),_u=RegExp([Gr+"?"+Ta+"+"+Ya+"(?="+[Wa,Gr,"$"].join("|")+")",Su+"+"+Ua+"(?="+[Wa,Gr+Aa,"$"].join("|")+")",Gr+"?"+Aa+"+"+Ya,Gr+"+"+Ua,yu,$u,Ca,vu].join("|"),"g"),Pu=RegExp("["+Xa+Ks+Fr+Pa+"]"),xu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Wu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Cu=-1,Pt={};Pt[si]=Pt[Lt]=Pt[mn]=Pt[_t]=Pt[Ue]=Pt[Sn]=Pt[ii]=Pt[Bt]=Pt[mi]=!0,Pt[dt]=Pt[Et]=Pt[gt]=Pt[se]=Pt[qi]=Pt[F]=Pt[ie]=Pt[ft]=Pt[Ne]=Pt[rt]=Pt[pt]=Pt[Rt]=Pt[Ye]=Pt[ae]=Pt[st]=!1;var C={};C[dt]=C[Et]=C[gt]=C[qi]=C[se]=C[F]=C[si]=C[Lt]=C[mn]=C[_t]=C[Ue]=C[Ne]=C[rt]=C[pt]=C[Rt]=C[Ye]=C[ae]=C[St]=C[Sn]=C[ii]=C[Bt]=C[mi]=!0,C[ie]=C[ft]=C[st]=!1;var de={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},be={"&":"&","<":"<",">":">",'"':""","'":"'"},_e={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ee={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ge=parseFloat,lt=parseInt,bi=typeof Zo=="object"&&Zo&&Zo.Object===Object&&Zo,Kt=typeof self=="object"&&self&&self.Object===Object&&self,li=bi||Kt||Function("return this")(),so=e&&!e.nodeType&&e,Ws=so&&!0&&n&&!n.nodeType&&n,sp=Ws&&Ws.exports===so,Tu=sp&&bi.process,$n=function(){try{var V=Ws&&Ws.require&&Ws.require("util").types;return V||Tu&&Tu.binding&&Tu.binding("util")}catch{}}(),lp=$n&&$n.isArrayBuffer,op=$n&&$n.isDate,ap=$n&&$n.isMap,fp=$n&&$n.isRegExp,cp=$n&&$n.isSet,up=$n&&$n.isTypedArray;function rn(V,G,j){switch(j.length){case 0:return V.call(G);case 1:return V.call(G,j[0]);case 2:return V.call(G,j[0],j[1]);case 3:return V.call(G,j[0],j[1],j[2])}return V.apply(G,j)}function iQ(V,G,j,ye){for(var Be=-1,bt=V==null?0:V.length;++Be-1}function Zu(V,G,j){for(var ye=-1,Be=V==null?0:V.length;++ye-1;);return j}function bp(V,G){for(var j=V.length;j--&&el(G,V[j],0)>-1;);return j}function uQ(V,G){for(var j=V.length,ye=0;j--;)V[j]===G&&++ye;return ye}var hQ=Yu(de),OQ=Yu(be);function dQ(V){return"\\"+Ee[V]}function pQ(V,G){return V==null?t:V[G]}function tl(V){return Pu.test(V)}function gQ(V){return xu.test(V)}function mQ(V){for(var G,j=[];!(G=V.next()).done;)j.push(G.value);return j}function Mu(V){var G=-1,j=Array(V.size);return V.forEach(function(ye,Be){j[++G]=[Be,ye]}),j}function $p(V,G){return function(j){return V(G(j))}}function Jr(V,G){for(var j=-1,ye=V.length,Be=0,bt=[];++j-1}function r2(f,u){var d=this.__data__,m=sf(d,f);return m<0?(++this.size,d.push([f,u])):d[m][1]=u,this}_r.prototype.clear=e2,_r.prototype.delete=t2,_r.prototype.get=i2,_r.prototype.has=n2,_r.prototype.set=r2;function Pr(f){var u=-1,d=f==null?0:f.length;for(this.clear();++u=u?f:u)),f}function Qn(f,u,d,m,w,x){var Z,Y=u&O,q=u&p,ee=u&g;if(d&&(Z=w?d(f,m,w,x):d(f)),Z!==t)return Z;if(!qt(f))return f;var te=je(f);if(te){if(Z=ak(f),!Y)return Ii(f,Z)}else{var re=xi(f),me=re==ft||re==et;if(ss(f))return ig(f,Y);if(re==pt||re==dt||me&&!w){if(Z=q||me?{}:yg(f),!Y)return q?H2(f,$2(Z,f)):G2(f,Zp(Z,f))}else{if(!C[re])return w?f:{};Z=fk(f,re,Y)}}x||(x=new Vn);var We=x.get(f);if(We)return We;x.set(f,Z),Gg(f)?f.forEach(function(Me){Z.add(Qn(Me,u,d,Me,f,x))}):jg(f)&&f.forEach(function(Me,ct){Z.set(ct,Qn(Me,u,d,ct,f,x))});var ze=ee?q?hh:uh:q?Li:Oi,tt=te?t:ze(f);return yn(tt||f,function(Me,ct){tt&&(ct=Me,Me=f[ct]),ho(Z,ct,Qn(Me,u,d,ct,f,x))}),Z}function y2(f){var u=Oi(f);return function(d){return Rp(d,f,u)}}function Rp(f,u,d){var m=d.length;if(f==null)return!m;for(f=xt(f);m--;){var w=d[m],x=u[w],Z=f[w];if(Z===t&&!(w in f)||!x(Z))return!1}return!0}function Xp(f,u,d){if(typeof f!="function")throw new vn(l);return $o(function(){f.apply(t,d)},u)}function Oo(f,u,d,m){var w=-1,x=Va,Z=!0,Y=f.length,q=[],ee=u.length;if(!Y)return q;d&&(u=Mt(u,sn(d))),m?(x=Zu,Z=!1):u.length>=r&&(x=lo,Z=!1,u=new Zs(u));e:for(;++ww?0:w+d),m=m===t||m>w?w:He(m),m<0&&(m+=w),m=d>m?0:Kg(m);d0&&d(Y)?u>1?$i(Y,u-1,d,m,w):Kr(w,Y):m||(w[w.length]=Y)}return w}var Bu=ag(),Up=ag(!0);function nr(f,u){return f&&Bu(f,u,Oi)}function ju(f,u){return f&&Up(f,u,Oi)}function of(f,u){return Hr(u,function(d){return Zr(f[d])})}function Xs(f,u){u=ns(u,f);for(var d=0,m=u.length;f!=null&&du}function Q2(f,u){return f!=null&&vt.call(f,u)}function k2(f,u){return f!=null&&u in xt(f)}function _2(f,u,d){return f>=Pi(u,d)&&f=120&&te.length>=120)?new Zs(Z&&te):t}te=f[0];var re=-1,me=Y[0];e:for(;++re-1;)Y!==f&&Ha.call(Y,q,1),Ha.call(f,q,1);return f}function jp(f,u){for(var d=f?u.length:0,m=d-1;d--;){var w=u[d];if(d==m||w!==x){var x=w;Tr(w)?Ha.call(f,w,1):rh(f,w)}}return f}function th(f,u){return f+ef(xp()*(u-f+1))}function z2(f,u,d,m){for(var w=-1,x=ai(Ja((u-f)/(d||1)),0),Z=j(x);x--;)Z[m?x:++w]=f,f+=d;return Z}function ih(f,u){var d="";if(!f||u<1||u>Xe)return d;do u%2&&(d+=f),u=ef(u/2),u&&(f+=f);while(u);return d}function nt(f,u){return bh(Qg(f,u,Bi),f+"")}function M2(f){return Tp(hl(f))}function V2(f,u){var d=hl(f);return Sf(d,Rs(u,0,d.length))}function mo(f,u,d,m){if(!qt(f))return f;u=ns(u,f);for(var w=-1,x=u.length,Z=x-1,Y=f;Y!=null&&++ww?0:w+u),d=d>w?w:d,d<0&&(d+=w),w=u>d?0:d-u>>>0,u>>>=0;for(var x=j(w);++m>>1,Z=f[x];Z!==null&&!on(Z)&&(d?Z<=u:Z=r){var ee=u?null:tk(f);if(ee)return qa(ee);Z=!1,w=lo,q=new Zs}else q=u?[]:Y;e:for(;++m=m?f:kn(f,u,d)}var tg=ZQ||function(f){return li.clearTimeout(f)};function ig(f,u){if(u)return f.slice();var d=f.length,m=wp?wp(d):new f.constructor(d);return f.copy(m),m}function ah(f){var u=new f.constructor(f.byteLength);return new Fa(u).set(new Fa(f)),u}function L2(f,u){var d=u?ah(f.buffer):f.buffer;return new f.constructor(d,f.byteOffset,f.byteLength)}function B2(f){var u=new f.constructor(f.source,ir.exec(f));return u.lastIndex=f.lastIndex,u}function j2(f){return uo?xt(uo.call(f)):{}}function ng(f,u){var d=u?ah(f.buffer):f.buffer;return new f.constructor(d,f.byteOffset,f.length)}function rg(f,u){if(f!==u){var d=f!==t,m=f===null,w=f===f,x=on(f),Z=u!==t,Y=u===null,q=u===u,ee=on(u);if(!Y&&!ee&&!x&&f>u||x&&Z&&q&&!Y&&!ee||m&&Z&&q||!d&&q||!w)return 1;if(!m&&!x&&!ee&&f=Y)return q;var ee=d[m];return q*(ee=="desc"?-1:1)}}return f.index-u.index}function sg(f,u,d,m){for(var w=-1,x=f.length,Z=d.length,Y=-1,q=u.length,ee=ai(x-Z,0),te=j(q+ee),re=!m;++Y1?d[w-1]:t,Z=w>2?d[2]:t;for(x=f.length>3&&typeof x=="function"?(w--,x):t,Z&&Ei(d[0],d[1],Z)&&(x=w<3?t:x,w=1),u=xt(u);++m-1?w[x?u[Z]:Z]:t}}function ug(f){return Cr(function(u){var d=u.length,m=d,w=wn.prototype.thru;for(f&&u.reverse();m--;){var x=u[m];if(typeof x!="function")throw new vn(l);if(w&&!Z&&gf(x)=="wrapper")var Z=new wn([],!0)}for(m=Z?m:d;++m1&&Ot.reverse(),te&&qY))return!1;var ee=x.get(f),te=x.get(u);if(ee&&te)return ee==u&&te==f;var re=-1,me=!0,We=d&y?new Zs:t;for(x.set(f,u),x.set(u,f);++re1?"& ":"")+u[m],u=u.join(d>2?", ":" "),f.replace(kt,`{ +/* [wrapped with `+u+`] */ +`)}function uk(f){return je(f)||Us(f)||!!(_p&&f&&f[_p])}function Tr(f,u){var d=typeof f;return u=u??Xe,!!u&&(d=="number"||d!="symbol"&&Qa.test(f))&&f>-1&&f%1==0&&f0){if(++u>=ne)return arguments[0]}else u=0;return f.apply(t,arguments)}}function Sf(f,u){var d=-1,m=f.length,w=m-1;for(u=u===t?m:u;++d1?f[u-1]:t;return d=typeof d=="function"?(f.pop(),d):t,Yg(f,d)});function Ug(f){var u=_(f);return u.__chain__=!0,u}function v_(f,u){return u(f),f}function bf(f,u){return u(f)}var w_=Cr(function(f){var u=f.length,d=u?f[0]:0,m=this.__wrapped__,w=function(x){return Lu(x,f)};return u>1||this.__actions__.length||!(m instanceof ut)||!Tr(d)?this.thru(w):(m=m.slice(d,+d+(u?1:0)),m.__actions__.push({func:bf,args:[w],thisArg:t}),new wn(m,this.__chain__).thru(function(x){return u&&!x.length&&x.push(t),x}))});function Q_(){return Ug(this)}function k_(){return new wn(this.value(),this.__chain__)}function __(){this.__values__===t&&(this.__values__=Hg(this.value()));var f=this.__index__>=this.__values__.length,u=f?t:this.__values__[this.__index__++];return{done:f,value:u}}function P_(){return this}function x_(f){for(var u,d=this;d instanceof rf;){var m=Cg(d);m.__index__=0,m.__values__=t,u?w.__wrapped__=m:u=m;var w=m;d=d.__wrapped__}return w.__wrapped__=f,u}function W_(){var f=this.__wrapped__;if(f instanceof ut){var u=f;return this.__actions__.length&&(u=new ut(this)),u=u.reverse(),u.__actions__.push({func:bf,args:[$h],thisArg:t}),new wn(u,this.__chain__)}return this.thru($h)}function C_(){return Jp(this.__wrapped__,this.__actions__)}var T_=uf(function(f,u,d){vt.call(f,d)?++f[d]:xr(f,d,1)});function Z_(f,u,d){var m=je(f)?hp:v2;return d&&Ei(f,u,d)&&(u=t),m(f,Ae(u,3))}function R_(f,u){var d=je(f)?Hr:Yp;return d(f,Ae(u,3))}var X_=cg(Tg),A_=cg(Zg);function Y_(f,u){return $i($f(f,u),1)}function U_(f,u){return $i($f(f,u),fe)}function E_(f,u,d){return d=d===t?1:He(d),$i($f(f,u),d)}function Eg(f,u){var d=je(f)?yn:ts;return d(f,Ae(u,3))}function zg(f,u){var d=je(f)?nQ:Ap;return d(f,Ae(u,3))}var z_=uf(function(f,u,d){vt.call(f,d)?f[d].push(u):xr(f,d,[u])});function M_(f,u,d,m){f=Ni(f)?f:hl(f),d=d&&!m?He(d):0;var w=f.length;return d<0&&(d=ai(w+d,0)),kf(f)?d<=w&&f.indexOf(u,d)>-1:!!w&&el(f,u,d)>-1}var V_=nt(function(f,u,d){var m=-1,w=typeof u=="function",x=Ni(f)?j(f.length):[];return ts(f,function(Z){x[++m]=w?rn(u,Z,d):po(Z,u,d)}),x}),D_=uf(function(f,u,d){xr(f,d,u)});function $f(f,u){var d=je(f)?Mt:Dp;return d(f,Ae(u,3))}function q_(f,u,d,m){return f==null?[]:(je(u)||(u=u==null?[]:[u]),d=m?t:d,je(d)||(d=d==null?[]:[d]),Lp(f,u,d))}var I_=uf(function(f,u,d){f[d?0:1].push(u)},function(){return[[],[]]});function N_(f,u,d){var m=je(f)?Ru:gp,w=arguments.length<3;return m(f,Ae(u,4),d,w,ts)}function L_(f,u,d){var m=je(f)?rQ:gp,w=arguments.length<3;return m(f,Ae(u,4),d,w,Ap)}function B_(f,u){var d=je(f)?Hr:Yp;return d(f,wf(Ae(u,3)))}function j_(f){var u=je(f)?Tp:M2;return u(f)}function F_(f,u,d){(d?Ei(f,u,d):u===t)?u=1:u=He(u);var m=je(f)?m2:V2;return m(f,u)}function G_(f){var u=je(f)?S2:q2;return u(f)}function H_(f){if(f==null)return 0;if(Ni(f))return kf(f)?il(f):f.length;var u=xi(f);return u==Ne||u==Ye?f.size:Ku(f).length}function K_(f,u,d){var m=je(f)?Xu:I2;return d&&Ei(f,u,d)&&(u=t),m(f,Ae(u,3))}var J_=nt(function(f,u){if(f==null)return[];var d=u.length;return d>1&&Ei(f,u[0],u[1])?u=[]:d>2&&Ei(u[0],u[1],u[2])&&(u=[u[0]]),Lp(f,$i(u,1),[])}),yf=RQ||function(){return li.Date.now()};function eP(f,u){if(typeof u!="function")throw new vn(l);return f=He(f),function(){if(--f<1)return u.apply(this,arguments)}}function Mg(f,u,d){return u=d?t:u,u=f&&u==null?f.length:u,Wr(f,M,t,t,t,t,u)}function Vg(f,u){var d;if(typeof u!="function")throw new vn(l);return f=He(f),function(){return--f>0&&(d=u.apply(this,arguments)),f<=1&&(u=t),d}}var vh=nt(function(f,u,d){var m=$;if(d.length){var w=Jr(d,cl(vh));m|=T}return Wr(f,m,u,d,w)}),Dg=nt(function(f,u,d){var m=$|k;if(d.length){var w=Jr(d,cl(Dg));m|=T}return Wr(u,m,f,d,w)});function qg(f,u,d){u=d?t:u;var m=Wr(f,X,t,t,t,t,t,u);return m.placeholder=qg.placeholder,m}function Ig(f,u,d){u=d?t:u;var m=Wr(f,R,t,t,t,t,t,u);return m.placeholder=Ig.placeholder,m}function Ng(f,u,d){var m,w,x,Z,Y,q,ee=0,te=!1,re=!1,me=!0;if(typeof f!="function")throw new vn(l);u=Pn(u)||0,qt(d)&&(te=!!d.leading,re="maxWait"in d,x=re?ai(Pn(d.maxWait)||0,u):x,me="trailing"in d?!!d.trailing:me);function We(ei){var qn=m,Xr=w;return m=w=t,ee=ei,Z=f.apply(Xr,qn),Z}function ze(ei){return ee=ei,Y=$o(ct,u),te?We(ei):Z}function tt(ei){var qn=ei-q,Xr=ei-ee,cm=u-qn;return re?Pi(cm,x-Xr):cm}function Me(ei){var qn=ei-q,Xr=ei-ee;return q===t||qn>=u||qn<0||re&&Xr>=x}function ct(){var ei=yf();if(Me(ei))return Ot(ei);Y=$o(ct,tt(ei))}function Ot(ei){return Y=t,me&&m?We(ei):(m=w=t,Z)}function an(){Y!==t&&tg(Y),ee=0,m=q=w=Y=t}function zi(){return Y===t?Z:Ot(yf())}function fn(){var ei=yf(),qn=Me(ei);if(m=arguments,w=this,q=ei,qn){if(Y===t)return ze(q);if(re)return tg(Y),Y=$o(ct,u),We(q)}return Y===t&&(Y=$o(ct,u)),Z}return fn.cancel=an,fn.flush=zi,fn}var tP=nt(function(f,u){return Xp(f,1,u)}),iP=nt(function(f,u,d){return Xp(f,Pn(u)||0,d)});function nP(f){return Wr(f,B)}function vf(f,u){if(typeof f!="function"||u!=null&&typeof u!="function")throw new vn(l);var d=function(){var m=arguments,w=u?u.apply(this,m):m[0],x=d.cache;if(x.has(w))return x.get(w);var Z=f.apply(this,m);return d.cache=x.set(w,Z)||x,Z};return d.cache=new(vf.Cache||Pr),d}vf.Cache=Pr;function wf(f){if(typeof f!="function")throw new vn(l);return function(){var u=arguments;switch(u.length){case 0:return!f.call(this);case 1:return!f.call(this,u[0]);case 2:return!f.call(this,u[0],u[1]);case 3:return!f.call(this,u[0],u[1],u[2])}return!f.apply(this,u)}}function rP(f){return Vg(2,f)}var sP=N2(function(f,u){u=u.length==1&&je(u[0])?Mt(u[0],sn(Ae())):Mt($i(u,1),sn(Ae()));var d=u.length;return nt(function(m){for(var w=-1,x=Pi(m.length,d);++w=u}),Us=zp(function(){return arguments}())?zp:function(f){return jt(f)&&vt.call(f,"callee")&&!kp.call(f,"callee")},je=j.isArray,$P=lp?sn(lp):x2;function Ni(f){return f!=null&&Qf(f.length)&&!Zr(f)}function Jt(f){return jt(f)&&Ni(f)}function yP(f){return f===!0||f===!1||jt(f)&&Ui(f)==se}var ss=AQ||Xh,vP=op?sn(op):W2;function wP(f){return jt(f)&&f.nodeType===1&&!yo(f)}function QP(f){if(f==null)return!0;if(Ni(f)&&(je(f)||typeof f=="string"||typeof f.splice=="function"||ss(f)||ul(f)||Us(f)))return!f.length;var u=xi(f);if(u==Ne||u==Ye)return!f.size;if(bo(f))return!Ku(f).length;for(var d in f)if(vt.call(f,d))return!1;return!0}function kP(f,u){return go(f,u)}function _P(f,u,d){d=typeof d=="function"?d:t;var m=d?d(f,u):t;return m===t?go(f,u,t,d):!!m}function Qh(f){if(!jt(f))return!1;var u=Ui(f);return u==ie||u==he||typeof f.message=="string"&&typeof f.name=="string"&&!yo(f)}function PP(f){return typeof f=="number"&&Pp(f)}function Zr(f){if(!qt(f))return!1;var u=Ui(f);return u==ft||u==et||u==$e||u==En}function Bg(f){return typeof f=="number"&&f==He(f)}function Qf(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=Xe}function qt(f){var u=typeof f;return f!=null&&(u=="object"||u=="function")}function jt(f){return f!=null&&typeof f=="object"}var jg=ap?sn(ap):T2;function xP(f,u){return f===u||Hu(f,u,dh(u))}function WP(f,u,d){return d=typeof d=="function"?d:t,Hu(f,u,dh(u),d)}function CP(f){return Fg(f)&&f!=+f}function TP(f){if(dk(f))throw new Be(s);return Mp(f)}function ZP(f){return f===null}function RP(f){return f==null}function Fg(f){return typeof f=="number"||jt(f)&&Ui(f)==rt}function yo(f){if(!jt(f)||Ui(f)!=pt)return!1;var u=Ga(f);if(u===null)return!0;var d=vt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&La.call(d)==WQ}var kh=fp?sn(fp):Z2;function XP(f){return Bg(f)&&f>=-Xe&&f<=Xe}var Gg=cp?sn(cp):R2;function kf(f){return typeof f=="string"||!je(f)&&jt(f)&&Ui(f)==ae}function on(f){return typeof f=="symbol"||jt(f)&&Ui(f)==St}var ul=up?sn(up):X2;function AP(f){return f===t}function YP(f){return jt(f)&&xi(f)==st}function UP(f){return jt(f)&&Ui(f)==Dt}var EP=pf(Ju),zP=pf(function(f,u){return f<=u});function Hg(f){if(!f)return[];if(Ni(f))return kf(f)?Mn(f):Ii(f);if(oo&&f[oo])return mQ(f[oo]());var u=xi(f),d=u==Ne?Mu:u==Ye?qa:hl;return d(f)}function Rr(f){if(!f)return f===0?f:0;if(f=Pn(f),f===fe||f===-fe){var u=f<0?-1:1;return u*Ie}return f===f?f:0}function He(f){var u=Rr(f),d=u%1;return u===u?d?u-d:u:0}function Kg(f){return f?Rs(He(f),0,xe):0}function Pn(f){if(typeof f=="number")return f;if(on(f))return Qe;if(qt(f)){var u=typeof f.valueOf=="function"?f.valueOf():f;f=qt(u)?u+"":u}if(typeof f!="string")return f===0?f:+f;f=mp(f);var d=Gs.test(f);return d||wa.test(f)?lt(f.slice(2),d?2:8):Kl.test(f)?Qe:+f}function Jg(f){return rr(f,Li(f))}function MP(f){return f?Rs(He(f),-Xe,Xe):f===0?f:0}function yt(f){return f==null?"":ln(f)}var VP=al(function(f,u){if(bo(u)||Ni(u)){rr(u,Oi(u),f);return}for(var d in u)vt.call(u,d)&&ho(f,d,u[d])}),em=al(function(f,u){rr(u,Li(u),f)}),_f=al(function(f,u,d,m){rr(u,Li(u),f,m)}),DP=al(function(f,u,d,m){rr(u,Oi(u),f,m)}),qP=Cr(Lu);function IP(f,u){var d=ol(f);return u==null?d:Zp(d,u)}var NP=nt(function(f,u){f=xt(f);var d=-1,m=u.length,w=m>2?u[2]:t;for(w&&Ei(u[0],u[1],w)&&(m=1);++d1),x}),rr(f,hh(f),d),m&&(d=Qn(d,O|p|g,ik));for(var w=u.length;w--;)rh(d,u[w]);return d});function fx(f,u){return im(f,wf(Ae(u)))}var cx=Cr(function(f,u){return f==null?{}:U2(f,u)});function im(f,u){if(f==null)return{};var d=Mt(hh(f),function(m){return[m]});return u=Ae(u),Bp(f,d,function(m,w){return u(m,w[0])})}function ux(f,u,d){u=ns(u,f);var m=-1,w=u.length;for(w||(w=1,f=t);++mu){var m=f;f=u,u=m}if(d||f%1||u%1){var w=xp();return Pi(f+w*(u-f+Ge("1e-"+((w+"").length-1))),u)}return th(f,u)}var vx=fl(function(f,u,d){return u=u.toLowerCase(),f+(d?sm(u):u)});function sm(f){return xh(yt(f).toLowerCase())}function lm(f){return f=yt(f),f&&f.replace(Hs,hQ).replace(ku,"")}function wx(f,u,d){f=yt(f),u=ln(u);var m=f.length;d=d===t?m:Rs(He(d),0,m);var w=d;return d-=u.length,d>=0&&f.slice(d,w)==u}function Qx(f){return f=yt(f),f&&_s.test(f)?f.replace(Si,OQ):f}function kx(f){return f=yt(f),f&&Lr.test(f)?f.replace(zn,"\\$&"):f}var _x=fl(function(f,u,d){return f+(d?"-":"")+u.toLowerCase()}),Px=fl(function(f,u,d){return f+(d?" ":"")+u.toLowerCase()}),xx=fg("toLowerCase");function Wx(f,u,d){f=yt(f),u=He(u);var m=u?il(f):0;if(!u||m>=u)return f;var w=(u-m)/2;return df(ef(w),d)+f+df(Ja(w),d)}function Cx(f,u,d){f=yt(f),u=He(u);var m=u?il(f):0;return u&&m>>0,d?(f=yt(f),f&&(typeof u=="string"||u!=null&&!kh(u))&&(u=ln(u),!u&&tl(f))?rs(Mn(f),0,d):f.split(u,d)):[]}var Ux=fl(function(f,u,d){return f+(d?" ":"")+xh(u)});function Ex(f,u,d){return f=yt(f),d=d==null?0:Rs(He(d),0,f.length),u=ln(u),f.slice(d,d+u.length)==u}function zx(f,u,d){var m=_.templateSettings;d&&Ei(f,u,d)&&(u=t),f=yt(f),u=_f({},u,m,gg);var w=_f({},u.imports,m.imports,gg),x=Oi(w),Z=zu(w,x),Y,q,ee=0,te=u.interpolate||Ps,re="__p += '",me=Vu((u.escape||Ps).source+"|"+te.source+"|"+(te===ke?jr:Ps).source+"|"+(u.evaluate||Ps).source+"|$","g"),We="//# sourceURL="+(vt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Cu+"]")+` +`;f.replace(me,function(Me,ct,Ot,an,zi,fn){return Ot||(Ot=an),re+=f.slice(ee,fn).replace(fu,dQ),ct&&(Y=!0,re+=`' + __e(`+ct+`) + -'`),Ei&&(D=!0,ne+=`'; -`+Ei+`; -__p += '`),Ot&&(ne+=`' + +'`),zi&&(q=!0,re+=`'; +`+zi+`; +__p += '`),Ot&&(re+=`' + ((__t = (`+Ot+`)) == null ? '' : __t) + -'`),ee=ln+Ue.length,Ue}),ne+=`'; -`;var Ye=vt.call(c,"variable")&&c.variable;if(!Ye)ne=`with (obj) { -`+ne+` +'`),ee=fn+Me.length,Me}),re+=`'; +`;var ze=vt.call(u,"variable")&&u.variable;if(!ze)re=`with (obj) { +`+re+` } -`;else if(ba.test(Ye))throw new Ie(o);ne=(D?ne.replace(ys,""):ne).replace(ii,"$1").replace(vs,"$1;"),ne="function("+(Ye||"obj")+`) { -`+(Ye?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(A?", __e = _.escape":"")+(D?`, __j = Array.prototype.join; +`;else if(Hl.test(ze))throw new Be(o);re=(q?re.replace(er,""):re).replace(tn,"$1").replace(Yi,"$1;"),re="function("+(ze||"obj")+`) { +`+(ze?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(Y?", __e = _.escape":"")+(q?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+ne+`return __p -}`;var et=am(function(){return bt(x,_e+"return "+ne).apply(t,R)});if(et.source=ne,Qh(et))throw et;return et}function Ux(f){return yt(f).toLowerCase()}function Ex(f){return yt(f).toUpperCase()}function Mx(f,c,d){if(f=yt(f),f&&(d||c===t))return mp(f);if(!f||!(c=nn(c)))return f;var m=Yn(f),v=Yn(c),x=Sp(m,v),R=bp(m,v)+1;return Jr(m,x,R).join("")}function zx(f,c,d){if(f=yt(f),f&&(d||c===t))return f.slice(0,yp(f)+1);if(!f||!(c=nn(c)))return f;var m=Yn(f),v=bp(m,Yn(c))+1;return Jr(m,0,v).join("")}function Vx(f,c,d){if(f=yt(f),f&&(d||c===t))return f.replace(An,"");if(!f||!(c=nn(c)))return f;var m=Yn(f),v=Sp(m,Yn(c));return Jr(m,v).join("")}function Dx(f,c){var d=I,m=K;if(It(c)){var v="separator"in c?c.separator:v;d="length"in c?Ge(c.length):d,m="omission"in c?nn(c.omission):m}f=yt(f);var x=f.length;if(tl(f)){var R=Yn(f);x=R.length}if(d>=x)return f;var A=d-il(m);if(A<1)return m;var D=R?Jr(R,0,A).join(""):f.slice(0,A);if(v===t)return D+m;if(R&&(A+=D.length-A),kh(v)){if(f.slice(A).search(v)){var ee,te=D;for(v.global||(v=Vu(v.source,yt(js.exec(v))+"g")),v.lastIndex=0;ee=v.exec(te);)var ne=ee.index;D=D.slice(0,ne===t?A:ne)}}else if(f.indexOf(nn(v),A)!=A){var ge=D.lastIndexOf(v);ge>-1&&(D=D.slice(0,ge))}return D+m}function qx(f){return f=yt(f),f&&Ls.test(f)?f.replace(Hn,SQ):f}var Ix=fl(function(f,c,d){return f+(d?" ":"")+c.toUpperCase()}),xh=fg("toUpperCase");function om(f,c,d){return f=yt(f),c=d?t:c,c===t?OQ(f)?yQ(f):rQ(f):f.match(c)||[]}var am=rt(function(f,c){try{return en(f,t,c)}catch(d){return Qh(d)?d:new Ie(d)}}),Nx=Pr(function(f,c){return mn(c,function(d){d=tr(d),Qr(f,d,vh(f[d],f))}),f});function Lx(f){var c=f==null?0:f.length,d=Xe();return f=c?Mt(f,function(m){if(typeof m[1]!="function")throw new Sn(l);return[d(m[0]),m[1]]}):[],rt(function(m){for(var v=-1;++vVe)return[];var d=Ce,m=_i(f,Ce);c=Xe(c),f-=Ce;for(var v=Eu(m,c);++d0||c<0)?new ut(d):(f<0?d=d.takeRight(-f):f&&(d=d.drop(f)),c!==t&&(c=Ge(c),d=c<0?d.dropRight(-c):d.take(c-f)),d)},ut.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},ut.prototype.toArray=function(){return this.take(Ce)},Jn(ut.prototype,function(f,c){var d=/^(?:filter|find|map|reject)|While$/.test(c),m=/^(?:head|last)$/.test(c),v=P[m?"take"+(c=="last"?"Right":""):c],x=m||/^find/.test(c);v&&(P.prototype[c]=function(){var R=this.__wrapped__,A=m?[1]:arguments,D=R instanceof ut,ee=A[0],te=D||Be(R),ne=function(ct){var Ot=v.apply(P,Br([ct],A));return m&&ge?Ot[0]:Ot};te&&d&&typeof ee=="function"&&ee.length!=1&&(D=te=!1);var ge=this.__chain__,_e=!!this.__actions__.length,Ye=x&&!ge,et=D&&!_e;if(!x&&te){R=et?R:new ut(this);var Ue=f.apply(R,A);return Ue.__actions__.push({func:Sf,args:[ne],thisArg:t}),new bn(Ue,ge)}return Ye&&et?f.apply(this,A):(Ue=this.thru(ne),Ye?m?Ue.value()[0]:Ue.value():Ue)})}),mn(["pop","push","shift","sort","splice","unshift"],function(f){var c=qa[f],d=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",m=/^(?:pop|shift)$/.test(f);P.prototype[f]=function(){var v=arguments;if(m&&!this.__chain__){var x=this.value();return c.apply(Be(x)?x:[],v)}return this[d](function(R){return c.apply(Be(R)?R:[],v)})}}),Jn(ut.prototype,function(f,c){var d=P[c];if(d){var m=d.name+"";vt.call(ll,m)||(ll[m]=[]),ll[m].push({name:c,func:d})}}),ll[uf(t,k).name]=[{name:"wrapper",func:t}],ut.prototype.clone=qQ,ut.prototype.reverse=IQ,ut.prototype.value=NQ,P.prototype.at=$P,P.prototype.chain=yP,P.prototype.commit=vP,P.prototype.next=wP,P.prototype.plant=kP,P.prototype.reverse=PP,P.prototype.toJSON=P.prototype.valueOf=P.prototype.value=_P,P.prototype.first=P.prototype.head,ro&&(P.prototype[ro]=QP),P},nl=vQ();_s?((_s.exports=nl)._=nl,Cu._=nl):li._=nl}).call(Wo)})(Nc,Nc.exports);var KY=Nc.exports;const JY=Ss.define({parser:fT.configure({props:[Nl.add({ParenthesisedExpression:is({closing:")",align:!1}),Application:is({closing:")",align:!1}),GeneratorCallGenerators:is({closing:")",align:!1}),LetItems:is({closing:"}",align:!1}),ArrayLiteral:is({closing:"]",align:!1}),ArrayLiteral2d:is({closing:"|]",align:!1}),SetLiteral:is({closing:"}",align:!1})}),Ll.add({ParenthesisedExpression:lr,Application:lr,GeneratorCallGenerators:lr,LetItems:lr,ArrayLiteral:lr,ArrayLiteral2d:lr,SetLiteral:lr}),Il({Keyword:S.keyword,"Identifier QuotedIdentifier":S.variableName,"Call/Identifier Call/QuotedIdentifier GeneratorCall/Identifier GeneratorCall/QuotedIdentifier":S.name,Absent:S.null,Anonymous:S.null,BooleanLiteral:S.bool,Number:S.number,Infinity:S.number,StringLiteral:S.string,LineComment:S.comment,BlockComment:S.comment,"( )":S.paren,"{ }":S.paren,"[ ]":S.paren})]}),languageData:{commentTokens:{line:"%"}}});function G0(){return new Oa(JY)}const Bw=mi({variant:"light",settings:{background:"#fff",foreground:"#000",caret:"#000",selection:"#036dd626",gutterBackground:"#fcfcfc",gutterForeground:"#999",lineHighlight:"#90909020"},styles:[{tag:S.comment,color:"slategray"},{tag:S.string,color:"#690"},{tag:[S.number,S.bool,S.null],color:"#905"},{tag:S.variableName,color:"#000000"},{tag:S.name,color:"#07a"},{tag:[S.keyword],color:"#07a"}]}),jw=mi({variant:"dark",settings:{background:"#222",foreground:"#F6F6F6",caret:"#EEE",selection:"#036dd626",gutterBackground:"#333",gutterForeground:"#999",lineHighlight:"#90909020"},styles:[{tag:S.comment,color:"slategray"},{tag:S.string,color:"#e09177"},{tag:[S.number,S.bool,S.null],color:"#a9e07e"},{tag:S.variableName,color:"#FFFFFF"},{tag:S.name,color:"#e6cf77"},{tag:[S.keyword],color:"#54a2e3"}]}),rp=new Dl,Ms=new Dl,e8=Ms.reconfigure(pe.editable.of(!1)),t8=Ms.reconfigure(pe.editable.of(!0)),i8=rp.reconfigure(Bw),n8=rp.reconfigure(jw);function Kf(n,e,t,i=!1){const r=[GX,ua.of([gR]),rp.of(t?jw:Bw),pe.theme({"&":{height:"100%"},"&.cm-editor.cm-focused":{outline:"none"},".cm-content, .cm-gutter":{minHeight:"100%"},"&.cm-focused .cm-selectionBackground":{backgroundColor:"#036dd638"}})];return n===".json"||n===".mpc"?[...r,Ms.of(pe.editable.of(!i)),eA()]:n===".mzc"?[...r,Ms.of(pe.editable.of(!1))]:n===".dzn"?[...r,Ms.of(pe.editable.of(!i)),G0()]:n===".html"?[...r,Ms.of(pe.editable.of(!i)),GY()]:[...r,Ms.of(pe.editable.of(!i)),G0(),pe.updateListener.of(KY.debounce(e,250))]}function H0(n,e,t){const i=n.slice();return i[4]=e[t],i}function K0(n,e,t){const i=n.slice();return i[7]=e[t],i}function J0(n,e,t){const i=n.slice();return i[10]=e[t],i[12]=t,i}function r8(n){let e,t,i=Lc(n[0].location)+"",r,s,l,o,a,u,h;return{c(){e=_("pre"),t=_("a"),r=Se(i),l=Se(":"),o=N(),a=_("br"),w(t,"class",s="mzn-link mzn-"+n[0].type+" svelte-w513p9"),w(e,"class","svelte-w513p9")},m(O,p){E(O,e,p),Q(e,t),Q(t,r),Q(e,l),E(O,o,p),E(O,a,p),u||(h=oe(t,"click",n[3]),u=!0)},p(O,p){p&1&&i!==(i=Lc(O[0].location)+"")&&He(r,i),p&1&&s!==(s="mzn-link mzn-"+O[0].type+" svelte-w513p9")&&w(t,"class",s)},d(O){O&&(Y(e),Y(o),Y(a)),u=!1,h()}}}function s8(n){let e,t=at(n[0].stack),i=[];for(let r=0;rr("goto",{location:o.location}),l=()=>r("goto",{location:i.location});return n.$$set=o=>{"msg"in o&&t(0,i=o.msg)},[i,r,s,l]}class Fw extends Qi{constructor(e){super(),wi(this,e,u8,c8,pi,{msg:0})}}function lS(n,e,t){const i=n.slice();return i[40]=e[t],i}function oS(n,e,t){const i=n.slice();return i[43]=e[t],i}function aS(n,e,t){const i=n.slice();return i[52]=e[t],i}function fS(n,e,t){const i=n.slice();return i[49]=e[t],i}function cS(n,e,t){const i=n.slice();return i[46]=e[t],i}const h8=n=>({}),uS=n=>({});function hS(n,e,t){const i=n.slice();return i[46]=e[t],i}function OS(n){let e,t,i,r,s,l,o,a,u,h,O,p,g;function b(M,L){return M[13].length===0?d8:O8}let y=b(n),$=y(n),k=at(n[14]),W=[];for(let M=0;M{o=null}),it()),u[2]?a?(a.p(u,h),h[0]&4&&q(a,1)):(a=vS(u),a.c(),q(a,1),a.m(e,null)):a&&(tt(),B(a,1,1,()=>{a=null}),it())},i(u){r||(q(l,u),q(o),q(a),r=!0)},o(u){B(l,u),B(o),B(a),r=!1},d(u){u&&Y(e),l&&l.d(u),o&&o.d(),a&&a.d()}}}function yS(n){let e,t,i,r,s,l,o;return r=new Tt({props:{icon:QC}}),{c(){e=_("p"),t=_("button"),i=_("span"),ze(r.$$.fragment),w(i,"class","icon"),w(t,"class","button is-small"),w(t,"title","Clear output on each run"),fe(t,"is-primary",n[0]),fe(t,"is-light",!n[0]),w(e,"class","control")},m(a,u){E(a,e,u),Q(e,t),Q(t,i),Ee(r,i,null),s=!0,l||(o=oe(t,"click",n[33]),l=!0)},p(a,u){(!s||u[0]&1)&&fe(t,"is-primary",a[0]),(!s||u[0]&1)&&fe(t,"is-light",!a[0])},i(a){s||(q(r.$$.fragment,a),s=!0)},o(a){B(r.$$.fragment,a),s=!1},d(a){a&&Y(e),Me(r),l=!1,o()}}}function vS(n){let e,t,i,r,s,l,o;return r=new Tt({props:{icon:Wy}}),{c(){e=_("p"),t=_("button"),i=_("span"),ze(r.$$.fragment),w(i,"class","icon"),w(t,"class","button is-small is-danger"),w(t,"title","Clear output"),w(e,"class","control")},m(a,u){E(a,e,u),Q(e,t),Q(t,i),Ee(r,i,null),s=!0,l||(o=oe(t,"click",n[34]),l=!0)},p:Qe,i(a){s||(q(r.$$.fragment,a),s=!0)},o(a){B(r.$$.fragment,a),s=!1},d(a){a&&Y(e),Me(r),l=!1,o()}}}function p8(n){let e;return{c(){e=Se("Running")},m(t,i){E(t,e,i)},d(t){t&&Y(e)}}}function g8(n){let e;return{c(){e=Se("Compiling")},m(t,i){E(t,e,i)},d(t){t&&Y(e)}}}function m8(n){let e,t,i,r=Bc(n[43].runTime)+"",s,l,o=n[43].code&&wS(n);return{c(){o&&o.c(),e=N(),t=_("pre"),i=Se("Finished in "),s=Se(r),l=Se("."),w(t,"class","mzn-runtime")},m(a,u){o&&o.m(a,u),E(a,e,u),E(a,t,u),Q(t,i),Q(t,s),Q(t,l)},p(a,u){a[43].code?o?o.p(a,u):(o=wS(a),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),u[0]&2&&r!==(r=Bc(a[43].runTime)+"")&&He(s,r)},i:Qe,o:Qe,d(a){a&&(Y(e),Y(t)),o&&o.d(a)}}}function S8(n){let e,t,i=(n[43].type==="error"&&n[12]||n[43].type==="warning"&&n[11])&&QS(n);return{c(){i&&i.c(),e=Ht()},m(r,s){i&&i.m(r,s),E(r,e,s),t=!0},p(r,s){r[43].type==="error"&&r[12]||r[43].type==="warning"&&r[11]?i?(i.p(r,s),s[0]&6146&&q(i,1)):(i=QS(r),i.c(),q(i,1),i.m(e.parentNode,e)):i&&(tt(),B(i,1,1,()=>{i=null}),it())},i(r){t||(q(i),t=!0)},o(r){B(i),t=!1},d(r){r&&Y(e),i&&i.d(r)}}}function b8(n){let e,t=n[23][n[43].status]+"",i,r,s;return{c(){e=_("pre"),i=Se(t),r=N(),s=_("br")},m(l,o){E(l,e,o),Q(e,i),E(l,r,o),E(l,s,o)},p(l,o){o[0]&2&&t!==(t=l[23][l[43].status]+"")&&He(i,t)},i:Qe,o:Qe,d(l){l&&(Y(e),Y(r),Y(s))}}}function $8(n){let e,t,i;return{c(){e=_("pre"),e.textContent="Stopped.",t=N(),i=_("br"),w(e,"class","mzn-runtime")},m(r,s){E(r,e,s),E(r,t,s),E(r,i,s)},p:Qe,i:Qe,o:Qe,d(r){r&&(Y(e),Y(t),Y(i))}}}function y8(n){let e,t=n[8]&&kS(n);return{c(){t&&t.c(),e=Ht()},m(i,r){t&&t.m(i,r),E(i,e,r)},p(i,r){i[8]?t?t.p(i,r):(t=kS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Qe,o:Qe,d(i){i&&Y(e),t&&t.d(i)}}}function v8(n){let e,t=n[9]&&_S(n);return{c(){t&&t.c(),e=Ht()},m(i,r){t&&t.m(i,r),E(i,e,r)},p(i,r){i[9]?t?t.p(i,r):(t=_S(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Qe,o:Qe,d(i){i&&Y(e),t&&t.d(i)}}}function w8(n){let e,t=n[43].comment+"",i;return{c(){e=_("pre"),i=Se(t),w(e,"class","mzn-comment")},m(r,s){E(r,e,s),Q(e,i)},p(r,s){s[0]&2&&t!==(t=r[43].comment+"")&&He(i,t)},i:Qe,o:Qe,d(r){r&&Y(e)}}}function Q8(n){let e=n[13].indexOf(n[43].section)===-1&&!n[43].section.startsWith("mzn_vis_"),t,i=e&&xS(n);return{c(){i&&i.c(),t=Ht()},m(r,s){i&&i.m(r,s),E(r,t,s)},p(r,s){s[0]&8194&&(e=r[13].indexOf(r[43].section)===-1&&!r[43].section.startsWith("mzn_vis_")),e?i?i.p(r,s):(i=xS(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:Qe,o:Qe,d(r){r&&Y(t),i&&i.d(r)}}}function k8(n){let e,t=n[10]&&WS(n);return{c(){t&&t.c(),e=Ht()},m(i,r){t&&t.m(i,r),E(i,e,r)},p(i,r){i[10]?t?t.p(i,r):(t=WS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Qe,o:Qe,d(i){i&&Y(e),t&&t.d(i)}}}function P8(n){let e,t,i,r,s,l,o,a=at(YS(n[43],n[13])),u=[];for(let O=0;OB(u[O],1,1,()=>{u[O]=null});return{c(){e=_("span"),t=_("pre"),t.textContent="% Solution checker report:",i=N(),r=_("br"),s=N();for(let O=0;O%%%mzn-stat-end',i=N(),r=_("br")},m(o,a){for(let u=0;u{i=null}),it())},i(r){t||(q(i),t=!0)},o(r){B(i),t=!1},d(r){r&&Y(e),i&&i.d(r)}}}function T8(n){let e,t=n[49].message+"",i;return{c(){e=_("pre"),i=Se(t)},m(r,s){E(r,e,s),Q(e,i)},p(r,s){s[0]&8194&&t!==(t=r[49].message+"")&&He(i,t)},i:Qe,o:Qe,d(r){r&&Y(e)}}}function CS(n){let e,t;return e=new Fw({props:{msg:n[49]}}),e.$on("goto",n[35]),{c(){ze(e.$$.fragment)},m(i,r){Ee(e,i,r),t=!0},p(i,r){const s={};r[0]&8194&&(s.msg=i[49]),e.$set(s)},i(i){t||(q(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Me(e,i)}}}function TS(n){let e,t,i,r;const s=[T8,C8],l=[];function o(a,u){return a[49].type==="text"?0:a[49].type==="error"||a[49].type==="warning"?1:-1}return~(e=o(n))&&(t=l[e]=s[e](n)),{c(){t&&t.c(),i=Ht()},m(a,u){~e&&l[e].m(a,u),E(a,i,u),r=!0},p(a,u){let h=e;e=o(a),e===h?~e&&l[e].p(a,u):(t&&(tt(),B(l[h],1,1,()=>{l[h]=null}),it()),~e?(t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),q(t,1),t.m(i.parentNode,i)):t=null)},i(a){r||(q(t),r=!0)},o(a){B(t),r=!1},d(a){a&&Y(i),~e&&l[e].d(a)}}}function ZS(n){let e;function t(s,l){if(typeof s[43].output[s[46]]!="string")return R8;if(s[46]!=="raw")return Z8}let i=t(n),r=i&&i(n);return{c(){r&&r.c(),e=Ht()},m(s,l){r&&r.m(s,l),E(s,e,l)},p(s,l){i===(i=t(s))&&r?r.p(s,l):(r&&r.d(1),r=i&&i(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){s&&Y(e),r&&r.d(s)}}}function Z8(n){let e,t=n[43].output[n[46]]+"",i;return{c(){e=_("pre"),i=Se(t)},m(r,s){E(r,e,s),Q(e,i)},p(r,s){s[0]&2&&t!==(t=r[43].output[r[46]]+"")&&He(i,t)},d(r){r&&Y(e)}}}function R8(n){let e,t=JSON.stringify(n[43].output[n[46]],null,2)+"",i,r,s;return{c(){e=_("pre"),i=Se(t),r=N(),s=_("br")},m(l,o){E(l,e,o),Q(e,i),E(l,r,o),E(l,s,o)},p(l,o){o[0]&2&&t!==(t=JSON.stringify(l[43].output[l[46]],null,2)+"")&&He(i,t)},d(l){l&&(Y(e),Y(r),Y(s))}}}function RS(n){let e=n[13].indexOf(n[46])===-1&&!n[46].startsWith("mzn_vis_"),t,i=e&&ZS(n);return{c(){i&&i.c(),t=Ht()},m(r,s){i&&i.m(r,s),E(r,t,s)},p(r,s){s[0]&8194&&(e=r[13].indexOf(r[46])===-1&&!r[46].startsWith("mzn_vis_")),e?i?i.p(r,s):(i=ZS(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&Y(t),i&&i.d(r)}}}function XS(n){let e,t,i,r;const s=[_8,P8,k8,Q8,w8,v8,y8,$8,b8,S8,m8],l=[];function o(a,u){return a[43].type==="solution"?0:a[43].type==="checker"?1:a[43].type==="time"?2:a[43].type==="trace"?3:a[43].type==="comment"?4:a[43].type==="stderr"?5:a[43].type==="statistics"?6:a[43].type==="cancel"?7:a[43].type==="status"?8:a[43].type==="error"||a[43].type==="warning"?9:a[43].type==="exit"?10:-1}return~(e=o(n))&&(t=l[e]=s[e](n)),{c(){t&&t.c(),i=Ht()},m(a,u){~e&&l[e].m(a,u),E(a,i,u),r=!0},p(a,u){let h=e;e=o(a),e===h?~e&&l[e].p(a,u):(t&&(tt(),B(l[h],1,1,()=>{l[h]=null}),it()),~e?(t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),q(t,1),t.m(i.parentNode,i)):t=null)},i(a){r||(q(t),r=!0)},o(a){B(t),r=!1},d(a){a&&Y(i),~e&&l[e].d(a)}}}function AS(n){let e,t,i,r=n[40].files.join(", ")+"",s,l,o,a,u;function h($,k){return $[40].isCompile?g8:p8}let O=h(n),p=O(n),g=at(n[40].output),b=[];for(let $=0;$B(b[$],1,1,()=>{b[$]=null});return{c(){e=_("details"),t=_("summary"),p.c(),i=N(),s=Se(r),l=N(),o=_("div");for(let $=0;$B(O[g],1,1,()=>{O[g]=null});return{c(){e=_("div"),t=_("div"),a&&a.c(),i=N(),u&&u.c(),r=N(),s=_("div"),l=_("div");for(let g=0;g{u=null}),it()),(!o||b[0]&48)&&fe(t,"is-empty",!g[4]&&!g[5]),(!o||b[0]&64)&&fe(t,"is-tab",g[6]),b[0]&8404738){h=at(g[1]);let y;for(y=0;y0&&(s+=`${e}h `),(e>0||t>0)&&(s+=`${t}m `),(e>0||t>0||i>0)&&(s+=`${i}s `),e==0&&t==0&&(i>0&&(s+=" "),s+=`${r}msec`),s.trimEnd()}function YS(n,e){const t=[];let i=[];const r=()=>{if(i.length>0){const s=i.join("").split(` +`)+re+`return __p +}`;var tt=am(function(){return bt(x,We+"return "+re).apply(t,Z)});if(tt.source=re,Qh(tt))throw tt;return tt}function Mx(f){return yt(f).toLowerCase()}function Vx(f){return yt(f).toUpperCase()}function Dx(f,u,d){if(f=yt(f),f&&(d||u===t))return mp(f);if(!f||!(u=ln(u)))return f;var m=Mn(f),w=Mn(u),x=Sp(m,w),Z=bp(m,w)+1;return rs(m,x,Z).join("")}function qx(f,u,d){if(f=yt(f),f&&(d||u===t))return f.slice(0,yp(f)+1);if(!f||!(u=ln(u)))return f;var m=Mn(f),w=bp(m,Mn(u))+1;return rs(m,0,w).join("")}function Ix(f,u,d){if(f=yt(f),f&&(d||u===t))return f.replace(Qr,"");if(!f||!(u=ln(u)))return f;var m=Mn(f),w=Sp(m,Mn(u));return rs(m,w).join("")}function Nx(f,u){var d=I,m=K;if(qt(u)){var w="separator"in u?u.separator:w;d="length"in u?He(u.length):d,m="omission"in u?ln(u.omission):m}f=yt(f);var x=f.length;if(tl(f)){var Z=Mn(f);x=Z.length}if(d>=x)return f;var Y=d-il(m);if(Y<1)return m;var q=Z?rs(Z,0,Y).join(""):f.slice(0,Y);if(w===t)return q+m;if(Z&&(Y+=q.length-Y),kh(w)){if(f.slice(Y).search(w)){var ee,te=q;for(w.global||(w=Vu(w.source,yt(ir.exec(w))+"g")),w.lastIndex=0;ee=w.exec(te);)var re=ee.index;q=q.slice(0,re===t?Y:re)}}else if(f.indexOf(ln(w),Y)!=Y){var me=q.lastIndexOf(w);me>-1&&(q=q.slice(0,me))}return q+m}function Lx(f){return f=yt(f),f&&Fl.test(f)?f.replace(vr,yQ):f}var Bx=fl(function(f,u,d){return f+(d?" ":"")+u.toUpperCase()}),xh=fg("toUpperCase");function om(f,u,d){return f=yt(f),u=d?t:u,u===t?gQ(f)?QQ(f):oQ(f):f.match(u)||[]}var am=nt(function(f,u){try{return rn(f,t,u)}catch(d){return Qh(d)?d:new Be(d)}}),jx=Cr(function(f,u){return yn(u,function(d){d=sr(d),xr(f,d,vh(f[d],f))}),f});function Fx(f){var u=f==null?0:f.length,d=Ae();return f=u?Mt(f,function(m){if(typeof m[1]!="function")throw new vn(l);return[d(m[0]),m[1]]}):[],nt(function(m){for(var w=-1;++wXe)return[];var d=xe,m=Pi(f,xe);u=Ae(u),f-=xe;for(var w=Eu(m,u);++d0||u<0)?new ut(d):(f<0?d=d.takeRight(-f):f&&(d=d.drop(f)),u!==t&&(u=He(u),d=u<0?d.dropRight(-u):d.take(u-f)),d)},ut.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},ut.prototype.toArray=function(){return this.take(xe)},nr(ut.prototype,function(f,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),w=_[m?"take"+(u=="last"?"Right":""):u],x=m||/^find/.test(u);w&&(_.prototype[u]=function(){var Z=this.__wrapped__,Y=m?[1]:arguments,q=Z instanceof ut,ee=Y[0],te=q||je(Z),re=function(ct){var Ot=w.apply(_,Kr([ct],Y));return m&&me?Ot[0]:Ot};te&&d&&typeof ee=="function"&&ee.length!=1&&(q=te=!1);var me=this.__chain__,We=!!this.__actions__.length,ze=x&&!me,tt=q&&!We;if(!x&&te){Z=tt?Z:new ut(this);var Me=f.apply(Z,Y);return Me.__actions__.push({func:bf,args:[re],thisArg:t}),new wn(Me,me)}return ze&&tt?f.apply(this,Y):(Me=this.thru(re),ze?m?Me.value()[0]:Me.value():Me)})}),yn(["pop","push","shift","sort","splice","unshift"],function(f){var u=Ia[f],d=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",m=/^(?:pop|shift)$/.test(f);_.prototype[f]=function(){var w=arguments;if(m&&!this.__chain__){var x=this.value();return u.apply(je(x)?x:[],w)}return this[d](function(Z){return u.apply(je(Z)?Z:[],w)})}}),nr(ut.prototype,function(f,u){var d=_[u];if(d){var m=d.name+"";vt.call(ll,m)||(ll[m]=[]),ll[m].push({name:u,func:d})}}),ll[hf(t,k).name]=[{name:"wrapper",func:t}],ut.prototype.clone=LQ,ut.prototype.reverse=BQ,ut.prototype.value=jQ,_.prototype.at=w_,_.prototype.chain=Q_,_.prototype.commit=k_,_.prototype.next=__,_.prototype.plant=x_,_.prototype.reverse=W_,_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=C_,_.prototype.first=_.prototype.head,oo&&(_.prototype[oo]=P_),_},nl=kQ();Ws?((Ws.exports=nl)._=nl,so._=nl):li._=nl}).call(Zo)})(Lc,Lc.exports);var t8=Lc.exports;const i8=ws.define({parser:hT.configure({props:[Il.add({ParenthesisedExpression:os({closing:")",align:!1}),Application:os({closing:")",align:!1}),GeneratorCallGenerators:os({closing:")",align:!1}),LetItems:os({closing:"}",align:!1}),ArrayLiteral:os({closing:"]",align:!1}),ArrayLiteral2d:os({closing:"|]",align:!1}),SetLiteral:os({closing:"}",align:!1})}),Nl.add({ParenthesisedExpression:cr,Application:cr,GeneratorCallGenerators:cr,LetItems:cr,ArrayLiteral:cr,ArrayLiteral2d:cr,SetLiteral:cr}),ql({Keyword:S.keyword,"Identifier QuotedIdentifier":S.variableName,"Call/Identifier Call/QuotedIdentifier GeneratorCall/Identifier GeneratorCall/QuotedIdentifier":S.name,Absent:S.null,Anonymous:S.null,BooleanLiteral:S.bool,Number:S.number,Infinity:S.number,StringLiteral:S.string,LineComment:S.comment,BlockComment:S.comment,"( )":S.paren,"{ }":S.paren,"[ ]":S.paren})]}),languageData:{commentTokens:{line:"%"}}});function G0(){return new ga(i8)}const Fw=gi({variant:"light",settings:{background:"#fff",foreground:"#000",caret:"#000",selection:"#036dd626",gutterBackground:"#fcfcfc",gutterForeground:"#999",lineHighlight:"#90909020"},styles:[{tag:S.comment,color:"slategray"},{tag:S.string,color:"#690"},{tag:[S.number,S.bool,S.null],color:"#905"},{tag:S.variableName,color:"#000000"},{tag:S.name,color:"#07a"},{tag:[S.keyword],color:"#07a"}]}),Gw=gi({variant:"dark",settings:{background:"#222",foreground:"#F6F6F6",caret:"#EEE",selection:"#036dd626",gutterBackground:"#333",gutterForeground:"#999",lineHighlight:"#90909020"},styles:[{tag:S.comment,color:"slategray"},{tag:S.string,color:"#e09177"},{tag:[S.number,S.bool,S.null],color:"#a9e07e"},{tag:S.variableName,color:"#FFFFFF"},{tag:S.name,color:"#e6cf77"},{tag:[S.keyword],color:"#54a2e3"}]}),rp=new Vl,Vs=new Vl,n8=Vs.reconfigure(ge.editable.of(!1)),r8=Vs.reconfigure(ge.editable.of(!0)),s8=rp.reconfigure(Fw),l8=rp.reconfigure(Gw);function Jf(n,e,t,i=!1){const r=[JX,da.of([bR]),rp.of(t?Gw:Fw),ge.theme({"&":{height:"100%"},"&.cm-editor.cm-focused":{outline:"none"},".cm-content, .cm-gutter":{minHeight:"100%"},"&.cm-focused .cm-selectionBackground":{backgroundColor:"#036dd638"}})];return n===".json"||n===".mpc"?[...r,Vs.of(ge.editable.of(!i)),nA()]:n===".mzc"?[...r,Vs.of(ge.editable.of(!1))]:n===".dzn"?[...r,Vs.of(ge.editable.of(!i)),G0()]:n===".html"?[...r,Vs.of(ge.editable.of(!i)),JY()]:[...r,Vs.of(ge.editable.of(!i)),G0(),ge.updateListener.of(t8.debounce(e,250))]}function H0(n,e,t){const i=n.slice();return i[4]=e[t],i}function K0(n,e,t){const i=n.slice();return i[7]=e[t],i}function J0(n,e,t){const i=n.slice();return i[10]=e[t],i[12]=t,i}function o8(n){let e,t,i=Bc(n[0].location)+"",r,s,l,o,a,c,h;return{c(){e=P("pre"),t=P("a"),r=Se(i),l=Se(":"),o=N(),a=P("br"),v(t,"class",s="mzn-link mzn-"+n[0].type+" svelte-w513p9"),v(e,"class","svelte-w513p9")},m(O,p){U(O,e,p),Q(e,t),Q(t,r),Q(e,l),U(O,o,p),U(O,a,p),c||(h=le(t,"click",n[3]),c=!0)},p(O,p){p&1&&i!==(i=Bc(O[0].location)+"")&&Fe(r,i),p&1&&s!==(s="mzn-link mzn-"+O[0].type+" svelte-w513p9")&&v(t,"class",s)},d(O){O&&(A(e),A(o),A(a)),c=!1,h()}}}function a8(n){let e,t=at(n[0].stack),i=[];for(let r=0;rr("goto",{location:o.location}),l=()=>r("goto",{location:i.location});return n.$$set=o=>{"msg"in o&&t(0,i=o.msg)},[i,r,s,l]}class Hw extends _i{constructor(e){super(),ki(this,e,d8,O8,di,{msg:0})}}function lS(n,e,t){const i=n.slice();return i[40]=e[t],i}function oS(n,e,t){const i=n.slice();return i[43]=e[t],i}function aS(n,e,t){const i=n.slice();return i[52]=e[t],i}function fS(n,e,t){const i=n.slice();return i[49]=e[t],i}function cS(n,e,t){const i=n.slice();return i[46]=e[t],i}const p8=n=>({}),uS=n=>({});function hS(n,e,t){const i=n.slice();return i[46]=e[t],i}function OS(n){let e,t,i,r,s,l,o,a,c,h,O,p,g;function b(z,B){return z[13].length===0?m8:g8}let y=b(n),$=y(n),k=at(n[14]),W=[];for(let z=0;z{o=null}),Je()),c[2]?a?(a.p(c,h),h[0]&4&&D(a,1)):(a=vS(c),a.c(),D(a,1),a.m(e,null)):a&&(Ke(),L(a,1,1,()=>{a=null}),Je())},i(c){r||(D(l,c),D(o),D(a),r=!0)},o(c){L(l,c),L(o),L(a),r=!1},d(c){c&&A(e),l&&l.d(c),o&&o.d(),a&&a.d()}}}function yS(n){let e,t,i,r,s,l,o;return r=new Ct({props:{icon:P3}}),{c(){e=P("p"),t=P("button"),i=P("span"),qe(r.$$.fragment),v(i,"class","icon"),v(t,"class","button is-small"),v(t,"title","Clear output on each run"),ce(t,"is-primary",n[0]),ce(t,"is-light",!n[0]),v(e,"class","control")},m(a,c){U(a,e,c),Q(e,t),Q(t,i),Ve(r,i,null),s=!0,l||(o=le(t,"click",n[33]),l=!0)},p(a,c){(!s||c[0]&1)&&ce(t,"is-primary",a[0]),(!s||c[0]&1)&&ce(t,"is-light",!a[0])},i(a){s||(D(r.$$.fragment,a),s=!0)},o(a){L(r.$$.fragment,a),s=!1},d(a){a&&A(e),De(r),l=!1,o()}}}function vS(n){let e,t,i,r,s,l,o;return r=new Ct({props:{icon:Ty}}),{c(){e=P("p"),t=P("button"),i=P("span"),qe(r.$$.fragment),v(i,"class","icon"),v(t,"class","button is-small is-danger"),v(t,"title","Clear output"),v(e,"class","control")},m(a,c){U(a,e,c),Q(e,t),Q(t,i),Ve(r,i,null),s=!0,l||(o=le(t,"click",n[34]),l=!0)},p:we,i(a){s||(D(r.$$.fragment,a),s=!0)},o(a){L(r.$$.fragment,a),s=!1},d(a){a&&A(e),De(r),l=!1,o()}}}function S8(n){let e;return{c(){e=Se("Running")},m(t,i){U(t,e,i)},d(t){t&&A(e)}}}function b8(n){let e;return{c(){e=Se("Compiling")},m(t,i){U(t,e,i)},d(t){t&&A(e)}}}function $8(n){let e,t,i,r=jc(n[43].runTime)+"",s,l,o=n[43].code&&wS(n);return{c(){o&&o.c(),e=N(),t=P("pre"),i=Se("Finished in "),s=Se(r),l=Se("."),v(t,"class","mzn-runtime")},m(a,c){o&&o.m(a,c),U(a,e,c),U(a,t,c),Q(t,i),Q(t,s),Q(t,l)},p(a,c){a[43].code?o?o.p(a,c):(o=wS(a),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),c[0]&2&&r!==(r=jc(a[43].runTime)+"")&&Fe(s,r)},i:we,o:we,d(a){a&&(A(e),A(t)),o&&o.d(a)}}}function y8(n){let e,t,i=(n[43].type==="error"&&n[12]||n[43].type==="warning"&&n[11])&&QS(n);return{c(){i&&i.c(),e=Ht()},m(r,s){i&&i.m(r,s),U(r,e,s),t=!0},p(r,s){r[43].type==="error"&&r[12]||r[43].type==="warning"&&r[11]?i?(i.p(r,s),s[0]&6146&&D(i,1)):(i=QS(r),i.c(),D(i,1),i.m(e.parentNode,e)):i&&(Ke(),L(i,1,1,()=>{i=null}),Je())},i(r){t||(D(i),t=!0)},o(r){L(i),t=!1},d(r){r&&A(e),i&&i.d(r)}}}function v8(n){let e,t=n[23][n[43].status]+"",i,r,s;return{c(){e=P("pre"),i=Se(t),r=N(),s=P("br")},m(l,o){U(l,e,o),Q(e,i),U(l,r,o),U(l,s,o)},p(l,o){o[0]&2&&t!==(t=l[23][l[43].status]+"")&&Fe(i,t)},i:we,o:we,d(l){l&&(A(e),A(r),A(s))}}}function w8(n){let e,t,i;return{c(){e=P("pre"),e.textContent="Stopped.",t=N(),i=P("br"),v(e,"class","mzn-runtime")},m(r,s){U(r,e,s),U(r,t,s),U(r,i,s)},p:we,i:we,o:we,d(r){r&&(A(e),A(t),A(i))}}}function Q8(n){let e,t=n[8]&&kS(n);return{c(){t&&t.c(),e=Ht()},m(i,r){t&&t.m(i,r),U(i,e,r)},p(i,r){i[8]?t?t.p(i,r):(t=kS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:we,o:we,d(i){i&&A(e),t&&t.d(i)}}}function k8(n){let e,t=n[9]&&PS(n);return{c(){t&&t.c(),e=Ht()},m(i,r){t&&t.m(i,r),U(i,e,r)},p(i,r){i[9]?t?t.p(i,r):(t=PS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:we,o:we,d(i){i&&A(e),t&&t.d(i)}}}function _8(n){let e,t=n[43].comment+"",i;return{c(){e=P("pre"),i=Se(t),v(e,"class","mzn-comment")},m(r,s){U(r,e,s),Q(e,i)},p(r,s){s[0]&2&&t!==(t=r[43].comment+"")&&Fe(i,t)},i:we,o:we,d(r){r&&A(e)}}}function P8(n){let e=n[13].indexOf(n[43].section)===-1&&!n[43].section.startsWith("mzn_vis_"),t,i=e&&xS(n);return{c(){i&&i.c(),t=Ht()},m(r,s){i&&i.m(r,s),U(r,t,s)},p(r,s){s[0]&8194&&(e=r[13].indexOf(r[43].section)===-1&&!r[43].section.startsWith("mzn_vis_")),e?i?i.p(r,s):(i=xS(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:we,o:we,d(r){r&&A(t),i&&i.d(r)}}}function x8(n){let e,t=n[10]&&WS(n);return{c(){t&&t.c(),e=Ht()},m(i,r){t&&t.m(i,r),U(i,e,r)},p(i,r){i[10]?t?t.p(i,r):(t=WS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:we,o:we,d(i){i&&A(e),t&&t.d(i)}}}function W8(n){let e,t,i,r,s,l,o,a=at(YS(n[43],n[13])),c=[];for(let O=0;OL(c[O],1,1,()=>{c[O]=null});return{c(){e=P("span"),t=P("pre"),t.textContent="% Solution checker report:",i=N(),r=P("br"),s=N();for(let O=0;O%%%mzn-stat-end',i=N(),r=P("br")},m(o,a){for(let c=0;c{i=null}),Je())},i(r){t||(D(i),t=!0)},o(r){L(i),t=!1},d(r){r&&A(e),i&&i.d(r)}}}function X8(n){let e,t=n[49].message+"",i;return{c(){e=P("pre"),i=Se(t)},m(r,s){U(r,e,s),Q(e,i)},p(r,s){s[0]&8194&&t!==(t=r[49].message+"")&&Fe(i,t)},i:we,o:we,d(r){r&&A(e)}}}function CS(n){let e,t;return e=new Hw({props:{msg:n[49]}}),e.$on("goto",n[35]),{c(){qe(e.$$.fragment)},m(i,r){Ve(e,i,r),t=!0},p(i,r){const s={};r[0]&8194&&(s.msg=i[49]),e.$set(s)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){L(e.$$.fragment,i),t=!1},d(i){De(e,i)}}}function TS(n){let e,t,i,r;const s=[X8,R8],l=[];function o(a,c){return a[49].type==="text"?0:a[49].type==="error"||a[49].type==="warning"?1:-1}return~(e=o(n))&&(t=l[e]=s[e](n)),{c(){t&&t.c(),i=Ht()},m(a,c){~e&&l[e].m(a,c),U(a,i,c),r=!0},p(a,c){let h=e;e=o(a),e===h?~e&&l[e].p(a,c):(t&&(Ke(),L(l[h],1,1,()=>{l[h]=null}),Je()),~e?(t=l[e],t?t.p(a,c):(t=l[e]=s[e](a),t.c()),D(t,1),t.m(i.parentNode,i)):t=null)},i(a){r||(D(t),r=!0)},o(a){L(t),r=!1},d(a){a&&A(i),~e&&l[e].d(a)}}}function ZS(n){let e;function t(s,l){if(typeof s[43].output[s[46]]!="string")return Y8;if(s[46]!=="raw")return A8}let i=t(n),r=i&&i(n);return{c(){r&&r.c(),e=Ht()},m(s,l){r&&r.m(s,l),U(s,e,l)},p(s,l){i===(i=t(s))&&r?r.p(s,l):(r&&r.d(1),r=i&&i(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){s&&A(e),r&&r.d(s)}}}function A8(n){let e,t=n[43].output[n[46]]+"",i;return{c(){e=P("pre"),i=Se(t)},m(r,s){U(r,e,s),Q(e,i)},p(r,s){s[0]&2&&t!==(t=r[43].output[r[46]]+"")&&Fe(i,t)},d(r){r&&A(e)}}}function Y8(n){let e,t=JSON.stringify(n[43].output[n[46]],null,2)+"",i,r,s;return{c(){e=P("pre"),i=Se(t),r=N(),s=P("br")},m(l,o){U(l,e,o),Q(e,i),U(l,r,o),U(l,s,o)},p(l,o){o[0]&2&&t!==(t=JSON.stringify(l[43].output[l[46]],null,2)+"")&&Fe(i,t)},d(l){l&&(A(e),A(r),A(s))}}}function RS(n){let e=n[13].indexOf(n[46])===-1&&!n[46].startsWith("mzn_vis_"),t,i=e&&ZS(n);return{c(){i&&i.c(),t=Ht()},m(r,s){i&&i.m(r,s),U(r,t,s)},p(r,s){s[0]&8194&&(e=r[13].indexOf(r[46])===-1&&!r[46].startsWith("mzn_vis_")),e?i?i.p(r,s):(i=ZS(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&A(t),i&&i.d(r)}}}function XS(n){let e,t,i,r;const s=[C8,W8,x8,P8,_8,k8,Q8,w8,v8,y8,$8],l=[];function o(a,c){return a[43].type==="solution"?0:a[43].type==="checker"?1:a[43].type==="time"?2:a[43].type==="trace"?3:a[43].type==="comment"?4:a[43].type==="stderr"?5:a[43].type==="statistics"?6:a[43].type==="cancel"?7:a[43].type==="status"?8:a[43].type==="error"||a[43].type==="warning"?9:a[43].type==="exit"?10:-1}return~(e=o(n))&&(t=l[e]=s[e](n)),{c(){t&&t.c(),i=Ht()},m(a,c){~e&&l[e].m(a,c),U(a,i,c),r=!0},p(a,c){let h=e;e=o(a),e===h?~e&&l[e].p(a,c):(t&&(Ke(),L(l[h],1,1,()=>{l[h]=null}),Je()),~e?(t=l[e],t?t.p(a,c):(t=l[e]=s[e](a),t.c()),D(t,1),t.m(i.parentNode,i)):t=null)},i(a){r||(D(t),r=!0)},o(a){L(t),r=!1},d(a){a&&A(i),~e&&l[e].d(a)}}}function AS(n){let e,t,i,r=n[40].files.join(", ")+"",s,l,o,a,c;function h($,k){return $[40].isCompile?b8:S8}let O=h(n),p=O(n),g=at(n[40].output),b=[];for(let $=0;$L(b[$],1,1,()=>{b[$]=null});return{c(){e=P("details"),t=P("summary"),p.c(),i=N(),s=Se(r),l=N(),o=P("div");for(let $=0;$L(O[g],1,1,()=>{O[g]=null});return{c(){e=P("div"),t=P("div"),a&&a.c(),i=N(),c&&c.c(),r=N(),s=P("div"),l=P("div");for(let g=0;g{c=null}),Je()),(!o||b[0]&48)&&ce(t,"is-empty",!g[4]&&!g[5]),(!o||b[0]&64)&&ce(t,"is-tab",g[6]),b[0]&8404738){h=at(g[1]);let y;for(y=0;y0&&(s+=`${e}h `),(e>0||t>0)&&(s+=`${t}m `),(e>0||t>0||i>0)&&(s+=`${i}s `),e==0&&t==0&&(i>0&&(s+=" "),s+=`${r}msec`),s.trimEnd()}function YS(n,e){const t=[];let i=[];const r=()=>{if(i.length>0){const s=i.join("").split(` `);s[s.length-1]===""&&s.splice(s.length-1,1),t.push({type:"text",message:s.map(l=>`% ${l}`).join(` -`)}),i=[]}};if(n.messages){for(const s of n.messages)if(s.type==="solution")for(const l of s.sections)e.indexOf(l)===-1&&l!=="raw"&&i.push(n.output[l]);else s.type==="trace"?e.indexOf(s.section)===-1&&s.section!=="raw"&&i.push(s.message):(r(),t.push(s));r()}else{for(const s of n.sections)e.indexOf(s)===-1&&s!=="raw"&&i.push(n.output[s]);r()}return t}function A8(n,e,t){let i,r,s,l,o,a,{$$slots:u={},$$scope:h}=e;const O=Zn();let{output:p}=e,{autoClearOutput:g=!1}=e,{showClearOutput:b=!0}=e,{showAutoClearOutput:y=!0}=e,{showSectionToggles:$=!0}=e,{showRightControls:k=!0}=e,{isTab:W=!1}=e,X,T=!0,C=!0,U=!0,z=!0,M=!0;function L(be){const le=be.flatMap(ie=>ie.output),F=new Set([...le.filter(ie=>ie.type==="solution"||ie.type==="checker").flatMap(ie=>ie.sections.filter(ft=>ie.output[ft].length>0)),...le.filter(ie=>ie.type==="trace").map(ie=>ie.section)].filter(ie=>ie!=="raw"&&!ie.startsWith("mzn_vis_"))),ue=[...F.values()];return ue.sort(),t(13,re=re.filter(ie=>F.has(ie))),ue}function I(be){re.indexOf(be)===-1?t(13,re=[...re,be]):t(13,re=re.filter(le=>le!==be))}function K(){re.length===0?t(13,re=[...a]):t(13,re=[])}let re=[];const Oe={ALL_SOLUTIONS:"==========",OPTIMAL_SOLUTION:"==========",UNSATISFIABLE:"=====UNSATISFIABLE=====",UNSAT_OR_UNBOUNDED:"=====UNSATorUNBOUNDED=====",UNBOUNDED:"=====UNBOUNDED=====",UNKNOWN:"=====UNKNOWN=====",ERROR:"=====ERROR====="};async function me(be){X&&(await In(),X.scrollTo(0,X.scrollHeight))}const We=()=>K(),he=be=>I(be),ce=()=>t(8,T=!T),Ve=()=>t(9,C=!C),Ke=()=>t(10,U=!U),Te=()=>t(11,z=!z),Ce=()=>t(12,M=!M),nt=()=>t(0,g=!g),Yt=()=>O("clear");function Qt(be){mm.call(this,n,be)}function dt(be){mm.call(this,n,be)}function Ut(be){zt[be?"unshift":"push"](()=>{X=be,t(7,X)})}return n.$$set=be=>{"output"in be&&t(1,p=be.output),"autoClearOutput"in be&&t(0,g=be.autoClearOutput),"showClearOutput"in be&&t(2,b=be.showClearOutput),"showAutoClearOutput"in be&&t(3,y=be.showAutoClearOutput),"showSectionToggles"in be&&t(4,$=be.showSectionToggles),"showRightControls"in be&&t(5,k=be.showRightControls),"isTab"in be&&t(6,W=be.isTab),"$$scope"in be&&t(24,h=be.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&2&&t(19,i=p.some(be=>be.output.some(le=>le.type==="statistics"))),n.$$.dirty[0]&2&&t(18,r=p.some(be=>be.output.some(le=>le.type==="stderr"))),n.$$.dirty[0]&2&&t(17,s=p.some(be=>be.output.some(le=>le.type==="time"))),n.$$.dirty[0]&2&&t(16,l=p.some(be=>be.output.some(le=>le.type==="warning"||le.type==="checker"&&le.messages&&le.messages.some(F=>F.type==="warning")))),n.$$.dirty[0]&2&&t(15,o=p.some(be=>be.output.some(le=>le.type==="error"||le.type==="checker"&&le.messages&&le.messages.some(F=>F.type==="error")))),n.$$.dirty[0]&2&&t(14,a=L(p)),n.$$.dirty[0]&2&&me()},[g,p,b,y,$,k,W,X,T,C,U,z,M,re,a,o,l,s,r,i,O,I,K,Oe,h,u,We,he,ce,Ve,Ke,Te,Ce,nt,Yt,Qt,dt,Ut]}class Y8 extends Qi{constructor(e){super(),wi(this,e,A8,X8,pi,{output:1,autoClearOutput:0,showClearOutput:2,showAutoClearOutput:3,showSectionToggles:4,showRightControls:5,isTab:6},null,[-1,-1])}}const U8=`const MiniZincIDE = (() => { +`)}),i=[]}};if(n.messages){for(const s of n.messages)if(s.type==="solution")for(const l of s.sections)e.indexOf(l)===-1&&l!=="raw"&&i.push(n.output[l]);else s.type==="trace"?e.indexOf(s.section)===-1&&s.section!=="raw"&&i.push(s.message):(r(),t.push(s));r()}else{for(const s of n.sections)e.indexOf(s)===-1&&s!=="raw"&&i.push(n.output[s]);r()}return t}function E8(n,e,t){let i,r,s,l,o,a,{$$slots:c={},$$scope:h}=e;const O=Yn();let{output:p}=e,{autoClearOutput:g=!1}=e,{showClearOutput:b=!0}=e,{showAutoClearOutput:y=!0}=e,{showSectionToggles:$=!0}=e,{showRightControls:k=!0}=e,{isTab:W=!1}=e,X,R=!0,T=!0,E=!0,M=!0,z=!0;function B($e){const se=$e.flatMap(ie=>ie.output),F=new Set([...se.filter(ie=>ie.type==="solution"||ie.type==="checker").flatMap(ie=>ie.sections.filter(ft=>ie.output[ft].length>0)),...se.filter(ie=>ie.type==="trace").map(ie=>ie.section)].filter(ie=>ie!=="raw"&&!ie.startsWith("mzn_vis_"))),he=[...F.values()];return he.sort(),t(13,ne=ne.filter(ie=>F.has(ie))),he}function I($e){ne.indexOf($e)===-1?t(13,ne=[...ne,$e]):t(13,ne=ne.filter(se=>se!==$e))}function K(){ne.length===0?t(13,ne=[...a]):t(13,ne=[])}let ne=[];const Oe={ALL_SOLUTIONS:"==========",OPTIMAL_SOLUTION:"==========",UNSATISFIABLE:"=====UNSATISFIABLE=====",UNSAT_OR_UNBOUNDED:"=====UNSATorUNBOUNDED=====",UNBOUNDED:"=====UNBOUNDED=====",UNKNOWN:"=====UNKNOWN=====",ERROR:"=====ERROR====="};async function oe($e){X&&(await jn(),X.scrollTo(0,X.scrollHeight))}const Ce=()=>K(),ue=$e=>I($e),fe=()=>t(8,R=!R),Xe=()=>t(9,T=!T),Ie=()=>t(10,E=!E),Qe=()=>t(11,M=!M),xe=()=>t(12,z=!z),it=()=>t(0,g=!g),Ut=()=>O("clear");function Qt($e){mm.call(this,n,$e)}function dt($e){mm.call(this,n,$e)}function Et($e){Yt[$e?"unshift":"push"](()=>{X=$e,t(7,X)})}return n.$$set=$e=>{"output"in $e&&t(1,p=$e.output),"autoClearOutput"in $e&&t(0,g=$e.autoClearOutput),"showClearOutput"in $e&&t(2,b=$e.showClearOutput),"showAutoClearOutput"in $e&&t(3,y=$e.showAutoClearOutput),"showSectionToggles"in $e&&t(4,$=$e.showSectionToggles),"showRightControls"in $e&&t(5,k=$e.showRightControls),"isTab"in $e&&t(6,W=$e.isTab),"$$scope"in $e&&t(24,h=$e.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&2&&t(19,i=p.some($e=>$e.output.some(se=>se.type==="statistics"))),n.$$.dirty[0]&2&&t(18,r=p.some($e=>$e.output.some(se=>se.type==="stderr"))),n.$$.dirty[0]&2&&t(17,s=p.some($e=>$e.output.some(se=>se.type==="time"))),n.$$.dirty[0]&2&&t(16,l=p.some($e=>$e.output.some(se=>se.type==="warning"||se.type==="checker"&&se.messages&&se.messages.some(F=>F.type==="warning")))),n.$$.dirty[0]&2&&t(15,o=p.some($e=>$e.output.some(se=>se.type==="error"||se.type==="checker"&&se.messages&&se.messages.some(F=>F.type==="error")))),n.$$.dirty[0]&2&&t(14,a=B(p)),n.$$.dirty[0]&2&&oe()},[g,p,b,y,$,k,W,X,R,T,E,M,z,ne,a,o,l,s,r,i,O,I,K,Oe,h,c,Ce,ue,fe,Xe,Ie,Qe,xe,it,Ut,Qt,dt,Et]}class z8 extends _i{constructor(e){super(),ki(this,e,E8,U8,di,{output:1,autoClearOutput:0,showClearOutput:2,showAutoClearOutput:3,showSectionToggles:4,showRightControls:5,isTab:6},null,[-1,-1])}}const M8=`const MiniZincIDE = (() => { const callbacks = {}; const responses = []; const freeSlots = []; @@ -194,10 +194,10 @@ function print() { __p += __j.call(arguments, '') } getFinishTime, }; })(); -`;function US(n,e,t){const i=n.slice();return i[23]=e[t],i[24]=e,i[25]=t,i}function ES(n){let e,t,i,r,s,l,o,a,u,h,O,p,g,b,y,$,k,W,X;return $=new Tt({props:{icon:SC}}),{c(){e=_("div"),t=_("div"),t.innerHTML="Solution:",i=N(),r=_("div"),s=_("input"),o=N(),a=_("div"),u=_("input"),O=N(),p=_("div"),g=_("p"),b=_("button"),y=_("span"),ze($.$$.fragment),w(t,"class","solution-label svelte-152bhkz"),w(s,"class","input is-small"),w(s,"type","number"),w(s,"min",l=n[2]>0?1:0),w(s,"max",n[2]),w(u,"type","range"),w(u,"min",h=n[2]>0?1:0),w(u,"max",n[2]),w(u,"class","svelte-152bhkz"),w(a,"class","solution-slider svelte-152bhkz"),w(y,"class","icon"),w(b,"class","button is-small"),w(b,"title","Follow latest solution"),fe(b,"is-primary",n[0]),fe(b,"is-light",!n[0]),w(g,"class","control"),w(p,"class","field has-addons svelte-152bhkz"),w(e,"class","top svelte-152bhkz")},m(T,C){E(T,e,C),Q(e,t),Q(e,i),Q(e,r),Q(r,s),di(s,n[1]),Q(e,o),Q(e,a),Q(a,u),di(u,n[1]),Q(e,O),Q(e,p),Q(p,g),Q(g,b),Q(b,y),Ee($,y,null),k=!0,W||(X=[oe(s,"input",n[12]),oe(u,"change",n[13]),oe(u,"input",n[13]),oe(b,"click",n[14])],W=!0)},p(T,C){(!k||C&4&&l!==(l=T[2]>0?1:0))&&w(s,"min",l),(!k||C&4)&&w(s,"max",T[2]),C&2&&qo(s.value)!==T[1]&&di(s,T[1]),(!k||C&4&&h!==(h=T[2]>0?1:0))&&w(u,"min",h),(!k||C&4)&&w(u,"max",T[2]),C&2&&di(u,T[1]),(!k||C&1)&&fe(b,"is-primary",T[0]),(!k||C&1)&&fe(b,"is-light",!T[0])},i(T){k||(q($.$$.fragment,T),k=!0)},o(T){B($.$$.fragment,T),k=!1},d(T){T&&Y(e),Me($),W=!1,Gt(X)}}}function MS(n){let e,t,i=n[24],r=n[25],s,l;const o=()=>n[15](e,i,r),a=()=>n[15](null,i,r);function u(...h){return n[16](n[23],...h)}return{c(){e=_("iframe"),w(e,"class","vis-window svelte-152bhkz"),hm(e.src,t=n[23].url)||w(e,"src",t),w(e,"title","Visualisation")},m(h,O){E(h,e,O),o(),s||(l=oe(e,"load",u),s=!0)},p(h,O){n=h,O&8&&!hm(e.src,t=n[23].url)&&w(e,"src",t),(i!==n[24]||r!==n[25])&&(a(),i=n[24],r=n[25],o())},d(h){h&&Y(e),a(),s=!1,l()}}}function E8(n){let e,t,i,r,s,l,o,a=n[2]>0&&ES(n),u=at(n[3]),h=[];for(let O=0;O0?a?(a.p(O,p),p&4&&q(a,1)):(a=ES(O),a.c(),q(a,1),a.m(e,t)):a&&(tt(),B(a,1,1,()=>{a=null}),it()),p&8){u=at(O[3]);let g;for(g=0;g{Oe=Te});me.then(Te=>{Te.contentWindow.postMessage({event:"init",payload:re},"*")});const We=s.reduce((Te,Ce)=>({...Te,[Ce.name]:Ce.state.doc.toString()}),{}),he=[],ce=new DOMParser().parseFromString(K,"text/html");for(const Te of ce.getElementsByTagName("script")){const Ce=Te.getAttribute("src");if(Ce==="/minizinc-ide.js")Te.src=M8;else if(Ce in We&&Ce.endsWith(".js")){const nt=URL.createObjectURL(new Blob([We[Ce]],{type:"text/javascript; charset=utf-8"}));Te.src=nt,he.push(nt)}}for(const Te of ce.getElementsByTagName("link")){const Ce=Te.getAttribute("href");if(Ce in We&&Ce.endsWith(".css")){const nt=URL.createObjectURL(new Blob([We[Ce]],{type:"text/css; charset=utf-8"}));Te.href=nt,he.push(nt)}}const Ve=new XMLSerializer().serializeToString(ce.doctype)+ce.documentElement.outerHTML,Ke=URL.createObjectURL(new Blob([Ve],{type:"text/html; charset=utf-8"}));t(3,O=[...O,{key:I,url:Ke,extraUrls:he,makeReady:Oe,ready:me,solutions:[],element:null}])}function $(I,K){for(const re in I){const Oe=O.find(We=>We.key===re);if(!Oe){console.error(`Did not find visualisation for ${re}`);continue}const me={time:K,data:I[re]};Oe.solutions.push(me),Qn({event:"solution",payload:me},Oe)}t(2,h++,h)}function k(I,K){p={status:I,time:K};for(let re=0;reOe.element.contentWindow===I.source);switch(K.event){case"rebroadcast":for(const me of O)Qn(K.message,me);K.message.event==="goToSolution"&&(l=K.message.payload===-1,t(0,o=K.message.payload===-1),a=K.message.payload+1,t(1,u=K.message.payload+1));break;case"solve":r("solve",{modelFile:K.modelFile,dataFiles:K.dataFiles,options:K.options});break;case"getNumSolutions":Qn({event:"response",id:K.id,payload:re.solutions.length},re);break;case"getSolution":const Oe=K.index<0?K.index+re.solutions.length:K.index;if(Oe<0||Oe>=re.solutions.length)Qn({event:"error",id:K.id,message:"Solution index out of range"},re);else{Qn({event:"response",id:K.id,payload:re.solutions[K.index===-1?re.solutions.length-1:K.index]},re);break}case"getAllSolutions":Qn({event:"response",id:K.id,payload:re.solutions},re);break;case"getStatus":Qn({event:"response",id:K.id,payload:p},re);break;case"getFinishTime":Qn({event:"response",id:K.id,payload:g},re);break}}function T(I,K,re){if(o&&a===u&&(a=h,t(1,u=h)),o!==l){l=o;for(const Oe of O)Qn({event:"goToSolution",payload:o?-1:u-1},Oe)}if(a!==u){a=u,l=!1,t(0,o=!1);for(const Oe of O)Qn({event:"goToSolution",payload:u-1},Oe)}}function C(){u=qo(this.value),t(1,u)}function U(){u=qo(this.value),t(1,u)}const z=()=>t(0,o=!o);function M(I,K,re){zt[I?"unshift":"push"](()=>{K[re].element=I,t(3,O)})}const L=(I,K)=>I.makeReady(K.target);return n.$$set=I=>{"files"in I&&t(6,s=I.files)},n.$$.update=()=>{n.$$.dirty&8&&t(4,i=Math.ceil(Math.sqrt(O.length))),n.$$.dirty&7&&T()},[o,u,h,O,i,X,s,b,y,$,k,W,C,U,z,M,L]}class V8 extends Qi{constructor(e){super(),wi(this,e,z8,E8,pi,{files:6,reset:7,addVisualisation:8,addSolution:9,status:10,finish:11})}get reset(){return this.$$.ctx[7]}get addVisualisation(){return this.$$.ctx[8]}get addSolution(){return this.$$.ctx[9]}get status(){return this.$$.ctx[10]}get finish(){return this.$$.ctx[11]}}function D8(n){let e,t,i,r,s,l,o,a,u,h,O,p,g,b,y,$,k,W,X,T,C,U,z,M,L,I,K,re,Oe,me,We,he;return{c(){e=_("aside"),t=_("p"),t.textContent="Model",i=N(),r=_("ul"),s=_("li"),l=_("button"),l.textContent="Model file (.mzn)",o=N(),a=_("li"),u=_("button"),u.textContent="Solution checker model (.mzc.mzn)",h=N(),O=_("p"),O.textContent="Data",p=N(),g=_("ul"),b=_("li"),y=_("button"),y.textContent="Data file (.dzn)",$=N(),k=_("li"),W=_("button"),W.textContent="JSON data file (.json)",X=N(),T=_("p"),T.textContent="Visualisation",C=N(),U=_("ul"),z=_("li"),M=_("button"),M.textContent="Custom visualisation (.html)",L=N(),I=_("p"),I.textContent="Import",K=N(),re=_("ul"),Oe=_("li"),me=_("button"),me.textContent="Upload file(s)",w(t,"class","menu-label"),w(l,"type","button"),w(l,"class","button is-text svelte-1kj2hj8"),w(u,"type","button"),w(u,"class","button is-text svelte-1kj2hj8"),w(r,"class","menu-list svelte-1kj2hj8"),w(O,"class","menu-label"),w(y,"type","button"),w(y,"class","button is-text svelte-1kj2hj8"),w(W,"type","button"),w(W,"class","button is-text svelte-1kj2hj8"),w(g,"class","menu-list svelte-1kj2hj8"),w(T,"class","menu-label"),w(M,"type","button"),w(M,"class","button is-text svelte-1kj2hj8"),w(U,"class","menu-list svelte-1kj2hj8"),w(I,"class","menu-label"),w(me,"type","button"),w(me,"class","button is-text svelte-1kj2hj8"),w(re,"class","menu-list svelte-1kj2hj8"),w(e,"class","menu")},m(ce,Ve){E(ce,e,Ve),Q(e,t),Q(e,i),Q(e,r),Q(r,s),Q(s,l),n[7](l),Q(r,o),Q(r,a),Q(a,u),Q(e,h),Q(e,O),Q(e,p),Q(e,g),Q(g,b),Q(b,y),Q(g,$),Q(g,k),Q(k,W),Q(e,X),Q(e,T),Q(e,C),Q(e,U),Q(U,z),Q(z,M),Q(e,L),Q(e,I),Q(e,K),Q(e,re),Q(re,Oe),Q(Oe,me),We||(he=[oe(l,"click",n[8]),oe(u,"click",n[9]),oe(y,"click",n[10]),oe(W,"click",n[11]),oe(M,"click",n[12]),oe(me,"click",n[13])],We=!0)},p:Qe,d(ce){ce&&Y(e),n[7](null),We=!1,Gt(he)}}}function q8(n){let e,t,i,r,s,l;return e=new Yl({props:{active:n[0],title:"Create new file",$$slots:{default:[D8]},$$scope:{ctx:n}}}),e.$on("activate",n[5]),e.$on("cancel",n[14]),{c(){ze(e.$$.fragment),t=N(),i=_("input"),w(i,"class","is-hidden svelte-1kj2hj8"),w(i,"type","file"),i.multiple=!0,w(i,"accept",".mzn,.mzc,.dzn,.json,.html")},m(o,a){Ee(e,o,a),E(o,t,a),E(o,i,a),n[15](i),r=!0,s||(l=[oe(i,"change",n[16]),oe(i,"change",n[6])],s=!0)},p(o,[a]){const u={};a&1&&(u.active=o[0]),a&131082&&(u.$$scope={dirty:a,ctx:o}),e.$set(u)},i(o){r||(q(e.$$.fragment,o),r=!0)},o(o){B(e.$$.fragment,o),r=!1},d(o){o&&(Y(t),Y(i)),Me(e,o),n[15](null),s=!1,Gt(l)}}}function I8(n,e,t){let{active:i=!1}=e;const r=Zn();let s,l,o;async function a(){await In(),o&&o.focus()}async function u(){const T=[];for(const U of l)T.push(new Promise((z,M)=>{const L=new FileReader;L.onload=()=>{z({name:U.name,contents:L.result})},L.onerror=I=>M(I),L.readAsText(U)}));const C=await Promise.all(T);r("open",{files:C})}function h(T){zt[T?"unshift":"push"](()=>{o=T,t(3,o)})}const O=()=>r("new",{type:".mzn"}),p=()=>r("new",{type:".mzc.mzn"}),g=()=>r("new",{type:".dzn"}),b=()=>r("new",{type:".json"}),y=()=>r("new",{type:".html"}),$=()=>s.click(),k=()=>r("cancel");function W(T){zt[T?"unshift":"push"](()=>{s=T,t(1,s)})}function X(){l=this.files,t(2,l)}return n.$$set=T=>{"active"in T&&t(0,i=T.active)},[i,s,l,o,r,a,u,h,O,p,g,b,y,$,k,W,X]}class N8 extends Qi{constructor(e){super(),wi(this,e,I8,q8,pi,{active:0})}}function zS(n,e,t){const i=n.slice();return i[14]=e[t],i}function VS(n,e,t){const i=n.slice();return i[17]=e[t].file,i[18]=e[t].index,i}function L8(n){let e,t,i,r,s,l,o;i=new Tt({props:{icon:n[17].readOnly?id:W1}});function a(){return n[11](n[18],n[17])}return{c(){e=_("button"),t=_("span"),ze(i.$$.fragment),w(t,"class","icon"),w(e,"class","button is-small"),w(e,"title",r="Click to "+(n[17].readOnly?"unlock":"lock")+" this file for editing"),w(e,"type","button"),fe(e,"is-primary",!n[17].readOnly),fe(e,"is-light",n[17].readOnly)},m(u,h){E(u,e,h),Q(e,t),Ee(i,t,null),s=!0,l||(o=oe(e,"click",a),l=!0)},p(u,h){n=u;const O={};h&2&&(O.icon=n[17].readOnly?id:W1),i.$set(O),(!s||h&2&&r!==(r="Click to "+(n[17].readOnly?"unlock":"lock")+" this file for editing"))&&w(e,"title",r),(!s||h&2)&&fe(e,"is-primary",!n[17].readOnly),(!s||h&2)&&fe(e,"is-light",n[17].readOnly)},i(u){s||(q(i.$$.fragment,u),s=!0)},o(u){B(i.$$.fragment,u),s=!1},d(u){u&&Y(e),Me(i),l=!1,o()}}}function B8(n){let e,t,i,r;return i=new Tt({props:{icon:id}}),{c(){e=_("button"),t=_("span"),ze(i.$$.fragment),w(t,"class","icon"),w(e,"class","button is-small is-light"),w(e,"title","Compiled checkers are read only"),w(e,"type","button"),e.disabled=!0},m(s,l){E(s,e,l),Q(e,t),Ee(i,t,null),r=!0},p:Qe,i(s){r||(q(i.$$.fragment,s),r=!0)},o(s){B(i.$$.fragment,s),r=!1},d(s){s&&Y(e),Me(i)}}}function DS(n){let e,t,i=n[17].name+"",r,s,l,o,a,u,h,O,p,g,b,y,$,k,W,X,T,C,U,z,M,L,I;p=new Tt({props:{icon:n[17].hidden?x1:C1}});function K(){return n[10](n[18],n[17])}const re=[B8,L8],Oe=[];function me(he,ce){return ce&2&&($=null),$==null&&($=!!he[17].name.endsWith(".mzc")),$?0:1}k=me(n,-1),W=Oe[k]=re[k](n),z=new Tt({props:{icon:Wy}});function We(){return n[12](n[18])}return{c(){e=_("tr"),t=_("td"),r=Se(i),s=N(),l=_("td"),o=_("div"),a=_("div"),u=_("p"),h=_("button"),O=_("span"),ze(p.$$.fragment),b=N(),y=_("p"),W.c(),X=N(),T=_("p"),C=_("button"),U=_("span"),ze(z.$$.fragment),w(O,"class","icon"),w(h,"class","button is-small"),w(h,"title",g="Click to "+(n[17].hidden?"show":"hide")+" this file"),w(h,"type","button"),fe(h,"is-primary",!n[17].hidden),fe(h,"is-light",n[17].hidden),w(u,"class","control"),w(y,"class","control"),w(U,"class","icon"),w(C,"class","button is-small is-danger"),w(C,"title","Delete this file"),w(C,"type","button"),w(T,"class","control"),w(a,"class","field is-grouped"),w(o,"class","tool-buttons svelte-1bgv9sn")},m(he,ce){E(he,e,ce),Q(e,t),Q(t,r),Q(e,s),Q(e,l),Q(l,o),Q(o,a),Q(a,u),Q(u,h),Q(h,O),Ee(p,O,null),Q(a,b),Q(a,y),Oe[k].m(y,null),Q(a,X),Q(a,T),Q(T,C),Q(C,U),Ee(z,U,null),M=!0,L||(I=[oe(h,"click",K),oe(C,"click",We)],L=!0)},p(he,ce){n=he,(!M||ce&2)&&i!==(i=n[17].name+"")&&He(r,i);const Ve={};ce&2&&(Ve.icon=n[17].hidden?x1:C1),p.$set(Ve),(!M||ce&2&&g!==(g="Click to "+(n[17].hidden?"show":"hide")+" this file"))&&w(h,"title",g),(!M||ce&2)&&fe(h,"is-primary",!n[17].hidden),(!M||ce&2)&&fe(h,"is-light",n[17].hidden);let Ke=k;k=me(n,ce),k===Ke?Oe[k].p(n,ce):(tt(),B(Oe[Ke],1,1,()=>{Oe[Ke]=null}),it(),W=Oe[k],W?W.p(n,ce):(W=Oe[k]=re[k](n),W.c()),q(W,1),W.m(y,null))},i(he){M||(q(p.$$.fragment,he),q(W),q(z.$$.fragment,he),M=!0)},o(he){B(p.$$.fragment,he),B(W),B(z.$$.fragment,he),M=!1},d(he){he&&Y(e),Me(p),Oe[k].d(),Me(z),L=!1,Gt(I)}}}function qS(n){let e,t=n[14].label+"",i,r,s,l,o=at(n[14].files),a=[];for(let h=0;hB(a[h],1,1,()=>{a[h]=null});return{c(){e=_("p"),i=Se(t),r=N(),s=_("table");for(let h=0;hB(p[b],1,1,()=>{p[b]=null});return s=new Tt({props:{icon:Ty}}),{c(){for(let b=0;bAccept',w(e,"slot","footer")},m(t,i){E(t,e,i)},p:Qe,d(t){t&&Y(e)}}}function G8(n){let e,t;return e=new Yl({props:{active:n[0],title:"Manage files",$$slots:{footer:[F8],default:[j8]},$$scope:{ctx:n}}}),e.$on("submit",n[3]),e.$on("cancel",n[3]),{c(){ze(e.$$.fragment)},m(i,r){Ee(e,i,r),t=!0},p(i,[r]){const s={};r&1&&(s.active=i[0]),r&2097154&&(s.$$scope={dirty:r,ctx:i}),e.$set(s)},i(i){t||(q(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Me(e,i)}}}function H8(n,e,t){let i,r,s,l,o,a,{active:u=!1}=e,{files:h=[]}=e;const O=Zn();function p(){O("close")}const g=(k,W)=>O("modifyFile",{index:k,options:{hidden:!W.hidden}}),b=(k,W)=>O("modifyFile",{index:k,options:{readOnly:!W.readOnly}}),y=k=>O("delete",{index:k}),$=()=>O("newFile");return n.$$set=k=>{"active"in k&&t(0,u=k.active),"files"in k&&t(4,h=k.files)},n.$$.update=()=>{n.$$.dirty&16&&t(9,i=h.map((k,W)=>({file:k,index:W}))),n.$$.dirty&512&&t(8,r=i.filter(k=>k.file.name.endsWith(".mzn")&&!k.file.name.endsWith(".mzc.mzn")).sort((k,W)=>k.file.name.localeCompare(W.file.name))),n.$$.dirty&512&&t(7,s=i.filter(k=>k.file.name.endsWith(".dzn")||k.file.name.endsWith(".json")).sort((k,W)=>k.file.name.localeCompare(W.file.name))),n.$$.dirty&512&&t(6,l=i.filter(k=>k.file.name.endsWith(".mzc")||k.file.name.endsWith(".mzc.mzn")).sort((k,W)=>k.file.name.localeCompare(W.file.name))),n.$$.dirty&512&&t(5,o=i.filter(k=>!k.file.name.endsWith(".mzn")&&!k.file.name.endsWith(".mzc")&&!k.file.name.endsWith(".dzn")&&!k.file.name.endsWith(".json")).sort((k,W)=>k.file.name.localeCompare(W.file.name))),n.$$.dirty&480&&t(1,a=[{label:"Model files",files:r},{label:"Data files",files:s},{label:"Solution checkers",files:l},{label:"Other files",files:o}].filter(k=>k.files.length>0))},[u,a,O,p,h,o,l,s,r,i,g,b,y,$]}class K8 extends Qi{constructor(e){super(),wi(this,e,H8,G8,pi,{active:0,files:4})}}function IS(n,e,t){const i=n.slice();return i[9]=e[t],i}function NS(n){let e,t=n[9]+"",i,r;return{c(){e=_("option"),i=Se(t),e.__value=r=n[9],di(e,e.__value),w(e,"class","svelte-1x5266v")},m(s,l){E(s,e,l),Q(e,i)},p(s,l){l&1&&t!==(t=s[9]+"")&&He(i,t),l&1&&r!==(r=s[9])&&(e.__value=r,di(e,e.__value))},d(s){s&&Y(e)}}}function J8(n){let e,t,i,r,s,l=at(n[0]),o=[];for(let a=0;an[6].call(t)),w(e,"class","select is-fullwidth is-multiple svelte-1x5266v")},m(a,u){E(a,e,u),Q(e,t);for(let h=0;h0&&t(2,l=p[0])}function a(){i("accept",{modelFile:l})}const u=()=>i("cancel");function h(){l=mO(this),t(2,l),t(0,r)}const O=()=>i("cancel");return n.$$set=p=>{"modelFiles"in p&&t(0,r=p.modelFiles),"active"in p&&t(1,s=p.active)},n.$$.update=()=>{n.$$.dirty&1&&o(r)},[r,s,l,i,a,u,h,O]}class n9 extends Qi{constructor(e){super(),wi(this,e,i9,t9,pi,{modelFiles:0,active:1})}}function LS(n,e,t){const i=n.slice();return i[25]=e[t],i[26]=e,i[27]=t,i}function BS(n,e,t){const i=n.slice();return i[22]=e[t],i}function jS(n){let e,t,i,r,s,l,o,a,u;return{c(){e=_("div"),t=_("ul"),i=_("li"),r=_("a"),r.textContent="Enter parameters",s=N(),l=_("li"),o=_("a"),o.textContent="Select data file",fe(i,"is-active",!n[2]),fe(l,"is-active",n[2]),w(e,"class","tabs")},m(h,O){E(h,e,O),Q(e,t),Q(t,i),Q(i,r),Q(t,s),Q(t,l),Q(l,o),a||(u=[oe(r,"click",n[13]),oe(o,"click",n[14])],a=!0)},p(h,O){O&4&&fe(i,"is-active",!h[2]),O&4&&fe(l,"is-active",h[2])},d(h){h&&Y(e),a=!1,Gt(u)}}}function r9(n){let e,t=at(n[5]),i=[];for(let r=0;rn[16].call(t)),w(e,"class","select is-fullwidth is-multiple")},m(a,u){E(a,e,u),Q(e,t);for(let h=0;hL[I]===void 0?{name:I,value:""}:{name:I,value:L[I]}))}function y(){r?s("accept",{dataFiles:h}):s("accept",{parameters:O.reduce((L,I)=>({...L,[I.name]:I.value}),{})})}const $=()=>s("cancel"),k=()=>t(2,u=!1),W=()=>t(2,u=!0);function X(L){zt[L?"unshift":"push"](()=>{p=L,t(6,p)})}function T(){h=VW(this),t(4,h),t(1,a)}function C(L){zt[L?"unshift":"push"](()=>{p=L,t(6,p)})}function U(L,I){L[I].value=this.value,t(5,O)}function z(L,I){L[I].value=this.value,t(5,O)}const M=()=>s("cancel");return n.$$set=L=>{"active"in L&&t(0,l=L.active),"parameters"in L&&t(11,o=L.parameters),"dataFiles"in L&&t(1,a=L.dataFiles)},n.$$.update=()=>{n.$$.dirty&2048&&b(o),n.$$.dirty&2&&t(3,i=a.length>0),n.$$.dirty&12&&t(7,r=i&&u)},[l,a,u,i,h,O,p,r,s,g,y,o,$,k,W,X,T,C,U,z,M]}class h9 extends Qi{constructor(e){super(),wi(this,e,u9,c9,pi,{active:0,parameters:11,dataFiles:1})}}function HS(n){let e,t,i,r,s,l,o,a,u,h,O,p,g,b,y,$,k,W,X=Pn(n[1],"-a"),T,C=Pn(n[1],"-f"),U,z,M,L,I,K,re,Oe,me,We=Pn(n[1],"-v"),he,ce,Ve,Ke,Te,Ce,nt,Yt=Pn(n[1],"-s"),Qt,dt,Ut,be,le,F,ue,ie,ft,Je,De,st,Dt,gt,$t,Gn;r=new Tt({props:{icon:Zy}});let Ne=X&&KS(n),ae=C&&JS(n),je=We&&eb(n),pt=Yt&&tb(n);return{c(){e=_("div"),t=_("button"),i=_("span"),ze(r.$$.fragment),s=N(),l=_("h5"),l.textContent="Solving options",o=N(),a=_("form"),u=_("div"),h=_("p"),O=_("input"),p=N(),g=_("label"),g.textContent="Time limit (s)",b=N(),y=_("p"),$=_("input"),W=N(),Ne&&Ne.c(),T=N(),ae&&ae.c(),U=N(),z=_("h5"),z.textContent="Output options",M=N(),L=_("div"),I=_("p"),K=_("input"),re=N(),Oe=_("label"),Oe.textContent="Verbose compilation",me=N(),je&&je.c(),he=N(),ce=_("div"),Ve=_("p"),Ke=_("input"),Te=N(),Ce=_("label"),Ce.textContent="Compilation statistics",nt=N(),pt&&pt.c(),Qt=N(),dt=_("div"),Ut=_("p"),be=_("input"),le=N(),F=_("label"),F.textContent="Timing information",ue=N(),ie=_("div"),ft=_("p"),ft.innerHTML='',Je=N(),De=_("p"),st=_("button"),st.textContent="Reset to defaults",w(i,"class","icon"),w(t,"class","button is-text is-small exit-button svelte-1uq9463"),w(l,"class","title is-5"),w(O,"id","enable-timelimit"),w(O,"type","checkbox"),w(O,"class","svelte-1uq9463"),w(g,"for","enable-timelimit"),w(g,"class","svelte-1uq9463"),w(h,"class","control checkbox-control svelte-1uq9463"),w($,"class","input is-fullwidth"),w($,"type","number"),w($,"step","1"),w($,"min",0),$.disabled=k=!n[3],w(y,"class","control is-expanded"),w(u,"class","field is-grouped"),w(z,"class","title is-5"),w(K,"id","enable-verbose-compile"),w(K,"type","checkbox"),w(K,"class","svelte-1uq9463"),w(Oe,"for","enable-verbose-compile"),w(Oe,"class","svelte-1uq9463"),w(I,"class","control checkbox-control svelte-1uq9463"),w(L,"class","field"),w(Ke,"id","enable-compilation-satistics"),w(Ke,"type","checkbox"),w(Ke,"class","svelte-1uq9463"),w(Ce,"for","enable-compilation-satistics"),w(Ce,"class","svelte-1uq9463"),w(Ve,"class","control checkbox-control svelte-1uq9463"),w(ce,"class","field"),w(be,"id","enable-timing-information"),w(be,"type","checkbox"),w(be,"class","svelte-1uq9463"),w(F,"for","enable-timing-information"),w(F,"class","svelte-1uq9463"),w(Ut,"class","control checkbox-control svelte-1uq9463"),w(dt,"class","field"),w(ft,"class","control"),w(st,"type","button"),w(st,"class","button is-danger"),w(De,"class","control"),w(ie,"class","field is-grouped bottom-buttons svelte-1uq9463"),w(e,"class","config-window svelte-1uq9463")},m(Ze,mt){E(Ze,e,mt),Q(e,t),Q(t,i),Ee(r,i,null),Q(e,s),Q(e,l),Q(e,o),Q(e,a),Q(a,u),Q(u,h),Q(h,O),O.checked=n[3],Q(h,p),Q(h,g),Q(u,b),Q(u,y),Q(y,$),di($,n[2]),Q(a,W),Ne&&Ne.m(a,null),Q(a,T),ae&&ae.m(a,null),Q(a,U),Q(a,z),Q(a,M),Q(a,L),Q(L,I),Q(I,K),K.checked=n[5],Q(I,re),Q(I,Oe),Q(a,me),je&&je.m(a,null),Q(a,he),Q(a,ce),Q(ce,Ve),Q(Ve,Ke),Ke.checked=n[7],Q(Ve,Te),Q(Ve,Ce),Q(a,nt),pt&&pt.m(a,null),Q(a,Qt),Q(a,dt),Q(dt,Ut),Q(Ut,be),be.checked=n[9],Q(Ut,le),Q(Ut,F),Q(a,ue),Q(a,ie),Q(ie,ft),Q(ie,Je),Q(ie,De),Q(De,st),gt=!0,$t||(Gn=[oe(t,"click",n[17]),oe(O,"change",n[18]),oe($,"input",n[19]),oe(K,"change",n[22]),oe(Ke,"change",n[24]),oe(be,"change",n[26]),oe(st,"click",n[12]),oe(a,"submit",jb(n[27]))],$t=!0)},p(Ze,mt){mt&8&&(O.checked=Ze[3]),(!gt||mt&8&&k!==(k=!Ze[3]))&&($.disabled=k),mt&4&&qo($.value)!==Ze[2]&&di($,Ze[2]),mt&2&&(X=Pn(Ze[1],"-a")),X?Ne?Ne.p(Ze,mt):(Ne=KS(Ze),Ne.c(),Ne.m(a,T)):Ne&&(Ne.d(1),Ne=null),mt&2&&(C=Pn(Ze[1],"-f")),C?ae?ae.p(Ze,mt):(ae=JS(Ze),ae.c(),ae.m(a,U)):ae&&(ae.d(1),ae=null),mt&32&&(K.checked=Ze[5]),mt&2&&(We=Pn(Ze[1],"-v")),We?je?je.p(Ze,mt):(je=eb(Ze),je.c(),je.m(a,he)):je&&(je.d(1),je=null),mt&128&&(Ke.checked=Ze[7]),mt&2&&(Yt=Pn(Ze[1],"-s")),Yt?pt?pt.p(Ze,mt):(pt=tb(Ze),pt.c(),pt.m(a,Qt)):pt&&(pt.d(1),pt=null),mt&512&&(be.checked=Ze[9])},i(Ze){gt||(q(r.$$.fragment,Ze),Ze&&Ln(()=>{gt&&(Dt||(Dt=bl(e,yc,{x:100,duration:200},!0)),Dt.run(1))}),gt=!0)},o(Ze){B(r.$$.fragment,Ze),Ze&&(Dt||(Dt=bl(e,yc,{x:100,duration:200},!1)),Dt.run(0)),gt=!1},d(Ze){Ze&&Y(e),Me(r),Ne&&Ne.d(),ae&&ae.d(),je&&je.d(),pt&&pt.d(),Ze&&Dt&&Dt.end(),$t=!1,Gt(Gn)}}}function KS(n){let e,t,i,r,s,l,o;return{c(){e=_("div"),t=_("p"),i=_("input"),r=N(),s=_("label"),s.textContent="All solutions (for satisfication problems)",w(i,"id","enable-all-solutions"),w(i,"type","checkbox"),w(i,"class","svelte-1uq9463"),w(s,"for","enable-all-solutions"),w(s,"class","svelte-1uq9463"),w(t,"class","control checkbox-control svelte-1uq9463"),w(e,"class","field")},m(a,u){E(a,e,u),Q(e,t),Q(t,i),i.checked=n[4],Q(t,r),Q(t,s),l||(o=oe(i,"change",n[20]),l=!0)},p(a,u){u&16&&(i.checked=a[4])},d(a){a&&Y(e),l=!1,o()}}}function JS(n){let e,t,i,r,s,l,o;return{c(){e=_("div"),t=_("p"),i=_("input"),r=N(),s=_("label"),s.textContent="Free search",w(i,"id","enable-free-search"),w(i,"type","checkbox"),w(i,"class","svelte-1uq9463"),w(s,"for","enable-free-search"),w(s,"class","svelte-1uq9463"),w(t,"class","control checkbox-control svelte-1uq9463"),w(e,"class","field")},m(a,u){E(a,e,u),Q(e,t),Q(t,i),i.checked=n[10],Q(t,r),Q(t,s),l||(o=oe(i,"change",n[21]),l=!0)},p(a,u){u&1024&&(i.checked=a[10])},d(a){a&&Y(e),l=!1,o()}}}function eb(n){let e,t,i,r,s,l,o;return{c(){e=_("div"),t=_("p"),i=_("input"),r=N(),s=_("label"),s.textContent="Verbose solving",w(i,"id","enable-verbose-solve"),w(i,"type","checkbox"),w(i,"class","svelte-1uq9463"),w(s,"for","enable-verbose-solve"),w(s,"class","svelte-1uq9463"),w(t,"class","control checkbox-control svelte-1uq9463"),w(e,"class","field")},m(a,u){E(a,e,u),Q(e,t),Q(t,i),i.checked=n[6],Q(t,r),Q(t,s),l||(o=oe(i,"change",n[23]),l=!0)},p(a,u){u&64&&(i.checked=a[6])},d(a){a&&Y(e),l=!1,o()}}}function tb(n){let e,t,i,r,s,l,o;return{c(){e=_("div"),t=_("p"),i=_("input"),r=N(),s=_("label"),s.textContent="Solving statistics",w(i,"id","enable-solving-satistics"),w(i,"type","checkbox"),w(i,"class","svelte-1uq9463"),w(s,"for","enable-solving-satistics"),w(s,"class","svelte-1uq9463"),w(t,"class","control checkbox-control svelte-1uq9463"),w(e,"class","field")},m(a,u){E(a,e,u),Q(e,t),Q(t,i),i.checked=n[8],Q(t,r),Q(t,s),l||(o=oe(i,"change",n[25]),l=!0)},p(a,u){u&256&&(i.checked=a[8])},d(a){a&&Y(e),l=!1,o()}}}function O9(n){let e,t,i=n[0]&&HS(n);return{c(){i&&i.c(),e=Ht()},m(r,s){i&&i.m(r,s),E(r,e,s),t=!0},p(r,[s]){r[0]?i?(i.p(r,s),s&1&&q(i,1)):(i=HS(r),i.c(),q(i,1),i.m(e.parentNode,e)):i&&(tt(),B(i,1,1,()=>{i=null}),it())},i(r){t||(q(i),t=!0)},o(r){B(i),t=!1},d(r){r&&Y(e),i&&i.d(r)}}}function Pn(n,e){return n.indexOf(e)!==-1}function d9(n,e,t){const i=Zn();let{active:r}=e,{stdFlags:s=[]}=e,l=!1,o=1,a=!1,u=!1,h=!1,O=!1,p=!1,g=!1,b=!1;function y(he){const ce=he*1e3;ce!==Math.floor(ce)&&t(2,o=Math.floor(ce)/1e3)}function $(){t(3,l=!1),t(2,o=1),t(4,a=!1),t(5,u=!1),t(6,h=!1),t(7,O=!1),t(8,p=!1),t(9,g=!1),t(10,b=!1)}function k(he){t(3,l=he.enableTimeLimit),t(2,o=he.timeLimit),t(4,a=he.allSolutions),t(5,u=he.verboseCompilation),t(6,h=he.verboseSolving),t(7,O=he.compilerStatistics),t(8,p=he.solvingStatistics),t(9,g=he.outputTime),t(10,b=he.freeSearch)}function W(){return{enableTimeLimit:l,timeLimit:o,allSolutions:a,verboseCompilation:u,verboseSolving:h,compilerStatistics:O,solvingStatistics:p,outputTime:g,freeSearch:b}}function X(he){const ce={solver:he};return l&&o>0&&(ce["time-limit"]=o*1e3),a&&Pn(s,"-a")&&(ce["all-satisfaction"]=!0),u&&(ce["verbose-compilation"]=!0),h&&Pn(s,"-v")&&(ce["verbose-solving"]=!0),O&&(ce["compiler-statistics"]=!0),p&&Pn(s,"-s")&&(ce["solver-statistics"]=!0),g&&(ce["output-time"]=!0),b&&Pn(s,"-f")&&(ce["free-search"]=!0),ce}function T(he){const ce={solver:he};return u&&(ce["verbose-compilation"]=!0),O&&(ce["compiler-statistics"]=!0),ce}const C=()=>i("close");function U(){l=this.checked,t(3,l)}function z(){o=qo(this.value),t(2,o)}function M(){a=this.checked,t(4,a)}function L(){b=this.checked,t(10,b)}function I(){u=this.checked,t(5,u)}function K(){h=this.checked,t(6,h)}function re(){O=this.checked,t(7,O)}function Oe(){p=this.checked,t(8,p)}function me(){g=this.checked,t(9,g)}const We=()=>i("close");return n.$$set=he=>{"active"in he&&t(0,r=he.active),"stdFlags"in he&&t(1,s=he.stdFlags)},n.$$.update=()=>{n.$$.dirty&4&&y(o)},[r,s,o,l,a,u,h,O,p,g,b,i,$,k,W,X,T,C,U,z,M,L,I,K,re,Oe,me,We]}class p9 extends Qi{constructor(e){super(),wi(this,e,d9,O9,pi,{active:0,stdFlags:1,load:13,save:14,getSolvingConfiguration:15,getCompilationConfiguration:16})}get load(){return this.$$.ctx[13]}get save(){return this.$$.ctx[14]}get getSolvingConfiguration(){return this.$$.ctx[15]}get getCompilationConfiguration(){return this.$$.ctx[16]}}function ib(n,e,t){const i=n.slice();return i[13]=e[t],i}const g9=n=>({item:n&2}),nb=n=>({item:n[13]}),m9=n=>({item:n&4}),rb=n=>({item:n[2]});function sb(n){let e;const t=n[8].selected,i=ji(t,n,n[7],rb),r=i||S9(n);return{c(){r&&r.c()},m(s,l){r&&r.m(s,l),e=!0},p(s,l){i?i.p&&(!e||l&132)&&Gi(i,t,s,s[7],e?Fi(t,s[7],l,m9):Hi(s[7]),rb):r&&r.p&&(!e||l&4)&&r.p(s,e?l:-1)},i(s){e||(q(r,s),e=!0)},o(s){B(r,s),e=!1},d(s){r&&r.d(s)}}}function S9(n){let e=n[2].label+"",t;return{c(){t=Se(e)},m(i,r){E(i,t,r)},p(i,r){r&4&&e!==(e=i[2].label+"")&&He(t,e)},d(i){i&&Y(t)}}}function b9(n){let e=n[13].label+"",t;return{c(){t=Se(e)},m(i,r){E(i,t,r)},p(i,r){r&2&&e!==(e=i[13].label+"")&&He(t,e)},d(i){i&&Y(t)}}}function lb(n){let e,t,i,r,s;const l=n[8].item,o=ji(l,n,n[7],nb),a=o||b9(n);function u(){return n[10](n[13])}return{c(){e=_("a"),a&&a.c(),t=N(),w(e,"href","javascript:void(0);"),w(e,"class","dropdown-item"),fe(e,"is-active",n[2]===n[13])},m(h,O){E(h,e,O),a&&a.m(e,null),Q(e,t),i=!0,r||(s=oe(e,"click",u),r=!0)},p(h,O){n=h,o?o.p&&(!i||O&130)&&Gi(o,l,n,n[7],i?Fi(l,n[7],O,g9):Hi(n[7]),nb):a&&a.p&&(!i||O&2)&&a.p(n,i?O:-1),(!i||O&6)&&fe(e,"is-active",n[2]===n[13])},i(h){i||(q(a,h),i=!0)},o(h){B(a,h),i=!1},d(h){h&&Y(e),a&&a.d(h),r=!1,s()}}}function $9(n){let e,t,i,r,s,l,o,a,u,h,O,p,g,b,y=n[2]&&sb(n);a=new Tt({props:{icon:wC}});let $=at(n[1]),k=[];for(let X=0;X<$.length;X+=1)k[X]=lb(ib(n,$,X));const W=X=>B(k[X],1,1,()=>{k[X]=null});return{c(){e=N(),t=_("div"),i=_("div"),r=_("button"),s=_("span"),y&&y.c(),l=N(),o=_("span"),ze(a.$$.fragment),u=N(),h=_("div"),O=_("div");for(let X=0;X{y=null}),it()),(!p||T&8)&&(r.disabled=X[3]),T&166){$=at(X[1]);let C;for(C=0;C<$.length;C+=1){const U=ib(X,$,C);k[C]?(k[C].p(U,T),q(k[C],1)):(k[C]=lb(U),k[C].c(),q(k[C],1),k[C].m(O,null))}for(tt(),C=$.length;Ct(0,a=!a),b=$=>O($);function y($){zt[$?"unshift":"push"](()=>{h=$,t(4,h)})}return n.$$set=$=>{"items"in $&&t(1,l=$.items),"currentItem"in $&&t(2,o=$.currentItem),"active"in $&&t(0,a=$.active),"disabled"in $&&t(3,u=$.disabled),"$$scope"in $&&t(7,r=$.$$scope)},[a,l,o,u,h,O,p,r,i,g,b,y]}class v9 extends Qi{constructor(e){super(),wi(this,e,y9,$9,pi,{items:1,currentItem:2,active:0,disabled:3})}}const Gw=qe.define({map:(n,e)=>({from:e.mapPos(n.from),to:e.mapPos(n.to),msg:n.msg,type:n.type})}),Hw=qe.define(),ob=hi.define({create(){return Re.none},update(n,e){n=n.map(e.changes);for(const t of e.effects)t.is(Hw)&&(n=Re.none),t.is(Gw)&&(n=n.update({add:[Re.mark({class:`cm-mzn-underline-${t.value.type}`,attributes:{title:t.value.msg}}).range(t.value.from,t.value.to)]}));return n},provide:n=>pe.decorations.from(n)});function Sd(n,e,t){let i,r=1,s=1;for(i=0;i=n&&s>=e)return i;s++,t[i]===` -`&&(r++,s=1)}return i}function w9(n,e,t){const i=e.map(r=>Gw.of({from:Sd(r.location.firstLine,r.location.firstColumn,n),to:Sd(r.location.lastLine,r.location.lastColumn,n)+1,msg:`${r.type==="error"?"Error":"Warning"}: ${r.what}: ${r.message}`,type:r.type}));t.state.field(ob,!1)||i.push(qe.appendConfig.of([ob])),t.dispatch({effects:[Hw.of(null),...i]})}const pl=[];function Q9(n,e=Qe){let t;const i=new Set;function r(o){if(pi(n,o)&&(n=o,t)){const a=!pl.length;for(const u of i)u[1](),pl.push(u,n);if(a){for(let u=0;u{i.delete(u),i.size===0&&t&&(t(),t=null)}}return{set:r,update:s,subscribe:l}}const Kw=n=>{const e=window.matchMedia(n);return Q9(e.matches,t=>{const i=()=>t(window.matchMedia(n).matches);return e.addEventListener("change",i),()=>e.removeEventListener("change",i)})},k9=Kw("(prefers-color-scheme: dark)"),P9=Kw("(max-width: 768px)"),_9=n=>({}),ab=n=>({}),x9=n=>({}),fb=n=>({}),W9=n=>({}),cb=n=>({}),C9=n=>({}),ub=n=>({});function hb(n,e,t){const i=n.slice();return i[153]=e[t],i[155]=t,i}const T9=n=>({}),Ob=n=>({});function db(n,e,t){const i=n.slice();return i[153]=e[t],i[155]=t,i}const Z9=n=>({}),pb=n=>({}),R9=n=>({}),gb=n=>({});function X9(n){let e,t,i,r,s,l,o,a,u;return s=new Tt({props:{icon:kC}}),{c(){e=_("button"),t=_("span"),t.textContent="Run",i=N(),r=_("span"),ze(s.$$.fragment),w(r,"class","icon"),w(e,"class","button is-primary"),w(e,"title","Run the current file"),e.disabled=l=!n[50]},m(h,O){E(h,e,O),Q(e,t),Q(e,i),Q(e,r),Ee(s,r,null),o=!0,a||(u=oe(e,"click",n[62]),a=!0)},p(h,O){(!o||O[1]&524288&&l!==(l=!h[50]))&&(e.disabled=l)},i(h){o||(q(s.$$.fragment,h),o=!0)},o(h){B(s.$$.fragment,h),o=!1},d(h){h&&Y(e),Me(s),a=!1,u()}}}function A9(n){let e,t,i,r,s,l,o,a;return s=new Tt({props:{icon:vC}}),{c(){e=_("button"),t=_("span"),t.textContent="Stop",i=N(),r=_("span"),ze(s.$$.fragment),w(r,"class","icon"),w(e,"class","button is-danger"),w(e,"title","Cancel solving")},m(u,h){E(u,e,h),Q(e,t),Q(e,i),Q(e,r),Ee(s,r,null),l=!0,o||(a=oe(e,"click",n[64]),o=!0)},p:Qe,i(u){l||(q(s.$$.fragment,u),l=!0)},o(u){B(s.$$.fragment,u),l=!1},d(u){u&&Y(e),Me(s),o=!1,a()}}}function mb(n){let e,t,i,r,s,l;return{c(){e=_("div"),t=_("button"),i=_("span"),i.textContent="Compile",w(t,"class","button"),w(t,"title","Compile the current file and show the resultant FlatZinc"),t.disabled=r=n[47]||!n[49],w(e,"class","control")},m(o,a){E(o,e,a),Q(e,t),Q(t,i),s||(l=oe(t,"click",n[63]),s=!0)},p(o,a){a[1]&327680&&r!==(r=o[47]||!o[49])&&(t.disabled=r)},d(o){o&&Y(e),s=!1,l()}}}function Sb(n){let e,t,i;return t=new v9({props:{items:n[52],currentItem:n[0]?n[19].edge:n[19].latest,disabled:n[47],$$slots:{item:[Y9,({item:r})=>({157:r}),({item:r})=>[0,0,0,0,0,r?4:0]]},$$scope:{ctx:n}}}),t.$on("selectItem",n[71]),{c(){e=_("div"),ze(t.$$.fragment),w(e,"class","control")},m(r,s){E(r,e,s),Ee(t,e,null),i=!0},p(r,s){const l={};s[1]&2097152&&(l.items=r[52]),s[0]&524289&&(l.currentItem=r[0]?r[19].edge:r[19].latest),s[1]&65536&&(l.disabled=r[47]),s[4]&2048|s[5]&4&&(l.$$scope={dirty:s,ctx:r}),t.$set(l)},i(r){i||(q(t.$$.fragment,r),i=!0)},o(r){B(t.$$.fragment,r),i=!1},d(r){r&&Y(e),Me(t)}}}function Y9(n){let e,t=n[157].label+"",i,r,s=n[157].detail+"",l,o;return{c(){e=_("span"),i=Se(t),r=Se(" ("),l=Se(s),o=Se(")"),w(e,"slot","item")},m(a,u){E(a,e,u),Q(e,i),Q(e,r),Q(e,l),Q(e,o)},p(a,u){u[5]&4&&t!==(t=a[157].label+"")&&He(i,t),u[5]&4&&s!==(s=a[157].detail+"")&&He(l,s)},d(a){a&&Y(e)}}}function bb(n){let e,t,i,r,s,l=at(n[24]),o=[];for(let a=0;an[91].call(i)),w(t,"class","select is-fullwidth"),w(e,"class","control is-expanded")},m(a,u){E(a,e,u),Q(e,t),Q(t,i);for(let h=0;hSolver:',r=N(),s=_("div"),l=_("div"),o=_("select");for(let y=0;yn[92].call(o)),w(l,"class","select is-fullwidth"),w(s,"class","control is-expanded"),w(t,"class","field has-addons"),w(e,"class","navbar-item is-hidden-mobile")},m(y,$){E(y,e,$),Q(e,t),Q(t,i),Q(t,r),Q(t,s),Q(s,l),Q(l,o);for(let k=0;k{b=null}),it())},i(y){u||(q(b),u=!0)},o(y){B(b),u=!1},d(y){y&&Y(e),gi(g,y),b&&b.d(),h=!1,O()}}}function vb(n){let e,t=n[153].name+"",i,r,s=n[153].version+"",l,o;return{c(){e=_("option"),i=Se(t),r=N(),l=Se(s),o=N(),e.__value=n[155],di(e,e.__value)},m(a,u){E(a,e,u),Q(e,i),Q(e,r),Q(e,l),Q(e,o)},p(a,u){u[0]&16777216&&t!==(t=a[153].name+"")&&He(i,t),u[0]&16777216&&s!==(s=a[153].version+"")&&He(l,s)},d(a){a&&Y(e)}}}function wb(n){let e,t,i,r,s,l,o;return r=new Tt({props:{icon:Cy}}),{c(){e=_("div"),t=_("button"),i=_("span"),ze(r.$$.fragment),w(i,"class","icon"),w(t,"class","button is-primary"),w(e,"class","control")},m(a,u){E(a,e,u),Q(e,t),Q(t,i),Ee(r,i,null),s=!0,l||(o=oe(t,"click",n[54]),l=!0)},p:Qe,i(a){s||(q(r.$$.fragment,a),s=!0)},o(a){B(r.$$.fragment,a),s=!1},d(a){a&&Y(e),Me(r),l=!1,o()}}}function U9(n){let e,t,i,r,s,l,o=n[10]&&Qb(n),a=n[11]&&kb(n),u=n[12]&&Pb(n);const h=n[90]["navbar-share-buttons"],O=ji(h,n,n[135],fb);return{c(){e=_("div"),t=_("div"),o&&o.c(),i=N(),a&&a.c(),r=N(),u&&u.c(),s=N(),O&&O.c(),w(t,"class","field has-addons"),w(e,"class","navbar-item")},m(p,g){E(p,e,g),Q(e,t),o&&o.m(t,null),Q(t,i),a&&a.m(t,null),Q(t,r),u&&u.m(t,null),Q(t,s),O&&O.m(t,null),l=!0},p(p,g){p[10]?o?(o.p(p,g),g[0]&1024&&q(o,1)):(o=Qb(p),o.c(),q(o,1),o.m(t,i)):o&&(tt(),B(o,1,1,()=>{o=null}),it()),p[11]?a?(a.p(p,g),g[0]&2048&&q(a,1)):(a=kb(p),a.c(),q(a,1),a.m(t,r)):a&&(tt(),B(a,1,1,()=>{a=null}),it()),p[12]?u?(u.p(p,g),g[0]&4096&&q(u,1)):(u=Pb(p),u.c(),q(u,1),u.m(t,s)):u&&(tt(),B(u,1,1,()=>{u=null}),it()),O&&O.p&&(!l||g[4]&2048)&&Gi(O,h,p,p[135],l?Fi(h,p[135],g,x9):Hi(p[135]),fb)},i(p){l||(q(o),q(a),q(u),q(O,p),l=!0)},o(p){B(o),B(a),B(u),B(O,p),l=!1},d(p){p&&Y(e),o&&o.d(),a&&a.d(),u&&u.d(),O&&O.d(p)}}}function E9(n){let e,t,i,r,s,l,o=n[8]&&!n[47]&&n[49]&&_b(n),a=n[9]&&n[5]&&n[24].length>0&&xb(n),u=n[4]&&!n[47]&&Wb(n),h=n[10]&&n[18]===0&&Cb(n),O=n[12]&&n[18]===0&&Tb(n);return{c(){o&&o.c(),e=N(),a&&a.c(),t=N(),u&&u.c(),i=N(),h&&h.c(),r=N(),O&&O.c(),s=Ht()},m(p,g){o&&o.m(p,g),E(p,e,g),a&&a.m(p,g),E(p,t,g),u&&u.m(p,g),E(p,i,g),h&&h.m(p,g),E(p,r,g),O&&O.m(p,g),E(p,s,g),l=!0},p(p,g){p[8]&&!p[47]&&p[49]?o?(o.p(p,g),g[0]&256|g[1]&327680&&q(o,1)):(o=_b(p),o.c(),q(o,1),o.m(e.parentNode,e)):o&&(tt(),B(o,1,1,()=>{o=null}),it()),p[9]&&p[5]&&p[24].length>0?a?(a.p(p,g),g[0]&16777760&&q(a,1)):(a=xb(p),a.c(),q(a,1),a.m(t.parentNode,t)):a&&(tt(),B(a,1,1,()=>{a=null}),it()),p[4]&&!p[47]?u?(u.p(p,g),g[0]&16|g[1]&65536&&q(u,1)):(u=Wb(p),u.c(),q(u,1),u.m(i.parentNode,i)):u&&(tt(),B(u,1,1,()=>{u=null}),it()),p[10]&&p[18]===0?h?(h.p(p,g),g[0]&263168&&q(h,1)):(h=Cb(p),h.c(),q(h,1),h.m(r.parentNode,r)):h&&(tt(),B(h,1,1,()=>{h=null}),it()),p[12]&&p[18]===0?O?(O.p(p,g),g[0]&266240&&q(O,1)):(O=Tb(p),O.c(),q(O,1),O.m(s.parentNode,s)):O&&(tt(),B(O,1,1,()=>{O=null}),it())},i(p){l||(q(o),q(a),q(u),q(h),q(O),l=!0)},o(p){B(o),B(a),B(u),B(h),B(O),l=!1},d(p){p&&(Y(e),Y(t),Y(i),Y(r),Y(s)),o&&o.d(p),a&&a.d(p),u&&u.d(p),h&&h.d(p),O&&O.d(p)}}}function Qb(n){let e,t,i,r,s,l,o,a;return r=new Tt({props:{icon:_y}}),{c(){e=_("div"),t=_("button"),i=_("span"),ze(r.$$.fragment),w(i,"class","icon"),w(t,"class","button is-primary"),w(t,"title","Share"),t.disabled=s=n[18]!==0,w(e,"class","control")},m(u,h){E(u,e,h),Q(e,t),Q(t,i),Ee(r,i,null),l=!0,o||(a=oe(t,"click",n[99]),o=!0)},p(u,h){(!l||h[0]&262144&&s!==(s=u[18]!==0))&&(t.disabled=s)},i(u){l||(q(r.$$.fragment,u),l=!0)},o(u){B(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Me(r),o=!1,a()}}}function kb(n){let e,t,i,r,s,l,o,a;return r=new Tt({props:{icon:yC}}),{c(){e=_("div"),t=_("button"),i=_("span"),ze(r.$$.fragment),w(i,"class","icon"),w(t,"class","button"),w(t,"title","Download project"),t.disabled=s=n[37]||n[18]!==0,w(e,"class","control")},m(u,h){E(u,e,h),Q(e,t),Q(t,i),Ee(r,i,null),l=!0,o||(a=oe(t,"click",n[100]),o=!0)},p(u,h){(!l||h[0]&262144|h[1]&64&&s!==(s=u[37]||u[18]!==0))&&(t.disabled=s)},i(u){l||(q(r.$$.fragment,u),l=!0)},o(u){B(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Me(r),o=!1,a()}}}function Pb(n){let e,t,i,r,s,l,o,a;return r=new Tt({props:{icon:xy}}),{c(){e=_("div"),t=_("button"),i=_("span"),ze(r.$$.fragment),w(i,"class","icon"),w(t,"class","button is-primary"),w(t,"title","Open in playground"),t.disabled=s=n[18]!==0,w(e,"class","control")},m(u,h){E(u,e,h),Q(e,t),Q(t,i),Ee(r,i,null),l=!0,o||(a=oe(t,"click",n[68]),o=!0)},p(u,h){(!l||h[0]&262144&&s!==(s=u[18]!==0))&&(t.disabled=s)},i(u){l||(q(r.$$.fragment,u),l=!0)},o(u){B(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Me(r),o=!1,a()}}}function _b(n){let e,t,i,r,s,l,o,a;return i=new Tt({props:{icon:PC}}),{c(){e=_("a"),t=_("span"),ze(i.$$.fragment),r=N(),s=_("span"),s.textContent="Compile current file",w(t,"class","icon svelte-1llogi3"),w(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),w(e,"href","javascript:void(0);")},m(u,h){E(u,e,h),Q(e,t),Ee(i,t,null),Q(e,r),Q(e,s),l=!0,o||(a=oe(e,"click",n[94]),o=!0)},p:Qe,i(u){l||(q(i.$$.fragment,u),l=!0)},o(u){B(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Me(i),o=!1,a()}}}function xb(n){let e,t,i,r,s,l,o,a;return i=new Tt({props:{icon:Cy}}),{c(){e=_("a"),t=_("span"),ze(i.$$.fragment),r=N(),s=_("span"),s.textContent="Solver configuration",w(t,"class","icon svelte-1llogi3"),w(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),w(e,"href","javascript:void(0);")},m(u,h){E(u,e,h),Q(e,t),Ee(i,t,null),Q(e,r),Q(e,s),l=!0,o||(a=oe(e,"click",n[95]),o=!0)},p:Qe,i(u){l||(q(i.$$.fragment,u),l=!0)},o(u){B(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Me(i),o=!1,a()}}}function Wb(n){let e,t,i,r,s,l,o=n[0]?"latest":"edge",a,u,h,O,p;return i=new Tt({props:{icon:gC}}),{c(){e=_("a"),t=_("span"),ze(i.$$.fragment),r=N(),s=_("span"),l=Se("Switch to the "),a=Se(o),u=Se(" version of MiniZinc"),w(t,"class","icon svelte-1llogi3"),w(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),w(e,"href","javascript:void(0);")},m(g,b){E(g,e,b),Q(e,t),Ee(i,t,null),Q(e,r),Q(e,s),Q(s,l),Q(s,a),Q(s,u),h=!0,O||(p=oe(e,"click",n[96]),O=!0)},p(g,b){(!h||b[0]&1)&&o!==(o=g[0]?"latest":"edge")&&He(a,o)},i(g){h||(q(i.$$.fragment,g),h=!0)},o(g){B(i.$$.fragment,g),h=!1},d(g){g&&Y(e),Me(i),O=!1,p()}}}function Cb(n){let e,t,i,r,s,l,o,a;return i=new Tt({props:{icon:_y}}),{c(){e=_("a"),t=_("span"),ze(i.$$.fragment),r=N(),s=_("span"),s.textContent="Share this project",w(t,"class","icon svelte-1llogi3"),w(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),w(e,"href","javascript:void(0);")},m(u,h){E(u,e,h),Q(e,t),Ee(i,t,null),Q(e,r),Q(e,s),l=!0,o||(a=oe(e,"click",n[97]),o=!0)},p:Qe,i(u){l||(q(i.$$.fragment,u),l=!0)},o(u){B(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Me(i),o=!1,a()}}}function Tb(n){let e,t,i,r,s,l,o,a;return i=new Tt({props:{icon:xy}}),{c(){e=_("a"),t=_("span"),ze(i.$$.fragment),r=N(),s=_("span"),s.textContent="Open in MiniZinc Playground",w(t,"class","icon svelte-1llogi3"),w(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),w(e,"href","javascript:void(0);")},m(u,h){E(u,e,h),Q(e,t),Ee(i,t,null),Q(e,r),Q(e,s),l=!0,o||(a=oe(e,"click",n[98]),o=!0)},p:Qe,i(u){l||(q(i.$$.fragment,u),l=!0)},o(u){B(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Me(i),o=!1,a()}}}function Zb(n){let e,t,i;return t=new AC({props:{files:n[20],currentIndex:n[21],readonly:!n[7]}}),t.$on("selectTab",n[108]),t.$on("reorder",n[109]),t.$on("newFile",n[110]),t.$on("rename",n[58]),t.$on("close",n[111]),t.$on("manageFiles",n[112]),{c(){e=_("div"),ze(t.$$.fragment),w(e,"class","top svelte-1llogi3")},m(r,s){E(r,e,s),Ee(t,e,null),i=!0},p(r,s){const l={};s[0]&1048576&&(l.files=r[20]),s[0]&2097152&&(l.currentIndex=r[21]),s[0]&128&&(l.readonly=!r[7]),t.$set(l)},i(r){i||(q(t.$$.fragment,r),i=!0)},o(r){B(t.$$.fragment,r),i=!1},d(r){r&&Y(e),Me(t)}}}function Rb(n){let e,t,i={state:n[51]};return e=new K3({props:i}),n[113](e),{c(){ze(e.$$.fragment)},m(r,s){Ee(e,r,s),t=!0},p(r,s){const l={};s[1]&1048576&&(l.state=r[51]),e.$set(l)},i(r){t||(q(e.$$.fragment,r),t=!0)},o(r){B(e.$$.fragment,r),t=!1},d(r){n[113](null),Me(e,r)}}}function M9(n){let e,t,i,r,s=n[6]&&Zb(n),l=n[51]&&Rb(n);return{c(){e=_("div"),s&&s.c(),t=N(),i=_("div"),l&&l.c(),w(i,"class","grow svelte-1llogi3"),w(e,"class","panel stack svelte-1llogi3"),w(e,"slot","panelA")},m(o,a){E(o,e,a),s&&s.m(e,null),Q(e,t),Q(e,i),l&&l.m(i,null),r=!0},p(o,a){o[6]?s?(s.p(o,a),a[0]&64&&q(s,1)):(s=Zb(o),s.c(),q(s,1),s.m(e,t)):s&&(tt(),B(s,1,1,()=>{s=null}),it()),o[51]?l?(l.p(o,a),a[1]&1048576&&q(l,1)):(l=Rb(o),l.c(),q(l,1),l.m(i,null)):l&&(tt(),B(l,1,1,()=>{l=null}),it())},i(o){r||(q(s),q(l),r=!0)},o(o){B(s),B(l),r=!1},d(o){o&&Y(e),s&&s.d(),l&&l.d()}}}function Xb(n){let e,t,i,r,s,l,o,a,u,h,O,p,g=n[13]&&Ab(n);return{c(){e=_("div"),t=_("div"),i=_("ul"),r=_("li"),s=_("a"),s.textContent="Output",l=N(),o=_("li"),a=_("a"),a.textContent="Visualisation",u=N(),g&&g.c(),w(s,"href","javascript:void(0);"),fe(r,"is-active",!n[43]),w(a,"href","javascript:void(0);"),fe(o,"is-active",n[43]),w(t,"class","tabs is-boxed"),w(e,"class","top svelte-1llogi3")},m(b,y){E(b,e,y),Q(e,t),Q(t,i),Q(i,r),Q(r,s),Q(i,l),Q(i,o),Q(o,a),Q(i,u),g&&g.m(i,null),h=!0,O||(p=[oe(s,"click",n[101]),oe(a,"click",n[102])],O=!0)},p(b,y){(!h||y[1]&4096)&&fe(r,"is-active",!b[43]),(!h||y[1]&4096)&&fe(o,"is-active",b[43]),b[13]?g?(g.p(b,y),y[0]&8192&&q(g,1)):(g=Ab(b),g.c(),q(g,1),g.m(i,null)):g&&(tt(),B(g,1,1,()=>{g=null}),it())},i(b){h||(q(g),h=!0)},o(b){B(g),h=!1},d(b){b&&Y(e),g&&g.d(),O=!1,Gt(p)}}}function Ab(n){let e,t,i,r,s,l,o;return r=new Tt({props:{icon:Ry}}),{c(){e=_("li"),t=_("button"),i=_("span"),ze(r.$$.fragment),w(i,"class","icon"),w(t,"class","button is-small"),w(t,"title","Switch orientation"),w(e,"class","tab-end svelte-1llogi3")},m(a,u){E(a,e,u),Q(e,t),Q(t,i),Ee(r,i,null),s=!0,l||(o=oe(t,"click",n[70]),l=!0)},p:Qe,i(a){s||(q(r.$$.fragment,a),s=!0)},o(a){B(r.$$.fragment,a),s=!1},d(a){a&&Y(e),Me(r),l=!1,o()}}}function Yb(n){let e,t,i,r,s,l;return i=new Tt({props:{icon:Ry}}),{c(){e=_("button"),t=_("span"),ze(i.$$.fragment),w(t,"class","icon"),w(e,"class","button is-small"),w(e,"title","Switch orientation")},m(o,a){E(o,e,a),Q(e,t),Ee(i,t,null),r=!0,s||(l=oe(e,"click",n[70]),s=!0)},p:Qe,i(o){r||(q(i.$$.fragment,o),r=!0)},o(o){B(i.$$.fragment,o),r=!1},d(o){o&&Y(e),Me(i),s=!1,l()}}}function z9(n){let e,t,i=n[13]&&!n[42]&&Yb(n);return{c(){e=_("p"),i&&i.c(),w(e,"class","control"),w(e,"slot","before-right-controls")},m(r,s){E(r,e,s),i&&i.m(e,null),t=!0},p(r,s){r[13]&&!r[42]?i?(i.p(r,s),s[0]&8192|s[1]&2048&&q(i,1)):(i=Yb(r),i.c(),q(i,1),i.m(e,null)):i&&(tt(),B(i,1,1,()=>{i=null}),it())},i(r){t||(q(i),t=!0)},o(r){B(i),t=!1},d(r){r&&Y(e),i&&i.d()}}}function V9(n){let e,t,i,r,s,l,o,a,u,h,O=n[42]&&Xb(n),p={files:n[20]};s=new V8({props:p}),n[103](s),s.$on("solve",n[104]);function g(y){n[105](y)}let b={output:n[33],showClearOutput:n[14],showAutoClearOutput:n[15],showSectionToggles:n[16],showRightControls:n[17],isTab:n[42],$$slots:{"before-right-controls":[z9]},$$scope:{ctx:n}};return n[1]!==void 0&&(b.autoClearOutput=n[1]),a=new Y8({props:b}),zt.push(()=>Eo(a,"autoClearOutput",g)),a.$on("clear",n[106]),a.$on("goto",n[107]),{c(){e=_("div"),O&&O.c(),t=N(),i=_("div"),r=_("div"),ze(s.$$.fragment),l=N(),o=_("div"),ze(a.$$.fragment),w(r,"class","tab-window svelte-1llogi3"),fe(r,"visible",n[43]),w(o,"class","tab-window svelte-1llogi3"),fe(o,"visible",!n[42]||!n[43]),w(i,"class","grow svelte-1llogi3"),w(e,"class","panel stack svelte-1llogi3"),w(e,"slot","panelB")},m(y,$){E(y,e,$),O&&O.m(e,null),Q(e,t),Q(e,i),Q(i,r),Ee(s,r,null),Q(i,l),Q(i,o),Ee(a,o,null),h=!0},p(y,$){y[42]?O?(O.p(y,$),$[1]&2048&&q(O,1)):(O=Xb(y),O.c(),q(O,1),O.m(e,t)):O&&(tt(),B(O,1,1,()=>{O=null}),it());const k={};$[0]&1048576&&(k.files=y[20]),s.$set(k),(!h||$[1]&4096)&&fe(r,"visible",y[43]);const W={};$[1]&4&&(W.output=y[33]),$[0]&16384&&(W.showClearOutput=y[14]),$[0]&32768&&(W.showAutoClearOutput=y[15]),$[0]&65536&&(W.showSectionToggles=y[16]),$[0]&131072&&(W.showRightControls=y[17]),$[1]&2048&&(W.isTab=y[42]),$[0]&8192|$[1]&2048|$[4]&2048&&(W.$$scope={dirty:$,ctx:y}),!u&&$[0]&2&&(u=!0,W.autoClearOutput=y[1],Uo(()=>u=!1)),a.$set(W),(!h||$[1]&6144)&&fe(o,"visible",!y[42]||!y[43])},i(y){h||(q(O),q(s.$$.fragment,y),q(a.$$.fragment,y),h=!0)},o(y){B(O),B(s.$$.fragment,y),B(a.$$.fragment,y),h=!1},d(y){y&&Y(e),O&&O.d(),n[103](null),Me(s),Me(a)}}}function D9(n){let e,t,i,r=n[20][n[29]].name+"",s,l,o,a;return{c(){e=_("p"),t=Se("Are you sure you wish to delete "),i=_("code"),s=Se(r),l=Se("?"),o=N(),a=_("p"),a.textContent="This cannot be undone."},m(u,h){E(u,e,h),Q(e,t),Q(e,i),Q(i,s),Q(e,l),E(u,o,h),E(u,a,h)},p(u,h){h[0]&537919488&&r!==(r=u[20][u[29]].name+"")&&He(s,r)},d(u){u&&(Y(e),Y(o),Y(a))}}}function q9(n){let e,t,i,r,s,l;return{c(){e=_("div"),t=_("button"),t.textContent="Delete",i=N(),r=_("button"),r.textContent="Cancel",w(t,"class","button is-danger"),w(r,"type","button"),w(r,"class","button"),w(e,"slot","footer")},m(o,a){E(o,e,a),Q(e,t),Q(e,i),Q(e,r),s||(l=[oe(t,"click",n[124]),oe(r,"click",n[125])],s=!0)},p:Qe,d(o){o&&Y(e),s=!1,Gt(l)}}}function I9(n){let e,t,i,r,s,l,o,a,u,h,O;return a=new Tt({props:{icon:mC}}),{c(){e=_("div"),t=_("p"),i=_("input"),r=N(),s=_("p"),l=_("button"),o=_("span"),ze(a.$$.fragment),w(i,"class","input"),w(i,"type","text"),i.value=n[39],i.readOnly=!0,w(t,"class","control is-expanded"),w(o,"class","icon"),w(l,"type","button"),w(l,"class","button"),fe(l,"is-primary",!n[40]),fe(l,"is-success",n[40]),w(s,"class","control"),w(e,"class","field has-addons")},m(p,g){E(p,e,g),Q(e,t),Q(t,i),n[132](i),Q(e,r),Q(e,s),Q(s,l),Q(l,o),Ee(a,o,null),u=!0,h||(O=[oe(i,"click",n[133]),oe(l,"click",n[67])],h=!0)},p(p,g){(!u||g[1]&256&&i.value!==p[39])&&(i.value=p[39]),(!u||g[1]&512)&&fe(l,"is-primary",!p[40]),(!u||g[1]&512)&&fe(l,"is-success",p[40])},i(p){u||(q(a.$$.fragment,p),u=!0)},o(p){B(a.$$.fragment,p),u=!1},d(p){p&&Y(e),n[132](null),Me(a),h=!1,Gt(O)}}}function N9(n){let e,t,i,r;return{c(){e=_("div"),t=_("button"),t.textContent="Done",w(t,"class","button is-primary"),w(e,"slot","footer")},m(s,l){E(s,e,l),Q(e,t),i||(r=oe(t,"click",n[131]),i=!0)},p:Qe,d(s){s&&Y(e),i=!1,r()}}}function L9(n){let e,t,i,r,s,l,o,a,u,h,O,p,g,b,y,$,k,W,X,T,C,U,z,M,L,I,K,re,Oe,me,We,he,ce,Ve,Ke,Te,Ce,nt,Yt,Qt,dt,Ut,be,le,F,ue,ie,ft,Je,De,st,Dt,gt,$t,Gn,Ne;const ae=n[90]["navbar-before-run-buttons"],je=ji(ae,n,n[135],gb),pt=[A9,X9],Ze=[];function mt(H,ye){return H[47]?0:1}h=mt(n),O=Ze[h]=pt[h](n);let Et=!n[53]&&n[8]&&mb(n),kt=!n[53]&&n[4]&&Sb(n);const Di=n[90]["navbar-run-buttons"],ri=ji(Di,n,n[135],pb);let qt=n[53]&&n[5]&&n[24].length>0&&bb(n);const si=n[90]["navbar-after-run-buttons"],Le=ji(si,n,n[135],Ob);let xt=n[5]&&n[24].length>0&&yb(n);const dn=n[90]["navbar-after-solver-selector"],Pt=ji(dn,n,n[135],ub),Sr=n[90]["navbar-before-share-buttons"],Kt=ji(Sr,n,n[135],cb),ys=[E9,U9],ii=[];function vs(H,ye){return H[53]?0:1}he=vs(n),ce=ii[he]=ys[he](n);const Hn=n[90]["navbar-after-share-buttons"],ki=ji(Hn,n,n[135],ab);function Ls(H){n[114](H)}let ws={direction:n[2],showPanels:n[48],$$slots:{panelB:[V9],panelA:[M9]},$$scope:{ctx:n}};n[3]!==void 0&&(ws.split=n[3]),nt=new aC({props:ws}),zt.push(()=>Eo(nt,"split",Ls));let Bs={active:n[35],stdFlags:n[45]};return dt=new p9({props:Bs}),n[115](dt),dt.$on("close",n[116]),be=new K8({props:{active:n[30],files:n[20]}}),be.$on("close",n[117]),be.$on("delete",n[118]),be.$on("modifyFile",n[119]),be.$on("newFile",n[120]),F=new N8({props:{active:n[28]}}),F.$on("cancel",n[121]),F.$on("new",n[122]),F.$on("open",n[123]),ie=new Yl({props:{active:n[29]!==null,title:"Delete file",$$slots:{footer:[q9],default:[D9]},$$scope:{ctx:n}}}),ie.$on("cancel",n[126]),Je=new n9({props:{active:n[31],modelFiles:n[44]}}),Je.$on("accept",n[127]),Je.$on("cancel",n[128]),st=new h9({props:{active:n[32],dataFiles:n[46],parameters:n[34]}}),st.$on("accept",n[129]),st.$on("cancel",n[130]),gt=new Yl({props:{active:n[39],title:"Share this project",$$slots:{footer:[N9],default:[I9]},$$scope:{ctx:n}}}),gt.$on("cancel",n[134]),{c(){e=_("div"),t=_("div"),i=_("div"),r=_("nav"),s=_("div"),je&&je.c(),l=N(),o=_("div"),a=_("div"),u=_("div"),O.c(),p=N(),Et&&Et.c(),g=N(),kt&&kt.c(),b=N(),ri&&ri.c(),y=N(),qt&&qt.c(),$=N(),Le&&Le.c(),k=N(),xt&&xt.c(),W=N(),Pt&&Pt.c(),X=N(),T=_("a"),C=_("span"),U=N(),z=_("span"),M=N(),L=_("span"),I=N(),K=_("div"),re=_("div"),Oe=N(),me=_("div"),Kt&&Kt.c(),We=N(),ce.c(),Ve=N(),ki&&ki.c(),Ke=N(),Te=_("div"),Ce=_("div"),ze(nt.$$.fragment),Qt=N(),ze(dt.$$.fragment),Ut=N(),ze(be.$$.fragment),le=N(),ze(F.$$.fragment),ue=N(),ze(ie.$$.fragment),ft=N(),ze(Je.$$.fragment),De=N(),ze(st.$$.fragment),Dt=N(),ze(gt.$$.fragment),w(u,"class","control"),w(a,"class","field navbar-run-buttons has-addons svelte-1llogi3"),w(o,"class","navbar-item is-expanded"),w(C,"aria-hidden","true"),w(z,"aria-hidden","true"),w(L,"aria-hidden","true"),w(T,"role","button"),w(T,"class","navbar-burger"),w(T,"aria-label","menu"),w(T,"aria-expanded",n[26]),fe(T,"is-active",n[26]),w(s,"class","navbar-brand"),w(re,"class","navbar-start is-hidden-tablet"),w(me,"class","navbar-end"),w(K,"class","navbar-menu"),fe(K,"is-active",n[26]),w(r,"class","navbar"),w(i,"class","top svelte-1llogi3"),w(Ce,"class","left svelte-1llogi3"),w(Te,"class","grow main-panel svelte-1llogi3"),w(t,"class","stack svelte-1llogi3"),w(e,"class","mzn-playground svelte-1llogi3"),fe(e,"is-dark",n[23])},m(H,ye){E(H,e,ye),Q(e,t),Q(t,i),Q(i,r),Q(r,s),je&&je.m(s,null),Q(s,l),Q(s,o),Q(o,a),Q(a,u),Ze[h].m(u,null),Q(a,p),Et&&Et.m(a,null),Q(a,g),kt&&kt.m(a,null),Q(a,b),ri&&ri.m(a,null),Q(a,y),qt&&qt.m(a,null),Q(s,$),Le&&Le.m(s,null),Q(s,k),xt&&xt.m(s,null),Q(s,W),Pt&&Pt.m(s,null),Q(s,X),Q(s,T),Q(T,C),Q(T,U),Q(T,z),Q(T,M),Q(T,L),Q(r,I),Q(r,K),Q(K,re),Q(K,Oe),Q(K,me),Kt&&Kt.m(me,null),Q(me,We),ii[he].m(me,null),Q(me,Ve),ki&&ki.m(me,null),Q(t,Ke),Q(t,Te),Q(Te,Ce),Ee(nt,Ce,null),Q(Te,Qt),Ee(dt,Te,null),Q(e,Ut),Ee(be,e,null),Q(e,le),Ee(F,e,null),Q(e,ue),Ee(ie,e,null),Q(e,ft),Ee(Je,e,null),Q(e,De),Ee(st,e,null),Q(e,Dt),Ee(gt,e,null),$t=!0,Gn||(Ne=oe(T,"click",n[93]),Gn=!0)},p(H,ye){je&&je.p&&(!$t||ye[4]&2048)&&Gi(je,ae,H,H[135],$t?Fi(ae,H[135],ye,R9):Hi(H[135]),gb);let Vr=h;h=mt(H),h===Vr?Ze[h].p(H,ye):(tt(),B(Ze[Vr],1,1,()=>{Ze[Vr]=null}),it(),O=Ze[h],O?O.p(H,ye):(O=Ze[h]=pt[h](H),O.c()),q(O,1),O.m(u,null)),!H[53]&&H[8]?Et?Et.p(H,ye):(Et=mb(H),Et.c(),Et.m(a,g)):Et&&(Et.d(1),Et=null),!H[53]&&H[4]?kt?(kt.p(H,ye),ye[0]&16|ye[1]&4194304&&q(kt,1)):(kt=Sb(H),kt.c(),q(kt,1),kt.m(a,b)):kt&&(tt(),B(kt,1,1,()=>{kt=null}),it()),ri&&ri.p&&(!$t||ye[4]&2048)&&Gi(ri,Di,H,H[135],$t?Fi(Di,H[135],ye,Z9):Hi(H[135]),pb),H[53]&&H[5]&&H[24].length>0?qt?qt.p(H,ye):(qt=bb(H),qt.c(),qt.m(a,null)):qt&&(qt.d(1),qt=null),Le&&Le.p&&(!$t||ye[4]&2048)&&Gi(Le,si,H,H[135],$t?Fi(si,H[135],ye,T9):Hi(H[135]),Ob),H[5]&&H[24].length>0?xt?(xt.p(H,ye),ye[0]&16777248&&q(xt,1)):(xt=yb(H),xt.c(),q(xt,1),xt.m(s,W)):xt&&(tt(),B(xt,1,1,()=>{xt=null}),it()),Pt&&Pt.p&&(!$t||ye[4]&2048)&&Gi(Pt,dn,H,H[135],$t?Fi(dn,H[135],ye,C9):Hi(H[135]),ub),(!$t||ye[0]&67108864)&&w(T,"aria-expanded",H[26]),(!$t||ye[0]&67108864)&&fe(T,"is-active",H[26]),Kt&&Kt.p&&(!$t||ye[4]&2048)&&Gi(Kt,Sr,H,H[135],$t?Fi(Sr,H[135],ye,W9):Hi(H[135]),cb);let Qs=he;he=vs(H),he===Qs?ii[he].p(H,ye):(tt(),B(ii[Qs],1,1,()=>{ii[Qs]=null}),it(),ce=ii[he],ce?ce.p(H,ye):(ce=ii[he]=ys[he](H),ce.c()),q(ce,1),ce.m(me,Ve)),ki&&ki.p&&(!$t||ye[4]&2048)&&Gi(ki,Hn,H,H[135],$t?Fi(Hn,H[135],ye,_9):Hi(H[135]),ab),(!$t||ye[0]&67108864)&&fe(K,"is-active",H[26]);const Xn={};ye[0]&4&&(Xn.direction=H[2]),ye[1]&131072&&(Xn.showPanels=H[48]),ye[0]&1916002498|ye[1]&1055748|ye[4]&2048&&(Xn.$$scope={dirty:ye,ctx:H}),!Yt&&ye[0]&8&&(Yt=!0,Xn.split=H[3],Uo(()=>Yt=!1)),nt.$set(Xn);const Kn={};ye[1]&16&&(Kn.active=H[35]),ye[1]&16384&&(Kn.stdFlags=H[45]),dt.$set(Kn);const Dr={};ye[0]&1073741824&&(Dr.active=H[30]),ye[0]&1048576&&(Dr.files=H[20]),be.$set(Dr);const An={};ye[0]&268435456&&(An.active=H[28]),F.$set(An);const _t={};ye[0]&536870912&&(_t.active=H[29]!==null),ye[0]&537919488|ye[4]&2048&&(_t.$$scope={dirty:ye,ctx:H}),ie.$set(_t);const qr={};ye[1]&1&&(qr.active=H[31]),ye[1]&8192&&(qr.modelFiles=H[44]),Je.$set(qr);const br={};ye[1]&2&&(br.active=H[32]),ye[1]&32768&&(br.dataFiles=H[46]),ye[1]&8&&(br.parameters=H[34]),st.$set(br);const $r={};ye[1]&256&&($r.active=H[39]),ye[1]&896|ye[4]&2048&&($r.$$scope={dirty:ye,ctx:H}),gt.$set($r),(!$t||ye[0]&8388608)&&fe(e,"is-dark",H[23])},i(H){$t||(q(je,H),q(O),q(kt),q(ri,H),q(Le,H),q(xt),q(Pt,H),q(Kt,H),q(ce),q(ki,H),q(nt.$$.fragment,H),q(dt.$$.fragment,H),q(be.$$.fragment,H),q(F.$$.fragment,H),q(ie.$$.fragment,H),q(Je.$$.fragment,H),q(st.$$.fragment,H),q(gt.$$.fragment,H),$t=!0)},o(H){B(je,H),B(O),B(kt),B(ri,H),B(Le,H),B(xt),B(Pt,H),B(Kt,H),B(ce),B(ki,H),B(nt.$$.fragment,H),B(dt.$$.fragment,H),B(be.$$.fragment,H),B(F.$$.fragment,H),B(ie.$$.fragment,H),B(Je.$$.fragment,H),B(st.$$.fragment,H),B(gt.$$.fragment,H),$t=!1},d(H){H&&Y(e),je&&je.d(H),Ze[h].d(),Et&&Et.d(),kt&&kt.d(),ri&&ri.d(H),qt&&qt.d(),Le&&Le.d(H),xt&&xt.d(),Pt&&Pt.d(H),Kt&&Kt.d(H),ii[he].d(),ki&&ki.d(H),Me(nt),n[115](null),Me(dt),Me(be),Me(F),Me(ie),Me(Je),Me(st),Me(gt),Gn=!1,Ne()}}}function Ub(n,e){n.effects=n.effects?[...n.effects,e]:[e]}function B9(n,e,t){let i,r,s,l,o,a,u,h,O,p,g,b,y,$,k,W,X,T,C;Om(n,k9,Z=>t(89,T=Z)),Om(n,P9,Z=>t(53,C=Z));let{$$slots:U={},$$scope:z}=e,{showVersionSwitcher:M=!0}=e,{showSolverDropdown:L=!0}=e,{edgeMiniZinc:I=!1}=e,{autoClearOutput:K=!1}=e,{showTabs:re=!0}=e,{canEditTabs:Oe=!0}=e,{compilationEnabled:me=!0}=e,{project:We}=e,{enabledSolvers:he=null}=e,{canEditSolverSettings:ce=!0}=e,{showShareButton:Ve=!0}=e,{showDownloadButton:Ke=!0}=e,{externalPlaygroundURL:Te=null}=e,{splitterDirection:Ce="vertical"}=e,{splitterSize:nt=75}=e,{canSwitchOrientation:Yt=!0}=e,{showClearOutput:Qt=!0}=e,{showAutoClearOutput:dt=!0}=e,{showOutputSectionToggles:Ut=!0}=e,{showOutputRightControls:be=!0}=e,{theme:le="auto"}=e,{hideOutputOnStartup:F=!0}=e,{autoFocus:ue=!0}=e,ie=0,ft=[],Je,De,st={latest:{label:"Latest",detail:"stable"},edge:{label:"Edge",detail:"development"}};function Dt(Z){const se=I?RW:ZW;if(De!==se){t(18,ie++,ie);const $e=Je;Je=new Promise(async(ke,Ae)=>{$e&&await $e,De&&De.shutdown(),De=se,De.shutdown(),await De.init();const[Fe]=/version \d+\.\d+\.\d+(?:, build .*)?$/m.exec(await De.version()),lt=I?"edge":"latest";t(19,st={...st,[lt]:{...st[lt],detail:Fe}}),t(81,ft=await De.solvers()),await In(),t(18,ie--,ie),ke()})}return Je}const gt=new Promise((Z,se)=>{Fc(()=>{Dt(),Z()})});async function $t(Z){t(0,I=Z.minizincVersion==="edge"),await gt,t(20,ae=[]),Hn(Z.files,ue),t(21,pt=Z.tab||0),Z.solverId&&(await Dt(),t(22,Pt=$.findIndex(se=>se.id===Z.solverId))),Z.solverConfig&&Ze.load(Z.solverConfig)}function Gn(){return ae.length>0}let Ne,ae=[],je=!1,pt=0,Ze,mt=!1,Et=null,kt=!1,Di=!1,ri=null,qt=!1,si=[],Le=null,xt=[],dn={},Pt=-1;async function Sr(Z,se){if(await Dt(),Pt<0||Pt>=$.length){const $e=$.findIndex(ke=>ke.extraInfo&&ke.extraInfo.isDefault);$e!==-1&&t(22,Pt=$e)}}let Kt=!1;function ys(){t(35,Kt=!Kt)}async function ii(Z,se=!0){for(Ne&&pt=0&&ae[Z].hidden;)Z--;Z===-1&&(Z=ae.findIndex($e=>!$e.hidden)),t(21,pt=Z),await In(),Ne&&h&&(se&&Ne.focus(),h.scrollTop!==void 0&&Ne.getView().requestMeasure({read($e){$e.scrollDOM.scrollTo(h.scrollLeft,h.scrollTop)}}))}function vs(Z){let se=`Untitled${Z}`,$e=2;for(;ae.find(ke=>ke.name===se);)se=`Untitled-${$e++}${Z}`;t(20,ae=[...ae,{name:se,state:ht.create({extensions:Kf(Z,Gs,X)})}]),ii(ae.length-1),t(28,mt=!1)}function Hn(Z,se=!0){let $e=[];for(const ke of Z){const Ae=ke.name.endsWith(".mzc.mzn")?ke.name.length-8:ke.name.lastIndexOf("."),Fe=ke.name.substring(0,Ae).replaceAll(/[\/\\\.]/g,""),lt=ke.name.substring(Ae);let Pi=`${Fe}${lt}`,Bt=2;for(;ae.find(li=>li.name===Pi);)Pi=`${Fe}-${Bt++}${lt}`;const Wu=Kf(lt,Gs,X,ke.readOnly);$e.push({...ke,hidden:ke.hidden||lt===".mzc",name:Pi,state:ht.create({doc:ke.contents,extensions:Wu,selection:{anchor:ke.anchor||0}})})}t(20,ae=[...ae,...$e]),ii(ae.length-1,se),t(28,mt=!1)}function ki(Z){const{index:se,name:$e,suffix:ke}=Z.detail;let Ae=$e,Fe=2;for(;ae.some(lt=>lt===Ae+ke);)Ae=`${$e}-${Fe++}`;h&&t(85,h.state=Ne.getState(),h),t(20,ae=[...ae.slice(0,se),{...ae[se],name:$e+ke},...ae.slice(se+1)])}function Ls(Z){const se=r===1&&!ae[Z].hidden;t(20,ae=[...ae.slice(0,Z),...ae.slice(Z+1),...se?[{name:"Untitled.mzn",state:ht.create({extensions:Kf(".mzn",Gs,X)})}]:[]]),pt>=ae.length?ii(ae.length-1):ii(pt),t(29,Et=null)}function ws(Z,se){h&&t(85,h.state=Ne.getState(),h);const $e={...ae[Z],...se};"readOnly"in se&&Ub($e,se.readOnly?e8:t8),t(20,ae=[...ae.slice(0,Z),$e,...ae.slice(Z+1)]),ii(pt)}function Bs(Z,se){let $e;Z0){await In();const se=Ne.getView();se&&se.state===Z.state&&(se.dispatch({effects:Z.effects}),Z.effects=[])}}let ye=null;async function Vr(Z){t(18,ie++,ie),t(85,h.state=Ne.getState(),h);let se=O?h:null;if(!se){if(b.length===0)return t(18,ie--,ie),!1;if(b.length===1)se=ae.find(Ae=>Ae.name===b[0]);else try{const Ae=await new Promise((Fe,lt)=>{t(36,ye=Fe),t(31,Di=!0)});if(!Ae)return t(18,ie--,ie),!1;se=ae.find(Fe=>Fe.name===Ae.modelFile)}finally{t(31,Di=!1)}}const $e=new De.Model,ke=[se.name];if(Z){const Ae=se.name.substring(0,se.name.length-4),Fe=ae.find(lt=>lt.name===`${Ae}.mzc`||lt.name===`${Ae}.mzc.mzn`);Fe&&ke.push(Fe.name)}se!==h&&ke.push(h.name);for(const Ae of ae)$e.addFile(Ae.name,Ae.state.doc.toString(),ke.indexOf(Ae.name)!==-1);try{const{input:Ae}=await $e.interface({options:Ze.getCompilationConfiguration(k.id)});if(Object.keys(Ae).length>0){const Fe={};for(const lt in Ae)Fe[lt]=dn[lt];t(34,dn=Fe),p&&xt.indexOf(h.name)===-1&&(xt=[...xt,h.name]);try{const lt=await new Promise((Pi,Bt)=>{t(36,ye=Pi),t(32,ri=!0)});if(!lt)return t(18,ie--,ie),!1;if(lt.parameters){let Pi="";for(const Bt in lt.parameters)lt.parameters[Bt].trim().length>0&&(Pi+=`${Bt} = ${lt.parameters[Bt]}; -`);$e.addDznString(Pi),t(34,dn=lt.parameters)}else{for(const Pi of lt.dataFiles)ke.indexOf(Pi)===-1&&($e.addFile(Pi),ke.push(Pi));xt=lt.dataFiles}}finally{t(32,ri=!1)}}}catch(Ae){console.error(Ae)}return t(18,ie--,ie),{model:$e,fileList:ke}}async function Qs(){if(g){const Ae=new De.Model;Ae.addFile(h.name,h.state.doc.toString());const Fe=[h.name],lt=Ze.getSolvingConfiguration(k.id);await Xn(Ae,Fe,lt);return}const Z=await Vr(!0);if(!Z)return;const{model:se,fileList:$e}=Z,ke=Ze.getSolvingConfiguration(k.id);await Xn(se,$e,ke)}async function Xn(Z,se,$e){t(82,qt=!0);const ke=Date.now();K&&t(33,si=[]),t(33,si=[...si,{files:se,output:[]}]),t(83,Le=Z.solve({options:$e,jsonOutput:!1})),qr(),Le.on("error",_t),Le.on("warning",_t),Le.on("solution",Ae=>_t(Ae,Date.now()-ke)),Le.on("status",Ae=>_t(Ae,Date.now()-ke)),Le.on("statistics",_t),Le.on("trace",Ae=>_t(Ae,Date.now()-ke)),Le.on("statistics",_t),Le.on("comment",_t),Le.on("time",_t),Le.on("checker",_t),Le.on("stderr",_t);try{await Le,_t({type:"exit",code:0,runTime:Date.now()-ke})}catch(Ae){_t({type:"exit",code:Ae.code,runTime:Date.now()-ke})}t(83,Le=null)}async function Kn(){t(82,qt=!0);const Z=await Vr(!0);if(!Z)return;qr();const{model:se,fileList:$e}=Z,ke=$e[0],Ae=Date.now();K&&t(33,si=[]),t(33,si=[...si,{files:$e,isCompile:!0,output:[]}]),t(83,Le=se.compile({options:Ze.getCompilationConfiguration(k.id)})),Le.on("error",_t),Le.on("warning",_t),Le.on("statistics",_t),Le.on("trace",_t),Le.on("statistics",_t),Le.on("stderr",_t);try{const Fe=await Le;t(20,ae=[...ae,{name:`${ke.substring(0,ke.indexOf("."))}.fzn`,state:ht.create({extensions:Kf(".fzn",Gs,X),doc:Fe})}]),ii(ae.length-1),_t({type:"exit",code:0,runTime:Date.now()-Ae})}catch(Fe){_t({type:"exit",code:Fe.code,runTime:Date.now()-Ae})}t(83,Le=null)}function Dr(){_t({type:"cancel"}),Le.cancel()}let An=null;function _t(Z,se){An?An.then(()=>{An=br(Z,se)}):An=br(Z,se),si[si.length-1].output.push(Z),t(33,si)}function qr(){pn&&pn.reset(),t(42,ks=!1),t(43,Ps=!1)}async function br(Z,se){if(Z.type==="trace"&&Z.section.startsWith("mzn_vis_")){ks||(t(42,ks=!0),t(43,Ps=!0)),await In();const $e=ae.find(Ae=>Ae.name===Z.message.url);let ke=null;if($e)ke=$e.state.doc.toString();else try{ke=await De.readStdlibFileContents(Z.message.url)}catch(Ae){console.error(Ae);return}if(ke===null){console.error(`Failed to get visualisation file ${Z.message.url}`);return}pn.addVisualisation(Z.section,ke,Z.message.userData);return}if(ks){for(;!pn;)await In();switch(Z.type){case"solution":pn.addSolution(Z.sections.filter($e=>$e.startsWith("mzn_vis_")).reduce(($e,ke)=>({...$e,[ke]:Z.output[ke]}),{}),"time"in Z?Z.time:se);break;case"status":pn.status(Z.status,"time"in Z?Z.time:se);break;case"exit":pn.status("time"in Z?Z.time:se);break}}}function $r(){return h&&t(85,h.state=Ne.getState(),h),{files:ae.map(Z=>({name:Z.name,contents:Z.state.doc.toString(),...Z.hidden?{hidden:!0}:{},...Z.readOnly?{readOnly:!0}:{}})),tab:pt,solverId:k.id,solverConfig:Ze.save(),minizincVersion:I?"edge":"latest"}}let Gl=!1;async function ba(){t(37,Gl=!0);try{const Z=(await bm(()=>import("./jszip.min-QV0_LQi7.js").then(Bt=>Bt.j),__vite__mapDeps([]),import.meta.url)).default,se=(await bm(()=>import("./FileSaver.min-z9tv4ddR.js").then(Bt=>Bt.F),__vite__mapDeps([]),import.meta.url)).default,$e=$r(),ke=ae.map(Bt=>Bt.name),Ae=ae.filter(Bt=>!Bt.hidden).map(Bt=>Bt.name);let Fe=k.id;Fe==="org.minizinc.gecode_presolver"?Fe="org.gecode.gecode":Fe==="org.minizinc.chuffed"&&(Fe="org.chuffed.chuffed");const lt=new Z;for(const Bt of $e.files)lt.file(Bt.name,Bt.contents);lt.file("Project.mzp",JSON.stringify({version:105,projectFiles:ke,openFiles:Ae,openTab:$e.tab,selectedBuiltinConfigId:Fe,selectedBuiltinConfigVersion:"default"}));const Pi=await lt.generateAsync({type:"blob"});se.saveAs(Pi,"Project.zip")}catch(Z){console.error(Z)}finally{t(37,Gl=!1)}}let Ir,yr=null,js=!1;function Fs(Z){const se=$r(),$e=new URL(Z);return $e.hash=`#project=${encodeURIComponent(JSON.stringify(se))}`,t(40,js=!1),$e.toString()}function ou(){Ir.select(),Ir.setSelectionRange(0,yr.length),navigator.clipboard.writeText(yr),t(40,js=!0)}function $a(){Te&&window.open(Fs(Te),"_blank").focus()}let ya=null;async function Gs(Z){const se=Z.view;if(!(ie!==0||!k||!h||!h.name.endsWith(".mzn")))try{const $e=se.state.doc.toString();if($e===ya)return;ya=$e;const ke=new De.Model;for(const lt of ae)ke.addFile(lt.name,lt.state.doc.toString(),!1);const Ae=ke.addString($e),Fe=await ke.check({options:Ze.getCompilationConfiguration(k.id)});if(se.state.doc.toString()!==$e)return;w9($e,Fe.filter(lt=>lt.location.filename===Ae),se)}catch($e){console.error($e)}}function va(Z){const se=ae.findIndex($e=>$e.name===Z.filename);if(se!==-1){ii(se);const $e=ae[se].state.doc.toString(),ke=Sd(Z.firstLine,Z.firstColumn,$e);Ne.focus(),Ne.setCursor(ke)}}function Hs(){Ce==="horizontal"?t(2,Ce="vertical"):t(2,Ce="horizontal")}function au(Z){t(0,I=Z.detail.item===st.edge)}function Ks(Z){h&&t(85,h.state=Ne.getState(),h),ae.forEach(se=>Ub(se,Z?n8:i8)),H(h)}let pn,ks=!1,Ps=!1;function Hl(Z){Le&&Dr();const se=[Z.modelFile],$e=Z.modelFile.substring(0,Z.modelFile.length-4),ke=ae.find(Fe=>Fe.name===`${$e}.mzc`||Fe.name===`${$e}.mzc.mzn`);if(ke&&se.push(ke.name),Z.dataFiles)for(const Fe of Z.dataFiles)se.push(Fe);const Ae=new De.Model;for(const Fe of ae)Ae.addFile(Fe.name,Fe.state.doc.toString(),se.indexOf(Fe.name)!==-1);Xn(Ae,se,Z.options||Ze.getSolvingConfiguration(k.id))}function wa(){Pt=mO(this),t(22,Pt)}function Qa(){Pt=mO(this),t(22,Pt)}const fu=()=>{t(26,je=!je),t(35,Kt=!1)},cu=()=>{Kn(),t(26,je=!1)},uu=()=>{ys(),t(26,je=!1)},hu=()=>{t(0,I=!I),t(26,je=!1)},ka=()=>{t(39,yr=Fs(window.location.href)),t(26,je=!1)},Pa=()=>{$a(),t(26,je=!1)},_a=()=>t(39,yr=Fs(window.location.href)),Kl=()=>ba(),Ou=()=>{t(43,Ps=!1)},xa=()=>{t(43,Ps=!0)};function Js(Z){zt[Z?"unshift":"push"](()=>{pn=Z,t(41,pn)})}const Wa=Z=>Hl(Z.detail);function du(Z){K=Z,t(1,K)}const Ca=()=>t(33,si=[]),Ta=Z=>va(Z.detail.location),Jl=Z=>ii(Z.detail.index),pu=Z=>Bs(Z.detail.src,Z.detail.dest),Za=()=>t(28,mt=!0),eo=Z=>t(29,Et=Z.detail.index),to=()=>t(30,kt=!0);function Nr(Z){zt[Z?"unshift":"push"](()=>{Ne=Z,t(25,Ne)})}function Ra(Z){nt=Z,t(3,nt)}function Xa(Z){zt[Z?"unshift":"push"](()=>{Ze=Z,t(27,Ze)})}const gu=()=>t(35,Kt=!1),Aa=()=>t(30,kt=!1),Ya=Z=>t(29,Et=Z.detail.index),Ua=Z=>ws(Z.detail.index,Z.detail.options),Ea=()=>t(28,mt=!0),mu=()=>t(28,mt=!1),Su=Z=>vs(Z.detail.type),bu=Z=>Hn(Z.detail.files),Ma=()=>Ls(Et),$u=()=>t(29,Et=null),yu=()=>t(29,Et=null),vu=Z=>ye(Z.detail),wu=()=>ye(!1),io=Z=>ye(Z.detail),Qu=()=>ye(!1),ku=()=>t(39,yr=null);function Pu(Z){zt[Z?"unshift":"push"](()=>{Ir=Z,t(38,Ir)})}const _u=()=>Ir.select(),xu=()=>t(39,yr=null);return n.$$set=Z=>{"showVersionSwitcher"in Z&&t(4,M=Z.showVersionSwitcher),"showSolverDropdown"in Z&&t(5,L=Z.showSolverDropdown),"edgeMiniZinc"in Z&&t(0,I=Z.edgeMiniZinc),"autoClearOutput"in Z&&t(1,K=Z.autoClearOutput),"showTabs"in Z&&t(6,re=Z.showTabs),"canEditTabs"in Z&&t(7,Oe=Z.canEditTabs),"compilationEnabled"in Z&&t(8,me=Z.compilationEnabled),"project"in Z&&t(73,We=Z.project),"enabledSolvers"in Z&&t(74,he=Z.enabledSolvers),"canEditSolverSettings"in Z&&t(9,ce=Z.canEditSolverSettings),"showShareButton"in Z&&t(10,Ve=Z.showShareButton),"showDownloadButton"in Z&&t(11,Ke=Z.showDownloadButton),"externalPlaygroundURL"in Z&&t(12,Te=Z.externalPlaygroundURL),"splitterDirection"in Z&&t(2,Ce=Z.splitterDirection),"splitterSize"in Z&&t(3,nt=Z.splitterSize),"canSwitchOrientation"in Z&&t(13,Yt=Z.canSwitchOrientation),"showClearOutput"in Z&&t(14,Qt=Z.showClearOutput),"showAutoClearOutput"in Z&&t(15,dt=Z.showAutoClearOutput),"showOutputSectionToggles"in Z&&t(16,Ut=Z.showOutputSectionToggles),"showOutputRightControls"in Z&&t(17,be=Z.showOutputRightControls),"theme"in Z&&t(75,le=Z.theme),"hideOutputOnStartup"in Z&&t(76,F=Z.hideOutputOnStartup),"autoFocus"in Z&&t(77,ue=Z.autoFocus),"$$scope"in Z&&t(135,z=Z.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&524288&&t(52,i=[st.latest,st.edge]),n.$$.dirty[0]&1&&Dt(),n.$$.dirty[2]&2048&&$t(We),n.$$.dirty[0]&1048576&&(r=ae.filter(Z=>!Z.hidden).length),n.$$.dirty[0]&3145728&&t(85,h=pthe.indexOf(Z.id)!==-1):ft),n.$$.dirty[0]&20971520&&t(84,k=Pt>=0&&Pt<$.length?$[Pt]:null),n.$$.dirty[2]&8388608&&t(88,O=h&&h.name.endsWith(".mzn")&&!h.name.endsWith(".mzc.mzn")),n.$$.dirty[2]&8388608&&t(87,p=h&&(h.name.endsWith(".dzn")||h.name.endsWith(".json"))),n.$$.dirty[2]&8388608&&t(86,g=h&&h.name.endsWith(".fzn")),n.$$.dirty[0]&262144|n.$$.dirty[2]&121634816&&t(50,l=ie===0&&k&&(O||p||g)),n.$$.dirty[0]&262144|n.$$.dirty[2]&104857600&&t(49,o=ie===0&&k&&(O||p)),n.$$.dirty[2]&1064960&&t(48,a=!F||qt?"all":"a"),n.$$.dirty[2]&2097152&&t(47,u=Le!==null),n.$$.dirty[0]&1048576&&t(44,b=ae.filter(Z=>Z.name.endsWith(".mzn")&&!Z.name.endsWith(".mzc.mzn")).map(Z=>Z.name)),n.$$.dirty[0]&1048576&&t(46,y=ae.filter(Z=>Z.name.endsWith(".dzn")||Z.name.endsWith(".json")).map(Z=>Z.name)),n.$$.dirty[0]&20971520&&Sr(),n.$$.dirty[2]&4194304&&t(45,W=k?k.stdFlags:[]),n.$$.dirty[2]&8388608&&H(h),n.$$.dirty[2]&134225920&&t(23,X={dark:!0,light:!1,auto:T}[le]),n.$$.dirty[0]&8388608&&Ks(X)},[I,K,Ce,nt,M,L,re,Oe,me,ce,Ve,Ke,Te,Yt,Qt,dt,Ut,be,ie,st,ae,pt,Pt,X,$,Ne,je,Ze,mt,Et,kt,Di,ri,si,dn,Kt,ye,Gl,Ir,yr,js,pn,ks,Ps,b,W,y,u,a,o,l,s,i,C,ys,ii,vs,Hn,ki,Ls,ws,Bs,Qs,Kn,Dr,ba,Fs,ou,$a,va,Hs,au,Hl,We,he,le,F,ue,$t,Gn,$r,ft,qt,Le,k,h,g,p,O,T,U,wa,Qa,fu,cu,uu,hu,ka,Pa,_a,Kl,Ou,xa,Js,Wa,du,Ca,Ta,Jl,pu,Za,eo,to,Nr,Ra,Xa,gu,Aa,Ya,Ua,Ea,mu,Su,bu,Ma,$u,yu,vu,wu,io,Qu,ku,Pu,_u,xu,z]}class j9 extends Qi{constructor(e){super(),wi(this,e,B9,L9,pi,{showVersionSwitcher:4,showSolverDropdown:5,edgeMiniZinc:0,autoClearOutput:1,showTabs:6,canEditTabs:7,compilationEnabled:8,project:73,enabledSolvers:74,canEditSolverSettings:9,showShareButton:10,showDownloadButton:11,externalPlaygroundURL:12,splitterDirection:2,splitterSize:3,canSwitchOrientation:13,showClearOutput:14,showAutoClearOutput:15,showOutputSectionToggles:16,showOutputRightControls:17,theme:75,hideOutputOnStartup:76,autoFocus:77,loadProject:78,hasFiles:79,getProject:80},null,[-1,-1,-1,-1,-1,-1])}get loadProject(){return this.$$.ctx[78]}get hasFiles(){return this.$$.ctx[79]}get getProject(){return this.$$.ctx[80]}}const{window:Eb}=UW;function F9(n){let e,t,i,r,s,l,o,a;function u(g){n[6](g)}function h(g){n[7](g)}function O(g){n[8](g)}let p={project:n[1]};return n[2].autoClearOutput!==void 0&&(p.autoClearOutput=n[2].autoClearOutput),n[2].splitterDirection!==void 0&&(p.splitterDirection=n[2].splitterDirection),n[2].splitterSize!==void 0&&(p.splitterSize=n[2].splitterSize),t=new j9({props:p}),n[5](t),zt.push(()=>Eo(t,"autoClearOutput",u)),zt.push(()=>Eo(t,"splitterDirection",h)),zt.push(()=>Eo(t,"splitterSize",O)),{c(){e=_("div"),ze(t.$$.fragment),w(e,"class","playground-app svelte-tuc1wl")},m(g,b){E(g,e,b),Ee(t,e,null),l=!0,o||(a=[oe(Eb,"beforeunload",n[4]),oe(Eb,"hashchange",n[3])],o=!0)},p(g,[b]){const y={};b&2&&(y.project=g[1]),!i&&b&4&&(i=!0,y.autoClearOutput=g[2].autoClearOutput,Uo(()=>i=!1)),!r&&b&4&&(r=!0,y.splitterDirection=g[2].splitterDirection,Uo(()=>r=!1)),!s&&b&4&&(s=!0,y.splitterSize=g[2].splitterSize,Uo(()=>s=!1)),t.$set(y)},i(g){l||(q(t.$$.fragment,g),l=!0)},o(g){B(t.$$.fragment,g),l=!1},d(g){g&&Y(e),n[5](null),Me(t),o=!1,Gt(a)}}}const Mb=`% Use this editor as a MiniZinc scratch book -`,zb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";function G9(n,e,t){let i,r={files:[]},s={autoClearOutput:!1,splitterDirection:"vertical",splitterSize:75,sessions:{}};try{const y=localStorage.getItem("mznPlayground");y&&y.length>0&&(s={...s,...JSON.parse(y)})}catch(y){console.error(y)}let l;function o(){if(Object.keys(s.sessions).length>=5){const W=Object.keys(s.sessions).map(X=>({key:X,value:s.sessions[X]}));W.sort((X,T)=>T.value.timestamp-X.value.timestamp),t(2,s.sessions=W.slice(0,4).reduce((X,T)=>({...X,[T.key]:T.value}),{}),s)}const $=()=>Array(6).fill(0).map(()=>zb[Math.floor(Math.random()*zb.length)]).join("");let k=$();for(;k in s.sessions;)k=$();return k}function a(y){return y.solverId||(y.solver===0?y.solverId="org.minizinc.gecode_presolver":r.solver===1&&(y.solverId="org.minizinc.mip.coin-bc")),y}function u(){if(l&&i.hasFiles()){const $=i.getProject();t(2,s.sessions[l]=$,s)}if(window.location.hash.startsWith("#project="))try{const $=decodeURIComponent(window.location.hash.substring(9));t(1,r=a(JSON.parse($))),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`);return}catch($){console.error($)}if(window.location.hash.startsWith("#code="))try{const $=decodeURIComponent(window.location.hash.substring(6));t(1,r={files:[{name:"Playground.mzn",contents:$,anchor:$.length}]}),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`)}catch($){console.error($)}window.location.hash.startsWith("#session=")||window.history.replaceState(void 0,void 0,`#session=${o()}`);const y=window.location.hash.substring(9);if(y!==l&&s.sessions&&s.sessions[y])try{t(1,r=a(s.sessions[y])),l=y}catch($){console.error($)}r.files.length===0&&t(1,r={files:[{name:"Playground.mzn",contents:Mb,anchor:Mb.length}]}),l=y}Fc(()=>u());function h(){const y=i.getProject();t(2,s.sessions[l]={...y,timestamp:Date.now()},s),localStorage.setItem("mznPlayground",JSON.stringify(s))}function O(y){zt[y?"unshift":"push"](()=>{i=y,t(0,i)})}function p(y){n.$$.not_equal(s.autoClearOutput,y)&&(s.autoClearOutput=y,t(2,s))}function g(y){n.$$.not_equal(s.splitterDirection,y)&&(s.splitterDirection=y,t(2,s))}function b(y){n.$$.not_equal(s.splitterSize,y)&&(s.splitterSize=y,t(2,s))}return[i,r,s,u,h,O,p,g,b]}class H9 extends Qi{constructor(e){super(),wi(this,e,G9,F9,pi,{})}}new H9({target:document.getElementById("app")});export{Wo as c,i7 as g}; +`;function US(n,e,t){const i=n.slice();return i[23]=e[t],i[24]=e,i[25]=t,i}function ES(n){let e,t,i,r,s,l,o,a,c,h,O,p,g,b,y,$,k,W,X;return $=new Ct({props:{icon:y3}}),{c(){e=P("div"),t=P("div"),t.innerHTML="Solution:",i=N(),r=P("div"),s=P("input"),o=N(),a=P("div"),c=P("input"),O=N(),p=P("div"),g=P("p"),b=P("button"),y=P("span"),qe($.$$.fragment),v(t,"class","solution-label svelte-152bhkz"),v(s,"class","input is-small"),v(s,"type","number"),v(s,"min",l=n[2]>0?1:0),v(s,"max",n[2]),v(c,"type","range"),v(c,"min",h=n[2]>0?1:0),v(c,"max",n[2]),v(c,"class","svelte-152bhkz"),v(a,"class","solution-slider svelte-152bhkz"),v(y,"class","icon"),v(b,"class","button is-small"),v(b,"title","Follow latest solution"),ce(b,"is-primary",n[0]),ce(b,"is-light",!n[0]),v(g,"class","control"),v(p,"class","field has-addons svelte-152bhkz"),v(e,"class","top svelte-152bhkz")},m(R,T){U(R,e,T),Q(e,t),Q(e,i),Q(e,r),Q(r,s),ni(s,n[1]),Q(e,o),Q(e,a),Q(a,c),ni(c,n[1]),Q(e,O),Q(e,p),Q(p,g),Q(g,b),Q(b,y),Ve($,y,null),k=!0,W||(X=[le(s,"input",n[12]),le(c,"change",n[13]),le(c,"input",n[13]),le(b,"click",n[14])],W=!0)},p(R,T){(!k||T&4&&l!==(l=R[2]>0?1:0))&&v(s,"min",l),(!k||T&4)&&v(s,"max",R[2]),T&2&&Lo(s.value)!==R[1]&&ni(s,R[1]),(!k||T&4&&h!==(h=R[2]>0?1:0))&&v(c,"min",h),(!k||T&4)&&v(c,"max",R[2]),T&2&&ni(c,R[1]),(!k||T&1)&&ce(b,"is-primary",R[0]),(!k||T&1)&&ce(b,"is-light",!R[0])},i(R){k||(D($.$$.fragment,R),k=!0)},o(R){L($.$$.fragment,R),k=!1},d(R){R&&A(e),De($),W=!1,Gt(X)}}}function zS(n){let e,t,i=n[24],r=n[25],s,l;const o=()=>n[15](e,i,r),a=()=>n[15](null,i,r);function c(...h){return n[16](n[23],...h)}return{c(){e=P("iframe"),v(e,"class","vis-window svelte-152bhkz"),hm(e.src,t=n[23].url)||v(e,"src",t),v(e,"title","Visualisation")},m(h,O){U(h,e,O),o(),s||(l=le(e,"load",c),s=!0)},p(h,O){n=h,O&8&&!hm(e.src,t=n[23].url)&&v(e,"src",t),(i!==n[24]||r!==n[25])&&(a(),i=n[24],r=n[25],o())},d(h){h&&A(e),a(),s=!1,l()}}}function V8(n){let e,t,i,r,s,l,o,a=n[2]>0&&ES(n),c=at(n[3]),h=[];for(let O=0;O0?a?(a.p(O,p),p&4&&D(a,1)):(a=ES(O),a.c(),D(a,1),a.m(e,t)):a&&(Ke(),L(a,1,1,()=>{a=null}),Je()),p&8){c=at(O[3]);let g;for(g=0;g{Oe=Qe});oe.then(Qe=>{Qe.contentWindow.postMessage({event:"init",payload:ne},"*")});const Ce=s.reduce((Qe,xe)=>({...Qe,[xe.name]:xe.state.doc.toString()}),{}),ue=[],fe=new DOMParser().parseFromString(K,"text/html");for(const Qe of fe.getElementsByTagName("script")){const xe=Qe.getAttribute("src");if(xe==="/minizinc-ide.js")Qe.src=D8;else if(xe in Ce&&xe.endsWith(".js")){const it=URL.createObjectURL(new Blob([Ce[xe]],{type:"text/javascript; charset=utf-8"}));Qe.src=it,ue.push(it)}}for(const Qe of fe.getElementsByTagName("link")){const xe=Qe.getAttribute("href");if(xe in Ce&&xe.endsWith(".css")){const it=URL.createObjectURL(new Blob([Ce[xe]],{type:"text/css; charset=utf-8"}));Qe.href=it,ue.push(it)}}const Xe=new XMLSerializer().serializeToString(fe.doctype)+fe.documentElement.outerHTML,Ie=URL.createObjectURL(new Blob([Xe],{type:"text/html; charset=utf-8"}));t(3,O=[...O,{key:I,url:Ie,extraUrls:ue,makeReady:Oe,ready:oe,solutions:[],element:null}])}function $(I,K){for(const ne in I){const Oe=O.find(Ce=>Ce.key===ne);if(!Oe){console.error(`Did not find visualisation for ${ne}`);continue}const oe={time:K,data:I[ne]};Oe.solutions.push(oe),xn({event:"solution",payload:oe},Oe)}t(2,h++,h)}function k(I,K){p={status:I,time:K};for(let ne=0;neOe.element.contentWindow===I.source);switch(K.event){case"rebroadcast":for(const oe of O)xn(K.message,oe);K.message.event==="goToSolution"&&(l=K.message.payload===-1,t(0,o=K.message.payload===-1),a=K.message.payload+1,t(1,c=K.message.payload+1));break;case"solve":r("solve",{modelFile:K.modelFile,dataFiles:K.dataFiles,options:K.options});break;case"getNumSolutions":xn({event:"response",id:K.id,payload:ne.solutions.length},ne);break;case"getSolution":const Oe=K.index<0?K.index+ne.solutions.length:K.index;if(Oe<0||Oe>=ne.solutions.length)xn({event:"error",id:K.id,message:"Solution index out of range"},ne);else{xn({event:"response",id:K.id,payload:ne.solutions[K.index===-1?ne.solutions.length-1:K.index]},ne);break}case"getAllSolutions":xn({event:"response",id:K.id,payload:ne.solutions},ne);break;case"getStatus":xn({event:"response",id:K.id,payload:p},ne);break;case"getFinishTime":xn({event:"response",id:K.id,payload:g},ne);break}}function R(I,K,ne){if(o&&a===c&&(a=h,t(1,c=h)),o!==l){l=o;for(const Oe of O)xn({event:"goToSolution",payload:o?-1:c-1},Oe)}if(a!==c){a=c,l=!1,t(0,o=!1);for(const Oe of O)xn({event:"goToSolution",payload:c-1},Oe)}}function T(){c=Lo(this.value),t(1,c)}function E(){c=Lo(this.value),t(1,c)}const M=()=>t(0,o=!o);function z(I,K,ne){Yt[I?"unshift":"push"](()=>{K[ne].element=I,t(3,O)})}const B=(I,K)=>I.makeReady(K.target);return n.$$set=I=>{"files"in I&&t(6,s=I.files)},n.$$.update=()=>{n.$$.dirty&8&&t(4,i=Math.ceil(Math.sqrt(O.length))),n.$$.dirty&7&&R()},[o,c,h,O,i,X,s,b,y,$,k,W,T,E,M,z,B]}class I8 extends _i{constructor(e){super(),ki(this,e,q8,V8,di,{files:6,reset:7,addVisualisation:8,addSolution:9,status:10,finish:11})}get reset(){return this.$$.ctx[7]}get addVisualisation(){return this.$$.ctx[8]}get addSolution(){return this.$$.ctx[9]}get status(){return this.$$.ctx[10]}get finish(){return this.$$.ctx[11]}}const MS=[".mzn",".mzc",".dzn",".json",".html",".js",".css"];async function Kw(n){const e=n.startsWith("http://")||n.startsWith("https://")?n:`http://${n}`,t=e.split("/").pop();if(!t.endsWith(".mzp")&&MS.every(r=>!t.endsWith(r)))throw new Error("File type not recognised");const i=await fetch(new URL(e));if(!i.ok)throw new Error(`Request failed (${i.status} ${i.statusText})`);if(t.endsWith(".mzp")){const r=await i.json(),s=[],l=r.openFiles[r.openTab];let o=0;for(const c of r.projectFiles){const h=c.split("/").pop();if(MS.every(g=>!h.endsWith(g)))continue;c===l&&(o=s.length);const O=await fetch(new URL(c,e));if(!O.ok)throw new Error(`Request failed (${O.status} ${O.statusText})`);const p=await O.text();s.push({name:h,contents:p,hidden:r.openFiles.indexOf(c)===-1})}let a=r.selectedBuiltinConfigId;return a==="org.gecode.gecode"?a="org.minizinc.gecode_presolver":a==="org.chuffed.chuffed"&&(a="org.minizinc.chuffed"),{files:s,tab:o,solverId:a}}else{const r=await i.text();return{files:[{name:t,contents:r}]}}}function N8(n){let e,t;return e=new Ls({props:{active:n[0],title:"Create new file",$$slots:{default:[B8]},$$scope:{ctx:n}}}),e.$on("activate",n[8]),e.$on("cancel",n[23]),{c(){qe(e.$$.fragment)},m(i,r){Ve(e,i,r),t=!0},p(i,r){const s={};r&1&&(s.active=i[0]),r&134217770&&(s.$$scope={dirty:r,ctx:i}),e.$set(s)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){L(e.$$.fragment,i),t=!1},d(i){De(e,i)}}}function L8(n){let e,t;return e=new Ls({props:{active:n[0],title:"Import from URL",$$slots:{footer:[F8],default:[j8]},$$scope:{ctx:n}}}),e.$on("activate",n[8]),e.$on("cancel",n[14]),e.$on("submit",n[10]),{c(){qe(e.$$.fragment)},m(i,r){Ve(e,i,r),t=!0},p(i,r){const s={};r&1&&(s.active=i[0]),r&134217816&&(s.$$scope={dirty:r,ctx:i}),e.$set(s)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){L(e.$$.fragment,i),t=!1},d(i){De(e,i)}}}function B8(n){let e,t,i,r,s,l,o,a,c,h,O,p,g,b,y,$,k,W,X,R,T,E,M,z,B,I,K,ne,Oe,oe,Ce,ue,fe,Xe,Ie;return{c(){e=P("aside"),t=P("p"),t.textContent="Model",i=N(),r=P("ul"),s=P("li"),l=P("button"),l.textContent="Model file (.mzn)",o=N(),a=P("li"),c=P("button"),c.textContent="Solution checker model (.mzc.mzn)",h=N(),O=P("p"),O.textContent="Data",p=N(),g=P("ul"),b=P("li"),y=P("button"),y.textContent="Data file (.dzn)",$=N(),k=P("li"),W=P("button"),W.textContent="JSON data file (.json)",X=N(),R=P("p"),R.textContent="Visualisation",T=N(),E=P("ul"),M=P("li"),z=P("button"),z.textContent="Custom visualisation (.html)",B=N(),I=P("p"),I.textContent="Import",K=N(),ne=P("ul"),Oe=P("li"),oe=P("button"),oe.textContent="Upload file(s)",Ce=N(),ue=P("li"),fe=P("button"),fe.textContent="Import from URL",v(t,"class","menu-label"),v(l,"type","button"),v(l,"class","button is-text svelte-dangsi"),v(c,"type","button"),v(c,"class","button is-text svelte-dangsi"),v(r,"class","menu-list svelte-dangsi"),v(O,"class","menu-label"),v(y,"type","button"),v(y,"class","button is-text svelte-dangsi"),v(W,"type","button"),v(W,"class","button is-text svelte-dangsi"),v(g,"class","menu-list svelte-dangsi"),v(R,"class","menu-label"),v(z,"type","button"),v(z,"class","button is-text svelte-dangsi"),v(E,"class","menu-list svelte-dangsi"),v(I,"class","menu-label"),v(oe,"type","button"),v(oe,"class","button is-text svelte-dangsi"),v(fe,"type","button"),v(fe,"class","button is-text svelte-dangsi"),v(ne,"class","menu-list svelte-dangsi"),v(e,"class","menu")},m(Qe,xe){U(Qe,e,xe),Q(e,t),Q(e,i),Q(e,r),Q(r,s),Q(s,l),n[15](l),Q(r,o),Q(r,a),Q(a,c),Q(e,h),Q(e,O),Q(e,p),Q(e,g),Q(g,b),Q(b,y),Q(g,$),Q(g,k),Q(k,W),Q(e,X),Q(e,R),Q(e,T),Q(e,E),Q(E,M),Q(M,z),Q(e,B),Q(e,I),Q(e,K),Q(e,ne),Q(ne,Oe),Q(Oe,oe),Q(ne,Ce),Q(ne,ue),Q(ue,fe),Xe||(Ie=[le(l,"click",n[16]),le(c,"click",n[17]),le(y,"click",n[18]),le(W,"click",n[19]),le(z,"click",n[20]),le(oe,"click",n[21]),le(fe,"click",n[22])],Xe=!0)},p:we,d(Qe){Qe&&A(e),n[15](null),Xe=!1,Gt(Ie)}}}function VS(n){let e,t;return{c(){e=P("div"),t=Se(n[6]),v(e,"class","error svelte-dangsi")},m(i,r){U(i,e,r),Q(e,t)},p(i,r){r&64&&Fe(t,i[6])},d(i){i&&A(e)}}}function j8(n){let e,t,i,r,s,l,o=n[6]&&VS(n);return{c(){o&&o.c(),e=N(),t=P("div"),i=P("p"),r=P("input"),v(r,"class","input"),v(r,"type","text"),v(r,"pattern",".+\\.(mzn|dzn|json|js|html|css|mzp|mzc)"),r.required=!0,v(i,"class","control is-expanded"),v(t,"class","field")},m(a,c){o&&o.m(a,c),U(a,e,c),U(a,t,c),Q(t,i),Q(i,r),n[12](r),ni(r,n[4]),s||(l=le(r,"input",n[13]),s=!0)},p(a,c){a[6]?o?o.p(a,c):(o=VS(a),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),c&16&&r.value!==a[4]&&ni(r,a[4])},d(a){a&&(A(e),A(t)),o&&o.d(a),n[12](null),s=!1,l()}}}function F8(n){let e,t,i,r,s,l;return{c(){e=P("div"),t=P("button"),t.textContent="OK",i=N(),r=P("button"),r.textContent="Cancel",v(t,"class","button is-primary"),v(r,"class","button"),v(r,"type","button"),v(e,"slot","footer")},m(o,a){U(o,e,a),Q(e,t),Q(e,i),Q(e,r),s||(l=le(r,"click",n[11]),s=!0)},p:we,d(o){o&&A(e),s=!1,l()}}}function G8(n){let e,t,i,r,s,l,o;const a=[L8,N8],c=[];function h(O,p){return O[5]?0:1}return e=h(n),t=c[e]=a[e](n),{c(){t.c(),i=N(),r=P("input"),v(r,"class","is-hidden svelte-dangsi"),v(r,"type","file"),r.multiple=!0,v(r,"accept",".mzn,.mzc,.dzn,.json,.html,.js,.css")},m(O,p){c[e].m(O,p),U(O,i,p),U(O,r,p),n[24](r),s=!0,l||(o=[le(r,"change",n[25]),le(r,"change",n[9])],l=!0)},p(O,[p]){let g=e;e=h(O),e===g?c[e].p(O,p):(Ke(),L(c[g],1,1,()=>{c[g]=null}),Je(),t=c[e],t?t.p(O,p):(t=c[e]=a[e](O),t.c()),D(t,1),t.m(i.parentNode,i))},i(O){s||(D(t),s=!0)},o(O){L(t),s=!1},d(O){O&&(A(i),A(r)),c[e].d(O),n[24](null),l=!1,Gt(o)}}}function H8(n,e,t){let{active:i=!1}=e;const r=Yn();let s,l,o,a="",c=!1,h=null;function O(oe){t(5,c=!1),t(4,a=""),t(6,h=null)}async function p(){await jn(),o&&o.focus()}async function g(){const oe=[];for(const ue of l)oe.push(new Promise((fe,Xe)=>{const Ie=new FileReader;Ie.onload=()=>{fe({name:ue.name,contents:Ie.result})},Ie.onerror=Qe=>Xe(Qe),Ie.readAsText(ue)}));const Ce=await Promise.all(oe);r("open",{files:Ce})}async function b(){try{r("open",await Kw(a))}catch(oe){t(6,h=`Failed to import from URL: ${oe.message||oe}`),console.error(oe)}}const y=()=>r("cancel");function $(oe){Yt[oe?"unshift":"push"](()=>{o=oe,t(3,o)})}function k(){a=this.value,t(4,a)}const W=()=>r("cancel");function X(oe){Yt[oe?"unshift":"push"](()=>{o=oe,t(3,o)})}const R=()=>r("new",{type:".mzn"}),T=()=>r("new",{type:".mzc.mzn"}),E=()=>r("new",{type:".dzn"}),M=()=>r("new",{type:".json"}),z=()=>r("new",{type:".html"}),B=()=>s.click(),I=()=>t(5,c=!0),K=()=>r("cancel");function ne(oe){Yt[oe?"unshift":"push"](()=>{s=oe,t(1,s)})}function Oe(){l=this.files,t(2,l)}return n.$$set=oe=>{"active"in oe&&t(0,i=oe.active)},n.$$.update=()=>{n.$$.dirty&1&&O()},[i,s,l,o,a,c,h,r,p,g,b,y,$,k,W,X,R,T,E,M,z,B,I,K,ne,Oe]}class K8 extends _i{constructor(e){super(),ki(this,e,H8,G8,di,{active:0})}}function DS(n,e,t){const i=n.slice();return i[14]=e[t],i}function qS(n,e,t){const i=n.slice();return i[17]=e[t].file,i[18]=e[t].index,i}function J8(n){let e,t,i,r,s,l,o;i=new Ct({props:{icon:n[17].readOnly?id:W1}});function a(){return n[11](n[18],n[17])}return{c(){e=P("button"),t=P("span"),qe(i.$$.fragment),v(t,"class","icon"),v(e,"class","button is-small"),v(e,"title",r="Click to "+(n[17].readOnly?"unlock":"lock")+" this file for editing"),v(e,"type","button"),ce(e,"is-primary",!n[17].readOnly),ce(e,"is-light",n[17].readOnly)},m(c,h){U(c,e,h),Q(e,t),Ve(i,t,null),s=!0,l||(o=le(e,"click",a),l=!0)},p(c,h){n=c;const O={};h&2&&(O.icon=n[17].readOnly?id:W1),i.$set(O),(!s||h&2&&r!==(r="Click to "+(n[17].readOnly?"unlock":"lock")+" this file for editing"))&&v(e,"title",r),(!s||h&2)&&ce(e,"is-primary",!n[17].readOnly),(!s||h&2)&&ce(e,"is-light",n[17].readOnly)},i(c){s||(D(i.$$.fragment,c),s=!0)},o(c){L(i.$$.fragment,c),s=!1},d(c){c&&A(e),De(i),l=!1,o()}}}function e9(n){let e,t,i,r;return i=new Ct({props:{icon:id}}),{c(){e=P("button"),t=P("span"),qe(i.$$.fragment),v(t,"class","icon"),v(e,"class","button is-small is-light"),v(e,"title","Compiled checkers are read only"),v(e,"type","button"),e.disabled=!0},m(s,l){U(s,e,l),Q(e,t),Ve(i,t,null),r=!0},p:we,i(s){r||(D(i.$$.fragment,s),r=!0)},o(s){L(i.$$.fragment,s),r=!1},d(s){s&&A(e),De(i)}}}function IS(n){let e,t,i=n[17].name+"",r,s,l,o,a,c,h,O,p,g,b,y,$,k,W,X,R,T,E,M,z,B,I;p=new Ct({props:{icon:n[17].hidden?x1:C1}});function K(){return n[10](n[18],n[17])}const ne=[e9,J8],Oe=[];function oe(ue,fe){return fe&2&&($=null),$==null&&($=!!ue[17].name.endsWith(".mzc")),$?0:1}k=oe(n,-1),W=Oe[k]=ne[k](n),M=new Ct({props:{icon:Ty}});function Ce(){return n[12](n[18])}return{c(){e=P("tr"),t=P("td"),r=Se(i),s=N(),l=P("td"),o=P("div"),a=P("div"),c=P("p"),h=P("button"),O=P("span"),qe(p.$$.fragment),b=N(),y=P("p"),W.c(),X=N(),R=P("p"),T=P("button"),E=P("span"),qe(M.$$.fragment),v(O,"class","icon"),v(h,"class","button is-small"),v(h,"title",g="Click to "+(n[17].hidden?"show":"hide")+" this file"),v(h,"type","button"),ce(h,"is-primary",!n[17].hidden),ce(h,"is-light",n[17].hidden),v(c,"class","control"),v(y,"class","control"),v(E,"class","icon"),v(T,"class","button is-small is-danger"),v(T,"title","Delete this file"),v(T,"type","button"),v(R,"class","control"),v(a,"class","field is-grouped"),v(o,"class","tool-buttons svelte-1bgv9sn")},m(ue,fe){U(ue,e,fe),Q(e,t),Q(t,r),Q(e,s),Q(e,l),Q(l,o),Q(o,a),Q(a,c),Q(c,h),Q(h,O),Ve(p,O,null),Q(a,b),Q(a,y),Oe[k].m(y,null),Q(a,X),Q(a,R),Q(R,T),Q(T,E),Ve(M,E,null),z=!0,B||(I=[le(h,"click",K),le(T,"click",Ce)],B=!0)},p(ue,fe){n=ue,(!z||fe&2)&&i!==(i=n[17].name+"")&&Fe(r,i);const Xe={};fe&2&&(Xe.icon=n[17].hidden?x1:C1),p.$set(Xe),(!z||fe&2&&g!==(g="Click to "+(n[17].hidden?"show":"hide")+" this file"))&&v(h,"title",g),(!z||fe&2)&&ce(h,"is-primary",!n[17].hidden),(!z||fe&2)&&ce(h,"is-light",n[17].hidden);let Ie=k;k=oe(n,fe),k===Ie?Oe[k].p(n,fe):(Ke(),L(Oe[Ie],1,1,()=>{Oe[Ie]=null}),Je(),W=Oe[k],W?W.p(n,fe):(W=Oe[k]=ne[k](n),W.c()),D(W,1),W.m(y,null))},i(ue){z||(D(p.$$.fragment,ue),D(W),D(M.$$.fragment,ue),z=!0)},o(ue){L(p.$$.fragment,ue),L(W),L(M.$$.fragment,ue),z=!1},d(ue){ue&&A(e),De(p),Oe[k].d(),De(M),B=!1,Gt(I)}}}function NS(n){let e,t=n[14].label+"",i,r,s,l,o=at(n[14].files),a=[];for(let h=0;hL(a[h],1,1,()=>{a[h]=null});return{c(){e=P("p"),i=Se(t),r=N(),s=P("table");for(let h=0;hL(p[b],1,1,()=>{p[b]=null});return s=new Ct({props:{icon:Ry}}),{c(){for(let b=0;bAccept',v(e,"slot","footer")},m(t,i){U(t,e,i)},p:we,d(t){t&&A(e)}}}function n9(n){let e,t;return e=new Ls({props:{active:n[0],title:"Manage files",$$slots:{footer:[i9],default:[t9]},$$scope:{ctx:n}}}),e.$on("submit",n[3]),e.$on("cancel",n[3]),{c(){qe(e.$$.fragment)},m(i,r){Ve(e,i,r),t=!0},p(i,[r]){const s={};r&1&&(s.active=i[0]),r&2097154&&(s.$$scope={dirty:r,ctx:i}),e.$set(s)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){L(e.$$.fragment,i),t=!1},d(i){De(e,i)}}}function r9(n,e,t){let i,r,s,l,o,a,{active:c=!1}=e,{files:h=[]}=e;const O=Yn();function p(){O("close")}const g=(k,W)=>O("modifyFile",{index:k,options:{hidden:!W.hidden}}),b=(k,W)=>O("modifyFile",{index:k,options:{readOnly:!W.readOnly}}),y=k=>O("delete",{index:k}),$=()=>O("newFile");return n.$$set=k=>{"active"in k&&t(0,c=k.active),"files"in k&&t(4,h=k.files)},n.$$.update=()=>{n.$$.dirty&16&&t(9,i=h.map((k,W)=>({file:k,index:W}))),n.$$.dirty&512&&t(8,r=i.filter(k=>k.file.name.endsWith(".mzn")&&!k.file.name.endsWith(".mzc.mzn")).sort((k,W)=>k.file.name.localeCompare(W.file.name))),n.$$.dirty&512&&t(7,s=i.filter(k=>k.file.name.endsWith(".dzn")||k.file.name.endsWith(".json")).sort((k,W)=>k.file.name.localeCompare(W.file.name))),n.$$.dirty&512&&t(6,l=i.filter(k=>k.file.name.endsWith(".mzc")||k.file.name.endsWith(".mzc.mzn")).sort((k,W)=>k.file.name.localeCompare(W.file.name))),n.$$.dirty&512&&t(5,o=i.filter(k=>!k.file.name.endsWith(".mzn")&&!k.file.name.endsWith(".mzc")&&!k.file.name.endsWith(".dzn")&&!k.file.name.endsWith(".json")).sort((k,W)=>k.file.name.localeCompare(W.file.name))),n.$$.dirty&480&&t(1,a=[{label:"Model files",files:r},{label:"Data files",files:s},{label:"Solution checkers",files:l},{label:"Other files",files:o}].filter(k=>k.files.length>0))},[c,a,O,p,h,o,l,s,r,i,g,b,y,$]}class s9 extends _i{constructor(e){super(),ki(this,e,r9,n9,di,{active:0,files:4})}}function LS(n,e,t){const i=n.slice();return i[9]=e[t],i}function BS(n){let e,t=n[9]+"",i,r;return{c(){e=P("option"),i=Se(t),e.__value=r=n[9],ni(e,e.__value),v(e,"class","svelte-1x5266v")},m(s,l){U(s,e,l),Q(e,i)},p(s,l){l&1&&t!==(t=s[9]+"")&&Fe(i,t),l&1&&r!==(r=s[9])&&(e.__value=r,ni(e,e.__value))},d(s){s&&A(e)}}}function l9(n){let e,t,i,r,s,l=at(n[0]),o=[];for(let a=0;an[6].call(t)),v(e,"class","select is-fullwidth is-multiple svelte-1x5266v")},m(a,c){U(a,e,c),Q(e,t);for(let h=0;h0&&t(2,l=p[0])}function a(){i("accept",{modelFile:l})}const c=()=>i("cancel");function h(){l=mO(this),t(2,l),t(0,r)}const O=()=>i("cancel");return n.$$set=p=>{"modelFiles"in p&&t(0,r=p.modelFiles),"active"in p&&t(1,s=p.active)},n.$$.update=()=>{n.$$.dirty&1&&o(r)},[r,s,l,i,a,c,h,O]}class c9 extends _i{constructor(e){super(),ki(this,e,f9,a9,di,{modelFiles:0,active:1})}}function jS(n,e,t){const i=n.slice();return i[25]=e[t],i[26]=e,i[27]=t,i}function FS(n,e,t){const i=n.slice();return i[22]=e[t],i}function GS(n){let e,t,i,r,s,l,o,a,c;return{c(){e=P("div"),t=P("ul"),i=P("li"),r=P("a"),r.textContent="Enter parameters",s=N(),l=P("li"),o=P("a"),o.textContent="Select data file",ce(i,"is-active",!n[2]),ce(l,"is-active",n[2]),v(e,"class","tabs")},m(h,O){U(h,e,O),Q(e,t),Q(t,i),Q(i,r),Q(t,s),Q(t,l),Q(l,o),a||(c=[le(r,"click",n[13]),le(o,"click",n[14])],a=!0)},p(h,O){O&4&&ce(i,"is-active",!h[2]),O&4&&ce(l,"is-active",h[2])},d(h){h&&A(e),a=!1,Gt(c)}}}function u9(n){let e,t=at(n[5]),i=[];for(let r=0;rn[16].call(t)),v(e,"class","select is-fullwidth is-multiple")},m(a,c){U(a,e,c),Q(e,t);for(let h=0;hB[I]===void 0?{name:I,value:""}:{name:I,value:B[I]}))}function y(){r?s("accept",{dataFiles:h}):s("accept",{parameters:O.reduce((B,I)=>({...B,[I.name]:I.value}),{})})}const $=()=>s("cancel"),k=()=>t(2,c=!1),W=()=>t(2,c=!0);function X(B){Yt[B?"unshift":"push"](()=>{p=B,t(6,p)})}function R(){h=IW(this),t(4,h),t(1,a)}function T(B){Yt[B?"unshift":"push"](()=>{p=B,t(6,p)})}function E(B,I){B[I].value=this.value,t(5,O)}function M(B,I){B[I].value=this.value,t(5,O)}const z=()=>s("cancel");return n.$$set=B=>{"active"in B&&t(0,l=B.active),"parameters"in B&&t(11,o=B.parameters),"dataFiles"in B&&t(1,a=B.dataFiles)},n.$$.update=()=>{n.$$.dirty&2048&&b(o),n.$$.dirty&2&&t(3,i=a.length>0),n.$$.dirty&12&&t(7,r=i&&c)},[l,a,c,i,h,O,p,r,s,g,y,o,$,k,W,X,R,T,E,M,z]}class b9 extends _i{constructor(e){super(),ki(this,e,S9,m9,di,{active:0,parameters:11,dataFiles:1})}}function JS(n){let e,t,i,r,s,l,o,a,c,h,O,p,g,b,y,$,k,W,X=Cn(n[1],"-a"),R,T=Cn(n[1],"-f"),E,M,z,B,I,K,ne,Oe,oe,Ce=Cn(n[1],"-v"),ue,fe,Xe,Ie,Qe,xe,it,Ut=Cn(n[1],"-s"),Qt,dt,Et,$e,se,F,he,ie,ft,et,Ne,rt,zt,pt,$t,En;r=new Ct({props:{icon:Xy}});let Rt=X&&eb(n),Ye=T&&tb(n),ae=Ce&&ib(n),St=Ut&&nb(n);return{c(){e=P("div"),t=P("button"),i=P("span"),qe(r.$$.fragment),s=N(),l=P("h5"),l.textContent="Solving options",o=N(),a=P("form"),c=P("div"),h=P("p"),O=P("input"),p=N(),g=P("label"),g.textContent="Time limit (s)",b=N(),y=P("p"),$=P("input"),W=N(),Rt&&Rt.c(),R=N(),Ye&&Ye.c(),E=N(),M=P("h5"),M.textContent="Output options",z=N(),B=P("div"),I=P("p"),K=P("input"),ne=N(),Oe=P("label"),Oe.textContent="Verbose compilation",oe=N(),ae&&ae.c(),ue=N(),fe=P("div"),Xe=P("p"),Ie=P("input"),Qe=N(),xe=P("label"),xe.textContent="Compilation statistics",it=N(),St&&St.c(),Qt=N(),dt=P("div"),Et=P("p"),$e=P("input"),se=N(),F=P("label"),F.textContent="Timing information",he=N(),ie=P("div"),ft=P("p"),ft.innerHTML='',et=N(),Ne=P("p"),rt=P("button"),rt.textContent="Reset to defaults",v(i,"class","icon"),v(t,"class","button is-text is-small exit-button svelte-1uq9463"),v(l,"class","title is-5"),v(O,"id","enable-timelimit"),v(O,"type","checkbox"),v(O,"class","svelte-1uq9463"),v(g,"for","enable-timelimit"),v(g,"class","svelte-1uq9463"),v(h,"class","control checkbox-control svelte-1uq9463"),v($,"class","input is-fullwidth"),v($,"type","number"),v($,"step","1"),v($,"min",0),$.disabled=k=!n[3],v(y,"class","control is-expanded"),v(c,"class","field is-grouped"),v(M,"class","title is-5"),v(K,"id","enable-verbose-compile"),v(K,"type","checkbox"),v(K,"class","svelte-1uq9463"),v(Oe,"for","enable-verbose-compile"),v(Oe,"class","svelte-1uq9463"),v(I,"class","control checkbox-control svelte-1uq9463"),v(B,"class","field"),v(Ie,"id","enable-compilation-satistics"),v(Ie,"type","checkbox"),v(Ie,"class","svelte-1uq9463"),v(xe,"for","enable-compilation-satistics"),v(xe,"class","svelte-1uq9463"),v(Xe,"class","control checkbox-control svelte-1uq9463"),v(fe,"class","field"),v($e,"id","enable-timing-information"),v($e,"type","checkbox"),v($e,"class","svelte-1uq9463"),v(F,"for","enable-timing-information"),v(F,"class","svelte-1uq9463"),v(Et,"class","control checkbox-control svelte-1uq9463"),v(dt,"class","field"),v(ft,"class","control"),v(rt,"type","button"),v(rt,"class","button is-danger"),v(Ne,"class","control"),v(ie,"class","field is-grouped bottom-buttons svelte-1uq9463"),v(e,"class","config-window svelte-1uq9463")},m(Ze,st){U(Ze,e,st),Q(e,t),Q(t,i),Ve(r,i,null),Q(e,s),Q(e,l),Q(e,o),Q(e,a),Q(a,c),Q(c,h),Q(h,O),O.checked=n[3],Q(h,p),Q(h,g),Q(c,b),Q(c,y),Q(y,$),ni($,n[2]),Q(a,W),Rt&&Rt.m(a,null),Q(a,R),Ye&&Ye.m(a,null),Q(a,E),Q(a,M),Q(a,z),Q(a,B),Q(B,I),Q(I,K),K.checked=n[5],Q(I,ne),Q(I,Oe),Q(a,oe),ae&&ae.m(a,null),Q(a,ue),Q(a,fe),Q(fe,Xe),Q(Xe,Ie),Ie.checked=n[7],Q(Xe,Qe),Q(Xe,xe),Q(a,it),St&&St.m(a,null),Q(a,Qt),Q(a,dt),Q(dt,Et),Q(Et,$e),$e.checked=n[9],Q(Et,se),Q(Et,F),Q(a,he),Q(a,ie),Q(ie,ft),Q(ie,et),Q(ie,Ne),Q(Ne,rt),pt=!0,$t||(En=[le(t,"click",n[17]),le(O,"change",n[18]),le($,"input",n[19]),le(K,"change",n[22]),le(Ie,"change",n[24]),le($e,"change",n[26]),le(rt,"click",n[12]),le(a,"submit",Gb(n[27]))],$t=!0)},p(Ze,st){st&8&&(O.checked=Ze[3]),(!pt||st&8&&k!==(k=!Ze[3]))&&($.disabled=k),st&4&&Lo($.value)!==Ze[2]&&ni($,Ze[2]),st&2&&(X=Cn(Ze[1],"-a")),X?Rt?Rt.p(Ze,st):(Rt=eb(Ze),Rt.c(),Rt.m(a,R)):Rt&&(Rt.d(1),Rt=null),st&2&&(T=Cn(Ze[1],"-f")),T?Ye?Ye.p(Ze,st):(Ye=tb(Ze),Ye.c(),Ye.m(a,E)):Ye&&(Ye.d(1),Ye=null),st&32&&(K.checked=Ze[5]),st&2&&(Ce=Cn(Ze[1],"-v")),Ce?ae?ae.p(Ze,st):(ae=ib(Ze),ae.c(),ae.m(a,ue)):ae&&(ae.d(1),ae=null),st&128&&(Ie.checked=Ze[7]),st&2&&(Ut=Cn(Ze[1],"-s")),Ut?St?St.p(Ze,st):(St=nb(Ze),St.c(),St.m(a,Qt)):St&&(St.d(1),St=null),st&512&&($e.checked=Ze[9])},i(Ze){pt||(D(r.$$.fragment,Ze),Ze&&Gn(()=>{pt&&(zt||(zt=bl(e,vc,{x:100,duration:200},!0)),zt.run(1))}),pt=!0)},o(Ze){L(r.$$.fragment,Ze),Ze&&(zt||(zt=bl(e,vc,{x:100,duration:200},!1)),zt.run(0)),pt=!1},d(Ze){Ze&&A(e),De(r),Rt&&Rt.d(),Ye&&Ye.d(),ae&&ae.d(),St&&St.d(),Ze&&zt&&zt.end(),$t=!1,Gt(En)}}}function eb(n){let e,t,i,r,s,l,o;return{c(){e=P("div"),t=P("p"),i=P("input"),r=N(),s=P("label"),s.textContent="All solutions (for satisfication problems)",v(i,"id","enable-all-solutions"),v(i,"type","checkbox"),v(i,"class","svelte-1uq9463"),v(s,"for","enable-all-solutions"),v(s,"class","svelte-1uq9463"),v(t,"class","control checkbox-control svelte-1uq9463"),v(e,"class","field")},m(a,c){U(a,e,c),Q(e,t),Q(t,i),i.checked=n[4],Q(t,r),Q(t,s),l||(o=le(i,"change",n[20]),l=!0)},p(a,c){c&16&&(i.checked=a[4])},d(a){a&&A(e),l=!1,o()}}}function tb(n){let e,t,i,r,s,l,o;return{c(){e=P("div"),t=P("p"),i=P("input"),r=N(),s=P("label"),s.textContent="Free search",v(i,"id","enable-free-search"),v(i,"type","checkbox"),v(i,"class","svelte-1uq9463"),v(s,"for","enable-free-search"),v(s,"class","svelte-1uq9463"),v(t,"class","control checkbox-control svelte-1uq9463"),v(e,"class","field")},m(a,c){U(a,e,c),Q(e,t),Q(t,i),i.checked=n[10],Q(t,r),Q(t,s),l||(o=le(i,"change",n[21]),l=!0)},p(a,c){c&1024&&(i.checked=a[10])},d(a){a&&A(e),l=!1,o()}}}function ib(n){let e,t,i,r,s,l,o;return{c(){e=P("div"),t=P("p"),i=P("input"),r=N(),s=P("label"),s.textContent="Verbose solving",v(i,"id","enable-verbose-solve"),v(i,"type","checkbox"),v(i,"class","svelte-1uq9463"),v(s,"for","enable-verbose-solve"),v(s,"class","svelte-1uq9463"),v(t,"class","control checkbox-control svelte-1uq9463"),v(e,"class","field")},m(a,c){U(a,e,c),Q(e,t),Q(t,i),i.checked=n[6],Q(t,r),Q(t,s),l||(o=le(i,"change",n[23]),l=!0)},p(a,c){c&64&&(i.checked=a[6])},d(a){a&&A(e),l=!1,o()}}}function nb(n){let e,t,i,r,s,l,o;return{c(){e=P("div"),t=P("p"),i=P("input"),r=N(),s=P("label"),s.textContent="Solving statistics",v(i,"id","enable-solving-satistics"),v(i,"type","checkbox"),v(i,"class","svelte-1uq9463"),v(s,"for","enable-solving-satistics"),v(s,"class","svelte-1uq9463"),v(t,"class","control checkbox-control svelte-1uq9463"),v(e,"class","field")},m(a,c){U(a,e,c),Q(e,t),Q(t,i),i.checked=n[8],Q(t,r),Q(t,s),l||(o=le(i,"change",n[25]),l=!0)},p(a,c){c&256&&(i.checked=a[8])},d(a){a&&A(e),l=!1,o()}}}function $9(n){let e,t,i=n[0]&&JS(n);return{c(){i&&i.c(),e=Ht()},m(r,s){i&&i.m(r,s),U(r,e,s),t=!0},p(r,[s]){r[0]?i?(i.p(r,s),s&1&&D(i,1)):(i=JS(r),i.c(),D(i,1),i.m(e.parentNode,e)):i&&(Ke(),L(i,1,1,()=>{i=null}),Je())},i(r){t||(D(i),t=!0)},o(r){L(i),t=!1},d(r){r&&A(e),i&&i.d(r)}}}function Cn(n,e){return n.indexOf(e)!==-1}function y9(n,e,t){const i=Yn();let{active:r}=e,{stdFlags:s=[]}=e,l=!1,o=1,a=!1,c=!1,h=!1,O=!1,p=!1,g=!1,b=!1;function y(ue){const fe=ue*1e3;fe!==Math.floor(fe)&&t(2,o=Math.floor(fe)/1e3)}function $(){t(3,l=!1),t(2,o=1),t(4,a=!1),t(5,c=!1),t(6,h=!1),t(7,O=!1),t(8,p=!1),t(9,g=!1),t(10,b=!1)}function k(ue){t(3,l=ue.enableTimeLimit),t(2,o=ue.timeLimit),t(4,a=ue.allSolutions),t(5,c=ue.verboseCompilation),t(6,h=ue.verboseSolving),t(7,O=ue.compilerStatistics),t(8,p=ue.solvingStatistics),t(9,g=ue.outputTime),t(10,b=ue.freeSearch)}function W(){return{enableTimeLimit:l,timeLimit:o,allSolutions:a,verboseCompilation:c,verboseSolving:h,compilerStatistics:O,solvingStatistics:p,outputTime:g,freeSearch:b}}function X(ue){const fe={solver:ue};return l&&o>0&&(fe["time-limit"]=o*1e3),a&&Cn(s,"-a")&&(fe["all-satisfaction"]=!0),c&&(fe["verbose-compilation"]=!0),h&&Cn(s,"-v")&&(fe["verbose-solving"]=!0),O&&(fe["compiler-statistics"]=!0),p&&Cn(s,"-s")&&(fe["solver-statistics"]=!0),g&&(fe["output-time"]=!0),b&&Cn(s,"-f")&&(fe["free-search"]=!0),fe}function R(ue){const fe={solver:ue};return c&&(fe["verbose-compilation"]=!0),O&&(fe["compiler-statistics"]=!0),fe}const T=()=>i("close");function E(){l=this.checked,t(3,l)}function M(){o=Lo(this.value),t(2,o)}function z(){a=this.checked,t(4,a)}function B(){b=this.checked,t(10,b)}function I(){c=this.checked,t(5,c)}function K(){h=this.checked,t(6,h)}function ne(){O=this.checked,t(7,O)}function Oe(){p=this.checked,t(8,p)}function oe(){g=this.checked,t(9,g)}const Ce=()=>i("close");return n.$$set=ue=>{"active"in ue&&t(0,r=ue.active),"stdFlags"in ue&&t(1,s=ue.stdFlags)},n.$$.update=()=>{n.$$.dirty&4&&y(o)},[r,s,o,l,a,c,h,O,p,g,b,i,$,k,W,X,R,T,E,M,z,B,I,K,ne,Oe,oe,Ce]}class v9 extends _i{constructor(e){super(),ki(this,e,y9,$9,di,{active:0,stdFlags:1,load:13,save:14,getSolvingConfiguration:15,getCompilationConfiguration:16})}get load(){return this.$$.ctx[13]}get save(){return this.$$.ctx[14]}get getSolvingConfiguration(){return this.$$.ctx[15]}get getCompilationConfiguration(){return this.$$.ctx[16]}}function rb(n,e,t){const i=n.slice();return i[13]=e[t],i}const w9=n=>({item:n&2}),sb=n=>({item:n[13]}),Q9=n=>({item:n&4}),lb=n=>({item:n[2]});function ob(n){let e;const t=n[8].selected,i=Fi(t,n,n[7],lb),r=i||k9(n);return{c(){r&&r.c()},m(s,l){r&&r.m(s,l),e=!0},p(s,l){i?i.p&&(!e||l&132)&&Hi(i,t,s,s[7],e?Gi(t,s[7],l,Q9):Ki(s[7]),lb):r&&r.p&&(!e||l&4)&&r.p(s,e?l:-1)},i(s){e||(D(r,s),e=!0)},o(s){L(r,s),e=!1},d(s){r&&r.d(s)}}}function k9(n){let e=n[2].label+"",t;return{c(){t=Se(e)},m(i,r){U(i,t,r)},p(i,r){r&4&&e!==(e=i[2].label+"")&&Fe(t,e)},d(i){i&&A(t)}}}function _9(n){let e=n[13].label+"",t;return{c(){t=Se(e)},m(i,r){U(i,t,r)},p(i,r){r&2&&e!==(e=i[13].label+"")&&Fe(t,e)},d(i){i&&A(t)}}}function ab(n){let e,t,i,r,s;const l=n[8].item,o=Fi(l,n,n[7],sb),a=o||_9(n);function c(){return n[10](n[13])}return{c(){e=P("a"),a&&a.c(),t=N(),v(e,"href","javascript:void(0);"),v(e,"class","dropdown-item"),ce(e,"is-active",n[2]===n[13])},m(h,O){U(h,e,O),a&&a.m(e,null),Q(e,t),i=!0,r||(s=le(e,"click",c),r=!0)},p(h,O){n=h,o?o.p&&(!i||O&130)&&Hi(o,l,n,n[7],i?Gi(l,n[7],O,w9):Ki(n[7]),sb):a&&a.p&&(!i||O&2)&&a.p(n,i?O:-1),(!i||O&6)&&ce(e,"is-active",n[2]===n[13])},i(h){i||(D(a,h),i=!0)},o(h){L(a,h),i=!1},d(h){h&&A(e),a&&a.d(h),r=!1,s()}}}function P9(n){let e,t,i,r,s,l,o,a,c,h,O,p,g,b,y=n[2]&&ob(n);a=new Ct({props:{icon:_3}});let $=at(n[1]),k=[];for(let X=0;X<$.length;X+=1)k[X]=ab(rb(n,$,X));const W=X=>L(k[X],1,1,()=>{k[X]=null});return{c(){e=N(),t=P("div"),i=P("div"),r=P("button"),s=P("span"),y&&y.c(),l=N(),o=P("span"),qe(a.$$.fragment),c=N(),h=P("div"),O=P("div");for(let X=0;X{y=null}),Je()),(!p||R&8)&&(r.disabled=X[3]),R&166){$=at(X[1]);let T;for(T=0;T<$.length;T+=1){const E=rb(X,$,T);k[T]?(k[T].p(E,R),D(k[T],1)):(k[T]=ab(E),k[T].c(),D(k[T],1),k[T].m(O,null))}for(Ke(),T=$.length;Tt(0,a=!a),b=$=>O($);function y($){Yt[$?"unshift":"push"](()=>{h=$,t(4,h)})}return n.$$set=$=>{"items"in $&&t(1,l=$.items),"currentItem"in $&&t(2,o=$.currentItem),"active"in $&&t(0,a=$.active),"disabled"in $&&t(3,c=$.disabled),"$$scope"in $&&t(7,r=$.$$scope)},[a,l,o,c,h,O,p,r,i,g,b,y]}class W9 extends _i{constructor(e){super(),ki(this,e,x9,P9,di,{items:1,currentItem:2,active:0,disabled:3})}}const Jw=Le.define({map:(n,e)=>({from:e.mapPos(n.from),to:e.mapPos(n.to),msg:n.msg,type:n.type})}),eQ=Le.define(),fb=hi.define({create(){return Re.none},update(n,e){n=n.map(e.changes);for(const t of e.effects)t.is(eQ)&&(n=Re.none),t.is(Jw)&&(n=n.update({add:[Re.mark({class:`cm-mzn-underline-${t.value.type}`,attributes:{title:t.value.msg}}).range(t.value.from,t.value.to)]}));return n},provide:n=>ge.decorations.from(n)});function Sd(n,e,t){let i,r=1,s=1;for(i=0;i=n&&s>=e)return i;s++,t[i]===` +`&&(r++,s=1)}return i}function C9(n,e,t){const i=e.map(r=>Jw.of({from:Sd(r.location.firstLine,r.location.firstColumn,n),to:Sd(r.location.lastLine,r.location.lastColumn,n)+1,msg:`${r.type==="error"?"Error":"Warning"}: ${r.what}: ${r.message}`,type:r.type}));t.state.field(fb,!1)||i.push(Le.appendConfig.of([fb])),t.dispatch({effects:[eQ.of(null),...i]})}const pl=[];function T9(n,e=we){let t;const i=new Set;function r(o){if(di(n,o)&&(n=o,t)){const a=!pl.length;for(const c of i)c[1](),pl.push(c,n);if(a){for(let c=0;c{i.delete(c),i.size===0&&t&&(t(),t=null)}}return{set:r,update:s,subscribe:l}}const tQ=n=>{const e=window.matchMedia(n);return T9(e.matches,t=>{const i=()=>t(window.matchMedia(n).matches);return e.addEventListener("change",i),()=>e.removeEventListener("change",i)})},Z9=tQ("(prefers-color-scheme: dark)"),R9=tQ("(max-width: 768px)"),X9=n=>({}),cb=n=>({}),A9=n=>({}),ub=n=>({}),Y9=n=>({}),hb=n=>({}),U9=n=>({}),Ob=n=>({});function db(n,e,t){const i=n.slice();return i[154]=e[t],i[156]=t,i}const E9=n=>({}),pb=n=>({});function gb(n,e,t){const i=n.slice();return i[154]=e[t],i[156]=t,i}const z9=n=>({}),mb=n=>({}),M9=n=>({}),Sb=n=>({});function V9(n){let e,t,i,r,s,l,o,a,c;return s=new Ct({props:{icon:x3}}),{c(){e=P("button"),t=P("span"),t.textContent="Run",i=N(),r=P("span"),qe(s.$$.fragment),v(r,"class","icon"),v(e,"class","button is-primary"),v(e,"title","Run the current file"),e.disabled=l=!n[50]},m(h,O){U(h,e,O),Q(e,t),Q(e,i),Q(e,r),Ve(s,r,null),o=!0,a||(c=le(e,"click",n[62]),a=!0)},p(h,O){(!o||O[1]&524288&&l!==(l=!h[50]))&&(e.disabled=l)},i(h){o||(D(s.$$.fragment,h),o=!0)},o(h){L(s.$$.fragment,h),o=!1},d(h){h&&A(e),De(s),a=!1,c()}}}function D9(n){let e,t,i,r,s,l,o,a;return s=new Ct({props:{icon:k3}}),{c(){e=P("button"),t=P("span"),t.textContent="Stop",i=N(),r=P("span"),qe(s.$$.fragment),v(r,"class","icon"),v(e,"class","button is-danger"),v(e,"title","Cancel solving")},m(c,h){U(c,e,h),Q(e,t),Q(e,i),Q(e,r),Ve(s,r,null),l=!0,o||(a=le(e,"click",n[64]),o=!0)},p:we,i(c){l||(D(s.$$.fragment,c),l=!0)},o(c){L(s.$$.fragment,c),l=!1},d(c){c&&A(e),De(s),o=!1,a()}}}function bb(n){let e,t,i,r,s,l;return{c(){e=P("div"),t=P("button"),i=P("span"),i.textContent="Compile",v(t,"class","button"),v(t,"title","Compile the current file and show the resultant FlatZinc"),t.disabled=r=n[47]||!n[49],v(e,"class","control")},m(o,a){U(o,e,a),Q(e,t),Q(t,i),s||(l=le(t,"click",n[63]),s=!0)},p(o,a){a[1]&327680&&r!==(r=o[47]||!o[49])&&(t.disabled=r)},d(o){o&&A(e),s=!1,l()}}}function $b(n){let e,t,i;return t=new W9({props:{items:n[52],currentItem:n[0]?n[19].edge:n[19].latest,disabled:n[47],$$slots:{item:[q9,({item:r})=>({158:r}),({item:r})=>[0,0,0,0,0,r?8:0]]},$$scope:{ctx:n}}}),t.$on("selectItem",n[71]),{c(){e=P("div"),qe(t.$$.fragment),v(e,"class","control")},m(r,s){U(r,e,s),Ve(t,e,null),i=!0},p(r,s){const l={};s[1]&2097152&&(l.items=r[52]),s[0]&524289&&(l.currentItem=r[0]?r[19].edge:r[19].latest),s[1]&65536&&(l.disabled=r[47]),s[4]&2048|s[5]&8&&(l.$$scope={dirty:s,ctx:r}),t.$set(l)},i(r){i||(D(t.$$.fragment,r),i=!0)},o(r){L(t.$$.fragment,r),i=!1},d(r){r&&A(e),De(t)}}}function q9(n){let e,t=n[158].label+"",i,r,s=n[158].detail+"",l,o;return{c(){e=P("span"),i=Se(t),r=Se(" ("),l=Se(s),o=Se(")"),v(e,"slot","item")},m(a,c){U(a,e,c),Q(e,i),Q(e,r),Q(e,l),Q(e,o)},p(a,c){c[5]&8&&t!==(t=a[158].label+"")&&Fe(i,t),c[5]&8&&s!==(s=a[158].detail+"")&&Fe(l,s)},d(a){a&&A(e)}}}function yb(n){let e,t,i,r,s,l=at(n[24]),o=[];for(let a=0;an[91].call(i)),v(t,"class","select is-fullwidth"),v(e,"class","control is-expanded")},m(a,c){U(a,e,c),Q(e,t),Q(t,i);for(let h=0;hSolver:',r=N(),s=P("div"),l=P("div"),o=P("select");for(let y=0;yn[92].call(o)),v(l,"class","select is-fullwidth"),v(s,"class","control is-expanded"),v(t,"class","field has-addons"),v(e,"class","navbar-item is-hidden-mobile")},m(y,$){U(y,e,$),Q(e,t),Q(t,i),Q(t,r),Q(t,s),Q(s,l),Q(l,o);for(let k=0;k{b=null}),Je())},i(y){c||(D(b),c=!0)},o(y){L(b),c=!1},d(y){y&&A(e),pi(g,y),b&&b.d(),h=!1,O()}}}function Qb(n){let e,t=n[154].name+"",i,r,s=n[154].version+"",l,o;return{c(){e=P("option"),i=Se(t),r=N(),l=Se(s),o=N(),e.__value=n[156],ni(e,e.__value)},m(a,c){U(a,e,c),Q(e,i),Q(e,r),Q(e,l),Q(e,o)},p(a,c){c[0]&16777216&&t!==(t=a[154].name+"")&&Fe(i,t),c[0]&16777216&&s!==(s=a[154].version+"")&&Fe(l,s)},d(a){a&&A(e)}}}function kb(n){let e,t,i,r,s,l,o;return r=new Ct({props:{icon:Zy}}),{c(){e=P("div"),t=P("button"),i=P("span"),qe(r.$$.fragment),v(i,"class","icon"),v(t,"class","button is-primary"),v(e,"class","control")},m(a,c){U(a,e,c),Q(e,t),Q(t,i),Ve(r,i,null),s=!0,l||(o=le(t,"click",n[55]),l=!0)},p:we,i(a){s||(D(r.$$.fragment,a),s=!0)},o(a){L(r.$$.fragment,a),s=!1},d(a){a&&A(e),De(r),l=!1,o()}}}function I9(n){let e,t,i,r,s,l,o=n[10]&&_b(n),a=n[11]&&Pb(n),c=n[12]&&xb(n);const h=n[90]["navbar-share-buttons"],O=Fi(h,n,n[135],ub);return{c(){e=P("div"),t=P("div"),o&&o.c(),i=N(),a&&a.c(),r=N(),c&&c.c(),s=N(),O&&O.c(),v(t,"class","field has-addons"),v(e,"class","navbar-item")},m(p,g){U(p,e,g),Q(e,t),o&&o.m(t,null),Q(t,i),a&&a.m(t,null),Q(t,r),c&&c.m(t,null),Q(t,s),O&&O.m(t,null),l=!0},p(p,g){p[10]?o?(o.p(p,g),g[0]&1024&&D(o,1)):(o=_b(p),o.c(),D(o,1),o.m(t,i)):o&&(Ke(),L(o,1,1,()=>{o=null}),Je()),p[11]?a?(a.p(p,g),g[0]&2048&&D(a,1)):(a=Pb(p),a.c(),D(a,1),a.m(t,r)):a&&(Ke(),L(a,1,1,()=>{a=null}),Je()),p[12]?c?(c.p(p,g),g[0]&4096&&D(c,1)):(c=xb(p),c.c(),D(c,1),c.m(t,s)):c&&(Ke(),L(c,1,1,()=>{c=null}),Je()),O&&O.p&&(!l||g[4]&2048)&&Hi(O,h,p,p[135],l?Gi(h,p[135],g,A9):Ki(p[135]),ub)},i(p){l||(D(o),D(a),D(c),D(O,p),l=!0)},o(p){L(o),L(a),L(c),L(O,p),l=!1},d(p){p&&A(e),o&&o.d(),a&&a.d(),c&&c.d(),O&&O.d(p)}}}function N9(n){let e,t,i,r,s,l,o=n[8]&&!n[47]&&n[49]&&Wb(n),a=n[9]&&n[5]&&n[24].length>0&&Cb(n),c=n[4]&&!n[47]&&Tb(n),h=n[10]&&n[18]===0&&Zb(n),O=n[12]&&n[18]===0&&Rb(n);return{c(){o&&o.c(),e=N(),a&&a.c(),t=N(),c&&c.c(),i=N(),h&&h.c(),r=N(),O&&O.c(),s=Ht()},m(p,g){o&&o.m(p,g),U(p,e,g),a&&a.m(p,g),U(p,t,g),c&&c.m(p,g),U(p,i,g),h&&h.m(p,g),U(p,r,g),O&&O.m(p,g),U(p,s,g),l=!0},p(p,g){p[8]&&!p[47]&&p[49]?o?(o.p(p,g),g[0]&256|g[1]&327680&&D(o,1)):(o=Wb(p),o.c(),D(o,1),o.m(e.parentNode,e)):o&&(Ke(),L(o,1,1,()=>{o=null}),Je()),p[9]&&p[5]&&p[24].length>0?a?(a.p(p,g),g[0]&16777760&&D(a,1)):(a=Cb(p),a.c(),D(a,1),a.m(t.parentNode,t)):a&&(Ke(),L(a,1,1,()=>{a=null}),Je()),p[4]&&!p[47]?c?(c.p(p,g),g[0]&16|g[1]&65536&&D(c,1)):(c=Tb(p),c.c(),D(c,1),c.m(i.parentNode,i)):c&&(Ke(),L(c,1,1,()=>{c=null}),Je()),p[10]&&p[18]===0?h?(h.p(p,g),g[0]&263168&&D(h,1)):(h=Zb(p),h.c(),D(h,1),h.m(r.parentNode,r)):h&&(Ke(),L(h,1,1,()=>{h=null}),Je()),p[12]&&p[18]===0?O?(O.p(p,g),g[0]&266240&&D(O,1)):(O=Rb(p),O.c(),D(O,1),O.m(s.parentNode,s)):O&&(Ke(),L(O,1,1,()=>{O=null}),Je())},i(p){l||(D(o),D(a),D(c),D(h),D(O),l=!0)},o(p){L(o),L(a),L(c),L(h),L(O),l=!1},d(p){p&&(A(e),A(t),A(i),A(r),A(s)),o&&o.d(p),a&&a.d(p),c&&c.d(p),h&&h.d(p),O&&O.d(p)}}}function _b(n){let e,t,i,r,s,l,o,a;return r=new Ct({props:{icon:Wy}}),{c(){e=P("div"),t=P("button"),i=P("span"),qe(r.$$.fragment),v(i,"class","icon"),v(t,"class","button is-primary"),v(t,"title","Share"),t.disabled=s=n[18]!==0,v(e,"class","control")},m(c,h){U(c,e,h),Q(e,t),Q(t,i),Ve(r,i,null),l=!0,o||(a=le(t,"click",n[99]),o=!0)},p(c,h){(!l||h[0]&262144&&s!==(s=c[18]!==0))&&(t.disabled=s)},i(c){l||(D(r.$$.fragment,c),l=!0)},o(c){L(r.$$.fragment,c),l=!1},d(c){c&&A(e),De(r),o=!1,a()}}}function Pb(n){let e,t,i,r,s,l,o,a;return r=new Ct({props:{icon:Q3}}),{c(){e=P("div"),t=P("button"),i=P("span"),qe(r.$$.fragment),v(i,"class","icon"),v(t,"class","button"),v(t,"title","Download project"),t.disabled=s=n[37]||n[18]!==0,v(e,"class","control")},m(c,h){U(c,e,h),Q(e,t),Q(t,i),Ve(r,i,null),l=!0,o||(a=le(t,"click",n[100]),o=!0)},p(c,h){(!l||h[0]&262144|h[1]&64&&s!==(s=c[37]||c[18]!==0))&&(t.disabled=s)},i(c){l||(D(r.$$.fragment,c),l=!0)},o(c){L(r.$$.fragment,c),l=!1},d(c){c&&A(e),De(r),o=!1,a()}}}function xb(n){let e,t,i,r,s,l,o,a;return r=new Ct({props:{icon:Cy}}),{c(){e=P("div"),t=P("button"),i=P("span"),qe(r.$$.fragment),v(i,"class","icon"),v(t,"class","button is-primary"),v(t,"title","Open in playground"),t.disabled=s=n[18]!==0,v(e,"class","control")},m(c,h){U(c,e,h),Q(e,t),Q(t,i),Ve(r,i,null),l=!0,o||(a=le(t,"click",n[68]),o=!0)},p(c,h){(!l||h[0]&262144&&s!==(s=c[18]!==0))&&(t.disabled=s)},i(c){l||(D(r.$$.fragment,c),l=!0)},o(c){L(r.$$.fragment,c),l=!1},d(c){c&&A(e),De(r),o=!1,a()}}}function Wb(n){let e,t,i,r,s,l,o,a;return i=new Ct({props:{icon:W3}}),{c(){e=P("a"),t=P("span"),qe(i.$$.fragment),r=N(),s=P("span"),s.textContent="Compile current file",v(t,"class","icon svelte-1llogi3"),v(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),v(e,"href","javascript:void(0);")},m(c,h){U(c,e,h),Q(e,t),Ve(i,t,null),Q(e,r),Q(e,s),l=!0,o||(a=le(e,"click",n[94]),o=!0)},p:we,i(c){l||(D(i.$$.fragment,c),l=!0)},o(c){L(i.$$.fragment,c),l=!1},d(c){c&&A(e),De(i),o=!1,a()}}}function Cb(n){let e,t,i,r,s,l,o,a;return i=new Ct({props:{icon:Zy}}),{c(){e=P("a"),t=P("span"),qe(i.$$.fragment),r=N(),s=P("span"),s.textContent="Solver configuration",v(t,"class","icon svelte-1llogi3"),v(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),v(e,"href","javascript:void(0);")},m(c,h){U(c,e,h),Q(e,t),Ve(i,t,null),Q(e,r),Q(e,s),l=!0,o||(a=le(e,"click",n[95]),o=!0)},p:we,i(c){l||(D(i.$$.fragment,c),l=!0)},o(c){L(i.$$.fragment,c),l=!1},d(c){c&&A(e),De(i),o=!1,a()}}}function Tb(n){let e,t,i,r,s,l,o=n[0]?"latest":"edge",a,c,h,O,p;return i=new Ct({props:{icon:b3}}),{c(){e=P("a"),t=P("span"),qe(i.$$.fragment),r=N(),s=P("span"),l=Se("Switch to the "),a=Se(o),c=Se(" version of MiniZinc"),v(t,"class","icon svelte-1llogi3"),v(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),v(e,"href","javascript:void(0);")},m(g,b){U(g,e,b),Q(e,t),Ve(i,t,null),Q(e,r),Q(e,s),Q(s,l),Q(s,a),Q(s,c),h=!0,O||(p=le(e,"click",n[96]),O=!0)},p(g,b){(!h||b[0]&1)&&o!==(o=g[0]?"latest":"edge")&&Fe(a,o)},i(g){h||(D(i.$$.fragment,g),h=!0)},o(g){L(i.$$.fragment,g),h=!1},d(g){g&&A(e),De(i),O=!1,p()}}}function Zb(n){let e,t,i,r,s,l,o,a;return i=new Ct({props:{icon:Wy}}),{c(){e=P("a"),t=P("span"),qe(i.$$.fragment),r=N(),s=P("span"),s.textContent="Share this project",v(t,"class","icon svelte-1llogi3"),v(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),v(e,"href","javascript:void(0);")},m(c,h){U(c,e,h),Q(e,t),Ve(i,t,null),Q(e,r),Q(e,s),l=!0,o||(a=le(e,"click",n[97]),o=!0)},p:we,i(c){l||(D(i.$$.fragment,c),l=!0)},o(c){L(i.$$.fragment,c),l=!1},d(c){c&&A(e),De(i),o=!1,a()}}}function Rb(n){let e,t,i,r,s,l,o,a;return i=new Ct({props:{icon:Cy}}),{c(){e=P("a"),t=P("span"),qe(i.$$.fragment),r=N(),s=P("span"),s.textContent="Open in MiniZinc Playground",v(t,"class","icon svelte-1llogi3"),v(e,"class","navbar-item mobile-menu-item svelte-1llogi3"),v(e,"href","javascript:void(0);")},m(c,h){U(c,e,h),Q(e,t),Ve(i,t,null),Q(e,r),Q(e,s),l=!0,o||(a=le(e,"click",n[98]),o=!0)},p:we,i(c){l||(D(i.$$.fragment,c),l=!0)},o(c){L(i.$$.fragment,c),l=!1},d(c){c&&A(e),De(i),o=!1,a()}}}function Xb(n){let e,t,i;return t=new E3({props:{files:n[20],currentIndex:n[21],readonly:!n[7]}}),t.$on("selectTab",n[108]),t.$on("reorder",n[109]),t.$on("newFile",n[110]),t.$on("rename",n[58]),t.$on("close",n[111]),t.$on("manageFiles",n[112]),{c(){e=P("div"),qe(t.$$.fragment),v(e,"class","top svelte-1llogi3")},m(r,s){U(r,e,s),Ve(t,e,null),i=!0},p(r,s){const l={};s[0]&1048576&&(l.files=r[20]),s[0]&2097152&&(l.currentIndex=r[21]),s[0]&128&&(l.readonly=!r[7]),t.$set(l)},i(r){i||(D(t.$$.fragment,r),i=!0)},o(r){L(t.$$.fragment,r),i=!1},d(r){r&&A(e),De(t)}}}function Ab(n){let e,t,i={state:n[51]};return e=new t3({props:i}),n[113](e),{c(){qe(e.$$.fragment)},m(r,s){Ve(e,r,s),t=!0},p(r,s){const l={};s[1]&1048576&&(l.state=r[51]),e.$set(l)},i(r){t||(D(e.$$.fragment,r),t=!0)},o(r){L(e.$$.fragment,r),t=!1},d(r){n[113](null),De(e,r)}}}function L9(n){let e,t,i,r,s=n[6]&&Xb(n),l=n[51]&&Ab(n);return{c(){e=P("div"),s&&s.c(),t=N(),i=P("div"),l&&l.c(),v(i,"class","grow svelte-1llogi3"),v(e,"class","panel stack svelte-1llogi3"),v(e,"slot","panelA")},m(o,a){U(o,e,a),s&&s.m(e,null),Q(e,t),Q(e,i),l&&l.m(i,null),r=!0},p(o,a){o[6]?s?(s.p(o,a),a[0]&64&&D(s,1)):(s=Xb(o),s.c(),D(s,1),s.m(e,t)):s&&(Ke(),L(s,1,1,()=>{s=null}),Je()),o[51]?l?(l.p(o,a),a[1]&1048576&&D(l,1)):(l=Ab(o),l.c(),D(l,1),l.m(i,null)):l&&(Ke(),L(l,1,1,()=>{l=null}),Je())},i(o){r||(D(s),D(l),r=!0)},o(o){L(s),L(l),r=!1},d(o){o&&A(e),s&&s.d(),l&&l.d()}}}function Yb(n){let e,t,i,r,s,l,o,a,c,h,O,p,g=n[13]&&Ub(n);return{c(){e=P("div"),t=P("div"),i=P("ul"),r=P("li"),s=P("a"),s.textContent="Output",l=N(),o=P("li"),a=P("a"),a.textContent="Visualisation",c=N(),g&&g.c(),v(s,"href","javascript:void(0);"),ce(r,"is-active",!n[43]),v(a,"href","javascript:void(0);"),ce(o,"is-active",n[43]),v(t,"class","tabs is-boxed"),v(e,"class","top svelte-1llogi3")},m(b,y){U(b,e,y),Q(e,t),Q(t,i),Q(i,r),Q(r,s),Q(i,l),Q(i,o),Q(o,a),Q(i,c),g&&g.m(i,null),h=!0,O||(p=[le(s,"click",n[101]),le(a,"click",n[102])],O=!0)},p(b,y){(!h||y[1]&4096)&&ce(r,"is-active",!b[43]),(!h||y[1]&4096)&&ce(o,"is-active",b[43]),b[13]?g?(g.p(b,y),y[0]&8192&&D(g,1)):(g=Ub(b),g.c(),D(g,1),g.m(i,null)):g&&(Ke(),L(g,1,1,()=>{g=null}),Je())},i(b){h||(D(g),h=!0)},o(b){L(g),h=!1},d(b){b&&A(e),g&&g.d(),O=!1,Gt(p)}}}function Ub(n){let e,t,i,r,s,l,o;return r=new Ct({props:{icon:Ay}}),{c(){e=P("li"),t=P("button"),i=P("span"),qe(r.$$.fragment),v(i,"class","icon"),v(t,"class","button is-small"),v(t,"title","Switch orientation"),v(e,"class","tab-end svelte-1llogi3")},m(a,c){U(a,e,c),Q(e,t),Q(t,i),Ve(r,i,null),s=!0,l||(o=le(t,"click",n[70]),l=!0)},p:we,i(a){s||(D(r.$$.fragment,a),s=!0)},o(a){L(r.$$.fragment,a),s=!1},d(a){a&&A(e),De(r),l=!1,o()}}}function Eb(n){let e,t,i,r,s,l;return i=new Ct({props:{icon:Ay}}),{c(){e=P("button"),t=P("span"),qe(i.$$.fragment),v(t,"class","icon"),v(e,"class","button is-small"),v(e,"title","Switch orientation")},m(o,a){U(o,e,a),Q(e,t),Ve(i,t,null),r=!0,s||(l=le(e,"click",n[70]),s=!0)},p:we,i(o){r||(D(i.$$.fragment,o),r=!0)},o(o){L(i.$$.fragment,o),r=!1},d(o){o&&A(e),De(i),s=!1,l()}}}function B9(n){let e,t,i=n[13]&&!n[42]&&Eb(n);return{c(){e=P("p"),i&&i.c(),v(e,"class","control"),v(e,"slot","before-right-controls")},m(r,s){U(r,e,s),i&&i.m(e,null),t=!0},p(r,s){r[13]&&!r[42]?i?(i.p(r,s),s[0]&8192|s[1]&2048&&D(i,1)):(i=Eb(r),i.c(),D(i,1),i.m(e,null)):i&&(Ke(),L(i,1,1,()=>{i=null}),Je())},i(r){t||(D(i),t=!0)},o(r){L(i),t=!1},d(r){r&&A(e),i&&i.d()}}}function j9(n){let e,t,i,r,s,l,o,a,c,h,O=n[42]&&Yb(n),p={files:n[20]};s=new I8({props:p}),n[103](s),s.$on("solve",n[104]);function g(y){n[105](y)}let b={output:n[33],showClearOutput:n[14],showAutoClearOutput:n[15],showSectionToggles:n[16],showRightControls:n[17],isTab:n[42],$$slots:{"before-right-controls":[B9]},$$scope:{ctx:n}};return n[1]!==void 0&&(b.autoClearOutput=n[1]),a=new z8({props:b}),Yt.push(()=>Vo(a,"autoClearOutput",g)),a.$on("clear",n[106]),a.$on("goto",n[107]),{c(){e=P("div"),O&&O.c(),t=N(),i=P("div"),r=P("div"),qe(s.$$.fragment),l=N(),o=P("div"),qe(a.$$.fragment),v(r,"class","tab-window svelte-1llogi3"),ce(r,"visible",n[43]),v(o,"class","tab-window svelte-1llogi3"),ce(o,"visible",!n[42]||!n[43]),v(i,"class","grow svelte-1llogi3"),v(e,"class","panel stack svelte-1llogi3"),v(e,"slot","panelB")},m(y,$){U(y,e,$),O&&O.m(e,null),Q(e,t),Q(e,i),Q(i,r),Ve(s,r,null),Q(i,l),Q(i,o),Ve(a,o,null),h=!0},p(y,$){y[42]?O?(O.p(y,$),$[1]&2048&&D(O,1)):(O=Yb(y),O.c(),D(O,1),O.m(e,t)):O&&(Ke(),L(O,1,1,()=>{O=null}),Je());const k={};$[0]&1048576&&(k.files=y[20]),s.$set(k),(!h||$[1]&4096)&&ce(r,"visible",y[43]);const W={};$[1]&4&&(W.output=y[33]),$[0]&16384&&(W.showClearOutput=y[14]),$[0]&32768&&(W.showAutoClearOutput=y[15]),$[0]&65536&&(W.showSectionToggles=y[16]),$[0]&131072&&(W.showRightControls=y[17]),$[1]&2048&&(W.isTab=y[42]),$[0]&8192|$[1]&2048|$[4]&2048&&(W.$$scope={dirty:$,ctx:y}),!c&&$[0]&2&&(c=!0,W.autoClearOutput=y[1],Mo(()=>c=!1)),a.$set(W),(!h||$[1]&6144)&&ce(o,"visible",!y[42]||!y[43])},i(y){h||(D(O),D(s.$$.fragment,y),D(a.$$.fragment,y),h=!0)},o(y){L(O),L(s.$$.fragment,y),L(a.$$.fragment,y),h=!1},d(y){y&&A(e),O&&O.d(),n[103](null),De(s),De(a)}}}function F9(n){let e,t,i,r=n[20][n[29]].name+"",s,l,o,a;return{c(){e=P("p"),t=Se("Are you sure you wish to delete "),i=P("code"),s=Se(r),l=Se("?"),o=N(),a=P("p"),a.textContent="This cannot be undone."},m(c,h){U(c,e,h),Q(e,t),Q(e,i),Q(i,s),Q(e,l),U(c,o,h),U(c,a,h)},p(c,h){h[0]&537919488&&r!==(r=c[20][c[29]].name+"")&&Fe(s,r)},d(c){c&&(A(e),A(o),A(a))}}}function G9(n){let e,t,i,r,s,l;return{c(){e=P("div"),t=P("button"),t.textContent="Delete",i=N(),r=P("button"),r.textContent="Cancel",v(t,"class","button is-danger"),v(r,"type","button"),v(r,"class","button"),v(e,"slot","footer")},m(o,a){U(o,e,a),Q(e,t),Q(e,i),Q(e,r),s||(l=[le(t,"click",n[124]),le(r,"click",n[125])],s=!0)},p:we,d(o){o&&A(e),s=!1,Gt(l)}}}function H9(n){let e,t,i,r,s,l,o,a,c,h,O;return a=new Ct({props:{icon:$3}}),{c(){e=P("div"),t=P("p"),i=P("input"),r=N(),s=P("p"),l=P("button"),o=P("span"),qe(a.$$.fragment),v(i,"class","input"),v(i,"type","text"),i.value=n[39],i.readOnly=!0,v(t,"class","control is-expanded"),v(o,"class","icon"),v(l,"type","button"),v(l,"class","button"),ce(l,"is-primary",!n[40]),ce(l,"is-success",n[40]),v(s,"class","control"),v(e,"class","field has-addons")},m(p,g){U(p,e,g),Q(e,t),Q(t,i),n[132](i),Q(e,r),Q(e,s),Q(s,l),Q(l,o),Ve(a,o,null),c=!0,h||(O=[le(i,"click",n[133]),le(l,"click",n[67])],h=!0)},p(p,g){(!c||g[1]&256&&i.value!==p[39])&&(i.value=p[39]),(!c||g[1]&512)&&ce(l,"is-primary",!p[40]),(!c||g[1]&512)&&ce(l,"is-success",p[40])},i(p){c||(D(a.$$.fragment,p),c=!0)},o(p){L(a.$$.fragment,p),c=!1},d(p){p&&A(e),n[132](null),De(a),h=!1,Gt(O)}}}function K9(n){let e,t,i,r;return{c(){e=P("div"),t=P("button"),t.textContent="Done",v(t,"class","button is-primary"),v(e,"slot","footer")},m(s,l){U(s,e,l),Q(e,t),i||(r=le(t,"click",n[131]),i=!0)},p:we,d(s){s&&A(e),i=!1,r()}}}function J9(n){let e,t,i,r,s,l,o,a,c,h,O,p,g,b,y,$,k,W,X,R,T,E,M,z,B,I,K,ne,Oe,oe,Ce,ue,fe,Xe,Ie,Qe,xe,it,Ut,Qt,dt,Et,$e,se,F,he,ie,ft,et,Ne,rt,zt,pt,$t,En,Rt;const Ye=n[90]["navbar-before-run-buttons"],ae=Fi(Ye,n,n[135],Sb),St=[D9,V9],Ze=[];function st(H,ke){return H[47]?0:1}h=st(n),O=Ze[h]=St[h](n);let Dt=!n[53]&&n[8]&&bb(n),gt=!n[53]&&n[4]&&$b(n);const qi=n[90]["navbar-run-buttons"],si=Fi(qi,n,n[135],mb);let Lt=n[53]&&n[5]&&n[24].length>0&&yb(n);const mn=n[90]["navbar-after-run-buttons"],_t=Fi(mn,n,n[135],pb);let Ue=n[5]&&n[24].length>0&&wb(n);const Sn=n[90]["navbar-after-solver-selector"],ii=Fi(Sn,n,n[135],Ob),Bt=n[90]["navbar-before-share-buttons"],mi=Fi(Bt,n,n[135],hb),er=[N9,I9],tn=[];function Yi(H,ke){return H[53]?0:1}ue=Yi(n),fe=tn[ue]=er[ue](n);const vr=n[90]["navbar-after-share-buttons"],Si=Fi(vr,n,n[135],cb);function Fl(H){n[114](H)}let _s={direction:n[2],showPanels:n[48],$$slots:{panelB:[j9],panelA:[L9]},$$scope:{ctx:n}};n[3]!==void 0&&(_s.split=n[3]),it=new u3({props:_s}),Yt.push(()=>Vo(it,"split",Fl));let Fs={active:n[35],stdFlags:n[45]};return dt=new v9({props:Fs}),n[115](dt),dt.$on("close",n[116]),$e=new s9({props:{active:n[30],files:n[20]}}),$e.$on("close",n[117]),$e.$on("delete",n[118]),$e.$on("modifyFile",n[119]),$e.$on("newFile",n[120]),F=new K8({props:{active:n[28]}}),F.$on("cancel",n[121]),F.$on("new",n[122]),F.$on("open",n[123]),ie=new Ls({props:{active:n[29]!==null,title:"Delete file",$$slots:{footer:[G9],default:[F9]},$$scope:{ctx:n}}}),ie.$on("cancel",n[126]),et=new c9({props:{active:n[31],modelFiles:n[44]}}),et.$on("accept",n[127]),et.$on("cancel",n[128]),rt=new b9({props:{active:n[32],dataFiles:n[46],parameters:n[34]}}),rt.$on("accept",n[129]),rt.$on("cancel",n[130]),pt=new Ls({props:{active:n[39],title:"Share this project",$$slots:{footer:[K9],default:[H9]},$$scope:{ctx:n}}}),pt.$on("cancel",n[134]),{c(){e=P("div"),t=P("div"),i=P("div"),r=P("nav"),s=P("div"),ae&&ae.c(),l=N(),o=P("div"),a=P("div"),c=P("div"),O.c(),p=N(),Dt&&Dt.c(),g=N(),gt&>.c(),b=N(),si&&si.c(),y=N(),Lt&&Lt.c(),$=N(),_t&&_t.c(),k=N(),Ue&&Ue.c(),W=N(),ii&&ii.c(),X=N(),R=P("a"),T=P("span"),E=N(),M=P("span"),z=N(),B=P("span"),I=N(),K=P("div"),ne=P("div"),Oe=N(),oe=P("div"),mi&&mi.c(),Ce=N(),fe.c(),Xe=N(),Si&&Si.c(),Ie=N(),Qe=P("div"),xe=P("div"),qe(it.$$.fragment),Qt=N(),qe(dt.$$.fragment),Et=N(),qe($e.$$.fragment),se=N(),qe(F.$$.fragment),he=N(),qe(ie.$$.fragment),ft=N(),qe(et.$$.fragment),Ne=N(),qe(rt.$$.fragment),zt=N(),qe(pt.$$.fragment),v(c,"class","control"),v(a,"class","field navbar-run-buttons has-addons svelte-1llogi3"),v(o,"class","navbar-item is-expanded"),v(T,"aria-hidden","true"),v(M,"aria-hidden","true"),v(B,"aria-hidden","true"),v(R,"role","button"),v(R,"class","navbar-burger"),v(R,"aria-label","menu"),v(R,"aria-expanded",n[26]),ce(R,"is-active",n[26]),v(s,"class","navbar-brand"),v(ne,"class","navbar-start is-hidden-tablet"),v(oe,"class","navbar-end"),v(K,"class","navbar-menu"),ce(K,"is-active",n[26]),v(r,"class","navbar"),v(i,"class","top svelte-1llogi3"),v(xe,"class","left svelte-1llogi3"),v(Qe,"class","grow main-panel svelte-1llogi3"),v(t,"class","stack svelte-1llogi3"),v(e,"class","mzn-playground svelte-1llogi3"),ce(e,"is-dark",n[23])},m(H,ke){U(H,e,ke),Q(e,t),Q(t,i),Q(i,r),Q(r,s),ae&&ae.m(s,null),Q(s,l),Q(s,o),Q(o,a),Q(a,c),Ze[h].m(c,null),Q(a,p),Dt&&Dt.m(a,null),Q(a,g),gt&>.m(a,null),Q(a,b),si&&si.m(a,null),Q(a,y),Lt&&Lt.m(a,null),Q(s,$),_t&&_t.m(s,null),Q(s,k),Ue&&Ue.m(s,null),Q(s,W),ii&&ii.m(s,null),Q(s,X),Q(s,R),Q(R,T),Q(R,E),Q(R,M),Q(R,z),Q(R,B),Q(r,I),Q(r,K),Q(K,ne),Q(K,Oe),Q(K,oe),mi&&mi.m(oe,null),Q(oe,Ce),tn[ue].m(oe,null),Q(oe,Xe),Si&&Si.m(oe,null),Q(t,Ie),Q(t,Qe),Q(Qe,xe),Ve(it,xe,null),Q(Qe,Qt),Ve(dt,Qe,null),Q(e,Et),Ve($e,e,null),Q(e,se),Ve(F,e,null),Q(e,he),Ve(ie,e,null),Q(e,ft),Ve(et,e,null),Q(e,Ne),Ve(rt,e,null),Q(e,zt),Ve(pt,e,null),$t=!0,En||(Rt=le(R,"click",n[93]),En=!0)},p(H,ke){ae&&ae.p&&(!$t||ke[4]&2048)&&Hi(ae,Ye,H,H[135],$t?Gi(Ye,H[135],ke,M9):Ki(H[135]),Sb);let nn=h;h=st(H),h===nn?Ze[h].p(H,ke):(Ke(),L(Ze[nn],1,1,()=>{Ze[nn]=null}),Je(),O=Ze[h],O?O.p(H,ke):(O=Ze[h]=St[h](H),O.c()),D(O,1),O.m(c,null)),!H[53]&&H[8]?Dt?Dt.p(H,ke):(Dt=bb(H),Dt.c(),Dt.m(a,g)):Dt&&(Dt.d(1),Dt=null),!H[53]&&H[4]?gt?(gt.p(H,ke),ke[0]&16|ke[1]&4194304&&D(gt,1)):(gt=$b(H),gt.c(),D(gt,1),gt.m(a,b)):gt&&(Ke(),L(gt,1,1,()=>{gt=null}),Je()),si&&si.p&&(!$t||ke[4]&2048)&&Hi(si,qi,H,H[135],$t?Gi(qi,H[135],ke,z9):Ki(H[135]),mb),H[53]&&H[5]&&H[24].length>0?Lt?Lt.p(H,ke):(Lt=yb(H),Lt.c(),Lt.m(a,null)):Lt&&(Lt.d(1),Lt=null),_t&&_t.p&&(!$t||ke[4]&2048)&&Hi(_t,mn,H,H[135],$t?Gi(mn,H[135],ke,E9):Ki(H[135]),pb),H[5]&&H[24].length>0?Ue?(Ue.p(H,ke),ke[0]&16777248&&D(Ue,1)):(Ue=wb(H),Ue.c(),D(Ue,1),Ue.m(s,W)):Ue&&(Ke(),L(Ue,1,1,()=>{Ue=null}),Je()),ii&&ii.p&&(!$t||ke[4]&2048)&&Hi(ii,Sn,H,H[135],$t?Gi(Sn,H[135],ke,U9):Ki(H[135]),Ob),(!$t||ke[0]&67108864)&&v(R,"aria-expanded",H[26]),(!$t||ke[0]&67108864)&&ce(R,"is-active",H[26]),mi&&mi.p&&(!$t||ke[4]&2048)&&Hi(mi,Bt,H,H[135],$t?Gi(Bt,H[135],ke,Y9):Ki(H[135]),hb);let Nr=ue;ue=Yi(H),ue===Nr?tn[ue].p(H,ke):(Ke(),L(tn[Nr],1,1,()=>{tn[Nr]=null}),Je(),fe=tn[ue],fe?fe.p(H,ke):(fe=tn[ue]=er[ue](H),fe.c()),D(fe,1),fe.m(oe,Xe)),Si&&Si.p&&(!$t||ke[4]&2048)&&Hi(Si,vr,H,H[135],$t?Gi(vr,H[135],ke,X9):Ki(H[135]),cb),(!$t||ke[0]&67108864)&&ce(K,"is-active",H[26]);const wr={};ke[0]&4&&(wr.direction=H[2]),ke[1]&131072&&(wr.showPanels=H[48]),ke[0]&1916002498|ke[1]&1055748|ke[4]&2048&&(wr.$$scope={dirty:ke,ctx:H}),!Ut&&ke[0]&8&&(Ut=!0,wr.split=H[3],Mo(()=>Ut=!1)),it.$set(wr);const zn={};ke[1]&16&&(zn.active=H[35]),ke[1]&16384&&(zn.stdFlags=H[45]),dt.$set(zn);const Lr={};ke[0]&1073741824&&(Lr.active=H[30]),ke[0]&1048576&&(Lr.files=H[20]),$e.$set(Lr);const Qr={};ke[0]&268435456&&(Qr.active=H[28]),F.$set(Qr);const tr={};ke[0]&536870912&&(tr.active=H[29]!==null),ke[0]&537919488|ke[4]&2048&&(tr.$$scope={dirty:ke,ctx:H}),ie.$set(tr);const kt={};ke[1]&1&&(kt.active=H[31]),ke[1]&8192&&(kt.modelFiles=H[44]),et.$set(kt);const kr={};ke[1]&2&&(kr.active=H[32]),ke[1]&32768&&(kr.dataFiles=H[46]),ke[1]&8&&(kr.parameters=H[34]),rt.$set(kr);const Br={};ke[1]&256&&(Br.active=H[39]),ke[1]&896|ke[4]&2048&&(Br.$$scope={dirty:ke,ctx:H}),pt.$set(Br),(!$t||ke[0]&8388608)&&ce(e,"is-dark",H[23])},i(H){$t||(D(ae,H),D(O),D(gt),D(si,H),D(_t,H),D(Ue),D(ii,H),D(mi,H),D(fe),D(Si,H),D(it.$$.fragment,H),D(dt.$$.fragment,H),D($e.$$.fragment,H),D(F.$$.fragment,H),D(ie.$$.fragment,H),D(et.$$.fragment,H),D(rt.$$.fragment,H),D(pt.$$.fragment,H),$t=!0)},o(H){L(ae,H),L(O),L(gt),L(si,H),L(_t,H),L(Ue),L(ii,H),L(mi,H),L(fe),L(Si,H),L(it.$$.fragment,H),L(dt.$$.fragment,H),L($e.$$.fragment,H),L(F.$$.fragment,H),L(ie.$$.fragment,H),L(et.$$.fragment,H),L(rt.$$.fragment,H),L(pt.$$.fragment,H),$t=!1},d(H){H&&A(e),ae&&ae.d(H),Ze[h].d(),Dt&&Dt.d(),gt&>.d(),si&&si.d(H),Lt&&Lt.d(),_t&&_t.d(H),Ue&&Ue.d(),ii&&ii.d(H),mi&&mi.d(H),tn[ue].d(),Si&&Si.d(H),De(it),n[115](null),De(dt),De($e),De(F),De(ie),De(et),De(rt),De(pt),En=!1,Rt()}}}function zb(n,e){n.effects=n.effects?[...n.effects,e]:[e]}function e7(n,e,t){let i,r,s,l,o,a,c,h,O,p,g,b,y,$,k,W,X,R,T;Om(n,Z9,C=>t(89,R=C)),Om(n,R9,C=>t(53,T=C));let{$$slots:E={},$$scope:M}=e,{showVersionSwitcher:z=!0}=e,{showSolverDropdown:B=!0}=e,{edgeMiniZinc:I=!1}=e,{autoClearOutput:K=!1}=e,{showTabs:ne=!0}=e,{canEditTabs:Oe=!0}=e,{compilationEnabled:oe=!0}=e,{project:Ce}=e,{enabledSolvers:ue=null}=e,{canEditSolverSettings:fe=!0}=e,{showShareButton:Xe=!0}=e,{showDownloadButton:Ie=!0}=e,{externalPlaygroundURL:Qe=null}=e,{splitterDirection:xe="vertical"}=e,{splitterSize:it=75}=e,{canSwitchOrientation:Ut=!0}=e,{showClearOutput:Qt=!0}=e,{showAutoClearOutput:dt=!0}=e,{showOutputSectionToggles:Et=!0}=e,{showOutputRightControls:$e=!0}=e,{theme:se="auto"}=e,{hideOutputOnStartup:F=!0}=e,{autoFocus:he=!0}=e,ie=0,ft=[],et,Ne,rt={latest:{label:"Latest",detail:"stable"},edge:{label:"Edge",detail:"development"}};function zt(C){const de=I?YW:AW;if(Ne!==de){t(18,ie++,ie);const be=et;et=new Promise(async(_e,Ee)=>{be&&await be,Ne&&Ne.shutdown(),Ne=de,Ne.shutdown(),await Ne.init();const[Ge]=/version \d+\.\d+\.\d+(?:, build .*)?$/m.exec(await Ne.version()),lt=I?"edge":"latest";t(19,rt={...rt,[lt]:{...rt[lt],detail:Ge}}),t(81,ft=await Ne.solvers()),await jn(),t(18,ie--,ie),_e()})}return et}const pt=new Promise((C,de)=>{Gc(()=>{zt(),C()})});async function $t(C){t(0,I=C.minizincVersion==="edge"),await pt,t(20,ae=[]),Si(C.files,he),t(21,Ze=C.tab||0),await zt(),C.solverId?t(22,Bt=$.findIndex(de=>de.id===C.solverId)):t(22,Bt=$.findIndex(de=>de.extraInfo&&de.extraInfo.isDefault)||0),C.solverConfig?st.load(C.solverConfig):st.reset()}async function En(C){const de=ae.length;Si(C.files),C.tab!==void 0&&C.tab!==null&&C.tab>=0&&Yi(de+C.tab),C.solverId&&(await zt(),t(22,Bt=$.findIndex(be=>be.id===C.solverId)))}function Rt(){return ae.length>0}let Ye,ae=[],St=!1,Ze=0,st,Dt=!1,gt=null,qi=!1,si=!1,Lt=null,mn=!1,_t=[],Ue=null,Sn=[],ii={},Bt=-1;async function mi(C,de){if(await zt(),Bt<0||Bt>=$.length){const be=$.findIndex(_e=>_e.extraInfo&&_e.extraInfo.isDefault);be!==-1&&t(22,Bt=be)}}let er=!1;function tn(){t(35,er=!er)}async function Yi(C,de=!0){for(Ye&&Ze=0&&ae[C].hidden;)C--;C===-1&&(C=ae.findIndex(be=>!be.hidden)),t(21,Ze=C),await jn(),Ye&&h&&(de&&Ye.focus(),h.scrollTop!==void 0&&Ye.getView().requestMeasure({read(be){be.scrollDOM.scrollTo(h.scrollLeft,h.scrollTop)}}))}function vr(C){let de=`Untitled${C}`,be=2;for(;ae.find(_e=>_e.name===de);)de=`Untitled-${be++}${C}`;t(20,ae=[...ae,{name:de,state:ht.create({extensions:Jf(C,Hs,X)})}]),Yi(ae.length-1),t(28,Dt=!1)}function Si(C,de=!0){let be=[];for(const _e of C){const Ee=_e.name.endsWith(".mzc.mzn")?_e.name.length-8:_e.name.lastIndexOf("."),Ge=_e.name.substring(0,Ee).replaceAll(/[\/\\\.]/g,""),lt=_e.name.substring(Ee);let bi=`${Ge}${lt}`,Kt=2;for(;ae.find(so=>so.name===bi);)bi=`${Ge}-${Kt++}${lt}`;const li=Jf(lt,Hs,X,_e.readOnly);be.push({..._e,hidden:_e.hidden||lt===".mzc",name:bi,state:ht.create({doc:_e.contents,extensions:li,selection:{anchor:_e.anchor||0}})})}t(20,ae=[...ae,...be]),Yi(ae.length-1,de),t(28,Dt=!1)}function Fl(C){const{index:de,name:be,suffix:_e}=C.detail;let Ee=be,Ge=2;for(;ae.some(lt=>lt===Ee+_e);)Ee=`${be}-${Ge++}`;h&&t(85,h.state=Ye.getState(),h),t(20,ae=[...ae.slice(0,de),{...ae[de],name:be+_e},...ae.slice(de+1)])}function _s(C){const de=r===1&&!ae[C].hidden;t(20,ae=[...ae.slice(0,C),...ae.slice(C+1),...de?[{name:"Untitled.mzn",state:ht.create({extensions:Jf(".mzn",Hs,X)})}]:[]]),Ze>=ae.length?Yi(ae.length-1):Yi(Ze),t(29,gt=null)}function Fs(C,de){h&&t(85,h.state=Ye.getState(),h);const be={...ae[C],...de};"readOnly"in de&&zb(be,de.readOnly?n8:r8),t(20,ae=[...ae.slice(0,C),be,...ae.slice(C+1)]),Yi(Ze)}function H(C,de){let be;C0){await jn();const de=Ye.getView();de&&de.state===C.state&&(de.dispatch({effects:C.effects}),C.effects=[])}}let nn=null;async function Nr(C){t(18,ie++,ie),t(85,h.state=Ye.getState(),h);let de=O?h:null;if(!de){if(b.length===0)return t(18,ie--,ie),!1;if(b.length===1)de=ae.find(Ee=>Ee.name===b[0]);else try{const Ee=await new Promise((Ge,lt)=>{t(36,nn=Ge),t(31,si=!0)});if(!Ee)return t(18,ie--,ie),!1;de=ae.find(Ge=>Ge.name===Ee.modelFile)}finally{t(31,si=!1)}}const be=new Ne.Model,_e=[de.name];if(C){const Ee=de.name.substring(0,de.name.length-4),Ge=ae.find(lt=>lt.name===`${Ee}.mzc`||lt.name===`${Ee}.mzc.mzn`);Ge&&_e.push(Ge.name)}de!==h&&_e.push(h.name);for(const Ee of ae)be.addFile(Ee.name,Ee.state.doc.toString(),_e.indexOf(Ee.name)!==-1);try{const{input:Ee}=await be.interface({options:st.getCompilationConfiguration(k.id)});if(Object.keys(Ee).length>0){const Ge={};for(const lt in Ee)Ge[lt]=ii[lt];t(34,ii=Ge),p&&Sn.indexOf(h.name)===-1&&(Sn=[...Sn,h.name]);try{const lt=await new Promise((bi,Kt)=>{t(36,nn=bi),t(32,Lt=!0)});if(!lt)return t(18,ie--,ie),!1;if(lt.parameters){let bi="";for(const Kt in lt.parameters)lt.parameters[Kt].trim().length>0&&(bi+=`${Kt} = ${lt.parameters[Kt]}; +`);be.addDznString(bi),t(34,ii=lt.parameters)}else{for(const bi of lt.dataFiles)_e.indexOf(bi)===-1&&(be.addFile(bi),_e.push(bi));Sn=lt.dataFiles}}finally{t(32,Lt=!1)}}}catch(Ee){console.error(Ee)}return t(18,ie--,ie),{model:be,fileList:_e}}async function wr(){if(g){const Ee=new Ne.Model;Ee.addFile(h.name,h.state.doc.toString());const Ge=[h.name],lt=st.getSolvingConfiguration(k.id);await zn(Ee,Ge,lt);return}const C=await Nr(!0);if(!C)return;const{model:de,fileList:be}=C,_e=st.getSolvingConfiguration(k.id);await zn(de,be,_e)}async function zn(C,de,be){t(82,mn=!0);const _e=Date.now();K&&t(33,_t=[]),t(33,_t=[..._t,{files:de,output:[]}]),t(83,Ue=C.solve({options:be,jsonOutput:!1})),kr(),Ue.on("error",kt),Ue.on("warning",kt),Ue.on("solution",Ee=>kt(Ee,Date.now()-_e)),Ue.on("status",Ee=>kt(Ee,Date.now()-_e)),Ue.on("statistics",kt),Ue.on("trace",Ee=>kt(Ee,Date.now()-_e)),Ue.on("statistics",kt),Ue.on("comment",kt),Ue.on("time",kt),Ue.on("checker",kt),Ue.on("stderr",kt);try{await Ue,kt({type:"exit",code:0,runTime:Date.now()-_e})}catch(Ee){kt({type:"exit",code:Ee.code,runTime:Date.now()-_e})}t(83,Ue=null)}async function Lr(){t(82,mn=!0);const C=await Nr(!0);if(!C)return;kr();const{model:de,fileList:be}=C,_e=be[0],Ee=Date.now();K&&t(33,_t=[]),t(33,_t=[..._t,{files:be,isCompile:!0,output:[]}]),t(83,Ue=de.compile({options:st.getCompilationConfiguration(k.id)})),Ue.on("error",kt),Ue.on("warning",kt),Ue.on("statistics",kt),Ue.on("trace",kt),Ue.on("statistics",kt),Ue.on("stderr",kt);try{const Ge=await Ue;t(20,ae=[...ae,{name:`${_e.substring(0,_e.indexOf("."))}.fzn`,state:ht.create({extensions:Jf(".fzn",Hs,X),doc:Ge})}]),Yi(ae.length-1),kt({type:"exit",code:0,runTime:Date.now()-Ee})}catch(Ge){kt({type:"exit",code:Ge.code,runTime:Date.now()-Ee})}t(83,Ue=null)}function Qr(){kt({type:"cancel"}),Ue.cancel()}let tr=null;function kt(C,de){tr?tr.then(()=>{tr=Br(C,de)}):tr=Br(C,de),_t[_t.length-1].output.push(C),t(33,_t)}function kr(){bn&&bn.reset(),t(42,xs=!1),t(43,Fr=!1)}async function Br(C,de){if(C.type==="trace"&&C.section.startsWith("mzn_vis_")){xs||(t(42,xs=!0),t(43,Fr=!0)),await jn();const be=ae.find(Ee=>Ee.name===C.message.url);let _e=null;if(be)_e=be.state.doc.toString();else try{_e=await Ne.readStdlibFileContents(C.message.url)}catch(Ee){console.error(Ee);return}if(_e===null){console.error(`Failed to get visualisation file ${C.message.url}`);return}bn.addVisualisation(C.section,_e,C.message.userData);return}if(xs){for(;!bn;)await jn();switch(C.type){case"solution":bn.addSolution(C.sections.filter(be=>be.startsWith("mzn_vis_")).reduce((be,_e)=>({...be,[_e]:C.output[_e]}),{}),"time"in C?C.time:de);break;case"status":bn.status(C.status,"time"in C?C.time:de);break;case"exit":bn.status("time"in C?C.time:de);break}}}function Gl(){return h&&t(85,h.state=Ye.getState(),h),{files:ae.map(C=>({name:C.name,contents:C.state.doc.toString(),...C.hidden?{hidden:!0}:{},...C.readOnly?{readOnly:!0}:{}})),tab:Ze,solverId:k.id,solverConfig:st.save(),minizincVersion:I?"edge":"latest"}}let Hl=!1;async function va(){t(37,Hl=!0);try{const C=(await bm(()=>import("./jszip.min-kk23T6Q9.js").then(Kt=>Kt.j),__vite__mapDeps([]),import.meta.url)).default,de=(await bm(()=>import("./FileSaver.min-1SlxcTJ1.js").then(Kt=>Kt.F),__vite__mapDeps([]),import.meta.url)).default,be=Gl(),_e=ae.map(Kt=>Kt.name),Ee=ae.filter(Kt=>!Kt.hidden).map(Kt=>Kt.name);let Ge=k.id;Ge==="org.minizinc.gecode_presolver"?Ge="org.gecode.gecode":Ge==="org.minizinc.chuffed"&&(Ge="org.chuffed.chuffed");const lt=new C;for(const Kt of be.files)lt.file(Kt.name,Kt.contents);lt.file("Project.mzp",JSON.stringify({version:105,projectFiles:_e,openFiles:Ee,openTab:be.tab,selectedBuiltinConfigId:Ge,selectedBuiltinConfigVersion:"default"}));const bi=await lt.generateAsync({type:"blob"});de.saveAs(bi,"Project.zip")}catch(C){console.error(C)}finally{t(37,Hl=!1)}}let jr,ir=null,Kl=!1;function Gs(C){const de=Gl(),be=new URL(C);return be.hash=`#project=${encodeURIComponent(JSON.stringify(de))}`,t(40,Kl=!1),be.toString()}function au(){jr.select(),jr.setSelectionRange(0,ir.length),navigator.clipboard.writeText(ir),t(40,Kl=!0)}function wa(){Qe&&window.open(Gs(Qe),"_blank").focus()}let Qa=null;async function Hs(C){const de=C.view;if(!(ie!==0||!k||!h||!h.name.endsWith(".mzn")))try{const be=de.state.doc.toString();if(be===Qa)return;Qa=be;const _e=new Ne.Model;for(const lt of ae)_e.addFile(lt.name,lt.state.doc.toString(),!1);const Ee=_e.addString(be),Ge=await _e.check({options:st.getCompilationConfiguration(k.id)});if(de.state.doc.toString()!==be)return;C9(be,Ge.filter(lt=>lt.location.filename===Ee),de)}catch(be){console.error(be)}}function Ps(C){const de=ae.findIndex(be=>be.name===C.filename);if(de!==-1){Yi(de);const be=ae[de].state.doc.toString(),_e=Sd(C.firstLine,C.firstColumn,be);Ye.focus(),Ye.setCursor(_e)}}function fu(){xe==="horizontal"?t(2,xe="vertical"):t(2,xe="horizontal")}function Ks(C){t(0,I=C.detail.item===rt.edge)}function cu(C){h&&t(85,h.state=Ye.getState(),h),ae.forEach(de=>zb(de,C?l8:s8)),ke(h)}let bn,xs=!1,Fr=!1;function Jl(C){Ue&&Qr();const de=[C.modelFile],be=C.modelFile.substring(0,C.modelFile.length-4),_e=ae.find(Ge=>Ge.name===`${be}.mzc`||Ge.name===`${be}.mzc.mzn`);if(_e&&de.push(_e.name),C.dataFiles)for(const Ge of C.dataFiles)de.push(Ge);const Ee=new Ne.Model;for(const Ge of ae)Ee.addFile(Ge.name,Ge.state.doc.toString(),de.indexOf(Ge.name)!==-1);zn(Ee,de,C.options||st.getSolvingConfiguration(k.id))}function ka(){Bt=mO(this),t(22,Bt)}function uu(){Bt=mO(this),t(22,Bt)}const hu=()=>{t(26,St=!St),t(35,er=!1)},Ou=()=>{Lr(),t(26,St=!1)},du=()=>{tn(),t(26,St=!1)},_a=()=>{t(0,I=!I),t(26,St=!1)},Pa=()=>{t(39,ir=Gs(window.location.href)),t(26,St=!1)},xa=()=>{wa(),t(26,St=!1)},eo=()=>t(39,ir=Gs(window.location.href)),pu=()=>va(),Wa=()=>{t(43,Fr=!1)},Js=()=>{t(43,Fr=!0)};function Ca(C){Yt[C?"unshift":"push"](()=>{bn=C,t(41,bn)})}const gu=C=>Jl(C.detail);function Ta(C){K=C,t(1,K)}const Za=()=>t(33,_t=[]),to=C=>Ps(C.detail.location),mu=C=>Yi(C.detail.index),Ra=C=>H(C.detail.src,C.detail.dest),io=()=>t(28,Dt=!0),no=C=>t(29,gt=C.detail.index),Gr=()=>t(30,qi=!0);function Xa(C){Yt[C?"unshift":"push"](()=>{Ye=C,t(25,Ye)})}function Aa(C){it=C,t(3,it)}function Su(C){Yt[C?"unshift":"push"](()=>{st=C,t(27,st)})}const Ya=()=>t(35,er=!1),Ua=()=>t(30,qi=!1),Ea=C=>t(29,gt=C.detail.index),za=C=>Fs(C.detail.index,C.detail.options),bu=()=>t(28,Dt=!0),$u=()=>t(28,Dt=!1),yu=C=>vr(C.detail.type),Ma=C=>En(C.detail),vu=()=>_s(gt),wu=()=>t(29,gt=null),Qu=()=>t(29,gt=null),ku=C=>nn(C.detail),ro=()=>nn(!1),_u=C=>nn(C.detail),Pu=()=>nn(!1),xu=()=>t(39,ir=null);function Wu(C){Yt[C?"unshift":"push"](()=>{jr=C,t(38,jr)})}const Cu=()=>jr.select(),Pt=()=>t(39,ir=null);return n.$$set=C=>{"showVersionSwitcher"in C&&t(4,z=C.showVersionSwitcher),"showSolverDropdown"in C&&t(5,B=C.showSolverDropdown),"edgeMiniZinc"in C&&t(0,I=C.edgeMiniZinc),"autoClearOutput"in C&&t(1,K=C.autoClearOutput),"showTabs"in C&&t(6,ne=C.showTabs),"canEditTabs"in C&&t(7,Oe=C.canEditTabs),"compilationEnabled"in C&&t(8,oe=C.compilationEnabled),"project"in C&&t(73,Ce=C.project),"enabledSolvers"in C&&t(74,ue=C.enabledSolvers),"canEditSolverSettings"in C&&t(9,fe=C.canEditSolverSettings),"showShareButton"in C&&t(10,Xe=C.showShareButton),"showDownloadButton"in C&&t(11,Ie=C.showDownloadButton),"externalPlaygroundURL"in C&&t(12,Qe=C.externalPlaygroundURL),"splitterDirection"in C&&t(2,xe=C.splitterDirection),"splitterSize"in C&&t(3,it=C.splitterSize),"canSwitchOrientation"in C&&t(13,Ut=C.canSwitchOrientation),"showClearOutput"in C&&t(14,Qt=C.showClearOutput),"showAutoClearOutput"in C&&t(15,dt=C.showAutoClearOutput),"showOutputSectionToggles"in C&&t(16,Et=C.showOutputSectionToggles),"showOutputRightControls"in C&&t(17,$e=C.showOutputRightControls),"theme"in C&&t(75,se=C.theme),"hideOutputOnStartup"in C&&t(76,F=C.hideOutputOnStartup),"autoFocus"in C&&t(77,he=C.autoFocus),"$$scope"in C&&t(135,M=C.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&524288&&t(52,i=[rt.latest,rt.edge]),n.$$.dirty[0]&1&&zt(),n.$$.dirty[2]&2048&&$t(Ce),n.$$.dirty[0]&1048576&&(r=ae.filter(C=>!C.hidden).length),n.$$.dirty[0]&3145728&&t(85,h=Zeue.indexOf(C.id)!==-1):ft),n.$$.dirty[0]&20971520&&t(84,k=Bt>=0&&Bt<$.length?$[Bt]:null),n.$$.dirty[2]&8388608&&t(88,O=h&&h.name.endsWith(".mzn")&&!h.name.endsWith(".mzc.mzn")),n.$$.dirty[2]&8388608&&t(87,p=h&&(h.name.endsWith(".dzn")||h.name.endsWith(".json"))),n.$$.dirty[2]&8388608&&t(86,g=h&&h.name.endsWith(".fzn")),n.$$.dirty[0]&262144|n.$$.dirty[2]&121634816&&t(50,l=ie===0&&k&&(O||p||g)),n.$$.dirty[0]&262144|n.$$.dirty[2]&104857600&&t(49,o=ie===0&&k&&(O||p)),n.$$.dirty[2]&1064960&&t(48,a=!F||mn?"all":"a"),n.$$.dirty[2]&2097152&&t(47,c=Ue!==null),n.$$.dirty[0]&1048576&&t(44,b=ae.filter(C=>C.name.endsWith(".mzn")&&!C.name.endsWith(".mzc.mzn")).map(C=>C.name)),n.$$.dirty[0]&1048576&&t(46,y=ae.filter(C=>C.name.endsWith(".dzn")||C.name.endsWith(".json")).map(C=>C.name)),n.$$.dirty[0]&20971520&&mi(),n.$$.dirty[2]&4194304&&t(45,W=k?k.stdFlags:[]),n.$$.dirty[2]&8388608&&ke(h),n.$$.dirty[2]&134225920&&t(23,X={dark:!0,light:!1,auto:R}[se]),n.$$.dirty[0]&8388608&&cu(X)},[I,K,xe,it,z,B,ne,Oe,oe,fe,Xe,Ie,Qe,Ut,Qt,dt,Et,$e,ie,rt,ae,Ze,Bt,X,$,Ye,St,st,Dt,gt,qi,si,Lt,_t,ii,er,nn,Hl,jr,ir,Kl,bn,xs,Fr,b,W,y,c,a,o,l,s,i,T,En,tn,Yi,vr,Fl,_s,Fs,H,wr,Lr,Qr,va,Gs,au,wa,Ps,fu,Ks,Jl,Ce,ue,se,F,he,$t,Rt,Gl,ft,mn,Ue,k,h,g,p,O,R,E,ka,uu,hu,Ou,du,_a,Pa,xa,eo,pu,Wa,Js,Ca,gu,Ta,Za,to,mu,Ra,io,no,Gr,Xa,Aa,Su,Ya,Ua,Ea,za,bu,$u,yu,Ma,vu,wu,Qu,ku,ro,_u,Pu,xu,Wu,Cu,Pt,M]}class t7 extends _i{constructor(e){super(),ki(this,e,e7,J9,di,{showVersionSwitcher:4,showSolverDropdown:5,edgeMiniZinc:0,autoClearOutput:1,showTabs:6,canEditTabs:7,compilationEnabled:8,project:73,enabledSolvers:74,canEditSolverSettings:9,showShareButton:10,showDownloadButton:11,externalPlaygroundURL:12,splitterDirection:2,splitterSize:3,canSwitchOrientation:13,showClearOutput:14,showAutoClearOutput:15,showOutputSectionToggles:16,showOutputRightControls:17,theme:75,hideOutputOnStartup:76,autoFocus:77,loadProject:78,hasFiles:79,getProject:80},null,[-1,-1,-1,-1,-1,-1])}get loadProject(){return this.$$.ctx[78]}get hasFiles(){return this.$$.ctx[79]}get getProject(){return this.$$.ctx[80]}}const{window:Mb}=MW;function i7(n){let e,t,i,r,s,l,o,a;function c(g){n[6](g)}function h(g){n[7](g)}function O(g){n[8](g)}let p={project:n[1]};return n[2].autoClearOutput!==void 0&&(p.autoClearOutput=n[2].autoClearOutput),n[2].splitterDirection!==void 0&&(p.splitterDirection=n[2].splitterDirection),n[2].splitterSize!==void 0&&(p.splitterSize=n[2].splitterSize),t=new t7({props:p}),n[5](t),Yt.push(()=>Vo(t,"autoClearOutput",c)),Yt.push(()=>Vo(t,"splitterDirection",h)),Yt.push(()=>Vo(t,"splitterSize",O)),{c(){e=P("div"),qe(t.$$.fragment),v(e,"class","playground-app svelte-tuc1wl")},m(g,b){U(g,e,b),Ve(t,e,null),l=!0,o||(a=[le(Mb,"beforeunload",n[4]),le(Mb,"hashchange",n[3])],o=!0)},p(g,[b]){const y={};b&2&&(y.project=g[1]),!i&&b&4&&(i=!0,y.autoClearOutput=g[2].autoClearOutput,Mo(()=>i=!1)),!r&&b&4&&(r=!0,y.splitterDirection=g[2].splitterDirection,Mo(()=>r=!1)),!s&&b&4&&(s=!0,y.splitterSize=g[2].splitterSize,Mo(()=>s=!1)),t.$set(y)},i(g){l||(D(t.$$.fragment,g),l=!0)},o(g){L(t.$$.fragment,g),l=!1},d(g){g&&A(e),n[5](null),De(t),o=!1,Gt(a)}}}const Vb=`% Use this editor as a MiniZinc scratch book +`,Db="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";function n7(n,e,t){let i,r={files:[]},s={autoClearOutput:!1,splitterDirection:"vertical",splitterSize:75,sessions:{}};try{const y=localStorage.getItem("mznPlayground");y&&y.length>0&&(s={...s,...JSON.parse(y)})}catch(y){console.error(y)}let l;function o(){if(Object.keys(s.sessions).length>=5){const W=Object.keys(s.sessions).map(X=>({key:X,value:s.sessions[X]}));W.sort((X,R)=>R.value.timestamp-X.value.timestamp),t(2,s.sessions=W.slice(0,4).reduce((X,R)=>({...X,[R.key]:R.value}),{}),s)}const $=()=>Array(6).fill(0).map(()=>Db[Math.floor(Math.random()*Db.length)]).join("");let k=$();for(;k in s.sessions;)k=$();return k}function a(y){return y.solverId||(y.solver===0?y.solverId="org.minizinc.gecode_presolver":r.solver===1&&(y.solverId="org.minizinc.mip.coin-bc")),y}async function c(){if(l&&i.hasFiles()){const $=i.getProject();t(2,s.sessions[l]=$,s)}if(window.location.hash.startsWith("#project="))try{const $=decodeURIComponent(window.location.hash.substring(9));t(1,r=a(JSON.parse($))),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`);return}catch($){console.error($)}if(window.location.hash.startsWith("#code="))try{const $=decodeURIComponent(window.location.hash.substring(6));t(1,r={files:[{name:"Playground.mzn",contents:$,anchor:$.length}]}),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`);return}catch($){console.error($)}if(window.location.hash.startsWith("#url="))try{const $=decodeURIComponent(window.location.hash.substring(5));t(1,r=await Kw($)),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`);return}catch($){console.error($)}window.location.hash.startsWith("#session=")||window.history.replaceState(void 0,void 0,`#session=${o()}`);const y=window.location.hash.substring(9);if(y!==l&&s.sessions&&s.sessions[y])try{t(1,r=a(s.sessions[y])),l=y}catch($){console.error($)}r.files.length===0&&t(1,r={files:[{name:"Playground.mzn",contents:Vb,anchor:Vb.length}]}),l=y}Gc(()=>c());function h(){const y=i.getProject();t(2,s.sessions[l]={...y,timestamp:Date.now()},s),localStorage.setItem("mznPlayground",JSON.stringify(s))}function O(y){Yt[y?"unshift":"push"](()=>{i=y,t(0,i)})}function p(y){n.$$.not_equal(s.autoClearOutput,y)&&(s.autoClearOutput=y,t(2,s))}function g(y){n.$$.not_equal(s.splitterDirection,y)&&(s.splitterDirection=y,t(2,s))}function b(y){n.$$.not_equal(s.splitterSize,y)&&(s.splitterSize=y,t(2,s))}return[i,r,s,c,h,O,p,g,b]}class r7 extends _i{constructor(e){super(),ki(this,e,n7,i7,di,{})}}new r7({target:document.getElementById("app")});export{Zo as c,f7 as g}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/assets/index-Co0-qt-o.css b/assets/index-TxUTvtiF.css similarity index 99% rename from assets/index-Co0-qt-o.css rename to assets/index-TxUTvtiF.css index 07855b3..768817a 100644 --- a/assets/index-Co0-qt-o.css +++ b/assets/index-TxUTvtiF.css @@ -1 +1 @@ -.mzn-playground{--mzn-playground-border: hsl(0, 0%, 86%);--mzn-playground-input-background-color: hsl(0, 0%, 100%);--mzn-playground-splitter: #EEE;--mzn-playground-gray: gray;--mzn-playground-blue: blue;--mzn-playground-red: red;--mzn-playground-yellow: #d1d100}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name,.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground.is-dark .button,.mzn-playground .file-cta,.mzn-playground .file-name,.mzn-playground .select select,.mzn-playground .textarea,.mzn-playground .input,.mzn-playground .button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(.5em - 1px);padding-left:calc(.75em - 1px);padding-right:calc(.75em - 1px);padding-top:calc(.5em - 1px);position:relative;vertical-align:top}.mzn-playground .file-cta:focus,.mzn-playground .file-name:focus,.mzn-playground.is-dark .select select:focus,.mzn-playground .select select:focus,.mzn-playground .textarea:focus,.mzn-playground .input:focus,.mzn-playground .button:focus,.mzn-playground .is-focused.file-cta,.mzn-playground .is-focused.file-name,.mzn-playground.is-dark .select select.is-focused,.mzn-playground .select select.is-focused,.mzn-playground .is-focused.textarea,.mzn-playground .is-focused.input,.mzn-playground .is-focused.button,.mzn-playground .file-cta:active,.mzn-playground .file-name:active,.mzn-playground.is-dark .select select:active,.mzn-playground .select select:active,.mzn-playground .textarea:active,.mzn-playground .input:active,.mzn-playground .button:active,.mzn-playground .is-active.file-cta,.mzn-playground .is-active.file-name,.mzn-playground.is-dark .select select.is-active,.mzn-playground .select select.is-active,.mzn-playground .is-active.textarea,.mzn-playground .is-active.input,.mzn-playground .is-active.button{outline:none}.mzn-playground [disabled].file-cta,.mzn-playground [disabled].file-name,.mzn-playground.is-dark .select select[disabled],.mzn-playground .select select[disabled],.mzn-playground [disabled].textarea,.mzn-playground [disabled].input,.mzn-playground [disabled].button,fieldset[disabled] .mzn-playground .file-cta,fieldset[disabled] .mzn-playground .file-name,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground .select select,fieldset[disabled] .mzn-playground .textarea,fieldset[disabled] .mzn-playground .input,fieldset[disabled] .mzn-playground .button{cursor:not-allowed}.mzn-playground.is-dark .tabs,.mzn-playground.is-dark .file,.mzn-playground.is-dark .button,.mzn-playground .tabs,.mzn-playground .file,.mzn-playground .button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after,.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after,.mzn-playground .navbar-link:not(.is-arrowless):after,.mzn-playground .select:not(.is-multiple):not(.is-loading):after{border:3px solid transparent;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.mzn-playground .tabs:not(:last-child),.mzn-playground .block:not(:last-child),.mzn-playground .table-container:not(:last-child),.mzn-playground .table:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .modal-close,.mzn-playground.is-dark .delete,.mzn-playground .modal-close,.mzn-playground .delete{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:#0a0a0a33;border:none;border-radius:9999px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:none;position:relative;vertical-align:top;width:20px}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground .modal-close:before,.mzn-playground .delete:before,.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after,.mzn-playground .modal-close:after,.mzn-playground .delete:after{background-color:#fff;content:"";display:block;left:50%;position:absolute;top:50%;transform:translate(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground .modal-close:before,.mzn-playground .delete:before{height:2px;width:50%}.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after,.mzn-playground .modal-close:after,.mzn-playground .delete:after{height:50%;width:2px}.mzn-playground .modal-close:hover,.mzn-playground .delete:hover,.mzn-playground .modal-close:focus,.mzn-playground .delete:focus{background-color:#0a0a0a4d}.mzn-playground .modal-close:active,.mzn-playground .delete:active{background-color:#0a0a0a66}.mzn-playground .is-small.modal-close,.mzn-playground .is-small.delete{height:16px;max-height:16px;max-width:16px;min-height:16px;min-width:16px;width:16px}.mzn-playground .is-medium.modal-close,.mzn-playground .is-medium.delete{height:24px;max-height:24px;max-width:24px;min-height:24px;min-width:24px;width:24px}.mzn-playground .is-large.modal-close,.mzn-playground .is-large.delete{height:32px;max-height:32px;max-width:32px;min-height:32px;min-width:32px;width:32px}.mzn-playground.is-dark .control.is-loading:after,.mzn-playground.is-dark .select.is-loading:after,.mzn-playground.is-dark .loader,.mzn-playground.is-dark .button.is-loading:after,.mzn-playground .control.is-loading:after,.mzn-playground .select.is-loading:after,.mzn-playground .loader,.mzn-playground .button.is-loading:after{animation:spinAround .5s infinite linear;border:2px solid hsl(0,0%,86%);border-radius:9999px;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1em;position:relative;width:1em}.mzn-playground.is-dark .modal-background,.mzn-playground.is-dark .modal,.mzn-playground .modal-background,.mzn-playground .modal{bottom:0;left:0;position:absolute;right:0;top:0}.mzn-playground.is-dark .navbar-burger,.mzn-playground .navbar-burger{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;color:currentColor;font-family:inherit;font-size:1em;margin:0;padding:0}.mzn-playground html,.mzn-playground body,.mzn-playground p,.mzn-playground ol,.mzn-playground ul,.mzn-playground li,.mzn-playground dl,.mzn-playground dt,.mzn-playground dd,.mzn-playground blockquote,.mzn-playground figure,.mzn-playground fieldset,.mzn-playground legend,.mzn-playground textarea,.mzn-playground pre,.mzn-playground iframe,.mzn-playground hr,.mzn-playground h1,.mzn-playground h2,.mzn-playground h3,.mzn-playground h4,.mzn-playground h5,.mzn-playground h6{margin:0;padding:0}.mzn-playground h1,.mzn-playground h2,.mzn-playground h3,.mzn-playground h4,.mzn-playground h5,.mzn-playground h6{font-size:100%;font-weight:400}.mzn-playground ul{list-style:none}.mzn-playground button,.mzn-playground input,.mzn-playground select,.mzn-playground textarea{margin:0}.mzn-playground html{box-sizing:border-box}.mzn-playground *,.mzn-playground *:before,.mzn-playground *:after{box-sizing:inherit}.mzn-playground img,.mzn-playground video{height:auto;max-width:100%}.mzn-playground iframe{border:0}.mzn-playground table{border-collapse:collapse;border-spacing:0}.mzn-playground td,.mzn-playground th{padding:0}.mzn-playground td:not([align]),.mzn-playground th:not([align]){text-align:inherit}.mzn-playground html{background-color:#fff;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:300px;overflow-x:hidden;overflow-y:scroll;text-rendering:optimizeLegibility;text-size-adjust:100%}.mzn-playground article,.mzn-playground aside,.mzn-playground figure,.mzn-playground footer,.mzn-playground header,.mzn-playground hgroup,.mzn-playground section{display:block}.mzn-playground body,.mzn-playground button,.mzn-playground input,.mzn-playground optgroup,.mzn-playground select,.mzn-playground textarea{font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.mzn-playground code,.mzn-playground pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:monospace}.mzn-playground body{color:#4a4a4a;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground a{color:#485fc7;cursor:pointer;text-decoration:none}.mzn-playground a strong{color:currentColor}.mzn-playground a:hover{color:#363636}.mzn-playground code{background-color:#f5f5f5;color:#da1039;font-size:.875em;font-weight:400;padding:.25em .5em}.mzn-playground hr{background-color:#f5f5f5;border:none;display:block;height:2px;margin:1.5rem 0}.mzn-playground img{height:auto;max-width:100%}.mzn-playground input[type=checkbox],.mzn-playground input[type=radio]{vertical-align:baseline}.mzn-playground small{font-size:.875em}.mzn-playground span{font-style:inherit;font-weight:inherit}.mzn-playground strong{color:#363636;font-weight:700}.mzn-playground fieldset{border:none}.mzn-playground pre{-webkit-overflow-scrolling:touch;background-color:#f5f5f5;color:#4a4a4a;font-size:1em;overflow-x:auto;padding:1.25rem 1.5rem;white-space:pre;word-wrap:normal}.mzn-playground pre code{background-color:transparent;color:currentColor;font-size:1em;padding:0}.mzn-playground table td,.mzn-playground table th{vertical-align:top}.mzn-playground table td:not([align]),.mzn-playground table th:not([align]){text-align:inherit}.mzn-playground table th{color:#363636}.mzn-playground .button{background-color:#fff;border-color:#dbdbdb;border-width:1px;color:#363636;cursor:pointer;justify-content:center;padding-bottom:calc(.5em - 1px);padding-left:1em;padding-right:1em;padding-top:calc(.5em - 1px);text-align:center;white-space:nowrap}.mzn-playground .button strong{color:inherit}.mzn-playground .button .icon,.mzn-playground .button .icon.is-small,.mzn-playground .button .icon.is-medium,.mzn-playground .button .icon.is-large{height:1.5em;width:1.5em}.mzn-playground .button .icon:first-child:not(:last-child){margin-left:calc(-.5em - 1px);margin-right:.25em}.mzn-playground .button .icon:last-child:not(:first-child){margin-left:.25em;margin-right:calc(-.5em - 1px)}.mzn-playground .button .icon:first-child:last-child{margin-left:calc(-.5em - 1px);margin-right:calc(-.5em - 1px)}.mzn-playground .button:hover,.mzn-playground .button.is-hovered{border-color:#b5b5b5;color:#363636}.mzn-playground .button:focus,.mzn-playground .button.is-focused{border-color:#485fc7;color:#363636}.mzn-playground .button:focus:not(:active),.mzn-playground .button.is-focused:not(:active){box-shadow:0 0 0 .125em #485fc740}.mzn-playground .button:active,.mzn-playground .button.is-active{border-color:#4a4a4a;color:#363636}.mzn-playground .button.is-text{background-color:transparent;border-color:transparent;color:#4a4a4a;text-decoration:underline}.mzn-playground .button.is-text:hover,.mzn-playground .button.is-text.is-hovered,.mzn-playground .button.is-text:focus,.mzn-playground .button.is-text.is-focused{background-color:#f5f5f5;color:#363636}.mzn-playground .button.is-text:active,.mzn-playground .button.is-text.is-active{background-color:#e8e8e8;color:#363636}.mzn-playground .button.is-text[disabled],fieldset[disabled] .mzn-playground .button.is-text{background-color:transparent;border-color:transparent;box-shadow:none}.mzn-playground .button.is-ghost{background:none;border-color:transparent;color:#485fc7;text-decoration:none}.mzn-playground .button.is-ghost:hover,.mzn-playground .button.is-ghost.is-hovered{color:#485fc7;text-decoration:underline}.mzn-playground .button.is-white{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:hover,.mzn-playground .button.is-white.is-hovered{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:focus,.mzn-playground .button.is-white.is-focused{border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:focus:not(:active),.mzn-playground .button.is-white.is-focused:not(:active){box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .button.is-white:active,.mzn-playground .button.is-white.is-active{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white[disabled],fieldset[disabled] .mzn-playground .button.is-white{background-color:#fff;border-color:#fff;box-shadow:none}.mzn-playground .button.is-white.is-inverted{background-color:#0a0a0a;color:#fff}.mzn-playground .button.is-white.is-inverted:hover,.mzn-playground .button.is-white.is-inverted.is-hovered{background-color:#000}.mzn-playground .button.is-white.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-inverted{background-color:#0a0a0a;border-color:transparent;box-shadow:none;color:#fff}.mzn-playground .button.is-white.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-white.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-white.is-outlined:hover,.mzn-playground .button.is-white.is-outlined.is-hovered,.mzn-playground .button.is-white.is-outlined:focus,.mzn-playground .button.is-white.is-outlined.is-focused{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground .button.is-white.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-white.is-outlined.is-loading:hover:after,.mzn-playground .button.is-white.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-white.is-outlined.is-loading:focus:after,.mzn-playground .button.is-white.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-white.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground .button.is-white.is-inverted.is-outlined:hover,.mzn-playground .button.is-white.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-white.is-inverted.is-outlined:focus,.mzn-playground .button.is-white.is-inverted.is-outlined.is-focused{background-color:#0a0a0a;color:#fff}.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-white.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground .button.is-black:hover,.mzn-playground .button.is-black.is-hovered{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground .button.is-black:focus,.mzn-playground .button.is-black.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-black:focus:not(:active),.mzn-playground .button.is-black.is-focused:not(:active){box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .button.is-black:active,.mzn-playground .button.is-black.is-active{background-color:#000;border-color:transparent;color:#fff}.mzn-playground .button.is-black[disabled],fieldset[disabled] .mzn-playground .button.is-black{background-color:#0a0a0a;border-color:#0a0a0a;box-shadow:none}.mzn-playground .button.is-black.is-inverted{background-color:#fff;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted:hover,.mzn-playground .button.is-black.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-black.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground .button.is-black.is-outlined:hover,.mzn-playground .button.is-black.is-outlined.is-hovered,.mzn-playground .button.is-black.is-outlined:focus,.mzn-playground .button.is-black.is-outlined.is-focused{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground .button.is-black.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-black.is-outlined.is-loading:hover:after,.mzn-playground .button.is-black.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-black.is-outlined.is-loading:focus:after,.mzn-playground .button.is-black.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-black.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-black.is-inverted.is-outlined:hover,.mzn-playground .button.is-black.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-black.is-inverted.is-outlined:focus,.mzn-playground .button.is-black.is-inverted.is-outlined.is-focused{background-color:#fff;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-black.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-light{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:hover,.mzn-playground .button.is-light.is-hovered{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:focus,.mzn-playground .button.is-light.is-focused{border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:focus:not(:active),.mzn-playground .button.is-light.is-focused:not(:active){box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .button.is-light:active,.mzn-playground .button.is-light.is-active{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light[disabled],fieldset[disabled] .mzn-playground .button.is-light{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none}.mzn-playground .button.is-light.is-inverted{background-color:#000000b3;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted:hover,.mzn-playground .button.is-light.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground .button.is-light.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#f5f5f5}.mzn-playground .button.is-light.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;color:#f5f5f5}.mzn-playground .button.is-light.is-outlined:hover,.mzn-playground .button.is-light.is-outlined.is-hovered,.mzn-playground .button.is-light.is-outlined:focus,.mzn-playground .button.is-light.is-outlined.is-focused{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground .button.is-light.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground .button.is-light.is-outlined.is-loading:hover:after,.mzn-playground .button.is-light.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-light.is-outlined.is-loading:focus:after,.mzn-playground .button.is-light.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-light.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;box-shadow:none;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground .button.is-light.is-inverted.is-outlined:hover,.mzn-playground .button.is-light.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-light.is-inverted.is-outlined:focus,.mzn-playground .button.is-light.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground .button.is-light.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground .button.is-dark{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground .button.is-dark:hover,.mzn-playground .button.is-dark.is-hovered{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground .button.is-dark:focus,.mzn-playground .button.is-dark.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-dark:focus:not(:active),.mzn-playground .button.is-dark.is-focused:not(:active){box-shadow:0 0 0 .125em #36363640}.mzn-playground .button.is-dark:active,.mzn-playground .button.is-dark.is-active{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground .button.is-dark[disabled],fieldset[disabled] .mzn-playground .button.is-dark{background-color:#363636;border-color:#363636;box-shadow:none}.mzn-playground .button.is-dark.is-inverted{background-color:#fff;color:#363636}.mzn-playground .button.is-dark.is-inverted:hover,.mzn-playground .button.is-dark.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-dark.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#363636}.mzn-playground .button.is-dark.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;color:#363636}.mzn-playground .button.is-dark.is-outlined:hover,.mzn-playground .button.is-dark.is-outlined.is-hovered,.mzn-playground .button.is-dark.is-outlined:focus,.mzn-playground .button.is-dark.is-outlined.is-focused{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground .button.is-dark.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground .button.is-dark.is-outlined.is-loading:hover:after,.mzn-playground .button.is-dark.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-dark.is-outlined.is-loading:focus:after,.mzn-playground .button.is-dark.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-dark.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;box-shadow:none;color:#363636}.mzn-playground .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-dark.is-inverted.is-outlined:hover,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-dark.is-inverted.is-outlined:focus,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-focused{background-color:#fff;color:#363636}.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground .button.is-dark.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-primary{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground .button.is-primary:hover,.mzn-playground .button.is-primary.is-hovered{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground .button.is-primary:focus,.mzn-playground .button.is-primary.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-primary:focus:not(:active),.mzn-playground .button.is-primary.is-focused:not(:active){box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .button.is-primary:active,.mzn-playground .button.is-primary.is-active{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground .button.is-primary[disabled],fieldset[disabled] .mzn-playground .button.is-primary{background-color:#1491eb;border-color:#1491eb;box-shadow:none}.mzn-playground .button.is-primary.is-inverted{background-color:#fff;color:#1491eb}.mzn-playground .button.is-primary.is-inverted:hover,.mzn-playground .button.is-primary.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-primary.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#1491eb}.mzn-playground .button.is-primary.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;color:#1491eb}.mzn-playground .button.is-primary.is-outlined:hover,.mzn-playground .button.is-primary.is-outlined.is-hovered,.mzn-playground .button.is-primary.is-outlined:focus,.mzn-playground .button.is-primary.is-outlined.is-focused{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground .button.is-primary.is-outlined.is-loading:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground .button.is-primary.is-outlined.is-loading:hover:after,.mzn-playground .button.is-primary.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-primary.is-outlined.is-loading:focus:after,.mzn-playground .button.is-primary.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-primary.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;box-shadow:none;color:#1491eb}.mzn-playground .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-primary.is-inverted.is-outlined:hover,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-primary.is-inverted.is-outlined:focus,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-focused{background-color:#fff;color:#1491eb}.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground .button.is-primary.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-primary.is-light{background-color:#ecf6fd;color:#1074bc}.mzn-playground .button.is-primary.is-light:hover,.mzn-playground .button.is-primary.is-light.is-hovered{background-color:#e0f1fc;border-color:transparent;color:#1074bc}.mzn-playground .button.is-primary.is-light:active,.mzn-playground .button.is-primary.is-light.is-active{background-color:#d5ebfb;border-color:transparent;color:#1074bc}.mzn-playground .button.is-link{background-color:#485fc7;border-color:transparent;color:#fff}.mzn-playground .button.is-link:hover,.mzn-playground .button.is-link.is-hovered{background-color:#3e56c4;border-color:transparent;color:#fff}.mzn-playground .button.is-link:focus,.mzn-playground .button.is-link.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-link:focus:not(:active),.mzn-playground .button.is-link.is-focused:not(:active){box-shadow:0 0 0 .125em #485fc740}.mzn-playground .button.is-link:active,.mzn-playground .button.is-link.is-active{background-color:#3a51bb;border-color:transparent;color:#fff}.mzn-playground .button.is-link[disabled],fieldset[disabled] .mzn-playground .button.is-link{background-color:#485fc7;border-color:#485fc7;box-shadow:none}.mzn-playground .button.is-link.is-inverted{background-color:#fff;color:#485fc7}.mzn-playground .button.is-link.is-inverted:hover,.mzn-playground .button.is-link.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-link.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#485fc7}.mzn-playground .button.is-link.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-link.is-outlined{background-color:transparent;border-color:#485fc7;color:#485fc7}.mzn-playground .button.is-link.is-outlined:hover,.mzn-playground .button.is-link.is-outlined.is-hovered,.mzn-playground .button.is-link.is-outlined:focus,.mzn-playground .button.is-link.is-outlined.is-focused{background-color:#485fc7;border-color:#485fc7;color:#fff}.mzn-playground .button.is-link.is-outlined.is-loading:after{border-color:transparent transparent hsl(229,53%,53%) hsl(229,53%,53%)!important}.mzn-playground .button.is-link.is-outlined.is-loading:hover:after,.mzn-playground .button.is-link.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-link.is-outlined.is-loading:focus:after,.mzn-playground .button.is-link.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-link.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-outlined{background-color:transparent;border-color:#485fc7;box-shadow:none;color:#485fc7}.mzn-playground .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-link.is-inverted.is-outlined:hover,.mzn-playground .button.is-link.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-link.is-inverted.is-outlined:focus,.mzn-playground .button.is-link.is-inverted.is-outlined.is-focused{background-color:#fff;color:#485fc7}.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(229,53%,53%) hsl(229,53%,53%)!important}.mzn-playground .button.is-link.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-link.is-light{background-color:#eff1fa;color:#3850b7}.mzn-playground .button.is-link.is-light:hover,.mzn-playground .button.is-link.is-light.is-hovered{background-color:#e6e9f7;border-color:transparent;color:#3850b7}.mzn-playground .button.is-link.is-light:active,.mzn-playground .button.is-link.is-light.is-active{background-color:#dce0f4;border-color:transparent;color:#3850b7}.mzn-playground .button.is-info{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground .button.is-info:hover,.mzn-playground .button.is-info.is-hovered{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground .button.is-info:focus,.mzn-playground .button.is-info.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-info:focus:not(:active),.mzn-playground .button.is-info.is-focused:not(:active){box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .button.is-info:active,.mzn-playground .button.is-info.is-active{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground .button.is-info[disabled],fieldset[disabled] .mzn-playground .button.is-info{background-color:#3e8ed0;border-color:#3e8ed0;box-shadow:none}.mzn-playground .button.is-info.is-inverted{background-color:#fff;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted:hover,.mzn-playground .button.is-info.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-info.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#3e8ed0}.mzn-playground .button.is-info.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;color:#3e8ed0}.mzn-playground .button.is-info.is-outlined:hover,.mzn-playground .button.is-info.is-outlined.is-hovered,.mzn-playground .button.is-info.is-outlined:focus,.mzn-playground .button.is-info.is-outlined.is-focused{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground .button.is-info.is-outlined.is-loading:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground .button.is-info.is-outlined.is-loading:hover:after,.mzn-playground .button.is-info.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-info.is-outlined.is-loading:focus:after,.mzn-playground .button.is-info.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-info.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;box-shadow:none;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-info.is-inverted.is-outlined:hover,.mzn-playground .button.is-info.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-info.is-inverted.is-outlined:focus,.mzn-playground .button.is-info.is-inverted.is-outlined.is-focused{background-color:#fff;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground .button.is-info.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-info.is-light{background-color:#eff5fb;color:#296fa8}.mzn-playground .button.is-info.is-light:hover,.mzn-playground .button.is-info.is-light.is-hovered{background-color:#e4eff9;border-color:transparent;color:#296fa8}.mzn-playground .button.is-info.is-light:active,.mzn-playground .button.is-info.is-light.is-active{background-color:#dae9f6;border-color:transparent;color:#296fa8}.mzn-playground .button.is-success{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground .button.is-success:hover,.mzn-playground .button.is-success.is-hovered{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground .button.is-success:focus,.mzn-playground .button.is-success.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-success:focus:not(:active),.mzn-playground .button.is-success.is-focused:not(:active){box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .button.is-success:active,.mzn-playground .button.is-success.is-active{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground .button.is-success[disabled],fieldset[disabled] .mzn-playground .button.is-success{background-color:#48c78e;border-color:#48c78e;box-shadow:none}.mzn-playground .button.is-success.is-inverted{background-color:#fff;color:#48c78e}.mzn-playground .button.is-success.is-inverted:hover,.mzn-playground .button.is-success.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-success.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#48c78e}.mzn-playground .button.is-success.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;color:#48c78e}.mzn-playground .button.is-success.is-outlined:hover,.mzn-playground .button.is-success.is-outlined.is-hovered,.mzn-playground .button.is-success.is-outlined:focus,.mzn-playground .button.is-success.is-outlined.is-focused{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground .button.is-success.is-outlined.is-loading:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground .button.is-success.is-outlined.is-loading:hover:after,.mzn-playground .button.is-success.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-success.is-outlined.is-loading:focus:after,.mzn-playground .button.is-success.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-success.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;box-shadow:none;color:#48c78e}.mzn-playground .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-success.is-inverted.is-outlined:hover,.mzn-playground .button.is-success.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-success.is-inverted.is-outlined:focus,.mzn-playground .button.is-success.is-inverted.is-outlined.is-focused{background-color:#fff;color:#48c78e}.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground .button.is-success.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-success.is-light{background-color:#effaf5;color:#257953}.mzn-playground .button.is-success.is-light:hover,.mzn-playground .button.is-success.is-light.is-hovered{background-color:#e6f7ef;border-color:transparent;color:#257953}.mzn-playground .button.is-success.is-light:active,.mzn-playground .button.is-success.is-light.is-active{background-color:#dcf4e9;border-color:transparent;color:#257953}.mzn-playground .button.is-warning{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:hover,.mzn-playground .button.is-warning.is-hovered{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:focus,.mzn-playground .button.is-warning.is-focused{border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:focus:not(:active),.mzn-playground .button.is-warning.is-focused:not(:active){box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .button.is-warning:active,.mzn-playground .button.is-warning.is-active{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning[disabled],fieldset[disabled] .mzn-playground .button.is-warning{background-color:#ffe08a;border-color:#ffe08a;box-shadow:none}.mzn-playground .button.is-warning.is-inverted{background-color:#000000b3;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted:hover,.mzn-playground .button.is-warning.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground .button.is-warning.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#ffe08a}.mzn-playground .button.is-warning.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;color:#ffe08a}.mzn-playground .button.is-warning.is-outlined:hover,.mzn-playground .button.is-warning.is-outlined.is-hovered,.mzn-playground .button.is-warning.is-outlined:focus,.mzn-playground .button.is-warning.is-outlined.is-focused{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground .button.is-warning.is-outlined.is-loading:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground .button.is-warning.is-outlined.is-loading:hover:after,.mzn-playground .button.is-warning.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-warning.is-outlined.is-loading:focus:after,.mzn-playground .button.is-warning.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-warning.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;box-shadow:none;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground .button.is-warning.is-inverted.is-outlined:hover,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-warning.is-inverted.is-outlined:focus,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground .button.is-warning.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground .button.is-warning.is-light{background-color:#fffaeb;color:#946c00}.mzn-playground .button.is-warning.is-light:hover,.mzn-playground .button.is-warning.is-light.is-hovered{background-color:#fff6de;border-color:transparent;color:#946c00}.mzn-playground .button.is-warning.is-light:active,.mzn-playground .button.is-warning.is-light.is-active{background-color:#fff3d1;border-color:transparent;color:#946c00}.mzn-playground .button.is-danger{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground .button.is-danger:hover,.mzn-playground .button.is-danger.is-hovered{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground .button.is-danger:focus,.mzn-playground .button.is-danger.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-danger:focus:not(:active),.mzn-playground .button.is-danger.is-focused:not(:active){box-shadow:0 0 0 .125em #f1466840}.mzn-playground .button.is-danger:active,.mzn-playground .button.is-danger.is-active{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground .button.is-danger[disabled],fieldset[disabled] .mzn-playground .button.is-danger{background-color:#f14668;border-color:#f14668;box-shadow:none}.mzn-playground .button.is-danger.is-inverted{background-color:#fff;color:#f14668}.mzn-playground .button.is-danger.is-inverted:hover,.mzn-playground .button.is-danger.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-danger.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#f14668}.mzn-playground .button.is-danger.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;color:#f14668}.mzn-playground .button.is-danger.is-outlined:hover,.mzn-playground .button.is-danger.is-outlined.is-hovered,.mzn-playground .button.is-danger.is-outlined:focus,.mzn-playground .button.is-danger.is-outlined.is-focused{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground .button.is-danger.is-outlined.is-loading:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground .button.is-danger.is-outlined.is-loading:hover:after,.mzn-playground .button.is-danger.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-danger.is-outlined.is-loading:focus:after,.mzn-playground .button.is-danger.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-danger.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;box-shadow:none;color:#f14668}.mzn-playground .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-danger.is-inverted.is-outlined:hover,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-danger.is-inverted.is-outlined:focus,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-focused{background-color:#fff;color:#f14668}.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground .button.is-danger.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.mzn-playground .button.is-danger.is-light:hover,.mzn-playground .button.is-danger.is-light.is-hovered{background-color:#fde0e6;border-color:transparent;color:#cc0f35}.mzn-playground .button.is-danger.is-light:active,.mzn-playground .button.is-danger.is-light.is-active{background-color:#fcd4dc;border-color:transparent;color:#cc0f35}.mzn-playground .button.is-small{font-size:.75rem}.mzn-playground .button.is-small:not(.is-rounded){border-radius:2px}.mzn-playground .button.is-normal{font-size:1rem}.mzn-playground .button.is-medium{font-size:1.25rem}.mzn-playground .button.is-large{font-size:1.5rem}.mzn-playground .button[disabled],fieldset[disabled] .mzn-playground .button{background-color:#fff;border-color:#dbdbdb;box-shadow:none;opacity:.5}.mzn-playground .button.is-fullwidth{display:flex;width:100%}.mzn-playground .button.is-loading{color:transparent!important;pointer-events:none}.mzn-playground .button.is-loading:after{position:absolute;left:calc(50% - .5em);top:calc(50% - .5em);position:absolute!important}.mzn-playground .button.is-static{background-color:#f5f5f5;border-color:#dbdbdb;color:#7a7a7a;box-shadow:none;pointer-events:none}.mzn-playground .button.is-rounded{border-radius:9999px;padding-left:1.25em;padding-right:1.25em}.mzn-playground .buttons{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.mzn-playground .buttons .button{margin-bottom:.5rem}.mzn-playground .buttons .button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}.mzn-playground .buttons:last-child{margin-bottom:-.5rem}.mzn-playground .buttons:not(:last-child){margin-bottom:1rem}.mzn-playground .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large){font-size:.75rem}.mzn-playground .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded){border-radius:2px}.mzn-playground .buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large){font-size:1.25rem}.mzn-playground .buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium){font-size:1.5rem}.mzn-playground .buttons.has-addons .button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .buttons.has-addons .button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.mzn-playground .buttons.has-addons .button:last-child{margin-right:0}.mzn-playground .buttons.has-addons .button:hover,.mzn-playground .buttons.has-addons .button.is-hovered{z-index:2}.mzn-playground .buttons.has-addons .button:focus,.mzn-playground .buttons.has-addons .button.is-focused,.mzn-playground .buttons.has-addons .button:active,.mzn-playground .buttons.has-addons .button.is-active,.mzn-playground .buttons.has-addons .button.is-selected{z-index:3}.mzn-playground .buttons.has-addons .button:focus:hover,.mzn-playground .buttons.has-addons .button.is-focused:hover,.mzn-playground .buttons.has-addons .button:active:hover,.mzn-playground .buttons.has-addons .button.is-active:hover,.mzn-playground .buttons.has-addons .button.is-selected:hover{z-index:4}.mzn-playground .buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .buttons.is-centered{justify-content:center}.mzn-playground .buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}.mzn-playground .buttons.is-right{justify-content:flex-end}.mzn-playground .buttons.is-right:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}@media screen and (max-width: 768px){.mzn-playground .button.is-responsive.is-small{font-size:.5625rem}.mzn-playground .button.is-responsive,.mzn-playground .button.is-responsive.is-normal{font-size:.65625rem}.mzn-playground .button.is-responsive.is-medium{font-size:.75rem}.mzn-playground .button.is-responsive.is-large{font-size:1rem}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .button.is-responsive.is-small{font-size:.65625rem}.mzn-playground .button.is-responsive,.mzn-playground .button.is-responsive.is-normal{font-size:.75rem}.mzn-playground .button.is-responsive.is-medium{font-size:1rem}.mzn-playground .button.is-responsive.is-large{font-size:1.25rem}}.mzn-playground .icon{align-items:center;display:inline-flex;justify-content:center;height:1.5rem;width:1.5rem}.mzn-playground .icon.is-small{height:1rem;width:1rem}.mzn-playground .icon.is-medium{height:2rem;width:2rem}.mzn-playground .icon.is-large{height:3rem;width:3rem}.mzn-playground .icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;line-height:1.5rem;vertical-align:top}.mzn-playground .icon-text .icon{flex-grow:0;flex-shrink:0}.mzn-playground .icon-text .icon:not(:last-child){margin-right:.25em}.mzn-playground .icon-text .icon:not(:first-child){margin-left:.25em}.mzn-playground div.icon-text{display:flex}.mzn-playground .table{background-color:#fff;color:#363636}.mzn-playground .table td,.mzn-playground .table th{border:1px solid hsl(0,0%,86%);border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.mzn-playground .table td.is-white,.mzn-playground .table th.is-white{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground .table td.is-black,.mzn-playground .table th.is-black{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground .table td.is-light,.mzn-playground .table th.is-light{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground .table td.is-dark,.mzn-playground .table th.is-dark{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground .table td.is-primary,.mzn-playground .table th.is-primary{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground .table td.is-link,.mzn-playground .table th.is-link{background-color:#485fc7;border-color:#485fc7;color:#fff}.mzn-playground .table td.is-info,.mzn-playground .table th.is-info{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground .table td.is-success,.mzn-playground .table th.is-success{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground .table td.is-warning,.mzn-playground .table th.is-warning{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground .table td.is-danger,.mzn-playground .table th.is-danger{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground .table td.is-narrow,.mzn-playground .table th.is-narrow{white-space:nowrap;width:1%}.mzn-playground .table td.is-selected,.mzn-playground .table th.is-selected{background-color:#1491eb;color:#fff}.mzn-playground .table td.is-selected a,.mzn-playground .table td.is-selected strong,.mzn-playground .table th.is-selected a,.mzn-playground .table th.is-selected strong{color:currentColor}.mzn-playground .table td.is-vcentered,.mzn-playground .table th.is-vcentered{vertical-align:middle}.mzn-playground .table th{color:#363636}.mzn-playground .table th:not([align]){text-align:left}.mzn-playground .table tr.is-selected{background-color:#1491eb;color:#fff}.mzn-playground .table tr.is-selected a,.mzn-playground .table tr.is-selected strong{color:currentColor}.mzn-playground .table tr.is-selected td,.mzn-playground .table tr.is-selected th{border-color:#fff;color:currentColor}.mzn-playground .table thead{background-color:transparent}.mzn-playground .table thead td,.mzn-playground .table thead th{border-width:0 0 2px;color:#363636}.mzn-playground .table tfoot{background-color:transparent}.mzn-playground .table tfoot td,.mzn-playground .table tfoot th{border-width:2px 0 0;color:#363636}.mzn-playground .table tbody{background-color:transparent}.mzn-playground .table tbody tr:last-child td,.mzn-playground .table tbody tr:last-child th{border-bottom-width:0}.mzn-playground .table.is-bordered td,.mzn-playground .table.is-bordered th{border-width:1px}.mzn-playground .table.is-bordered tr:last-child td,.mzn-playground .table.is-bordered tr:last-child th{border-bottom-width:1px}.mzn-playground .table.is-fullwidth{width:100%}.mzn-playground .table.is-hoverable tbody tr:not(.is-selected):hover{background-color:#fafafa}.mzn-playground .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:#fafafa}.mzn-playground .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n){background-color:#f5f5f5}.mzn-playground .table.is-narrow td,.mzn-playground .table.is-narrow th{padding:.25em .5em}.mzn-playground .table.is-striped tbody tr:not(.is-selected):nth-child(2n){background-color:#fafafa}.mzn-playground .table-container{-webkit-overflow-scrolling:touch;overflow:auto;overflow-y:hidden;max-width:100%}.mzn-playground .heading{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;text-transform:uppercase}.mzn-playground .number{align-items:center;background-color:#f5f5f5;border-radius:9999px;display:inline-flex;font-size:1.25rem;height:2em;justify-content:center;margin-right:1.5rem;min-width:2.5em;padding:.25rem .5rem;text-align:center;vertical-align:top}.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground .select select,.mzn-playground .textarea,.mzn-playground .input{background-color:#fff;border-color:#dbdbdb;border-radius:4px;color:#363636}.mzn-playground.is-dark .select select::-moz-placeholder,.mzn-playground.is-dark .textarea::-moz-placeholder,.mzn-playground.is-dark .input::-moz-placeholder,.mzn-playground .select select::-moz-placeholder,.mzn-playground .textarea::-moz-placeholder,.mzn-playground .input::-moz-placeholder{color:#3636364d}.mzn-playground.is-dark .select select::-webkit-input-placeholder,.mzn-playground.is-dark .textarea::-webkit-input-placeholder,.mzn-playground.is-dark .input::-webkit-input-placeholder,.mzn-playground .select select::-webkit-input-placeholder,.mzn-playground .textarea::-webkit-input-placeholder,.mzn-playground .input::-webkit-input-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:-moz-placeholder,.mzn-playground .select select:-moz-placeholder,.mzn-playground .textarea:-moz-placeholder,.mzn-playground .input:-moz-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:-ms-input-placeholder,.mzn-playground .select select:-ms-input-placeholder,.mzn-playground .textarea:-ms-input-placeholder,.mzn-playground .input:-ms-input-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:hover,.mzn-playground .select select:hover,.mzn-playground .textarea:hover,.mzn-playground .input:hover,.mzn-playground.is-dark .select select.is-hovered,.mzn-playground .select select.is-hovered,.mzn-playground .is-hovered.textarea,.mzn-playground .is-hovered.input{border-color:#b5b5b5}.mzn-playground.is-dark .select select:focus,.mzn-playground .select select:focus,.mzn-playground .textarea:focus,.mzn-playground .input:focus,.mzn-playground.is-dark .select select.is-focused,.mzn-playground .select select.is-focused,.mzn-playground .is-focused.textarea,.mzn-playground .is-focused.input,.mzn-playground.is-dark .select select:active,.mzn-playground .select select:active,.mzn-playground .textarea:active,.mzn-playground .input:active,.mzn-playground.is-dark .select select.is-active,.mzn-playground .select select.is-active,.mzn-playground .is-active.textarea,.mzn-playground .is-active.input{border-color:#485fc7;box-shadow:0 0 0 .125em #485fc740}.mzn-playground.is-dark .select select[disabled],.mzn-playground .select select[disabled],.mzn-playground [disabled].textarea,.mzn-playground [disabled].input,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground .select select,fieldset[disabled] .mzn-playground .textarea,fieldset[disabled] .mzn-playground .input{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none;color:#7a7a7a}.mzn-playground.is-dark .select select[disabled]::-moz-placeholder,.mzn-playground .select select[disabled]::-moz-placeholder,.mzn-playground [disabled].textarea::-moz-placeholder,.mzn-playground [disabled].input::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-moz-placeholder,fieldset[disabled] .mzn-playground .select select::-moz-placeholder,fieldset[disabled] .mzn-playground .textarea::-moz-placeholder,fieldset[disabled] .mzn-playground .input::-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]::-webkit-input-placeholder,.mzn-playground .select select[disabled]::-webkit-input-placeholder,.mzn-playground [disabled].textarea::-webkit-input-placeholder,.mzn-playground [disabled].input::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .textarea::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .input::-webkit-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-moz-placeholder,.mzn-playground .select select[disabled]:-moz-placeholder,.mzn-playground [disabled].textarea:-moz-placeholder,.mzn-playground [disabled].input:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-moz-placeholder,fieldset[disabled] .mzn-playground .select select:-moz-placeholder,fieldset[disabled] .mzn-playground .textarea:-moz-placeholder,fieldset[disabled] .mzn-playground .input:-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-ms-input-placeholder,.mzn-playground .select select[disabled]:-ms-input-placeholder,.mzn-playground [disabled].textarea:-ms-input-placeholder,.mzn-playground [disabled].input:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground .textarea:-ms-input-placeholder,fieldset[disabled] .mzn-playground .input:-ms-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground .textarea,.mzn-playground .input{box-shadow:inset 0 .0625em .125em #0a0a0a0d;max-width:100%;width:100%}.mzn-playground [readonly].textarea,.mzn-playground [readonly].input{box-shadow:none}.mzn-playground .is-white.textarea,.mzn-playground .is-white.input{border-color:#fff}.mzn-playground .is-white.textarea:focus,.mzn-playground .is-white.input:focus,.mzn-playground .is-white.is-focused.textarea,.mzn-playground .is-white.is-focused.input,.mzn-playground .is-white.textarea:active,.mzn-playground .is-white.input:active,.mzn-playground .is-white.is-active.textarea,.mzn-playground .is-white.is-active.input{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .is-black.textarea,.mzn-playground .is-black.input{border-color:#0a0a0a}.mzn-playground .is-black.textarea:focus,.mzn-playground .is-black.input:focus,.mzn-playground .is-black.is-focused.textarea,.mzn-playground .is-black.is-focused.input,.mzn-playground .is-black.textarea:active,.mzn-playground .is-black.input:active,.mzn-playground .is-black.is-active.textarea,.mzn-playground .is-black.is-active.input{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .is-light.textarea,.mzn-playground .is-light.input{border-color:#f5f5f5}.mzn-playground .is-light.textarea:focus,.mzn-playground .is-light.input:focus,.mzn-playground .is-light.is-focused.textarea,.mzn-playground .is-light.is-focused.input,.mzn-playground .is-light.textarea:active,.mzn-playground .is-light.input:active,.mzn-playground .is-light.is-active.textarea,.mzn-playground .is-light.is-active.input{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .is-dark.textarea,.mzn-playground .is-dark.input{border-color:#363636}.mzn-playground .is-dark.textarea:focus,.mzn-playground .is-dark.input:focus,.mzn-playground .is-dark.is-focused.textarea,.mzn-playground .is-dark.is-focused.input,.mzn-playground .is-dark.textarea:active,.mzn-playground .is-dark.input:active,.mzn-playground .is-dark.is-active.textarea,.mzn-playground .is-dark.is-active.input{box-shadow:0 0 0 .125em #36363640}.mzn-playground .is-primary.textarea,.mzn-playground .is-primary.input{border-color:#1491eb}.mzn-playground .is-primary.textarea:focus,.mzn-playground .is-primary.input:focus,.mzn-playground .is-primary.is-focused.textarea,.mzn-playground .is-primary.is-focused.input,.mzn-playground .is-primary.textarea:active,.mzn-playground .is-primary.input:active,.mzn-playground .is-primary.is-active.textarea,.mzn-playground .is-primary.is-active.input{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .is-link.textarea,.mzn-playground .is-link.input{border-color:#485fc7}.mzn-playground .is-link.textarea:focus,.mzn-playground .is-link.input:focus,.mzn-playground .is-link.is-focused.textarea,.mzn-playground .is-link.is-focused.input,.mzn-playground .is-link.textarea:active,.mzn-playground .is-link.input:active,.mzn-playground .is-link.is-active.textarea,.mzn-playground .is-link.is-active.input{box-shadow:0 0 0 .125em #485fc740}.mzn-playground .is-info.textarea,.mzn-playground .is-info.input{border-color:#3e8ed0}.mzn-playground .is-info.textarea:focus,.mzn-playground .is-info.input:focus,.mzn-playground .is-info.is-focused.textarea,.mzn-playground .is-info.is-focused.input,.mzn-playground .is-info.textarea:active,.mzn-playground .is-info.input:active,.mzn-playground .is-info.is-active.textarea,.mzn-playground .is-info.is-active.input{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .is-success.textarea,.mzn-playground .is-success.input{border-color:#48c78e}.mzn-playground .is-success.textarea:focus,.mzn-playground .is-success.input:focus,.mzn-playground .is-success.is-focused.textarea,.mzn-playground .is-success.is-focused.input,.mzn-playground .is-success.textarea:active,.mzn-playground .is-success.input:active,.mzn-playground .is-success.is-active.textarea,.mzn-playground .is-success.is-active.input{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .is-warning.textarea,.mzn-playground .is-warning.input{border-color:#ffe08a}.mzn-playground .is-warning.textarea:focus,.mzn-playground .is-warning.input:focus,.mzn-playground .is-warning.is-focused.textarea,.mzn-playground .is-warning.is-focused.input,.mzn-playground .is-warning.textarea:active,.mzn-playground .is-warning.input:active,.mzn-playground .is-warning.is-active.textarea,.mzn-playground .is-warning.is-active.input{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .is-danger.textarea,.mzn-playground .is-danger.input{border-color:#f14668}.mzn-playground .is-danger.textarea:focus,.mzn-playground .is-danger.input:focus,.mzn-playground .is-danger.is-focused.textarea,.mzn-playground .is-danger.is-focused.input,.mzn-playground .is-danger.textarea:active,.mzn-playground .is-danger.input:active,.mzn-playground .is-danger.is-active.textarea,.mzn-playground .is-danger.is-active.input{box-shadow:0 0 0 .125em #f1466840}.mzn-playground .is-small.textarea,.mzn-playground .is-small.input{border-radius:2px;font-size:.75rem}.mzn-playground .is-medium.textarea,.mzn-playground .is-medium.input{font-size:1.25rem}.mzn-playground .is-large.textarea,.mzn-playground .is-large.input{font-size:1.5rem}.mzn-playground .is-fullwidth.textarea,.mzn-playground .is-fullwidth.input{display:block;width:100%}.mzn-playground .is-inline.textarea,.mzn-playground .is-inline.input{display:inline;width:auto}.mzn-playground .input.is-rounded{border-radius:9999px;padding-left:calc(1.125em - 1px);padding-right:calc(1.125em - 1px)}.mzn-playground .input.is-static{background-color:transparent;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}.mzn-playground .textarea{display:block;max-width:100%;min-width:100%;padding:calc(.75em - 1px);resize:vertical}.mzn-playground .textarea:not([rows]){max-height:40em;min-height:8em}.mzn-playground .textarea[rows]{height:initial}.mzn-playground .textarea.has-fixed-size{resize:none}.mzn-playground.is-dark .radio,.mzn-playground.is-dark .checkbox,.mzn-playground .radio,.mzn-playground .checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.mzn-playground.is-dark .radio input,.mzn-playground.is-dark .checkbox input,.mzn-playground .radio input,.mzn-playground .checkbox input{cursor:pointer}.mzn-playground .radio:hover,.mzn-playground .checkbox:hover{color:#363636}.mzn-playground [disabled].radio,.mzn-playground [disabled].checkbox,fieldset[disabled] .mzn-playground .radio,fieldset[disabled] .mzn-playground .checkbox,.mzn-playground .radio input[disabled],.mzn-playground .checkbox input[disabled]{color:#7a7a7a;cursor:not-allowed}.mzn-playground .radio+.radio{margin-left:.5em}.mzn-playground .select{display:inline-block;max-width:100%;position:relative;vertical-align:top}.mzn-playground .select:not(.is-multiple){height:2.5em}.mzn-playground .select:not(.is-multiple):not(.is-loading):after{border-color:#485fc7;right:1.125em;z-index:4}.mzn-playground .select.is-rounded select{border-radius:9999px;padding-left:1em}.mzn-playground .select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.mzn-playground .select select::-ms-expand{display:none}.mzn-playground .select select[disabled]:hover,fieldset[disabled] .mzn-playground .select select:hover{border-color:#f5f5f5}.mzn-playground .select select:not([multiple]){padding-right:2.5em}.mzn-playground .select select[multiple]{height:auto;padding:0}.mzn-playground .select select[multiple] option{padding:.5em 1em}.mzn-playground .select:not(.is-multiple):not(.is-loading):hover:after{border-color:#363636}.mzn-playground .select.is-white:not(:hover):after{border-color:#fff}.mzn-playground .select.is-white select{border-color:#fff}.mzn-playground .select.is-white select:hover,.mzn-playground .select.is-white select.is-hovered{border-color:#f2f2f2}.mzn-playground .select.is-white select:focus,.mzn-playground .select.is-white select.is-focused,.mzn-playground .select.is-white select:active,.mzn-playground .select.is-white select.is-active{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .select.is-black:not(:hover):after{border-color:#0a0a0a}.mzn-playground .select.is-black select{border-color:#0a0a0a}.mzn-playground .select.is-black select:hover,.mzn-playground .select.is-black select.is-hovered{border-color:#000}.mzn-playground .select.is-black select:focus,.mzn-playground .select.is-black select.is-focused,.mzn-playground .select.is-black select:active,.mzn-playground .select.is-black select.is-active{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .select.is-light:not(:hover):after{border-color:#f5f5f5}.mzn-playground .select.is-light select{border-color:#f5f5f5}.mzn-playground .select.is-light select:hover,.mzn-playground .select.is-light select.is-hovered{border-color:#e8e8e8}.mzn-playground .select.is-light select:focus,.mzn-playground .select.is-light select.is-focused,.mzn-playground .select.is-light select:active,.mzn-playground .select.is-light select.is-active{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .select.is-dark:not(:hover):after{border-color:#363636}.mzn-playground .select.is-dark select{border-color:#363636}.mzn-playground .select.is-dark select:hover,.mzn-playground .select.is-dark select.is-hovered{border-color:#292929}.mzn-playground .select.is-dark select:focus,.mzn-playground .select.is-dark select.is-focused,.mzn-playground .select.is-dark select:active,.mzn-playground .select.is-dark select.is-active{box-shadow:0 0 0 .125em #36363640}.mzn-playground .select.is-primary:not(:hover):after{border-color:#1491eb}.mzn-playground .select.is-primary select{border-color:#1491eb}.mzn-playground .select.is-primary select:hover,.mzn-playground .select.is-primary select.is-hovered{border-color:#1283d4}.mzn-playground .select.is-primary select:focus,.mzn-playground .select.is-primary select.is-focused,.mzn-playground .select.is-primary select:active,.mzn-playground .select.is-primary select.is-active{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .select.is-link:not(:hover):after{border-color:#485fc7}.mzn-playground .select.is-link select{border-color:#485fc7}.mzn-playground .select.is-link select:hover,.mzn-playground .select.is-link select.is-hovered{border-color:#3a51bb}.mzn-playground .select.is-link select:focus,.mzn-playground .select.is-link select.is-focused,.mzn-playground .select.is-link select:active,.mzn-playground .select.is-link select.is-active{box-shadow:0 0 0 .125em #485fc740}.mzn-playground .select.is-info:not(:hover):after{border-color:#3e8ed0}.mzn-playground .select.is-info select{border-color:#3e8ed0}.mzn-playground .select.is-info select:hover,.mzn-playground .select.is-info select.is-hovered{border-color:#3082c5}.mzn-playground .select.is-info select:focus,.mzn-playground .select.is-info select.is-focused,.mzn-playground .select.is-info select:active,.mzn-playground .select.is-info select.is-active{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .select.is-success:not(:hover):after{border-color:#48c78e}.mzn-playground .select.is-success select{border-color:#48c78e}.mzn-playground .select.is-success select:hover,.mzn-playground .select.is-success select.is-hovered{border-color:#3abb81}.mzn-playground .select.is-success select:focus,.mzn-playground .select.is-success select.is-focused,.mzn-playground .select.is-success select:active,.mzn-playground .select.is-success select.is-active{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .select.is-warning:not(:hover):after{border-color:#ffe08a}.mzn-playground .select.is-warning select{border-color:#ffe08a}.mzn-playground .select.is-warning select:hover,.mzn-playground .select.is-warning select.is-hovered{border-color:#ffd970}.mzn-playground .select.is-warning select:focus,.mzn-playground .select.is-warning select.is-focused,.mzn-playground .select.is-warning select:active,.mzn-playground .select.is-warning select.is-active{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .select.is-danger:not(:hover):after{border-color:#f14668}.mzn-playground .select.is-danger select{border-color:#f14668}.mzn-playground .select.is-danger select:hover,.mzn-playground .select.is-danger select.is-hovered{border-color:#ef2e55}.mzn-playground .select.is-danger select:focus,.mzn-playground .select.is-danger select.is-focused,.mzn-playground .select.is-danger select:active,.mzn-playground .select.is-danger select.is-active{box-shadow:0 0 0 .125em #f1466840}.mzn-playground .select.is-small{border-radius:2px;font-size:.75rem}.mzn-playground .select.is-medium{font-size:1.25rem}.mzn-playground .select.is-large{font-size:1.5rem}.mzn-playground .select.is-disabled:after{border-color:#7a7a7a!important;opacity:.5}.mzn-playground .select.is-fullwidth,.mzn-playground .select.is-fullwidth select{width:100%}.mzn-playground .select.is-loading:after{margin-top:0;position:absolute;right:.625em;top:.625em;transform:none}.mzn-playground .select.is-loading.is-small:after{font-size:.75rem}.mzn-playground .select.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground .select.is-loading.is-large:after{font-size:1.5rem}.mzn-playground .file{align-items:stretch;display:flex;justify-content:flex-start;position:relative}.mzn-playground .file.is-white .file-cta{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-white:hover .file-cta,.mzn-playground .file.is-white.is-hovered .file-cta{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-white:focus .file-cta,.mzn-playground .file.is-white.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffffff40;color:#0a0a0a}.mzn-playground .file.is-white:active .file-cta,.mzn-playground .file.is-white.is-active .file-cta{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-black .file-cta{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground .file.is-black:hover .file-cta,.mzn-playground .file.is-black.is-hovered .file-cta{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground .file.is-black:focus .file-cta,.mzn-playground .file.is-black.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #0a0a0a40;color:#fff}.mzn-playground .file.is-black:active .file-cta,.mzn-playground .file.is-black.is-active .file-cta{background-color:#000;border-color:transparent;color:#fff}.mzn-playground .file.is-light .file-cta{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground .file.is-light:hover .file-cta,.mzn-playground .file.is-light.is-hovered .file-cta{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground .file.is-light:focus .file-cta,.mzn-playground .file.is-light.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f5f5f540;color:#000000b3}.mzn-playground .file.is-light:active .file-cta,.mzn-playground .file.is-light.is-active .file-cta{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground .file.is-dark .file-cta{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground .file.is-dark:hover .file-cta,.mzn-playground .file.is-dark.is-hovered .file-cta{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground .file.is-dark:focus .file-cta,.mzn-playground .file.is-dark.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #36363640;color:#fff}.mzn-playground .file.is-dark:active .file-cta,.mzn-playground .file.is-dark.is-active .file-cta{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground .file.is-primary .file-cta{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground .file.is-primary:hover .file-cta,.mzn-playground .file.is-primary.is-hovered .file-cta{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground .file.is-primary:focus .file-cta,.mzn-playground .file.is-primary.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #1491eb40;color:#fff}.mzn-playground .file.is-primary:active .file-cta,.mzn-playground .file.is-primary.is-active .file-cta{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground .file.is-link .file-cta{background-color:#485fc7;border-color:transparent;color:#fff}.mzn-playground .file.is-link:hover .file-cta,.mzn-playground .file.is-link.is-hovered .file-cta{background-color:#3e56c4;border-color:transparent;color:#fff}.mzn-playground .file.is-link:focus .file-cta,.mzn-playground .file.is-link.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #485fc740;color:#fff}.mzn-playground .file.is-link:active .file-cta,.mzn-playground .file.is-link.is-active .file-cta{background-color:#3a51bb;border-color:transparent;color:#fff}.mzn-playground .file.is-info .file-cta{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground .file.is-info:hover .file-cta,.mzn-playground .file.is-info.is-hovered .file-cta{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground .file.is-info:focus .file-cta,.mzn-playground .file.is-info.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #3e8ed040;color:#fff}.mzn-playground .file.is-info:active .file-cta,.mzn-playground .file.is-info.is-active .file-cta{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground .file.is-success .file-cta{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground .file.is-success:hover .file-cta,.mzn-playground .file.is-success.is-hovered .file-cta{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground .file.is-success:focus .file-cta,.mzn-playground .file.is-success.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #48c78e40;color:#fff}.mzn-playground .file.is-success:active .file-cta,.mzn-playground .file.is-success.is-active .file-cta{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground .file.is-warning .file-cta{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground .file.is-warning:hover .file-cta,.mzn-playground .file.is-warning.is-hovered .file-cta{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground .file.is-warning:focus .file-cta,.mzn-playground .file.is-warning.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffe08a40;color:#000000b3}.mzn-playground .file.is-warning:active .file-cta,.mzn-playground .file.is-warning.is-active .file-cta{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground .file.is-danger .file-cta{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground .file.is-danger:hover .file-cta,.mzn-playground .file.is-danger.is-hovered .file-cta{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground .file.is-danger:focus .file-cta,.mzn-playground .file.is-danger.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f1466840;color:#fff}.mzn-playground .file.is-danger:active .file-cta,.mzn-playground .file.is-danger.is-active .file-cta{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground .file.is-small{font-size:.75rem}.mzn-playground .file.is-normal{font-size:1rem}.mzn-playground .file.is-medium{font-size:1.25rem}.mzn-playground .file.is-medium .file-icon .fa{font-size:21px}.mzn-playground .file.is-large{font-size:1.5rem}.mzn-playground .file.is-large .file-icon .fa{font-size:28px}.mzn-playground .file.has-name .file-cta{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground .file.has-name .file-name{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .file.has-name.is-empty .file-cta{border-radius:4px}.mzn-playground .file.has-name.is-empty .file-name{display:none}.mzn-playground .file.is-boxed .file-label{flex-direction:column}.mzn-playground .file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.mzn-playground .file.is-boxed .file-name{border-width:0 1px 1px}.mzn-playground .file.is-boxed .file-icon{height:1.5em;width:1.5em}.mzn-playground .file.is-boxed .file-icon .fa{font-size:21px}.mzn-playground .file.is-boxed.is-small .file-icon .fa{font-size:14px}.mzn-playground .file.is-boxed.is-medium .file-icon .fa{font-size:28px}.mzn-playground .file.is-boxed.is-large .file-icon .fa{font-size:35px}.mzn-playground .file.is-boxed.has-name .file-cta{border-radius:4px 4px 0 0}.mzn-playground .file.is-boxed.has-name .file-name{border-radius:0 0 4px 4px;border-width:0 1px 1px}.mzn-playground .file.is-centered{justify-content:center}.mzn-playground .file.is-fullwidth .file-label{width:100%}.mzn-playground .file.is-fullwidth .file-name{flex-grow:1;max-width:none}.mzn-playground .file.is-right{justify-content:flex-end}.mzn-playground .file.is-right .file-cta{border-radius:0 4px 4px 0}.mzn-playground .file.is-right .file-name{border-radius:4px 0 0 4px;border-width:1px 0 1px 1px;order:-1}.mzn-playground .file-label{align-items:stretch;display:flex;cursor:pointer;justify-content:flex-start;overflow:hidden;position:relative}.mzn-playground .file-label:hover .file-cta{background-color:#eee;color:#363636}.mzn-playground .file-label:hover .file-name{border-color:#d5d5d5}.mzn-playground .file-label:active .file-cta{background-color:#e8e8e8;color:#363636}.mzn-playground .file-label:active .file-name{border-color:#cfcfcf}.mzn-playground .file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.mzn-playground .file-cta,.mzn-playground .file-name{border-color:#dbdbdb;border-radius:4px;font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.mzn-playground .file-cta{background-color:#f5f5f5;color:#4a4a4a}.mzn-playground .file-name{border-color:#dbdbdb;border-style:solid;border-width:1px 1px 1px 0;display:block;max-width:16em;overflow:hidden;text-align:inherit;text-overflow:ellipsis}.mzn-playground .file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-right:.5em;width:1em}.mzn-playground .file-icon .fa{font-size:14px}.mzn-playground .label{color:#363636;display:block;font-size:1rem;font-weight:700}.mzn-playground .label:not(:last-child){margin-bottom:.5em}.mzn-playground .label.is-small{font-size:.75rem}.mzn-playground .label.is-medium{font-size:1.25rem}.mzn-playground .label.is-large{font-size:1.5rem}.mzn-playground .help{display:block;font-size:.75rem;margin-top:.25rem}.mzn-playground .help.is-white{color:#fff}.mzn-playground .help.is-black{color:#0a0a0a}.mzn-playground .help.is-light{color:#f5f5f5}.mzn-playground .help.is-dark{color:#363636}.mzn-playground .help.is-primary{color:#1491eb}.mzn-playground .help.is-link{color:#485fc7}.mzn-playground .help.is-info{color:#3e8ed0}.mzn-playground .help.is-success{color:#48c78e}.mzn-playground .help.is-warning{color:#ffe08a}.mzn-playground .help.is-danger{color:#f14668}.mzn-playground .field:not(:last-child){margin-bottom:.75rem}.mzn-playground .field.has-addons{display:flex;justify-content:flex-start}.mzn-playground .field.has-addons .control:not(:last-child){margin-right:-1px}.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .button,.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .input,.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.mzn-playground .field.has-addons .control:first-child:not(:only-child) .button,.mzn-playground .field.has-addons .control:first-child:not(:only-child) .input,.mzn-playground .field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground .field.has-addons .control:last-child:not(:only-child) .button,.mzn-playground .field.has-addons .control:last-child:not(:only-child) .input,.mzn-playground .field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .field.has-addons .control .button:not([disabled]):hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-hovered,.mzn-playground .field.has-addons .control .input:not([disabled]):hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-hovered,.mzn-playground .field.has-addons .control .select select:not([disabled]):hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-hovered{z-index:2}.mzn-playground .field.has-addons .control .button:not([disabled]):focus,.mzn-playground .field.has-addons .control .button:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .button:not([disabled]):active,.mzn-playground .field.has-addons .control .button:not([disabled]).is-active,.mzn-playground .field.has-addons .control .input:not([disabled]):focus,.mzn-playground .field.has-addons .control .input:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .input:not([disabled]):active,.mzn-playground .field.has-addons .control .input:not([disabled]).is-active,.mzn-playground .field.has-addons .control .select select:not([disabled]):focus,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .select select:not([disabled]):active,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-active{z-index:3}.mzn-playground .field.has-addons .control .button:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .button:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-active:hover,.mzn-playground .field.has-addons .control .input:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .input:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-active:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-active:hover{z-index:4}.mzn-playground .field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .field.has-addons.has-addons-centered{justify-content:center}.mzn-playground .field.has-addons.has-addons-right{justify-content:flex-end}.mzn-playground .field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.mzn-playground .field.is-grouped{display:flex;justify-content:flex-start}.mzn-playground .field.is-grouped>.control{flex-shrink:0}.mzn-playground .field.is-grouped>.control:not(:last-child){margin-bottom:0;margin-right:.75rem}.mzn-playground .field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .field.is-grouped.is-grouped-centered{justify-content:center}.mzn-playground .field.is-grouped.is-grouped-right{justify-content:flex-end}.mzn-playground .field.is-grouped.is-grouped-multiline{flex-wrap:wrap}.mzn-playground .field.is-grouped.is-grouped-multiline>.control:last-child,.mzn-playground .field.is-grouped.is-grouped-multiline>.control:not(:last-child){margin-bottom:.75rem}.mzn-playground .field.is-grouped.is-grouped-multiline:last-child{margin-bottom:-.75rem}.mzn-playground .field.is-grouped.is-grouped-multiline:not(:last-child){margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground .field.is-horizontal{display:flex}}.mzn-playground .field-label .label{font-size:inherit}@media screen and (max-width: 768px){.mzn-playground .field-label{margin-bottom:.5rem}}@media screen and (min-width: 769px),print{.mzn-playground .field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}.mzn-playground .field-label.is-small{font-size:.75rem;padding-top:.375em}.mzn-playground .field-label.is-normal{padding-top:.375em}.mzn-playground .field-label.is-medium{font-size:1.25rem;padding-top:.375em}.mzn-playground .field-label.is-large{font-size:1.5rem;padding-top:.375em}}.mzn-playground .field-body .field .field{margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground .field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.mzn-playground .field-body .field{margin-bottom:0}.mzn-playground .field-body>.field{flex-shrink:1}.mzn-playground .field-body>.field:not(.is-narrow){flex-grow:1}.mzn-playground .field-body>.field:not(:last-child){margin-right:.75rem}}.mzn-playground .control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:inherit}.mzn-playground .control.has-icons-left .input:focus~.icon,.mzn-playground .control.has-icons-left .select:focus~.icon,.mzn-playground .control.has-icons-right .input:focus~.icon,.mzn-playground .control.has-icons-right .select:focus~.icon{color:#4a4a4a}.mzn-playground .control.has-icons-left .input.is-small~.icon,.mzn-playground .control.has-icons-left .select.is-small~.icon,.mzn-playground .control.has-icons-right .input.is-small~.icon,.mzn-playground .control.has-icons-right .select.is-small~.icon{font-size:.75rem}.mzn-playground .control.has-icons-left .input.is-medium~.icon,.mzn-playground .control.has-icons-left .select.is-medium~.icon,.mzn-playground .control.has-icons-right .input.is-medium~.icon,.mzn-playground .control.has-icons-right .select.is-medium~.icon{font-size:1.25rem}.mzn-playground .control.has-icons-left .input.is-large~.icon,.mzn-playground .control.has-icons-left .select.is-large~.icon,.mzn-playground .control.has-icons-right .input.is-large~.icon,.mzn-playground .control.has-icons-right .select.is-large~.icon{font-size:1.5rem}.mzn-playground .control.has-icons-left .icon,.mzn-playground .control.has-icons-right .icon{color:#dbdbdb;height:2.5em;pointer-events:none;position:absolute;top:0;width:2.5em;z-index:4}.mzn-playground .control.has-icons-left .input,.mzn-playground .control.has-icons-left .select select{padding-left:2.5em}.mzn-playground .control.has-icons-left .icon.is-left{left:0}.mzn-playground .control.has-icons-right .input,.mzn-playground .control.has-icons-right .select select{padding-right:2.5em}.mzn-playground .control.has-icons-right .icon.is-right{right:0}.mzn-playground .control.is-loading:after{position:absolute!important;right:.625em;top:.625em;z-index:4}.mzn-playground .control.is-loading.is-small:after{font-size:.75rem}.mzn-playground .control.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground .control.is-loading.is-large:after{font-size:1.5rem}.mzn-playground .dropdown{display:inline-flex;position:relative;vertical-align:top}.mzn-playground .dropdown.is-active .dropdown-menu,.mzn-playground .dropdown.is-hoverable:hover .dropdown-menu{display:block}.mzn-playground .dropdown.is-right .dropdown-menu{left:auto;right:0}.mzn-playground .dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:4px;padding-top:initial;top:auto}.mzn-playground .dropdown-menu{display:none;left:0;min-width:12rem;padding-top:4px;position:absolute;top:100%;z-index:20}.mzn-playground .dropdown-content{background-color:#fff;border-radius:4px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground .dropdown-item{color:#4a4a4a;display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem;position:relative}.mzn-playground a.dropdown-item,.mzn-playground button.dropdown-item{padding-right:3rem;text-align:inherit;white-space:nowrap;width:100%}.mzn-playground a.dropdown-item:hover,.mzn-playground button.dropdown-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground a.dropdown-item.is-active,.mzn-playground button.dropdown-item.is-active{background-color:#485fc7;color:#fff}.mzn-playground .dropdown-divider{background-color:#ededed;border:none;display:block;height:1px;margin:.5rem 0}.mzn-playground .menu{font-size:1rem}.mzn-playground .menu.is-small{font-size:.75rem}.mzn-playground .menu.is-medium{font-size:1.25rem}.mzn-playground .menu.is-large{font-size:1.5rem}.mzn-playground .menu-list{line-height:1.25}.mzn-playground .menu-list a{border-radius:2px;color:#4a4a4a;display:block;padding:.5em .75em}.mzn-playground .menu-list a:hover{background-color:#f5f5f5;color:#363636}.mzn-playground .menu-list a.is-active{background-color:#485fc7;color:#fff}.mzn-playground .menu-list li ul{border-left:1px solid hsl(0,0%,86%);margin:.75em;padding-left:.75em}.mzn-playground .menu-label{color:#7a7a7a;font-size:.75em;letter-spacing:.1em;text-transform:uppercase}.mzn-playground .menu-label:not(:first-child){margin-top:1em}.mzn-playground .menu-label:not(:last-child){margin-bottom:1em}.mzn-playground .modal{align-items:center;display:none;flex-direction:column;justify-content:center;overflow:hidden;position:fixed;z-index:40}.mzn-playground .modal.is-active{display:flex}.mzn-playground .modal-background{background-color:#0a0a0adb}.mzn-playground .modal-content,.mzn-playground .modal-card{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media screen and (min-width: 769px){.mzn-playground .modal-content,.mzn-playground .modal-card{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.mzn-playground .modal-close{background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.mzn-playground .modal-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden;-ms-overflow-y:visible}.mzn-playground .modal-card-head,.mzn-playground .modal-card-foot{align-items:center;background-color:#f5f5f5;display:flex;flex-shrink:0;justify-content:flex-start;padding:20px;position:relative}.mzn-playground .modal-card-head{border-bottom:1px solid hsl(0,0%,86%);border-top-left-radius:6px;border-top-right-radius:6px}.mzn-playground .modal-card-title{color:#363636;flex-grow:1;flex-shrink:0;font-size:1.5rem;line-height:1}.mzn-playground .modal-card-foot{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid hsl(0,0%,86%)}.mzn-playground .modal-card-foot .button:not(:last-child){margin-right:.5em}.mzn-playground .modal-card-body{-webkit-overflow-scrolling:touch;background-color:#fff;flex-grow:1;flex-shrink:1;overflow:auto;padding:20px}.mzn-playground .navbar{background-color:#fff;min-height:3.25rem;position:relative;z-index:30}.mzn-playground .navbar.is-white{background-color:#fff;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand>.navbar-item,.mzn-playground .navbar.is-white .navbar-brand .navbar-link{color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-brand .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand .navbar-link:after{border-color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-burger{color:#0a0a0a}@media screen and (min-width: 769px){.mzn-playground .navbar.is-white .navbar-start>.navbar-item,.mzn-playground .navbar.is-white .navbar-start .navbar-link,.mzn-playground .navbar.is-white .navbar-end>.navbar-item,.mzn-playground .navbar.is-white .navbar-end .navbar-link{color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-end .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-start .navbar-link:after,.mzn-playground .navbar.is-white .navbar-end .navbar-link:after{border-color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-dropdown a.navbar-item.is-active{background-color:#fff;color:#0a0a0a}}.mzn-playground .navbar.is-black{background-color:#0a0a0a;color:#fff}.mzn-playground .navbar.is-black .navbar-brand>.navbar-item,.mzn-playground .navbar.is-black .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-brand .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-black .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-black .navbar-start>.navbar-item,.mzn-playground .navbar.is-black .navbar-start .navbar-link,.mzn-playground .navbar.is-black .navbar-end>.navbar-item,.mzn-playground .navbar.is-black .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-black .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-end .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-start .navbar-link:after,.mzn-playground .navbar.is-black .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-dropdown a.navbar-item.is-active{background-color:#0a0a0a;color:#fff}}.mzn-playground .navbar.is-light{background-color:#f5f5f5;color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand>.navbar-item,.mzn-playground .navbar.is-light .navbar-brand .navbar-link{color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-brand .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-light .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground .navbar.is-light .navbar-start>.navbar-item,.mzn-playground .navbar.is-light .navbar-start .navbar-link,.mzn-playground .navbar.is-light .navbar-end>.navbar-item,.mzn-playground .navbar.is-light .navbar-end .navbar-link{color:#000000b3}.mzn-playground .navbar.is-light .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-end .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-start .navbar-link:after,.mzn-playground .navbar.is-light .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#000000b3}}.mzn-playground .navbar.is-dark{background-color:#363636;color:#fff}.mzn-playground .navbar.is-dark .navbar-brand>.navbar-item,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-dark .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-dark .navbar-start>.navbar-item,.mzn-playground .navbar.is-dark .navbar-start .navbar-link,.mzn-playground .navbar.is-dark .navbar-end>.navbar-item,.mzn-playground .navbar.is-dark .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-end .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-start .navbar-link:after,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#363636;color:#fff}}.mzn-playground .navbar.is-primary{background-color:#1491eb;color:#fff}.mzn-playground .navbar.is-primary .navbar-brand>.navbar-item,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-primary .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-primary .navbar-start>.navbar-item,.mzn-playground .navbar.is-primary .navbar-start .navbar-link,.mzn-playground .navbar.is-primary .navbar-end>.navbar-item,.mzn-playground .navbar.is-primary .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-end .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-start .navbar-link:after,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-dropdown a.navbar-item.is-active{background-color:#1491eb;color:#fff}}.mzn-playground .navbar.is-link{background-color:#485fc7;color:#fff}.mzn-playground .navbar.is-link .navbar-brand>.navbar-item,.mzn-playground .navbar.is-link .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-brand .navbar-link.is-active{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-link .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-link .navbar-start>.navbar-item,.mzn-playground .navbar.is-link .navbar-start .navbar-link,.mzn-playground .navbar.is-link .navbar-end>.navbar-item,.mzn-playground .navbar.is-link .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-link .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-end .navbar-link.is-active{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-start .navbar-link:after,.mzn-playground .navbar.is-link .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-dropdown a.navbar-item.is-active{background-color:#485fc7;color:#fff}}.mzn-playground .navbar.is-info{background-color:#3e8ed0;color:#fff}.mzn-playground .navbar.is-info .navbar-brand>.navbar-item,.mzn-playground .navbar.is-info .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-brand .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-info .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-info .navbar-start>.navbar-item,.mzn-playground .navbar.is-info .navbar-start .navbar-link,.mzn-playground .navbar.is-info .navbar-end>.navbar-item,.mzn-playground .navbar.is-info .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-info .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-end .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-start .navbar-link:after,.mzn-playground .navbar.is-info .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-dropdown a.navbar-item.is-active{background-color:#3e8ed0;color:#fff}}.mzn-playground .navbar.is-success{background-color:#48c78e;color:#fff}.mzn-playground .navbar.is-success .navbar-brand>.navbar-item,.mzn-playground .navbar.is-success .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-brand .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-success .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-success .navbar-start>.navbar-item,.mzn-playground .navbar.is-success .navbar-start .navbar-link,.mzn-playground .navbar.is-success .navbar-end>.navbar-item,.mzn-playground .navbar.is-success .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-success .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-end .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-start .navbar-link:after,.mzn-playground .navbar.is-success .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-dropdown a.navbar-item.is-active{background-color:#48c78e;color:#fff}}.mzn-playground .navbar.is-warning{background-color:#ffe08a;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand>.navbar-item,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link{color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-warning .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground .navbar.is-warning .navbar-start>.navbar-item,.mzn-playground .navbar.is-warning .navbar-start .navbar-link,.mzn-playground .navbar.is-warning .navbar-end>.navbar-item,.mzn-playground .navbar.is-warning .navbar-end .navbar-link{color:#000000b3}.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-end .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-start .navbar-link:after,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-dropdown a.navbar-item.is-active{background-color:#ffe08a;color:#000000b3}}.mzn-playground .navbar.is-danger{background-color:#f14668;color:#fff}.mzn-playground .navbar.is-danger .navbar-brand>.navbar-item,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-danger .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-danger .navbar-start>.navbar-item,.mzn-playground .navbar.is-danger .navbar-start .navbar-link,.mzn-playground .navbar.is-danger .navbar-end>.navbar-item,.mzn-playground .navbar.is-danger .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-end .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-start .navbar-link:after,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-dropdown a.navbar-item.is-active{background-color:#f14668;color:#fff}}.mzn-playground .navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}.mzn-playground .navbar.has-shadow{box-shadow:0 2px #f5f5f5}.mzn-playground .navbar.is-fixed-bottom,.mzn-playground .navbar.is-fixed-top{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom{bottom:0}.mzn-playground .navbar.is-fixed-bottom.has-shadow{box-shadow:0 -2px #f5f5f5}.mzn-playground .navbar.is-fixed-top{top:0}.mzn-playground html.has-navbar-fixed-top,.mzn-playground body.has-navbar-fixed-top{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom,.mzn-playground body.has-navbar-fixed-bottom{padding-bottom:3.25rem}.mzn-playground .navbar-brand,.mzn-playground .navbar-tabs{align-items:stretch;display:flex;flex-shrink:0;min-height:3.25rem}.mzn-playground .navbar-brand a.navbar-item:focus,.mzn-playground .navbar-brand a.navbar-item:hover{background-color:transparent}.mzn-playground .navbar-tabs{-webkit-overflow-scrolling:touch;max-width:100vw;overflow-x:auto;overflow-y:hidden}.mzn-playground .navbar-burger{color:#4a4a4a;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:block;height:3.25rem;position:relative;width:3.25rem;margin-left:auto}.mzn-playground .navbar-burger span{background-color:currentColor;display:block;height:1px;left:calc(50% - 8px);position:absolute;transform-origin:center;transition-duration:86ms;transition-property:background-color,opacity,transform;transition-timing-function:ease-out;width:16px}.mzn-playground .navbar-burger span:nth-child(1){top:calc(50% - 6px)}.mzn-playground .navbar-burger span:nth-child(2){top:calc(50% - 1px)}.mzn-playground .navbar-burger span:nth-child(3){top:calc(50% + 4px)}.mzn-playground .navbar-burger:hover{background-color:#0000000d}.mzn-playground .navbar-burger.is-active span:nth-child(1){transform:translateY(5px) rotate(45deg)}.mzn-playground .navbar-burger.is-active span:nth-child(2){opacity:0}.mzn-playground .navbar-burger.is-active span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}.mzn-playground .navbar-menu{display:none}.mzn-playground .navbar-item,.mzn-playground .navbar-link{color:#4a4a4a;display:block;line-height:1.5;padding:.5rem .75rem;position:relative}.mzn-playground .navbar-item .icon:only-child,.mzn-playground .navbar-link .icon:only-child{margin-left:-.25rem;margin-right:-.25rem}.mzn-playground a.navbar-item,.mzn-playground .navbar-link{cursor:pointer}.mzn-playground a.navbar-item:focus,.mzn-playground a.navbar-item:focus-within,.mzn-playground a.navbar-item:hover,.mzn-playground a.navbar-item.is-active,.mzn-playground .navbar-link:focus,.mzn-playground .navbar-link:focus-within,.mzn-playground .navbar-link:hover,.mzn-playground .navbar-link.is-active{background-color:#fafafa;color:#485fc7}.mzn-playground .navbar-item{flex-grow:0;flex-shrink:0}.mzn-playground .navbar-item img{max-height:1.75rem}.mzn-playground .navbar-item.has-dropdown{padding:0}.mzn-playground .navbar-item.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .navbar-item.is-tab{border-bottom:1px solid transparent;min-height:3.25rem;padding-bottom:calc(.5rem - 1px)}.mzn-playground .navbar-item.is-tab:focus,.mzn-playground .navbar-item.is-tab:hover{background-color:transparent;border-bottom-color:#485fc7}.mzn-playground .navbar-item.is-tab.is-active{background-color:transparent;border-bottom-color:#485fc7;border-bottom-style:solid;border-bottom-width:3px;color:#485fc7;padding-bottom:calc(.5rem - 3px)}.mzn-playground .navbar-content{flex-grow:1;flex-shrink:1}.mzn-playground .navbar-link:not(.is-arrowless){padding-right:2.5em}.mzn-playground .navbar-link:not(.is-arrowless):after{border-color:#485fc7;margin-top:-.375em;right:1.125em}.mzn-playground .navbar-dropdown{font-size:.875rem;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground .navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.mzn-playground .navbar-divider{background-color:#f5f5f5;border:none;display:none;height:2px;margin:.5rem 0}@media screen and (max-width: 768px){.mzn-playground .navbar>.container{display:block}.mzn-playground .navbar-brand .navbar-item,.mzn-playground .navbar-tabs .navbar-item{align-items:center;display:flex}.mzn-playground .navbar-link:after{display:none}.mzn-playground .navbar-menu{background-color:#fff;box-shadow:0 8px 16px #0a0a0a1a;padding:.5rem 0}.mzn-playground .navbar-menu.is-active{display:block}.mzn-playground .navbar.is-fixed-bottom-touch,.mzn-playground .navbar.is-fixed-top-touch{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom-touch{bottom:0}.mzn-playground .navbar.is-fixed-bottom-touch.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground .navbar.is-fixed-top-touch{top:0}.mzn-playground .navbar.is-fixed-top .navbar-menu,.mzn-playground .navbar.is-fixed-top-touch .navbar-menu{-webkit-overflow-scrolling:touch;max-height:calc(100vh - 3.25rem);overflow:auto}.mzn-playground html.has-navbar-fixed-top-touch,.mzn-playground body.has-navbar-fixed-top-touch{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom-touch,.mzn-playground body.has-navbar-fixed-bottom-touch{padding-bottom:3.25rem}}@media screen and (min-width: 769px){.mzn-playground .navbar,.mzn-playground .navbar-menu,.mzn-playground .navbar-start,.mzn-playground .navbar-end{align-items:stretch;display:flex}.mzn-playground .navbar{min-height:3.25rem}.mzn-playground .navbar.is-spaced{padding:1rem 2rem}.mzn-playground .navbar.is-spaced .navbar-start,.mzn-playground .navbar.is-spaced .navbar-end{align-items:center}.mzn-playground .navbar.is-spaced a.navbar-item,.mzn-playground .navbar.is-spaced .navbar-link{border-radius:4px}.mzn-playground .navbar.is-transparent a.navbar-item:focus,.mzn-playground .navbar.is-transparent a.navbar-item:hover,.mzn-playground .navbar.is-transparent a.navbar-item.is-active,.mzn-playground .navbar.is-transparent .navbar-link:focus,.mzn-playground .navbar.is-transparent .navbar-link:hover,.mzn-playground .navbar.is-transparent .navbar-link.is-active{background-color:transparent!important}.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link{background-color:transparent!important}.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#485fc7}.mzn-playground .navbar-burger{display:none}.mzn-playground .navbar-item,.mzn-playground .navbar-link{align-items:center;display:flex}.mzn-playground .navbar-item.has-dropdown{align-items:stretch}.mzn-playground .navbar-item.has-dropdown-up .navbar-link:after{transform:rotate(135deg) translate(.25em,-.25em)}.mzn-playground .navbar-item.has-dropdown-up .navbar-dropdown{border-bottom:2px solid hsl(0,0%,86%);border-radius:6px 6px 0 0;border-top:none;bottom:100%;box-shadow:0 -8px 8px #0a0a0a1a;top:auto}.mzn-playground .navbar-item.is-active .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar.is-spaced .mzn-playground .navbar-item.is-active .navbar-dropdown,.mzn-playground .navbar-item.is-active .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed{opacity:1;pointer-events:auto;transform:translateY(0)}.mzn-playground .navbar-menu{flex-grow:1;flex-shrink:0}.mzn-playground .navbar-start{justify-content:flex-start;margin-right:auto}.mzn-playground .navbar-end{justify-content:flex-end;margin-left:auto}.mzn-playground .navbar-dropdown{background-color:#fff;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:2px solid hsl(0,0%,86%);box-shadow:0 8px 8px #0a0a0a1a;display:none;font-size:.875rem;left:0;min-width:100%;position:absolute;top:100%;z-index:20}.mzn-playground .navbar-dropdown .navbar-item{padding:.375rem 1rem;white-space:nowrap}.mzn-playground .navbar-dropdown a.navbar-item{padding-right:3rem}.mzn-playground .navbar-dropdown a.navbar-item:focus,.mzn-playground .navbar-dropdown a.navbar-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#485fc7}.navbar.is-spaced .mzn-playground .navbar-dropdown,.mzn-playground .navbar-dropdown.is-boxed{border-radius:6px;border-top:none;box-shadow:0 8px 8px #0a0a0a1a,0 0 0 1px #0a0a0a1a;display:block;opacity:0;pointer-events:none;top:calc(100% - 4px);transform:translateY(-5px);transition-duration:86ms;transition-property:opacity,transform}.mzn-playground .navbar-dropdown.is-right{left:auto;right:0}.mzn-playground .navbar-divider{display:block}.mzn-playground .navbar>.container .navbar-brand,.mzn-playground .container>.navbar .navbar-brand{margin-left:-.75rem}.mzn-playground .navbar>.container .navbar-menu,.mzn-playground .container>.navbar .navbar-menu{margin-right:-.75rem}.mzn-playground .navbar.is-fixed-bottom-desktop,.mzn-playground .navbar.is-fixed-top-desktop{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom-desktop{bottom:0}.mzn-playground .navbar.is-fixed-bottom-desktop.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground .navbar.is-fixed-top-desktop{top:0}.mzn-playground html.has-navbar-fixed-top-desktop,.mzn-playground body.has-navbar-fixed-top-desktop{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom-desktop,.mzn-playground body.has-navbar-fixed-bottom-desktop{padding-bottom:3.25rem}.mzn-playground html.has-spaced-navbar-fixed-top,.mzn-playground body.has-spaced-navbar-fixed-top{padding-top:5.25rem}.mzn-playground html.has-spaced-navbar-fixed-bottom,.mzn-playground body.has-spaced-navbar-fixed-bottom{padding-bottom:5.25rem}.mzn-playground a.navbar-item.is-active,.mzn-playground .navbar-link.is-active{color:#0a0a0a}.mzn-playground a.navbar-item.is-active:not(:focus):not(:hover),.mzn-playground .navbar-link.is-active:not(:focus):not(:hover){background-color:transparent}.mzn-playground .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar-item.has-dropdown.is-active .navbar-link{background-color:#fafafa}}.mzn-playground .hero.is-fullheight-with-navbar{min-height:calc(100vh - 3.25rem)}.mzn-playground .panel{border-radius:6px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;font-size:1rem}.mzn-playground .panel:not(:last-child){margin-bottom:1.5rem}.mzn-playground .panel.is-white .panel-heading{background-color:#fff;color:#0a0a0a}.mzn-playground .panel.is-white .panel-tabs a.is-active{border-bottom-color:#fff}.mzn-playground .panel.is-white .panel-block.is-active .panel-icon{color:#fff}.mzn-playground .panel.is-black .panel-heading{background-color:#0a0a0a;color:#fff}.mzn-playground .panel.is-black .panel-tabs a.is-active{border-bottom-color:#0a0a0a}.mzn-playground .panel.is-black .panel-block.is-active .panel-icon{color:#0a0a0a}.mzn-playground .panel.is-light .panel-heading{background-color:#f5f5f5;color:#000000b3}.mzn-playground .panel.is-light .panel-tabs a.is-active{border-bottom-color:#f5f5f5}.mzn-playground .panel.is-light .panel-block.is-active .panel-icon{color:#f5f5f5}.mzn-playground .panel.is-dark .panel-heading{background-color:#363636;color:#fff}.mzn-playground .panel.is-dark .panel-tabs a.is-active{border-bottom-color:#363636}.mzn-playground .panel.is-dark .panel-block.is-active .panel-icon{color:#363636}.mzn-playground .panel.is-primary .panel-heading{background-color:#1491eb;color:#fff}.mzn-playground .panel.is-primary .panel-tabs a.is-active{border-bottom-color:#1491eb}.mzn-playground .panel.is-primary .panel-block.is-active .panel-icon{color:#1491eb}.mzn-playground .panel.is-link .panel-heading{background-color:#485fc7;color:#fff}.mzn-playground .panel.is-link .panel-tabs a.is-active{border-bottom-color:#485fc7}.mzn-playground .panel.is-link .panel-block.is-active .panel-icon{color:#485fc7}.mzn-playground .panel.is-info .panel-heading{background-color:#3e8ed0;color:#fff}.mzn-playground .panel.is-info .panel-tabs a.is-active{border-bottom-color:#3e8ed0}.mzn-playground .panel.is-info .panel-block.is-active .panel-icon{color:#3e8ed0}.mzn-playground .panel.is-success .panel-heading{background-color:#48c78e;color:#fff}.mzn-playground .panel.is-success .panel-tabs a.is-active{border-bottom-color:#48c78e}.mzn-playground .panel.is-success .panel-block.is-active .panel-icon{color:#48c78e}.mzn-playground .panel.is-warning .panel-heading{background-color:#ffe08a;color:#000000b3}.mzn-playground .panel.is-warning .panel-tabs a.is-active{border-bottom-color:#ffe08a}.mzn-playground .panel.is-warning .panel-block.is-active .panel-icon{color:#ffe08a}.mzn-playground .panel.is-danger .panel-heading{background-color:#f14668;color:#fff}.mzn-playground .panel.is-danger .panel-tabs a.is-active{border-bottom-color:#f14668}.mzn-playground .panel.is-danger .panel-block.is-active .panel-icon{color:#f14668}.mzn-playground .panel-tabs:not(:last-child),.mzn-playground .panel-block:not(:last-child){border-bottom:1px solid hsl(0,0%,93%)}.mzn-playground .panel-heading{background-color:#ededed;border-radius:6px 6px 0 0;color:#363636;font-size:1.25em;font-weight:700;line-height:1.25;padding:.75em 1em}.mzn-playground .panel-tabs{align-items:flex-end;display:flex;font-size:.875em;justify-content:center}.mzn-playground .panel-tabs a{border-bottom:1px solid hsl(0,0%,86%);margin-bottom:-1px;padding:.5em}.mzn-playground .panel-tabs a.is-active{border-bottom-color:#4a4a4a;color:#363636}.mzn-playground .panel-list a{color:#4a4a4a}.mzn-playground .panel-list a:hover{color:#485fc7}.mzn-playground .panel-block{align-items:center;color:#363636;display:flex;justify-content:flex-start;padding:.5em .75em}.mzn-playground .panel-block input[type=checkbox]{margin-right:.75em}.mzn-playground .panel-block>.control{flex-grow:1;flex-shrink:1;width:100%}.mzn-playground .panel-block.is-wrapped{flex-wrap:wrap}.mzn-playground .panel-block.is-active{border-left-color:#485fc7;color:#363636}.mzn-playground .panel-block.is-active .panel-icon{color:#485fc7}.mzn-playground .panel-block:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mzn-playground a.panel-block,.mzn-playground label.panel-block{cursor:pointer}.mzn-playground a.panel-block:hover,.mzn-playground label.panel-block:hover{background-color:#f5f5f5}.mzn-playground .panel-icon{display:inline-block;font-size:14px;height:1em;line-height:1em;text-align:center;vertical-align:top;width:1em;color:#7a7a7a;margin-right:.75em}.mzn-playground .panel-icon .fa{font-size:inherit;line-height:inherit}.mzn-playground .tabs{-webkit-overflow-scrolling:touch;align-items:stretch;display:flex;font-size:1rem;justify-content:space-between;overflow:hidden;overflow-x:auto;white-space:nowrap}.mzn-playground .tabs a{align-items:center;border-bottom-color:#dbdbdb;border-bottom-style:solid;border-bottom-width:1px;color:#4a4a4a;display:flex;justify-content:center;margin-bottom:-1px;padding:.5em 1em;vertical-align:top}.mzn-playground .tabs a:hover{border-bottom-color:#363636;color:#363636}.mzn-playground .tabs li{display:block}.mzn-playground .tabs li.is-active a{border-bottom-color:#485fc7;color:#485fc7}.mzn-playground .tabs ul{align-items:center;border-bottom-color:#dbdbdb;border-bottom-style:solid;border-bottom-width:1px;display:flex;flex-grow:1;flex-shrink:0;justify-content:flex-start}.mzn-playground .tabs ul.is-left{padding-right:.75em}.mzn-playground .tabs ul.is-center{flex:none;justify-content:center;padding-left:.75em;padding-right:.75em}.mzn-playground .tabs ul.is-right{justify-content:flex-end;padding-left:.75em}.mzn-playground .tabs .icon:first-child{margin-right:.5em}.mzn-playground .tabs .icon:last-child{margin-left:.5em}.mzn-playground .tabs.is-centered ul{justify-content:center}.mzn-playground .tabs.is-right ul{justify-content:flex-end}.mzn-playground .tabs.is-boxed a{border:1px solid transparent;border-radius:4px 4px 0 0}.mzn-playground .tabs.is-boxed a:hover{background-color:#f5f5f5;border-bottom-color:#dbdbdb}.mzn-playground .tabs.is-boxed li.is-active a{background-color:#fff;border-color:#dbdbdb;border-bottom-color:transparent!important}.mzn-playground .tabs.is-fullwidth li{flex-grow:1;flex-shrink:0}.mzn-playground .tabs.is-toggle a{border-color:#dbdbdb;border-style:solid;border-width:1px;margin-bottom:0;position:relative}.mzn-playground .tabs.is-toggle a:hover{background-color:#f5f5f5;border-color:#b5b5b5;z-index:2}.mzn-playground .tabs.is-toggle li+li{margin-left:-1px}.mzn-playground .tabs.is-toggle li:first-child a{border-top-left-radius:4px;border-bottom-left-radius:4px}.mzn-playground .tabs.is-toggle li:last-child a{border-top-right-radius:4px;border-bottom-right-radius:4px}.mzn-playground .tabs.is-toggle li.is-active a{background-color:#485fc7;border-color:#485fc7;color:#fff;z-index:1}.mzn-playground .tabs.is-toggle ul{border-bottom:none}.mzn-playground .tabs.is-toggle.is-toggle-rounded li:first-child a{border-bottom-left-radius:9999px;border-top-left-radius:9999px;padding-left:1.25em}.mzn-playground .tabs.is-toggle.is-toggle-rounded li:last-child a{border-bottom-right-radius:9999px;border-top-right-radius:9999px;padding-right:1.25em}.mzn-playground .tabs.is-small{font-size:.75rem}.mzn-playground .tabs.is-medium{font-size:1.25rem}.mzn-playground .tabs.is-large{font-size:1.5rem}.mzn-playground .is-block{display:block!important}@media screen and (max-width: 768px){.mzn-playground .is-block-mobile{display:block!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-block-tablet{display:block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-block-tablet-only{display:block!important}}@media screen and (max-width: 1023px){.mzn-playground .is-block-touch{display:block!important}}@media screen and (min-width: 1024px){.mzn-playground .is-block-desktop{display:block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-block-desktop-only{display:block!important}}@media screen and (min-width: 1216px){.mzn-playground .is-block-widescreen{display:block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-block-widescreen-only{display:block!important}}@media screen and (min-width: 1408px){.mzn-playground .is-block-fullhd{display:block!important}}.mzn-playground .is-flex{display:flex!important}@media screen and (max-width: 768px){.mzn-playground .is-flex-mobile{display:flex!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-flex-tablet{display:flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-flex-tablet-only{display:flex!important}}@media screen and (max-width: 1023px){.mzn-playground .is-flex-touch{display:flex!important}}@media screen and (min-width: 1024px){.mzn-playground .is-flex-desktop{display:flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-flex-desktop-only{display:flex!important}}@media screen and (min-width: 1216px){.mzn-playground .is-flex-widescreen{display:flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-flex-widescreen-only{display:flex!important}}@media screen and (min-width: 1408px){.mzn-playground .is-flex-fullhd{display:flex!important}}.mzn-playground .is-inline{display:inline!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-mobile{display:inline!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-tablet{display:inline!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-tablet-only{display:inline!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-touch{display:inline!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-desktop{display:inline!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-desktop-only{display:inline!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-widescreen{display:inline!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-widescreen-only{display:inline!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-fullhd{display:inline!important}}.mzn-playground .is-inline-block{display:inline-block!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-block-mobile{display:inline-block!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-block-tablet{display:inline-block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-block-tablet-only{display:inline-block!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-block-touch{display:inline-block!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-block-desktop{display:inline-block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-block-desktop-only{display:inline-block!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-block-widescreen{display:inline-block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-block-widescreen-only{display:inline-block!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-block-fullhd{display:inline-block!important}}.mzn-playground .is-inline-flex{display:inline-flex!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-flex-mobile{display:inline-flex!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-flex-tablet{display:inline-flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-flex-tablet-only{display:inline-flex!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-flex-touch{display:inline-flex!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-flex-desktop{display:inline-flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-flex-desktop-only{display:inline-flex!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-flex-widescreen{display:inline-flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-flex-widescreen-only{display:inline-flex!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-flex-fullhd{display:inline-flex!important}}.mzn-playground .is-hidden{display:none!important}.mzn-playground .is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}@media screen and (max-width: 768px){.mzn-playground .is-hidden-mobile{display:none!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-hidden-tablet{display:none!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-hidden-tablet-only{display:none!important}}@media screen and (max-width: 1023px){.mzn-playground .is-hidden-touch{display:none!important}}@media screen and (min-width: 1024px){.mzn-playground .is-hidden-desktop{display:none!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-hidden-desktop-only{display:none!important}}@media screen and (min-width: 1216px){.mzn-playground .is-hidden-widescreen{display:none!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-hidden-widescreen-only{display:none!important}}@media screen and (min-width: 1408px){.mzn-playground .is-hidden-fullhd{display:none!important}}.mzn-playground .is-invisible{visibility:hidden!important}@media screen and (max-width: 768px){.mzn-playground .is-invisible-mobile{visibility:hidden!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-invisible-tablet{visibility:hidden!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-invisible-tablet-only{visibility:hidden!important}}@media screen and (max-width: 1023px){.mzn-playground .is-invisible-touch{visibility:hidden!important}}@media screen and (min-width: 1024px){.mzn-playground .is-invisible-desktop{visibility:hidden!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-invisible-desktop-only{visibility:hidden!important}}@media screen and (min-width: 1216px){.mzn-playground .is-invisible-widescreen{visibility:hidden!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-invisible-widescreen-only{visibility:hidden!important}}@media screen and (min-width: 1408px){.mzn-playground .is-invisible-fullhd{visibility:hidden!important}}.mzn-playground{box-sizing:border-box;background-color:#fff;font-size:16px;min-width:300px;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#4a4a4a;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground .navbar-item,.mzn-playground .navbar-link{padding:.5rem}.mzn-playground.is-dark{--mzn-playground-border: hsl(0, 0%, 29%);--mzn-playground-input-background-color: hsl(0, 0%, 12%);--mzn-playground-splitter: hsl(0, 0%, 29%);--mzn-playground-gray: gray;--mzn-playground-blue: #33beff;--mzn-playground-red: red;--mzn-playground-yellow: #d1d100}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name,.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground.is-dark .button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(.5em - 1px);padding-left:calc(.75em - 1px);padding-right:calc(.75em - 1px);padding-top:calc(.5em - 1px);position:relative;vertical-align:top}.mzn-playground.is-dark .file-cta:focus,.mzn-playground.is-dark .file-name:focus,.mzn-playground.is-dark .select select:focus,.mzn-playground.is-dark .textarea:focus,.mzn-playground.is-dark .input:focus,.mzn-playground.is-dark .button:focus,.mzn-playground.is-dark .is-focused.file-cta,.mzn-playground.is-dark .is-focused.file-name,.mzn-playground.is-dark .select select.is-focused,.mzn-playground.is-dark .is-focused.textarea,.mzn-playground.is-dark .is-focused.input,.mzn-playground.is-dark .is-focused.button,.mzn-playground.is-dark .file-cta:active,.mzn-playground.is-dark .file-name:active,.mzn-playground.is-dark .select select:active,.mzn-playground.is-dark .textarea:active,.mzn-playground.is-dark .input:active,.mzn-playground.is-dark .button:active,.mzn-playground.is-dark .is-active.file-cta,.mzn-playground.is-dark .is-active.file-name,.mzn-playground.is-dark .select select.is-active,.mzn-playground.is-dark .is-active.textarea,.mzn-playground.is-dark .is-active.input,.mzn-playground.is-dark .is-active.button{outline:none}.mzn-playground.is-dark [disabled].file-cta,.mzn-playground.is-dark [disabled].file-name,.mzn-playground.is-dark .select select[disabled],.mzn-playground.is-dark [disabled].textarea,.mzn-playground.is-dark [disabled].input,.mzn-playground.is-dark [disabled].button,fieldset[disabled] .mzn-playground.is-dark .file-cta,fieldset[disabled] .mzn-playground.is-dark .file-name,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground.is-dark .textarea,fieldset[disabled] .mzn-playground.is-dark .input,fieldset[disabled] .mzn-playground.is-dark .button{cursor:not-allowed}.mzn-playground.is-dark .tabs,.mzn-playground.is-dark .file,.mzn-playground.is-dark .button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after,.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after{border:3px solid transparent;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.mzn-playground.is-dark .tabs:not(:last-child),.mzn-playground.is-dark .block:not(:last-child),.mzn-playground.is-dark .table-container:not(:last-child),.mzn-playground.is-dark .table:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .modal-close,.mzn-playground.is-dark .delete{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:#0a0a0a33;border:none;border-radius:9999px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:none;position:relative;vertical-align:top;width:20px}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after{background-color:#292929;content:"";display:block;left:50%;position:absolute;top:50%;transform:translate(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before{height:2px;width:50%}.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after{height:50%;width:2px}.mzn-playground.is-dark .modal-close:hover,.mzn-playground.is-dark .delete:hover,.mzn-playground.is-dark .modal-close:focus,.mzn-playground.is-dark .delete:focus{background-color:#0a0a0a4d}.mzn-playground.is-dark .modal-close:active,.mzn-playground.is-dark .delete:active{background-color:#0a0a0a66}.mzn-playground.is-dark .is-small.modal-close,.mzn-playground.is-dark .is-small.delete{height:16px;max-height:16px;max-width:16px;min-height:16px;min-width:16px;width:16px}.mzn-playground.is-dark .is-medium.modal-close,.mzn-playground.is-dark .is-medium.delete{height:24px;max-height:24px;max-width:24px;min-height:24px;min-width:24px;width:24px}.mzn-playground.is-dark .is-large.modal-close,.mzn-playground.is-dark .is-large.delete{height:32px;max-height:32px;max-width:32px;min-height:32px;min-width:32px;width:32px}.mzn-playground.is-dark .control.is-loading:after,.mzn-playground.is-dark .select.is-loading:after,.mzn-playground.is-dark .loader,.mzn-playground.is-dark .button.is-loading:after{animation:spinAround .5s infinite linear;border:2px solid hsl(0,0%,86%);border-radius:9999px;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1em;position:relative;width:1em}.mzn-playground.is-dark .modal-background,.mzn-playground.is-dark .modal{bottom:0;left:0;position:absolute;right:0;top:0}.mzn-playground.is-dark .navbar-burger{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;color:currentColor;font-family:inherit;font-size:1em;margin:0;padding:0}.mzn-playground.is-dark html,.mzn-playground.is-dark body,.mzn-playground.is-dark p,.mzn-playground.is-dark ol,.mzn-playground.is-dark ul,.mzn-playground.is-dark li,.mzn-playground.is-dark dl,.mzn-playground.is-dark dt,.mzn-playground.is-dark dd,.mzn-playground.is-dark blockquote,.mzn-playground.is-dark figure,.mzn-playground.is-dark fieldset,.mzn-playground.is-dark legend,.mzn-playground.is-dark textarea,.mzn-playground.is-dark pre,.mzn-playground.is-dark iframe,.mzn-playground.is-dark hr,.mzn-playground.is-dark h1,.mzn-playground.is-dark h2,.mzn-playground.is-dark h3,.mzn-playground.is-dark h4,.mzn-playground.is-dark h5,.mzn-playground.is-dark h6{margin:0;padding:0}.mzn-playground.is-dark h1,.mzn-playground.is-dark h2,.mzn-playground.is-dark h3,.mzn-playground.is-dark h4,.mzn-playground.is-dark h5,.mzn-playground.is-dark h6{font-size:100%;font-weight:400}.mzn-playground.is-dark ul{list-style:none}.mzn-playground.is-dark button,.mzn-playground.is-dark input,.mzn-playground.is-dark select,.mzn-playground.is-dark textarea{margin:0}.mzn-playground.is-dark html{box-sizing:border-box}.mzn-playground.is-dark *,.mzn-playground.is-dark *:before,.mzn-playground.is-dark *:after{box-sizing:inherit}.mzn-playground.is-dark img,.mzn-playground.is-dark video{height:auto;max-width:100%}.mzn-playground.is-dark iframe{border:0}.mzn-playground.is-dark table{border-collapse:collapse;border-spacing:0}.mzn-playground.is-dark td,.mzn-playground.is-dark th{padding:0}.mzn-playground.is-dark td:not([align]),.mzn-playground.is-dark th:not([align]){text-align:inherit}.mzn-playground.is-dark html{background-color:#292929;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:300px;overflow-x:hidden;overflow-y:scroll;text-rendering:optimizeLegibility;text-size-adjust:100%}.mzn-playground.is-dark article,.mzn-playground.is-dark aside,.mzn-playground.is-dark figure,.mzn-playground.is-dark footer,.mzn-playground.is-dark header,.mzn-playground.is-dark hgroup,.mzn-playground.is-dark section{display:block}.mzn-playground.is-dark body,.mzn-playground.is-dark button,.mzn-playground.is-dark input,.mzn-playground.is-dark optgroup,.mzn-playground.is-dark select,.mzn-playground.is-dark textarea{font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.mzn-playground.is-dark code,.mzn-playground.is-dark pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:monospace}.mzn-playground.is-dark body{color:#ffebeb;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground.is-dark a{color:#6294ff;cursor:pointer;text-decoration:none}.mzn-playground.is-dark a strong{color:currentColor}.mzn-playground.is-dark a:hover{color:#b5b5b5}.mzn-playground.is-dark code{background-color:#141414;color:#da1039;font-size:.875em;font-weight:400;padding:.25em .5em}.mzn-playground.is-dark hr{background-color:#141414;border:none;display:block;height:2px;margin:1.5rem 0}.mzn-playground.is-dark img{height:auto;max-width:100%}.mzn-playground.is-dark input[type=checkbox],.mzn-playground.is-dark input[type=radio]{vertical-align:baseline}.mzn-playground.is-dark small{font-size:.875em}.mzn-playground.is-dark span{font-style:inherit;font-weight:inherit}.mzn-playground.is-dark strong{color:#fff;font-weight:700}.mzn-playground.is-dark fieldset{border:none}.mzn-playground.is-dark pre{-webkit-overflow-scrolling:touch;background-color:#141414;color:#ffebeb;font-size:1em;overflow-x:auto;padding:1.25rem 1.5rem;white-space:pre;word-wrap:normal}.mzn-playground.is-dark pre code{background-color:transparent;color:currentColor;font-size:1em;padding:0}.mzn-playground.is-dark table td,.mzn-playground.is-dark table th{vertical-align:top}.mzn-playground.is-dark table td:not([align]),.mzn-playground.is-dark table th:not([align]){text-align:inherit}.mzn-playground.is-dark table th{color:#fff}@keyframes spinAround{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.mzn-playground.is-dark .button{background-color:#1f1f1f;border-color:#4a4a4a;border-width:1px;color:#fff;cursor:pointer;justify-content:center;padding-bottom:calc(.5em - 1px);padding-left:1em;padding-right:1em;padding-top:calc(.5em - 1px);text-align:center;white-space:nowrap}.mzn-playground.is-dark .button strong{color:inherit}.mzn-playground.is-dark .button .icon,.mzn-playground.is-dark .button .icon.is-small,.mzn-playground.is-dark .button .icon.is-medium,.mzn-playground.is-dark .button .icon.is-large{height:1.5em;width:1.5em}.mzn-playground.is-dark .button .icon:first-child:not(:last-child){margin-left:calc(-.5em - 1px);margin-right:.25em}.mzn-playground.is-dark .button .icon:last-child:not(:first-child){margin-left:.25em;margin-right:calc(-.5em - 1px)}.mzn-playground.is-dark .button .icon:first-child:last-child{margin-left:calc(-.5em - 1px);margin-right:calc(-.5em - 1px)}.mzn-playground.is-dark .button:hover,.mzn-playground.is-dark .button.is-hovered{border-color:#4a4a4a;color:#b5b5b5}.mzn-playground.is-dark .button:focus,.mzn-playground.is-dark .button.is-focused{border-color:#3850b7;color:#c9c9c9}.mzn-playground.is-dark .button:focus:not(:active),.mzn-playground.is-dark .button.is-focused:not(:active){box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .button:active,.mzn-playground.is-dark .button.is-active{border-color:#b5b5b5;color:#c9c9c9}.mzn-playground.is-dark .button.is-text{background-color:transparent;border-color:transparent;color:#ffebeb;text-decoration:underline}.mzn-playground.is-dark .button.is-text:hover,.mzn-playground.is-dark .button.is-text.is-hovered,.mzn-playground.is-dark .button.is-text:focus,.mzn-playground.is-dark .button.is-text.is-focused{background-color:#141414;color:#fff}.mzn-playground.is-dark .button.is-text:active,.mzn-playground.is-dark .button.is-text.is-active{background-color:#080808;color:#fff}.mzn-playground.is-dark .button.is-text[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-text{background-color:transparent;border-color:transparent;box-shadow:none}.mzn-playground.is-dark .button.is-ghost{background:none;border-color:transparent;color:#6294ff;text-decoration:none}.mzn-playground.is-dark .button.is-ghost:hover,.mzn-playground.is-dark .button.is-ghost.is-hovered{color:#6294ff;text-decoration:underline}.mzn-playground.is-dark .button.is-white{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:hover,.mzn-playground.is-dark .button.is-white.is-hovered{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:focus,.mzn-playground.is-dark .button.is-white.is-focused{border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:focus:not(:active),.mzn-playground.is-dark .button.is-white.is-focused:not(:active){box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .button.is-white:active,.mzn-playground.is-dark .button.is-white.is-active{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white{background-color:#fff;border-color:#fff;box-shadow:none}.mzn-playground.is-dark .button.is-white.is-inverted{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted:hover,.mzn-playground.is-dark .button.is-white.is-inverted.is-hovered{background-color:#000}.mzn-playground.is-dark .button.is-white.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-inverted{background-color:#0a0a0a;border-color:transparent;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-white.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-white.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-white.is-outlined:hover,.mzn-playground.is-dark .button.is-white.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-white.is-outlined:focus,.mzn-playground.is-dark .button.is-white.is-outlined.is-focused{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-white.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-focused{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:hover,.mzn-playground.is-dark .button.is-black.is-hovered{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:focus,.mzn-playground.is-dark .button.is-black.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:focus:not(:active),.mzn-playground.is-dark .button.is-black.is-focused:not(:active){box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .button.is-black:active,.mzn-playground.is-dark .button.is-black.is-active{background-color:#000;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black{background-color:#0a0a0a;border-color:#0a0a0a;box-shadow:none}.mzn-playground.is-dark .button.is-black.is-inverted{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted:hover,.mzn-playground.is-dark .button.is-black.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-black.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-outlined:hover,.mzn-playground.is-dark .button.is-black.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-black.is-outlined:focus,.mzn-playground.is-dark .button.is-black.is-outlined.is-focused{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-black.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-focused{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-light{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:hover,.mzn-playground.is-dark .button.is-light.is-hovered{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:focus,.mzn-playground.is-dark .button.is-light.is-focused{border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:focus:not(:active),.mzn-playground.is-dark .button.is-light.is-focused:not(:active){box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .button.is-light:active,.mzn-playground.is-dark .button.is-light.is-active{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none}.mzn-playground.is-dark .button.is-light.is-inverted{background-color:#000000b3;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted:hover,.mzn-playground.is-dark .button.is-light.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground.is-dark .button.is-light.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-outlined:hover,.mzn-playground.is-dark .button.is-light.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-light.is-outlined:focus,.mzn-playground.is-dark .button.is-light.is-outlined.is-focused{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-light.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;box-shadow:none;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground.is-dark .button.is-dark{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:hover,.mzn-playground.is-dark .button.is-dark.is-hovered{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:focus,.mzn-playground.is-dark .button.is-dark.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:focus:not(:active),.mzn-playground.is-dark .button.is-dark.is-focused:not(:active){box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .button.is-dark:active,.mzn-playground.is-dark .button.is-dark.is-active{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark{background-color:#363636;border-color:#363636;box-shadow:none}.mzn-playground.is-dark .button.is-dark.is-inverted{background-color:#fff;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted:hover,.mzn-playground.is-dark .button.is-dark.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-dark.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#363636}.mzn-playground.is-dark .button.is-dark.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;color:#363636}.mzn-playground.is-dark .button.is-dark.is-outlined:hover,.mzn-playground.is-dark .button.is-dark.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-dark.is-outlined:focus,.mzn-playground.is-dark .button.is-dark.is-outlined.is-focused{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-dark.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;box-shadow:none;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-focused{background-color:#fff;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-primary{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:hover,.mzn-playground.is-dark .button.is-primary.is-hovered{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:focus,.mzn-playground.is-dark .button.is-primary.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:focus:not(:active),.mzn-playground.is-dark .button.is-primary.is-focused:not(:active){box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .button.is-primary:active,.mzn-playground.is-dark .button.is-primary.is-active{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary{background-color:#1491eb;border-color:#1491eb;box-shadow:none}.mzn-playground.is-dark .button.is-primary.is-inverted{background-color:#fff;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted:hover,.mzn-playground.is-dark .button.is-primary.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-primary.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-outlined:hover,.mzn-playground.is-dark .button.is-primary.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-primary.is-outlined:focus,.mzn-playground.is-dark .button.is-primary.is-outlined.is-focused{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-primary.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;box-shadow:none;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-focused{background-color:#fff;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-primary.is-light{background-color:#ecf6fd;color:#1074bc}.mzn-playground.is-dark .button.is-primary.is-light:hover,.mzn-playground.is-dark .button.is-primary.is-light.is-hovered{background-color:#e0f1fc;border-color:transparent;color:#1074bc}.mzn-playground.is-dark .button.is-primary.is-light:active,.mzn-playground.is-dark .button.is-primary.is-light.is-active{background-color:#d5ebfb;border-color:transparent;color:#1074bc}.mzn-playground.is-dark .button.is-link{background-color:#6294ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:hover,.mzn-playground.is-dark .button.is-link.is-hovered{background-color:#558bff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:focus,.mzn-playground.is-dark .button.is-link.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:focus:not(:active),.mzn-playground.is-dark .button.is-link.is-focused:not(:active){box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .button.is-link:active,.mzn-playground.is-dark .button.is-link.is-active{background-color:#4983ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link{background-color:#6294ff;border-color:#6294ff;box-shadow:none}.mzn-playground.is-dark .button.is-link.is-inverted{background-color:#fff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted:hover,.mzn-playground.is-dark .button.is-link.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-link.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-link.is-outlined{background-color:transparent;border-color:#6294ff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-outlined:hover,.mzn-playground.is-dark .button.is-link.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-link.is-outlined:focus,.mzn-playground.is-dark .button.is-link.is-outlined.is-focused{background-color:#6294ff;border-color:#6294ff;color:#fff}.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:after{border-color:transparent transparent #6294ff #6294ff!important}.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-link.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-outlined{background-color:transparent;border-color:#6294ff;box-shadow:none;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-focused{background-color:#fff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #6294ff #6294ff!important}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-link.is-light{background-color:#ebf1ff;color:#003ec2}.mzn-playground.is-dark .button.is-link.is-light:hover,.mzn-playground.is-dark .button.is-link.is-light.is-hovered{background-color:#dee8ff;border-color:transparent;color:#003ec2}.mzn-playground.is-dark .button.is-link.is-light:active,.mzn-playground.is-dark .button.is-link.is-light.is-active{background-color:#d1e0ff;border-color:transparent;color:#003ec2}.mzn-playground.is-dark .button.is-info{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:hover,.mzn-playground.is-dark .button.is-info.is-hovered{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:focus,.mzn-playground.is-dark .button.is-info.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:focus:not(:active),.mzn-playground.is-dark .button.is-info.is-focused:not(:active){box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .button.is-info:active,.mzn-playground.is-dark .button.is-info.is-active{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info{background-color:#3e8ed0;border-color:#3e8ed0;box-shadow:none}.mzn-playground.is-dark .button.is-info.is-inverted{background-color:#fff;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted:hover,.mzn-playground.is-dark .button.is-info.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-info.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-outlined:hover,.mzn-playground.is-dark .button.is-info.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-info.is-outlined:focus,.mzn-playground.is-dark .button.is-info.is-outlined.is-focused{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-info.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;box-shadow:none;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-focused{background-color:#fff;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-info.is-light{background-color:#eff5fb;color:#296fa8}.mzn-playground.is-dark .button.is-info.is-light:hover,.mzn-playground.is-dark .button.is-info.is-light.is-hovered{background-color:#e4eff9;border-color:transparent;color:#296fa8}.mzn-playground.is-dark .button.is-info.is-light:active,.mzn-playground.is-dark .button.is-info.is-light.is-active{background-color:#dae9f6;border-color:transparent;color:#296fa8}.mzn-playground.is-dark .button.is-success{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:hover,.mzn-playground.is-dark .button.is-success.is-hovered{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:focus,.mzn-playground.is-dark .button.is-success.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:focus:not(:active),.mzn-playground.is-dark .button.is-success.is-focused:not(:active){box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .button.is-success:active,.mzn-playground.is-dark .button.is-success.is-active{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success{background-color:#48c78e;border-color:#48c78e;box-shadow:none}.mzn-playground.is-dark .button.is-success.is-inverted{background-color:#fff;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted:hover,.mzn-playground.is-dark .button.is-success.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-success.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-outlined:hover,.mzn-playground.is-dark .button.is-success.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-success.is-outlined:focus,.mzn-playground.is-dark .button.is-success.is-outlined.is-focused{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-success.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;box-shadow:none;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-focused{background-color:#fff;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-success.is-light{background-color:#effaf5;color:#257953}.mzn-playground.is-dark .button.is-success.is-light:hover,.mzn-playground.is-dark .button.is-success.is-light.is-hovered{background-color:#e6f7ef;border-color:transparent;color:#257953}.mzn-playground.is-dark .button.is-success.is-light:active,.mzn-playground.is-dark .button.is-success.is-light.is-active{background-color:#dcf4e9;border-color:transparent;color:#257953}.mzn-playground.is-dark .button.is-warning{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:hover,.mzn-playground.is-dark .button.is-warning.is-hovered{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:focus,.mzn-playground.is-dark .button.is-warning.is-focused{border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:focus:not(:active),.mzn-playground.is-dark .button.is-warning.is-focused:not(:active){box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .button.is-warning:active,.mzn-playground.is-dark .button.is-warning.is-active{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning{background-color:#ffe08a;border-color:#ffe08a;box-shadow:none}.mzn-playground.is-dark .button.is-warning.is-inverted{background-color:#000000b3;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted:hover,.mzn-playground.is-dark .button.is-warning.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-outlined:hover,.mzn-playground.is-dark .button.is-warning.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-warning.is-outlined:focus,.mzn-playground.is-dark .button.is-warning.is-outlined.is-focused{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-warning.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;box-shadow:none;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-light{background-color:#fffaeb;color:#946c00}.mzn-playground.is-dark .button.is-warning.is-light:hover,.mzn-playground.is-dark .button.is-warning.is-light.is-hovered{background-color:#fff6de;border-color:transparent;color:#946c00}.mzn-playground.is-dark .button.is-warning.is-light:active,.mzn-playground.is-dark .button.is-warning.is-light.is-active{background-color:#fff3d1;border-color:transparent;color:#946c00}.mzn-playground.is-dark .button.is-danger{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:hover,.mzn-playground.is-dark .button.is-danger.is-hovered{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:focus,.mzn-playground.is-dark .button.is-danger.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:focus:not(:active),.mzn-playground.is-dark .button.is-danger.is-focused:not(:active){box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .button.is-danger:active,.mzn-playground.is-dark .button.is-danger.is-active{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger{background-color:#f14668;border-color:#f14668;box-shadow:none}.mzn-playground.is-dark .button.is-danger.is-inverted{background-color:#fff;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted:hover,.mzn-playground.is-dark .button.is-danger.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-danger.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-outlined:hover,.mzn-playground.is-dark .button.is-danger.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-danger.is-outlined:focus,.mzn-playground.is-dark .button.is-danger.is-outlined.is-focused{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-danger.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;box-shadow:none;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-focused{background-color:#fff;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.mzn-playground.is-dark .button.is-danger.is-light:hover,.mzn-playground.is-dark .button.is-danger.is-light.is-hovered{background-color:#fde0e6;border-color:transparent;color:#cc0f35}.mzn-playground.is-dark .button.is-danger.is-light:active,.mzn-playground.is-dark .button.is-danger.is-light.is-active{background-color:#fcd4dc;border-color:transparent;color:#cc0f35}.mzn-playground.is-dark .button.is-small{font-size:.75rem}.mzn-playground.is-dark .button.is-small:not(.is-rounded){border-radius:2px}.mzn-playground.is-dark .button.is-normal{font-size:1rem}.mzn-playground.is-dark .button.is-medium{font-size:1.25rem}.mzn-playground.is-dark .button.is-large{font-size:1.5rem}.mzn-playground.is-dark .button[disabled],fieldset[disabled] .mzn-playground.is-dark .button{background-color:#292929;border-color:#4a4a4a;box-shadow:none;opacity:.5}.mzn-playground.is-dark .button.is-fullwidth{display:flex;width:100%}.mzn-playground.is-dark .button.is-loading{color:transparent!important;pointer-events:none}.mzn-playground.is-dark .button.is-loading:after{position:absolute;left:calc(50% - .5em);top:calc(50% - .5em);position:absolute!important}.mzn-playground.is-dark .button.is-static{background-color:#333;border-color:#4a4a4a;color:#7a7a7a;box-shadow:none;pointer-events:none}.mzn-playground.is-dark .button.is-rounded{border-radius:9999px;padding-left:1.25em;padding-right:1.25em}.mzn-playground.is-dark .buttons{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.mzn-playground.is-dark .buttons .button{margin-bottom:.5rem}.mzn-playground.is-dark .buttons .button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}.mzn-playground.is-dark .buttons:last-child{margin-bottom:-.5rem}.mzn-playground.is-dark .buttons:not(:last-child){margin-bottom:1rem}.mzn-playground.is-dark .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large){font-size:.75rem}.mzn-playground.is-dark .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded){border-radius:2px}.mzn-playground.is-dark .buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large){font-size:1.25rem}.mzn-playground.is-dark .buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium){font-size:1.5rem}.mzn-playground.is-dark .buttons.has-addons .button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .buttons.has-addons .button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.mzn-playground.is-dark .buttons.has-addons .button:last-child{margin-right:0}.mzn-playground.is-dark .buttons.has-addons .button:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-hovered{z-index:2}.mzn-playground.is-dark .buttons.has-addons .button:focus,.mzn-playground.is-dark .buttons.has-addons .button.is-focused,.mzn-playground.is-dark .buttons.has-addons .button:active,.mzn-playground.is-dark .buttons.has-addons .button.is-active,.mzn-playground.is-dark .buttons.has-addons .button.is-selected{z-index:3}.mzn-playground.is-dark .buttons.has-addons .button:focus:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-focused:hover,.mzn-playground.is-dark .buttons.has-addons .button:active:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-active:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-selected:hover{z-index:4}.mzn-playground.is-dark .buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .buttons.is-centered{justify-content:center}.mzn-playground.is-dark .buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}.mzn-playground.is-dark .buttons.is-right{justify-content:flex-end}.mzn-playground.is-dark .buttons.is-right:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}@media screen and (max-width: 768px){.mzn-playground.is-dark .button.is-responsive.is-small{font-size:.5625rem}.mzn-playground.is-dark .button.is-responsive,.mzn-playground.is-dark .button.is-responsive.is-normal{font-size:.65625rem}.mzn-playground.is-dark .button.is-responsive.is-medium{font-size:.75rem}.mzn-playground.is-dark .button.is-responsive.is-large{font-size:1rem}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .button.is-responsive.is-small{font-size:.65625rem}.mzn-playground.is-dark .button.is-responsive,.mzn-playground.is-dark .button.is-responsive.is-normal{font-size:.75rem}.mzn-playground.is-dark .button.is-responsive.is-medium{font-size:1rem}.mzn-playground.is-dark .button.is-responsive.is-large{font-size:1.25rem}}.mzn-playground.is-dark .icon{align-items:center;display:inline-flex;justify-content:center;height:1.5rem;width:1.5rem}.mzn-playground.is-dark .icon.is-small{height:1rem;width:1rem}.mzn-playground.is-dark .icon.is-medium{height:2rem;width:2rem}.mzn-playground.is-dark .icon.is-large{height:3rem;width:3rem}.mzn-playground.is-dark .icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;line-height:1.5rem;vertical-align:top}.mzn-playground.is-dark .icon-text .icon{flex-grow:0;flex-shrink:0}.mzn-playground.is-dark .icon-text .icon:not(:last-child){margin-right:.25em}.mzn-playground.is-dark .icon-text .icon:not(:first-child){margin-left:.25em}.mzn-playground.is-dark div.icon-text{display:flex}.mzn-playground.is-dark .table{background-color:#292929;color:#fff}.mzn-playground.is-dark .table td,.mzn-playground.is-dark .table th{border:1px solid hsl(0,0%,29%);border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.mzn-playground.is-dark .table td.is-white,.mzn-playground.is-dark .table th.is-white{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .table td.is-black,.mzn-playground.is-dark .table th.is-black{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .table td.is-light,.mzn-playground.is-dark .table th.is-light{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .table td.is-dark,.mzn-playground.is-dark .table th.is-dark{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground.is-dark .table td.is-primary,.mzn-playground.is-dark .table th.is-primary{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground.is-dark .table td.is-link,.mzn-playground.is-dark .table th.is-link{background-color:#6294ff;border-color:#6294ff;color:#fff}.mzn-playground.is-dark .table td.is-info,.mzn-playground.is-dark .table th.is-info{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .table td.is-success,.mzn-playground.is-dark .table th.is-success{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground.is-dark .table td.is-warning,.mzn-playground.is-dark .table th.is-warning{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .table td.is-danger,.mzn-playground.is-dark .table th.is-danger{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground.is-dark .table td.is-narrow,.mzn-playground.is-dark .table th.is-narrow{white-space:nowrap;width:1%}.mzn-playground.is-dark .table td.is-selected,.mzn-playground.is-dark .table th.is-selected{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .table td.is-selected a,.mzn-playground.is-dark .table td.is-selected strong,.mzn-playground.is-dark .table th.is-selected a,.mzn-playground.is-dark .table th.is-selected strong{color:currentColor}.mzn-playground.is-dark .table td.is-vcentered,.mzn-playground.is-dark .table th.is-vcentered{vertical-align:middle}.mzn-playground.is-dark .table th{color:#fff}.mzn-playground.is-dark .table th:not([align]){text-align:left}.mzn-playground.is-dark .table tr.is-selected{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .table tr.is-selected a,.mzn-playground.is-dark .table tr.is-selected strong{color:currentColor}.mzn-playground.is-dark .table tr.is-selected td,.mzn-playground.is-dark .table tr.is-selected th{border-color:#fff;color:currentColor}.mzn-playground.is-dark .table thead{background-color:transparent}.mzn-playground.is-dark .table thead td,.mzn-playground.is-dark .table thead th{border-width:0 0 2px;color:#fff}.mzn-playground.is-dark .table tfoot{background-color:transparent}.mzn-playground.is-dark .table tfoot td,.mzn-playground.is-dark .table tfoot th{border-width:2px 0 0;color:#fff}.mzn-playground.is-dark .table tbody{background-color:transparent}.mzn-playground.is-dark .table tbody tr:last-child td,.mzn-playground.is-dark .table tbody tr:last-child th{border-bottom-width:0}.mzn-playground.is-dark .table.is-bordered td,.mzn-playground.is-dark .table.is-bordered th{border-width:1px}.mzn-playground.is-dark .table.is-bordered tr:last-child td,.mzn-playground.is-dark .table.is-bordered tr:last-child th{border-bottom-width:1px}.mzn-playground.is-dark .table.is-fullwidth{width:100%}.mzn-playground.is-dark .table.is-hoverable tbody tr:not(.is-selected):hover{background-color:#2e2e2e}.mzn-playground.is-dark .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:#2e2e2e}.mzn-playground.is-dark .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n){background-color:#333}.mzn-playground.is-dark .table.is-narrow td,.mzn-playground.is-dark .table.is-narrow th{padding:.25em .5em}.mzn-playground.is-dark .table.is-striped tbody tr:not(.is-selected):nth-child(2n){background-color:#2e2e2e}.mzn-playground.is-dark .table-container{-webkit-overflow-scrolling:touch;overflow:auto;overflow-y:hidden;max-width:100%}.mzn-playground.is-dark .heading{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;text-transform:uppercase}.mzn-playground.is-dark .number{align-items:center;background-color:#141414;border-radius:9999px;display:inline-flex;font-size:1.25rem;height:2em;justify-content:center;margin-right:1.5rem;min-width:2.5em;padding:.25rem .5rem;text-align:center;vertical-align:top}.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input{background-color:#1f1f1f;border-color:#4a4a4a;border-radius:4px;color:#fff}.mzn-playground.is-dark .select select::-moz-placeholder,.mzn-playground.is-dark .textarea::-moz-placeholder,.mzn-playground.is-dark .input::-moz-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select::-webkit-input-placeholder,.mzn-playground.is-dark .textarea::-webkit-input-placeholder,.mzn-playground.is-dark .input::-webkit-input-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:-moz-placeholder,.mzn-playground.is-dark .textarea:-moz-placeholder,.mzn-playground.is-dark .input:-moz-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:-ms-input-placeholder,.mzn-playground.is-dark .textarea:-ms-input-placeholder,.mzn-playground.is-dark .input:-ms-input-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:hover,.mzn-playground.is-dark .textarea:hover,.mzn-playground.is-dark .input:hover,.mzn-playground.is-dark .select select.is-hovered,.mzn-playground.is-dark .is-hovered.textarea,.mzn-playground.is-dark .is-hovered.input{border-color:#b5b5b5}.mzn-playground.is-dark .select select:focus,.mzn-playground.is-dark .textarea:focus,.mzn-playground.is-dark .input:focus,.mzn-playground.is-dark .select select.is-focused,.mzn-playground.is-dark .is-focused.textarea,.mzn-playground.is-dark .is-focused.input,.mzn-playground.is-dark .select select:active,.mzn-playground.is-dark .textarea:active,.mzn-playground.is-dark .input:active,.mzn-playground.is-dark .select select.is-active,.mzn-playground.is-dark .is-active.textarea,.mzn-playground.is-dark .is-active.input{border-color:#6294ff;box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .select select[disabled],.mzn-playground.is-dark [disabled].textarea,.mzn-playground.is-dark [disabled].input,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground.is-dark .textarea,fieldset[disabled] .mzn-playground.is-dark .input{background-color:#141414;border-color:#141414;box-shadow:none;color:#7a7a7a}.mzn-playground.is-dark .select select[disabled]::-moz-placeholder,.mzn-playground.is-dark [disabled].textarea::-moz-placeholder,.mzn-playground.is-dark [disabled].input::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .input::-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]::-webkit-input-placeholder,.mzn-playground.is-dark [disabled].textarea::-webkit-input-placeholder,.mzn-playground.is-dark [disabled].input::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .input::-webkit-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-moz-placeholder,.mzn-playground.is-dark [disabled].textarea:-moz-placeholder,.mzn-playground.is-dark [disabled].input:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .input:-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-ms-input-placeholder,.mzn-playground.is-dark [disabled].textarea:-ms-input-placeholder,.mzn-playground.is-dark [disabled].input:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .input:-ms-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input{box-shadow:inset 0 .0625em .125em #0a0a0a0d;max-width:100%;width:100%}.mzn-playground.is-dark [readonly].textarea,.mzn-playground.is-dark [readonly].input{box-shadow:none}.mzn-playground.is-dark .is-white.textarea,.mzn-playground.is-dark .is-white.input{border-color:#fff}.mzn-playground.is-dark .is-white.textarea:focus,.mzn-playground.is-dark .is-white.input:focus,.mzn-playground.is-dark .is-white.is-focused.textarea,.mzn-playground.is-dark .is-white.is-focused.input,.mzn-playground.is-dark .is-white.textarea:active,.mzn-playground.is-dark .is-white.input:active,.mzn-playground.is-dark .is-white.is-active.textarea,.mzn-playground.is-dark .is-white.is-active.input{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .is-black.textarea,.mzn-playground.is-dark .is-black.input{border-color:#0a0a0a}.mzn-playground.is-dark .is-black.textarea:focus,.mzn-playground.is-dark .is-black.input:focus,.mzn-playground.is-dark .is-black.is-focused.textarea,.mzn-playground.is-dark .is-black.is-focused.input,.mzn-playground.is-dark .is-black.textarea:active,.mzn-playground.is-dark .is-black.input:active,.mzn-playground.is-dark .is-black.is-active.textarea,.mzn-playground.is-dark .is-black.is-active.input{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .is-light.textarea,.mzn-playground.is-dark .is-light.input{border-color:#f5f5f5}.mzn-playground.is-dark .is-light.textarea:focus,.mzn-playground.is-dark .is-light.input:focus,.mzn-playground.is-dark .is-light.is-focused.textarea,.mzn-playground.is-dark .is-light.is-focused.input,.mzn-playground.is-dark .is-light.textarea:active,.mzn-playground.is-dark .is-light.input:active,.mzn-playground.is-dark .is-light.is-active.textarea,.mzn-playground.is-dark .is-light.is-active.input{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .is-dark.textarea,.mzn-playground.is-dark .is-dark.input{border-color:#363636}.mzn-playground.is-dark .is-dark.textarea:focus,.mzn-playground.is-dark .is-dark.input:focus,.mzn-playground.is-dark .is-dark.is-focused.textarea,.mzn-playground.is-dark .is-dark.is-focused.input,.mzn-playground.is-dark .is-dark.textarea:active,.mzn-playground.is-dark .is-dark.input:active,.mzn-playground.is-dark .is-dark.is-active.textarea,.mzn-playground.is-dark .is-dark.is-active.input{box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .is-primary.textarea,.mzn-playground.is-dark .is-primary.input{border-color:#1491eb}.mzn-playground.is-dark .is-primary.textarea:focus,.mzn-playground.is-dark .is-primary.input:focus,.mzn-playground.is-dark .is-primary.is-focused.textarea,.mzn-playground.is-dark .is-primary.is-focused.input,.mzn-playground.is-dark .is-primary.textarea:active,.mzn-playground.is-dark .is-primary.input:active,.mzn-playground.is-dark .is-primary.is-active.textarea,.mzn-playground.is-dark .is-primary.is-active.input{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .is-link.textarea,.mzn-playground.is-dark .is-link.input{border-color:#6294ff}.mzn-playground.is-dark .is-link.textarea:focus,.mzn-playground.is-dark .is-link.input:focus,.mzn-playground.is-dark .is-link.is-focused.textarea,.mzn-playground.is-dark .is-link.is-focused.input,.mzn-playground.is-dark .is-link.textarea:active,.mzn-playground.is-dark .is-link.input:active,.mzn-playground.is-dark .is-link.is-active.textarea,.mzn-playground.is-dark .is-link.is-active.input{box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .is-info.textarea,.mzn-playground.is-dark .is-info.input{border-color:#3e8ed0}.mzn-playground.is-dark .is-info.textarea:focus,.mzn-playground.is-dark .is-info.input:focus,.mzn-playground.is-dark .is-info.is-focused.textarea,.mzn-playground.is-dark .is-info.is-focused.input,.mzn-playground.is-dark .is-info.textarea:active,.mzn-playground.is-dark .is-info.input:active,.mzn-playground.is-dark .is-info.is-active.textarea,.mzn-playground.is-dark .is-info.is-active.input{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .is-success.textarea,.mzn-playground.is-dark .is-success.input{border-color:#48c78e}.mzn-playground.is-dark .is-success.textarea:focus,.mzn-playground.is-dark .is-success.input:focus,.mzn-playground.is-dark .is-success.is-focused.textarea,.mzn-playground.is-dark .is-success.is-focused.input,.mzn-playground.is-dark .is-success.textarea:active,.mzn-playground.is-dark .is-success.input:active,.mzn-playground.is-dark .is-success.is-active.textarea,.mzn-playground.is-dark .is-success.is-active.input{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .is-warning.textarea,.mzn-playground.is-dark .is-warning.input{border-color:#ffe08a}.mzn-playground.is-dark .is-warning.textarea:focus,.mzn-playground.is-dark .is-warning.input:focus,.mzn-playground.is-dark .is-warning.is-focused.textarea,.mzn-playground.is-dark .is-warning.is-focused.input,.mzn-playground.is-dark .is-warning.textarea:active,.mzn-playground.is-dark .is-warning.input:active,.mzn-playground.is-dark .is-warning.is-active.textarea,.mzn-playground.is-dark .is-warning.is-active.input{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .is-danger.textarea,.mzn-playground.is-dark .is-danger.input{border-color:#f14668}.mzn-playground.is-dark .is-danger.textarea:focus,.mzn-playground.is-dark .is-danger.input:focus,.mzn-playground.is-dark .is-danger.is-focused.textarea,.mzn-playground.is-dark .is-danger.is-focused.input,.mzn-playground.is-dark .is-danger.textarea:active,.mzn-playground.is-dark .is-danger.input:active,.mzn-playground.is-dark .is-danger.is-active.textarea,.mzn-playground.is-dark .is-danger.is-active.input{box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .is-small.textarea,.mzn-playground.is-dark .is-small.input{border-radius:2px;font-size:.75rem}.mzn-playground.is-dark .is-medium.textarea,.mzn-playground.is-dark .is-medium.input{font-size:1.25rem}.mzn-playground.is-dark .is-large.textarea,.mzn-playground.is-dark .is-large.input{font-size:1.5rem}.mzn-playground.is-dark .is-fullwidth.textarea,.mzn-playground.is-dark .is-fullwidth.input{display:block;width:100%}.mzn-playground.is-dark .is-inline.textarea,.mzn-playground.is-dark .is-inline.input{display:inline;width:auto}.mzn-playground.is-dark .input.is-rounded{border-radius:9999px;padding-left:calc(1.125em - 1px);padding-right:calc(1.125em - 1px)}.mzn-playground.is-dark .input.is-static{background-color:transparent;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}.mzn-playground.is-dark .textarea{display:block;max-width:100%;min-width:100%;padding:calc(.75em - 1px);resize:vertical}.mzn-playground.is-dark .textarea:not([rows]){max-height:40em;min-height:8em}.mzn-playground.is-dark .textarea[rows]{height:initial}.mzn-playground.is-dark .textarea.has-fixed-size{resize:none}.mzn-playground.is-dark .radio,.mzn-playground.is-dark .checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.mzn-playground.is-dark .radio input,.mzn-playground.is-dark .checkbox input{cursor:pointer}.mzn-playground.is-dark .radio:hover,.mzn-playground.is-dark .checkbox:hover{color:#fff}.mzn-playground.is-dark [disabled].radio,.mzn-playground.is-dark [disabled].checkbox,fieldset[disabled] .mzn-playground.is-dark .radio,fieldset[disabled] .mzn-playground.is-dark .checkbox,.mzn-playground.is-dark .radio input[disabled],.mzn-playground.is-dark .checkbox input[disabled]{color:#7a7a7a;cursor:not-allowed}.mzn-playground.is-dark .radio+.radio{margin-left:.5em}.mzn-playground.is-dark .select{display:inline-block;max-width:100%;position:relative;vertical-align:top}.mzn-playground.is-dark .select:not(.is-multiple){height:2.5em}.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after{border-color:#6294ff;right:1.125em;z-index:4}.mzn-playground.is-dark .select.is-rounded select{border-radius:9999px;padding-left:1em}.mzn-playground.is-dark .select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.mzn-playground.is-dark .select select::-ms-expand{display:none}.mzn-playground.is-dark .select select[disabled]:hover,fieldset[disabled] .mzn-playground.is-dark .select select:hover{border-color:#141414}.mzn-playground.is-dark .select select:not([multiple]){padding-right:2.5em}.mzn-playground.is-dark .select select[multiple]{height:auto;padding:0}.mzn-playground.is-dark .select select[multiple] option{padding:.5em 1em}.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):hover:after{border-color:#fff}.mzn-playground.is-dark .select.is-white:not(:hover):after{border-color:#fff}.mzn-playground.is-dark .select.is-white select{border-color:#fff}.mzn-playground.is-dark .select.is-white select:hover,.mzn-playground.is-dark .select.is-white select.is-hovered{border-color:#f2f2f2}.mzn-playground.is-dark .select.is-white select:focus,.mzn-playground.is-dark .select.is-white select.is-focused,.mzn-playground.is-dark .select.is-white select:active,.mzn-playground.is-dark .select.is-white select.is-active{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .select.is-black:not(:hover):after{border-color:#0a0a0a}.mzn-playground.is-dark .select.is-black select{border-color:#0a0a0a}.mzn-playground.is-dark .select.is-black select:hover,.mzn-playground.is-dark .select.is-black select.is-hovered{border-color:#000}.mzn-playground.is-dark .select.is-black select:focus,.mzn-playground.is-dark .select.is-black select.is-focused,.mzn-playground.is-dark .select.is-black select:active,.mzn-playground.is-dark .select.is-black select.is-active{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .select.is-light:not(:hover):after{border-color:#f5f5f5}.mzn-playground.is-dark .select.is-light select{border-color:#f5f5f5}.mzn-playground.is-dark .select.is-light select:hover,.mzn-playground.is-dark .select.is-light select.is-hovered{border-color:#e8e8e8}.mzn-playground.is-dark .select.is-light select:focus,.mzn-playground.is-dark .select.is-light select.is-focused,.mzn-playground.is-dark .select.is-light select:active,.mzn-playground.is-dark .select.is-light select.is-active{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .select.is-dark:not(:hover):after{border-color:#363636}.mzn-playground.is-dark .select.is-dark select{border-color:#363636}.mzn-playground.is-dark .select.is-dark select:hover,.mzn-playground.is-dark .select.is-dark select.is-hovered{border-color:#292929}.mzn-playground.is-dark .select.is-dark select:focus,.mzn-playground.is-dark .select.is-dark select.is-focused,.mzn-playground.is-dark .select.is-dark select:active,.mzn-playground.is-dark .select.is-dark select.is-active{box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .select.is-primary:not(:hover):after{border-color:#1491eb}.mzn-playground.is-dark .select.is-primary select{border-color:#1491eb}.mzn-playground.is-dark .select.is-primary select:hover,.mzn-playground.is-dark .select.is-primary select.is-hovered{border-color:#1283d4}.mzn-playground.is-dark .select.is-primary select:focus,.mzn-playground.is-dark .select.is-primary select.is-focused,.mzn-playground.is-dark .select.is-primary select:active,.mzn-playground.is-dark .select.is-primary select.is-active{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .select.is-link:not(:hover):after{border-color:#6294ff}.mzn-playground.is-dark .select.is-link select{border-color:#6294ff}.mzn-playground.is-dark .select.is-link select:hover,.mzn-playground.is-dark .select.is-link select.is-hovered{border-color:#4983ff}.mzn-playground.is-dark .select.is-link select:focus,.mzn-playground.is-dark .select.is-link select.is-focused,.mzn-playground.is-dark .select.is-link select:active,.mzn-playground.is-dark .select.is-link select.is-active{box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .select.is-info:not(:hover):after{border-color:#3e8ed0}.mzn-playground.is-dark .select.is-info select{border-color:#3e8ed0}.mzn-playground.is-dark .select.is-info select:hover,.mzn-playground.is-dark .select.is-info select.is-hovered{border-color:#3082c5}.mzn-playground.is-dark .select.is-info select:focus,.mzn-playground.is-dark .select.is-info select.is-focused,.mzn-playground.is-dark .select.is-info select:active,.mzn-playground.is-dark .select.is-info select.is-active{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .select.is-success:not(:hover):after{border-color:#48c78e}.mzn-playground.is-dark .select.is-success select{border-color:#48c78e}.mzn-playground.is-dark .select.is-success select:hover,.mzn-playground.is-dark .select.is-success select.is-hovered{border-color:#3abb81}.mzn-playground.is-dark .select.is-success select:focus,.mzn-playground.is-dark .select.is-success select.is-focused,.mzn-playground.is-dark .select.is-success select:active,.mzn-playground.is-dark .select.is-success select.is-active{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .select.is-warning:not(:hover):after{border-color:#ffe08a}.mzn-playground.is-dark .select.is-warning select{border-color:#ffe08a}.mzn-playground.is-dark .select.is-warning select:hover,.mzn-playground.is-dark .select.is-warning select.is-hovered{border-color:#ffd970}.mzn-playground.is-dark .select.is-warning select:focus,.mzn-playground.is-dark .select.is-warning select.is-focused,.mzn-playground.is-dark .select.is-warning select:active,.mzn-playground.is-dark .select.is-warning select.is-active{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .select.is-danger:not(:hover):after{border-color:#f14668}.mzn-playground.is-dark .select.is-danger select{border-color:#f14668}.mzn-playground.is-dark .select.is-danger select:hover,.mzn-playground.is-dark .select.is-danger select.is-hovered{border-color:#ef2e55}.mzn-playground.is-dark .select.is-danger select:focus,.mzn-playground.is-dark .select.is-danger select.is-focused,.mzn-playground.is-dark .select.is-danger select:active,.mzn-playground.is-dark .select.is-danger select.is-active{box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .select.is-small{border-radius:2px;font-size:.75rem}.mzn-playground.is-dark .select.is-medium{font-size:1.25rem}.mzn-playground.is-dark .select.is-large{font-size:1.5rem}.mzn-playground.is-dark .select.is-disabled:after{border-color:#7a7a7a!important;opacity:.5}.mzn-playground.is-dark .select.is-fullwidth,.mzn-playground.is-dark .select.is-fullwidth select{width:100%}.mzn-playground.is-dark .select.is-loading:after{margin-top:0;position:absolute;right:.625em;top:.625em;transform:none}.mzn-playground.is-dark .select.is-loading.is-small:after{font-size:.75rem}.mzn-playground.is-dark .select.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground.is-dark .select.is-loading.is-large:after{font-size:1.5rem}.mzn-playground.is-dark .file{align-items:stretch;display:flex;justify-content:flex-start;position:relative}.mzn-playground.is-dark .file.is-white .file-cta{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:hover .file-cta,.mzn-playground.is-dark .file.is-white.is-hovered .file-cta{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:focus .file-cta,.mzn-playground.is-dark .file.is-white.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffffff40;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:active .file-cta,.mzn-playground.is-dark .file.is-white.is-active .file-cta{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-black .file-cta{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-black:hover .file-cta,.mzn-playground.is-dark .file.is-black.is-hovered .file-cta{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-black:focus .file-cta,.mzn-playground.is-dark .file.is-black.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #0a0a0a40;color:#fff}.mzn-playground.is-dark .file.is-black:active .file-cta,.mzn-playground.is-dark .file.is-black.is-active .file-cta{background-color:#000;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-light .file-cta{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-light:hover .file-cta,.mzn-playground.is-dark .file.is-light.is-hovered .file-cta{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-light:focus .file-cta,.mzn-playground.is-dark .file.is-light.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f5f5f540;color:#000000b3}.mzn-playground.is-dark .file.is-light:active .file-cta,.mzn-playground.is-dark .file.is-light.is-active .file-cta{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-dark .file-cta{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-dark:hover .file-cta,.mzn-playground.is-dark .file.is-dark.is-hovered .file-cta{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-dark:focus .file-cta,.mzn-playground.is-dark .file.is-dark.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #36363640;color:#fff}.mzn-playground.is-dark .file.is-dark:active .file-cta,.mzn-playground.is-dark .file.is-dark.is-active .file-cta{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary .file-cta{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary:hover .file-cta,.mzn-playground.is-dark .file.is-primary.is-hovered .file-cta{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary:focus .file-cta,.mzn-playground.is-dark .file.is-primary.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #1491eb40;color:#fff}.mzn-playground.is-dark .file.is-primary:active .file-cta,.mzn-playground.is-dark .file.is-primary.is-active .file-cta{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link .file-cta{background-color:#6294ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link:hover .file-cta,.mzn-playground.is-dark .file.is-link.is-hovered .file-cta{background-color:#558bff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link:focus .file-cta,.mzn-playground.is-dark .file.is-link.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #6294ff40;color:#fff}.mzn-playground.is-dark .file.is-link:active .file-cta,.mzn-playground.is-dark .file.is-link.is-active .file-cta{background-color:#4983ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info .file-cta{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info:hover .file-cta,.mzn-playground.is-dark .file.is-info.is-hovered .file-cta{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info:focus .file-cta,.mzn-playground.is-dark .file.is-info.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #3e8ed040;color:#fff}.mzn-playground.is-dark .file.is-info:active .file-cta,.mzn-playground.is-dark .file.is-info.is-active .file-cta{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success .file-cta{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success:hover .file-cta,.mzn-playground.is-dark .file.is-success.is-hovered .file-cta{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success:focus .file-cta,.mzn-playground.is-dark .file.is-success.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #48c78e40;color:#fff}.mzn-playground.is-dark .file.is-success:active .file-cta,.mzn-playground.is-dark .file.is-success.is-active .file-cta{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-warning .file-cta{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-warning:hover .file-cta,.mzn-playground.is-dark .file.is-warning.is-hovered .file-cta{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-warning:focus .file-cta,.mzn-playground.is-dark .file.is-warning.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffe08a40;color:#000000b3}.mzn-playground.is-dark .file.is-warning:active .file-cta,.mzn-playground.is-dark .file.is-warning.is-active .file-cta{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-danger .file-cta{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-danger:hover .file-cta,.mzn-playground.is-dark .file.is-danger.is-hovered .file-cta{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-danger:focus .file-cta,.mzn-playground.is-dark .file.is-danger.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f1466840;color:#fff}.mzn-playground.is-dark .file.is-danger:active .file-cta,.mzn-playground.is-dark .file.is-danger.is-active .file-cta{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-small{font-size:.75rem}.mzn-playground.is-dark .file.is-normal{font-size:1rem}.mzn-playground.is-dark .file.is-medium{font-size:1.25rem}.mzn-playground.is-dark .file.is-medium .file-icon .fa{font-size:21px}.mzn-playground.is-dark .file.is-large{font-size:1.5rem}.mzn-playground.is-dark .file.is-large .file-icon .fa{font-size:28px}.mzn-playground.is-dark .file.has-name .file-cta{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground.is-dark .file.has-name .file-name{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .file.has-name.is-empty .file-cta{border-radius:4px}.mzn-playground.is-dark .file.has-name.is-empty .file-name{display:none}.mzn-playground.is-dark .file.is-boxed .file-label{flex-direction:column}.mzn-playground.is-dark .file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.mzn-playground.is-dark .file.is-boxed .file-name{border-width:0 1px 1px}.mzn-playground.is-dark .file.is-boxed .file-icon{height:1.5em;width:1.5em}.mzn-playground.is-dark .file.is-boxed .file-icon .fa{font-size:21px}.mzn-playground.is-dark .file.is-boxed.is-small .file-icon .fa{font-size:14px}.mzn-playground.is-dark .file.is-boxed.is-medium .file-icon .fa{font-size:28px}.mzn-playground.is-dark .file.is-boxed.is-large .file-icon .fa{font-size:35px}.mzn-playground.is-dark .file.is-boxed.has-name .file-cta{border-radius:4px 4px 0 0}.mzn-playground.is-dark .file.is-boxed.has-name .file-name{border-radius:0 0 4px 4px;border-width:0 1px 1px}.mzn-playground.is-dark .file.is-centered{justify-content:center}.mzn-playground.is-dark .file.is-fullwidth .file-label{width:100%}.mzn-playground.is-dark .file.is-fullwidth .file-name{flex-grow:1;max-width:none}.mzn-playground.is-dark .file.is-right{justify-content:flex-end}.mzn-playground.is-dark .file.is-right .file-cta{border-radius:0 4px 4px 0}.mzn-playground.is-dark .file.is-right .file-name{border-radius:4px 0 0 4px;border-width:1px 0 1px 1px;order:-1}.mzn-playground.is-dark .file-label{align-items:stretch;display:flex;cursor:pointer;justify-content:flex-start;overflow:hidden;position:relative}.mzn-playground.is-dark .file-label:hover .file-cta{background-color:#2d2d2d;color:#fff}.mzn-playground.is-dark .file-label:hover .file-name{border-color:#444}.mzn-playground.is-dark .file-label:active .file-cta{background-color:#262626;color:#fff}.mzn-playground.is-dark .file-label:active .file-name{border-color:#3d3d3d}.mzn-playground.is-dark .file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name{border-color:#4a4a4a;border-radius:4px;font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.mzn-playground.is-dark .file-cta{background-color:#333;color:#ffebeb}.mzn-playground.is-dark .file-name{border-color:#4a4a4a;border-style:solid;border-width:1px 1px 1px 0;display:block;max-width:16em;overflow:hidden;text-align:inherit;text-overflow:ellipsis}.mzn-playground.is-dark .file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-right:.5em;width:1em}.mzn-playground.is-dark .file-icon .fa{font-size:14px}.mzn-playground.is-dark .label{color:#b5b5b5;display:block;font-size:1rem;font-weight:700}.mzn-playground.is-dark .label:not(:last-child){margin-bottom:.5em}.mzn-playground.is-dark .label.is-small{font-size:.75rem}.mzn-playground.is-dark .label.is-medium{font-size:1.25rem}.mzn-playground.is-dark .label.is-large{font-size:1.5rem}.mzn-playground.is-dark .help{display:block;font-size:.75rem;margin-top:.25rem}.mzn-playground.is-dark .help.is-white{color:#fff}.mzn-playground.is-dark .help.is-black{color:#0a0a0a}.mzn-playground.is-dark .help.is-light{color:#f5f5f5}.mzn-playground.is-dark .help.is-dark{color:#363636}.mzn-playground.is-dark .help.is-primary{color:#1491eb}.mzn-playground.is-dark .help.is-link{color:#6294ff}.mzn-playground.is-dark .help.is-info{color:#3e8ed0}.mzn-playground.is-dark .help.is-success{color:#48c78e}.mzn-playground.is-dark .help.is-warning{color:#ffe08a}.mzn-playground.is-dark .help.is-danger{color:#f14668}.mzn-playground.is-dark .field:not(:last-child){margin-bottom:.75rem}.mzn-playground.is-dark .field.has-addons{display:flex;justify-content:flex-start}.mzn-playground.is-dark .field.has-addons .control:not(:last-child){margin-right:-1px}.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .button,.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .input,.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .button,.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .input,.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .button,.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .input,.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-hovered,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-hovered,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-hovered{z-index:2}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-active,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-active,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-active{z-index:3}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-active:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-active:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-active:hover{z-index:4}.mzn-playground.is-dark .field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .field.has-addons.has-addons-centered{justify-content:center}.mzn-playground.is-dark .field.has-addons.has-addons-right{justify-content:flex-end}.mzn-playground.is-dark .field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .field.is-grouped{display:flex;justify-content:flex-start}.mzn-playground.is-dark .field.is-grouped>.control{flex-shrink:0}.mzn-playground.is-dark .field.is-grouped>.control:not(:last-child){margin-bottom:0;margin-right:.75rem}.mzn-playground.is-dark .field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .field.is-grouped.is-grouped-centered{justify-content:center}.mzn-playground.is-dark .field.is-grouped.is-grouped-right{justify-content:flex-end}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline{flex-wrap:wrap}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline>.control:last-child,.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline>.control:not(:last-child){margin-bottom:.75rem}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline:last-child{margin-bottom:-.75rem}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline:not(:last-child){margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field.is-horizontal{display:flex}}.mzn-playground.is-dark .field-label .label{font-size:inherit}@media screen and (max-width: 768px){.mzn-playground.is-dark .field-label{margin-bottom:.5rem}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}.mzn-playground.is-dark .field-label.is-small{font-size:.75rem;padding-top:.375em}.mzn-playground.is-dark .field-label.is-normal{padding-top:.375em}.mzn-playground.is-dark .field-label.is-medium{font-size:1.25rem;padding-top:.375em}.mzn-playground.is-dark .field-label.is-large{font-size:1.5rem;padding-top:.375em}}.mzn-playground.is-dark .field-body .field .field{margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.mzn-playground.is-dark .field-body .field{margin-bottom:0}.mzn-playground.is-dark .field-body>.field{flex-shrink:1}.mzn-playground.is-dark .field-body>.field:not(.is-narrow){flex-grow:1}.mzn-playground.is-dark .field-body>.field:not(:last-child){margin-right:.75rem}}.mzn-playground.is-dark .control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:inherit}.mzn-playground.is-dark .control.has-icons-left .input:focus~.icon,.mzn-playground.is-dark .control.has-icons-left .select:focus~.icon,.mzn-playground.is-dark .control.has-icons-right .input:focus~.icon,.mzn-playground.is-dark .control.has-icons-right .select:focus~.icon{color:#ffebeb}.mzn-playground.is-dark .control.has-icons-left .input.is-small~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-small~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-small~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-small~.icon{font-size:.75rem}.mzn-playground.is-dark .control.has-icons-left .input.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-medium~.icon{font-size:1.25rem}.mzn-playground.is-dark .control.has-icons-left .input.is-large~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-large~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-large~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-large~.icon{font-size:1.5rem}.mzn-playground.is-dark .control.has-icons-left .icon,.mzn-playground.is-dark .control.has-icons-right .icon{color:#4a4a4a;height:2.5em;pointer-events:none;position:absolute;top:0;width:2.5em;z-index:4}.mzn-playground.is-dark .control.has-icons-left .input,.mzn-playground.is-dark .control.has-icons-left .select select{padding-left:2.5em}.mzn-playground.is-dark .control.has-icons-left .icon.is-left{left:0}.mzn-playground.is-dark .control.has-icons-right .input,.mzn-playground.is-dark .control.has-icons-right .select select{padding-right:2.5em}.mzn-playground.is-dark .control.has-icons-right .icon.is-right{right:0}.mzn-playground.is-dark .control.is-loading:after{position:absolute!important;right:.625em;top:.625em;z-index:4}.mzn-playground.is-dark .control.is-loading.is-small:after{font-size:.75rem}.mzn-playground.is-dark .control.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground.is-dark .control.is-loading.is-large:after{font-size:1.5rem}.mzn-playground.is-dark .dropdown{display:inline-flex;position:relative;vertical-align:top}.mzn-playground.is-dark .dropdown.is-active .dropdown-menu,.mzn-playground.is-dark .dropdown.is-hoverable:hover .dropdown-menu{display:block}.mzn-playground.is-dark .dropdown.is-right .dropdown-menu{left:auto;right:0}.mzn-playground.is-dark .dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:4px;padding-top:initial;top:auto}.mzn-playground.is-dark .dropdown-menu{display:none;left:0;min-width:12rem;padding-top:4px;position:absolute;top:100%;z-index:20}.mzn-playground.is-dark .dropdown-content{background-color:#292929;border-radius:4px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground.is-dark .dropdown-item{color:#ffebeb;display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem;position:relative}.mzn-playground.is-dark a.dropdown-item,.mzn-playground.is-dark button.dropdown-item{padding-right:3rem;text-align:inherit;white-space:nowrap;width:100%}.mzn-playground.is-dark a.dropdown-item:hover,.mzn-playground.is-dark button.dropdown-item:hover{background-color:#1f1f1f;color:#ffebeb}.mzn-playground.is-dark a.dropdown-item.is-active,.mzn-playground.is-dark button.dropdown-item.is-active{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .dropdown-divider{background-color:#ededed;border:none;display:block;height:1px;margin:.5rem 0}.mzn-playground.is-dark .menu{font-size:1rem}.mzn-playground.is-dark .menu.is-small{font-size:.75rem}.mzn-playground.is-dark .menu.is-medium{font-size:1.25rem}.mzn-playground.is-dark .menu.is-large{font-size:1.5rem}.mzn-playground.is-dark .menu-list{line-height:1.25}.mzn-playground.is-dark .menu-list a{border-radius:2px;color:#ffebeb;display:block;padding:.5em .75em}.mzn-playground.is-dark .menu-list a:hover{background-color:#141414;color:#fff}.mzn-playground.is-dark .menu-list a.is-active{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .menu-list li ul{border-left:1px solid hsl(0,0%,29%);margin:.75em;padding-left:.75em}.mzn-playground.is-dark .menu-label{color:#7a7a7a;font-size:.75em;letter-spacing:.1em;text-transform:uppercase}.mzn-playground.is-dark .menu-label:not(:first-child){margin-top:1em}.mzn-playground.is-dark .menu-label:not(:last-child){margin-bottom:1em}.mzn-playground.is-dark .modal{align-items:center;display:none;flex-direction:column;justify-content:center;overflow:hidden;position:fixed;z-index:40}.mzn-playground.is-dark .modal.is-active{display:flex}.mzn-playground.is-dark .modal-background{background-color:#0a0a0adb}.mzn-playground.is-dark .modal-content,.mzn-playground.is-dark .modal-card{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media screen and (min-width: 769px){.mzn-playground.is-dark .modal-content,.mzn-playground.is-dark .modal-card{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.mzn-playground.is-dark .modal-close{background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.mzn-playground.is-dark .modal-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden;-ms-overflow-y:visible}.mzn-playground.is-dark .modal-card-head,.mzn-playground.is-dark .modal-card-foot{align-items:center;background-color:#141414;display:flex;flex-shrink:0;justify-content:flex-start;padding:20px;position:relative}.mzn-playground.is-dark .modal-card-head{border-bottom:1px solid hsl(0,0%,29%);border-top-left-radius:6px;border-top-right-radius:6px}.mzn-playground.is-dark .modal-card-title{color:#fff;flex-grow:1;flex-shrink:0;font-size:1.5rem;line-height:1}.mzn-playground.is-dark .modal-card-foot{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid hsl(0,0%,29%)}.mzn-playground.is-dark .modal-card-foot .button:not(:last-child){margin-right:.5em}.mzn-playground.is-dark .modal-card-body{-webkit-overflow-scrolling:touch;background-color:#292929;flex-grow:1;flex-shrink:1;overflow:auto;padding:20px}.mzn-playground.is-dark .navbar{background-color:#292929;min-height:3.25rem;position:relative;z-index:30}.mzn-playground.is-dark .navbar.is-white{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link{color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:after{border-color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-burger{color:#0a0a0a}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-white .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link{color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:after{border-color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-dropdown a.navbar-item.is-active{background-color:#fff;color:#0a0a0a}}.mzn-playground.is-dark .navbar.is-black{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-black .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-dropdown a.navbar-item.is-active{background-color:#0a0a0a;color:#fff}}.mzn-playground.is-dark .navbar.is-light{background-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-light .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#000000b3}}.mzn-playground.is-dark .navbar.is-dark{background-color:#363636;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-dark .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#363636;color:#fff}}.mzn-playground.is-dark .navbar.is-primary{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-primary .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-dropdown a.navbar-item.is-active{background-color:#1491eb;color:#fff}}.mzn-playground.is-dark .navbar.is-link{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link.is-active{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-link .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link.is-active{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-dropdown a.navbar-item.is-active{background-color:#6294ff;color:#fff}}.mzn-playground.is-dark .navbar.is-info{background-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-info .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-dropdown a.navbar-item.is-active{background-color:#3e8ed0;color:#fff}}.mzn-playground.is-dark .navbar.is-success{background-color:#48c78e;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-success .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-dropdown a.navbar-item.is-active{background-color:#48c78e;color:#fff}}.mzn-playground.is-dark .navbar.is-warning{background-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-warning .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-dropdown a.navbar-item.is-active{background-color:#ffe08a;color:#000000b3}}.mzn-playground.is-dark .navbar.is-danger{background-color:#f14668;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-danger .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-dropdown a.navbar-item.is-active{background-color:#f14668;color:#fff}}.mzn-playground.is-dark .navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}.mzn-playground.is-dark .navbar.has-shadow{box-shadow:0 2px #141414}.mzn-playground.is-dark .navbar.is-fixed-bottom,.mzn-playground.is-dark .navbar.is-fixed-top{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom.has-shadow{box-shadow:0 -2px #141414}.mzn-playground.is-dark .navbar.is-fixed-top{top:0}.mzn-playground.is-dark html.has-navbar-fixed-top,.mzn-playground.is-dark body.has-navbar-fixed-top{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom,.mzn-playground.is-dark body.has-navbar-fixed-bottom{padding-bottom:3.25rem}.mzn-playground.is-dark .navbar-brand,.mzn-playground.is-dark .navbar-tabs{align-items:stretch;display:flex;flex-shrink:0;min-height:3.25rem}.mzn-playground.is-dark .navbar-brand a.navbar-item:focus,.mzn-playground.is-dark .navbar-brand a.navbar-item:hover{background-color:transparent}.mzn-playground.is-dark .navbar-tabs{-webkit-overflow-scrolling:touch;max-width:100vw;overflow-x:auto;overflow-y:hidden}.mzn-playground.is-dark .navbar-burger{color:#ffebeb;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:block;height:3.25rem;position:relative;width:3.25rem;margin-left:auto}.mzn-playground.is-dark .navbar-burger span{background-color:currentColor;display:block;height:1px;left:calc(50% - 8px);position:absolute;transform-origin:center;transition-duration:86ms;transition-property:background-color,opacity,transform;transition-timing-function:ease-out;width:16px}.mzn-playground.is-dark .navbar-burger span:nth-child(1){top:calc(50% - 6px)}.mzn-playground.is-dark .navbar-burger span:nth-child(2){top:calc(50% - 1px)}.mzn-playground.is-dark .navbar-burger span:nth-child(3){top:calc(50% + 4px)}.mzn-playground.is-dark .navbar-burger:hover{background-color:#0000000d}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(1){transform:translateY(5px) rotate(45deg)}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(2){opacity:0}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}.mzn-playground.is-dark .navbar-menu{display:none}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{color:#ffebeb;display:block;line-height:1.5;padding:.5rem .75rem;position:relative}.mzn-playground.is-dark .navbar-item .icon:only-child,.mzn-playground.is-dark .navbar-link .icon:only-child{margin-left:-.25rem;margin-right:-.25rem}.mzn-playground.is-dark a.navbar-item,.mzn-playground.is-dark .navbar-link{cursor:pointer}.mzn-playground.is-dark a.navbar-item:focus,.mzn-playground.is-dark a.navbar-item:focus-within,.mzn-playground.is-dark a.navbar-item:hover,.mzn-playground.is-dark a.navbar-item.is-active,.mzn-playground.is-dark .navbar-link:focus,.mzn-playground.is-dark .navbar-link:focus-within,.mzn-playground.is-dark .navbar-link:hover,.mzn-playground.is-dark .navbar-link.is-active{background-color:#2e2e2e;color:#6294ff}.mzn-playground.is-dark .navbar-item{flex-grow:0;flex-shrink:0}.mzn-playground.is-dark .navbar-item img{max-height:1.75rem}.mzn-playground.is-dark .navbar-item.has-dropdown{padding:0}.mzn-playground.is-dark .navbar-item.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .navbar-item.is-tab{border-bottom:1px solid transparent;min-height:3.25rem;padding-bottom:calc(.5rem - 1px)}.mzn-playground.is-dark .navbar-item.is-tab:focus,.mzn-playground.is-dark .navbar-item.is-tab:hover{background-color:transparent;border-bottom-color:#6294ff}.mzn-playground.is-dark .navbar-item.is-tab.is-active{background-color:transparent;border-bottom-color:#6294ff;border-bottom-style:solid;border-bottom-width:3px;color:#6294ff;padding-bottom:calc(.5rem - 3px)}.mzn-playground.is-dark .navbar-content{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .navbar-link:not(.is-arrowless){padding-right:2.5em}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after{border-color:#6294ff;margin-top:-.375em;right:1.125em}.mzn-playground.is-dark .navbar-dropdown{font-size:.875rem;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground.is-dark .navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.mzn-playground.is-dark .navbar-divider{background-color:#141414;border:none;display:none;height:2px;margin:.5rem 0}@media screen and (max-width: 768px){.mzn-playground.is-dark .navbar>.container{display:block}.mzn-playground.is-dark .navbar-brand .navbar-item,.mzn-playground.is-dark .navbar-tabs .navbar-item{align-items:center;display:flex}.mzn-playground.is-dark .navbar-link:after{display:none}.mzn-playground.is-dark .navbar-menu{background-color:#292929;box-shadow:0 8px 16px #0a0a0a1a;padding:.5rem 0}.mzn-playground.is-dark .navbar-menu.is-active{display:block}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch,.mzn-playground.is-dark .navbar.is-fixed-top-touch{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground.is-dark .navbar.is-fixed-top-touch{top:0}.mzn-playground.is-dark .navbar.is-fixed-top .navbar-menu,.mzn-playground.is-dark .navbar.is-fixed-top-touch .navbar-menu{-webkit-overflow-scrolling:touch;max-height:calc(100vh - 3.25rem);overflow:auto}.mzn-playground.is-dark html.has-navbar-fixed-top-touch,.mzn-playground.is-dark body.has-navbar-fixed-top-touch{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom-touch,.mzn-playground.is-dark body.has-navbar-fixed-bottom-touch{padding-bottom:3.25rem}}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar,.mzn-playground.is-dark .navbar-menu,.mzn-playground.is-dark .navbar-start,.mzn-playground.is-dark .navbar-end{align-items:stretch;display:flex}.mzn-playground.is-dark .navbar{min-height:3.25rem}.mzn-playground.is-dark .navbar.is-spaced{padding:1rem 2rem}.mzn-playground.is-dark .navbar.is-spaced .navbar-start,.mzn-playground.is-dark .navbar.is-spaced .navbar-end{align-items:center}.mzn-playground.is-dark .navbar.is-spaced a.navbar-item,.mzn-playground.is-dark .navbar.is-spaced .navbar-link{border-radius:4px}.mzn-playground.is-dark .navbar.is-transparent a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-transparent a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-transparent a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-transparent .navbar-link:focus,.mzn-playground.is-dark .navbar.is-transparent .navbar-link:hover,.mzn-playground.is-dark .navbar.is-transparent .navbar-link.is-active{background-color:transparent!important}.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link{background-color:transparent!important}.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item:hover{background-color:#141414;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active{background-color:#141414;color:#6294ff}.mzn-playground.is-dark .navbar-burger{display:none}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{align-items:center;display:flex}.mzn-playground.is-dark .navbar-item.has-dropdown{align-items:stretch}.mzn-playground.is-dark .navbar-item.has-dropdown-up .navbar-link:after{transform:rotate(135deg) translate(.25em,-.25em)}.mzn-playground.is-dark .navbar-item.has-dropdown-up .navbar-dropdown{border-bottom:2px solid hsl(0,0%,29%);border-radius:6px 6px 0 0;border-top:none;bottom:100%;box-shadow:0 -8px 8px #0a0a0a1a;top:auto}.mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed{opacity:1;pointer-events:auto;transform:translateY(0)}.mzn-playground.is-dark .navbar-menu{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .navbar-start{justify-content:flex-start;margin-right:auto}.mzn-playground.is-dark .navbar-end{justify-content:flex-end;margin-left:auto}.mzn-playground.is-dark .navbar-dropdown{background-color:#292929;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:2px solid hsl(0,0%,29%);box-shadow:0 8px 8px #0a0a0a1a;display:none;font-size:.875rem;left:0;min-width:100%;position:absolute;top:100%;z-index:20}.mzn-playground.is-dark .navbar-dropdown .navbar-item{padding:.375rem 1rem;white-space:nowrap}.mzn-playground.is-dark .navbar-dropdown a.navbar-item{padding-right:3rem}.mzn-playground.is-dark .navbar-dropdown a.navbar-item:focus,.mzn-playground.is-dark .navbar-dropdown a.navbar-item:hover{background-color:#141414;color:#0a0a0a}.mzn-playground.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#141414;color:#6294ff}.navbar.is-spaced .mzn-playground.is-dark .navbar-dropdown,.mzn-playground.is-dark .navbar-dropdown.is-boxed{border-radius:6px;border-top:none;box-shadow:0 8px 8px #0a0a0a1a,0 0 0 1px #0a0a0a1a;display:block;opacity:0;pointer-events:none;top:calc(100% - 4px);transform:translateY(-5px);transition-duration:86ms;transition-property:opacity,transform}.mzn-playground.is-dark .navbar-dropdown.is-right{left:auto;right:0}.mzn-playground.is-dark .navbar-divider{display:block}.mzn-playground.is-dark .navbar>.container .navbar-brand,.mzn-playground.is-dark .container>.navbar .navbar-brand{margin-left:-.75rem}.mzn-playground.is-dark .navbar>.container .navbar-menu,.mzn-playground.is-dark .container>.navbar .navbar-menu{margin-right:-.75rem}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop,.mzn-playground.is-dark .navbar.is-fixed-top-desktop{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground.is-dark .navbar.is-fixed-top-desktop{top:0}.mzn-playground.is-dark html.has-navbar-fixed-top-desktop,.mzn-playground.is-dark body.has-navbar-fixed-top-desktop{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom-desktop,.mzn-playground.is-dark body.has-navbar-fixed-bottom-desktop{padding-bottom:3.25rem}.mzn-playground.is-dark html.has-spaced-navbar-fixed-top,.mzn-playground.is-dark body.has-spaced-navbar-fixed-top{padding-top:5.25rem}.mzn-playground.is-dark html.has-spaced-navbar-fixed-bottom,.mzn-playground.is-dark body.has-spaced-navbar-fixed-bottom{padding-bottom:5.25rem}.mzn-playground.is-dark a.navbar-item.is-active,.mzn-playground.is-dark .navbar-link.is-active{color:#0a0a0a}.mzn-playground.is-dark a.navbar-item.is-active:not(:focus):not(:hover),.mzn-playground.is-dark .navbar-link.is-active:not(:focus):not(:hover){background-color:transparent}.mzn-playground.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#2e2e2e}}.mzn-playground.is-dark .hero.is-fullheight-with-navbar{min-height:calc(100vh - 3.25rem)}.mzn-playground.is-dark .panel{border-radius:6px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;font-size:1rem}.mzn-playground.is-dark .panel:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .panel.is-white .panel-heading{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .panel.is-white .panel-tabs a.is-active{border-bottom-color:#fff}.mzn-playground.is-dark .panel.is-white .panel-block.is-active .panel-icon{color:#fff}.mzn-playground.is-dark .panel.is-black .panel-heading{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .panel.is-black .panel-tabs a.is-active{border-bottom-color:#0a0a0a}.mzn-playground.is-dark .panel.is-black .panel-block.is-active .panel-icon{color:#0a0a0a}.mzn-playground.is-dark .panel.is-light .panel-heading{background-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .panel.is-light .panel-tabs a.is-active{border-bottom-color:#f5f5f5}.mzn-playground.is-dark .panel.is-light .panel-block.is-active .panel-icon{color:#f5f5f5}.mzn-playground.is-dark .panel.is-dark .panel-heading{background-color:#363636;color:#fff}.mzn-playground.is-dark .panel.is-dark .panel-tabs a.is-active{border-bottom-color:#363636}.mzn-playground.is-dark .panel.is-dark .panel-block.is-active .panel-icon{color:#363636}.mzn-playground.is-dark .panel.is-primary .panel-heading{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .panel.is-primary .panel-tabs a.is-active{border-bottom-color:#1491eb}.mzn-playground.is-dark .panel.is-primary .panel-block.is-active .panel-icon{color:#1491eb}.mzn-playground.is-dark .panel.is-link .panel-heading{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .panel.is-link .panel-tabs a.is-active{border-bottom-color:#6294ff}.mzn-playground.is-dark .panel.is-link .panel-block.is-active .panel-icon{color:#6294ff}.mzn-playground.is-dark .panel.is-info .panel-heading{background-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .panel.is-info .panel-tabs a.is-active{border-bottom-color:#3e8ed0}.mzn-playground.is-dark .panel.is-info .panel-block.is-active .panel-icon{color:#3e8ed0}.mzn-playground.is-dark .panel.is-success .panel-heading{background-color:#48c78e;color:#fff}.mzn-playground.is-dark .panel.is-success .panel-tabs a.is-active{border-bottom-color:#48c78e}.mzn-playground.is-dark .panel.is-success .panel-block.is-active .panel-icon{color:#48c78e}.mzn-playground.is-dark .panel.is-warning .panel-heading{background-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .panel.is-warning .panel-tabs a.is-active{border-bottom-color:#ffe08a}.mzn-playground.is-dark .panel.is-warning .panel-block.is-active .panel-icon{color:#ffe08a}.mzn-playground.is-dark .panel.is-danger .panel-heading{background-color:#f14668;color:#fff}.mzn-playground.is-dark .panel.is-danger .panel-tabs a.is-active{border-bottom-color:#f14668}.mzn-playground.is-dark .panel.is-danger .panel-block.is-active .panel-icon{color:#f14668}.mzn-playground.is-dark .panel-tabs:not(:last-child),.mzn-playground.is-dark .panel-block:not(:last-child){border-bottom:1px solid hsl(0,0%,93%)}.mzn-playground.is-dark .panel-heading{background-color:#ededed;border-radius:6px 6px 0 0;color:#fff;font-size:1.25em;font-weight:700;line-height:1.25;padding:.75em 1em}.mzn-playground.is-dark .panel-tabs{align-items:flex-end;display:flex;font-size:.875em;justify-content:center}.mzn-playground.is-dark .panel-tabs a{border-bottom:1px solid hsl(0,0%,29%);margin-bottom:-1px;padding:.5em}.mzn-playground.is-dark .panel-tabs a.is-active{border-bottom-color:#b5b5b5;color:#c9c9c9}.mzn-playground.is-dark .panel-list a{color:#ffebeb}.mzn-playground.is-dark .panel-list a:hover{color:#6294ff}.mzn-playground.is-dark .panel-block{align-items:center;color:#fff;display:flex;justify-content:flex-start;padding:.5em .75em}.mzn-playground.is-dark .panel-block input[type=checkbox]{margin-right:.75em}.mzn-playground.is-dark .panel-block>.control{flex-grow:1;flex-shrink:1;width:100%}.mzn-playground.is-dark .panel-block.is-wrapped{flex-wrap:wrap}.mzn-playground.is-dark .panel-block.is-active{border-left-color:#6294ff;color:#c9c9c9}.mzn-playground.is-dark .panel-block.is-active .panel-icon{color:#6294ff}.mzn-playground.is-dark .panel-block:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mzn-playground.is-dark a.panel-block,.mzn-playground.is-dark label.panel-block{cursor:pointer}.mzn-playground.is-dark a.panel-block:hover,.mzn-playground.is-dark label.panel-block:hover{background-color:#141414}.mzn-playground.is-dark .panel-icon{display:inline-block;font-size:14px;height:1em;line-height:1em;text-align:center;vertical-align:top;width:1em;color:#7a7a7a;margin-right:.75em}.mzn-playground.is-dark .panel-icon .fa{font-size:inherit;line-height:inherit}.mzn-playground.is-dark .tabs{-webkit-overflow-scrolling:touch;align-items:stretch;display:flex;font-size:1rem;justify-content:space-between;overflow:hidden;overflow-x:auto;white-space:nowrap}.mzn-playground.is-dark .tabs a{align-items:center;border-bottom-color:#4a4a4a;border-bottom-style:solid;border-bottom-width:1px;color:#ffebeb;display:flex;justify-content:center;margin-bottom:-1px;padding:.5em 1em;vertical-align:top}.mzn-playground.is-dark .tabs a:hover{border-bottom-color:#fff;color:#fff}.mzn-playground.is-dark .tabs li{display:block}.mzn-playground.is-dark .tabs li.is-active a{border-bottom-color:#6294ff;color:#6294ff}.mzn-playground.is-dark .tabs ul{align-items:center;border-bottom-color:#4a4a4a;border-bottom-style:solid;border-bottom-width:1px;display:flex;flex-grow:1;flex-shrink:0;justify-content:flex-start}.mzn-playground.is-dark .tabs ul.is-left{padding-right:.75em}.mzn-playground.is-dark .tabs ul.is-center{flex:none;justify-content:center;padding-left:.75em;padding-right:.75em}.mzn-playground.is-dark .tabs ul.is-right{justify-content:flex-end;padding-left:.75em}.mzn-playground.is-dark .tabs .icon:first-child{margin-right:.5em}.mzn-playground.is-dark .tabs .icon:last-child{margin-left:.5em}.mzn-playground.is-dark .tabs.is-centered ul{justify-content:center}.mzn-playground.is-dark .tabs.is-right ul{justify-content:flex-end}.mzn-playground.is-dark .tabs.is-boxed a{border:1px solid transparent;border-radius:4px 4px 0 0}.mzn-playground.is-dark .tabs.is-boxed a:hover{background-color:#141414;border-bottom-color:#4a4a4a}.mzn-playground.is-dark .tabs.is-boxed li.is-active a{background-color:#292929;border-color:#4a4a4a;border-bottom-color:transparent!important}.mzn-playground.is-dark .tabs.is-fullwidth li{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .tabs.is-toggle a{border-color:#4a4a4a;border-style:solid;border-width:1px;margin-bottom:0;position:relative}.mzn-playground.is-dark .tabs.is-toggle a:hover{background-color:#141414;border-color:#b5b5b5;z-index:2}.mzn-playground.is-dark .tabs.is-toggle li+li{margin-left:-1px}.mzn-playground.is-dark .tabs.is-toggle li:first-child a{border-top-left-radius:4px;border-bottom-left-radius:4px}.mzn-playground.is-dark .tabs.is-toggle li:last-child a{border-top-right-radius:4px;border-bottom-right-radius:4px}.mzn-playground.is-dark .tabs.is-toggle li.is-active a{background-color:#6294ff;border-color:#6294ff;color:#fff;z-index:1}.mzn-playground.is-dark .tabs.is-toggle ul{border-bottom:none}.mzn-playground.is-dark .tabs.is-toggle.is-toggle-rounded li:first-child a{border-bottom-left-radius:9999px;border-top-left-radius:9999px;padding-left:1.25em}.mzn-playground.is-dark .tabs.is-toggle.is-toggle-rounded li:last-child a{border-bottom-right-radius:9999px;border-top-right-radius:9999px;padding-right:1.25em}.mzn-playground.is-dark .tabs.is-small{font-size:.75rem}.mzn-playground.is-dark .tabs.is-medium{font-size:1.25rem}.mzn-playground.is-dark .tabs.is-large{font-size:1.5rem}.mzn-playground.is-dark .is-block{display:block!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-block-mobile{display:block!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-block-tablet{display:block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-block-tablet-only{display:block!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-block-touch{display:block!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-block-desktop{display:block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-block-desktop-only{display:block!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-block-widescreen{display:block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-block-widescreen-only{display:block!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-block-fullhd{display:block!important}}.mzn-playground.is-dark .is-flex{display:flex!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-flex-mobile{display:flex!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-flex-tablet{display:flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-flex-tablet-only{display:flex!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-flex-touch{display:flex!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-flex-desktop{display:flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-flex-desktop-only{display:flex!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-flex-widescreen{display:flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-flex-widescreen-only{display:flex!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-flex-fullhd{display:flex!important}}.mzn-playground.is-dark .is-inline{display:inline!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-mobile{display:inline!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-tablet{display:inline!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-tablet-only{display:inline!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-touch{display:inline!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-desktop{display:inline!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-desktop-only{display:inline!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-widescreen{display:inline!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-widescreen-only{display:inline!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-fullhd{display:inline!important}}.mzn-playground.is-dark .is-inline-block{display:inline-block!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-block-mobile{display:inline-block!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-block-tablet{display:inline-block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-block-tablet-only{display:inline-block!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-block-touch{display:inline-block!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-block-desktop{display:inline-block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-block-desktop-only{display:inline-block!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-block-widescreen{display:inline-block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-block-widescreen-only{display:inline-block!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-block-fullhd{display:inline-block!important}}.mzn-playground.is-dark .is-inline-flex{display:inline-flex!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-flex-mobile{display:inline-flex!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-flex-tablet{display:inline-flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-flex-tablet-only{display:inline-flex!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-flex-touch{display:inline-flex!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-flex-desktop{display:inline-flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-flex-desktop-only{display:inline-flex!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-flex-widescreen{display:inline-flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-flex-widescreen-only{display:inline-flex!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-flex-fullhd{display:inline-flex!important}}.mzn-playground.is-dark .is-hidden{display:none!important}.mzn-playground.is-dark .is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-hidden-mobile{display:none!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-hidden-tablet{display:none!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-hidden-tablet-only{display:none!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-hidden-touch{display:none!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-hidden-desktop{display:none!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-hidden-desktop-only{display:none!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-hidden-widescreen{display:none!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-hidden-widescreen-only{display:none!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-hidden-fullhd{display:none!important}}.mzn-playground.is-dark .is-invisible{visibility:hidden!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-invisible-mobile{visibility:hidden!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-invisible-tablet{visibility:hidden!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-invisible-tablet-only{visibility:hidden!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-invisible-touch{visibility:hidden!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-invisible-desktop{visibility:hidden!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-invisible-desktop-only{visibility:hidden!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-invisible-widescreen{visibility:hidden!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-invisible-widescreen-only{visibility:hidden!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-invisible-fullhd{visibility:hidden!important}}.mzn-playground.is-dark{box-sizing:border-box;background-color:#292929;font-size:16px;min-width:300px;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#ffebeb;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{padding:.5rem}.mzn-playground.is-dark .delete{background-color:#333}.mzn-playground.is-dark .delete:before,.mzn-playground.is-dark .delete:after{background-color:#ffebeb}.mzn-playground.is-dark .delete:hover,.mzn-playground.is-dark .delete:focus{background-color:#292929}.mzn-playground.is-dark .delete:active{background-color:#333}.mzn-playground.is-dark *{scrollbar-width:thin;scrollbar-color:hsl(0,0%,24%) hsl(0,0%,16%)}.mzn-playground.is-dark *::-webkit-scrollbar{width:8px}.mzn-playground.is-dark *::-webkit-scrollbar-track{background:hsl(0,0%,16%)}.mzn-playground.is-dark *::-webkit-scrollbar-thumb{background-color:#3d3d3d}.mzn-playground .output-window pre,.mzn-playground.is-dark .output-window pre{padding:0;background:none;display:inline;color:inherit;white-space:pre-wrap}.mzn-playground .mzn-trace,.mzn-playground .mzn-comment,.mzn-playground .mzn-stderr,.mzn-playground .mzn-checker,.mzn-playground.is-dark .mzn-trace,.mzn-playground.is-dark .mzn-comment,.mzn-playground.is-dark .mzn-stderr,.mzn-playground.is-dark .mzn-checker{color:var(--mzn-playground-gray)!important}.mzn-playground .mzn-stat,.mzn-playground .mzn-runtime,.mzn-playground.is-dark .mzn-stat,.mzn-playground.is-dark .mzn-runtime{color:var(--mzn-playground-blue)!important}.mzn-playground .mzn-error,.mzn-playground.is-dark .mzn-error{color:var(--mzn-playground-red)!important}.mzn-playground .mzn-warning,.mzn-playground.is-dark .mzn-warning{color:var(--mzn-playground-yellow)!important}.mzn-playground .mzn-link,.mzn-playground.is-dark .mzn-link{text-decoration:underline!important}html,body{margin:0}.mzn-editor.svelte-1fycn7h{height:100%;overflow:auto}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning{position:relative;display:inline-block}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after{border-color:var(--mzn-playground-red)}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{border-color:var(--mzn-playground-yellow)}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{content:"";border-bottom-width:2px;border-bottom-style:dotted;position:absolute;display:block;pointer-events:none}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before{left:2px;right:0;bottom:2px}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{left:0;right:2px;bottom:0}.split.svelte-e8t4e8{width:100%;height:100%;display:flex;flex-direction:column}.split.horizontal.svelte-e8t4e8{flex-direction:row}.no-splitter.svelte-e8t4e8{flex:1 1 auto}.split.svelte-e8t4e8 .gutter{background-color:var(--mzn-playground-splitter);background-repeat:no-repeat;background-position:50%}.split.svelte-e8t4e8 .gutter.gutter-vertical{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=);cursor:row-resize}.split.svelte-e8t4e8 .gutter.gutter-horizontal{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==);cursor:col-resize}.spin.svelte-1cj2gr0{animation:svelte-1cj2gr0-spin 2s 0s infinite linear}.pulse.svelte-1cj2gr0{animation:svelte-1cj2gr0-spin 1s infinite steps(8)}@keyframes svelte-1cj2gr0-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.close-tab.svelte-1ul6ap.svelte-1ul6ap{padding-left:.5rem;cursor:pointer}.active.svelte-1ul6ap:not(.readonly) .filename.svelte-1ul6ap{cursor:text}.active.filename-link.svelte-1ul6ap.svelte-1ul6ap{cursor:default}.tabs.svelte-7ub6h4{margin-bottom:0}.add-icon.svelte-7ub6h4{margin:0!important}.right.svelte-7ub6h4{flex:1 1 auto;display:flex!important;justify-content:flex-end;padding-right:.5rem!important}pre.svelte-w513p9{padding:0;background:none;display:inline;color:inherit;white-space:pre-wrap}.mzn-error.svelte-w513p9{color:var(--mzn-playground-red)}.mzn-warning.svelte-w513p9{color:var(--mzn-playground-yellow)}.mzn-link.svelte-w513p9{text-decoration:underline}.stack.svelte-147pmov.svelte-147pmov{display:flex;flex-direction:column;height:100%}.stack.svelte-147pmov>.grow.svelte-147pmov{flex:1 1 0;overflow:hidden}.stack.svelte-147pmov>.top.svelte-147pmov{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.stack.svelte-147pmov>.top.is-empty.svelte-147pmov{padding:0}.stack.svelte-147pmov>.top.is-empty.is-tab.svelte-147pmov{border-bottom:0}.top.svelte-147pmov>.field.svelte-147pmov{margin-bottom:0}.grow.svelte-147pmov.svelte-147pmov{background-color:var(--mzn-playground-input-background-color)}.spacer.svelte-147pmov.svelte-147pmov{flex:1 1 auto}.section-toggle.svelte-147pmov.svelte-147pmov{margin-right:.5rem}.output-window.svelte-147pmov.svelte-147pmov{height:100%;overflow:auto;padding:.5rem}details.svelte-147pmov.svelte-147pmov{margin-bottom:.5rem}.messages.svelte-147pmov.svelte-147pmov{padding-left:.5rem;line-height:1.25}.mzn-checker.svelte-147pmov.svelte-147pmov{display:block}.stack.svelte-152bhkz.svelte-152bhkz{display:flex;flex-direction:column;height:100%}.stack.svelte-152bhkz>.grow.svelte-152bhkz{flex:1 1 0;overflow:hidden}.stack.svelte-152bhkz>.top.svelte-152bhkz{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.top.svelte-152bhkz>.field.svelte-152bhkz{margin-bottom:0}.vis-grid.svelte-152bhkz.svelte-152bhkz{width:100%;height:100%;display:grid;grid-auto-rows:auto;gap:1px;background:var(--mzn-playground-border)}.vis-window.svelte-152bhkz.svelte-152bhkz{background:#fff;border:0;width:100%;height:100%}.solution-slider.svelte-152bhkz.svelte-152bhkz{flex:1 1 auto;padding:0 1rem;display:flex;align-items:center}.solution-label.svelte-152bhkz.svelte-152bhkz{display:flex;align-items:center;padding-right:1rem}.solution-slider.svelte-152bhkz>input.svelte-152bhkz{width:100%}.is-hidden.svelte-1kj2hj8.svelte-1kj2hj8{display:none}.menu-list.svelte-1kj2hj8 .button.svelte-1kj2hj8{text-decoration:none;display:block;width:100%;text-align:left}.tool-buttons.svelte-1bgv9sn{display:flex;align-items:center;justify-content:flex-end}.select.is-multiple.svelte-1x5266v select.svelte-1x5266v{height:auto;padding:0}.select.is-multiple.svelte-1x5266v option.svelte-1x5266v{padding:.5em 1em}.param.svelte-7d5f7m.svelte-7d5f7m{display:flex;flex-direction:row;align-items:center}.param.svelte-7d5f7m input.svelte-7d5f7m{flex:1 1 auto;width:auto;margin-left:1rem}.config-window.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{position:relative;padding:1rem;flex:0 0 30%;min-width:300px;max-width:450px;border-top:solid 1px var(--mzn-playground-border);border-left:solid 1px var(--mzn-playground-border)}.exit-button.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{position:absolute;top:0;right:0}.checkbox-control.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{display:flex;align-items:center}.checkbox-control.svelte-1uq9463>input[type=checkbox].svelte-1uq9463+label.svelte-1uq9463{margin-left:.5rem}.bottom-buttons.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{margin-top:2rem}.mzn-playground.svelte-1llogi3.svelte-1llogi3{height:100%}.stack.svelte-1llogi3.svelte-1llogi3{display:flex;flex-direction:column;height:100%}.stack.svelte-1llogi3>.grow.svelte-1llogi3{flex:1 1 0;overflow:hidden}.main-panel.svelte-1llogi3.svelte-1llogi3{display:flex}.main-panel.svelte-1llogi3>.svelte-1llogi3{height:100%;overflow:hidden}.main-panel.svelte-1llogi3>.left.svelte-1llogi3{flex:1 1 0}.stack.svelte-1llogi3>.top.svelte-1llogi3{flex:0 0 auto}.panel.svelte-1llogi3.svelte-1llogi3{height:100%}.tab-end.svelte-1llogi3.svelte-1llogi3{flex:1 1 auto;display:flex!important;justify-content:flex-end;padding-right:.5rem}.tab-window.svelte-1llogi3.svelte-1llogi3{display:none;height:100%}.tab-window.visible.svelte-1llogi3.svelte-1llogi3{display:block}.mobile-menu-item.svelte-1llogi3.svelte-1llogi3{display:flex;align-items:center}.mobile-menu-item.svelte-1llogi3 .icon.svelte-1llogi3:first-child{margin-right:.5rem}.mobile-menu-item.svelte-1llogi3 .icon.svelte-1llogi3:last-child{margin-left:.5rem}@media only screen and (max-width: 768px){.navbar-run-buttons.svelte-1llogi3.svelte-1llogi3{flex-grow:1;flex-shrink:1}}.playground-app.svelte-tuc1wl{height:100vh} +.mzn-playground{--mzn-playground-border: hsl(0, 0%, 86%);--mzn-playground-input-background-color: hsl(0, 0%, 100%);--mzn-playground-splitter: #EEE;--mzn-playground-gray: gray;--mzn-playground-blue: blue;--mzn-playground-red: red;--mzn-playground-yellow: #d1d100}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name,.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground.is-dark .button,.mzn-playground .file-cta,.mzn-playground .file-name,.mzn-playground .select select,.mzn-playground .textarea,.mzn-playground .input,.mzn-playground .button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(.5em - 1px);padding-left:calc(.75em - 1px);padding-right:calc(.75em - 1px);padding-top:calc(.5em - 1px);position:relative;vertical-align:top}.mzn-playground .file-cta:focus,.mzn-playground .file-name:focus,.mzn-playground.is-dark .select select:focus,.mzn-playground .select select:focus,.mzn-playground .textarea:focus,.mzn-playground .input:focus,.mzn-playground .button:focus,.mzn-playground .is-focused.file-cta,.mzn-playground .is-focused.file-name,.mzn-playground.is-dark .select select.is-focused,.mzn-playground .select select.is-focused,.mzn-playground .is-focused.textarea,.mzn-playground .is-focused.input,.mzn-playground .is-focused.button,.mzn-playground .file-cta:active,.mzn-playground .file-name:active,.mzn-playground.is-dark .select select:active,.mzn-playground .select select:active,.mzn-playground .textarea:active,.mzn-playground .input:active,.mzn-playground .button:active,.mzn-playground .is-active.file-cta,.mzn-playground .is-active.file-name,.mzn-playground.is-dark .select select.is-active,.mzn-playground .select select.is-active,.mzn-playground .is-active.textarea,.mzn-playground .is-active.input,.mzn-playground .is-active.button{outline:none}.mzn-playground [disabled].file-cta,.mzn-playground [disabled].file-name,.mzn-playground.is-dark .select select[disabled],.mzn-playground .select select[disabled],.mzn-playground [disabled].textarea,.mzn-playground [disabled].input,.mzn-playground [disabled].button,fieldset[disabled] .mzn-playground .file-cta,fieldset[disabled] .mzn-playground .file-name,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground .select select,fieldset[disabled] .mzn-playground .textarea,fieldset[disabled] .mzn-playground .input,fieldset[disabled] .mzn-playground .button{cursor:not-allowed}.mzn-playground.is-dark .tabs,.mzn-playground.is-dark .file,.mzn-playground.is-dark .button,.mzn-playground .tabs,.mzn-playground .file,.mzn-playground .button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after,.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after,.mzn-playground .navbar-link:not(.is-arrowless):after,.mzn-playground .select:not(.is-multiple):not(.is-loading):after{border:3px solid transparent;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.mzn-playground .tabs:not(:last-child),.mzn-playground .block:not(:last-child),.mzn-playground .table-container:not(:last-child),.mzn-playground .table:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .modal-close,.mzn-playground.is-dark .delete,.mzn-playground .modal-close,.mzn-playground .delete{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:#0a0a0a33;border:none;border-radius:9999px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:none;position:relative;vertical-align:top;width:20px}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground .modal-close:before,.mzn-playground .delete:before,.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after,.mzn-playground .modal-close:after,.mzn-playground .delete:after{background-color:#fff;content:"";display:block;left:50%;position:absolute;top:50%;transform:translate(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground .modal-close:before,.mzn-playground .delete:before{height:2px;width:50%}.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after,.mzn-playground .modal-close:after,.mzn-playground .delete:after{height:50%;width:2px}.mzn-playground .modal-close:hover,.mzn-playground .delete:hover,.mzn-playground .modal-close:focus,.mzn-playground .delete:focus{background-color:#0a0a0a4d}.mzn-playground .modal-close:active,.mzn-playground .delete:active{background-color:#0a0a0a66}.mzn-playground .is-small.modal-close,.mzn-playground .is-small.delete{height:16px;max-height:16px;max-width:16px;min-height:16px;min-width:16px;width:16px}.mzn-playground .is-medium.modal-close,.mzn-playground .is-medium.delete{height:24px;max-height:24px;max-width:24px;min-height:24px;min-width:24px;width:24px}.mzn-playground .is-large.modal-close,.mzn-playground .is-large.delete{height:32px;max-height:32px;max-width:32px;min-height:32px;min-width:32px;width:32px}.mzn-playground.is-dark .control.is-loading:after,.mzn-playground.is-dark .select.is-loading:after,.mzn-playground.is-dark .loader,.mzn-playground.is-dark .button.is-loading:after,.mzn-playground .control.is-loading:after,.mzn-playground .select.is-loading:after,.mzn-playground .loader,.mzn-playground .button.is-loading:after{animation:spinAround .5s infinite linear;border:2px solid hsl(0,0%,86%);border-radius:9999px;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1em;position:relative;width:1em}.mzn-playground.is-dark .modal-background,.mzn-playground.is-dark .modal,.mzn-playground .modal-background,.mzn-playground .modal{bottom:0;left:0;position:absolute;right:0;top:0}.mzn-playground.is-dark .navbar-burger,.mzn-playground .navbar-burger{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;color:currentColor;font-family:inherit;font-size:1em;margin:0;padding:0}.mzn-playground html,.mzn-playground body,.mzn-playground p,.mzn-playground ol,.mzn-playground ul,.mzn-playground li,.mzn-playground dl,.mzn-playground dt,.mzn-playground dd,.mzn-playground blockquote,.mzn-playground figure,.mzn-playground fieldset,.mzn-playground legend,.mzn-playground textarea,.mzn-playground pre,.mzn-playground iframe,.mzn-playground hr,.mzn-playground h1,.mzn-playground h2,.mzn-playground h3,.mzn-playground h4,.mzn-playground h5,.mzn-playground h6{margin:0;padding:0}.mzn-playground h1,.mzn-playground h2,.mzn-playground h3,.mzn-playground h4,.mzn-playground h5,.mzn-playground h6{font-size:100%;font-weight:400}.mzn-playground ul{list-style:none}.mzn-playground button,.mzn-playground input,.mzn-playground select,.mzn-playground textarea{margin:0}.mzn-playground html{box-sizing:border-box}.mzn-playground *,.mzn-playground *:before,.mzn-playground *:after{box-sizing:inherit}.mzn-playground img,.mzn-playground video{height:auto;max-width:100%}.mzn-playground iframe{border:0}.mzn-playground table{border-collapse:collapse;border-spacing:0}.mzn-playground td,.mzn-playground th{padding:0}.mzn-playground td:not([align]),.mzn-playground th:not([align]){text-align:inherit}.mzn-playground html{background-color:#fff;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:300px;overflow-x:hidden;overflow-y:scroll;text-rendering:optimizeLegibility;text-size-adjust:100%}.mzn-playground article,.mzn-playground aside,.mzn-playground figure,.mzn-playground footer,.mzn-playground header,.mzn-playground hgroup,.mzn-playground section{display:block}.mzn-playground body,.mzn-playground button,.mzn-playground input,.mzn-playground optgroup,.mzn-playground select,.mzn-playground textarea{font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.mzn-playground code,.mzn-playground pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:monospace}.mzn-playground body{color:#4a4a4a;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground a{color:#485fc7;cursor:pointer;text-decoration:none}.mzn-playground a strong{color:currentColor}.mzn-playground a:hover{color:#363636}.mzn-playground code{background-color:#f5f5f5;color:#da1039;font-size:.875em;font-weight:400;padding:.25em .5em}.mzn-playground hr{background-color:#f5f5f5;border:none;display:block;height:2px;margin:1.5rem 0}.mzn-playground img{height:auto;max-width:100%}.mzn-playground input[type=checkbox],.mzn-playground input[type=radio]{vertical-align:baseline}.mzn-playground small{font-size:.875em}.mzn-playground span{font-style:inherit;font-weight:inherit}.mzn-playground strong{color:#363636;font-weight:700}.mzn-playground fieldset{border:none}.mzn-playground pre{-webkit-overflow-scrolling:touch;background-color:#f5f5f5;color:#4a4a4a;font-size:1em;overflow-x:auto;padding:1.25rem 1.5rem;white-space:pre;word-wrap:normal}.mzn-playground pre code{background-color:transparent;color:currentColor;font-size:1em;padding:0}.mzn-playground table td,.mzn-playground table th{vertical-align:top}.mzn-playground table td:not([align]),.mzn-playground table th:not([align]){text-align:inherit}.mzn-playground table th{color:#363636}.mzn-playground .button{background-color:#fff;border-color:#dbdbdb;border-width:1px;color:#363636;cursor:pointer;justify-content:center;padding-bottom:calc(.5em - 1px);padding-left:1em;padding-right:1em;padding-top:calc(.5em - 1px);text-align:center;white-space:nowrap}.mzn-playground .button strong{color:inherit}.mzn-playground .button .icon,.mzn-playground .button .icon.is-small,.mzn-playground .button .icon.is-medium,.mzn-playground .button .icon.is-large{height:1.5em;width:1.5em}.mzn-playground .button .icon:first-child:not(:last-child){margin-left:calc(-.5em - 1px);margin-right:.25em}.mzn-playground .button .icon:last-child:not(:first-child){margin-left:.25em;margin-right:calc(-.5em - 1px)}.mzn-playground .button .icon:first-child:last-child{margin-left:calc(-.5em - 1px);margin-right:calc(-.5em - 1px)}.mzn-playground .button:hover,.mzn-playground .button.is-hovered{border-color:#b5b5b5;color:#363636}.mzn-playground .button:focus,.mzn-playground .button.is-focused{border-color:#485fc7;color:#363636}.mzn-playground .button:focus:not(:active),.mzn-playground .button.is-focused:not(:active){box-shadow:0 0 0 .125em #485fc740}.mzn-playground .button:active,.mzn-playground .button.is-active{border-color:#4a4a4a;color:#363636}.mzn-playground .button.is-text{background-color:transparent;border-color:transparent;color:#4a4a4a;text-decoration:underline}.mzn-playground .button.is-text:hover,.mzn-playground .button.is-text.is-hovered,.mzn-playground .button.is-text:focus,.mzn-playground .button.is-text.is-focused{background-color:#f5f5f5;color:#363636}.mzn-playground .button.is-text:active,.mzn-playground .button.is-text.is-active{background-color:#e8e8e8;color:#363636}.mzn-playground .button.is-text[disabled],fieldset[disabled] .mzn-playground .button.is-text{background-color:transparent;border-color:transparent;box-shadow:none}.mzn-playground .button.is-ghost{background:none;border-color:transparent;color:#485fc7;text-decoration:none}.mzn-playground .button.is-ghost:hover,.mzn-playground .button.is-ghost.is-hovered{color:#485fc7;text-decoration:underline}.mzn-playground .button.is-white{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:hover,.mzn-playground .button.is-white.is-hovered{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:focus,.mzn-playground .button.is-white.is-focused{border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:focus:not(:active),.mzn-playground .button.is-white.is-focused:not(:active){box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .button.is-white:active,.mzn-playground .button.is-white.is-active{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white[disabled],fieldset[disabled] .mzn-playground .button.is-white{background-color:#fff;border-color:#fff;box-shadow:none}.mzn-playground .button.is-white.is-inverted{background-color:#0a0a0a;color:#fff}.mzn-playground .button.is-white.is-inverted:hover,.mzn-playground .button.is-white.is-inverted.is-hovered{background-color:#000}.mzn-playground .button.is-white.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-inverted{background-color:#0a0a0a;border-color:transparent;box-shadow:none;color:#fff}.mzn-playground .button.is-white.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-white.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-white.is-outlined:hover,.mzn-playground .button.is-white.is-outlined.is-hovered,.mzn-playground .button.is-white.is-outlined:focus,.mzn-playground .button.is-white.is-outlined.is-focused{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground .button.is-white.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-white.is-outlined.is-loading:hover:after,.mzn-playground .button.is-white.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-white.is-outlined.is-loading:focus:after,.mzn-playground .button.is-white.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-white.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground .button.is-white.is-inverted.is-outlined:hover,.mzn-playground .button.is-white.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-white.is-inverted.is-outlined:focus,.mzn-playground .button.is-white.is-inverted.is-outlined.is-focused{background-color:#0a0a0a;color:#fff}.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-white.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground .button.is-black:hover,.mzn-playground .button.is-black.is-hovered{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground .button.is-black:focus,.mzn-playground .button.is-black.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-black:focus:not(:active),.mzn-playground .button.is-black.is-focused:not(:active){box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .button.is-black:active,.mzn-playground .button.is-black.is-active{background-color:#000;border-color:transparent;color:#fff}.mzn-playground .button.is-black[disabled],fieldset[disabled] .mzn-playground .button.is-black{background-color:#0a0a0a;border-color:#0a0a0a;box-shadow:none}.mzn-playground .button.is-black.is-inverted{background-color:#fff;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted:hover,.mzn-playground .button.is-black.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-black.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground .button.is-black.is-outlined:hover,.mzn-playground .button.is-black.is-outlined.is-hovered,.mzn-playground .button.is-black.is-outlined:focus,.mzn-playground .button.is-black.is-outlined.is-focused{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground .button.is-black.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-black.is-outlined.is-loading:hover:after,.mzn-playground .button.is-black.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-black.is-outlined.is-loading:focus:after,.mzn-playground .button.is-black.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-black.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-black.is-inverted.is-outlined:hover,.mzn-playground .button.is-black.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-black.is-inverted.is-outlined:focus,.mzn-playground .button.is-black.is-inverted.is-outlined.is-focused{background-color:#fff;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-black.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-light{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:hover,.mzn-playground .button.is-light.is-hovered{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:focus,.mzn-playground .button.is-light.is-focused{border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:focus:not(:active),.mzn-playground .button.is-light.is-focused:not(:active){box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .button.is-light:active,.mzn-playground .button.is-light.is-active{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light[disabled],fieldset[disabled] .mzn-playground .button.is-light{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none}.mzn-playground .button.is-light.is-inverted{background-color:#000000b3;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted:hover,.mzn-playground .button.is-light.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground .button.is-light.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#f5f5f5}.mzn-playground .button.is-light.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;color:#f5f5f5}.mzn-playground .button.is-light.is-outlined:hover,.mzn-playground .button.is-light.is-outlined.is-hovered,.mzn-playground .button.is-light.is-outlined:focus,.mzn-playground .button.is-light.is-outlined.is-focused{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground .button.is-light.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground .button.is-light.is-outlined.is-loading:hover:after,.mzn-playground .button.is-light.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-light.is-outlined.is-loading:focus:after,.mzn-playground .button.is-light.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-light.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;box-shadow:none;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground .button.is-light.is-inverted.is-outlined:hover,.mzn-playground .button.is-light.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-light.is-inverted.is-outlined:focus,.mzn-playground .button.is-light.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground .button.is-light.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground .button.is-dark{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground .button.is-dark:hover,.mzn-playground .button.is-dark.is-hovered{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground .button.is-dark:focus,.mzn-playground .button.is-dark.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-dark:focus:not(:active),.mzn-playground .button.is-dark.is-focused:not(:active){box-shadow:0 0 0 .125em #36363640}.mzn-playground .button.is-dark:active,.mzn-playground .button.is-dark.is-active{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground .button.is-dark[disabled],fieldset[disabled] .mzn-playground .button.is-dark{background-color:#363636;border-color:#363636;box-shadow:none}.mzn-playground .button.is-dark.is-inverted{background-color:#fff;color:#363636}.mzn-playground .button.is-dark.is-inverted:hover,.mzn-playground .button.is-dark.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-dark.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#363636}.mzn-playground .button.is-dark.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;color:#363636}.mzn-playground .button.is-dark.is-outlined:hover,.mzn-playground .button.is-dark.is-outlined.is-hovered,.mzn-playground .button.is-dark.is-outlined:focus,.mzn-playground .button.is-dark.is-outlined.is-focused{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground .button.is-dark.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground .button.is-dark.is-outlined.is-loading:hover:after,.mzn-playground .button.is-dark.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-dark.is-outlined.is-loading:focus:after,.mzn-playground .button.is-dark.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-dark.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;box-shadow:none;color:#363636}.mzn-playground .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-dark.is-inverted.is-outlined:hover,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-dark.is-inverted.is-outlined:focus,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-focused{background-color:#fff;color:#363636}.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground .button.is-dark.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-primary{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground .button.is-primary:hover,.mzn-playground .button.is-primary.is-hovered{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground .button.is-primary:focus,.mzn-playground .button.is-primary.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-primary:focus:not(:active),.mzn-playground .button.is-primary.is-focused:not(:active){box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .button.is-primary:active,.mzn-playground .button.is-primary.is-active{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground .button.is-primary[disabled],fieldset[disabled] .mzn-playground .button.is-primary{background-color:#1491eb;border-color:#1491eb;box-shadow:none}.mzn-playground .button.is-primary.is-inverted{background-color:#fff;color:#1491eb}.mzn-playground .button.is-primary.is-inverted:hover,.mzn-playground .button.is-primary.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-primary.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#1491eb}.mzn-playground .button.is-primary.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;color:#1491eb}.mzn-playground .button.is-primary.is-outlined:hover,.mzn-playground .button.is-primary.is-outlined.is-hovered,.mzn-playground .button.is-primary.is-outlined:focus,.mzn-playground .button.is-primary.is-outlined.is-focused{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground .button.is-primary.is-outlined.is-loading:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground .button.is-primary.is-outlined.is-loading:hover:after,.mzn-playground .button.is-primary.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-primary.is-outlined.is-loading:focus:after,.mzn-playground .button.is-primary.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-primary.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;box-shadow:none;color:#1491eb}.mzn-playground .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-primary.is-inverted.is-outlined:hover,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-primary.is-inverted.is-outlined:focus,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-focused{background-color:#fff;color:#1491eb}.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground .button.is-primary.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-primary.is-light{background-color:#ecf6fd;color:#1074bc}.mzn-playground .button.is-primary.is-light:hover,.mzn-playground .button.is-primary.is-light.is-hovered{background-color:#e0f1fc;border-color:transparent;color:#1074bc}.mzn-playground .button.is-primary.is-light:active,.mzn-playground .button.is-primary.is-light.is-active{background-color:#d5ebfb;border-color:transparent;color:#1074bc}.mzn-playground .button.is-link{background-color:#485fc7;border-color:transparent;color:#fff}.mzn-playground .button.is-link:hover,.mzn-playground .button.is-link.is-hovered{background-color:#3e56c4;border-color:transparent;color:#fff}.mzn-playground .button.is-link:focus,.mzn-playground .button.is-link.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-link:focus:not(:active),.mzn-playground .button.is-link.is-focused:not(:active){box-shadow:0 0 0 .125em #485fc740}.mzn-playground .button.is-link:active,.mzn-playground .button.is-link.is-active{background-color:#3a51bb;border-color:transparent;color:#fff}.mzn-playground .button.is-link[disabled],fieldset[disabled] .mzn-playground .button.is-link{background-color:#485fc7;border-color:#485fc7;box-shadow:none}.mzn-playground .button.is-link.is-inverted{background-color:#fff;color:#485fc7}.mzn-playground .button.is-link.is-inverted:hover,.mzn-playground .button.is-link.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-link.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#485fc7}.mzn-playground .button.is-link.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-link.is-outlined{background-color:transparent;border-color:#485fc7;color:#485fc7}.mzn-playground .button.is-link.is-outlined:hover,.mzn-playground .button.is-link.is-outlined.is-hovered,.mzn-playground .button.is-link.is-outlined:focus,.mzn-playground .button.is-link.is-outlined.is-focused{background-color:#485fc7;border-color:#485fc7;color:#fff}.mzn-playground .button.is-link.is-outlined.is-loading:after{border-color:transparent transparent hsl(229,53%,53%) hsl(229,53%,53%)!important}.mzn-playground .button.is-link.is-outlined.is-loading:hover:after,.mzn-playground .button.is-link.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-link.is-outlined.is-loading:focus:after,.mzn-playground .button.is-link.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-link.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-outlined{background-color:transparent;border-color:#485fc7;box-shadow:none;color:#485fc7}.mzn-playground .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-link.is-inverted.is-outlined:hover,.mzn-playground .button.is-link.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-link.is-inverted.is-outlined:focus,.mzn-playground .button.is-link.is-inverted.is-outlined.is-focused{background-color:#fff;color:#485fc7}.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(229,53%,53%) hsl(229,53%,53%)!important}.mzn-playground .button.is-link.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-link.is-light{background-color:#eff1fa;color:#3850b7}.mzn-playground .button.is-link.is-light:hover,.mzn-playground .button.is-link.is-light.is-hovered{background-color:#e6e9f7;border-color:transparent;color:#3850b7}.mzn-playground .button.is-link.is-light:active,.mzn-playground .button.is-link.is-light.is-active{background-color:#dce0f4;border-color:transparent;color:#3850b7}.mzn-playground .button.is-info{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground .button.is-info:hover,.mzn-playground .button.is-info.is-hovered{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground .button.is-info:focus,.mzn-playground .button.is-info.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-info:focus:not(:active),.mzn-playground .button.is-info.is-focused:not(:active){box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .button.is-info:active,.mzn-playground .button.is-info.is-active{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground .button.is-info[disabled],fieldset[disabled] .mzn-playground .button.is-info{background-color:#3e8ed0;border-color:#3e8ed0;box-shadow:none}.mzn-playground .button.is-info.is-inverted{background-color:#fff;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted:hover,.mzn-playground .button.is-info.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-info.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#3e8ed0}.mzn-playground .button.is-info.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;color:#3e8ed0}.mzn-playground .button.is-info.is-outlined:hover,.mzn-playground .button.is-info.is-outlined.is-hovered,.mzn-playground .button.is-info.is-outlined:focus,.mzn-playground .button.is-info.is-outlined.is-focused{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground .button.is-info.is-outlined.is-loading:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground .button.is-info.is-outlined.is-loading:hover:after,.mzn-playground .button.is-info.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-info.is-outlined.is-loading:focus:after,.mzn-playground .button.is-info.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-info.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;box-shadow:none;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-info.is-inverted.is-outlined:hover,.mzn-playground .button.is-info.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-info.is-inverted.is-outlined:focus,.mzn-playground .button.is-info.is-inverted.is-outlined.is-focused{background-color:#fff;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground .button.is-info.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-info.is-light{background-color:#eff5fb;color:#296fa8}.mzn-playground .button.is-info.is-light:hover,.mzn-playground .button.is-info.is-light.is-hovered{background-color:#e4eff9;border-color:transparent;color:#296fa8}.mzn-playground .button.is-info.is-light:active,.mzn-playground .button.is-info.is-light.is-active{background-color:#dae9f6;border-color:transparent;color:#296fa8}.mzn-playground .button.is-success{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground .button.is-success:hover,.mzn-playground .button.is-success.is-hovered{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground .button.is-success:focus,.mzn-playground .button.is-success.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-success:focus:not(:active),.mzn-playground .button.is-success.is-focused:not(:active){box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .button.is-success:active,.mzn-playground .button.is-success.is-active{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground .button.is-success[disabled],fieldset[disabled] .mzn-playground .button.is-success{background-color:#48c78e;border-color:#48c78e;box-shadow:none}.mzn-playground .button.is-success.is-inverted{background-color:#fff;color:#48c78e}.mzn-playground .button.is-success.is-inverted:hover,.mzn-playground .button.is-success.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-success.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#48c78e}.mzn-playground .button.is-success.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;color:#48c78e}.mzn-playground .button.is-success.is-outlined:hover,.mzn-playground .button.is-success.is-outlined.is-hovered,.mzn-playground .button.is-success.is-outlined:focus,.mzn-playground .button.is-success.is-outlined.is-focused{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground .button.is-success.is-outlined.is-loading:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground .button.is-success.is-outlined.is-loading:hover:after,.mzn-playground .button.is-success.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-success.is-outlined.is-loading:focus:after,.mzn-playground .button.is-success.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-success.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;box-shadow:none;color:#48c78e}.mzn-playground .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-success.is-inverted.is-outlined:hover,.mzn-playground .button.is-success.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-success.is-inverted.is-outlined:focus,.mzn-playground .button.is-success.is-inverted.is-outlined.is-focused{background-color:#fff;color:#48c78e}.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground .button.is-success.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-success.is-light{background-color:#effaf5;color:#257953}.mzn-playground .button.is-success.is-light:hover,.mzn-playground .button.is-success.is-light.is-hovered{background-color:#e6f7ef;border-color:transparent;color:#257953}.mzn-playground .button.is-success.is-light:active,.mzn-playground .button.is-success.is-light.is-active{background-color:#dcf4e9;border-color:transparent;color:#257953}.mzn-playground .button.is-warning{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:hover,.mzn-playground .button.is-warning.is-hovered{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:focus,.mzn-playground .button.is-warning.is-focused{border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:focus:not(:active),.mzn-playground .button.is-warning.is-focused:not(:active){box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .button.is-warning:active,.mzn-playground .button.is-warning.is-active{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning[disabled],fieldset[disabled] .mzn-playground .button.is-warning{background-color:#ffe08a;border-color:#ffe08a;box-shadow:none}.mzn-playground .button.is-warning.is-inverted{background-color:#000000b3;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted:hover,.mzn-playground .button.is-warning.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground .button.is-warning.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#ffe08a}.mzn-playground .button.is-warning.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;color:#ffe08a}.mzn-playground .button.is-warning.is-outlined:hover,.mzn-playground .button.is-warning.is-outlined.is-hovered,.mzn-playground .button.is-warning.is-outlined:focus,.mzn-playground .button.is-warning.is-outlined.is-focused{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground .button.is-warning.is-outlined.is-loading:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground .button.is-warning.is-outlined.is-loading:hover:after,.mzn-playground .button.is-warning.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-warning.is-outlined.is-loading:focus:after,.mzn-playground .button.is-warning.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-warning.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;box-shadow:none;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground .button.is-warning.is-inverted.is-outlined:hover,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-warning.is-inverted.is-outlined:focus,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground .button.is-warning.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground .button.is-warning.is-light{background-color:#fffaeb;color:#946c00}.mzn-playground .button.is-warning.is-light:hover,.mzn-playground .button.is-warning.is-light.is-hovered{background-color:#fff6de;border-color:transparent;color:#946c00}.mzn-playground .button.is-warning.is-light:active,.mzn-playground .button.is-warning.is-light.is-active{background-color:#fff3d1;border-color:transparent;color:#946c00}.mzn-playground .button.is-danger{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground .button.is-danger:hover,.mzn-playground .button.is-danger.is-hovered{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground .button.is-danger:focus,.mzn-playground .button.is-danger.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-danger:focus:not(:active),.mzn-playground .button.is-danger.is-focused:not(:active){box-shadow:0 0 0 .125em #f1466840}.mzn-playground .button.is-danger:active,.mzn-playground .button.is-danger.is-active{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground .button.is-danger[disabled],fieldset[disabled] .mzn-playground .button.is-danger{background-color:#f14668;border-color:#f14668;box-shadow:none}.mzn-playground .button.is-danger.is-inverted{background-color:#fff;color:#f14668}.mzn-playground .button.is-danger.is-inverted:hover,.mzn-playground .button.is-danger.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-danger.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#f14668}.mzn-playground .button.is-danger.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;color:#f14668}.mzn-playground .button.is-danger.is-outlined:hover,.mzn-playground .button.is-danger.is-outlined.is-hovered,.mzn-playground .button.is-danger.is-outlined:focus,.mzn-playground .button.is-danger.is-outlined.is-focused{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground .button.is-danger.is-outlined.is-loading:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground .button.is-danger.is-outlined.is-loading:hover:after,.mzn-playground .button.is-danger.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-danger.is-outlined.is-loading:focus:after,.mzn-playground .button.is-danger.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-danger.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;box-shadow:none;color:#f14668}.mzn-playground .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-danger.is-inverted.is-outlined:hover,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-danger.is-inverted.is-outlined:focus,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-focused{background-color:#fff;color:#f14668}.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground .button.is-danger.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.mzn-playground .button.is-danger.is-light:hover,.mzn-playground .button.is-danger.is-light.is-hovered{background-color:#fde0e6;border-color:transparent;color:#cc0f35}.mzn-playground .button.is-danger.is-light:active,.mzn-playground .button.is-danger.is-light.is-active{background-color:#fcd4dc;border-color:transparent;color:#cc0f35}.mzn-playground .button.is-small{font-size:.75rem}.mzn-playground .button.is-small:not(.is-rounded){border-radius:2px}.mzn-playground .button.is-normal{font-size:1rem}.mzn-playground .button.is-medium{font-size:1.25rem}.mzn-playground .button.is-large{font-size:1.5rem}.mzn-playground .button[disabled],fieldset[disabled] .mzn-playground .button{background-color:#fff;border-color:#dbdbdb;box-shadow:none;opacity:.5}.mzn-playground .button.is-fullwidth{display:flex;width:100%}.mzn-playground .button.is-loading{color:transparent!important;pointer-events:none}.mzn-playground .button.is-loading:after{position:absolute;left:calc(50% - .5em);top:calc(50% - .5em);position:absolute!important}.mzn-playground .button.is-static{background-color:#f5f5f5;border-color:#dbdbdb;color:#7a7a7a;box-shadow:none;pointer-events:none}.mzn-playground .button.is-rounded{border-radius:9999px;padding-left:1.25em;padding-right:1.25em}.mzn-playground .buttons{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.mzn-playground .buttons .button{margin-bottom:.5rem}.mzn-playground .buttons .button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}.mzn-playground .buttons:last-child{margin-bottom:-.5rem}.mzn-playground .buttons:not(:last-child){margin-bottom:1rem}.mzn-playground .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large){font-size:.75rem}.mzn-playground .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded){border-radius:2px}.mzn-playground .buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large){font-size:1.25rem}.mzn-playground .buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium){font-size:1.5rem}.mzn-playground .buttons.has-addons .button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .buttons.has-addons .button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.mzn-playground .buttons.has-addons .button:last-child{margin-right:0}.mzn-playground .buttons.has-addons .button:hover,.mzn-playground .buttons.has-addons .button.is-hovered{z-index:2}.mzn-playground .buttons.has-addons .button:focus,.mzn-playground .buttons.has-addons .button.is-focused,.mzn-playground .buttons.has-addons .button:active,.mzn-playground .buttons.has-addons .button.is-active,.mzn-playground .buttons.has-addons .button.is-selected{z-index:3}.mzn-playground .buttons.has-addons .button:focus:hover,.mzn-playground .buttons.has-addons .button.is-focused:hover,.mzn-playground .buttons.has-addons .button:active:hover,.mzn-playground .buttons.has-addons .button.is-active:hover,.mzn-playground .buttons.has-addons .button.is-selected:hover{z-index:4}.mzn-playground .buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .buttons.is-centered{justify-content:center}.mzn-playground .buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}.mzn-playground .buttons.is-right{justify-content:flex-end}.mzn-playground .buttons.is-right:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}@media screen and (max-width: 768px){.mzn-playground .button.is-responsive.is-small{font-size:.5625rem}.mzn-playground .button.is-responsive,.mzn-playground .button.is-responsive.is-normal{font-size:.65625rem}.mzn-playground .button.is-responsive.is-medium{font-size:.75rem}.mzn-playground .button.is-responsive.is-large{font-size:1rem}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .button.is-responsive.is-small{font-size:.65625rem}.mzn-playground .button.is-responsive,.mzn-playground .button.is-responsive.is-normal{font-size:.75rem}.mzn-playground .button.is-responsive.is-medium{font-size:1rem}.mzn-playground .button.is-responsive.is-large{font-size:1.25rem}}.mzn-playground .icon{align-items:center;display:inline-flex;justify-content:center;height:1.5rem;width:1.5rem}.mzn-playground .icon.is-small{height:1rem;width:1rem}.mzn-playground .icon.is-medium{height:2rem;width:2rem}.mzn-playground .icon.is-large{height:3rem;width:3rem}.mzn-playground .icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;line-height:1.5rem;vertical-align:top}.mzn-playground .icon-text .icon{flex-grow:0;flex-shrink:0}.mzn-playground .icon-text .icon:not(:last-child){margin-right:.25em}.mzn-playground .icon-text .icon:not(:first-child){margin-left:.25em}.mzn-playground div.icon-text{display:flex}.mzn-playground .table{background-color:#fff;color:#363636}.mzn-playground .table td,.mzn-playground .table th{border:1px solid hsl(0,0%,86%);border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.mzn-playground .table td.is-white,.mzn-playground .table th.is-white{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground .table td.is-black,.mzn-playground .table th.is-black{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground .table td.is-light,.mzn-playground .table th.is-light{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground .table td.is-dark,.mzn-playground .table th.is-dark{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground .table td.is-primary,.mzn-playground .table th.is-primary{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground .table td.is-link,.mzn-playground .table th.is-link{background-color:#485fc7;border-color:#485fc7;color:#fff}.mzn-playground .table td.is-info,.mzn-playground .table th.is-info{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground .table td.is-success,.mzn-playground .table th.is-success{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground .table td.is-warning,.mzn-playground .table th.is-warning{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground .table td.is-danger,.mzn-playground .table th.is-danger{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground .table td.is-narrow,.mzn-playground .table th.is-narrow{white-space:nowrap;width:1%}.mzn-playground .table td.is-selected,.mzn-playground .table th.is-selected{background-color:#1491eb;color:#fff}.mzn-playground .table td.is-selected a,.mzn-playground .table td.is-selected strong,.mzn-playground .table th.is-selected a,.mzn-playground .table th.is-selected strong{color:currentColor}.mzn-playground .table td.is-vcentered,.mzn-playground .table th.is-vcentered{vertical-align:middle}.mzn-playground .table th{color:#363636}.mzn-playground .table th:not([align]){text-align:left}.mzn-playground .table tr.is-selected{background-color:#1491eb;color:#fff}.mzn-playground .table tr.is-selected a,.mzn-playground .table tr.is-selected strong{color:currentColor}.mzn-playground .table tr.is-selected td,.mzn-playground .table tr.is-selected th{border-color:#fff;color:currentColor}.mzn-playground .table thead{background-color:transparent}.mzn-playground .table thead td,.mzn-playground .table thead th{border-width:0 0 2px;color:#363636}.mzn-playground .table tfoot{background-color:transparent}.mzn-playground .table tfoot td,.mzn-playground .table tfoot th{border-width:2px 0 0;color:#363636}.mzn-playground .table tbody{background-color:transparent}.mzn-playground .table tbody tr:last-child td,.mzn-playground .table tbody tr:last-child th{border-bottom-width:0}.mzn-playground .table.is-bordered td,.mzn-playground .table.is-bordered th{border-width:1px}.mzn-playground .table.is-bordered tr:last-child td,.mzn-playground .table.is-bordered tr:last-child th{border-bottom-width:1px}.mzn-playground .table.is-fullwidth{width:100%}.mzn-playground .table.is-hoverable tbody tr:not(.is-selected):hover{background-color:#fafafa}.mzn-playground .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:#fafafa}.mzn-playground .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n){background-color:#f5f5f5}.mzn-playground .table.is-narrow td,.mzn-playground .table.is-narrow th{padding:.25em .5em}.mzn-playground .table.is-striped tbody tr:not(.is-selected):nth-child(2n){background-color:#fafafa}.mzn-playground .table-container{-webkit-overflow-scrolling:touch;overflow:auto;overflow-y:hidden;max-width:100%}.mzn-playground .heading{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;text-transform:uppercase}.mzn-playground .number{align-items:center;background-color:#f5f5f5;border-radius:9999px;display:inline-flex;font-size:1.25rem;height:2em;justify-content:center;margin-right:1.5rem;min-width:2.5em;padding:.25rem .5rem;text-align:center;vertical-align:top}.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground .select select,.mzn-playground .textarea,.mzn-playground .input{background-color:#fff;border-color:#dbdbdb;border-radius:4px;color:#363636}.mzn-playground.is-dark .select select::-moz-placeholder,.mzn-playground.is-dark .textarea::-moz-placeholder,.mzn-playground.is-dark .input::-moz-placeholder,.mzn-playground .select select::-moz-placeholder,.mzn-playground .textarea::-moz-placeholder,.mzn-playground .input::-moz-placeholder{color:#3636364d}.mzn-playground.is-dark .select select::-webkit-input-placeholder,.mzn-playground.is-dark .textarea::-webkit-input-placeholder,.mzn-playground.is-dark .input::-webkit-input-placeholder,.mzn-playground .select select::-webkit-input-placeholder,.mzn-playground .textarea::-webkit-input-placeholder,.mzn-playground .input::-webkit-input-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:-moz-placeholder,.mzn-playground .select select:-moz-placeholder,.mzn-playground .textarea:-moz-placeholder,.mzn-playground .input:-moz-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:-ms-input-placeholder,.mzn-playground .select select:-ms-input-placeholder,.mzn-playground .textarea:-ms-input-placeholder,.mzn-playground .input:-ms-input-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:hover,.mzn-playground .select select:hover,.mzn-playground .textarea:hover,.mzn-playground .input:hover,.mzn-playground.is-dark .select select.is-hovered,.mzn-playground .select select.is-hovered,.mzn-playground .is-hovered.textarea,.mzn-playground .is-hovered.input{border-color:#b5b5b5}.mzn-playground.is-dark .select select:focus,.mzn-playground .select select:focus,.mzn-playground .textarea:focus,.mzn-playground .input:focus,.mzn-playground.is-dark .select select.is-focused,.mzn-playground .select select.is-focused,.mzn-playground .is-focused.textarea,.mzn-playground .is-focused.input,.mzn-playground.is-dark .select select:active,.mzn-playground .select select:active,.mzn-playground .textarea:active,.mzn-playground .input:active,.mzn-playground.is-dark .select select.is-active,.mzn-playground .select select.is-active,.mzn-playground .is-active.textarea,.mzn-playground .is-active.input{border-color:#485fc7;box-shadow:0 0 0 .125em #485fc740}.mzn-playground.is-dark .select select[disabled],.mzn-playground .select select[disabled],.mzn-playground [disabled].textarea,.mzn-playground [disabled].input,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground .select select,fieldset[disabled] .mzn-playground .textarea,fieldset[disabled] .mzn-playground .input{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none;color:#7a7a7a}.mzn-playground.is-dark .select select[disabled]::-moz-placeholder,.mzn-playground .select select[disabled]::-moz-placeholder,.mzn-playground [disabled].textarea::-moz-placeholder,.mzn-playground [disabled].input::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-moz-placeholder,fieldset[disabled] .mzn-playground .select select::-moz-placeholder,fieldset[disabled] .mzn-playground .textarea::-moz-placeholder,fieldset[disabled] .mzn-playground .input::-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]::-webkit-input-placeholder,.mzn-playground .select select[disabled]::-webkit-input-placeholder,.mzn-playground [disabled].textarea::-webkit-input-placeholder,.mzn-playground [disabled].input::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .textarea::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .input::-webkit-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-moz-placeholder,.mzn-playground .select select[disabled]:-moz-placeholder,.mzn-playground [disabled].textarea:-moz-placeholder,.mzn-playground [disabled].input:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-moz-placeholder,fieldset[disabled] .mzn-playground .select select:-moz-placeholder,fieldset[disabled] .mzn-playground .textarea:-moz-placeholder,fieldset[disabled] .mzn-playground .input:-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-ms-input-placeholder,.mzn-playground .select select[disabled]:-ms-input-placeholder,.mzn-playground [disabled].textarea:-ms-input-placeholder,.mzn-playground [disabled].input:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground .textarea:-ms-input-placeholder,fieldset[disabled] .mzn-playground .input:-ms-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground .textarea,.mzn-playground .input{box-shadow:inset 0 .0625em .125em #0a0a0a0d;max-width:100%;width:100%}.mzn-playground [readonly].textarea,.mzn-playground [readonly].input{box-shadow:none}.mzn-playground .is-white.textarea,.mzn-playground .is-white.input{border-color:#fff}.mzn-playground .is-white.textarea:focus,.mzn-playground .is-white.input:focus,.mzn-playground .is-white.is-focused.textarea,.mzn-playground .is-white.is-focused.input,.mzn-playground .is-white.textarea:active,.mzn-playground .is-white.input:active,.mzn-playground .is-white.is-active.textarea,.mzn-playground .is-white.is-active.input{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .is-black.textarea,.mzn-playground .is-black.input{border-color:#0a0a0a}.mzn-playground .is-black.textarea:focus,.mzn-playground .is-black.input:focus,.mzn-playground .is-black.is-focused.textarea,.mzn-playground .is-black.is-focused.input,.mzn-playground .is-black.textarea:active,.mzn-playground .is-black.input:active,.mzn-playground .is-black.is-active.textarea,.mzn-playground .is-black.is-active.input{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .is-light.textarea,.mzn-playground .is-light.input{border-color:#f5f5f5}.mzn-playground .is-light.textarea:focus,.mzn-playground .is-light.input:focus,.mzn-playground .is-light.is-focused.textarea,.mzn-playground .is-light.is-focused.input,.mzn-playground .is-light.textarea:active,.mzn-playground .is-light.input:active,.mzn-playground .is-light.is-active.textarea,.mzn-playground .is-light.is-active.input{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .is-dark.textarea,.mzn-playground .is-dark.input{border-color:#363636}.mzn-playground .is-dark.textarea:focus,.mzn-playground .is-dark.input:focus,.mzn-playground .is-dark.is-focused.textarea,.mzn-playground .is-dark.is-focused.input,.mzn-playground .is-dark.textarea:active,.mzn-playground .is-dark.input:active,.mzn-playground .is-dark.is-active.textarea,.mzn-playground .is-dark.is-active.input{box-shadow:0 0 0 .125em #36363640}.mzn-playground .is-primary.textarea,.mzn-playground .is-primary.input{border-color:#1491eb}.mzn-playground .is-primary.textarea:focus,.mzn-playground .is-primary.input:focus,.mzn-playground .is-primary.is-focused.textarea,.mzn-playground .is-primary.is-focused.input,.mzn-playground .is-primary.textarea:active,.mzn-playground .is-primary.input:active,.mzn-playground .is-primary.is-active.textarea,.mzn-playground .is-primary.is-active.input{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .is-link.textarea,.mzn-playground .is-link.input{border-color:#485fc7}.mzn-playground .is-link.textarea:focus,.mzn-playground .is-link.input:focus,.mzn-playground .is-link.is-focused.textarea,.mzn-playground .is-link.is-focused.input,.mzn-playground .is-link.textarea:active,.mzn-playground .is-link.input:active,.mzn-playground .is-link.is-active.textarea,.mzn-playground .is-link.is-active.input{box-shadow:0 0 0 .125em #485fc740}.mzn-playground .is-info.textarea,.mzn-playground .is-info.input{border-color:#3e8ed0}.mzn-playground .is-info.textarea:focus,.mzn-playground .is-info.input:focus,.mzn-playground .is-info.is-focused.textarea,.mzn-playground .is-info.is-focused.input,.mzn-playground .is-info.textarea:active,.mzn-playground .is-info.input:active,.mzn-playground .is-info.is-active.textarea,.mzn-playground .is-info.is-active.input{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .is-success.textarea,.mzn-playground .is-success.input{border-color:#48c78e}.mzn-playground .is-success.textarea:focus,.mzn-playground .is-success.input:focus,.mzn-playground .is-success.is-focused.textarea,.mzn-playground .is-success.is-focused.input,.mzn-playground .is-success.textarea:active,.mzn-playground .is-success.input:active,.mzn-playground .is-success.is-active.textarea,.mzn-playground .is-success.is-active.input{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .is-warning.textarea,.mzn-playground .is-warning.input{border-color:#ffe08a}.mzn-playground .is-warning.textarea:focus,.mzn-playground .is-warning.input:focus,.mzn-playground .is-warning.is-focused.textarea,.mzn-playground .is-warning.is-focused.input,.mzn-playground .is-warning.textarea:active,.mzn-playground .is-warning.input:active,.mzn-playground .is-warning.is-active.textarea,.mzn-playground .is-warning.is-active.input{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .is-danger.textarea,.mzn-playground .is-danger.input{border-color:#f14668}.mzn-playground .is-danger.textarea:focus,.mzn-playground .is-danger.input:focus,.mzn-playground .is-danger.is-focused.textarea,.mzn-playground .is-danger.is-focused.input,.mzn-playground .is-danger.textarea:active,.mzn-playground .is-danger.input:active,.mzn-playground .is-danger.is-active.textarea,.mzn-playground .is-danger.is-active.input{box-shadow:0 0 0 .125em #f1466840}.mzn-playground .is-small.textarea,.mzn-playground .is-small.input{border-radius:2px;font-size:.75rem}.mzn-playground .is-medium.textarea,.mzn-playground .is-medium.input{font-size:1.25rem}.mzn-playground .is-large.textarea,.mzn-playground .is-large.input{font-size:1.5rem}.mzn-playground .is-fullwidth.textarea,.mzn-playground .is-fullwidth.input{display:block;width:100%}.mzn-playground .is-inline.textarea,.mzn-playground .is-inline.input{display:inline;width:auto}.mzn-playground .input.is-rounded{border-radius:9999px;padding-left:calc(1.125em - 1px);padding-right:calc(1.125em - 1px)}.mzn-playground .input.is-static{background-color:transparent;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}.mzn-playground .textarea{display:block;max-width:100%;min-width:100%;padding:calc(.75em - 1px);resize:vertical}.mzn-playground .textarea:not([rows]){max-height:40em;min-height:8em}.mzn-playground .textarea[rows]{height:initial}.mzn-playground .textarea.has-fixed-size{resize:none}.mzn-playground.is-dark .radio,.mzn-playground.is-dark .checkbox,.mzn-playground .radio,.mzn-playground .checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.mzn-playground.is-dark .radio input,.mzn-playground.is-dark .checkbox input,.mzn-playground .radio input,.mzn-playground .checkbox input{cursor:pointer}.mzn-playground .radio:hover,.mzn-playground .checkbox:hover{color:#363636}.mzn-playground [disabled].radio,.mzn-playground [disabled].checkbox,fieldset[disabled] .mzn-playground .radio,fieldset[disabled] .mzn-playground .checkbox,.mzn-playground .radio input[disabled],.mzn-playground .checkbox input[disabled]{color:#7a7a7a;cursor:not-allowed}.mzn-playground .radio+.radio{margin-left:.5em}.mzn-playground .select{display:inline-block;max-width:100%;position:relative;vertical-align:top}.mzn-playground .select:not(.is-multiple){height:2.5em}.mzn-playground .select:not(.is-multiple):not(.is-loading):after{border-color:#485fc7;right:1.125em;z-index:4}.mzn-playground .select.is-rounded select{border-radius:9999px;padding-left:1em}.mzn-playground .select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.mzn-playground .select select::-ms-expand{display:none}.mzn-playground .select select[disabled]:hover,fieldset[disabled] .mzn-playground .select select:hover{border-color:#f5f5f5}.mzn-playground .select select:not([multiple]){padding-right:2.5em}.mzn-playground .select select[multiple]{height:auto;padding:0}.mzn-playground .select select[multiple] option{padding:.5em 1em}.mzn-playground .select:not(.is-multiple):not(.is-loading):hover:after{border-color:#363636}.mzn-playground .select.is-white:not(:hover):after{border-color:#fff}.mzn-playground .select.is-white select{border-color:#fff}.mzn-playground .select.is-white select:hover,.mzn-playground .select.is-white select.is-hovered{border-color:#f2f2f2}.mzn-playground .select.is-white select:focus,.mzn-playground .select.is-white select.is-focused,.mzn-playground .select.is-white select:active,.mzn-playground .select.is-white select.is-active{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .select.is-black:not(:hover):after{border-color:#0a0a0a}.mzn-playground .select.is-black select{border-color:#0a0a0a}.mzn-playground .select.is-black select:hover,.mzn-playground .select.is-black select.is-hovered{border-color:#000}.mzn-playground .select.is-black select:focus,.mzn-playground .select.is-black select.is-focused,.mzn-playground .select.is-black select:active,.mzn-playground .select.is-black select.is-active{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .select.is-light:not(:hover):after{border-color:#f5f5f5}.mzn-playground .select.is-light select{border-color:#f5f5f5}.mzn-playground .select.is-light select:hover,.mzn-playground .select.is-light select.is-hovered{border-color:#e8e8e8}.mzn-playground .select.is-light select:focus,.mzn-playground .select.is-light select.is-focused,.mzn-playground .select.is-light select:active,.mzn-playground .select.is-light select.is-active{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .select.is-dark:not(:hover):after{border-color:#363636}.mzn-playground .select.is-dark select{border-color:#363636}.mzn-playground .select.is-dark select:hover,.mzn-playground .select.is-dark select.is-hovered{border-color:#292929}.mzn-playground .select.is-dark select:focus,.mzn-playground .select.is-dark select.is-focused,.mzn-playground .select.is-dark select:active,.mzn-playground .select.is-dark select.is-active{box-shadow:0 0 0 .125em #36363640}.mzn-playground .select.is-primary:not(:hover):after{border-color:#1491eb}.mzn-playground .select.is-primary select{border-color:#1491eb}.mzn-playground .select.is-primary select:hover,.mzn-playground .select.is-primary select.is-hovered{border-color:#1283d4}.mzn-playground .select.is-primary select:focus,.mzn-playground .select.is-primary select.is-focused,.mzn-playground .select.is-primary select:active,.mzn-playground .select.is-primary select.is-active{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .select.is-link:not(:hover):after{border-color:#485fc7}.mzn-playground .select.is-link select{border-color:#485fc7}.mzn-playground .select.is-link select:hover,.mzn-playground .select.is-link select.is-hovered{border-color:#3a51bb}.mzn-playground .select.is-link select:focus,.mzn-playground .select.is-link select.is-focused,.mzn-playground .select.is-link select:active,.mzn-playground .select.is-link select.is-active{box-shadow:0 0 0 .125em #485fc740}.mzn-playground .select.is-info:not(:hover):after{border-color:#3e8ed0}.mzn-playground .select.is-info select{border-color:#3e8ed0}.mzn-playground .select.is-info select:hover,.mzn-playground .select.is-info select.is-hovered{border-color:#3082c5}.mzn-playground .select.is-info select:focus,.mzn-playground .select.is-info select.is-focused,.mzn-playground .select.is-info select:active,.mzn-playground .select.is-info select.is-active{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .select.is-success:not(:hover):after{border-color:#48c78e}.mzn-playground .select.is-success select{border-color:#48c78e}.mzn-playground .select.is-success select:hover,.mzn-playground .select.is-success select.is-hovered{border-color:#3abb81}.mzn-playground .select.is-success select:focus,.mzn-playground .select.is-success select.is-focused,.mzn-playground .select.is-success select:active,.mzn-playground .select.is-success select.is-active{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .select.is-warning:not(:hover):after{border-color:#ffe08a}.mzn-playground .select.is-warning select{border-color:#ffe08a}.mzn-playground .select.is-warning select:hover,.mzn-playground .select.is-warning select.is-hovered{border-color:#ffd970}.mzn-playground .select.is-warning select:focus,.mzn-playground .select.is-warning select.is-focused,.mzn-playground .select.is-warning select:active,.mzn-playground .select.is-warning select.is-active{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .select.is-danger:not(:hover):after{border-color:#f14668}.mzn-playground .select.is-danger select{border-color:#f14668}.mzn-playground .select.is-danger select:hover,.mzn-playground .select.is-danger select.is-hovered{border-color:#ef2e55}.mzn-playground .select.is-danger select:focus,.mzn-playground .select.is-danger select.is-focused,.mzn-playground .select.is-danger select:active,.mzn-playground .select.is-danger select.is-active{box-shadow:0 0 0 .125em #f1466840}.mzn-playground .select.is-small{border-radius:2px;font-size:.75rem}.mzn-playground .select.is-medium{font-size:1.25rem}.mzn-playground .select.is-large{font-size:1.5rem}.mzn-playground .select.is-disabled:after{border-color:#7a7a7a!important;opacity:.5}.mzn-playground .select.is-fullwidth,.mzn-playground .select.is-fullwidth select{width:100%}.mzn-playground .select.is-loading:after{margin-top:0;position:absolute;right:.625em;top:.625em;transform:none}.mzn-playground .select.is-loading.is-small:after{font-size:.75rem}.mzn-playground .select.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground .select.is-loading.is-large:after{font-size:1.5rem}.mzn-playground .file{align-items:stretch;display:flex;justify-content:flex-start;position:relative}.mzn-playground .file.is-white .file-cta{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-white:hover .file-cta,.mzn-playground .file.is-white.is-hovered .file-cta{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-white:focus .file-cta,.mzn-playground .file.is-white.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffffff40;color:#0a0a0a}.mzn-playground .file.is-white:active .file-cta,.mzn-playground .file.is-white.is-active .file-cta{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-black .file-cta{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground .file.is-black:hover .file-cta,.mzn-playground .file.is-black.is-hovered .file-cta{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground .file.is-black:focus .file-cta,.mzn-playground .file.is-black.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #0a0a0a40;color:#fff}.mzn-playground .file.is-black:active .file-cta,.mzn-playground .file.is-black.is-active .file-cta{background-color:#000;border-color:transparent;color:#fff}.mzn-playground .file.is-light .file-cta{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground .file.is-light:hover .file-cta,.mzn-playground .file.is-light.is-hovered .file-cta{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground .file.is-light:focus .file-cta,.mzn-playground .file.is-light.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f5f5f540;color:#000000b3}.mzn-playground .file.is-light:active .file-cta,.mzn-playground .file.is-light.is-active .file-cta{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground .file.is-dark .file-cta{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground .file.is-dark:hover .file-cta,.mzn-playground .file.is-dark.is-hovered .file-cta{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground .file.is-dark:focus .file-cta,.mzn-playground .file.is-dark.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #36363640;color:#fff}.mzn-playground .file.is-dark:active .file-cta,.mzn-playground .file.is-dark.is-active .file-cta{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground .file.is-primary .file-cta{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground .file.is-primary:hover .file-cta,.mzn-playground .file.is-primary.is-hovered .file-cta{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground .file.is-primary:focus .file-cta,.mzn-playground .file.is-primary.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #1491eb40;color:#fff}.mzn-playground .file.is-primary:active .file-cta,.mzn-playground .file.is-primary.is-active .file-cta{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground .file.is-link .file-cta{background-color:#485fc7;border-color:transparent;color:#fff}.mzn-playground .file.is-link:hover .file-cta,.mzn-playground .file.is-link.is-hovered .file-cta{background-color:#3e56c4;border-color:transparent;color:#fff}.mzn-playground .file.is-link:focus .file-cta,.mzn-playground .file.is-link.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #485fc740;color:#fff}.mzn-playground .file.is-link:active .file-cta,.mzn-playground .file.is-link.is-active .file-cta{background-color:#3a51bb;border-color:transparent;color:#fff}.mzn-playground .file.is-info .file-cta{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground .file.is-info:hover .file-cta,.mzn-playground .file.is-info.is-hovered .file-cta{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground .file.is-info:focus .file-cta,.mzn-playground .file.is-info.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #3e8ed040;color:#fff}.mzn-playground .file.is-info:active .file-cta,.mzn-playground .file.is-info.is-active .file-cta{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground .file.is-success .file-cta{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground .file.is-success:hover .file-cta,.mzn-playground .file.is-success.is-hovered .file-cta{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground .file.is-success:focus .file-cta,.mzn-playground .file.is-success.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #48c78e40;color:#fff}.mzn-playground .file.is-success:active .file-cta,.mzn-playground .file.is-success.is-active .file-cta{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground .file.is-warning .file-cta{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground .file.is-warning:hover .file-cta,.mzn-playground .file.is-warning.is-hovered .file-cta{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground .file.is-warning:focus .file-cta,.mzn-playground .file.is-warning.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffe08a40;color:#000000b3}.mzn-playground .file.is-warning:active .file-cta,.mzn-playground .file.is-warning.is-active .file-cta{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground .file.is-danger .file-cta{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground .file.is-danger:hover .file-cta,.mzn-playground .file.is-danger.is-hovered .file-cta{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground .file.is-danger:focus .file-cta,.mzn-playground .file.is-danger.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f1466840;color:#fff}.mzn-playground .file.is-danger:active .file-cta,.mzn-playground .file.is-danger.is-active .file-cta{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground .file.is-small{font-size:.75rem}.mzn-playground .file.is-normal{font-size:1rem}.mzn-playground .file.is-medium{font-size:1.25rem}.mzn-playground .file.is-medium .file-icon .fa{font-size:21px}.mzn-playground .file.is-large{font-size:1.5rem}.mzn-playground .file.is-large .file-icon .fa{font-size:28px}.mzn-playground .file.has-name .file-cta{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground .file.has-name .file-name{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .file.has-name.is-empty .file-cta{border-radius:4px}.mzn-playground .file.has-name.is-empty .file-name{display:none}.mzn-playground .file.is-boxed .file-label{flex-direction:column}.mzn-playground .file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.mzn-playground .file.is-boxed .file-name{border-width:0 1px 1px}.mzn-playground .file.is-boxed .file-icon{height:1.5em;width:1.5em}.mzn-playground .file.is-boxed .file-icon .fa{font-size:21px}.mzn-playground .file.is-boxed.is-small .file-icon .fa{font-size:14px}.mzn-playground .file.is-boxed.is-medium .file-icon .fa{font-size:28px}.mzn-playground .file.is-boxed.is-large .file-icon .fa{font-size:35px}.mzn-playground .file.is-boxed.has-name .file-cta{border-radius:4px 4px 0 0}.mzn-playground .file.is-boxed.has-name .file-name{border-radius:0 0 4px 4px;border-width:0 1px 1px}.mzn-playground .file.is-centered{justify-content:center}.mzn-playground .file.is-fullwidth .file-label{width:100%}.mzn-playground .file.is-fullwidth .file-name{flex-grow:1;max-width:none}.mzn-playground .file.is-right{justify-content:flex-end}.mzn-playground .file.is-right .file-cta{border-radius:0 4px 4px 0}.mzn-playground .file.is-right .file-name{border-radius:4px 0 0 4px;border-width:1px 0 1px 1px;order:-1}.mzn-playground .file-label{align-items:stretch;display:flex;cursor:pointer;justify-content:flex-start;overflow:hidden;position:relative}.mzn-playground .file-label:hover .file-cta{background-color:#eee;color:#363636}.mzn-playground .file-label:hover .file-name{border-color:#d5d5d5}.mzn-playground .file-label:active .file-cta{background-color:#e8e8e8;color:#363636}.mzn-playground .file-label:active .file-name{border-color:#cfcfcf}.mzn-playground .file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.mzn-playground .file-cta,.mzn-playground .file-name{border-color:#dbdbdb;border-radius:4px;font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.mzn-playground .file-cta{background-color:#f5f5f5;color:#4a4a4a}.mzn-playground .file-name{border-color:#dbdbdb;border-style:solid;border-width:1px 1px 1px 0;display:block;max-width:16em;overflow:hidden;text-align:inherit;text-overflow:ellipsis}.mzn-playground .file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-right:.5em;width:1em}.mzn-playground .file-icon .fa{font-size:14px}.mzn-playground .label{color:#363636;display:block;font-size:1rem;font-weight:700}.mzn-playground .label:not(:last-child){margin-bottom:.5em}.mzn-playground .label.is-small{font-size:.75rem}.mzn-playground .label.is-medium{font-size:1.25rem}.mzn-playground .label.is-large{font-size:1.5rem}.mzn-playground .help{display:block;font-size:.75rem;margin-top:.25rem}.mzn-playground .help.is-white{color:#fff}.mzn-playground .help.is-black{color:#0a0a0a}.mzn-playground .help.is-light{color:#f5f5f5}.mzn-playground .help.is-dark{color:#363636}.mzn-playground .help.is-primary{color:#1491eb}.mzn-playground .help.is-link{color:#485fc7}.mzn-playground .help.is-info{color:#3e8ed0}.mzn-playground .help.is-success{color:#48c78e}.mzn-playground .help.is-warning{color:#ffe08a}.mzn-playground .help.is-danger{color:#f14668}.mzn-playground .field:not(:last-child){margin-bottom:.75rem}.mzn-playground .field.has-addons{display:flex;justify-content:flex-start}.mzn-playground .field.has-addons .control:not(:last-child){margin-right:-1px}.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .button,.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .input,.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.mzn-playground .field.has-addons .control:first-child:not(:only-child) .button,.mzn-playground .field.has-addons .control:first-child:not(:only-child) .input,.mzn-playground .field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground .field.has-addons .control:last-child:not(:only-child) .button,.mzn-playground .field.has-addons .control:last-child:not(:only-child) .input,.mzn-playground .field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .field.has-addons .control .button:not([disabled]):hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-hovered,.mzn-playground .field.has-addons .control .input:not([disabled]):hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-hovered,.mzn-playground .field.has-addons .control .select select:not([disabled]):hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-hovered{z-index:2}.mzn-playground .field.has-addons .control .button:not([disabled]):focus,.mzn-playground .field.has-addons .control .button:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .button:not([disabled]):active,.mzn-playground .field.has-addons .control .button:not([disabled]).is-active,.mzn-playground .field.has-addons .control .input:not([disabled]):focus,.mzn-playground .field.has-addons .control .input:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .input:not([disabled]):active,.mzn-playground .field.has-addons .control .input:not([disabled]).is-active,.mzn-playground .field.has-addons .control .select select:not([disabled]):focus,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .select select:not([disabled]):active,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-active{z-index:3}.mzn-playground .field.has-addons .control .button:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .button:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-active:hover,.mzn-playground .field.has-addons .control .input:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .input:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-active:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-active:hover{z-index:4}.mzn-playground .field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .field.has-addons.has-addons-centered{justify-content:center}.mzn-playground .field.has-addons.has-addons-right{justify-content:flex-end}.mzn-playground .field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.mzn-playground .field.is-grouped{display:flex;justify-content:flex-start}.mzn-playground .field.is-grouped>.control{flex-shrink:0}.mzn-playground .field.is-grouped>.control:not(:last-child){margin-bottom:0;margin-right:.75rem}.mzn-playground .field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .field.is-grouped.is-grouped-centered{justify-content:center}.mzn-playground .field.is-grouped.is-grouped-right{justify-content:flex-end}.mzn-playground .field.is-grouped.is-grouped-multiline{flex-wrap:wrap}.mzn-playground .field.is-grouped.is-grouped-multiline>.control:last-child,.mzn-playground .field.is-grouped.is-grouped-multiline>.control:not(:last-child){margin-bottom:.75rem}.mzn-playground .field.is-grouped.is-grouped-multiline:last-child{margin-bottom:-.75rem}.mzn-playground .field.is-grouped.is-grouped-multiline:not(:last-child){margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground .field.is-horizontal{display:flex}}.mzn-playground .field-label .label{font-size:inherit}@media screen and (max-width: 768px){.mzn-playground .field-label{margin-bottom:.5rem}}@media screen and (min-width: 769px),print{.mzn-playground .field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}.mzn-playground .field-label.is-small{font-size:.75rem;padding-top:.375em}.mzn-playground .field-label.is-normal{padding-top:.375em}.mzn-playground .field-label.is-medium{font-size:1.25rem;padding-top:.375em}.mzn-playground .field-label.is-large{font-size:1.5rem;padding-top:.375em}}.mzn-playground .field-body .field .field{margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground .field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.mzn-playground .field-body .field{margin-bottom:0}.mzn-playground .field-body>.field{flex-shrink:1}.mzn-playground .field-body>.field:not(.is-narrow){flex-grow:1}.mzn-playground .field-body>.field:not(:last-child){margin-right:.75rem}}.mzn-playground .control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:inherit}.mzn-playground .control.has-icons-left .input:focus~.icon,.mzn-playground .control.has-icons-left .select:focus~.icon,.mzn-playground .control.has-icons-right .input:focus~.icon,.mzn-playground .control.has-icons-right .select:focus~.icon{color:#4a4a4a}.mzn-playground .control.has-icons-left .input.is-small~.icon,.mzn-playground .control.has-icons-left .select.is-small~.icon,.mzn-playground .control.has-icons-right .input.is-small~.icon,.mzn-playground .control.has-icons-right .select.is-small~.icon{font-size:.75rem}.mzn-playground .control.has-icons-left .input.is-medium~.icon,.mzn-playground .control.has-icons-left .select.is-medium~.icon,.mzn-playground .control.has-icons-right .input.is-medium~.icon,.mzn-playground .control.has-icons-right .select.is-medium~.icon{font-size:1.25rem}.mzn-playground .control.has-icons-left .input.is-large~.icon,.mzn-playground .control.has-icons-left .select.is-large~.icon,.mzn-playground .control.has-icons-right .input.is-large~.icon,.mzn-playground .control.has-icons-right .select.is-large~.icon{font-size:1.5rem}.mzn-playground .control.has-icons-left .icon,.mzn-playground .control.has-icons-right .icon{color:#dbdbdb;height:2.5em;pointer-events:none;position:absolute;top:0;width:2.5em;z-index:4}.mzn-playground .control.has-icons-left .input,.mzn-playground .control.has-icons-left .select select{padding-left:2.5em}.mzn-playground .control.has-icons-left .icon.is-left{left:0}.mzn-playground .control.has-icons-right .input,.mzn-playground .control.has-icons-right .select select{padding-right:2.5em}.mzn-playground .control.has-icons-right .icon.is-right{right:0}.mzn-playground .control.is-loading:after{position:absolute!important;right:.625em;top:.625em;z-index:4}.mzn-playground .control.is-loading.is-small:after{font-size:.75rem}.mzn-playground .control.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground .control.is-loading.is-large:after{font-size:1.5rem}.mzn-playground .dropdown{display:inline-flex;position:relative;vertical-align:top}.mzn-playground .dropdown.is-active .dropdown-menu,.mzn-playground .dropdown.is-hoverable:hover .dropdown-menu{display:block}.mzn-playground .dropdown.is-right .dropdown-menu{left:auto;right:0}.mzn-playground .dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:4px;padding-top:initial;top:auto}.mzn-playground .dropdown-menu{display:none;left:0;min-width:12rem;padding-top:4px;position:absolute;top:100%;z-index:20}.mzn-playground .dropdown-content{background-color:#fff;border-radius:4px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground .dropdown-item{color:#4a4a4a;display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem;position:relative}.mzn-playground a.dropdown-item,.mzn-playground button.dropdown-item{padding-right:3rem;text-align:inherit;white-space:nowrap;width:100%}.mzn-playground a.dropdown-item:hover,.mzn-playground button.dropdown-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground a.dropdown-item.is-active,.mzn-playground button.dropdown-item.is-active{background-color:#485fc7;color:#fff}.mzn-playground .dropdown-divider{background-color:#ededed;border:none;display:block;height:1px;margin:.5rem 0}.mzn-playground .menu{font-size:1rem}.mzn-playground .menu.is-small{font-size:.75rem}.mzn-playground .menu.is-medium{font-size:1.25rem}.mzn-playground .menu.is-large{font-size:1.5rem}.mzn-playground .menu-list{line-height:1.25}.mzn-playground .menu-list a{border-radius:2px;color:#4a4a4a;display:block;padding:.5em .75em}.mzn-playground .menu-list a:hover{background-color:#f5f5f5;color:#363636}.mzn-playground .menu-list a.is-active{background-color:#485fc7;color:#fff}.mzn-playground .menu-list li ul{border-left:1px solid hsl(0,0%,86%);margin:.75em;padding-left:.75em}.mzn-playground .menu-label{color:#7a7a7a;font-size:.75em;letter-spacing:.1em;text-transform:uppercase}.mzn-playground .menu-label:not(:first-child){margin-top:1em}.mzn-playground .menu-label:not(:last-child){margin-bottom:1em}.mzn-playground .modal{align-items:center;display:none;flex-direction:column;justify-content:center;overflow:hidden;position:fixed;z-index:40}.mzn-playground .modal.is-active{display:flex}.mzn-playground .modal-background{background-color:#0a0a0adb}.mzn-playground .modal-content,.mzn-playground .modal-card{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media screen and (min-width: 769px){.mzn-playground .modal-content,.mzn-playground .modal-card{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.mzn-playground .modal-close{background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.mzn-playground .modal-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden;-ms-overflow-y:visible}.mzn-playground .modal-card-head,.mzn-playground .modal-card-foot{align-items:center;background-color:#f5f5f5;display:flex;flex-shrink:0;justify-content:flex-start;padding:20px;position:relative}.mzn-playground .modal-card-head{border-bottom:1px solid hsl(0,0%,86%);border-top-left-radius:6px;border-top-right-radius:6px}.mzn-playground .modal-card-title{color:#363636;flex-grow:1;flex-shrink:0;font-size:1.5rem;line-height:1}.mzn-playground .modal-card-foot{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid hsl(0,0%,86%)}.mzn-playground .modal-card-foot .button:not(:last-child){margin-right:.5em}.mzn-playground .modal-card-body{-webkit-overflow-scrolling:touch;background-color:#fff;flex-grow:1;flex-shrink:1;overflow:auto;padding:20px}.mzn-playground .navbar{background-color:#fff;min-height:3.25rem;position:relative;z-index:30}.mzn-playground .navbar.is-white{background-color:#fff;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand>.navbar-item,.mzn-playground .navbar.is-white .navbar-brand .navbar-link{color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-brand .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand .navbar-link:after{border-color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-burger{color:#0a0a0a}@media screen and (min-width: 769px){.mzn-playground .navbar.is-white .navbar-start>.navbar-item,.mzn-playground .navbar.is-white .navbar-start .navbar-link,.mzn-playground .navbar.is-white .navbar-end>.navbar-item,.mzn-playground .navbar.is-white .navbar-end .navbar-link{color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-end .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-start .navbar-link:after,.mzn-playground .navbar.is-white .navbar-end .navbar-link:after{border-color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-dropdown a.navbar-item.is-active{background-color:#fff;color:#0a0a0a}}.mzn-playground .navbar.is-black{background-color:#0a0a0a;color:#fff}.mzn-playground .navbar.is-black .navbar-brand>.navbar-item,.mzn-playground .navbar.is-black .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-brand .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-black .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-black .navbar-start>.navbar-item,.mzn-playground .navbar.is-black .navbar-start .navbar-link,.mzn-playground .navbar.is-black .navbar-end>.navbar-item,.mzn-playground .navbar.is-black .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-black .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-end .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-start .navbar-link:after,.mzn-playground .navbar.is-black .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-dropdown a.navbar-item.is-active{background-color:#0a0a0a;color:#fff}}.mzn-playground .navbar.is-light{background-color:#f5f5f5;color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand>.navbar-item,.mzn-playground .navbar.is-light .navbar-brand .navbar-link{color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-brand .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-light .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground .navbar.is-light .navbar-start>.navbar-item,.mzn-playground .navbar.is-light .navbar-start .navbar-link,.mzn-playground .navbar.is-light .navbar-end>.navbar-item,.mzn-playground .navbar.is-light .navbar-end .navbar-link{color:#000000b3}.mzn-playground .navbar.is-light .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-end .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-start .navbar-link:after,.mzn-playground .navbar.is-light .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#000000b3}}.mzn-playground .navbar.is-dark{background-color:#363636;color:#fff}.mzn-playground .navbar.is-dark .navbar-brand>.navbar-item,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-dark .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-dark .navbar-start>.navbar-item,.mzn-playground .navbar.is-dark .navbar-start .navbar-link,.mzn-playground .navbar.is-dark .navbar-end>.navbar-item,.mzn-playground .navbar.is-dark .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-end .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-start .navbar-link:after,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#363636;color:#fff}}.mzn-playground .navbar.is-primary{background-color:#1491eb;color:#fff}.mzn-playground .navbar.is-primary .navbar-brand>.navbar-item,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-primary .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-primary .navbar-start>.navbar-item,.mzn-playground .navbar.is-primary .navbar-start .navbar-link,.mzn-playground .navbar.is-primary .navbar-end>.navbar-item,.mzn-playground .navbar.is-primary .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-end .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-start .navbar-link:after,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-dropdown a.navbar-item.is-active{background-color:#1491eb;color:#fff}}.mzn-playground .navbar.is-link{background-color:#485fc7;color:#fff}.mzn-playground .navbar.is-link .navbar-brand>.navbar-item,.mzn-playground .navbar.is-link .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-brand .navbar-link.is-active{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-link .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-link .navbar-start>.navbar-item,.mzn-playground .navbar.is-link .navbar-start .navbar-link,.mzn-playground .navbar.is-link .navbar-end>.navbar-item,.mzn-playground .navbar.is-link .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-link .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-end .navbar-link.is-active{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-start .navbar-link:after,.mzn-playground .navbar.is-link .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-dropdown a.navbar-item.is-active{background-color:#485fc7;color:#fff}}.mzn-playground .navbar.is-info{background-color:#3e8ed0;color:#fff}.mzn-playground .navbar.is-info .navbar-brand>.navbar-item,.mzn-playground .navbar.is-info .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-brand .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-info .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-info .navbar-start>.navbar-item,.mzn-playground .navbar.is-info .navbar-start .navbar-link,.mzn-playground .navbar.is-info .navbar-end>.navbar-item,.mzn-playground .navbar.is-info .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-info .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-end .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-start .navbar-link:after,.mzn-playground .navbar.is-info .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-dropdown a.navbar-item.is-active{background-color:#3e8ed0;color:#fff}}.mzn-playground .navbar.is-success{background-color:#48c78e;color:#fff}.mzn-playground .navbar.is-success .navbar-brand>.navbar-item,.mzn-playground .navbar.is-success .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-brand .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-success .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-success .navbar-start>.navbar-item,.mzn-playground .navbar.is-success .navbar-start .navbar-link,.mzn-playground .navbar.is-success .navbar-end>.navbar-item,.mzn-playground .navbar.is-success .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-success .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-end .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-start .navbar-link:after,.mzn-playground .navbar.is-success .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-dropdown a.navbar-item.is-active{background-color:#48c78e;color:#fff}}.mzn-playground .navbar.is-warning{background-color:#ffe08a;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand>.navbar-item,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link{color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-warning .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground .navbar.is-warning .navbar-start>.navbar-item,.mzn-playground .navbar.is-warning .navbar-start .navbar-link,.mzn-playground .navbar.is-warning .navbar-end>.navbar-item,.mzn-playground .navbar.is-warning .navbar-end .navbar-link{color:#000000b3}.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-end .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-start .navbar-link:after,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-dropdown a.navbar-item.is-active{background-color:#ffe08a;color:#000000b3}}.mzn-playground .navbar.is-danger{background-color:#f14668;color:#fff}.mzn-playground .navbar.is-danger .navbar-brand>.navbar-item,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-danger .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-danger .navbar-start>.navbar-item,.mzn-playground .navbar.is-danger .navbar-start .navbar-link,.mzn-playground .navbar.is-danger .navbar-end>.navbar-item,.mzn-playground .navbar.is-danger .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-end .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-start .navbar-link:after,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-dropdown a.navbar-item.is-active{background-color:#f14668;color:#fff}}.mzn-playground .navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}.mzn-playground .navbar.has-shadow{box-shadow:0 2px #f5f5f5}.mzn-playground .navbar.is-fixed-bottom,.mzn-playground .navbar.is-fixed-top{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom{bottom:0}.mzn-playground .navbar.is-fixed-bottom.has-shadow{box-shadow:0 -2px #f5f5f5}.mzn-playground .navbar.is-fixed-top{top:0}.mzn-playground html.has-navbar-fixed-top,.mzn-playground body.has-navbar-fixed-top{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom,.mzn-playground body.has-navbar-fixed-bottom{padding-bottom:3.25rem}.mzn-playground .navbar-brand,.mzn-playground .navbar-tabs{align-items:stretch;display:flex;flex-shrink:0;min-height:3.25rem}.mzn-playground .navbar-brand a.navbar-item:focus,.mzn-playground .navbar-brand a.navbar-item:hover{background-color:transparent}.mzn-playground .navbar-tabs{-webkit-overflow-scrolling:touch;max-width:100vw;overflow-x:auto;overflow-y:hidden}.mzn-playground .navbar-burger{color:#4a4a4a;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:block;height:3.25rem;position:relative;width:3.25rem;margin-left:auto}.mzn-playground .navbar-burger span{background-color:currentColor;display:block;height:1px;left:calc(50% - 8px);position:absolute;transform-origin:center;transition-duration:86ms;transition-property:background-color,opacity,transform;transition-timing-function:ease-out;width:16px}.mzn-playground .navbar-burger span:nth-child(1){top:calc(50% - 6px)}.mzn-playground .navbar-burger span:nth-child(2){top:calc(50% - 1px)}.mzn-playground .navbar-burger span:nth-child(3){top:calc(50% + 4px)}.mzn-playground .navbar-burger:hover{background-color:#0000000d}.mzn-playground .navbar-burger.is-active span:nth-child(1){transform:translateY(5px) rotate(45deg)}.mzn-playground .navbar-burger.is-active span:nth-child(2){opacity:0}.mzn-playground .navbar-burger.is-active span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}.mzn-playground .navbar-menu{display:none}.mzn-playground .navbar-item,.mzn-playground .navbar-link{color:#4a4a4a;display:block;line-height:1.5;padding:.5rem .75rem;position:relative}.mzn-playground .navbar-item .icon:only-child,.mzn-playground .navbar-link .icon:only-child{margin-left:-.25rem;margin-right:-.25rem}.mzn-playground a.navbar-item,.mzn-playground .navbar-link{cursor:pointer}.mzn-playground a.navbar-item:focus,.mzn-playground a.navbar-item:focus-within,.mzn-playground a.navbar-item:hover,.mzn-playground a.navbar-item.is-active,.mzn-playground .navbar-link:focus,.mzn-playground .navbar-link:focus-within,.mzn-playground .navbar-link:hover,.mzn-playground .navbar-link.is-active{background-color:#fafafa;color:#485fc7}.mzn-playground .navbar-item{flex-grow:0;flex-shrink:0}.mzn-playground .navbar-item img{max-height:1.75rem}.mzn-playground .navbar-item.has-dropdown{padding:0}.mzn-playground .navbar-item.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .navbar-item.is-tab{border-bottom:1px solid transparent;min-height:3.25rem;padding-bottom:calc(.5rem - 1px)}.mzn-playground .navbar-item.is-tab:focus,.mzn-playground .navbar-item.is-tab:hover{background-color:transparent;border-bottom-color:#485fc7}.mzn-playground .navbar-item.is-tab.is-active{background-color:transparent;border-bottom-color:#485fc7;border-bottom-style:solid;border-bottom-width:3px;color:#485fc7;padding-bottom:calc(.5rem - 3px)}.mzn-playground .navbar-content{flex-grow:1;flex-shrink:1}.mzn-playground .navbar-link:not(.is-arrowless){padding-right:2.5em}.mzn-playground .navbar-link:not(.is-arrowless):after{border-color:#485fc7;margin-top:-.375em;right:1.125em}.mzn-playground .navbar-dropdown{font-size:.875rem;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground .navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.mzn-playground .navbar-divider{background-color:#f5f5f5;border:none;display:none;height:2px;margin:.5rem 0}@media screen and (max-width: 768px){.mzn-playground .navbar>.container{display:block}.mzn-playground .navbar-brand .navbar-item,.mzn-playground .navbar-tabs .navbar-item{align-items:center;display:flex}.mzn-playground .navbar-link:after{display:none}.mzn-playground .navbar-menu{background-color:#fff;box-shadow:0 8px 16px #0a0a0a1a;padding:.5rem 0}.mzn-playground .navbar-menu.is-active{display:block}.mzn-playground .navbar.is-fixed-bottom-touch,.mzn-playground .navbar.is-fixed-top-touch{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom-touch{bottom:0}.mzn-playground .navbar.is-fixed-bottom-touch.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground .navbar.is-fixed-top-touch{top:0}.mzn-playground .navbar.is-fixed-top .navbar-menu,.mzn-playground .navbar.is-fixed-top-touch .navbar-menu{-webkit-overflow-scrolling:touch;max-height:calc(100vh - 3.25rem);overflow:auto}.mzn-playground html.has-navbar-fixed-top-touch,.mzn-playground body.has-navbar-fixed-top-touch{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom-touch,.mzn-playground body.has-navbar-fixed-bottom-touch{padding-bottom:3.25rem}}@media screen and (min-width: 769px){.mzn-playground .navbar,.mzn-playground .navbar-menu,.mzn-playground .navbar-start,.mzn-playground .navbar-end{align-items:stretch;display:flex}.mzn-playground .navbar{min-height:3.25rem}.mzn-playground .navbar.is-spaced{padding:1rem 2rem}.mzn-playground .navbar.is-spaced .navbar-start,.mzn-playground .navbar.is-spaced .navbar-end{align-items:center}.mzn-playground .navbar.is-spaced a.navbar-item,.mzn-playground .navbar.is-spaced .navbar-link{border-radius:4px}.mzn-playground .navbar.is-transparent a.navbar-item:focus,.mzn-playground .navbar.is-transparent a.navbar-item:hover,.mzn-playground .navbar.is-transparent a.navbar-item.is-active,.mzn-playground .navbar.is-transparent .navbar-link:focus,.mzn-playground .navbar.is-transparent .navbar-link:hover,.mzn-playground .navbar.is-transparent .navbar-link.is-active{background-color:transparent!important}.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link{background-color:transparent!important}.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#485fc7}.mzn-playground .navbar-burger{display:none}.mzn-playground .navbar-item,.mzn-playground .navbar-link{align-items:center;display:flex}.mzn-playground .navbar-item.has-dropdown{align-items:stretch}.mzn-playground .navbar-item.has-dropdown-up .navbar-link:after{transform:rotate(135deg) translate(.25em,-.25em)}.mzn-playground .navbar-item.has-dropdown-up .navbar-dropdown{border-bottom:2px solid hsl(0,0%,86%);border-radius:6px 6px 0 0;border-top:none;bottom:100%;box-shadow:0 -8px 8px #0a0a0a1a;top:auto}.mzn-playground .navbar-item.is-active .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar.is-spaced .mzn-playground .navbar-item.is-active .navbar-dropdown,.mzn-playground .navbar-item.is-active .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed{opacity:1;pointer-events:auto;transform:translateY(0)}.mzn-playground .navbar-menu{flex-grow:1;flex-shrink:0}.mzn-playground .navbar-start{justify-content:flex-start;margin-right:auto}.mzn-playground .navbar-end{justify-content:flex-end;margin-left:auto}.mzn-playground .navbar-dropdown{background-color:#fff;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:2px solid hsl(0,0%,86%);box-shadow:0 8px 8px #0a0a0a1a;display:none;font-size:.875rem;left:0;min-width:100%;position:absolute;top:100%;z-index:20}.mzn-playground .navbar-dropdown .navbar-item{padding:.375rem 1rem;white-space:nowrap}.mzn-playground .navbar-dropdown a.navbar-item{padding-right:3rem}.mzn-playground .navbar-dropdown a.navbar-item:focus,.mzn-playground .navbar-dropdown a.navbar-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#485fc7}.navbar.is-spaced .mzn-playground .navbar-dropdown,.mzn-playground .navbar-dropdown.is-boxed{border-radius:6px;border-top:none;box-shadow:0 8px 8px #0a0a0a1a,0 0 0 1px #0a0a0a1a;display:block;opacity:0;pointer-events:none;top:calc(100% - 4px);transform:translateY(-5px);transition-duration:86ms;transition-property:opacity,transform}.mzn-playground .navbar-dropdown.is-right{left:auto;right:0}.mzn-playground .navbar-divider{display:block}.mzn-playground .navbar>.container .navbar-brand,.mzn-playground .container>.navbar .navbar-brand{margin-left:-.75rem}.mzn-playground .navbar>.container .navbar-menu,.mzn-playground .container>.navbar .navbar-menu{margin-right:-.75rem}.mzn-playground .navbar.is-fixed-bottom-desktop,.mzn-playground .navbar.is-fixed-top-desktop{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom-desktop{bottom:0}.mzn-playground .navbar.is-fixed-bottom-desktop.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground .navbar.is-fixed-top-desktop{top:0}.mzn-playground html.has-navbar-fixed-top-desktop,.mzn-playground body.has-navbar-fixed-top-desktop{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom-desktop,.mzn-playground body.has-navbar-fixed-bottom-desktop{padding-bottom:3.25rem}.mzn-playground html.has-spaced-navbar-fixed-top,.mzn-playground body.has-spaced-navbar-fixed-top{padding-top:5.25rem}.mzn-playground html.has-spaced-navbar-fixed-bottom,.mzn-playground body.has-spaced-navbar-fixed-bottom{padding-bottom:5.25rem}.mzn-playground a.navbar-item.is-active,.mzn-playground .navbar-link.is-active{color:#0a0a0a}.mzn-playground a.navbar-item.is-active:not(:focus):not(:hover),.mzn-playground .navbar-link.is-active:not(:focus):not(:hover){background-color:transparent}.mzn-playground .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar-item.has-dropdown.is-active .navbar-link{background-color:#fafafa}}.mzn-playground .hero.is-fullheight-with-navbar{min-height:calc(100vh - 3.25rem)}.mzn-playground .panel{border-radius:6px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;font-size:1rem}.mzn-playground .panel:not(:last-child){margin-bottom:1.5rem}.mzn-playground .panel.is-white .panel-heading{background-color:#fff;color:#0a0a0a}.mzn-playground .panel.is-white .panel-tabs a.is-active{border-bottom-color:#fff}.mzn-playground .panel.is-white .panel-block.is-active .panel-icon{color:#fff}.mzn-playground .panel.is-black .panel-heading{background-color:#0a0a0a;color:#fff}.mzn-playground .panel.is-black .panel-tabs a.is-active{border-bottom-color:#0a0a0a}.mzn-playground .panel.is-black .panel-block.is-active .panel-icon{color:#0a0a0a}.mzn-playground .panel.is-light .panel-heading{background-color:#f5f5f5;color:#000000b3}.mzn-playground .panel.is-light .panel-tabs a.is-active{border-bottom-color:#f5f5f5}.mzn-playground .panel.is-light .panel-block.is-active .panel-icon{color:#f5f5f5}.mzn-playground .panel.is-dark .panel-heading{background-color:#363636;color:#fff}.mzn-playground .panel.is-dark .panel-tabs a.is-active{border-bottom-color:#363636}.mzn-playground .panel.is-dark .panel-block.is-active .panel-icon{color:#363636}.mzn-playground .panel.is-primary .panel-heading{background-color:#1491eb;color:#fff}.mzn-playground .panel.is-primary .panel-tabs a.is-active{border-bottom-color:#1491eb}.mzn-playground .panel.is-primary .panel-block.is-active .panel-icon{color:#1491eb}.mzn-playground .panel.is-link .panel-heading{background-color:#485fc7;color:#fff}.mzn-playground .panel.is-link .panel-tabs a.is-active{border-bottom-color:#485fc7}.mzn-playground .panel.is-link .panel-block.is-active .panel-icon{color:#485fc7}.mzn-playground .panel.is-info .panel-heading{background-color:#3e8ed0;color:#fff}.mzn-playground .panel.is-info .panel-tabs a.is-active{border-bottom-color:#3e8ed0}.mzn-playground .panel.is-info .panel-block.is-active .panel-icon{color:#3e8ed0}.mzn-playground .panel.is-success .panel-heading{background-color:#48c78e;color:#fff}.mzn-playground .panel.is-success .panel-tabs a.is-active{border-bottom-color:#48c78e}.mzn-playground .panel.is-success .panel-block.is-active .panel-icon{color:#48c78e}.mzn-playground .panel.is-warning .panel-heading{background-color:#ffe08a;color:#000000b3}.mzn-playground .panel.is-warning .panel-tabs a.is-active{border-bottom-color:#ffe08a}.mzn-playground .panel.is-warning .panel-block.is-active .panel-icon{color:#ffe08a}.mzn-playground .panel.is-danger .panel-heading{background-color:#f14668;color:#fff}.mzn-playground .panel.is-danger .panel-tabs a.is-active{border-bottom-color:#f14668}.mzn-playground .panel.is-danger .panel-block.is-active .panel-icon{color:#f14668}.mzn-playground .panel-tabs:not(:last-child),.mzn-playground .panel-block:not(:last-child){border-bottom:1px solid hsl(0,0%,93%)}.mzn-playground .panel-heading{background-color:#ededed;border-radius:6px 6px 0 0;color:#363636;font-size:1.25em;font-weight:700;line-height:1.25;padding:.75em 1em}.mzn-playground .panel-tabs{align-items:flex-end;display:flex;font-size:.875em;justify-content:center}.mzn-playground .panel-tabs a{border-bottom:1px solid hsl(0,0%,86%);margin-bottom:-1px;padding:.5em}.mzn-playground .panel-tabs a.is-active{border-bottom-color:#4a4a4a;color:#363636}.mzn-playground .panel-list a{color:#4a4a4a}.mzn-playground .panel-list a:hover{color:#485fc7}.mzn-playground .panel-block{align-items:center;color:#363636;display:flex;justify-content:flex-start;padding:.5em .75em}.mzn-playground .panel-block input[type=checkbox]{margin-right:.75em}.mzn-playground .panel-block>.control{flex-grow:1;flex-shrink:1;width:100%}.mzn-playground .panel-block.is-wrapped{flex-wrap:wrap}.mzn-playground .panel-block.is-active{border-left-color:#485fc7;color:#363636}.mzn-playground .panel-block.is-active .panel-icon{color:#485fc7}.mzn-playground .panel-block:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mzn-playground a.panel-block,.mzn-playground label.panel-block{cursor:pointer}.mzn-playground a.panel-block:hover,.mzn-playground label.panel-block:hover{background-color:#f5f5f5}.mzn-playground .panel-icon{display:inline-block;font-size:14px;height:1em;line-height:1em;text-align:center;vertical-align:top;width:1em;color:#7a7a7a;margin-right:.75em}.mzn-playground .panel-icon .fa{font-size:inherit;line-height:inherit}.mzn-playground .tabs{-webkit-overflow-scrolling:touch;align-items:stretch;display:flex;font-size:1rem;justify-content:space-between;overflow:hidden;overflow-x:auto;white-space:nowrap}.mzn-playground .tabs a{align-items:center;border-bottom-color:#dbdbdb;border-bottom-style:solid;border-bottom-width:1px;color:#4a4a4a;display:flex;justify-content:center;margin-bottom:-1px;padding:.5em 1em;vertical-align:top}.mzn-playground .tabs a:hover{border-bottom-color:#363636;color:#363636}.mzn-playground .tabs li{display:block}.mzn-playground .tabs li.is-active a{border-bottom-color:#485fc7;color:#485fc7}.mzn-playground .tabs ul{align-items:center;border-bottom-color:#dbdbdb;border-bottom-style:solid;border-bottom-width:1px;display:flex;flex-grow:1;flex-shrink:0;justify-content:flex-start}.mzn-playground .tabs ul.is-left{padding-right:.75em}.mzn-playground .tabs ul.is-center{flex:none;justify-content:center;padding-left:.75em;padding-right:.75em}.mzn-playground .tabs ul.is-right{justify-content:flex-end;padding-left:.75em}.mzn-playground .tabs .icon:first-child{margin-right:.5em}.mzn-playground .tabs .icon:last-child{margin-left:.5em}.mzn-playground .tabs.is-centered ul{justify-content:center}.mzn-playground .tabs.is-right ul{justify-content:flex-end}.mzn-playground .tabs.is-boxed a{border:1px solid transparent;border-radius:4px 4px 0 0}.mzn-playground .tabs.is-boxed a:hover{background-color:#f5f5f5;border-bottom-color:#dbdbdb}.mzn-playground .tabs.is-boxed li.is-active a{background-color:#fff;border-color:#dbdbdb;border-bottom-color:transparent!important}.mzn-playground .tabs.is-fullwidth li{flex-grow:1;flex-shrink:0}.mzn-playground .tabs.is-toggle a{border-color:#dbdbdb;border-style:solid;border-width:1px;margin-bottom:0;position:relative}.mzn-playground .tabs.is-toggle a:hover{background-color:#f5f5f5;border-color:#b5b5b5;z-index:2}.mzn-playground .tabs.is-toggle li+li{margin-left:-1px}.mzn-playground .tabs.is-toggle li:first-child a{border-top-left-radius:4px;border-bottom-left-radius:4px}.mzn-playground .tabs.is-toggle li:last-child a{border-top-right-radius:4px;border-bottom-right-radius:4px}.mzn-playground .tabs.is-toggle li.is-active a{background-color:#485fc7;border-color:#485fc7;color:#fff;z-index:1}.mzn-playground .tabs.is-toggle ul{border-bottom:none}.mzn-playground .tabs.is-toggle.is-toggle-rounded li:first-child a{border-bottom-left-radius:9999px;border-top-left-radius:9999px;padding-left:1.25em}.mzn-playground .tabs.is-toggle.is-toggle-rounded li:last-child a{border-bottom-right-radius:9999px;border-top-right-radius:9999px;padding-right:1.25em}.mzn-playground .tabs.is-small{font-size:.75rem}.mzn-playground .tabs.is-medium{font-size:1.25rem}.mzn-playground .tabs.is-large{font-size:1.5rem}.mzn-playground .is-block{display:block!important}@media screen and (max-width: 768px){.mzn-playground .is-block-mobile{display:block!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-block-tablet{display:block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-block-tablet-only{display:block!important}}@media screen and (max-width: 1023px){.mzn-playground .is-block-touch{display:block!important}}@media screen and (min-width: 1024px){.mzn-playground .is-block-desktop{display:block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-block-desktop-only{display:block!important}}@media screen and (min-width: 1216px){.mzn-playground .is-block-widescreen{display:block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-block-widescreen-only{display:block!important}}@media screen and (min-width: 1408px){.mzn-playground .is-block-fullhd{display:block!important}}.mzn-playground .is-flex{display:flex!important}@media screen and (max-width: 768px){.mzn-playground .is-flex-mobile{display:flex!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-flex-tablet{display:flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-flex-tablet-only{display:flex!important}}@media screen and (max-width: 1023px){.mzn-playground .is-flex-touch{display:flex!important}}@media screen and (min-width: 1024px){.mzn-playground .is-flex-desktop{display:flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-flex-desktop-only{display:flex!important}}@media screen and (min-width: 1216px){.mzn-playground .is-flex-widescreen{display:flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-flex-widescreen-only{display:flex!important}}@media screen and (min-width: 1408px){.mzn-playground .is-flex-fullhd{display:flex!important}}.mzn-playground .is-inline{display:inline!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-mobile{display:inline!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-tablet{display:inline!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-tablet-only{display:inline!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-touch{display:inline!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-desktop{display:inline!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-desktop-only{display:inline!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-widescreen{display:inline!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-widescreen-only{display:inline!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-fullhd{display:inline!important}}.mzn-playground .is-inline-block{display:inline-block!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-block-mobile{display:inline-block!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-block-tablet{display:inline-block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-block-tablet-only{display:inline-block!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-block-touch{display:inline-block!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-block-desktop{display:inline-block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-block-desktop-only{display:inline-block!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-block-widescreen{display:inline-block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-block-widescreen-only{display:inline-block!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-block-fullhd{display:inline-block!important}}.mzn-playground .is-inline-flex{display:inline-flex!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-flex-mobile{display:inline-flex!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-flex-tablet{display:inline-flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-flex-tablet-only{display:inline-flex!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-flex-touch{display:inline-flex!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-flex-desktop{display:inline-flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-flex-desktop-only{display:inline-flex!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-flex-widescreen{display:inline-flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-flex-widescreen-only{display:inline-flex!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-flex-fullhd{display:inline-flex!important}}.mzn-playground .is-hidden{display:none!important}.mzn-playground .is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}@media screen and (max-width: 768px){.mzn-playground .is-hidden-mobile{display:none!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-hidden-tablet{display:none!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-hidden-tablet-only{display:none!important}}@media screen and (max-width: 1023px){.mzn-playground .is-hidden-touch{display:none!important}}@media screen and (min-width: 1024px){.mzn-playground .is-hidden-desktop{display:none!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-hidden-desktop-only{display:none!important}}@media screen and (min-width: 1216px){.mzn-playground .is-hidden-widescreen{display:none!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-hidden-widescreen-only{display:none!important}}@media screen and (min-width: 1408px){.mzn-playground .is-hidden-fullhd{display:none!important}}.mzn-playground .is-invisible{visibility:hidden!important}@media screen and (max-width: 768px){.mzn-playground .is-invisible-mobile{visibility:hidden!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-invisible-tablet{visibility:hidden!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-invisible-tablet-only{visibility:hidden!important}}@media screen and (max-width: 1023px){.mzn-playground .is-invisible-touch{visibility:hidden!important}}@media screen and (min-width: 1024px){.mzn-playground .is-invisible-desktop{visibility:hidden!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-invisible-desktop-only{visibility:hidden!important}}@media screen and (min-width: 1216px){.mzn-playground .is-invisible-widescreen{visibility:hidden!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-invisible-widescreen-only{visibility:hidden!important}}@media screen and (min-width: 1408px){.mzn-playground .is-invisible-fullhd{visibility:hidden!important}}.mzn-playground{box-sizing:border-box;background-color:#fff;font-size:16px;min-width:300px;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#4a4a4a;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground .navbar-item,.mzn-playground .navbar-link{padding:.5rem}.mzn-playground.is-dark{--mzn-playground-border: hsl(0, 0%, 29%);--mzn-playground-input-background-color: hsl(0, 0%, 12%);--mzn-playground-splitter: hsl(0, 0%, 29%);--mzn-playground-gray: gray;--mzn-playground-blue: #33beff;--mzn-playground-red: red;--mzn-playground-yellow: #d1d100}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name,.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground.is-dark .button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(.5em - 1px);padding-left:calc(.75em - 1px);padding-right:calc(.75em - 1px);padding-top:calc(.5em - 1px);position:relative;vertical-align:top}.mzn-playground.is-dark .file-cta:focus,.mzn-playground.is-dark .file-name:focus,.mzn-playground.is-dark .select select:focus,.mzn-playground.is-dark .textarea:focus,.mzn-playground.is-dark .input:focus,.mzn-playground.is-dark .button:focus,.mzn-playground.is-dark .is-focused.file-cta,.mzn-playground.is-dark .is-focused.file-name,.mzn-playground.is-dark .select select.is-focused,.mzn-playground.is-dark .is-focused.textarea,.mzn-playground.is-dark .is-focused.input,.mzn-playground.is-dark .is-focused.button,.mzn-playground.is-dark .file-cta:active,.mzn-playground.is-dark .file-name:active,.mzn-playground.is-dark .select select:active,.mzn-playground.is-dark .textarea:active,.mzn-playground.is-dark .input:active,.mzn-playground.is-dark .button:active,.mzn-playground.is-dark .is-active.file-cta,.mzn-playground.is-dark .is-active.file-name,.mzn-playground.is-dark .select select.is-active,.mzn-playground.is-dark .is-active.textarea,.mzn-playground.is-dark .is-active.input,.mzn-playground.is-dark .is-active.button{outline:none}.mzn-playground.is-dark [disabled].file-cta,.mzn-playground.is-dark [disabled].file-name,.mzn-playground.is-dark .select select[disabled],.mzn-playground.is-dark [disabled].textarea,.mzn-playground.is-dark [disabled].input,.mzn-playground.is-dark [disabled].button,fieldset[disabled] .mzn-playground.is-dark .file-cta,fieldset[disabled] .mzn-playground.is-dark .file-name,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground.is-dark .textarea,fieldset[disabled] .mzn-playground.is-dark .input,fieldset[disabled] .mzn-playground.is-dark .button{cursor:not-allowed}.mzn-playground.is-dark .tabs,.mzn-playground.is-dark .file,.mzn-playground.is-dark .button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after,.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after{border:3px solid transparent;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.mzn-playground.is-dark .tabs:not(:last-child),.mzn-playground.is-dark .block:not(:last-child),.mzn-playground.is-dark .table-container:not(:last-child),.mzn-playground.is-dark .table:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .modal-close,.mzn-playground.is-dark .delete{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:#0a0a0a33;border:none;border-radius:9999px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:none;position:relative;vertical-align:top;width:20px}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after{background-color:#292929;content:"";display:block;left:50%;position:absolute;top:50%;transform:translate(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before{height:2px;width:50%}.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after{height:50%;width:2px}.mzn-playground.is-dark .modal-close:hover,.mzn-playground.is-dark .delete:hover,.mzn-playground.is-dark .modal-close:focus,.mzn-playground.is-dark .delete:focus{background-color:#0a0a0a4d}.mzn-playground.is-dark .modal-close:active,.mzn-playground.is-dark .delete:active{background-color:#0a0a0a66}.mzn-playground.is-dark .is-small.modal-close,.mzn-playground.is-dark .is-small.delete{height:16px;max-height:16px;max-width:16px;min-height:16px;min-width:16px;width:16px}.mzn-playground.is-dark .is-medium.modal-close,.mzn-playground.is-dark .is-medium.delete{height:24px;max-height:24px;max-width:24px;min-height:24px;min-width:24px;width:24px}.mzn-playground.is-dark .is-large.modal-close,.mzn-playground.is-dark .is-large.delete{height:32px;max-height:32px;max-width:32px;min-height:32px;min-width:32px;width:32px}.mzn-playground.is-dark .control.is-loading:after,.mzn-playground.is-dark .select.is-loading:after,.mzn-playground.is-dark .loader,.mzn-playground.is-dark .button.is-loading:after{animation:spinAround .5s infinite linear;border:2px solid hsl(0,0%,86%);border-radius:9999px;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1em;position:relative;width:1em}.mzn-playground.is-dark .modal-background,.mzn-playground.is-dark .modal{bottom:0;left:0;position:absolute;right:0;top:0}.mzn-playground.is-dark .navbar-burger{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;color:currentColor;font-family:inherit;font-size:1em;margin:0;padding:0}.mzn-playground.is-dark html,.mzn-playground.is-dark body,.mzn-playground.is-dark p,.mzn-playground.is-dark ol,.mzn-playground.is-dark ul,.mzn-playground.is-dark li,.mzn-playground.is-dark dl,.mzn-playground.is-dark dt,.mzn-playground.is-dark dd,.mzn-playground.is-dark blockquote,.mzn-playground.is-dark figure,.mzn-playground.is-dark fieldset,.mzn-playground.is-dark legend,.mzn-playground.is-dark textarea,.mzn-playground.is-dark pre,.mzn-playground.is-dark iframe,.mzn-playground.is-dark hr,.mzn-playground.is-dark h1,.mzn-playground.is-dark h2,.mzn-playground.is-dark h3,.mzn-playground.is-dark h4,.mzn-playground.is-dark h5,.mzn-playground.is-dark h6{margin:0;padding:0}.mzn-playground.is-dark h1,.mzn-playground.is-dark h2,.mzn-playground.is-dark h3,.mzn-playground.is-dark h4,.mzn-playground.is-dark h5,.mzn-playground.is-dark h6{font-size:100%;font-weight:400}.mzn-playground.is-dark ul{list-style:none}.mzn-playground.is-dark button,.mzn-playground.is-dark input,.mzn-playground.is-dark select,.mzn-playground.is-dark textarea{margin:0}.mzn-playground.is-dark html{box-sizing:border-box}.mzn-playground.is-dark *,.mzn-playground.is-dark *:before,.mzn-playground.is-dark *:after{box-sizing:inherit}.mzn-playground.is-dark img,.mzn-playground.is-dark video{height:auto;max-width:100%}.mzn-playground.is-dark iframe{border:0}.mzn-playground.is-dark table{border-collapse:collapse;border-spacing:0}.mzn-playground.is-dark td,.mzn-playground.is-dark th{padding:0}.mzn-playground.is-dark td:not([align]),.mzn-playground.is-dark th:not([align]){text-align:inherit}.mzn-playground.is-dark html{background-color:#292929;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:300px;overflow-x:hidden;overflow-y:scroll;text-rendering:optimizeLegibility;text-size-adjust:100%}.mzn-playground.is-dark article,.mzn-playground.is-dark aside,.mzn-playground.is-dark figure,.mzn-playground.is-dark footer,.mzn-playground.is-dark header,.mzn-playground.is-dark hgroup,.mzn-playground.is-dark section{display:block}.mzn-playground.is-dark body,.mzn-playground.is-dark button,.mzn-playground.is-dark input,.mzn-playground.is-dark optgroup,.mzn-playground.is-dark select,.mzn-playground.is-dark textarea{font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.mzn-playground.is-dark code,.mzn-playground.is-dark pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:monospace}.mzn-playground.is-dark body{color:#ffebeb;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground.is-dark a{color:#6294ff;cursor:pointer;text-decoration:none}.mzn-playground.is-dark a strong{color:currentColor}.mzn-playground.is-dark a:hover{color:#b5b5b5}.mzn-playground.is-dark code{background-color:#141414;color:#da1039;font-size:.875em;font-weight:400;padding:.25em .5em}.mzn-playground.is-dark hr{background-color:#141414;border:none;display:block;height:2px;margin:1.5rem 0}.mzn-playground.is-dark img{height:auto;max-width:100%}.mzn-playground.is-dark input[type=checkbox],.mzn-playground.is-dark input[type=radio]{vertical-align:baseline}.mzn-playground.is-dark small{font-size:.875em}.mzn-playground.is-dark span{font-style:inherit;font-weight:inherit}.mzn-playground.is-dark strong{color:#fff;font-weight:700}.mzn-playground.is-dark fieldset{border:none}.mzn-playground.is-dark pre{-webkit-overflow-scrolling:touch;background-color:#141414;color:#ffebeb;font-size:1em;overflow-x:auto;padding:1.25rem 1.5rem;white-space:pre;word-wrap:normal}.mzn-playground.is-dark pre code{background-color:transparent;color:currentColor;font-size:1em;padding:0}.mzn-playground.is-dark table td,.mzn-playground.is-dark table th{vertical-align:top}.mzn-playground.is-dark table td:not([align]),.mzn-playground.is-dark table th:not([align]){text-align:inherit}.mzn-playground.is-dark table th{color:#fff}@keyframes spinAround{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.mzn-playground.is-dark .button{background-color:#1f1f1f;border-color:#4a4a4a;border-width:1px;color:#fff;cursor:pointer;justify-content:center;padding-bottom:calc(.5em - 1px);padding-left:1em;padding-right:1em;padding-top:calc(.5em - 1px);text-align:center;white-space:nowrap}.mzn-playground.is-dark .button strong{color:inherit}.mzn-playground.is-dark .button .icon,.mzn-playground.is-dark .button .icon.is-small,.mzn-playground.is-dark .button .icon.is-medium,.mzn-playground.is-dark .button .icon.is-large{height:1.5em;width:1.5em}.mzn-playground.is-dark .button .icon:first-child:not(:last-child){margin-left:calc(-.5em - 1px);margin-right:.25em}.mzn-playground.is-dark .button .icon:last-child:not(:first-child){margin-left:.25em;margin-right:calc(-.5em - 1px)}.mzn-playground.is-dark .button .icon:first-child:last-child{margin-left:calc(-.5em - 1px);margin-right:calc(-.5em - 1px)}.mzn-playground.is-dark .button:hover,.mzn-playground.is-dark .button.is-hovered{border-color:#4a4a4a;color:#b5b5b5}.mzn-playground.is-dark .button:focus,.mzn-playground.is-dark .button.is-focused{border-color:#3850b7;color:#c9c9c9}.mzn-playground.is-dark .button:focus:not(:active),.mzn-playground.is-dark .button.is-focused:not(:active){box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .button:active,.mzn-playground.is-dark .button.is-active{border-color:#b5b5b5;color:#c9c9c9}.mzn-playground.is-dark .button.is-text{background-color:transparent;border-color:transparent;color:#ffebeb;text-decoration:underline}.mzn-playground.is-dark .button.is-text:hover,.mzn-playground.is-dark .button.is-text.is-hovered,.mzn-playground.is-dark .button.is-text:focus,.mzn-playground.is-dark .button.is-text.is-focused{background-color:#141414;color:#fff}.mzn-playground.is-dark .button.is-text:active,.mzn-playground.is-dark .button.is-text.is-active{background-color:#080808;color:#fff}.mzn-playground.is-dark .button.is-text[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-text{background-color:transparent;border-color:transparent;box-shadow:none}.mzn-playground.is-dark .button.is-ghost{background:none;border-color:transparent;color:#6294ff;text-decoration:none}.mzn-playground.is-dark .button.is-ghost:hover,.mzn-playground.is-dark .button.is-ghost.is-hovered{color:#6294ff;text-decoration:underline}.mzn-playground.is-dark .button.is-white{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:hover,.mzn-playground.is-dark .button.is-white.is-hovered{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:focus,.mzn-playground.is-dark .button.is-white.is-focused{border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:focus:not(:active),.mzn-playground.is-dark .button.is-white.is-focused:not(:active){box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .button.is-white:active,.mzn-playground.is-dark .button.is-white.is-active{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white{background-color:#fff;border-color:#fff;box-shadow:none}.mzn-playground.is-dark .button.is-white.is-inverted{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted:hover,.mzn-playground.is-dark .button.is-white.is-inverted.is-hovered{background-color:#000}.mzn-playground.is-dark .button.is-white.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-inverted{background-color:#0a0a0a;border-color:transparent;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-white.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-white.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-white.is-outlined:hover,.mzn-playground.is-dark .button.is-white.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-white.is-outlined:focus,.mzn-playground.is-dark .button.is-white.is-outlined.is-focused{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-white.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-focused{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:hover,.mzn-playground.is-dark .button.is-black.is-hovered{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:focus,.mzn-playground.is-dark .button.is-black.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:focus:not(:active),.mzn-playground.is-dark .button.is-black.is-focused:not(:active){box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .button.is-black:active,.mzn-playground.is-dark .button.is-black.is-active{background-color:#000;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black{background-color:#0a0a0a;border-color:#0a0a0a;box-shadow:none}.mzn-playground.is-dark .button.is-black.is-inverted{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted:hover,.mzn-playground.is-dark .button.is-black.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-black.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-outlined:hover,.mzn-playground.is-dark .button.is-black.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-black.is-outlined:focus,.mzn-playground.is-dark .button.is-black.is-outlined.is-focused{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-black.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-focused{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-light{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:hover,.mzn-playground.is-dark .button.is-light.is-hovered{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:focus,.mzn-playground.is-dark .button.is-light.is-focused{border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:focus:not(:active),.mzn-playground.is-dark .button.is-light.is-focused:not(:active){box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .button.is-light:active,.mzn-playground.is-dark .button.is-light.is-active{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none}.mzn-playground.is-dark .button.is-light.is-inverted{background-color:#000000b3;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted:hover,.mzn-playground.is-dark .button.is-light.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground.is-dark .button.is-light.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-outlined:hover,.mzn-playground.is-dark .button.is-light.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-light.is-outlined:focus,.mzn-playground.is-dark .button.is-light.is-outlined.is-focused{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-light.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;box-shadow:none;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground.is-dark .button.is-dark{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:hover,.mzn-playground.is-dark .button.is-dark.is-hovered{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:focus,.mzn-playground.is-dark .button.is-dark.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:focus:not(:active),.mzn-playground.is-dark .button.is-dark.is-focused:not(:active){box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .button.is-dark:active,.mzn-playground.is-dark .button.is-dark.is-active{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark{background-color:#363636;border-color:#363636;box-shadow:none}.mzn-playground.is-dark .button.is-dark.is-inverted{background-color:#fff;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted:hover,.mzn-playground.is-dark .button.is-dark.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-dark.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#363636}.mzn-playground.is-dark .button.is-dark.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;color:#363636}.mzn-playground.is-dark .button.is-dark.is-outlined:hover,.mzn-playground.is-dark .button.is-dark.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-dark.is-outlined:focus,.mzn-playground.is-dark .button.is-dark.is-outlined.is-focused{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-dark.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;box-shadow:none;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-focused{background-color:#fff;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-primary{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:hover,.mzn-playground.is-dark .button.is-primary.is-hovered{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:focus,.mzn-playground.is-dark .button.is-primary.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:focus:not(:active),.mzn-playground.is-dark .button.is-primary.is-focused:not(:active){box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .button.is-primary:active,.mzn-playground.is-dark .button.is-primary.is-active{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary{background-color:#1491eb;border-color:#1491eb;box-shadow:none}.mzn-playground.is-dark .button.is-primary.is-inverted{background-color:#fff;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted:hover,.mzn-playground.is-dark .button.is-primary.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-primary.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-outlined:hover,.mzn-playground.is-dark .button.is-primary.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-primary.is-outlined:focus,.mzn-playground.is-dark .button.is-primary.is-outlined.is-focused{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-primary.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;box-shadow:none;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-focused{background-color:#fff;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-primary.is-light{background-color:#ecf6fd;color:#1074bc}.mzn-playground.is-dark .button.is-primary.is-light:hover,.mzn-playground.is-dark .button.is-primary.is-light.is-hovered{background-color:#e0f1fc;border-color:transparent;color:#1074bc}.mzn-playground.is-dark .button.is-primary.is-light:active,.mzn-playground.is-dark .button.is-primary.is-light.is-active{background-color:#d5ebfb;border-color:transparent;color:#1074bc}.mzn-playground.is-dark .button.is-link{background-color:#6294ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:hover,.mzn-playground.is-dark .button.is-link.is-hovered{background-color:#558bff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:focus,.mzn-playground.is-dark .button.is-link.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:focus:not(:active),.mzn-playground.is-dark .button.is-link.is-focused:not(:active){box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .button.is-link:active,.mzn-playground.is-dark .button.is-link.is-active{background-color:#4983ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link{background-color:#6294ff;border-color:#6294ff;box-shadow:none}.mzn-playground.is-dark .button.is-link.is-inverted{background-color:#fff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted:hover,.mzn-playground.is-dark .button.is-link.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-link.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-link.is-outlined{background-color:transparent;border-color:#6294ff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-outlined:hover,.mzn-playground.is-dark .button.is-link.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-link.is-outlined:focus,.mzn-playground.is-dark .button.is-link.is-outlined.is-focused{background-color:#6294ff;border-color:#6294ff;color:#fff}.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:after{border-color:transparent transparent #6294ff #6294ff!important}.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-link.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-outlined{background-color:transparent;border-color:#6294ff;box-shadow:none;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-focused{background-color:#fff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #6294ff #6294ff!important}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-link.is-light{background-color:#ebf1ff;color:#003ec2}.mzn-playground.is-dark .button.is-link.is-light:hover,.mzn-playground.is-dark .button.is-link.is-light.is-hovered{background-color:#dee8ff;border-color:transparent;color:#003ec2}.mzn-playground.is-dark .button.is-link.is-light:active,.mzn-playground.is-dark .button.is-link.is-light.is-active{background-color:#d1e0ff;border-color:transparent;color:#003ec2}.mzn-playground.is-dark .button.is-info{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:hover,.mzn-playground.is-dark .button.is-info.is-hovered{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:focus,.mzn-playground.is-dark .button.is-info.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:focus:not(:active),.mzn-playground.is-dark .button.is-info.is-focused:not(:active){box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .button.is-info:active,.mzn-playground.is-dark .button.is-info.is-active{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info{background-color:#3e8ed0;border-color:#3e8ed0;box-shadow:none}.mzn-playground.is-dark .button.is-info.is-inverted{background-color:#fff;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted:hover,.mzn-playground.is-dark .button.is-info.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-info.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-outlined:hover,.mzn-playground.is-dark .button.is-info.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-info.is-outlined:focus,.mzn-playground.is-dark .button.is-info.is-outlined.is-focused{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-info.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;box-shadow:none;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-focused{background-color:#fff;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-info.is-light{background-color:#eff5fb;color:#296fa8}.mzn-playground.is-dark .button.is-info.is-light:hover,.mzn-playground.is-dark .button.is-info.is-light.is-hovered{background-color:#e4eff9;border-color:transparent;color:#296fa8}.mzn-playground.is-dark .button.is-info.is-light:active,.mzn-playground.is-dark .button.is-info.is-light.is-active{background-color:#dae9f6;border-color:transparent;color:#296fa8}.mzn-playground.is-dark .button.is-success{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:hover,.mzn-playground.is-dark .button.is-success.is-hovered{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:focus,.mzn-playground.is-dark .button.is-success.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:focus:not(:active),.mzn-playground.is-dark .button.is-success.is-focused:not(:active){box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .button.is-success:active,.mzn-playground.is-dark .button.is-success.is-active{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success{background-color:#48c78e;border-color:#48c78e;box-shadow:none}.mzn-playground.is-dark .button.is-success.is-inverted{background-color:#fff;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted:hover,.mzn-playground.is-dark .button.is-success.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-success.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-outlined:hover,.mzn-playground.is-dark .button.is-success.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-success.is-outlined:focus,.mzn-playground.is-dark .button.is-success.is-outlined.is-focused{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-success.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;box-shadow:none;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-focused{background-color:#fff;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-success.is-light{background-color:#effaf5;color:#257953}.mzn-playground.is-dark .button.is-success.is-light:hover,.mzn-playground.is-dark .button.is-success.is-light.is-hovered{background-color:#e6f7ef;border-color:transparent;color:#257953}.mzn-playground.is-dark .button.is-success.is-light:active,.mzn-playground.is-dark .button.is-success.is-light.is-active{background-color:#dcf4e9;border-color:transparent;color:#257953}.mzn-playground.is-dark .button.is-warning{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:hover,.mzn-playground.is-dark .button.is-warning.is-hovered{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:focus,.mzn-playground.is-dark .button.is-warning.is-focused{border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:focus:not(:active),.mzn-playground.is-dark .button.is-warning.is-focused:not(:active){box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .button.is-warning:active,.mzn-playground.is-dark .button.is-warning.is-active{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning{background-color:#ffe08a;border-color:#ffe08a;box-shadow:none}.mzn-playground.is-dark .button.is-warning.is-inverted{background-color:#000000b3;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted:hover,.mzn-playground.is-dark .button.is-warning.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-outlined:hover,.mzn-playground.is-dark .button.is-warning.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-warning.is-outlined:focus,.mzn-playground.is-dark .button.is-warning.is-outlined.is-focused{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-warning.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;box-shadow:none;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-light{background-color:#fffaeb;color:#946c00}.mzn-playground.is-dark .button.is-warning.is-light:hover,.mzn-playground.is-dark .button.is-warning.is-light.is-hovered{background-color:#fff6de;border-color:transparent;color:#946c00}.mzn-playground.is-dark .button.is-warning.is-light:active,.mzn-playground.is-dark .button.is-warning.is-light.is-active{background-color:#fff3d1;border-color:transparent;color:#946c00}.mzn-playground.is-dark .button.is-danger{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:hover,.mzn-playground.is-dark .button.is-danger.is-hovered{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:focus,.mzn-playground.is-dark .button.is-danger.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:focus:not(:active),.mzn-playground.is-dark .button.is-danger.is-focused:not(:active){box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .button.is-danger:active,.mzn-playground.is-dark .button.is-danger.is-active{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger{background-color:#f14668;border-color:#f14668;box-shadow:none}.mzn-playground.is-dark .button.is-danger.is-inverted{background-color:#fff;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted:hover,.mzn-playground.is-dark .button.is-danger.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-danger.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-outlined:hover,.mzn-playground.is-dark .button.is-danger.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-danger.is-outlined:focus,.mzn-playground.is-dark .button.is-danger.is-outlined.is-focused{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-danger.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;box-shadow:none;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-focused{background-color:#fff;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.mzn-playground.is-dark .button.is-danger.is-light:hover,.mzn-playground.is-dark .button.is-danger.is-light.is-hovered{background-color:#fde0e6;border-color:transparent;color:#cc0f35}.mzn-playground.is-dark .button.is-danger.is-light:active,.mzn-playground.is-dark .button.is-danger.is-light.is-active{background-color:#fcd4dc;border-color:transparent;color:#cc0f35}.mzn-playground.is-dark .button.is-small{font-size:.75rem}.mzn-playground.is-dark .button.is-small:not(.is-rounded){border-radius:2px}.mzn-playground.is-dark .button.is-normal{font-size:1rem}.mzn-playground.is-dark .button.is-medium{font-size:1.25rem}.mzn-playground.is-dark .button.is-large{font-size:1.5rem}.mzn-playground.is-dark .button[disabled],fieldset[disabled] .mzn-playground.is-dark .button{background-color:#292929;border-color:#4a4a4a;box-shadow:none;opacity:.5}.mzn-playground.is-dark .button.is-fullwidth{display:flex;width:100%}.mzn-playground.is-dark .button.is-loading{color:transparent!important;pointer-events:none}.mzn-playground.is-dark .button.is-loading:after{position:absolute;left:calc(50% - .5em);top:calc(50% - .5em);position:absolute!important}.mzn-playground.is-dark .button.is-static{background-color:#333;border-color:#4a4a4a;color:#7a7a7a;box-shadow:none;pointer-events:none}.mzn-playground.is-dark .button.is-rounded{border-radius:9999px;padding-left:1.25em;padding-right:1.25em}.mzn-playground.is-dark .buttons{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.mzn-playground.is-dark .buttons .button{margin-bottom:.5rem}.mzn-playground.is-dark .buttons .button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}.mzn-playground.is-dark .buttons:last-child{margin-bottom:-.5rem}.mzn-playground.is-dark .buttons:not(:last-child){margin-bottom:1rem}.mzn-playground.is-dark .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large){font-size:.75rem}.mzn-playground.is-dark .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded){border-radius:2px}.mzn-playground.is-dark .buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large){font-size:1.25rem}.mzn-playground.is-dark .buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium){font-size:1.5rem}.mzn-playground.is-dark .buttons.has-addons .button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .buttons.has-addons .button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.mzn-playground.is-dark .buttons.has-addons .button:last-child{margin-right:0}.mzn-playground.is-dark .buttons.has-addons .button:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-hovered{z-index:2}.mzn-playground.is-dark .buttons.has-addons .button:focus,.mzn-playground.is-dark .buttons.has-addons .button.is-focused,.mzn-playground.is-dark .buttons.has-addons .button:active,.mzn-playground.is-dark .buttons.has-addons .button.is-active,.mzn-playground.is-dark .buttons.has-addons .button.is-selected{z-index:3}.mzn-playground.is-dark .buttons.has-addons .button:focus:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-focused:hover,.mzn-playground.is-dark .buttons.has-addons .button:active:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-active:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-selected:hover{z-index:4}.mzn-playground.is-dark .buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .buttons.is-centered{justify-content:center}.mzn-playground.is-dark .buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}.mzn-playground.is-dark .buttons.is-right{justify-content:flex-end}.mzn-playground.is-dark .buttons.is-right:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}@media screen and (max-width: 768px){.mzn-playground.is-dark .button.is-responsive.is-small{font-size:.5625rem}.mzn-playground.is-dark .button.is-responsive,.mzn-playground.is-dark .button.is-responsive.is-normal{font-size:.65625rem}.mzn-playground.is-dark .button.is-responsive.is-medium{font-size:.75rem}.mzn-playground.is-dark .button.is-responsive.is-large{font-size:1rem}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .button.is-responsive.is-small{font-size:.65625rem}.mzn-playground.is-dark .button.is-responsive,.mzn-playground.is-dark .button.is-responsive.is-normal{font-size:.75rem}.mzn-playground.is-dark .button.is-responsive.is-medium{font-size:1rem}.mzn-playground.is-dark .button.is-responsive.is-large{font-size:1.25rem}}.mzn-playground.is-dark .icon{align-items:center;display:inline-flex;justify-content:center;height:1.5rem;width:1.5rem}.mzn-playground.is-dark .icon.is-small{height:1rem;width:1rem}.mzn-playground.is-dark .icon.is-medium{height:2rem;width:2rem}.mzn-playground.is-dark .icon.is-large{height:3rem;width:3rem}.mzn-playground.is-dark .icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;line-height:1.5rem;vertical-align:top}.mzn-playground.is-dark .icon-text .icon{flex-grow:0;flex-shrink:0}.mzn-playground.is-dark .icon-text .icon:not(:last-child){margin-right:.25em}.mzn-playground.is-dark .icon-text .icon:not(:first-child){margin-left:.25em}.mzn-playground.is-dark div.icon-text{display:flex}.mzn-playground.is-dark .table{background-color:#292929;color:#fff}.mzn-playground.is-dark .table td,.mzn-playground.is-dark .table th{border:1px solid hsl(0,0%,29%);border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.mzn-playground.is-dark .table td.is-white,.mzn-playground.is-dark .table th.is-white{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .table td.is-black,.mzn-playground.is-dark .table th.is-black{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .table td.is-light,.mzn-playground.is-dark .table th.is-light{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .table td.is-dark,.mzn-playground.is-dark .table th.is-dark{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground.is-dark .table td.is-primary,.mzn-playground.is-dark .table th.is-primary{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground.is-dark .table td.is-link,.mzn-playground.is-dark .table th.is-link{background-color:#6294ff;border-color:#6294ff;color:#fff}.mzn-playground.is-dark .table td.is-info,.mzn-playground.is-dark .table th.is-info{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .table td.is-success,.mzn-playground.is-dark .table th.is-success{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground.is-dark .table td.is-warning,.mzn-playground.is-dark .table th.is-warning{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .table td.is-danger,.mzn-playground.is-dark .table th.is-danger{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground.is-dark .table td.is-narrow,.mzn-playground.is-dark .table th.is-narrow{white-space:nowrap;width:1%}.mzn-playground.is-dark .table td.is-selected,.mzn-playground.is-dark .table th.is-selected{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .table td.is-selected a,.mzn-playground.is-dark .table td.is-selected strong,.mzn-playground.is-dark .table th.is-selected a,.mzn-playground.is-dark .table th.is-selected strong{color:currentColor}.mzn-playground.is-dark .table td.is-vcentered,.mzn-playground.is-dark .table th.is-vcentered{vertical-align:middle}.mzn-playground.is-dark .table th{color:#fff}.mzn-playground.is-dark .table th:not([align]){text-align:left}.mzn-playground.is-dark .table tr.is-selected{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .table tr.is-selected a,.mzn-playground.is-dark .table tr.is-selected strong{color:currentColor}.mzn-playground.is-dark .table tr.is-selected td,.mzn-playground.is-dark .table tr.is-selected th{border-color:#fff;color:currentColor}.mzn-playground.is-dark .table thead{background-color:transparent}.mzn-playground.is-dark .table thead td,.mzn-playground.is-dark .table thead th{border-width:0 0 2px;color:#fff}.mzn-playground.is-dark .table tfoot{background-color:transparent}.mzn-playground.is-dark .table tfoot td,.mzn-playground.is-dark .table tfoot th{border-width:2px 0 0;color:#fff}.mzn-playground.is-dark .table tbody{background-color:transparent}.mzn-playground.is-dark .table tbody tr:last-child td,.mzn-playground.is-dark .table tbody tr:last-child th{border-bottom-width:0}.mzn-playground.is-dark .table.is-bordered td,.mzn-playground.is-dark .table.is-bordered th{border-width:1px}.mzn-playground.is-dark .table.is-bordered tr:last-child td,.mzn-playground.is-dark .table.is-bordered tr:last-child th{border-bottom-width:1px}.mzn-playground.is-dark .table.is-fullwidth{width:100%}.mzn-playground.is-dark .table.is-hoverable tbody tr:not(.is-selected):hover{background-color:#2e2e2e}.mzn-playground.is-dark .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:#2e2e2e}.mzn-playground.is-dark .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n){background-color:#333}.mzn-playground.is-dark .table.is-narrow td,.mzn-playground.is-dark .table.is-narrow th{padding:.25em .5em}.mzn-playground.is-dark .table.is-striped tbody tr:not(.is-selected):nth-child(2n){background-color:#2e2e2e}.mzn-playground.is-dark .table-container{-webkit-overflow-scrolling:touch;overflow:auto;overflow-y:hidden;max-width:100%}.mzn-playground.is-dark .heading{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;text-transform:uppercase}.mzn-playground.is-dark .number{align-items:center;background-color:#141414;border-radius:9999px;display:inline-flex;font-size:1.25rem;height:2em;justify-content:center;margin-right:1.5rem;min-width:2.5em;padding:.25rem .5rem;text-align:center;vertical-align:top}.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input{background-color:#1f1f1f;border-color:#4a4a4a;border-radius:4px;color:#fff}.mzn-playground.is-dark .select select::-moz-placeholder,.mzn-playground.is-dark .textarea::-moz-placeholder,.mzn-playground.is-dark .input::-moz-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select::-webkit-input-placeholder,.mzn-playground.is-dark .textarea::-webkit-input-placeholder,.mzn-playground.is-dark .input::-webkit-input-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:-moz-placeholder,.mzn-playground.is-dark .textarea:-moz-placeholder,.mzn-playground.is-dark .input:-moz-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:-ms-input-placeholder,.mzn-playground.is-dark .textarea:-ms-input-placeholder,.mzn-playground.is-dark .input:-ms-input-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:hover,.mzn-playground.is-dark .textarea:hover,.mzn-playground.is-dark .input:hover,.mzn-playground.is-dark .select select.is-hovered,.mzn-playground.is-dark .is-hovered.textarea,.mzn-playground.is-dark .is-hovered.input{border-color:#b5b5b5}.mzn-playground.is-dark .select select:focus,.mzn-playground.is-dark .textarea:focus,.mzn-playground.is-dark .input:focus,.mzn-playground.is-dark .select select.is-focused,.mzn-playground.is-dark .is-focused.textarea,.mzn-playground.is-dark .is-focused.input,.mzn-playground.is-dark .select select:active,.mzn-playground.is-dark .textarea:active,.mzn-playground.is-dark .input:active,.mzn-playground.is-dark .select select.is-active,.mzn-playground.is-dark .is-active.textarea,.mzn-playground.is-dark .is-active.input{border-color:#6294ff;box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .select select[disabled],.mzn-playground.is-dark [disabled].textarea,.mzn-playground.is-dark [disabled].input,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground.is-dark .textarea,fieldset[disabled] .mzn-playground.is-dark .input{background-color:#141414;border-color:#141414;box-shadow:none;color:#7a7a7a}.mzn-playground.is-dark .select select[disabled]::-moz-placeholder,.mzn-playground.is-dark [disabled].textarea::-moz-placeholder,.mzn-playground.is-dark [disabled].input::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .input::-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]::-webkit-input-placeholder,.mzn-playground.is-dark [disabled].textarea::-webkit-input-placeholder,.mzn-playground.is-dark [disabled].input::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .input::-webkit-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-moz-placeholder,.mzn-playground.is-dark [disabled].textarea:-moz-placeholder,.mzn-playground.is-dark [disabled].input:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .input:-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-ms-input-placeholder,.mzn-playground.is-dark [disabled].textarea:-ms-input-placeholder,.mzn-playground.is-dark [disabled].input:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .input:-ms-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input{box-shadow:inset 0 .0625em .125em #0a0a0a0d;max-width:100%;width:100%}.mzn-playground.is-dark [readonly].textarea,.mzn-playground.is-dark [readonly].input{box-shadow:none}.mzn-playground.is-dark .is-white.textarea,.mzn-playground.is-dark .is-white.input{border-color:#fff}.mzn-playground.is-dark .is-white.textarea:focus,.mzn-playground.is-dark .is-white.input:focus,.mzn-playground.is-dark .is-white.is-focused.textarea,.mzn-playground.is-dark .is-white.is-focused.input,.mzn-playground.is-dark .is-white.textarea:active,.mzn-playground.is-dark .is-white.input:active,.mzn-playground.is-dark .is-white.is-active.textarea,.mzn-playground.is-dark .is-white.is-active.input{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .is-black.textarea,.mzn-playground.is-dark .is-black.input{border-color:#0a0a0a}.mzn-playground.is-dark .is-black.textarea:focus,.mzn-playground.is-dark .is-black.input:focus,.mzn-playground.is-dark .is-black.is-focused.textarea,.mzn-playground.is-dark .is-black.is-focused.input,.mzn-playground.is-dark .is-black.textarea:active,.mzn-playground.is-dark .is-black.input:active,.mzn-playground.is-dark .is-black.is-active.textarea,.mzn-playground.is-dark .is-black.is-active.input{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .is-light.textarea,.mzn-playground.is-dark .is-light.input{border-color:#f5f5f5}.mzn-playground.is-dark .is-light.textarea:focus,.mzn-playground.is-dark .is-light.input:focus,.mzn-playground.is-dark .is-light.is-focused.textarea,.mzn-playground.is-dark .is-light.is-focused.input,.mzn-playground.is-dark .is-light.textarea:active,.mzn-playground.is-dark .is-light.input:active,.mzn-playground.is-dark .is-light.is-active.textarea,.mzn-playground.is-dark .is-light.is-active.input{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .is-dark.textarea,.mzn-playground.is-dark .is-dark.input{border-color:#363636}.mzn-playground.is-dark .is-dark.textarea:focus,.mzn-playground.is-dark .is-dark.input:focus,.mzn-playground.is-dark .is-dark.is-focused.textarea,.mzn-playground.is-dark .is-dark.is-focused.input,.mzn-playground.is-dark .is-dark.textarea:active,.mzn-playground.is-dark .is-dark.input:active,.mzn-playground.is-dark .is-dark.is-active.textarea,.mzn-playground.is-dark .is-dark.is-active.input{box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .is-primary.textarea,.mzn-playground.is-dark .is-primary.input{border-color:#1491eb}.mzn-playground.is-dark .is-primary.textarea:focus,.mzn-playground.is-dark .is-primary.input:focus,.mzn-playground.is-dark .is-primary.is-focused.textarea,.mzn-playground.is-dark .is-primary.is-focused.input,.mzn-playground.is-dark .is-primary.textarea:active,.mzn-playground.is-dark .is-primary.input:active,.mzn-playground.is-dark .is-primary.is-active.textarea,.mzn-playground.is-dark .is-primary.is-active.input{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .is-link.textarea,.mzn-playground.is-dark .is-link.input{border-color:#6294ff}.mzn-playground.is-dark .is-link.textarea:focus,.mzn-playground.is-dark .is-link.input:focus,.mzn-playground.is-dark .is-link.is-focused.textarea,.mzn-playground.is-dark .is-link.is-focused.input,.mzn-playground.is-dark .is-link.textarea:active,.mzn-playground.is-dark .is-link.input:active,.mzn-playground.is-dark .is-link.is-active.textarea,.mzn-playground.is-dark .is-link.is-active.input{box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .is-info.textarea,.mzn-playground.is-dark .is-info.input{border-color:#3e8ed0}.mzn-playground.is-dark .is-info.textarea:focus,.mzn-playground.is-dark .is-info.input:focus,.mzn-playground.is-dark .is-info.is-focused.textarea,.mzn-playground.is-dark .is-info.is-focused.input,.mzn-playground.is-dark .is-info.textarea:active,.mzn-playground.is-dark .is-info.input:active,.mzn-playground.is-dark .is-info.is-active.textarea,.mzn-playground.is-dark .is-info.is-active.input{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .is-success.textarea,.mzn-playground.is-dark .is-success.input{border-color:#48c78e}.mzn-playground.is-dark .is-success.textarea:focus,.mzn-playground.is-dark .is-success.input:focus,.mzn-playground.is-dark .is-success.is-focused.textarea,.mzn-playground.is-dark .is-success.is-focused.input,.mzn-playground.is-dark .is-success.textarea:active,.mzn-playground.is-dark .is-success.input:active,.mzn-playground.is-dark .is-success.is-active.textarea,.mzn-playground.is-dark .is-success.is-active.input{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .is-warning.textarea,.mzn-playground.is-dark .is-warning.input{border-color:#ffe08a}.mzn-playground.is-dark .is-warning.textarea:focus,.mzn-playground.is-dark .is-warning.input:focus,.mzn-playground.is-dark .is-warning.is-focused.textarea,.mzn-playground.is-dark .is-warning.is-focused.input,.mzn-playground.is-dark .is-warning.textarea:active,.mzn-playground.is-dark .is-warning.input:active,.mzn-playground.is-dark .is-warning.is-active.textarea,.mzn-playground.is-dark .is-warning.is-active.input{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .is-danger.textarea,.mzn-playground.is-dark .is-danger.input{border-color:#f14668}.mzn-playground.is-dark .is-danger.textarea:focus,.mzn-playground.is-dark .is-danger.input:focus,.mzn-playground.is-dark .is-danger.is-focused.textarea,.mzn-playground.is-dark .is-danger.is-focused.input,.mzn-playground.is-dark .is-danger.textarea:active,.mzn-playground.is-dark .is-danger.input:active,.mzn-playground.is-dark .is-danger.is-active.textarea,.mzn-playground.is-dark .is-danger.is-active.input{box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .is-small.textarea,.mzn-playground.is-dark .is-small.input{border-radius:2px;font-size:.75rem}.mzn-playground.is-dark .is-medium.textarea,.mzn-playground.is-dark .is-medium.input{font-size:1.25rem}.mzn-playground.is-dark .is-large.textarea,.mzn-playground.is-dark .is-large.input{font-size:1.5rem}.mzn-playground.is-dark .is-fullwidth.textarea,.mzn-playground.is-dark .is-fullwidth.input{display:block;width:100%}.mzn-playground.is-dark .is-inline.textarea,.mzn-playground.is-dark .is-inline.input{display:inline;width:auto}.mzn-playground.is-dark .input.is-rounded{border-radius:9999px;padding-left:calc(1.125em - 1px);padding-right:calc(1.125em - 1px)}.mzn-playground.is-dark .input.is-static{background-color:transparent;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}.mzn-playground.is-dark .textarea{display:block;max-width:100%;min-width:100%;padding:calc(.75em - 1px);resize:vertical}.mzn-playground.is-dark .textarea:not([rows]){max-height:40em;min-height:8em}.mzn-playground.is-dark .textarea[rows]{height:initial}.mzn-playground.is-dark .textarea.has-fixed-size{resize:none}.mzn-playground.is-dark .radio,.mzn-playground.is-dark .checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.mzn-playground.is-dark .radio input,.mzn-playground.is-dark .checkbox input{cursor:pointer}.mzn-playground.is-dark .radio:hover,.mzn-playground.is-dark .checkbox:hover{color:#fff}.mzn-playground.is-dark [disabled].radio,.mzn-playground.is-dark [disabled].checkbox,fieldset[disabled] .mzn-playground.is-dark .radio,fieldset[disabled] .mzn-playground.is-dark .checkbox,.mzn-playground.is-dark .radio input[disabled],.mzn-playground.is-dark .checkbox input[disabled]{color:#7a7a7a;cursor:not-allowed}.mzn-playground.is-dark .radio+.radio{margin-left:.5em}.mzn-playground.is-dark .select{display:inline-block;max-width:100%;position:relative;vertical-align:top}.mzn-playground.is-dark .select:not(.is-multiple){height:2.5em}.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after{border-color:#6294ff;right:1.125em;z-index:4}.mzn-playground.is-dark .select.is-rounded select{border-radius:9999px;padding-left:1em}.mzn-playground.is-dark .select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.mzn-playground.is-dark .select select::-ms-expand{display:none}.mzn-playground.is-dark .select select[disabled]:hover,fieldset[disabled] .mzn-playground.is-dark .select select:hover{border-color:#141414}.mzn-playground.is-dark .select select:not([multiple]){padding-right:2.5em}.mzn-playground.is-dark .select select[multiple]{height:auto;padding:0}.mzn-playground.is-dark .select select[multiple] option{padding:.5em 1em}.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):hover:after{border-color:#fff}.mzn-playground.is-dark .select.is-white:not(:hover):after{border-color:#fff}.mzn-playground.is-dark .select.is-white select{border-color:#fff}.mzn-playground.is-dark .select.is-white select:hover,.mzn-playground.is-dark .select.is-white select.is-hovered{border-color:#f2f2f2}.mzn-playground.is-dark .select.is-white select:focus,.mzn-playground.is-dark .select.is-white select.is-focused,.mzn-playground.is-dark .select.is-white select:active,.mzn-playground.is-dark .select.is-white select.is-active{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .select.is-black:not(:hover):after{border-color:#0a0a0a}.mzn-playground.is-dark .select.is-black select{border-color:#0a0a0a}.mzn-playground.is-dark .select.is-black select:hover,.mzn-playground.is-dark .select.is-black select.is-hovered{border-color:#000}.mzn-playground.is-dark .select.is-black select:focus,.mzn-playground.is-dark .select.is-black select.is-focused,.mzn-playground.is-dark .select.is-black select:active,.mzn-playground.is-dark .select.is-black select.is-active{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .select.is-light:not(:hover):after{border-color:#f5f5f5}.mzn-playground.is-dark .select.is-light select{border-color:#f5f5f5}.mzn-playground.is-dark .select.is-light select:hover,.mzn-playground.is-dark .select.is-light select.is-hovered{border-color:#e8e8e8}.mzn-playground.is-dark .select.is-light select:focus,.mzn-playground.is-dark .select.is-light select.is-focused,.mzn-playground.is-dark .select.is-light select:active,.mzn-playground.is-dark .select.is-light select.is-active{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .select.is-dark:not(:hover):after{border-color:#363636}.mzn-playground.is-dark .select.is-dark select{border-color:#363636}.mzn-playground.is-dark .select.is-dark select:hover,.mzn-playground.is-dark .select.is-dark select.is-hovered{border-color:#292929}.mzn-playground.is-dark .select.is-dark select:focus,.mzn-playground.is-dark .select.is-dark select.is-focused,.mzn-playground.is-dark .select.is-dark select:active,.mzn-playground.is-dark .select.is-dark select.is-active{box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .select.is-primary:not(:hover):after{border-color:#1491eb}.mzn-playground.is-dark .select.is-primary select{border-color:#1491eb}.mzn-playground.is-dark .select.is-primary select:hover,.mzn-playground.is-dark .select.is-primary select.is-hovered{border-color:#1283d4}.mzn-playground.is-dark .select.is-primary select:focus,.mzn-playground.is-dark .select.is-primary select.is-focused,.mzn-playground.is-dark .select.is-primary select:active,.mzn-playground.is-dark .select.is-primary select.is-active{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .select.is-link:not(:hover):after{border-color:#6294ff}.mzn-playground.is-dark .select.is-link select{border-color:#6294ff}.mzn-playground.is-dark .select.is-link select:hover,.mzn-playground.is-dark .select.is-link select.is-hovered{border-color:#4983ff}.mzn-playground.is-dark .select.is-link select:focus,.mzn-playground.is-dark .select.is-link select.is-focused,.mzn-playground.is-dark .select.is-link select:active,.mzn-playground.is-dark .select.is-link select.is-active{box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .select.is-info:not(:hover):after{border-color:#3e8ed0}.mzn-playground.is-dark .select.is-info select{border-color:#3e8ed0}.mzn-playground.is-dark .select.is-info select:hover,.mzn-playground.is-dark .select.is-info select.is-hovered{border-color:#3082c5}.mzn-playground.is-dark .select.is-info select:focus,.mzn-playground.is-dark .select.is-info select.is-focused,.mzn-playground.is-dark .select.is-info select:active,.mzn-playground.is-dark .select.is-info select.is-active{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .select.is-success:not(:hover):after{border-color:#48c78e}.mzn-playground.is-dark .select.is-success select{border-color:#48c78e}.mzn-playground.is-dark .select.is-success select:hover,.mzn-playground.is-dark .select.is-success select.is-hovered{border-color:#3abb81}.mzn-playground.is-dark .select.is-success select:focus,.mzn-playground.is-dark .select.is-success select.is-focused,.mzn-playground.is-dark .select.is-success select:active,.mzn-playground.is-dark .select.is-success select.is-active{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .select.is-warning:not(:hover):after{border-color:#ffe08a}.mzn-playground.is-dark .select.is-warning select{border-color:#ffe08a}.mzn-playground.is-dark .select.is-warning select:hover,.mzn-playground.is-dark .select.is-warning select.is-hovered{border-color:#ffd970}.mzn-playground.is-dark .select.is-warning select:focus,.mzn-playground.is-dark .select.is-warning select.is-focused,.mzn-playground.is-dark .select.is-warning select:active,.mzn-playground.is-dark .select.is-warning select.is-active{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .select.is-danger:not(:hover):after{border-color:#f14668}.mzn-playground.is-dark .select.is-danger select{border-color:#f14668}.mzn-playground.is-dark .select.is-danger select:hover,.mzn-playground.is-dark .select.is-danger select.is-hovered{border-color:#ef2e55}.mzn-playground.is-dark .select.is-danger select:focus,.mzn-playground.is-dark .select.is-danger select.is-focused,.mzn-playground.is-dark .select.is-danger select:active,.mzn-playground.is-dark .select.is-danger select.is-active{box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .select.is-small{border-radius:2px;font-size:.75rem}.mzn-playground.is-dark .select.is-medium{font-size:1.25rem}.mzn-playground.is-dark .select.is-large{font-size:1.5rem}.mzn-playground.is-dark .select.is-disabled:after{border-color:#7a7a7a!important;opacity:.5}.mzn-playground.is-dark .select.is-fullwidth,.mzn-playground.is-dark .select.is-fullwidth select{width:100%}.mzn-playground.is-dark .select.is-loading:after{margin-top:0;position:absolute;right:.625em;top:.625em;transform:none}.mzn-playground.is-dark .select.is-loading.is-small:after{font-size:.75rem}.mzn-playground.is-dark .select.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground.is-dark .select.is-loading.is-large:after{font-size:1.5rem}.mzn-playground.is-dark .file{align-items:stretch;display:flex;justify-content:flex-start;position:relative}.mzn-playground.is-dark .file.is-white .file-cta{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:hover .file-cta,.mzn-playground.is-dark .file.is-white.is-hovered .file-cta{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:focus .file-cta,.mzn-playground.is-dark .file.is-white.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffffff40;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:active .file-cta,.mzn-playground.is-dark .file.is-white.is-active .file-cta{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-black .file-cta{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-black:hover .file-cta,.mzn-playground.is-dark .file.is-black.is-hovered .file-cta{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-black:focus .file-cta,.mzn-playground.is-dark .file.is-black.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #0a0a0a40;color:#fff}.mzn-playground.is-dark .file.is-black:active .file-cta,.mzn-playground.is-dark .file.is-black.is-active .file-cta{background-color:#000;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-light .file-cta{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-light:hover .file-cta,.mzn-playground.is-dark .file.is-light.is-hovered .file-cta{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-light:focus .file-cta,.mzn-playground.is-dark .file.is-light.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f5f5f540;color:#000000b3}.mzn-playground.is-dark .file.is-light:active .file-cta,.mzn-playground.is-dark .file.is-light.is-active .file-cta{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-dark .file-cta{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-dark:hover .file-cta,.mzn-playground.is-dark .file.is-dark.is-hovered .file-cta{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-dark:focus .file-cta,.mzn-playground.is-dark .file.is-dark.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #36363640;color:#fff}.mzn-playground.is-dark .file.is-dark:active .file-cta,.mzn-playground.is-dark .file.is-dark.is-active .file-cta{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary .file-cta{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary:hover .file-cta,.mzn-playground.is-dark .file.is-primary.is-hovered .file-cta{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary:focus .file-cta,.mzn-playground.is-dark .file.is-primary.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #1491eb40;color:#fff}.mzn-playground.is-dark .file.is-primary:active .file-cta,.mzn-playground.is-dark .file.is-primary.is-active .file-cta{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link .file-cta{background-color:#6294ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link:hover .file-cta,.mzn-playground.is-dark .file.is-link.is-hovered .file-cta{background-color:#558bff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link:focus .file-cta,.mzn-playground.is-dark .file.is-link.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #6294ff40;color:#fff}.mzn-playground.is-dark .file.is-link:active .file-cta,.mzn-playground.is-dark .file.is-link.is-active .file-cta{background-color:#4983ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info .file-cta{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info:hover .file-cta,.mzn-playground.is-dark .file.is-info.is-hovered .file-cta{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info:focus .file-cta,.mzn-playground.is-dark .file.is-info.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #3e8ed040;color:#fff}.mzn-playground.is-dark .file.is-info:active .file-cta,.mzn-playground.is-dark .file.is-info.is-active .file-cta{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success .file-cta{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success:hover .file-cta,.mzn-playground.is-dark .file.is-success.is-hovered .file-cta{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success:focus .file-cta,.mzn-playground.is-dark .file.is-success.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #48c78e40;color:#fff}.mzn-playground.is-dark .file.is-success:active .file-cta,.mzn-playground.is-dark .file.is-success.is-active .file-cta{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-warning .file-cta{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-warning:hover .file-cta,.mzn-playground.is-dark .file.is-warning.is-hovered .file-cta{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-warning:focus .file-cta,.mzn-playground.is-dark .file.is-warning.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffe08a40;color:#000000b3}.mzn-playground.is-dark .file.is-warning:active .file-cta,.mzn-playground.is-dark .file.is-warning.is-active .file-cta{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-danger .file-cta{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-danger:hover .file-cta,.mzn-playground.is-dark .file.is-danger.is-hovered .file-cta{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-danger:focus .file-cta,.mzn-playground.is-dark .file.is-danger.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f1466840;color:#fff}.mzn-playground.is-dark .file.is-danger:active .file-cta,.mzn-playground.is-dark .file.is-danger.is-active .file-cta{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-small{font-size:.75rem}.mzn-playground.is-dark .file.is-normal{font-size:1rem}.mzn-playground.is-dark .file.is-medium{font-size:1.25rem}.mzn-playground.is-dark .file.is-medium .file-icon .fa{font-size:21px}.mzn-playground.is-dark .file.is-large{font-size:1.5rem}.mzn-playground.is-dark .file.is-large .file-icon .fa{font-size:28px}.mzn-playground.is-dark .file.has-name .file-cta{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground.is-dark .file.has-name .file-name{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .file.has-name.is-empty .file-cta{border-radius:4px}.mzn-playground.is-dark .file.has-name.is-empty .file-name{display:none}.mzn-playground.is-dark .file.is-boxed .file-label{flex-direction:column}.mzn-playground.is-dark .file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.mzn-playground.is-dark .file.is-boxed .file-name{border-width:0 1px 1px}.mzn-playground.is-dark .file.is-boxed .file-icon{height:1.5em;width:1.5em}.mzn-playground.is-dark .file.is-boxed .file-icon .fa{font-size:21px}.mzn-playground.is-dark .file.is-boxed.is-small .file-icon .fa{font-size:14px}.mzn-playground.is-dark .file.is-boxed.is-medium .file-icon .fa{font-size:28px}.mzn-playground.is-dark .file.is-boxed.is-large .file-icon .fa{font-size:35px}.mzn-playground.is-dark .file.is-boxed.has-name .file-cta{border-radius:4px 4px 0 0}.mzn-playground.is-dark .file.is-boxed.has-name .file-name{border-radius:0 0 4px 4px;border-width:0 1px 1px}.mzn-playground.is-dark .file.is-centered{justify-content:center}.mzn-playground.is-dark .file.is-fullwidth .file-label{width:100%}.mzn-playground.is-dark .file.is-fullwidth .file-name{flex-grow:1;max-width:none}.mzn-playground.is-dark .file.is-right{justify-content:flex-end}.mzn-playground.is-dark .file.is-right .file-cta{border-radius:0 4px 4px 0}.mzn-playground.is-dark .file.is-right .file-name{border-radius:4px 0 0 4px;border-width:1px 0 1px 1px;order:-1}.mzn-playground.is-dark .file-label{align-items:stretch;display:flex;cursor:pointer;justify-content:flex-start;overflow:hidden;position:relative}.mzn-playground.is-dark .file-label:hover .file-cta{background-color:#2d2d2d;color:#fff}.mzn-playground.is-dark .file-label:hover .file-name{border-color:#444}.mzn-playground.is-dark .file-label:active .file-cta{background-color:#262626;color:#fff}.mzn-playground.is-dark .file-label:active .file-name{border-color:#3d3d3d}.mzn-playground.is-dark .file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name{border-color:#4a4a4a;border-radius:4px;font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.mzn-playground.is-dark .file-cta{background-color:#333;color:#ffebeb}.mzn-playground.is-dark .file-name{border-color:#4a4a4a;border-style:solid;border-width:1px 1px 1px 0;display:block;max-width:16em;overflow:hidden;text-align:inherit;text-overflow:ellipsis}.mzn-playground.is-dark .file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-right:.5em;width:1em}.mzn-playground.is-dark .file-icon .fa{font-size:14px}.mzn-playground.is-dark .label{color:#b5b5b5;display:block;font-size:1rem;font-weight:700}.mzn-playground.is-dark .label:not(:last-child){margin-bottom:.5em}.mzn-playground.is-dark .label.is-small{font-size:.75rem}.mzn-playground.is-dark .label.is-medium{font-size:1.25rem}.mzn-playground.is-dark .label.is-large{font-size:1.5rem}.mzn-playground.is-dark .help{display:block;font-size:.75rem;margin-top:.25rem}.mzn-playground.is-dark .help.is-white{color:#fff}.mzn-playground.is-dark .help.is-black{color:#0a0a0a}.mzn-playground.is-dark .help.is-light{color:#f5f5f5}.mzn-playground.is-dark .help.is-dark{color:#363636}.mzn-playground.is-dark .help.is-primary{color:#1491eb}.mzn-playground.is-dark .help.is-link{color:#6294ff}.mzn-playground.is-dark .help.is-info{color:#3e8ed0}.mzn-playground.is-dark .help.is-success{color:#48c78e}.mzn-playground.is-dark .help.is-warning{color:#ffe08a}.mzn-playground.is-dark .help.is-danger{color:#f14668}.mzn-playground.is-dark .field:not(:last-child){margin-bottom:.75rem}.mzn-playground.is-dark .field.has-addons{display:flex;justify-content:flex-start}.mzn-playground.is-dark .field.has-addons .control:not(:last-child){margin-right:-1px}.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .button,.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .input,.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .button,.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .input,.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .button,.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .input,.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-hovered,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-hovered,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-hovered{z-index:2}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-active,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-active,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-active{z-index:3}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-active:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-active:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-active:hover{z-index:4}.mzn-playground.is-dark .field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .field.has-addons.has-addons-centered{justify-content:center}.mzn-playground.is-dark .field.has-addons.has-addons-right{justify-content:flex-end}.mzn-playground.is-dark .field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .field.is-grouped{display:flex;justify-content:flex-start}.mzn-playground.is-dark .field.is-grouped>.control{flex-shrink:0}.mzn-playground.is-dark .field.is-grouped>.control:not(:last-child){margin-bottom:0;margin-right:.75rem}.mzn-playground.is-dark .field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .field.is-grouped.is-grouped-centered{justify-content:center}.mzn-playground.is-dark .field.is-grouped.is-grouped-right{justify-content:flex-end}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline{flex-wrap:wrap}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline>.control:last-child,.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline>.control:not(:last-child){margin-bottom:.75rem}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline:last-child{margin-bottom:-.75rem}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline:not(:last-child){margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field.is-horizontal{display:flex}}.mzn-playground.is-dark .field-label .label{font-size:inherit}@media screen and (max-width: 768px){.mzn-playground.is-dark .field-label{margin-bottom:.5rem}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}.mzn-playground.is-dark .field-label.is-small{font-size:.75rem;padding-top:.375em}.mzn-playground.is-dark .field-label.is-normal{padding-top:.375em}.mzn-playground.is-dark .field-label.is-medium{font-size:1.25rem;padding-top:.375em}.mzn-playground.is-dark .field-label.is-large{font-size:1.5rem;padding-top:.375em}}.mzn-playground.is-dark .field-body .field .field{margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.mzn-playground.is-dark .field-body .field{margin-bottom:0}.mzn-playground.is-dark .field-body>.field{flex-shrink:1}.mzn-playground.is-dark .field-body>.field:not(.is-narrow){flex-grow:1}.mzn-playground.is-dark .field-body>.field:not(:last-child){margin-right:.75rem}}.mzn-playground.is-dark .control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:inherit}.mzn-playground.is-dark .control.has-icons-left .input:focus~.icon,.mzn-playground.is-dark .control.has-icons-left .select:focus~.icon,.mzn-playground.is-dark .control.has-icons-right .input:focus~.icon,.mzn-playground.is-dark .control.has-icons-right .select:focus~.icon{color:#ffebeb}.mzn-playground.is-dark .control.has-icons-left .input.is-small~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-small~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-small~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-small~.icon{font-size:.75rem}.mzn-playground.is-dark .control.has-icons-left .input.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-medium~.icon{font-size:1.25rem}.mzn-playground.is-dark .control.has-icons-left .input.is-large~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-large~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-large~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-large~.icon{font-size:1.5rem}.mzn-playground.is-dark .control.has-icons-left .icon,.mzn-playground.is-dark .control.has-icons-right .icon{color:#4a4a4a;height:2.5em;pointer-events:none;position:absolute;top:0;width:2.5em;z-index:4}.mzn-playground.is-dark .control.has-icons-left .input,.mzn-playground.is-dark .control.has-icons-left .select select{padding-left:2.5em}.mzn-playground.is-dark .control.has-icons-left .icon.is-left{left:0}.mzn-playground.is-dark .control.has-icons-right .input,.mzn-playground.is-dark .control.has-icons-right .select select{padding-right:2.5em}.mzn-playground.is-dark .control.has-icons-right .icon.is-right{right:0}.mzn-playground.is-dark .control.is-loading:after{position:absolute!important;right:.625em;top:.625em;z-index:4}.mzn-playground.is-dark .control.is-loading.is-small:after{font-size:.75rem}.mzn-playground.is-dark .control.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground.is-dark .control.is-loading.is-large:after{font-size:1.5rem}.mzn-playground.is-dark .dropdown{display:inline-flex;position:relative;vertical-align:top}.mzn-playground.is-dark .dropdown.is-active .dropdown-menu,.mzn-playground.is-dark .dropdown.is-hoverable:hover .dropdown-menu{display:block}.mzn-playground.is-dark .dropdown.is-right .dropdown-menu{left:auto;right:0}.mzn-playground.is-dark .dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:4px;padding-top:initial;top:auto}.mzn-playground.is-dark .dropdown-menu{display:none;left:0;min-width:12rem;padding-top:4px;position:absolute;top:100%;z-index:20}.mzn-playground.is-dark .dropdown-content{background-color:#292929;border-radius:4px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground.is-dark .dropdown-item{color:#ffebeb;display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem;position:relative}.mzn-playground.is-dark a.dropdown-item,.mzn-playground.is-dark button.dropdown-item{padding-right:3rem;text-align:inherit;white-space:nowrap;width:100%}.mzn-playground.is-dark a.dropdown-item:hover,.mzn-playground.is-dark button.dropdown-item:hover{background-color:#1f1f1f;color:#ffebeb}.mzn-playground.is-dark a.dropdown-item.is-active,.mzn-playground.is-dark button.dropdown-item.is-active{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .dropdown-divider{background-color:#ededed;border:none;display:block;height:1px;margin:.5rem 0}.mzn-playground.is-dark .menu{font-size:1rem}.mzn-playground.is-dark .menu.is-small{font-size:.75rem}.mzn-playground.is-dark .menu.is-medium{font-size:1.25rem}.mzn-playground.is-dark .menu.is-large{font-size:1.5rem}.mzn-playground.is-dark .menu-list{line-height:1.25}.mzn-playground.is-dark .menu-list a{border-radius:2px;color:#ffebeb;display:block;padding:.5em .75em}.mzn-playground.is-dark .menu-list a:hover{background-color:#141414;color:#fff}.mzn-playground.is-dark .menu-list a.is-active{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .menu-list li ul{border-left:1px solid hsl(0,0%,29%);margin:.75em;padding-left:.75em}.mzn-playground.is-dark .menu-label{color:#7a7a7a;font-size:.75em;letter-spacing:.1em;text-transform:uppercase}.mzn-playground.is-dark .menu-label:not(:first-child){margin-top:1em}.mzn-playground.is-dark .menu-label:not(:last-child){margin-bottom:1em}.mzn-playground.is-dark .modal{align-items:center;display:none;flex-direction:column;justify-content:center;overflow:hidden;position:fixed;z-index:40}.mzn-playground.is-dark .modal.is-active{display:flex}.mzn-playground.is-dark .modal-background{background-color:#0a0a0adb}.mzn-playground.is-dark .modal-content,.mzn-playground.is-dark .modal-card{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media screen and (min-width: 769px){.mzn-playground.is-dark .modal-content,.mzn-playground.is-dark .modal-card{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.mzn-playground.is-dark .modal-close{background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.mzn-playground.is-dark .modal-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden;-ms-overflow-y:visible}.mzn-playground.is-dark .modal-card-head,.mzn-playground.is-dark .modal-card-foot{align-items:center;background-color:#141414;display:flex;flex-shrink:0;justify-content:flex-start;padding:20px;position:relative}.mzn-playground.is-dark .modal-card-head{border-bottom:1px solid hsl(0,0%,29%);border-top-left-radius:6px;border-top-right-radius:6px}.mzn-playground.is-dark .modal-card-title{color:#fff;flex-grow:1;flex-shrink:0;font-size:1.5rem;line-height:1}.mzn-playground.is-dark .modal-card-foot{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid hsl(0,0%,29%)}.mzn-playground.is-dark .modal-card-foot .button:not(:last-child){margin-right:.5em}.mzn-playground.is-dark .modal-card-body{-webkit-overflow-scrolling:touch;background-color:#292929;flex-grow:1;flex-shrink:1;overflow:auto;padding:20px}.mzn-playground.is-dark .navbar{background-color:#292929;min-height:3.25rem;position:relative;z-index:30}.mzn-playground.is-dark .navbar.is-white{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link{color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:after{border-color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-burger{color:#0a0a0a}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-white .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link{color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:after{border-color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-dropdown a.navbar-item.is-active{background-color:#fff;color:#0a0a0a}}.mzn-playground.is-dark .navbar.is-black{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-black .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-dropdown a.navbar-item.is-active{background-color:#0a0a0a;color:#fff}}.mzn-playground.is-dark .navbar.is-light{background-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-light .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#000000b3}}.mzn-playground.is-dark .navbar.is-dark{background-color:#363636;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-dark .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#363636;color:#fff}}.mzn-playground.is-dark .navbar.is-primary{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-primary .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-dropdown a.navbar-item.is-active{background-color:#1491eb;color:#fff}}.mzn-playground.is-dark .navbar.is-link{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link.is-active{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-link .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link.is-active{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-dropdown a.navbar-item.is-active{background-color:#6294ff;color:#fff}}.mzn-playground.is-dark .navbar.is-info{background-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-info .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-dropdown a.navbar-item.is-active{background-color:#3e8ed0;color:#fff}}.mzn-playground.is-dark .navbar.is-success{background-color:#48c78e;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-success .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-dropdown a.navbar-item.is-active{background-color:#48c78e;color:#fff}}.mzn-playground.is-dark .navbar.is-warning{background-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-warning .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-dropdown a.navbar-item.is-active{background-color:#ffe08a;color:#000000b3}}.mzn-playground.is-dark .navbar.is-danger{background-color:#f14668;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-danger .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-dropdown a.navbar-item.is-active{background-color:#f14668;color:#fff}}.mzn-playground.is-dark .navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}.mzn-playground.is-dark .navbar.has-shadow{box-shadow:0 2px #141414}.mzn-playground.is-dark .navbar.is-fixed-bottom,.mzn-playground.is-dark .navbar.is-fixed-top{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom.has-shadow{box-shadow:0 -2px #141414}.mzn-playground.is-dark .navbar.is-fixed-top{top:0}.mzn-playground.is-dark html.has-navbar-fixed-top,.mzn-playground.is-dark body.has-navbar-fixed-top{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom,.mzn-playground.is-dark body.has-navbar-fixed-bottom{padding-bottom:3.25rem}.mzn-playground.is-dark .navbar-brand,.mzn-playground.is-dark .navbar-tabs{align-items:stretch;display:flex;flex-shrink:0;min-height:3.25rem}.mzn-playground.is-dark .navbar-brand a.navbar-item:focus,.mzn-playground.is-dark .navbar-brand a.navbar-item:hover{background-color:transparent}.mzn-playground.is-dark .navbar-tabs{-webkit-overflow-scrolling:touch;max-width:100vw;overflow-x:auto;overflow-y:hidden}.mzn-playground.is-dark .navbar-burger{color:#ffebeb;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:block;height:3.25rem;position:relative;width:3.25rem;margin-left:auto}.mzn-playground.is-dark .navbar-burger span{background-color:currentColor;display:block;height:1px;left:calc(50% - 8px);position:absolute;transform-origin:center;transition-duration:86ms;transition-property:background-color,opacity,transform;transition-timing-function:ease-out;width:16px}.mzn-playground.is-dark .navbar-burger span:nth-child(1){top:calc(50% - 6px)}.mzn-playground.is-dark .navbar-burger span:nth-child(2){top:calc(50% - 1px)}.mzn-playground.is-dark .navbar-burger span:nth-child(3){top:calc(50% + 4px)}.mzn-playground.is-dark .navbar-burger:hover{background-color:#0000000d}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(1){transform:translateY(5px) rotate(45deg)}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(2){opacity:0}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}.mzn-playground.is-dark .navbar-menu{display:none}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{color:#ffebeb;display:block;line-height:1.5;padding:.5rem .75rem;position:relative}.mzn-playground.is-dark .navbar-item .icon:only-child,.mzn-playground.is-dark .navbar-link .icon:only-child{margin-left:-.25rem;margin-right:-.25rem}.mzn-playground.is-dark a.navbar-item,.mzn-playground.is-dark .navbar-link{cursor:pointer}.mzn-playground.is-dark a.navbar-item:focus,.mzn-playground.is-dark a.navbar-item:focus-within,.mzn-playground.is-dark a.navbar-item:hover,.mzn-playground.is-dark a.navbar-item.is-active,.mzn-playground.is-dark .navbar-link:focus,.mzn-playground.is-dark .navbar-link:focus-within,.mzn-playground.is-dark .navbar-link:hover,.mzn-playground.is-dark .navbar-link.is-active{background-color:#2e2e2e;color:#6294ff}.mzn-playground.is-dark .navbar-item{flex-grow:0;flex-shrink:0}.mzn-playground.is-dark .navbar-item img{max-height:1.75rem}.mzn-playground.is-dark .navbar-item.has-dropdown{padding:0}.mzn-playground.is-dark .navbar-item.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .navbar-item.is-tab{border-bottom:1px solid transparent;min-height:3.25rem;padding-bottom:calc(.5rem - 1px)}.mzn-playground.is-dark .navbar-item.is-tab:focus,.mzn-playground.is-dark .navbar-item.is-tab:hover{background-color:transparent;border-bottom-color:#6294ff}.mzn-playground.is-dark .navbar-item.is-tab.is-active{background-color:transparent;border-bottom-color:#6294ff;border-bottom-style:solid;border-bottom-width:3px;color:#6294ff;padding-bottom:calc(.5rem - 3px)}.mzn-playground.is-dark .navbar-content{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .navbar-link:not(.is-arrowless){padding-right:2.5em}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after{border-color:#6294ff;margin-top:-.375em;right:1.125em}.mzn-playground.is-dark .navbar-dropdown{font-size:.875rem;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground.is-dark .navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.mzn-playground.is-dark .navbar-divider{background-color:#141414;border:none;display:none;height:2px;margin:.5rem 0}@media screen and (max-width: 768px){.mzn-playground.is-dark .navbar>.container{display:block}.mzn-playground.is-dark .navbar-brand .navbar-item,.mzn-playground.is-dark .navbar-tabs .navbar-item{align-items:center;display:flex}.mzn-playground.is-dark .navbar-link:after{display:none}.mzn-playground.is-dark .navbar-menu{background-color:#292929;box-shadow:0 8px 16px #0a0a0a1a;padding:.5rem 0}.mzn-playground.is-dark .navbar-menu.is-active{display:block}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch,.mzn-playground.is-dark .navbar.is-fixed-top-touch{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground.is-dark .navbar.is-fixed-top-touch{top:0}.mzn-playground.is-dark .navbar.is-fixed-top .navbar-menu,.mzn-playground.is-dark .navbar.is-fixed-top-touch .navbar-menu{-webkit-overflow-scrolling:touch;max-height:calc(100vh - 3.25rem);overflow:auto}.mzn-playground.is-dark html.has-navbar-fixed-top-touch,.mzn-playground.is-dark body.has-navbar-fixed-top-touch{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom-touch,.mzn-playground.is-dark body.has-navbar-fixed-bottom-touch{padding-bottom:3.25rem}}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar,.mzn-playground.is-dark .navbar-menu,.mzn-playground.is-dark .navbar-start,.mzn-playground.is-dark .navbar-end{align-items:stretch;display:flex}.mzn-playground.is-dark .navbar{min-height:3.25rem}.mzn-playground.is-dark .navbar.is-spaced{padding:1rem 2rem}.mzn-playground.is-dark .navbar.is-spaced .navbar-start,.mzn-playground.is-dark .navbar.is-spaced .navbar-end{align-items:center}.mzn-playground.is-dark .navbar.is-spaced a.navbar-item,.mzn-playground.is-dark .navbar.is-spaced .navbar-link{border-radius:4px}.mzn-playground.is-dark .navbar.is-transparent a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-transparent a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-transparent a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-transparent .navbar-link:focus,.mzn-playground.is-dark .navbar.is-transparent .navbar-link:hover,.mzn-playground.is-dark .navbar.is-transparent .navbar-link.is-active{background-color:transparent!important}.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link{background-color:transparent!important}.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item:hover{background-color:#141414;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active{background-color:#141414;color:#6294ff}.mzn-playground.is-dark .navbar-burger{display:none}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{align-items:center;display:flex}.mzn-playground.is-dark .navbar-item.has-dropdown{align-items:stretch}.mzn-playground.is-dark .navbar-item.has-dropdown-up .navbar-link:after{transform:rotate(135deg) translate(.25em,-.25em)}.mzn-playground.is-dark .navbar-item.has-dropdown-up .navbar-dropdown{border-bottom:2px solid hsl(0,0%,29%);border-radius:6px 6px 0 0;border-top:none;bottom:100%;box-shadow:0 -8px 8px #0a0a0a1a;top:auto}.mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed{opacity:1;pointer-events:auto;transform:translateY(0)}.mzn-playground.is-dark .navbar-menu{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .navbar-start{justify-content:flex-start;margin-right:auto}.mzn-playground.is-dark .navbar-end{justify-content:flex-end;margin-left:auto}.mzn-playground.is-dark .navbar-dropdown{background-color:#292929;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:2px solid hsl(0,0%,29%);box-shadow:0 8px 8px #0a0a0a1a;display:none;font-size:.875rem;left:0;min-width:100%;position:absolute;top:100%;z-index:20}.mzn-playground.is-dark .navbar-dropdown .navbar-item{padding:.375rem 1rem;white-space:nowrap}.mzn-playground.is-dark .navbar-dropdown a.navbar-item{padding-right:3rem}.mzn-playground.is-dark .navbar-dropdown a.navbar-item:focus,.mzn-playground.is-dark .navbar-dropdown a.navbar-item:hover{background-color:#141414;color:#0a0a0a}.mzn-playground.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#141414;color:#6294ff}.navbar.is-spaced .mzn-playground.is-dark .navbar-dropdown,.mzn-playground.is-dark .navbar-dropdown.is-boxed{border-radius:6px;border-top:none;box-shadow:0 8px 8px #0a0a0a1a,0 0 0 1px #0a0a0a1a;display:block;opacity:0;pointer-events:none;top:calc(100% - 4px);transform:translateY(-5px);transition-duration:86ms;transition-property:opacity,transform}.mzn-playground.is-dark .navbar-dropdown.is-right{left:auto;right:0}.mzn-playground.is-dark .navbar-divider{display:block}.mzn-playground.is-dark .navbar>.container .navbar-brand,.mzn-playground.is-dark .container>.navbar .navbar-brand{margin-left:-.75rem}.mzn-playground.is-dark .navbar>.container .navbar-menu,.mzn-playground.is-dark .container>.navbar .navbar-menu{margin-right:-.75rem}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop,.mzn-playground.is-dark .navbar.is-fixed-top-desktop{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground.is-dark .navbar.is-fixed-top-desktop{top:0}.mzn-playground.is-dark html.has-navbar-fixed-top-desktop,.mzn-playground.is-dark body.has-navbar-fixed-top-desktop{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom-desktop,.mzn-playground.is-dark body.has-navbar-fixed-bottom-desktop{padding-bottom:3.25rem}.mzn-playground.is-dark html.has-spaced-navbar-fixed-top,.mzn-playground.is-dark body.has-spaced-navbar-fixed-top{padding-top:5.25rem}.mzn-playground.is-dark html.has-spaced-navbar-fixed-bottom,.mzn-playground.is-dark body.has-spaced-navbar-fixed-bottom{padding-bottom:5.25rem}.mzn-playground.is-dark a.navbar-item.is-active,.mzn-playground.is-dark .navbar-link.is-active{color:#0a0a0a}.mzn-playground.is-dark a.navbar-item.is-active:not(:focus):not(:hover),.mzn-playground.is-dark .navbar-link.is-active:not(:focus):not(:hover){background-color:transparent}.mzn-playground.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#2e2e2e}}.mzn-playground.is-dark .hero.is-fullheight-with-navbar{min-height:calc(100vh - 3.25rem)}.mzn-playground.is-dark .panel{border-radius:6px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;font-size:1rem}.mzn-playground.is-dark .panel:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .panel.is-white .panel-heading{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .panel.is-white .panel-tabs a.is-active{border-bottom-color:#fff}.mzn-playground.is-dark .panel.is-white .panel-block.is-active .panel-icon{color:#fff}.mzn-playground.is-dark .panel.is-black .panel-heading{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .panel.is-black .panel-tabs a.is-active{border-bottom-color:#0a0a0a}.mzn-playground.is-dark .panel.is-black .panel-block.is-active .panel-icon{color:#0a0a0a}.mzn-playground.is-dark .panel.is-light .panel-heading{background-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .panel.is-light .panel-tabs a.is-active{border-bottom-color:#f5f5f5}.mzn-playground.is-dark .panel.is-light .panel-block.is-active .panel-icon{color:#f5f5f5}.mzn-playground.is-dark .panel.is-dark .panel-heading{background-color:#363636;color:#fff}.mzn-playground.is-dark .panel.is-dark .panel-tabs a.is-active{border-bottom-color:#363636}.mzn-playground.is-dark .panel.is-dark .panel-block.is-active .panel-icon{color:#363636}.mzn-playground.is-dark .panel.is-primary .panel-heading{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .panel.is-primary .panel-tabs a.is-active{border-bottom-color:#1491eb}.mzn-playground.is-dark .panel.is-primary .panel-block.is-active .panel-icon{color:#1491eb}.mzn-playground.is-dark .panel.is-link .panel-heading{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .panel.is-link .panel-tabs a.is-active{border-bottom-color:#6294ff}.mzn-playground.is-dark .panel.is-link .panel-block.is-active .panel-icon{color:#6294ff}.mzn-playground.is-dark .panel.is-info .panel-heading{background-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .panel.is-info .panel-tabs a.is-active{border-bottom-color:#3e8ed0}.mzn-playground.is-dark .panel.is-info .panel-block.is-active .panel-icon{color:#3e8ed0}.mzn-playground.is-dark .panel.is-success .panel-heading{background-color:#48c78e;color:#fff}.mzn-playground.is-dark .panel.is-success .panel-tabs a.is-active{border-bottom-color:#48c78e}.mzn-playground.is-dark .panel.is-success .panel-block.is-active .panel-icon{color:#48c78e}.mzn-playground.is-dark .panel.is-warning .panel-heading{background-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .panel.is-warning .panel-tabs a.is-active{border-bottom-color:#ffe08a}.mzn-playground.is-dark .panel.is-warning .panel-block.is-active .panel-icon{color:#ffe08a}.mzn-playground.is-dark .panel.is-danger .panel-heading{background-color:#f14668;color:#fff}.mzn-playground.is-dark .panel.is-danger .panel-tabs a.is-active{border-bottom-color:#f14668}.mzn-playground.is-dark .panel.is-danger .panel-block.is-active .panel-icon{color:#f14668}.mzn-playground.is-dark .panel-tabs:not(:last-child),.mzn-playground.is-dark .panel-block:not(:last-child){border-bottom:1px solid hsl(0,0%,93%)}.mzn-playground.is-dark .panel-heading{background-color:#ededed;border-radius:6px 6px 0 0;color:#fff;font-size:1.25em;font-weight:700;line-height:1.25;padding:.75em 1em}.mzn-playground.is-dark .panel-tabs{align-items:flex-end;display:flex;font-size:.875em;justify-content:center}.mzn-playground.is-dark .panel-tabs a{border-bottom:1px solid hsl(0,0%,29%);margin-bottom:-1px;padding:.5em}.mzn-playground.is-dark .panel-tabs a.is-active{border-bottom-color:#b5b5b5;color:#c9c9c9}.mzn-playground.is-dark .panel-list a{color:#ffebeb}.mzn-playground.is-dark .panel-list a:hover{color:#6294ff}.mzn-playground.is-dark .panel-block{align-items:center;color:#fff;display:flex;justify-content:flex-start;padding:.5em .75em}.mzn-playground.is-dark .panel-block input[type=checkbox]{margin-right:.75em}.mzn-playground.is-dark .panel-block>.control{flex-grow:1;flex-shrink:1;width:100%}.mzn-playground.is-dark .panel-block.is-wrapped{flex-wrap:wrap}.mzn-playground.is-dark .panel-block.is-active{border-left-color:#6294ff;color:#c9c9c9}.mzn-playground.is-dark .panel-block.is-active .panel-icon{color:#6294ff}.mzn-playground.is-dark .panel-block:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mzn-playground.is-dark a.panel-block,.mzn-playground.is-dark label.panel-block{cursor:pointer}.mzn-playground.is-dark a.panel-block:hover,.mzn-playground.is-dark label.panel-block:hover{background-color:#141414}.mzn-playground.is-dark .panel-icon{display:inline-block;font-size:14px;height:1em;line-height:1em;text-align:center;vertical-align:top;width:1em;color:#7a7a7a;margin-right:.75em}.mzn-playground.is-dark .panel-icon .fa{font-size:inherit;line-height:inherit}.mzn-playground.is-dark .tabs{-webkit-overflow-scrolling:touch;align-items:stretch;display:flex;font-size:1rem;justify-content:space-between;overflow:hidden;overflow-x:auto;white-space:nowrap}.mzn-playground.is-dark .tabs a{align-items:center;border-bottom-color:#4a4a4a;border-bottom-style:solid;border-bottom-width:1px;color:#ffebeb;display:flex;justify-content:center;margin-bottom:-1px;padding:.5em 1em;vertical-align:top}.mzn-playground.is-dark .tabs a:hover{border-bottom-color:#fff;color:#fff}.mzn-playground.is-dark .tabs li{display:block}.mzn-playground.is-dark .tabs li.is-active a{border-bottom-color:#6294ff;color:#6294ff}.mzn-playground.is-dark .tabs ul{align-items:center;border-bottom-color:#4a4a4a;border-bottom-style:solid;border-bottom-width:1px;display:flex;flex-grow:1;flex-shrink:0;justify-content:flex-start}.mzn-playground.is-dark .tabs ul.is-left{padding-right:.75em}.mzn-playground.is-dark .tabs ul.is-center{flex:none;justify-content:center;padding-left:.75em;padding-right:.75em}.mzn-playground.is-dark .tabs ul.is-right{justify-content:flex-end;padding-left:.75em}.mzn-playground.is-dark .tabs .icon:first-child{margin-right:.5em}.mzn-playground.is-dark .tabs .icon:last-child{margin-left:.5em}.mzn-playground.is-dark .tabs.is-centered ul{justify-content:center}.mzn-playground.is-dark .tabs.is-right ul{justify-content:flex-end}.mzn-playground.is-dark .tabs.is-boxed a{border:1px solid transparent;border-radius:4px 4px 0 0}.mzn-playground.is-dark .tabs.is-boxed a:hover{background-color:#141414;border-bottom-color:#4a4a4a}.mzn-playground.is-dark .tabs.is-boxed li.is-active a{background-color:#292929;border-color:#4a4a4a;border-bottom-color:transparent!important}.mzn-playground.is-dark .tabs.is-fullwidth li{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .tabs.is-toggle a{border-color:#4a4a4a;border-style:solid;border-width:1px;margin-bottom:0;position:relative}.mzn-playground.is-dark .tabs.is-toggle a:hover{background-color:#141414;border-color:#b5b5b5;z-index:2}.mzn-playground.is-dark .tabs.is-toggle li+li{margin-left:-1px}.mzn-playground.is-dark .tabs.is-toggle li:first-child a{border-top-left-radius:4px;border-bottom-left-radius:4px}.mzn-playground.is-dark .tabs.is-toggle li:last-child a{border-top-right-radius:4px;border-bottom-right-radius:4px}.mzn-playground.is-dark .tabs.is-toggle li.is-active a{background-color:#6294ff;border-color:#6294ff;color:#fff;z-index:1}.mzn-playground.is-dark .tabs.is-toggle ul{border-bottom:none}.mzn-playground.is-dark .tabs.is-toggle.is-toggle-rounded li:first-child a{border-bottom-left-radius:9999px;border-top-left-radius:9999px;padding-left:1.25em}.mzn-playground.is-dark .tabs.is-toggle.is-toggle-rounded li:last-child a{border-bottom-right-radius:9999px;border-top-right-radius:9999px;padding-right:1.25em}.mzn-playground.is-dark .tabs.is-small{font-size:.75rem}.mzn-playground.is-dark .tabs.is-medium{font-size:1.25rem}.mzn-playground.is-dark .tabs.is-large{font-size:1.5rem}.mzn-playground.is-dark .is-block{display:block!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-block-mobile{display:block!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-block-tablet{display:block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-block-tablet-only{display:block!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-block-touch{display:block!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-block-desktop{display:block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-block-desktop-only{display:block!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-block-widescreen{display:block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-block-widescreen-only{display:block!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-block-fullhd{display:block!important}}.mzn-playground.is-dark .is-flex{display:flex!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-flex-mobile{display:flex!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-flex-tablet{display:flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-flex-tablet-only{display:flex!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-flex-touch{display:flex!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-flex-desktop{display:flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-flex-desktop-only{display:flex!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-flex-widescreen{display:flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-flex-widescreen-only{display:flex!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-flex-fullhd{display:flex!important}}.mzn-playground.is-dark .is-inline{display:inline!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-mobile{display:inline!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-tablet{display:inline!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-tablet-only{display:inline!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-touch{display:inline!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-desktop{display:inline!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-desktop-only{display:inline!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-widescreen{display:inline!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-widescreen-only{display:inline!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-fullhd{display:inline!important}}.mzn-playground.is-dark .is-inline-block{display:inline-block!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-block-mobile{display:inline-block!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-block-tablet{display:inline-block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-block-tablet-only{display:inline-block!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-block-touch{display:inline-block!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-block-desktop{display:inline-block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-block-desktop-only{display:inline-block!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-block-widescreen{display:inline-block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-block-widescreen-only{display:inline-block!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-block-fullhd{display:inline-block!important}}.mzn-playground.is-dark .is-inline-flex{display:inline-flex!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-flex-mobile{display:inline-flex!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-flex-tablet{display:inline-flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-flex-tablet-only{display:inline-flex!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-flex-touch{display:inline-flex!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-flex-desktop{display:inline-flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-flex-desktop-only{display:inline-flex!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-flex-widescreen{display:inline-flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-flex-widescreen-only{display:inline-flex!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-flex-fullhd{display:inline-flex!important}}.mzn-playground.is-dark .is-hidden{display:none!important}.mzn-playground.is-dark .is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-hidden-mobile{display:none!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-hidden-tablet{display:none!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-hidden-tablet-only{display:none!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-hidden-touch{display:none!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-hidden-desktop{display:none!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-hidden-desktop-only{display:none!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-hidden-widescreen{display:none!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-hidden-widescreen-only{display:none!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-hidden-fullhd{display:none!important}}.mzn-playground.is-dark .is-invisible{visibility:hidden!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-invisible-mobile{visibility:hidden!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-invisible-tablet{visibility:hidden!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-invisible-tablet-only{visibility:hidden!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-invisible-touch{visibility:hidden!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-invisible-desktop{visibility:hidden!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-invisible-desktop-only{visibility:hidden!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-invisible-widescreen{visibility:hidden!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-invisible-widescreen-only{visibility:hidden!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-invisible-fullhd{visibility:hidden!important}}.mzn-playground.is-dark{box-sizing:border-box;background-color:#292929;font-size:16px;min-width:300px;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#ffebeb;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{padding:.5rem}.mzn-playground.is-dark .delete{background-color:#333}.mzn-playground.is-dark .delete:before,.mzn-playground.is-dark .delete:after{background-color:#ffebeb}.mzn-playground.is-dark .delete:hover,.mzn-playground.is-dark .delete:focus{background-color:#292929}.mzn-playground.is-dark .delete:active{background-color:#333}.mzn-playground.is-dark *{scrollbar-width:thin;scrollbar-color:hsl(0,0%,24%) hsl(0,0%,16%)}.mzn-playground.is-dark *::-webkit-scrollbar{width:8px}.mzn-playground.is-dark *::-webkit-scrollbar-track{background:hsl(0,0%,16%)}.mzn-playground.is-dark *::-webkit-scrollbar-thumb{background-color:#3d3d3d}.mzn-playground .output-window pre,.mzn-playground.is-dark .output-window pre{padding:0;background:none;display:inline;color:inherit;white-space:pre-wrap}.mzn-playground .mzn-trace,.mzn-playground .mzn-comment,.mzn-playground .mzn-stderr,.mzn-playground .mzn-checker,.mzn-playground.is-dark .mzn-trace,.mzn-playground.is-dark .mzn-comment,.mzn-playground.is-dark .mzn-stderr,.mzn-playground.is-dark .mzn-checker{color:var(--mzn-playground-gray)!important}.mzn-playground .mzn-stat,.mzn-playground .mzn-runtime,.mzn-playground.is-dark .mzn-stat,.mzn-playground.is-dark .mzn-runtime{color:var(--mzn-playground-blue)!important}.mzn-playground .mzn-error,.mzn-playground.is-dark .mzn-error{color:var(--mzn-playground-red)!important}.mzn-playground .mzn-warning,.mzn-playground.is-dark .mzn-warning{color:var(--mzn-playground-yellow)!important}.mzn-playground .mzn-link,.mzn-playground.is-dark .mzn-link{text-decoration:underline!important}html,body{margin:0}.mzn-editor.svelte-1fycn7h{height:100%;overflow:auto}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning{position:relative;display:inline-block}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after{border-color:var(--mzn-playground-red)}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{border-color:var(--mzn-playground-yellow)}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{content:"";border-bottom-width:2px;border-bottom-style:dotted;position:absolute;display:block;pointer-events:none}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before{left:2px;right:0;bottom:2px}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{left:0;right:2px;bottom:0}.split.svelte-e8t4e8{width:100%;height:100%;display:flex;flex-direction:column}.split.horizontal.svelte-e8t4e8{flex-direction:row}.no-splitter.svelte-e8t4e8{flex:1 1 auto}.split.svelte-e8t4e8 .gutter{background-color:var(--mzn-playground-splitter);background-repeat:no-repeat;background-position:50%}.split.svelte-e8t4e8 .gutter.gutter-vertical{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=);cursor:row-resize}.split.svelte-e8t4e8 .gutter.gutter-horizontal{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==);cursor:col-resize}.spin.svelte-1cj2gr0{animation:svelte-1cj2gr0-spin 2s 0s infinite linear}.pulse.svelte-1cj2gr0{animation:svelte-1cj2gr0-spin 1s infinite steps(8)}@keyframes svelte-1cj2gr0-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.close-tab.svelte-1ul6ap.svelte-1ul6ap{padding-left:.5rem;cursor:pointer}.active.svelte-1ul6ap:not(.readonly) .filename.svelte-1ul6ap{cursor:text}.active.filename-link.svelte-1ul6ap.svelte-1ul6ap{cursor:default}.tabs.svelte-7ub6h4{margin-bottom:0}.add-icon.svelte-7ub6h4{margin:0!important}.right.svelte-7ub6h4{flex:1 1 auto;display:flex!important;justify-content:flex-end;padding-right:.5rem!important}pre.svelte-w513p9{padding:0;background:none;display:inline;color:inherit;white-space:pre-wrap}.mzn-error.svelte-w513p9{color:var(--mzn-playground-red)}.mzn-warning.svelte-w513p9{color:var(--mzn-playground-yellow)}.mzn-link.svelte-w513p9{text-decoration:underline}.stack.svelte-147pmov.svelte-147pmov{display:flex;flex-direction:column;height:100%}.stack.svelte-147pmov>.grow.svelte-147pmov{flex:1 1 0;overflow:hidden}.stack.svelte-147pmov>.top.svelte-147pmov{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.stack.svelte-147pmov>.top.is-empty.svelte-147pmov{padding:0}.stack.svelte-147pmov>.top.is-empty.is-tab.svelte-147pmov{border-bottom:0}.top.svelte-147pmov>.field.svelte-147pmov{margin-bottom:0}.grow.svelte-147pmov.svelte-147pmov{background-color:var(--mzn-playground-input-background-color)}.spacer.svelte-147pmov.svelte-147pmov{flex:1 1 auto}.section-toggle.svelte-147pmov.svelte-147pmov{margin-right:.5rem}.output-window.svelte-147pmov.svelte-147pmov{height:100%;overflow:auto;padding:.5rem}details.svelte-147pmov.svelte-147pmov{margin-bottom:.5rem}.messages.svelte-147pmov.svelte-147pmov{padding-left:.5rem;line-height:1.25}.mzn-checker.svelte-147pmov.svelte-147pmov{display:block}.stack.svelte-152bhkz.svelte-152bhkz{display:flex;flex-direction:column;height:100%}.stack.svelte-152bhkz>.grow.svelte-152bhkz{flex:1 1 0;overflow:hidden}.stack.svelte-152bhkz>.top.svelte-152bhkz{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.top.svelte-152bhkz>.field.svelte-152bhkz{margin-bottom:0}.vis-grid.svelte-152bhkz.svelte-152bhkz{width:100%;height:100%;display:grid;grid-auto-rows:auto;gap:1px;background:var(--mzn-playground-border)}.vis-window.svelte-152bhkz.svelte-152bhkz{background:#fff;border:0;width:100%;height:100%}.solution-slider.svelte-152bhkz.svelte-152bhkz{flex:1 1 auto;padding:0 1rem;display:flex;align-items:center}.solution-label.svelte-152bhkz.svelte-152bhkz{display:flex;align-items:center;padding-right:1rem}.solution-slider.svelte-152bhkz>input.svelte-152bhkz{width:100%}.is-hidden.svelte-dangsi.svelte-dangsi{display:none}.menu-list.svelte-dangsi .button.svelte-dangsi{text-decoration:none;display:block;width:100%;text-align:left}.error.svelte-dangsi.svelte-dangsi{padding:.5rem;border-radius:.5rem;background:rgb(255,227,227);color:#af1010;margin-bottom:1rem}.tool-buttons.svelte-1bgv9sn{display:flex;align-items:center;justify-content:flex-end}.select.is-multiple.svelte-1x5266v select.svelte-1x5266v{height:auto;padding:0}.select.is-multiple.svelte-1x5266v option.svelte-1x5266v{padding:.5em 1em}.param.svelte-7d5f7m.svelte-7d5f7m{display:flex;flex-direction:row;align-items:center}.param.svelte-7d5f7m input.svelte-7d5f7m{flex:1 1 auto;width:auto;margin-left:1rem}.config-window.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{position:relative;padding:1rem;flex:0 0 30%;min-width:300px;max-width:450px;border-top:solid 1px var(--mzn-playground-border);border-left:solid 1px var(--mzn-playground-border)}.exit-button.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{position:absolute;top:0;right:0}.checkbox-control.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{display:flex;align-items:center}.checkbox-control.svelte-1uq9463>input[type=checkbox].svelte-1uq9463+label.svelte-1uq9463{margin-left:.5rem}.bottom-buttons.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{margin-top:2rem}.mzn-playground.svelte-1llogi3.svelte-1llogi3{height:100%}.stack.svelte-1llogi3.svelte-1llogi3{display:flex;flex-direction:column;height:100%}.stack.svelte-1llogi3>.grow.svelte-1llogi3{flex:1 1 0;overflow:hidden}.main-panel.svelte-1llogi3.svelte-1llogi3{display:flex}.main-panel.svelte-1llogi3>.svelte-1llogi3{height:100%;overflow:hidden}.main-panel.svelte-1llogi3>.left.svelte-1llogi3{flex:1 1 0}.stack.svelte-1llogi3>.top.svelte-1llogi3{flex:0 0 auto}.panel.svelte-1llogi3.svelte-1llogi3{height:100%}.tab-end.svelte-1llogi3.svelte-1llogi3{flex:1 1 auto;display:flex!important;justify-content:flex-end;padding-right:.5rem}.tab-window.svelte-1llogi3.svelte-1llogi3{display:none;height:100%}.tab-window.visible.svelte-1llogi3.svelte-1llogi3{display:block}.mobile-menu-item.svelte-1llogi3.svelte-1llogi3{display:flex;align-items:center}.mobile-menu-item.svelte-1llogi3 .icon.svelte-1llogi3:first-child{margin-right:.5rem}.mobile-menu-item.svelte-1llogi3 .icon.svelte-1llogi3:last-child{margin-left:.5rem}@media only screen and (max-width: 768px){.navbar-run-buttons.svelte-1llogi3.svelte-1llogi3{flex-grow:1;flex-shrink:1}}.playground-app.svelte-tuc1wl{height:100vh} diff --git a/assets/jszip.min-QV0_LQi7.js b/assets/jszip.min-kk23T6Q9.js similarity index 99% rename from assets/jszip.min-QV0_LQi7.js rename to assets/jszip.min-kk23T6Q9.js index ea25881..3328486 100644 --- a/assets/jszip.min-QV0_LQi7.js +++ b/assets/jszip.min-kk23T6Q9.js @@ -1,4 +1,4 @@ -import{g as Ot,c as vt}from"./index-Tnb_C38k.js";function Bt(ct,wt){for(var _=0;_N[w]})}}}return Object.freeze(Object.defineProperty(ct,Symbol.toStringTag,{value:"Module"}))}function yt(ct){throw new Error('Could not dynamically require "'+ct+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var zt={exports:{}};/*! +import{g as Ot,c as vt}from"./index-PwX9yaM0.js";function Bt(ct,wt){for(var _=0;_N[w]})}}}return Object.freeze(Object.defineProperty(ct,Symbol.toStringTag,{value:"Module"}))}function yt(ct){throw new Error('Could not dynamically require "'+ct+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var zt={exports:{}};/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files diff --git a/index.html b/index.html index 7c628f3..d0efe6d 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ MiniZinc Playground - - + +